To avoid using too much CI, slides in HTML have been generated beforehand and stored in git in static/slides. A README has been added as a memo.
OFECOC2S3D55N3N5OJDLLPDDMVC4GKL5SIUWAGDKKWKLU4OMTHUAC
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Avenir+Next:wght@200;400;600&family=Nunito+Sans:wght@200;400;600&family=Fira+Code:wght@200;400;600&display=swap" type="text/css">
<script type="module" crossorigin src="/slides/fosdem2024/assets/index-Hfn5l4aw.js"></script>
<link rel="stylesheet" crossorigin href="/slides/fosdem2024/assets/index-DlFHiXtv.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
import{bd as zt,be as ot,ba as wt,b9 as Ft,ap as Nt,aq as Xt,aT as Yt,aU as St,ar as Ht,as as $t,aV as Ut,ay as Ct,b8 as qt,az as jt,au as Gt}from"./index-Hfn5l4aw.js";import{c as Qt}from"./createText-77e212b0-L6d34XR_.js";import{i as Kt}from"./init-cc95ec8e-Hi12RPRh.js";import{o as Zt}from"./ordinal-475e0c0c-Beet9Qdq.js";import{l as ft}from"./linear-ad2a9be7-2u7jZYmT.js";import{l as pt}from"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";function Jt(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s<n;)o[s]=e+s*i;return o}function st(){var e=Zt().unknown(void 0),t=e.domain,i=e.range,s=0,n=1,o,c,f=!1,d=0,R=0,_=.5;delete e.unknown;function A(){var m=t().length,T=n<s,S=T?n:s,P=T?s:n;o=(P-S)/Math.max(1,m-d+R*2),f&&(o=Math.floor(o)),S+=(P-S-o*(m-d))*_,c=o*(1-d),f&&(S=Math.round(S),c=Math.round(c));var p=Jt(m).map(function(C){return S+o*C});return i(T?p.reverse():p)}return e.domain=function(m){return arguments.length?(t(m),A()):t()},e.range=function(m){return arguments.length?([s,n]=m,s=+s,n=+n,A()):[s,n]},e.rangeRound=function(m){return[s,n]=m,s=+s,n=+n,f=!0,A()},e.bandwidth=function(){return c},e.step=function(){return o},e.round=function(m){return arguments.length?(f=!!m,A()):f},e.padding=function(m){return arguments.length?(d=Math.min(1,R=+m),A()):d},e.paddingInner=function(m){return arguments.length?(d=Math.min(1,m),A()):d},e.paddingOuter=function(m){return arguments.length?(R=+m,A()):R},e.align=function(m){return arguments.length?(_=Math.max(0,Math.min(1,m)),A()):_},e.copy=function(){return st(t(),[s,n]).round(f).paddingInner(d).paddingOuter(R).align(_)},Kt.apply(A(),arguments)}var nt=function(){var e=function(V,r,l,u){for(l=l||{},u=V.length;u--;l[V[u]]=r);return l},t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],o=[1,6],c=[1,7],f=[1,5,10,12,14,16,18,19,21,23,34,35,36],d=[1,25],R=[1,26],_=[1,28],A=[1,29],m=[1,30],T=[1,31],S=[1,32],P=[1,33],p=[1,34],C=[1,35],h=[1,36],L=[1,37],z=[1,43],lt=[1,42],ct=[1,47],$=[1,50],w=[1,10,12,14,16,18,19,21,23,34,35,36],Q=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],v=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],ut=[1,64],K={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:function(r,l,u,g,b,a,F){var x=a.length-1;switch(b){case 5:g.setOrientation(a[x]);break;case 9:g.setDiagramTitle(a[x].text.trim());break;case 12:g.setLineData({text:"",type:"text"},a[x]);break;case 13:g.setLineData(a[x-1],a[x]);break;case 14:g.setBarData({text:"",type:"text"},a[x]);break;case 15:g.setBarData(a[x-1],a[x]);break;case 16:this.$=a[x].trim(),g.setAccTitle(this.$);break;case 17:case 18:this.$=a[x].trim(),g.setAccDescription(this.$);break;case 19:this.$=a[x-1];break;case 20:this.$=[Number(a[x-2]),...a[x]];break;case 21:this.$=[Number(a[x])];break;case 22:g.setXAxisTitle(a[x]);break;case 23:g.setXAxisTitle(a[x-1]);break;case 24:g.setXAxisTitle({type:"text",text:""});break;case 25:g.setXAxisBand(a[x]);break;case 26:g.setXAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 27:this.$=a[x-1];break;case 28:this.$=[a[x-2],...a[x]];break;case 29:this.$=[a[x]];break;case 30:g.setYAxisTitle(a[x]);break;case 31:g.setYAxisTitle(a[x-1]);break;case 32:g.setYAxisTitle({type:"text",text:""});break;case 33:g.setYAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 37:this.$={text:a[x],type:"text"};break;case 38:this.$={text:a[x],type:"text"};break;case 39:this.$={text:a[x],type:"markdown"};break;case 40:this.$=a[x];break;case 41:this.$=a[x-1]+""+a[x];break}},table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:o,36:c}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:o,36:c}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:o,36:c}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,34]),e(f,[2,35]),e(f,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:o,36:c}),{1:[2,3]},e(f,[2,5]),e(t,[2,7],{4:22,34:n,35:o,36:c}),{11:23,37:24,38:d,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L},{11:39,13:38,24:z,27:lt,29:40,30:41,37:24,38:d,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L},{11:45,15:44,27:ct,33:46,37:24,38:d,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L},{11:49,17:48,24:$,37:24,38:d,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L},{11:52,17:51,24:$,37:24,38:d,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L},{20:[1,53]},{22:[1,54]},e(w,[2,18]),{1:[2,2]},e(w,[2,8]),e(w,[2,9]),e(Q,[2,37],{40:55,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L}),e(Q,[2,38]),e(Q,[2,39]),e(v,[2,40]),e(v,[2,42]),e(v,[2,43]),e(v,[2,44]),e(v,[2,45]),e(v,[2,46]),e(v,[2,47]),e(v,[2,48]),e(v,[2,49]),e(v,[2,50]),e(v,[2,51]),e(w,[2,10]),e(w,[2,22],{30:41,29:56,24:z,27:lt}),e(w,[2,24]),e(w,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:d,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L},e(w,[2,11]),e(w,[2,30],{33:60,27:ct}),e(w,[2,32]),{31:[1,61]},e(w,[2,12]),{17:62,24:$},{25:63,27:ut},e(w,[2,14]),{17:65,24:$},e(w,[2,16]),e(w,[2,17]),e(v,[2,41]),e(w,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(w,[2,31]),{27:[1,69]},e(w,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(w,[2,15]),e(w,[2,26]),e(w,[2,27]),{11:59,32:72,37:24,38:d,39:R,40:27,41:_,42:A,43:m,44:T,45:S,46:P,47:p,48:C,49:h,50:L},e(w,[2,33]),e(w,[2,19]),{25:73,27:ut},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:function(r,l){if(l.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=l,u}},parse:function(r){var l=this,u=[0],g=[],b=[null],a=[],F=this.table,x="",U=0,gt=0,Vt=2,xt=1,Bt=a.slice.call(arguments,1),k=Object.create(this.lexer),B={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(B.yy[J]=this.yy[J]);k.setInput(r,B.yy),B.yy.lexer=k,B.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var tt=k.yylloc;a.push(tt);var Wt=k.options&&k.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ot(){var I;return I=g.pop()||k.lex()||xt,typeof I!="number"&&(I instanceof Array&&(g=I,I=g.pop()),I=l.symbols_[I]||I),I}for(var D,W,E,it,O={},q,M,dt,j;;){if(W=u[u.length-1],this.defaultActions[W]?E=this.defaultActions[W]:((D===null||typeof D>"u")&&(D=Ot()),E=F[W]&&F[W][D]),typeof E>"u"||!E.length||!E[0]){var et="";j=[];for(q in F[W])this.terminals_[q]&&q>Vt&&j.push("'"+this.terminals_[q]+"'");k.showPosition?et="Parse error on line "+(U+1)+`:
`+k.showPosition()+`
Expecting `+j.join(", ")+", got '"+(this.terminals_[D]||D)+"'":et="Parse error on line "+(U+1)+": Unexpected "+(D==xt?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(et,{text:k.match,token:this.terminals_[D]||D,line:k.yylineno,loc:tt,expected:j})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+D);switch(E[0]){case 1:u.push(D),b.push(k.yytext),a.push(k.yylloc),u.push(E[1]),D=null,gt=k.yyleng,x=k.yytext,U=k.yylineno,tt=k.yylloc;break;case 2:if(M=this.productions_[E[1]][1],O.$=b[b.length-M],O._$={first_line:a[a.length-(M||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(M||1)].first_column,last_column:a[a.length-1].last_column},Wt&&(O._$.range=[a[a.length-(M||1)].range[0],a[a.length-1].range[1]]),it=this.performAction.apply(O,[x,gt,U,B.yy,E[1],b,a].concat(Bt)),typeof it<"u")return it;M&&(u=u.slice(0,-1*M*2),b=b.slice(0,-1*M),a=a.slice(0,-1*M)),u.push(this.productions_[E[1]][0]),b.push(O.$),a.push(O._$),dt=F[u[u.length-2]][u[u.length-1]],u.push(dt);break;case 3:return!0}}return!0}},It=function(){var V={EOF:1,parseError:function(l,u){if(this.yy.parser)this.yy.parser.parseError(l,u);else throw new Error(l)},setInput:function(r,l){return this.yy=l||this.yy||{},this._input=r,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 r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var l=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var g=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),u.length-1&&(this.yylineno-=u.length-1);var b=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:u?(u.length===g.length?this.yylloc.first_column:0)+g[g.length-u.length].length-u[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
`+l+"^"},test_match:function(r,l){var u,g,b;if(this.options.backtrack_lexer&&(b={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&&(b.yylloc.range=this.yylloc.range.slice(0))),g=r[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],u=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u)return u;if(this._backtrack){for(var a in b)this[a]=b[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,l,u,g;this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),a=0;a<b.length;a++)if(u=this._input.match(this.rules[b[a]]),u&&(!l||u[0].length>l[0].length)){if(l=u,g=a,this.options.backtrack_lexer){if(r=this.test_match(u,b[a]),r!==!1)return r;if(this._backtrack){l=!1;continue}else return!1}else if(!this.options.flex)break}return l?(r=this.test_match(l,b[g]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var l=this.next();return l||this.lex()},begin:function(l){this.conditionStack.push(l)},popState:function(){var l=this.conditionStack.length-1;return l>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(l){return l=this.conditionStack.length-1-Math.abs(l||0),l>=0?this.conditionStack[l]:"INITIAL"},pushState:function(l){this.begin(l)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(l,u,g,b){switch(g){case 0:break;case 1:break;case 2:return this.popState(),34;case 3:return this.popState(),34;case 4:return 34;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 25:this.popState();break;case 26:this.pushState("string");break;case 27:this.popState();break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 43:break;case 44:return 35;case 45:return 36}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};return V}();K.lexer=It;function Z(){this.yy={}}return Z.prototype=K,K.Parser=Z,new Z}();nt.parser=nt;const ti=nt;function mt(e){return e.type==="bar"}function _t(e){return e.type==="band"}function N(e){return e.type==="linear"}class kt{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((o,c)=>Math.max(c.length,o),0)*i,height:i};const s={width:0,height:0},n=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const o of t){const c=Qt(n,1,o),f=c?c.width:o.length*i,d=c?c.height:i;s.width=Math.max(s.width,f),s.height=Math.max(s.height,d)}return n.remove(),s}}const yt=.7,bt=.2;class Rt{constructor(t,i,s,n){this.axisConfig=t,this.title=i,this.textDimensionCalculator=s,this.axisThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(t){this.range=t,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){yt*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(yt*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension(),n=bt*t.width;this.outerPadding=Math.min(s.width/2,n);const o=s.height+this.axisConfig.labelPadding*2;this.labelTextHeight=s.height,o<=i&&(i-=o,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension(),n=bt*t.height;this.outerPadding=Math.min(s.height/2,n);const o=s.width+this.axisConfig.labelPadding*2;o<=i&&(i-=o,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(i),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${i},${this.getScaleValue(s)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(s)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(s)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}}class ii extends Rt{constructor(t,i,s,n,o){super(t,n,o,i),this.categories=s,this.scale=st().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=st().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),Ct.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)||this.getRange()[0]}}class ei extends Rt{constructor(t,i,s,n,o){super(t,n,o,i),this.domain=s,this.scale=ft().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];this.axisPosition==="left"&&t.reverse(),this.scale=ft().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}}function At(e,t,i,s){const n=new kt(s);return _t(e)?new ii(t,i,e.categories,e.title,n):new ei(t,i,[e.min,e.max],e.title,n)}class si{constructor(t,i,s,n){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),s=Math.max(i.width,t.width),n=i.height+2*this.chartConfig.titlePadding;return i.width<=s&&i.height<=n&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=s,this.boundingRect.height=n,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}}function ni(e,t,i,s){const n=new kt(s);return new si(n,e,t,i)}class ai{constructor(t,i,s,n,o){this.plotData=t,this.xAxis=i,this.yAxis=s,this.orientation=n,this.plotIndex=o}getDrawableElement(){const t=this.plotData.data.map(s=>[this.xAxis.getScaleValue(s[0]),this.yAxis.getScaleValue(s[1])]);let i;return this.orientation==="horizontal"?i=pt().y(s=>s[0]).x(s=>s[1])(t):i=pt().x(s=>s[0]).y(s=>s[1])(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}class oi{constructor(t,i,s,n,o,c){this.barData=t,this.boundingRect=i,this.xAxis=s,this.yAxis=n,this.orientation=o,this.plotIndex=c}getDrawableElement(){const t=this.barData.data.map(o=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-.05),n=s/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(o=>({x:this.boundingRect.x,y:o[0]-n,height:s,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(o=>({x:o[0]-n,y:o[1],width:s,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}class ri{constructor(t,i,s){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");const t=[];for(const[i,s]of this.chartData.plots.entries())switch(s.type){case"line":{const n=new ai(s,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break;case"bar":{const n=new oi(s,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break}return t}}function hi(e,t,i){return new ri(e,t,i)}class li{constructor(t,i,s,n){this.chartConfig=t,this.chartData=i,this.componentStore={title:ni(t,i,s,n),plot:hi(t,i,s),xAxis:At(i.xAxis,t.xAxis,{titleColor:s.xAxisTitleColor,labelColor:s.xAxisLabelColor,tickColor:s.xAxisTickColor,axisLineColor:s.xAxisLineColor},n),yAxis:At(i.yAxis,t.yAxis,{titleColor:s.yAxisTitleColor,labelColor:s.yAxisLabelColor,tickColor:s.yAxisTickColor,axisLineColor:s.yAxisLineColor},n)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),c=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:o,height:c});t-=f.width,i-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),n=f.height,i-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:t,height:i}),s=f.width,t-=f.width,t>0&&(o+=t,t=0),i>0&&(c+=i,i=0),this.componentStore.plot.calculateSpace({width:o,height:c}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.xAxis.setRange([s,s+o]),this.componentStore.xAxis.setBoundingBoxXY({x:s,y:n+c}),this.componentStore.yAxis.setRange([n,n+c]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(d=>mt(d))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizonatalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o=0,c=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),d=this.componentStore.plot.calculateSpace({width:c,height:f});t-=d.width,i-=d.height,d=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=d.height,i-=d.height,this.componentStore.xAxis.setAxisPosition("left"),d=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=d.width,n=d.width,this.componentStore.yAxis.setAxisPosition("top"),d=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=d.height,o=s+d.height,t>0&&(c+=t,t=0),i>0&&(f+=i,i=0),this.componentStore.plot.calculateSpace({width:c,height:f}),this.componentStore.plot.setBoundingBoxXY({x:n,y:o}),this.componentStore.yAxis.setRange([n,n+c]),this.componentStore.yAxis.setBoundingBoxXY({x:n,y:s}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some(R=>mt(R))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizonatalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}}class ci{static build(t,i,s,n){return new li(t,i,s,n).getDrawableElement()}}let X=0,Tt,Y=Pt(),H=Dt(),y=Lt(),at=H.plotColorPalette.split(",").map(e=>e.trim()),G=!1,rt=!1;function Dt(){const e=zt(),t=ot();return wt(e.xyChart,t.themeVariables.xyChart)}function Pt(){const e=ot();return wt(Ft.xyChart,e.xyChart)}function Lt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function ht(e){const t=ot();return Gt(e.trim(),t)}function ui(e){Tt=e}function gi(e){e==="horizontal"?Y.chartOrientation="horizontal":Y.chartOrientation="vertical"}function xi(e){y.xAxis.title=ht(e.text)}function vt(e,t){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:t},G=!0}function di(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map(t=>ht(t.text))},G=!0}function fi(e){y.yAxis.title=ht(e.text)}function pi(e,t){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:t},rt=!0}function mi(e){const t=Math.min(...e),i=Math.max(...e),s=N(y.yAxis)?y.yAxis.min:1/0,n=N(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(s,t),max:Math.max(n,i)}}function Et(e){let t=[];if(e.length===0)return t;if(!G){const i=N(y.xAxis)?y.xAxis.min:1/0,s=N(y.xAxis)?y.xAxis.max:-1/0;vt(Math.min(i,1),Math.max(s,e.length))}if(rt||mi(e),_t(y.xAxis)&&(t=y.xAxis.categories.map((i,s)=>[i,e[s]])),N(y.xAxis)){const i=y.xAxis.min,s=y.xAxis.max,n=(s-i+1)/e.length,o=[];for(let c=i;c<=s;c+=n)o.push(`${c}`);t=o.map((c,f)=>[c,e[f]])}return t}function Mt(e){return at[e===0?0:e%at.length]}function yi(e,t){const i=Et(t);y.plots.push({type:"line",strokeFill:Mt(X),strokeWidth:2,data:i}),X++}function bi(e,t){const i=Et(t);y.plots.push({type:"bar",fill:Mt(X),data:i}),X++}function Ai(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=St(),ci.build(Y,y,H,Tt)}function wi(){return H}function Si(){return Y}const Ci=function(){Ut(),X=0,Y=Pt(),y=Lt(),H=Dt(),at=H.plotColorPalette.split(",").map(e=>e.trim()),G=!1,rt=!1},_i={getDrawableElem:Ai,clear:Ci,setAccTitle:Nt,getAccTitle:Xt,setDiagramTitle:Yt,getDiagramTitle:St,getAccDescription:Ht,setAccDescription:$t,setOrientation:gi,setXAxisTitle:xi,setXAxisRangeData:vt,setXAxisBand:di,setYAxisTitle:fi,setYAxisRangeData:pi,setLineData:yi,setBarData:bi,setTmpSVGG:ui,getChartThemeConfig:wi,getChartConfig:Si},ki=(e,t,i,s)=>{const n=s.db,o=n.getChartThemeConfig(),c=n.getChartConfig();function f(p){return p==="top"?"text-before-edge":"middle"}function d(p){return p==="left"?"start":p==="right"?"end":"middle"}function R(p){return`translate(${p.x}, ${p.y}) rotate(${p.rotation||0})`}Ct.debug(`Rendering xychart chart
`+e);const _=qt(t),A=_.append("g").attr("class","main"),m=A.append("rect").attr("width",c.width).attr("height",c.height).attr("class","background");jt(_,c.height,c.width,!0),_.attr("viewBox",`0 0 ${c.width} ${c.height}`),m.attr("fill",o.backgroundColor),n.setTmpSVGG(_.append("g").attr("class","mermaid-tmp-group"));const T=n.getDrawableElem(),S={};function P(p){let C=A,h="";for(const[L]of p.entries()){let z=A;L>0&&S[h]&&(z=S[h]),h+=p[L],C=S[h],C||(C=S[h]=z.append("g").attr("class",p[L]))}return C}for(const p of T){if(p.data.length===0)continue;const C=P(p.groupTexts);switch(p.type){case"rect":C.selectAll("rect").data(p.data).enter().append("rect").attr("x",h=>h.x).attr("y",h=>h.y).attr("width",h=>h.width).attr("height",h=>h.height).attr("fill",h=>h.fill).attr("stroke",h=>h.strokeFill).attr("stroke-width",h=>h.strokeWidth);break;case"text":C.selectAll("text").data(p.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",h=>h.fill).attr("font-size",h=>h.fontSize).attr("dominant-baseline",h=>f(h.verticalPos)).attr("text-anchor",h=>d(h.horizontalPos)).attr("transform",h=>R(h)).text(h=>h.text);break;case"path":C.selectAll("path").data(p.data).enter().append("path").attr("d",h=>h.path).attr("fill",h=>h.fill?h.fill:"none").attr("stroke",h=>h.strokeFill).attr("stroke-width",h=>h.strokeWidth);break}}},Ri={draw:ki},Vi={parser:ti,db:_i,renderer:Ri};export{Vi as diagram};
import{c5 as ft,aV as gt,at as mt,ay as E,ax as G,aI as xt,c6 as _t,c7 as bt,c8 as kt}from"./index-Hfn5l4aw.js";import{d as D}from"./arc-01f1c7b4-EdqqRiec.js";import"./path-39bad7e2-aUcfwwLI.js";var K=function(){var n=function(g,i,r,c){for(r=r||{},c=g.length;c--;r[g[c]]=i);return r},t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],a=[1,10],s=[1,11],h=[1,12],l=[1,13],p=[1,16],y=[1,17],f={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(i,r,c,d,u,o,$){var x=o.length-1;switch(u){case 1:return o[x-1];case 2:this.$=[];break;case 3:o[x-1].push(o[x]),this.$=o[x-1];break;case 4:case 5:this.$=o[x];break;case 6:case 7:this.$=[];break;case 8:d.getCommonDb().setDiagramTitle(o[x].substr(6)),this.$=o[x].substr(6);break;case 9:this.$=o[x].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[x].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(o[x].substr(8)),this.$=o[x].substr(8);break;case 15:d.addTask(o[x],0,""),this.$=o[x];break;case 16:d.addEvent(o[x].substr(2)),this.$=o[x];break}},table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:function(i,r){if(r.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=r,c}},parse:function(i){var r=this,c=[0],d=[],u=[null],o=[],$=this.table,x="",I=0,W=0,C=2,A=1,B=o.slice.call(arguments,1),k=Object.create(this.lexer),w={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(w.yy[v]=this.yy[v]);k.setInput(i,w.yy),w.yy.lexer=k,w.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var T=k.yylloc;o.push(T);var P=k.options&&k.options.ranges;typeof w.yy.parseError=="function"?this.parseError=w.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function z(){var M;return M=d.pop()||k.lex()||A,typeof M!="number"&&(M instanceof Array&&(d=M,M=d.pop()),M=r.symbols_[M]||M),M}for(var b,L,S,Z,R={},O,N,Y,j;;){if(L=c[c.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((b===null||typeof b>"u")&&(b=z()),S=$[L]&&$[L][b]),typeof S>"u"||!S.length||!S[0]){var J="";j=[];for(O in $[L])this.terminals_[O]&&O>C&&j.push("'"+this.terminals_[O]+"'");k.showPosition?J="Parse error on line "+(I+1)+`:
`+k.showPosition()+`
Expecting `+j.join(", ")+", got '"+(this.terminals_[b]||b)+"'":J="Parse error on line "+(I+1)+": Unexpected "+(b==A?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(J,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:T,expected:j})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+b);switch(S[0]){case 1:c.push(b),u.push(k.yytext),o.push(k.yylloc),c.push(S[1]),b=null,W=k.yyleng,x=k.yytext,I=k.yylineno,T=k.yylloc;break;case 2:if(N=this.productions_[S[1]][1],R.$=u[u.length-N],R._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},P&&(R._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),Z=this.performAction.apply(R,[x,W,I,w.yy,S[1],u,o].concat(B)),typeof Z<"u")return Z;N&&(c=c.slice(0,-1*N*2),u=u.slice(0,-1*N),o=o.slice(0,-1*N)),c.push(this.productions_[S[1]][0]),u.push(R.$),o.push(R._$),Y=$[c[c.length-2]][c[c.length-1]],c.push(Y);break;case 3:return!0}}return!0}},_=function(){var g={EOF:1,parseError:function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw new Error(r)},setInput:function(i,r){return this.yy=r||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var r=i.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var r=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var d=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),c.length-1&&(this.yylineno-=c.length-1);var u=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:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+r+"^"},test_match:function(i,r){var c,d,u;if(this.options.backtrack_lexer&&(u={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&&(u.yylloc.range=this.yylloc.range.slice(0))),d=i[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var o in u)this[o]=u[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,r,c,d;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),o=0;o<u.length;o++)if(c=this._input.match(this.rules[u[o]]),c&&(!r||c[0].length>r[0].length)){if(r=c,d=o,this.options.backtrack_lexer){if(i=this.test_match(c,u[o]),i!==!1)return i;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(i=this.test_match(r,u[d]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>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(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,c,d,u){switch(d){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return g}();f.lexer=_;function m(){this.yy={}}return m.prototype=f,f.Parser=m,new m}();K.parser=K;const vt=K;let V="",st=0;const Q=[],q=[],F=[],it=()=>ft,rt=function(){Q.length=0,q.length=0,V="",F.length=0,gt()},at=function(n){V=n,Q.push(n)},lt=function(){return Q},ot=function(){let n=tt();const t=100;let e=0;for(;!n&&e<t;)n=tt(),e++;return q.push(...F),q},ct=function(n,t,e){const a={id:st++,section:V,type:V,task:n,score:t||0,events:e?[e]:[]};F.push(a)},ht=function(n){F.find(e=>e.id===st-1).events.push(n)},dt=function(n){const t={section:V,type:V,description:n,task:n,classes:[]};q.push(t)},tt=function(){const n=function(e){return F[e].processed};let t=!0;for(const[e,a]of F.entries())n(e),t=t&&a.processed;return t},wt={clear:rt,getCommonDb:it,addSection:at,getSections:lt,getTasks:ot,addTask:ct,addTaskOrg:dt,addEvent:ht},St=Object.freeze(Object.defineProperty({__proto__:null,addEvent:ht,addSection:at,addTask:ct,addTaskOrg:dt,clear:rt,default:wt,getCommonDb:it,getSections:lt,getTasks:ot},Symbol.toStringTag,{value:"Module"})),Et=12,U=function(n,t){const e=n.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},It=function(n,t){const a=n.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=n.append("g");s.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),s.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(y){const f=D().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",f).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}function l(y){const f=D().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",f).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}function p(y){y.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return t.score>3?h(s):t.score<3?l(s):p(s),a},Tt=function(n,t){const e=n.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},ut=function(n,t){const e=t.text.replace(/<br\s*\/?>/gi," "),a=n.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class!==void 0&&a.attr("class",t.class);const s=a.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),a},$t=function(n,t){function e(s,h,l,p,y){return s+","+h+" "+(s+l)+","+h+" "+(s+l)+","+(h+p-y)+" "+(s+l-y*1.2)+","+(h+p)+" "+s+","+(h+p)}const a=n.append("polygon");a.attr("points",e(t.x,t.y,50,20,7)),a.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,ut(n,t)},Nt=function(n,t,e){const a=n.append("g"),s=X();s.x=t.x,s.y=t.y,s.fill=t.fill,s.width=e.width,s.height=e.height,s.class="journey-section section-type-"+t.num,s.rx=3,s.ry=3,U(a,s),pt(e)(t.text,a,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+t.num},e,t.colour)};let et=-1;const Mt=function(n,t,e){const a=t.x+e.width/2,s=n.append("g");et++;const h=300+5*30;s.append("line").attr("id","task"+et).attr("x1",a).attr("y1",t.y).attr("x2",a).attr("y2",h).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),It(s,{cx:a,cy:300+(5-t.score)*30,score:t.score});const l=X();l.x=t.x,l.y=t.y,l.fill=t.fill,l.width=e.width,l.height=e.height,l.class="task task-type-"+t.num,l.rx=3,l.ry=3,U(s,l),t.x+14,pt(e)(t.task,s,l.x,l.y,l.width,l.height,{class:"task"},e,t.colour)},Lt=function(n,t){U(n,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},At=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},X=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},pt=function(){function n(s,h,l,p,y,f,_,m){const g=h.append("text").attr("x",l+y/2).attr("y",p+f/2+5).style("font-color",m).style("text-anchor","middle").text(s);a(g,_)}function t(s,h,l,p,y,f,_,m,g){const{taskFontSize:i,taskFontFamily:r}=m,c=s.split(/<br\s*\/?>/gi);for(let d=0;d<c.length;d++){const u=d*i-i*(c.length-1)/2,o=h.append("text").attr("x",l+y/2).attr("y",p).attr("fill",g).style("text-anchor","middle").style("font-size",i).style("font-family",r);o.append("tspan").attr("x",l+y/2).attr("dy",u).text(c[d]),o.attr("y",p+f/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),a(o,_)}}function e(s,h,l,p,y,f,_,m){const g=h.append("switch"),r=g.append("foreignObject").attr("x",l).attr("y",p).attr("width",y).attr("height",f).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");r.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(s),t(s,g,l,p,y,f,_,m),a(r,_)}function a(s,h){for(const l in h)l in h&&s.attr(l,h[l])}return function(s){return s.textPlacement==="fo"?e:s.textPlacement==="old"?n:t}}(),Pt=function(n){n.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")};function yt(n,t){n.each(function(){var e=G(this),a=e.text().split(/(\s+|<br>)/).reverse(),s,h=[],l=1.1,p=e.attr("y"),y=parseFloat(e.attr("dy")),f=e.text(null).append("tspan").attr("x",0).attr("y",p).attr("dy",y+"em");for(let _=0;_<a.length;_++)s=a[a.length-1-_],h.push(s),f.text(h.join(" ").trim()),(f.node().getComputedTextLength()>t||s==="<br>")&&(h.pop(),f.text(h.join(" ").trim()),s==="<br>"?h=[""]:h=[s],f=e.append("tspan").attr("x",0).attr("y",p).attr("dy",l+"em").text(s))})}const Ht=function(n,t,e,a){const s=e%Et-1,h=n.append("g");t.section=s,h.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+s));const l=h.append("g"),p=h.append("g"),f=p.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(yt,t.width).node().getBBox(),_=a.fontSize&&a.fontSize.replace?a.fontSize.replace("px",""):a.fontSize;return t.height=f.height+_*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,p.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),zt(l,t,s),t},Ct=function(n,t,e){const a=n.append("g"),h=a.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(yt,t.width).node().getBBox(),l=e.fontSize&&e.fontSize.replace?e.fontSize.replace("px",""):e.fontSize;return a.remove(),h.height+l*1.1*.5+t.padding},zt=function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+2*5} q0,-5 5,-5 h${t.width-2*5} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},H={drawRect:U,drawCircle:Tt,drawSection:Nt,drawText:ut,drawLabel:$t,drawTask:Mt,drawBackgroundRect:Lt,getTextObj:At,getNoteRect:X,initGraphics:Pt,drawNode:Ht,getVirtualNodeHeight:Ct},Rt=function(n,t,e,a){var s,h;const l=mt(),p=l.leftMargin??50;E.debug("timeline",a.db);const y=l.securityLevel;let f;y==="sandbox"&&(f=G("#i"+t));const m=(y==="sandbox"?G(f.nodes()[0].contentDocument.body):G("body")).select("#"+t);m.append("g");const g=a.db.getTasks(),i=a.db.getCommonDb().getDiagramTitle();E.debug("task",g),H.initGraphics(m);const r=a.db.getSections();E.debug("sections",r);let c=0,d=0,u=0,o=0,$=50+p,x=50;o=50;let I=0,W=!0;r.forEach(function(w){const v={number:I,descr:w,section:I,width:150,padding:20,maxHeight:c},T=H.getVirtualNodeHeight(m,v,l);E.debug("sectionHeight before draw",T),c=Math.max(c,T+20)});let C=0,A=0;E.debug("tasks.length",g.length);for(const[w,v]of g.entries()){const T={number:w,descr:v,section:v.section,width:150,padding:20,maxHeight:d},P=H.getVirtualNodeHeight(m,T,l);E.debug("taskHeight before draw",P),d=Math.max(d,P+20),C=Math.max(C,v.events.length);let z=0;for(let b=0;b<v.events.length;b++){const S={descr:v.events[b],section:v.section,number:v.section,width:150,padding:20,maxHeight:50};z+=H.getVirtualNodeHeight(m,S,l)}A=Math.max(A,z)}E.debug("maxSectionHeight before draw",c),E.debug("maxTaskHeight before draw",d),r&&r.length>0?r.forEach(w=>{const v=g.filter(b=>b.section===w),T={number:I,descr:w,section:I,width:200*Math.max(v.length,1)-50,padding:20,maxHeight:c};E.debug("sectionNode",T);const P=m.append("g"),z=H.drawNode(P,T,I,l);E.debug("sectionNode output",z),P.attr("transform",`translate(${$}, ${o})`),x+=c+50,v.length>0&&nt(m,v,I,$,x,d,l,C,A,c,!1),$+=200*Math.max(v.length,1),x=o,I++}):(W=!1,nt(m,g,I,$,x,d,l,C,A,c,!0));const B=m.node().getBBox();E.debug("bounds",B),i&&m.append("text").text(i).attr("x",B.width/2-p).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),u=W?c+d+150:d+100,m.append("g").attr("class","lineWrapper").append("line").attr("x1",p).attr("y1",u).attr("x2",B.width+3*p).attr("y2",u).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),xt(void 0,m,((s=l.timeline)==null?void 0:s.padding)??50,((h=l.timeline)==null?void 0:h.useMaxWidth)??!1)},nt=function(n,t,e,a,s,h,l,p,y,f,_){var m;for(const g of t){const i={descr:g.task,section:e,number:e,width:150,padding:20,maxHeight:h};E.debug("taskNode",i);const r=n.append("g").attr("class","taskWrapper"),d=H.drawNode(r,i,e,l).height;if(E.debug("taskHeight after draw",d),r.attr("transform",`translate(${a}, ${s})`),h=Math.max(h,d),g.events){const u=n.append("g").attr("class","lineWrapper");let o=h;s+=100,o=o+Vt(n,g.events,e,a,s,l),s-=100,u.append("line").attr("x1",a+190/2).attr("y1",s+h).attr("x2",a+190/2).attr("y2",s+h+(_?h:f)+y+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}a=a+200,_&&!((m=l.timeline)!=null&&m.disableMulticolor)&&e++}s=s-10},Vt=function(n,t,e,a,s,h){let l=0;const p=s;s=s+100;for(const y of t){const f={descr:y,section:e,number:e,width:150,padding:20,maxHeight:50};E.debug("eventNode",f);const _=n.append("g").attr("class","eventWrapper"),g=H.drawNode(_,f,e,h).height;l=l+g,_.attr("transform",`translate(${a}, ${s})`),s=s+10+g}return s=p,l},Ft={setConf:()=>{},draw:Rt},Wt=n=>{let t="";for(let e=0;e<n.THEME_COLOR_LIMIT;e++)n["lineColor"+e]=n["lineColor"+e]||n["cScaleInv"+e],_t(n["lineColor"+e])?n["lineColor"+e]=bt(n["lineColor"+e],20):n["lineColor"+e]=kt(n["lineColor"+e],20);for(let e=0;e<n.THEME_COLOR_LIMIT;e++){const a=""+(17-3*e);t+=`
.section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} path {
fill: ${n["cScale"+e]};
}
.section-${e-1} text {
fill: ${n["cScaleLabel"+e]};
}
.node-icon-${e-1} {
font-size: 40px;
color: ${n["cScaleLabel"+e]};
}
.section-edge-${e-1}{
stroke: ${n["cScale"+e]};
}
.edge-depth-${e-1}{
stroke-width: ${a};
}
.section-${e-1} line {
stroke: ${n["cScaleInv"+e]} ;
stroke-width: 3;
}
.lineWrapper line{
stroke: ${n["cScaleLabel"+e]} ;
}
.disabled, .disabled circle, .disabled text {
fill: lightgray;
}
.disabled text {
fill: #efefef;
}
`}return t},Bt=n=>`
.edge {
stroke-width: 3;
}
${Wt(n)}
.section-root rect, .section-root path, .section-root circle {
fill: ${n.git0};
}
.section-root text {
fill: ${n.gitBranchLabel0};
}
.icon-container {
height:100%;
display: flex;
justify-content: center;
align-items: center;
}
.edge {
fill: none;
}
.eventWrapper {
filter: brightness(120%);
}
`,Ot=Bt,Ut={db:St,renderer:Ft,parser:vt,styles:Ot};export{Ut as diagram};
import{c2 as o,aD as i}from"./index-Hfn5l4aw.js";const c=(s,t)=>{const r=s.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),t.rx!==void 0&&r.attr("rx",t.rx),t.ry!==void 0&&r.attr("ry",t.ry),t.attrs!==void 0)for(const e in t.attrs)r.attr(e,t.attrs[e]);return t.class!==void 0&&r.attr("class",t.class),r},x=(s,t)=>{const r={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};c(s,r).lower()},d=(s,t)=>{const r=t.text.replace(o," "),e=s.append("text");e.attr("x",t.x),e.attr("y",t.y),e.attr("class","legend"),e.style("text-anchor",t.anchor),t.class!==void 0&&e.attr("class",t.class);const n=e.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(r),e},h=(s,t,r,e)=>{const n=s.append("image");n.attr("x",t),n.attr("y",r);const a=i(e);n.attr("xlink:href",a)},y=(s,t,r,e)=>{const n=s.append("use");n.attr("x",t),n.attr("y",r);const a=i(e);n.attr("xlink:href",`#${a}`)},g=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),p=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});export{x as a,y as b,h as c,c as d,p as e,d as f,g};
import{G as R}from"./layout-94e1e85f-BAM45a7u.js";import{aE as N,ay as y,aF as V,at as $,aB as G,aG as C,aH as E,ax as _,aK as q,aI as F,aL as D,aM as H,aN as U,aO as j,aP as K,aQ as Q,aR as W,aS as X}from"./index-Hfn5l4aw.js";import{r as J}from"./index-20c9cf41-l8R8WdfM.js";function Y(e){return typeof e=="string"?new D([document.querySelectorAll(e)],[document.documentElement]):new D([U(e)],H)}const Z=(e,l)=>W.lang.round(X.parse(e)[l]),O=Z;function be(e,l){return!!e.children(l).length}function fe(e){return L(e.v)+":"+L(e.w)+":"+L(e.name)}var ee=/:/g;function L(e){return e?String(e).replace(ee,"\\:"):""}function te(e,l){l&&e.attr("style",l)}function ue(e,l,c){l&&e.attr("class",l).attr("class",c+" "+e.attr("class"))}function we(e,l){var c=l.graph();if(K(c)){var a=c.transition;if(Q(a))return a(e)}return e}function re(e,l){var c=e.append("foreignObject").attr("width","100000"),a=c.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var i=l.label;switch(typeof i){case"function":a.insert(i);break;case"object":a.insert(function(){return i});break;default:a.html(i)}te(a,l.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var d=a.node().getBoundingClientRect();return c.attr("width",d.width).attr("height",d.height),c}const z={},le=function(e){const l=Object.keys(e);for(const c of l)z[c]=e[c]},P=function(e,l,c,a,i,d){const u=a.select(`[id="${c}"]`);Object.keys(e).forEach(function(p){const r=e[p];let g="default";r.classes.length>0&&(g=r.classes.join(" ")),g=g+" flowchart-label";const w=N(r.styles);let t=r.text!==void 0?r.text:r.id,s;if(y.info("vertex",r,r.labelType),r.labelType==="markdown")y.info("vertex",r,r.labelType);else if(V($().flowchart.htmlLabels)){const m={label:t.replace(/fa[blrs]?:fa-[\w-]+/g,k=>`<i class='${k.replace(":"," ")}'></i>`)};s=re(u,m).node(),s.parentNode.removeChild(s)}else{const m=i.createElementNS("http://www.w3.org/2000/svg","text");m.setAttribute("style",w.labelStyle.replace("color:","fill:"));const k=t.split(G.lineBreakRegex);for(const T of k){const v=i.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=T,m.appendChild(v)}s=m}let b=0,o="";switch(r.type){case"round":b=5,o="rect";break;case"square":o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"odd":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"odd_right":o="rect_left_inv_arrow";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"group":o="rect";break;case"doublecircle":o="doublecircle";break;default:o="rect"}l.setNode(r.id,{labelStyle:w.labelStyle,shape:o,labelText:t,labelType:r.labelType,rx:b,ry:b,class:g,style:w.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:d.db.getTooltip(r.id)||"",domId:d.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:r.type==="group"?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:$().flowchart.padding}),y.info("setNode",{labelStyle:w.labelStyle,labelType:r.labelType,shape:o,labelText:t,rx:b,ry:b,class:g,style:w.style,id:r.id,domId:d.db.lookUpDomId(r.id),width:r.type==="group"?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:$().flowchart.padding})})},M=function(e,l,c){y.info("abc78 edges = ",e);let a=0,i={},d,u;if(e.defaultStyle!==void 0){const n=N(e.defaultStyle);d=n.style,u=n.labelStyle}e.forEach(function(n){a++;const p="L-"+n.start+"-"+n.end;i[p]===void 0?(i[p]=0,y.info("abc78 new entry",p,i[p])):(i[p]++,y.info("abc78 new entry",p,i[p]));let r=p+"-"+i[p];y.info("abc78 new link id to be used is",p,r,i[p]);const g="LS-"+n.start,w="LE-"+n.end,t={style:"",labelStyle:""};switch(t.minlen=n.length||1,n.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let s="",b="";switch(n.stroke){case"normal":s="fill:none;",d!==void 0&&(s=d),u!==void 0&&(b=u),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(n.style!==void 0){const o=N(n.style);s=o.style,b=o.labelStyle}t.style=t.style+=s,t.labelStyle=t.labelStyle+=b,n.interpolate!==void 0?t.curve=C(n.interpolate,E):e.defaultInterpolate!==void 0?t.curve=C(e.defaultInterpolate,E):t.curve=C(z.curve,E),n.text===void 0?n.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=n.labelType,t.label=n.text.replace(G.lineBreakRegex,`
`),n.style===void 0&&(t.style=t.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),t.labelStyle=t.labelStyle.replace("color:","fill:"),t.id=r,t.classes="flowchart-link "+g+" "+w,l.setEdge(n.start,n.end,t,a)})},ae=function(e,l){return l.db.getClasses()},oe=async function(e,l,c,a){y.info("Drawing flowchart");let i=a.db.getDirection();i===void 0&&(i="TD");const{securityLevel:d,flowchart:u}=$(),n=u.nodeSpacing||50,p=u.rankSpacing||50;let r;d==="sandbox"&&(r=_("#i"+l));const g=d==="sandbox"?_(r.nodes()[0].contentDocument.body):_("body"),w=d==="sandbox"?r.nodes()[0].contentDocument:document,t=new R({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:n,ranksep:p,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let s;const b=a.db.getSubGraphs();y.info("Subgraphs - ",b);for(let f=b.length-1;f>=0;f--)s=b[f],y.info("Subgraph - ",s),a.db.addVertex(s.id,{text:s.title,type:s.labelType},"group",void 0,s.classes,s.dir);const o=a.db.getVertices(),m=a.db.getEdges();y.info("Edges",m);let k=0;for(k=b.length-1;k>=0;k--){s=b[k],Y("cluster").append("text");for(let f=0;f<s.nodes.length;f++)y.info("Setting up subgraphs",s.nodes[f],s.id),t.setParent(s.nodes[f],s.id)}P(o,t,l,g,w,a),M(m,t);const T=g.select(`[id="${l}"]`),v=g.select("#"+l+" g");if(await J(v,t,["point","circle","cross"],"flowchart",l),q.insertTitle(T,"flowchartTitleText",u.titleTopMargin,a.db.getDiagramTitle()),F(t,T,u.diagramPadding,u.useMaxWidth),a.db.indexNodes("subGraph"+k),!u.htmlLabels){const f=w.querySelectorAll('[id="'+l+'"] .edgeLabel .label');for(const x of f){const S=x.getBBox(),h=w.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",S.width),h.setAttribute("height",S.height),x.insertBefore(h,x.firstChild)}}Object.keys(o).forEach(function(f){const x=o[f];if(x.link){const S=_("#"+l+' [id="'+f+'"]');if(S){const h=w.createElementNS("http://www.w3.org/2000/svg","a");h.setAttributeNS("http://www.w3.org/2000/svg","class",x.classes.join(" ")),h.setAttributeNS("http://www.w3.org/2000/svg","href",x.link),h.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),d==="sandbox"?h.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):x.linkTarget&&h.setAttributeNS("http://www.w3.org/2000/svg","target",x.linkTarget);const A=S.insert(function(){return h},":first-child"),B=S.select(".label-container");B&&A.append(function(){return B.node()});const I=S.select(".label");I&&A.append(function(){return I.node()})}}})},he={setConf:le,addVertices:P,addEdges:M,getClasses:ae,draw:oe},ne=(e,l)=>{const c=O,a=c(e,"r"),i=c(e,"g"),d=c(e,"b");return j(a,i,d,l)},se=e=>`.label {
font-family: ${e.fontFamily};
color: ${e.nodeTextColor||e.textColor};
}
.cluster-label text {
fill: ${e.titleColor};
}
.cluster-label span,p {
color: ${e.titleColor};
}
.label text,span,p {
fill: ${e.nodeTextColor||e.textColor};
color: ${e.nodeTextColor||e.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${e.mainBkg};
stroke: ${e.nodeBorder};
stroke-width: 1px;
}
.flowchart-label text {
text-anchor: middle;
}
// .flowchart-label .text-outer-tspan {
// text-anchor: middle;
// }
// .flowchart-label .text-inner-tspan {
// text-anchor: start;
// }
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${e.arrowheadColor};
}
.edgePath .path {
stroke: ${e.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${e.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${e.edgeLabelBackground};
rect {
opacity: 0.5;
background-color: ${e.edgeLabelBackground};
fill: ${e.edgeLabelBackground};
}
text-align: center;
}
/* For html labels only */
.labelBkg {
background-color: ${ne(e.edgeLabelBackground,.5)};
// background-color:
}
.cluster rect {
fill: ${e.clusterBkg};
stroke: ${e.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${e.titleColor};
}
.cluster span,p {
color: ${e.titleColor};
}
/* .cluster div {
color: ${e.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${e.fontFamily};
font-size: 12px;
background: ${e.tertiaryColor};
border: 1px solid ${e.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${e.textColor};
}
`,ye=se;export{ye as a,re as b,te as c,we as d,fe as e,he as f,ue as g,be as i,Y as s};
import{ap as ut,aq as rt,ar as at,as as lt,at as F,aT as ct,aU as ot,aB as v,aV as ht,ay as At,aK as He,ax as z,au as pt,aX as Re}from"./index-Hfn5l4aw.js";var Ve=function(){var e=function(x,u,a,h){for(a=a||{},h=x.length;h--;a[x[h]]=u);return a},i=[1,17],r=[1,18],l=[1,19],o=[1,39],A=[1,40],k=[1,25],D=[1,23],B=[1,24],_=[1,31],fe=[1,32],de=[1,33],Ee=[1,34],Ce=[1,35],me=[1,36],be=[1,26],ke=[1,27],ge=[1,28],Te=[1,29],d=[1,43],Fe=[1,30],E=[1,42],C=[1,44],m=[1,41],g=[1,45],ye=[1,9],c=[1,8,9],Y=[1,56],Q=[1,57],j=[1,58],X=[1,59],q=[1,60],De=[1,61],Be=[1,62],H=[1,8,9,39],Ge=[1,74],M=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],W=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],J=[13,74,80,95,97,98],G=[13,64,65,74,80,95,97,98],Ue=[13,59,60,61,62,63,74,80,95,97,98],_e=[1,93],Z=[1,110],$=[1,108],ee=[1,102],te=[1,103],se=[1,104],ie=[1,105],ne=[1,106],ue=[1,107],re=[1,109],Se=[1,8,9,37,39,42],ae=[1,8,9,21],ze=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],Ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,h,n,f,t,U){var s=t.length-1;switch(f){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:k,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ke,69:ge,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:g},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(ye,[2,5],{8:[1,46]}),{8:[1,47]},e(c,[2,16],{21:[1,48]}),e(c,[2,18]),e(c,[2,19]),e(c,[2,20]),e(c,[2,21]),e(c,[2,22]),e(c,[2,23]),e(c,[2,24]),e(c,[2,25]),e(c,[2,26]),{32:[1,49]},{34:[1,50]},e(c,[2,29]),e(c,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Y,60:Q,61:j,62:X,63:q,64:De,65:Be}),{37:[1,63]},e(H,[2,36],{37:[1,65],42:[1,64]}),e(c,[2,47]),e(c,[2,48]),{16:66,74:d,80:E,95:C,97:m},{16:37,17:67,18:38,74:d,80:E,95:C,97:m,98:g},{16:37,17:68,18:38,74:d,80:E,95:C,97:m,98:g},{16:37,17:69,18:38,74:d,80:E,95:C,97:m,98:g},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:d,80:E,95:C,97:m,98:g},{13:Ge,51:73},e(c,[2,55]),e(c,[2,56]),e(c,[2,57]),e(c,[2,58]),e(M,[2,11],{16:37,18:38,17:75,19:[1,76],74:d,80:E,95:C,97:m,98:g}),e(M,[2,12],{19:[1,77]}),{15:78,16:79,74:d,80:E,95:C,97:m},{16:37,17:80,18:38,74:d,80:E,95:C,97:m,98:g},e(W,[2,112]),e(W,[2,113]),e(W,[2,114]),e(W,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(ye,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:l,40:o,44:A,45:k,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ke,69:ge,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:g}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:k,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ke,69:ge,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:g},e(c,[2,17]),e(c,[2,27]),e(c,[2,28]),{13:[1,84],16:37,17:83,18:38,74:d,80:E,95:C,97:m,98:g},{49:85,57:54,58:55,59:Y,60:Q,61:j,62:X,63:q,64:De,65:Be},e(c,[2,46]),{58:86,64:De,65:Be},e(J,[2,62],{57:87,59:Y,60:Q,61:j,62:X,63:q}),e(G,[2,63]),e(G,[2,64]),e(G,[2,65]),e(G,[2,66]),e(G,[2,67]),e(Ue,[2,68]),e(Ue,[2,69]),{8:[1,89],23:90,38:88,41:22,44:A},{16:91,74:d,80:E,95:C,97:m},{43:92,47:_e},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:Z,73:$,74:ee,75:99,77:100,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},{74:[1,111]},{13:Ge,51:112},e(c,[2,54]),e(c,[2,117]),e(M,[2,13]),e(M,[2,14]),e(M,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:d,80:E,95:C,97:m},e(Se,[2,40],{11:114,12:[1,115]}),e(ye,[2,7]),{9:[1,116]},e(ae,[2,49]),{16:37,17:117,18:38,74:d,80:E,95:C,97:m,98:g},{13:[1,119],16:37,17:118,18:38,74:d,80:E,95:C,97:m,98:g},e(J,[2,61],{57:120,59:Y,60:Q,61:j,62:X,63:q}),e(J,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:A},{8:[1,123],39:[2,33]},e(H,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:_e},{16:37,17:127,18:38,74:d,80:E,95:C,97:m,98:g},e(c,[2,70],{13:[1,128]}),e(c,[2,72],{13:[1,130],68:[1,129]}),e(c,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(c,[2,84],{78:[1,134]}),e(ze,[2,86],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(c,[2,85]),e(c,[2,53]),{37:[2,10]},e(Se,[2,41]),{13:[1,136]},{1:[2,4]},e(ae,[2,51]),e(ae,[2,50]),{16:37,17:137,18:38,74:d,80:E,95:C,97:m,98:g},e(J,[2,59]),e(c,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:A},{43:140,47:_e},e(H,[2,38]),{39:[2,44]},e(c,[2,42]),e(c,[2,71]),e(c,[2,73]),e(c,[2,74],{68:[1,141]}),e(c,[2,77]),e(c,[2,78],{13:[1,142]}),e(c,[2,80],{13:[1,144],68:[1,143]}),{21:Z,73:$,74:ee,77:145,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},e(S,[2,89]),{14:[1,146]},e(ae,[2,52]),e(c,[2,31]),{39:[2,35]},{39:[1,147]},e(c,[2,75]),e(c,[2,79]),e(c,[2,81]),e(c,[2,82],{68:[1,148]}),e(ze,[2,87],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(Se,[2,8]),e(H,[2,39]),e(c,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(a.recoverable)this.trace(u);else{var h=new Error(u);throw h.hash=a,h}},parse:function(u){var a=this,h=[0],n=[],f=[null],t=[],U=this.table,s="",le=0,Ke=0,tt=2,Ye=1,st=t.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ve)&&(I.yy[ve]=this.yy[ve]);b.setInput(u,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var xe=b.yylloc;t.push(xe);var it=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nt(){var L;return L=n.pop()||b.lex()||Ye,typeof L!="number"&&(L instanceof Array&&(n=L,L=n.pop()),L=a.symbols_[L]||L),L}for(var T,R,y,Oe,P={},ce,N,Qe,oe;;){if(R=h[h.length-1],this.defaultActions[R]?y=this.defaultActions[R]:((T===null||typeof T>"u")&&(T=nt()),y=U[R]&&U[R][T]),typeof y>"u"||!y.length||!y[0]){var Ie="";oe=[];for(ce in U[R])this.terminals_[ce]&&ce>tt&&oe.push("'"+this.terminals_[ce]+"'");b.showPosition?Ie="Parse error on line "+(le+1)+`:
`+b.showPosition()+`
Expecting `+oe.join(", ")+", got '"+(this.terminals_[T]||T)+"'":Ie="Parse error on line "+(le+1)+": Unexpected "+(T==Ye?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(Ie,{text:b.match,token:this.terminals_[T]||T,line:b.yylineno,loc:xe,expected:oe})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+T);switch(y[0]){case 1:h.push(T),f.push(b.yytext),t.push(b.yylloc),h.push(y[1]),T=null,Ke=b.yyleng,s=b.yytext,le=b.yylineno,xe=b.yylloc;break;case 2:if(N=this.productions_[y[1]][1],P.$=f[f.length-N],P._$={first_line:t[t.length-(N||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(N||1)].first_column,last_column:t[t.length-1].last_column},it&&(P._$.range=[t[t.length-(N||1)].range[0],t[t.length-1].range[1]]),Oe=this.performAction.apply(P,[s,Ke,le,I.yy,y[1],f,t].concat(st)),typeof Oe<"u")return Oe;N&&(h=h.slice(0,-1*N*2),f=f.slice(0,-1*N),t=t.slice(0,-1*N)),h.push(this.productions_[y[1]][0]),f.push(P.$),t.push(P._$),Qe=U[h[h.length-2]][h[h.length-1]],h.push(Qe);break;case 3:return!0}}return!0}},et=function(){var x={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput:function(u,a){return this.yy=a||this.yy||{},this._input=u,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 u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var a=u.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var a=u.length,h=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=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),h.length-1&&(this.yylineno-=h.length-1);var f=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:h?(h.length===n.length?this.yylloc.first_column:0)+n[n.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),a=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
`+a+"^"},test_match:function(u,a){var h,n,f;if(this.options.backtrack_lexer&&(f={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&&(f.yylloc.range=this.yylloc.range.slice(0))),n=u[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,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(u[0].length),this.matched+=u[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var t in f)this[t]=f[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,a,h,n;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),t=0;t<f.length;t++)if(h=this._input.match(this.rules[f[t]]),h&&(!a||h[0].length>a[0].length)){if(a=h,n=t,this.options.backtrack_lexer){if(u=this.test_match(h,f[t]),u!==!1)return u;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(u=this.test_match(a,f[n]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return a||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){var a=this.conditionStack.length-1;return a>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(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(a,h,n,f){switch(n){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:break;case 5:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 22:this.popState();break;case 23:return 71;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:return this.popState(),8;case 30:break;case 31:return this.begin("namespace-body"),37;case 32:return this.popState(),39;case 33:return"EOF_IN_STRUCT";case 34:return 8;case 35:break;case 36:return"EDGE_STATE";case 37:return this.begin("class"),44;case 38:return this.popState(),8;case 39:break;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 42:return this.popState(),39;case 43:return"EOF_IN_STRUCT";case 44:return"EDGE_STATE";case 45:return"OPEN_IN_STRUCT";case 46:break;case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 57:this.popState();break;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 60:this.popState();break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:return 68;case 64:return 68;case 65:return 68;case 66:return 68;case 67:return 60;case 68:return 60;case 69:return 62;case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:return 84;case 84:return 84;case 85:return 85;case 86:return"EQUALS";case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:return 83;case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\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\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,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],inclusive:!0}}};return x}();Ne.lexer=et;function Le(){this.yy={}}return Le.prototype=Ne,Ne.Parser=Le,new Le}();Ve.parser=Ve;const zt=Ve,je=["#","+","~","-",""];class Xe{constructor(i,r){this.memberType=r,this.visibility="",this.classifier="";const l=pt(i,F());this.parseMember(l)}getDisplayDetails(){let i=this.visibility+Re(this.id);this.memberType==="method"&&(i+=`(${Re(this.parameters.trim())})`,this.returnType&&(i+=" : "+Re(this.returnType))),i=i.trim();const r=this.parseClassifier();return{displayText:i,cssStyle:r}}parseMember(i){let r="";if(this.memberType==="method"){const l=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,o=i.match(l);if(o){const A=o[1]?o[1].trim():"";if(je.includes(A)&&(this.visibility=A),this.id=o[2].trim(),this.parameters=o[3]?o[3].trim():"",r=o[4]?o[4].trim():"",this.returnType=o[5]?o[5].trim():"",r===""){const k=this.returnType.substring(this.returnType.length-1);k.match(/[$*]/)&&(r=k,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const l=i.length,o=i.substring(0,1),A=i.substring(l-1);je.includes(o)&&(this.visibility=o),A.match(/[$*]/)&&(r=A),this.id=i.substring(this.visibility===""?0:1,r===""?l:l-1)}this.classifier=r}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const pe="classId-";let Pe=[],p={},he=[],qe=0,O={},we=0,K=[];const V=e=>v.sanitizeText(e,F()),w=function(e){const i=v.sanitizeText(e,F());let r="",l=i;if(i.indexOf("~")>0){const o=i.split("~");l=V(o[0]),r=V(o[1])}return{className:l,type:r}},ft=function(e,i){const r=v.sanitizeText(e,F());i&&(i=V(i));const{className:l}=w(r);p[l].label=i},Ae=function(e){const i=v.sanitizeText(e,F()),{className:r,type:l}=w(i);if(Object.hasOwn(p,r))return;const o=v.sanitizeText(r,F());p[o]={id:o,type:l,label:o,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:pe+o+"-"+qe},qe++},We=function(e){const i=v.sanitizeText(e,F());if(i in p)return p[i].domId;throw new Error("Class not found: "+i)},dt=function(){Pe=[],p={},he=[],K=[],K.push(Ze),O={},we=0,ht()},Et=function(e){return p[e]},Ct=function(){return p},mt=function(){return Pe},bt=function(){return he},kt=function(e){At.debug("Adding relation: "+JSON.stringify(e)),Ae(e.id1),Ae(e.id2),e.id1=w(e.id1).className,e.id2=w(e.id2).className,e.relationTitle1=v.sanitizeText(e.relationTitle1.trim(),F()),e.relationTitle2=v.sanitizeText(e.relationTitle2.trim(),F()),Pe.push(e)},gt=function(e,i){const r=w(e).className;p[r].annotations.push(i)},Je=function(e,i){Ae(e);const r=w(e).className,l=p[r];if(typeof i=="string"){const o=i.trim();o.startsWith("<<")&&o.endsWith(">>")?l.annotations.push(V(o.substring(2,o.length-2))):o.indexOf(")")>0?l.methods.push(new Xe(o,"method")):o&&l.members.push(new Xe(o,"attribute"))}},Tt=function(e,i){Array.isArray(i)&&(i.reverse(),i.forEach(r=>Je(e,r)))},Ft=function(e,i){const r={id:`note${he.length}`,class:i,text:e};he.push(r)},yt=function(e){return e.startsWith(":")&&(e=e.substring(1)),V(e.trim())},Me=function(e,i){e.split(",").forEach(function(r){let l=r;r[0].match(/\d/)&&(l=pe+l),p[l]!==void 0&&p[l].cssClasses.push(i)})},Dt=function(e,i){e.split(",").forEach(function(r){i!==void 0&&(p[r].tooltip=V(i))})},Bt=function(e,i){return i?O[i].classes[e].tooltip:p[e].tooltip},_t=function(e,i,r){const l=F();e.split(",").forEach(function(o){let A=o;o[0].match(/\d/)&&(A=pe+A),p[A]!==void 0&&(p[A].link=He.formatUrl(i,l),l.securityLevel==="sandbox"?p[A].linkTarget="_top":typeof r=="string"?p[A].linkTarget=V(r):p[A].linkTarget="_blank")}),Me(e,"clickable")},St=function(e,i,r){e.split(",").forEach(function(l){Nt(l,i,r),p[l].haveCallback=!0}),Me(e,"clickable")},Nt=function(e,i,r){const l=v.sanitizeText(e,F());if(F().securityLevel!=="loose"||i===void 0)return;const A=l;if(p[A]!==void 0){const k=We(A);let D=[];if(typeof r=="string"){D=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let B=0;B<D.length;B++){let _=D[B].trim();_.charAt(0)==='"'&&_.charAt(_.length-1)==='"'&&(_=_.substr(1,_.length-2)),D[B]=_}}D.length===0&&D.push(k),K.push(function(){const B=document.querySelector(`[id="${k}"]`);B!==null&&B.addEventListener("click",function(){He.runFunc(i,...D)},!1)})}},Lt=function(e){K.forEach(function(i){i(e)})},vt={LINE:0,DOTTED_LINE:1},xt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},Ze=function(e){let i=z(".mermaidTooltip");(i._groups||i)[0][0]===null&&(i=z("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),z(e).select("svg").selectAll("g.node").on("mouseover",function(){const o=z(this);if(o.attr("title")===null)return;const k=this.getBoundingClientRect();i.transition().duration(200).style("opacity",".9"),i.text(o.attr("title")).style("left",window.scrollX+k.left+(k.right-k.left)/2+"px").style("top",window.scrollY+k.top-14+document.body.scrollTop+"px"),i.html(i.html().replace(/<br\/>/g,"<br/>")),o.classed("hover",!0)}).on("mouseout",function(){i.transition().duration(500).style("opacity",0),z(this).classed("hover",!1)})};K.push(Ze);let $e="TB";const Ot=()=>$e,It=e=>{$e=e},Rt=function(e){O[e]===void 0&&(O[e]={id:e,classes:{},children:{},domId:pe+e+"-"+we},we++)},Vt=function(e){return O[e]},wt=function(){return O},Pt=function(e,i){if(O[e]!==void 0)for(const r of i){const{className:l}=w(r);p[l].parent=e,O[e].classes[l]=p[l]}},Mt=function(e,i){const r=p[e];if(!(!i||!r))for(const l of i)l.includes(",")?r.styles.push(...l.split(",")):r.styles.push(l)},Kt={setAccTitle:ut,getAccTitle:rt,getAccDescription:at,setAccDescription:lt,getConfig:()=>F().class,addClass:Ae,bindFunctions:Lt,clear:dt,getClass:Et,getClasses:Ct,getNotes:bt,addAnnotation:gt,addNote:Ft,getRelations:mt,addRelation:kt,getDirection:Ot,setDirection:It,addMember:Je,addMembers:Tt,cleanupLabel:yt,lineType:vt,relationType:xt,setClickEvent:St,setCssClass:Me,setLink:_t,getTooltip:Bt,setTooltip:Dt,lookUpDomId:We,setDiagramTitle:ct,getDiagramTitle:ot,setClassLabel:ft,addNamespace:Rt,addClassesToNamespace:Pt,getNamespace:Vt,getNamespaces:wt,setCssStyle:Mt},Gt=e=>`g.classGroup text {
fill: ${e.nodeBorder||e.classText};
stroke: none;
font-family: ${e.fontFamily};
font-size: 10px;
.title {
font-weight: bolder;
}
}
.nodeLabel, .edgeLabel {
color: ${e.classText};
}
.edgeLabel .label rect {
fill: ${e.mainBkg};
}
.label text {
fill: ${e.classText};
}
.edgeLabel .label span {
background: ${e.mainBkg};
}
.classTitle {
font-weight: bolder;
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${e.mainBkg};
stroke: ${e.nodeBorder};
stroke-width: 1px;
}
.divider {
stroke: ${e.nodeBorder};
stroke-width: 1;
}
g.clickable {
cursor: pointer;
}
g.classGroup rect {
fill: ${e.mainBkg};
stroke: ${e.nodeBorder};
}
g.classGroup line {
stroke: ${e.nodeBorder};
stroke-width: 1;
}
.classLabel .box {
stroke: none;
stroke-width: 0;
fill: ${e.mainBkg};
opacity: 0.5;
}
.classLabel .label {
fill: ${e.nodeBorder};
font-size: 10px;
}
.relation {
stroke: ${e.lineColor};
stroke-width: 1;
fill: none;
}
.dashed-line{
stroke-dasharray: 3;
}
.dotted-line{
stroke-dasharray: 1 2;
}
#compositionStart, .composition {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#compositionEnd, .composition {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#dependencyStart, .dependency {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#dependencyStart, .dependency {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#extensionStart, .extension {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#extensionEnd, .extension {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#aggregationStart, .aggregation {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#aggregationEnd, .aggregation {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#lollipopStart, .lollipop {
fill: ${e.mainBkg} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#lollipopEnd, .lollipop {
fill: ${e.mainBkg} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
.edgeTerminals {
font-size: 11px;
line-height: initial;
}
.classTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${e.textColor};
}
`,Yt=Gt;export{Kt as d,zt as p,Yt as s};
import{at as Y,aq as jt,ap as zt,ar as Mt,as as Ht,aT as Xt,aU as Kt,ay as D,aB as ot,aV as Wt,bm as Jt}from"./index-Hfn5l4aw.js";var gt=function(){var t=function(C,r,n,i){for(n=n||{},i=C.length;i--;n[C[i]]=r);return n},s=[1,2],a=[1,3],h=[1,4],f=[2,4],d=[1,9],y=[1,11],k=[1,15],u=[1,16],E=[1,17],T=[1,18],R=[1,30],G=[1,19],U=[1,20],j=[1,21],z=[1,22],M=[1,23],H=[1,25],X=[1,26],K=[1,27],W=[1,28],J=[1,29],q=[1,32],Q=[1,33],Z=[1,34],tt=[1,35],w=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],et=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],Dt=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(r,n,i,o,p,e,$){var l=e.length-1;switch(p){case 3:return o.setRootDoc(e[l]),e[l];case 4:this.$=[];break;case 5:e[l]!="nl"&&(e[l-1].push(e[l]),this.$=e[l-1]);break;case 6:case 7:this.$=e[l];break;case 8:this.$="nl";break;case 11:this.$=e[l];break;case 12:const B=e[l-1];B.description=o.trimColon(e[l]),this.$=B;break;case 13:this.$={stmt:"relation",state1:e[l-2],state2:e[l]};break;case 14:const ft=o.trimColon(e[l]);this.$={stmt:"relation",state1:e[l-3],state2:e[l-1],description:ft};break;case 18:this.$={stmt:"state",id:e[l-3],type:"default",description:"",doc:e[l-1]};break;case 19:var v=e[l],O=e[l-2].trim();if(e[l].match(":")){var st=e[l].split(":");v=st[0],O=[O,st[1]]}this.$={stmt:"state",id:v,type:"default",description:O};break;case 20:this.$={stmt:"state",id:e[l-3],type:"default",description:e[l-5],doc:e[l-1]};break;case 21:this.$={stmt:"state",id:e[l],type:"fork"};break;case 22:this.$={stmt:"state",id:e[l],type:"join"};break;case 23:this.$={stmt:"state",id:e[l],type:"choice"};break;case 24:this.$={stmt:"state",id:o.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:e[l-1].trim(),note:{position:e[l-2].trim(),text:e[l].trim()}};break;case 28:this.$=e[l].trim(),o.setAccTitle(this.$);break;case 29:case 30:this.$=e[l].trim(),o.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:e[l-1].trim(),classes:e[l].trim()};break;case 33:this.$={stmt:"applyClass",id:e[l-1].trim(),styleClass:e[l].trim()};break;case 34:o.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:o.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:o.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:o.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:e[l].trim(),type:"default",description:""};break;case 42:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break;case 43:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break}},table:[{3:1,4:s,5:a,6:h},{1:[3]},{3:5,4:s,5:a,6:h},{3:6,4:s,5:a,6:h},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],f,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:U,26:j,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,5]),{9:36,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:U,26:j,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,7]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11],{13:[1,37],14:[1,38]}),t(c,[2,15]),{17:[1,39]},t(c,[2,17],{19:[1,40]}),{22:[1,41]},t(c,[2,21]),t(c,[2,22]),t(c,[2,23]),t(c,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(c,[2,27]),{33:[1,46]},{35:[1,47]},t(c,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(et,[2,40],{51:[1,51]}),t(et,[2,41],{51:[1,52]}),t(c,[2,34]),t(c,[2,35]),t(c,[2,36]),t(c,[2,37]),t(c,[2,6]),t(c,[2,12]),{12:53,23:R,50:w},t(c,[2,16]),t(Dt,f,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(c,[2,28]),t(c,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(c,[2,13],{13:[1,63]}),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,64],21:T,23:R,24:G,25:U,26:j,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(c,[2,31]),t(c,[2,32]),t(c,[2,33]),t(et,[2,42]),t(et,[2,43]),t(c,[2,14]),t(c,[2,18]),t(Dt,f,{7:68}),t(c,[2,25]),t(c,[2,26]),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,69],21:T,23:R,24:G,25:U,26:j,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(r,n){if(n.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=n,i}},parse:function(r){var n=this,i=[0],o=[],p=[null],e=[],$=this.table,l="",v=0,O=0,st=2,B=1,ft=e.slice.call(arguments,1),S=Object.create(this.lexer),A={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(A.yy[dt]=this.yy[dt]);S.setInput(r,A.yy),A.yy.lexer=S,A.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var yt=S.yylloc;e.push(yt);var Gt=S.options&&S.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ut(){var x;return x=o.pop()||S.lex()||B,typeof x!="number"&&(x instanceof Array&&(o=x,x=o.pop()),x=n.symbols_[x]||x),x}for(var _,L,m,pt,N={},it,b,Ct,rt;;){if(L=i[i.length-1],this.defaultActions[L]?m=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Ut()),m=$[L]&&$[L][_]),typeof m>"u"||!m.length||!m[0]){var St="";rt=[];for(it in $[L])this.terminals_[it]&&it>st&&rt.push("'"+this.terminals_[it]+"'");S.showPosition?St="Parse error on line "+(v+1)+`:
`+S.showPosition()+`
Expecting `+rt.join(", ")+", got '"+(this.terminals_[_]||_)+"'":St="Parse error on line "+(v+1)+": Unexpected "+(_==B?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(St,{text:S.match,token:this.terminals_[_]||_,line:S.yylineno,loc:yt,expected:rt})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+_);switch(m[0]){case 1:i.push(_),p.push(S.yytext),e.push(S.yylloc),i.push(m[1]),_=null,O=S.yyleng,l=S.yytext,v=S.yylineno,yt=S.yylloc;break;case 2:if(b=this.productions_[m[1]][1],N.$=p[p.length-b],N._$={first_line:e[e.length-(b||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(b||1)].first_column,last_column:e[e.length-1].last_column},Gt&&(N._$.range=[e[e.length-(b||1)].range[0],e[e.length-1].range[1]]),pt=this.performAction.apply(N,[l,O,v,A.yy,m[1],p,e].concat(ft)),typeof pt<"u")return pt;b&&(i=i.slice(0,-1*b*2),p=p.slice(0,-1*b),e=e.slice(0,-1*b)),i.push(this.productions_[m[1]][0]),p.push(N.$),e.push(N._$),Ct=$[i[i.length-2]][i[i.length-1]],i.push(Ct);break;case 3:return!0}}return!0}},Yt=function(){var C={EOF:1,parseError:function(n,i){if(this.yy.parser)this.yy.parser.parseError(n,i);else throw new Error(n)},setInput:function(r,n){return this.yy=n||this.yy||{},this._input=r,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 r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var n=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=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),i.length-1&&(this.yylineno-=i.length-1);var p=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:i?(i.length===o.length?this.yylloc.first_column:0)+o[o.length-i.length].length-i[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
`+n+"^"},test_match:function(r,n){var i,o,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),o=r[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],i=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var e in p)this[e]=p[e];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,n,i,o;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),e=0;e<p.length;e++)if(i=this._input.match(this.rules[p[e]]),i&&(!n||i[0].length>n[0].length)){if(n=i,o=e,this.options.backtrack_lexer){if(r=this.test_match(i,p[e]),r!==!1)return r;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(r=this.test_match(n,p[o]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return n||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){var n=this.conditionStack.length-1;return n>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(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,i,o,p){switch(o){case 0:return 40;case 1:return 44;case 2:return 45;case 3:return 46;case 4:return 47;case 5:break;case 6:break;case 7:return 5;case 8:break;case 9:break;case 10:break;case 11:break;case 12:return this.pushState("SCALE"),16;case 13:return 17;case 14:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 20:this.popState();break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 29:return this.pushState("SCALE"),16;case 30:return 17;case 31:this.popState();break;case 32:this.pushState("STATE");break;case 33:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 34:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 35:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 36:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 37:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 39:return 44;case 40:return 45;case 41:return 46;case 42:return 47;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:return this.popState(),"ID";case 46:this.popState();break;case 47:return"STATE_DESCR";case 48:return 18;case 49:this.popState();break;case 50:return this.popState(),this.pushState("struct"),19;case 51:break;case 52:return this.popState(),20;case 53:break;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 59:break;case 60:return"NOTE_TEXT";case 61:return this.popState(),"ID";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),i.yytext=i.yytext.substr(2).trim(),30;case 64:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),30;case 65:return 6;case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return i.yytext=i.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 74:return 5;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};return C}();ht.lexer=Yt;function ut(){this.yy={}}return ut.prototype=ht,ht.Parser=ut,new ut}();gt.parser=gt;const De=gt,qt="LR",Ce="TB",_t="state",It="relation",Qt="classDef",Zt="applyClass",Et="default",te="divider",bt="[*]",Ot="start",Nt=bt,Rt="end",vt="color",At="fill",ee="bgFill",se=",";function wt(){return{}}let $t=qt,lt=[],P=wt();const Bt=()=>({relations:[],states:{},documents:{}});let ct={root:Bt()},g=ct.root,V=0,Lt=0;const ie={LINE:0,DOTTED_LINE:1},re={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},nt=t=>JSON.parse(JSON.stringify(t)),ne=t=>{D.info("Setting root doc",t),lt=t},ae=()=>lt,at=(t,s,a)=>{if(s.stmt===It)at(t,s.state1,!0),at(t,s.state2,!1);else if(s.stmt===_t&&(s.id==="[*]"?(s.id=a?t.id+"_start":t.id+"_end",s.start=a):s.id=s.id.trim()),s.doc){const h=[];let f=[],d;for(d=0;d<s.doc.length;d++)if(s.doc[d].type===te){const y=nt(s.doc[d]);y.doc=nt(f),h.push(y),f=[]}else f.push(s.doc[d]);if(h.length>0&&f.length>0){const y={stmt:_t,id:Jt(),type:"divider",doc:nt(f)};h.push(nt(y)),s.doc=h}s.doc.forEach(y=>at(s,y,!0))}},le=()=>(at({id:"root"},{id:"root",doc:lt},!0),{id:"root",doc:lt}),ce=t=>{let s;t.doc?s=t.doc:s=t,D.info(s),Pt(!0),D.info("Extract",s),s.forEach(a=>{switch(a.stmt){case _t:I(a.id.trim(),a.type,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles);break;case It:Vt(a.state1,a.state2,a.description);break;case Qt:Ft(a.id.trim(),a.classes);break;case Zt:xt(a.id.trim(),a.styleClass);break}})},I=function(t,s=Et,a=null,h=null,f=null,d=null,y=null,k=null){const u=t==null?void 0:t.trim();g.states[u]===void 0?(D.info("Adding state ",u,h),g.states[u]={id:u,descriptions:[],type:s,doc:a,note:f,classes:[],styles:[],textStyles:[]}):(g.states[u].doc||(g.states[u].doc=a),g.states[u].type||(g.states[u].type=s)),h&&(D.info("Setting state description",u,h),typeof h=="string"&&kt(u,h.trim()),typeof h=="object"&&h.forEach(E=>kt(u,E.trim()))),f&&(g.states[u].note=f,g.states[u].note.text=ot.sanitizeText(g.states[u].note.text,Y())),d&&(D.info("Setting state classes",u,d),(typeof d=="string"?[d]:d).forEach(T=>xt(u,T.trim()))),y&&(D.info("Setting state styles",u,y),(typeof y=="string"?[y]:y).forEach(T=>_e(u,T.trim()))),k&&(D.info("Setting state styles",u,y),(typeof k=="string"?[k]:k).forEach(T=>me(u,T.trim())))},Pt=function(t){ct={root:Bt()},g=ct.root,V=0,P=wt(),t||Wt()},F=function(t){return g.states[t]},oe=function(){return g.states},he=function(){D.info("Documents = ",ct)},ue=function(){return g.relations};function mt(t=""){let s=t;return t===bt&&(V++,s=`${Ot}${V}`),s}function Tt(t="",s=Et){return t===bt?Ot:s}function fe(t=""){let s=t;return t===Nt&&(V++,s=`${Rt}${V}`),s}function de(t="",s=Et){return t===Nt?Rt:s}function ye(t,s,a){let h=mt(t.id.trim()),f=Tt(t.id.trim(),t.type),d=mt(s.id.trim()),y=Tt(s.id.trim(),s.type);I(h,f,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),I(d,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),g.relations.push({id1:h,id2:d,relationTitle:ot.sanitizeText(a,Y())})}const Vt=function(t,s,a){if(typeof t=="object")ye(t,s,a);else{const h=mt(t.trim()),f=Tt(t),d=fe(s.trim()),y=de(s);I(h,f),I(d,y),g.relations.push({id1:h,id2:d,title:ot.sanitizeText(a,Y())})}},kt=function(t,s){const a=g.states[t],h=s.startsWith(":")?s.replace(":","").trim():s;a.descriptions.push(ot.sanitizeText(h,Y()))},pe=function(t){return t.substring(0,1)===":"?t.substr(2).trim():t.trim()},Se=()=>(Lt++,"divider-id-"+Lt),Ft=function(t,s=""){P[t]===void 0&&(P[t]={id:t,styles:[],textStyles:[]});const a=P[t];s!=null&&s.split(se).forEach(h=>{const f=h.replace(/([^;]*);/,"$1").trim();if(h.match(vt)){const y=f.replace(At,ee).replace(vt,At);a.textStyles.push(y)}a.styles.push(f)})},ge=function(){return P},xt=function(t,s){t.split(",").forEach(function(a){let h=F(a);if(h===void 0){const f=a.trim();I(f),h=F(f)}h.classes.push(s)})},_e=function(t,s){const a=F(t);a!==void 0&&a.textStyles.push(s)},me=function(t,s){const a=F(t);a!==void 0&&a.textStyles.push(s)},Te=()=>$t,ke=t=>{$t=t},Ee=t=>t&&t[0]===":"?t.substr(1).trim():t.trim(),ve={getConfig:()=>Y().state,addState:I,clear:Pt,getState:F,getStates:oe,getRelations:ue,getClasses:ge,getDirection:Te,addRelation:Vt,getDividerId:Se,setDirection:ke,cleanupLabel:pe,lineType:ie,relationType:re,logDocuments:he,getRootDoc:ae,setRootDoc:ne,getRootDocV2:le,extract:ce,trimColon:Ee,getAccTitle:jt,setAccTitle:zt,getAccDescription:Mt,setAccDescription:Ht,addStyleClass:Ft,setCssClass:xt,addDescription:kt,setDiagramTitle:Xt,getDiagramTitle:Kt},be=t=>`
defs #statediagram-barbEnd {
fill: ${t.transitionColor};
stroke: ${t.transitionColor};
}
g.stateGroup text {
fill: ${t.nodeBorder};
stroke: none;
font-size: 10px;
}
g.stateGroup text {
fill: ${t.textColor};
stroke: none;
font-size: 10px;
}
g.stateGroup .state-title {
font-weight: bolder;
fill: ${t.stateLabelColor};
}
g.stateGroup rect {
fill: ${t.mainBkg};
stroke: ${t.nodeBorder};
}
g.stateGroup line {
stroke: ${t.lineColor};
stroke-width: 1;
}
.transition {
stroke: ${t.transitionColor};
stroke-width: 1;
fill: none;
}
.stateGroup .composit {
fill: ${t.background};
border-bottom: 1px
}
.stateGroup .alt-composit {
fill: #e0e0e0;
border-bottom: 1px
}
.state-note {
stroke: ${t.noteBorderColor};
fill: ${t.noteBkgColor};
text {
fill: ${t.noteTextColor};
stroke: none;
font-size: 10px;
}
}
.stateLabel .box {
stroke: none;
stroke-width: 0;
fill: ${t.mainBkg};
opacity: 0.5;
}
.edgeLabel .label rect {
fill: ${t.labelBackgroundColor};
opacity: 0.5;
}
.edgeLabel .label text {
fill: ${t.transitionLabelColor||t.tertiaryTextColor};
}
.label div .edgeLabel {
color: ${t.transitionLabelColor||t.tertiaryTextColor};
}
.stateLabel text {
fill: ${t.stateLabelColor};
font-size: 10px;
font-weight: bold;
}
.node circle.state-start {
fill: ${t.specialStateColor};
stroke: ${t.specialStateColor};
}
.node .fork-join {
fill: ${t.specialStateColor};
stroke: ${t.specialStateColor};
}
.node circle.state-end {
fill: ${t.innerEndBackground};
stroke: ${t.background};
stroke-width: 1.5
}
.end-state-inner {
fill: ${t.compositeBackground||t.background};
// stroke: ${t.background};
stroke-width: 1.5
}
.node rect {
fill: ${t.stateBkg||t.mainBkg};
stroke: ${t.stateBorder||t.nodeBorder};
stroke-width: 1px;
}
.node polygon {
fill: ${t.mainBkg};
stroke: ${t.stateBorder||t.nodeBorder};;
stroke-width: 1px;
}
#statediagram-barbEnd {
fill: ${t.lineColor};
}
.statediagram-cluster rect {
fill: ${t.compositeTitleBackground};
stroke: ${t.stateBorder||t.nodeBorder};
stroke-width: 1px;
}
.cluster-label, .nodeLabel {
color: ${t.stateLabelColor};
}
.statediagram-cluster rect.outer {
rx: 5px;
ry: 5px;
}
.statediagram-state .divider {
stroke: ${t.stateBorder||t.nodeBorder};
}
.statediagram-state .title-state {
rx: 5px;
ry: 5px;
}
.statediagram-cluster.statediagram-cluster .inner {
fill: ${t.compositeBackground||t.background};
}
.statediagram-cluster.statediagram-cluster-alt .inner {
fill: ${t.altBackground?t.altBackground:"#efefef"};
}
.statediagram-cluster .inner {
rx:0;
ry:0;
}
.statediagram-state rect.basic {
rx: 5px;
ry: 5px;
}
.statediagram-state rect.divider {
stroke-dasharray: 10,10;
fill: ${t.altBackground?t.altBackground:"#efefef"};
}
.note-edge {
stroke-dasharray: 5;
}
.statediagram-note rect {
fill: ${t.noteBkgColor};
stroke: ${t.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note rect {
fill: ${t.noteBkgColor};
stroke: ${t.noteBorderColor};
stroke-width: 1px;
rx: 0;
ry: 0;
}
.statediagram-note text {
fill: ${t.noteTextColor};
}
.statediagram-note .nodeLabel {
color: ${t.noteTextColor};
}
.statediagram .edgeLabel {
color: red; // ${t.noteTextColor};
}
#dependencyStart, #dependencyEnd {
fill: ${t.lineColor};
stroke: ${t.lineColor};
stroke-width: 1;
}
.statediagramTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${t.textColor};
}
`,Ae=be;export{Et as D,It as S,te as a,_t as b,Ce as c,ve as d,De as p,Ae as s};
import{p as J,d as B,s as Q,D as H,a as X,S as Z,b as F,c as I}from"./styles-275f40ca-02prN6vb.js";import{G as tt}from"./layout-94e1e85f-BAM45a7u.js";import{ay as E,at as g,ax as x,aK as et,az as ot,aB as w}from"./index-Hfn5l4aw.js";import{r as st}from"./index-20c9cf41-l8R8WdfM.js";import"./edges-9f0d1f4d-OJsHViVb.js";import"./createText-77e212b0-L6d34XR_.js";import"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";const h="rect",C="rectWithTitle",nt="start",ct="end",it="divider",rt="roundedWithTitle",at="note",lt="noteGroup",_="statediagram",dt="state",Et=`${_}-${dt}`,U="transition",St="note",Tt="note-edge",pt=`${U} ${Tt}`,_t=`${_}-${St}`,ut="cluster",Dt=`${_}-${ut}`,bt="cluster-alt",ft=`${_}-${bt}`,V="parent",Y="note",At="state",N="----",ht=`${N}${Y}`,M=`${N}${V}`,z="fill:none",W="fill: #333",m="c",K="text",q="normal";let y={},d=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){return n.db.extract(n.db.getRootDocV2()),n.db.getClasses()};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",c=N){const i=e!==null&&e.length>0?`${c}${e}`:"";return`${At}-${t}${i}-${n}`}const A=(t,n,e,c,i,r)=>{const o=e.id,u=$t(c[o]);if(o!=="root"){let T=h;e.start===!0&&(T=nt),e.start===!1&&(T=ct),e.type!==H&&(T=e.type),y[o]||(y[o]={id:o,shape:T,description:w.sanitizeText(o,g()),classes:`${u} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=h,s.description=e.description),s.description=w.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=h),!s.type&&e.doc&&(E.info("Setting cluster for ",o,G(e)),s.type="group",s.dir=G(e),s.shape=e.type===X?it:rt,s.classes=s.classes+" "+Dt+" "+(r?ft:""));const p={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,d),type:s.type,padding:15};if(p.centerLabel=!0,e.note){const a={labelStyle:"",shape:at,labelText:e.note.text,classes:_t,style:"",id:o+ht+"-"+d,domId:R(o,d,Y),type:s.type,padding:15},l={labelStyle:"",shape:lt,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,d,V),type:"group",padding:0};d++;const D=o+M;t.setNode(D,l),t.setNode(a.id,a),t.setNode(o,p),t.setParent(o,D),t.setParent(a.id,D);let S=o,b=a.id;e.note.position==="left of"&&(S=a.id,b=o),t.setEdge(S,b,{arrowhead:"none",arrowType:"",style:z,labelStyle:"",classes:pt,arrowheadStyle:W,labelpos:m,labelType:K,thickness:q})}else t.setNode(o,p)}n&&n.id!=="root"&&(E.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(E.trace("Adding nodes children "),xt(t,e,e.doc,c,i,!r))},xt=(t,n,e,c,i,r)=>{E.trace("items",e),e.forEach(o=>{switch(o.stmt){case F:A(t,n,o,c,i,r);break;case H:A(t,n,o,c,i,r);break;case Z:{A(t,n,o.state1,c,i,r),A(t,n,o.state2,c,i,r);const u={id:"edge"+d,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:z,labelStyle:"",label:w.sanitizeText(o.description,g()),arrowheadStyle:W,labelpos:m,labelType:K,thickness:q,classes:U};t.setEdge(o.state1.id,o.state2.id,u,d),d++}break}})},G=(t,n=I)=>{let e=n;if(t.doc)for(let c=0;c<t.doc.length;c++){const i=t.doc[c];i.stmt==="dir"&&(e=i.value)}return e},Ct=async function(t,n,e,c){E.info("Drawing state diagram (v2)",n),y={},c.db.getDirection();const{securityLevel:i,state:r}=g(),o=r.nodeSpacing||50,u=r.rankSpacing||50;E.info(c.db.getRootDocV2()),c.db.extract(c.db.getRootDocV2()),E.info(c.db.getRootDocV2());const T=c.db.getStates(),s=new tt({multigraph:!0,compound:!0}).setGraph({rankdir:G(c.db.getRootDocV2()),nodesep:o,ranksep:u,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});A(s,void 0,c.db.getRootDocV2(),T,c.db,!0);let p;i==="sandbox"&&(p=x("#i"+n));const a=i==="sandbox"?x(p.nodes()[0].contentDocument.body):x("body"),l=a.select(`[id="${n}"]`),D=a.select("#"+n+" g");await st(D,s,["barb"],_,n);const S=8;et.insertTitle(l,"statediagramTitleText",r.titleTopMargin,c.db.getDiagramTitle());const b=l.node().getBBox(),L=b.width+S*2,P=b.height+S*2;l.attr("class",_);const O=l.node().getBBox();ot(l,P,L,r.useMaxWidth);const k=`${O.x-S} ${O.y-S} ${L} ${P}`;E.debug(`viewBox ${k}`),l.attr("viewBox",k);const j=document.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const $ of j){const v=$.getBBox(),f=document.createElementNS("http://www.w3.org/2000/svg",h);f.setAttribute("rx",0),f.setAttribute("ry",0),f.setAttribute("width",v.width),f.setAttribute("height",v.height),$.insertBefore(f,$.firstChild)}},Rt={setConf:yt,getClasses:gt,draw:Ct},Mt={parser:J,db:B,renderer:Rt,styles:Q,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Mt as diagram};
import{p as A,d as N,s as P}from"./styles-275f40ca-02prN6vb.js";import{at as t,ax as H,ay as b,az as R,aB as T,aW as v,aK as U}from"./index-Hfn5l4aw.js";import{G as C,l as F}from"./layout-94e1e85f-BAM45a7u.js";import{l as $}from"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";const O=e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),X=e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),J=(e,i)=>{const o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),o},Y=(e,i)=>{const o=function(l,m,w){const E=l.append("tspan").attr("x",2*t().state.padding).text(m);w||E.attr("dy",t().state.textHeight)},s=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=s.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,r=!0;i.descriptions.forEach(function(l){a||(o(p,l,r),r=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),d=Math.max(x.width,s.width);return y.attr("x2",d+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",d+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},I=(e,i,o)=>{const c=t().state.padding,s=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,r=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=r.node().getBBox().width+s;let d=Math.max(x,p);d===p&&(d=d+s);let l;const m=e.node().getBBox();i.doc,l=a-c,x>p&&(l=(p-d)/2+c),Math.abs(a-m.x)<c&&x>p&&(l=a-(x-p)/2);const w=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",w).attr("class",o?"alt-composit":"composit").attr("width",d).attr("height",m.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),r.attr("x",l+c),x<=p&&r.attr("x",a+(d-s)/2-x/2+c),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",m.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},_=e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),q=(e,i)=>{let o=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let s=o;o=c,c=s}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},K=(e,i,o,c)=>{let s=0;const g=c.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const a=p.split(T.lineBreakRegex);let r=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const d=g.append("tspan");if(d.text(x),r===0){const l=d.node().getBBox();r+=l.height}s+=r,d.attr("x",i+t().state.noteMargin),d.attr("y",o+s+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:s}},Z=(e,i)=>{i.attr("class","state-note");const o=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:s,textHeight:g}=K(e,0,0,c);return o.attr("height",g+2*t().state.noteMargin),o.attr("width",s+t().state.noteMargin*2),o},L=function(e,i){const o=i.id,c={id:o,label:i.id,width:0,height:0},s=e.append("g").attr("id",o).attr("class","stateGroup");i.type==="start"&&O(s),i.type==="end"&&_(s),(i.type==="fork"||i.type==="join")&&q(s,i),i.type==="note"&&Z(i.note.text,s),i.type==="divider"&&X(s),i.type==="default"&&i.descriptions.length===0&&J(s,i),i.type==="default"&&i.descriptions.length>0&&Y(s,i);const g=s.node().getBBox();return c.width=g.width+2*t().state.padding,c.height=g.height+2*t().state.padding,c};let G=0;const Q=function(e,i,o){const c=function(r){switch(r){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}};i.points=i.points.filter(r=>!Number.isNaN(r.y));const s=i.points,g=$().x(function(r){return r.x}).y(function(r){return r.y}).curve(v),p=e.append("path").attr("d",g(s)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),o.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:y,y:x}=U.calcLabelPosition(i.points),d=T.getRows(o.title);let l=0;const m=[];let w=0,E=0;for(let u=0;u<=d.length;u++){const h=r.append("text").attr("text-anchor","middle").text(d[u]).attr("x",y).attr("y",x+l),f=h.node().getBBox();w=Math.max(w,f.width),E=Math.min(E,f.x),b.info(f.x,y,x+l),l===0&&(l=h.node().getBBox().height,b.info("Title height",l,x)),m.push(h)}let k=l*d.length;if(d.length>1){const u=(d.length-1)*l*.5;m.forEach((h,f)=>h.attr("y",x+f*l-u)),k=l*d.length}const n=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",y-w/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",w+t().state.padding).attr("height",k+t().state.padding),b.info(n)}G++};let B;const z={},V=function(){},j=function(e){e.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")},D=function(e,i,o,c){B=t().state;const s=t().securityLevel;let g;s==="sandbox"&&(g=H("#i"+i));const p=s==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=s==="sandbox"?g.nodes()[0].contentDocument:document;b.debug("Rendering diagram "+e);const r=p.select(`[id='${i}']`);j(r);const y=c.db.getRootDoc();W(y,r,void 0,!1,p,a,c);const x=B.padding,d=r.node().getBBox(),l=d.width+x*2,m=d.height+x*2,w=l*1.75;R(r,m,w,B.useMaxWidth),r.attr("viewBox",`${d.x-B.padding} ${d.y-B.padding} `+l+" "+m)},tt=e=>e?e.length*B.fontSizeFactor:1,W=(e,i,o,c,s,g,p)=>{const a=new C({compound:!0,multigraph:!0});let r,y=!0;for(r=0;r<e.length;r++)if(e[r].stmt==="relation"){y=!1;break}o?a.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:y?1:B.edgeLengthFactor,nodeSep:y?1:50,isMultiGraph:!0}):a.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:y?1:B.edgeLengthFactor,nodeSep:y?1:50,ranker:"tight-tree",isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}}),p.db.extract(e);const x=p.db.getStates(),d=p.db.getRelations(),l=Object.keys(x);for(const n of l){const u=x[n];o&&(u.parentId=o);let h;if(u.doc){let f=i.append("g").attr("id",u.id).attr("class","stateGroup");h=W(u.doc,f,u.id,!c,s,g,p);{f=I(f,u,c);let S=f.node().getBBox();h.width=S.width,h.height=S.height+B.padding/2,z[u.id]={y:B.compositTitleSize}}}else h=L(i,u);if(u.note){const f={descriptions:[],id:u.id+"-note",note:u.note,type:"note"},S=L(i,f);u.note.position==="left of"?(a.setNode(h.id+"-note",S),a.setNode(h.id,h)):(a.setNode(h.id,h),a.setNode(h.id+"-note",S)),a.setParent(h.id,h.id+"-group"),a.setParent(h.id+"-note",h.id+"-group")}else a.setNode(h.id,h)}b.debug("Count=",a.nodeCount(),a);let m=0;d.forEach(function(n){m++,b.debug("Setting edge",n),a.setEdge(n.id1,n.id2,{relation:n,width:tt(n.title),height:B.labelHeight*T.getRows(n.title).length,labelpos:"c"},"id"+m)}),F(a),b.debug("Graph after layout",a.nodes());const w=i.node();a.nodes().forEach(function(n){n!==void 0&&a.node(n)!==void 0?(b.warn("Node "+n+": "+JSON.stringify(a.node(n))),s.select("#"+w.id+" #"+n).attr("transform","translate("+(a.node(n).x-a.node(n).width/2)+","+(a.node(n).y+(z[n]?z[n].y:0)-a.node(n).height/2)+" )"),s.select("#"+w.id+" #"+n).attr("data-x-shift",a.node(n).x-a.node(n).width/2),g.querySelectorAll("#"+w.id+" #"+n+" .divider").forEach(h=>{const f=h.parentElement;let S=0,M=0;f&&(f.parentElement&&(S=f.parentElement.getBBox().width),M=parseInt(f.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",S-M-8)})):b.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let E=w.getBBox();a.edges().forEach(function(n){n!==void 0&&a.edge(n)!==void 0&&(b.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),Q(i,a.edge(n),a.edge(n).relation))}),E=w.getBBox();const k={id:o||"root",label:o||"root",width:0,height:0};return k.width=E.width+2*B.padding,k.height=E.height+2*B.padding,b.debug("Doc rendered",k,a),k},et={setConf:V,draw:D},dt={parser:A,db:N,renderer:et,styles:P,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()}};export{dt as diagram};
import{aq as ge,aU as Te,aT as ye,at as lt,ap as Jt,as as Ee,ar as be,aV as me,ay as K,au as kt,aB as v,av as we,ax as Pt,az as ve,aK as B,aD as Zt,bb as Qt,bk as _e,bl as Pe}from"./index-Hfn5l4aw.js";import{d as ke,a as Le,g as Lt,b as Ie,c as Ae,e as Yt}from"./svgDrawCommon-1b9ff2ad-B4iIY08o.js";var Vt=function(){var t=function(ct,w,P,L){for(P=P||{},L=ct.length;L--;P[ct[L]]=w);return P},e=[1,2],o=[1,3],s=[1,4],r=[2,4],n=[1,9],c=[1,11],h=[1,13],p=[1,14],i=[1,16],g=[1,17],E=[1,18],u=[1,24],x=[1,25],m=[1,26],k=[1,27],A=[1,28],D=[1,29],S=[1,30],W=[1,31],M=[1,32],tt=[1,33],q=[1,34],G=[1,35],Z=[1,36],z=[1,37],F=[1,38],O=[1,39],X=[1,41],H=[1,42],J=[1,43],Q=[1,44],j=[1,45],y=[1,46],_=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],I=[4,5,16,50,52,53],ht=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],et=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],zt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],it=[1,120],At={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(w,P,L,T,R,l,Et){var d=l.length-1;switch(R){case 3:return T.apply(l[d]),l[d];case 4:case 9:this.$=[];break;case 5:case 10:l[d-1].push(l[d]),this.$=l[d-1];break;case 6:case 7:case 11:case 12:this.$=l[d];break;case 8:case 13:this.$=[];break;case 15:l[d].type="createParticipant",this.$=l[d];break;case 16:l[d-1].unshift({type:"boxStart",boxData:T.parseBoxData(l[d-2])}),l[d-1].push({type:"boxEnd",boxText:l[d-2]}),this.$=l[d-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[d-2]),sequenceIndexStep:Number(l[d-1]),sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:T.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:l[d-1]};break;case 23:this.$={type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:l[d-1]};break;case 29:T.setDiagramTitle(l[d].substring(6)),this.$=l[d].substring(6);break;case 30:T.setDiagramTitle(l[d].substring(7)),this.$=l[d].substring(7);break;case 31:this.$=l[d].trim(),T.setAccTitle(this.$);break;case 32:case 33:this.$=l[d].trim(),T.setAccDescription(this.$);break;case 34:l[d-1].unshift({type:"loopStart",loopText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.LOOP_START}),l[d-1].push({type:"loopEnd",loopText:l[d-2],signalType:T.LINETYPE.LOOP_END}),this.$=l[d-1];break;case 35:l[d-1].unshift({type:"rectStart",color:T.parseMessage(l[d-2]),signalType:T.LINETYPE.RECT_START}),l[d-1].push({type:"rectEnd",color:T.parseMessage(l[d-2]),signalType:T.LINETYPE.RECT_END}),this.$=l[d-1];break;case 36:l[d-1].unshift({type:"optStart",optText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.OPT_START}),l[d-1].push({type:"optEnd",optText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.OPT_END}),this.$=l[d-1];break;case 37:l[d-1].unshift({type:"altStart",altText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.ALT_START}),l[d-1].push({type:"altEnd",signalType:T.LINETYPE.ALT_END}),this.$=l[d-1];break;case 38:l[d-1].unshift({type:"parStart",parText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.PAR_START}),l[d-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=l[d-1];break;case 39:l[d-1].unshift({type:"parStart",parText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.PAR_OVER_START}),l[d-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=l[d-1];break;case 40:l[d-1].unshift({type:"criticalStart",criticalText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.CRITICAL_START}),l[d-1].push({type:"criticalEnd",signalType:T.LINETYPE.CRITICAL_END}),this.$=l[d-1];break;case 41:l[d-1].unshift({type:"breakStart",breakText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.BREAK_START}),l[d-1].push({type:"breakEnd",optText:T.parseMessage(l[d-2]),signalType:T.LINETYPE.BREAK_END}),this.$=l[d-1];break;case 43:this.$=l[d-3].concat([{type:"option",optionText:T.parseMessage(l[d-1]),signalType:T.LINETYPE.CRITICAL_OPTION},l[d]]);break;case 45:this.$=l[d-3].concat([{type:"and",parText:T.parseMessage(l[d-1]),signalType:T.LINETYPE.PAR_AND},l[d]]);break;case 47:this.$=l[d-3].concat([{type:"else",altText:T.parseMessage(l[d-1]),signalType:T.LINETYPE.ALT_ELSE},l[d]]);break;case 48:l[d-3].draw="participant",l[d-3].type="addParticipant",l[d-3].description=T.parseMessage(l[d-1]),this.$=l[d-3];break;case 49:l[d-1].draw="participant",l[d-1].type="addParticipant",this.$=l[d-1];break;case 50:l[d-3].draw="actor",l[d-3].type="addParticipant",l[d-3].description=T.parseMessage(l[d-1]),this.$=l[d-3];break;case 51:l[d-1].draw="actor",l[d-1].type="addParticipant",this.$=l[d-1];break;case 52:l[d-1].type="destroyParticipant",this.$=l[d-1];break;case 53:this.$=[l[d-1],{type:"addNote",placement:l[d-2],actor:l[d-1].actor,text:l[d]}];break;case 54:l[d-2]=[].concat(l[d-1],l[d-1]).slice(0,2),l[d-2][0]=l[d-2][0].actor,l[d-2][1]=l[d-2][1].actor,this.$=[l[d-1],{type:"addNote",placement:T.PLACEMENT.OVER,actor:l[d-2].slice(0,2),text:l[d]}];break;case 55:this.$=[l[d-1],{type:"addLinks",actor:l[d-1].actor,text:l[d]}];break;case 56:this.$=[l[d-1],{type:"addALink",actor:l[d-1].actor,text:l[d]}];break;case 57:this.$=[l[d-1],{type:"addProperties",actor:l[d-1].actor,text:l[d]}];break;case 58:this.$=[l[d-1],{type:"addDetails",actor:l[d-1].actor,text:l[d]}];break;case 61:this.$=[l[d-2],l[d]];break;case 62:this.$=l[d];break;case 63:this.$=T.PLACEMENT.LEFTOF;break;case 64:this.$=T.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[d-4],l[d-1],{type:"addMessage",from:l[d-4].actor,to:l[d-1].actor,signalType:l[d-3],msg:l[d],activate:!0},{type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:l[d-1]}];break;case 66:this.$=[l[d-4],l[d-1],{type:"addMessage",from:l[d-4].actor,to:l[d-1].actor,signalType:l[d-3],msg:l[d]},{type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:l[d-4]}];break;case 67:this.$=[l[d-3],l[d-1],{type:"addMessage",from:l[d-3].actor,to:l[d-1].actor,signalType:l[d-2],msg:l[d]}];break;case 68:this.$={type:"addParticipant",actor:l[d]};break;case 69:this.$=T.LINETYPE.SOLID_OPEN;break;case 70:this.$=T.LINETYPE.DOTTED_OPEN;break;case 71:this.$=T.LINETYPE.SOLID;break;case 72:this.$=T.LINETYPE.DOTTED;break;case 73:this.$=T.LINETYPE.SOLID_CROSS;break;case 74:this.$=T.LINETYPE.DOTTED_CROSS;break;case 75:this.$=T.LINETYPE.SOLID_POINT;break;case 76:this.$=T.LINETYPE.DOTTED_POINT;break;case 77:this.$=T.parseMessage(l[d].trim().substring(1));break}},table:[{3:1,4:e,5:o,6:s},{1:[3]},{3:5,4:e,5:o,6:s},{3:6,4:e,5:o,6:s},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},t(_,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},t(_,[2,7]),t(_,[2,8]),t(_,[2,14]),{12:48,50:z,52:F,53:O},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:y},{22:55,70:y},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(_,[2,29]),t(_,[2,30]),{32:[1,61]},{34:[1,62]},t(_,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:y},{22:72,70:y},{22:73,70:y},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:y},{22:88,70:y},{22:89,70:y},{22:90,70:y},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(_,[2,6]),t(_,[2,15]),t(I,[2,9],{10:91}),t(_,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(_,[2,21]),{5:[1,95]},{5:[1,96]},t(_,[2,24]),t(_,[2,25]),t(_,[2,26]),t(_,[2,27]),t(_,[2,28]),t(_,[2,31]),t(_,[2,32]),t(ht,r,{7:97}),t(ht,r,{7:98}),t(ht,r,{7:99}),t(et,r,{40:100,7:101}),t(N,r,{42:102,7:103}),t(N,r,{7:103,42:104}),t(zt,r,{45:105,7:106}),t(ht,r,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:y},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),{22:116,70:y},{22:118,58:117,70:y},{70:[2,63]},{70:[2,64]},{56:119,79:it},{56:121,79:it},{56:122,79:it},{56:123,79:it},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:z,52:F,53:O},{5:[1,129]},t(_,[2,19]),t(_,[2,20]),t(_,[2,22]),t(_,[2,23]),{4:n,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,130],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{4:n,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,131],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{4:n,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{16:[1,133]},{4:n,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,49:[1,134],50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{16:[1,135]},{4:n,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,48:[1,136],50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{16:[1,137]},{16:[1,138]},{4:n,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,47:[1,139],50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{4:n,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,140],17:15,18:i,21:g,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:u,30:x,31:m,33:k,35:A,36:D,37:S,38:W,39:M,41:tt,43:q,44:G,46:Z,50:z,52:F,53:O,54:X,59:H,60:J,61:Q,62:j,70:y},{15:[1,141]},t(_,[2,49]),{15:[1,142]},t(_,[2,51]),t(_,[2,52]),{22:143,70:y},{22:144,70:y},{56:145,79:it},{56:146,79:it},{56:147,79:it},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(_,[2,16]),t(I,[2,10]),{12:149,50:z,52:F,53:O},t(I,[2,12]),t(I,[2,13]),t(_,[2,18]),t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),{15:[1,150]},t(_,[2,38]),{15:[1,151]},t(_,[2,39]),t(_,[2,40]),{15:[1,152]},t(_,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:it},{56:156,79:it},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:y},t(I,[2,11]),t(et,r,{7:101,40:158}),t(N,r,{7:103,42:159}),t(zt,r,{7:106,45:160}),t(_,[2,48]),t(_,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(w,P){if(P.recoverable)this.trace(w);else{var L=new Error(w);throw L.hash=P,L}},parse:function(w){var P=this,L=[0],T=[],R=[null],l=[],Et=this.table,d="",wt=0,Ht=0,pe=2,Ut=1,ue=l.slice.call(arguments,1),Y=Object.create(this.lexer),dt={yy:{}};for(var St in this.yy)Object.prototype.hasOwnProperty.call(this.yy,St)&&(dt.yy[St]=this.yy[St]);Y.setInput(w,dt.yy),dt.yy.lexer=Y,dt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Mt=Y.yylloc;l.push(Mt);var fe=Y.options&&Y.options.ranges;typeof dt.yy.parseError=="function"?this.parseError=dt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xe(){var at;return at=T.pop()||Y.lex()||Ut,typeof at!="number"&&(at instanceof Array&&(T=at,at=T.pop()),at=P.symbols_[at]||at),at}for(var U,pt,$,Rt,gt={},vt,nt,Kt,_t;;){if(pt=L[L.length-1],this.defaultActions[pt]?$=this.defaultActions[pt]:((U===null||typeof U>"u")&&(U=xe()),$=Et[pt]&&Et[pt][U]),typeof $>"u"||!$.length||!$[0]){var Dt="";_t=[];for(vt in Et[pt])this.terminals_[vt]&&vt>pe&&_t.push("'"+this.terminals_[vt]+"'");Y.showPosition?Dt="Parse error on line "+(wt+1)+`:
`+Y.showPosition()+`
Expecting `+_t.join(", ")+", got '"+(this.terminals_[U]||U)+"'":Dt="Parse error on line "+(wt+1)+": Unexpected "+(U==Ut?"end of input":"'"+(this.terminals_[U]||U)+"'"),this.parseError(Dt,{text:Y.match,token:this.terminals_[U]||U,line:Y.yylineno,loc:Mt,expected:_t})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pt+", token: "+U);switch($[0]){case 1:L.push(U),R.push(Y.yytext),l.push(Y.yylloc),L.push($[1]),U=null,Ht=Y.yyleng,d=Y.yytext,wt=Y.yylineno,Mt=Y.yylloc;break;case 2:if(nt=this.productions_[$[1]][1],gt.$=R[R.length-nt],gt._$={first_line:l[l.length-(nt||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(nt||1)].first_column,last_column:l[l.length-1].last_column},fe&&(gt._$.range=[l[l.length-(nt||1)].range[0],l[l.length-1].range[1]]),Rt=this.performAction.apply(gt,[d,Ht,wt,dt.yy,$[1],R,l].concat(ue)),typeof Rt<"u")return Rt;nt&&(L=L.slice(0,-1*nt*2),R=R.slice(0,-1*nt),l=l.slice(0,-1*nt)),L.push(this.productions_[$[1]][0]),R.push(gt.$),l.push(gt._$),Kt=Et[L[L.length-2]][L[L.length-1]],L.push(Kt);break;case 3:return!0}}return!0}},de=function(){var ct={EOF:1,parseError:function(P,L){if(this.yy.parser)this.yy.parser.parseError(P,L);else throw new Error(P)},setInput:function(w,P){return this.yy=P||this.yy||{},this._input=w,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 w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var P=w.match(/(?:\r\n?|\n).*/g);return P?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},unput:function(w){var P=w.length,L=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-P),this.offset-=P;var T=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),L.length-1&&(this.yylineno-=L.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:L?(L.length===T.length?this.yylloc.first_column:0)+T[T.length-L.length].length-L[0].length:this.yylloc.first_column-P},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-P]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(w){this.unput(this.match.slice(w))},pastInput:function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var w=this.pastInput(),P=new Array(w.length+1).join("-");return w+this.upcomingInput()+`
`+P+"^"},test_match:function(w,P){var L,T,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))),T=w[0].match(/(?:\r\n?|\n).*/g),T&&(this.yylineno+=T.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+w[0].length},this.yytext+=w[0],this.match+=w[0],this.matches=w,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(w[0].length),this.matched+=w[0],L=this.performAction.call(this,this.yy,this,P,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),L)return L;if(this._backtrack){for(var l in R)this[l]=R[l];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var w,P,L,T;this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),l=0;l<R.length;l++)if(L=this._input.match(this.rules[R[l]]),L&&(!P||L[0].length>P[0].length)){if(P=L,T=l,this.options.backtrack_lexer){if(w=this.test_match(L,R[l]),w!==!1)return w;if(this._backtrack){P=!1;continue}else return!1}else if(!this.options.flex)break}return P?(w=this.test_match(P,R[T]),w!==!1?w:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var P=this.next();return P||this.lex()},begin:function(P){this.conditionStack.push(P)},popState:function(){var P=this.conditionStack.length-1;return P>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(P){return P=this.conditionStack.length-1-Math.abs(P||0),P>=0?this.conditionStack[P]:"INITIAL"},pushState:function(P){this.begin(P)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(P,L,T,R){switch(T){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return L.yytext=L.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 51:return 5;case 52:return L.yytext=L.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 64:return 5;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:!0}}};return ct}();At.lexer=de;function Nt(){this.yy={}}return Nt.prototype=At,At.Parser=Nt,new Nt}();Vt.parser=Vt;const Ne=Vt;class Se{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}}const b=new Se(()=>({prevActor:void 0,actors:{},createdActors:{},destroyedActors:{},boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),Me=function(t){b.records.boxes.push({name:t.text,wrap:t.wrap===void 0&&ft()||!!t.wrap,fill:t.color,actorKeys:[]}),b.records.currentBox=b.records.boxes.slice(-1)[0]},Ct=function(t,e,o,s){let r=b.records.currentBox;const n=b.records.actors[t];if(n){if(b.records.currentBox&&n.box&&b.records.currentBox!==n.box)throw new Error("A same participant should only be defined in one Box: "+n.name+" can't be in '"+n.box.name+"' and in '"+b.records.currentBox.name+"' at the same time.");if(r=n.box?n.box:b.records.currentBox,n.box=r,n&&e===n.name&&o==null)return}(o==null||o.text==null)&&(o={text:e,wrap:null,type:s}),(s==null||o.text==null)&&(o={text:e,wrap:null,type:s}),b.records.actors[t]={box:r,name:e,description:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,prevActor:b.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:s||"participant"},b.records.prevActor&&b.records.actors[b.records.prevActor]&&(b.records.actors[b.records.prevActor].nextActor=t),b.records.currentBox&&b.records.currentBox.actorKeys.push(t),b.records.prevActor=t},Re=t=>{let e,o=0;for(e=0;e<b.records.messages.length;e++)b.records.messages[e].type===bt.ACTIVE_START&&b.records.messages[e].from.actor===t&&o++,b.records.messages[e].type===bt.ACTIVE_END&&b.records.messages[e].from.actor===t&&o--;return o},De=function(t,e,o,s){b.records.messages.push({from:t,to:e,message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,answer:s})},V=function(t,e,o={text:void 0,wrap:void 0},s,r=!1){if(s===bt.ACTIVE_END&&Re(t.actor)<1){let c=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw c.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},c}return b.records.messages.push({from:t,to:e,message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,type:s,activate:r}),!0},Ve=function(){return b.records.boxes.length>0},Ce=function(){return b.records.boxes.some(t=>t.name)},Oe=function(){return b.records.messages},Be=function(){return b.records.boxes},Ye=function(){return b.records.actors},Fe=function(){return b.records.createdActors},We=function(){return b.records.destroyedActors},mt=function(t){return b.records.actors[t]},qe=function(){return Object.keys(b.records.actors)},ze=function(){b.records.sequenceNumbersEnabled=!0},He=function(){b.records.sequenceNumbersEnabled=!1},Ue=()=>b.records.sequenceNumbersEnabled,Ke=function(t){b.records.wrapEnabled=t},ft=()=>b.records.wrapEnabled!==void 0?b.records.wrapEnabled:lt().sequence.wrap,Ge=function(){b.reset(),me()},Xe=function(t){const e=t.trim(),o={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:e.match(/^:?wrap:/)!==null?!0:e.match(/^:?nowrap:/)!==null?!1:void 0};return K.debug("parseMessage:",o),o},Je=function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let o=e!=null&&e[1]?e[1].trim():"transparent",s=e!=null&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",o)||(o="transparent",s=t.trim());else{const r=new Option().style;r.color=o,r.color!==o&&(o="transparent",s=t.trim())}return{color:o,text:s!==void 0?kt(s.replace(/^:?(?:no)?wrap:/,""),lt()):void 0,wrap:s!==void 0?s.match(/^:?wrap:/)!==null?!0:s.match(/^:?nowrap:/)!==null?!1:void 0:void 0}},bt={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},Ze={FILLED:0,OPEN:1},Qe={LEFTOF:0,RIGHTOF:1,OVER:2},jt=function(t,e,o){const s={actor:t,placement:e,message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap},r=[].concat(t,t);b.records.notes.push(s),b.records.messages.push({from:r[0],to:r[1],message:o.text,wrap:o.wrap===void 0&&ft()||!!o.wrap,type:bt.NOTE,placement:e})},$t=function(t,e){const o=mt(t);try{let s=kt(e.text,lt());s=s.replace(/&/g,"&"),s=s.replace(/=/g,"=");const r=JSON.parse(s);Ft(o,r)}catch(s){K.error("error while parsing actor link text",s)}},je=function(t,e){const o=mt(t);try{const c={};let h=kt(e.text,lt());var s=h.indexOf("@");h=h.replace(/&/g,"&"),h=h.replace(/=/g,"=");var r=h.slice(0,s-1).trim(),n=h.slice(s+1).trim();c[r]=n,Ft(o,c)}catch(c){K.error("error while parsing actor link text",c)}};function Ft(t,e){if(t.links==null)t.links=e;else for(let o in e)t.links[o]=e[o]}const te=function(t,e){const o=mt(t);try{let s=kt(e.text,lt());const r=JSON.parse(s);ee(o,r)}catch(s){K.error("error while parsing actor properties text",s)}};function ee(t,e){if(t.properties==null)t.properties=e;else for(let o in e)t.properties[o]=e[o]}function $e(){b.records.currentBox=void 0}const se=function(t,e){const o=mt(t),s=document.getElementById(e.text);try{const r=s.innerHTML,n=JSON.parse(r);n.properties&&ee(o,n.properties),n.links&&Ft(o,n.links)}catch(r){K.error("error while parsing actor details text",r)}},t0=function(t,e){if(t!==void 0&&t.properties!==void 0)return t.properties[e]},re=function(t){if(Array.isArray(t))t.forEach(function(e){re(e)});else switch(t.type){case"sequenceIndex":b.records.messages.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":Ct(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(b.records.actors[t.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");b.records.lastCreated=t.actor,Ct(t.actor,t.actor,t.description,t.draw),b.records.createdActors[t.actor]=b.records.messages.length;break;case"destroyParticipant":b.records.lastDestroyed=t.actor,b.records.destroyedActors[t.actor]=b.records.messages.length;break;case"activeStart":V(t.actor,void 0,void 0,t.signalType);break;case"activeEnd":V(t.actor,void 0,void 0,t.signalType);break;case"addNote":jt(t.actor,t.placement,t.text);break;case"addLinks":$t(t.actor,t.text);break;case"addALink":je(t.actor,t.text);break;case"addProperties":te(t.actor,t.text);break;case"addDetails":se(t.actor,t.text);break;case"addMessage":if(b.records.lastCreated){if(t.to!==b.records.lastCreated)throw new Error("The created participant "+b.records.lastCreated+" does not have an associated creating message after its declaration. Please check the sequence diagram.");b.records.lastCreated=void 0}else if(b.records.lastDestroyed){if(t.to!==b.records.lastDestroyed&&t.from!==b.records.lastDestroyed)throw new Error("The destroyed participant "+b.records.lastDestroyed+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");b.records.lastDestroyed=void 0}V(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":Me(t.boxData);break;case"boxEnd":$e();break;case"loopStart":V(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":V(void 0,void 0,void 0,t.signalType);break;case"rectStart":V(void 0,void 0,t.color,t.signalType);break;case"rectEnd":V(void 0,void 0,void 0,t.signalType);break;case"optStart":V(void 0,void 0,t.optText,t.signalType);break;case"optEnd":V(void 0,void 0,void 0,t.signalType);break;case"altStart":V(void 0,void 0,t.altText,t.signalType);break;case"else":V(void 0,void 0,t.altText,t.signalType);break;case"altEnd":V(void 0,void 0,void 0,t.signalType);break;case"setAccTitle":Jt(t.text);break;case"parStart":V(void 0,void 0,t.parText,t.signalType);break;case"and":V(void 0,void 0,t.parText,t.signalType);break;case"parEnd":V(void 0,void 0,void 0,t.signalType);break;case"criticalStart":V(void 0,void 0,t.criticalText,t.signalType);break;case"option":V(void 0,void 0,t.optionText,t.signalType);break;case"criticalEnd":V(void 0,void 0,void 0,t.signalType);break;case"breakStart":V(void 0,void 0,t.breakText,t.signalType);break;case"breakEnd":V(void 0,void 0,void 0,t.signalType);break}},Gt={addActor:Ct,addMessage:De,addSignal:V,addLinks:$t,addDetails:se,addProperties:te,autoWrap:ft,setWrap:Ke,enableSequenceNumbers:ze,disableSequenceNumbers:He,showSequenceNumbers:Ue,getMessages:Oe,getActors:Ye,getCreatedActors:Fe,getDestroyedActors:We,getActor:mt,getActorKeys:qe,getActorProperty:t0,getAccTitle:ge,getBoxes:Be,getDiagramTitle:Te,setDiagramTitle:ye,getConfig:()=>lt().sequence,clear:Ge,parseMessage:Xe,parseBoxData:Je,LINETYPE:bt,ARROWTYPE:Ze,PLACEMENT:Qe,addNote:jt,setAccTitle:Jt,apply:re,setAccDescription:Ee,getAccDescription:be,hasAtLeastOneBox:Ve,hasAtLeastOneBoxWithTitle:Ce},e0=t=>`.actor {
stroke: ${t.actorBorder};
fill: ${t.actorBkg};
}
text.actor > tspan {
fill: ${t.actorTextColor};
stroke: none;
}
.actor-line {
stroke: ${t.actorLineColor};
}
.messageLine0 {
stroke-width: 1.5;
stroke-dasharray: none;
stroke: ${t.signalColor};
}
.messageLine1 {
stroke-width: 1.5;
stroke-dasharray: 2, 2;
stroke: ${t.signalColor};
}
#arrowhead path {
fill: ${t.signalColor};
stroke: ${t.signalColor};
}
.sequenceNumber {
fill: ${t.sequenceNumberColor};
}
#sequencenumber {
fill: ${t.signalColor};
}
#crosshead path {
fill: ${t.signalColor};
stroke: ${t.signalColor};
}
.messageText {
fill: ${t.signalTextColor};
stroke: none;
}
.labelBox {
stroke: ${t.labelBoxBorderColor};
fill: ${t.labelBoxBkgColor};
}
.labelText, .labelText > tspan {
fill: ${t.labelTextColor};
stroke: none;
}
.loopText, .loopText > tspan {
fill: ${t.loopTextColor};
stroke: none;
}
.loopLine {
stroke-width: 2px;
stroke-dasharray: 2, 2;
stroke: ${t.labelBoxBorderColor};
fill: ${t.labelBoxBorderColor};
}
.note {
//stroke: #decc93;
stroke: ${t.noteBorderColor};
fill: ${t.noteBkgColor};
}
.noteText, .noteText > tspan {
fill: ${t.noteTextColor};
stroke: none;
}
.activation0 {
fill: ${t.activationBkgColor};
stroke: ${t.activationBorderColor};
}
.activation1 {
fill: ${t.activationBkgColor};
stroke: ${t.activationBorderColor};
}
.activation2 {
fill: ${t.activationBkgColor};
stroke: ${t.activationBorderColor};
}
.actorPopupMenu {
position: absolute;
}
.actorPopupMenuPanel {
position: absolute;
fill: ${t.actorBkg};
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}
.actor-man line {
stroke: ${t.actorBorder};
fill: ${t.actorBkg};
}
.actor-man circle, line {
stroke: ${t.actorBorder};
fill: ${t.actorBkg};
stroke-width: 2px;
}
`,s0=e0,ut=18*2,Wt=function(t,e){return ke(t,e)},ie=(t,e)=>{_e(()=>{const o=document.querySelectorAll(t);o.length!==0&&(o[0].addEventListener("mouseover",function(){a0("actor"+e+"_popup")}),o[0].addEventListener("mouseout",function(){o0("actor"+e+"_popup")}))})},r0=function(t,e,o,s,r){if(e.links===void 0||e.links===null||Object.keys(e.links).length===0)return{height:0,width:0};const n=e.links,c=e.actorCnt,h=e.rectData;var p="none";r&&(p="block !important");const i=t.append("g");i.attr("id","actor"+c+"_popup"),i.attr("class","actorPopupMenu"),i.attr("display",p),ie("#actor"+c+"_popup",c);var g="";h.class!==void 0&&(g=" "+h.class);let E=h.width>o?h.width:o;const u=i.append("rect");if(u.attr("class","actorPopupMenuPanel"+g),u.attr("x",h.x),u.attr("y",h.height),u.attr("fill",h.fill),u.attr("stroke",h.stroke),u.attr("width",E),u.attr("height",h.height),u.attr("rx",h.rx),u.attr("ry",h.ry),n!=null){var x=20;for(let A in n){var m=i.append("a"),k=Zt(n[A]);m.attr("xlink:href",k),m.attr("target","_blank"),v0(s)(A,m,h.x+10,h.height+x,E,20,{class:"actor"},s),x+=30}}return u.attr("height",x),{height:h.height+x,width:E}},i0=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'block'; }"},n0=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'none'; }"},a0=function(t){var e=document.getElementById(t);e!=null&&(e.style.display="block")},o0=function(t){var e=document.getElementById(t);e!=null&&(e.style.display="none")},yt=function(t,e){let o=0,s=0;const r=e.text.split(v.lineBreakRegex),[n,c]=Qt(e.fontSize);let h=[],p=0,i=()=>e.y;if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0)switch(e.valign){case"top":case"start":i=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":i=()=>Math.round(e.y+(o+s+e.textMargin)/2);break;case"bottom":case"end":i=()=>Math.round(e.y+(o+s+2*e.textMargin)-e.textMargin);break}if(e.anchor!==void 0&&e.textMargin!==void 0&&e.width!==void 0)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";break}for(let[g,E]of r.entries()){e.textMargin!==void 0&&e.textMargin===0&&n!==void 0&&(p=g*n);const u=t.append("text");u.attr("x",e.x),u.attr("y",i()),e.anchor!==void 0&&u.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),e.fontFamily!==void 0&&u.style("font-family",e.fontFamily),c!==void 0&&u.style("font-size",c),e.fontWeight!==void 0&&u.style("font-weight",e.fontWeight),e.fill!==void 0&&u.attr("fill",e.fill),e.class!==void 0&&u.attr("class",e.class),e.dy!==void 0?u.attr("dy",e.dy):p!==0&&u.attr("dy",p);const x=E||Pe;if(e.tspan){const m=u.append("tspan");m.attr("x",e.x),e.fill!==void 0&&m.attr("fill",e.fill),m.text(x)}else u.text(x);e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0&&(s+=(u._groups||u)[0][0].getBBox().height,o=s),h.push(u)}return h},ne=function(t,e){function o(r,n,c,h,p){return r+","+n+" "+(r+c)+","+n+" "+(r+c)+","+(n+h-p)+" "+(r+c-p*1.2)+","+(n+h)+" "+r+","+(n+h)}const s=t.append("polygon");return s.attr("points",o(e.x,e.y,e.width,e.height,7)),s.attr("class","labelBox"),e.y=e.y+e.height/2,yt(t,e),s};let st=-1;const ae=(t,e,o,s)=>{t.select&&o.forEach(r=>{const n=e[r],c=t.select("#actor"+n.actorCnt);!s.mirrorActors&&n.stopy?c.attr("y2",n.stopy+n.height/2):s.mirrorActors&&c.attr("y2",n.stopy)})},c0=function(t,e,o,s){const r=s?e.stopy:e.starty,n=e.x+e.width/2,c=r+5,h=t.append("g").lower();var p=h;s||(st++,p.append("line").attr("id","actor"+st).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),p=h.append("g"),e.actorCnt=st,e.links!=null&&(p.attr("id","root-"+st),ie("#root-"+st,st)));const i=Lt();var g="actor";e.properties!=null&&e.properties.class?g=e.properties.class:i.fill="#eaeaea",i.x=e.x,i.y=r,i.width=e.width,i.height=e.height,i.class=g,i.rx=3,i.ry=3;const E=Wt(p,i);if(e.rectData=i,e.properties!=null&&e.properties.icon){const x=e.properties.icon.trim();x.charAt(0)==="@"?Ie(p,i.x+i.width-20,i.y+10,x.substr(1)):Ae(p,i.x+i.width-20,i.y+10,x)}qt(o)(e.description,p,i.x,i.y,i.width,i.height,{class:"actor"},o);let u=e.height;if(E.node){const x=E.node().getBBox();e.height=x.height,u=x.height}return u},l0=function(t,e,o,s){const r=s?e.stopy:e.starty,n=e.x+e.width/2,c=r+80;t.lower(),s||(st++,t.append("line").attr("id","actor"+st).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),e.actorCnt=st);const h=t.append("g");h.attr("class","actor-man");const p=Lt();p.x=e.x,p.y=r,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,h.append("line").attr("id","actor-man-torso"+st).attr("x1",n).attr("y1",r+25).attr("x2",n).attr("y2",r+45),h.append("line").attr("id","actor-man-arms"+st).attr("x1",n-ut/2).attr("y1",r+33).attr("x2",n+ut/2).attr("y2",r+33),h.append("line").attr("x1",n-ut/2).attr("y1",r+60).attr("x2",n).attr("y2",r+45),h.append("line").attr("x1",n).attr("y1",r+45).attr("x2",n+ut/2-2).attr("y2",r+60);const i=h.append("circle");i.attr("cx",e.x+e.width/2),i.attr("cy",r+10),i.attr("r",15),i.attr("width",e.width),i.attr("height",e.height);const g=h.node().getBBox();return e.height=g.height,qt(o)(e.description,h,p.x,p.y+35,p.width,p.height,{class:"actor"},o),e.height},h0=function(t,e,o,s){switch(e.type){case"actor":return l0(t,e,o,s);case"participant":return c0(t,e,o,s)}},d0=function(t,e,o){const r=t.append("g");oe(r,e),e.name&&qt(o)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},o),r.lower()},p0=function(t){return t.append("g")},u0=function(t,e,o,s,r){const n=Lt(),c=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+r%3,n.width=e.stopx-e.startx,n.height=o-e.starty,Wt(c,n)},f0=function(t,e,o,s){const{boxMargin:r,boxTextMargin:n,labelBoxHeight:c,labelBoxWidth:h,messageFontFamily:p,messageFontSize:i,messageFontWeight:g}=s,E=t.append("g"),u=function(k,A,D,S){return E.append("line").attr("x1",k).attr("y1",A).attr("x2",D).attr("y2",S).attr("class","loopLine")};u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),e.sections!==void 0&&e.sections.forEach(function(k){u(e.startx,k.y,e.stopx,k.y).style("stroke-dasharray","3, 3")});let x=Yt();x.text=o,x.x=e.startx,x.y=e.starty,x.fontFamily=p,x.fontSize=i,x.fontWeight=g,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=h||50,x.height=c||20,x.textMargin=n,x.class="labelText",ne(E,x),x=ce(),x.text=e.title,x.x=e.startx+h/2+(e.stopx-e.startx)/2,x.y=e.starty+r+n,x.anchor="middle",x.valign="middle",x.textMargin=n,x.class="loopText",x.fontFamily=p,x.fontSize=i,x.fontWeight=g,x.wrap=!0;let m=yt(E,x);return e.sectionTitles!==void 0&&e.sectionTitles.forEach(function(k,A){if(k.message){x.text=k.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[A].y+r+n,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=p,x.fontSize=i,x.fontWeight=g,x.wrap=e.wrap,m=yt(E,x);let D=Math.round(m.map(S=>(S._groups||S)[0][0].getBBox().height).reduce((S,W)=>S+W));e.sections[A].height+=D-(r+n)}}),e.height=Math.round(e.stopy-e.starty),E},oe=function(t,e){Le(t,e)},x0=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")},g0=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")},T0=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")},y0=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},E0=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},b0=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)},m0=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},ce=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}},w0=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},qt=function(){function t(r,n,c,h,p,i,g){const E=n.append("text").attr("x",c+p/2).attr("y",h+i/2+5).style("text-anchor","middle").text(r);s(E,g)}function e(r,n,c,h,p,i,g,E){const{actorFontSize:u,actorFontFamily:x,actorFontWeight:m}=E,[k,A]=Qt(u),D=r.split(v.lineBreakRegex);for(let S=0;S<D.length;S++){const W=S*k-k*(D.length-1)/2,M=n.append("text").attr("x",c+p/2).attr("y",h).style("text-anchor","middle").style("font-size",A).style("font-weight",m).style("font-family",x);M.append("tspan").attr("x",c+p/2).attr("dy",W).text(D[S]),M.attr("y",h+i/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),s(M,g)}}function o(r,n,c,h,p,i,g,E){const u=n.append("switch"),m=u.append("foreignObject").attr("x",c).attr("y",h).attr("width",p).attr("height",i).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");m.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),e(r,u,c,h,p,i,g,E),s(m,g)}function s(r,n){for(const c in n)n.hasOwnProperty(c)&&r.attr(c,n[c])}return function(r){return r.textPlacement==="fo"?o:r.textPlacement==="old"?t:e}}(),v0=function(){function t(r,n,c,h,p,i,g){const E=n.append("text").attr("x",c).attr("y",h).style("text-anchor","start").text(r);s(E,g)}function e(r,n,c,h,p,i,g,E){const{actorFontSize:u,actorFontFamily:x,actorFontWeight:m}=E,k=r.split(v.lineBreakRegex);for(let A=0;A<k.length;A++){const D=A*u-u*(k.length-1)/2,S=n.append("text").attr("x",c).attr("y",h).style("text-anchor","start").style("font-size",u).style("font-weight",m).style("font-family",x);S.append("tspan").attr("x",c).attr("dy",D).text(k[A]),S.attr("y",h+i/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),s(S,g)}}function o(r,n,c,h,p,i,g,E){const u=n.append("switch"),m=u.append("foreignObject").attr("x",c).attr("y",h).attr("width",p).attr("height",i).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");m.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),e(r,u,c,h,p,i,g,E),s(m,g)}function s(r,n){for(const c in n)n.hasOwnProperty(c)&&r.attr(c,n[c])}return function(r){return r.textPlacement==="fo"?o:r.textPlacement==="old"?t:e}}(),C={drawRect:Wt,drawText:yt,drawLabel:ne,drawActor:h0,drawBox:d0,drawPopup:r0,anchorElement:p0,drawActivation:u0,drawLoop:f0,drawBackgroundRect:oe,insertArrowHead:y0,insertArrowFilledHead:E0,insertSequenceNumber:b0,insertArrowCrossHead:m0,insertDatabaseIcon:x0,insertComputerIcon:g0,insertClockIcon:T0,getTextObj:ce,getNoteRect:w0,popupMenu:i0,popdownMenu:n0,fixLifeLineHeights:ae,sanitizeUrl:Zt};let a={};const f={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,this.actors.length===0?[0]:this.actors.map(t=>t.height||0))+(this.loops.length===0?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.messages.length===0?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.notes.length===0?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,he(lt())},updateVal:function(t,e,o,s){t[e]===void 0?t[e]=o:t[e]=s(o,t[e])},updateBounds:function(t,e,o,s){const r=this;let n=0;function c(h){return function(i){n++;const g=r.sequenceItems.length-n+1;r.updateVal(i,"starty",e-g*a.boxMargin,Math.min),r.updateVal(i,"stopy",s+g*a.boxMargin,Math.max),r.updateVal(f.data,"startx",t-g*a.boxMargin,Math.min),r.updateVal(f.data,"stopx",o+g*a.boxMargin,Math.max),h!=="activation"&&(r.updateVal(i,"startx",t-g*a.boxMargin,Math.min),r.updateVal(i,"stopx",o+g*a.boxMargin,Math.max),r.updateVal(f.data,"starty",e-g*a.boxMargin,Math.min),r.updateVal(f.data,"stopy",s+g*a.boxMargin,Math.max))}}this.sequenceItems.forEach(c()),this.activations.forEach(c("activation"))},insert:function(t,e,o,s){const r=v.getMin(t,o),n=v.getMax(t,o),c=v.getMin(e,s),h=v.getMax(e,s);this.updateVal(f.data,"startx",r,Math.min),this.updateVal(f.data,"starty",c,Math.min),this.updateVal(f.data,"stopx",n,Math.max),this.updateVal(f.data,"stopy",h,Math.max),this.updateBounds(r,c,n,h)},newActivation:function(t,e,o){const s=o[t.from.actor],r=It(t.from.actor).length||0,n=s.x+s.width/2+(r-1)*a.activationWidth/2;this.activations.push({startx:n,starty:this.verticalPos+2,stopx:n+a.activationWidth,stopy:void 0,actor:t.from.actor,anchored:C.anchorElement(e)})},endActivation:function(t){const e=this.activations.map(function(o){return o.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:!1},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:f.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=v.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},_0=function(t,e){f.bumpVerticalPos(a.boxMargin),e.height=a.boxMargin,e.starty=f.getVerticalPos();const o=Lt();o.x=e.startx,o.y=e.starty,o.width=e.width||a.width,o.class="note";const s=t.append("g"),r=C.drawRect(s,o),n=Yt();n.x=e.startx,n.y=e.starty,n.width=o.width,n.dy="1em",n.text=e.message,n.class="noteText",n.fontFamily=a.noteFontFamily,n.fontSize=a.noteFontSize,n.fontWeight=a.noteFontWeight,n.anchor=a.noteAlign,n.textMargin=a.noteMargin,n.valign="center";const c=yt(s,n),h=Math.round(c.map(p=>(p._groups||p)[0][0].getBBox().height).reduce((p,i)=>p+i));r.attr("height",h+2*a.noteMargin),e.height+=h+2*a.noteMargin,f.bumpVerticalPos(h+2*a.noteMargin),e.stopy=e.starty+h+2*a.noteMargin,e.stopx=e.startx+o.width,f.insert(e.startx,e.starty,e.stopx,e.stopy),f.models.addNote(e)},xt=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Tt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),Ot=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});function P0(t,e){f.bumpVerticalPos(10);const{startx:o,stopx:s,message:r}=e,n=v.splitBreaks(r).length,c=B.calculateTextDimensions(r,xt(a)),h=c.height/n;e.height+=h,f.bumpVerticalPos(h);let p,i=c.height-10;const g=c.width;if(o===s){p=f.getVerticalPos()+i,a.rightAngles||(i+=a.boxMargin,p=f.getVerticalPos()+i),i+=30;const E=v.getMax(g/2,a.width/2);f.insert(o-E,f.getVerticalPos()-10+i,s+E,f.getVerticalPos()+30+i)}else i+=a.boxMargin,p=f.getVerticalPos()+i,f.insert(o,p-10,s,p);return f.bumpVerticalPos(i),e.height+=i,e.stopy=e.starty+e.height,f.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),p}const k0=function(t,e,o,s){const{startx:r,stopx:n,starty:c,message:h,type:p,sequenceIndex:i,sequenceVisible:g}=e,E=B.calculateTextDimensions(h,xt(a)),u=Yt();u.x=r,u.y=c+10,u.width=n-r,u.class="messageText",u.dy="1em",u.text=h,u.fontFamily=a.messageFontFamily,u.fontSize=a.messageFontSize,u.fontWeight=a.messageFontWeight,u.anchor=a.messageAlign,u.valign="center",u.textMargin=a.wrapPadding,u.tspan=!1,yt(t,u);const x=E.width;let m;r===n?a.rightAngles?m=t.append("path").attr("d",`M ${r},${o} H ${r+v.getMax(a.width/2,x/2)} V ${o+25} H ${r}`):m=t.append("path").attr("d","M "+r+","+o+" C "+(r+60)+","+(o-10)+" "+(r+60)+","+(o+30)+" "+r+","+(o+20)):(m=t.append("line"),m.attr("x1",r),m.attr("y1",o),m.attr("x2",n),m.attr("y2",o)),p===s.db.LINETYPE.DOTTED||p===s.db.LINETYPE.DOTTED_CROSS||p===s.db.LINETYPE.DOTTED_POINT||p===s.db.LINETYPE.DOTTED_OPEN?(m.style("stroke-dasharray","3, 3"),m.attr("class","messageLine1")):m.attr("class","messageLine0");let k="";a.arrowMarkerAbsolute&&(k=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,k=k.replace(/\(/g,"\\("),k=k.replace(/\)/g,"\\)")),m.attr("stroke-width",2),m.attr("stroke","none"),m.style("fill","none"),(p===s.db.LINETYPE.SOLID||p===s.db.LINETYPE.DOTTED)&&m.attr("marker-end","url("+k+"#arrowhead)"),(p===s.db.LINETYPE.SOLID_POINT||p===s.db.LINETYPE.DOTTED_POINT)&&m.attr("marker-end","url("+k+"#filled-head)"),(p===s.db.LINETYPE.SOLID_CROSS||p===s.db.LINETYPE.DOTTED_CROSS)&&m.attr("marker-end","url("+k+"#crosshead)"),(g||a.showSequenceNumbers)&&(m.attr("marker-start","url("+k+"#sequencenumber)"),t.append("text").attr("x",r).attr("y",o+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(i))},L0=function(t,e,o,s,r,n,c){let h=0,p=0,i,g=0;for(const E of s){const u=e[E],x=u.box;i&&i!=x&&(c||f.models.addBox(i),p+=a.boxMargin+i.margin),x&&x!=i&&(c||(x.x=h+p,x.y=r),p+=x.margin),u.width=u.width||a.width,u.height=v.getMax(u.height||a.height,a.height),u.margin=u.margin||a.actorMargin,g=v.getMax(g,u.height),o[u.name]&&(p+=u.width/2),u.x=h+p,u.starty=f.getVerticalPos(),f.insert(u.x,r,u.x+u.width,u.height),h+=u.width+p,u.box&&(u.box.width=h+x.margin-u.box.x),p=u.margin,i=u.box,f.models.addActor(u)}i&&!c&&f.models.addBox(i),f.bumpVerticalPos(g)},Bt=function(t,e,o,s){if(s){let r=0;f.bumpVerticalPos(a.boxMargin*2);for(const n of o){const c=e[n];c.stopy||(c.stopy=f.getVerticalPos());const h=C.drawActor(t,c,a,!0);r=v.getMax(r,h)}f.bumpVerticalPos(r+a.boxMargin)}else for(const r of o){const n=e[r];C.drawActor(t,n,a,!1)}},le=function(t,e,o,s){let r=0,n=0;for(const c of o){const h=e[c],p=S0(h),i=C.drawPopup(t,h,p,a,a.forceMenus,s);i.height>r&&(r=i.height),i.width+h.x>n&&(n=i.width+h.x)}return{maxHeight:r,maxWidth:n}},he=function(t){we(a,t),t.fontFamily&&(a.actorFontFamily=a.noteFontFamily=a.messageFontFamily=t.fontFamily),t.fontSize&&(a.actorFontSize=a.noteFontSize=a.messageFontSize=t.fontSize),t.fontWeight&&(a.actorFontWeight=a.noteFontWeight=a.messageFontWeight=t.fontWeight)},It=function(t){return f.activations.filter(function(e){return e.actor===t})},Xt=function(t,e){const o=e[t],s=It(t),r=s.reduce(function(c,h){return v.getMin(c,h.startx)},o.x+o.width/2-1),n=s.reduce(function(c,h){return v.getMax(c,h.stopx)},o.x+o.width/2+1);return[r,n]};function rt(t,e,o,s,r){f.bumpVerticalPos(o);let n=s;if(e.id&&e.message&&t[e.id]){const c=t[e.id].width,h=xt(a);e.message=B.wrapLabel(`[${e.message}]`,c-2*a.wrapPadding,h),e.width=c,e.wrap=!0;const p=B.calculateTextDimensions(e.message,h),i=v.getMax(p.height,a.labelBoxHeight);n=s+i,K.debug(`${i} - ${e.message}`)}r(e),f.bumpVerticalPos(n)}function I0(t,e,o,s,r,n,c){function h(i,g){i.x<r[t.from].x?(f.insert(e.stopx-g,e.starty,e.startx,e.stopy+i.height/2+a.noteMargin),e.stopx=e.stopx+g):(f.insert(e.startx,e.starty,e.stopx+g,e.stopy+i.height/2+a.noteMargin),e.stopx=e.stopx-g)}function p(i,g){i.x<r[t.to].x?(f.insert(e.startx-g,e.starty,e.stopx,e.stopy+i.height/2+a.noteMargin),e.startx=e.startx+g):(f.insert(e.stopx,e.starty,e.startx+g,e.stopy+i.height/2+a.noteMargin),e.startx=e.startx-g)}if(n[t.to]==s){const i=r[t.to],g=i.type=="actor"?ut/2+3:i.width/2+3;h(i,g),i.starty=o-i.height/2,f.bumpVerticalPos(i.height/2)}else if(c[t.from]==s){const i=r[t.from];if(a.mirrorActors){const g=i.type=="actor"?ut/2:i.width/2;p(i,g)}i.stopy=o-i.height/2,f.bumpVerticalPos(i.height/2)}else if(c[t.to]==s){const i=r[t.to];if(a.mirrorActors){const g=i.type=="actor"?ut/2+3:i.width/2+3;h(i,g)}i.stopy=o-i.height/2,f.bumpVerticalPos(i.height/2)}}const A0=function(t,e,o,s){const{securityLevel:r,sequence:n}=lt();a=n;let c;r==="sandbox"&&(c=Pt("#i"+e));const h=r==="sandbox"?Pt(c.nodes()[0].contentDocument.body):Pt("body"),p=r==="sandbox"?c.nodes()[0].contentDocument:document;f.init(),K.debug(s.db);const i=r==="sandbox"?h.select(`[id="${e}"]`):Pt(`[id="${e}"]`),g=s.db.getActors(),E=s.db.getCreatedActors(),u=s.db.getDestroyedActors(),x=s.db.getBoxes();let m=s.db.getActorKeys();const k=s.db.getMessages(),A=s.db.getDiagramTitle(),D=s.db.hasAtLeastOneBox(),S=s.db.hasAtLeastOneBoxWithTitle(),W=N0(g,k,s);if(a.height=M0(g,W,x),C.insertComputerIcon(i),C.insertDatabaseIcon(i),C.insertClockIcon(i),D&&(f.bumpVerticalPos(a.boxMargin),S&&f.bumpVerticalPos(x[0].textMaxHeight)),a.hideUnusedParticipants===!0){const y=new Set;k.forEach(_=>{y.add(_.from),y.add(_.to)}),m=m.filter(_=>y.has(_))}L0(i,g,E,m,0,k,!1);const M=V0(k,g,W,s);C.insertArrowHead(i),C.insertArrowCrossHead(i),C.insertArrowFilledHead(i),C.insertSequenceNumber(i);function tt(y,_){const I=f.endActivation(y);I.starty+18>_&&(I.starty=_-6,_+=12),C.drawActivation(i,I,_,a,It(y.from.actor).length),f.insert(I.startx,_-10,I.stopx,_)}let q=1,G=1;const Z=[],z=[];k.forEach(function(y,_){let I,ht,et;switch(y.type){case s.db.LINETYPE.NOTE:f.resetVerticalPos(),ht=y.noteModel,_0(i,ht);break;case s.db.LINETYPE.ACTIVE_START:f.newActivation(y,i,g);break;case s.db.LINETYPE.ACTIVE_END:tt(y,f.getVerticalPos());break;case s.db.LINETYPE.LOOP_START:rt(M,y,a.boxMargin,a.boxMargin+a.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.LOOP_END:I=f.endLoop(),C.drawLoop(i,I,"loop",a),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.RECT_START:rt(M,y,a.boxMargin,a.boxMargin,N=>f.newLoop(void 0,N.message));break;case s.db.LINETYPE.RECT_END:I=f.endLoop(),z.push(I),f.models.addLoop(I),f.bumpVerticalPos(I.stopy-f.getVerticalPos());break;case s.db.LINETYPE.OPT_START:rt(M,y,a.boxMargin,a.boxMargin+a.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.OPT_END:I=f.endLoop(),C.drawLoop(i,I,"opt",a),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.ALT_START:rt(M,y,a.boxMargin,a.boxMargin+a.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.ALT_ELSE:rt(M,y,a.boxMargin+a.boxTextMargin,a.boxMargin,N=>f.addSectionToLoop(N));break;case s.db.LINETYPE.ALT_END:I=f.endLoop(),C.drawLoop(i,I,"alt",a),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.PAR_START:case s.db.LINETYPE.PAR_OVER_START:rt(M,y,a.boxMargin,a.boxMargin+a.boxTextMargin,N=>f.newLoop(N)),f.saveVerticalPos();break;case s.db.LINETYPE.PAR_AND:rt(M,y,a.boxMargin+a.boxTextMargin,a.boxMargin,N=>f.addSectionToLoop(N));break;case s.db.LINETYPE.PAR_END:I=f.endLoop(),C.drawLoop(i,I,"par",a),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.AUTONUMBER:q=y.message.start||q,G=y.message.step||G,y.message.visible?s.db.enableSequenceNumbers():s.db.disableSequenceNumbers();break;case s.db.LINETYPE.CRITICAL_START:rt(M,y,a.boxMargin,a.boxMargin+a.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.CRITICAL_OPTION:rt(M,y,a.boxMargin+a.boxTextMargin,a.boxMargin,N=>f.addSectionToLoop(N));break;case s.db.LINETYPE.CRITICAL_END:I=f.endLoop(),C.drawLoop(i,I,"critical",a),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;case s.db.LINETYPE.BREAK_START:rt(M,y,a.boxMargin,a.boxMargin+a.boxTextMargin,N=>f.newLoop(N));break;case s.db.LINETYPE.BREAK_END:I=f.endLoop(),C.drawLoop(i,I,"break",a),f.bumpVerticalPos(I.stopy-f.getVerticalPos()),f.models.addLoop(I);break;default:try{et=y.msgModel,et.starty=f.getVerticalPos(),et.sequenceIndex=q,et.sequenceVisible=s.db.showSequenceNumbers();const N=P0(i,et);I0(y,et,N,_,g,E,u),Z.push({messageModel:et,lineStartY:N}),f.models.addMessage(et)}catch(N){K.error("error while drawing message",N)}}[s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.SOLID,s.db.LINETYPE.DOTTED,s.db.LINETYPE.SOLID_CROSS,s.db.LINETYPE.DOTTED_CROSS,s.db.LINETYPE.SOLID_POINT,s.db.LINETYPE.DOTTED_POINT].includes(y.type)&&(q=q+G)}),K.debug("createdActors",E),K.debug("destroyedActors",u),Bt(i,g,m,!1),Z.forEach(y=>k0(i,y.messageModel,y.lineStartY,s)),a.mirrorActors&&Bt(i,g,m,!0),z.forEach(y=>C.drawBackgroundRect(i,y)),ae(i,g,m,a),f.models.boxes.forEach(function(y){y.height=f.getVerticalPos()-y.y,f.insert(y.x,y.y,y.x+y.width,y.height),y.startx=y.x,y.starty=y.y,y.stopx=y.startx+y.width,y.stopy=y.starty+y.height,y.stroke="rgb(0,0,0, 0.5)",C.drawBox(i,y,a)}),D&&f.bumpVerticalPos(a.boxMargin);const F=le(i,g,m,p),{bounds:O}=f.getBounds();let X=O.stopy-O.starty;X<F.maxHeight&&(X=F.maxHeight);let H=X+2*a.diagramMarginY;a.mirrorActors&&(H=H-a.boxMargin+a.bottomMarginAdj);let J=O.stopx-O.startx;J<F.maxWidth&&(J=F.maxWidth);const Q=J+2*a.diagramMarginX;A&&i.append("text").text(A).attr("x",(O.stopx-O.startx)/2-2*a.diagramMarginX).attr("y",-25),ve(i,H,Q,a.useMaxWidth);const j=A?40:0;i.attr("viewBox",O.startx-a.diagramMarginX+" -"+(a.diagramMarginY+j)+" "+Q+" "+(H+j)),K.debug("models:",f.models)};function N0(t,e,o){const s={};return e.forEach(function(r){if(t[r.to]&&t[r.from]){const n=t[r.to];if(r.placement===o.db.PLACEMENT.LEFTOF&&!n.prevActor||r.placement===o.db.PLACEMENT.RIGHTOF&&!n.nextActor)return;const c=r.placement!==void 0,h=!c,p=c?Tt(a):xt(a),i=r.wrap?B.wrapLabel(r.message,a.width-2*a.wrapPadding,p):r.message,E=B.calculateTextDimensions(i,p).width+2*a.wrapPadding;h&&r.from===n.nextActor?s[r.to]=v.getMax(s[r.to]||0,E):h&&r.from===n.prevActor?s[r.from]=v.getMax(s[r.from]||0,E):h&&r.from===r.to?(s[r.from]=v.getMax(s[r.from]||0,E/2),s[r.to]=v.getMax(s[r.to]||0,E/2)):r.placement===o.db.PLACEMENT.RIGHTOF?s[r.from]=v.getMax(s[r.from]||0,E):r.placement===o.db.PLACEMENT.LEFTOF?s[n.prevActor]=v.getMax(s[n.prevActor]||0,E):r.placement===o.db.PLACEMENT.OVER&&(n.prevActor&&(s[n.prevActor]=v.getMax(s[n.prevActor]||0,E/2)),n.nextActor&&(s[r.from]=v.getMax(s[r.from]||0,E/2)))}}),K.debug("maxMessageWidthPerActor:",s),s}const S0=function(t){let e=0;const o=Ot(a);for(const s in t.links){const n=B.calculateTextDimensions(s,o).width+2*a.wrapPadding+2*a.boxMargin;e<n&&(e=n)}return e};function M0(t,e,o){let s=0;Object.keys(t).forEach(n=>{const c=t[n];c.wrap&&(c.description=B.wrapLabel(c.description,a.width-2*a.wrapPadding,Ot(a)));const h=B.calculateTextDimensions(c.description,Ot(a));c.width=c.wrap?a.width:v.getMax(a.width,h.width+2*a.wrapPadding),c.height=c.wrap?v.getMax(h.height,a.height):a.height,s=v.getMax(s,c.height)});for(const n in e){const c=t[n];if(!c)continue;const h=t[c.nextActor];if(!h){const E=e[n]+a.actorMargin-c.width/2;c.margin=v.getMax(E,a.actorMargin);continue}const i=e[n]+a.actorMargin-c.width/2-h.width/2;c.margin=v.getMax(i,a.actorMargin)}let r=0;return o.forEach(n=>{const c=xt(a);let h=n.actorKeys.reduce((g,E)=>g+=t[E].width+(t[E].margin||0),0);h-=2*a.boxTextMargin,n.wrap&&(n.name=B.wrapLabel(n.name,h-2*a.wrapPadding,c));const p=B.calculateTextDimensions(n.name,c);r=v.getMax(p.height,r);const i=v.getMax(h,p.width+2*a.wrapPadding);if(n.margin=a.boxTextMargin,h<i){const g=(i-h)/2;n.margin+=g}}),o.forEach(n=>n.textMaxHeight=r),v.getMax(s,a.height)}const R0=function(t,e,o){const s=e[t.from].x,r=e[t.to].x,n=t.wrap&&t.message;let c=B.calculateTextDimensions(n?B.wrapLabel(t.message,a.width,Tt(a)):t.message,Tt(a));const h={width:n?a.width:v.getMax(a.width,c.width+2*a.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===o.db.PLACEMENT.RIGHTOF?(h.width=n?v.getMax(a.width,c.width):v.getMax(e[t.from].width/2+e[t.to].width/2,c.width+2*a.noteMargin),h.startx=s+(e[t.from].width+a.actorMargin)/2):t.placement===o.db.PLACEMENT.LEFTOF?(h.width=n?v.getMax(a.width,c.width+2*a.noteMargin):v.getMax(e[t.from].width/2+e[t.to].width/2,c.width+2*a.noteMargin),h.startx=s-h.width+(e[t.from].width-a.actorMargin)/2):t.to===t.from?(c=B.calculateTextDimensions(n?B.wrapLabel(t.message,v.getMax(a.width,e[t.from].width),Tt(a)):t.message,Tt(a)),h.width=n?v.getMax(a.width,e[t.from].width):v.getMax(e[t.from].width,a.width,c.width+2*a.noteMargin),h.startx=s+(e[t.from].width-h.width)/2):(h.width=Math.abs(s+e[t.from].width/2-(r+e[t.to].width/2))+a.actorMargin,h.startx=s<r?s+e[t.from].width/2-a.actorMargin/2:r+e[t.to].width/2-a.actorMargin/2),n&&(h.message=B.wrapLabel(t.message,h.width-2*a.wrapPadding,Tt(a))),K.debug(`NM:[${h.startx},${h.stopx},${h.starty},${h.stopy}:${h.width},${h.height}=${t.message}]`),h},D0=function(t,e,o){if(![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))return{};const[s,r]=Xt(t.from,e),[n,c]=Xt(t.to,e),h=s<=n,p=h?r:s;let i=h?n:c;const g=Math.abs(n-c)>2,E=k=>h?-k:k;t.from===t.to?i=p:(t.activate&&!g&&(i+=E(a.activationWidth/2-1)),[o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(i+=E(3)));const u=[s,r,n,c],x=Math.abs(p-i);t.wrap&&t.message&&(t.message=B.wrapLabel(t.message,v.getMax(x+2*a.wrapPadding,a.width),xt(a)));const m=B.calculateTextDimensions(t.message,xt(a));return{width:v.getMax(t.wrap?0:m.width+2*a.wrapPadding,x+2*a.wrapPadding,a.width),height:0,startx:p,stopx:i,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}},V0=function(t,e,o,s){const r={},n=[];let c,h,p;return t.forEach(function(i){switch(i.id=B.random({length:10}),i.type){case s.db.LINETYPE.LOOP_START:case s.db.LINETYPE.ALT_START:case s.db.LINETYPE.OPT_START:case s.db.LINETYPE.PAR_START:case s.db.LINETYPE.PAR_OVER_START:case s.db.LINETYPE.CRITICAL_START:case s.db.LINETYPE.BREAK_START:n.push({id:i.id,msg:i.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case s.db.LINETYPE.ALT_ELSE:case s.db.LINETYPE.PAR_AND:case s.db.LINETYPE.CRITICAL_OPTION:i.message&&(c=n.pop(),r[c.id]=c,r[i.id]=c,n.push(c));break;case s.db.LINETYPE.LOOP_END:case s.db.LINETYPE.ALT_END:case s.db.LINETYPE.OPT_END:case s.db.LINETYPE.PAR_END:case s.db.LINETYPE.CRITICAL_END:case s.db.LINETYPE.BREAK_END:c=n.pop(),r[c.id]=c;break;case s.db.LINETYPE.ACTIVE_START:{const E=e[i.from?i.from.actor:i.to.actor],u=It(i.from?i.from.actor:i.to.actor).length,x=E.x+E.width/2+(u-1)*a.activationWidth/2,m={startx:x,stopx:x+a.activationWidth,actor:i.from.actor,enabled:!0};f.activations.push(m)}break;case s.db.LINETYPE.ACTIVE_END:{const E=f.activations.map(u=>u.actor).lastIndexOf(i.from.actor);delete f.activations.splice(E,1)[0]}break}i.placement!==void 0?(h=R0(i,e,s),i.noteModel=h,n.forEach(E=>{c=E,c.from=v.getMin(c.from,h.startx),c.to=v.getMax(c.to,h.startx+h.width),c.width=v.getMax(c.width,Math.abs(c.from-c.to))-a.labelBoxWidth})):(p=D0(i,e,s),i.msgModel=p,p.startx&&p.stopx&&n.length>0&&n.forEach(E=>{if(c=E,p.startx===p.stopx){const u=e[i.from],x=e[i.to];c.from=v.getMin(u.x-p.width/2,u.x-u.width/2,c.from),c.to=v.getMax(x.x+p.width/2,x.x+u.width/2,c.to),c.width=v.getMax(c.width,Math.abs(c.to-c.from))-a.labelBoxWidth}else c.from=v.getMin(p.startx,c.from),c.to=v.getMax(p.stopx,c.to),c.width=v.getMax(c.width,p.width)-a.labelBoxWidth}))}),f.activations=[],K.debug("Loop type widths:",r),r},C0={bounds:f,drawActors:Bt,drawActorsPopup:le,setConf:he,draw:A0},Y0={parser:Ne,db:Gt,renderer:C0,styles:s0,init:({wrap:t})=>{Gt.setWrap(t)}};export{Y0 as diagram};
import{at as rt,aq as mt,ap as kt,ar as _t,as as xt,aU as vt,aT as bt,aV as wt,aB as St,c3 as Lt,ax as G,aI as Et}from"./index-Hfn5l4aw.js";import{o as At}from"./ordinal-475e0c0c-Beet9Qdq.js";import"./init-cc95ec8e-Hi12RPRh.js";function Tt(t){for(var n=t.length/6|0,i=new Array(n),l=0;l<n;)i[l]="#"+t.slice(l*6,++l*6);return i}const Mt=Tt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");var tt=function(){var t=function(p,s,o,c){for(o=o||{},c=p.length;c--;o[p[c]]=s);return o},n=[1,9],i=[1,10],l=[1,5,10,12],u={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(s,o,c,m,b,y,x){var E=y.length-1;switch(b){case 7:const L=m.findOrCreateNode(y[E-4].trim().replaceAll('""','"')),A=m.findOrCreateNode(y[E-2].trim().replaceAll('""','"')),N=parseFloat(y[E].trim());m.addLink(L,A,N);break;case 8:case 9:case 11:this.$=y[E];break;case 10:this.$=y[E-1];break}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:i},{15:18,16:7,17:8,18:n,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:n,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(s,o){if(o.recoverable)this.trace(s);else{var c=new Error(s);throw c.hash=o,c}},parse:function(s){var o=this,c=[0],m=[],b=[null],y=[],x=this.table,E="",L=0,A=0,N=2,I=1,z=y.slice.call(arguments,1),S=Object.create(this.lexer),M={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(M.yy[$]=this.yy[$]);S.setInput(s,M.yy),M.yy.lexer=S,M.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var P=S.yylloc;y.push(P);var C=S.options&&S.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d(){var v;return v=m.pop()||S.lex()||I,typeof v!="number"&&(v instanceof Array&&(m=v,v=m.pop()),v=o.symbols_[v]||v),v}for(var w,O,T,V,e={},f,a,h,r;;){if(O=c[c.length-1],this.defaultActions[O]?T=this.defaultActions[O]:((w===null||typeof w>"u")&&(w=d()),T=x[O]&&x[O][w]),typeof T>"u"||!T.length||!T[0]){var k="";r=[];for(f in x[O])this.terminals_[f]&&f>N&&r.push("'"+this.terminals_[f]+"'");S.showPosition?k="Parse error on line "+(L+1)+`:
`+S.showPosition()+`
Expecting `+r.join(", ")+", got '"+(this.terminals_[w]||w)+"'":k="Parse error on line "+(L+1)+": Unexpected "+(w==I?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(k,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:P,expected:r})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+w);switch(T[0]){case 1:c.push(w),b.push(S.yytext),y.push(S.yylloc),c.push(T[1]),w=null,A=S.yyleng,E=S.yytext,L=S.yylineno,P=S.yylloc;break;case 2:if(a=this.productions_[T[1]][1],e.$=b[b.length-a],e._$={first_line:y[y.length-(a||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(a||1)].first_column,last_column:y[y.length-1].last_column},C&&(e._$.range=[y[y.length-(a||1)].range[0],y[y.length-1].range[1]]),V=this.performAction.apply(e,[E,A,L,M.yy,T[1],b,y].concat(z)),typeof V<"u")return V;a&&(c=c.slice(0,-1*a*2),b=b.slice(0,-1*a),y=y.slice(0,-1*a)),c.push(this.productions_[T[1]][0]),b.push(e.$),y.push(e._$),h=x[c[c.length-2]][c[c.length-1]],c.push(h);break;case 3:return!0}}return!0}},_=function(){var p={EOF:1,parseError:function(o,c){if(this.yy.parser)this.yy.parser.parseError(o,c);else throw new Error(o)},setInput:function(s,o){return this.yy=o||this.yy||{},this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var o=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var m=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),c.length-1&&(this.yylineno-=c.length-1);var b=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:c?(c.length===m.length?this.yylloc.first_column:0)+m[m.length-c.length].length-c[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
`+o+"^"},test_match:function(s,o){var c,m,b;if(this.options.backtrack_lexer&&(b={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&&(b.yylloc.range=this.yylloc.range.slice(0))),m=s[0].match(/(?:\r\n?|\n).*/g),m&&(this.yylineno+=m.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],c=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var y in b)this[y]=b[y];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,o,c,m;this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),y=0;y<b.length;y++)if(c=this._input.match(this.rules[b[y]]),c&&(!o||c[0].length>o[0].length)){if(o=c,m=y,this.options.backtrack_lexer){if(s=this.test_match(c,b[y]),s!==!1)return s;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(s=this.test_match(o,b[m]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>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(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{easy_keword_rules:!0},performAction:function(o,c,m,b){switch(m){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/,/^(?:$)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:(\u002C))/,/^(?:(\u0022))/,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/,/^(?:(\u0022)(?!(\u0022)))/,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return p}();u.lexer=_;function g(){this.yy={}}return g.prototype=u,u.Parser=g,new g}();tt.parser=tt;const q=tt;let X=[],Q=[],B={};const Nt=()=>{X=[],Q=[],B={},wt()};class Pt{constructor(n,i,l=0){this.source=n,this.target=i,this.value=l}}const Ct=(t,n,i)=>{X.push(new Pt(t,n,i))};class It{constructor(n){this.ID=n}}const Ot=t=>(t=St.sanitizeText(t,rt()),B[t]||(B[t]=new It(t),Q.push(B[t])),B[t]),$t=()=>Q,zt=()=>X,Dt=()=>({nodes:Q.map(t=>({id:t.ID})),links:X.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),jt={nodesMap:B,getConfig:()=>rt().sankey,getNodes:$t,getLinks:zt,getGraph:Dt,addLink:Ct,findOrCreateNode:Ot,getAccTitle:mt,setAccTitle:kt,getAccDescription:_t,setAccDescription:xt,getDiagramTitle:vt,setDiagramTitle:bt,clear:Nt};function ot(t,n){let i;if(n===void 0)for(const l of t)l!=null&&(i<l||i===void 0&&l>=l)&&(i=l);else{let l=-1;for(let u of t)(u=n(u,++l,t))!=null&&(i<u||i===void 0&&u>=u)&&(i=u)}return i}function yt(t,n){let i;if(n===void 0)for(const l of t)l!=null&&(i>l||i===void 0&&l>=l)&&(i=l);else{let l=-1;for(let u of t)(u=n(u,++l,t))!=null&&(i>u||i===void 0&&u>=u)&&(i=u)}return i}function Z(t,n){let i=0;if(n===void 0)for(let l of t)(l=+l)&&(i+=l);else{let l=-1;for(let u of t)(u=+n(u,++l,t))&&(i+=u)}return i}function Bt(t){return t.target.depth}function Vt(t){return t.depth}function Ut(t,n){return n-1-t.height}function dt(t,n){return t.sourceLinks.length?t.depth:n-1}function Rt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?yt(t.sourceLinks,Bt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return H(t.source,n.source)||t.index-n.index}function at(t,n){return H(t.target,n.target)||t.index-n.index}function H(t,n){return t.y0-n.y0}function J(t){return t.value}function Wt(t){return t.index}function Ft(t){return t.nodes}function Gt(t){return t.links}function ct(t,n){const i=t.get(n);if(!i)throw new Error("missing: "+n);return i}function ut({nodes:t}){for(const n of t){let i=n.y0,l=i;for(const u of n.sourceLinks)u.y0=i+u.width/2,i+=u.width;for(const u of n.targetLinks)u.y1=l+u.width/2,l+=u.width}}function Yt(){let t=0,n=0,i=1,l=1,u=24,_=8,g,p=Wt,s=dt,o,c,m=Ft,b=Gt,y=6;function x(){const e={nodes:m.apply(null,arguments),links:b.apply(null,arguments)};return E(e),L(e),A(e),N(e),S(e),ut(e),e}x.update=function(e){return ut(e),e},x.nodeId=function(e){return arguments.length?(p=typeof e=="function"?e:Y(e),x):p},x.nodeAlign=function(e){return arguments.length?(s=typeof e=="function"?e:Y(e),x):s},x.nodeSort=function(e){return arguments.length?(o=e,x):o},x.nodeWidth=function(e){return arguments.length?(u=+e,x):u},x.nodePadding=function(e){return arguments.length?(_=g=+e,x):_},x.nodes=function(e){return arguments.length?(m=typeof e=="function"?e:Y(e),x):m},x.links=function(e){return arguments.length?(b=typeof e=="function"?e:Y(e),x):b},x.linkSort=function(e){return arguments.length?(c=e,x):c},x.size=function(e){return arguments.length?(t=n=0,i=+e[0],l=+e[1],x):[i-t,l-n]},x.extent=function(e){return arguments.length?(t=+e[0][0],i=+e[1][0],n=+e[0][1],l=+e[1][1],x):[[t,n],[i,l]]},x.iterations=function(e){return arguments.length?(y=+e,x):y};function E({nodes:e,links:f}){for(const[h,r]of e.entries())r.index=h,r.sourceLinks=[],r.targetLinks=[];const a=new Map(e.map((h,r)=>[p(h,r,e),h]));for(const[h,r]of f.entries()){r.index=h;let{source:k,target:v}=r;typeof k!="object"&&(k=r.source=ct(a,k)),typeof v!="object"&&(v=r.target=ct(a,v)),k.sourceLinks.push(r),v.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:h,targetLinks:r}of e)h.sort(c),r.sort(c)}function L({nodes:e}){for(const f of e)f.value=f.fixedValue===void 0?Math.max(Z(f.sourceLinks,J),Z(f.targetLinks,J)):f.fixedValue}function A({nodes:e}){const f=e.length;let a=new Set(e),h=new Set,r=0;for(;a.size;){for(const k of a){k.depth=r;for(const{target:v}of k.sourceLinks)h.add(v)}if(++r>f)throw new Error("circular link");a=h,h=new Set}}function N({nodes:e}){const f=e.length;let a=new Set(e),h=new Set,r=0;for(;a.size;){for(const k of a){k.height=r;for(const{source:v}of k.targetLinks)h.add(v)}if(++r>f)throw new Error("circular link");a=h,h=new Set}}function I({nodes:e}){const f=ot(e,r=>r.depth)+1,a=(i-t-u)/(f-1),h=new Array(f);for(const r of e){const k=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=k,r.x0=t+k*a,r.x1=r.x0+u,h[k]?h[k].push(r):h[k]=[r]}if(o)for(const r of h)r.sort(o);return h}function z(e){const f=yt(e,a=>(l-n-(a.length-1)*g)/Z(a,J));for(const a of e){let h=n;for(const r of a){r.y0=h,r.y1=h+r.value*f,h=r.y1+g;for(const k of r.sourceLinks)k.width=k.value*f}h=(l-h+g)/(a.length+1);for(let r=0;r<a.length;++r){const k=a[r];k.y0+=h*(r+1),k.y1+=h*(r+1)}O(a)}}function S(e){const f=I(e);g=Math.min(_,(l-n)/(ot(f,a=>a.length)-1)),z(f);for(let a=0;a<y;++a){const h=Math.pow(.99,a),r=Math.max(1-h,(a+1)/y);$(f,h,r),M(f,h,r)}}function M(e,f,a){for(let h=1,r=e.length;h<r;++h){const k=e[h];for(const v of k){let U=0,D=0;for(const{source:W,value:K}of v.targetLinks){let F=K*(v.layer-W.layer);U+=T(W,v)*F,D+=F}if(!(D>0))continue;let R=(U/D-v.y0)*f;v.y0+=R,v.y1+=R,w(v)}o===void 0&&k.sort(H),P(k,a)}}function $(e,f,a){for(let h=e.length,r=h-2;r>=0;--r){const k=e[r];for(const v of k){let U=0,D=0;for(const{target:W,value:K}of v.sourceLinks){let F=K*(W.layer-v.layer);U+=V(v,W)*F,D+=F}if(!(D>0))continue;let R=(U/D-v.y0)*f;v.y0+=R,v.y1+=R,w(v)}o===void 0&&k.sort(H),P(k,a)}}function P(e,f){const a=e.length>>1,h=e[a];d(e,h.y0-g,a-1,f),C(e,h.y1+g,a+1,f),d(e,l,e.length-1,f),C(e,n,0,f)}function C(e,f,a,h){for(;a<e.length;++a){const r=e[a],k=(f-r.y0)*h;k>1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+g}}function d(e,f,a,h){for(;a>=0;--a){const r=e[a],k=(r.y1-f)*h;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-g}}function w({sourceLinks:e,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:a}}of f)a.sort(at);for(const{target:{targetLinks:a}}of e)a.sort(lt)}}function O(e){if(c===void 0)for(const{sourceLinks:f,targetLinks:a}of e)f.sort(at),a.sort(lt)}function T(e,f){let a=e.y0-(e.sourceLinks.length-1)*g/2;for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;a+=r+g}for(const{source:h,width:r}of f.targetLinks){if(h===e)break;a-=r}return a}function V(e,f){let a=f.y0-(f.targetLinks.length-1)*g/2;for(const{source:h,width:r}of f.targetLinks){if(h===e)break;a+=r+g}for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;a-=r}return a}return x}var et=Math.PI,nt=2*et,j=1e-6,qt=nt-j;function it(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function gt(){return new it}it.prototype=gt.prototype={constructor:it,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,i,l){this._+="Q"+ +t+","+ +n+","+(this._x1=+i)+","+(this._y1=+l)},bezierCurveTo:function(t,n,i,l,u,_){this._+="C"+ +t+","+ +n+","+ +i+","+ +l+","+(this._x1=+u)+","+(this._y1=+_)},arcTo:function(t,n,i,l,u){t=+t,n=+n,i=+i,l=+l,u=+u;var _=this._x1,g=this._y1,p=i-t,s=l-n,o=_-t,c=g-n,m=o*o+c*c;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>j)if(!(Math.abs(c*p-s*o)>j)||!u)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var b=i-_,y=l-g,x=p*p+s*s,E=b*b+y*y,L=Math.sqrt(x),A=Math.sqrt(m),N=u*Math.tan((et-Math.acos((x+m-E)/(2*L*A)))/2),I=N/A,z=N/L;Math.abs(I-1)>j&&(this._+="L"+(t+I*o)+","+(n+I*c)),this._+="A"+u+","+u+",0,0,"+ +(c*b>o*y)+","+(this._x1=t+z*p)+","+(this._y1=n+z*s)}},arc:function(t,n,i,l,u,_){t=+t,n=+n,i=+i,_=!!_;var g=i*Math.cos(l),p=i*Math.sin(l),s=t+g,o=n+p,c=1^_,m=_?l-u:u-l;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>j||Math.abs(this._y1-o)>j)&&(this._+="L"+s+","+o),i&&(m<0&&(m=m%nt+nt),m>qt?this._+="A"+i+","+i+",0,1,"+c+","+(t-g)+","+(n-p)+"A"+i+","+i+",0,1,"+c+","+(this._x1=s)+","+(this._y1=o):m>j&&(this._+="A"+i+","+i+",0,"+ +(m>=et)+","+c+","+(this._x1=t+i*Math.cos(u))+","+(this._y1=n+i*Math.sin(u))))},rect:function(t,n,i,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +i+"v"+ +l+"h"+-i+"Z"},toString:function(){return this._}};function ht(t){return function(){return t}}function Ht(t){return t[0]}function Xt(t){return t[1]}var Qt=Array.prototype.slice;function Kt(t){return t.source}function Zt(t){return t.target}function Jt(t){var n=Kt,i=Zt,l=Ht,u=Xt,_=null;function g(){var p,s=Qt.call(arguments),o=n.apply(this,s),c=i.apply(this,s);if(_||(_=p=gt()),t(_,+l.apply(this,(s[0]=o,s)),+u.apply(this,s),+l.apply(this,(s[0]=c,s)),+u.apply(this,s)),p)return _=null,p+""||null}return g.source=function(p){return arguments.length?(n=p,g):n},g.target=function(p){return arguments.length?(i=p,g):i},g.x=function(p){return arguments.length?(l=typeof p=="function"?p:ht(+p),g):l},g.y=function(p){return arguments.length?(u=typeof p=="function"?p:ht(+p),g):u},g.context=function(p){return arguments.length?(_=p??null,g):_},g}function te(t,n,i,l,u){t.moveTo(n,i),t.bezierCurveTo(n=(n+l)/2,i,n,u,l,u)}function ee(){return Jt(te)}function ne(t){return[t.source.x1,t.y0]}function ie(t){return[t.target.x0,t.y1]}function se(){return ee().source(ne).target(ie)}const pt=class st{static next(n){return new st(n+ ++st.count)}constructor(n){this.id=n,this.href=`#${n}`}toString(){return"url("+this.href+")"}};pt.count=0;let ft=pt;const re={left:Vt,right:Ut,center:Rt,justify:dt},oe=function(t,n,i,l){const{securityLevel:u,sankey:_}=rt(),g=Lt.sankey;let p;u==="sandbox"&&(p=G("#i"+n));const s=u==="sandbox"?G(p.nodes()[0].contentDocument.body):G("body"),o=u==="sandbox"?s.select(`[id="${n}"]`):G(`[id="${n}"]`),c=(_==null?void 0:_.width)??g.width,m=(_==null?void 0:_.height)??g.width,b=(_==null?void 0:_.useMaxWidth)??g.useMaxWidth,y=(_==null?void 0:_.nodeAlignment)??g.nodeAlignment,x=(_==null?void 0:_.prefix)??g.prefix,E=(_==null?void 0:_.suffix)??g.suffix,L=(_==null?void 0:_.showValues)??g.showValues,A=l.db.getGraph(),N=re[y];Yt().nodeId(d=>d.id).nodeWidth(10).nodePadding(10+(L?15:0)).nodeAlign(N).extent([[0,0],[c,m]])(A);const S=At(Mt);o.append("g").attr("class","nodes").selectAll(".node").data(A.nodes).join("g").attr("class","node").attr("id",d=>(d.uid=ft.next("node-")).id).attr("transform",function(d){return"translate("+d.x0+","+d.y0+")"}).attr("x",d=>d.x0).attr("y",d=>d.y0).append("rect").attr("height",d=>d.y1-d.y0).attr("width",d=>d.x1-d.x0).attr("fill",d=>S(d.id));const M=({id:d,value:w})=>L?`${d}
${x}${Math.round(w*100)/100}${E}`:d;o.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(A.nodes).join("text").attr("x",d=>d.x0<c/2?d.x1+6:d.x0-6).attr("y",d=>(d.y1+d.y0)/2).attr("dy",`${L?"0":"0.35"}em`).attr("text-anchor",d=>d.x0<c/2?"start":"end").text(M);const $=o.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(A.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),P=(_==null?void 0:_.linkColor)||"gradient";if(P==="gradient"){const d=$.append("linearGradient").attr("id",w=>(w.uid=ft.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",w=>w.source.x1).attr("x2",w=>w.target.x0);d.append("stop").attr("offset","0%").attr("stop-color",w=>S(w.source.id)),d.append("stop").attr("offset","100%").attr("stop-color",w=>S(w.target.id))}let C;switch(P){case"gradient":C=d=>d.uid;break;case"source":C=d=>S(d.source.id);break;case"target":C=d=>S(d.target.id);break;default:C=P}$.append("path").attr("d",se()).attr("stroke",C).attr("stroke-width",d=>Math.max(1,d.width)),Et(void 0,o,0,b)},le={draw:oe},ae=t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,`
`).trim(),ce=q.parse.bind(q);q.parse=t=>ce(ae(t));const ye={parser:q,db:jt,renderer:le};export{ye as diagram};
import{at as Te,ap as Ce,aq as Fe,as as Me,ar as De,ay as Ne,aV as Pe,ax as oe,az as Ye,aB as ke}from"./index-Hfn5l4aw.js";import{G as Ue,l as Be}from"./layout-94e1e85f-BAM45a7u.js";import{l as Qe}from"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";var ce=function(){var e=function(V,i,r,a){for(r=r||{},a=V.length;a--;r[V[a]]=i);return r},t=[1,3],l=[1,4],c=[1,5],u=[1,6],d=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],p=[1,18],h=[2,7],o=[1,22],E=[1,23],R=[1,24],A=[1,25],T=[1,26],N=[1,27],v=[1,20],k=[1,28],x=[1,29],F=[62,63],de=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],pe=[1,47],ye=[1,48],fe=[1,49],_e=[1,50],Ee=[1,51],ge=[1,52],Re=[1,53],O=[53,54],M=[1,64],D=[1,60],P=[1,61],Y=[1,62],U=[1,63],B=[1,65],z=[1,69],j=[1,70],X=[1,67],J=[1,68],m=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ie={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(i,r,a,n,y,s,W){var _=s.length-1;switch(y){case 4:this.$=s[_].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[_].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[_-3],s[_-4]);break;case 14:n.setNewReqId(s[_-2]);break;case 15:n.setNewReqText(s[_-2]);break;case 16:n.setNewReqRisk(s[_-2]);break;case 17:n.setNewReqVerifyMethod(s[_-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[_-3]);break;case 34:n.setNewElementType(s[_-2]);break;case 35:n.setNewElementDocRef(s[_-2]);break;case 38:n.addRelationship(s[_-2],s[_],s[_-4]);break;case 39:n.addRelationship(s[_-2],s[_-4],s[_]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:l,11:c,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:l,11:c,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(d,[2,6]),{3:12,4:2,6:t,9:l,11:c,13:u},{1:[2,2]},{4:17,5:p,7:13,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:E,33:R,34:A,35:T,36:N,44:v,62:k,63:x},e(d,[2,4]),e(d,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:p,7:31,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:E,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:32,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:E,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:33,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:E,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:34,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:E,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:35,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:E,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(de,[2,49]),e(de,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:pe,56:ye,57:fe,58:_e,59:Ee,60:ge,61:Re},{52:54,55:pe,56:ye,57:fe,58:_e,59:Ee,60:ge,61:Re},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:M,20:59,21:D,24:P,26:Y,28:U,30:B},{5:z,30:j,46:66,47:X,49:J},{23:71,62:k,63:x},{23:72,62:k,63:x},e(m,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:M,20:77,21:D,24:P,26:Y,28:U,30:B},e(m,[2,19]),e(m,[2,33]),{22:[1,78]},{22:[1,79]},{5:z,30:j,46:80,47:X,49:J},e(m,[2,37]),e(m,[2,38]),e(m,[2,39]),{23:81,62:k,63:x},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(m,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(m,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:M,20:106,21:D,24:P,26:Y,28:U,30:B},{5:M,20:107,21:D,24:P,26:Y,28:U,30:B},{5:M,20:108,21:D,24:P,26:Y,28:U,30:B},{5:M,20:109,21:D,24:P,26:Y,28:U,30:B},{5:z,30:j,46:110,47:X,49:J},{5:z,30:j,46:111,47:X,49:J},e(m,[2,14]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),e(m,[2,34]),e(m,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(i,r){if(r.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=r,a}},parse:function(i){var r=this,a=[0],n=[],y=[null],s=[],W=this.table,_="",Z=0,me=0,Ve=2,Ie=1,qe=s.slice.call(arguments,1),g=Object.create(this.lexer),L={yy:{}};for(var re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,re)&&(L.yy[re]=this.yy[re]);g.setInput(i,L.yy),L.yy.lexer=g,L.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var se=g.yylloc;s.push(se);var Oe=g.options&&g.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var $;return $=n.pop()||g.lex()||Ie,typeof $!="number"&&($ instanceof Array&&(n=$,$=n.pop()),$=r.symbols_[$]||$),$}for(var I,C,S,ae,Q={},ee,w,be,te;;){if(C=a[a.length-1],this.defaultActions[C]?S=this.defaultActions[C]:((I===null||typeof I>"u")&&(I=Le()),S=W[C]&&W[C][I]),typeof S>"u"||!S.length||!S[0]){var le="";te=[];for(ee in W[C])this.terminals_[ee]&&ee>Ve&&te.push("'"+this.terminals_[ee]+"'");g.showPosition?le="Parse error on line "+(Z+1)+`:
`+g.showPosition()+`
Expecting `+te.join(", ")+", got '"+(this.terminals_[I]||I)+"'":le="Parse error on line "+(Z+1)+": Unexpected "+(I==Ie?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(le,{text:g.match,token:this.terminals_[I]||I,line:g.yylineno,loc:se,expected:te})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+I);switch(S[0]){case 1:a.push(I),y.push(g.yytext),s.push(g.yylloc),a.push(S[1]),I=null,me=g.yyleng,_=g.yytext,Z=g.yylineno,se=g.yylloc;break;case 2:if(w=this.productions_[S[1]][1],Q.$=y[y.length-w],Q._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},Oe&&(Q._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),ae=this.performAction.apply(Q,[_,me,Z,L.yy,S[1],y,s].concat(qe)),typeof ae<"u")return ae;w&&(a=a.slice(0,-1*w*2),y=y.slice(0,-1*w),s=s.slice(0,-1*w)),a.push(this.productions_[S[1]][0]),y.push(Q.$),s.push(Q._$),be=W[a[a.length-2]][a[a.length-1]],a.push(be);break;case 3:return!0}}return!0}},$e=function(){var V={EOF:1,parseError:function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},setInput:function(i,r){return this.yy=r||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var r=i.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var r=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var n=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),a.length-1&&(this.yylineno-=a.length-1);var y=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:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+r+"^"},test_match:function(i,r){var a,n,y;if(this.options.backtrack_lexer&&(y={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&&(y.yylloc.range=this.yylloc.range.slice(0))),n=i[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],a=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var s in y)this[s]=y[s];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,r,a,n;this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),s=0;s<y.length;s++)if(a=this._input.match(this.rules[y[s]]),a&&(!r||a[0].length>r[0].length)){if(r=a,n=s,this.options.backtrack_lexer){if(i=this.test_match(a,y[s]),i!==!1)return i;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(i=this.test_match(r,y[n]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>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(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,a,n,y){switch(n){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 48:this.popState();break;case 49:return"qString";case 50:return a.yytext=a.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}};return V}();ie.lexer=$e;function ne(){this.yy={}}return ne.prototype=ie,ie.Parser=ne,new ne}();ce.parser=ce;const He=ce;let ue=[],b={},K={},q={},G={};const We={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},Ke={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},Ge={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},ze={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},je=(e,t)=>(K[e]===void 0&&(K[e]={name:e,type:t,id:b.id,text:b.text,risk:b.risk,verifyMethod:b.verifyMethod}),b={},K[e]),Xe=()=>K,Je=e=>{b!==void 0&&(b.id=e)},Ze=e=>{b!==void 0&&(b.text=e)},et=e=>{b!==void 0&&(b.risk=e)},tt=e=>{b!==void 0&&(b.verifyMethod=e)},it=e=>(G[e]===void 0&&(G[e]={name:e,type:q.type,docRef:q.docRef},Ne.info("Added new requirement: ",e)),q={},G[e]),nt=()=>G,rt=e=>{q!==void 0&&(q.type=e)},st=e=>{q!==void 0&&(q.docRef=e)},at=(e,t,l)=>{ue.push({type:e,src:t,dst:l})},lt=()=>ue,ot=()=>{ue=[],b={},K={},q={},G={},Pe()},ct={RequirementType:We,RiskLevel:Ke,VerifyType:Ge,Relationships:ze,getConfig:()=>Te().req,addRequirement:je,getRequirements:Xe,setNewReqId:Je,setNewReqText:Ze,setNewReqRisk:et,setNewReqVerifyMethod:tt,setAccTitle:Ce,getAccTitle:Fe,setAccDescription:Me,getAccDescription:De,addElement:it,getElements:nt,setNewElementType:rt,setNewElementDocRef:st,addRelationship:at,getRelationships:lt,clear:ot},ht=e=>`
marker {
fill: ${e.relationColor};
stroke: ${e.relationColor};
}
marker.cross {
stroke: ${e.lineColor};
}
svg {
font-family: ${e.fontFamily};
font-size: ${e.fontSize};
}
.reqBox {
fill: ${e.requirementBackground};
fill-opacity: 1.0;
stroke: ${e.requirementBorderColor};
stroke-width: ${e.requirementBorderSize};
}
.reqTitle, .reqLabel{
fill: ${e.requirementTextColor};
}
.reqLabelBox {
fill: ${e.relationLabelBackground};
fill-opacity: 1.0;
}
.req-title-line {
stroke: ${e.requirementBorderColor};
stroke-width: ${e.requirementBorderSize};
}
.relationshipLine {
stroke: ${e.relationColor};
stroke-width: 1;
}
.relationshipLabel {
fill: ${e.relationLabelColor};
}
`,ut=ht,he={CONTAINS:"contains",ARROW:"arrow"},dt=(e,t)=>{let l=e.append("defs").append("marker").attr("id",he.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");l.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),l.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),l.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",he.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0
L${t.line_height},${t.line_height/2}
M${t.line_height},${t.line_height/2}
L0,${t.line_height}`).attr("stroke-width",1)},xe={ReqMarkers:he,insertLineEndings:dt};let f={},Se=0;const Ae=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",f.rect_min_width+"px").attr("height",f.rect_min_height+"px"),ve=(e,t,l)=>{let c=f.rect_min_width/2,u=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",c).attr("y",f.rect_padding).attr("dominant-baseline","hanging"),d=0;l.forEach(E=>{d==0?u.append("tspan").attr("text-anchor","middle").attr("x",f.rect_min_width/2).attr("dy",0).text(E):u.append("tspan").attr("text-anchor","middle").attr("x",f.rect_min_width/2).attr("dy",f.line_height*.75).text(E),d++});let p=1.5*f.rect_padding,h=d*f.line_height*.75,o=p+h;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",f.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:u,y:o}},we=(e,t,l,c)=>{let u=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",f.rect_padding).attr("y",c).attr("dominant-baseline","hanging"),d=0;const p=30;let h=[];return l.forEach(o=>{let E=o.length;for(;E>p&&d<3;){let R=o.substring(0,p);o=o.substring(p,o.length),E=o.length,h[h.length]=R,d++}if(d==3){let R=h[h.length-1];h[h.length-1]=R.substring(0,R.length-4)+"..."}else h[h.length]=o;d=0}),h.forEach(o=>{u.append("tspan").attr("x",f.rect_padding).attr("dy",f.line_height).text(o)}),u},pt=(e,t,l,c)=>{const u=t.node().getTotalLength(),d=t.node().getPointAtLength(u*.5),p="rel"+Se;Se++;const o=e.append("text").attr("class","req relationshipLabel").attr("id",p).attr("x",d.x).attr("y",d.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(c).node().getBBox();e.insert("rect","#"+p).attr("class","req reqLabelBox").attr("x",d.x-o.width/2).attr("y",d.y-o.height/2).attr("width",o.width).attr("height",o.height).attr("fill","white").attr("fill-opacity","85%")},yt=function(e,t,l,c,u){const d=l.edge(H(t.src),H(t.dst)),p=Qe().x(function(o){return o.x}).y(function(o){return o.y}),h=e.insert("path","#"+c).attr("class","er relationshipLine").attr("d",p(d.points)).attr("fill","none");t.type==u.db.Relationships.CONTAINS?h.attr("marker-start","url("+ke.getUrl(f.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(h.attr("stroke-dasharray","10,7"),h.attr("marker-end","url("+ke.getUrl(f.arrowMarkerAbsolute)+"#"+xe.ReqMarkers.ARROW+"_line_ending)")),pt(e,h,f,`<<${t.type}>>`)},ft=(e,t,l)=>{Object.keys(e).forEach(c=>{let u=e[c];c=H(c),Ne.info("Added new requirement: ",c);const d=l.append("g").attr("id",c),p="req-"+c,h=Ae(d,p);let o=ve(d,c+"_title",[`<<${u.type}>>`,`${u.name}`]);we(d,c+"_body",[`Id: ${u.id}`,`Text: ${u.text}`,`Risk: ${u.risk}`,`Verification: ${u.verifyMethod}`],o.y);const E=h.node().getBBox();t.setNode(c,{width:E.width,height:E.height,shape:"rect",id:c})})},_t=(e,t,l)=>{Object.keys(e).forEach(c=>{let u=e[c];const d=H(c),p=l.append("g").attr("id",d),h="element-"+d,o=Ae(p,h);let E=ve(p,h+"_title",["<<Element>>",`${c}`]);we(p,h+"_body",[`Type: ${u.type||"Not Specified"}`,`Doc Ref: ${u.docRef||"None"}`],E.y);const R=o.node().getBBox();t.setNode(d,{width:R.width,height:R.height,shape:"rect",id:d})})},Et=(e,t)=>(e.forEach(function(l){let c=H(l.src),u=H(l.dst);t.setEdge(c,u,{relationship:l})}),e),gt=function(e,t){t.nodes().forEach(function(l){l!==void 0&&t.node(l)!==void 0&&(e.select("#"+l),e.select("#"+l).attr("transform","translate("+(t.node(l).x-t.node(l).width/2)+","+(t.node(l).y-t.node(l).height/2)+" )"))})},H=e=>e.replace(/\s/g,"").replace(/\./g,"_"),Rt=(e,t,l,c)=>{f=Te().requirement;const u=f.securityLevel;let d;u==="sandbox"&&(d=oe("#i"+t));const h=(u==="sandbox"?oe(d.nodes()[0].contentDocument.body):oe("body")).select(`[id='${t}']`);xe.insertLineEndings(h,f);const o=new Ue({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:f.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let E=c.db.getRequirements(),R=c.db.getElements(),A=c.db.getRelationships();ft(E,o,h),_t(R,o,h),Et(A,o),Be(o),gt(h,o),A.forEach(function(x){yt(h,x,o,t,c)});const T=f.rect_padding,N=h.node().getBBox(),v=N.width+T*2,k=N.height+T*2;Ye(h,k,v,f.useMaxWidth),h.attr("viewBox",`${N.x-T} ${N.y-T} ${v} ${k}`)},mt={draw:Rt},Nt={parser:He,db:ct,renderer:mt,styles:ut};export{Nt as diagram};
import{bd as vt,at as yt,b9 as D,ay as ot,ap as Lt,aq as Ct,aT as zt,aU as bt,ar as Et,as as Dt,aV as It,ax as gt,az as Bt,au as wt}from"./index-Hfn5l4aw.js";import{l as mt}from"./linear-ad2a9be7-2u7jZYmT.js";import"./init-cc95ec8e-Hi12RPRh.js";var pt=function(){var e=function(K,n,r,l){for(r=r||{},l=K.length;l--;r[K[l]]=n);return r},s=[1,3],h=[1,4],x=[1,5],f=[1,6],d=[1,7],c=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],g=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],y=[2,7],p=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],M=[1,22],X=[1,23],C=[1,24],it=[1,25],at=[1,26],nt=[1,27],U=[1,30],Q=[1,31],T=[1,32],m=[1,33],_=[1,34],t=[1,35],A=[1,36],S=[1,37],k=[1,38],F=[1,39],P=[1,40],v=[1,41],L=[1,42],O=[1,57],Y=[1,58],z=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,l,o,q,a,et){var u=a.length-1;switch(q){case 12:this.$=a[u].trim(),o.setDiagramTitle(this.$);break;case 13:this.$=a[u].trim(),o.setAccTitle(this.$);break;case 14:case 15:this.$=a[u].trim(),o.setAccDescription(this.$);break;case 16:o.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 17:o.addPoint(a[u-3],a[u-1],a[u]);break;case 18:o.setXAxisLeftText(a[u-2]),o.setXAxisRightText(a[u]);break;case 19:a[u-1].text+=" ⟶ ",o.setXAxisLeftText(a[u-1]);break;case 20:o.setXAxisLeftText(a[u]);break;case 21:o.setYAxisBottomText(a[u-2]),o.setYAxisTopText(a[u]);break;case 22:a[u-1].text+=" ⟶ ",o.setYAxisBottomText(a[u-1]);break;case 23:o.setYAxisBottomText(a[u]);break;case 24:o.setQuadrant1Text(a[u]);break;case 25:o.setQuadrant2Text(a[u]);break;case 26:o.setQuadrant3Text(a[u]);break;case 27:o.setQuadrant4Text(a[u]);break;case 31:this.$={text:a[u],type:"text"};break;case 32:this.$={text:a[u-1].text+""+a[u],type:a[u-1].type};break;case 33:this.$={text:a[u],type:"text"};break;case 34:this.$={text:a[u],type:"markdown"};break;case 35:this.$=a[u];break;case 36:this.$=a[u-1]+""+a[u];break}},table:[{3:1,4:2,5:s,6:h,32:x,33:f,34:d},{1:[3]},{3:8,4:2,5:s,6:h,32:x,33:f,34:d},{3:9,4:2,5:s,6:h,32:x,33:f,34:d},e(c,[2,4],{7:10}),e(g,[2,28]),e(g,[2,29]),e(g,[2,30]),{1:[2,1]},{1:[2,2]},e(i,y,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(c,[2,5]),{4:43,32:x,33:f,34:d},e(i,y,{10:14,11:15,12:16,21:28,35:29,9:44,5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:49,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:50,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:51,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:52,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:53,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{5:O,22:[1,54],35:56,36:55,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y},e(z,[2,31]),e(z,[2,33]),e(z,[2,34]),e(z,[2,37]),e(z,[2,38]),e(z,[2,39]),e(z,[2,40]),e(z,[2,41]),e(z,[2,42]),e(z,[2,43]),e(z,[2,44]),e(z,[2,45]),e(z,[2,46]),e(z,[2,47]),e(c,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:O,26:[1,59],40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,23],{36:55,35:56,5:O,26:[1,60],40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,24],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,25],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,26],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,27],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),{23:[1,61]},e(z,[2,32]),e(z,[2,48]),e(z,[2,49]),e(z,[2,50]),e(i,[2,19],{35:29,21:62,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,22],{35:29,21:63,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,21],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=r,l}},parse:function(n){var r=this,l=[0],o=[],q=[null],a=[],et=this.table,u="",st=0,qt=0,St=2,Tt=1,kt=a.slice.call(arguments,1),E=Object.create(this.lexer),Z={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Z.yy[dt]=this.yy[dt]);E.setInput(n,Z.yy),Z.yy.lexer=E,Z.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ut=E.yylloc;a.push(ut);var Ft=E.options&&E.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pt(){var j;return j=o.pop()||E.lex()||Tt,typeof j!="number"&&(j instanceof Array&&(o=j,j=o.pop()),j=r.symbols_[j]||j),j}for(var W,J,H,xt,tt={},rt,$,_t,lt;;){if(J=l[l.length-1],this.defaultActions[J]?H=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=Pt()),H=et[J]&&et[J][W]),typeof H>"u"||!H.length||!H[0]){var ft="";lt=[];for(rt in et[J])this.terminals_[rt]&&rt>St&<.push("'"+this.terminals_[rt]+"'");E.showPosition?ft="Parse error on line "+(st+1)+`:
`+E.showPosition()+`
Expecting `+lt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":ft="Parse error on line "+(st+1)+": Unexpected "+(W==Tt?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(ft,{text:E.match,token:this.terminals_[W]||W,line:E.yylineno,loc:ut,expected:lt})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+J+", token: "+W);switch(H[0]){case 1:l.push(W),q.push(E.yytext),a.push(E.yylloc),l.push(H[1]),W=null,qt=E.yyleng,u=E.yytext,st=E.yylineno,ut=E.yylloc;break;case 2:if($=this.productions_[H[1]][1],tt.$=q[q.length-$],tt._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},Ft&&(tt._$.range=[a[a.length-($||1)].range[0],a[a.length-1].range[1]]),xt=this.performAction.apply(tt,[u,qt,st,Z.yy,H[1],q,a].concat(kt)),typeof xt<"u")return xt;$&&(l=l.slice(0,-1*$*2),q=q.slice(0,-1*$),a=a.slice(0,-1*$)),l.push(this.productions_[H[1]][0]),q.push(tt.$),a.push(tt._$),_t=et[l[l.length-2]][l[l.length-1]],l.push(_t);break;case 3:return!0}}return!0}},At=function(){var K={EOF:1,parseError:function(r,l){if(this.yy.parser)this.yy.parser.parseError(r,l);else throw new Error(r)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var r=n.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var r=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var o=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),l.length-1&&(this.yylineno-=l.length-1);var q=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:l?(l.length===o.length?this.yylloc.first_column:0)+o[o.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[q[0],q[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
`+r+"^"},test_match:function(n,r){var l,o,q;if(this.options.backtrack_lexer&&(q={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&&(q.yylloc.range=this.yylloc.range.slice(0))),o=n[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],l=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var a in q)this[a]=q[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,r,l,o;this._more||(this.yytext="",this.match="");for(var q=this._currentRules(),a=0;a<q.length;a++)if(l=this._input.match(this.rules[q[a]]),l&&(!r||l[0].length>r[0].length)){if(r=l,o=a,this.options.backtrack_lexer){if(n=this.test_match(l,q[a]),n!==!1)return n;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(n=this.test_match(r,q[o]),n!==!1?n:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>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(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,l,o,q){switch(o){case 0:break;case 1:break;case 2:return 32;case 3:break;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 22:this.popState();break;case 23:this.begin("string");break;case 24:this.popState();break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 28:this.popState();break;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:return 46;case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return K}();ht.lexer=At;function ct(){this.yy={}}return ct.prototype=ht,ht.Parser=ct,new ct}();pt.parser=pt;const Rt=pt,R=vt();class Vt{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 s,h,x,f,d,c,g,i,y,p,B,N,V,I,b,M,X,C;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:((s=D.quadrantChart)==null?void 0:s.chartWidth)||500,chartWidth:((h=D.quadrantChart)==null?void 0:h.chartHeight)||500,titlePadding:((x=D.quadrantChart)==null?void 0:x.titlePadding)||10,titleFontSize:((f=D.quadrantChart)==null?void 0:f.titleFontSize)||20,quadrantPadding:((d=D.quadrantChart)==null?void 0:d.quadrantPadding)||5,xAxisLabelPadding:((c=D.quadrantChart)==null?void 0:c.xAxisLabelPadding)||5,yAxisLabelPadding:((g=D.quadrantChart)==null?void 0:g.yAxisLabelPadding)||5,xAxisLabelFontSize:((i=D.quadrantChart)==null?void 0:i.xAxisLabelFontSize)||16,yAxisLabelFontSize:((y=D.quadrantChart)==null?void 0:y.yAxisLabelFontSize)||16,quadrantLabelFontSize:((p=D.quadrantChart)==null?void 0:p.quadrantLabelFontSize)||16,quadrantTextTopPadding:((B=D.quadrantChart)==null?void 0:B.quadrantTextTopPadding)||5,pointTextPadding:((N=D.quadrantChart)==null?void 0:N.pointTextPadding)||5,pointLabelFontSize:((V=D.quadrantChart)==null?void 0:V.pointLabelFontSize)||12,pointRadius:((I=D.quadrantChart)==null?void 0:I.pointRadius)||5,xAxisPosition:((b=D.quadrantChart)==null?void 0:b.xAxisPosition)||"top",yAxisPosition:((M=D.quadrantChart)==null?void 0:M.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:((X=D.quadrantChart)==null?void 0:X.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:((C=D.quadrantChart)==null?void 0:C.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:R.quadrant1Fill,quadrant2Fill:R.quadrant2Fill,quadrant3Fill:R.quadrant3Fill,quadrant4Fill:R.quadrant4Fill,quadrant1TextFill:R.quadrant1TextFill,quadrant2TextFill:R.quadrant2TextFill,quadrant3TextFill:R.quadrant3TextFill,quadrant4TextFill:R.quadrant4TextFill,quadrantPointFill:R.quadrantPointFill,quadrantPointTextFill:R.quadrantPointTextFill,quadrantXAxisTextFill:R.quadrantXAxisTextFill,quadrantYAxisTextFill:R.quadrantYAxisTextFill,quadrantTitleFill:R.quadrantTitleFill,quadrantInternalBorderStrokeFill:R.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:R.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),ot.info("clear called")}setData(s){this.data={...this.data,...s}}addPoints(s){this.data.points=[...s,...this.data.points]}setConfig(s){ot.trace("setConfig called with: ",s),this.config={...this.config,...s}}setThemeConfig(s){ot.trace("setThemeConfig called with: ",s),this.themeConfig={...this.themeConfig,...s}}calculateSpace(s,h,x,f){const d=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,c={top:s==="top"&&h?d:0,bottom:s==="bottom"&&h?d:0},g=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,i={left:this.config.yAxisPosition==="left"&&x?g:0,right:this.config.yAxisPosition==="right"&&x?g:0},y=this.config.titleFontSize+this.config.titlePadding*2,p={top:f?y:0},B=this.config.quadrantPadding+i.left,N=this.config.quadrantPadding+c.top+p.top,V=this.config.chartWidth-this.config.quadrantPadding*2-i.left-i.right,I=this.config.chartHeight-this.config.quadrantPadding*2-c.top-c.bottom-p.top,b=V/2,M=I/2;return{xAxisSpace:c,yAxisSpace:i,titleSpace:p,quadrantSpace:{quadrantLeft:B,quadrantTop:N,quadrantWidth:V,quadrantHalfWidth:b,quadrantHeight:I,quadrantHalfHeight:M}}}getAxisLabels(s,h,x,f){const{quadrantSpace:d,titleSpace:c}=f,{quadrantHalfHeight:g,quadrantHeight:i,quadrantLeft:y,quadrantHalfWidth:p,quadrantTop:B,quadrantWidth:N}=d,V=!!this.data.xAxisRightText,I=!!this.data.yAxisTopText,b=[];return this.data.xAxisLeftText&&h&&b.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:y+(V?p/2:0),y:s==="top"?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+B+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:V?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&h&&b.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:y+p+(V?p/2:0),y:s==="top"?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+B+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:V?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&x&&b.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+y+N+this.config.quadrantPadding,y:B+i-(I?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:I?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&x&&b.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+y+N+this.config.quadrantPadding,y:B+g-(I?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:I?"center":"left",horizontalPos:"top",rotation:-90}),b}getQuadrants(s){const{quadrantSpace:h}=s,{quadrantHalfHeight:x,quadrantLeft:f,quadrantHalfWidth:d,quadrantTop:c}=h,g=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:f+d,y:c,width:d,height:x,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:f,y:c,width:d,height:x,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:f,y:c+x,width:d,height:x,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:f+d,y:c+x,width:d,height:x,fill:this.themeConfig.quadrant4Fill}];for(const i of g)i.text.x=i.x+i.width/2,this.data.points.length===0?(i.text.y=i.y+i.height/2,i.text.horizontalPos="middle"):(i.text.y=i.y+this.config.quadrantTextTopPadding,i.text.horizontalPos="top");return g}getQuadrantPoints(s){const{quadrantSpace:h}=s,{quadrantHeight:x,quadrantLeft:f,quadrantTop:d,quadrantWidth:c}=h,g=mt().domain([0,1]).range([f,c+f]),i=mt().domain([0,1]).range([x+d,d]);return this.data.points.map(p=>({x:g(p.x),y:i(p.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:p.text,fill:this.themeConfig.quadrantPointTextFill,x:g(p.x),y:i(p.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}}))}getBorders(s){const h=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:x}=s,{quadrantHalfHeight:f,quadrantHeight:d,quadrantLeft:c,quadrantHalfWidth:g,quadrantTop:i,quadrantWidth:y}=x;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i,x2:c+y+h,y2:i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c+y,y1:i+h,x2:c+y,y2:i+d-h},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i+d,x2:c+y+h,y2:i+d},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c,y1:i+h,x2:c,y2:i+d-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+g,y1:i+h,x2:c+g,y2:i+d-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+h,y1:i+f,x2:c+y-h,y2:i+f}]}getTitle(s){if(s)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 s=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),h=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),x=this.config.showTitle&&!!this.data.titleText,f=this.data.points.length>0?"bottom":this.config.xAxisPosition,d=this.calculateSpace(f,s,h,x);return{points:this.getQuadrantPoints(d),quadrants:this.getQuadrants(d),axisLabels:this.getAxisLabels(f,s,h,d),borderLines:this.getBorders(d),title:this.getTitle(x)}}}const Wt=yt();function G(e){return wt(e.trim(),Wt)}const w=new Vt;function Nt(e){w.setData({quadrant1Text:G(e.text)})}function Ut(e){w.setData({quadrant2Text:G(e.text)})}function Qt(e){w.setData({quadrant3Text:G(e.text)})}function Ht(e){w.setData({quadrant4Text:G(e.text)})}function Mt(e){w.setData({xAxisLeftText:G(e.text)})}function Xt(e){w.setData({xAxisRightText:G(e.text)})}function Ot(e){w.setData({yAxisTopText:G(e.text)})}function Yt(e){w.setData({yAxisBottomText:G(e.text)})}function $t(e,s,h){w.addPoints([{x:s,y:h,text:G(e.text)}])}function jt(e){w.setConfig({chartWidth:e})}function Gt(e){w.setConfig({chartHeight:e})}function Kt(){const e=yt(),{themeVariables:s,quadrantChart:h}=e;return h&&w.setConfig(h),w.setThemeConfig({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,quadrantExternalBorderStrokeFill:s.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:s.quadrantInternalBorderStrokeFill,quadrantTitleFill:s.quadrantTitleFill}),w.setData({titleText:bt()}),w.build()}const Zt=function(){w.clear(),It()},Jt={setWidth:jt,setHeight:Gt,setQuadrant1Text:Nt,setQuadrant2Text:Ut,setQuadrant3Text:Qt,setQuadrant4Text:Ht,setXAxisLeftText:Mt,setXAxisRightText:Xt,setYAxisTopText:Ot,setYAxisBottomText:Yt,addPoint:$t,getQuadrantData:Kt,clear:Zt,setAccTitle:Lt,getAccTitle:Ct,setDiagramTitle:zt,getDiagramTitle:bt,getAccDescription:Et,setAccDescription:Dt},te=(e,s,h,x)=>{var f,d,c;function g(t){return t==="top"?"hanging":"middle"}function i(t){return t==="left"?"start":"middle"}function y(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const p=yt();ot.debug(`Rendering quadrant chart
`+e);const B=p.securityLevel;let N;B==="sandbox"&&(N=gt("#i"+s));const I=(B==="sandbox"?gt(N.nodes()[0].contentDocument.body):gt("body")).select(`[id="${s}"]`),b=I.append("g").attr("class","main"),M=((f=p.quadrantChart)==null?void 0:f.chartWidth)||500,X=((d=p.quadrantChart)==null?void 0:d.chartHeight)||500;Bt(I,X,M,((c=p.quadrantChart)==null?void 0:c.useMaxWidth)||!0),I.attr("viewBox","0 0 "+M+" "+X),x.db.setHeight(X),x.db.setWidth(M);const C=x.db.getQuadrantData(),it=b.append("g").attr("class","quadrants"),at=b.append("g").attr("class","border"),nt=b.append("g").attr("class","data-points"),U=b.append("g").attr("class","labels"),Q=b.append("g").attr("class","title");C.title&&Q.append("text").attr("x",0).attr("y",0).attr("fill",C.title.fill).attr("font-size",C.title.fontSize).attr("dominant-baseline",g(C.title.horizontalPos)).attr("text-anchor",i(C.title.verticalPos)).attr("transform",y(C.title)).text(C.title.text),C.borderLines&&at.selectAll("line").data(C.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);const T=it.selectAll("g.quadrant").data(C.quadrants).enter().append("g").attr("class","quadrant");T.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),T.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text)).text(t=>t.text.text),U.selectAll("g.label").data(C.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=>g(t.horizontalPos)).attr("text-anchor",t=>i(t.verticalPos)).attr("transform",t=>y(t));const _=nt.selectAll("g.data-point").data(C.points).enter().append("g").attr("class","data-point");_.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill),_.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=>g(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>y(t.text))},ee={draw:te},se={parser:Rt,db:Jt,renderer:ee,styles:()=>""};export{se as diagram};
import{b9 as at,aT as lt,aU as ot,ap as ct,aq as ht,as as ut,ar as yt,aV as ft,au as pt,at as et,ay as it,ba as gt,b8 as dt,bb as mt,az as _t,bc as J}from"./index-Hfn5l4aw.js";import{d as tt}from"./arc-01f1c7b4-EdqqRiec.js";import{o as xt}from"./ordinal-475e0c0c-Beet9Qdq.js";import{a as bt}from"./array-b7dcf730-Nw74a44z.js";import{c as z}from"./path-39bad7e2-aUcfwwLI.js";import"./init-cc95ec8e-Hi12RPRh.js";function kt(e,u){return u<e?-1:u>e?1:u>=e?0:NaN}function vt(e){return e}function St(){var e=vt,u=kt,A=null,p=z(0),g=z(J),E=z(0);function y(a){var l,d=(a=bt(a)).length,m,I,T=0,_=new Array(d),k=new Array(d),c=+p.apply(this,arguments),$=Math.min(J,Math.max(-J,g.apply(this,arguments)-c)),O,w=Math.min(Math.abs($)/d,E.apply(this,arguments)),v=w*($<0?-1:1),t;for(l=0;l<d;++l)(t=k[_[l]=l]=+e(a[l],l,a))>0&&(T+=t);for(u!=null?_.sort(function(i,n){return u(k[i],k[n])}):A!=null&&_.sort(function(i,n){return A(a[i],a[n])}),l=0,I=T?($-d*v)/T:0;l<d;++l,c=O)m=_[l],t=k[m],O=c+(t>0?t*I:0)+v,k[m]={data:a[m],index:l,value:t,startAngle:c,endAngle:O,padAngle:w};return k}return y.value=function(a){return arguments.length?(e=typeof a=="function"?a:z(+a),y):e},y.sortValues=function(a){return arguments.length?(u=a,A=null,y):u},y.sort=function(a){return arguments.length?(A=a,u=null,y):A},y.startAngle=function(a){return arguments.length?(p=typeof a=="function"?a:z(+a),y):p},y.endAngle=function(a){return arguments.length?(g=typeof a=="function"?a:z(+a),y):g},y.padAngle=function(a){return arguments.length?(E=typeof a=="function"?a:z(+a),y):E},y}var K=function(){var e=function(v,t,i,n){for(i=i||{},n=v.length;n--;i[v[n]]=t);return i},u=[1,3],A=[1,4],p=[1,5],g=[1,6],E=[1,10,12,14,16,18,19,20,21,22],y=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],l=[20,21,22],d=[2,7],m=[1,12],I=[1,13],T=[1,14],_=[1,15],k=[1,16],c=[1,17],$={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,i,n,r,o,s,V){var x=s.length-1;switch(o){case 3:r.setShowData(!0);break;case 6:this.$=s[x-1];break;case 8:r.addSection(s[x-1],r.cleanupValue(s[x]));break;case 9:this.$=s[x].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=s[x].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=s[x].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(s[x].substr(8)),this.$=s[x].substr(8);break}},table:[{3:1,4:2,5:u,20:A,21:p,22:g},{1:[3]},{3:7,4:2,5:u,20:A,21:p,22:g},e(E,y,{6:8,7:[1,9]}),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{1:[2,1]},e(l,d,{8:10,9:11,1:[2,2],10:m,12:I,14:T,16:_,18:k,19:c}),e(E,y,{6:18}),e(E,[2,5]),{4:19,20:A,21:p,22:g},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},e(l,[2,12]),e(l,[2,13]),e(l,d,{8:10,9:11,1:[2,3],10:m,12:I,14:T,16:_,18:k,19:c}),e(E,[2,6]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],r=[],o=[null],s=[],V=this.table,x="",f=0,P=0,F=2,M=1,B=s.slice.call(arguments,1),h=Object.create(this.lexer),N={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(N.yy[Y]=this.yy[Y]);h.setInput(t,N.yy),N.yy.lexer=h,N.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var q=h.yylloc;s.push(q);var st=h.options&&h.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(){var C;return C=r.pop()||h.lex()||M,typeof C!="number"&&(C instanceof Array&&(r=C,C=r.pop()),C=i.symbols_[C]||C),C}for(var b,L,S,Z,R={},j,D,X,W;;){if(L=n[n.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((b===null||typeof b>"u")&&(b=rt()),S=V[L]&&V[L][b]),typeof S>"u"||!S.length||!S[0]){var H="";W=[];for(j in V[L])this.terminals_[j]&&j>F&&W.push("'"+this.terminals_[j]+"'");h.showPosition?H="Parse error on line "+(f+1)+`:
`+h.showPosition()+`
Expecting `+W.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(f+1)+": Unexpected "+(b==M?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:h.match,token:this.terminals_[b]||b,line:h.yylineno,loc:q,expected:W})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+b);switch(S[0]){case 1:n.push(b),o.push(h.yytext),s.push(h.yylloc),n.push(S[1]),b=null,P=h.yyleng,x=h.yytext,f=h.yylineno,q=h.yylloc;break;case 2:if(D=this.productions_[S[1]][1],R.$=o[o.length-D],R._$={first_line:s[s.length-(D||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(D||1)].first_column,last_column:s[s.length-1].last_column},st&&(R._$.range=[s[s.length-(D||1)].range[0],s[s.length-1].range[1]]),Z=this.performAction.apply(R,[x,P,f,N.yy,S[1],o,s].concat(B)),typeof Z<"u")return Z;D&&(n=n.slice(0,-1*D*2),o=o.slice(0,-1*D),s=s.slice(0,-1*D)),n.push(this.productions_[S[1]][0]),o.push(R.$),s.push(R._$),X=V[n[n.length-2]][n[n.length-1]],n.push(X);break;case 3:return!0}}return!0}},O=function(){var v={EOF:1,parseError:function(i,n){if(this.yy.parser)this.yy.parser.parseError(i,n);else throw new Error(i)},setInput:function(t,i){return this.yy=i||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];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var i=t.match(/(?:\r\n?|\n).*/g);return i?(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 i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var r=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 o=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===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},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(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
`+i+"^"},test_match:function(t,i){var n,r,o;if(this.options.backtrack_lexer&&(o={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&&(o.yylloc.range=this.yylloc.range.slice(0))),r=t[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.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,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in o)this[s]=o[s];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,i,n,r;this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),s=0;s<o.length;s++)if(n=this._input.match(this.rules[o[s]]),n&&(!i||n[0].length>i[0].length)){if(i=n,r=s,this.options.backtrack_lexer){if(t=this.test_match(n,o[s]),t!==!1)return t;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(t=this.test_match(i,o[r]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var i=this.next();return i||this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){var i=this.conditionStack.length-1;return i>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(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},pushState:function(i){this.begin(i)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(i,n,r,o){switch(r){case 0:break;case 1:break;case 2:return 20;case 3:break;case 4:break;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 15:this.popState();break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}};return v}();$.lexer=O;function w(){this.yy={}}return w.prototype=$,$.Parser=w,new w}();K.parser=K;const At=K,nt=at.pie,G={sections:{},showData:!1,config:nt};let U=G.sections,Q=G.showData;const Et=structuredClone(nt),$t=()=>structuredClone(Et),wt=()=>{U=structuredClone(G.sections),Q=G.showData,ft()},Tt=(e,u)=>{e=pt(e,et()),U[e]===void 0&&(U[e]=u,it.debug(`added new section: ${e}, with value: ${u}`))},It=()=>U,Dt=e=>(e.substring(0,1)===":"&&(e=e.substring(1).trim()),Number(e.trim())),Ct=e=>{Q=e},Ot=()=>Q,Vt={getConfig:$t,clear:wt,setDiagramTitle:lt,getDiagramTitle:ot,setAccTitle:ct,getAccTitle:ht,setAccDescription:ut,getAccDescription:yt,addSection:Tt,getSections:It,cleanupValue:Dt,setShowData:Ct,getShowData:Ot},Pt=e=>`
.pieCircle{
stroke: ${e.pieStrokeColor};
stroke-width : ${e.pieStrokeWidth};
opacity : ${e.pieOpacity};
}
.pieOuterCircle{
stroke: ${e.pieOuterStrokeColor};
stroke-width: ${e.pieOuterStrokeWidth};
fill: none;
}
.pieTitleText {
text-anchor: middle;
font-size: ${e.pieTitleTextSize};
fill: ${e.pieTitleTextColor};
font-family: ${e.fontFamily};
}
.slice {
font-family: ${e.fontFamily};
fill: ${e.pieSectionTextColor};
font-size:${e.pieSectionTextSize};
// fill: white;
}
.legend text {
fill: ${e.pieLegendTextColor};
font-family: ${e.fontFamily};
font-size: ${e.pieLegendTextSize};
}
`,Nt=Pt,Lt=e=>{const u=Object.entries(e).map(p=>({label:p[0],value:p[1]})).sort((p,g)=>g.value-p.value);return St().value(p=>p.value)(u)},zt=(e,u,A,p)=>{it.debug(`rendering pie chart
`+e);const g=p.db,E=et(),y=gt(g.getConfig(),E.pie),a=40,l=18,d=4,m=450,I=m,T=dt(u),_=T.append("g"),k=g.getSections();_.attr("transform","translate("+I/2+","+m/2+")");const{themeVariables:c}=E;let[$]=mt(c.pieOuterStrokeWidth);$??($=2);const O=y.textPosition,w=Math.min(I,m)/2-a,v=tt().innerRadius(0).outerRadius(w),t=tt().innerRadius(w*O).outerRadius(w*O);_.append("circle").attr("cx",0).attr("cy",0).attr("r",w+$/2).attr("class","pieOuterCircle");const i=Lt(k),n=[c.pie1,c.pie2,c.pie3,c.pie4,c.pie5,c.pie6,c.pie7,c.pie8,c.pie9,c.pie10,c.pie11,c.pie12],r=xt(n);_.selectAll("mySlices").data(i).enter().append("path").attr("d",v).attr("fill",f=>r(f.data.label)).attr("class","pieCircle");let o=0;Object.keys(k).forEach(f=>{o+=k[f]}),_.selectAll("mySlices").data(i).enter().append("text").text(f=>(f.data.value/o*100).toFixed(0)+"%").attr("transform",f=>"translate("+t.centroid(f)+")").style("text-anchor","middle").attr("class","slice"),_.append("text").text(g.getDiagramTitle()).attr("x",0).attr("y",-(m-50)/2).attr("class","pieTitleText");const s=_.selectAll(".legend").data(r.domain()).enter().append("g").attr("class","legend").attr("transform",(f,P)=>{const F=l+d,M=F*r.domain().length/2,B=12*l,h=P*F-M;return"translate("+B+","+h+")"});s.append("rect").attr("width",l).attr("height",l).style("fill",r).style("stroke",r),s.data(i).append("text").attr("x",l+d).attr("y",l-d).text(f=>{const{label:P,value:F}=f.data;return g.getShowData()?`${P} [${F}]`:P});const V=Math.max(...s.selectAll("text").nodes().map(f=>(f==null?void 0:f.getBoundingClientRect().width)??0)),x=I+a+l+d+V;T.attr("viewBox",`0 0 ${x} ${m}`),_t(T,m,x,y.useMaxWidth)},Ft={draw:zt},Bt={parser:At,db:Vt,renderer:Ft,styles:Nt};export{Bt as diagram};
const c=Math.PI,x=2*c,u=1e-6,m=x-u;function E(e){this._+=e[0];for(let t=1,h=e.length;t<h;++t)this._+=arguments[t]+e[t]}function A(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return E;const h=10**t;return function(i){this._+=i[0];for(let s=1,n=i.length;s<n;++s)this._+=Math.round(arguments[s]*h)/h+i[s]}}class L{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?E:A(t)}moveTo(t,h){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+h}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,h){this._append`L${this._x1=+t},${this._y1=+h}`}quadraticCurveTo(t,h,i,s){this._append`Q${+t},${+h},${this._x1=+i},${this._y1=+s}`}bezierCurveTo(t,h,i,s,n,$){this._append`C${+t},${+h},${+i},${+s},${this._x1=+n},${this._y1=+$}`}arcTo(t,h,i,s,n){if(t=+t,h=+h,i=+i,s=+s,n=+n,n<0)throw new Error(`negative radius: ${n}`);let $=this._x1,r=this._y1,p=i-t,l=s-h,_=$-t,o=r-h,a=_*_+o*o;if(this._x1===null)this._append`M${this._x1=t},${this._y1=h}`;else if(a>u)if(!(Math.abs(o*p-l*_)>u)||!n)this._append`L${this._x1=t},${this._y1=h}`;else{let d=i-$,f=s-r,y=p*p+l*l,T=d*d+f*f,g=Math.sqrt(y),v=Math.sqrt(a),w=n*Math.tan((c-Math.acos((y+a-T)/(2*g*v)))/2),M=w/v,b=w/g;Math.abs(M-1)>u&&this._append`L${t+M*_},${h+M*o}`,this._append`A${n},${n},0,0,${+(o*d>_*f)},${this._x1=t+b*p},${this._y1=h+b*l}`}}arc(t,h,i,s,n,$){if(t=+t,h=+h,i=+i,$=!!$,i<0)throw new Error(`negative radius: ${i}`);let r=i*Math.cos(s),p=i*Math.sin(s),l=t+r,_=h+p,o=1^$,a=$?s-n:n-s;this._x1===null?this._append`M${l},${_}`:(Math.abs(this._x1-l)>u||Math.abs(this._y1-_)>u)&&this._append`L${l},${_}`,i&&(a<0&&(a=a%x+x),a>m?this._append`A${i},${i},0,1,${o},${t-r},${h-p}A${i},${i},0,1,${o},${this._x1=l},${this._y1=_}`:a>u&&this._append`A${i},${i},0,${+(a>=c)},${o},${this._x1=t+i*Math.cos(n)},${this._y1=h+i*Math.sin(n)}`)}rect(t,h,i,s){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+h}h${i=+i}v${+s}h${-i}Z`}toString(){return this._}}function P(e){return function(){return e}}function q(e){let t=3;return e.digits=function(h){if(!arguments.length)return t;if(h==null)t=null;else{const i=Math.floor(h);if(!(i>=0))throw new RangeError(`invalid digits: ${h}`);t=i}return e},()=>new L(t)}export{P as c,q as w};
import{i as a}from"./init-cc95ec8e-Hi12RPRh.js";class o extends Map{constructor(t,n=g){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,s]of t)this.set(r,s)}get(t){return super.get(c(this,t))}has(t){return super.has(c(this,t))}set(t,n){return super.set(l(this,t),n)}delete(t){return super.delete(p(this,t))}}function c({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function l({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function p({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function g(e){return e!==null&&typeof e=="object"?e.valueOf():e}const f=Symbol("implicit");function h(){var e=new o,t=[],n=[],r=f;function s(i){let u=e.get(i);if(u===void 0){if(r!==f)return r;e.set(i,u=t.push(i)-1)}return n[u%n.length]}return s.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new o;for(const u of i)e.has(u)||e.set(u,t.push(u)-1);return s},s.range=function(i){return arguments.length?(n=Array.from(i),s):n.slice()},s.unknown=function(i){return arguments.length?(r=i,s):r},s.copy=function(){return h(t,n).unknown(r)},a.apply(s,arguments),s}export{h as o};
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="374.41583mm"
height="83.078178mm"
viewBox="0 0 374.41583 83.078178"
version="1.1"
id="svg235"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
sodipodi:docname="ngs.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview237"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="0.78216891"
inkscape:cx="717.23638"
inkscape:cy="386.10586"
inkscape:window-width="1054"
inkscape:window-height="1058"
inkscape:window-x="0"
inkscape:window-y="20"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs232">
<marker
style="overflow:visible"
id="TriangleStart"
refX="0"
refY="0"
orient="auto-start-reverse"
inkscape:stockid="TriangleStart"
markerWidth="3.3239999"
markerHeight="3.8427746"
viewBox="0 0 5.3244081 6.1553851"
inkscape:isstock="true"
inkscape:collect="always"
preserveAspectRatio="xMidYMid">
<path
transform="scale(0.5)"
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
d="M 5.77,0 -2.88,5 V -5 Z"
id="path135" />
</marker>
<marker
style="overflow:visible"
id="TriangleStart-7"
refX="0"
refY="0"
orient="auto-start-reverse"
inkscape:stockid="TriangleStart"
markerWidth="3.3239999"
markerHeight="3.8427746"
viewBox="0 0 5.3244081 6.1553851"
inkscape:isstock="true"
inkscape:collect="always"
preserveAspectRatio="xMidYMid">
<path
transform="scale(0.5)"
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
d="M 5.77,0 -2.88,5 V -5 Z"
id="path135-5" />
</marker>
<marker
style="overflow:visible"
id="TriangleStart-7-5"
refX="0"
refY="0"
orient="auto-start-reverse"
inkscape:stockid="TriangleStart"
markerWidth="3.3239999"
markerHeight="3.8427746"
viewBox="0 0 5.3244081 6.1553851"
inkscape:isstock="true"
inkscape:collect="always"
preserveAspectRatio="xMidYMid">
<path
transform="scale(0.5)"
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
d="M 5.77,0 -2.88,5 V -5 Z"
id="path135-5-6" />
</marker>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(3.5096622,-46.267635)">
<g
id="g897">
<image
width="67.847748"
height="62.978123"
preserveAspectRatio="none"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURB VHic7N13vFxltf/xz0kPIZAQQocgvXekKB0EVEBFBKUIyk9sV+wgSLteuyKo104HBUUQUBBRukhH OkF6LyEJISQhOTnn98c6c3MYzpwzs9d6dpn5vl+v56Xem7332nvmzLP2U7sQEek8KwN7AzsDK/aV cYmv+TrwDPAs8HfgUuC5xNcUERERYD3gEqAH6C249AAXAWsnvWMREZEONgz4FtBN8RV/fVkAnAh0 pbp5ERGRTrQY9tZfdEU/VLkQGJvoGYiIiHSULuB8iq/cmy2/Ry0BIiIibl+n+Eq91fKVJE9CRESk Q0wB5lJ8hd5qmQOslOB5iIiIdIQzKb4yz1p+Gf84RN5MfU0i0o7GAS9T3UF1s4HJwLyiA5H2Nazo AEREEtid6lb+AIsDuxQdhLQ3JQAi0o7eUXQAAbYrOgBpb0oARKQdrVh0AAFWKDoAaW9KAESkHS1X dAABlABIUkoARKQdjSo6gADtcA9SYkoAREREOtCIogMQESmZ9wI3BZ1rO2wfApHSUQIgIvJmrwEz gs41O+g8IuHUBSAiItKBlACIiIh0ICUAIiIiHUgJgIiISAdSAiAiItKBNAtARIayMvAeYBNgeWyj munAc8A/gb8BMwuLTvI0EdtoaVvsu7AUNmvieeAu4HLgmcKiExGRELsANzL03vULgAuAtYsJc0A3 MXTcjcr2gXHs7Ijj+sA4vNYDLsQ+62bi3rGQKEVExGUS8Bdar7AWAD+gHC2LSgBijAROAbppPf5L sBYDERGpgPWAR8heafViXQJF//ArAfCbBFyN77swFVgn78BFRKQ1mwDT8P3g18rdwNL5hv8mSgB8 JgP3NIir1TId2Dzf8EVEpFmbAq8Q84NfK/+mmCRgCeDeDPGWLQH4NzA+MJZmTcb3/AYqLwMb53kT IiIytMg3//qSV0vAMsAhwGXAPGfMZUkAerFxFTcCRwIrBcbVSOSbf31RS4CISImkePMf6E02RRKw InA0cDvQExjvOwNj3DEwrh7gVuCrwAqBMdakePOvL2oJEBEpgZRv/vUlqiVgNLAX8Huam5KWpawb EGfNRoliXAhchbV6jA2IM+Wbf31RS4CISIHyePOvL56WgLWAH+cU81IZYxzIsjnEOw2bqrdGxhjz ePOvL2oJEBEpQJ5v/vWl1ZaAzYGzyTYPPUuZ2kJszXo8p9gXYmMgdm0htjzf/OuLWgJERHJUxJt/ fRmqJWA48CHglgJi+1mzD7IFvy7gPm4C9mXw/V6KePOvL2oJEBHJQZFv/vWlUUvArtia8kXFtWlL T7Q5WxR4P/cD+wFddTEV+eZfX9QSICKSUBne/OtL/5aAHfEt3hNR/pbpyTbnuoLv7UZgu75YyvDm X1/UEiAikkAZK/9auRu4ogRxzMEGGqayHv71CSLKXyhf5V8rSgJERAKVufIvUzki6wNuwWcLvL+q FCUBIiIBUlT+04DjyW9Ufh7luKwPOINvJLyPvMsC7NlNDz6vkgAREYcUA/5mYAPawEbpp1qIJ68y Fzg809P1OQTrcij6/j2lGziw735SfNc0MFBEJINUb/6b1F3nQKrbEnAJxW5Tuz7w5wHiqkJZAOxf dz+bo5YAEZFC5VX511QpCXgK+CFppvpltTlwMvA0xT+frJV//3tREiAiUoDUzf6NlLU7oBvbKOhE rHKqnwtfNqthu/5dBcyn+Oc30POsNfs3ou4AEZGcrQq8ROwP72Bv/vXK0hKwAGta/wixa/rnbRJw EHA55Xmujd7866VoCXgRWKXJ64uIdIzFsfn0kT+4zbz51yuyJeAB4ChguRZjroLlsZaBolZIbObN v16KloC7gHEtxiEi0tZOJvaHtpU3/3p5tgS8AZxB64lKlb0dOIv8ughaefOvl6Il4DsZYxERaTsr EjulLMubf73ULQGzgFOBlZ1xVtly2NiG6Aq2f8ny5l8vuiVgDvadFxHpeN8n7sfV8+ZfL0VLwPPA l4ElgmJsB0sCX8X6yCOftefNv150S8A3g+ISEam0qZSv8q85gJj172cDJ2FjHWRg47FVBmfjf95z sR0EI0UmAfcGxyYiUjlvo7yVf807yT47YQHwS2wQnDRnBeDXZG99eR7YJlFskUmAugFEpKPtTLkr /5qlgJ/R/LiAhcAF2A56ks36wB+wZ9nMM58P/BiYkDiuqCRgu/oTi4h0ko9Q/sq/vxWAr2F7079e F8t84E6sGbvIJXrbzbrA/2DPtn7mwGzgBmwMQZ7TJyOSgA/lGK+ISOkciO9H9AWKe8seAayErX63 EjC8oDg6yXCs6Xw1LBkr6plviH/RqqgBiiIilbQL/qbUF4EN8g5cOta62DgDdQGIiDishv+HtOiW AOkcEW/+tdLJa0CIiADwMDE/qGoJkJSi3vx7gftyjl1EpJQilwFWS4CkEPnm34uWAxYRAWAKMYvt qCVAUoh88+/FFilS87+ISJ8fE/cDq5YAiRL95t8L/CDXO2hzXUUHICJu44GbiH1zfwmbZdDJ/a3L YqsQroRNm5sIjAHG9v3nMGxzGoCZwMvAK8DT2BLNs3OOt0zWBa4mdn2BB4Gtsc2gJIASAJH2sCZw C1ZJRXkRW23wgcBzltFIYEtsF8QNsDfX9bHEyuMZLBF4GKu8bsL2tO9xnrfsNgT+AUwOPOcr2FbI jwWeU0SkbaTYf71dxwSsCxwL/I2YDXSaLdOBi4D/wpKMdhPd59+Lta68Pc+bEBGpoq2wH8zoMQFv y/MmEloN+Cv5VfhDlSexpXrXTnnTOVmd+D7/GVjrjIiINCFFEnAfsESeN5HA5lhTctGVfqNyP3AU sEyqB5DQRKybQ5W/iEjBUnQH/DTXO4g1GevOKLqSb6a8AZwNrJHkSaTxa2KfgZr9RUQcolsCurEB XlV0OsVX7K2W+X1xr5XgeUTajOa3HW6m6M1fRCRAdLP3z/MNP8REYhdLyrt0A+dR3gVwziTuXvXm LyISKLIlYCYwOt/w3d5D8ZV4RJkNfBWbtlgW44ibRaE3fxGRBDYjriWgam9on6T4yjuyTAV2C31C 2W1PzD3pzb8Aw4oOQERycSfwbuDVgHNtHnCOPHUXHUCwtYArsfEBixccyyYB55gJ7ArcGnAuaYES AJHOcQu2st9053kmBcSSp3ZcybALOAy4jWIHZi7tPP5VYHfg9oBYpEUjcr7eRGzBi7WwZTYXByag JYlF8nQHvibksVGB5ORW4DlsPf92sw52f0cDpxZwfe934WbgA32l09S6PmYDr7Fo2egZeQWQOgFY H3vj2BnYBttcQ0Sq7eWiA2hRN/AT4NtFB5LIGOAUrA/9/7Fog6I8vOQ8fve+Iou8iO0bcQ22odL9 xYbTmlWwNbYfovjBMioqKvFlH6pnJPAvin92qctNwFJBz6wZH0x0HyqLyoPAMSSYBhrZ9L45FuT7 0NgCkXa1ENvidVrRgWQwEbgUeGcLx8wAHsE2uHkaa66tTakE68oc11cmY+vhr0WxUyUfAPbA4k1t OeBZ9Jufhx7gYuBb2KDeUlgfuILisyQVFZX05UaqbThwJPAEb723OViT6/HAu4AVM15jGLbp0LuB b2ItDwsGuF7K8hS2M18ebsnpnlQWlb+Q3+c7oMWAE7F1q4t+GCoqKvmUD9EeuoD1gH37ymakfWsf D7wXWzVvFvl8VtP67iu1A3O6H5U3l/nYwM/cp4JuCTzqCFxFRaV65QHU1BthHHAQ8DesWTflZ/YC 6TcVGo6NXi/6+9mp5RFyWpujC2s+01u/ikrnlfcj0TbAdv5L2UXwKLB84vvYL2H8KkOXecB/Dfkp OQwHflmCG1VRUcm/3ITW60hpLSwRSNUicBewZOJ7+Gei2FWaL2eQYHr/aOAPJbg5FRWVYsq2SB62 Bf5Nms/watJuJLQN6bs0VIYuf6LJBZqGN/FvRgKXAHs3c0IRaTsXAifncJ1J2Mp2y2ADnOblcM2y eRr4DTb98J3AqMBzvw2rGK4KPGd/zwCbYp+hFGcd7HP4A5aQZTYMOJfiMxoVFZViygLSDiIbho0i v403vz12AzcAeyW8dtmtTXxrQA82GyGVdbHPrujvrYp1Kbm67b5bgptQUVEprvyWdCZiu9oNFcP5 VG//gShjgF8Q+5lOI8Gqcv1cGByvSvbyzSE+q4beg/pzVFQ6vaSaRz4Ke8NvNo5L6ewpiIdg3SJR n+uNpNsLZsvAOFV8pYcM3ferAK+UIHgVFZXiyt9J59sZ4vlUwniqYA9sKeKoz/eYhLFeHxiniq+8 DKw00IfUqH/gCuzLlkI3cA+2cMTTwOt05mAfkdROxJqQs9oDa6KPtiG2JXGrI9KfxV5OXAObKm4r bBnYSQHnmoMt5f5EwLnq7YW12mQ1FzgpKJayGoMtCrUyNt5jQ9K1yvyFAcZ+DJQAfBAbPRhpPjaT 4DxsKsprwecXkTfbBJv7ndW9wMbYG0SkYVjz8zYZj98G20M+L8OAVbF5+utgm9/UNgDqxV5gZmOb BT2Evdg8SdokZSPgOmBCwLkuI80Mry5s5UjPjICNsO9hpxgP7IINit2b2BkgYAt5/WmwfzAOeyuP anqorVWcdVMNEcnmJHx/u59LFNcRzrg+niiu/qZgq6pdRLau0GnYQLjPkG6w3fbYW3LE73SqKd5f dsZ1fKK4qmAl4CfEjvt4giEG034+8GK3Ys1LIpK/u8n+t/sGsHSCmBbH1qYvY2IyGjgUuAbb8jjq d3AhNpbiYOLf6N5HzJS7x7HN3aItj2+JY08LVrvYAJsiG/V9/GyjC43GFnKIuMhPif+yi0hzVsf3 93tRoriOdcbVS/xuhOOw/U2ifvsGKy8ARxFb2X4pKLYvBsbU31+ccb0tUVxVMgr4GTGf81M0qJs/ HnSBY+PuW0Qy8Da97pMgpgnAdGdcC7E++Ch7Edvl2Wx5DpvWF6ELuDggpudJs9aCd5OgLySIqaqO I+b7d9hAJ4/YyCHzogMi8n+WBVZzlH+R/W/4RdKsF/9NR0y14hlV3t8U4B8B8XjLX2kwPatFS2ED D73xpJhmOQZf4vdPfH8Lyya4pyJ9B//nfH39SdfAv+jPn9BuYSKt6gJ2wgbLPkzxW23/OsE9LoZ/ XZEFWH+o194BsUSWl7FF17y2xT924XHSJH9nOePylvnY39YpwI5Uu57qwmZueJ5HD5Yc/Z8TnCd8 HlvWU0SatyNwC8VXQv3L+xPc5ycD4vquM4Yu4BuUc3XTHqx51ytiyeBDA+Kot39AXJHlZmwWRVVN wlrqPM/g6/1PeKPzZAclulGRdjQc+BHF/xDWl3nYXORo9zjjehKbQZDVcOLX009R/hffcscT8VcM tzuu38gEfLMBUpXv09yOuGV0KL57/79ugMXxzTW8j2o3qYjkaTRwOcX/+A1UUmwTu3NAXB9wXH8Y tgBZ0c+22XIWvt/TwwJiSDF9+9qAuFKUP1PNGWvDgAfJft9vYDNg2N1xkl4ajCgUkQEV3R86WEkx 4vo0Z0y34qsQy9jSMlT5ieN+u/C3uHzHcf1GvuKMKWX5TYL7zcPh+O57N/B9MLPxNc2JdJJPUfyP 3WBl9eD7HYV/wN1ujutHzZEvojRcsKUJH3Ze+xnim8bXdsaUuuSxwmS0JbClqLPe85fAsp+sJ7g4 +S2KtIclsSVii/6ha1RuSXDPexcY01bELqOad5lP9v0ShgNTndffJeO1B3OXM6aU5SWsQq2aP5P9 nn85DMvMsrrWcaxIJ/kCMTu4pZKiGdS7at+PMx43EdvQLMWUtryMxMYuLJnh2IX4m/H3dx4/kDI3 tU/G9n+omqsdx64D8AjZM4idHBcX6STeN7KU5SHiK8su7K0qa0zPkX1wVhVG/DdbTs34DMYAMxzX fTTjdQczEviPI6bU5b4E95zarmS/34fBtznHKunvT6Ty1qX4H7dGZQG2HkG0TZ1xfTvjdd9O7GY+ /Z/Tv7A12b8AfKKvfBH4OdZdEbExT33p7nuWWfzaee1VM153MLuR5vOJKmskuOeUViX7vT4PvkEE VewzEcnbRyj+h61R+VKie/aO+t4k43UjljTvX6ZiFf2EJq69FDbQM/otN2sz7/bO634s43WHcowz rpQlerOp1JYk+73OBt/KWFXuYxPJSxlHo/cARye85yscsT2Y8Zo7Oa5ZX17Gdu7L0g0xEksang+M 550Z4ujClvfNes1zM1yzWVEb20SXzye85xRG4vgNGIFvjm2v49goo0mzl7VIlLJ1lb0EfAa4MOE1 tnQce1nG445xXLO/a4EPYlMYs1gA/ArbH+WPZKu86x0DvLvFY3qxRac+nfGaO2c8rhnfwPqgfwos nfA6rVqF5pe1n4MtqFMkTx3cVTtB1jLCcfEsRmEbZ/wIuIlybeqholL2MhP4Hul/cFdxxvmuDNdc k5h1/n9JbMvmKOD0gLh6yNYn792ON3L75YEsA5wMvOqMs6jyCtbtdDKWoOW9quAIR+y9XX3/JauR 2CCV1FbEBtt8lHJPpRKJNh2ruLOYgzVlPwBcA/wNeC0orsHsDVyS8dh52N/4nBaP+wZ1G5xkcCHW B+z5TRxIF/A7/FPrjgP+p8VjJmEtPln3GNiJfKZ7L4ElfjsB62HT8sZmPNcEbDxGEaZhq32ejM1k SW0E1uKUmSf7Sd0CMA6bzzrPGaeKSlXLUVTP18l+vzdlvOZjjmv2AreRvcJpxjj8C+E8lPHanuse kfGaRTqW4v9u5wHfIn33tKsFwLPzVGpbAHdjP4CjC45FRJrnWVzsrgzHrAW8zXHNBdjyuXMd5xjK 69hsEE+L6dpk6wa403lNad1o4GtYHbZZwbE0VNYEYH9si+LotclFJL2VHMfeneEY72C1X2ALoqX2 IDYewCPLvU51XE8JgM8aWKvWfkUHMpAyJgCHAb9Fb/0iVeVJALI0c2/vuN7rtN6v7nEivpaGHTIc 40kA1nIcK2Y0cD5waMFxvEXZEoC9sNWryhaXiDSnC18C8FSGYzz71/8RGySXl+fJPkASbIBcqzwJ QOpZAJ1iGFa3tTqVM6kyVbRTgDOJ34ZSRPKzBLYOfRa9tD5yehg2BTCrixzHFnHNtWl97ZYnHddb HLXGRhmBbfDkGa8SqiwJQBdwDsVN3RCRGJ5Rz69g2+C2YkWyj97vBa7PeKzHdY5jxwPLtnjMXHxT xTT1Os4EbByIZwG+MGVJAA4Gtis6CBFx8yQArc79h+bW6G/kOWzHvLy9hM0XzyrLPc92XC9ri44M bEds1knhypAADMe/gIeIlINnLn2WBGC843rPOo71etpxbJZN2DwLQKkLIN5JlKC7uwwJwN74+vBE pDw8b4tZ1lXPu8UhyuuOY8dlOMbTAqAEIN4a2KD3QpUhATi06ABEJMxCx7FZkgfPZix5r9ven6el ZF6GYzyJmWupWWnokKIDKDoBGEO2jT9EpJw8FXKW5nxP0/YyjmO9JjuOzXLPWboNaore8a5d7U7B rSt57+ZXbxtiBpjMx9ekJpLSWDpnIFWVEoC3YZ9Lljdqj3H41kqYleGYxR3X66QEYB7NLdQ0Dn8L 0mLA1vhmhbh5NjzwJhBHOq//ALY0ZuT2nSLRfkD273jVNgOaSPZ7XUjr06NGYU3UWa+5Y5abdHpX xlh7scq41d/dkY7r9ZJ+Q5tons2AvtvkNUYCu2DLO3ue7X95bpSKbwbkGfz3MvbHezXqoxIpi5lk 3/BmGK3PcZ8PPJ7xegDvdRxbxDUfofXnu4LjevModrBkWS0A/oHVQZ4pnYUOgC86AZjoOPbX5LuE p4gMrRdb0CerLJvPZN0mF2yHvjz7YccCBziOz3KvnvX8X3Yc2wlexOqirApd/K7oBCDLdJaae8Oi EJFIjzqOzZIA3OS43vLAZxzHt+rz+AYA3pjhmHUc18tjl8Squ8dxrGdshlvRCYBnOcRWlwwVkXzk vf3s1Y7rgS1Elseb2ETgK85zZLlXz5a+ns+yU3jqokKXBC46ARCR9uOpNDbKcMwd+Jb0nQic4ji+ GV3Az/F1e75EtpbPDR3XfNhxrJRc0dMARWRw7wdWy3jsfGyA0kPANeQ3ZsaTAGyL9cm3MvVsIfAH 4BOO6x6MVa7fd5xjMMcC+zvPcQHQ0+IxiwFbOa7pGV/RqmWBnbAWi8lkn921aVhEHcAzhcGbQFzi uPYHnNcWyYtnGmBU6cGaj/cifbPjus5Yt89wzXc4r9mLja4/KMO1h/IxLEnxxrdlhmvv5rxm1uSz WcOwJPc67Dta9N9Js9MA+/uA43qXZLhef5WeBigi+ejC3q4uxaYvpfxhfwTf1LGdMxxzEzYn22M4 cDbwLWK6R4djyd9pAee7B7gtw3E7Oa75GvCk4/ihrAlcC1yEJX2l2CK3kygBEElvetEB1NkJuAtf 5TCYBfhG5mdZHrwX+I7jmjVdwNeAK/H1nW8K/B34UkBMAN/OeJxnqfXr8e3tMJjdgDsp3zbwnims laMEQCS954oOYABLAFdgP8QpXOM4dmtg9QzH/RZ4zHHd/nYF/g2cTmvT6NYHzgFuJ26VwanYGIdW rQVs7riud3ZFI+8B/kzBU+AaKOPfajIaBCiSXlmnUo0GzscqiSeCz+2pPLqwQXkntnhcNzbY7neO a/c3DDisr9yJvdHfia08WHtTXBrbU2ALLJnKMothKF8j25v4R53XTZEArAGcS7E7MQ4mz0GPpeAZ MKFBgCJDG46tGFb0AKdG5aoE9zwCeNUR0+Nk7xO+wnHdspW/ZnwGXdgzzHrdaaRpIb7OEVPq8izZ vnMaBCgiDS0E/lR0EIPYFduaNFI31oec1apkb0I/kvZYv3428OmMx+6GPcOsrqH1KYdD2YtsMzzy cjFWMXYMJQAi+fgO5d5W1bsr2UAudh5/dMbjHibN/eTt02Qf0/A157Uvch4/kM8lOGeUeaRbA6LU PE0m6gIQad4pFN/M2ajMByYF3+/i2FusJ64sc99rznZeu8ji2WBmG+e1XyV+C+Bl8G3bnLpkmf9f oy4AERnS0cCtRQfRwEhsdHak2fh/4I5xHHs4acY3pHYN8FnH8cc7r/9H4rtQ9qK8g87/hf+ZVZIS AJH8zMPeFlIuruLx7gTnPNt5/D7YtMAs5gMfxNY8qIp7sO9I1u6i7YE9nDGc4zx+ICm+WxEex/e8 K8/TbKIuAJHWLY2tgFZ0s2d9mUn29dcbGQY87YzrHny/NUthCxMV/XyHKrfg2yp4BLZ2gSeGJ4l/ MRwFzHLGlaLciO0/4KUuABFp2jRs1P1x2HKrZbEkthlPpB7gDOc5NgQ+5Th+OjYqPuuUujz8HZuN 8bLjHJ8HNnbGcRrxo/93AMYHn9PjVaxraWdsem5H82RQagEQ8VkGOAFbYKboN6JefIOhGlka/2DA mcAKzjhGYIsLRWzME1V6gFPxt7ysjCWTnlhexbddcSM/csYV9Zxvx5LupYPvr7ItAGUdlCHSKV4C Tuory2Ob9CyPNVtndTS2Ol0W+wBHOa49kGnAL4EvOs6xJHAe9pacdX36biwBuA17041o/vV4Hlut zztQcThwJv6ldf8XmOE8R70u7DuV1WP4ktLp2PK+j6K3/QF5siq1AIiUz/fw/V179o9vZDlsZLn3 Te6EoHgmYG/e3QExtVoWYgnREkH38q2AmF7HWqOi7eCM65sJYopW2RYAnAcrARApn3fg+7v+WaK4 fuaMq1Z57hoY0ybYojd57EW/EPg9vl0G6+1MTBLzo8CY+jvdGdfbE8UVSQlARkoAROINw5qXs/5t zQTGJohrFexN01tZvYTtdBdpA6xbwLN/wWDP81fAusExr4t1r3jjm4V/fMVAxuEb/f8c2feDyFNl EwDNAhBpPz3A5Y7jlwT2Doqlv6eIadKdjI2aXzngXDX3AR/Huio+AlyAJRpZvYDtSrh/3zk/ATzo jLG/FbFNjyJWbzyJNNvg7otv9H/tBVES0SBAkfZ0CfAxx/GHYZVgtB8AB+F/G14ZS3K2J3bg2lys 4v4d9va5PrZd8tpYq8NyWKVWG3D3GjbD4QVs2+epwB3A/YEx1VsSu/cpAee6H/hxwHkGcqjz+Esj gpDBeZqO1AUgUk6jsDnlnr9v75zyRnZ2xtW/3Ez8HgZlNhmbxRDx7HqA7RLFuTG+cRUvEr8oVSrq AhCRUpkPnO88xxciAhnA1dgbdoStsBXdVgk6X5mtCtwAbBF0vrP6zpfC0fj678/DNg+SxNQCINKe Nsf39z2f2H72/pbB+p2jWgKexgbytauNiX9e0Qvi1KyKf+e/VK1PKagFQERK5w7gbsfxI4H/Coql 3kvAh8m+qE+9lbD1/j8SdL4yORhr5Vg+6Hzd2HOaFnS+el/A93Lo/d5KC9QCINK+voDvb3wmtmhO Kic44xuonE38fvZFGIMtVhT9fI5OGPMk/EsSe7ZCLkJlWwA0C0BaMRzYBts3fm1sRPSowPPXlu28 ERsB7JmGJeYcbOpd1nn9SwJfI3554JpvYAPRdgk858FYE/LHsfXfq2grbF2C9YPP+1dspchUjsW3 JPHrwG+DYpEmqAVAhjIcmxb2JPFvI43KQmwg0Go53F+7+wW+z2IuMVPOGlkOeMYZ40ClG1vfPmUL RrSlsGWCU2xY9CS+7YaH8jZgnjPGVFMSU6psCwDOg5UAtL8VsKlW0T9GzZY3gCOS32V7Wwt/hXJW 4hg3wFqAUnyHXsBaA8o8rWwU9j33Tt1sVKYRvxJhvd85Y+wGVk8cYwpKADJSAlBu65LmzSxL+WHi e213nr+1XiyB2DxxjFvh3zZ4sPIkcCRpljnOahRwCPAI6e57DrY/REqb4E8yf584xlSUAGSkBKC8 lgL+Q7ofpSzlc0nvuL1tj//5X5lDnHvhn0I2VHkW+DppuzWGsipwPL49G5op84F353A/fw+Idesc 4kxBCUBGSgDK60LS/jBlKQuo1vzgsonoytkmhzgPI00feH1ZCFzTd72Jmuf8WAAAIABJREFUOdzX UlhXxHXkt/vgITnc1zsDYr0uhzhTUQKQkRKAcno7+fxAZSlXJLzvdrcr/ud/UU6xfhgb/5HX96ob W2L3u8Du+DaxqVkC2BP4PjYbIY+kplbewDYiysOlAfFun1OsKVQ2AdA0QBnIUZR3G849sP3U7y06 kAr6O/APfFPu9sDm2M8Jiaix3wGvAH/EN62sWcOxJXa3AL7a9397GngY2+DnYWxNhNnYlsGz+v7N EthUycWxVoS1+sra2OJERXgNeD/2Wac2DtjNeY4rgOsDYpEMPFmbWgDaz1jSDsSKKMcnu/v2F9G6 s2uO8W6BrQdR9HeuKuUFYLNMTzqbPZ3x9gCb5hhvCpVtAdBSwFJvayyrL7Odiw6gwm4FLnaeY42I QJp0O7ZQ0NQcr1lVD2L98XfmeM01ncf/HrgrIhBpnRIAqZdq85dIVYixzE5xHr9iSBTNm4q1BJyX 83Wr5BysdeeRnK/r/S6cGhKFZKIEQOotU3QATViu6AAqbDK2Op5Hd0QgLZoNHAR8lPTjD6pkHvB5 bLT/7AKu7/0u/IJ0uxLKEJQASL0yr5ZWU4UYy2gycDU2iNJj1tD/JJmzsW6qBwuMoSzux1pGinyL ftV5/EbY4FQlAQVQAiDSGSZjo8I3CDhX0Vu13outB/F5bPOYTjMXOAlbmfH+gmO5L+AcG2PfTSUB OVMCINL+ot78wRZjuiPgPF4LsDffjYDLC44lT3/Gdgg8EZvrX7RbsfUNvNQSUACtAyCRzqH55sgx 2La/klbkmz9YZett9o30GLY99fuBk7EldtvRY8AXsEV3ymQacBW2PoRXrSVgl77zSg48czi1DkD7 +RrZP5NW9hlfzHGd+Y776ySTsebyyHnme+Z6B60ZiQ2Ge5DYey6yPAp8gnKPe9mb2Hu+m2q1BFR2 HQC1AJTHKGy+83uxVcRq02uexaZB/QVbLUuVX36mYG+XO2LbIi+FrU73HLaG/OXAU0UFN4ToN3+w JtoyL8W8ABskeC72uZ1A+h0MU7kPW0L4PGKa2FO6FPt72CnofBuhloDceDI1tQD4jcDeWh5j6Ht+ BtvOdHTCeNQCAOtgFclQa7f3YAuZrJU4nlalePOfTr4LAEXowlosLsAGzkU+jxRlDrYE8h6Udynu RtbBuoYin0dVWgIq2wKA82AlAD6TsV2wWr33O4FVEsXU6QnAJ/rO30o8C4DPJoypFZOBe4j9Ie4m ny1lU1oSS7SvonwbXd2OJfaTkt19PnYnfivnKiQBSgAy6uQEYH1ss5Gs9/8sabbG7dQEoAv4iSOm XuBHFPvmlqryPzDPm8jBqsAnsdabIvYZeBE4H0s2UyXyRfkQ8UnAA5R78S8lABl1agKwAfYj4P3D mEZ8EvBdRzx5JQALsDe6KF3ALx3x9C8/o5gkYDz2thRxD/2fc15byhalC+tz/jxwIdZ1Mo+4ZzgP S8r+gL3lb0j1mvdbdSCWOEZ+F++kvHuUVDYB0CDA/K2DNUNGLLk7CRt88y6sGTGr9YH9sD3Yy9af PZAR2GC8m7Ef1vOxhCqLLuCn2NtYhE9h8X0Sa2rOQxdwGlaRRVkIHIr1n7ezXqyCvodFeyQMxwaA ro39va6C/a0thVVC4+vO8Rq2INErfeVJbODu1L7/ntf3oCzOw5LH84ibar4pNs14X+wzkyCerEwt AK1ZB3ie2My4FxugtUWLsawIHIVtHhIVR14tAPWlG0uq9qO16VJd2Lr40Z9HL/Ar8lto6/PBsXfC m7+kl6Il4NO53kFzKtsCgPNgJQDNi2r2b1Sa6Q7owqZH/ZWhR7hnKd9p4XmMSfQcngO+wdB9hpHN /o1KHt0BixP7vWrHPn8pTvSYgJd4awtM0ZQAZNQpCUDqyr9WGiUBY7Em7tQLpHylxecyO2Es84Az GLhZPI/Kv1ZSJwFHBcaqN39JIbol4Av5hj8kJQAZdUICkFflXyv9k4DRwH9hb8V5XPuAFp/N1Bxi 6gEuYlEikGflXyspk4Bbg2LUm7+kFNkScEPOsQ9FCUBG7Z4A5F3518o0bDrfUzlfd6UWn89vcoxt ITag7aycn0mtpEgCliGmK0dv/pKHqJaAbmxAZlkoAcionROAoir/okqWWQjRa4iXvUQnATsExKQ3 f8lTVEvA1nkHPojKJgDaDjiNyKl+VfGjDMf8GZuF0Ck+RezsAO/iKAuBj2LTtUTy8HsWtQR4LB8Q S8fTOgDx1sHm5pd55apod2F/2K3qAb5I+bY4Tenwvv88Av/88DHO4x/FNjTKSxfwTmzDqy2wFfnG YQM2n8C+R5cD12JvieI3Ctuk593AJtj6BqOxfQcew1ruLgNuyjGmf2DrI6zuOMdiQbF0PE8zjLoA 3qzTmv17sUVQvDvOFdUvX2SJ6A7YIyCO24GJzjiG0oUtMtXsoM8ngc+QdtOrdjcGGwDc7HLjD2Dr aKQ2CUv0vN/bXXKItVmV7QLAebASgEU6sfKfB+wW8OxGAVeW4H7yLt4kYMOgOFImActiLWJZ4noC ay5WV2XzhgEHY0lUlmf+N2xPiRSiKv9ebJXGslACkFG7JADrEl/5z8BW+Is8Z2R5htiBOKOBn5fg vgYrzWzZ3Gr5qeOZDSPue5ciCVgfeDwgtjso1xtfWe1GTAX7KNaVGSmy8n+Gcu2noAQgo3ZIAJYC /kPMF7tWZgBbAptha4tHnttb5gE/JN00nD2Af5fgPuvL6dgyw2cnOPeRjud1RmAckUnAhsTvtHcF sFVQfO1kG+Jb0F7AErgIkZV/L7aOR5koAcioHRKAy4j9w6tV/jVlSALmYU2DR5DPnuVdwLbAj4l5 g/SW01nUDD2c+CRgAdkrti2J3d/+Lvyf8bqk2fOiVm7E+quHO+Ossi5gL2y2Uarn/CL+8T0TgNsC Y+rBfhPLRAlARlVPAHYk9g+uvvKvKSIJeAGbsvY+bL35Iq0PfBW4njR7GAxW+lf+NSmSgGsdz+fi 4Fg8LQEp3vwblfuBw+iswYJjgI+Tflnv/r8DWVsCot/8eynn7pRKADKqegLwd+K+2I0q/5o8koA3 gD9ibxZlnSI6BTie2F0MG5WBKv+aFEnAdhmfyWrEfzeyJAF5Vv79y3RsV8d27h7YBhsjM4P8n2+W JCBF5f8S9vdfNkoAMqpyAjCRuLWth6r8a1IlAc9im8rk0bwfpQtrgbmU2CbwWhms8q+JTgJOzvgs wAbJRe661ktrSUBRlX99eQD7Lq/cZNxlNgVb0vshin+urSQBKSr/+djfexkpAcioygnAvvieXa00 W/nXRCYBtSbUUS3ffbmsC5yGjVWIeC7NVP41kUnAfZnufpGPEt9F0kwSUJbKv778G/gmNp6kCuMF hgPvAL4N3E3xz6++NJMEpKj8u7GpjWWlBCCjKicAX8T37HppvfKv2ZjmF/gYqDwJHET7za+eApyL rxI8ldafS1QSMKvlO36rQ4lPAu6gcRJQ1sq/vrwMnIPtP1GmMQOjgX2w7+00in9OQ5UXaZwEdGLl D0oAMqtyAvAdfM+uB1sWNasVsJH5rVxzBjaYzruEbNltRuvjM2Zgg6uyGg78tcVrDlTGOWKoOZR8 koCqVP71ZRrwZYr9OxgLHE251/poVAZKAjq18gclAJlVOQH4Or5n14tNIfQ2v78PuI7B+8GfA47D puR0kh2w+dGDbUH6MraugXfjpl2w9dU934cFxLXKHEraJKCqlX//8jCwUZaH67QptthO0ffvKf2T gE6u/EEJQGZVTgAOx/fsaiUiCQAb9LQ/8A3ge8B3sfXUt6T9mvpbNQnbhvQYbNfC7wBfwFpgIp59 ROXfi61wFulQ0iQBO1D9yr9WXsc2ysnLPsR8V8pQXgS2p7Mrf1ACkFmVE4Coddh7sRXO2r1Zvl1t D8wm5nvwxwTxHUr+aydUrbyODb5LbQdgbgH3V6VStcofKpwAdPqboce92GYlEfbAFnNRElAt22Pb 10b024O1BkU7Exvb4N16OJWZWDdMkRbDtrNO2UU2CTif4v/GXwJeLTiGRhZis5LOKTqQTqEEwCdy Teo9gD9Q/Sl5nWIXbNBfVOU/DUsCUziTciYBM4F3YfvCn0jMLIisVsC6zVL5IbBcwvMP5VVsHNDq wO6ULwlQ5V8QT3NNJ3cBgI3kfYbYJjB1B5RfZLN/rXwhh7gPYPABkXmWmcDb6+KbhI3PKKqPfD5p FhCaQvwiTc2WN7AXlfpBrptTnhkI3cAhrT7UEqlsFwDOgzs9AQDYk/gf1YtQ60xZvYP4Cup68mv5 OZTixwQMtf7FysBPiE+ymin/3eRzbMW3C7iP14BTgBUHiWsrLBEr8rtQxT7/ekoAMmqHBABsTnH0 H0bK5kjJZlXiR78/jn8KYquKbAkY6M2/kSWwrZI9i161Wm5tMrZW5Lm99QtYd0qz23UX2RJQ9Tf/ GiUAGbVLAgBwErF/HAtp781NqugvxH7GT2F9skU4lPxbArKufDka+Bj5LI/bTdy4DoAlyec534V9 pllakopoCWiHN/8aJQAZtVMCANZ8GPlHcn2+4csgdiP2s30K28WvSHm2BLTy5j+Y9bFxAinXIVgj IM6a9RLGOQPr3/esKFqzOfltOd4ub/41lU0Ayrrla1Udjz3Y44POtx32A/JA0PlSGYW9ya4DrIU1 lS+OvUmNB0Zi859fw0Yfz8BWYXsImErx08Ca8cnAcz0N7AQ8FnjOLGrT0k4j7ZiT2mj/2wLOdT+2 hO4J2KI6hwK7Yt+xKJOx7aYjRO+wOR+4CpvZcRk2yC/CHdiCSFdirRapaLR/yXgyObUADCyyJeC4 nGNvxgjsjeEo7MfoDXz3+AI2D/sTtL7veB5GE7fTYBne/OulbAmIevMfzDhgL2xDpoim7O0DY9s5 IJ7ZWGV/CGkrZ0i35Xgv7ffmX1PZFgCcBysBaCxqTMCleQfewDCsqfGX2Jt8ih+IWrkfG8g0JY8b a8LbibmvIvv8h3Io8X3VM4AtcrwHsNao3bFFurLGXZYE4DGs6ynvtUFSjAlopz7/ekoAMmrnBABi koC7c4/6zSZhlXH0egfN/mhcji26U6T98N9LmSv/msiWgDze/AfzzwZxNVPKkgAUOQYosiWgXd/8 ayqbAGiueVonYJvzeCwWEUgGy2AV/6PYfQw2nziV4dg6C38H7sQq4q4C4vB+Bk8DO2LPsszOx97S 5jnP8wxW8aWYUif5uBNrSXnOeZ45wEew7hkpGSUA6V3lPH5mSBTNG4nNva5V/Kn7HJu1KTZO4Fay TSXz8C6b+hTFD/hr1u+wN+BnMx5/E/b53BkWkRTlduyzzJrIPYUNZP59WEQSSglAet92Hv9ERBBN 2hFbtOQUbBR/GW2BVTKnYgvF5MH75v4ObBR8VdwGrI2Ntm82AX0KOALb8e6FRHFJ/p4DtsG20242 iZ2NLWS2IUoES8/Tt6MxAIPbE3//2adziHM0VqH2BMSbZ3kK2DbB86g3DKvUPLHeRjHdF14TsLEB 5wL3Yf3CC4HnsR/3H2NNxWXbxEpjAOKNxjYt+ym28NDz2HdhGvbdOBvYn/K0GualsmMAcB6sBGBw N+N7vt2k2ZykvykBcRZZFmBjFVK3Zv0mINY9E8coiygBkLxUNgFQF0A62+Nfyvd8bABZKrsD91Dt JYdHYGMVfk/aXRR/gH873S9FBCIiEkEJQDqfdx7fDXwzIpAGPoItLpJXP3pq+wLXEL/yWs1DWELm sQuwcUAsIiJuSgDSWANbptTjdODBgFgG8jlsKc7I5VPLYGvgamD5ROf/Ov6lV78YEYiIiJcSgDSO wPdsZ2P92ikcgQ34a9fPfiNs6mWz26G24nHgf53nOABYOiAWERGXdq0EijQS/5KXP8RG2EbbB38F VgXrYysIRm7rWvNNbInbrEYBHw6KRUQkMyUA8d4DLOs4fhbwo6BY+tsRuABbXa8TbAX8lvjv+HRs GpTH4RGBiIh4aDvgeIc6j/8V/pXn6i2PDWAbHXzeetOBW7CxC1OxN+XapiKLYW/kb8MWmdkE2IC0 SejewLH4l2Ou91Pgy8DYjMdvhN3/v8Mikki/w78cck3W74hIckoAYo3HptZltQBbWCXScOA8fK0S g3kUG1B4GVahtTJVbmlgJ2xGwrtJs5jMCcANwLWB53wJOAv4pOMc+6EEoKxWKDoAkbx4FjbRQkBv dgC+55liw4wTnTE1Kn/DKu+o1e2WBo7HVhWLjvU5YHJQnDVr4ts+96HgeOTNbiDN9z7Pcm30Q5Ek tBCQADYX3eNXIVEssj5wTPA578SW330XNu++N+i804D/BlbFBtrNDzovWBfIDwLPB/Af4DrH8Wtj XSCSxktFBxBAeypIUuoCeKsubC/s92L7ty8PTGzyWM8P+qPY8qVRurAR/1Fz/edhm8P8FHvzTWU2 Nt/+HOBMbG5/hIOx5XxvCDofWDfATo7jL8PW1h/KfKxCexr4FzbDIe9dIqvGu41tGWTdkVGkaZ4m qnbqAhgGHAQ84ojJU44Lvp+DA2P7D7Ydb95GsmgJ3oj7uJfYxY8WB14Liq2VMh84A1gl8F7azccp 5u84shwS/lQkhcp2AeA8uF0SgOWxLWaL+kPvwZq+o4zEthGOiO1W4vvPW3UINkAy4n6ip+CdFRRX ljIX+H/B99MulsGW0y7qs/GWbrRgVFUoAcioDAnAeljTapF/7HcH3UvN4UFxXU2axXSyeB/25uu9 p0eI7fraNyAmb/lh4P20k6so/rPJWi5P8DwkDSUAGRWdAEzCmreL/mP/VsC91AwHHg6I6W5sL/gy ORDfyPtaOSgwpiWw/QGK/g55N59qR28nrvsoz9IDbJ7geUgaSgAyKjoBuNRx/cjyzoB7qflQQDzP kW7dAK8T8d/fvcEx/T0gJm/pBrYIvq92cB7FfzatljOSPAlJRQlARkUmADs4rh1ZphHbJP1XZzwL gV0D44k2DFuDwPvctwyM6fMB8USUfwTeU7tYHGvNKvqzabbcRXm63aQ5lU0AOnkdgKOKDqDPhdjb W4Tl8VfeJ2NvtGXVAxyGjb73iBxhfSGtrYCYys5Ys7csMhvbBOvRogNpwn+w5atfLzoQ6QydmgAs CexSdBB9zgw810H4Nvt5BjgpKJaUnsW/XfKHiVt6+BnKkzS9v+gASugJLDEqcwvJVdgGVk8XHYh0 jk5NALYjzbrzrboEuDnwfN5ukWOxN6Yq+DG+t7pJWDdQlGOxZrWilbn7pkjTsdUrP4QlBGXxLHAE sCe+baZFWtapCcDKRQeArQB3ZOD5xuMbBPY4tn1uVXQD33Wew7OKX73bSbONc6vK8N0uqx7gD9gS 2R/BtseeVkAcL2G7cx6A7SnxK9KurikyoE5dCni5gq8/D9gfeDLwnDvg+zxPIW4sQl7OAv4HW/Ql i+huoKOw5aDfFXzeVkzGvgdV+yzzNAfb8vd3ff97DLAi6ae9zsBm2ERtNSzi0qkJQORysK2aifXT Xht83p0dx86nWm//NfOxH/GsLSmbY+NBXg2KpxsbxHUu8MGgc7ZqGEoAWjWPagwSFAnVqV0ARbkU 2JA023x6Fg65kmKaQiOc5zh2OLBJVCB93sD6mT9Gcxv9iIgUQglAek8Bp2EV9D7YiPEU1nEce2VY FPm7HV/ysnZUIP30You5TAE+C1yPJQYiIqXRqV0AHmdhTbyD6QVeBl7sK6lNIHs/ONia/1XVi7Wo ZG1yT5EA1LyObcn8v8BobPe+ycBiTRx7JUrQRSQhJQCte4zyzPmu8VRirwMPRQVSkNvJngB4Wk5a 8Qa20Mt/mvz3ZZhSKCJtTG8Y7cEzq6G2cVCVTXUcW9Y9D0REklIC0B4Wdxz7WFgUxfGM4B4fFoWI SIUoAWgPnkpsZlgUxfFM41MCICIdSQlAe/C0AFRl6d/BzHIcqwRARDqSEoD24OnD7wqLojie73HV xz+IiGSiBKA9eN7iPa0HZeF5i/duKywiUklKANqDpxKbGBZFcTz3oARARDqSEoD24GkBWCMsiuJ4 7kEJgIh0JCUA7eFZx7FrYmviV5lnIaTnwqIQEakQrQTYuvWB/Zr4d7OxZYDvJ/068LXFfLIM6BuD bVD079CI8rWV49i8VkFcGVgVWwq4mYSrHQZnikiJKQFo3Yf6SrPmANcBPwf+AvQkiOk14HlghYzH 70x1E4DhwHaO4z2rCA5lRWwzoP2A1RNeR0SkZeoCSG8xYE9sK+BbsLftFDxvsnuERZG/bbHNkLJK kQCMBI7DVlk8GlX+IlJCSgDytQVwG811IbTqVsexuwArRQWSs4Mdx84nvuVjSeAq4L+BUcHnFhEJ 06kJQJF7s48Gfkdr3QjN8GzpOwxfRVqUcfiSqVuw3RCjLAb8A9gh8JytWggsKPD6IlIRnZoAPF/w 9YcDp2MDCqP8E19icyQwNiiWvByBr/nfkzQN5OfA5sHnbNVLWBIgIjKoTk0Aniw6AOzt9SeB55sD 3Ow4flng40Gx5GEs8CXnOf4REUifHYFDAs+X1RNFByAi1dCpCcANWIVZtJ2w/vcof3AefxI2Ta0K vkb2WQ9g8/9vCooF4H8Cz+Xx16IDEJFq6NQEYA5wRdFB9Il8azwfG9iW1VLAd4JiSWkt4KvOc5xL XFP56sA7gs7ldVHRAYhINXRqAgDwLdLMyW/V+4gbLf4KttaAx8eAfQNiSWU08Nu+//Q4NyCWmg8G nsvjYuC+ooMQkWro5ATgTuCcooMAlsC3kE290wLO8RvKu0fAKfgH2t0C3BsQS817As+V1TysW0RE pCmdnAAAfAq4o+gggHcHnutyLLnxmABcCSznDyfUUcAnA87z7YBz1CwFbBN4vqwOJ+2qhiLSZjo9 AZgLvB9br79IkW+QvcD3As6zGjZOoiyDAo8gpuK+B1uVMcoeFLukdg/wZeC8AmMQkYrqdRTvD98l jmt/wHnt/pYA/uiIJaKsG3g/w7GlgSPimgq8LTC2LI4n7jnvHxzbBYGxtVpeBt4bfD8i0poPkP1v +BLntUc4rt2L8+B2SQBqdsamCPY44spaIpulwd5MIyuaPYPja8Z4bMBf1H3cSmyr10SsFSnv78o0 4JvYssMiUqzKJgDaDfDNru4rK2L98msAy2Nb5jZjT2DxjNc+CPg6cVPT/op9ufYJONfSwJ+Bk4ET iV0+t5HtscGIawadrxv4BLEzP/an+e/GQG6l+UWpXmbR2gU3YPcjIuLieRNptxYAr3PwPc93Bccz BausI98+n8TW3081fmQl4EziW2FOTRDrzc6YyjrTQkSaV9kWAJwHKwF4s/fhe54XJojps86YGpX7 sA2EPG/A/a0L/BLbzyA61oex7oRIGztjit6FUESKoQQgo3ZLAMYCr5H9nhYS1+Td34WOmIYqM7Gm +r1prU+6C9gI+CLWFJ4qvrnApi3E1axznXF9PUFMIpK/yiYAGgMQay7WV35AxuOHYRXip8IiModj leBqwecFq/Q/3lcWYi0DD2Fv3dOA2dhzGY8NmpuCLeW7EflMMfwicFfwOVfGv52zd98GERE3z1uM WgDe6l3431hTLMCzMfa2nupNu4zlNyFP7q1OdsZ1Y6K4RCR/lW0B6PSFgFL4O77thscAXwmKpb+7 sRkB8xKcu4z+TMyqgfVWwGYTeJweEYiIiIcSgHg92Ch2j8+QZvGd67Cpa+0+hexmrBsmxX2eCIxz HD8bNf+LSAkoAUjjV/i25R2N7VaYwqVY/3W7tgRciy2ClGKtgnWAw5znOAsbKCoiUiglAGk8B/ze eY79gS0CYhnIxdhCR7MSnb8of8Lu69VE5/8uvnEvPaRZj0BEpGVKANL5PjbQIqsu4LigWAZyDbb0 8bMJr5GnHwP7YoMoU9gU2Mt5jkuB/wTEIiLipgQgnXuwZYU99sKmzKVyB7AJtoVwVb0GfBg4kthl fut9GUvKPH4YEYiISAQlAGkd7zy+C1tgJ6Vp2I5yXwMWJL5WtDuBzYDzE19nBNa14HEVmv4nIiWi BCCtm4Arned4Z0QgQ+gFvgNsgE1jLLs5wEnANsAjOVxvQ2CC8xwnRAQiIhJFCUB63h/+KSFRNOdh bCGjjwIv5HjdZvVigyvXwqbjeWZatGJV5/FXAv8KiENEJIwSgLS6gI85z5F1e+GseoGzsUrvCOCZ nK8/kB5sYZ+tsNkReQ9c9G4ktAU21kJEpDSUAKTTBfwC/6pxcwJiyeINbD2DNbBE4M4CYpgFnIY1 we8F3FZADGCL93hMwrpWlASISGkoAUijC/gp/sof8unjHkwtEdgcq4i/Bzyd8HoLgCuAA7E9EQ4H Hkh4vWZEfAaTsKmXqdZ2EBFpmWdTE20G9FZd2L72URvaHJVv+E1bB/g0ttXwc2S/v3nYm/33sBX8 PMvspjIC3zbP/cs01BIg0k4quxmQtgOOFfnmD/YhXRh0rmgP9ZWf9f3vJYG1scRgFWzswoS+/xyF NefP7isvYwMOp2IbJy3MM/AMurHVEw8OOFetJWA34PaA84mIZKYWgBjRb/69WFO4lMPW2GDEqM9W LQEi7aGyLQAaAxAj+s0f7K3zq4HnE5+bgQsCz6cxASJSKCUAMb6N9YdHOga4N/ic4nMk8ETg+SZg yzCvGnhOEZGmKAHwO5D4gXq/xjYTknJ5CZuOOCPwnJOxZsAyDn4UkTamBMBnArYLXaQzgU8Gn1Pi 3IftovhK4Dk3Ar4SeD4RkSEpAfD5CrBU4PnOBD5O2l3txO/f2JLJ0wPP+UWsNUBEJBdKALIbhn+Z 3/7OQJV/ldwJ7EJcS8B44INB5xIRGZISgOw2x1aqi3AmtuKdKv9qiW4J2CvoPCIiQ9JCQNltGnSe M/BX/l3YRjnbYAvxTMSW8H0SW2zmKuB1X5iVth5WUa8BLIM9m+eBO7A1+j1v8Xdii/pchb87SOsC iEiutBBQNsfje3a9wOn4WmFGYNMPHx7iOnOBn5Pv1sJFGwZ8GJsOqwJqAAAS20lEQVRKOdizmQec j20x7LEZlkh4vg/dwHBnHCKSr8ouBITz4E5OAL6F79n1AHs6rr8OcHeL13wD+BG2CE072xO4h9af zXFYa0oWo7GFfTzfiV5gbMbri0gxlABkVOUE4Eh8z64XezPfPcO1d8T6nbNedwa2dkG7VTZbAP/A 95lcgO1d0IrR2II+3u/DzJbvWESKpgQgoyonAHvhe3ZZk4Cdsf78iGu/CHyd2KmMRdgZ2zchaq3+ y2g+CYiq/Hux8QQiUi1KADKqcgKwONZ/nGcSEFn59y+zgVOx3fyqYgzWx3878c+jl+aSgMjKvxfr VhKRalECkFGVEwDwxV9fhkoCUlX+9eUmbCXCCZmfSlrbYAMaZ5D+WQyWBERX/r1oYyCRKlICkFHV E4AtiN0itlESkFflXx/LX7BZBlM8D8lpFDbN7hTgEfJ9Br0MnASkqPwvcz4nESmGEoCMqp4AAJxN fMXbPwkoovIfqNwLnIjNPkhtLLAf8AdgVg73NlTpnwSkqPznAuv7H5uIFEAJQEbtkAAsBtxFfIWw O+Wp/PuXHmze/NsiHl6dLmw55GdKcJ/15TJgCeIr/15sR0kRqSYlABm1QwIAsDLwGLGVwlzKV/n3 LzOBfSIeXp8JxI6pSFG8C/0MVI6LeHgiUpjKJgDaCyDG08AOwKOB5xyDtS6U1ZLAxcChAecajy3J u3fAuVKKni55IvCN4HOKiDRFCUCcp7Hd4R4vOpAcdQG/At7hPMf52OZKneRE4KSigxCRzqUEINaT wE50VhIwEjgNa7HI4mPAu+PCqYQTUeUvIgVTAhDvSeK7A8pubeCwDMeNxCrDTnIiqvxFpASUAKTR id0Bn8twzAeBlaIDKbETUeUvIiWhBCCdIrsDnsKa1u/O8ZrrAKu1eEyeTf/zgB8D38/xmv2diCp/ ESkZzxQmTQMc2hTipwgOVp5kUUXchS2oc39O1z64xWfzaA4xvQH8L7Biv+v+d07Po1ZOaPG5iEh1 VHYaIM6DlQA0Z2XyWcb2KWD1Aa4/DNgVW8wm5fWPavG5zE0Yy6vYBkcrN7j2SYmfRa2c0OIzEZFq UQKQUackAJC+JaD/m/9gNgPOwHYAjI7huy08j7GJnsPd2P4F45qIIXVLwAktPA8RqSYlABl1UgIA 6ZKAZiv//sYDh2O7/0XF8b0Wrr9Y4HWnY838WdYSSJUEnJAhFhGpHiUAGXVaAgDx3QGNmv1bsQpw JHAjsNARS54JwCvYRkx70XjL3mad6IxFlb9I51ICkFEnJgAQ1xKQ5c1/KMc54skrAViA/7tXL6ol QJW/SGepbAKgaYDFqE0RfMBxjqnAjlgiEak7+Hwp9BIf5/HAMX3nzqIHOBpN9RORilACUJwngW2w kfmtuhzYms5aaCgP3wb2BWa1eNyr2FtAK4MgRUQKpQSgWLOwHfD2Au5p4t/fi23B+x5sO16JdzGw BrZo0Lwh/u08bKrhmvib8kREchXdjyrZ/LmvrIetjrc+sCy2kM8LWFfB5diCPpLey9igyGOA3YHt sCWLJ2IzDp4BrgeuAl4vKEYRERclAOXyAL5xARLrdeCiviIi0laUAEikVbEVB5sxOmEcIiIyBCUA Emm/viIiIiWnQYAiIiIdSAmAiIhIB1ICIPXeKDqAJswvOgARkapTAiD1Xig6gCY8W3QAIiJVpwRA 6j1VdABNeLroAEREqk4JgNS7BZhRdBBDuLLoAEREqk4JgNRbAPyl6CAG0Qv8qeggRESqTgmADORb lHdXwN8D/yk6CBGRqlMCIAN5EDiz6CAGMBc4tuggRETagRIAaeRzwG1FB9FPL3A48GjRgYiItAMl ANLIXGyP+zJsTtQDfAX4bdGBiIi0CyUAMphngG0odq/7GcD7gR8WGIOISNtRAiBDmQW8D9iDfLsE XgN+AKwBXJrjdUVEOoJ2A5RmXdlXVgP2AlYHVgYWDzr/QuBFbJW/G4CrqcayxCIilaQEQFr1GHBq 0UGIiIiPugBEREQ6kBIAERGRDqQEQEREpAMpARAREelASgBEREQ6kBIAERGRDqQEQEREpAMpARAR EelASgBEREQ6kBIAERGRDqQEQEREpAMpARAREelASgBEREQ6kBIAERGRDqQEQEREpAMpARAREelA I5zHHw70OI6f4jh2N2Bpx/EiIiJemzqOnQJ8wnG86yW+C+j1nEBERESqR10AIiIiHUgJgIiISAdS AiAiItKBlACIiIh0ICUAIiIiHUgJgIiISAdSAiAiItKBlACIiIh0ICUAIiIiHUgJgIiISAdSAiAi ItKBlACIiIh0ICUAIiIiHci7HfBv8G0HLCIiItkMAw7PerB3O+CRQLfjeBEREclmBLAg68HqAhAR EelASgBEREQ6kBIAERGRDqQEQEREpAMpARAREelASgBEREQ6kBIAERGRDqQEQEREpAMpARAREelA SgBEREQ6kBIAERGRDqQEQEREpAMpARAREelASgBEREQ6kBIAERGRDjSi6ABEpGXjgJWAxYsOpM9s 4GlgTtGBiEhreh1FCYRIPrqA/YHrgW58f7cpSndfbB/qi1VE0huB7+9WCYBIyU0A/krxlXyz5Yq+ mEUkLSUAIm1sDHATxVfqrZabgNEJnoeILKIEQKSNfYviK/Os5RsJnoeILOJKALr6/ktWI7G+PxGJ NwF4Flis6EAyeh1YEXi16EBE2tQIYEHWgzUNUKS89qS6lT/YbIU9ig5CRAamBECkvDYoOoAA6xcd gIgMTAmASHmVZZ6/x5JFByAiA1MCIFJeLxYdQIAXig5ARAamBECkvG4sOoAA1xcdgIg0pmmAIuU0 HHiY4qfzZS0P9d2DiKShdQBE2theQA/FV+atlh7gPQmeh4gsogRApM0dS/EVeqvlmCRPQkT6UwIg 0gEOAl6i+Ip9qPIScGCiZyAib+ZeCXAB2SvyscA8R/Ai0rwlgAOA3bDtgEcWG87/WQA8A/wNuACY VWw4Ih1jDDA347HdADPInkEs7QhcREREsluG7PX39GHAbMfFl3ccKyIiItmt4Dj2tWHATMcJ1nUc KyIiItmt4zh25jDgUccJtnYcKyIiItlt6zj2kWHAVMcJ3uU4VkRERLLz1MEPD8NW68pqfWATx/Ei IiLSus2AtR3HPwTWh+CZ9/tLRwAiIiLSul/jq7vXqp3oWcdJ5mFzkkVERCS9VYE3yF5vPw2LdgO8 xhHIaOCHjuNFRESkeT8ERjmOv7r///gA/iVA3+8IRkRERIa2H/76+n39TzgaeMV5whn061MQERGR UOtga/d46uppDNB68DPnSXuBx/CtTCQiIiJvtSLwBP56+qcDnXx9YGHAyR8D1oy7ZxERkY62NvA4 /vp5IYOs4HtRwAV6gVeBD8Xct4iISMfaB5hOTN18wWAX2hzoCbpQL/Bb1CUgIiLSqpWA84mrj3uA jYe66FmBF+zF9ir+CbBe5scgIiLSGdbD+unnElsXn1Z/oa4BLr4MtkTgxMAbqrkLuBK4CXgQeA6Y k+A6IiIiZbcYNrhvHeAdwO6kWV5/OjaOYFr//+NACQDAJ8hvid+FwKycrlU1M4Dbgd8Bl2BZXF7G A4dj/U9rAmNzvLaISLtbAhie07U+Dpxe/39slAAA/AH4YLJwpFX/AvanbwnHxN4DnAFMzuFaIiKS zgXAAQP9PwZLAJYE7gRWSxGRZPIcsDVpk4ADgHPJLzMVEZE0/gNsQYNW9sESAIANgOtJMx5AsrkZ 2JY03QFrAnej5n4RkaqbDmwHPNDoHwxr9P/ocx+wNzYaUcpha2zvhhROQpW/iEjVzQH2YpDKH4ZO AABuxMYCKAkojwMTnHMcdRtEiIhI5czF6uybhvqHzSQAAJcDO2EbBknx3p7gnBugt38RkSqbgU0l vKKZf9xsAgBwC7Ajth6xFGvpBOeclOCcIiKSj0exPv8bmj2glQQAbEzAJgyxnrAkl6IlZnqCc4qI SHp/ArYE7m/loFYTALDpBAcAn8Y2/ZH83ZXgnA8AbyQ4r4iIpDET+CTwfqz5vyVZEoCan2PLF55H vivUiW0QEW0WTfYbiYhIoXqBc7A6OPOqvUOtA9CstwNfB94beE4Z2L3AptgSytE2wpYeHpng3CIi 4tMLXAp8E7jNe7Ko1d6exdar/xMwClgdGB10blmkNsLz5UTnf7Hv3O9NdH4REWndq1hr+2HAqdiq sG6p3tbHYnPKP4DNHEgxar3TPADsi+3UmNrBwM+AxXO4loiIvNU04Frgj9hmcOFr8eTRXD8Ma1re FuuvWBvbX2AStuPciBxiqKrXgFux1pWzgQU5XntZ4HMs2g1wVI7XFhHpBN3Y7/wrwGPAVOBBbBGf e0g8vq4M/fVj0AI0A5kPvF50EP104n4QGwPXZDz2QWx/b/H7J7BuxmN3wva3ECmbucC8IgMow9v3 PAp+CNKUlqeYtIEex7Gz6MxnlsJsx7Hd6HMQGZBnGqBIuxvnOHZOWBTiaQnzfIYibU0JgEhjnsqj TN03VedJpjSQVaQBJQAijXkqD7UAxFELgEgCSgBEGlMLQDl4kiklACINKAEQaUxjAMpBCYBIAkoA RBpTC0A5qAtAJAElACKNaQxAOagFQCQBJQAijakFoByUAIgkoARApDG1AJSDEgCRBJQAiDSmFoBy 8DxLrQMg0oASAJHGNAugHDQIUCQBJQAijXneHmeFRSGvOY5VAiDSgBIAkcYWcxw7MywK8WzmowRA pAElACKNebZA1g50cTzJ1ISwKETajBIAkcY8CYBaAOJ4nqXnMxQRkQ40EugBejOW0fmH3LbGkv1z WAgMzz9kkfJTC4DIwCYCXRmPnQO8ERhLp5tL9uc5DFgyMBaRtqEEQGRgSzmOVfN/PM8z9XyWIm1L CYDIwNT/Xy5KAESCKQEQGZhaAMpFAwFFgikBEBmYJwHQFMB4nmeqFgCRASgBEBmYugDKRV0AIsGU AIgMTF0A5aIuAJFgSgBEBqYWgHJRAiASTAmAyMA8lcarYVFIjeeZqgtAZABKAEQGpi6ActEYAJFg SgBEBqZZAOXieabqAhAZgBIAkYF5dpFTC0A8TQMUCaYEQGRgkxzHvhgWhdS85DhWCYDIAJQAiAzM 0wLwclgUUuNJANQFICIiTZmIb/vZEfmH3Pa82zMvkX/IIuWmFgCRt1rOcewrQHdUIPJ/FuAbB+D5 TEXakhIAkbda3nGsp6laBud5tkoAROooARB5K09loQGA6SgBEAmkBEDkrTyVhVoA0lECIBJICYDI WykBKCfPs102LAqRNqEEQOStPJWFugDSecFxrGdch0hbUgIg8lYrOI59JiwKqfes41h1AYjUUQIg 8laeysJTScngPMmVWgBE6igBEHmrVRzHqgUgHU9ytXJYFCIi0pYmkH21uV5g8fxD7hhL4vtsxucf skh5qQVA5M08b/8zgdlRgchbvAq85jherQAi/SgBEHmzKY5j1f+fnucZe5I7kbajBEDkzdT/X26e Z+xJ7kTajhIAkTfzNBM/FxaFNOJpAVACINKPEgCRN/NUEo+HRSGNPOE4Vl0AIv0oARB5M08l8WhY FNLII45j1QIg0o8SAJE3W8txrBKA9B5zHLtmWBQiItJWlsI3z3zp/EPuOMvi+4wm5B+ySDmpBUBk kbUdx84CpkUFIg29iG8tALUCiPRRAiCyiCcBUPN/fjyDLT2fsUhbUQIgsoj6/6vB86yVAIj0UQIg sohaAKpBCYBIACUAIot4WgAeDotChjLVcawSABEReZORwDyyjy7fMv+QO9ZWZP+c5mKftYiICACb k71S6QYWyz/kjjUOWEj2z2uT/EMWKR91AYiYLRzHPgrMiQpEhvQ6vgWBPJ+1SNtQAiBiNncce29Y FNKsexzHKgEQQQmASI0SgGrxPHMlACIoARABGA1s4Dje8zYq2XgSgI2AMVGBiFTViKIDEBnEBKAr h+tsAoxyHP8MMDEoFmnO/2/vflUiCKMwjD8Igs1k0bTBYNrkgiA29wYEg0XvSvAPiGWTV2CSDa5g 0GJREAwGLcYVZDWMYBNFmXd2v+fXh33DsN+Zw8w5D3+4dhpYAa7+Kct33oGXGn5H+rU6/lyln5oC toAdYJXqyVwad69AHzgCesAomkb6ZAGgplgATqi+8ZYm1QDYAB7TQSQLADXBHHABtNJBpBrcAx3c HqkwXwJUExzg4a9ytID9dAjJDoDSOlRP/1JploHLdAiVyw6A0jbTAaQQ731FWQAozbnsKlU7HUBl swBQ2mw6gBTi7AhFWQAo7TkdQAp5SgdQ2SwAlDZIB5BCztMBVDa/AlDaInCDY6lVljdgCbhLB1G5 7AAo7RbYS4eQaraLh7/C7ACoCWaAU6r5/9Kk6wPrVDsCpBg7AGqCIdAFDnFRiibXiGrqZRcPfzWA HQA1TRvYBtaAedzbrvE2pFr8cwYcA9fZONKXD31Tfhvo4kHeAAAAAElFTkSuQmCC "
id="image290"
x="211.24937"
y="59.093369" />
<image
width="58.453564"
height="57.050591"
preserveAspectRatio="none"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURB VHic7d13dBzlvf/x72xfrXbVe7fkKrmBCwYHbDo2Ni0OoYVcICGFSyeEJBDlppCEErik3pt2Q0Io KZRAAiRgCMQ2NtgYV9xkq3dpi3ZX235/APkZLNuy2jO7836d85yTwwmaD1rtzGdmnnlGBAAAAAAA AAAAAAAAAAAAJCVNdQCMzDmXXeYJ9Q2cPhgMLgoNDkyPDA7mxKJRVywSc0ZjUYfqfEg9FrMlZLaa g2aLJWC12bodtrTtDpfrdZvH8dJff/c7r+p8AI4NBSBJnHHuRZP9ocBnvD1dZ3e0tEzp7mizx+Nx 1bEAMZlMkpNfGM4vLt3pyc5+3pme8bOXnnxsj+pcAI6MAqBj55//6cx2b8tdbU2Nl+7f825BPBZT HQk4Kk3TpKSiyltSUfV0QXH+rU///vftqjMBQFJYumLVKTPmHL/VZnfERSTBYCTrsDuc8Rlz5m05 c+WFJwsAYGhLz71o2ZSZs/eYzGblO24GYyyHyWxOTJ05Z/dpKy84WwAA71lxySW5c044cbXZYlG+ o2YwxnOYzeZE7XELNp11+eVFAgBGdtLpZ9/tycyKig52zgzGRI2MrOzo4tPP+pYAgNGcc9llntrj FmwSHeyMGQxVY8rM2XvOWrUqWwDACE5becEZBSWlA6KDHTCDoXoUlpQFTlt54VIBgFS2ZPnKK11u d0x0sONlMPQynK70+CnnrPyMAEAqOvnMFbfaHU4e7WMwhhg2uz2x+MxlXxMASCUnnr7sm2Ye72Mw jjjMFkti8ZnL6gUAUsGSZSuusdntyneuDEYyDKvNljjl7BVfEABIZkuXX3ChM83FZX8G4xiG05Ue P/Xc81YIACSjsy6/vCg7vyAsOtihMhjJNrJz8wfPXbWqRACMC7PqAKnMHJMtTQ17c1TnAJJRcCBg jot5VU9nxw9UZwGAYZv/saWPig7OohiMZB8LTzntYQGAZLD0vIsW8iY/BmNsht3hjC89f9XxAmBM cQtgHFg00xud7a0e1TmAVBCLRjWL2Xx2T2fHA6qzAMBhvb+QifKzJgYj1cbHzjrnSwIAelVYWhYQ HewsGYxUG4UlZYH6+nqTABgT3AIYQ4tPX/b1bZvePEN1DiAV+X1ea8yWHj6w593XVGcBUgEFYAzF 47GnvX29dtU5gFQVjUYW+Pr77ladA0gFXE4bI6csO/+Kpoa9TPwDxlHL/n3upSvOu1R1DiAVUADG SFdbyy2qMwBG0NXSeqvqDAAgIiIrVqxIc7ndMdHBRCkGI9WHy+2JrVixIk0AjApXAMZAbzj2pYDP x+8SmAABn9fUE4pyxQ0YJQ5aY6C3q+t81RkAI+nv6eE7B4wSBWAMdLY2TVWdATCSztbm6aozAMmO AjBKp523akZnW6tDdQ7ASDpam52nXXDxFNU5gGRGARilYCBwSSKRUB0DMJREIiHhgI/HAYFRoACM UnggMEd1BsCIQoEBvnvAKFhUB0h2AwHfZNUZRERMJpPUzVsok2fMEndGpuo4SEG+/j7ZtXWzbHlz ncTjcdVxJBDwcgsAGAUKwCj5+vsKVWfIyS+Uq2/5ihSXV6qOghT3sbOWS/P+vfLL+++W7o52pVn8 /f1FSgMASY5bAKMUDAadKref5kqXL3z1mxz8MWFKKibJ57/yTXGkqV2LJxgcUPrdA5IdBWCUIuGQ 0hcqLT33AsnJL1AZAQaUW1AoS5dfoDTDYCjEFUxgFCgAozQYDiv9Hc5ecKLKzcPA5pxwktLtq/7u AcmOL9AoDYZDmsrtc/YPVXLz1U5/Uf3dA5IdBWCUVM+GNlu4Cgo1VP/tqf7uAcmOAgAAgAFRAAAA MCAKAAAABkQBAADAgCgAAAAYEAUAAAADogAAAGBAFAAAAAyIAgAAgAFRAAAAMCAKAAAABkQBAADA gCgAAAAYEAUAAAADogAAAGBAFAAAAAyIAgAAgAFRAAAAMCAKAAAABkQBAADAgCgAAAAYEAUAAAAD ogAAAGBAFAAAAAyIAgAAgAFRAAAAMCAKAAAABkQBAADAgCgAAAAYEAUAAAADogAAAGBAFAAAAAyI AgAAgAFRAAAAMCAKAAAABkQBAADAgCgAAAAYEAUAAAADogAAAGBAFAAAAAyIAgAAgAFRAEbJZFL7 K4xFo0q3D+NS/ben+rsHJDu+QaNkszsSKrff3dGucvMwsK72VqXbV/3dA5IdBWCUbHZ7XOX2N617 TeXmYWCb1r6udPuqv3tAsqMAjJLV7oip3P7Lf3lSutrbVEaAAXW1tcrLzz6pNIPN7uD+FzAKFIBR cqalBVVuPzgQkJ98505p3r9XZQwYSNO+PfKTu++SUHBAaQ7V3z0g2VlUB0h2Hk9mq4hkqMzQ3dEu 933lZqk7fqHUzKgTT2b2qH9mcCAgoYGARKMRiQ5GJBwOjUFSTBS73SEWm1UsFqs4XenicKaN+md6 +3pk19Z3ZMub6ySRUH/73Z2R2aI6A5DMKACj5HSl7xaRaapzxONx2bx+jWxev0Z1FGBCpLncu1Rn AJIZtwBGyeFKe0t1BsCIHM60jaozAMmMAjBKjrT0xzRNUx0DMBRN08Tudv9edQ4gmXHkGgP5RSXB jtZmh+ocgFEUlJQG25ubRj+xATAwrgCMgbzikh2qMwBGkl9Ysk11BiDZUQDGQFZWrtoHogGDyczO /ZPqDECyowCMAUtp/vfSPRmsSgZMAJfbEzeX5N2vOgcAiIhI7XELNolIgsFgjO+oO37hmwJg1LgC MEby8ovvVZ0BMIL8gny+awD0pbRyUp/o4AyJwUjVUVZV3SsAxgRXAMZQ5ZRpnJkA46hiyrTvqs4A pArWARhjhaXl/ramAy7VOYBUU1RWEWht3J+uOgeQKrgCMMYmz5j1bdUZgFRUPaPu66ozAMAR1cyY 2Sg6uF/KYKTKmFI7e58AGFNcARgHVZXVK+xOZ0J1DiAV2B3ORHl1zYWqcwDAsCw4+bTfig7OnBiM ZB8Llpz2awGAZPL+ZUvlO1AGI1lHTe3M/QJgXHALYBxNmzXjhJyCwkHVOYBklJ2XH5k2Y9qJqnMA wIgsXXbBeU5Xelx0cDbFYCTLSEt3x5aee9EyAYBkdvI5K6+y2e3Kd6oMRjIMq82eOPnsFdcKAKSC k8445xtmi0X5zpXB0PMwWyyJxacv+7oAQCpZfNbyW+xOJ7cDGIwhhs3uiH/sjOVfEQBIRUvOPv9y l9sTEx3scBkMvYx0T0Zs6YrzLhUASGVLV6w6pbC03C862PEyGKpHUVmF//QVFywWADCCFStWpM1a cMIaTdOU74AZDFVj+pzjty1ZtYoX/AAwnhNPX/bNjOyciOhgZ8xgTNTIzM6NMNkPgOGdtWpV9pwT TlxtsViV75gZjPEcZrM5UXvcgk0rL7mkQAAA7zlt5QVnTJs5d5fZbFa+o2YwxnKYzebEtNlzdy49 //zTBAAwtNNXXLDYk5U9KDrYcTMYox2erOzBM8/7OEv6AjqjqQ6AoVntjlgkHOJdDUh67/8tW1Tn APBhHGB0qKymrpqDP1JFJBwyF02fW6E6B4APo5Xr0GAseqrqDAdzONPEZreLpnHBKBkkEgkJh0MS DgZVR/m3eHjgNBH5peocAP4/CoAOxaKDC1VnEBEpraqRH9x/v5y4cIHqKBiB19auk5tvvkmaG/aq jiKJ9/6mKQCAjnCZWYdisegk1Rmm1M2S11a/zME/iS0+YaG8/sorMrl2puooEo3GqlVnAPBhFAAd SsTjSldGs9od8tjvHhGr1aoyBsaA1WqVx373O7HaHUpzxONxt9IAAA5BAdCjRMylcvPHL1wk+Xm5 KiNgDBXk58vc+YrvKiViLPcL6AwFQIfi8Xiayu3PmjlL5eYxDmbOUvuZxuNxp9IAAA5BAdChRDyh dHJmejona6kmw+1Ruv1EPMH9JEBnKAAAABgQBQAAAAOiAAAAYEAUAAAADIgCAACAAVEAAAAwIAoA AAAGRAEAAMCAKAAAABgQBQAAAAOiAAAAYEAUAAAADIgCAACAAVEAAAAwIAoAAAAGRAEAAMCAKAAA ABgQBQAAAAOiAAAAYEAUAAAADIgCAACAAVEAAAAwIAoAAAAGRAEAAMCAKAAAABiQRXUAAMDo3FpR URWU0GmReKIoEpcsuyZtNk3bme2J/6N+a6dfdT7oEwUAAJLQf5YVXLV7IHzj9kBw6r3799uG+v9Y NU1mu13eqS7nP0vttjvv39+ycaJzQr8oAACQRD5bVvCV13u9dzzU2J5+tP9vJJGQt30Bz9u+wHKr pi0/LSdj1/Fux6e+39C+diKyQt8oAACQBG6rKate193/8v80tpeN5N+PJBLyj+7+yWv6fGs+WZjz p2lt3avqReJjHBNJhEmAAKBz15cVnPdIU/uOV3u9Izr4H2wgFpdH27ov/EeWe399ZWXmWORDcqIA AICO3VBeuOq3bd1/ag4NjukV23/2+kr/0tO1p760NHssfy6SBwUAAHTqhqriM37b2vVoTyQ6Lvvq DV5/9t98fdvri4vTxuPnQ98oAACgQzdXFM/9Q2vXc93jdPD/wNp+f/7qoH9r/RLmhBkNBQAAdObm 6uKypzt7/jXWl/0PZ3Wvt3L91kyeDDAYCgAA6Eh9cXHaq53ejbsHQo6J3O6znX3HX1yQ8+eJ3CbU ogAAgE7Ui5heDQY2b/D6c1Rs/4mO7vP/ozT/HhXbxsSjAACATryVl/36S7391aq2H0+IPNLSdevn y/I/pyoDJg4FAAB04Iqi3N883dlzguoc4XhcHm3r+fH1pUVnq86C8UUBAADFrinO//rv27qvUJ3j A72RqPbHru5nbi0rq1OdBeOHAgAACl1fXnTF79u7vh5NJFRH+ZDm0KDluZ6utTdUVRWozoLxQQEA AEVuqSo6+ZHWzl8HYnFNdZahbAsEXet6Ot+ur60d8m2DSG4UAABQ4MaKiqKn2nqf7xrnhX5Ga22/ v2B9R+vrqnNg7On6Dw8AUlH9ErGs6+t+a3dwYp/1H6lnO3vmXVGU+xvVOTC2KAAAMMHe3Jb5+pp+ f6HqHMfi0bbuKz5XXnC96hwYOxQAAJhAV5bk/+yZjr4FqnMcq0giIY+1dj9wW2XhKaqzYGxQAABg gnyuPP/aR1s7P6s6x0j1RqLan9p7n79pSmmJ6iwYPQoAAEyAmyuKT/xDa8+Pw3F9Pe53rPYEw/bX 2/s28mRA8qMAAMA4u6GqquAvnT1/1/uM/+F6o9+ft7GzZbXqHBidlPhjBAC9qhcxbezrXv/uQMip OstYeqqjd9GVRbk/UZ0DI0cBAIBxtDE/67VXe71lqnOMh0fbez73xYqCa1TnwMhQAABgnPxHSf79 T3f0LlKdY7yE43F5vLXnZ7dWFixUnQXHjgIAAOPgi+WFVz7S2nVTck/5O7rOwYjpL539L9WXlmar zoJjQwEAgDF2W01Z9ZMdPT8Px+Oqo0yIHYFQ2uoB3wbVOXBsKAAAMIbql4hldUfv2ubQoEV1lom0 uqe/6rKi3EdU58DwUQAAYAy9tS3rtfVef67qHCo83tZ9yRfKCr+gOgeGhwIAAGPk6pKC7zzT0WvY CXGRREL+0N790G2VJXNUZ8HRUQAAYAxcX1p09uNtXV9O9Ul/R9MxGDH9rbvvlfri4jTVWXBkFAAA GKUbKyqKnunuecoXi2mqs+jBO76AZ30k9IrqHDgyCgAAjNImX9/r+4Jh1sY/yHOdPfOuLi74ruoc ODwKAACMwuVFuQ+v7umvUp1DbxIi8kRH15duqSo6WXUWDI0CAAAjdGNl/vl/7Oi5XHUOvfJGY9pf O/qeq6/NS1edBYeiAADACNRXF+Q/3d7/aDBmjMV+RmpbIOha3xFZrToHDkUBAIAReLU3uGZvMGxX nSMZPNfZd/w1xQV3q86BD6MAAMAxurw479cv9Xgnqc6RLN6fD3A78wH0hQIAAMfgxsr88//Y3n2l 6hzJpj8a057v7HuW9QH0gwIAAMNUX5PtebbD+3vu+4/MFn8w/a1I6HnVOfAeCgAADNMb/fHVuwZC DtU5DmeKyyF/nDNFbCb9rkf0l66exZ8vL7hRdQ5QAABgWK4tLbz9r519c1XnOJxMi0WemDVFzsrJ lO9NrlAd57DiCZEn23vuvbWigrUTFKMAAMBR3DGpZMqfO7q/o9d1/k2ayC/qJkl12nsXJz5Tmi9X leQrTnV4reGIeYOv7x+qcxgdBQAAjuK1Xu8/OgYjut1ffrOmTM7KyfzQP7tvaoWclOlWlOjoVvf0 V11ZnPeQ6hxGpts/aADQg8uLch/+Z6+vVHWOw7m4MEduKC865J9bNU0enlkjJXb9vqLgzx09X7y5 ovhE1TmMigIAAIdxfUXh0ic7ei9TneNwZrnT5KFph7+Vnm+zyuOzp0iaWZ+7em80pv2jp/+5+tpa /baUFKbPvwoAUKy+ttb2Unf/036dvuI3z2aVx2Yd/eA+250mD0ytnJhQI/C2L5CxrbvtCdU5jIgC AABD2N7V/sct/qAuX2Jj1TR5uK5GyhzDO3G+tChXrisvHOdUI/dUR+/KGytKlqvOYTQUAAD4iJuq is98qrPnXNU5DufuyeWyOOvYJvh9q6bsmP+diRKOx2V1T98jPzv+eKvqLEZCAQCAg9QvEctLXf2P h+L6XO3vgvxs+VxZwTH/exZNk9/U1UihXZ/H2E2+gOfl5oZHVecwEgoAABxkx/a8x9/2BTJU5xjK JKdDfjR95Ovn5Nus8svaajFrupzWIE919l54fXnJaapzGAUFAADed0tV0cnPdHWfrzrHUBwmk/xm ZrV4LOZR/ZyTszxye1XxGKUaW8FYXP7Z1/eHeo5NE4JfMgCISL2I6ZVu358DsbguT4+/P6Vc5rhd Y/KzvlxZIqfn6PIih2z0BjLfLcz9neocRkABAAARebcw93cbvP5s1TmGcnFhzpgu7WvSRH4+o1qK dbpI0NOdvRezQND4owAAMLxby8rq/tLVe7HqHEOpSXPIg9Mqx/zn5tos8tuZNWLV4XwAfyymrenz /lF1jlRHAQBgeBv8/c94o/pb8MdhMsnDM2sk3Ty6+/6HsyAjXe6s1ucqx2v6/YWfKcn7puocqYwC AMDQPl9W+MVXer2VqnMM5YFplTIzPW1ct3FTRZGsyMsa122M1F+6+r9cP6U4V3WOVEUBAGBYN5WW Ol/o6r1Xj6/5vaIoTy4vGv9jnyYiP55eNexVBSdSa3jQsrEvyK2AcUIBAGBYzdHQE3uCYYfqHB9V 5bTLPVPLJ2x7WVaL/EKn6wP8ravv5OtLi85WnSMVUQAAGNJtlSVz/trZu0x1jo+yaJr8orZ63O77 H86JmW65QYfvCwjHE7LG6/ut6hypyKI6APQnkdDjBVF9CgX8sumfr8q2t9+W1pZW6ezuka6+PgmE ghKLxyUWi4v5/be12SxWcTmdkpuVKfm5uVJeViZ1x8+T6ScsFItFn8uzprK1/d5nfDp8098dVSWy IEPNO4jurC6VV3u9ssEbULL9w1nv9edcVZr//V82dXxJdZZUQgHAId7d9a7E43ExmbhAdLB9W7bI 83/6o6zftEl2NDZKe2+PBINBkVEWJs1kkvS0dCnJzZUZlZWyaMF8OeeSSyWr4NjXe8fwXFtaePvP mtp0N/19UaZbbq0sUrZ9q6bJ/8yolsXrt8hATF/vQvhrZ99N9dUF99bvae9QnSVV6K79QsSdk9/o 6+5QunPKyMmTT191jdx8/XVimeBLkXoR6O2Thx96UF587TXZfuCA9Hv7J2zbmmaSvOwcmV09SVYs O0fOu+rqUV0luO/Bh+T+7317DBMeG3dOfpOvu6NMWYCD1C8RyyNvOLzvDoScqrMczGMxy5qFdVLh sKuOIj9v6pAbdzaojnGICwtyXv5Te/epqnOkCk7xMKT+7k558J67pbauTv7r7u9KOBxWHWlCBHr7 5P4v3y5LF50g02fXyTd/+hNZu+WdCT34i4gkEnHp6O6UF99YJ9fX18uUyZPlvFNPld8/+IBEo5EJ zZJq9u7I+5neDv4iIj+YWqmLg7+IyDWl+bI8V3+PBj7f1bvk1rKyOtU5UgUFAEfk7++Vnz30gNTO rJPbv3anBAYGVEcaF88/8ju58IzTZcacWXLfb/5P3t3fILFoVHWsfwuHQ7Jhxza59XvflenTpsln LrpItq1bozpW0qmvrMx8sbf/U6pzfNQF+dlycWGO6hgf8sPplZJj1ddd4kAsrm0LMiFwrFAAMCxB v09++8v/lbq6WvmPaz8nHZ1dqiONWjwWk4fvv1dOmj9Prrr1Flm3dYtEI4OqYx3VwEBAnlvzupxx 4YVy0vx58tTP/1d1pKSxPeh/uDU8qKujWo7VIvdNrVAd4xB5Nqvcq8NcL3b3z+aVwWODAoBjMhgK ygvPPCkLFsyTz37xOmnvSL75OOGBAfnWDdfLjOnT5cv33isNzU2qI41MIiENzU3yhbvulHmzZ8vD 99+rOpGu3VJVVPFCT99y1Tk+6v6plZJv0+dTIKsKcmRlvr5uBUQSCXnb5/uF6hypgAKAEYmEQ/Ls n/8g8+cdLxd98hLZtWeP6khHFQr45ds3XC+zZs+WnzzxuPj8XtWRxkxrZ7t8+d57pW76dPnBHV+W eCymOpLu7PKHH+2NRHU18XlZbqZcVKDLFxD+2w+mVkqWzm4FvNrrrbiutOhy1TmSHQUAoxKLRmTt qy/LaUtPkYs+eYns2LlTdaRD9La3yy1XfkpqZ82UHz/xuPgDPtWRxk1vf6/c+3+/lrraGfLtm26U yKAxJm8ezc0VxXNf7Ok7QXWOg2VbLfLQ9CrVMY6qwGaV70+ZuFUJhyMhIq97vQ+pzpHsKAAYE7Fo VNa++rKcftpSOfPsc2Tdhg2qI0l3U6PcesXlcvwJC+XRF1+QUDCoOtKE6ff2y48fe1Rm1NbKLVdf Zaj/9qFs9gd+H9TZc+33TKmQAp1e+v+oSwpzdffCoI3eQOa1pYW3q86RzHR1OQzv0cM6AKOlmUwy c+p0ueuuu2TRKadM6LYP7Nghd335dnl541sSjfDInIiIyWxWeltA5ToA11cULv3xgfaXojpa4fKc 3Ex5YvYU1TGOSUt4UOavfUf6o/q5vVTrcga2BoJqlk1MAVwBwLhIxOOyeftW+filn5STFiyQ537/ yLhvs+GdzXL1+efJx848Q158Yx0H/4MYeU7ANn/wp3o6+KeZTbqcXX80xXabfKNaF2s5/dvWQNB1 bUnBHapzJCsKAMZXIiENTQfkM7fcLCfNmye//N7dY76Qzd8fe1RWLF0qHzvnHPnbG+tYKAf/dmtl wcJXe726OtW+o6pENwv+HKurSvJlvkdfJ9zrvH5uA4wQtwB0KBVuARyJy5UuS+fMkYsuulBOX3Wx mEaw1PCmV1bLow8/LH9bu046e5J/TYJUp+oWwDk5mZv/2t03c6K3ezg1aQ5Zt3Cm2E3Ju+vd6AvI kvXbJKajqyqfLyu87ieNbT9SnSPZJO9fYQpL9QJwMLvDKZMKi6SmtFTqpk6RaXV1kp2fL0XllSIi 0t3eKl1t7bJv17vy9pYtsquxSfa0tojPlzqP8BmBigJwS3n5jB82NW0Nx/Uz+e/Z46bJKVke1TFG 7YYdDfKLZv2sAbIgI73zjX5/vuocyYYCoENGKgAwBhUF4IKCnJf/3N69ZCK3eSSfKMyRX9ZWq44x JvqiUZmzZrN0DepjuWxNRG6oKDn3gf3Nz6rOkkyYAwAg5dTXZHte6/WerDrHB9LNZvl2jb4m0I1G psWiqwmBCRHZ7g98X3WOZEMBAJBy9g2Y7+8cjOhm//a1SSVSZLepjjGmPlWcJwsz9DMh8NU+74w7 JpXoasKn3unmCwIAY2VNn+9S1Rk+MMnpkGvLClTHGHOaiHxncrlu7iMHY3HZPRD8b9U5kgkFAEBK ua6s8D/eHQg5Vef4wNerS8Wq6eUwObYWZqTLCh29LGhtn//U+iWirxcX6BgFAEBK2TkQ/JLqDB84 zuOSC3X+sp/R+q/qMrHopOA0hgatbXvyb1CdI1lQAACkjBuqqgrW9vmnqs7xgW9Ul+nmEvl4qUlz yKeK81TH+Lft/tB/qs6QLCgAAFJGd9j/PV8spotj7mnZGbI0O/mf+R+OO6qKJc2sj8PJ2n5fxW2T SierzpEM9PGJAcAY2OofWKk6g8h7E+S+UWOcpTyK7Da5rqxQdQwREQnHE9IaDN2lOkcyoAAASAm3 l5bO3Owb0MWMtIsKcmSO26U6xoS6saJIsqz6mH+3PRBarjpDMqAAAEgJB6KhO/WyPv1NFUWqI0w4 j8UsnynRx2q8G33+rNsqS+aozqF3FAAAKWF7IHim6gwiImfkZMhsd5rqGEp8vqxAnCb1h5V4QqQ5 FP6y6hx6p/6TAoBRumVK8bTN/kCG6hwiIjeUG+/s/wN5NqtcWpSrOoaIiOwcCJ2hOoPeUQAAJL0u /+D1cR1c/T/O45IlBpn5fzg3VhSJWQfrArzjD2TfUFWVekswjiEKAICk1xgaPEt1BhGRGw189v+B Kqddludlqo4hg/GEBMKBz6nOoWcUAABJrV7EtMUfrFSdo9Jpl5U6WhZXpVsqilVHEBGRlsHBC1Rn 0DMKAICk1l1WcHGHDt78d3VJvm6WxFXteI9LF49Bbg8Ep6vOoGf6eGgTSAEWq1Wy091Snp4u+Xab eMwmSbe8d1zqi8bFF41JUzAkLf6A9Pt9Eo/HFCdODV2R2PmqM5g0kU8U5qiOoSuXFOXIJl9AaYaG YNh226TSyffsbdqlNIhOUQCAEdI0TYqyc2RxbrZcnuOSU53WYf+7kURCnvBF5A89Plnf2SW93v5x TJra2iOR41VnWJKVISV2m+oYuvKJghz52q5GiShcmyEhIt5I5GIR+ZayEDpGAQCOkc1ul8UlJXJX cZbMs5tH9DOsmiaXemxyqSdHpDJHnvYPyv0tPbKxpUVisegYJ05tDQMhG5s9sAAAIABJREFU5Wvu XlLE2f9H5dmscmp2hjzf3ac0R+dg9FShAAxJ+X0zIFk4nWly2fQpsu+kWfJ0Ve6ID/5DWZluk9VT CmXz4rmyrKZarFbOJofjxoqKooZQ2K4yg8tskpV5TP4bih6KUUsoPEN1Br3iCgBwFK40l1xSVSbf K3CLfZwneVVYNHm8Ike6yrLkq21e+cPeAxIOh8Z1m8kslAiuVP38/4q8LHGZx64MppLleVnitpjF F1U336UhFNbHykQ6xBUAHGJpVZVU5rN+RpYnQ+6YXSvNJ9TJA4WecT/4HyzXZJKfFWfK7kUz5dJp U8XhcE7YtpNJKCJzVWdYlsvZ/+E4TSZZmqV2YaSOwYi5vrJS/cIEOkQBwCFO8KTJlpkV8sdFc2Vm SaloBnu0KcuTKXfMrpX986fKV3NdYtHUnWJmmTX5n5IM2b9oplxfN0PSXenKsuhRfzw2VeX2zZom Sw2+8t/RnJajdoXmeEKkJxo+QWkInaIA6JBV03Rxa+asNKusmVYsL550nMwrK0/5IpCflSP/NXem NM6fIl/Ndenqy+EyiXynIF2aFtbKHbNrxZ3uVh1JF/qj0TKV25/tTtPNK3D1Sg8FKRiPLVCdQY/0 tI/D+yyaNvznySbACXazrJ5SKC+fdJycWFEhJlNq3e8szc2Tny+YI3uPq5abs/V9qd2iJeSruS5p XDBD/mvuTMnJNPbl557BqNL7u/M8XJE5miqnQ3JtakuSPx6vVRpApygAOmSWhNIjbDwx9Jn+PLtZ XqgpkH+dNEdOnTRJLEk8U10zmWRmSak8fsJc2TG7Sj7pTq7/FouWkJuznbLv+Mny7bkzJS8rW3Uk JfyxmEPl9o/zqF/tTu80ETlO8aqA4USciYBDoADokEnTdH2KXWczy9NVubJ78Sy5cvpUyfTo4i2s w+JwOOXs6mp546TjZM20Ylnm0tXFlmNmEpEbsp2y77gaeXDebCnO0ed+zvTecWDMBWNxpd+VyWlK +0fSqFb8e4omJE1pAJ3i5pUOmZKkmOWaTPKj4gz5UXGGPOWPyA9be+St9nbdPbZmtlhkSl6BXFmU I9dm2sWaonMZrs6wy9VzJsmjvlL5VkOrNHS0q470b1bT+NzWCsXjSr8rFQ6lSxAkjSqn2t9TOBbn Xs0QKAA6pGnjc7Y0ns5Lt8p5kwskWlMoj/vC8khXv7zV1S1en1dJHqczTabl5MiFeZlyTaZD3Kak +5WO2CfdNvnkzAp51l8id+5vlXfb20QULscqImIZp4mt/pjaApBh1fXFOt3wWNQeaiKS0PfkHkUo ADqUhMf/f7NoifeXuM0TmZQnuyJxeaQvKK/1+WW3zyfd3n6Jx8Z2URBN0yTD7ZFKj0fmZbjkE5lp cqKDP+3l6RZZXlsmq6uK5D/3NMs+hVcETOM0ryWSiI/Hjx02W4peTRprDsUFPBpPJPe9vnHCXhLj arLVJF/Pc4nkuUSkQCKJhKwJxWRDMCLbg2FpCIalKzwo3sFBGRgclGgsJpHoh9fCt5jNYjGbJc1m E7fNJlk2m5Q77TLVaZc5DpucnGY21Bn+sVqSZpFPFuXK3UoLwPjMa7FomgwqvLoRjMclnVUAj8of U1vULJrwgo0hUAD0SenRzDSOC99YNU1OdlrkZKdFRLgqZxTaOP1NWzUtMSiHeWxlAgRiFIDhGBjj q37HyqRpFIAhJMVkMwDJTRunVaQsii/BDyg+s00Wqq8AmEWLKA2gUxQAfVL8ehNgbI3XFYA0s0np kSWg+Mw2WaguSjazBJQG0CkKgD5xQxsYBrfZPKhy+x2DnFgOR6fi35NdM/cpDaBTFAAASctlMYdV bn9fUOnmk8Zexb8nh0nrVBpApygAAJJWmsk0oHL7FIDhaQiqXRzMQgEYEgUAQNLyWM1dKrdPATi6 cDwhLWG1twCcJm2n0gA6RQEAkLTcZlOTyu3vGdDXstd6tD8YlpjilSidZm2T0gA6RQEAkLScJvNe ldvfHgjyJMBRvOH1K92+WdPEI04KwBAoAACSltOibVG5/VgiIRu8PGF2JG/0qy0A+TZrtL6hgUs1 Q6AAAEhabpv976ozrOlTe4DTu3/1+ZRuv9Ru61caQMcoAACS1j27G/fkWi1KV5lZ16/2AKdnfdGo vDsQVJohz25pVBpAxygAAJJamdOu5p3T73u9zycBlgQe0gtd/RJXvK5ptsWyVW0C/aIAAEhqRXZr g8rtD8Ti8kI3C80N5cnOHtURJMNmXq06g15RAAAktTyrZY3qDE92qD/Q6c1ALC7/6FZ7+92qaZIX s/5JaQgdowAASGoZJuvTqjP8tatP+Qtv9Ob57j7lt0YmOe3B+qYm2tlhUAAAJLXsptYXPBaz0jvN A7G4PKWDy9168rtWpYs0iohIudPeoDqDnlEAACS1epH4DJezQ3WOHx1oVx1BN/YMhHQxL6LEaXtJ dQY9owAASHrlTvs61Rk2+QKyljUBRETkR43tymf/i4jkmCy/Up1BzygAAJJegdXyqOoMIiI/amxT HUG5/mhMF5f/q5z2wfsOtL6pOoeeUQAAJL2c6vYnVC8IJCLydGevbPErfUOxcg/ub9XF+xGmu5zb VWfQOwoAgKRXv1qiczyu3apzxBIJuXO3cReeaw0P6uYqSLnD9ojqDHpHAQCQEirtDl087/1id7+8 1GPM5ee/ubdZ+aN/IiJuszlRmJH4seocekcBAJASSp3yA4dJH7u0r+5qlEhCB7PgJtBm34Au7v2L iMz1uJrqt3YyI/Mo9PFtAYBRqt/T3jE/w9WkOoeIyDv+Abm3oUV1jAkTSSTki9v3SUwnpWey08nl /2GgAABIGVOcab9TneED39vXIm95A6pjTIi79zbLRp8+/lvdZnOizOb8ruocyYACACBl5Lhj31a9 KuAHoomEfGH7Pgnr4YH4cbTBG5D797eqjvFvCzJdu+sbGtSvQpQEKAAAUsb3d3b5FmW4t6nO8YEt /gH5zx37VMcYN92RqHx6y26J6uTSv4jIZJfzh6ozJAsKAICUMsXlqFed4WCPtHbJDw/o49G4sRRJ JOSyd3ZJQzCsOsq/VTntg4UH2ikAw0QBAJBSHjrQ9ofadKeuZoB/dXej/F3xq3HH2k07GuS1Xp/q GB+y0ON5tl5E/XOISYICACDlzMtw62oWeOz9s+XX+/R1wBypr+1ulF+3dKqO8SEusylR6ki7RXWO ZEIBAJByqhKWm4rsVvXr0R4kEIvLBZt2yj97vaqjjMo39jTJAzqa9PeBU7I9m+7dvz91J1yMAwoA gJRT39IysDjL/YLqHB81EIvLx9/eJa8mYQmIJ0Tu2HVA7tHh+gYWTZNal+Mm1TmSDQUAQEoqd9o/ 7zbr45HAgwViMTlv4075ZXOH6ijDFojF5LJ3dslDOp3MeGKm+8A9DW2vqM6RbCgAAFLSffta95+e 4/mn6hxDiSQScv2OBrl+R4PulwxuDg/K2W/ukGc6e1VHGZJJE5ntcXH2PwIUAAApq8rtvDzTYtHt EfaXzR1y5obtsjMQVB1lSH/u6JFF67boZpW/oZyc6Wl4aH+rLl4ElWwoAABS1v17WhpPy/G8pDrH kaz3+mXxG1vlvw+0iV4WDewYjMglm3fJFe/slp5IVHWcw7JomszNTL9WdY5kRQEAkNKmWJwXF9r0 9UTARwXjcfnKrgNy8vqtSl8lHIrH5YH9rXLcmnd0e8n/YKdnZ7zzg30tupvsmSwoAABS2t3Nzd1n 5WT8r+ocw7HJF5CVG3fKyo075c0JfJFQJJGQh1s7Zc6azfK13Y3SF9XvWf8HPBZzYm6G6+OqcyQz i+oAADDeqlq7vlib7rx8qz+YrjrLcLzU0y8v9fTLfE+6XFOaLxcWZIvTNPbna42hQflVc4f8X0un tA9Gxvznj6ezczOfuXtv87uqcyQzCgCAlFcvEr82y3PNzkDoUT29uOZo1nv9sn6bX76864Cck5sp Z+Vkyuk5GZJhMY/4Z+4eCMnfuvrk+e4+ebXXJ7Ek+n18YEqaIzTDZL9EdY5kRwEAYAg/a2x/bHle 5m3PdvYdrzrLseqNROWR1i55pLVLLJomc9xpUpeeJjPSnTLDlSYFdqt4LGbJsJglzWQWbywqvZGY eKMx2R8My9bAgGzzB2WTLyD7dPTynpEwa5qck5dxXf3+lgHVWZIdBQCAYcz32Jdt9NqaW8KDSbvv iyYSssEbkA0TOEdAT87KyXj7wf3tv1CdIxUwCRCAYdTvae84Lz/7RrOmqY6CESh32CKT3Vlnqc6R KigAAAzlJ41tPzonN2O96hw4NhZNk/Pysj734L597aqzpAoKAADDmZdhOn1KmkOfy+9hSCvyM195 qLH9l6pzpBIKAADDqd/d4z2nIPs8j0V/LwvCoeZ6XL2zc4vPVJ0j1VAAABjSg/taXlxVkPtdZgPo W57NGj89O/PU+q1bB1VnSTUUAACG9Yvm9q8sy8t8U3UODM1u0uTjBVlfvKeheZPqLKmIAgDA0ObX 9p2wKCNdny+6N7hPFOQ8/JPGjp+qzpGqKAAADK1+tUQXZuYcx6RAfTkvP2vNw61dn1KdI5VRAAAY 3gP797euzM9YWmS36f8tOAawJMvTMHdG78mqc6Q6CgAAiMi9De3rVhXknZ1ns8ZVZzGyEzLS25c4 02vrVwtlbJxRAADgff99oPkfl+bnXcHjgWrM9bj6znZnzqhvYZ3/iUABAICDPNjU8siVRbmXZVkt lIAJNMft6j85J39afVNTj+osRkEBAICPeKix/feXleRckm21cDtgAsz3pHefn5E1iWV+JxYFAACG 8MOG9scuK8o/n4mB4+tjWe6m5fm2SZz5TzwKAAAcxkMHWp65vChv/lQeERwXy3Iz3z5ttq+qfneP V3UWI6IAAMAR3NPQvGl5UfbU+RnpXaqzpAqLpsknC3P+9FxX3xxm+6tDAQCAo7h/T0vj8n5/warC 7L/y7oDRybJaEteU5N3+aFv3RaqzGB0FAACGoV4k/kRbz7JPl+T/wG3mMcGRmO5yDlxVlH/yT5s6 vq86CygAAHBMftXccfNnSgsWz3S7uG89TJq8d7//4sr0gvsOtLymOg/eQwEAgGN0//6Wf12Uk1dw Xn726xaNmwJHUmi3xj5bWvjl57r65tRv7fSrzoP/z6I6AAAko/qGhpCILP7P8sKP/6O7/9fbAkGX 6kx6oonI0mzP3uOzM868Z3fjHtV5cCiuAADAKDx0oO0Pn8gryF1VmP1Xl9nE3AARqXY6wteWF9zw Uo+3moO/fnEFAABG6f2rActuqyyZs8nnf+QfPf3T4wasAhkWc+LM3Iy/1eaYP1G/tZ3L/TpHAQCA MXJPQ/MmEZlxfXnRFWv7ffe90e/PU51pIqSZTXJ6TubaqR7X5ffsbtzzRJvqRBgOCgAAjLH/PtD6 sIg8/MWKgmve6A3cvd7rz1WdaTykmU2yNDtzwzRn+pX3HTiwTTpYzTeZMAcAAMbJj/a3/3y91593 U1XxWctyM992mFJjl5tvs8YvKMh65YsVxVOe7eyZf9+BA9tUZ8Kx4woAAIyzH+xreUFEXrilvHxG U3jgexu8vjP2BMN21bmOhUXTZJ7H1T7DnfabckvaXe/Ne+hVHQujQAEAgAny/pnyChGR68oK/2Nv KHT9Ru9AXWt4UJf7YpMmUpvu8k13OV4utzjvvLepafPafub2pQpd/tEBQKr7YWPbr0TkVyIi15UW Xd40GP7snmB4znb/gDuaUPcIQabFkqh1O1urHPaXC82O79/b1LT5HV9AWR6MHwoAACj2w6bW34rI b0VEbqiqKgiEA5/rikZPawsPTt0TDOd2DkbGZfKAWdOk0mELlzkdLQVWy9t5Vtsfc2taH61f7Yu+ Lr7x2CR0hAIAADry4L597SLyjfeHiIjcUl4+YyAxuDQQiR3XH49O80XiBf54zOOLxlz90ZgtEIuZ RUT8sbgWSyTEbjKJw6QlzJqW8JjNUbfVEko3aQMei6XHYzU1us2WLWlWbX2uzfyP+ndbuvYEw/8/ QNNE/xdDFQoAAOjc+3MHhj3TPhyPSzj+3v/uiURFQuEj/wswpNR4JgUAABwTCgAAAAZEAQAAwIAo AAAAGBAFAAAAA6IAAABgQBQAAAAMiAIAAIABUQAAADAgCgAAAAZEAQAAwIAoAAAAGBAFAAAAA6IA AABgQBQAAAAMiAIAAIABUQAAADAgCgAAAAZEAQAAwIAoAAAAGBAFAAAAA6IAAABgQBQAAAAMiAIA AIABUQAAADAgCgAAAAZEAQAAwIAoAAAAGBAFAAAAA6IAAABgQBQAAAAMiAIAAIABUQAAADAgCgAA AAZEAQAAwIAoAAAAGBAFAAAAA6IAAABgQBQAAAAMiAIAAIABUQAAADAgCgAAAAZEAQAAwIAoAAAA GBAFAAAAA6IAAABgQBQAAAAMiAIAAIABUQAAADAgCgAAAAZEAQAAwIAoAAAAGBAFAAAAA6IAAABg QBQAAAAMiAIAAIABUQAAADAgCgAAAAZEAQAAwIAoAAAAGBAFAAAAA6IAAABgQBQAAAAMiAIAAIAB UQAAADAgCgAAAAZEAQAAwIAoAAAAGBAFAAAAA6IAAABgQBQAAAAMiAIAAIABUQAAADAgCgAAAAZE AQAAwIAoAAAAGBAFAAAAA6IAAABgQBQAAAAMiAKgQ5pIQuX2o0q3jvGg+jPVROJqEwD4KAqADplN Wkzl9sNxGkCqCSXUfqYWk0YBAHSGAqBDJpNJ6c4yrPhggbEXjKs9/ppMJqWlFsChKAA6ZBa1VwC8 MfbVqcYbVVsALJrav2kAh6IA6JBF06Iqt98dYV+danoiSv+kxGQyqQ0A4BAUAB2yW8x+ldvvHYyo 3DzGQU9E7WfqMJt9SgMAOAQFQIccZnOvyu13hsIqN49x0KX4M3WazT1KAwA4BAVAh5xmc7vK7XcG lF6AwDjo8geUbt9uNrcpDQDgEBQAHbKbtCaV2x8IDoiPRwFThi+ekGBoQGkGh0lrVBoAwCEoADrk sJi2qtx+IpGQdSEmAqaKf4WiklD8aKfDZNqmNACAQ1AAdMhkczynOsObwUHVETBGNgyon9SZn6Y9 ozoDgA+jAOjQE2+9tdtqsyvN8M4AEwFTxbaBkNLt2+wO+fH6LdwCAHSGAqBT6U6n0pVbNvfx1Faq eLtf7WeZ7nRyPwnQIQqATnkcTqWn4Ad6uyXCksBJL5xISGOP2ifwPHYHl5MAHaIA6FSO096hcvvR SET+EmDxtmT3Z39EYlG1cwBynA4eAQR0iAKgU9l2x9uqMzzVp/bZcYzeM73q13TIsdvfUp0BwKEo ADqVZbP+WXWGN3r6VEfAKG3o7VcdQTLttj+pzgDgUBQAvZoWf8RstiiN0NzTI70x5gEkq+6YSGuv 2vv/ZotFEps3P640BIAhUQB06okntg5muj1KZ0/HYlF5oEftCnIYufu7/RJX/GrnLLcn9oQITwEA OkQB0LEij7tTdYY/tCqPgBH6ow4+uxK3R+l7LQAcHgVAx0oczn+pznCgq1O2DypdkgAjsHUwJs3d XapjSFGa41XVGQAMjQKgY/kO2/dVZ0gkEnJfh1d1DByjezp8ytf/FxHJcTjuV50BwNA01QFwZC5X ejwQ8Cv9nDI9GdI0f6rKCDhGJW/skH6f2uLmTncnfH4fJxmATvHl1LnyrCy107hFpM/bL7/oZzG3 ZPHTvpDyg7+ISEVmlvpJCAAOiwKgcxXprhdVZxAR+d6+ZtURMEz3NbSojiAiIuXpacrfagng8CgA Opdvdt1uMplVx5CW7i55xMsrgvXuUd+gtOpg8p/JbJZJTudXVecAcHjMAUgChTl5g23dnVbVOSrz C2TLzArVMXAEtZsbZH+n0tdIiIhIcW7+YEtXh9p3WgM4Iq4AJIGazAzl7wUQEWnoaJdn/bwgSK+e 8kd0cfAXEZmUmbFRdQYAR0YBSAKlbscNmqaPizW37GlUHQGHcdtufXw2mqZJabr9ZtU5AByZPo4q OKqC7NzB9p4u5bcBRES+NKtW7spzqY6Bg9zZ4ZcfvLNNdQwRESnOyR9s6ebyP6B3XAFIElOys3Tz StUHd+6RVl4SpBvt0YT8eNc+1TH+bXJ2xlrVGQAcHQUgSVS606/Tw9MAIiLhcEiuauARb724oqFD wqGg6hgi8t7s/0Kn84uqcwA4Om4BJJGqwiL/vrZWXVx71zRNnjhhjpydpou7Eob1TCAil67bpItl f0VEqouKfXtaWzyqcwA4Oq4AJJG6nMz/U53hA4lEQq7askd6uRWgTHdM5Note3Rz8BcRmZGZ9XPV GQAMDwUgiTi2br/e5UrXzd7e6/PKyt1tqmMY1opdLeL1q1/y9wMuV3rCsX3rbapzABgeCkASeUIk VldQsF11joNtbGqUr3b4VccwnNvb/bK5uUl1jA+ZVVCw5QmRmOocAIaHApBkqj3u8y0Wfd13/+G2 d2X1AAsETZS/D0TlJ9t3qo7xIWaLVSqzMj+hOgeA4WMSYBKqK69o23Jgf4HqHAfzuD2y/rgpUmKh U46nxkhcFry1U3x+n+ooHzKrrKJlc+P+EtU5AAwfe+skNMflvlrT9PXReX1eWfz2XunmAvC46U8k ZMmWfbo7+GuaSWaluz+rOgeAY8MVgCRVXVjs29PWkq46x0dNyi+U9XVlYtfJ0sWpIpxIyLwtB2Rf R7vqKIeYXFzav6ulKVN1DgDHRl+nkRi22bkZX9DbVQARkb0dbXLKjhaJqw6SQuIicvq7bbo8+Gua SebmZn9edQ4Ax47TtCQ2ubi0b1dLU4bqHEM5pbJSnqnOp2GOUlxEzt3bKa/u089SvwebVlLWs6O5 MUd1DgDHjv1zEpuf47nSZNLnR/hKQ4OctKNFwjpapCbZRBIJWfpuq24P/iaTSeZmej6tOgeAkeEK QJKrLS3r2NrUmKc6x+FMyi+Uf9aVSQZzAo5JbywhJ2/T5z3/D9SVV7RvObC/UHUOACOjz9NHDNv8 jJwzrTb9vnl1b0ebzH5rt+yPciVguJqjcZm3ea+uD/42m11m52SfqjoHgJHjtCwFnFRds+H1PbuP V53jSDzpHnlkZo0sSbOojqJrfx+IyhXv7NLdo34ftbhm8trXdu9apDoHgJHjCkAKWJCf9zGP26Pr U2yv3ysr33hbbmrV94FNpa+0++WiNzbr/uCf4c6Iz8/L5ewfSHL6eME8RmVtU1P07Mk1jp1dXYtV ZzmSRCIhb3V2yTODmlyQ5ZY06qeIvLfAz1m72uTJ3XskkdD5A5SaJmdWV973fxs3Pac6CoDR4RZA CplWUta9o7kxW3WO4fC4PfLz2mpZ5tLXew0m2jOBiHx2y27dn/V/YHppWff2psZc1TkAjB7nYClk bmH+SQ6HU3WMYfH6vHLxuk1y5u52aTfgBMHumMjKfV1y6bpNSXPwtzucclxe7smqcwAYG9wCSCFb Wlu7TquunrGnu7tWdZbhauzvl5+190rImS5LXDbVcSbE1zsCcsXbO2R3V6fqKMfkjJqaR/+8ZctP VecAMDa4BZCC9LxC4JGU5ObJvTWlsiJFbws85Y/IbbsbpaW7S3WUYzalpLTv3eamLNU5AIwdbgGk oJPyc+eku9xJd129uatTLlm7USa9tUd+0R9WHWfMPOIdlJnv7JfL1m1MyoO/Ky09MbO4SNePmQI4 dtwCSEGb2tr6zq2ZGt/R07VUknAp3kAoKH9raZef94UkZnfKImdyXhH4rTcsl73bLA/v2iN9gYDq OCOiaSZZVlPzrT+/velPqrMAGFvcAkhhC6uqt63bt2e66hyjleH2yFnFhXJLvltqbfrurFsGY3Jv u1debG2Xfp9XdZxRWzSp+p01e/fMUp0DwNijAKSwVSLmNwqKvPvbW9NUZxkTmib5mdmysjhPvpaf Lrk6eRFSfyIhP+wekEdbu6Shs0MSSXjVZSiVBUUDDe2tLtU5AIwPCkCKu2j+/EkvbN+52+f3ptRn bTKbJdeTKXVZGXJuVrpc5nGIa4L6QCSRkOcCUflTr1/e6vPKgZ5uiUWjE7PxCZKe7k4sn1ox+bE3 t+xRnQXA+EipgwKG9vHa2mue3Pnu/0ajEdVRxo3ZYpXy7GyZlemROqddjkuzyokOi7hNo/sT98UT 8q9QVDYMRGRbMCybU/SAfzCL1SrnT5t21R/eeedXqrMAGD8UAIM4e9q0nz6/891rdb/U7FjSNHE5 0yTH5ZI8h12yrVbJsVok3WISm6ZJhvm9Swb9sbgMJhLij8alKxKV3khEOkNh6QoEZCA4IMk4kXKk NJNJzp0y5WfP7NjxOdVZAABj5JTqya+KSILBONxYMnnqagEApJ45lVX7RQcHGob+xtzKqgYBYBj6 mEaNCTO5Yd+kaSVlPapzQF8mF5f21zTsq1adAwAwjlaJmCcXl/aJDs46GerHpMJi36pVtcZ4EQMA GN1NixY5KwqKAqKDAxBD3SjLLwx+obY2XQAAxnH1otrs8vzCAdHBgYgx8aO8oHDg6kW12QIAMJ6b Fi1y1hSV9osODkiMiRtVhUV+zvwBwOBWiZinl5Z1ig4OTIzxH1NLSnu45w8AEJH3SgCPCKb+mFtZ 1bCKt4ACAD7qlMmTX9E0k/IDFWNsh6ZpiRNral4XAAAOZ/n0af9jsViVH7QYYzMsVmti+fTpP/7o 5wwAwCFWzZz5aY/bExcdHMAYIx/p6e74J+rqWNcfADB8F82fP4m1ApJ3VBYUBT49Z07lEB8tAABH tkrEvHBS9VbmBSTP0EymxAmTqjcf7jMFAGDYLqitvcvlSueWgM5Hussdv3BG3VcO/0kCAHCMrps7 t3gG6wXodlQXFftWLZhVdaTPEACAETtr6tTH7A6n8gMe473hcDoTZ0+b9vujfW4AAIzaRXPmTJ5W Wt4umqb8AGjkMaWktPeS44+fNoyPDACAsbNi2ox7eVxw4keGOyNhzMf3AAACfUlEQVS2snb694b3 KQEAMA5Wraq1LZ08+WWbza78wJjqw2qzJRZNqn77pkWLnMP/hAAAGEeX19bOristbzeZeGRwrIfJ ZE7UlVe0XTZ37oxj+1QAAJggl9TWrphRWtZJERj90DRTYlJhsff82tqLjv2TAABAgU/MmnVJTVFx P4sIjeDAbzIlJheX9l02a9bHR/bbBwBAsStqZ516XGVlg8VqU35g1fswWyyJGaVlnZfU1q4Y+W8c AAAdWTVr3tQTJlVvZkXBQ0e6yx0/YVL15kvnzJk8ut8yAAA6duH0mXdOKSntNZstyg++qobJZE5U FBQNLJs+9X9XiZjH4vcKAEBSuLy2dvbJNVNeK8zJG9QMsKiQpmmJopz88CnVk1+9eNasurH7TQIA kKRWzZy56GPVk98oyskPm8xm5QfrsRomszlRnJsfXlwzee0nZ81aONa/NwAYCU11AGAo182dW7wn FLr7gM9/zv6+vly/35dUf6vudHeiPDOzqyzd9Wy5y/WV/3nzzVbVmQDgYEm1U4VxfXLWrIW94fDN LcHQx1q8vvw+v9cci0ZVxxIREbPFIlluT6zY7W4vcqb9Mz/Nce/DGzduUJ0LAI6EAoCktErELDNn Xtwfjny8ezA0pzsULvAGQ3Z/KGgeDIfGZZs2u0PSnc6Yx+4I5Tgd7Tl2+8Ycu+2P0c2bH39CJDYu GwWAcUIBQMq5Ztas0t5Y7PxQIjE1FItVhKOxolA0nhVJxJyhWNyRkIQpHo+bIvGEVUTEatIiJpMp rokWd5hNIatmDtotpl67xdziNJsPODVte6HN9uQPN25sUf3fBgAAAAAAAAAAAAAAAAAAAMDg/h+X KOickKP21wAAAABJRU5ErkJggg== "
id="image469"
x="-3.5096622"
y="59.944988" />
<image
width="49.349518"
height="46.215523"
preserveAspectRatio="none"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAA3NCSVQICAjb4U/gAAAACXBIWXMA AAztAAAM7QFl1QBJAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAwBQTFRF ////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACyO34QAAAP90Uk5TAAECAwQFBgcICQoLDA0ODxAR EhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElK S0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKD hIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8 vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T1 9vf4+fr7/P3+6wjZNQAAHJlJREFUeNrtnXdgFcX2xzeF0AkBpPNAmoAFNRp9NjqSpzQBKQKKUkSK WBCQpsgTFBUBlS5IUxGRHkAxCKIIglEELKg0iRDpIaTe81P86aPce+fs7szNbOb7/Td3z9k955Mt Z87MWJYCFb132qqkIz4yTseT3qpnma6ILivTyWDtqG92/lvsJMOV/YjB6a+ykSB6ydj810tB9v/U U4bmv1cmcn9OvvZG5r8TMv+30m83MP+xaUj8PzpWy7j8l96PtJ+nX8qYBsBsJP0CbS1sVv7r5iDn F2p5hFEArEHGL9Zkk/Ifh3xfqkEGATAW6fZTDuhgDgC7kW5/5YA7TMl/TSTbfzmgtiEA3IdcBygH lDUDgIFIdQB9aUY5YDwyHUgrjCgHvINEB9QUEwBI8HPhvcqaoatFBAw2AIDVfq7blI/gssJyQEcA YDQAlFEPABgNAB2vDQCMBoD2lgUARgNA2woDAKMBoJURAMBoAGgqADAbABoCAMwGwNcJABgNAGXU BwBGA0DH6wAAowGgveUAgNEA0LYiAMBoAGhVJAAwGgCaBgDMBoCeBgBmA+C7DwAYDQBlNAAARgNA x68EAEYDQPvKAQCjAaDtRQCA0QBQQiQAMBoAmg4AzAaAhgIAswGgzgDAbAAyGgIAowGgE1cCAKMB oP3lAYDRANBXRQGA0QDQ6kgAYDQANAMAmA0ADQMAZgNAXQCA2QBkNgIARgNAJ64CAEYDkDfKAQDA hZKKAgCjAaA1kQDAaABoJgAwGwAaAQDMBoC6AgCzAfB6OQAAuNXJqwGA0QDQgQoAwGgAvF0OAAAS tDYSABgNAL0JAMwGgEYCALMBoPsBgNkAZDYGAEYDQCevAQBGA+DVcgAAkKaviwEAowGgtfkAgNEA 0CwAYDYA9AwAMBsA6gYAzAYgswkAMBoA75UDAIBkHawIAIwGgL4pBgCMBoA+zAcAjAaAZgMAswGg ZwGA2QDQgwDAbACymgIAowGgU3UBgNEA0K+VAIDRANCOaABgNAD0UT4AYDQA9BYAMBsAGgUAzAaA HgIAZgOQdScAMBoAOnUtADAaAA+UAwCAWmlfDgAAirUuHwAwGgCaAwDMBoCeAwBmA0DdAYDZAGQ1 AwBGA0CnrwMARgNAh/4FAIwGgL6NBgBGA0AfRwEAowGguQDAbABoNAAwGwDqAQDMBiArHgAYDYCe 5QAAEELpWA4AAKHUzuIAwGgAKDEKABgNAM0LAwBGA0D9AIDZABwvBQCMBoCmAACzAcgpAQCMBoDq AQCzAegDADRRmdwB4A0AoInCTuYKAEsAgC76OFcAWA0AdNFYAGA2AC0AgNkAhCUCAKMBsKqcBgBG A2D1AABmA2C1TQEARgNglV4MAIwGwLJqdnwp8TtF+tVPeBMAgDnqgDsAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA0QCUavnI6Flrduw9T2f9nGHKXkiS/G1Jdfb8H+xY M2v0Iy1LhSL7NZ7ckEOQlspeP6CK2uznf2IXwqy3vuqTT1n6w7vsQ4D1108dw9Tkv+lXCK43tK2J gvRHTUdgvaPpUbLzf9kGRNVL2nCZ3Pxfsxcx9Zb2XiP18Z+KiHpNqU3l5b/OScTTezpZR1b+S+xB NL2oPSXk5D9yHWLpTa2LlALARETSq5okI/83+hBIr8p3owQAEhFH7yrRff7vQhS9rLtcDwDtQBC9 rB3hLgHoihh6W11dArAWIfS21rrLf3QmQuhtZRaT3o2oQKe/XTVlyP1t4u+4oXblUoVjKtWJa9jy vl5PPvPS1CW7MuS7O/XTltXzJz3Tv3P8TdVLFK1QK65R6659h4x5bU7ib3mPgPauAHhb9ekdXj68 xbUxwU4holr8o69/tF9WNeK7Nx+qFaRjpsSt3V9J2JuXSh/z3eQ/3wmFZ5b6ybh2ldmnUui6Actd jkmd3Ti2Oa9xtnBsz0XHgtr6djBD492GaAvDyUKBjeNu6sFXKcv+nlca2D+xyJuHrjvr9Hto4M32 umQibh7xaVbgOxfn8yryuMsodWM4mS0ycqWbPgAlyc/ZNMj5SGWBRrPSbHvMWljP2Ttwq8mB3gru 4By/0F2gfKUZrXrCm7SbBsEHFKQ/6WG33Uoxj+625TH52fIuxkJbr/Q7D+JVzsHd3IVqM8NFc6GV B1yE+mnZ2U+bfbOUEcp6H7FdbmzvtlG+4gg/DXH7OEeWdfc2OZThYq7QytMuLv01uenfPSBGVpPK OO47sJTWuPCmlyJwA+fAba7iVZcxVUf8YvyaiwtfLDP9WyU2qTEje+huWXNijl5i+3nOcaPdBGw/ w0ErsZnFkif9Ov3vbyOzSzWGNT9xrrQbTpyfggLnuFvchOwNhoMFYjOrdQBgX7cIqW3qDPApuYU8 f8P82Od8yUQcdRG0/4jtFzztCQCOPppf8jwVRpva/BIS/W3042CY4lLqmQJi8/eQFwB4v4z0iWrC LoXDrWW6K+avIrRd8XD6Uob5dzwAwOF28icqlhbW/cpL9dfSr5PLOWfq/EOwO6M+nqo/AAtULFvR XuB0U4xcf2/49fI459CtjsuA5cTG25HuABxqaanQ1OBeVxaS7M//zJhPOYc+6zR0XzKMv6c7AJvK Ksm/9UNQr6siJburFmBMg3N1NzmN3UjGoGWa5gDMjFKT/4pBvW4vIttf7wCeHuaUkFIcBi9WbJvX rpNrAGQ/ailS0FfrfeWk+1sSwBWr326es+j9yljnZbHWABxtrCr/1qwgbk9dKd1dZKB6exbnXfM+ Z+GbJrZc9KzOAHxXTVn+rX0ueyhs6raAzjg916WcrarXXGy5E2kMwA/l1OW/mqKRj0B6LqC3JZzD NztqXyvk/MmkAwB7KqjLv9U9SP1fRdXhi8BpKsw4fISTAK5klCfT9QXg50oK8x9sBKy1AnclgtzD 2zKOv8FJBBkfGF1IWwD2VVGZfys5cN1Bhbt7g9U5GceHHXYQwopiu8u1BeBAVaX5rxPY820q/M0M cqknOZWOt+yH8Cux1eIZugKQepXS/Ft9AnpersTfAZdj9k6mVz0ntspu2A05AO3V5t96P6Dn6+ya CitaodplgsJx7aAXO4PzEpFtO4ZxYqurdAXgZafOqt7WqseQV+YkbN2b8nPShhULprw4rEvspWXd sIBNNpvtOGs3Zu3+k3+93p3al5S4eOa4wXf57VsYEPRqUzidTpvsxvA3cRkwJlNTAD521PtVo+eC Q/4HRfetHt/z3+f/k17rvgZ05ZgApaT9i4c0ibH3n1af4W+o3SC+Kbb5IOkJwAH7sz6qPjTvoMDq qWX9a//988cD/egEcxD4niRBDeOtluc1Y+U/E/zXExker7cbxdYyUxNSANLjbHoo2OdHpumDs1uf e+VeEegHb7Ac1v6Q4ev0223+pqmRiHjGoE1Yss0oisczS2bpCcBQe/ajh9j6Rv590o1W5Ck3L+RW d+6j88x7bc49zF6U8L5mvWkvioyU9SAtAdhpaxZW2bH253vvej3gv00h2U/jfU/98T6QJPrVWIbb dvYusq/Y4odaAuC73c6jf7LTmd7+9RHD5zCbNs9Mri9s6vyB4bd4li234kLqZdlaAjDDhumH00mu Bop9xmWRAnHqXra229jBiB7pCMAR/lSMwvOl50G8AkD+71Xkn0YwrnewHYNjxPY+1hKAzmy7tXfK z4N4ILi9kvxTEuOC69oxeIvQXJkcHQFYzzbbScEGJEckFk9titP7dJBvLkW8+swjpCMA3FVY8r+h Igti/KKzFQHwJOOiZ/DNvSW2tl5HADZyv/03K8mCuInyWkX5p8845Ue+OfFUunI5OgJwJ7P0p2j/ uReFnluqAsDHmIhYjD12w1jasx9pCMBWnsV8KxVlQTxZW926148wLjxRYj1jo44AMCcBLlCVhP5C 1w2VAcCpQQ3kGhsgNFXBpyEA3/A2LO6nLAniseBqynxnlRRfOXvNTfE3xQDSEICOLHvXpStLwgNC 51EZuejcsvbzTO0WW/pMQwBOsNaAKfKDshTQ4Fx8/NAyxsVPlfUyW8mnIQC8UYBp6vLPWbnzNmXO GQP43I8Q8RK0j5OGAHAao6zYHIUAvMs4gS+Ueb+XcftjPYGOiTvqNmsIAKctxgr7TGH+6RPOCPQx Vd7fYXhnrW4rXt2/MmkIwAscY11U5p81LG/Fq7oHnWa8A7Fu3eKX6YE6AnA1w1bUQaUAnGZdUPcs Re4Za9LW5nxQilcc2KohAN9wbKnegK4w64oaHFXjndHIbf0iY0irKmkIwHCOra8UA8AcjKy2XYn3 3xkLUzFGQZ+Q21oSKgA4u2fUV5x/eoV5TeFd9qpw31Ds+W6xlSuERrZrCEA6pwq0RDUAP7GvKv/j Cp4DjFX5CwnroD8KbVQnDQHYwLBUMks1AGRjUnL0mDTZ3jmreq1xfxd7WkcARjMsPaQ8//YmpVSY Kbs/iLEXzgD3z5EkHQHg7ASSoB6ALfaurc7MM1Ldi4v4Vk3RiIpwXs0VpCEAWYxCeEwI9iD22V0h PLrvtxLd72F43OO2nD1cRwC+0KAIcE7P2r/A2+bKG6BmbE81KbgFcV/9Dh0B4Hx/zQwFAKlO1iYs +cT3oeMvPqiBbGFfSW3SEYAeDEO7QgEATXd0kWENF0p5QDFmdBUM+vEhXn7+GS0BaCC2Uzw023Fn O10nuMzT+yS4ryF2FHRuyiA1/0fKAWAsadeUQqOVjq80vHmCa0jFCQzeEynE19le3qoBSGNUQEaG CABOQTbwKMFLLguEjLfhYI2pPwuPHqUlAN8y7LwbKgCSCri4WqvAA1tcfYcy7oVBPgTFqw19pyUA HzDsbA4VADTPcqcb3VSs+rkaERQucVOXtARgHMNOcsgAoCEuCbAaOO8cTBRbD9waKl7i5r96AtCT cWv1hQ4AXyu3BFhtnVYGssVrFBQLOCgmnl70o54AMCaF1qAQKrWuawIiex1y5vshse2A8/qES9xc R3oCcKvYTKNQAkD7SrsmwCo03NE0IsZnaMBqvrCvcqymADD+4VqHFADaJmOv4rpOBorSxVO7A+0j +KvwyJ80BaC62Ezn0AJAe+tIIKDARAeexV3d4QHmJswSHXgDaQoAYwSmZ4gBoBONJBBgNbP/8fKe 2GqA7V47iI57UVcAxHc967FQA0CZUnaPK7XU9huouBDlf5HXHOFI4F5dAWAsDz+UQq/nwmQg8ITd D1jxOhmVnZWRHe9BrBqAdIaZ0bkAAL0nZQe5HjYnkzGW+PJb0B0lOuplXQH4nWFmUG4AQEc6yCCg s73m0WPiCSITnXxMh+3XFYADDDPdKXe0TMb2lW3sdYs0ERr0Nz/kuOhB+m/SFYDfGGZa5RIAdLKn hDeBu2ytaj5ZaK+IH6IWiQ56VVsATjHM3E65psTq7gloYmdSS7J4oVc/63yK2urCDmoLQDbDTJ3c A4AypvzLNQG2vmLEpXE/s3tE5+hmdRvVn4GMiYGlKTeVObWySwDC7azOLt4279Ka3i5HL46aACBe 0sCK9FHuIjCtijsCyqfwnYk7u8IvsTZedMQhjQHgvGkfp1xW5vTLXRFwtw1f4v1L3774kGaCA+qR xgAwmqFFU6JCoewVrSJdRGKCjRqk0Fi3i444W1BwwOs6A3A9w85m0kHJY6o5jkR+fil+p9BYxYuO WCN6AvymMwAtGHYWkR7yreuY32EobKxyLF7m46Idcx4X/LwB6QxAf4ad/qSNjo6v5SgUBY+wXYj7 UsdfeIBoRsgUrQHg7BZ+Nemkj9vlcxAL/p6D4q0T4m1V0yOOaA3A+ww7YSlaEUDJo+1Xh2JOsc0L jV+4WpBooeXGpDUA2ziG3iPNlLMsPtxmMMaxjT8qtJV4/s9FmwRN0xsAzniwvX3OQqSfB9trHy7P bg0Qr1t8wRwPQQ9r5O96A0CMFWKcrWygfpxgclk70fiSfXsRknXXeb8WrQ13J2kOwA0cS8laEkCp o4qqeAYI18woed6PRf3AM3UHoA/H0tukqY70ZEcjnm00wU5fmGA6Ub5jugPwFsdST9JWyy9jRqMI uy8gI1pkaxa7bhRPugPwHcdSyVR9CfgtnhkO/o4X94lM/a85XLTp8WztAfAV55h6RV8AyNeLFw7+ /GxhceR/q70sDv7DqOPaA8BaKdSqkKExAYwv9z/VjG3vjGh8L/wEcyDgbtIfgGEsW9N1BoC1+6ud inZrka1/Fo6OC/67OR4AIIFlq0aOzgCkcdoayvHtzRXZGvn3vSL4uET+kx4AgLNr3h96R+tbwCeM BvJ8fHPHReNNf6+c93Hwn0nY8jwEO4a0ZRm7VmsAWBdxgm9OtHBK9P/fEAVzwuZ7AoC5PGurtAZg qdzWtqkiWzs4b9AFTnkCgGO8brvrtf4QyCghtbXtN9Fg4197CWcHL0XLWFslFPsGMhfo7O31Z8AK G+ZuF9h64Nyvtqt/bwoFABOZ9uboDMBj4vO3s2CEqNe/JiNyBVM9AsDBCJ69Ql9rDABjxUs7K8nu FRk7N8wffNfptuQRAOgepsHqJ/QFYLb49A/YsRcrMLb8zx8F3+ZmoWcAWM+12MKnLQAviVsbbe19 91+BtT/niAafR1b4jGcAYG0ffU7PawuAuL/d3iTX3QJrf+6lOifoL9qTdwCYxjUZsUhXAITle7vL ddcObq1wlmih5fc9BMCZGDYBM/TMP2O1/2b2LIp2stxGFHRFyyJpHgKAnuRbfUFLABhrvXezZ1HU MP8aHQ06ANGRvARAcmG+2X46lgS7i8/b7sa9goUpOtGyoH9f4ikAaKQNu7E/qkniUuevzQcY7cF2 u7MEpaXL6algfy6W7i0AUu302BedpyL/Z/OXGPKrwzeAJoy3F7tz9DYKDCbfEuyvspbYDhUA4vGv C9T4UzWP8aiuSU4OfZ1xyvXsGs0RzPnpEBXsr8u8BkC2zUXam2ySDcAzfxlutNJ289FCzrIB9tfq 6+Ui9tEZXgOAlts13/Qz+7fqYPv5/LOHabk+620x8Cproqj93UXXuIj9/eQ5AFiLhVyoOz+3dUvd 0K9CmcB/zji/FbdM73XcVX5TeJODYu3HPrO489iv9CAAhx3s1nPTiI28CnvKsj7nXjMPsd+5Luv5 IeM2mv5CNO9Mnax53sVx6GMyPQiA/YfAX58EzSfuDv52kTS5aw1xU8ZoP021cX3nfBds/Gn3SPZS EU52bv7Acei7kRcBoJ5OPVXsNv/zPZe0QPsObpg1vNPNF3QdPxfQeaAvuehGQz7wt9buqU3P29hi 7gonwU8rHLLQ6wFAag3LjaLK123csd+oSeOGD3iwXbNbahWw0yaXGTTYxS6Pbdqxz4gJ81Z98fna 92dPGtG6qr2VxCc4in4bh5EomeVNAGhzpKVYlQO5/lyp20rO6nLzHbqTuMVCaAGg6aoBsAJt8j5W qdepzqJ/MsqZu7WeBYA5U9CFPgrgOF6l06pOb8nOzqpUtncBcPHpw1OAlVqyi6p0utxp+J3dEXuR hwHIbKgWgADD5FtV+nReljsS4cTfOi8DQCeuUgpALf9exyl0WcHFKg31HPgrne1pAOjXK1UCEO5/ tsTdCl26mdU4wYE/qVOocgEAOnarSgL8DiTnFFfncLib+O934HC91wGgNJX/j5P8edyuzl9bd3MZ brTtsGyO5wGgrAfUJcRvmXy8MnexLqdnjLHtsS95HwAK3u/mSn5XmmilytvlB10m4HvbLjfkCQDo 7WhFKcnnZ5DXV1KRsysOus6A3Vfi8r68AQD9couipGy71Nc3ilxdc9h9Bobb9Pko5REAKHt4uJKs +FlxbpKa/N90TEIGvrLpdFOeAYDok0oq0uLnM7mtkvz3ktOab2/Pwkq+PAQAHe+vYHz45kv9lFaQ /iLzJaXgCVtuH6O8BADRbvmjdIUuqZTuUpD/q3fLSsEmW3435zEAiFbVkp2bnRe7mCw9/YVfkNaV Sb5yNhxXpjwHAGVNkPyRNveSQVfZY8HtDsjMQW8bnp/MgwAQpU2tIzM9j1/aeTO+qszi34dyc/Ch Dd9b8iQAf2jtf8KkJai+v9GgJfUlWb9jtewcZJVgO7+c8ioARN/3KSIlQZEtE/w7SOpW0LXxsHgF s1bpfrb/QXkYAKKzS7rGuM3QFS8E2Us7bWXfam6MV3/2Z1Khpewz2JanAfhDmWt6Ov9mD7+2n/j/ 84cJzQo4sl6i1yZSpLPce181yusA/Pm0/mTknfZvBPlvH7KKu8xk2qp+dewVoKLqj96cTerUjnke Q0wA4Nyn8fdzHonlbuJdMq7j8xvtVmXTv54/pHkVzotnhfjBCWdIrb6ZwtN+UwD468a47f2X+zW/ pljAF7JK9R96/t1tbpaXPb15xoDGVUv4b82Nrt24+4TEo5S3pTEAf+vY9rVLFsyYMGb4E70f7Dto 1CtT532w9rOv9ySny3Nx+sCOT1fMe230wB49+j81csyrU+cn/pBKRsgDAEAAAAIAkH4ALEL4vK9F LgCYiPB5XxNdADAI4fO+BrkAoAvC5325ma7fCOHzvhq5AKAWwud9uWnICz+M+HldR1zNzZiJAHpd b7rqvmiBAHpdLV0BUPAMIuhtpRVy14C1BCH0tpa57MBriRB6W21cAmB9ihh6WZtdt0nfgiB6WXe4 78JfjCia+wZwrg8/C3H0qrKlTMh7GoH0qkZaUrQAkfSmFkqajVlwK2LpRW0rZElShUOIpveUXFHe fPnrkxFPz+X/epkrMlTajoh6S9slr89WCA3CntKiQpZkhY3yIaxekW9UmCVfdRMQWW8ooa6lRg22 ILj6a0sDS53aJGQgwjorI6GNpVbF2r9zEnHWUyff6VDMCoGi4lr1HjV9xfrz5G9R7V3rIUnyt3H5 sfN/sGL6qN6t4qKsXJO/acQdLEiSOvgJ72qtzhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQOIAAAQA IAAAAQAIAEAAAAIAEACAAAAEACAAAAEACABAAAACABAAgAAABAAgAAABAAgAQAAAAgAQAIAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAABA4gAAZDAAS8dCkrTUkwBASgUAAAAAAAAAAABooQQkJNRK 0AqAd5GQUOtdrQAYj4SEWuO1AmAgEhJqDdQKgM5ISKjVWSsAaiIhoVZNvarVu5GR0Gq3ZsMVY5GS 0GqsZgDEISWhVZxuI5ZrkJNQao12Q9Z1c5CV0Cmnrn5NC7ORltBptoZdK6X3Iy+h0v7SOvYtxaYh M6FRWqyenWudkJrQqJOuvYu9MpEc9crspW/3ar0U5Ee1Uurp3L9cZSMypFYbq2jewt5iJ5KkTjtb 6D+JIaLLynRkSoXSV3aJ8MZElqL3TluVdMSHlMmS70jSqmn3FlWRq/8DuRPhbREQOwkAAAAASUVO RK5CYII= "
id="image531"
x="321.55664"
y="64.635246" />
<image
width="85.751114"
height="83.078178"
preserveAspectRatio="none"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAA GXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAIABJREFUeJzt3XmcTfXjx/H3ndXM MDN2soTsRIpKSRSyFO0LUkpkTX0jS6VESakQKRKlpI0kS1EpSiKVNVHZ92X27S6/Pyb9VJaZe865 5957Xs/H4z56fJnz+bzdL/e871k+xyUAklROUgtJjSTV/OtVQlKCpGL2xQIcLeOv1zFJv0vaLGm9 pK8k/WlbqjDhsjsAYKNqku6UdIukejZnAVA4v0uaK2mm8ksBCokCACdqKWmYpKvFvwEgHKyR9Iyk eZK8NmcJGXz4wUmaSHpJ0mV2BwFgiY2S/idpid1BQgEFAE6QKGmMpF6SImzOAsB6H0gaIGmf3UGC GQUA4a6RpPckVbc7CICAOiSpm6TFdgcJVpF2BwAs1E3Sx5LK2B0EQMAlSOosyS3pG5uzBCUKAMLV A5JekRRtdxAAtnEp/2Lf0so/EuCzN05woQAgHA2V9Jw4xQUg38WSKkhaYHeQYEIBQLjpJmmi2PkD +KcLJUVJ+sLuIMGCAoBw0lzSh+LvNYBTay5pu6Rf7A4SDPiWhHBRWtI65R/mA4DTyVD+miCb7Q5i N+6JRrh4Vez8AZxdgqRZ4kghbwDCQltJo+wOASBklFf+OgGr7Q5iJ04BINTFKP9QXjW7gwAIKSnK XyDssN1B7BJldwDAoDtl4s4/JjZW9RtepEZNLlOlKtWUlFxCScnF5XLRlYHCyMzKVHZOtqEx0tNS lZZyXPv37tamn9dq8/qflJWZYVJCJUkaKOlRswYMNXyqIZRFKv/bfw2jA0VHx6hV+07qcOMdSkgo ajwZ4HA+SalpKfJ4PKaNmZebq2+WLdKyhR8rOyvTjCFTJJ37138dhwKAUNZO0kKjg1Q6t5r6Dx6h 0mXLmxAJwAlut1up6ammj5uelqq3Xh2vbVs2mjFcX0mTzRgo1HARIELZU5LqGxmg4UWX6KHho5WY XNykSABOiIiIkMfrMfUogJR/qu6iS5spLSVFu3f8YXS4UpKmmRAr5FAAEKoSJL0uA2v9V6teSw8O H6XY2CLmpQLwD5ERkcrJzTF9XJcrQnUbXKi9u3fq4P69RoaqqPzbAo+Zkyx0sA4AQlUzSXH+blws MUn9Bz+hmJhYEyMB+LfIyEhFRVpzvbnL5VLnHn1Vptw5RodqZUaeUEMBQKhqaWTjTrd0VXKJkmZl AXAGMTExlo0dG1tEHW+90+gwhj5PQhUFAKHqEn83LF2mnK5s3cHMLADOICbaugIgSXUaNFK1mnWM DNHUrCyhhAKAUFXb3w2bNr9aUVEsgQEESkREhCIirN3dNLn8SiObV5IUb1KUkEEBQChKlFTO340b NXFk2QdsFWnRdQAn1G1woZGS4ZIJ64mEGgoAQlEZfzeMiYnVudUc9+8csF2kxUcAihZLVGljFwOW NStLqKAAIBQV83fDpOIlWNYXsEEg/t0lGVvPw+/PlVBFAUAo8nutXoMfEAD8FIgCUCwp2dDmZuUI FRQAhCK/F7CKivJ73SAAQc7gv2/HXRlMAQAAwIEoAAAAOBAFAAAAB3LcOQ/ALnt379Tvv23Rvj27 lJZ6XNlZWXZHAkwRW6SIihZLVNnyFVW1ek1VrnIed9uEAAoAYKED+/Zo+dKFWrXiSx07ctjuOEBA FC2WpCaXNdeVV7fTudWq2x0Hp0EBACxw5NABvT/rda3+drl8Pp/dcYCASk9L0ZdLPtGXSz7R+Y2a 6LY771PJsn4v3gmLUAAAky1bPF/vvzVNOTnZdkcBbLd+3Q/a9Ms6XdPxJrVs18nyZwKg4CgAgEnc eXma9vJz+n7lV3ZHAYKKx+PWwrlztHXzBt3d5yHFxSfYHQniLgDAFHl5uXrxmcfY+QNnsG3LRk0a +6Qy0tPsjgJRAADDfD6fprz4tDb98qPdUYCgt2/3Tk2b8KzycnPtjuJ4FADAoAUfztaPq7+1OwYQ Mnb+vk1zZ8+wO4bjUQAAA3b+uV3z3n/L7hhAyPn+my+08ee1dsdwNAoAYMCsaS/L6/HYHQMISfNm z5TH7bY7hmOF410AsZJq/vWqIinhr5eh50QiqJxjdwBJ2vTLj/pty0a7YwAh6+jhg/rh2+W6tPnV dkdxpHAoAC5JTSW1l9RS0sUKjz8XgtznC+fZHQEIed8sXUQBsEko7yhLS7pfUjdJrDWJgEpPS9H6 dWvsjgGEvP17d2vPzj9VoXIVu6M4TiheA1BO0ouS/pQ0Uuz8YYONP/8oj4dzl4AZtmz4ye4IjhRK BSBCUk9JWyQNlBRvbxw4Gef+AfP8/tsWuyM4UqicAqgm6V1JTewOAkjS3t07DG1/7c23qkWbdoqL p8fCel6flGrRASu3O0/rVn6t+W+97vcdMQf27jY5FQoiFArAjZKmS0qyOwhwwpHDh/zetseABzV8 zPMmpgHO7lCOS16Lxr7m5s46r259jRs8wK/tU44dlc/nk8vlMjkZziTYTwH0k/S+2PkjyORk+/+k v9u79zAxCVAwkRbvWzveea8io/z7Tun1elka2AbBXACelDRRwZ0RDmXkAsASpUubmAQoIIsLQGyR OMUXLeb39lxUG3jBunPtJ+lxu0MAABCugrEA3CZpgt0hAAAIZ8FWAGpIek2WH6wCAMDZgqkAxEr6 QFKi3UEAAAh3wVQABklqYHcIAACcIFgKQFVJw+wOAQCAUwTLQkAjJMWZOWBC0aK6uOllqlCpskqW Lq2Spbj1KhB8Pq8yMnIsnWPXn39o9sxpls4BAOEuGApAVUmdzRrssuZX6u6evXVpsysUGxtr1rAo IK/Pq6NH0iydY90P31MAAMCgYCgAAyVFGx2kcpUqGjHmOTW7sqUJkQAACG92F4AYmfDt/6KLL9XL 02eqRMmSJkQCACD82V0A2ksqZWSAZle21KtvvaOoaMMHEQAAcAy77wK4zsjGVc+rrhdfm8bOHwCA QrK7AFzl74Yul0vPvDRRiYk8KBAAgMKyswBUllTF343bdLhOjRo3MS8NAAAOYmcBqGdk4579BpiV AwAAx7HzIsBa/m5Yrvw5qtegoZlZgJDidrv1x29bdfjgQcXFxym+aFEVK5aosudUUESE3Wf27JOe mqr09DRlpKUpIz1NaSmpSihWVAlFi6losWJKKFZMiUnJdse01aF9e5R54j1KS1WJMmVVsep5ii1i 6lpsCAF2FoAq/m7YolVruVw8MBDOs3/vHr08ZrQWfPCeUo4f+8/vx8XHq3qtOqpVv76aNm+pFte0 VYkwXAXT6/Vq/Y9r9PPaNdq6cYO2/bpFWzdu0LGjR866bdHERNWoXVc169ZT9dp11ODCi3ThJU3D 8mLi9NRUfbPsc634Yqk2rF+v7Zs3KiMt9T8/FxefoObtO+mewY/p3Bp+fzdDiLGzAPj91L9KVaqa mQMICV99tlj9u92h9NT/foCfkJWZqfXr1mr9urX64K2ZioiIUKOLL9Vtd9+rjrfertgiRQKY2Fyp Kce1/LMl+nLJQi3/bImOHj7k1zjpqalat3qV1q1e9fevFUtMUrOrrlaLa9qrZdt2Kl22nFmxA87t duvzBfP1zuuvatXXy+XOyzvrNlmZGVrywTv6Yv4HGjxusq7rek8AksJudhaAov5uWLpMGTNzAEFv 9Yqv1fPWG5SXm1uo7bxer9au+lZrV32rMY8OUZf7eqnnA/9T0cTQeer2xp/X6a1XJ+vjObOVnZVl yRxpqSlaNO8jLZr3kSKjonRNx+t1Z8/eurR5C0vms0JuTo7efHWy3pg0QXt37fRrjLzcXD094D7F xsWpzU13mJzQegaPDHvMyhEq7DxZ6PdXkWLc+gcHycnO1oP33lXonf+/HT18SBOfGaWWDWrr3Tem yeMJ3s87n8+nxR/P1U0tm+napo01Z8Z0y3b+/+Zxu7Xwow90R9urdU3jhpozY7rcbndA5vbXonkf qfWF9TV6yMN+7/xP8Pl8GjPwfh09eMCkdIFjcN8Qen9gg5x7tRAQIubOnmX4Q/1khw8e0NC+vXRT y2ba8ft208Y1y4/ff6dbrm6u3nfcrB+//87WLFs3bdCQPvep/SWN9OWSRbZmOZUjhw6q+/Ud1Kfz Ldr5x++mjZuZnqY5UyaYNl6gVKjs9+lhr6R1JkYJCRQAIMh9Nn+eJeP+vGa1OjS9SHPfmWXJ+IW1 d9dO9e16m26+6gqtXfWt3XH+4bfNm3TPDdeq67VttHXzRrvjSJK+Wfq52l3cSF99ttiS8Zd/as3f OyvVqtdA8Ql+nV1eLmmfyXGCHgUACHK//7bVsrEz0tL0UI+79OTDA+X1ei2b52w+njNbbZtcoIUf fSCfz2dbjrNZ+cUydbz8Yk1/ebytOae+NE53dWqnQwf2WzbHrt9/kzeITxOdSkxsrFpfe2NhN/NK Gm5BnKBHAQCCXFZmpuVzzJg8UX273Bqw8+wnpKWm6MF77tTA7l2VlpoS0Ln9lZOdracGP6RuHdvq wL69AZ3b6/Xqif89oKeHDba8gHjcbuXm5lg6hxWuaNVO5194cWE2GSLJ3nNNNqEAAEGubPlzAjLP 4o/n6q5O7ZWZkRGQ+bZs+EXtL7lQ8959JyDzmW3FsqVq1+QCrfzyi4DM5/F49MDdXTTzlZcDMl+x 5OIqEhcfkLnM5HK5dGevB9TsqmvOdldApqRekp4LTLLgQwEAgtylza8M2Fz5txter5zsbEvnWfnF Mt3aqoV27/jT0nmsduzoEd3VqZ1mT59q6Tw+n0/D+/fWgg/es3SekzVu7vez2mwXGRmpGzp314OP PaNLm1+tEqVKKyIiUpKyJW2QNEZSDUmv2ZnTbhQAIMjd0q27IiMjAzbfyi+/UL87by/QAjL+mDNj uu66vn3IHPI/G4/breH9e+ul0U9adlj+yYcHas6M1y0Z+3Q6dbs3oPNZoULlKrql230aPmaiXpg2 2yMpTtL5koZKCuz5myBEAQCCXI06dXVnrz4BnXPpp5/oif89YPq4E58ZpSF97pMnyO+rLyyfz6fx o0dqaN+epl9MOfWlcQE77H/CFe066tKr2wZ0TgQeBQAIAcOfeU5XtW0f0DnfnvaqqYe2X3vxeb3w 1AjTxgtGc2ZM14gH+5t2JOCbpZ/r2ceGmjJWQdVp1FgjpswM6JywBwUACAFR0dF67f15Gjh8hOLi A3dh1oiHBphyT/5br72iMY8OMSFR8Js1dYqeGTbY8Dg7tm9T/253BGzFxqjoaN1yXz9NWbhcRVlt 1RHsfBYAgEKIjIzUA8MfV9ee92vJ/Hlat3qVDh84oIP79+vo4UM6sG+v6eeg83Jz1afzrVr4/Y8q Wdq/Z3B89PZbeuKhAUF9f7/Zpo5/QfFFi2rgcP+OeORkZ6vX7Tef8omPZihZppySS5VWiTJlVaps edVscIFadrxJ5SpWtmQ+BCcKABBiSpYuo8739lTne3v+49ePHT2i5UsW653pU/XDym9Mm+/g/n16 pPd9mvbBx4XedsWypRrcu4dliwyduM3L33IRGRlp2Tfs8aNHqtw5FXR79x6F3vbZx4bq143rTc1T s35DXX9PLzVv11GlygXm1lIEN04BAGGieImSuv6OLnrv86/05vzFqlqjpmljL1u4QO+8Xrg7pn7f +qv6dr3Nkgv+kpKL697+A/XFz5uVlFzc73EWfv+jHhj+uGVrLTw2sJ++/2Z5obZZsWypZkyeaFqG 0mXLacLMd/TOih91Y/f72fnjbxQAIAxd0aq1Fny7Rrd0u9u0MUcPeVh/bvutQD+bmnJc997cSakp x02bX5KKJibq0WfH6bttO/Xos+NUpXoNQ+OVKX+OBg4foRVbftfzr72h0mXLmZQ0nzsvT70731rg 9Q6OHzuqQb3uMe10Sctr2mnxDz/pultuM/qoXIQhCgAQpuITEjR2yut6/LkXFRFh/J96ZkaGBt3f o0A7pyG97ytwWSioq9p10GdrftG9/QeafiFkVHS0buraTct+3qS7+/Q3dd2FY0cOq2/X2wv0OOeR gx7U/r17TJn3trvv1Wvvz1OJUqVNGQ/hhwIAhLnufQdo5Esvm/INcM23K866IM3MV17WonkfGZ7r hGKJSZr2wcd6/cP5Kl+xkmnjnm6uEc+/pPeXfa1y51Qwbdxf1v5w1rsgVn6xTPNmv23KfL0eGqQx k19TVBSXeeH0KACAA3Tp0UtDRo0xZawxw4fo8MEDp/y9LRt+0dMm3AJ3QtUaNTV3+be6uv21po1Z EI0uvlQfr/heF17S1LQx35g0QV8uWXTK38vOytLwB/qYcui/S49eeuSpZwyPg/BHAQAcoueDD6tL j16Gx0k5fkxPDX7oP7/udrs1qOe9ys0x5wlyzVu10byvv9N5tWqbMl5hlSlXXrMXL9NNXbuZMp7P 59Owvr1OeV3Ey8+O1o7t2wzP0aJNWz354kTO96NAKACAgzwxbrwubtbc8Djz33v3P1e3Txk3Vht+ +tHw2JJ0ZetrNPX9eUpMSjZlPH/FxMbquVen67a7zVkXf//ePRr1yP/+8Ws7tm/Tay+NMzx2tZq1 NH7m2wF9bgRCGwUAcJCo6GhNmvWuKVe7P/nwg3/fQ79ty2a9/Oxow2NKUuPLmmnyO+8rJjbWlPGM crlcembSq6aVgPffnKGvPlv89/8eNeThAl0geCYxsbF6+a3ZthcmhBYKAOAwpcqU1ZhXpho+TLx5 /c+aM+N1ud1uPdTjblMeIdy46eWa+fFCxSckGB7LTC6XS6MnvqION91iynhD+/ZSWmqKVn6xTEs/ /cTweMOfeU51zm9oQjI4CZeIAg50Vdv2uuOe+wq9uM+/jXvyce368w+t/3GN4UwVz62i1977KOh2 /idERkbqhWkztWfnTv30w/eGxtq/Z7dGDnpQv6xdazjXFa1aB/xpkQgPHAEAHGro6GcN3+p29PAh TRk31nCW2CJFNPmd91S8ZCnDY1kpJjZWr8750JSVAz94a6a2btpgaIy4+Hg99dIkLvqDXygAgEMV TUzU48+9aHcMSdKo8ZN1fqOL7I5RIGXKldekt+coOibG7igaOHyEzq12nt0xEKIoAICDtbvhJrXq cJ2tGbr3HaCb77zL1gyFddGll2nY08aPfBhRt8EFuqf/QFszILRRAACHGzVhsorZ9Pz36rXraPDI p22Z26i7evdTizZtbZk7IiJCoyZMYqU/GMLfHsDhypY/RwOGPabRQx4O6LxR0dF64fWZKhIXF9B5 zeJyufT0y1PUtskFpj/06Gy69uytRhdfGtA5Q9GhA/u0avky/brpF6UePxYpaZ+kPyTNl/SapKO2 BrQZRwAA6O7e/Ux9fHBB9Bs8LGTO+59O+YqVNOL5lwI6Z2JSsgYOfzygc4Yan8+nhR+9q+cef1hf fbZA+3bvVEZ6miSVk9RU0jOStku6w86cdqMAAFBUdHRA14+vf8GF6jt4aMDms9KNXe5U62s7Bmy+ /kMfDfq7Jezk8/k0e/pkLVs47++Fqk4jWdLbknoHJlnwoQAAkCRd0/F6Xd7yKsvniYiI0MiXJioq OtryuQLlyRcmKL5oUcvnqVy1mrpxz/8Zfbd8qdZ+901Bf9wlaYKk0D4U5ScKAIC/DXvmOUVEWPux cMc994Xd+evyFSup/yPDLZ9n2DPPBc0SycEoLzdXSz5+v7CbRUkyZx3rEEMBAPC3ug0u0PV3dLFs /BKlSuvhJ0dZNr6degx4UDXq1LVs/IubNdc1Ha+3bPxwsHXTeqWnpfqzaWvlXx/gKBQAAP8w6MnR ll2ZP2TUGCUXL2HJ2HaLio7W6AmTLVuV75GnQvN2yUDa9ed2fzeNkNTIxCghgQIA4B/KnVNBXXr0 Mn3ceg0b6aau3UwfN5g0ufwKtbvhJtPHbXNdJ114SVPTxw03fn77P6GsWTlCBQUAwH/0HTxURRMT TR1zxPMvWn59QTAYMmqMqefpIyIiNPDREaaNF868Xq+RzR23Lk74/2sEUGjFS5ZSj/4PmjZe2043 qMnlV5g2XjCrVKWq7rq/r2nj3dC5K4/6hSUoAABO6b4HHlKpMsaPikZFR4fscr/+6jdkuCn36kfH xGjA0MdMSAT8FwUAwCnFFy2qTrcZXyjtytbXBHyVQbslJiXrBhPupmjeqo0qV61mQiLgvygAAE4p MyND89971/A4Xy/9TDu2bzMhUejISEsz7b3b9ecfJiQC/osCAOCUpk98SYcO7Dc8Tl5ursaOsH6R nGAy8dnROnzwgOFx8nJz9fKzjlyjBgFAAQDwHynHj2nahBdNG2/hRx9ozbcrTBsvmO3e8admTJ5o 2ngfznpTv23eZNp4wAkUAAD/MenZp5Vy/JipY44aMkg+n8/UMYPR2MeHKSc727TxPB6PXhjJ0/9g PgoAgH/Yv2e33nx1sunj/rxmtea+M8v0cYPJDyu/0YIP3jN93CXz5+nnNatNHxfORgEA8A8vPDXC 1G+wJ3tm+CNKTTluydh2c7vdemxgf0uOcvh8Po15dIjp48LZKAAA/rZ5/c/6cNablo1/+OABjXsi PO9rf2PSBP26cb1l46/6erk+XzDfsvHhPBQAAH8bPXSQ0eVUz2rW1Clhdzj70IH9mviM9U85HD3k YeXm5Fg+D5yBAgBAkrT000+08otlls/j9Xr1+IMD5Ha7LZ8rUEY82F9pqSmWz7Pj9+16e9qrls8D Z6AAAJA7L09PDxscsPl+WfuDpjz/bMDms9K8d9/RonkfBWy+8aNH6tjRIwGbD+GLAgBAs6ZO0R+/ bQ3onBPGjNKmX34K6JxmO7Bvr5783wMBnTPl+LGAnG5A+KMAAA53cP8+vfjUEwGfNy83VwO732nZ HQdW8/l8Gtqnp44fOxrwud98dbI2/PRjwOdFeKEAAA434sH+tt2a99vmTRr3ZGjeFTBr6hR9uWSR LXN73G4N63u/PB6PLfMjPFAAAAf7YvFCLf54rq0Zpk140ZLFc6y0bvUqjXrkf7ZmWL9uralLDsN5 KACAQ2WkpWl4/952x5DP59MjvXtYeg+9mQ4fPKA+nW8Nitvxxj35GE8LhN8oAIBDjX18mPbv2W1o jOIlSuqefsYvgsvMyFCv2282/fkDZnPn5an3Hbdo/949hsfqdNsdql67jqExsjIzNeLB/oazwJko AIADfb30M7312iuGxxn42BMaOvpZ1W1wgeGxdmzfpvtvv0nZWVmGx7KC1+vV4N49tOa7lYbHKlOu vJ58caIefXac4bG+XLKItQHgFwoA4DBHDh3Uw/d1N7xmfY06ddX53p6Kio7WuGlvKDomxnC2VV8v 1323Xh90dwb4fD499kBf0x5mNPKll5WUXFxXtr5GV7Vtb3i8pwY/pC0bfjEhGZyEAgA4iNvtVv9u d+jQgf2Gxxrx/HhFRUVJkmrXb6A+g8x5WM2KZUvVt+ttcuflmTKeUT6fTyMe7K93Xn/NlPFu6NxV 13S8/u//PXzM84qKjjY0Zk52tgbc1UXpqalG48FBKACAg4we8rC+W/6V4XE63HSLLm951T9+re+g oapzfkPDY0vSsoUL1Ou2G5WRlmbKeP7Ky83V0L69TDldIuUf+n/8uRf/8WvVatZSjwEPGh77t82b NPCeOy1/lgPCBwUAcIgZkyeacttYscSk/+zEJCk6JkbPvfa64W+zJ3yxeKFuaHGZdmzfZsp4hXXk 0EF16dBGc2a8btqYoye+ouTiJf7z6wOGPqbKVasZHn/ZwgV6avBDhseBM1AAAAeYM2O6Rg4y/i1T kgY/9bTKlCt/yt+r17CRhowaY8o8Uv632uubN9XXSz8zbcyCWL9urTpdcal+WPmNaWN2u7+vWnW4 7pS/Fxcfr5EvvWzKPDMmTwzZxZUQWBQAIMy9MWmChvXrZfiiP0lq2Phidb635xl/5p5+D/zjHLdR x48d1V0d26lv19t0+OAB08Y9lcyMDL00+knd1LKZ9uzcYdq4dc5vqGFPjz3jz1zZ+hpdd8ttpsz3 8rNP68mHB3I6AGdEAQDCVHZWlob1u18jBz1oyo4gLj5e46a+oYiIM39suFwuPTtlms6tdp7hOU+2 8KMPdHXDunpzyiTT7xLweDz6eM5sXd2wjsaPHqm83FzTxk4uXkJT3v1AsUWKnPVnnxg3XqXLljNl 3hmTJ+r+22+y5VkFCA0UACAMfbf8K113eRPNnj7VtDGHjH5W59WqXaCfTUourqnvz1PRxETT5pek 1JTjGvHQADWtca7GPj7M8Lf0o4cOafJzY9S8bnUN7N7VlAV+ThYZFaWXZ80p8Pn9EqVKa+yrr8vl cpky/+cL5qtdkwu0aN5HphwBQnihAABhIj01VQs+eE9dr22jzu2u1rYtm00bu0WbtrqzZ+GWDa5R p64mzHxHkZGRpuU44diRw3rl+Wd1Zb0ahh5kdE2ThnpuxHDt3bXTxHT/7/HnXvzP3RJn06JNW3W9 737TMuzfu0d9Ot+ibi0v0Sezpuv44UOmjY3QFmV3AACFc/zYUS1d8Il+XrNaB/bt1dHDh3X44AHt 3vGnJU+HK1WmrN/fSlte006jJkzWsH73W/IN1Oif18q1Bno//Ii69erj17ZDnx6rVd8s12+bN5mW Z9O6NdrUv4dcLpfKVqyskmXLqXjJ0ipZrrxqNbhAzdt3Uqly55g2H4IfBQAIEV6vV1PGjdXk58cE 7P74qOhoTZr1rqHz0rd376HMjAxH3Z52V+9+Gjzyab+3j4uP15TZH+j65k2VlppiYrL8hY3279qh /bv+efrkxWEP6eYefdX70VGKKcD1Cgh9nAIAQoDb7VafzrfouRHDA7o4zmNjX9DFzZobHueefg/o f4+PNCFR8Lvt7ns04vmXDI9TrWYtvTRj1lkvujRLXk6OZk96QX07Xq3MdHsXYEJgUACAEDD2saFa Mn9eQOe89a7ufh/CPpV+Q4ar35Dhpo0XjG7scqeefvlV0y7iu6ptez0U4OK0/ofvNLJP94DOCXtQ AIAgt/3XLZo+aUJA52zRpq1GjZ9s+rj/e3yNhxDZAAAgAElEQVSknho/yZILA+3Wd/BQPf/a2W+T LKw+g4bojnvuM3XMs/nqk4+0+svPAzonAo8CAAS5OTOny+N2B2y+xk0v16S33zPl6X6n0vW++/XG 3E9Nv0XQLpFRURo1YbIefmKUad/8T+ZyuTRqwmR1uu0O08c+k3kzzbuFFMGJAgAEuVVfLw/YXBdd eplmzPtU8QkJls5zRavWmr14mcpVqGjpPFZLSi6u6R99oi49elk6T0REhJ6fOkNtO91g6TwnW/P1 FwGbC/agAABB7oDJi9OcTqsO1+mtBUuUUKxYQOarf8GFWrR6ndrfeHNA5jNb0ytbaNHqdWreqk1A 5ov6a1Ghsy3FbJbUY0eVk50VkLlgDwoAEOSKxMVZPsetd3XXK7M/UFx8vOVznSy5eAlNmjVHk2bN UWJSckDn9ldUdLQeGP64Zn36ucpXrBTQuSMjIzV64it6/LkXLb87IDIqStHR1pwGQnCgAABBrmr1 GpaNHZ+QoDGTp+rZV6YpKsq+ZUHa33izFny3xtSHCFnhkiuu1CcrV2vg8BEBuz3vVLr3HaCp789T iVKlLZujYtXzFBGGF2vi/1EAgCDX+rpOlox7fqOL9MnKH3Tb3fdYMn5hVapSVVPe/VBzPvtS51/Y 2O44/1C1Rk29OucjvbvkC9Wu38DuOJKkq9p10KLV63T5VVdbMn7z9tb8vUPwoAAAQe6mLt1MvViu eImSevLFifpo+beqVrOWaeOa5eJmzfXxN6v00huzVP+CC23NUrVGTY186WV9tuYXtbGoiBlRplx5 vfXJEo2f8bbOqVTZtHHj4hN0W+8HTBsPwYkCAAS5InFxGjd1hqKiow2Nk5iUrF4PDdKXG35Vt159 bD3kfzYul0udbrtDn3z7gz76aqVu6NxVMbGxAZk7MjJSra/tqDfnL9aynzbpzp69Db/3VnK5XOp4 6+1a9tMmDXpytMqUK294zEHjJqlUWePjILhRAIAQcFmLlpr89nuKL1q0UNu5XC6df2FjjZ74ir7b tlNDRo1RUnJxi1Jao9HFl+qFaTO1avsujZs6Q9fefKvpf4b4hAS16nCdRk98RSu2/K7X3purK1q1 tuS+fqsUiYtTn0FDtPLXPzR+xtu65IorC73gUlR0tAa/MFntb+9mUUoEk+D9CgDgH1pf21GfrflF 458eqYVzPzzlMwGiY2JUrUYt1apXT5e1uEot27Y35RthMCheoqRu7HKnbuxyp9xut35avUrrflit 7b9u1pYNG7Tt180Fek5Ckbg4Va9VR9Xr1FHNOvV0fqOL1OTyZooNkwfgREVHq+Ott6vjrbfr+LGj Wv7ZEn2z7DNtXL9Bf/y6+ZS39sXEFtHl13TQfUOfULXa9WxIDTtQAIAQUqHyuRo75XWNGj9Zv23Z pKOHDisqOlpFE4spuXgJla9QMagPV5slKipKjS9rpsaXNfvHrx87ekRpKSlKTTmujLQ05eTkKDo6 RkUTiykxKVnFEhOVXKKkrVfwB1Jy8RLqdNsd6nTbHTqa51JOnkcH9+1RypHDykxPU25OjoolJatq 7bqKSyjc0SWEPgoAEIJiYmNVr2Eju2MEneIlSqp4iZJ2xwhaEZGRKlexsspVNO+CQYQuZ9RgAADw DxQAAAAciAIAAIADUQAAAHAgCgAAAA5EAYC5fHYHAAAUBAUApvJRAAAgJFAAYCqv12t3BABAAVAA YCq3hwIAAKGAAgBTefLcdkcAABQABQCmynN77I4AACgACgBM4/Z45OEUAACEBAoATJOTnWd3BABA AVEAYAqfjwIAAKGEAgBTZGflyOvj8D8AhAoKAAzzeX3KzM6xO0ZARUZG+b3tscOHTUwCFJDFi3Tl ZGcpKyPd7+0jIiNNTIOCoADAsLSMLPm8zloCMLZIEb+3nTNzuolJgILxWPxP9NPZM+XO8+80YERE hGJiYk1OhLPx/2sMoPxD/7k5zjv3X7JUaR3cv9evbae+NE6HDuxX6w4dlZiUbHIy4L+8klIs+mea mZGutd98pQ9fn+z3GEnFS8jlcpmYCgVBAYDfcnPdSs901qH/E8pXqKzNG372a1ufz6e578zS3Hdm mZwKCE1ly1ewO4IjcQoAfsnNcystLcOxT/+pUbue3RGAsFGtRh27IzgSRwBQaNnZuUpPz7Y7hq3q NbxIEZGR8npY+RAwqlb9hnZHcCSOAKDAfD6f0tKzlJ6eJcsvKQ5yxRKTdP4Fje2OAYS8sudUVMVz q9odw5EoACiQnJxcHTuWrpzsXLujBI1W7TrZHQEIeVdc3dbuCI5FAcBp+XxSTk6ejh1PV1palrxe Fvo5Wf0LGqt6zbp2xwBCVvGSpdTk8ivtjuFYFACcxCe3x6Ps7FylpWXq6NFUpaVlysMT/k6ra49+ iojgnxHgj+tvv0tRUdF2x3AsLgI0g88nr9enPI9XXo9XXq9HPp/+enn/+m8QnzP/K5/3r6wouHOr Vdd1N3fRx++9ZXcUIKQ0uvhy1W/UxO4YjkYB8IPH41VunlvuPI/cbrc8Xp9jb4eD1PHmLvpz+1b9 vPZ7u6MAIaFSlWq69a6edsdwPI5dFsCJJ92dOCx+7FiaMtKzlJOTK4/Hy87f4SIiItTnoUdVq24D u6MAQa/sORXV44Ehioll6V+7UQDOIM/tVnp6Vv658PRM5eTkyeuwNe9RMDGxsfrfY0+rcdMr7I4C BK1qNWqr3yNPqGixRLujQJwC+A+vz6fs7FzlZOXKw1XvKITo6Bj1eehRff7pXH34zhvKzXXmMsnA v0VERqp1hxvU6tobFBHBU/+CBQXgL16fV9lZecrKygnuC/YQ1Fwul9pce6MaNWmq92ZN09pVK/j7 BEer2+BC3d6tp0qXP0eZWZl2x8FJHF8AfD6fMjJylJOTw6l8mKZ02fLq+7/HtHf3Dn31+UKtXrlc KceP2h0LCIj4hKJqfGkzXdmqvarVqC1Jys5x9vLhwcjRBSAnJ1cZGdmc14dlzql4rjp376077r5f u3f+oe1bt2j/3l06fuyocrKzlJvLyooIbdHR0YotUkRJScVV9pyKqnpeTVU5rybrY4QARxYAj8er 9Iws5eW67Y4Ch3C5XKp0bjVVOrea3VEAQJIDC0BmVrYyM3O5dQ8A4GiOKQBer09paVnKy8uzOwoA ALZzRAHIy3MrLS2Tc/0AAPwl7AtAVlaOMjOzOeIPAMBJwroAZGXmKCOTW08AAPi3sCwAPp+UkZGl 7GxusQIA4FTCrwD4fEpPy1JOLhf7AQBwOmG3UkN6RjY7fwAAziKsCgCH/QEAKJiwKQBZmTnKymLn DwBAQYRFAcjJyeVqfwAACiHkC4DH41V6Ojt/AAAKI6QLgE9SWlomz1sHAKCQQroAZKRnye322B0D AICQE7IFIDfXzRX/AAD4KWQLQHpGlt0RAAAIWSG5EmBOTq68Hq/dMf7jyOFD+mnNav3262bt2vGH du/4UxkZGUpPS1VWZobcbrfdER1vy8af1f3mNnbHABB8pv71kqTjktIlZUjaIelXSZskffPXf8Pi wrOQLAC5OcGz0t+uHX9qySdz9eXSxfpz+za74wAAjEv+6yVJtSSd/K3hgKRFkt6UtFxS8H0bLaCQ LADBYNWK5Zr1+qtat+Z7u6MAAAKnrKS7/3rtkPSi8o8cZNoXyT8UgEL6ae1qTRg7Wr9u2mB3FACA vc6V9JKkYZJGSZosKWRuTaMAFFDKsWOa+PxoLf5kHusOAABOVkbSBEndJd0vabW9cQomZO8CCKSf 1q7WXTd30KL5c9n5AwBOp5GklZKeUAjsX4M+oN3mvPWGBtzbVYcOHrA7CgAg+EVJGiFprqQEm7Oc EQXgNHw+n16fPF4Txo6SxxMyp3QAAMGho6QvJZW2O8jpUABOY8LYUZr+ygS7YwAAQlcTSUv1/7cU BhUKwCnMeHWS3ps1w+4YAIDQ10D56wYE3ekACsC/fPnZIk2b9KLdMQAA4eNSSVPsDvFvFICT7Nm1 U2NGDOVKfwCA2bpK6mF3iJNRAP7i9Xo1cuhDSk9PszsKACA8TZB0nt0hTqAA/OWTj97Thp/X2R0D ABC+4iRNsjvECRQASWmpKXp1/HN2xwAAhL9rJHWyO4TEUsCSpA/eeVMpx4+bNl5UTJzK1G6m8vWv VrEyVRWXVFaxxUopIpK3GwCsdDDbo9WHc4w9rzfzqHyZR+VL2SPfn9/Jt325fGmmLgY3QtJ82fxY YcfvkbIyM/X+2zNMGSsqJk7VW3RXzavuVVRs0N3xAQBhr0yRSFUtGq3f0w08Nj6+hFzxJeQqVV06 70rp6kfk/fVzeVe8LN/x3WbEbCSpvaRPzRjMX44vAJ8vnG/Kt/+SVRvpkrvGq0hSGRNSAQD8VTsp Wvuy3MrymPUF26WIWm0UUb2lPCsmybvmTTMG7SubC4DjrwFY9Mlcw2NUbtxRV/SZyc4fAIJApEuq lRRtwcDRirxyoCLbjZQiDH9/bi2pnAmp/OboArB/7x6tX7fW0BhlazfTRXc8o4ioGJNSAQCMqhAX pbhIlyVjR9S9VpEtHzY6TJSkW02I4zdHF4A1q1YaWvQnoVRlXdztBbkiIk1MBQAwKsIlVU6w7ix3 xAW3KuL8G4wO08aMLP6yswD4fYVGVLQ5h3bWrl5laPv61z6s6LhEU7IAAMxVMd7ay9wimw+QYosZ GeIK2Xgtnp0FYL+/G5Ysbc659o2/+L/wT4lzG6pCg9am5AAAmC8+yqWiURbu5ookKfLiu42MkCip njlhCs/OArDSn40Sk5JV9bwahifPy83Vvj17/N7+3EtuklzWnF8CAJijZKy1u7mI+p0kl6E5apqV pbDsLAALJB0p7EZtOnRUZKTxc+67d+6Q1+vxa1uXK0Ll67U0nAEAYK3EGIt3c/El5Cp/vpERapsV pbDsLACpkh4vzAZJxYvr7l79TJn86JHDfm+bUKqSiiSWNiUHAMA6CZHW7+ZcFRsZ2bysWTkKy+67 ACZLmlaQHywSF6+nX5ys4iVKmjJxZmaG39sWSeR+fwAIBTEBuEnLVdTQPsG2K8ntLgCS1FPSYEmn 3SOfV6OWprw5RxdcdLFpk2ZRAAAg7EUF4lqthFJGtjZ0G4ERwbAUsE/Sc5LektRVUouk5OQGlc6t WqlSlaq6omVrXdGylSIizO0qHrd/5/8lKTLKghWmAACmC8il2pGGFoKzbSGZYCgAJ+yX9Lyk579Z vb5zWk7u23YHAgAgXAXDKQAAABBgwXQEAH7ITjmovRuWKe3Adrmz0xWbWFqlqjVWmZpNeT4BAOC0 KAAhyp2TqQ2fPK8/V70nr8f9j9/bumyq4pLL6/yOg1SxUXubEgIAghkFIATlpB/RilfuUcreX0/7 M1nH92n1mw8pdd9W1W0/MIDpAAChgGsAQozP69GqNwacced/si2fT9GO1R9ZnAoAEGooACFm55r5 OvL72kJts37+WOVlp1mUCAAQiigAIeb3lbMLvU1uxnHtWbfIgjQAgFBFAQghednpOrZrvV/bHvxt lclpAAChjAIQQrJTD0o+n1/bZh3fZ3IaAEAoowCEkMioWP+3jS5iYhIAQKijAISQIkllFBnj3448 oVRlk9MAAEIZBSCERERGq2ytK/zatny9q0xOAwAIZRSAEFOrVU+pkI+3TDqntsrW8a84AADCEwUg xBSvfL5qXtWjwD8fFROnxl3GyOXi/2oAwP9jrxCC6nV4UNWvvPusPxeTkKym972qpHNqWx8KABBS eBZACHK5ItTg+iEqV6e5Ni+ZqCN//vSP2wOjYhNU6aJrVadNXxVJKmNjUgBAsKIAhLAytS5TmVqX KTvloFIPbJc7J11FEssouUIdHgUMADgjCkAYKJJUhm/6AIBCCcZrAGJWrfym5PFjR+3OAQBA2AqW IwARkjpLuk/S5T27d46UpKTkZDVr0Upd7+2lylWq2RoQAIBwEgxHAMpI+krSW5KaS4o88Rspx4/r 03kfqOv1bfXOjKk2xQMAIPzYfQQgUdIXkuqd6Yc8Ho8mjRsjd16eut3XJzDJAAAIY3YfAXhBZ9n5 n2zqyy9q84ZfLIwDAIAz2FkAqkq6uzAbeL1evT55vDVpAABwEDsLwPU66Xx/Qf3w3Qqlp6dZEAcA AOewswCc789GbrdbO//43ewsAAA4ip0FoKS/G7JGAAAAxthZAAr3TNuT+LxeM3MAAOA4dt8FAAAA bEABAADAgSgAAAA4EAUAAAAHsnsp4JCUcXSP9vy02O4YAICzyPH65D2ea+kcvgObLR3fKhQAPxze /oMOb//B7hgAAPiNUwAAADgQBQAAAAeiAAAA4EAUAAAAHIgCAACAA1EAAABwIAoAAAAORAEAAMCB KAAAADgQBQAAAAeiAAAA4EAUAAAAHIgCAACAA/E0QD/El6ig4pXPtzsGgDCScWinju/Z5Ne2RUtV VlLFuiYnCg8er3Qw22PpHL6MQ/Lt+cnSOaxAAfBD6fOa6KLOY+yOASCMbP/mbR3/yL8CULbOFWp4 42MmJwoPmW6flu3PsnQO7/av5dkz0NI5rMApAAAAHIgCAACAA1EAAABwIAoAAAAORAEAAMCBKAAA ADgQBQAAAAeiAAAA4EAUAAAAHIgCAACAA1EAAABwIAoAAAAORAEAAMCBKAAAADgQBQAAAAeiAAAA 4EAUAAAAHIgCAACAA1EAAABwIAoAAAAORAEAAMCBKAAAADgQBQAAAAeiAAAA4EAUAAAAHIgCAACA A1EAAABwIAoAAAAORAEAAMCBKAAAADgQBQAAAAeiAAAA4EAUAAAAHIgCAACAA1EAAABwIAoAAAAO RAEAAMCBKAAAADgQBQAAAAeiAAAA4EAUAAAAHIgCAACAA1EAAABwIAoAAAAORAEAAMCBKAAAADgQ BQAAAAeiAAAA4EAUAAAAHIgCAACAA1EAAAAwwBUTb2TzVLNyFBYFAAAAI5LOMbL1nyalKDQKAAAA BrgSz5GrRFV/N19kZpbCoAAAAGBQROOu/mz2vaRvTY5SYBQAAAAMiqjfSa7KTQqzSYakXpJ81iQ6 OwoAAABGuSIUdd1YuSpcUJCfTpV0s6SfrQ11ZhQAAADMUCRJUbe8qsgr+ktFEk/1E15JcyU1lrQ4 oNlOIcruAAAAhI3IaEVc3F0RF3WVb89P8h39Q3G7V72d/utXCyR9JWm/zQn/xhEAAADMFhktV+Um irjgVlXsMmGhpHcVRDt/iQIAAIAjUQAAAHAgCgAAAA5EAQAAwIEoAAAAOBAFAAAAB6IAAADgQBQA AAAciAIAAIADUQAAAHAgCgAAAA5EAQAAwIEoAAAAOBAFAAAAB6IAAADgQBQAAAAciAIAAIADUQAA AHCgKLsDAAAQdtw58u1cLd+xXdq1e+X1kqIlfSlpp83J/kYBAADALO5ceVZPl3ftLCk3U5KUId2i /JckLZI0SNJGmxL+jQIAAIAZso7LPXeAfPs2nOmn2klqLukOSZ8EJNdpcA0AAABGeT1yz//f2Xb+ JyRImiPpImtDnRkFAAAAg7y/fCjf7nWF2SRO0hRJLmsSnR0FAAAAg7w/zvZns8aSmpkcpcAoAAAA GOBL2SPfsR3+bt7WzCyFQQEAAMCI1L1Gtq5iUopCowAAAGCALzfLyObFzMpRWBQAAAAciAIAAIAD UQAAAHAgCgAAAA5EAQAAwIEoAAAAOBAFAAAAB6IAAADgQBQAAAAciAIAAIADUQAAAHAgCgAAAA5E AQAAwIEoAAAAOBAFAAAAB6IAAADgQBQAAAAciAIAAIADUQAAAHAgCgAAAA5EAQAAwIEoAAAAOBAF AAAAB6IAAADgQBQAAAAciAIAAIADUQAAAHAgCgAAAA5EAQAAwIEoAAAAOBAFAAAAB6IAAADgQBQA AAAciAIAAIADUQAAAHAgCgAAAA5EAQAAwIEoAAAAOBAFAAAAB6IAAADgQBQAAAAciAIAAIADUQAA AHAgCgAAAA5EAQAAwIEoAAAAOBAFAAAAB6IAAADgQBQAAAAciAIAAIADUQAAAHAgCgAAAA7k3ALg cvm9qc/nMzEIAMA6gfi8Ds19gmMLQJEiRfzeNifjmIlJAABW8QRi35x5NACTmM+xBSA+IcHvbbNT D5mYBABglbxAFID0gwGYxHyOLQDFiiX6vW3G4R3yunNNTAMAsEJmntfyOXxH/rB8Dis4tgBUPLeK 39u6czJ16LdV5oUBAFgiw+pzAJ5cef9Yae0cFnFsAUhMSlZS8eJ+b7/7p8UmpgEAWOFojsfS8X07 vpdyMyydwyqOLQCSVKNmHb+33bV2vtIP7zQxDQDATB6fdCzHyiMAPnm+nWLh+NZydAG48OJL/d7W 63Fr44LnTUwDADDT/myPPBbeoufdvEi+A5stG99qDi8ATQ1tv+fnz7T9m7dNSgMAMNOujDzLxvYd +V2epc9YNn4gOLoA1GtwgcqULWdojF/mPa39m5ablAgAYIaUPK8O5Vh0B0DGYXnmPRiy5/5PcHQB iIiIUJsOnQyN4fN69N3rfbR12VSTUgEAjNqSkmfJAn2+g1vkfqebfMd3mT94gDm6AEhShxtuVkSE sbfB5/Vow4JxWjW9n9IOhub9oAAQLvZnu3Uw2+Sr/3Mz5Fk5We7Zd8uXut/csW0SZXcAu1WuUk1X trpGX362yPBYe9cv1b6NX6rShdeqQsNrVKbWZYqM9n/JYQBA4eR4pPXHzDr375Nv/0Z5t30l7y9z pazwWgbe8QVAkrr16KOvPl9sykN+fF6Pdq75WDvXfKzI6CJKKFlRRRLLKDre/5UHAYS/jEP+31Z8 YPM3+n7mQBPThK4jOR7lGvzy73NnS+mH5EvbJ2WlmBMsCFEAJNWsU1ftOt6ohR9/aOq4nrxspe7f ptT920wdFwBOln54J+uSoNAcfw3ACf0eHmZoZUAAAEIJBeAvScnJGjjkcbtjAAAQEBSAk7Rp31Ed b77d7hgAAFiOAvAvA4c8pvoNG9kdAwAAS1EA/iU2tojGTXlD1WvWtjsKAACWoQCcQtGixfT8K9NV 5bzqdkcBAMASFIDTKF2mrKa8+Z4aXNjY7igAAJiOAnAGxRKTNP61N3VLl7vsjgIAgKkoAGcRExur gUMe15NjxyspOdnuOAAAmIICUECt2l2rOZ9+oVu63GX44UEAANiNPVkhFEtM0sAhj2vGBwvUqt21 ioiItDsSAMBGdRtcoBtv72p3DL9QAPxwXo1aenLseL27YKm69+qn8hUq2R0JABAgRYsl6pprr9cr b76nqW9/qEsvb253JL/wMCADKlSqrB79HtS9fQdq6+aNWvv9d1q7+jtt37pFhw4esDseAMAExRKT VKN2HdWoVVdNm7dQo8aXKCoq9Hefof8nCAIul0u16tZXrbr11bn7fZKkzIwM7d2zS6nHjyszI125 ebk2pwQAFERkZJSKFi2moomJKlmylEqVKWt3JEtQACwSn5DAaoIAgKDFNQAAADgQBQAAAAeiAAAA 4EB2FgC/r4rLyMwwMwcAAH5LT08zsnmOWTkKy84C4Pc7dphb7AAAQeLwwYNGNk81K0dhhWQB2L93 r5k5AADw2/59e4xsbujwgRF2FoAd/m64asVXJsYAAMB/q1YsN7L5nybFKDQ7C8Cv/m64Z9dO/b5t q5lZAAAotG1bt2jv7l1GhrBtZ2ZnAdhsZOPZM6aZlQMAAL+8O9PwvmiTGTn8YWcB2C7J7xMniz+Z q9+22Pa+AQAcbtvWLVqy4GMjQ+ySQ08BSNKX/m7o9Xo15olhysnJNjMPAABnlZ2dpacfHSyv12tk mGVm5fGH3QXgUyMbb9m4XqMfHSyfz2dWHgAAzsjn82n0o4/o180bjQ5laB9oVKSdk0vaJqmfpCL+ DvDHtt/0x/bf1LR5C0VHR5uXDACAf8nNydHoRwdr6aJPjA6VIqmXJLfxVP6xuwC4JVWXdKGRQf7c vk2rVixXnfoNVap0GXOSAQBwkl83bdAjA3rph+9WmDHcm5LmmjGQv1x2Tv6XupLWy4TTEREREWrV 7jrd3u0e1axTTy5XMPzxAAChyufz6ddNG/Tum69r6aIFZp1y9kqqJ2mLGYP5K1j2kO9LutnMAcuU K69LLm+usuXPUZmy5RQXH2/m8ACAMJWVmamDB/Zr/949Wr3yax08sN/sKd6TdJvZgxZWsBSAupJ+ ksRJfABAOMuV1FA2f/uX7L8G4IRDkopKutzuIAAAWOhZ5R8BsF2wHAGQpARJP0s6z+4gAABY4DdJ F0jKtDuIZP86ACfLkHSTJFb2AQCEmxxJtytIdv5S8JwCOOGApKOSOtgdBAAAE/WRzQv//FuwFQBJ WqP8hYGa2R0EAAATjJL0vN0h/i0YC4AkfSGpnKTGdgcBAMCAVyQNsjvEqQRrAZD+/1BJCztDAADg p2clPSQpKB9YE8wFQJK+krRfUmtJUfZGAQCgQLIl9ZY01u4gZxJMtwGeyYWS5ij/uQEAAASrrcpf 5e8nu4OcTbAfAThhn6Rpyn94UFNxNAAAEFzyJE1S/s5/p81ZCiRUCoCUv/P/SvnPDSip/OWDg2kd AwCA83gkvSvpVklvK3+p35AQKqcATqWGpIHKX1ihhM1ZAADOckT5O/6XJG2zOYtfQrkAnBAjqb3y Fw9qKZYSBgBYY7vyb1P/VNIihdC3/VMJhwLwbxUk1ZFUS1IlScWV/6ChQD9pMEH5xcQfGZIWmpgF AOzUXvmfif5YqPzPxEDKk5Su/JVpdyn/wr7NkvYEOAdCVBXl3/vpz+uPwMcFAMv8If8/D6sEPq4z cBEdAAAORAEAAMCBKAAAADgQBQAAAAeiAAAA4EAUAAAAHIgCAACAA1EAAABwIAoAAAAORAEAAMCB KAAAADgQBQAAAAeiAAAA4EAUAAAAHIgCAACAA1EAAAAAziBZ0hBJqyQdkeSz+eWRtFfSp5LulBRp 3R8dAP4WJambpIXK/wzyyP7PwyOSvsfa0XwAAAHKSURBVJP0iKQk6/7ocKJOCo6d/plev0iqadUb AACSaklaL/s/7870OizpOqveADhLZwVHwy1oC65lzdsAwOFqSzoq+z/nCvLySLrdmrcBTlFDUpbs /8tcmNcG5R+iAwCzREvaJPs/3wrzypRUzYo3A84wS/b/Jfbn1d2KNwOAY90r+z/X/Hm9acWbgfAX Jyld9v8F9uf1mQXvBwDnWib7P9f8eaVJKmLB+xEWuA3w9GpLSrA7hJ8a2x0AQFi5yO4Afiqq/M9y nAIF4PRK2B3AgGRxWyAAc0RKSrQ7hAEl7Q4QrCgAp3fE7gAGHFP+VbAAYJRHUordIQw4ZHeAYEUB OL3Nyj9/FIp+sDsAgLCyxu4AfkqXtNXuEMGKAnB6OZLm2R3CT+/aHQBAWJltdwA/fSgp2+4QCE3n Kf9eUruvZC3M6xexDgAAc0Upf40Ruz/fCvPKkFTVijcDznG7QmclwMNiOWAA1qil4F8S/cTLI+lW a94GOM11yr+QxO6/1Gd6/aT8lQsBwCo1Jf0s+z/vzvQ6KKmDVW8AnClJ0mBJ3yr/m7bdf8lPPA3w E0ldxG1/AAIjUlJXSQsUPE8DPCxppaRBCu1bFgPq/wBbDart4QCdaAAAAABJRU5ErkJggg== "
id="image631"
x="84.89212"
y="46.267635" />
<path
style="fill:#9fbaa6;fill-opacity:1;stroke:#000000;stroke-width:4.153;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#TriangleStart);stop-color:#000000"
d="m 51.430143,89.340061 25.929764,-0.47427"
id="path1809" />
<path
style="fill:#9fbaa6;fill-opacity:1;stroke:#000000;stroke-width:4.153;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#TriangleStart-7);stop-color:#000000"
d="m 170.18695,91.041157 25.92976,-0.47427"
id="path1809-3" />
<path
style="fill:#9fbaa6;fill-opacity:1;stroke:#000000;stroke-width:4.153;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#TriangleStart-7-5);stop-color:#000000"
d="m 283.16611,91.068514 25.92976,-0.474271"
id="path1809-3-2" />
</g>
</g>
</svg>
import{b2 as Ca,b4 as Vl,au as mp,at as nn,ay as Wr,ax as ei,aI as bp,c6 as Ep,c7 as wp,c8 as xp}from"./index-Hfn5l4aw.js";import{a as Tp}from"./createText-77e212b0-L6d34XR_.js";var Ki=function(){var pe=function(j,Y,te,L){for(te=te||{},L=j.length;L--;te[j[L]]=Y);return te},ve=[1,4],ee=[1,13],he=[1,12],H=[1,15],O=[1,16],T=[1,20],x=[1,19],S=[6,7,8],z=[1,26],U=[1,24],P=[1,25],K=[6,7,11],D=[1,6,13,15,16,19,22],V=[1,33],_=[1,34],Q=[1,6,7,11,13,15,16,19,22],ne={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(Y,te,L,$,k,W,fe){var ge=W.length-1;switch(k){case 6:case 7:return $;case 8:$.getLogger().trace("Stop NL ");break;case 9:$.getLogger().trace("Stop EOF ");break;case 11:$.getLogger().trace("Stop NL2 ");break;case 12:$.getLogger().trace("Stop EOF2 ");break;case 15:$.getLogger().info("Node: ",W[ge].id),$.addNode(W[ge-1].length,W[ge].id,W[ge].descr,W[ge].type);break;case 16:$.getLogger().trace("Icon: ",W[ge]),$.decorateNode({icon:W[ge]});break;case 17:case 21:$.decorateNode({class:W[ge]});break;case 18:$.getLogger().trace("SPACELIST");break;case 19:$.getLogger().trace("Node: ",W[ge].id),$.addNode(0,W[ge].id,W[ge].descr,W[ge].type);break;case 20:$.decorateNode({icon:W[ge]});break;case 25:$.getLogger().trace("node found ..",W[ge-2]),this.$={id:W[ge-1],descr:W[ge-1],type:$.getType(W[ge-2],W[ge])};break;case 26:this.$={id:W[ge],descr:W[ge],type:$.nodeType.DEFAULT};break;case 27:$.getLogger().trace("node found ..",W[ge-3]),this.$={id:W[ge-3],descr:W[ge-1],type:$.getType(W[ge-2],W[ge])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:ve},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:ve},{6:ee,7:[1,10],9:9,12:11,13:he,14:14,15:H,16:O,17:17,18:18,19:T,22:x},pe(S,[2,3]),{1:[2,2]},pe(S,[2,4]),pe(S,[2,5]),{1:[2,6],6:ee,12:21,13:he,14:14,15:H,16:O,17:17,18:18,19:T,22:x},{6:ee,9:22,12:11,13:he,14:14,15:H,16:O,17:17,18:18,19:T,22:x},{6:z,7:U,10:23,11:P},pe(K,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:T,22:x}),pe(K,[2,18]),pe(K,[2,19]),pe(K,[2,20]),pe(K,[2,21]),pe(K,[2,23]),pe(K,[2,24]),pe(K,[2,26],{19:[1,30]}),{20:[1,31]},{6:z,7:U,10:32,11:P},{1:[2,7],6:ee,12:21,13:he,14:14,15:H,16:O,17:17,18:18,19:T,22:x},pe(D,[2,14],{7:V,11:_}),pe(Q,[2,8]),pe(Q,[2,9]),pe(Q,[2,10]),pe(K,[2,15]),pe(K,[2,16]),pe(K,[2,17]),{20:[1,35]},{21:[1,36]},pe(D,[2,13],{7:V,11:_}),pe(Q,[2,11]),pe(Q,[2,12]),{21:[1,37]},pe(K,[2,25]),pe(K,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(Y,te){if(te.recoverable)this.trace(Y);else{var L=new Error(Y);throw L.hash=te,L}},parse:function(Y){var te=this,L=[0],$=[],k=[null],W=[],fe=this.table,ge="",Ae=0,Ne=0,_e=2,tt=1,ht=W.slice.call(arguments,1),Pe=Object.create(this.lexer),$e={yy:{}};for(var Xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Xe)&&($e.yy[Xe]=this.yy[Xe]);Pe.setInput(Y,$e.yy),$e.yy.lexer=Pe,$e.yy.parser=this,typeof Pe.yylloc>"u"&&(Pe.yylloc={});var rt=Pe.yylloc;W.push(rt);var ut=Pe.options&&Pe.options.ranges;typeof $e.yy.parseError=="function"?this.parseError=$e.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nt(){var jt;return jt=$.pop()||Pe.lex()||tt,typeof jt!="number"&&(jt instanceof Array&&($=jt,jt=$.pop()),jt=te.symbols_[jt]||jt),jt}for(var je,pt,Et,kt,ct={},cr,Wt,sn,Kr;;){if(pt=L[L.length-1],this.defaultActions[pt]?Et=this.defaultActions[pt]:((je===null||typeof je>"u")&&(je=nt()),Et=fe[pt]&&fe[pt][je]),typeof Et>"u"||!Et.length||!Et[0]){var Da="";Kr=[];for(cr in fe[pt])this.terminals_[cr]&&cr>_e&&Kr.push("'"+this.terminals_[cr]+"'");Pe.showPosition?Da="Parse error on line "+(Ae+1)+`:
`+Pe.showPosition()+`
Expecting `+Kr.join(", ")+", got '"+(this.terminals_[je]||je)+"'":Da="Parse error on line "+(Ae+1)+": Unexpected "+(je==tt?"end of input":"'"+(this.terminals_[je]||je)+"'"),this.parseError(Da,{text:Pe.match,token:this.terminals_[je]||je,line:Pe.yylineno,loc:rt,expected:Kr})}if(Et[0]instanceof Array&&Et.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pt+", token: "+je);switch(Et[0]){case 1:L.push(je),k.push(Pe.yytext),W.push(Pe.yylloc),L.push(Et[1]),je=null,Ne=Pe.yyleng,ge=Pe.yytext,Ae=Pe.yylineno,rt=Pe.yylloc;break;case 2:if(Wt=this.productions_[Et[1]][1],ct.$=k[k.length-Wt],ct._$={first_line:W[W.length-(Wt||1)].first_line,last_line:W[W.length-1].last_line,first_column:W[W.length-(Wt||1)].first_column,last_column:W[W.length-1].last_column},ut&&(ct._$.range=[W[W.length-(Wt||1)].range[0],W[W.length-1].range[1]]),kt=this.performAction.apply(ct,[ge,Ne,Ae,$e.yy,Et[1],k,W].concat(ht)),typeof kt<"u")return kt;Wt&&(L=L.slice(0,-1*Wt*2),k=k.slice(0,-1*Wt),W=W.slice(0,-1*Wt)),L.push(this.productions_[Et[1]][0]),k.push(ct.$),W.push(ct._$),sn=fe[L[L.length-2]][L[L.length-1]],L.push(sn);break;case 3:return!0}}return!0}},le=function(){var j={EOF:1,parseError:function(te,L){if(this.yy.parser)this.yy.parser.parseError(te,L);else throw new Error(te)},setInput:function(Y,te){return this.yy=te||this.yy||{},this._input=Y,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 Y=this._input[0];this.yytext+=Y,this.yyleng++,this.offset++,this.match+=Y,this.matched+=Y;var te=Y.match(/(?:\r\n?|\n).*/g);return te?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Y},unput:function(Y){var te=Y.length,L=Y.split(/(?:\r\n?|\n)/g);this._input=Y+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-te),this.offset-=te;var $=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),L.length-1&&(this.yylineno-=L.length-1);var k=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:L?(L.length===$.length?this.yylloc.first_column:0)+$[$.length-L.length].length-L[0].length:this.yylloc.first_column-te},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-te]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Y){this.unput(this.match.slice(Y))},pastInput:function(){var Y=this.matched.substr(0,this.matched.length-this.match.length);return(Y.length>20?"...":"")+Y.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Y=this.match;return Y.length<20&&(Y+=this._input.substr(0,20-Y.length)),(Y.substr(0,20)+(Y.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Y=this.pastInput(),te=new Array(Y.length+1).join("-");return Y+this.upcomingInput()+`
`+te+"^"},test_match:function(Y,te){var L,$,k;if(this.options.backtrack_lexer&&(k={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&&(k.yylloc.range=this.yylloc.range.slice(0))),$=Y[0].match(/(?:\r\n?|\n).*/g),$&&(this.yylineno+=$.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:$?$[$.length-1].length-$[$.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Y[0].length},this.yytext+=Y[0],this.match+=Y[0],this.matches=Y,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(Y[0].length),this.matched+=Y[0],L=this.performAction.call(this,this.yy,this,te,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),L)return L;if(this._backtrack){for(var W in k)this[W]=k[W];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Y,te,L,$;this._more||(this.yytext="",this.match="");for(var k=this._currentRules(),W=0;W<k.length;W++)if(L=this._input.match(this.rules[k[W]]),L&&(!te||L[0].length>te[0].length)){if(te=L,$=W,this.options.backtrack_lexer){if(Y=this.test_match(L,k[W]),Y!==!1)return Y;if(this._backtrack){te=!1;continue}else return!1}else if(!this.options.flex)break}return te?(Y=this.test_match(te,k[$]),Y!==!1?Y:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var te=this.next();return te||this.lex()},begin:function(te){this.conditionStack.push(te)},popState:function(){var te=this.conditionStack.length-1;return te>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(te){return te=this.conditionStack.length-1-Math.abs(te||0),te>=0?this.conditionStack[te]:"INITIAL"},pushState:function(te){this.begin(te)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(te,L,$,k){switch($){case 0:return te.getLogger().trace("Found comment",L.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:te.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return te.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:te.getLogger().trace("end icon"),this.popState();break;case 10:return te.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return te.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return te.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return te.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;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 23:this.popState();break;case 24:te.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return te.getLogger().trace("description:",L.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),te.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),te.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),te.getLogger().trace("node end ...",L.yytext),"NODE_DEND";case 30:return this.popState(),te.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),te.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),te.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),te.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),te.getLogger().trace("node end (("),"NODE_DEND";case 35:return te.getLogger().trace("Long description:",L.yytext),20;case 36:return te.getLogger().trace("Long description:",L.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}}};return j}();ne.lexer=le;function J(){this.yy={}}return J.prototype=ne,ne.Parser=J,new J}();Ki.parser=Ki;const Cp=Ki,on=pe=>mp(pe,nn());let Jt=[],_l=0,Zi={};const Dp=()=>{Jt=[],_l=0,Zi={}},Sp=function(pe){for(let ve=Jt.length-1;ve>=0;ve--)if(Jt[ve].level<pe)return Jt[ve];return null},Lp=()=>Jt.length>0?Jt[0]:null,Ap=(pe,ve,ee,he)=>{Wr.info("addNode",pe,ve,ee,he);const H=nn(),O={id:_l++,nodeId:on(ve),level:pe,descr:on(ee),type:he,children:[],width:nn().mindmap.maxNodeWidth};switch(O.type){case yt.ROUNDED_RECT:O.padding=2*H.mindmap.padding;break;case yt.RECT:O.padding=2*H.mindmap.padding;break;case yt.HEXAGON:O.padding=2*H.mindmap.padding;break;default:O.padding=H.mindmap.padding}const T=Sp(pe);if(T)T.children.push(O),Jt.push(O);else if(Jt.length===0)Jt.push(O);else{let x=new Error('There can be only one root. No parent could be found for ("'+O.descr+'")');throw x.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},x}},yt={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Op=(pe,ve)=>{switch(Wr.debug("In get type",pe,ve),pe){case"[":return yt.RECT;case"(":return ve===")"?yt.ROUNDED_RECT:yt.CLOUD;case"((":return yt.CIRCLE;case")":return yt.CLOUD;case"))":return yt.BANG;case"{{":return yt.HEXAGON;default:return yt.DEFAULT}},Ul=(pe,ve)=>{Zi[pe]=ve},Np=pe=>{const ve=Jt[Jt.length-1];pe&&pe.icon&&(ve.icon=on(pe.icon)),pe&&pe.class&&(ve.class=on(pe.class))},qr=pe=>{switch(pe){case yt.DEFAULT:return"no-border";case yt.RECT:return"rect";case yt.ROUNDED_RECT:return"rounded-rect";case yt.CIRCLE:return"circle";case yt.CLOUD:return"cloud";case yt.BANG:return"bang";case yt.HEXAGON:return"hexgon";default:return"no-border"}};let Yl;const Mp=pe=>{Yl=pe},Ip=()=>Wr,Rp=pe=>Jt[pe],Qi=pe=>Zi[pe],kp=Object.freeze(Object.defineProperty({__proto__:null,addNode:Ap,clear:Dp,decorateNode:Np,getElementById:Qi,getLogger:Ip,getMindmap:Lp,getNodeById:Rp,getType:Op,nodeType:yt,get parseError(){return Yl},sanitizeText:on,setElementForId:Ul,setErrorHandler:Mp,type2Str:qr},Symbol.toStringTag,{value:"Module"})),Hl=12,Pp=function(pe,ve,ee){pe.append("path").attr("id","node-"+ve.id).attr("class","node-bkg node-"+qr(ve.type)).attr("d",`M0 ${ve.height-5} v${-ve.height+2*5} q0,-5 5,-5 h${ve.width-2*5} q5,0 5,5 v${ve.height-5} H0 Z`),pe.append("line").attr("class","node-line-"+ee).attr("x1",0).attr("y1",ve.height).attr("x2",ve.width).attr("y2",ve.height)},Bp=function(pe,ve){pe.append("rect").attr("id","node-"+ve.id).attr("class","node-bkg node-"+qr(ve.type)).attr("height",ve.height).attr("width",ve.width)},Fp=function(pe,ve){const ee=ve.width,he=ve.height,H=.15*ee,O=.25*ee,T=.35*ee,x=.2*ee;pe.append("path").attr("id","node-"+ve.id).attr("class","node-bkg node-"+qr(ve.type)).attr("d",`M0 0 a${H},${H} 0 0,1 ${ee*.25},${-1*ee*.1}
a${T},${T} 1 0,1 ${ee*.4},${-1*ee*.1}
a${O},${O} 1 0,1 ${ee*.35},${1*ee*.2}
a${H},${H} 1 0,1 ${ee*.15},${1*he*.35}
a${x},${x} 1 0,1 ${-1*ee*.15},${1*he*.65}
a${O},${H} 1 0,1 ${-1*ee*.25},${ee*.15}
a${T},${T} 1 0,1 ${-1*ee*.5},0
a${H},${H} 1 0,1 ${-1*ee*.25},${-1*ee*.15}
a${H},${H} 1 0,1 ${-1*ee*.1},${-1*he*.35}
a${x},${x} 1 0,1 ${ee*.1},${-1*he*.65}
H0 V0 Z`)},Gp=function(pe,ve){const ee=ve.width,he=ve.height,H=.15*ee;pe.append("path").attr("id","node-"+ve.id).attr("class","node-bkg node-"+qr(ve.type)).attr("d",`M0 0 a${H},${H} 1 0,0 ${ee*.25},${-1*he*.1}
a${H},${H} 1 0,0 ${ee*.25},0
a${H},${H} 1 0,0 ${ee*.25},0
a${H},${H} 1 0,0 ${ee*.25},${1*he*.1}
a${H},${H} 1 0,0 ${ee*.15},${1*he*.33}
a${H*.8},${H*.8} 1 0,0 0,${1*he*.34}
a${H},${H} 1 0,0 ${-1*ee*.15},${1*he*.33}
a${H},${H} 1 0,0 ${-1*ee*.25},${he*.15}
a${H},${H} 1 0,0 ${-1*ee*.25},0
a${H},${H} 1 0,0 ${-1*ee*.25},0
a${H},${H} 1 0,0 ${-1*ee*.25},${-1*he*.15}
a${H},${H} 1 0,0 ${-1*ee*.1},${-1*he*.33}
a${H*.8},${H*.8} 1 0,0 0,${-1*he*.34}
a${H},${H} 1 0,0 ${ee*.1},${-1*he*.33}
H0 V0 Z`)},zp=function(pe,ve){pe.append("circle").attr("id","node-"+ve.id).attr("class","node-bkg node-"+qr(ve.type)).attr("r",ve.width/2)};function $p(pe,ve,ee,he,H){return pe.insert("polygon",":first-child").attr("points",he.map(function(O){return O.x+","+O.y}).join(" ")).attr("transform","translate("+(H.width-ve)/2+", "+ee+")")}const Vp=function(pe,ve){const ee=ve.height,H=ee/4,O=ve.width-ve.padding+2*H,T=[{x:H,y:0},{x:O-H,y:0},{x:O,y:-ee/2},{x:O-H,y:-ee},{x:H,y:-ee},{x:0,y:-ee/2}];$p(pe,O,ee,T,ve)},_p=function(pe,ve){pe.append("rect").attr("id","node-"+ve.id).attr("class","node-bkg node-"+qr(ve.type)).attr("height",ve.height).attr("rx",ve.padding).attr("ry",ve.padding).attr("width",ve.width)},Up=function(pe,ve,ee,he){const H=he.htmlLabels,O=ee%(Hl-1),T=pe.append("g");ve.section=O;let x="section-"+O;O<0&&(x+=" section-root"),T.attr("class",(ve.class?ve.class+" ":"")+"mindmap-node "+x);const S=T.append("g"),z=T.append("g"),U=ve.descr.replace(/(<br\/*>)/g,`
`);Tp(z,U,{useHtmlLabels:H,width:ve.width,classes:"mindmap-node-label"}),H||z.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const P=z.node().getBBox(),K=he.fontSize.replace?he.fontSize.replace("px",""):he.fontSize;if(ve.height=P.height+K*1.1*.5+ve.padding,ve.width=P.width+2*ve.padding,ve.icon)if(ve.type===yt.CIRCLE)ve.height+=50,ve.width+=50,T.append("foreignObject").attr("height","50px").attr("width",ve.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+O+" "+ve.icon),z.attr("transform","translate("+ve.width/2+", "+(ve.height/2-1.5*ve.padding)+")");else{ve.width+=50;const D=ve.height;ve.height=Math.max(D,60);const V=Math.abs(ve.height-D);T.append("foreignObject").attr("width","60px").attr("height",ve.height).attr("style","text-align: center;margin-top:"+V/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+O+" "+ve.icon),z.attr("transform","translate("+(25+ve.width/2)+", "+(V/2+ve.padding/2)+")")}else if(H){const D=(ve.width-P.width)/2,V=(ve.height-P.height)/2;z.attr("transform","translate("+D+", "+V+")")}else{const D=ve.width/2,V=ve.padding/2;z.attr("transform","translate("+D+", "+V+")")}switch(ve.type){case yt.DEFAULT:Pp(S,ve,O);break;case yt.ROUNDED_RECT:_p(S,ve);break;case yt.RECT:Bp(S,ve);break;case yt.CIRCLE:S.attr("transform","translate("+ve.width/2+", "+ +ve.height/2+")"),zp(S,ve);break;case yt.CLOUD:Fp(S,ve);break;case yt.BANG:Gp(S,ve);break;case yt.HEXAGON:Vp(S,ve);break}return Ul(ve.id,T),ve.height},Yp=function(ve,ee,he,H,O){const T=O%(Hl-1),x=he.x+he.width/2,S=he.y+he.height/2,z=ee.x+ee.width/2,U=ee.y+ee.height/2,P=z>x?x+Math.abs(x-z)/2:x-Math.abs(x-z)/2,K=U>S?S+Math.abs(S-U)/2:S-Math.abs(S-U)/2,D=z>x?Math.abs(x-P)/2+x:-Math.abs(x-P)/2+x,V=U>S?Math.abs(S-K)/2+S:-Math.abs(S-K)/2+S;ve.append("path").attr("d",he.direction==="TB"||he.direction==="BT"?`M${x},${S} Q${x},${V} ${P},${K} T${z},${U}`:`M${x},${S} Q${D},${S} ${P},${K} T${z},${U}`).attr("class","edge section-edge-"+T+" edge-depth-"+H)},Hp=function(pe){const ve=Qi(pe.id),ee=pe.x||0,he=pe.y||0;ve.attr("transform","translate("+ee+","+he+")")},Xl={drawNode:Up,positionNode:Hp,drawEdge:Yp};var Wl={exports:{}};(function(pe,ve){(function(ee,he){pe.exports=he()})(Ca,function(){function ee(t){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(t)}function he(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function O(t,e,r){return e&&H(t.prototype,e),r&&H(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function T(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t,e){return S(t)||z(t,e)||U(t,e)||K()}function S(t){if(Array.isArray(t))return t}function z(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,s;try{for(r=r.call(t);!(n=(o=r.next()).done)&&(a.push(o.value),!(e&&a.length===e));n=!0);}catch(u){i=!0,s=u}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw s}}return a}}function U(t,e){if(t){if(typeof t=="string")return P(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(t,e)}}function P(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function K(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=typeof window>"u"?null:window,V=D?D.navigator:null;D&&D.document;var _=ee(""),Q=ee({}),ne=ee(function(){}),le=typeof HTMLElement>"u"?"undefined":ee(HTMLElement),J=function(e){return e&&e.instanceString&&Y(e.instanceString)?e.instanceString():null},j=function(e){return e!=null&&ee(e)==_},Y=function(e){return e!=null&&ee(e)===ne},te=function(e){return!ge(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},L=function(e){return e!=null&&ee(e)===Q&&!te(e)&&e.constructor===Object},$=function(e){return e!=null&&ee(e)===Q},k=function(e){return e!=null&&ee(e)===ee(1)&&!isNaN(e)},W=function(e){return k(e)&&Math.floor(e)===e},fe=function(e){if(le!=="undefined")return e!=null&&e instanceof HTMLElement},ge=function(e){return Ae(e)||Ne(e)},Ae=function(e){return J(e)==="collection"&&e._private.single},Ne=function(e){return J(e)==="collection"&&!e._private.single},_e=function(e){return J(e)==="core"},tt=function(e){return J(e)==="stylesheet"},ht=function(e){return J(e)==="event"},Pe=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},$e=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},Xe=function(e){return L(e)&&k(e.x1)&&k(e.x2)&&k(e.y1)&&k(e.y2)},rt=function(e){return $(e)&&Y(e.then)},ut=function(){return V&&V.userAgent.match(/msie|trident|edge/i)},nt=function(e,r){r||(r=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);return i.join("$")});var a=function n(){var i=this,o=arguments,s,u=r.apply(i,o),l=n.cache;return(s=l[u])||(s=l[u]=e.apply(i,o)),s};return a.cache={},a},je=nt(function(t){return t.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),pt=nt(function(t){return t.replace(/(-\w)/g,function(e){return e[1].toUpperCase()})}),Et=nt(function(t,e){return t+e[0].toUpperCase()+e.substring(1)},function(t,e){return t+"$"+e}),kt=function(e){return Pe(e)?e:e.charAt(0).toUpperCase()+e.substring(1)},ct="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",cr="rgb[a]?\\(("+ct+"[%]?)\\s*,\\s*("+ct+"[%]?)\\s*,\\s*("+ct+"[%]?)(?:\\s*,\\s*("+ct+"))?\\)",Wt="rgb[a]?\\((?:"+ct+"[%]?)\\s*,\\s*(?:"+ct+"[%]?)\\s*,\\s*(?:"+ct+"[%]?)(?:\\s*,\\s*(?:"+ct+"))?\\)",sn="hsl[a]?\\(("+ct+")\\s*,\\s*("+ct+"[%])\\s*,\\s*("+ct+"[%])(?:\\s*,\\s*("+ct+"))?\\)",Kr="hsl[a]?\\((?:"+ct+")\\s*,\\s*(?:"+ct+"[%])\\s*,\\s*(?:"+ct+"[%])(?:\\s*,\\s*(?:"+ct+"))?\\)",Da="\\#[0-9a-fA-F]{3}",jt="\\#[0-9a-fA-F]{6}",Ji=function(e,r){return e<r?-1:e>r?1:0},Jl=function(e,r){return-1*Ji(e,r)},Ue=Object.assign!=null?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r<e.length;r++){var a=e[r];if(a!=null)for(var n=Object.keys(a),i=0;i<n.length;i++){var o=n[i];t[o]=a[o]}}return t},jl=function(e){if(!(!(e.length===4||e.length===7)||e[0]!=="#")){var r=e.length===4,a,n,i,o=16;return r?(a=parseInt(e[1]+e[1],o),n=parseInt(e[2]+e[2],o),i=parseInt(e[3]+e[3],o)):(a=parseInt(e[1]+e[2],o),n=parseInt(e[3]+e[4],o),i=parseInt(e[5]+e[6],o)),[a,n,i]}},eu=function(e){var r,a,n,i,o,s,u,l;function v(d,g,y){return y<0&&(y+=1),y>1&&(y-=1),y<1/6?d+(g-d)*6*y:y<1/2?g:y<2/3?d+(g-d)*(2/3-y)*6:d}var f=new RegExp("^"+sn+"$").exec(e);if(f){if(a=parseInt(f[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(f[2]),n<0||n>100||(n=n/100,i=parseFloat(f[3]),i<0||i>100)||(i=i/100,o=f[4],o!==void 0&&(o=parseFloat(o),o<0||o>1)))return;if(n===0)s=u=l=Math.round(i*255);else{var h=i<.5?i*(1+n):i+n-i*n,c=2*i-h;s=Math.round(255*v(c,h,a+1/3)),u=Math.round(255*v(c,h,a)),l=Math.round(255*v(c,h,a-1/3))}r=[s,u,l,o]}return r},tu=function(e){var r,a=new RegExp("^"+cr+"$").exec(e);if(a){r=[];for(var n=[],i=1;i<=3;i++){var o=a[i];if(o[o.length-1]==="%"&&(n[i]=!0),o=parseFloat(o),n[i]&&(o=o/100*255),o<0||o>255)return;r.push(Math.floor(o))}var s=n[1]||n[2]||n[3],u=n[1]&&n[2]&&n[3];if(s&&!u)return;var l=a[4];if(l!==void 0){if(l=parseFloat(l),l<0||l>1)return;r.push(l)}}return r},ru=function(e){return nu[e.toLowerCase()]},au=function(e){return(te(e)?e:null)||ru(e)||jl(e)||tu(e)||eu(e)},nu={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]},ji=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i<n;i++){var o=a[i];if(L(o))throw Error("Tried to set map with object key");i<a.length-1?(r[o]==null&&(r[o]={}),r=r[o]):r[o]=e.value}},eo=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i<n;i++){var o=a[i];if(L(o))throw Error("Tried to get map with object key");if(r=r[o],r==null)return r}return r};function iu(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Rr=iu,Sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ca<"u"?Ca:typeof self<"u"?self:{};function ou(t,e){return e={exports:{}},t(e,e.exports),e.exports}var su=typeof Sa=="object"&&Sa&&Sa.Object===Object&&Sa,lu=su,uu=typeof self=="object"&&self&&self.Object===Object&&self,vu=lu||uu||Function("return this")(),ln=vu,fu=function(){return ln.Date.now()},ti=fu,hu=/\s/;function cu(t){for(var e=t.length;e--&&hu.test(t.charAt(e)););return e}var du=cu,gu=/^\s+/;function pu(t){return t&&t.slice(0,du(t)+1).replace(gu,"")}var yu=pu,mu=ln.Symbol,Zr=mu,to=Object.prototype,bu=to.hasOwnProperty,Eu=to.toString,La=Zr?Zr.toStringTag:void 0;function wu(t){var e=bu.call(t,La),r=t[La];try{t[La]=void 0;var a=!0}catch{}var n=Eu.call(t);return a&&(e?t[La]=r:delete t[La]),n}var xu=wu,Tu=Object.prototype,Cu=Tu.toString;function Du(t){return Cu.call(t)}var Su=Du,Lu="[object Null]",Au="[object Undefined]",ro=Zr?Zr.toStringTag:void 0;function Ou(t){return t==null?t===void 0?Au:Lu:ro&&ro in Object(t)?xu(t):Su(t)}var ao=Ou;function Nu(t){return t!=null&&typeof t=="object"}var Mu=Nu,Iu="[object Symbol]";function Ru(t){return typeof t=="symbol"||Mu(t)&&ao(t)==Iu}var Aa=Ru,no=NaN,ku=/^[-+]0x[0-9a-f]+$/i,Pu=/^0b[01]+$/i,Bu=/^0o[0-7]+$/i,Fu=parseInt;function Gu(t){if(typeof t=="number")return t;if(Aa(t))return no;if(Rr(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Rr(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=yu(t);var r=Pu.test(t);return r||Bu.test(t)?Fu(t.slice(2),r?2:8):ku.test(t)?no:+t}var io=Gu,zu="Expected a function",$u=Math.max,Vu=Math.min;function _u(t,e,r){var a,n,i,o,s,u,l=0,v=!1,f=!1,h=!0;if(typeof t!="function")throw new TypeError(zu);e=io(e)||0,Rr(r)&&(v=!!r.leading,f="maxWait"in r,i=f?$u(io(r.maxWait)||0,e):i,h="trailing"in r?!!r.trailing:h);function c(A){var w=a,I=n;return a=n=void 0,l=A,o=t.apply(I,w),o}function d(A){return l=A,s=setTimeout(p,e),v?c(A):o}function g(A){var w=A-u,I=A-l,C=e-w;return f?Vu(C,i-I):C}function y(A){var w=A-u,I=A-l;return u===void 0||w>=e||w<0||f&&I>=i}function p(){var A=ti();if(y(A))return m(A);s=setTimeout(p,g(A))}function m(A){return s=void 0,h&&a?c(A):(a=n=void 0,o)}function b(){s!==void 0&&clearTimeout(s),l=0,a=u=n=s=void 0}function E(){return s===void 0?o:m(ti())}function M(){var A=ti(),w=y(A);if(a=arguments,n=this,u=A,w){if(s===void 0)return d(u);if(f)return clearTimeout(s),s=setTimeout(p,e),c(u)}return s===void 0&&(s=setTimeout(p,e)),o}return M.cancel=b,M.flush=E,M}var un=_u,ri=D?D.performance:null,oo=ri&&ri.now?function(){return ri.now()}:function(){return Date.now()},Uu=function(){if(D){if(D.requestAnimationFrame)return function(t){D.requestAnimationFrame(t)};if(D.mozRequestAnimationFrame)return function(t){D.mozRequestAnimationFrame(t)};if(D.webkitRequestAnimationFrame)return function(t){D.webkitRequestAnimationFrame(t)};if(D.msRequestAnimationFrame)return function(t){D.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout(function(){t(oo())},1e3/60)}}(),vn=function(e){return Uu(e)},dr=oo,Qr=9261,so=65599,Oa=5381,lo=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qr,a=r,n;n=e.next(),!n.done;)a=a*so+n.value|0;return a},Na=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qr;return r*so+e|0},Ma=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oa;return(r<<5)+r+e|0},Yu=function(e,r){return e*2097152+r},Er=function(e){return e[0]*2097152+e[1]},fn=function(e,r){return[Na(e[0],r[0]),Ma(e[1],r[1])]},Hu=function(e,r){var a={value:0,done:!1},n=0,i=e.length,o={next:function(){return n<i?a.value=e[n++]:a.done=!0,a}};return lo(o,r)},kr=function(e,r){var a={value:0,done:!1},n=0,i=e.length,o={next:function(){return n<i?a.value=e.charCodeAt(n++):a.done=!0,a}};return lo(o,r)},uo=function(){return Xu(arguments)},Xu=function(e){for(var r,a=0;a<e.length;a++){var n=e[a];a===0?r=kr(n):r=kr(n,r)}return r},vo=!0,Wu=console.warn!=null,qu=console.trace!=null,ai=Number.MAX_SAFE_INTEGER||9007199254740991,fo=function(){return!0},hn=function(){return!1},ho=function(){return 0},ni=function(){},xt=function(e){throw new Error(e)},co=function(e){if(e!==void 0)vo=!!e;else return vo},vt=function(e){co()&&(Wu?console.warn(e):(console.log(e),qu&&console.trace()))},Ku=function(e){return Ue({},e)},sr=function(e){return e==null?e:te(e)?e.slice():L(e)?Ku(e):e},Zu=function(e){return e.slice()},go=function(e,r){for(r=e="";e++<36;r+=e*51&52?(e^15?8^Math.random()*(e^20?16:4):4).toString(16):"-");return r},Qu={},po=function(){return Qu},Lt=function(e){var r=Object.keys(e);return function(a){for(var n={},i=0;i<r.length;i++){var o=r[i],s=a==null?void 0:a[o];n[o]=s===void 0?e[o]:s}return n}},wr=function(e,r,a){for(var n=e.length-1;n>=0&&!(e[n]===r&&(e.splice(n,1),a));n--);},ii=function(e){e.splice(0,e.length)},Ju=function(e,r){for(var a=0;a<r.length;a++){var n=r[a];e.push(n)}},er=function(e,r,a){return a&&(r=Et(a,r)),e[r]},xr=function(e,r,a,n){a&&(r=Et(a,r)),e[r]=n},ju=function(){function t(){he(this,t),this._obj={}}return O(t,[{key:"set",value:function(r,a){return this._obj[r]=a,this}},{key:"delete",value:function(r){return this._obj[r]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(r){return this._obj[r]!==void 0}},{key:"get",value:function(r){return this._obj[r]}}]),t}(),lr=typeof Map<"u"?Map:ju,ev="undefined",tv=function(){function t(e){if(he(this,t),this._obj=Object.create(null),this.size=0,e!=null){var r;e.instanceString!=null&&e.instanceString()===this.instanceString()?r=e.toArray():r=e;for(var a=0;a<r.length;a++)this.add(r[a])}}return O(t,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(r){var a=this._obj;a[r]!==1&&(a[r]=1,this.size++)}},{key:"delete",value:function(r){var a=this._obj;a[r]===1&&(a[r]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(r){return this._obj[r]===1}},{key:"toArray",value:function(){var r=this;return Object.keys(this._obj).filter(function(a){return r.has(a)})}},{key:"forEach",value:function(r,a){return this.toArray().forEach(r,a)}}]),t}(),Jr=(typeof Set>"u"?"undefined":ee(Set))!==ev?Set:tv,cn=function(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||r===void 0||!_e(e)){xt("An element must have a core reference and parameters set");return}var n=r.group;if(n==null&&(r.data&&r.data.source!=null&&r.data.target!=null?n="edges":n="nodes"),n!=="nodes"&&n!=="edges"){xt("An element must be of type `nodes` or `edges`; you specified `"+n+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:r.selectable===void 0?!0:!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:r.grabbable===void 0?!0:!!r.grabbable,pannable:r.pannable===void 0?n==="edges":!!r.pannable,active:!1,classes:new Jr,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.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(i.position.x==null&&(i.position.x=0),i.position.y==null&&(i.position.y=0),r.renderedPosition){var o=r.renderedPosition,s=e.pan(),u=e.zoom();i.position={x:(o.x-s.x)/u,y:(o.y-s.y)/u}}var l=[];te(r.classes)?l=r.classes:j(r.classes)&&(l=r.classes.split(/\s+/));for(var v=0,f=l.length;v<f;v++){var h=l[v];!h||h===""||i.classes.add(h)}this.createEmitter();var c=r.style||r.css;c&&(vt("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(c)),(a===void 0||a)&&this.restore()},yo=function(e){return e={bfs:e.bfs||!e.dfs,dfs:e.dfs||!e.bfs},function(a,n,i){var o;L(a)&&!ge(a)&&(o=a,a=o.roots||o.root,n=o.visit,i=o.directed),i=arguments.length===2&&!Y(n)?n:i,n=Y(n)?n:function(){};for(var s=this._private.cy,u=a=j(a)?this.filter(a):a,l=[],v=[],f={},h={},c={},d=0,g,y=this.byGroup(),p=y.nodes,m=y.edges,b=0;b<u.length;b++){var E=u[b],M=E.id();E.isNode()&&(l.unshift(E),e.bfs&&(c[M]=!0,v.push(E)),h[M]=0)}for(var A=function(){var X=e.bfs?l.shift():l.pop(),G=X.id();if(e.dfs){if(c[G])return"continue";c[G]=!0,v.push(X)}var re=h[G],q=f[G],Z=q!=null?q.source():null,ie=q!=null?q.target():null,se=q==null?void 0:X.same(Z)?ie[0]:Z[0],de=void 0;if(de=n(X,q,se,d++,re),de===!0)return g=X,"break";if(de===!1)return"break";for(var oe=X.connectedEdges().filter(function(ye){return(!i||ye.source().same(X))&&m.has(ye)}),ce=0;ce<oe.length;ce++){var we=oe[ce],Te=we.connectedNodes().filter(function(ye){return!ye.same(X)&&p.has(ye)}),Ee=Te.id();Te.length!==0&&!c[Ee]&&(Te=Te[0],l.push(Te),e.bfs&&(c[Ee]=!0,v.push(Te)),f[Ee]=we,h[Ee]=h[G]+1)}};l.length!==0;){var w=A();if(w!=="continue"&&w==="break")break}for(var I=s.collection(),C=0;C<v.length;C++){var B=v[C],F=f[B.id()];F!=null&&I.push(F),I.push(B)}return{path:s.collection(I),found:s.collection(g)}}},Ia={breadthFirstSearch:yo({bfs:!0}),depthFirstSearch:yo({dfs:!0})};Ia.bfs=Ia.breadthFirstSearch,Ia.dfs=Ia.depthFirstSearch;var rv=ou(function(t,e){(function(){var r,a,n,i,o,s,u,l,v,f,h,c,d,g,y;n=Math.floor,f=Math.min,a=function(p,m){return p<m?-1:p>m?1:0},v=function(p,m,b,E,M){var A;if(b==null&&(b=0),M==null&&(M=a),b<0)throw new Error("lo must be non-negative");for(E==null&&(E=p.length);b<E;)A=n((b+E)/2),M(m,p[A])<0?E=A:b=A+1;return[].splice.apply(p,[b,b-b].concat(m)),m},s=function(p,m,b){return b==null&&(b=a),p.push(m),g(p,0,p.length-1,b)},o=function(p,m){var b,E;return m==null&&(m=a),b=p.pop(),p.length?(E=p[0],p[0]=b,y(p,0,m)):E=b,E},l=function(p,m,b){var E;return b==null&&(b=a),E=p[0],p[0]=m,y(p,0,b),E},u=function(p,m,b){var E;return b==null&&(b=a),p.length&&b(p[0],m)<0&&(E=[p[0],m],m=E[0],p[0]=E[1],y(p,0,b)),m},i=function(p,m){var b,E,M,A,w,I;for(m==null&&(m=a),A=(function(){I=[];for(var C=0,B=n(p.length/2);0<=B?C<B:C>B;0<=B?C++:C--)I.push(C);return I}).apply(this).reverse(),w=[],E=0,M=A.length;E<M;E++)b=A[E],w.push(y(p,b,m));return w},d=function(p,m,b){var E;if(b==null&&(b=a),E=p.indexOf(m),E!==-1)return g(p,0,E,b),y(p,E,b)},h=function(p,m,b){var E,M,A,w,I;if(b==null&&(b=a),M=p.slice(0,m),!M.length)return M;for(i(M,b),I=p.slice(m),A=0,w=I.length;A<w;A++)E=I[A],u(M,E,b);return M.sort(b).reverse()},c=function(p,m,b){var E,M,A,w,I,C,B,F,R;if(b==null&&(b=a),m*10<=p.length){if(A=p.slice(0,m).sort(b),!A.length)return A;for(M=A[A.length-1],B=p.slice(m),w=0,C=B.length;w<C;w++)E=B[w],b(E,M)<0&&(v(A,E,0,null,b),A.pop(),M=A[A.length-1]);return A}for(i(p,b),R=[],I=0,F=f(m,p.length);0<=F?I<F:I>F;0<=F?++I:--I)R.push(o(p,b));return R},g=function(p,m,b,E){var M,A,w;for(E==null&&(E=a),M=p[b];b>m;){if(w=b-1>>1,A=p[w],E(M,A)<0){p[b]=A,b=w;continue}break}return p[b]=M},y=function(p,m,b){var E,M,A,w,I;for(b==null&&(b=a),M=p.length,I=m,A=p[m],E=2*m+1;E<M;)w=E+1,w<M&&!(b(p[E],p[w])<0)&&(E=w),p[m]=p[E],m=E,E=2*m+1;return p[m]=A,g(p,I,m,b)},r=function(){p.push=s,p.pop=o,p.replace=l,p.pushpop=u,p.heapify=i,p.updateItem=d,p.nlargest=h,p.nsmallest=c;function p(m){this.cmp=m??a,this.nodes=[]}return p.prototype.push=function(m){return s(this.nodes,m,this.cmp)},p.prototype.pop=function(){return o(this.nodes,this.cmp)},p.prototype.peek=function(){return this.nodes[0]},p.prototype.contains=function(m){return this.nodes.indexOf(m)!==-1},p.prototype.replace=function(m){return l(this.nodes,m,this.cmp)},p.prototype.pushpop=function(m){return u(this.nodes,m,this.cmp)},p.prototype.heapify=function(){return i(this.nodes,this.cmp)},p.prototype.updateItem=function(m){return d(this.nodes,m,this.cmp)},p.prototype.clear=function(){return this.nodes=[]},p.prototype.empty=function(){return this.nodes.length===0},p.prototype.size=function(){return this.nodes.length},p.prototype.clone=function(){var m;return m=new p,m.nodes=this.nodes.slice(0),m},p.prototype.toArray=function(){return this.nodes.slice(0)},p.prototype.insert=p.prototype.push,p.prototype.top=p.prototype.peek,p.prototype.front=p.prototype.peek,p.prototype.has=p.prototype.contains,p.prototype.copy=p.prototype.clone,p}(),function(p,m){return t.exports=m()}(this,function(){return r})}).call(Sa)}),Ra=rv,av=Lt({root:null,weight:function(e){return 1},directed:!1}),nv={dijkstra:function(e){if(!L(e)){var r=arguments;e={root:r[0],weight:r[1],directed:r[2]}}var a=av(e),n=a.root,i=a.weight,o=a.directed,s=this,u=i,l=j(n)?this.filter(n)[0]:n[0],v={},f={},h={},c=this.byGroup(),d=c.nodes,g=c.edges;g.unmergeBy(function(re){return re.isLoop()});for(var y=function(q){return v[q.id()]},p=function(q,Z){v[q.id()]=Z,m.updateItem(q)},m=new Ra(function(re,q){return y(re)-y(q)}),b=0;b<d.length;b++){var E=d[b];v[E.id()]=E.same(l)?0:1/0,m.push(E)}for(var M=function(q,Z){for(var ie=(o?q.edgesTo(Z):q.edgesWith(Z)).intersect(g),se=1/0,de,oe=0;oe<ie.length;oe++){var ce=ie[oe],we=u(ce);(we<se||!de)&&(se=we,de=ce)}return{edge:de,dist:se}};m.size()>0;){var A=m.pop(),w=y(A),I=A.id();if(h[I]=w,w!==1/0)for(var C=A.neighborhood().intersect(d),B=0;B<C.length;B++){var F=C[B],R=F.id(),X=M(A,F),G=w+X.dist;G<y(F)&&(p(F,G),f[R]={node:A,edge:X.edge})}}return{distanceTo:function(q){var Z=j(q)?d.filter(q)[0]:q[0];return h[Z.id()]},pathTo:function(q){var Z=j(q)?d.filter(q)[0]:q[0],ie=[],se=Z,de=se.id();if(Z.length>0)for(ie.unshift(Z);f[de];){var oe=f[de];ie.unshift(oe.edge),ie.unshift(oe.node),se=oe.node,de=se.id()}return s.spawn(ie)}}}},iv={kruskal:function(e){e=e||function(b){return 1};for(var r=this.byGroup(),a=r.nodes,n=r.edges,i=a.length,o=new Array(i),s=a,u=function(E){for(var M=0;M<o.length;M++){var A=o[M];if(A.has(E))return M}},l=0;l<i;l++)o[l]=this.spawn(a[l]);for(var v=n.sort(function(b,E){return e(b)-e(E)}),f=0;f<v.length;f++){var h=v[f],c=h.source()[0],d=h.target()[0],g=u(c),y=u(d),p=o[g],m=o[y];g!==y&&(s.merge(h),p.merge(m),o.splice(y,1))}return s}},ov=Lt({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),sv={aStar:function(e){var r=this.cy(),a=ov(e),n=a.root,i=a.goal,o=a.heuristic,s=a.directed,u=a.weight;n=r.collection(n)[0],i=r.collection(i)[0];var l=n.id(),v=i.id(),f={},h={},c={},d=new Ra(function(de,oe){return h[de.id()]-h[oe.id()]}),g=new Jr,y={},p={},m=function(oe,ce){d.push(oe),g.add(ce)},b,E,M=function(){b=d.pop(),E=b.id(),g.delete(E)},A=function(oe){return g.has(oe)};m(n,l),f[l]=0,h[l]=o(n);for(var w=0;d.size()>0;){if(M(),w++,E===v){for(var I=[],C=i,B=v,F=p[B];I.unshift(C),F!=null&&I.unshift(F),C=y[B],C!=null;)B=C.id(),F=p[B];return{found:!0,distance:f[E],path:this.spawn(I),steps:w}}c[E]=!0;for(var R=b._private.edges,X=0;X<R.length;X++){var G=R[X];if(this.hasElementWithId(G.id())&&!(s&&G.data("source")!==E)){var re=G.source(),q=G.target(),Z=re.id()!==E?re:q,ie=Z.id();if(this.hasElementWithId(ie)&&!c[ie]){var se=f[E]+u(G);if(!A(ie)){f[ie]=se,h[ie]=se+o(Z),m(Z,ie),y[ie]=b,p[ie]=G;continue}se<f[ie]&&(f[ie]=se,h[ie]=se+o(Z),y[ie]=b,p[ie]=G)}}}}return{found:!1,distance:void 0,path:void 0,steps:w}}},lv=Lt({weight:function(e){return 1},directed:!1}),uv={floydWarshall:function(e){for(var r=this.cy(),a=lv(e),n=a.weight,i=a.directed,o=n,s=this.byGroup(),u=s.nodes,l=s.edges,v=u.length,f=v*v,h=function(we){return u.indexOf(we)},c=function(we){return u[we]},d=new Array(f),g=0;g<f;g++){var y=g%v,p=(g-y)/v;p===y?d[g]=0:d[g]=1/0}for(var m=new Array(f),b=new Array(f),E=0;E<l.length;E++){var M=l[E],A=M.source()[0],w=M.target()[0];if(A!==w){var I=h(A),C=h(w),B=I*v+C,F=o(M);if(d[B]>F&&(d[B]=F,m[B]=C,b[B]=M),!i){var R=C*v+I;!i&&d[R]>F&&(d[R]=F,m[R]=I,b[R]=M)}}}for(var X=0;X<v;X++)for(var G=0;G<v;G++)for(var re=G*v+X,q=0;q<v;q++){var Z=G*v+q,ie=X*v+q;d[re]+d[ie]<d[Z]&&(d[Z]=d[re]+d[ie],m[Z]=m[re])}var se=function(we){return(j(we)?r.filter(we):we)[0]},de=function(we){return h(se(we))},oe={distance:function(we,Te){var Ee=de(we),ye=de(Te);return d[Ee*v+ye]},path:function(we,Te){var Ee=de(we),ye=de(Te),ae=c(Ee);if(Ee===ye)return ae.collection();if(m[Ee*v+ye]==null)return r.collection();var xe=r.collection(),Ce=Ee,Oe;for(xe.merge(ae);Ee!==ye;)Ce=Ee,Ee=m[Ee*v+ye],Oe=b[Ce*v+Ee],xe.merge(Oe),xe.merge(c(Ee));return xe}};return oe}},vv=Lt({weight:function(e){return 1},directed:!1,root:null}),fv={bellmanFord:function(e){var r=this,a=vv(e),n=a.weight,i=a.directed,o=a.root,s=n,u=this,l=this.cy(),v=this.byGroup(),f=v.edges,h=v.nodes,c=h.length,d=new lr,g=!1,y=[];o=l.collection(o)[0],f.unmergeBy(function(Fe){return Fe.isLoop()});for(var p=f.length,m=function(ke){var ze=d.get(ke.id());return ze||(ze={},d.set(ke.id(),ze)),ze},b=function(ke){return(j(ke)?l.$(ke):ke)[0]},E=function(ke){return m(b(ke)).dist},M=function(ke){for(var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o,et=b(ke),qe=[],Ye=et;;){if(Ye==null)return r.spawn();var Se=m(Ye),N=Se.edge,ue=Se.pred;if(qe.unshift(Ye[0]),Ye.same(ze)&&qe.length>0)break;N!=null&&qe.unshift(N),Ye=ue}return u.spawn(qe)},A=0;A<c;A++){var w=h[A],I=m(w);w.same(o)?I.dist=0:I.dist=1/0,I.pred=null,I.edge=null}for(var C=!1,B=function(ke,ze,et,qe,Ye,Se){var N=qe.dist+Se;N<Ye.dist&&!et.same(qe.edge)&&(Ye.dist=N,Ye.pred=ke,Ye.edge=et,C=!0)},F=1;F<c;F++){C=!1;for(var R=0;R<p;R++){var X=f[R],G=X.source(),re=X.target(),q=s(X),Z=m(G),ie=m(re);B(G,re,X,Z,ie,q),i||B(re,G,X,ie,Z,q)}if(!C)break}if(C)for(var se=[],de=0;de<p;de++){var oe=f[de],ce=oe.source(),we=oe.target(),Te=s(oe),Ee=m(ce).dist,ye=m(we).dist;if(Ee+Te<ye||!i&&ye+Te<Ee)if(g||(vt("Graph contains a negative weight cycle for Bellman-Ford"),g=!0),e.findNegativeWeightCycles!==!1){var ae=[];Ee+Te<ye&&ae.push(ce),!i&&ye+Te<Ee&&ae.push(we);for(var xe=ae.length,Ce=0;Ce<xe;Ce++){var Oe=ae[Ce],Ie=[Oe];Ie.push(m(Oe).edge);for(var He=m(Oe).pred;Ie.indexOf(He)===-1;)Ie.push(He),Ie.push(m(He).edge),He=m(He).pred;Ie=Ie.slice(Ie.indexOf(He));for(var We=Ie[0].id(),Re=0,Me=2;Me<Ie.length;Me+=2)Ie[Me].id()<We&&(We=Ie[Me].id(),Re=Me);Ie=Ie.slice(Re).concat(Ie.slice(0,Re)),Ie.push(Ie[0]);var Ve=Ie.map(function(Fe){return Fe.id()}).join(",");se.indexOf(Ve)===-1&&(y.push(u.spawn(Ie)),se.push(Ve))}}else break}return{distanceTo:E,pathTo:M,hasNegativeWeightCycle:g,negativeWeightCycles:y}}},hv=Math.sqrt(2),cv=function(e,r,a){a.length===0&&xt("Karger-Stein must be run on a connected (sub)graph");for(var n=a[e],i=n[1],o=n[2],s=r[i],u=r[o],l=a,v=l.length-1;v>=0;v--){var f=l[v],h=f[1],c=f[2];(r[h]===s&&r[c]===u||r[h]===u&&r[c]===s)&&l.splice(v,1)}for(var d=0;d<l.length;d++){var g=l[d];g[1]===u?(l[d]=g.slice(),l[d][1]=s):g[2]===u&&(l[d]=g.slice(),l[d][2]=s)}for(var y=0;y<r.length;y++)r[y]===u&&(r[y]=s);return l},oi=function(e,r,a,n){for(;a>n;){var i=Math.floor(Math.random()*r.length);r=cv(i,e,r),a--}return r},dv={kargerStein:function(){var e=this,r=this.byGroup(),a=r.nodes,n=r.edges;n.unmergeBy(function(ie){return ie.isLoop()});var i=a.length,o=n.length,s=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),u=Math.floor(i/hv);if(i<2){xt("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],v=0;v<o;v++){var f=n[v];l.push([v,a.indexOf(f.source()),a.indexOf(f.target())])}for(var h=1/0,c=[],d=new Array(i),g=new Array(i),y=new Array(i),p=function(se,de){for(var oe=0;oe<i;oe++)de[oe]=se[oe]},m=0;m<=s;m++){for(var b=0;b<i;b++)g[b]=b;var E=oi(g,l.slice(),i,u),M=E.slice();p(g,y);var A=oi(g,E,u,2),w=oi(y,M,u,2);A.length<=w.length&&A.length<h?(h=A.length,c=A,p(g,d)):w.length<=A.length&&w.length<h&&(h=w.length,c=w,p(y,d))}for(var I=this.spawn(c.map(function(ie){return n[ie[0]]})),C=this.spawn(),B=this.spawn(),F=d[0],R=0;R<d.length;R++){var X=d[R],G=a[R];X===F?C.merge(G):B.merge(G)}var re=function(se){var de=e.spawn();return se.forEach(function(oe){de.merge(oe),oe.connectedEdges().forEach(function(ce){e.contains(ce)&&!I.contains(ce)&&de.merge(ce)})}),de},q=[re(C),re(B)],Z={cut:I,components:q,partition1:C,partition2:B};return Z}},gv=function(e){return{x:e.x,y:e.y}},dn=function(e,r,a){return{x:e.x*r+a.x,y:e.y*r+a.y}},mo=function(e,r,a){return{x:(e.x-a.x)/r,y:(e.y-a.y)/r}},jr=function(e){return{x:e[0],y:e[1]}},pv=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=1/0,i=r;i<a;i++){var o=e[i];isFinite(o)&&(n=Math.min(o,n))}return n},yv=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=-1/0,i=r;i<a;i++){var o=e[i];isFinite(o)&&(n=Math.max(o,n))}return n},mv=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=0,i=0,o=r;o<a;o++){var s=e[o];isFinite(s)&&(n+=s,i++)}return n/i},bv=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;n?e=e.slice(r,a):(a<e.length&&e.splice(a,e.length-a),r>0&&e.splice(0,r));for(var s=0,u=e.length-1;u>=0;u--){var l=e[u];o?isFinite(l)||(e[u]=-1/0,s++):e.splice(u,1)}i&&e.sort(function(h,c){return h-c});var v=e.length,f=Math.floor(v/2);return v%2!==0?e[f+1+s]:(e[f-1+s]+e[f+s])/2},Ev=function(e){return Math.PI*e/180},gn=function(e,r){return Math.atan2(r,e)-Math.PI/2},si=Math.log2||function(t){return Math.log(t)/Math.log(2)},bo=function(e){return e>0?1:e<0?-1:0},Pr=function(e,r){return Math.sqrt(Br(e,r))},Br=function(e,r){var a=r.x-e.x,n=r.y-e.y;return a*a+n*n},wv=function(e){for(var r=e.length,a=0,n=0;n<r;n++)a+=e[n];for(var i=0;i<r;i++)e[i]=e[i]/a;return e},St=function(e,r,a,n){return(1-n)*(1-n)*e+2*(1-n)*n*r+n*n*a},ea=function(e,r,a,n){return{x:St(e.x,r.x,a.x,n),y:St(e.y,r.y,a.y,n)}},xv=function(e,r,a,n){var i={x:r.x-e.x,y:r.y-e.y},o=Pr(e,r),s={x:i.x/o,y:i.y/o};return a=a??0,n=n??a*o,{x:e.x+s.x*n,y:e.y+s.y*n}},ka=function(e,r,a){return Math.max(e,Math.min(a,r))},Ut=function(e){if(e==null)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(e.x1!=null&&e.y1!=null){if(e.x2!=null&&e.y2!=null&&e.x2>=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Tv=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Cv=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},Dv=function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},Sv=function(e,r,a){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},pn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},li=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],a,n,i,o;if(r.length===1)a=n=i=o=r[0];else if(r.length===2)a=i=r[0],o=n=r[1];else if(r.length===4){var s=x(r,4);a=s[0],n=s[1],i=s[2],o=s[3]}return e.x1-=o,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Eo=function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},ui=function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2<r.x1||r.x2<e.x1||e.y2<r.y1||r.y2<e.y1||e.y1>r.y2||r.y1>e.y2)},ta=function(e,r,a){return e.x1<=r&&r<=e.x2&&e.y1<=a&&a<=e.y2},Lv=function(e,r){return ta(e,r.x,r.y)},wo=function(e,r){return ta(e,r.x1,r.y1)&&ta(e,r.x2,r.y2)},xo=function(e,r,a,n,i,o,s){var u=Fa(i,o),l=i/2,v=o/2,f;{var h=a-l+u-s,c=n-v-s,d=a+l-u+s,g=c;if(f=Tr(e,r,a,n,h,c,d,g,!1),f.length>0)return f}{var y=a+l+s,p=n-v+u-s,m=y,b=n+v-u+s;if(f=Tr(e,r,a,n,y,p,m,b,!1),f.length>0)return f}{var E=a-l+u-s,M=n+v+s,A=a+l-u+s,w=M;if(f=Tr(e,r,a,n,E,M,A,w,!1),f.length>0)return f}{var I=a-l-s,C=n-v+u-s,B=I,F=n+v-u+s;if(f=Tr(e,r,a,n,I,C,B,F,!1),f.length>0)return f}var R;{var X=a-l+u,G=n-v+u;if(R=Pa(e,r,a,n,X,G,u+s),R.length>0&&R[0]<=X&&R[1]<=G)return[R[0],R[1]]}{var re=a+l-u,q=n-v+u;if(R=Pa(e,r,a,n,re,q,u+s),R.length>0&&R[0]>=re&&R[1]<=q)return[R[0],R[1]]}{var Z=a+l-u,ie=n+v-u;if(R=Pa(e,r,a,n,Z,ie,u+s),R.length>0&&R[0]>=Z&&R[1]>=ie)return[R[0],R[1]]}{var se=a-l+u,de=n+v-u;if(R=Pa(e,r,a,n,se,de,u+s),R.length>0&&R[0]<=se&&R[1]>=de)return[R[0],R[1]]}return[]},Av=function(e,r,a,n,i,o,s){var u=s,l=Math.min(a,i),v=Math.max(a,i),f=Math.min(n,o),h=Math.max(n,o);return l-u<=e&&e<=v+u&&f-u<=r&&r<=h+u},Ov=function(e,r,a,n,i,o,s,u,l){var v={x1:Math.min(a,s,i)-l,x2:Math.max(a,s,i)+l,y1:Math.min(n,u,o)-l,y2:Math.max(n,u,o)+l};return!(e<v.x1||e>v.x2||r<v.y1||r>v.y2)},Nv=function(e,r,a,n){a-=n;var i=r*r-4*e*a;if(i<0)return[];var o=Math.sqrt(i),s=2*e,u=(-r+o)/s,l=(-r-o)/s;return[u,l]},Mv=function(e,r,a,n,i){var o=1e-5;e===0&&(e=o),r/=e,a/=e,n/=e;var s,u,l,v,f,h,c,d;if(u=(3*a-r*r)/9,l=-(27*n)+r*(9*a-2*(r*r)),l/=54,s=u*u*u+l*l,i[1]=0,c=r/3,s>0){f=l+Math.sqrt(s),f=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),h=l-Math.sqrt(s),h=h<0?-Math.pow(-h,1/3):Math.pow(h,1/3),i[0]=-c+f+h,c+=(f+h)/2,i[4]=i[2]=-c,c=Math.sqrt(3)*(-h+f)/2,i[3]=c,i[5]=-c;return}if(i[5]=i[3]=0,s===0){d=l<0?-Math.pow(-l,1/3):Math.pow(l,1/3),i[0]=-c+2*d,i[4]=i[2]=-(d+c);return}u=-u,v=u*u*u,v=Math.acos(l/Math.sqrt(v)),d=2*Math.sqrt(u),i[0]=-c+d*Math.cos(v/3),i[2]=-c+d*Math.cos((v+2*Math.PI)/3),i[4]=-c+d*Math.cos((v+4*Math.PI)/3)},Iv=function(e,r,a,n,i,o,s,u){var l=1*a*a-4*a*i+2*a*s+4*i*i-4*i*s+s*s+n*n-4*n*o+2*n*u+4*o*o-4*o*u+u*u,v=1*9*a*i-3*a*a-3*a*s-6*i*i+3*i*s+9*n*o-3*n*n-3*n*u-6*o*o+3*o*u,f=1*3*a*a-6*a*i+a*s-a*e+2*i*i+2*i*e-s*e+3*n*n-6*n*o+n*u-n*r+2*o*o+2*o*r-u*r,h=1*a*i-a*a+a*e-i*e+n*o-n*n+n*r-o*r,c=[];Mv(l,v,f,h,c);for(var d=1e-7,g=[],y=0;y<6;y+=2)Math.abs(c[y+1])<d&&c[y]>=0&&c[y]<=1&&g.push(c[y]);g.push(1),g.push(0);for(var p=-1,m,b,E,M=0;M<g.length;M++)m=Math.pow(1-g[M],2)*a+2*(1-g[M])*g[M]*i+g[M]*g[M]*s,b=Math.pow(1-g[M],2)*n+2*(1-g[M])*g[M]*o+g[M]*g[M]*u,E=Math.pow(m-e,2)+Math.pow(b-r,2),p>=0?E<p&&(p=E):p=E;return p},Rv=function(e,r,a,n,i,o){var s=[e-a,r-n],u=[i-a,o-n],l=u[0]*u[0]+u[1]*u[1],v=s[0]*s[0]+s[1]*s[1],f=s[0]*u[0]+s[1]*u[1],h=f*f/l;return f<0?v:h>l?(e-i)*(e-i)+(r-o)*(r-o):v-h},Yt=function(e,r,a){for(var n,i,o,s,u,l=0,v=0;v<a.length/2;v++)if(n=a[v*2],i=a[v*2+1],v+1<a.length/2?(o=a[(v+1)*2],s=a[(v+1)*2+1]):(o=a[(v+1-a.length/2)*2],s=a[(v+1-a.length/2)*2+1]),!(n==e&&o==e))if(n>=e&&e>=o||n<=e&&e<=o)u=(e-n)/(o-n)*(s-i)+i,u>r&&l++;else continue;return l%2!==0},gr=function(e,r,a,n,i,o,s,u,l){var v=new Array(a.length),f;u[0]!=null?(f=Math.atan(u[1]/u[0]),u[0]<0?f=f+Math.PI/2:f=-f-Math.PI/2):f=u;for(var h=Math.cos(-f),c=Math.sin(-f),d=0;d<v.length/2;d++)v[d*2]=o/2*(a[d*2]*h-a[d*2+1]*c),v[d*2+1]=s/2*(a[d*2+1]*h+a[d*2]*c),v[d*2]+=n,v[d*2+1]+=i;var g;if(l>0){var y=Co(v,-l);g=To(y)}else g=v;return Yt(e,r,g)},kv=function(e,r,a,n,i,o,s){for(var u=new Array(a.length),l=o/2,v=s/2,f=hi(o,s),h=f*f,c=0;c<a.length/4;c++){var d=void 0,g=void 0;c===0?d=a.length-2:d=c*4-2,g=c*4+2;var y=n+l*a[c*4],p=i+v*a[c*4+1],m=-a[d]*a[g]-a[d+1]*a[g+1],b=f/Math.tan(Math.acos(m)/2),E=y-b*a[d],M=p-b*a[d+1],A=y+b*a[g],w=p+b*a[g+1];u[c*4]=E,u[c*4+1]=M,u[c*4+2]=A,u[c*4+3]=w;var I=a[d+1],C=-a[d],B=I*a[g]+C*a[g+1];B<0&&(I*=-1,C*=-1);var F=E+I*f,R=M+C*f,X=Math.pow(F-e,2)+Math.pow(R-r,2);if(X<=h)return!0}return Yt(e,r,u)},To=function(e){for(var r=new Array(e.length/2),a,n,i,o,s,u,l,v,f=0;f<e.length/4;f++){a=e[f*4],n=e[f*4+1],i=e[f*4+2],o=e[f*4+3],f<e.length/4-1?(s=e[(f+1)*4],u=e[(f+1)*4+1],l=e[(f+1)*4+2],v=e[(f+1)*4+3]):(s=e[0],u=e[1],l=e[2],v=e[3]);var h=Tr(a,n,i,o,s,u,l,v,!0);r[f*2]=h[0],r[f*2+1]=h[1]}return r},Co=function(e,r){for(var a=new Array(e.length*2),n,i,o,s,u=0;u<e.length/2;u++){n=e[u*2],i=e[u*2+1],u<e.length/2-1?(o=e[(u+1)*2],s=e[(u+1)*2+1]):(o=e[0],s=e[1]);var l=s-i,v=-(o-n),f=Math.sqrt(l*l+v*v),h=l/f,c=v/f;a[u*4]=n+h*r,a[u*4+1]=i+c*r,a[u*4+2]=o+h*r,a[u*4+3]=s+c*r}return a},Pv=function(e,r,a,n,i,o){var s=a-e,u=n-r;s/=i,u/=o;var l=Math.sqrt(s*s+u*u),v=l-1;if(v<0)return[];var f=v/l;return[(a-e)*f+e,(n-r)*f+r]},Fr=function(e,r,a,n,i,o,s){return e-=i,r-=o,e/=a/2+s,r/=n/2+s,e*e+r*r<=1},Pa=function(e,r,a,n,i,o,s){var u=[a-e,n-r],l=[e-i,r-o],v=u[0]*u[0]+u[1]*u[1],f=2*(l[0]*u[0]+l[1]*u[1]),h=l[0]*l[0]+l[1]*l[1]-s*s,c=f*f-4*v*h;if(c<0)return[];var d=(-f+Math.sqrt(c))/(2*v),g=(-f-Math.sqrt(c))/(2*v),y=Math.min(d,g),p=Math.max(d,g),m=[];if(y>=0&&y<=1&&m.push(y),p>=0&&p<=1&&m.push(p),m.length===0)return[];var b=m[0]*u[0]+e,E=m[0]*u[1]+r;if(m.length>1){if(m[0]==m[1])return[b,E];var M=m[1]*u[0]+e,A=m[1]*u[1]+r;return[b,E,M,A]}else return[b,E]},vi=function(e,r,a){return r<=e&&e<=a||a<=e&&e<=r?e:e<=r&&r<=a||a<=r&&r<=e?r:a},Tr=function(e,r,a,n,i,o,s,u,l){var v=e-i,f=a-e,h=s-i,c=r-o,d=n-r,g=u-o,y=h*c-g*v,p=f*c-d*v,m=g*f-h*d;if(m!==0){var b=y/m,E=p/m,M=.001,A=0-M,w=1+M;return A<=b&&b<=w&&A<=E&&E<=w?[e+b*f,r+b*d]:l?[e+b*f,r+b*d]:[]}else return y===0||p===0?vi(e,a,s)===s?[s,u]:vi(e,a,i)===i?[i,o]:vi(i,s,a)===a?[a,n]:[]:[]},Ba=function(e,r,a,n,i,o,s,u){var l=[],v,f=new Array(a.length),h=!0;o==null&&(h=!1);var c;if(h){for(var d=0;d<f.length/2;d++)f[d*2]=a[d*2]*o+n,f[d*2+1]=a[d*2+1]*s+i;if(u>0){var g=Co(f,-u);c=To(g)}else c=f}else c=a;for(var y,p,m,b,E=0;E<c.length/2;E++)y=c[E*2],p=c[E*2+1],E<c.length/2-1?(m=c[(E+1)*2],b=c[(E+1)*2+1]):(m=c[0],b=c[1]),v=Tr(e,r,n,i,y,p,m,b),v.length!==0&&l.push(v[0],v[1]);return l},Bv=function(e,r,a,n,i,o,s,u){for(var l=[],v,f=new Array(a.length),h=o/2,c=s/2,d=hi(o,s),g=0;g<a.length/4;g++){var y=void 0,p=void 0;g===0?y=a.length-2:y=g*4-2,p=g*4+2;var m=n+h*a[g*4],b=i+c*a[g*4+1],E=-a[y]*a[p]-a[y+1]*a[p+1],M=d/Math.tan(Math.acos(E)/2),A=m-M*a[y],w=b-M*a[y+1],I=m+M*a[p],C=b+M*a[p+1];g===0?(f[a.length-2]=A,f[a.length-1]=w):(f[g*4-2]=A,f[g*4-1]=w),f[g*4]=I,f[g*4+1]=C;var B=a[y+1],F=-a[y],R=B*a[p]+F*a[p+1];R<0&&(B*=-1,F*=-1);var X=A+B*d,G=w+F*d;v=Pa(e,r,n,i,X,G,d),v.length!==0&&l.push(v[0],v[1])}for(var re=0;re<f.length/4;re++)v=Tr(e,r,n,i,f[re*4],f[re*4+1],f[re*4+2],f[re*4+3],!1),v.length!==0&&l.push(v[0],v[1]);if(l.length>2){for(var q=[l[0],l[1]],Z=Math.pow(q[0]-e,2)+Math.pow(q[1]-r,2),ie=1;ie<l.length/2;ie++){var se=Math.pow(l[ie*2]-e,2)+Math.pow(l[ie*2+1]-r,2);se<=Z&&(q[0]=l[ie*2],q[1]=l[ie*2+1],Z=se)}return q}return l},yn=function(e,r,a){var n=[e[0]-r[0],e[1]-r[1]],i=Math.sqrt(n[0]*n[0]+n[1]*n[1]),o=(i-a)/i;return o<0&&(o=1e-5),[r[0]+o*n[0],r[1]+o*n[1]]},$t=function(e,r){var a=fi(e,r);return a=Do(a),a},Do=function(e){for(var r,a,n=e.length/2,i=1/0,o=1/0,s=-1/0,u=-1/0,l=0;l<n;l++)r=e[2*l],a=e[2*l+1],i=Math.min(i,r),s=Math.max(s,r),o=Math.min(o,a),u=Math.max(u,a);for(var v=2/(s-i),f=2/(u-o),h=0;h<n;h++)r=e[2*h]=e[2*h]*v,a=e[2*h+1]=e[2*h+1]*f,i=Math.min(i,r),s=Math.max(s,r),o=Math.min(o,a),u=Math.max(u,a);if(o<-1)for(var c=0;c<n;c++)a=e[2*c+1]=e[2*c+1]+(-1-o);return e},fi=function(e,r){var a=1/e*2*Math.PI,n=e%2===0?Math.PI/2+a/2:Math.PI/2;n+=r;for(var i=new Array(e*2),o,s=0;s<e;s++)o=s*a+n,i[2*s]=Math.cos(o),i[2*s+1]=Math.sin(-o);return i},Fa=function(e,r){return Math.min(e/4,r/4,8)},hi=function(e,r){return Math.min(e/10,r/10,8)},So=function(){return 8},Fv=function(e,r,a){return[e-2*r+a,2*(r-e),e]},ci=function(e,r){return{heightOffset:Math.min(15,.05*r),widthOffset:Math.min(100,.25*e),ctrlPtOffsetPct:.05}},Gv=Lt({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(e){return 1}}),zv={pageRank:function(e){for(var r=Gv(e),a=r.dampingFactor,n=r.precision,i=r.iterations,o=r.weight,s=this._private.cy,u=this.byGroup(),l=u.nodes,v=u.edges,f=l.length,h=f*f,c=v.length,d=new Array(h),g=new Array(f),y=(1-a)/f,p=0;p<f;p++){for(var m=0;m<f;m++){var b=p*f+m;d[b]=0}g[p]=0}for(var E=0;E<c;E++){var M=v[E],A=M.data("source"),w=M.data("target");if(A!==w){var I=l.indexOfId(A),C=l.indexOfId(w),B=o(M),F=C*f+I;d[F]+=B,g[I]+=B}}for(var R=1/f+y,X=0;X<f;X++)if(g[X]===0)for(var G=0;G<f;G++){var re=G*f+X;d[re]=R}else for(var q=0;q<f;q++){var Z=q*f+X;d[Z]=d[Z]/g[X]+y}for(var ie=new Array(f),se=new Array(f),de,oe=0;oe<f;oe++)ie[oe]=1;for(var ce=0;ce<i;ce++){for(var we=0;we<f;we++)se[we]=0;for(var Te=0;Te<f;Te++)for(var Ee=0;Ee<f;Ee++){var ye=Te*f+Ee;se[Te]+=d[ye]*ie[Ee]}wv(se),de=ie,ie=se,se=de;for(var ae=0,xe=0;xe<f;xe++){var Ce=de[xe]-ie[xe];ae+=Ce*Ce}if(ae<n)break}var Oe={rank:function(He){return He=s.collection(He)[0],ie[l.indexOf(He)]}};return Oe}},Lo=Lt({root:null,weight:function(e){return 1},directed:!1,alpha:0}),ra={degreeCentralityNormalized:function(e){e=Lo(e);var r=this.cy(),a=this.nodes(),n=a.length;if(e.directed){for(var v={},f={},h=0,c=0,d=0;d<n;d++){var g=a[d],y=g.id();e.root=g;var p=this.degreeCentrality(e);h<p.indegree&&(h=p.indegree),c<p.outdegree&&(c=p.outdegree),v[y]=p.indegree,f[y]=p.outdegree}return{indegree:function(b){return h==0?0:(j(b)&&(b=r.filter(b)),v[b.id()]/h)},outdegree:function(b){return c===0?0:(j(b)&&(b=r.filter(b)),f[b.id()]/c)}}}else{for(var i={},o=0,s=0;s<n;s++){var u=a[s];e.root=u;var l=this.degreeCentrality(e);o<l.degree&&(o=l.degree),i[u.id()]=l.degree}return{degree:function(b){return o===0?0:(j(b)&&(b=r.filter(b)),i[b.id()]/o)}}}},degreeCentrality:function(e){e=Lo(e);var r=this.cy(),a=this,n=e,i=n.root,o=n.weight,s=n.directed,u=n.alpha;if(i=r.collection(i)[0],s){for(var c=i.connectedEdges(),d=c.filter(function(A){return A.target().same(i)&&a.has(A)}),g=c.filter(function(A){return A.source().same(i)&&a.has(A)}),y=d.length,p=g.length,m=0,b=0,E=0;E<d.length;E++)m+=o(d[E]);for(var M=0;M<g.length;M++)b+=o(g[M]);return{indegree:Math.pow(y,1-u)*Math.pow(m,u),outdegree:Math.pow(p,1-u)*Math.pow(b,u)}}else{for(var l=i.connectedEdges().intersection(a),v=l.length,f=0,h=0;h<l.length;h++)f+=o(l[h]);return{degree:Math.pow(v,1-u)*Math.pow(f,u)}}}};ra.dc=ra.degreeCentrality,ra.dcn=ra.degreeCentralityNormalised=ra.degreeCentralityNormalized;var Ao=Lt({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),aa={closenessCentralityNormalized:function(e){for(var r=Ao(e),a=r.harmonic,n=r.weight,i=r.directed,o=this.cy(),s={},u=0,l=this.nodes(),v=this.floydWarshall({weight:n,directed:i}),f=0;f<l.length;f++){for(var h=0,c=l[f],d=0;d<l.length;d++)if(f!==d){var g=v.distance(c,l[d]);a?h+=1/g:h+=g}a||(h=1/h),u<h&&(u=h),s[c.id()]=h}return{closeness:function(p){return u==0?0:(j(p)?p=o.filter(p)[0].id():p=p.id(),s[p]/u)}}},closenessCentrality:function(e){var r=Ao(e),a=r.root,n=r.weight,i=r.directed,o=r.harmonic;a=this.filter(a)[0];for(var s=this.dijkstra({root:a,weight:n,directed:i}),u=0,l=this.nodes(),v=0;v<l.length;v++){var f=l[v];if(!f.same(a)){var h=s.distanceTo(f);o?u+=1/h:u+=h}}return o?u:1/u}};aa.cc=aa.closenessCentrality,aa.ccn=aa.closenessCentralityNormalised=aa.closenessCentralityNormalized;var $v=Lt({weight:null,directed:!1}),di={betweennessCentrality:function(e){for(var r=$v(e),a=r.directed,n=r.weight,i=n!=null,o=this.cy(),s=this.nodes(),u={},l={},v=0,f={set:function(b,E){l[b]=E,E>v&&(v=E)},get:function(b){return l[b]}},h=0;h<s.length;h++){var c=s[h],d=c.id();a?u[d]=c.outgoers().nodes():u[d]=c.openNeighborhood().nodes(),f.set(d,0)}for(var g=function(b){for(var E=s[b].id(),M=[],A={},w={},I={},C=new Ra(function(Ee,ye){return I[Ee]-I[ye]}),B=0;B<s.length;B++){var F=s[B].id();A[F]=[],w[F]=0,I[F]=1/0}for(w[E]=1,I[E]=0,C.push(E);!C.empty();){var R=C.pop();if(M.push(R),i)for(var X=0;X<u[R].length;X++){var G=u[R][X],re=o.getElementById(R),q=void 0;re.edgesTo(G).length>0?q=re.edgesTo(G)[0]:q=G.edgesTo(re)[0];var Z=n(q);G=G.id(),I[G]>I[R]+Z&&(I[G]=I[R]+Z,C.nodes.indexOf(G)<0?C.push(G):C.updateItem(G),w[G]=0,A[G]=[]),I[G]==I[R]+Z&&(w[G]=w[G]+w[R],A[G].push(R))}else for(var ie=0;ie<u[R].length;ie++){var se=u[R][ie].id();I[se]==1/0&&(C.push(se),I[se]=I[R]+1),I[se]==I[R]+1&&(w[se]=w[se]+w[R],A[se].push(R))}}for(var de={},oe=0;oe<s.length;oe++)de[s[oe].id()]=0;for(;M.length>0;){for(var ce=M.pop(),we=0;we<A[ce].length;we++){var Te=A[ce][we];de[Te]=de[Te]+w[Te]/w[ce]*(1+de[ce])}ce!=s[b].id()&&f.set(ce,f.get(ce)+de[ce])}},y=0;y<s.length;y++)g(y);var p={betweenness:function(b){var E=o.collection(b).id();return f.get(E)},betweennessNormalized:function(b){if(v==0)return 0;var E=o.collection(b).id();return f.get(E)/v}};return p.betweennessNormalised=p.betweennessNormalized,p}};di.bc=di.betweennessCentrality;var Vv=Lt({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(t){return 1}]}),_v=function(e){return Vv(e)},Uv=function(e,r){for(var a=0,n=0;n<r.length;n++)a+=r[n](e);return a},Yv=function(e,r,a){for(var n=0;n<r;n++)e[n*r+n]=a},Oo=function(e,r){for(var a,n=0;n<r;n++){a=0;for(var i=0;i<r;i++)a+=e[i*r+n];for(var o=0;o<r;o++)e[o*r+n]=e[o*r+n]/a}},Hv=function(e,r,a){for(var n=new Array(a*a),i=0;i<a;i++){for(var o=0;o<a;o++)n[i*a+o]=0;for(var s=0;s<a;s++)for(var u=0;u<a;u++)n[i*a+u]+=e[i*a+s]*r[s*a+u]}return n},Xv=function(e,r,a){for(var n=e.slice(0),i=1;i<a;i++)e=Hv(e,n,r);return e},Wv=function(e,r,a){for(var n=new Array(r*r),i=0;i<r*r;i++)n[i]=Math.pow(e[i],a);return Oo(n,r),n},qv=function(e,r,a,n){for(var i=0;i<a;i++){var o=Math.round(e[i]*Math.pow(10,n))/Math.pow(10,n),s=Math.round(r[i]*Math.pow(10,n))/Math.pow(10,n);if(o!==s)return!1}return!0},Kv=function(e,r,a,n){for(var i=[],o=0;o<r;o++){for(var s=[],u=0;u<r;u++)Math.round(e[o*r+u]*1e3)/1e3>0&&s.push(a[u]);s.length!==0&&i.push(n.collection(s))}return i},Zv=function(e,r){for(var a=0;a<e.length;a++)if(!r[a]||e[a].id()!==r[a].id())return!1;return!0},Qv=function(e){for(var r=0;r<e.length;r++)for(var a=0;a<e.length;a++)r!=a&&Zv(e[r],e[a])&&e.splice(a,1);return e},No=function(e){for(var r=this.nodes(),a=this.edges(),n=this.cy(),i=_v(e),o={},s=0;s<r.length;s++)o[r[s].id()]=s;for(var u=r.length,l=u*u,v=new Array(l),f,h=0;h<l;h++)v[h]=0;for(var c=0;c<a.length;c++){var d=a[c],g=o[d.source().id()],y=o[d.target().id()],p=Uv(d,i.attributes);v[g*u+y]+=p,v[y*u+g]+=p}Yv(v,u,i.multFactor),Oo(v,u);for(var m=!0,b=0;m&&b<i.maxIterations;)m=!1,f=Xv(v,u,i.expandFactor),v=Wv(f,u,i.inflateFactor),qv(v,f,l,4)||(m=!0),b++;var E=Kv(v,u,r,n);return E=Qv(E),E},Jv={markovClustering:No,mcl:No},jv=function(e){return e},Mo=function(e,r){return Math.abs(r-e)},Io=function(e,r,a){return e+Mo(r,a)},Ro=function(e,r,a){return e+Math.pow(a-r,2)},ef=function(e){return Math.sqrt(e)},tf=function(e,r,a){return Math.max(e,Mo(r,a))},Ga=function(e,r,a,n,i){for(var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:jv,s=n,u,l,v=0;v<e;v++)u=r(v),l=a(v),s=i(s,u,l);return o(s)},na={euclidean:function(e,r,a){return e>=2?Ga(e,r,a,0,Ro,ef):Ga(e,r,a,0,Io)},squaredEuclidean:function(e,r,a){return Ga(e,r,a,0,Ro)},manhattan:function(e,r,a){return Ga(e,r,a,0,Io)},max:function(e,r,a){return Ga(e,r,a,-1/0,tf)}};na["squared-euclidean"]=na.squaredEuclidean,na.squaredeuclidean=na.squaredEuclidean;function mn(t,e,r,a,n,i){var o;return Y(t)?o=t:o=na[t]||na.euclidean,e===0&&Y(t)?o(n,i):o(e,r,a,n,i)}var rf=Lt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),gi=function(e){return rf(e)},bn=function(e,r,a,n,i){var o=i!=="kMedoids",s=o?function(f){return a[f]}:function(f){return n[f](a)},u=function(h){return n[h](r)},l=a,v=r;return mn(e,n.length,s,u,l,v)},pi=function(e,r,a){for(var n=a.length,i=new Array(n),o=new Array(n),s=new Array(r),u=null,l=0;l<n;l++)i[l]=e.min(a[l]).value,o[l]=e.max(a[l]).value;for(var v=0;v<r;v++){u=[];for(var f=0;f<n;f++)u[f]=Math.random()*(o[f]-i[f])+i[f];s[v]=u}return s},ko=function(e,r,a,n,i){for(var o=1/0,s=0,u=0;u<r.length;u++){var l=bn(a,e,r[u],n,i);l<o&&(o=l,s=u)}return s},Po=function(e,r,a){for(var n=[],i=null,o=0;o<r.length;o++)i=r[o],a[i.id()]===e&&n.push(i);return n},af=function(e,r,a){return Math.abs(r-e)<=a},nf=function(e,r,a){for(var n=0;n<e.length;n++)for(var i=0;i<e[n].length;i++){var o=Math.abs(e[n][i]-r[n][i]);if(o>a)return!1}return!0},of=function(e,r,a){for(var n=0;n<a;n++)if(e===r[n])return!0;return!1},Bo=function(e,r){var a=new Array(r);if(e.length<50)for(var n=0;n<r;n++){for(var i=e[Math.floor(Math.random()*e.length)];of(i,a,n);)i=e[Math.floor(Math.random()*e.length)];a[n]=i}else for(var o=0;o<r;o++)a[o]=e[Math.floor(Math.random()*e.length)];return a},Fo=function(e,r,a){for(var n=0,i=0;i<r.length;i++)n+=bn("manhattan",r[i],e,a,"kMedoids");return n},sf=function(e){var r=this.cy(),a=this.nodes(),n=null,i=gi(e),o=new Array(i.k),s={},u;i.testMode?typeof i.testCentroids=="number"?(i.testCentroids,u=pi(a,i.k,i.attributes)):ee(i.testCentroids)==="object"?u=i.testCentroids:u=pi(a,i.k,i.attributes):u=pi(a,i.k,i.attributes);for(var l=!0,v=0;l&&v<i.maxIterations;){for(var f=0;f<a.length;f++)n=a[f],s[n.id()]=ko(n,u,i.distance,i.attributes,"kMeans");l=!1;for(var h=0;h<i.k;h++){var c=Po(h,a,s);if(c.length!==0){for(var d=i.attributes.length,g=u[h],y=new Array(d),p=new Array(d),m=0;m<d;m++){p[m]=0;for(var b=0;b<c.length;b++)n=c[b],p[m]+=i.attributes[m](n);y[m]=p[m]/c.length,af(y[m],g[m],i.sensitivityThreshold)||(l=!0)}u[h]=y,o[h]=r.collection(c)}}v++}return o},lf=function(e){var r=this.cy(),a=this.nodes(),n=null,i=gi(e),o=new Array(i.k),s,u={},l,v=new Array(i.k);i.testMode?typeof i.testCentroids=="number"||(ee(i.testCentroids)==="object"?s=i.testCentroids:s=Bo(a,i.k)):s=Bo(a,i.k);for(var f=!0,h=0;f&&h<i.maxIterations;){for(var c=0;c<a.length;c++)n=a[c],u[n.id()]=ko(n,s,i.distance,i.attributes,"kMedoids");f=!1;for(var d=0;d<s.length;d++){var g=Po(d,a,u);if(g.length!==0){v[d]=Fo(s[d],g,i.attributes);for(var y=0;y<g.length;y++)l=Fo(g[y],g,i.attributes),l<v[d]&&(v[d]=l,s[d]=g[y],f=!0);o[d]=r.collection(g)}}h++}return o},uf=function(e,r,a,n,i){for(var o,s,u=0;u<r.length;u++)for(var l=0;l<e.length;l++)n[u][l]=Math.pow(a[u][l],i.m);for(var v=0;v<e.length;v++)for(var f=0;f<i.attributes.length;f++){o=0,s=0;for(var h=0;h<r.length;h++)o+=n[h][v]*i.attributes[f](r[h]),s+=n[h][v];e[v][f]=o/s}},vf=function(e,r,a,n,i){for(var o=0;o<e.length;o++)r[o]=e[o].slice();for(var s,u,l,v=2/(i.m-1),f=0;f<a.length;f++)for(var h=0;h<n.length;h++){s=0;for(var c=0;c<a.length;c++)u=bn(i.distance,n[h],a[f],i.attributes,"cmeans"),l=bn(i.distance,n[h],a[c],i.attributes,"cmeans"),s+=Math.pow(u/l,v);e[h][f]=1/s}},ff=function(e,r,a,n){for(var i=new Array(a.k),o=0;o<i.length;o++)i[o]=[];for(var s,u,l=0;l<r.length;l++){s=-1/0,u=-1;for(var v=0;v<r[0].length;v++)r[l][v]>s&&(s=r[l][v],u=v);i[u].push(e[l])}for(var f=0;f<i.length;f++)i[f]=n.collection(i[f]);return i},Go=function(e){var r=this.cy(),a=this.nodes(),n=gi(e),i,o,s,u,l;u=new Array(a.length);for(var v=0;v<a.length;v++)u[v]=new Array(n.k);s=new Array(a.length);for(var f=0;f<a.length;f++)s[f]=new Array(n.k);for(var h=0;h<a.length;h++){for(var c=0,d=0;d<n.k;d++)s[h][d]=Math.random(),c+=s[h][d];for(var g=0;g<n.k;g++)s[h][g]=s[h][g]/c}o=new Array(n.k);for(var y=0;y<n.k;y++)o[y]=new Array(n.attributes.length);l=new Array(a.length);for(var p=0;p<a.length;p++)l[p]=new Array(n.k);for(var m=!0,b=0;m&&b<n.maxIterations;)m=!1,uf(o,a,s,l,n),vf(s,u,o,a,n),nf(s,u,n.sensitivityThreshold)||(m=!0),b++;return i=ff(a,s,n,r),{clusters:i,degreeOfMembership:s}},hf={kMeans:sf,kMedoids:lf,fuzzyCMeans:Go,fcm:Go},cf=Lt({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),df={single:"min",complete:"max"},gf=function(e){var r=cf(e),a=df[r.linkage];return a!=null&&(r.linkage=a),r},zo=function(e,r,a,n,i){for(var o=0,s=1/0,u,l=i.attributes,v=function(C,B){return mn(i.distance,l.length,function(F){return l[F](C)},function(F){return l[F](B)},C,B)},f=0;f<e.length;f++){var h=e[f].key,c=a[h][n[h]];c<s&&(o=h,s=c)}if(i.mode==="threshold"&&s>=i.threshold||i.mode==="dendrogram"&&e.length===1)return!1;var d=r[o],g=r[n[o]],y;i.mode==="dendrogram"?y={left:d,right:g,key:d.key}:y={value:d.value.concat(g.value),key:d.key},e[d.index]=y,e.splice(g.index,1),r[d.key]=y;for(var p=0;p<e.length;p++){var m=e[p];d.key===m.key?u=1/0:i.linkage==="min"?(u=a[d.key][m.key],a[d.key][m.key]>a[g.key][m.key]&&(u=a[g.key][m.key])):i.linkage==="max"?(u=a[d.key][m.key],a[d.key][m.key]<a[g.key][m.key]&&(u=a[g.key][m.key])):i.linkage==="mean"?u=(a[d.key][m.key]*d.size+a[g.key][m.key]*g.size)/(d.size+g.size):i.mode==="dendrogram"?u=v(m.value,d.value):u=v(m.value[0],d.value[0]),a[d.key][m.key]=a[m.key][d.key]=u}for(var b=0;b<e.length;b++){var E=e[b].key;if(n[E]===d.key||n[E]===g.key){for(var M=E,A=0;A<e.length;A++){var w=e[A].key;a[E][w]<a[E][M]&&(M=w)}n[E]=M}e[b].index=b}return d.key=g.key=d.index=g.index=null,!0},En=function t(e,r,a){e&&(e.value?r.push(e.value):(e.left&&t(e.left,r),e.right&&t(e.right,r)))},pf=function t(e,r){if(!e)return"";if(e.left&&e.right){var a=t(e.left,r),n=t(e.right,r),i=r.add({group:"nodes",data:{id:a+","+n}});return r.add({group:"edges",data:{source:a,target:i.id()}}),r.add({group:"edges",data:{source:n,target:i.id()}}),i.id()}else if(e.value)return e.value.id()},yf=function t(e,r,a){if(!e)return[];var n=[],i=[],o=[];return r===0?(e.left&&En(e.left,n),e.right&&En(e.right,i),o=n.concat(i),[a.collection(o)]):r===1?e.value?[a.collection(e.value)]:(e.left&&En(e.left,n),e.right&&En(e.right,i),[a.collection(n),a.collection(i)]):e.value?[a.collection(e.value)]:(e.left&&(n=t(e.left,r-1,a)),e.right&&(i=t(e.right,r-1,a)),n.concat(i))},$o=function(e){for(var r=this.cy(),a=this.nodes(),n=gf(e),i=n.attributes,o=function(b,E){return mn(n.distance,i.length,function(M){return i[M](b)},function(M){return i[M](E)},b,E)},s=[],u=[],l=[],v=[],f=0;f<a.length;f++){var h={value:n.mode==="dendrogram"?a[f]:[a[f]],key:f,index:f};s[f]=h,v[f]=h,u[f]=[],l[f]=0}for(var c=0;c<s.length;c++)for(var d=0;d<=c;d++){var g=void 0;n.mode==="dendrogram"?g=c===d?1/0:o(s[c].value,s[d].value):g=c===d?1/0:o(s[c].value[0],s[d].value[0]),u[c][d]=g,u[d][c]=g,g<u[c][l[c]]&&(l[c]=d)}for(var y=zo(s,v,u,l,n);y;)y=zo(s,v,u,l,n);var p;return n.mode==="dendrogram"?(p=yf(s[0],n.dendrogramDepth,r),n.addDendrogram&&pf(s[0],r)):(p=new Array(s.length),s.forEach(function(m,b){m.key=m.index=null,p[b]=r.collection(m.value)})),p},mf={hierarchicalClustering:$o,hca:$o},bf=Lt({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),Ef=function(e){var r=e.damping,a=e.preference;.5<=r&&r<1||xt("Damping must range on [0.5, 1). Got: ".concat(r));var n=["median","mean","min","max"];return n.some(function(i){return i===a})||k(a)||xt("Preference must be one of [".concat(n.map(function(i){return"'".concat(i,"'")}).join(", "),"] or a number. Got: ").concat(a)),bf(e)},wf=function(e,r,a,n){var i=function(s,u){return n[u](s)};return-mn(e,n.length,function(o){return i(r,o)},function(o){return i(a,o)},r,a)},xf=function(e,r){var a=null;return r==="median"?a=bv(e):r==="mean"?a=mv(e):r==="min"?a=pv(e):r==="max"?a=yv(e):a=r,a},Tf=function(e,r,a){for(var n=[],i=0;i<e;i++)r[i*e+i]+a[i*e+i]>0&&n.push(i);return n},Vo=function(e,r,a){for(var n=[],i=0;i<e;i++){for(var o=-1,s=-1/0,u=0;u<a.length;u++){var l=a[u];r[i*e+l]>s&&(o=l,s=r[i*e+l])}o>0&&n.push(o)}for(var v=0;v<a.length;v++)n[a[v]]=a[v];return n},Cf=function(e,r,a){for(var n=Vo(e,r,a),i=0;i<a.length;i++){for(var o=[],s=0;s<n.length;s++)n[s]===a[i]&&o.push(s);for(var u=-1,l=-1/0,v=0;v<o.length;v++){for(var f=0,h=0;h<o.length;h++)f+=r[o[h]*e+o[v]];f>l&&(u=v,l=f)}a[i]=o[u]}return n=Vo(e,r,a),n},_o=function(e){for(var r=this.cy(),a=this.nodes(),n=Ef(e),i={},o=0;o<a.length;o++)i[a[o].id()]=o;var s,u,l,v,f,h;s=a.length,u=s*s,l=new Array(u);for(var c=0;c<u;c++)l[c]=-1/0;for(var d=0;d<s;d++)for(var g=0;g<s;g++)d!==g&&(l[d*s+g]=wf(n.distance,a[d],a[g],n.attributes));v=xf(l,n.preference);for(var y=0;y<s;y++)l[y*s+y]=v;f=new Array(u);for(var p=0;p<u;p++)f[p]=0;h=new Array(u);for(var m=0;m<u;m++)h[m]=0;for(var b=new Array(s),E=new Array(s),M=new Array(s),A=0;A<s;A++)b[A]=0,E[A]=0,M[A]=0;for(var w=new Array(s*n.minIterations),I=0;I<w.length;I++)w[I]=0;var C;for(C=0;C<n.maxIterations;C++){for(var B=0;B<s;B++){for(var F=-1/0,R=-1/0,X=-1,G=0,re=0;re<s;re++)b[re]=f[B*s+re],G=h[B*s+re]+l[B*s+re],G>=F?(R=F,F=G,X=re):G>R&&(R=G);for(var q=0;q<s;q++)f[B*s+q]=(1-n.damping)*(l[B*s+q]-F)+n.damping*b[q];f[B*s+X]=(1-n.damping)*(l[B*s+X]-R)+n.damping*b[X]}for(var Z=0;Z<s;Z++){for(var ie=0,se=0;se<s;se++)b[se]=h[se*s+Z],E[se]=Math.max(0,f[se*s+Z]),ie+=E[se];ie-=E[Z],E[Z]=f[Z*s+Z],ie+=E[Z];for(var de=0;de<s;de++)h[de*s+Z]=(1-n.damping)*Math.min(0,ie-E[de])+n.damping*b[de];h[Z*s+Z]=(1-n.damping)*(ie-E[Z])+n.damping*b[Z]}for(var oe=0,ce=0;ce<s;ce++){var we=h[ce*s+ce]+f[ce*s+ce]>0?1:0;w[C%n.minIterations*s+ce]=we,oe+=we}if(oe>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var Te=0,Ee=0;Ee<s;Ee++){M[Ee]=0;for(var ye=0;ye<n.minIterations;ye++)M[Ee]+=w[ye*s+Ee];(M[Ee]===0||M[Ee]===n.minIterations)&&Te++}if(Te===s)break}}for(var ae=Tf(s,f,h),xe=Cf(s,l,ae),Ce={},Oe=0;Oe<ae.length;Oe++)Ce[ae[Oe]]=[];for(var Ie=0;Ie<a.length;Ie++){var He=i[a[Ie].id()],We=xe[He];We!=null&&Ce[We].push(a[Ie])}for(var Re=new Array(ae.length),Me=0;Me<ae.length;Me++)Re[Me]=r.collection(Ce[ae[Me]]);return Re},Df={affinityPropagation:_o,ap:_o},Sf=Lt({root:void 0,directed:!1}),Lf={hierholzer:function(e){if(!L(e)){var r=arguments;e={root:r[0],directed:r[1]}}var a=Sf(e),n=a.root,i=a.directed,o=this,s=!1,u,l,v;n&&(v=j(n)?this.filter(n)[0].id():n[0].id());var f={},h={};i?o.forEach(function(m){var b=m.id();if(m.isNode()){var E=m.indegree(!0),M=m.outdegree(!0),A=E-M,w=M-E;A==1?u?s=!0:u=b:w==1?l?s=!0:l=b:(w>1||A>1)&&(s=!0),f[b]=[],m.outgoers().forEach(function(I){I.isEdge()&&f[b].push(I.id())})}else h[b]=[void 0,m.target().id()]}):o.forEach(function(m){var b=m.id();if(m.isNode()){var E=m.degree(!0);E%2&&(u?l?s=!0:l=b:u=b),f[b]=[],m.connectedEdges().forEach(function(M){return f[b].push(M.id())})}else h[b]=[m.source().id(),m.target().id()]});var c={found:!1,trail:void 0};if(s)return c;if(l&&u)if(i){if(v&&l!=v)return c;v=l}else{if(v&&l!=v&&u!=v)return c;v||(v=l)}else v||(v=o[0].id());var d=function(b){for(var E=b,M=[b],A,w,I;f[E].length;)A=f[E].shift(),w=h[A][0],I=h[A][1],E!=I?(f[I]=f[I].filter(function(C){return C!=A}),E=I):!i&&E!=w&&(f[w]=f[w].filter(function(C){return C!=A}),E=w),M.unshift(A),M.unshift(E);return M},g=[],y=[];for(y=d(v);y.length!=1;)f[y[0]].length==0?(g.unshift(o.getElementById(y.shift())),g.unshift(o.getElementById(y.shift()))):y=d(y.shift()).concat(y);g.unshift(o.getElementById(y.shift()));for(var p in f)if(f[p].length)return c;return c.found=!0,c.trail=this.spawn(g,!0),c}},wn=function(){var e=this,r={},a=0,n=0,i=[],o=[],s={},u=function(h,c){for(var d=o.length-1,g=[],y=e.spawn();o[d].x!=h||o[d].y!=c;)g.push(o.pop().edge),d--;g.push(o.pop().edge),g.forEach(function(p){var m=p.connectedNodes().intersection(e);y.merge(p),m.forEach(function(b){var E=b.id(),M=b.connectedEdges().intersection(e);y.merge(b),r[E].cutVertex?y.merge(M.filter(function(A){return A.isLoop()})):y.merge(M)})}),i.push(y)},l=function f(h,c,d){h===d&&(n+=1),r[c]={id:a,low:a++,cutVertex:!1};var g=e.getElementById(c).connectedEdges().intersection(e);if(g.size()===0)i.push(e.spawn(e.getElementById(c)));else{var y,p,m,b;g.forEach(function(E){y=E.source().id(),p=E.target().id(),m=y===c?p:y,m!==d&&(b=E.id(),s[b]||(s[b]=!0,o.push({x:c,y:m,edge:E})),m in r?r[c].low=Math.min(r[c].low,r[m].id):(f(h,m,c),r[c].low=Math.min(r[c].low,r[m].low),r[c].id<=r[m].low&&(r[c].cutVertex=!0,u(c,m))))})}};e.forEach(function(f){if(f.isNode()){var h=f.id();h in r||(n=0,l(h,h),r[h].cutVertex=n>1)}});var v=Object.keys(r).filter(function(f){return r[f].cutVertex}).map(function(f){return e.getElementById(f)});return{cut:e.spawn(v),components:i}},Af={hopcroftTarjanBiconnected:wn,htbc:wn,htb:wn,hopcroftTarjanBiconnectedComponents:wn},xn=function(){var e=this,r={},a=0,n=[],i=[],o=e.spawn(e),s=function u(l){i.push(l),r[l]={index:a,low:a++,explored:!1};var v=e.getElementById(l).connectedEdges().intersection(e);if(v.forEach(function(g){var y=g.target().id();y!==l&&(y in r||u(y),r[y].explored||(r[l].low=Math.min(r[l].low,r[y].low)))}),r[l].index===r[l].low){for(var f=e.spawn();;){var h=i.pop();if(f.merge(e.getElementById(h)),r[h].low=r[l].index,r[h].explored=!0,h===l)break}var c=f.edgesWith(f),d=f.merge(c);n.push(d),o=o.difference(d)}};return e.forEach(function(u){if(u.isNode()){var l=u.id();l in r||s(l)}}),{cut:o,components:n}},Of={tarjanStronglyConnected:xn,tsc:xn,tscc:xn,tarjanStronglyConnectedComponents:xn},Uo={};[Ia,nv,iv,sv,uv,fv,dv,zv,ra,aa,di,Jv,hf,mf,Df,Lf,Af,Of].forEach(function(t){Ue(Uo,t)});/*!
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
Licensed under The MIT License (http://opensource.org/licenses/MIT)
*/var Yo=0,Ho=1,Xo=2,pr=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Yo,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof e=="function"&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};pr.prototype={fulfill:function(e){return Wo(this,Ho,"fulfillValue",e)},reject:function(e){return Wo(this,Xo,"rejectReason",e)},then:function(e,r){var a=this,n=new pr;return a.onFulfilled.push(Zo(e,n,"fulfill")),a.onRejected.push(Zo(r,n,"reject")),qo(a),n.proxy}};var Wo=function(e,r,a,n){return e.state===Yo&&(e.state=r,e[a]=n,qo(e)),e},qo=function(e){e.state===Ho?Ko(e,"onFulfilled",e.fulfillValue):e.state===Xo&&Ko(e,"onRejected",e.rejectReason)},Ko=function(e,r,a){if(e[r].length!==0){var n=e[r];e[r]=[];var i=function(){for(var s=0;s<n.length;s++)n[s](a)};typeof setImmediate=="function"?setImmediate(i):setTimeout(i,0)}},Zo=function(e,r,a){return function(n){if(typeof e!="function")r[a].call(r,n);else{var i;try{i=e(n)}catch(o){r.reject(o);return}Nf(r,i)}}},Nf=function t(e,r){if(e===r||e.proxy===r){e.reject(new TypeError("cannot resolve promise with itself"));return}var a;if(ee(r)==="object"&&r!==null||typeof r=="function")try{a=r.then}catch(i){e.reject(i);return}if(typeof a=="function"){var n=!1;try{a.call(r,function(i){n||(n=!0,i===r?e.reject(new TypeError("circular thenable chain")):t(e,i))},function(i){n||(n=!0,e.reject(i))})}catch(i){n||e.reject(i)}return}e.fulfill(r)};pr.all=function(t){return new pr(function(e,r){for(var a=new Array(t.length),n=0,i=function(u,l){a[u]=l,n++,n===t.length&&e(a)},o=0;o<t.length;o++)(function(s){var u=t[s],l=u!=null&&u.then!=null;if(l)u.then(function(f){i(s,f)},function(f){r(f)});else{var v=u;i(s,v)}})(o)})},pr.resolve=function(t){return new pr(function(e,r){e(t)})},pr.reject=function(t){return new pr(function(e,r){r(t)})};var ia=typeof Promise<"u"?Promise:pr,yi=function(e,r,a){var n=_e(e),i=!n,o=this._private=Ue({duration:1e3},r,a);if(o.target=e,o.style=o.style||o.css,o.started=!1,o.playing=!1,o.hooked=!1,o.applying=!1,o.progress=0,o.completes=[],o.frames=[],o.complete&&Y(o.complete)&&o.completes.push(o.complete),i){var s=e.position();o.startPosition=o.startPosition||{x:s.x,y:s.y},o.startStyle=o.startStyle||e.cy().style().getAnimationStartStyle(e,o.style)}if(n){var u=e.pan();o.startPan={x:u.x,y:u.y},o.startZoom=e.zoom()}this.length=1,this[0]=this},Gr=yi.prototype;Ue(Gr,{instanceString:function(){return"animation"},hook:function(){var e=this._private;if(!e.hooked){var r,a=e.target._private.animation;e.queue?r=a.queue:r=a.current,r.push(this),ge(e.target)&&e.target.cy().addToAnimationPool(e.target),e.hooked=!0}return this},play:function(){var e=this._private;return e.progress===1&&(e.progress=0),e.playing=!0,e.started=!1,e.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var e=this._private;return e.applying=!0,e.started=!1,e.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var e=this._private;return e.playing=!1,e.started=!1,this},stop:function(){var e=this._private;return e.playing=!1,e.started=!1,e.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(e){var r=this._private;return e===void 0?r.progress*r.duration:this.progress(e/r.duration)},progress:function(e){var r=this._private,a=r.playing;return e===void 0?r.progress:(a&&this.pause(),r.progress=e,r.started=!1,a&&this.play(),this)},completed:function(){return this._private.progress===1},reverse:function(){var e=this._private,r=e.playing;r&&this.pause(),e.progress=1-e.progress,e.started=!1;var a=function(l,v){var f=e[l];f!=null&&(e[l]=e[v],e[v]=f)};if(a("zoom","startZoom"),a("pan","startPan"),a("position","startPosition"),e.style)for(var n=0;n<e.style.length;n++){var i=e.style[n],o=i.name,s=e.startStyle[o];e.startStyle[o]=i,e.style[n]=s}return r&&this.play(),this},promise:function(e){var r=this._private,a;switch(e){case"frame":a=r.frames;break;default:case"complete":case"completed":a=r.completes}return new ia(function(n,i){a.push(function(){n()})})}}),Gr.complete=Gr.completed,Gr.run=Gr.play,Gr.running=Gr.playing;var Mf={animated:function(){return function(){var r=this,a=r.length!==void 0,n=a?r:[r],i=this._private.cy||this;if(!i.styleEnabled())return!1;var o=n[0];if(o)return o._private.animation.current.length>0}},clearQueue:function(){return function(){var r=this,a=r.length!==void 0,n=a?r:[r],i=this._private.cy||this;if(!i.styleEnabled())return this;for(var o=0;o<n.length;o++){var s=n[o];s._private.animation.queue=[]}return this}},delay:function(){return function(r,a){var n=this._private.cy||this;return n.styleEnabled()?this.animate({delay:r,duration:r,complete:a}):this}},delayAnimation:function(){return function(r,a){var n=this._private.cy||this;return n.styleEnabled()?this.animation({delay:r,duration:r,complete:a}):this}},animation:function(){return function(r,a){var n=this,i=n.length!==void 0,o=i?n:[n],s=this._private.cy||this,u=!i,l=!u;if(!s.styleEnabled())return this;var v=s.style();r=Ue({},r,a);var f=Object.keys(r).length===0;if(f)return new yi(o[0],r);switch(r.duration===void 0&&(r.duration=400),r.duration){case"slow":r.duration=600;break;case"fast":r.duration=200;break}if(l&&(r.style=v.getPropsList(r.style||r.css),r.css=void 0),l&&r.renderedPosition!=null){var h=r.renderedPosition,c=s.pan(),d=s.zoom();r.position=mo(h,d,c)}if(u&&r.panBy!=null){var g=r.panBy,y=s.pan();r.pan={x:y.x+g.x,y:y.y+g.y}}var p=r.center||r.centre;if(u&&p!=null){var m=s.getCenterPan(p.eles,r.zoom);m!=null&&(r.pan=m)}if(u&&r.fit!=null){var b=r.fit,E=s.getFitViewport(b.eles||b.boundingBox,b.padding);E!=null&&(r.pan=E.pan,r.zoom=E.zoom)}if(u&&L(r.zoom)){var M=s.getZoomedViewport(r.zoom);M!=null?(M.zoomed&&(r.zoom=M.zoom),M.panned&&(r.pan=M.pan)):r.zoom=null}return new yi(o[0],r)}},animate:function(){return function(r,a){var n=this,i=n.length!==void 0,o=i?n:[n],s=this._private.cy||this;if(!s.styleEnabled())return this;a&&(r=Ue({},r,a));for(var u=0;u<o.length;u++){var l=o[u],v=l.animated()&&(r.queue===void 0||r.queue),f=l.animation(r,v?{queue:!0}:void 0);f.play()}return this}},stop:function(){return function(r,a){var n=this,i=n.length!==void 0,o=i?n:[n],s=this._private.cy||this;if(!s.styleEnabled())return this;for(var u=0;u<o.length;u++){for(var l=o[u],v=l._private,f=v.animation.current,h=0;h<f.length;h++){var c=f[h],d=c._private;a&&(d.duration=0)}r&&(v.animation.queue=[]),a||(v.animation.current=[])}return s.notify("draw"),this}}},If=Array.isArray,Tn=If,Rf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kf=/^\w*$/;function Pf(t,e){if(Tn(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Aa(t)?!0:kf.test(t)||!Rf.test(t)||e!=null&&t in Object(e)}var Bf=Pf,Ff="[object AsyncFunction]",Gf="[object Function]",zf="[object GeneratorFunction]",$f="[object Proxy]";function Vf(t){if(!Rr(t))return!1;var e=ao(t);return e==Gf||e==zf||e==Ff||e==$f}var _f=Vf,Uf=ln["__core-js_shared__"],mi=Uf,Qo=function(){var t=/[^.]+$/.exec(mi&&mi.keys&&mi.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Yf(t){return!!Qo&&Qo in t}var Hf=Yf,Xf=Function.prototype,Wf=Xf.toString;function qf(t){if(t!=null){try{return Wf.call(t)}catch{}try{return t+""}catch{}}return""}var Kf=qf,Zf=/[\\^$.*+?()[\]{}|]/g,Qf=/^\[object .+?Constructor\]$/,Jf=Function.prototype,jf=Object.prototype,eh=Jf.toString,th=jf.hasOwnProperty,rh=RegExp("^"+eh.call(th).replace(Zf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ah(t){if(!Rr(t)||Hf(t))return!1;var e=_f(t)?rh:Qf;return e.test(Kf(t))}var nh=ah;function ih(t,e){return t==null?void 0:t[e]}var oh=ih;function sh(t,e){var r=oh(t,e);return nh(r)?r:void 0}var bi=sh,lh=bi(Object,"create"),za=lh;function uh(){this.__data__=za?za(null):{},this.size=0}var vh=uh;function fh(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var hh=fh,ch="__lodash_hash_undefined__",dh=Object.prototype,gh=dh.hasOwnProperty;function ph(t){var e=this.__data__;if(za){var r=e[t];return r===ch?void 0:r}return gh.call(e,t)?e[t]:void 0}var yh=ph,mh=Object.prototype,bh=mh.hasOwnProperty;function Eh(t){var e=this.__data__;return za?e[t]!==void 0:bh.call(e,t)}var wh=Eh,xh="__lodash_hash_undefined__";function Th(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=za&&e===void 0?xh:e,this}var Ch=Th;function oa(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}oa.prototype.clear=vh,oa.prototype.delete=hh,oa.prototype.get=yh,oa.prototype.has=wh,oa.prototype.set=Ch;var Jo=oa;function Dh(){this.__data__=[],this.size=0}var Sh=Dh;function Lh(t,e){return t===e||t!==t&&e!==e}var jo=Lh;function Ah(t,e){for(var r=t.length;r--;)if(jo(t[r][0],e))return r;return-1}var Cn=Ah,Oh=Array.prototype,Nh=Oh.splice;function Mh(t){var e=this.__data__,r=Cn(e,t);if(r<0)return!1;var a=e.length-1;return r==a?e.pop():Nh.call(e,r,1),--this.size,!0}var Ih=Mh;function Rh(t){var e=this.__data__,r=Cn(e,t);return r<0?void 0:e[r][1]}var kh=Rh;function Ph(t){return Cn(this.__data__,t)>-1}var Bh=Ph;function Fh(t,e){var r=this.__data__,a=Cn(r,t);return a<0?(++this.size,r.push([t,e])):r[a][1]=e,this}var Gh=Fh;function sa(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}sa.prototype.clear=Sh,sa.prototype.delete=Ih,sa.prototype.get=kh,sa.prototype.has=Bh,sa.prototype.set=Gh;var zh=sa,$h=bi(ln,"Map"),Vh=$h;function _h(){this.size=0,this.__data__={hash:new Jo,map:new(Vh||zh),string:new Jo}}var Uh=_h;function Yh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Hh=Yh;function Xh(t,e){var r=t.__data__;return Hh(e)?r[typeof e=="string"?"string":"hash"]:r.map}var Dn=Xh;function Wh(t){var e=Dn(this,t).delete(t);return this.size-=e?1:0,e}var qh=Wh;function Kh(t){return Dn(this,t).get(t)}var Zh=Kh;function Qh(t){return Dn(this,t).has(t)}var Jh=Qh;function jh(t,e){var r=Dn(this,t),a=r.size;return r.set(t,e),this.size+=r.size==a?0:1,this}var ec=jh;function la(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}la.prototype.clear=Uh,la.prototype.delete=qh,la.prototype.get=Zh,la.prototype.has=Jh,la.prototype.set=ec;var es=la,tc="Expected a function";function Ei(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(tc);var r=function(){var a=arguments,n=e?e.apply(this,a):a[0],i=r.cache;if(i.has(n))return i.get(n);var o=t.apply(this,a);return r.cache=i.set(n,o)||i,o};return r.cache=new(Ei.Cache||es),r}Ei.Cache=es;var rc=Ei,ac=500;function nc(t){var e=rc(t,function(a){return r.size===ac&&r.clear(),a}),r=e.cache;return e}var ic=nc,oc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sc=/\\(\\)?/g,lc=ic(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(oc,function(r,a,n,i){e.push(n?i.replace(sc,"$1"):a||r)}),e}),ts=lc;function uc(t,e){for(var r=-1,a=t==null?0:t.length,n=Array(a);++r<a;)n[r]=e(t[r],r,t);return n}var rs=uc,vc=1/0,as=Zr?Zr.prototype:void 0,ns=as?as.toString:void 0;function is(t){if(typeof t=="string")return t;if(Tn(t))return rs(t,is)+"";if(Aa(t))return ns?ns.call(t):"";var e=t+"";return e=="0"&&1/t==-vc?"-0":e}var fc=is;function hc(t){return t==null?"":fc(t)}var os=hc;function cc(t,e){return Tn(t)?t:Bf(t,e)?[t]:ts(os(t))}var ss=cc,dc=1/0;function gc(t){if(typeof t=="string"||Aa(t))return t;var e=t+"";return e=="0"&&1/t==-dc?"-0":e}var wi=gc;function pc(t,e){e=ss(e,t);for(var r=0,a=e.length;t!=null&&r<a;)t=t[wi(e[r++])];return r&&r==a?t:void 0}var yc=pc;function mc(t,e,r){var a=t==null?void 0:yc(t,e);return a===void 0?r:a}var bc=mc,Ec=function(){try{var t=bi(Object,"defineProperty");return t({},"",{}),t}catch{}}(),ls=Ec;function wc(t,e,r){e=="__proto__"&&ls?ls(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var xc=wc,Tc=Object.prototype,Cc=Tc.hasOwnProperty;function Dc(t,e,r){var a=t[e];(!(Cc.call(t,e)&&jo(a,r))||r===void 0&&!(e in t))&&xc(t,e,r)}var Sc=Dc,Lc=9007199254740991,Ac=/^(?:0|[1-9]\d*)$/;function Oc(t,e){var r=typeof t;return e=e??Lc,!!e&&(r=="number"||r!="symbol"&&Ac.test(t))&&t>-1&&t%1==0&&t<e}var Nc=Oc;function Mc(t,e,r,a){if(!Rr(t))return t;e=ss(e,t);for(var n=-1,i=e.length,o=i-1,s=t;s!=null&&++n<i;){var u=wi(e[n]),l=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return t;if(n!=o){var v=s[u];l=a?a(v,u,s):void 0,l===void 0&&(l=Rr(v)?v:Nc(e[n+1])?[]:{})}Sc(s,u,l),s=s[u]}return t}var Ic=Mc;function Rc(t,e,r){return t==null?t:Ic(t,e,r)}var kc=Rc;function Pc(t,e){var r=-1,a=t.length;for(e||(e=Array(a));++r<a;)e[r]=t[r];return e}var Bc=Pc;function Fc(t){return Tn(t)?rs(t,wi):Aa(t)?[t]:Bc(ts(os(t)))}var Gc=Fc,zc={data:function(e){var r={field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(n){},beforeSet:function(n,i){},onSet:function(n){},canSet:function(n){return!0}};return e=Ue({},r,e),function(n,i){var o=e,s=this,u=s.length!==void 0,l=u?s:[s],v=u?s[0]:s;if(j(n)){var f=n.indexOf(".")!==-1,h=f&&Gc(n);if(o.allowGetting&&i===void 0){var c;return v&&(o.beforeGet(v),h&&v._private[o.field][n]===void 0?c=bc(v._private[o.field],h):c=v._private[o.field][n]),c}else if(o.allowSetting&&i!==void 0){var d=!o.immutableKeys[n];if(d){var g=T({},n,i);o.beforeSet(s,g);for(var y=0,p=l.length;y<p;y++){var m=l[y];o.canSet(m)&&(h&&v._private[o.field][n]===void 0?kc(m._private[o.field],h,i):m._private[o.field][n]=i)}o.updateStyle&&s.updateStyle(),o.onSet(s),o.settingTriggersEvent&&s[o.triggerFnName](o.settingEvent)}}}else if(o.allowSetting&&L(n)){var b=n,E,M,A=Object.keys(b);o.beforeSet(s,b);for(var w=0;w<A.length;w++){E=A[w],M=b[E];var I=!o.immutableKeys[E];if(I)for(var C=0;C<l.length;C++){var B=l[C];o.canSet(B)&&(B._private[o.field][E]=M)}}o.updateStyle&&s.updateStyle(),o.onSet(s),o.settingTriggersEvent&&s[o.triggerFnName](o.settingEvent)}else if(o.allowBinding&&Y(n)){var F=n;s.on(o.bindingEvent,F)}else if(o.allowGetting&&n===void 0){var R;return v&&(o.beforeGet(v),R=v._private[o.field]),R}return s}},removeData:function(e){var r={field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}};return e=Ue({},r,e),function(n){var i=e,o=this,s=o.length!==void 0,u=s?o:[o];if(j(n)){for(var l=n.split(/\s+/),v=l.length,f=0;f<v;f++){var h=l[f];if(!Pe(h)){var c=!i.immutableKeys[h];if(c)for(var d=0,g=u.length;d<g;d++)u[d]._private[i.field][h]=void 0}}i.triggerEvent&&o[i.triggerFnName](i.event)}else if(n===void 0){for(var y=0,p=u.length;y<p;y++)for(var m=u[y]._private[i.field],b=Object.keys(m),E=0;E<b.length;E++){var M=b[E],A=!i.immutableKeys[M];A&&(m[M]=void 0)}i.triggerEvent&&o[i.triggerFnName](i.event)}return o}}},$c={eventAliasesOn:function(e){var r=e;r.addListener=r.listen=r.bind=r.on,r.unlisten=r.unbind=r.off=r.removeListener,r.trigger=r.emit,r.pon=r.promiseOn=function(a,n){var i=this,o=Array.prototype.slice.call(arguments,0);return new ia(function(s,u){var l=function(c){i.off.apply(i,f),s(c)},v=o.concat([l]),f=v.concat([]);i.on.apply(i,v)})}}},ft={};[Mf,zc,$c].forEach(function(t){Ue(ft,t)});var Vc={animate:ft.animate(),animation:ft.animation(),animated:ft.animated(),clearQueue:ft.clearQueue(),delay:ft.delay(),delayAnimation:ft.delayAnimation(),stop:ft.stop()},Sn={classes:function(e){var r=this;if(e===void 0){var a=[];return r[0]._private.classes.forEach(function(d){return a.push(d)}),a}else te(e)||(e=(e||"").match(/\S+/g)||[]);for(var n=[],i=new Jr(e),o=0;o<r.length;o++){for(var s=r[o],u=s._private,l=u.classes,v=!1,f=0;f<e.length;f++){var h=e[f],c=l.has(h);if(!c){v=!0;break}}v||(v=l.size!==e.length),v&&(u.classes=i,n.push(s))}return n.length>0&&this.spawn(n).updateStyle().emit("class"),r},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var r=this[0];return r!=null&&r._private.classes.has(e)},toggleClass:function(e,r){te(e)||(e=e.match(/\S+/g)||[]);for(var a=this,n=r===void 0,i=[],o=0,s=a.length;o<s;o++)for(var u=a[o],l=u._private.classes,v=!1,f=0;f<e.length;f++){var h=e[f],c=l.has(h),d=!1;r||n&&!c?(l.add(h),d=!0):(!r||n&&c)&&(l.delete(h),d=!0),!v&&d&&(i.push(u),v=!0)}return i.length>0&&this.spawn(i).updateStyle().emit("class"),a},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,r){var a=this;if(r==null)r=250;else if(r===0)return a;return a.addClass(e),setTimeout(function(){a.removeClass(e)},r),a}};Sn.className=Sn.classNames=Sn.classes;var it={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:ct,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};it.variable="(?:[\\w-.]|(?:\\\\"+it.metaChar+"))+",it.className="(?:[\\w-]|(?:\\\\"+it.metaChar+"))+",it.value=it.string+"|"+it.number,it.id=it.variable,function(){var t,e,r;for(t=it.comparatorOp.split("|"),r=0;r<t.length;r++)e=t[r],it.comparatorOp+="|@"+e;for(t=it.comparatorOp.split("|"),r=0;r<t.length;r++)e=t[r],!(e.indexOf("!")>=0)&&e!=="="&&(it.comparatorOp+="|\\!"+e)}();var gt=function(){return{checks:[]}},Be={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},xi=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(t,e){return Jl(t.selector,e.selector)}),_c=function(){for(var t={},e,r=0;r<xi.length;r++)e=xi[r],t[e.selector]=e.matches;return t}(),Uc=function(e,r){return _c[e](r)},Yc="("+xi.map(function(t){return t.selector}).join("|")+")",ua=function(e){return e.replace(new RegExp("\\\\("+it.metaChar+")","g"),function(r,a){return a})},Cr=function(e,r,a){e[e.length-1]=a},Ti=[{name:"group",query:!0,regex:"("+it.group+")",populate:function(e,r,a){var n=x(a,1),i=n[0];r.checks.push({type:Be.GROUP,value:i==="*"?i:i+"s"})}},{name:"state",query:!0,regex:Yc,populate:function(e,r,a){var n=x(a,1),i=n[0];r.checks.push({type:Be.STATE,value:i})}},{name:"id",query:!0,regex:"\\#("+it.id+")",populate:function(e,r,a){var n=x(a,1),i=n[0];r.checks.push({type:Be.ID,value:ua(i)})}},{name:"className",query:!0,regex:"\\.("+it.className+")",populate:function(e,r,a){var n=x(a,1),i=n[0];r.checks.push({type:Be.CLASS,value:ua(i)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+it.variable+")\\s*\\]",populate:function(e,r,a){var n=x(a,1),i=n[0];r.checks.push({type:Be.DATA_EXIST,field:ua(i)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+it.variable+")\\s*("+it.comparatorOp+")\\s*("+it.value+")\\s*\\]",populate:function(e,r,a){var n=x(a,3),i=n[0],o=n[1],s=n[2],u=new RegExp("^"+it.string+"$").exec(s)!=null;u?s=s.substring(1,s.length-1):s=parseFloat(s),r.checks.push({type:Be.DATA_COMPARE,field:ua(i),operator:o,value:s})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+it.boolOp+")\\s*("+it.variable+")\\s*\\]",populate:function(e,r,a){var n=x(a,2),i=n[0],o=n[1];r.checks.push({type:Be.DATA_BOOL,field:ua(o),operator:i})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+it.meta+")\\s*("+it.comparatorOp+")\\s*("+it.number+")\\s*\\]\\]",populate:function(e,r,a){var n=x(a,3),i=n[0],o=n[1],s=n[2];r.checks.push({type:Be.META_COMPARE,field:ua(i),operator:o,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:it.separator,populate:function(e,r){var a=e.currentSubject,n=e.edgeCount,i=e.compoundCount,o=e[e.length-1];a!=null&&(o.subject=a,e.currentSubject=null),o.edgeCount=n,o.compoundCount=i,e.edgeCount=0,e.compoundCount=0;var s=e[e.length++]=gt();return s}},{name:"directedEdge",separator:!0,regex:it.directedEdge,populate:function(e,r){if(e.currentSubject==null){var a=gt(),n=r,i=gt();return a.checks.push({type:Be.DIRECTED_EDGE,source:n,target:i}),Cr(e,r,a),e.edgeCount++,i}else{var o=gt(),s=r,u=gt();return o.checks.push({type:Be.NODE_SOURCE,source:s,target:u}),Cr(e,r,o),e.edgeCount++,u}}},{name:"undirectedEdge",separator:!0,regex:it.undirectedEdge,populate:function(e,r){if(e.currentSubject==null){var a=gt(),n=r,i=gt();return a.checks.push({type:Be.UNDIRECTED_EDGE,nodes:[n,i]}),Cr(e,r,a),e.edgeCount++,i}else{var o=gt(),s=r,u=gt();return o.checks.push({type:Be.NODE_NEIGHBOR,node:s,neighbor:u}),Cr(e,r,o),u}}},{name:"child",separator:!0,regex:it.child,populate:function(e,r){if(e.currentSubject==null){var a=gt(),n=gt(),i=e[e.length-1];return a.checks.push({type:Be.CHILD,parent:i,child:n}),Cr(e,r,a),e.compoundCount++,n}else if(e.currentSubject===r){var o=gt(),s=e[e.length-1],u=gt(),l=gt(),v=gt(),f=gt();return o.checks.push({type:Be.COMPOUND_SPLIT,left:s,right:u,subject:l}),l.checks=r.checks,r.checks=[{type:Be.TRUE}],f.checks.push({type:Be.TRUE}),u.checks.push({type:Be.PARENT,parent:f,child:v}),Cr(e,s,o),e.currentSubject=l,e.compoundCount++,v}else{var h=gt(),c=gt(),d=[{type:Be.PARENT,parent:h,child:c}];return h.checks=r.checks,r.checks=d,e.compoundCount++,c}}},{name:"descendant",separator:!0,regex:it.descendant,populate:function(e,r){if(e.currentSubject==null){var a=gt(),n=gt(),i=e[e.length-1];return a.checks.push({type:Be.DESCENDANT,ancestor:i,descendant:n}),Cr(e,r,a),e.compoundCount++,n}else if(e.currentSubject===r){var o=gt(),s=e[e.length-1],u=gt(),l=gt(),v=gt(),f=gt();return o.checks.push({type:Be.COMPOUND_SPLIT,left:s,right:u,subject:l}),l.checks=r.checks,r.checks=[{type:Be.TRUE}],f.checks.push({type:Be.TRUE}),u.checks.push({type:Be.ANCESTOR,ancestor:f,descendant:v}),Cr(e,s,o),e.currentSubject=l,e.compoundCount++,v}else{var h=gt(),c=gt(),d=[{type:Be.ANCESTOR,ancestor:h,descendant:c}];return h.checks=r.checks,r.checks=d,e.compoundCount++,c}}},{name:"subject",modifier:!0,regex:it.subject,populate:function(e,r){if(e.currentSubject!=null&&e.currentSubject!==r)return vt("Redefinition of subject in selector `"+e.toString()+"`"),!1;e.currentSubject=r;var a=e[e.length-1],n=a.checks[0],i=n==null?null:n.type;i===Be.DIRECTED_EDGE?n.type=Be.NODE_TARGET:i===Be.UNDIRECTED_EDGE&&(n.type=Be.NODE_NEIGHBOR,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null)}}];Ti.forEach(function(t){return t.regexObj=new RegExp("^"+t.regex)});var Hc=function(e){for(var r,a,n,i=0;i<Ti.length;i++){var o=Ti[i],s=o.name,u=e.match(o.regexObj);if(u!=null){a=u,r=o,n=s;var l=u[0];e=e.substring(l.length);break}}return{expr:r,match:a,name:n,remaining:e}},Xc=function(e){var r=e.match(/^\s+/);if(r){var a=r[0];e=e.substring(a.length)}return e},Wc=function(e){var r=this,a=r.inputText=e,n=r[0]=gt();for(r.length=1,a=Xc(a);;){var i=Hc(a);if(i.expr==null)return vt("The selector `"+e+"`is invalid"),!1;var o=i.match.slice(1),s=i.expr.populate(r,n,o);if(s===!1)return!1;if(s!=null&&(n=s),a=i.remaining,a.match(/^\s*$/))break}var u=r[r.length-1];r.currentSubject!=null&&(u.subject=r.currentSubject),u.edgeCount=r.edgeCount,u.compoundCount=r.compoundCount;for(var l=0;l<r.length;l++){var v=r[l];if(v.compoundCount>0&&v.edgeCount>0)return vt("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(v.edgeCount>1)return vt("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;v.edgeCount===1&&vt("The selector `"+e+"` 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},qc=function(){if(this.toStringCache!=null)return this.toStringCache;for(var e=function(v){return v??""},r=function(v){return j(v)?'"'+v+'"':e(v)},a=function(v){return" "+v+" "},n=function(v,f){var h=v.type,c=v.value;switch(h){case Be.GROUP:{var d=e(c);return d.substring(0,d.length-1)}case Be.DATA_COMPARE:{var g=v.field,y=v.operator;return"["+g+a(e(y))+r(c)+"]"}case Be.DATA_BOOL:{var p=v.operator,m=v.field;return"["+e(p)+m+"]"}case Be.DATA_EXIST:{var b=v.field;return"["+b+"]"}case Be.META_COMPARE:{var E=v.operator,M=v.field;return"[["+M+a(e(E))+r(c)+"]]"}case Be.STATE:return c;case Be.ID:return"#"+c;case Be.CLASS:return"."+c;case Be.PARENT:case Be.CHILD:return i(v.parent,f)+a(">")+i(v.child,f);case Be.ANCESTOR:case Be.DESCENDANT:return i(v.ancestor,f)+" "+i(v.descendant,f);case Be.COMPOUND_SPLIT:{var A=i(v.left,f),w=i(v.subject,f),I=i(v.right,f);return A+(A.length>0?" ":"")+w+I}case Be.TRUE:return""}},i=function(v,f){return v.checks.reduce(function(h,c,d){return h+(f===v&&d===0?"$":"")+n(c,f)},"")},o="",s=0;s<this.length;s++){var u=this[s];o+=i(u,u.subject),this.length>1&&s<this.length-1&&(o+=", ")}return this.toStringCache=o,o},Kc={parse:Wc,toString:qc},us=function(e,r,a){var n,i=j(e),o=k(e),s=j(a),u,l,v=!1,f=!1,h=!1;switch(r.indexOf("!")>=0&&(r=r.replace("!",""),f=!0),r.indexOf("@")>=0&&(r=r.replace("@",""),v=!0),(i||s||v)&&(u=!i&&!o?"":""+e,l=""+a),v&&(e=u=u.toLowerCase(),a=l=l.toLowerCase()),r){case"*=":n=u.indexOf(l)>=0;break;case"$=":n=u.indexOf(l,u.length-l.length)>=0;break;case"^=":n=u.indexOf(l)===0;break;case"=":n=e===a;break;case">":h=!0,n=e>a;break;case">=":h=!0,n=e>=a;break;case"<":h=!0,n=e<a;break;case"<=":h=!0,n=e<=a;break;default:n=!1;break}return f&&(e!=null||!h)&&(n=!n),n},Zc=function(e,r){switch(r){case"?":return!!e;case"!":return!e;case"^":return e===void 0}},Qc=function(e){return e!==void 0},Ci=function(e,r){return e.data(r)},Jc=function(e,r){return e[r]()},Tt=[],wt=function(e,r){return e.checks.every(function(a){return Tt[a.type](a,r)})};Tt[Be.GROUP]=function(t,e){var r=t.value;return r==="*"||r===e.group()},Tt[Be.STATE]=function(t,e){var r=t.value;return Uc(r,e)},Tt[Be.ID]=function(t,e){var r=t.value;return e.id()===r},Tt[Be.CLASS]=function(t,e){var r=t.value;return e.hasClass(r)},Tt[Be.META_COMPARE]=function(t,e){var r=t.field,a=t.operator,n=t.value;return us(Jc(e,r),a,n)},Tt[Be.DATA_COMPARE]=function(t,e){var r=t.field,a=t.operator,n=t.value;return us(Ci(e,r),a,n)},Tt[Be.DATA_BOOL]=function(t,e){var r=t.field,a=t.operator;return Zc(Ci(e,r),a)},Tt[Be.DATA_EXIST]=function(t,e){var r=t.field;return t.operator,Qc(Ci(e,r))},Tt[Be.UNDIRECTED_EDGE]=function(t,e){var r=t.nodes[0],a=t.nodes[1],n=e.source(),i=e.target();return wt(r,n)&&wt(a,i)||wt(a,n)&&wt(r,i)},Tt[Be.NODE_NEIGHBOR]=function(t,e){return wt(t.node,e)&&e.neighborhood().some(function(r){return r.isNode()&&wt(t.neighbor,r)})},Tt[Be.DIRECTED_EDGE]=function(t,e){return wt(t.source,e.source())&&wt(t.target,e.target())},Tt[Be.NODE_SOURCE]=function(t,e){return wt(t.source,e)&&e.outgoers().some(function(r){return r.isNode()&&wt(t.target,r)})},Tt[Be.NODE_TARGET]=function(t,e){return wt(t.target,e)&&e.incomers().some(function(r){return r.isNode()&&wt(t.source,r)})},Tt[Be.CHILD]=function(t,e){return wt(t.child,e)&&wt(t.parent,e.parent())},Tt[Be.PARENT]=function(t,e){return wt(t.parent,e)&&e.children().some(function(r){return wt(t.child,r)})},Tt[Be.DESCENDANT]=function(t,e){return wt(t.descendant,e)&&e.ancestors().some(function(r){return wt(t.ancestor,r)})},Tt[Be.ANCESTOR]=function(t,e){return wt(t.ancestor,e)&&e.descendants().some(function(r){return wt(t.descendant,r)})},Tt[Be.COMPOUND_SPLIT]=function(t,e){return wt(t.subject,e)&&wt(t.left,e)&&wt(t.right,e)},Tt[Be.TRUE]=function(){return!0},Tt[Be.COLLECTION]=function(t,e){var r=t.value;return r.has(e)},Tt[Be.FILTER]=function(t,e){var r=t.value;return r(e)};var jc=function(e){var r=this;if(r.length===1&&r[0].checks.length===1&&r[0].checks[0].type===Be.ID)return e.getElementById(r[0].checks[0].value).collection();var a=function(i){for(var o=0;o<r.length;o++){var s=r[o];if(wt(s,i))return!0}return!1};return r.text()==null&&(a=function(){return!0}),e.filter(a)},ed=function(e){for(var r=this,a=0;a<r.length;a++){var n=r[a];if(wt(n,e))return!0}return!1},td={matches:ed,filter:jc},Dr=function(e){this.inputText=e,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,e==null||j(e)&&e.match(/^\s*$/)||(ge(e)?this.addQuery({checks:[{type:Be.COLLECTION,value:e.collection()}]}):Y(e)?this.addQuery({checks:[{type:Be.FILTER,value:e}]}):j(e)?this.parse(e)||(this.invalid=!0):xt("A selector must be created from a string; found "))},Sr=Dr.prototype;[Kc,td].forEach(function(t){return Ue(Sr,t)}),Sr.text=function(){return this.inputText},Sr.size=function(){return this.length},Sr.eq=function(t){return this[t]},Sr.sameText=function(t){return!this.invalid&&!t.invalid&&this.text()===t.text()},Sr.addQuery=function(t){this[this.length++]=t},Sr.selector=Sr.toString;var Lr={allAre:function(e){var r=new Dr(e);return this.every(function(a){return r.matches(a)})},is:function(e){var r=new Dr(e);return this.some(function(a){return r.matches(a)})},some:function(e,r){for(var a=0;a<this.length;a++){var n=r?e.apply(r,[this[a],a,this]):e(this[a],a,this);if(n)return!0}return!1},every:function(e,r){for(var a=0;a<this.length;a++){var n=r?e.apply(r,[this[a],a,this]):e(this[a],a,this);if(!n)return!1}return!0},same:function(e){if(this===e)return!0;e=this.cy().collection(e);var r=this.length,a=e.length;return r!==a?!1:r===1?this[0]===e[0]:this.every(function(n){return e.hasElementWithId(n.id())})},anySame:function(e){return e=this.cy().collection(e),this.some(function(r){return e.hasElementWithId(r.id())})},allAreNeighbors:function(e){e=this.cy().collection(e);var r=this.neighborhood();return e.every(function(a){return r.hasElementWithId(a.id())})},contains:function(e){e=this.cy().collection(e);var r=this;return e.every(function(a){return r.hasElementWithId(a.id())})}};Lr.allAreNeighbours=Lr.allAreNeighbors,Lr.has=Lr.contains,Lr.equal=Lr.equals=Lr.same;var Kt=function(e,r){return function(n,i,o,s){var u=n,l=this,v;if(u==null?v="":ge(u)&&u.length===1&&(v=u.id()),l.length===1&&v){var f=l[0]._private,h=f.traversalCache=f.traversalCache||{},c=h[r]=h[r]||[],d=kr(v),g=c[d];return g||(c[d]=e.call(l,n,i,o,s))}else return e.call(l,n,i,o,s)}},va={parent:function(e){var r=[];if(this.length===1){var a=this[0]._private.parent;if(a)return a}for(var n=0;n<this.length;n++){var i=this[n],o=i._private.parent;o&&r.push(o)}return this.spawn(r,!0).filter(e)},parents:function(e){for(var r=[],a=this.parent();a.nonempty();){for(var n=0;n<a.length;n++){var i=a[n];r.push(i)}a=a.parent()}return this.spawn(r,!0).filter(e)},commonAncestors:function(e){for(var r,a=0;a<this.length;a++){var n=this[a],i=n.parents();r=r||i,r=r.intersect(i)}return r.filter(e)},orphans:function(e){return this.stdFilter(function(r){return r.isOrphan()}).filter(e)},nonorphans:function(e){return this.stdFilter(function(r){return r.isChild()}).filter(e)},children:Kt(function(t){for(var e=[],r=0;r<this.length;r++)for(var a=this[r],n=a._private.children,i=0;i<n.length;i++)e.push(n[i]);return this.spawn(e,!0).filter(t)},"children"),siblings:function(e){return this.parent().children().not(this).filter(e)},isParent:function(){var e=this[0];if(e)return e.isNode()&&e._private.children.length!==0},isChildless:function(){var e=this[0];if(e)return e.isNode()&&e._private.children.length===0},isChild:function(){var e=this[0];if(e)return e.isNode()&&e._private.parent!=null},isOrphan:function(){var e=this[0];if(e)return e.isNode()&&e._private.parent==null},descendants:function(e){var r=[];function a(n){for(var i=0;i<n.length;i++){var o=n[i];r.push(o),o.children().nonempty()&&a(o.children())}}return a(this.children()),this.spawn(r,!0).filter(e)}};function Di(t,e,r,a){for(var n=[],i=new Jr,o=t.cy(),s=o.hasCompoundNodes(),u=0;u<t.length;u++){var l=t[u];r?n.push(l):s&&a(n,i,l)}for(;n.length>0;){var v=n.shift();e(v),i.add(v.id()),s&&a(n,i,v)}return t}function vs(t,e,r){if(r.isParent())for(var a=r._private.children,n=0;n<a.length;n++){var i=a[n];e.has(i.id())||t.push(i)}}va.forEachDown=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Di(this,t,e,vs)};function fs(t,e,r){if(r.isChild()){var a=r._private.parent;e.has(a.id())||t.push(a)}}va.forEachUp=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Di(this,t,e,fs)};function rd(t,e,r){fs(t,e,r),vs(t,e,r)}va.forEachUpAndDown=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Di(this,t,e,rd)},va.ancestors=va.parents;var $a,hs;$a=hs={data:ft.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:ft.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:ft.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ft.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:ft.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:ft.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}},$a.attr=$a.data,$a.removeAttr=$a.removeData;var ad=hs,Ln={};function Si(t){return function(e){var r=this;if(e===void 0&&(e=!0),r.length!==0)if(r.isNode()&&!r.removed()){for(var a=0,n=r[0],i=n._private.edges,o=0;o<i.length;o++){var s=i[o];!e&&s.isLoop()||(a+=t(n,s))}return a}else return}}Ue(Ln,{degree:Si(function(t,e){return e.source().same(e.target())?2:1}),indegree:Si(function(t,e){return e.target().same(t)?1:0}),outdegree:Si(function(t,e){return e.source().same(t)?1:0})});function fa(t,e){return function(r){for(var a,n=this.nodes(),i=0;i<n.length;i++){var o=n[i],s=o[t](r);s!==void 0&&(a===void 0||e(s,a))&&(a=s)}return a}}Ue(Ln,{minDegree:fa("degree",function(t,e){return t<e}),maxDegree:fa("degree",function(t,e){return t>e}),minIndegree:fa("indegree",function(t,e){return t<e}),maxIndegree:fa("indegree",function(t,e){return t>e}),minOutdegree:fa("outdegree",function(t,e){return t<e}),maxOutdegree:fa("outdegree",function(t,e){return t>e})}),Ue(Ln,{totalDegree:function(e){for(var r=0,a=this.nodes(),n=0;n<a.length;n++)r+=a[n].degree(e);return r}});var tr,cs,ds=function(e,r,a){for(var n=0;n<e.length;n++){var i=e[n];if(!i.locked()){var o=i._private.position,s={x:r.x!=null?r.x-o.x:0,y:r.y!=null?r.y-o.y:0};i.isParent()&&!(s.x===0&&s.y===0)&&i.children().shift(s,a),i.dirtyBoundingBoxCache()}}},gs={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(e){e.updateCompoundBounds()},beforeSet:function(e,r){ds(e,r,!1)},onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}};tr=cs={position:ft.data(gs),silentPosition:ft.data(Ue({},gs,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(e,r){ds(e,r,!0)},onSet:function(e){e.dirtyCompoundBoundsCache()}})),positions:function(e,r){if(L(e))r?this.silentPosition(e):this.position(e);else if(Y(e)){var a=e,n=this.cy();n.startBatch();for(var i=0;i<this.length;i++){var o=this[i],s=void 0;(s=a(o,i))&&(r?o.silentPosition(s):o.position(s))}n.endBatch()}return this},silentPositions:function(e){return this.positions(e,!0)},shift:function(e,r,a){var n;if(L(e)?(n={x:k(e.x)?e.x:0,y:k(e.y)?e.y:0},a=r):j(e)&&k(r)&&(n={x:0,y:0},n[e]=r),n!=null){var i=this.cy();i.startBatch();for(var o=0;o<this.length;o++){var s=this[o];if(!(i.hasCompoundNodes()&&s.isChild()&&s.ancestors().anySame(this))){var u=s.position(),l={x:u.x+n.x,y:u.y+n.y};a?s.silentPosition(l):s.position(l)}}i.endBatch()}return this},silentShift:function(e,r){return L(e)?this.shift(e,!0):j(e)&&k(r)&&this.shift(e,r,!0),this},renderedPosition:function(e,r){var a=this[0],n=this.cy(),i=n.zoom(),o=n.pan(),s=L(e)?e:void 0,u=s!==void 0||r!==void 0&&j(e);if(a&&a.isNode())if(u)for(var l=0;l<this.length;l++){var v=this[l];r!==void 0?v.position(e,(r-o[e])/i):s!==void 0&&v.position(mo(s,i,o))}else{var f=a.position();return s=dn(f,i,o),e===void 0?s:s[e]}else if(!u)return;return this},relativePosition:function(e,r){var a=this[0],n=this.cy(),i=L(e)?e:void 0,o=i!==void 0||r!==void 0&&j(e),s=n.hasCompoundNodes();if(a&&a.isNode())if(o)for(var u=0;u<this.length;u++){var l=this[u],v=s?l.parent():null,f=v&&v.length>0,h=f;f&&(v=v[0]);var c=h?v.position():{x:0,y:0};r!==void 0?l.position(e,r+c[e]):i!==void 0&&l.position({x:i.x+c.x,y:i.y+c.y})}else{var d=a.position(),g=s?a.parent():null,y=g&&g.length>0,p=y;y&&(g=g[0]);var m=p?g.position():{x:0,y:0};return i={x:d.x-m.x,y:d.y-m.y},e===void 0?i:i[e]}else if(!o)return;return this}},tr.modelPosition=tr.point=tr.position,tr.modelPositions=tr.points=tr.positions,tr.renderedPoint=tr.renderedPosition,tr.relativePoint=tr.relativePosition;var nd=cs,ha,Ar;ha=Ar={},Ar.renderedBoundingBox=function(t){var e=this.boundingBox(t),r=this.cy(),a=r.zoom(),n=r.pan(),i=e.x1*a+n.x,o=e.x2*a+n.x,s=e.y1*a+n.y,u=e.y2*a+n.y;return{x1:i,x2:o,y1:s,y2:u,w:o-i,h:u-s}},Ar.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();return!e.styleEnabled()||!e.hasCompoundNodes()?this:(this.forEachUp(function(r){if(r.isParent()){var a=r._private;a.compoundBoundsClean=!1,a.bbCache=null,t||r.emitAndNotify("bounds")}}),this)},Ar.updateCompoundBounds=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function r(o){if(!o.isParent())return;var s=o._private,u=o.children(),l=o.pstyle("compound-sizing-wrt-labels").value==="include",v={width:{val:o.pstyle("min-width").pfValue,left:o.pstyle("min-width-bias-left"),right:o.pstyle("min-width-bias-right")},height:{val:o.pstyle("min-height").pfValue,top:o.pstyle("min-height-bias-top"),bottom:o.pstyle("min-height-bias-bottom")}},f=u.boundingBox({includeLabels:l,includeOverlays:!1,useCache:!1}),h=s.position;(f.w===0||f.h===0)&&(f={w:o.pstyle("width").pfValue,h:o.pstyle("height").pfValue},f.x1=h.x-f.w/2,f.x2=h.x+f.w/2,f.y1=h.y-f.h/2,f.y2=h.y+f.h/2);function c(C,B,F){var R=0,X=0,G=B+F;return C>0&&G>0&&(R=B/G*C,X=F/G*C),{biasDiff:R,biasComplementDiff:X}}function d(C,B,F,R){if(F.units==="%")switch(R){case"width":return C>0?F.pfValue*C:0;case"height":return B>0?F.pfValue*B:0;case"average":return C>0&&B>0?F.pfValue*(C+B)/2:0;case"min":return C>0&&B>0?C>B?F.pfValue*B:F.pfValue*C:0;case"max":return C>0&&B>0?C>B?F.pfValue*C:F.pfValue*B:0;default:return 0}else return F.units==="px"?F.pfValue:0}var g=v.width.left.value;v.width.left.units==="px"&&v.width.val>0&&(g=g*100/v.width.val);var y=v.width.right.value;v.width.right.units==="px"&&v.width.val>0&&(y=y*100/v.width.val);var p=v.height.top.value;v.height.top.units==="px"&&v.height.val>0&&(p=p*100/v.height.val);var m=v.height.bottom.value;v.height.bottom.units==="px"&&v.height.val>0&&(m=m*100/v.height.val);var b=c(v.width.val-f.w,g,y),E=b.biasDiff,M=b.biasComplementDiff,A=c(v.height.val-f.h,p,m),w=A.biasDiff,I=A.biasComplementDiff;s.autoPadding=d(f.w,f.h,o.pstyle("padding"),o.pstyle("padding-relative-to").value),s.autoWidth=Math.max(f.w,v.width.val),h.x=(-E+f.x1+f.x2+M)/2,s.autoHeight=Math.max(f.h,v.height.val),h.y=(-w+f.y1+f.y2+I)/2}for(var a=0;a<this.length;a++){var n=this[a],i=n._private;(!i.compoundBoundsClean||t)&&(r(n),e.batching()||(i.compoundBoundsClean=!0))}return this};var Zt=function(e){return e===1/0||e===-1/0?0:e},rr=function(e,r,a,n,i){n-r===0||i-a===0||r==null||a==null||n==null||i==null||(e.x1=r<e.x1?r:e.x1,e.x2=n>e.x2?n:e.x2,e.y1=a<e.y1?a:e.y1,e.y2=i>e.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},zr=function(e,r){return r==null?e:rr(e,r.x1,r.y1,r.x2,r.y2)},Va=function(e,r,a){return er(e,r,a)},An=function(e,r,a){if(!r.cy().headless()){var n=r._private,i=n.rstyle,o=i.arrowWidth/2,s=r.pstyle(a+"-arrow-shape").value,u,l;if(s!=="none"){a==="source"?(u=i.srcX,l=i.srcY):a==="target"?(u=i.tgtX,l=i.tgtY):(u=i.midX,l=i.midY);var v=n.arrowBounds=n.arrowBounds||{},f=v[a]=v[a]||{};f.x1=u-o,f.y1=l-o,f.x2=u+o,f.y2=l+o,f.w=f.x2-f.x1,f.h=f.y2-f.y1,pn(f,1),rr(e,f.x1,f.y1,f.x2,f.y2)}}},Li=function(e,r,a){if(!r.cy().headless()){var n;a?n=a+"-":n="";var i=r._private,o=i.rstyle,s=r.pstyle(n+"label").strValue;if(s){var u=r.pstyle("text-halign"),l=r.pstyle("text-valign"),v=Va(o,"labelWidth",a),f=Va(o,"labelHeight",a),h=Va(o,"labelX",a),c=Va(o,"labelY",a),d=r.pstyle(n+"text-margin-x").pfValue,g=r.pstyle(n+"text-margin-y").pfValue,y=r.isEdge(),p=r.pstyle(n+"text-rotation"),m=r.pstyle("text-outline-width").pfValue,b=r.pstyle("text-border-width").pfValue,E=b/2,M=r.pstyle("text-background-padding").pfValue,A=2,w=f,I=v,C=I/2,B=w/2,F,R,X,G;if(y)F=h-C,R=h+C,X=c-B,G=c+B;else{switch(u.value){case"left":F=h-I,R=h;break;case"center":F=h-C,R=h+C;break;case"right":F=h,R=h+I;break}switch(l.value){case"top":X=c-w,G=c;break;case"center":X=c-B,G=c+B;break;case"bottom":X=c,G=c+w;break}}F+=d-Math.max(m,E)-M-A,R+=d+Math.max(m,E)+M+A,X+=g-Math.max(m,E)-M-A,G+=g+Math.max(m,E)+M+A;var re=a||"main",q=i.labelBounds,Z=q[re]=q[re]||{};Z.x1=F,Z.y1=X,Z.x2=R,Z.y2=G,Z.w=R-F,Z.h=G-X;var ie=y&&p.strValue==="autorotate",se=p.pfValue!=null&&p.pfValue!==0;if(ie||se){var de=ie?Va(i.rstyle,"labelAngle",a):p.pfValue,oe=Math.cos(de),ce=Math.sin(de),we=(F+R)/2,Te=(X+G)/2;if(!y){switch(u.value){case"left":we=R;break;case"right":we=F;break}switch(l.value){case"top":Te=G;break;case"bottom":Te=X;break}}var Ee=function(We,Re){return We=We-we,Re=Re-Te,{x:We*oe-Re*ce+we,y:We*ce+Re*oe+Te}},ye=Ee(F,X),ae=Ee(F,G),xe=Ee(R,X),Ce=Ee(R,G);F=Math.min(ye.x,ae.x,xe.x,Ce.x),R=Math.max(ye.x,ae.x,xe.x,Ce.x),X=Math.min(ye.y,ae.y,xe.y,Ce.y),G=Math.max(ye.y,ae.y,xe.y,Ce.y)}var Oe=re+"Rot",Ie=q[Oe]=q[Oe]||{};Ie.x1=F,Ie.y1=X,Ie.x2=R,Ie.y2=G,Ie.w=R-F,Ie.h=G-X,rr(e,F,X,R,G),rr(i.labelBounds.all,F,X,R,G)}return e}},id=function(e,r){var a=e._private.cy,n=a.styleEnabled(),i=a.headless(),o=Ut(),s=e._private,u=e.isNode(),l=e.isEdge(),v,f,h,c,d,g,y=s.rstyle,p=u&&n?e.pstyle("bounds-expansion").pfValue:[0],m=function(Ve){return Ve.pstyle("display").value!=="none"},b=!n||m(e)&&(!l||m(e.source())&&m(e.target()));if(b){var E=0,M=0;n&&r.includeOverlays&&(E=e.pstyle("overlay-opacity").value,E!==0&&(M=e.pstyle("overlay-padding").value));var A=0,w=0;n&&r.includeUnderlays&&(A=e.pstyle("underlay-opacity").value,A!==0&&(w=e.pstyle("underlay-padding").value));var I=Math.max(M,w),C=0,B=0;if(n&&(C=e.pstyle("width").pfValue,B=C/2),u&&r.includeNodes){var F=e.position();d=F.x,g=F.y;var R=e.outerWidth(),X=R/2,G=e.outerHeight(),re=G/2;v=d-X,f=d+X,h=g-re,c=g+re,rr(o,v,h,f,c)}else if(l&&r.includeEdges)if(n&&!i){var q=e.pstyle("curve-style").strValue;if(v=Math.min(y.srcX,y.midX,y.tgtX),f=Math.max(y.srcX,y.midX,y.tgtX),h=Math.min(y.srcY,y.midY,y.tgtY),c=Math.max(y.srcY,y.midY,y.tgtY),v-=B,f+=B,h-=B,c+=B,rr(o,v,h,f,c),q==="haystack"){var Z=y.haystackPts;if(Z&&Z.length===2){if(v=Z[0].x,h=Z[0].y,f=Z[1].x,c=Z[1].y,v>f){var ie=v;v=f,f=ie}if(h>c){var se=h;h=c,c=se}rr(o,v-B,h-B,f+B,c+B)}}else if(q==="bezier"||q==="unbundled-bezier"||q==="segments"||q==="taxi"){var de;switch(q){case"bezier":case"unbundled-bezier":de=y.bezierPts;break;case"segments":case"taxi":de=y.linePts;break}if(de!=null)for(var oe=0;oe<de.length;oe++){var ce=de[oe];v=ce.x-B,f=ce.x+B,h=ce.y-B,c=ce.y+B,rr(o,v,h,f,c)}}}else{var we=e.source(),Te=we.position(),Ee=e.target(),ye=Ee.position();if(v=Te.x,f=ye.x,h=Te.y,c=ye.y,v>f){var ae=v;v=f,f=ae}if(h>c){var xe=h;h=c,c=xe}v-=B,f+=B,h-=B,c+=B,rr(o,v,h,f,c)}if(n&&r.includeEdges&&l&&(An(o,e,"mid-source"),An(o,e,"mid-target"),An(o,e,"source"),An(o,e,"target")),n){var Ce=e.pstyle("ghost").value==="yes";if(Ce){var Oe=e.pstyle("ghost-offset-x").pfValue,Ie=e.pstyle("ghost-offset-y").pfValue;rr(o,o.x1+Oe,o.y1+Ie,o.x2+Oe,o.y2+Ie)}}var He=s.bodyBounds=s.bodyBounds||{};Eo(He,o),li(He,p),pn(He,1),n&&(v=o.x1,f=o.x2,h=o.y1,c=o.y2,rr(o,v-I,h-I,f+I,c+I));var We=s.overlayBounds=s.overlayBounds||{};Eo(We,o),li(We,p),pn(We,1);var Re=s.labelBounds=s.labelBounds||{};Re.all!=null?Cv(Re.all):Re.all=Ut(),n&&r.includeLabels&&(r.includeMainLabels&&Li(o,e,null),l&&(r.includeSourceLabels&&Li(o,e,"source"),r.includeTargetLabels&&Li(o,e,"target")))}return o.x1=Zt(o.x1),o.y1=Zt(o.y1),o.x2=Zt(o.x2),o.y2=Zt(o.y2),o.w=Zt(o.x2-o.x1),o.h=Zt(o.y2-o.y1),o.w>0&&o.h>0&&b&&(li(o,p),pn(o,1)),o},ps=function(e){var r=0,a=function(o){return(o?1:0)<<r++},n=0;return n+=a(e.incudeNodes),n+=a(e.includeEdges),n+=a(e.includeLabels),n+=a(e.includeMainLabels),n+=a(e.includeSourceLabels),n+=a(e.includeTargetLabels),n+=a(e.includeOverlays),n},ys=function(e){if(e.isEdge()){var r=e.source().position(),a=e.target().position(),n=function(o){return Math.round(o)};return Hu([n(r.x),n(r.y),n(a.x),n(a.y)])}else return 0},ms=function(e,r){var a=e._private,n,i=e.isEdge(),o=r==null?bs:ps(r),s=o===bs,u=ys(e),l=a.bbCachePosKey===u,v=r.useCache&&l,f=function(g){return g._private.bbCache==null||g._private.styleDirty},h=!v||f(e)||i&&f(e.source())||f(e.target());if(h?(l||e.recalculateRenderedStyle(v),n=id(e,_a),a.bbCache=n,a.bbCachePosKey=u):n=a.bbCache,!s){var c=e.isNode();n=Ut(),(r.includeNodes&&c||r.includeEdges&&!c)&&(r.includeOverlays?zr(n,a.overlayBounds):zr(n,a.bodyBounds)),r.includeLabels&&(r.includeMainLabels&&(!i||r.includeSourceLabels&&r.includeTargetLabels)?zr(n,a.labelBounds.all):(r.includeMainLabels&&zr(n,a.labelBounds.mainRot),r.includeSourceLabels&&zr(n,a.labelBounds.sourceRot),r.includeTargetLabels&&zr(n,a.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},_a={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},bs=ps(_a),Es=Lt(_a);Ar.boundingBox=function(t){var e;if(this.length===1&&this[0]._private.bbCache!=null&&!this[0]._private.styleDirty&&(t===void 0||t.useCache===void 0||t.useCache===!0))t===void 0?t=_a:t=Es(t),e=ms(this[0],t);else{e=Ut(),t=t||_a;var r=Es(t),a=this,n=a.cy(),i=n.styleEnabled();if(i)for(var o=0;o<a.length;o++){var s=a[o],u=s._private,l=ys(s),v=u.bbCachePosKey===l,f=r.useCache&&v&&!u.styleDirty;s.recalculateRenderedStyle(f)}this.updateCompoundBounds(!t.useCache);for(var h=0;h<a.length;h++){var c=a[h];zr(e,ms(c,r))}}return e.x1=Zt(e.x1),e.y1=Zt(e.y1),e.x2=Zt(e.x2),e.y2=Zt(e.y2),e.w=Zt(e.x2-e.x1),e.h=Zt(e.y2-e.y1),e},Ar.dirtyBoundingBoxCache=function(){for(var t=0;t<this.length;t++){var e=this[t]._private;e.bbCache=null,e.bbCachePosKey=null,e.bodyBounds=null,e.overlayBounds=null,e.labelBounds.all=null,e.labelBounds.source=null,e.labelBounds.target=null,e.labelBounds.main=null,e.labelBounds.sourceRot=null,e.labelBounds.targetRot=null,e.labelBounds.mainRot=null,e.arrowBounds.source=null,e.arrowBounds.target=null,e.arrowBounds["mid-source"]=null,e.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},Ar.boundingBoxAt=function(t){var e=this.nodes(),r=this.cy(),a=r.hasCompoundNodes(),n=r.collection();if(a&&(n=e.filter(function(l){return l.isParent()}),e=e.not(n)),L(t)){var i=t;t=function(){return i}}var o=function(v,f){return v._private.bbAtOldPos=t(v,f)},s=function(v){return v._private.bbAtOldPos};r.startBatch(),e.forEach(o).silentPositions(t),a&&(n.dirtyCompoundBoundsCache(),n.dirtyBoundingBoxCache(),n.updateCompoundBounds(!0));var u=Tv(this.boundingBox({useCache:!1}));return e.silentPositions(s),a&&(n.dirtyCompoundBoundsCache(),n.dirtyBoundingBoxCache(),n.updateCompoundBounds(!0)),r.endBatch(),u},ha.boundingbox=ha.bb=ha.boundingBox,ha.renderedBoundingbox=ha.renderedBoundingBox;var od=Ar,Ua,Ya;Ua=Ya={};var ws=function(e){e.uppercaseName=kt(e.name),e.autoName="auto"+e.uppercaseName,e.labelName="label"+e.uppercaseName,e.outerName="outer"+e.uppercaseName,e.uppercaseOuterName=kt(e.outerName),Ua[e.name]=function(){var a=this[0],n=a._private,i=n.cy,o=i._private.styleEnabled;if(a)if(o){if(a.isParent())return a.updateCompoundBounds(),n[e.autoName]||0;var s=a.pstyle(e.name);switch(s.strValue){case"label":return a.recalculateRenderedStyle(),n.rstyle[e.labelName]||0;default:return s.pfValue}}else return 1},Ua["outer"+e.uppercaseName]=function(){var a=this[0],n=a._private,i=n.cy,o=i._private.styleEnabled;if(a)if(o){var s=a[e.name](),u=a.pstyle("border-width").pfValue,l=2*a.padding();return s+u+l}else return 1},Ua["rendered"+e.uppercaseName]=function(){var a=this[0];if(a){var n=a[e.name]();return n*this.cy().zoom()}},Ua["rendered"+e.uppercaseOuterName]=function(){var a=this[0];if(a){var n=a[e.outerName]();return n*this.cy().zoom()}}};ws({name:"width"}),ws({name:"height"}),Ya.padding=function(){var t=this[0],e=t._private;return t.isParent()?(t.updateCompoundBounds(),e.autoPadding!==void 0?e.autoPadding:t.pstyle("padding").pfValue):t.pstyle("padding").pfValue},Ya.paddedHeight=function(){var t=this[0];return t.height()+2*t.padding()},Ya.paddedWidth=function(){var t=this[0];return t.width()+2*t.padding()};var sd=Ya,ld=function(e,r){if(e.isEdge())return r(e)},ud=function(e,r){if(e.isEdge()){var a=e.cy();return dn(r(e),a.zoom(),a.pan())}},vd=function(e,r){if(e.isEdge()){var a=e.cy(),n=a.pan(),i=a.zoom();return r(e).map(function(o){return dn(o,i,n)})}},fd=function(e){return e.renderer().getControlPoints(e)},hd=function(e){return e.renderer().getSegmentPoints(e)},cd=function(e){return e.renderer().getSourceEndpoint(e)},dd=function(e){return e.renderer().getTargetEndpoint(e)},gd=function(e){return e.renderer().getEdgeMidpoint(e)},xs={controlPoints:{get:fd,mult:!0},segmentPoints:{get:hd,mult:!0},sourceEndpoint:{get:cd},targetEndpoint:{get:dd},midpoint:{get:gd}},pd=function(e){return"rendered"+e[0].toUpperCase()+e.substr(1)},yd=Object.keys(xs).reduce(function(t,e){var r=xs[e],a=pd(e);return t[e]=function(){return ld(this,r.get)},r.mult?t[a]=function(){return vd(this,r.get)}:t[a]=function(){return ud(this,r.get)},t},{}),md=Ue({},nd,od,sd,yd);/*!
Event object based on jQuery events, MIT license
https://jquery.org/license/
https://tldrlegal.com/license/mit-license
https://github.com/jquery/jquery/blob/master/src/event.js
*/var Ts=function(e,r){this.recycle(e,r)};function Ha(){return!1}function On(){return!0}Ts.prototype={instanceString:function(){return"event"},recycle:function(e,r){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Ha,e!=null&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?On:Ha):e!=null&&e.type?r=e:this.type=e,r!=null&&(this.originalEvent=r.originalEvent,this.type=r.type!=null?r.type:this.type,this.cy=r.cy,this.target=r.target,this.position=r.position,this.renderedPosition=r.renderedPosition,this.namespace=r.namespace,this.layout=r.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var a=this.position,n=this.cy.zoom(),i=this.cy.pan();this.renderedPosition={x:a.x*n+i.x,y:a.y*n+i.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=On;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=On;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=On,this.stopPropagation()},isDefaultPrevented:Ha,isPropagationStopped:Ha,isImmediatePropagationStopped:Ha};var Cs=/^([^.]+)(\.(?:[^.]+))?$/,bd=".*",Ds={qualifierCompare:function(e,r){return e===r},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(e){return e},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},Ss=Object.keys(Ds),Ed={};function Nn(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ed,e=arguments.length>1?arguments[1]:void 0,r=0;r<Ss.length;r++){var a=Ss[r];this[a]=t[a]||Ds[a]}this.context=e||this.context,this.listeners=[],this.emitting=0}var Or=Nn.prototype,Ls=function(e,r,a,n,i,o,s){Y(n)&&(i=n,n=null),s&&(o==null?o=s:o=Ue({},o,s));for(var u=te(a)?a:a.split(/\s+/),l=0;l<u.length;l++){var v=u[l];if(!Pe(v)){var f=v.match(Cs);if(f){var h=f[1],c=f[2]?f[2]:null,d=r(e,v,h,c,n,i,o);if(d===!1)break}}}},As=function(e,r){return e.addEventFields(e.context,r),new Ts(r.type,r)},wd=function(e,r,a){if(ht(a)){r(e,a);return}else if(L(a)){r(e,As(e,a));return}for(var n=te(a)?a:a.split(/\s+/),i=0;i<n.length;i++){var o=n[i];if(!Pe(o)){var s=o.match(Cs);if(s){var u=s[1],l=s[2]?s[2]:null,v=As(e,{type:u,namespace:l,target:e.context});r(e,v)}}}};Or.on=Or.addListener=function(t,e,r,a,n){return Ls(this,function(i,o,s,u,l,v,f){Y(v)&&i.listeners.push({event:o,callback:v,type:s,namespace:u,qualifier:l,conf:f})},t,e,r,a,n),this},Or.one=function(t,e,r,a){return this.on(t,e,r,a,{one:!0})},Or.removeListener=Or.off=function(t,e,r,a){var n=this;this.emitting!==0&&(this.listeners=Zu(this.listeners));for(var i=this.listeners,o=function(l){var v=i[l];Ls(n,function(f,h,c,d,g,y){if((v.type===c||t==="*")&&(!d&&v.namespace!==".*"||v.namespace===d)&&(!g||f.qualifierCompare(v.qualifier,g))&&(!y||v.callback===y))return i.splice(l,1),!1},t,e,r,a)},s=i.length-1;s>=0;s--)o(s);return this},Or.removeAllListeners=function(){return this.removeListener("*")},Or.emit=Or.trigger=function(t,e,r){var a=this.listeners,n=a.length;return this.emitting++,te(e)||(e=[e]),wd(this,function(i,o){r!=null&&(a=[{event:o.event,type:o.type,namespace:o.namespace,callback:r}],n=a.length);for(var s=function(v){var f=a[v];if(f.type===o.type&&(!f.namespace||f.namespace===o.namespace||f.namespace===bd)&&i.eventMatches(i.context,f,o)){var h=[o];e!=null&&Ju(h,e),i.beforeEmit(i.context,f,o),f.conf&&f.conf.one&&(i.listeners=i.listeners.filter(function(g){return g!==f}));var c=i.callbackContext(i.context,f,o),d=f.callback.apply(c,h);i.afterEmit(i.context,f,o),d===!1&&(o.stopPropagation(),o.preventDefault())}},u=0;u<n;u++)s(u);i.bubble(i.context)&&!o.isPropagationStopped()&&i.parent(i.context).emit(o,e)},t),this.emitting--,this};var xd={qualifierCompare:function(e,r){return e==null||r==null?e==null&&r==null:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return n!=null?e!==a.target&&Ae(a.target)&&n.matches(a.target):!0},addEventFields:function(e,r){r.cy=e.cy(),r.target=e},callbackContext:function(e,r,a){return r.qualifier!=null?a.target:e},beforeEmit:function(e,r){r.conf&&r.conf.once&&r.conf.onceCollection.removeListener(r.event,r.qualifier,r.callback)},bubble:function(){return!0},parent:function(e){return e.isChild()?e.parent():e.cy()}},Mn=function(e){return j(e)?new Dr(e):e},Os={createEmitter:function(){for(var e=0;e<this.length;e++){var r=this[e],a=r._private;a.emitter||(a.emitter=new Nn(xd,r))}return this},emitter:function(){return this._private.emitter},on:function(e,r,a){for(var n=Mn(r),i=0;i<this.length;i++){var o=this[i];o.emitter().on(e,n,a)}return this},removeListener:function(e,r,a){for(var n=Mn(r),i=0;i<this.length;i++){var o=this[i];o.emitter().removeListener(e,n,a)}return this},removeAllListeners:function(){for(var e=0;e<this.length;e++){var r=this[e];r.emitter().removeAllListeners()}return this},one:function(e,r,a){for(var n=Mn(r),i=0;i<this.length;i++){var o=this[i];o.emitter().one(e,n,a)}return this},once:function(e,r,a){for(var n=Mn(r),i=0;i<this.length;i++){var o=this[i];o.emitter().on(e,n,a,{once:!0,onceCollection:this})}},emit:function(e,r){for(var a=0;a<this.length;a++){var n=this[a];n.emitter().emit(e,r)}return this},emitAndNotify:function(e,r){if(this.length!==0)return this.cy().notify(e,this),this.emit(e,r),this}};ft.eventAliasesOn(Os);var Ns={nodes:function(e){return this.filter(function(r){return r.isNode()}).filter(e)},edges:function(e){return this.filter(function(r){return r.isEdge()}).filter(e)},byGroup:function(){for(var e=this.spawn(),r=this.spawn(),a=0;a<this.length;a++){var n=this[a];n.isNode()?e.push(n):r.push(n)}return{nodes:e,edges:r}},filter:function(e,r){if(e===void 0)return this;if(j(e)||ge(e))return new Dr(e).filter(this);if(Y(e)){for(var a=this.spawn(),n=this,i=0;i<n.length;i++){var o=n[i],s=r?e.apply(r,[o,i,n]):e(o,i,n);s&&a.push(o)}return a}return this.spawn()},not:function(e){if(e){j(e)&&(e=this.filter(e));for(var r=this.spawn(),a=0;a<this.length;a++){var n=this[a],i=e.has(n);i||r.push(n)}return r}else return this},absoluteComplement:function(){var e=this.cy();return e.mutableElements().not(this)},intersect:function(e){if(j(e)){var r=e;return this.filter(r)}for(var a=this.spawn(),n=this,i=e,o=this.length<e.length,s=o?n:i,u=o?i:n,l=0;l<s.length;l++){var v=s[l];u.has(v)&&a.push(v)}return a},xor:function(e){var r=this._private.cy;j(e)&&(e=r.$(e));var a=this.spawn(),n=this,i=e,o=function(u,l){for(var v=0;v<u.length;v++){var f=u[v],h=f._private.data.id,c=l.hasElementWithId(h);c||a.push(f)}};return o(n,i),o(i,n),a},diff:function(e){var r=this._private.cy;j(e)&&(e=r.$(e));var a=this.spawn(),n=this.spawn(),i=this.spawn(),o=this,s=e,u=function(v,f,h){for(var c=0;c<v.length;c++){var d=v[c],g=d._private.data.id,y=f.hasElementWithId(g);y?i.merge(d):h.push(d)}};return u(o,s,a),u(s,o,n),{left:a,right:n,both:i}},add:function(e){var r=this._private.cy;if(!e)return this;if(j(e)){var a=e;e=r.mutableElements().filter(a)}for(var n=this.spawnSelf(),i=0;i<e.length;i++){var o=e[i],s=!this.has(o);s&&n.push(o)}return n},merge:function(e){var r=this._private,a=r.cy;if(!e)return this;if(e&&j(e)){var n=e;e=a.mutableElements().filter(n)}for(var i=r.map,o=0;o<e.length;o++){var s=e[o],u=s._private.data.id,l=!i.has(u);if(l){var v=this.length++;this[v]=s,i.set(u,{ele:s,index:v})}}return this},unmergeAt:function(e){var r=this[e],a=r.id(),n=this._private,i=n.map;this[e]=void 0,i.delete(a);var o=e===this.length-1;if(this.length>1&&!o){var s=this.length-1,u=this[s],l=u._private.data.id;this[s]=void 0,this[e]=u,i.set(l,{ele:u,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var r=this._private,a=e._private.data.id,n=r.map,i=n.get(a);if(!i)return this;var o=i.index;return this.unmergeAt(o),this},unmerge:function(e){var r=this._private.cy;if(!e)return this;if(e&&j(e)){var a=e;e=r.mutableElements().filter(a)}for(var n=0;n<e.length;n++)this.unmergeOne(e[n]);return this},unmergeBy:function(e){for(var r=this.length-1;r>=0;r--){var a=this[r];e(a)&&this.unmergeAt(r)}return this},map:function(e,r){for(var a=[],n=this,i=0;i<n.length;i++){var o=n[i],s=r?e.apply(r,[o,i,n]):e(o,i,n);a.push(s)}return a},reduce:function(e,r){for(var a=r,n=this,i=0;i<n.length;i++)a=e(a,n[i],i,n);return a},max:function(e,r){for(var a=-1/0,n,i=this,o=0;o<i.length;o++){var s=i[o],u=r?e.apply(r,[s,o,i]):e(s,o,i);u>a&&(a=u,n=s)}return{value:a,ele:n}},min:function(e,r){for(var a=1/0,n,i=this,o=0;o<i.length;o++){var s=i[o],u=r?e.apply(r,[s,o,i]):e(s,o,i);u<a&&(a=u,n=s)}return{value:a,ele:n}}},ot=Ns;ot.u=ot["|"]=ot["+"]=ot.union=ot.or=ot.add,ot["\\"]=ot["!"]=ot["-"]=ot.difference=ot.relativeComplement=ot.subtract=ot.not,ot.n=ot["&"]=ot["."]=ot.and=ot.intersection=ot.intersect,ot["^"]=ot["(+)"]=ot["(-)"]=ot.symmetricDifference=ot.symdiff=ot.xor,ot.fnFilter=ot.filterFn=ot.stdFilter=ot.filter,ot.complement=ot.abscomp=ot.absoluteComplement;var Td={isNode:function(){return this.group()==="nodes"},isEdge:function(){return this.group()==="edges"},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var e=this[0];if(e)return e._private.group}},Ms=function(e,r){var a=e.cy(),n=a.hasCompoundNodes();function i(v){var f=v.pstyle("z-compound-depth");return f.value==="auto"?n?v.zDepth():0:f.value==="bottom"?-1:f.value==="top"?ai:0}var o=i(e)-i(r);if(o!==0)return o;function s(v){var f=v.pstyle("z-index-compare");return f.value==="auto"&&v.isNode()?1:0}var u=s(e)-s(r);if(u!==0)return u;var l=e.pstyle("z-index").value-r.pstyle("z-index").value;return l!==0?l:e.poolIndex()-r.poolIndex()},In={forEach:function(e,r){if(Y(e))for(var a=this.length,n=0;n<a;n++){var i=this[n],o=r?e.apply(r,[i,n,this]):e(i,n,this);if(o===!1)break}return this},toArray:function(){for(var e=[],r=0;r<this.length;r++)e.push(this[r]);return e},slice:function(e,r){var a=[],n=this.length;r==null&&(r=n),e==null&&(e=0),e<0&&(e=n+e),r<0&&(r=n+r);for(var i=e;i>=0&&i<r&&i<n;i++)a.push(this[i]);return this.spawn(a)},size:function(){return this.length},eq:function(e){return this[e]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return this.length===0},nonempty:function(){return!this.empty()},sort:function(e){if(!Y(e))return this;var r=this.toArray().sort(e);return this.spawn(r)},sortByZIndex:function(){return this.sort(Ms)},zDepth:function(){var e=this[0];if(e){var r=e._private,a=r.group;if(a==="nodes"){var n=r.data.parent?e.parents().size():0;return e.isParent()?n:ai-1}else{var i=r.source,o=r.target,s=i.zDepth(),u=o.zDepth();return Math.max(s,u,0)}}}};In.each=In.forEach;var Cd=function(){var e="undefined",r=(typeof Symbol>"u"?"undefined":ee(Symbol))!=e&&ee(Symbol.iterator)!=e;r&&(In[Symbol.iterator]=function(){var a=this,n={value:void 0,done:!1},i=0,o=this.length;return T({next:function(){return i<o?n.value=a[i++]:(n.value=void 0,n.done=!0),n}},Symbol.iterator,function(){return this})})};Cd();var Dd=Lt({nodeDimensionsIncludeLabels:!1}),Rn={layoutDimensions:function(e){e=Dd(e);var r;if(!this.takesUpSpace())r={w:0,h:0};else if(e.nodeDimensionsIncludeLabels){var a=this.boundingBox();r={w:a.w,h:a.h}}else r={w:this.outerWidth(),h:this.outerHeight()};return(r.w===0||r.h===0)&&(r.w=r.h=1),r},layoutPositions:function(e,r,a){var n=this.nodes().filter(function(M){return!M.isParent()}),i=this.cy(),o=r.eles,s=function(A){return A.id()},u=nt(a,s);e.emit({type:"layoutstart",layout:e}),e.animations=[];var l=function(A,w,I){var C={x:w.x1+w.w/2,y:w.y1+w.h/2},B={x:(I.x-C.x)*A,y:(I.y-C.y)*A};return{x:C.x+B.x,y:C.y+B.y}},v=r.spacingFactor&&r.spacingFactor!==1,f=function(){if(!v)return null;for(var A=Ut(),w=0;w<n.length;w++){var I=n[w],C=u(I,w);Sv(A,C.x,C.y)}return A},h=f(),c=nt(function(M,A){var w=u(M,A);if(v){var I=Math.abs(r.spacingFactor);w=l(I,h,w)}return r.transform!=null&&(w=r.transform(M,w)),w},s);if(r.animate){for(var d=0;d<n.length;d++){var g=n[d],y=c(g,d),p=r.animateFilter==null||r.animateFilter(g,d);if(p){var m=g.animation({position:y,duration:r.animationDuration,easing:r.animationEasing});e.animations.push(m)}else g.position(y)}if(r.fit){var b=i.animation({fit:{boundingBox:o.boundingBoxAt(c),padding:r.padding},duration:r.animationDuration,easing:r.animationEasing});e.animations.push(b)}else if(r.zoom!==void 0&&r.pan!==void 0){var E=i.animation({zoom:r.zoom,pan:r.pan,duration:r.animationDuration,easing:r.animationEasing});e.animations.push(E)}e.animations.forEach(function(M){return M.play()}),e.one("layoutready",r.ready),e.emit({type:"layoutready",layout:e}),ia.all(e.animations.map(function(M){return M.promise()})).then(function(){e.one("layoutstop",r.stop),e.emit({type:"layoutstop",layout:e})})}else n.positions(c),r.fit&&i.fit(r.eles,r.padding),r.zoom!=null&&i.zoom(r.zoom),r.pan&&i.pan(r.pan),e.one("layoutready",r.ready),e.emit({type:"layoutready",layout:e}),e.one("layoutstop",r.stop),e.emit({type:"layoutstop",layout:e});return this},layout:function(e){var r=this.cy();return r.makeLayout(Ue({},e,{eles:this}))}};Rn.createLayout=Rn.makeLayout=Rn.layout;function Is(t,e,r){var a=r._private,n=a.styleCache=a.styleCache||[],i;return(i=n[t])!=null||(i=n[t]=e(r)),i}function kn(t,e){return t=kr(t),function(a){return Is(t,e,a)}}function Pn(t,e){t=kr(t);var r=function(n){return e.call(n)};return function(){var n=this[0];if(n)return Is(t,r,n)}}var At={recalculateRenderedStyle:function(e){var r=this.cy(),a=r.renderer(),n=r.styleEnabled();return a&&n&&a.recalculateRenderedStyle(this,e),this},dirtyStyleCache:function(){var e=this.cy(),r=function(i){return i._private.styleCache=null};if(e.hasCompoundNodes()){var a;a=this.spawnSelf().merge(this.descendants()).merge(this.parents()),a.merge(a.connectedEdges()),a.forEach(r)}else this.forEach(function(n){r(n),n.connectedEdges().forEach(r)});return this},updateStyle:function(e){var r=this._private.cy;if(!r.styleEnabled())return this;if(r.batching()){var a=r._private.batchStyleEles;return a.merge(this),this}var n=r.hasCompoundNodes(),i=this;e=!!(e||e===void 0),n&&(i=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var o=i;return e?o.emitAndNotify("style"):o.emit("style"),i.forEach(function(s){return s._private.styleDirty=!0}),this},cleanStyle:function(){var e=this.cy();if(e.styleEnabled())for(var r=0;r<this.length;r++){var a=this[r];a._private.styleDirty&&(a._private.styleDirty=!1,e.style().apply(a))}},parsedStyle:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=this[0],n=a.cy();if(n.styleEnabled()&&a){this.cleanStyle();var i=a._private.style[e];return i??(r?n.style().getDefaultProperty(e):null)}},numericStyle:function(e){var r=this[0];if(r.cy().styleEnabled()&&r){var a=r.pstyle(e);return a.pfValue!==void 0?a.pfValue:a.value}},numericStyleUnits:function(e){var r=this[0];if(r.cy().styleEnabled()&&r)return r.pstyle(e).units},renderedStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var a=this[0];if(a)return r.style().getRenderedStyle(a,e)},style:function(e,r){var a=this.cy();if(!a.styleEnabled())return this;var n=!1,i=a.style();if(L(e)){var o=e;i.applyBypass(this,o,n),this.emitAndNotify("style")}else if(j(e))if(r===void 0){var s=this[0];return s?i.getStylePropertyValue(s,e):void 0}else i.applyBypass(this,e,r,n),this.emitAndNotify("style");else if(e===void 0){var u=this[0];return u?i.getRawStyle(u):void 0}return this},removeStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var a=!1,n=r.style(),i=this;if(e===void 0)for(var o=0;o<i.length;o++){var s=i[o];n.removeAllBypasses(s,a)}else{e=e.split(/\s+/);for(var u=0;u<i.length;u++){var l=i[u];n.removeBypasses(l,e,a)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var e=this.cy();if(!e.styleEnabled())return 1;var r=e.hasCompoundNodes(),a=this[0];if(a){var n=a._private,i=a.pstyle("opacity").value;if(!r)return i;var o=n.data.parent?a.parents():null;if(o)for(var s=0;s<o.length;s++){var u=o[s],l=u.pstyle("opacity").value;i=l*i}return i}},transparent:function(){var e=this.cy();if(!e.styleEnabled())return!1;var r=this[0],a=r.cy().hasCompoundNodes();if(r)return a?r.effectiveOpacity()===0:r.pstyle("opacity").value===0},backgrounding:function(){var e=this.cy();if(!e.styleEnabled())return!1;var r=this[0];return!!r._private.backgrounding}};function Ai(t,e){var r=t._private,a=r.data.parent?t.parents():null;if(a)for(var n=0;n<a.length;n++){var i=a[n];if(!e(i))return!1}return!0}function Oi(t){var e=t.ok,r=t.edgeOkViaNode||t.ok,a=t.parentOk||t.ok;return function(){var n=this.cy();if(!n.styleEnabled())return!0;var i=this[0],o=n.hasCompoundNodes();if(i){var s=i._private;if(!e(i))return!1;if(i.isNode())return!o||Ai(i,a);var u=s.source,l=s.target;return r(u)&&(!o||Ai(u,r))&&(u===l||r(l)&&(!o||Ai(l,r)))}}}var ca=kn("eleTakesUpSpace",function(t){return t.pstyle("display").value==="element"&&t.width()!==0&&(t.isNode()?t.height()!==0:!0)});At.takesUpSpace=Pn("takesUpSpace",Oi({ok:ca}));var Sd=kn("eleInteractive",function(t){return t.pstyle("events").value==="yes"&&t.pstyle("visibility").value==="visible"&&ca(t)}),Ld=kn("parentInteractive",function(t){return t.pstyle("visibility").value==="visible"&&ca(t)});At.interactive=Pn("interactive",Oi({ok:Sd,parentOk:Ld,edgeOkViaNode:ca})),At.noninteractive=function(){var t=this[0];if(t)return!t.interactive()};var Ad=kn("eleVisible",function(t){return t.pstyle("visibility").value==="visible"&&t.pstyle("opacity").pfValue!==0&&ca(t)}),Od=ca;At.visible=Pn("visible",Oi({ok:Ad,edgeOkViaNode:Od})),At.hidden=function(){var t=this[0];if(t)return!t.visible()},At.isBundledBezier=Pn("isBundledBezier",function(){return this.cy().styleEnabled()?!this.removed()&&this.pstyle("curve-style").value==="bezier"&&this.takesUpSpace():!1}),At.bypass=At.css=At.style,At.renderedCss=At.renderedStyle,At.removeBypass=At.removeCss=At.removeStyle,At.pstyle=At.parsedStyle;var Nr={};function Rs(t){return function(){var e=arguments,r=[];if(e.length===2){var a=e[0],n=e[1];this.on(t.event,a,n)}else if(e.length===1&&Y(e[0])){var i=e[0];this.on(t.event,i)}else if(e.length===0||e.length===1&&te(e[0])){for(var o=e.length===1?e[0]:null,s=0;s<this.length;s++){var u=this[s],l=!t.ableField||u._private[t.ableField],v=u._private[t.field]!=t.value;if(t.overrideAble){var f=t.overrideAble(u);if(f!==void 0&&(l=f,!f))return this}l&&(u._private[t.field]=t.value,v&&r.push(u))}var h=this.spawn(r);h.updateStyle(),h.emit(t.event),o&&h.emit(o)}return this}}function da(t){Nr[t.field]=function(){var e=this[0];if(e){if(t.overrideField){var r=t.overrideField(e);if(r!==void 0)return r}return e._private[t.field]}},Nr[t.on]=Rs({event:t.on,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!0}),Nr[t.off]=Rs({event:t.off,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!1})}da({field:"locked",overrideField:function(e){return e.cy().autolock()?!0:void 0},on:"lock",off:"unlock"}),da({field:"grabbable",overrideField:function(e){return e.cy().autoungrabify()||e.pannable()?!1:void 0},on:"grabify",off:"ungrabify"}),da({field:"selected",ableField:"selectable",overrideAble:function(e){return e.cy().autounselectify()?!1:void 0},on:"select",off:"unselect"}),da({field:"selectable",overrideField:function(e){return e.cy().autounselectify()?!1:void 0},on:"selectify",off:"unselectify"}),Nr.deselect=Nr.unselect,Nr.grabbed=function(){var t=this[0];if(t)return t._private.grabbed},da({field:"active",on:"activate",off:"unactivate"}),da({field:"pannable",on:"panify",off:"unpanify"}),Nr.inactive=function(){var t=this[0];if(t)return!t._private.active};var Pt={},ks=function(e){return function(a){for(var n=this,i=[],o=0;o<n.length;o++){var s=n[o];if(s.isNode()){for(var u=!1,l=s.connectedEdges(),v=0;v<l.length;v++){var f=l[v],h=f.source(),c=f.target();if(e.noIncomingEdges&&c===s&&h!==s||e.noOutgoingEdges&&h===s&&c!==s){u=!0;break}}u||i.push(s)}}return this.spawn(i,!0).filter(a)}},Ps=function(e){return function(r){for(var a=this,n=[],i=0;i<a.length;i++){var o=a[i];if(o.isNode())for(var s=o.connectedEdges(),u=0;u<s.length;u++){var l=s[u],v=l.source(),f=l.target();e.outgoing&&v===o?(n.push(l),n.push(f)):e.incoming&&f===o&&(n.push(l),n.push(v))}}return this.spawn(n,!0).filter(r)}},Bs=function(e){return function(r){for(var a=this,n=[],i={};;){var o=e.outgoing?a.outgoers():a.incomers();if(o.length===0)break;for(var s=!1,u=0;u<o.length;u++){var l=o[u],v=l.id();i[v]||(i[v]=!0,n.push(l),s=!0)}if(!s)break;a=o}return this.spawn(n,!0).filter(r)}};Pt.clearTraversalCache=function(){for(var t=0;t<this.length;t++)this[t]._private.traversalCache=null},Ue(Pt,{roots:ks({noIncomingEdges:!0}),leaves:ks({noOutgoingEdges:!0}),outgoers:Kt(Ps({outgoing:!0}),"outgoers"),successors:Bs({outgoing:!0}),incomers:Kt(Ps({incoming:!0}),"incomers"),predecessors:Bs({incoming:!0})}),Ue(Pt,{neighborhood:Kt(function(t){for(var e=[],r=this.nodes(),a=0;a<r.length;a++)for(var n=r[a],i=n.connectedEdges(),o=0;o<i.length;o++){var s=i[o],u=s.source(),l=s.target(),v=n===u?l:u;v.length>0&&e.push(v[0]),e.push(s[0])}return this.spawn(e,!0).filter(t)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),Pt.neighbourhood=Pt.neighborhood,Pt.closedNeighbourhood=Pt.closedNeighborhood,Pt.openNeighbourhood=Pt.openNeighborhood,Ue(Pt,{source:Kt(function(e){var r=this[0],a;return r&&(a=r._private.source||r.cy().collection()),a&&e?a.filter(e):a},"source"),target:Kt(function(e){var r=this[0],a;return r&&(a=r._private.target||r.cy().collection()),a&&e?a.filter(e):a},"target"),sources:Fs({attr:"source"}),targets:Fs({attr:"target"})});function Fs(t){return function(r){for(var a=[],n=0;n<this.length;n++){var i=this[n],o=i._private[t.attr];o&&a.push(o)}return this.spawn(a,!0).filter(r)}}Ue(Pt,{edgesWith:Kt(Gs(),"edgesWith"),edgesTo:Kt(Gs({thisIsSrc:!0}),"edgesTo")});function Gs(t){return function(r){var a=[],n=this._private.cy,i=t||{};j(r)&&(r=n.$(r));for(var o=0;o<r.length;o++)for(var s=r[o]._private.edges,u=0;u<s.length;u++){var l=s[u],v=l._private.data,f=this.hasElementWithId(v.source)&&r.hasElementWithId(v.target),h=r.hasElementWithId(v.source)&&this.hasElementWithId(v.target),c=f||h;c&&((i.thisIsSrc||i.thisIsTgt)&&(i.thisIsSrc&&!f||i.thisIsTgt&&!h)||a.push(l))}return this.spawn(a,!0)}}Ue(Pt,{connectedEdges:Kt(function(t){for(var e=[],r=this,a=0;a<r.length;a++){var n=r[a];if(n.isNode())for(var i=n._private.edges,o=0;o<i.length;o++){var s=i[o];e.push(s)}}return this.spawn(e,!0).filter(t)},"connectedEdges"),connectedNodes:Kt(function(t){for(var e=[],r=this,a=0;a<r.length;a++){var n=r[a];n.isEdge()&&(e.push(n.source()[0]),e.push(n.target()[0]))}return this.spawn(e,!0).filter(t)},"connectedNodes"),parallelEdges:Kt(zs(),"parallelEdges"),codirectedEdges:Kt(zs({codirected:!0}),"codirectedEdges")});function zs(t){var e={codirected:!1};return t=Ue({},e,t),function(a){for(var n=[],i=this.edges(),o=t,s=0;s<i.length;s++)for(var u=i[s],l=u._private,v=l.source,f=v._private.data.id,h=l.data.target,c=v._private.edges,d=0;d<c.length;d++){var g=c[d],y=g._private.data,p=y.target,m=y.source,b=p===h&&m===f,E=f===p&&h===m;(o.codirected&&b||!o.codirected&&(b||E))&&n.push(g)}return this.spawn(n,!0).filter(a)}}Ue(Pt,{components:function(e){var r=this,a=r.cy(),n=a.collection(),i=e==null?r.nodes():e.nodes(),o=[];e!=null&&i.empty()&&(i=e.sources());var s=function(v,f){n.merge(v),i.unmerge(v),f.merge(v)};if(i.empty())return r.spawn();var u=function(){var v=a.collection();o.push(v);var f=i[0];s(f,v),r.bfs({directed:!1,roots:f,visit:function(c){return s(c,v)}}),v.forEach(function(h){h.connectedEdges().forEach(function(c){r.has(c)&&v.has(c.source())&&v.has(c.target())&&v.merge(c)})})};do u();while(i.length>0);return o},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),Pt.componentsOf=Pt.components;var Ot=function(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===void 0){xt("A collection must have a reference to the core");return}var i=new lr,o=!1;if(!r)r=[];else if(r.length>0&&L(r[0])&&!Ae(r[0])){o=!0;for(var s=[],u=new Jr,l=0,v=r.length;l<v;l++){var f=r[l];f.data==null&&(f.data={});var h=f.data;if(h.id==null)h.id=go();else if(e.hasElementWithId(h.id)||u.has(h.id))continue;var c=new cn(e,f,!1);s.push(c),u.add(h.id)}r=s}this.length=0;for(var d=0,g=r.length;d<g;d++){var y=r[d][0];if(y!=null){var p=y._private.data.id;(!a||!i.has(p))&&(a&&i.set(p,{index:this.length,ele:y}),this[this.length]=y,this.length++)}}this._private={eles:this,cy:e,get map(){return this.lazyMap==null&&this.rebuildMap(),this.lazyMap},set map(m){this.lazyMap=m},rebuildMap:function(){for(var b=this.lazyMap=new lr,E=this.eles,M=0;M<E.length;M++){var A=E[M];b.set(A.id(),{index:M,ele:A})}}},a&&(this._private.map=i),o&&!n&&this.restore()},mt=cn.prototype=Ot.prototype=Object.create(Array.prototype);mt.instanceString=function(){return"collection"},mt.spawn=function(t,e){return new Ot(this.cy(),t,e)},mt.spawnSelf=function(){return this.spawn(this)},mt.cy=function(){return this._private.cy},mt.renderer=function(){return this._private.cy.renderer()},mt.element=function(){return this[0]},mt.collection=function(){return Ne(this)?this:new Ot(this._private.cy,[this])},mt.unique=function(){return new Ot(this._private.cy,this,!0)},mt.hasElementWithId=function(t){return t=""+t,this._private.map.has(t)},mt.getElementById=function(t){t=""+t;var e=this._private.cy,r=this._private.map.get(t);return r?r.ele:new Ot(e)},mt.$id=mt.getElementById,mt.poolIndex=function(){var t=this._private.cy,e=t._private.elements,r=this[0]._private.data.id;return e._private.map.get(r).index},mt.indexOf=function(t){var e=t[0]._private.data.id;return this._private.map.get(e).index},mt.indexOfId=function(t){return t=""+t,this._private.map.get(t).index},mt.json=function(t){var e=this.element(),r=this.cy();if(e==null&&t)return this;if(e!=null){var a=e._private;if(L(t)){if(r.startBatch(),t.data){e.data(t.data);var n=a.data;if(e.isEdge()){var i=!1,o={},s=t.data.source,u=t.data.target;s!=null&&s!=n.source&&(o.source=""+s,i=!0),u!=null&&u!=n.target&&(o.target=""+u,i=!0),i&&(e=e.move(o))}else{var l="parent"in t.data,v=t.data.parent;l&&(v!=null||n.parent!=null)&&v!=n.parent&&(v===void 0&&(v=null),v!=null&&(v=""+v),e=e.move({parent:v}))}}t.position&&e.position(t.position);var f=function(g,y,p){var m=t[g];m!=null&&m!==a[g]&&(m?e[y]():e[p]())};return f("removed","remove","restore"),f("selected","select","unselect"),f("selectable","selectify","unselectify"),f("locked","lock","unlock"),f("grabbable","grabify","ungrabify"),f("pannable","panify","unpanify"),t.classes!=null&&e.classes(t.classes),r.endBatch(),this}else if(t===void 0){var h={data:sr(a.data),position:sr(a.position),group:a.group,removed:a.removed,selected:a.selected,selectable:a.selectable,locked:a.locked,grabbable:a.grabbable,pannable:a.pannable,classes:null};h.classes="";var c=0;return a.classes.forEach(function(d){return h.classes+=c++===0?d:" "+d}),h}}},mt.jsons=function(){for(var t=[],e=0;e<this.length;e++){var r=this[e],a=r.json();t.push(a)}return t},mt.clone=function(){for(var t=this.cy(),e=[],r=0;r<this.length;r++){var a=this[r],n=a.json(),i=new cn(t,n,!1);e.push(i)}return new Ot(t,e)},mt.copy=mt.clone,mt.restore=function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,a=r.cy(),n=a._private,i=[],o=[],s,u=0,l=r.length;u<l;u++){var v=r[u];e&&!v.removed()||(v.isNode()?i.push(v):o.push(v))}s=i.concat(o);var f,h=function(){s.splice(f,1),f--};for(f=0;f<s.length;f++){var c=s[f],d=c._private,g=d.data;if(c.clearTraversalCache(),!(!e&&!d.removed)){if(g.id===void 0)g.id=go();else if(k(g.id))g.id=""+g.id;else if(Pe(g.id)||!j(g.id)){xt("Can not create element with invalid string ID `"+g.id+"`"),h();continue}else if(a.hasElementWithId(g.id)){xt("Can not create second element with ID `"+g.id+"`"),h();continue}}var y=g.id;if(c.isNode()){var p=d.position;p.x==null&&(p.x=0),p.y==null&&(p.y=0)}if(c.isEdge()){for(var m=c,b=["source","target"],E=b.length,M=!1,A=0;A<E;A++){var w=b[A],I=g[w];k(I)&&(I=g[w]=""+g[w]),I==null||I===""?(xt("Can not create edge `"+y+"` with unspecified "+w),M=!0):a.hasElementWithId(I)||(xt("Can not create edge `"+y+"` with nonexistant "+w+" `"+I+"`"),M=!0)}if(M){h();continue}var C=a.getElementById(g.source),B=a.getElementById(g.target);C.same(B)?C._private.edges.push(m):(C._private.edges.push(m),B._private.edges.push(m)),m._private.source=C,m._private.target=B}d.map=new lr,d.map.set(y,{ele:c,index:0}),d.removed=!1,e&&a.addToPool(c)}for(var F=0;F<i.length;F++){var R=i[F],X=R._private.data;k(X.parent)&&(X.parent=""+X.parent);var G=X.parent,re=G!=null;if(re||R._private.parent){var q=R._private.parent?a.collection().merge(R._private.parent):a.getElementById(G);if(q.empty())X.parent=void 0;else if(q[0].removed())vt("Node added with missing parent, reference to parent removed"),X.parent=void 0,R._private.parent=null;else{for(var Z=!1,ie=q;!ie.empty();){if(R.same(ie)){Z=!0,X.parent=void 0;break}ie=ie.parent()}Z||(q[0]._private.children.push(R),R._private.parent=q[0],n.hasCompoundNodes=!0)}}}if(s.length>0){for(var se=s.length===r.length?r:new Ot(a,s),de=0;de<se.length;de++){var oe=se[de];oe.isNode()||(oe.parallelEdges().clearTraversalCache(),oe.source().clearTraversalCache(),oe.target().clearTraversalCache())}var ce;n.hasCompoundNodes?ce=a.collection().merge(se).merge(se.connectedNodes()).merge(se.parent()):ce=se,ce.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(t),t?se.emitAndNotify("add"):e&&se.emit("add")}return r},mt.removed=function(){var t=this[0];return t&&t._private.removed},mt.inside=function(){var t=this[0];return t&&!t._private.removed},mt.remove=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=this,a=[],n={},i=r._private.cy;function o(G){for(var re=G._private.edges,q=0;q<re.length;q++)u(re[q])}function s(G){for(var re=G._private.children,q=0;q<re.length;q++)u(re[q])}function u(G){var re=n[G.id()];e&&G.removed()||re||(n[G.id()]=!0,G.isNode()?(a.push(G),o(G),s(G)):a.unshift(G))}for(var l=0,v=r.length;l<v;l++){var f=r[l];u(f)}function h(G,re){var q=G._private.edges;wr(q,re),G.clearTraversalCache()}function c(G){G.clearTraversalCache()}var d=[];d.ids={};function g(G,re){re=re[0],G=G[0];var q=G._private.children,Z=G.id();wr(q,re),re._private.parent=null,d.ids[Z]||(d.ids[Z]=!0,d.push(G))}r.dirtyCompoundBoundsCache(),e&&i.removeFromPool(a);for(var y=0;y<a.length;y++){var p=a[y];if(p.isEdge()){var m=p.source()[0],b=p.target()[0];h(m,p),h(b,p);for(var E=p.parallelEdges(),M=0;M<E.length;M++){var A=E[M];c(A),A.isBundledBezier()&&A.dirtyBoundingBoxCache()}}else{var w=p.parent();w.length!==0&&g(w,p)}e&&(p._private.removed=!0)}var I=i._private.elements;i._private.hasCompoundNodes=!1;for(var C=0;C<I.length;C++){var B=I[C];if(B.isParent()){i._private.hasCompoundNodes=!0;break}}var F=new Ot(this.cy(),a);F.size()>0&&(t?F.emitAndNotify("remove"):e&&F.emit("remove"));for(var R=0;R<d.length;R++){var X=d[R];(!e||!X.removed())&&X.updateStyle()}return F},mt.move=function(t){var e=this._private.cy,r=this,a=!1,n=!1,i=function(d){return d==null?d:""+d};if(t.source!==void 0||t.target!==void 0){var o=i(t.source),s=i(t.target),u=o!=null&&e.hasElementWithId(o),l=s!=null&&e.hasElementWithId(s);(u||l)&&(e.batch(function(){r.remove(a,n),r.emitAndNotify("moveout");for(var c=0;c<r.length;c++){var d=r[c],g=d._private.data;d.isEdge()&&(u&&(g.source=o),l&&(g.target=s))}r.restore(a,n)}),r.emitAndNotify("move"))}else if(t.parent!==void 0){var v=i(t.parent),f=v===null||e.hasElementWithId(v);if(f){var h=v===null?void 0:v;e.batch(function(){var c=r.remove(a,n);c.emitAndNotify("moveout");for(var d=0;d<r.length;d++){var g=r[d],y=g._private.data;g.isNode()&&(y.parent=h)}c.restore(a,n)}),r.emitAndNotify("move")}}return this},[Uo,Vc,Sn,Lr,va,ad,Ln,md,Os,Ns,Td,In,Rn,At,Nr,Pt].forEach(function(t){Ue(mt,t)});var Nd={add:function(e){var r,a=this;if(ge(e)){var n=e;if(n._private.cy===a)r=n.restore();else{for(var i=[],o=0;o<n.length;o++){var s=n[o];i.push(s.json())}r=new Ot(a,i)}}else if(te(e)){var u=e;r=new Ot(a,u)}else if(L(e)&&(te(e.nodes)||te(e.edges))){for(var l=e,v=[],f=["nodes","edges"],h=0,c=f.length;h<c;h++){var d=f[h],g=l[d];if(te(g))for(var y=0,p=g.length;y<p;y++){var m=Ue({group:d},g[y]);v.push(m)}}r=new Ot(a,v)}else{var b=e;r=new cn(a,b).collection()}return r},remove:function(e){if(!ge(e)){if(j(e)){var r=e;e=this.$(r)}}return e.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function Md(t,e,r,a){var n=4,i=.001,o=1e-7,s=10,u=11,l=1/(u-1),v=typeof Float32Array<"u";if(arguments.length!==4)return!1;for(var f=0;f<4;++f)if(typeof arguments[f]!="number"||isNaN(arguments[f])||!isFinite(arguments[f]))return!1;t=Math.min(t,1),r=Math.min(r,1),t=Math.max(t,0),r=Math.max(r,0);var h=v?new Float32Array(u):new Array(u);function c(B,F){return 1-3*F+3*B}function d(B,F){return 3*F-6*B}function g(B){return 3*B}function y(B,F,R){return((c(F,R)*B+d(F,R))*B+g(F))*B}function p(B,F,R){return 3*c(F,R)*B*B+2*d(F,R)*B+g(F)}function m(B,F){for(var R=0;R<n;++R){var X=p(F,t,r);if(X===0)return F;var G=y(F,t,r)-B;F-=G/X}return F}function b(){for(var B=0;B<u;++B)h[B]=y(B*l,t,r)}function E(B,F,R){var X,G,re=0;do G=F+(R-F)/2,X=y(G,t,r)-B,X>0?R=G:F=G;while(Math.abs(X)>o&&++re<s);return G}function M(B){for(var F=0,R=1,X=u-1;R!==X&&h[R]<=B;++R)F+=l;--R;var G=(B-h[R])/(h[R+1]-h[R]),re=F+G*l,q=p(re,t,r);return q>=i?m(B,re):q===0?re:E(B,F,F+l)}var A=!1;function w(){A=!0,(t!==e||r!==a)&&b()}var I=function(F){return A||w(),t===e&&r===a?F:F===0?0:F===1?1:y(M(F),e,a)};I.getControlPoints=function(){return[{x:t,y:e},{x:r,y:a}]};var C="generateBezier("+[t,e,r,a]+")";return I.toString=function(){return C},I}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var Id=function(){function t(a){return-a.tension*a.x-a.friction*a.v}function e(a,n,i){var o={x:a.x+i.dx*n,v:a.v+i.dv*n,tension:a.tension,friction:a.friction};return{dx:o.v,dv:t(o)}}function r(a,n){var i={dx:a.v,dv:t(a)},o=e(a,n*.5,i),s=e(a,n*.5,o),u=e(a,n,s),l=1/6*(i.dx+2*(o.dx+s.dx)+u.dx),v=1/6*(i.dv+2*(o.dv+s.dv)+u.dv);return a.x=a.x+l*n,a.v=a.v+v*n,a}return function a(n,i,o){var s={x:-1,v:0,tension:null,friction:null},u=[0],l=0,v=1/1e4,f=16/1e3,h,c,d;for(n=parseFloat(n)||500,i=parseFloat(i)||20,o=o||null,s.tension=n,s.friction=i,h=o!==null,h?(l=a(n,i),c=l/o*f):c=f;d=r(d||s,c),u.push(1+d.x),l+=16,Math.abs(d.x)>v&&Math.abs(d.v)>v;);return h?function(g){return u[g*(u.length-1)|0]}:l}}(),bt=function(e,r,a,n){var i=Md(e,r,a,n);return function(o,s,u){return o+(s-o)*i(u)}},Bn={linear:function(e,r,a){return e+(r-e)*a},ease:bt(.25,.1,.25,1),"ease-in":bt(.42,0,1,1),"ease-out":bt(0,0,.58,1),"ease-in-out":bt(.42,0,.58,1),"ease-in-sine":bt(.47,0,.745,.715),"ease-out-sine":bt(.39,.575,.565,1),"ease-in-out-sine":bt(.445,.05,.55,.95),"ease-in-quad":bt(.55,.085,.68,.53),"ease-out-quad":bt(.25,.46,.45,.94),"ease-in-out-quad":bt(.455,.03,.515,.955),"ease-in-cubic":bt(.55,.055,.675,.19),"ease-out-cubic":bt(.215,.61,.355,1),"ease-in-out-cubic":bt(.645,.045,.355,1),"ease-in-quart":bt(.895,.03,.685,.22),"ease-out-quart":bt(.165,.84,.44,1),"ease-in-out-quart":bt(.77,0,.175,1),"ease-in-quint":bt(.755,.05,.855,.06),"ease-out-quint":bt(.23,1,.32,1),"ease-in-out-quint":bt(.86,0,.07,1),"ease-in-expo":bt(.95,.05,.795,.035),"ease-out-expo":bt(.19,1,.22,1),"ease-in-out-expo":bt(1,0,0,1),"ease-in-circ":bt(.6,.04,.98,.335),"ease-out-circ":bt(.075,.82,.165,1),"ease-in-out-circ":bt(.785,.135,.15,.86),spring:function(e,r,a){if(a===0)return Bn.linear;var n=Id(e,r,a);return function(i,o,s){return i+(o-i)*n(s)}},"cubic-bezier":bt};function $s(t,e,r,a,n){if(a===1||e===r)return r;var i=n(e,r,a);return t==null||((t.roundValue||t.color)&&(i=Math.round(i)),t.min!==void 0&&(i=Math.max(i,t.min)),t.max!==void 0&&(i=Math.min(i,t.max))),i}function Vs(t,e){return t.pfValue!=null||t.value!=null?t.pfValue!=null&&(e==null||e.type.units!=="%")?t.pfValue:t.value:t}function ga(t,e,r,a,n){var i=n!=null?n.type:null;r<0?r=0:r>1&&(r=1);var o=Vs(t,n),s=Vs(e,n);if(k(o)&&k(s))return $s(i,o,s,r,a);if(te(o)&&te(s)){for(var u=[],l=0;l<s.length;l++){var v=o[l],f=s[l];if(v!=null&&f!=null){var h=$s(i,v,f,r,a);u.push(h)}else u.push(f)}return u}}function Rd(t,e,r,a){var n=!a,i=t._private,o=e._private,s=o.easing,u=o.startTime,l=a?t:t.cy(),v=l.style();if(!o.easingImpl)if(s==null)o.easingImpl=Bn.linear;else{var f;if(j(s)){var h=v.parse("transition-timing-function",s);f=h.value}else f=s;var c,d;j(f)?(c=f,d=[]):(c=f[1],d=f.slice(2).map(function(se){return+se})),d.length>0?(c==="spring"&&d.push(o.duration),o.easingImpl=Bn[c].apply(null,d)):o.easingImpl=Bn[c]}var g=o.easingImpl,y;if(o.duration===0?y=1:y=(r-u)/o.duration,o.applying&&(y=o.progress),y<0?y=0:y>1&&(y=1),o.delay==null){var p=o.startPosition,m=o.position;if(m&&n&&!t.locked()){var b={};Xa(p.x,m.x)&&(b.x=ga(p.x,m.x,y,g)),Xa(p.y,m.y)&&(b.y=ga(p.y,m.y,y,g)),t.position(b)}var E=o.startPan,M=o.pan,A=i.pan,w=M!=null&&a;w&&(Xa(E.x,M.x)&&(A.x=ga(E.x,M.x,y,g)),Xa(E.y,M.y)&&(A.y=ga(E.y,M.y,y,g)),t.emit("pan"));var I=o.startZoom,C=o.zoom,B=C!=null&&a;B&&(Xa(I,C)&&(i.zoom=ka(i.minZoom,ga(I,C,y,g),i.maxZoom)),t.emit("zoom")),(w||B)&&t.emit("viewport");var F=o.style;if(F&&F.length>0&&n){for(var R=0;R<F.length;R++){var X=F[R],G=X.name,re=X,q=o.startStyle[G],Z=v.properties[q.name],ie=ga(q,re,y,g,Z);v.overrideBypass(t,G,ie)}t.emit("style")}}return o.progress=y,y}function Xa(t,e){return t==null||e==null?!1:k(t)&&k(e)?!0:!!(t&&e)}function kd(t,e,r,a){var n=e._private;n.started=!0,n.startTime=r-n.progress*n.duration}function _s(t,e){var r=e._private.aniEles,a=[];function n(v,f){var h=v._private,c=h.animation.current,d=h.animation.queue,g=!1;if(c.length===0){var y=d.shift();y&&c.push(y)}for(var p=function(A){for(var w=A.length-1;w>=0;w--){var I=A[w];I()}A.splice(0,A.length)},m=c.length-1;m>=0;m--){var b=c[m],E=b._private;if(E.stopped){c.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,p(E.frames);continue}!E.playing&&!E.applying||(E.playing&&E.applying&&(E.applying=!1),E.started||kd(v,b,t),Rd(v,b,t,f),E.applying&&(E.applying=!1),p(E.frames),E.step!=null&&E.step(t),b.completed()&&(c.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,p(E.completes)),g=!0)}return!f&&c.length===0&&d.length===0&&a.push(v),g}for(var i=!1,o=0;o<r.length;o++){var s=r[o],u=n(s);i=i||u}var l=n(e,!0);(i||l)&&(r.length>0?e.notify("draw",r):e.notify("draw")),r.unmerge(a),e.emit("step")}var Pd={animate:ft.animate(),animation:ft.animation(),animated:ft.animated(),clearQueue:ft.clearQueue(),delay:ft.delay(),delayAnimation:ft.delayAnimation(),stop:ft.stop(),addToAnimationPool:function(e){var r=this;r.styleEnabled()&&r._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,!e.styleEnabled())return;function r(){e._private.animationsRunning&&vn(function(i){_s(i,e),r()})}var a=e.renderer();a&&a.beforeRender?a.beforeRender(function(i,o){_s(o,e)},a.beforeRenderPriorities.animations):r()}},Bd={qualifierCompare:function(e,r){return e==null||r==null?e==null&&r==null:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return n!=null?e!==a.target&&Ae(a.target)&&n.matches(a.target):!0},addEventFields:function(e,r){r.cy=e,r.target=e},callbackContext:function(e,r,a){return r.qualifier!=null?a.target:e}},Fn=function(e){return j(e)?new Dr(e):e},Us={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Nn(Bd,this)),this},emitter:function(){return this._private.emitter},on:function(e,r,a){return this.emitter().on(e,Fn(r),a),this},removeListener:function(e,r,a){return this.emitter().removeListener(e,Fn(r),a),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,r,a){return this.emitter().one(e,Fn(r),a),this},once:function(e,r,a){return this.emitter().one(e,Fn(r),a),this},emit:function(e,r){return this.emitter().emit(e,r),this},emitAndNotify:function(e,r){return this.emit(e),this.notify(e,r),this}};ft.eventAliasesOn(Us);var Ni={png:function(e){var r=this._private.renderer;return e=e||{},r.png(e)},jpg:function(e){var r=this._private.renderer;return e=e||{},e.bg=e.bg||"#fff",r.jpg(e)}};Ni.jpeg=Ni.jpg;var Gn={layout:function(e){var r=this;if(e==null){xt("Layout options must be specified to make a layout");return}if(e.name==null){xt("A `name` must be specified to make a layout");return}var a=e.name,n=r.extension("layout",a);if(n==null){xt("No such layout `"+a+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var i;j(e.eles)?i=r.$(e.eles):i=e.eles!=null?e.eles:r.$();var o=new n(Ue({},e,{cy:r,eles:i}));return o}};Gn.createLayout=Gn.makeLayout=Gn.layout;var Fd={notify:function(e,r){var a=this._private;if(this.batching()){a.batchNotifications=a.batchNotifications||{};var n=a.batchNotifications[e]=a.batchNotifications[e]||this.collection();r!=null&&n.merge(r);return}if(a.notificationsEnabled){var i=this.renderer();this.destroyed()||!i||i.notify(e,r)}},notifications:function(e){var r=this._private;return e===void 0?r.notificationsEnabled:(r.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return e.batchCount==null&&(e.batchCount=0),e.batchCount===0&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(e.batchCount===0)return this;if(e.batchCount--,e.batchCount===0){e.batchStyleEles.updateStyle();var r=this.renderer();Object.keys(e.batchNotifications).forEach(function(a){var n=e.batchNotifications[a];n.empty()?r.notify(a):r.notify(a,n)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var r=this;return this.batch(function(){for(var a=Object.keys(e),n=0;n<a.length;n++){var i=a[n],o=e[i],s=r.getElementById(i);s.data(o)}})}},Gd=Lt({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),Mi={renderTo:function(e,r,a,n){var i=this._private.renderer;return i.renderTo(e,r,a,n),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(e){var r=this,a=r.extension("renderer",e.name);if(a==null){xt("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}e.wheelSensitivity!==void 0&&vt("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var n=Gd(e);n.cy=r,r._private.renderer=new a(n),this.notify("init")},destroyRenderer:function(){var e=this;e.notify("destroy");var r=e.container();if(r)for(r._cyreg=null;r.childNodes.length>0;)r.removeChild(r.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(a){var n=a._private;n.rscratch={},n.rstyle={},n.animation.current=[],n.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Mi.invalidateDimensions=Mi.resize;var zn={collection:function(e,r){return j(e)?this.$(e):ge(e)?e.collection():te(e)?(r||(r={}),new Ot(this,e,r.unique,r.removed)):new Ot(this)},nodes:function(e){var r=this.$(function(a){return a.isNode()});return e?r.filter(e):r},edges:function(e){var r=this.$(function(a){return a.isEdge()});return e?r.filter(e):r},$:function(e){var r=this._private.elements;return e?r.filter(e):r.spawnSelf()},mutableElements:function(){return this._private.elements}};zn.elements=zn.filter=zn.$;var Bt={},Wa="t",zd="f";Bt.apply=function(t){for(var e=this,r=e._private,a=r.cy,n=a.collection(),i=0;i<t.length;i++){var o=t[i],s=e.getContextMeta(o);if(!s.empty){var u=e.getContextStyle(s),l=e.applyContextStyle(s,u,o);o._private.appliedInitStyle?e.updateTransitions(o,l.diffProps):o._private.appliedInitStyle=!0;var v=e.updateStyleHints(o);v&&n.push(o)}}return n},Bt.getPropertiesDiff=function(t,e){var r=this,a=r._private.propDiffs=r._private.propDiffs||{},n=t+"-"+e,i=a[n];if(i)return i;for(var o=[],s={},u=0;u<r.length;u++){var l=r[u],v=t[u]===Wa,f=e[u]===Wa,h=v!==f,c=l.mappedProperties.length>0;if(h||f&&c){var d=void 0;h&&c||h?d=l.properties:c&&(d=l.mappedProperties);for(var g=0;g<d.length;g++){for(var y=d[g],p=y.name,m=!1,b=u+1;b<r.length;b++){var E=r[b],M=e[b]===Wa;if(M&&(m=E.properties[y.name]!=null,m))break}!s[p]&&!m&&(s[p]=!0,o.push(p))}}}return a[n]=o,o},Bt.getContextMeta=function(t){for(var e=this,r="",a,n=t._private.styleCxtKey||"",i=0;i<e.length;i++){var o=e[i],s=o.selector&&o.selector.matches(t);s?r+=Wa:r+=zd}return a=e.getPropertiesDiff(n,r),t._private.styleCxtKey=r,{key:r,diffPropNames:a,empty:a.length===0}},Bt.getContextStyle=function(t){var e=t.key,r=this,a=this._private.contextStyles=this._private.contextStyles||{};if(a[e])return a[e];for(var n={_private:{key:e}},i=0;i<r.length;i++){var o=r[i],s=e[i]===Wa;if(s)for(var u=0;u<o.properties.length;u++){var l=o.properties[u];n[l.name]=l}}return a[e]=n,n},Bt.applyContextStyle=function(t,e,r){for(var a=this,n=t.diffPropNames,i={},o=a.types,s=0;s<n.length;s++){var u=n[s],l=e[u],v=r.pstyle(u);if(!l)if(v)v.bypass?l={name:u,deleteBypassed:!0}:l={name:u,delete:!0};else continue;if(v!==l){if(l.mapped===o.fn&&v!=null&&v.mapping!=null&&v.mapping.value===l.value){var f=v.mapping,h=f.fnValue=l.value(r);if(h===f.prevFnValue)continue}var c=i[u]={prev:v};a.applyParsedProperty(r,l),c.next=r.pstyle(u),c.next&&c.next.bypass&&(c.next=c.next.bypassed)}}return{diffProps:i}},Bt.updateStyleHints=function(t){var e=t._private,r=this,a=r.propertyGroupNames,n=r.propertyGroupKeys,i=function(Oe,Ie,He){return r.getPropertiesHash(Oe,Ie,He)},o=e.styleKey;if(t.removed())return!1;var s=e.group==="nodes",u=t._private.style;a=Object.keys(u);for(var l=0;l<n.length;l++){var v=n[l];e.styleKeys[v]=[Qr,Oa]}for(var f=function(Oe,Ie){return e.styleKeys[Ie][0]=Na(Oe,e.styleKeys[Ie][0])},h=function(Oe,Ie){return e.styleKeys[Ie][1]=Ma(Oe,e.styleKeys[Ie][1])},c=function(Oe,Ie){f(Oe,Ie),h(Oe,Ie)},d=function(Oe,Ie){for(var He=0;He<Oe.length;He++){var We=Oe.charCodeAt(He);f(We,Ie),h(We,Ie)}},g=2e9,y=function(Oe){return-128<Oe&&Oe<128&&Math.floor(Oe)!==Oe?g-(Oe*1024|0):Oe},p=0;p<a.length;p++){var m=a[p],b=u[m];if(b!=null){var E=this.properties[m],M=E.type,A=E.groupKey,w=void 0;E.hashOverride!=null?w=E.hashOverride(t,b):b.pfValue!=null&&(w=b.pfValue);var I=E.enums==null?b.value:null,C=w!=null,B=I!=null,F=C||B,R=b.units;if(M.number&&F&&!M.multiple){var X=C?w:I;c(y(X),A),!C&&R!=null&&d(R,A)}else d(b.strValue,A)}}for(var G=[Qr,Oa],re=0;re<n.length;re++){var q=n[re],Z=e.styleKeys[q];G[0]=Na(Z[0],G[0]),G[1]=Ma(Z[1],G[1])}e.styleKey=Yu(G[0],G[1]);var ie=e.styleKeys;e.labelDimsKey=Er(ie.labelDimensions);var se=i(t,["label"],ie.labelDimensions);if(e.labelKey=Er(se),e.labelStyleKey=Er(fn(ie.commonLabel,se)),!s){var de=i(t,["source-label"],ie.labelDimensions);e.sourceLabelKey=Er(de),e.sourceLabelStyleKey=Er(fn(ie.commonLabel,de));var oe=i(t,["target-label"],ie.labelDimensions);e.targetLabelKey=Er(oe),e.targetLabelStyleKey=Er(fn(ie.commonLabel,oe))}if(s){var ce=e.styleKeys,we=ce.nodeBody,Te=ce.nodeBorder,Ee=ce.backgroundImage,ye=ce.compound,ae=ce.pie,xe=[we,Te,Ee,ye,ae].filter(function(Ce){return Ce!=null}).reduce(fn,[Qr,Oa]);e.nodeKey=Er(xe),e.hasPie=ae!=null&&ae[0]!==Qr&&ae[1]!==Oa}return o!==e.styleKey},Bt.clearStyleHints=function(t){var e=t._private;e.styleCxtKey="",e.styleKeys={},e.styleKey=null,e.labelKey=null,e.labelStyleKey=null,e.sourceLabelKey=null,e.sourceLabelStyleKey=null,e.targetLabelKey=null,e.targetLabelStyleKey=null,e.nodeKey=null,e.hasPie=null},Bt.applyParsedProperty=function(t,e){var r=this,a=e,n=t._private.style,i,o=r.types,s=r.properties[a.name].type,u=a.bypass,l=n[a.name],v=l&&l.bypass,f=t._private,h="mapping",c=function(we){return we==null?null:we.pfValue!=null?we.pfValue:we.value},d=function(){var we=c(l),Te=c(a);r.checkTriggers(t,a.name,we,Te)};if(a&&a.name.substr(0,3)==="pie"&&vt("The pie style properties are deprecated. Create charts using background images instead."),e.name==="curve-style"&&t.isEdge()&&(e.value!=="bezier"&&t.isLoop()||e.value==="haystack"&&(t.source().isParent()||t.target().isParent()))&&(a=e=this.parse(e.name,"bezier",u)),a.delete)return n[a.name]=void 0,d(),!0;if(a.deleteBypassed)return l?l.bypass?(l.bypassed=void 0,d(),!0):!1:(d(),!0);if(a.deleteBypass)return l?l.bypass?(n[a.name]=l.bypassed,d(),!0):!1:(d(),!0);var g=function(){vt("Do not assign mappings to elements without corresponding data (i.e. ele `"+t.id()+"` has no mapping for property `"+a.name+"` with data field `"+a.field+"`); try a `["+a.field+"]` selector to limit scope to elements with `"+a.field+"` defined")};switch(a.mapped){case o.mapData:{for(var y=a.field.split("."),p=f.data,m=0;m<y.length&&p;m++){var b=y[m];p=p[b]}if(p==null)return g(),!1;var E;if(k(p)){var M=a.fieldMax-a.fieldMin;M===0?E=0:E=(p-a.fieldMin)/M}else return vt("Do not use continuous mappers without specifying numeric data (i.e. `"+a.field+": "+p+"` for `"+t.id()+"` is non-numeric)"),!1;if(E<0?E=0:E>1&&(E=1),s.color){var A=a.valueMin[0],w=a.valueMax[0],I=a.valueMin[1],C=a.valueMax[1],B=a.valueMin[2],F=a.valueMax[2],R=a.valueMin[3]==null?1:a.valueMin[3],X=a.valueMax[3]==null?1:a.valueMax[3],G=[Math.round(A+(w-A)*E),Math.round(I+(C-I)*E),Math.round(B+(F-B)*E),Math.round(R+(X-R)*E)];i={bypass:a.bypass,name:a.name,value:G,strValue:"rgb("+G[0]+", "+G[1]+", "+G[2]+")"}}else if(s.number){var re=a.valueMin+(a.valueMax-a.valueMin)*E;i=this.parse(a.name,re,a.bypass,h)}else return!1;if(!i)return g(),!1;i.mapping=a,a=i;break}case o.data:{for(var q=a.field.split("."),Z=f.data,ie=0;ie<q.length&&Z;ie++){var se=q[ie];Z=Z[se]}if(Z!=null&&(i=this.parse(a.name,Z,a.bypass,h)),!i)return g(),!1;i.mapping=a,a=i;break}case o.fn:{var de=a.value,oe=a.fnValue!=null?a.fnValue:de(t);if(a.prevFnValue=oe,oe==null)return vt("Custom function mappers may not return null (i.e. `"+a.name+"` for ele `"+t.id()+"` is null)"),!1;if(i=this.parse(a.name,oe,a.bypass,h),!i)return vt("Custom function mappers may not return invalid values for the property type (i.e. `"+a.name+"` for ele `"+t.id()+"` is invalid)"),!1;i.mapping=sr(a),a=i;break}case void 0:break;default:return!1}return u?(v?a.bypassed=l.bypassed:a.bypassed=l,n[a.name]=a):v?l.bypassed=a:n[a.name]=a,d(),!0},Bt.cleanElements=function(t,e){for(var r=0;r<t.length;r++){var a=t[r];if(this.clearStyleHints(a),a.dirtyCompoundBoundsCache(),a.dirtyBoundingBoxCache(),!e)a._private.style={};else for(var n=a._private.style,i=Object.keys(n),o=0;o<i.length;o++){var s=i[o],u=n[s];u!=null&&(u.bypass?u.bypassed=null:n[s]=null)}}},Bt.update=function(){var t=this._private.cy,e=t.mutableElements();e.updateStyle()},Bt.updateTransitions=function(t,e){var r=this,a=t._private,n=t.pstyle("transition-property").value,i=t.pstyle("transition-duration").pfValue,o=t.pstyle("transition-delay").pfValue;if(n.length>0&&i>0){for(var s={},u=!1,l=0;l<n.length;l++){var v=n[l],f=t.pstyle(v),h=e[v];if(h){var c=h.prev,d=c,g=h.next!=null?h.next:f,y=!1,p=void 0,m=1e-6;d&&(k(d.pfValue)&&k(g.pfValue)?(y=g.pfValue-d.pfValue,p=d.pfValue+m*y):k(d.value)&&k(g.value)?(y=g.value-d.value,p=d.value+m*y):te(d.value)&&te(g.value)&&(y=d.value[0]!==g.value[0]||d.value[1]!==g.value[1]||d.value[2]!==g.value[2],p=d.strValue),y&&(s[v]=g.strValue,this.applyBypass(t,v,p),u=!0))}}if(!u)return;a.transitioning=!0,new ia(function(b){o>0?t.delayAnimation(o).play().promise().then(b):b()}).then(function(){return t.animation({style:s,duration:i,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1})}else a.transitioning&&(this.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1)},Bt.checkTrigger=function(t,e,r,a,n,i){var o=this.properties[e],s=n(o);s!=null&&s(r,a)&&i(o)},Bt.checkZOrderTrigger=function(t,e,r,a){var n=this;this.checkTrigger(t,e,r,a,function(i){return i.triggersZOrder},function(){n._private.cy.notify("zorder",t)})},Bt.checkBoundsTrigger=function(t,e,r,a){this.checkTrigger(t,e,r,a,function(n){return n.triggersBounds},function(n){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),n.triggersBoundsOfParallelBeziers&&(e==="curve-style"&&(r==="bezier"||a==="bezier")||e==="display"&&(r==="none"||a==="none"))&&t.parallelEdges().forEach(function(i){i.isBundledBezier()&&i.dirtyBoundingBoxCache()})})},Bt.checkTriggers=function(t,e,r,a){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,r,a),this.checkBoundsTrigger(t,e,r,a)};var qa={};qa.applyBypass=function(t,e,r,a){var n=this,i=[],o=!0;if(e==="*"||e==="**"){if(r!==void 0)for(var s=0;s<n.properties.length;s++){var u=n.properties[s],l=u.name,v=this.parse(l,r,!0);v&&i.push(v)}}else if(j(e)){var f=this.parse(e,r,!0);f&&i.push(f)}else if(L(e)){var h=e;a=r;for(var c=Object.keys(h),d=0;d<c.length;d++){var g=c[d],y=h[g];if(y===void 0&&(y=h[pt(g)]),y!==void 0){var p=this.parse(g,y,!0);p&&i.push(p)}}}else return!1;if(i.length===0)return!1;for(var m=!1,b=0;b<t.length;b++){for(var E=t[b],M={},A=void 0,w=0;w<i.length;w++){var I=i[w];if(a){var C=E.pstyle(I.name);A=M[I.name]={prev:C}}m=this.applyParsedProperty(E,sr(I))||m,a&&(A.next=E.pstyle(I.name))}m&&this.updateStyleHints(E),a&&this.updateTransitions(E,M,o)}return m},qa.overrideBypass=function(t,e,r){e=je(e);for(var a=0;a<t.length;a++){var n=t[a],i=n._private.style[e],o=this.properties[e].type,s=o.color,u=o.mutiple,l=i?i.pfValue!=null?i.pfValue:i.value:null;!i||!i.bypass?this.applyBypass(n,e,r):(i.value=r,i.pfValue!=null&&(i.pfValue=r),s?i.strValue="rgb("+r.join(",")+")":u?i.strValue=r.join(" "):i.strValue=""+r,this.updateStyleHints(n)),this.checkTriggers(n,e,l,r)}},qa.removeAllBypasses=function(t,e){return this.removeBypasses(t,this.propertyNames,e)},qa.removeBypasses=function(t,e,r){for(var a=!0,n=0;n<t.length;n++){for(var i=t[n],o={},s=0;s<e.length;s++){var u=e[s],l=this.properties[u],v=i.pstyle(l.name);if(!(!v||!v.bypass)){var f="",h=this.parse(u,f,!0),c=o[l.name]={prev:v};this.applyParsedProperty(i,h),c.next=i.pstyle(l.name)}}this.updateStyleHints(i),r&&this.updateTransitions(i,o,a)}};var Ii={};Ii.getEmSizeInPixels=function(){var t=this.containerCss("font-size");return t!=null?parseFloat(t):1},Ii.containerCss=function(t){var e=this._private.cy,r=e.container();if(D&&r&&D.getComputedStyle)return D.getComputedStyle(r).getPropertyValue(t)};var ur={};ur.getRenderedStyle=function(t,e){return e?this.getStylePropertyValue(t,e,!0):this.getRawStyle(t,!0)},ur.getRawStyle=function(t,e){var r=this;if(t=t[0],t){for(var a={},n=0;n<r.properties.length;n++){var i=r.properties[n],o=r.getStylePropertyValue(t,i.name,e);o!=null&&(a[i.name]=o,a[pt(i.name)]=o)}return a}},ur.getIndexedStyle=function(t,e,r,a){var n=t.pstyle(e)[r][a];return n??t.cy().style().getDefaultProperty(e)[r][0]},ur.getStylePropertyValue=function(t,e,r){var a=this;if(t=t[0],t){var n=a.properties[e];n.alias&&(n=n.pointsTo);var i=n.type,o=t.pstyle(n.name);if(o){var s=o.value,u=o.units,l=o.strValue;if(r&&i.number&&s!=null&&k(s)){var v=t.cy().zoom(),f=function(y){return y*v},h=function(y,p){return f(y)+p},c=te(s),d=c?u.every(function(g){return g!=null}):u!=null;return d?c?s.map(function(g,y){return h(g,u[y])}).join(" "):h(s,u):c?s.map(function(g){return j(g)?g:""+f(g)}).join(" "):""+f(s)}else if(l!=null)return l}return null}},ur.getAnimationStartStyle=function(t,e){for(var r={},a=0;a<e.length;a++){var n=e[a],i=n.name,o=t.pstyle(i);o!==void 0&&(L(o)?o=this.parse(i,o.strValue):o=this.parse(i,o)),o&&(r[i]=o)}return r},ur.getPropsList=function(t){var e=this,r=[],a=t,n=e.properties;if(a)for(var i=Object.keys(a),o=0;o<i.length;o++){var s=i[o],u=a[s],l=n[s]||n[je(s)],v=this.parse(l.name,u);v&&r.push(v)}return r},ur.getNonDefaultPropertiesHash=function(t,e,r){var a=r.slice(),n,i,o,s,u,l;for(u=0;u<e.length;u++)if(n=e[u],i=t.pstyle(n,!1),i!=null)if(i.pfValue!=null)a[0]=Na(s,a[0]),a[1]=Ma(s,a[1]);else for(o=i.strValue,l=0;l<o.length;l++)s=o.charCodeAt(l),a[0]=Na(s,a[0]),a[1]=Ma(s,a[1]);return a},ur.getPropertiesHash=ur.getNonDefaultPropertiesHash;var $n={};$n.appendFromJson=function(t){for(var e=this,r=0;r<t.length;r++){var a=t[r],n=a.selector,i=a.style||a.css,o=Object.keys(i);e.selector(n);for(var s=0;s<o.length;s++){var u=o[s],l=i[u];e.css(u,l)}}return e},$n.fromJson=function(t){var e=this;return e.resetToDefault(),e.appendFromJson(t),e},$n.json=function(){for(var t=[],e=this.defaultLength;e<this.length;e++){for(var r=this[e],a=r.selector,n=r.properties,i={},o=0;o<n.length;o++){var s=n[o];i[s.name]=s.strValue}t.push({selector:a?a.toString():"core",style:i})}return t};var Ri={};Ri.appendFromString=function(t){var e=this,r=this,a=""+t,n,i,o;a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");function s(){a.length>n.length?a=a.substr(n.length):a=""}function u(){i.length>o.length?i=i.substr(o.length):i=""}for(;;){var l=a.match(/^\s*$/);if(l)break;var v=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!v){vt("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}n=v[0];var f=v[1];if(f!=="core"){var h=new Dr(f);if(h.invalid){vt("Skipping parsing of block: Invalid selector found in string stylesheet: "+f),s();continue}}var c=v[2],d=!1;i=c;for(var g=[];;){var y=i.match(/^\s*$/);if(y)break;var p=i.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){vt("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+c),d=!0;break}o=p[0];var m=p[1],b=p[2],E=e.properties[m];if(!E){vt("Skipping property: Invalid property name in: "+o),u();continue}var M=r.parse(m,b);if(!M){vt("Skipping property: Invalid property definition in: "+o),u();continue}g.push({name:m,val:b}),u()}if(d){s();break}r.selector(f);for(var A=0;A<g.length;A++){var w=g[A];r.css(w.name,w.val)}s()}return r},Ri.fromString=function(t){var e=this;return e.resetToDefault(),e.appendFromString(t),e};var Nt={};(function(){var t=ct,e=Wt,r=Kr,a=Da,n=jt,i=function(xe){return"^"+xe+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},o=function(xe){var Ce=t+"|\\w+|"+e+"|"+r+"|"+a+"|"+n;return"^"+xe+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+t+")\\s*\\,\\s*("+t+")\\s*,\\s*("+Ce+")\\s*\\,\\s*("+Ce+")\\)$"},s=[`^url\\s*\\(\\s*['"]?(.+?)['"]?\\s*\\)$`,"^(none)$","^(.+)$"];Nt.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:i("data")},layoutData:{mapping:!0,regex:i("layoutData")},scratch:{mapping:!0,regex:i("scratch")},mapData:{mapping:!0,regex:o("mapData")},mapLayoutData:{mapping:!0,regex:o("mapLayoutData")},mapScratch:{mapping:!0,regex:o("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:s,singleRegexMatchValue:!0},urls:{regexes:s,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(xe,Ce){switch(xe.length){case 2:return Ce[0]!=="deg"&&Ce[0]!=="rad"&&Ce[1]!=="deg"&&Ce[1]!=="rad";case 1:return j(xe[0])||Ce[0]==="deg"||Ce[0]==="rad";default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(xe){var Ce=xe.length;return Ce===1||Ce===2||Ce===4}}};var u={zeroNonZero:function(xe,Ce){return(xe==null||Ce==null)&&xe!==Ce||xe==0&&Ce!=0?!0:xe!=0&&Ce==0},any:function(xe,Ce){return xe!=Ce},emptyNonEmpty:function(xe,Ce){var Oe=Pe(xe),Ie=Pe(Ce);return Oe&&!Ie||!Oe&&Ie}},l=Nt.types,v=[{name:"label",type:l.text,triggersBounds:u.any,triggersZOrder:u.emptyNonEmpty},{name:"text-rotation",type:l.textRotation,triggersBounds:u.any},{name:"text-margin-x",type:l.bidirectionalSize,triggersBounds:u.any},{name:"text-margin-y",type:l.bidirectionalSize,triggersBounds:u.any}],f=[{name:"source-label",type:l.text,triggersBounds:u.any},{name:"source-text-rotation",type:l.textRotation,triggersBounds:u.any},{name:"source-text-margin-x",type:l.bidirectionalSize,triggersBounds:u.any},{name:"source-text-margin-y",type:l.bidirectionalSize,triggersBounds:u.any},{name:"source-text-offset",type:l.size,triggersBounds:u.any}],h=[{name:"target-label",type:l.text,triggersBounds:u.any},{name:"target-text-rotation",type:l.textRotation,triggersBounds:u.any},{name:"target-text-margin-x",type:l.bidirectionalSize,triggersBounds:u.any},{name:"target-text-margin-y",type:l.bidirectionalSize,triggersBounds:u.any},{name:"target-text-offset",type:l.size,triggersBounds:u.any}],c=[{name:"font-family",type:l.fontFamily,triggersBounds:u.any},{name:"font-style",type:l.fontStyle,triggersBounds:u.any},{name:"font-weight",type:l.fontWeight,triggersBounds:u.any},{name:"font-size",type:l.size,triggersBounds:u.any},{name:"text-transform",type:l.textTransform,triggersBounds:u.any},{name:"text-wrap",type:l.textWrap,triggersBounds:u.any},{name:"text-overflow-wrap",type:l.textOverflowWrap,triggersBounds:u.any},{name:"text-max-width",type:l.size,triggersBounds:u.any},{name:"text-outline-width",type:l.size,triggersBounds:u.any},{name:"line-height",type:l.positiveNumber,triggersBounds:u.any}],d=[{name:"text-valign",type:l.valign,triggersBounds:u.any},{name:"text-halign",type:l.halign,triggersBounds:u.any},{name:"color",type:l.color},{name:"text-outline-color",type:l.color},{name:"text-outline-opacity",type:l.zeroOneNumber},{name:"text-background-color",type:l.color},{name:"text-background-opacity",type:l.zeroOneNumber},{name:"text-background-padding",type:l.size,triggersBounds:u.any},{name:"text-border-opacity",type:l.zeroOneNumber},{name:"text-border-color",type:l.color},{name:"text-border-width",type:l.size,triggersBounds:u.any},{name:"text-border-style",type:l.borderStyle,triggersBounds:u.any},{name:"text-background-shape",type:l.textBackgroundShape,triggersBounds:u.any},{name:"text-justification",type:l.justification}],g=[{name:"events",type:l.bool},{name:"text-events",type:l.bool}],y=[{name:"display",type:l.display,triggersZOrder:u.any,triggersBounds:u.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:l.visibility,triggersZOrder:u.any},{name:"opacity",type:l.zeroOneNumber,triggersZOrder:u.zeroNonZero},{name:"text-opacity",type:l.zeroOneNumber},{name:"min-zoomed-font-size",type:l.size},{name:"z-compound-depth",type:l.zCompoundDepth,triggersZOrder:u.any},{name:"z-index-compare",type:l.zIndexCompare,triggersZOrder:u.any},{name:"z-index",type:l.nonNegativeInt,triggersZOrder:u.any}],p=[{name:"overlay-padding",type:l.size,triggersBounds:u.any},{name:"overlay-color",type:l.color},{name:"overlay-opacity",type:l.zeroOneNumber,triggersBounds:u.zeroNonZero},{name:"overlay-shape",type:l.overlayShape,triggersBounds:u.any}],m=[{name:"underlay-padding",type:l.size,triggersBounds:u.any},{name:"underlay-color",type:l.color},{name:"underlay-opacity",type:l.zeroOneNumber,triggersBounds:u.zeroNonZero},{name:"underlay-shape",type:l.overlayShape,triggersBounds:u.any}],b=[{name:"transition-property",type:l.propList},{name:"transition-duration",type:l.time},{name:"transition-delay",type:l.time},{name:"transition-timing-function",type:l.easing}],E=function(xe,Ce){return Ce.value==="label"?-xe.poolIndex():Ce.pfValue},M=[{name:"height",type:l.nodeSize,triggersBounds:u.any,hashOverride:E},{name:"width",type:l.nodeSize,triggersBounds:u.any,hashOverride:E},{name:"shape",type:l.nodeShape,triggersBounds:u.any},{name:"shape-polygon-points",type:l.polygonPointList,triggersBounds:u.any},{name:"background-color",type:l.color},{name:"background-fill",type:l.fill},{name:"background-opacity",type:l.zeroOneNumber},{name:"background-blacken",type:l.nOneOneNumber},{name:"background-gradient-stop-colors",type:l.colors},{name:"background-gradient-stop-positions",type:l.percentages},{name:"background-gradient-direction",type:l.gradientDirection},{name:"padding",type:l.sizeMaybePercent,triggersBounds:u.any},{name:"padding-relative-to",type:l.paddingRelativeTo,triggersBounds:u.any},{name:"bounds-expansion",type:l.boundsExpansion,triggersBounds:u.any}],A=[{name:"border-color",type:l.color},{name:"border-opacity",type:l.zeroOneNumber},{name:"border-width",type:l.size,triggersBounds:u.any},{name:"border-style",type:l.borderStyle}],w=[{name:"background-image",type:l.urls},{name:"background-image-crossorigin",type:l.bgCrossOrigin},{name:"background-image-opacity",type:l.zeroOneNumbers},{name:"background-image-containment",type:l.bgContainment},{name:"background-image-smoothing",type:l.bools},{name:"background-position-x",type:l.bgPos},{name:"background-position-y",type:l.bgPos},{name:"background-width-relative-to",type:l.bgRelativeTo},{name:"background-height-relative-to",type:l.bgRelativeTo},{name:"background-repeat",type:l.bgRepeat},{name:"background-fit",type:l.bgFit},{name:"background-clip",type:l.bgClip},{name:"background-width",type:l.bgWH},{name:"background-height",type:l.bgWH},{name:"background-offset-x",type:l.bgPos},{name:"background-offset-y",type:l.bgPos}],I=[{name:"position",type:l.position,triggersBounds:u.any},{name:"compound-sizing-wrt-labels",type:l.compoundIncludeLabels,triggersBounds:u.any},{name:"min-width",type:l.size,triggersBounds:u.any},{name:"min-width-bias-left",type:l.sizeMaybePercent,triggersBounds:u.any},{name:"min-width-bias-right",type:l.sizeMaybePercent,triggersBounds:u.any},{name:"min-height",type:l.size,triggersBounds:u.any},{name:"min-height-bias-top",type:l.sizeMaybePercent,triggersBounds:u.any},{name:"min-height-bias-bottom",type:l.sizeMaybePercent,triggersBounds:u.any}],C=[{name:"line-style",type:l.lineStyle},{name:"line-color",type:l.color},{name:"line-fill",type:l.fill},{name:"line-cap",type:l.lineCap},{name:"line-opacity",type:l.zeroOneNumber},{name:"line-dash-pattern",type:l.numbers},{name:"line-dash-offset",type:l.number},{name:"line-gradient-stop-colors",type:l.colors},{name:"line-gradient-stop-positions",type:l.percentages},{name:"curve-style",type:l.curveStyle,triggersBounds:u.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:l.zeroOneNumber,triggersBounds:u.any},{name:"source-endpoint",type:l.edgeEndpoint,triggersBounds:u.any},{name:"target-endpoint",type:l.edgeEndpoint,triggersBounds:u.any},{name:"control-point-step-size",type:l.size,triggersBounds:u.any},{name:"control-point-distances",type:l.bidirectionalSizes,triggersBounds:u.any},{name:"control-point-weights",type:l.numbers,triggersBounds:u.any},{name:"segment-distances",type:l.bidirectionalSizes,triggersBounds:u.any},{name:"segment-weights",type:l.numbers,triggersBounds:u.any},{name:"taxi-turn",type:l.bidirectionalSizeMaybePercent,triggersBounds:u.any},{name:"taxi-turn-min-distance",type:l.size,triggersBounds:u.any},{name:"taxi-direction",type:l.axisDirection,triggersBounds:u.any},{name:"edge-distances",type:l.edgeDistances,triggersBounds:u.any},{name:"arrow-scale",type:l.positiveNumber,triggersBounds:u.any},{name:"loop-direction",type:l.angle,triggersBounds:u.any},{name:"loop-sweep",type:l.angle,triggersBounds:u.any},{name:"source-distance-from-node",type:l.size,triggersBounds:u.any},{name:"target-distance-from-node",type:l.size,triggersBounds:u.any}],B=[{name:"ghost",type:l.bool,triggersBounds:u.any},{name:"ghost-offset-x",type:l.bidirectionalSize,triggersBounds:u.any},{name:"ghost-offset-y",type:l.bidirectionalSize,triggersBounds:u.any},{name:"ghost-opacity",type:l.zeroOneNumber}],F=[{name:"selection-box-color",type:l.color},{name:"selection-box-opacity",type:l.zeroOneNumber},{name:"selection-box-border-color",type:l.color},{name:"selection-box-border-width",type:l.size},{name:"active-bg-color",type:l.color},{name:"active-bg-opacity",type:l.zeroOneNumber},{name:"active-bg-size",type:l.size},{name:"outside-texture-bg-color",type:l.color},{name:"outside-texture-bg-opacity",type:l.zeroOneNumber}],R=[];Nt.pieBackgroundN=16,R.push({name:"pie-size",type:l.sizeMaybePercent});for(var X=1;X<=Nt.pieBackgroundN;X++)R.push({name:"pie-"+X+"-background-color",type:l.color}),R.push({name:"pie-"+X+"-background-size",type:l.percent}),R.push({name:"pie-"+X+"-background-opacity",type:l.zeroOneNumber});var G=[],re=Nt.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:l.arrowShape,triggersBounds:u.any},{name:"arrow-color",type:l.color},{name:"arrow-fill",type:l.arrowFill}].forEach(function(ae){re.forEach(function(xe){var Ce=xe+"-"+ae.name,Oe=ae.type,Ie=ae.triggersBounds;G.push({name:Ce,type:Oe,triggersBounds:Ie})})},{});var q=Nt.properties=[].concat(g,b,y,p,m,B,d,c,v,f,h,M,A,w,R,I,C,G,F),Z=Nt.propertyGroups={behavior:g,transition:b,visibility:y,overlay:p,underlay:m,ghost:B,commonLabel:d,labelDimensions:c,mainLabel:v,sourceLabel:f,targetLabel:h,nodeBody:M,nodeBorder:A,backgroundImage:w,pie:R,compound:I,edgeLine:C,edgeArrow:G,core:F},ie=Nt.propertyGroupNames={},se=Nt.propertyGroupKeys=Object.keys(Z);se.forEach(function(ae){ie[ae]=Z[ae].map(function(xe){return xe.name}),Z[ae].forEach(function(xe){return xe.groupKey=ae})});var de=Nt.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];Nt.propertyNames=q.map(function(ae){return ae.name});for(var oe=0;oe<q.length;oe++){var ce=q[oe];q[ce.name]=ce}for(var we=0;we<de.length;we++){var Te=de[we],Ee=q[Te.pointsTo],ye={name:Te.name,alias:!0,pointsTo:Ee};q.push(ye),q[Te.name]=ye}})(),Nt.getDefaultProperty=function(t){return this.getDefaultProperties()[t]},Nt.getDefaultProperties=function(){var t=this._private;if(t.defaultProperties!=null)return t.defaultProperties;for(var e=Ue({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce(function(u,l){for(var v=1;v<=Nt.pieBackgroundN;v++){var f=l.name.replace("{{i}}",v),h=l.value;u[f]=h}return u},{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce(function(u,l){return Nt.arrowPrefixes.forEach(function(v){var f=v+"-"+l.name,h=l.value;u[f]=h}),u},{})),r={},a=0;a<this.properties.length;a++){var n=this.properties[a];if(!n.pointsTo){var i=n.name,o=e[i],s=this.parse(i,o);r[i]=s}}return t.defaultProperties=r,t.defaultProperties},Nt.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var Vn={};Vn.parse=function(t,e,r,a){var n=this;if(Y(e))return n.parseImplWarn(t,e,r,a);var i=a==="mapping"||a===!0||a===!1||a==null?"dontcare":a,o=r?"t":"f",s=""+e,u=uo(t,s,o,i),l=n.propCache=n.propCache||[],v;return(v=l[u])||(v=l[u]=n.parseImplWarn(t,e,r,a)),(r||a==="mapping")&&(v=sr(v),v&&(v.value=sr(v.value))),v},Vn.parseImplWarn=function(t,e,r,a){var n=this.parseImpl(t,e,r,a);return!n&&e!=null&&vt("The style property `".concat(t,": ").concat(e,"` is invalid")),n&&(n.name==="width"||n.name==="height")&&e==="label"&&vt("The style value of `label` is deprecated for `"+n.name+"`"),n},Vn.parseImpl=function(t,e,r,a){var n=this;t=je(t);var i=n.properties[t],o=e,s=n.types;if(!i||e===void 0)return null;i.alias&&(i=i.pointsTo,t=i.name);var u=j(e);u&&(e=e.trim());var l=i.type;if(!l)return null;if(r&&(e===""||e===null))return{name:t,value:e,bypass:!0,deleteBypass:!0};if(Y(e))return{name:t,value:e,strValue:"fn",mapped:s.fn,bypass:r};var v,f;if(!(!u||a||e.length<7||e[1]!=="a")){if(e.length>=7&&e[0]==="d"&&(v=new RegExp(s.data.regex).exec(e))){if(r)return!1;var h=s.data;return{name:t,value:v,strValue:""+e,mapped:h,field:v[1],bypass:r}}else if(e.length>=10&&e[0]==="m"&&(f=new RegExp(s.mapData.regex).exec(e))){if(r||l.multiple)return!1;var c=s.mapData;if(!(l.color||l.number))return!1;var d=this.parse(t,f[4]);if(!d||d.mapped)return!1;var g=this.parse(t,f[5]);if(!g||g.mapped)return!1;if(d.pfValue===g.pfValue||d.strValue===g.strValue)return vt("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+d.strValue+"`"),this.parse(t,d.strValue);if(l.color){var y=d.value,p=g.value,m=y[0]===p[0]&&y[1]===p[1]&&y[2]===p[2]&&(y[3]===p[3]||(y[3]==null||y[3]===1)&&(p[3]==null||p[3]===1));if(m)return!1}return{name:t,value:f,strValue:""+e,mapped:c,field:f[1],fieldMin:parseFloat(f[2]),fieldMax:parseFloat(f[3]),valueMin:d.value,valueMax:g.value,bypass:r}}}if(l.multiple&&a!=="multiple"){var b;if(u?b=e.split(/\s+/):te(e)?b=e:b=[e],l.evenMultiple&&b.length%2!==0)return null;for(var E=[],M=[],A=[],w="",I=!1,C=0;C<b.length;C++){var B=n.parse(t,b[C],r,"multiple");I=I||j(B.value),E.push(B.value),A.push(B.pfValue!=null?B.pfValue:B.value),M.push(B.units),w+=(C>0?" ":"")+B.strValue}return l.validate&&!l.validate(E,M)?null:l.singleEnum&&I?E.length===1&&j(E[0])?{name:t,value:E[0],strValue:E[0],bypass:r}:null:{name:t,value:E,pfValue:A,strValue:w,bypass:r,units:M}}var F=function(){for(var Ce=0;Ce<l.enums.length;Ce++){var Oe=l.enums[Ce];if(Oe===e)return{name:t,value:e,strValue:""+e,bypass:r}}return null};if(l.number){var R,X="px";if(l.units&&(R=l.units),l.implicitUnits&&(X=l.implicitUnits),!l.unitless)if(u){var G="px|em"+(l.allowPercent?"|\\%":"");R&&(G=R);var re=e.match("^("+ct+")("+G+")?$");re&&(e=re[1],R=re[2]||X)}else(!R||l.implicitUnits)&&(R=X);if(e=parseFloat(e),isNaN(e)&&l.enums===void 0)return null;if(isNaN(e)&&l.enums!==void 0)return e=o,F();if(l.integer&&!W(e)||l.min!==void 0&&(e<l.min||l.strictMin&&e===l.min)||l.max!==void 0&&(e>l.max||l.strictMax&&e===l.max))return null;var q={name:t,value:e,strValue:""+e+(R||""),units:R,bypass:r};return l.unitless||R!=="px"&&R!=="em"?q.pfValue=e:q.pfValue=R==="px"||!R?e:this.getEmSizeInPixels()*e,(R==="ms"||R==="s")&&(q.pfValue=R==="ms"?e:1e3*e),(R==="deg"||R==="rad")&&(q.pfValue=R==="rad"?e:Ev(e)),R==="%"&&(q.pfValue=e/100),q}else if(l.propList){var Z=[],ie=""+e;if(ie!=="none"){for(var se=ie.split(/\s*,\s*|\s+/),de=0;de<se.length;de++){var oe=se[de].trim();n.properties[oe]?Z.push(oe):vt("`"+oe+"` is not a valid property name")}if(Z.length===0)return null}return{name:t,value:Z,strValue:Z.length===0?"none":Z.join(" "),bypass:r}}else if(l.color){var ce=au(e);return ce?{name:t,value:ce,pfValue:ce,strValue:"rgb("+ce[0]+","+ce[1]+","+ce[2]+")",bypass:r}:null}else if(l.regex||l.regexes){if(l.enums){var we=F();if(we)return we}for(var Te=l.regexes?l.regexes:[l.regex],Ee=0;Ee<Te.length;Ee++){var ye=new RegExp(Te[Ee]),ae=ye.exec(e);if(ae)return{name:t,value:l.singleRegexMatchValue?ae[1]:ae,strValue:""+e,bypass:r}}return null}else return l.string?{name:t,value:""+e,strValue:""+e,bypass:r}:l.enums?F():null};var Ft=function t(e){if(!(this instanceof t))return new t(e);if(!_e(e)){xt("A style must have a core reference");return}this._private={cy:e,coreStyle:{}},this.length=0,this.resetToDefault()},Gt=Ft.prototype;Gt.instanceString=function(){return"style"},Gt.clear=function(){for(var t=this._private,e=t.cy,r=e.elements(),a=0;a<this.length;a++)this[a]=void 0;return this.length=0,t.contextStyles={},t.propDiffs={},this.cleanElements(r,!0),r.forEach(function(n){var i=n[0]._private;i.styleDirty=!0,i.appliedInitStyle=!1}),this},Gt.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},Gt.core=function(t){return this._private.coreStyle[t]||this.getDefaultProperty(t)},Gt.selector=function(t){var e=t==="core"?null:new Dr(t),r=this.length++;return this[r]={selector:e,properties:[],mappedProperties:[],index:r},this},Gt.css=function(){var t=this,e=arguments;if(e.length===1)for(var r=e[0],a=0;a<t.properties.length;a++){var n=t.properties[a],i=r[n.name];i===void 0&&(i=r[pt(n.name)]),i!==void 0&&this.cssRule(n.name,i)}else e.length===2&&this.cssRule(e[0],e[1]);return this},Gt.style=Gt.css,Gt.cssRule=function(t,e){var r=this.parse(t,e);if(r){var a=this.length-1;this[a].properties.push(r),this[a].properties[r.name]=r,r.name.match(/pie-(\d+)-background-size/)&&r.value&&(this._private.hasPie=!0),r.mapped&&this[a].mappedProperties.push(r);var n=!this[a].selector;n&&(this._private.coreStyle[r.name]=r)}return this},Gt.append=function(t){return tt(t)?t.appendToStyle(this):te(t)?this.appendFromJson(t):j(t)&&this.appendFromString(t),this},Ft.fromJson=function(t,e){var r=new Ft(t);return r.fromJson(e),r},Ft.fromString=function(t,e){return new Ft(t).fromString(e)},[Bt,qa,Ii,ur,$n,Ri,Nt,Vn].forEach(function(t){Ue(Gt,t)}),Ft.types=Gt.types,Ft.properties=Gt.properties,Ft.propertyGroups=Gt.propertyGroups,Ft.propertyGroupNames=Gt.propertyGroupNames,Ft.propertyGroupKeys=Gt.propertyGroupKeys;var $d={style:function(e){if(e){var r=this.setStyle(e);r.update()}return this._private.style},setStyle:function(e){var r=this._private;return tt(e)?r.style=e.generateStyle(this):te(e)?r.style=Ft.fromJson(this,e):j(e)?r.style=Ft.fromString(this,e):r.style=Ft(this),r.style},updateStyle:function(){this.mutableElements().updateStyle()}},Vd="single",$r={autolock:function(e){if(e!==void 0)this._private.autolock=!!e;else return this._private.autolock;return this},autoungrabify:function(e){if(e!==void 0)this._private.autoungrabify=!!e;else return this._private.autoungrabify;return this},autounselectify:function(e){if(e!==void 0)this._private.autounselectify=!!e;else return this._private.autounselectify;return this},selectionType:function(e){var r=this._private;if(r.selectionType==null&&(r.selectionType=Vd),e!==void 0)(e==="additive"||e==="single")&&(r.selectionType=e);else return r.selectionType;return this},panningEnabled:function(e){if(e!==void 0)this._private.panningEnabled=!!e;else return this._private.panningEnabled;return this},userPanningEnabled:function(e){if(e!==void 0)this._private.userPanningEnabled=!!e;else return this._private.userPanningEnabled;return this},zoomingEnabled:function(e){if(e!==void 0)this._private.zoomingEnabled=!!e;else return this._private.zoomingEnabled;return this},userZoomingEnabled:function(e){if(e!==void 0)this._private.userZoomingEnabled=!!e;else return this._private.userZoomingEnabled;return this},boxSelectionEnabled:function(e){if(e!==void 0)this._private.boxSelectionEnabled=!!e;else return this._private.boxSelectionEnabled;return this},pan:function(){var e=arguments,r=this._private.pan,a,n,i,o,s;switch(e.length){case 0:return r;case 1:if(j(e[0]))return a=e[0],r[a];if(L(e[0])){if(!this._private.panningEnabled)return this;i=e[0],o=i.x,s=i.y,k(o)&&(r.x=o),k(s)&&(r.y=s),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;a=e[0],n=e[1],(a==="x"||a==="y")&&k(n)&&(r[a]=n),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(e,r){var a=arguments,n=this._private.pan,i,o,s,u,l;if(!this._private.panningEnabled)return this;switch(a.length){case 1:L(e)&&(s=a[0],u=s.x,l=s.y,k(u)&&(n.x+=u),k(l)&&(n.y+=l),this.emit("pan viewport"));break;case 2:i=e,o=r,(i==="x"||i==="y")&&k(o)&&(n[i]+=o),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(e,r){var a=this.getFitViewport(e,r);if(a){var n=this._private;n.zoom=a.zoom,n.pan=a.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(e,r){if(k(e)&&r===void 0&&(r=e,e=void 0),!(!this._private.panningEnabled||!this._private.zoomingEnabled)){var a;if(j(e)){var n=e;e=this.$(n)}else if(Xe(e)){var i=e;a={x1:i.x1,y1:i.y1,x2:i.x2,y2:i.y2},a.w=a.x2-a.x1,a.h=a.y2-a.y1}else ge(e)||(e=this.mutableElements());if(!(ge(e)&&e.empty())){a=a||e.boundingBox();var o=this.width(),s=this.height(),u;if(r=k(r)?r:0,!isNaN(o)&&!isNaN(s)&&o>0&&s>0&&!isNaN(a.w)&&!isNaN(a.h)&&a.w>0&&a.h>0){u=Math.min((o-2*r)/a.w,(s-2*r)/a.h),u=u>this._private.maxZoom?this._private.maxZoom:u,u=u<this._private.minZoom?this._private.minZoom:u;var l={x:(o-u*(a.x1+a.x2))/2,y:(s-u*(a.y1+a.y2))/2};return{zoom:u,pan:l}}}}},zoomRange:function(e,r){var a=this._private;if(r==null){var n=e;e=n.min,r=n.max}return k(e)&&k(r)&&e<=r?(a.minZoom=e,a.maxZoom=r):k(e)&&r===void 0&&e<=a.maxZoom?a.minZoom=e:k(r)&&e===void 0&&r>=a.minZoom&&(a.maxZoom=r),this},minZoom:function(e){return e===void 0?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return e===void 0?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var r=this._private,a=r.pan,n=r.zoom,i,o,s=!1;if(r.zoomingEnabled||(s=!0),k(e)?o=e:L(e)&&(o=e.level,e.position!=null?i=dn(e.position,n,a):e.renderedPosition!=null&&(i=e.renderedPosition),i!=null&&!r.panningEnabled&&(s=!0)),o=o>r.maxZoom?r.maxZoom:o,o=o<r.minZoom?r.minZoom:o,s||!k(o)||o===n||i!=null&&(!k(i.x)||!k(i.y)))return null;if(i!=null){var u=a,l=n,v=o,f={x:-v/l*(i.x-u.x)+i.x,y:-v/l*(i.y-u.y)+i.y};return{zoomed:!0,panned:!0,zoom:v,pan:f}}else return{zoomed:!0,panned:!1,zoom:o,pan:a}},zoom:function(e){if(e===void 0)return this._private.zoom;var r=this.getZoomedViewport(e),a=this._private;return r==null||!r.zoomed?this:(a.zoom=r.zoom,r.panned&&(a.pan.x=r.pan.x,a.pan.y=r.pan.y),this.emit("zoom"+(r.panned?" pan":"")+" viewport"),this.notify("viewport"),this)},viewport:function(e){var r=this._private,a=!0,n=!0,i=[],o=!1,s=!1;if(!e)return this;if(k(e.zoom)||(a=!1),L(e.pan)||(n=!1),!a&&!n)return this;if(a){var u=e.zoom;u<r.minZoom||u>r.maxZoom||!r.zoomingEnabled?o=!0:(r.zoom=u,i.push("zoom"))}if(n&&(!o||!e.cancelOnFailedZoom)&&r.panningEnabled){var l=e.pan;k(l.x)&&(r.pan.x=l.x,s=!1),k(l.y)&&(r.pan.y=l.y,s=!1),s||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var r=this.getCenterPan(e);return r&&(this._private.pan=r,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,r){if(this._private.panningEnabled){if(j(e)){var a=e;e=this.mutableElements().filter(a)}else ge(e)||(e=this.mutableElements());if(e.length!==0){var n=e.boundingBox(),i=this.width(),o=this.height();r=r===void 0?this._private.zoom:r;var s={x:(i-r*(n.x1+n.x2))/2,y:(o-r*(n.y1+n.y2))/2};return s}}},reset:function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e=this._private,r=e.container;return e.sizeCache=e.sizeCache||(r?function(){var a=D.getComputedStyle(r),n=function(o){return parseFloat(a.getPropertyValue(o))};return{width:r.clientWidth-n("padding-left")-n("padding-right"),height:r.clientHeight-n("padding-top")-n("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,r=this._private.zoom,a=this.renderedExtent(),n={x1:(a.x1-e.x)/r,x2:(a.x2-e.x)/r,y1:(a.y1-e.y)/r,y2:(a.y2-e.y)/r};return n.w=n.x2-n.x1,n.h=n.y2-n.y1,n},renderedExtent:function(){var e=this.width(),r=this.height();return{x1:0,y1:0,x2:e,y2:r,w:e,h:r}},multiClickDebounceTime:function(e){if(e)this._private.multiClickDebounceTime=e;else return this._private.multiClickDebounceTime;return this}};$r.centre=$r.center,$r.autolockNodes=$r.autolock,$r.autoungrabifyNodes=$r.autoungrabify;var Ka={data:ft.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:ft.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:ft.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ft.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Ka.attr=Ka.data,Ka.removeAttr=Ka.removeData;var Za=function(e){var r=this;e=Ue({},e);var a=e.container;a&&!fe(a)&&fe(a[0])&&(a=a[0]);var n=a?a._cyreg:null;n=n||{},n&&n.cy&&(n.cy.destroy(),n={});var i=n.readies=n.readies||[];a&&(a._cyreg=n),n.cy=r;var o=D!==void 0&&a!==void 0&&!e.headless,s=e;s.layout=Ue({name:o?"grid":"null"},s.layout),s.renderer=Ue({name:o?"canvas":"null"},s.renderer);var u=function(d,g,y){return g!==void 0?g:y!==void 0?y:d},l=this._private={container:a,ready:!1,options:s,elements:new Ot(this),listeners:[],aniEles:new Ot(this),data:s.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:u(!0,s.zoomingEnabled),userZoomingEnabled:u(!0,s.userZoomingEnabled),panningEnabled:u(!0,s.panningEnabled),userPanningEnabled:u(!0,s.userPanningEnabled),boxSelectionEnabled:u(!0,s.boxSelectionEnabled),autolock:u(!1,s.autolock,s.autolockNodes),autoungrabify:u(!1,s.autoungrabify,s.autoungrabifyNodes),autounselectify:u(!1,s.autounselectify),styleEnabled:s.styleEnabled===void 0?o:s.styleEnabled,zoom:k(s.zoom)?s.zoom:1,pan:{x:L(s.pan)&&k(s.pan.x)?s.pan.x:0,y:L(s.pan)&&k(s.pan.y)?s.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:u(250,s.multiClickDebounceTime)};this.createEmitter(),this.selectionType(s.selectionType),this.zoomRange({min:s.minZoom,max:s.maxZoom});var v=function(d,g){var y=d.some(rt);if(y)return ia.all(d).then(g);g(d)};l.styleEnabled&&r.setStyle([]);var f=Ue({},s,s.renderer);r.initRenderer(f);var h=function(d,g,y){r.notifications(!1);var p=r.mutableElements();p.length>0&&p.remove(),d!=null&&(L(d)||te(d))&&r.add(d),r.one("layoutready",function(b){r.notifications(!0),r.emit(b),r.one("load",g),r.emitAndNotify("load")}).one("layoutstop",function(){r.one("done",y),r.emit("done")});var m=Ue({},r._private.options.layout);m.eles=r.elements(),r.layout(m).run()};v([s.style,s.elements],function(c){var d=c[0],g=c[1];l.styleEnabled&&r.style().append(d),h(g,function(){r.startAnimationLoop(),l.ready=!0,Y(s.ready)&&r.on("ready",s.ready);for(var y=0;y<i.length;y++){var p=i[y];r.on("ready",p)}n&&(n.readies=[]),r.emit("ready")},s.done)})},_n=Za.prototype;Ue(_n,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(e){return this.isReady()?this.emitter().emit("ready",[],e):this.on("ready",e),this},destroy:function(){var e=this;if(!e.destroyed())return e.stopAnimationLoop(),e.destroyRenderer(),this.emit("destroy"),e._private.destroyed=!0,e},hasElementWithId:function(e){return this._private.elements.hasElementWithId(e)},getElementById:function(e){return this._private.elements.getElementById(e)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(e){return this._private.elements.merge(e),this},removeFromPool:function(e){return this._private.elements.unmerge(e),this},container:function(){return this._private.container||null},mount:function(e){if(e!=null){var r=this,a=r._private,n=a.options;return!fe(e)&&fe(e[0])&&(e=e[0]),r.stopAnimationLoop(),r.destroyRenderer(),a.container=e,a.styleEnabled=!0,r.invalidateSize(),r.initRenderer(Ue({},n,n.renderer,{name:n.renderer.name==="null"?"canvas":n.renderer.name})),r.startAnimationLoop(),r.style(n.style),r.emit("mount"),r}},unmount:function(){var e=this;return e.stopAnimationLoop(),e.destroyRenderer(),e.initRenderer({name:"null"}),e.emit("unmount"),e},options:function(){return sr(this._private.options)},json:function(e){var r=this,a=r._private,n=r.mutableElements(),i=function(E){return r.getElementById(E.id())};if(L(e)){if(r.startBatch(),e.elements){var o={},s=function(E,M){for(var A=[],w=[],I=0;I<E.length;I++){var C=E[I];if(!C.data.id){vt("cy.json() cannot handle elements without an ID attribute");continue}var B=""+C.data.id,F=r.getElementById(B);o[B]=!0,F.length!==0?w.push({ele:F,json:C}):(M&&(C.group=M),A.push(C))}r.add(A);for(var R=0;R<w.length;R++){var X=w[R],G=X.ele,re=X.json;G.json(re)}};if(te(e.elements))s(e.elements);else for(var u=["nodes","edges"],l=0;l<u.length;l++){var v=u[l],f=e.elements[v];te(f)&&s(f,v)}var h=r.collection();n.filter(function(b){return!o[b.id()]}).forEach(function(b){b.isParent()?h.merge(b):b.remove()}),h.forEach(function(b){return b.children().move({parent:null})}),h.forEach(function(b){return i(b).remove()})}e.style&&r.style(e.style),e.zoom!=null&&e.zoom!==a.zoom&&r.zoom(e.zoom),e.pan&&(e.pan.x!==a.pan.x||e.pan.y!==a.pan.y)&&r.pan(e.pan),e.data&&r.data(e.data);for(var c=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],d=0;d<c.length;d++){var g=c[d];e[g]!=null&&r[g](e[g])}return r.endBatch(),this}else{var y=!!e,p={};y?p.elements=this.elements().map(function(b){return b.json()}):(p.elements={},n.forEach(function(b){var E=b.group();p.elements[E]||(p.elements[E]=[]),p.elements[E].push(b.json())})),this._private.styleEnabled&&(p.style=r.style().json()),p.data=sr(r.data());var m=a.options;return p.zoomingEnabled=a.zoomingEnabled,p.userZoomingEnabled=a.userZoomingEnabled,p.zoom=a.zoom,p.minZoom=a.minZoom,p.maxZoom=a.maxZoom,p.panningEnabled=a.panningEnabled,p.userPanningEnabled=a.userPanningEnabled,p.pan=sr(a.pan),p.boxSelectionEnabled=a.boxSelectionEnabled,p.renderer=sr(m.renderer),p.hideEdgesOnViewport=m.hideEdgesOnViewport,p.textureOnViewport=m.textureOnViewport,p.wheelSensitivity=m.wheelSensitivity,p.motionBlur=m.motionBlur,p.multiClickDebounceTime=m.multiClickDebounceTime,p}}}),_n.$id=_n.getElementById,[Nd,Pd,Us,Ni,Gn,Fd,Mi,zn,$d,$r,Ka].forEach(function(t){Ue(_n,t)});var _d={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximal:!1,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}},pa=function(e){return e.scratch("breadthfirst")},Ys=function(e,r){return e.scratch("breadthfirst",r)};function Hs(t){this.options=Ue({},_d,t)}Hs.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=a.nodes().filter(function(Re){return!Re.isParent()}),i=a,o=e.directed,s=e.maximal||e.maximalAdjustments>0,u=Ut(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),l;if(ge(e.roots))l=e.roots;else if(te(e.roots)){for(var v=[],f=0;f<e.roots.length;f++){var h=e.roots[f],c=r.getElementById(h);v.push(c)}l=r.collection(v)}else if(j(e.roots))l=r.$(e.roots);else if(o)l=n.roots();else{var d=a.components();l=r.collection();for(var g=function(Me){var Ve=d[Me],Fe=Ve.maxDegree(!1),ke=Ve.filter(function(ze){return ze.degree(!1)===Fe});l=l.add(ke)},y=0;y<d.length;y++)g(y)}var p=[],m={},b=function(Me,Ve){p[Ve]==null&&(p[Ve]=[]);var Fe=p[Ve].length;p[Ve].push(Me),Ys(Me,{index:Fe,depth:Ve})},E=function(Me,Ve){var Fe=pa(Me),ke=Fe.depth,ze=Fe.index;p[ke][ze]=null,b(Me,Ve)};i.bfs({roots:l,directed:e.directed,visit:function(Me,Ve,Fe,ke,ze){var et=Me[0],qe=et.id();b(et,ze),m[qe]=!0}});for(var M=[],A=0;A<n.length;A++){var w=n[A];m[w.id()]||M.push(w)}var I=function(Me){for(var Ve=p[Me],Fe=0;Fe<Ve.length;Fe++){var ke=Ve[Fe];if(ke==null){Ve.splice(Fe,1),Fe--;continue}Ys(ke,{depth:Me,index:Fe})}},C=function(){for(var Me=0;Me<p.length;Me++)I(Me)},B=function(Me,Ve){for(var Fe=pa(Me),ke=Me.incomers().filter(function(N){return N.isNode()&&a.has(N)}),ze=-1,et=Me.id(),qe=0;qe<ke.length;qe++){var Ye=ke[qe],Se=pa(Ye);ze=Math.max(ze,Se.depth)}return Fe.depth<=ze?Ve[et]?null:(E(Me,ze+1),Ve[et]=!0,!0):!1};if(o&&s){var F=[],R={},X=function(Me){return F.push(Me)},G=function(){return F.shift()};for(n.forEach(function(Re){return F.push(Re)});F.length>0;){var re=G(),q=B(re,R);if(q)re.outgoers().filter(function(Re){return Re.isNode()&&a.has(Re)}).forEach(X);else if(q===null){vt("Detected double maximal shift for node `"+re.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}C();var Z=0;if(e.avoidOverlap)for(var ie=0;ie<n.length;ie++){var se=n[ie],de=se.layoutDimensions(e),oe=de.w,ce=de.h;Z=Math.max(Z,oe,ce)}var we={},Te=function(Me){if(we[Me.id()])return we[Me.id()];for(var Ve=pa(Me).depth,Fe=Me.neighborhood(),ke=0,ze=0,et=0;et<Fe.length;et++){var qe=Fe[et];if(!(qe.isEdge()||qe.isParent()||!n.has(qe))){var Ye=pa(qe);if(Ye!=null){var Se=Ye.index,N=Ye.depth;if(!(Se==null||N==null)){var ue=p[N].length;N<Ve&&(ke+=Se/ue,ze++)}}}}return ze=Math.max(1,ze),ke=ke/ze,ze===0&&(ke=0),we[Me.id()]=ke,ke},Ee=function(Me,Ve){var Fe=Te(Me),ke=Te(Ve),ze=Fe-ke;return ze===0?Ji(Me.id(),Ve.id()):ze};e.depthSort!==void 0&&(Ee=e.depthSort);for(var ye=0;ye<p.length;ye++)p[ye].sort(Ee),I(ye);for(var ae=[],xe=0;xe<M.length;xe++)ae.push(M[xe]);p.unshift(ae),C();for(var Ce=0,Oe=0;Oe<p.length;Oe++)Ce=Math.max(p[Oe].length,Ce);var Ie={x:u.x1+u.w/2,y:u.x1+u.h/2},He=p.reduce(function(Re,Me){return Math.max(Re,Me.length)},0),We=function(Me){var Ve=pa(Me),Fe=Ve.depth,ke=Ve.index,ze=p[Fe].length,et=Math.max(u.w/((e.grid?He:ze)+1),Z),qe=Math.max(u.h/(p.length+1),Z),Ye=Math.min(u.w/2/p.length,u.h/2/p.length);if(Ye=Math.max(Ye,Z),e.circle){var N=Ye*Fe+Ye-(p.length>0&&p[0].length<=3?Ye/2:0),ue=2*Math.PI/p[Fe].length*ke;return Fe===0&&p[0].length===1&&(N=1),{x:Ie.x+N*Math.cos(ue),y:Ie.y+N*Math.sin(ue)}}else{var Se={x:Ie.x+(ke+1-(ze+1)/2)*et,y:(Fe+1)*qe};return Se}};return a.nodes().layoutPositions(this,e,We),this};var Ud={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Xs(t){this.options=Ue({},Ud,t)}Xs.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,i=a.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));for(var o=Ut(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},u=e.sweep===void 0?2*Math.PI-2*Math.PI/i.length:e.sweep,l=u/Math.max(1,i.length-1),v,f=0,h=0;h<i.length;h++){var c=i[h],d=c.layoutDimensions(e),g=d.w,y=d.h;f=Math.max(f,g,y)}if(k(e.radius)?v=e.radius:i.length<=1?v=0:v=Math.min(o.h,o.w)/2-f,i.length>1&&e.avoidOverlap){f*=1.75;var p=Math.cos(l)-Math.cos(0),m=Math.sin(l)-Math.sin(0),b=Math.sqrt(f*f/(p*p+m*m));v=Math.max(b,v)}var E=function(A,w){var I=e.startAngle+w*l*(n?1:-1),C=v*Math.cos(I),B=v*Math.sin(I),F={x:s.x+C,y:s.y+B};return F};return a.nodes().layoutPositions(this,e,E),this};var Yd={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Ws(t){this.options=Ue({},Yd,t)}Ws.prototype.run=function(){for(var t=this.options,e=t,r=e.counterclockwise!==void 0?!e.counterclockwise:e.clockwise,a=t.cy,n=e.eles,i=n.nodes().not(":parent"),o=Ut(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:a.width(),h:a.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},u=[],l=0,v=0;v<i.length;v++){var f=i[v],h=void 0;h=e.concentric(f),u.push({value:h,node:f}),f._private.scratch.concentric=h}i.updateStyle();for(var c=0;c<i.length;c++){var d=i[c],g=d.layoutDimensions(e);l=Math.max(l,g.w,g.h)}u.sort(function(Re,Me){return Me.value-Re.value});for(var y=e.levelWidth(i),p=[[]],m=p[0],b=0;b<u.length;b++){var E=u[b];if(m.length>0){var M=Math.abs(m[0].value-E.value);M>=y&&(m=[],p.push(m))}m.push(E)}var A=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=p.length>0&&p[0].length>1,I=Math.min(o.w,o.h)/2-A,C=I/(p.length+w?1:0);A=Math.min(A,C)}for(var B=0,F=0;F<p.length;F++){var R=p[F],X=e.sweep===void 0?2*Math.PI-2*Math.PI/R.length:e.sweep,G=R.dTheta=X/Math.max(1,R.length-1);if(R.length>1&&e.avoidOverlap){var re=Math.cos(G)-Math.cos(0),q=Math.sin(G)-Math.sin(0),Z=Math.sqrt(A*A/(re*re+q*q));B=Math.max(Z,B)}R.r=B,B+=A}if(e.equidistant){for(var ie=0,se=0,de=0;de<p.length;de++){var oe=p[de],ce=oe.r-se;ie=Math.max(ie,ce)}se=0;for(var we=0;we<p.length;we++){var Te=p[we];we===0&&(se=Te.r),Te.r=se,se+=ie}}for(var Ee={},ye=0;ye<p.length;ye++)for(var ae=p[ye],xe=ae.dTheta,Ce=ae.r,Oe=0;Oe<ae.length;Oe++){var Ie=ae[Oe],He=e.startAngle+(r?1:-1)*xe*Oe,We={x:s.x+Ce*Math.cos(He),y:s.y+Ce*Math.sin(He)};Ee[Ie.node.id()]=We}return n.nodes().layoutPositions(this,e,function(Re){var Me=Re.id();return Ee[Me]}),this};var ki,Hd={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(e,r){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(e){return 2048},nodeOverlap:4,idealEdgeLength:function(e){return 32},edgeElasticity:function(e){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function Un(t){this.options=Ue({},Hd,t),this.options.layout=this}Un.prototype.run=function(){var t=this.options,e=t.cy,r=this;r.stopped=!1,(t.animate===!0||t.animate===!1)&&r.emit({type:"layoutstart",layout:r}),t.debug===!0?ki=!0:ki=!1;var a=Xd(e,r,t);ki&&Kd(a),t.randomize&&Zd(a);var n=dr(),i=function(){Qd(a,e,t),t.fit===!0&&e.fit(t.padding)},o=function(h){return!(r.stopped||h>=t.numIter||(Jd(a,t),a.temperature=a.temperature*t.coolingFactor,a.temperature<t.minTemp))},s=function(){if(t.animate===!0||t.animate===!1)i(),r.one("layoutstop",t.stop),r.emit({type:"layoutstop",layout:r});else{var h=t.eles.nodes(),c=qs(a,t,h);h.layoutPositions(r,t,c)}},u=0,l=!0;if(t.animate===!0){var v=function f(){for(var h=0;l&&h<t.refresh;)l=o(u),u++,h++;if(!l)Zs(a,t),s();else{var c=dr();c-n>=t.animationThreshold&&i(),vn(f)}};v()}else{for(;l;)l=o(u),u++;Zs(a,t),s()}return this},Un.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Un.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var Xd=function(e,r,a){for(var n=a.eles.edges(),i=a.eles.nodes(),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:n.size(),temperature:a.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:Ut(a.boundingBox?a.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},s=a.eles.components(),u={},l=0;l<s.length;l++)for(var v=s[l],f=0;f<v.length;f++){var h=v[f];u[h.id()]=l}for(var l=0;l<o.nodeSize;l++){var c=i[l],d=c.layoutDimensions(a),g={};g.isLocked=c.locked(),g.id=c.data("id"),g.parentId=c.data("parent"),g.cmptId=u[c.id()],g.children=[],g.positionX=c.position("x"),g.positionY=c.position("y"),g.offsetX=0,g.offsetY=0,g.height=d.w,g.width=d.h,g.maxX=g.positionX+g.width/2,g.minX=g.positionX-g.width/2,g.maxY=g.positionY+g.height/2,g.minY=g.positionY-g.height/2,g.padLeft=parseFloat(c.style("padding")),g.padRight=parseFloat(c.style("padding")),g.padTop=parseFloat(c.style("padding")),g.padBottom=parseFloat(c.style("padding")),g.nodeRepulsion=Y(a.nodeRepulsion)?a.nodeRepulsion(c):a.nodeRepulsion,o.layoutNodes.push(g),o.idToIndex[g.id]=l}for(var y=[],p=0,m=-1,b=[],l=0;l<o.nodeSize;l++){var c=o.layoutNodes[l],E=c.parentId;E!=null?o.layoutNodes[o.idToIndex[E]].children.push(c.id):(y[++m]=c.id,b.push(c.id))}for(o.graphSet.push(b);p<=m;){var M=y[p++],A=o.idToIndex[M],h=o.layoutNodes[A],w=h.children;if(w.length>0){o.graphSet.push(w);for(var l=0;l<w.length;l++)y[++m]=w[l]}}for(var l=0;l<o.graphSet.length;l++)for(var I=o.graphSet[l],f=0;f<I.length;f++){var C=o.idToIndex[I[f]];o.indexToGraph[C]=l}for(var l=0;l<o.edgeSize;l++){var B=n[l],F={};F.id=B.data("id"),F.sourceId=B.data("source"),F.targetId=B.data("target");var R=Y(a.idealEdgeLength)?a.idealEdgeLength(B):a.idealEdgeLength,X=Y(a.edgeElasticity)?a.edgeElasticity(B):a.edgeElasticity,G=o.idToIndex[F.sourceId],re=o.idToIndex[F.targetId],q=o.indexToGraph[G],Z=o.indexToGraph[re];if(q!=Z){for(var ie=Wd(F.sourceId,F.targetId,o),se=o.graphSet[ie],de=0,g=o.layoutNodes[G];se.indexOf(g.id)===-1;)g=o.layoutNodes[o.idToIndex[g.parentId]],de++;for(g=o.layoutNodes[re];se.indexOf(g.id)===-1;)g=o.layoutNodes[o.idToIndex[g.parentId]],de++;R*=de*a.nestingFactor}F.idealLength=R,F.elasticity=X,o.layoutEdges.push(F)}return o},Wd=function(e,r,a){var n=qd(e,r,0,a);return 2>n.count?0:n.graph},qd=function t(e,r,a,n){var i=n.graphSet[a];if(-1<i.indexOf(e)&&-1<i.indexOf(r))return{count:2,graph:a};for(var o=0,s=0;s<i.length;s++){var u=i[s],l=n.idToIndex[u],v=n.layoutNodes[l].children;if(v.length!==0){var f=n.indexToGraph[n.idToIndex[v[0]]],h=t(e,r,f,n);if(h.count!==0)if(h.count===1){if(o++,o===2)break}else return h}}return{count:o,graph:a}},Kd,Zd=function(e,r){for(var a=e.clientWidth,n=e.clientHeight,i=0;i<e.nodeSize;i++){var o=e.layoutNodes[i];o.children.length===0&&!o.isLocked&&(o.positionX=Math.random()*a,o.positionY=Math.random()*n)}},qs=function(e,r,a){var n=e.boundingBox,i={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return r.boundingBox&&(a.forEach(function(o){var s=e.layoutNodes[e.idToIndex[o.data("id")]];i.x1=Math.min(i.x1,s.positionX),i.x2=Math.max(i.x2,s.positionX),i.y1=Math.min(i.y1,s.positionY),i.y2=Math.max(i.y2,s.positionY)}),i.w=i.x2-i.x1,i.h=i.y2-i.y1),function(o,s){var u=e.layoutNodes[e.idToIndex[o.data("id")]];if(r.boundingBox){var l=(u.positionX-i.x1)/i.w,v=(u.positionY-i.y1)/i.h;return{x:n.x1+l*n.w,y:n.y1+v*n.h}}else return{x:u.positionX,y:u.positionY}}},Qd=function(e,r,a){var n=a.layout,i=a.eles.nodes(),o=qs(e,a,i);i.positions(o),e.ready!==!0&&(e.ready=!0,n.one("layoutready",a.ready),n.emit({type:"layoutready",layout:this}))},Jd=function(e,r,a){jd(e,r),rg(e),ag(e,r),ng(e),ig(e)},jd=function(e,r){for(var a=0;a<e.graphSet.length;a++)for(var n=e.graphSet[a],i=n.length,o=0;o<i;o++)for(var s=e.layoutNodes[e.idToIndex[n[o]]],u=o+1;u<i;u++){var l=e.layoutNodes[e.idToIndex[n[u]]];eg(s,l,e,r)}},Ks=function(e){return-e+2*e*Math.random()},eg=function(e,r,a,n){var i=e.cmptId,o=r.cmptId;if(!(i!==o&&!a.isCompound)){var s=r.positionX-e.positionX,u=r.positionY-e.positionY,l=1;s===0&&u===0&&(s=Ks(l),u=Ks(l));var v=tg(e,r,s,u);if(v>0)var f=n.nodeOverlap*v,h=Math.sqrt(s*s+u*u),c=f*s/h,d=f*u/h;else var g=Yn(e,s,u),y=Yn(r,-1*s,-1*u),p=y.x-g.x,m=y.y-g.y,b=p*p+m*m,h=Math.sqrt(b),f=(e.nodeRepulsion+r.nodeRepulsion)/b,c=f*p/h,d=f*m/h;e.isLocked||(e.offsetX-=c,e.offsetY-=d),r.isLocked||(r.offsetX+=c,r.offsetY+=d)}},tg=function(e,r,a,n){if(a>0)var i=e.maxX-r.minX;else var i=r.maxX-e.minX;if(n>0)var o=e.maxY-r.minY;else var o=r.maxY-e.minY;return i>=0&&o>=0?Math.sqrt(i*i+o*o):0},Yn=function(e,r,a){var n=e.positionX,i=e.positionY,o=e.height||1,s=e.width||1,u=a/r,l=o/s,v={};return r===0&&0<a||r===0&&0>a?(v.x=n,v.y=i+o/2,v):0<r&&-1*l<=u&&u<=l?(v.x=n+s/2,v.y=i+s*a/2/r,v):0>r&&-1*l<=u&&u<=l?(v.x=n-s/2,v.y=i-s*a/2/r,v):0<a&&(u<=-1*l||u>=l)?(v.x=n+o*r/2/a,v.y=i+o/2,v):(0>a&&(u<=-1*l||u>=l)&&(v.x=n-o*r/2/a,v.y=i-o/2),v)},rg=function(e,r){for(var a=0;a<e.edgeSize;a++){var n=e.layoutEdges[a],i=e.idToIndex[n.sourceId],o=e.layoutNodes[i],s=e.idToIndex[n.targetId],u=e.layoutNodes[s],l=u.positionX-o.positionX,v=u.positionY-o.positionY;if(!(l===0&&v===0)){var f=Yn(o,l,v),h=Yn(u,-1*l,-1*v),c=h.x-f.x,d=h.y-f.y,g=Math.sqrt(c*c+d*d),y=Math.pow(n.idealLength-g,2)/n.elasticity;if(g!==0)var p=y*c/g,m=y*d/g;else var p=0,m=0;o.isLocked||(o.offsetX+=p,o.offsetY+=m),u.isLocked||(u.offsetX-=p,u.offsetY-=m)}}},ag=function(e,r){if(r.gravity!==0)for(var a=1,n=0;n<e.graphSet.length;n++){var i=e.graphSet[n],o=i.length;if(n===0)var s=e.clientHeight/2,u=e.clientWidth/2;else var l=e.layoutNodes[e.idToIndex[i[0]]],v=e.layoutNodes[e.idToIndex[l.parentId]],s=v.positionX,u=v.positionY;for(var f=0;f<o;f++){var h=e.layoutNodes[e.idToIndex[i[f]]];if(!h.isLocked){var c=s-h.positionX,d=u-h.positionY,g=Math.sqrt(c*c+d*d);if(g>a){var y=r.gravity*c/g,p=r.gravity*d/g;h.offsetX+=y,h.offsetY+=p}}}}},ng=function(e,r){var a=[],n=0,i=-1;for(a.push.apply(a,e.graphSet[0]),i+=e.graphSet[0].length;n<=i;){var o=a[n++],s=e.idToIndex[o],u=e.layoutNodes[s],l=u.children;if(0<l.length&&!u.isLocked){for(var v=u.offsetX,f=u.offsetY,h=0;h<l.length;h++){var c=e.layoutNodes[e.idToIndex[l[h]]];c.offsetX+=v,c.offsetY+=f,a[++i]=l[h]}u.offsetX=0,u.offsetY=0}}},ig=function(e,r){for(var a=0;a<e.nodeSize;a++){var n=e.layoutNodes[a];0<n.children.length&&(n.maxX=void 0,n.minX=void 0,n.maxY=void 0,n.minY=void 0)}for(var a=0;a<e.nodeSize;a++){var n=e.layoutNodes[a];if(!(0<n.children.length||n.isLocked)){var i=og(n.offsetX,n.offsetY,e.temperature);n.positionX+=i.x,n.positionY+=i.y,n.offsetX=0,n.offsetY=0,n.minX=n.positionX-n.width,n.maxX=n.positionX+n.width,n.minY=n.positionY-n.height,n.maxY=n.positionY+n.height,sg(n,e)}}for(var a=0;a<e.nodeSize;a++){var n=e.layoutNodes[a];0<n.children.length&&!n.isLocked&&(n.positionX=(n.maxX+n.minX)/2,n.positionY=(n.maxY+n.minY)/2,n.width=n.maxX-n.minX,n.height=n.maxY-n.minY)}},og=function(e,r,a){var n=Math.sqrt(e*e+r*r);if(n>a)var i={x:a*e/n,y:a*r/n};else var i={x:e,y:r};return i},sg=function t(e,r){var a=e.parentId;if(a!=null){var n=r.layoutNodes[r.idToIndex[a]],i=!1;if((n.maxX==null||e.maxX+n.padRight>n.maxX)&&(n.maxX=e.maxX+n.padRight,i=!0),(n.minX==null||e.minX-n.padLeft<n.minX)&&(n.minX=e.minX-n.padLeft,i=!0),(n.maxY==null||e.maxY+n.padBottom>n.maxY)&&(n.maxY=e.maxY+n.padBottom,i=!0),(n.minY==null||e.minY-n.padTop<n.minY)&&(n.minY=e.minY-n.padTop,i=!0),i)return t(n,r)}},Zs=function(e,r){for(var a=e.layoutNodes,n=[],i=0;i<a.length;i++){var o=a[i],s=o.cmptId,u=n[s]=n[s]||[];u.push(o)}for(var l=0,i=0;i<n.length;i++){var v=n[i];if(v){v.x1=1/0,v.x2=-1/0,v.y1=1/0,v.y2=-1/0;for(var f=0;f<v.length;f++){var h=v[f];v.x1=Math.min(v.x1,h.positionX-h.width/2),v.x2=Math.max(v.x2,h.positionX+h.width/2),v.y1=Math.min(v.y1,h.positionY-h.height/2),v.y2=Math.max(v.y2,h.positionY+h.height/2)}v.w=v.x2-v.x1,v.h=v.y2-v.y1,l+=v.w*v.h}}n.sort(function(m,b){return b.w*b.h-m.w*m.h});for(var c=0,d=0,g=0,y=0,p=Math.sqrt(l)*e.clientWidth/e.clientHeight,i=0;i<n.length;i++){var v=n[i];if(v){for(var f=0;f<v.length;f++){var h=v[f];h.isLocked||(h.positionX+=c-v.x1,h.positionY+=d-v.y1)}c+=v.w+r.componentSpacing,g+=v.w+r.componentSpacing,y=Math.max(y,v.h),g>p&&(d+=y+r.componentSpacing,c=0,g=0,y=0)}}},lg={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(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Qs(t){this.options=Ue({},lg,t)}Qs.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=a.nodes().not(":parent");e.sort&&(n=n.sort(e.sort));var i=Ut(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(i.h===0||i.w===0)a.nodes().layoutPositions(this,e,function(we){return{x:i.x1,y:i.y1}});else{var o=n.size(),s=Math.sqrt(o*i.h/i.w),u=Math.round(s),l=Math.round(i.w/i.h*s),v=function(Te){if(Te==null)return Math.min(u,l);var Ee=Math.min(u,l);Ee==u?u=Te:l=Te},f=function(Te){if(Te==null)return Math.max(u,l);var Ee=Math.max(u,l);Ee==u?u=Te:l=Te},h=e.rows,c=e.cols!=null?e.cols:e.columns;if(h!=null&&c!=null)u=h,l=c;else if(h!=null&&c==null)u=h,l=Math.ceil(o/u);else if(h==null&&c!=null)l=c,u=Math.ceil(o/l);else if(l*u>o){var d=v(),g=f();(d-1)*g>=o?v(d-1):(g-1)*d>=o&&f(g-1)}else for(;l*u<o;){var y=v(),p=f();(p+1)*y>=o?f(p+1):v(y+1)}var m=i.w/l,b=i.h/u;if(e.condense&&(m=0,b=0),e.avoidOverlap)for(var E=0;E<n.length;E++){var M=n[E],A=M._private.position;(A.x==null||A.y==null)&&(A.x=0,A.y=0);var w=M.layoutDimensions(e),I=e.avoidOverlapPadding,C=w.w+I,B=w.h+I;m=Math.max(m,C),b=Math.max(b,B)}for(var F={},R=function(Te,Ee){return!!F["c-"+Te+"-"+Ee]},X=function(Te,Ee){F["c-"+Te+"-"+Ee]=!0},G=0,re=0,q=function(){re++,re>=l&&(re=0,G++)},Z={},ie=0;ie<n.length;ie++){var se=n[ie],de=e.position(se);if(de&&(de.row!==void 0||de.col!==void 0)){var oe={row:de.row,col:de.col};if(oe.col===void 0)for(oe.col=0;R(oe.row,oe.col);)oe.col++;else if(oe.row===void 0)for(oe.row=0;R(oe.row,oe.col);)oe.row++;Z[se.id()]=oe,X(oe.row,oe.col)}}var ce=function(Te,Ee){var ye,ae;if(Te.locked()||Te.isParent())return!1;var xe=Z[Te.id()];if(xe)ye=xe.col*m+m/2+i.x1,ae=xe.row*b+b/2+i.y1;else{for(;R(G,re);)q();ye=re*m+m/2+i.x1,ae=G*b+b/2+i.y1,X(G,re),q()}return{x:ye,y:ae}};n.layoutPositions(this,e,ce)}return this};var ug={ready:function(){},stop:function(){}};function Pi(t){this.options=Ue({},ug,t)}Pi.prototype.run=function(){var t=this.options,e=t.eles,r=this;return t.cy,r.emit("layoutstart"),e.nodes().positions(function(){return{x:0,y:0}}),r.one("layoutready",t.ready),r.emit("layoutready"),r.one("layoutstop",t.stop),r.emit("layoutstop"),this},Pi.prototype.stop=function(){return this};var vg={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Js(t){this.options=Ue({},vg,t)}Js.prototype.run=function(){var t=this.options,e=t.eles,r=e.nodes(),a=Y(t.positions);function n(i){if(t.positions==null)return gv(i.position());if(a)return t.positions(i);var o=t.positions[i._private.data.id];return o??null}return r.layoutPositions(this,t,function(i,o){var s=n(i);return i.locked()||s==null?!1:s}),this};var fg={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function js(t){this.options=Ue({},fg,t)}js.prototype.run=function(){var t=this.options,e=t.cy,r=t.eles,a=Ut(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),n=function(o,s){return{x:a.x1+Math.round(Math.random()*a.w),y:a.y1+Math.round(Math.random()*a.h)}};return r.nodes().layoutPositions(this,t,n),this};var hg=[{name:"breadthfirst",impl:Hs},{name:"circle",impl:Xs},{name:"concentric",impl:Ws},{name:"cose",impl:Un},{name:"grid",impl:Qs},{name:"null",impl:Pi},{name:"preset",impl:Js},{name:"random",impl:js}];function el(t){this.options=t,this.notifications=0}var tl=function(){},rl=function(){throw new Error("A headless instance can not render images")};el.prototype={recalculateRenderedStyle:tl,notify:function(){this.notifications++},init:tl,isHeadless:function(){return!0},png:rl,jpg:rl};var Bi={};Bi.arrowShapeWidth=.3,Bi.registerArrowShapes=function(){var t=this.arrowShapes={},e=this,r=function(l,v,f,h,c,d,g){var y=c.x-f/2-g,p=c.x+f/2+g,m=c.y-f/2-g,b=c.y+f/2+g,E=y<=l&&l<=p&&m<=v&&v<=b;return E},a=function(l,v,f,h,c){var d=l*Math.cos(h)-v*Math.sin(h),g=l*Math.sin(h)+v*Math.cos(h),y=d*f,p=g*f,m=y+c.x,b=p+c.y;return{x:m,y:b}},n=function(l,v,f,h){for(var c=[],d=0;d<l.length;d+=2){var g=l[d],y=l[d+1];c.push(a(g,y,v,f,h))}return c},i=function(l){for(var v=[],f=0;f<l.length;f++){var h=l[f];v.push(h.x,h.y)}return v},o=function(l){return l.pstyle("width").pfValue*l.pstyle("arrow-scale").pfValue*2},s=function(l,v){j(v)&&(v=t[v]),t[l]=Ue({name:l,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(h,c,d,g,y,p){var m=i(n(this.points,d+2*p,g,y)),b=Yt(h,c,m);return b},roughCollide:r,draw:function(h,c,d,g){var y=n(this.points,c,d,g);e.arrowShapeImpl("polygon")(h,y)},spacing:function(h){return 0},gap:o},v)};s("none",{collide:hn,roughCollide:hn,draw:ni,spacing:ho,gap:ho}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:t.triangle.points,controlPoint:[0,-.15],roughCollide:r,draw:function(l,v,f,h,c){var d=n(this.points,v,f,h),g=this.controlPoint,y=a(g[0],g[1],v,f,h);e.arrowShapeImpl(this.name)(l,d,y)},gap:function(l){return o(l)*.8}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(l,v,f,h,c,d,g){var y=i(n(this.points,f+2*g,h,c)),p=i(n(this.pointsTee,f+2*g,h,c)),m=Yt(l,v,y)||Yt(l,v,p);return m},draw:function(l,v,f,h,c){var d=n(this.points,v,f,h),g=n(this.pointsTee,v,f,h);e.arrowShapeImpl(this.name)(l,d,g)}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(l,v,f,h,c,d,g){var y=c,p=Math.pow(y.x-l,2)+Math.pow(y.y-v,2)<=Math.pow((f+2*g)*this.radius,2),m=i(n(this.points,f+2*g,h,c));return Yt(l,v,m)||p},draw:function(l,v,f,h,c){var d=n(this.pointsTr,v,f,h);e.arrowShapeImpl(this.name)(l,d,h.x,h.y,this.radius*v)},spacing:function(l){return e.getArrowWidth(l.pstyle("width").pfValue,l.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(l,v){var f=this.baseCrossLinePts.slice(),h=v/l,c=3,d=5;return f[c]=f[c]-h,f[d]=f[d]-h,f},collide:function(l,v,f,h,c,d,g){var y=i(n(this.points,f+2*g,h,c)),p=i(n(this.crossLinePts(f,d),f+2*g,h,c)),m=Yt(l,v,y)||Yt(l,v,p);return m},draw:function(l,v,f,h,c){var d=n(this.points,v,f,h),g=n(this.crossLinePts(v,c),v,f,h);e.arrowShapeImpl(this.name)(l,d,g)}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(l){return o(l)*.525}}),s("circle",{radius:.15,collide:function(l,v,f,h,c,d,g){var y=c,p=Math.pow(y.x-l,2)+Math.pow(y.y-v,2)<=Math.pow((f+2*g)*this.radius,2);return p},draw:function(l,v,f,h,c){e.arrowShapeImpl(this.name)(l,h.x,h.y,this.radius*v)},spacing:function(l){return e.getArrowWidth(l.pstyle("width").pfValue,l.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(l){return 1},gap:function(l){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(l){return l.pstyle("width").pfValue*l.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(l){return .95*l.pstyle("width").pfValue*l.pstyle("arrow-scale").value}})};var Vr={};Vr.projectIntoViewport=function(t,e){var r=this.cy,a=this.findContainerClientCoords(),n=a[0],i=a[1],o=a[4],s=r.pan(),u=r.zoom(),l=((t-n)/o-s.x)/u,v=((e-i)/o-s.y)/u;return[l,v]},Vr.findContainerClientCoords=function(){if(this.containerBB)return this.containerBB;var t=this.container,e=t.getBoundingClientRect(),r=D.getComputedStyle(t),a=function(p){return parseFloat(r.getPropertyValue(p))},n={left:a("padding-left"),right:a("padding-right"),top:a("padding-top"),bottom:a("padding-bottom")},i={left:a("border-left-width"),right:a("border-right-width"),top:a("border-top-width"),bottom:a("border-bottom-width")},o=t.clientWidth,s=t.clientHeight,u=n.left+n.right,l=n.top+n.bottom,v=i.left+i.right,f=e.width/(o+v),h=o-u,c=s-l,d=e.left+n.left+i.left,g=e.top+n.top+i.top;return this.containerBB=[d,g,h,c,f]},Vr.invalidateContainerClientCoordsCache=function(){this.containerBB=null},Vr.findNearestElement=function(t,e,r,a){return this.findNearestElements(t,e,r,a)[0]},Vr.findNearestElements=function(t,e,r,a){var n=this,i=this,o=i.getCachedZSortedEles(),s=[],u=i.cy.zoom(),l=i.cy.hasCompoundNodes(),v=(a?24:8)/u,f=(a?8:2)/u,h=(a?8:2)/u,c=1/0,d,g;r&&(o=o.interactive);function y(w,I){if(w.isNode()){if(g)return;g=w,s.push(w)}if(w.isEdge()&&(I==null||I<c))if(d){if(d.pstyle("z-compound-depth").value===w.pstyle("z-compound-depth").value&&d.pstyle("z-compound-depth").value===w.pstyle("z-compound-depth").value){for(var C=0;C<s.length;C++)if(s[C].isEdge()){s[C]=w,d=w,c=I??c;break}}}else s.push(w),d=w,c=I??c}function p(w){var I=w.outerWidth()+2*f,C=w.outerHeight()+2*f,B=I/2,F=C/2,R=w.position();if(R.x-B<=t&&t<=R.x+B&&R.y-F<=e&&e<=R.y+F){var X=i.nodeShapes[n.getNodeShape(w)];if(X.checkPoint(t,e,0,I,C,R.x,R.y))return y(w,0),!0}}function m(w){var I=w._private,C=I.rscratch,B=w.pstyle("width").pfValue,F=w.pstyle("arrow-scale").value,R=B/2+v,X=R*R,G=R*2,ie=I.source,se=I.target,re;if(C.edgeType==="segments"||C.edgeType==="straight"||C.edgeType==="haystack"){for(var q=C.allpts,Z=0;Z+3<q.length;Z+=2)if(Av(t,e,q[Z],q[Z+1],q[Z+2],q[Z+3],G)&&X>(re=Rv(t,e,q[Z],q[Z+1],q[Z+2],q[Z+3])))return y(w,re),!0}else if(C.edgeType==="bezier"||C.edgeType==="multibezier"||C.edgeType==="self"||C.edgeType==="compound"){for(var q=C.allpts,Z=0;Z+5<C.allpts.length;Z+=4)if(Ov(t,e,q[Z],q[Z+1],q[Z+2],q[Z+3],q[Z+4],q[Z+5],G)&&X>(re=Iv(t,e,q[Z],q[Z+1],q[Z+2],q[Z+3],q[Z+4],q[Z+5])))return y(w,re),!0}for(var ie=ie||I.source,se=se||I.target,de=n.getArrowWidth(B,F),oe=[{name:"source",x:C.arrowStartX,y:C.arrowStartY,angle:C.srcArrowAngle},{name:"target",x:C.arrowEndX,y:C.arrowEndY,angle:C.tgtArrowAngle},{name:"mid-source",x:C.midX,y:C.midY,angle:C.midsrcArrowAngle},{name:"mid-target",x:C.midX,y:C.midY,angle:C.midtgtArrowAngle}],Z=0;Z<oe.length;Z++){var ce=oe[Z],we=i.arrowShapes[w.pstyle(ce.name+"-arrow-shape").value],Te=w.pstyle("width").pfValue;if(we.roughCollide(t,e,de,ce.angle,{x:ce.x,y:ce.y},Te,v)&&we.collide(t,e,de,ce.angle,{x:ce.x,y:ce.y},Te,v))return y(w),!0}l&&s.length>0&&(p(ie),p(se))}function b(w,I,C){return er(w,I,C)}function E(w,I){var C=w._private,B=h,F;I?F=I+"-":F="",w.boundingBox();var R=C.labelBounds[I||"main"],X=w.pstyle(F+"label").value,G=w.pstyle("text-events").strValue==="yes";if(!(!G||!X)){var re=b(C.rscratch,"labelX",I),q=b(C.rscratch,"labelY",I),Z=b(C.rscratch,"labelAngle",I),ie=w.pstyle(F+"text-margin-x").pfValue,se=w.pstyle(F+"text-margin-y").pfValue,de=R.x1-B-ie,oe=R.x2+B-ie,ce=R.y1-B-se,we=R.y2+B-se;if(Z){var Te=Math.cos(Z),Ee=Math.sin(Z),ye=function(We,Re){return We=We-re,Re=Re-q,{x:We*Te-Re*Ee+re,y:We*Ee+Re*Te+q}},ae=ye(de,ce),xe=ye(de,we),Ce=ye(oe,ce),Oe=ye(oe,we),Ie=[ae.x+ie,ae.y+se,Ce.x+ie,Ce.y+se,Oe.x+ie,Oe.y+se,xe.x+ie,xe.y+se];if(Yt(t,e,Ie))return y(w),!0}else if(ta(R,t,e))return y(w),!0}}for(var M=o.length-1;M>=0;M--){var A=o[M];A.isNode()?p(A)||E(A):m(A)||E(A)||E(A,"source")||E(A,"target")}return s},Vr.getAllInBox=function(t,e,r,a){var n=this.getCachedZSortedEles().interactive,i=[],o=Math.min(t,r),s=Math.max(t,r),u=Math.min(e,a),l=Math.max(e,a);t=o,r=s,e=u,a=l;for(var v=Ut({x1:t,y1:e,x2:r,y2:a}),f=0;f<n.length;f++){var h=n[f];if(h.isNode()){var c=h,d=c.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});ui(v,d)&&!wo(d,v)&&i.push(c)}else{var g=h,y=g._private,p=y.rscratch;if(p.startX!=null&&p.startY!=null&&!ta(v,p.startX,p.startY)||p.endX!=null&&p.endY!=null&&!ta(v,p.endX,p.endY))continue;if(p.edgeType==="bezier"||p.edgeType==="multibezier"||p.edgeType==="self"||p.edgeType==="compound"||p.edgeType==="segments"||p.edgeType==="haystack"){for(var m=y.rstyle.bezierPts||y.rstyle.linePts||y.rstyle.haystackPts,b=!0,E=0;E<m.length;E++)if(!Lv(v,m[E])){b=!1;break}b&&i.push(g)}else(p.edgeType==="haystack"||p.edgeType==="straight")&&i.push(g)}}return i};var Hn={};Hn.calculateArrowAngles=function(t){var e=t._private.rscratch,r=e.edgeType==="haystack",a=e.edgeType==="bezier",n=e.edgeType==="multibezier",i=e.edgeType==="segments",o=e.edgeType==="compound",s=e.edgeType==="self",u,l,v,f,h,c,p,m;if(r?(v=e.haystackPts[0],f=e.haystackPts[1],h=e.haystackPts[2],c=e.haystackPts[3]):(v=e.arrowStartX,f=e.arrowStartY,h=e.arrowEndX,c=e.arrowEndY),p=e.midX,m=e.midY,i)u=v-e.segpts[0],l=f-e.segpts[1];else if(n||o||s||a){var d=e.allpts,g=St(d[0],d[2],d[4],.1),y=St(d[1],d[3],d[5],.1);u=v-g,l=f-y}else u=v-p,l=f-m;e.srcArrowAngle=gn(u,l);var p=e.midX,m=e.midY;if(r&&(p=(v+h)/2,m=(f+c)/2),u=h-v,l=c-f,i){var d=e.allpts;if(d.length/2%2===0){var b=d.length/2,E=b-2;u=d[b]-d[E],l=d[b+1]-d[E+1]}else{var b=d.length/2-1,E=b-2,M=b+2;u=d[b]-d[E],l=d[b+1]-d[E+1]}}else if(n||o||s){var d=e.allpts,A=e.ctrlpts,w,I,C,B;if(A.length/2%2===0){var F=d.length/2-1,R=F+2,X=R+2;w=St(d[F],d[R],d[X],0),I=St(d[F+1],d[R+1],d[X+1],0),C=St(d[F],d[R],d[X],1e-4),B=St(d[F+1],d[R+1],d[X+1],1e-4)}else{var R=d.length/2-1,F=R-2,X=R+2;w=St(d[F],d[R],d[X],.4999),I=St(d[F+1],d[R+1],d[X+1],.4999),C=St(d[F],d[R],d[X],.5),B=St(d[F+1],d[R+1],d[X+1],.5)}u=C-w,l=B-I}if(e.midtgtArrowAngle=gn(u,l),e.midDispX=u,e.midDispY=l,u*=-1,l*=-1,i){var d=e.allpts;if(d.length/2%2!==0){var b=d.length/2-1,M=b+2;u=-(d[M]-d[b]),l=-(d[M+1]-d[b+1])}}if(e.midsrcArrowAngle=gn(u,l),i)u=h-e.segpts[e.segpts.length-2],l=c-e.segpts[e.segpts.length-1];else if(n||o||s||a){var d=e.allpts,G=d.length,g=St(d[G-6],d[G-4],d[G-2],.9),y=St(d[G-5],d[G-3],d[G-1],.9);u=h-g,l=c-y}else u=h-p,l=c-m;e.tgtArrowAngle=gn(u,l)},Hn.getArrowWidth=Hn.getArrowHeight=function(t,e){var r=this.arrowWidthCache=this.arrowWidthCache||{},a=r[t+", "+e];return a||(a=Math.max(Math.pow(t*13.37,.9),29)*e,r[t+", "+e]=a,a)};var Vt={};Vt.findHaystackPoints=function(t){for(var e=0;e<t.length;e++){var r=t[e],a=r._private,n=a.rscratch;if(!n.haystack){var i=Math.random()*2*Math.PI;n.source={x:Math.cos(i),y:Math.sin(i)},i=Math.random()*2*Math.PI,n.target={x:Math.cos(i),y:Math.sin(i)}}var o=a.source,s=a.target,u=o.position(),l=s.position(),v=o.width(),f=s.width(),h=o.height(),c=s.height(),d=r.pstyle("haystack-radius").value,g=d/2;n.haystackPts=n.allpts=[n.source.x*v*g+u.x,n.source.y*h*g+u.y,n.target.x*f*g+l.x,n.target.y*c*g+l.y],n.midX=(n.allpts[0]+n.allpts[2])/2,n.midY=(n.allpts[1]+n.allpts[3])/2,n.edgeType="haystack",n.haystack=!0,this.storeEdgeProjections(r),this.calculateArrowAngles(r),this.recalculateEdgeLabelProjections(r),this.calculateLabelAngles(r)}},Vt.findSegmentsPoints=function(t,e){var r=t._private.rscratch,a=e.posPts,n=e.intersectionPts,i=e.vectorNormInverse,o=t.pstyle("edge-distances").value,s=t.pstyle("segment-weights"),u=t.pstyle("segment-distances"),l=Math.min(s.pfValue.length,u.pfValue.length);r.edgeType="segments",r.segpts=[];for(var v=0;v<l;v++){var f=s.pfValue[v],h=u.pfValue[v],c=1-f,d=f,g=o==="node-position"?a:n,y={x:g.x1*c+g.x2*d,y:g.y1*c+g.y2*d};r.segpts.push(y.x+i.x*h,y.y+i.y*h)}},Vt.findLoopPoints=function(t,e,r,a){var n=t._private.rscratch,i=e.dirCounts,o=e.srcPos,s=t.pstyle("control-point-distances"),u=s?s.pfValue[0]:void 0,l=t.pstyle("loop-direction").pfValue,v=t.pstyle("loop-sweep").pfValue,f=t.pstyle("control-point-step-size").pfValue;n.edgeType="self";var h=r,c=f;a&&(h=0,c=u);var d=l-Math.PI/2,g=d-v/2,y=d+v/2,p=l+"_"+v;h=i[p]===void 0?i[p]=0:++i[p],n.ctrlpts=[o.x+Math.cos(g)*1.4*c*(h/3+1),o.y+Math.sin(g)*1.4*c*(h/3+1),o.x+Math.cos(y)*1.4*c*(h/3+1),o.y+Math.sin(y)*1.4*c*(h/3+1)]},Vt.findCompoundLoopPoints=function(t,e,r,a){var n=t._private.rscratch;n.edgeType="compound";var i=e.srcPos,o=e.tgtPos,s=e.srcW,u=e.srcH,l=e.tgtW,v=e.tgtH,f=t.pstyle("control-point-step-size").pfValue,h=t.pstyle("control-point-distances"),c=h?h.pfValue[0]:void 0,d=r,g=f;a&&(d=0,g=c);var y=50,p={x:i.x-s/2,y:i.y-u/2},m={x:o.x-l/2,y:o.y-v/2},b={x:Math.min(p.x,m.x),y:Math.min(p.y,m.y)},E=.5,M=Math.max(E,Math.log(s*.01)),A=Math.max(E,Math.log(l*.01));n.ctrlpts=[b.x,b.y-(1+Math.pow(y,1.12)/100)*g*(d/3+1)*M,b.x-(1+Math.pow(y,1.12)/100)*g*(d/3+1)*A,b.y]},Vt.findStraightEdgePoints=function(t){t._private.rscratch.edgeType="straight"},Vt.findBezierPoints=function(t,e,r,a,n){var i=t._private.rscratch,o=e.vectorNormInverse,s=e.posPts,u=e.intersectionPts,l=t.pstyle("edge-distances").value,v=t.pstyle("control-point-step-size").pfValue,f=t.pstyle("control-point-distances"),h=t.pstyle("control-point-weights"),c=f&&h?Math.min(f.value.length,h.value.length):1,d=f?f.pfValue[0]:void 0,g=h.value[0],y=a;i.edgeType=y?"multibezier":"bezier",i.ctrlpts=[];for(var p=0;p<c;p++){var m=(.5-e.eles.length/2+r)*v*(n?-1:1),b=void 0,E=bo(m);y&&(d=f?f.pfValue[p]:v,g=h.value[p]),a?b=d:b=d!==void 0?E*d:void 0;var M=b!==void 0?b:m,A=1-g,w=g,I=l==="node-position"?s:u,C={x:I.x1*A+I.x2*w,y:I.y1*A+I.y2*w};i.ctrlpts.push(C.x+o.x*M,C.y+o.y*M)}},Vt.findTaxiPoints=function(t,e){var r=t._private.rscratch;r.edgeType="segments";var a="vertical",n="horizontal",i="leftward",o="rightward",s="downward",u="upward",l="auto",v=e.posPts,f=e.srcW,h=e.srcH,c=e.tgtW,d=e.tgtH,g=t.pstyle("edge-distances").value,y=g!=="node-position",p=t.pstyle("taxi-direction").value,m=p,b=t.pstyle("taxi-turn"),E=b.units==="%",M=b.pfValue,A=M<0,w=t.pstyle("taxi-turn-min-distance").pfValue,I=y?(f+c)/2:0,C=y?(h+d)/2:0,B=v.x2-v.x1,F=v.y2-v.y1,R=function(Ge,at){return Ge>0?Math.max(Ge-at,0):Math.min(Ge+at,0)},X=R(B,I),G=R(F,C),re=!1;m===l?p=Math.abs(X)>Math.abs(G)?n:a:m===u||m===s?(p=a,re=!0):(m===i||m===o)&&(p=n,re=!0);var q=p===a,Z=q?G:X,ie=q?F:B,se=bo(ie),de=!1;!(re&&(E||A))&&(m===s&&ie<0||m===u&&ie>0||m===i&&ie>0||m===o&&ie<0)&&(se*=-1,Z=se*Math.abs(Z),de=!0);var oe;if(E){var ce=M<0?1+M:M;oe=ce*Z}else{var we=M<0?Z:0;oe=we+M*se}var Te=function(Ge){return Math.abs(Ge)<w||Math.abs(Ge)>=Math.abs(Z)},Ee=Te(oe),ye=Te(Math.abs(Z)-Math.abs(oe)),ae=Ee||ye;if(ae&&!de)if(q){var xe=Math.abs(ie)<=h/2,Ce=Math.abs(B)<=c/2;if(xe){var Oe=(v.x1+v.x2)/2,Ie=v.y1,He=v.y2;r.segpts=[Oe,Ie,Oe,He]}else if(Ce){var We=(v.y1+v.y2)/2,Re=v.x1,Me=v.x2;r.segpts=[Re,We,Me,We]}else r.segpts=[v.x1,v.y2]}else{var Ve=Math.abs(ie)<=f/2,Fe=Math.abs(F)<=d/2;if(Ve){var ke=(v.y1+v.y2)/2,ze=v.x1,et=v.x2;r.segpts=[ze,ke,et,ke]}else if(Fe){var qe=(v.x1+v.x2)/2,Ye=v.y1,Se=v.y2;r.segpts=[qe,Ye,qe,Se]}else r.segpts=[v.x2,v.y1]}else if(q){var N=v.y1+oe+(y?h/2*se:0),ue=v.x1,De=v.x2;r.segpts=[ue,N,De,N]}else{var me=v.x1+oe+(y?f/2*se:0),be=v.y1,Ke=v.y2;r.segpts=[me,be,me,Ke]}},Vt.tryToCorrectInvalidPoints=function(t,e){var r=t._private.rscratch;if(r.edgeType==="bezier"){var a=e.srcPos,n=e.tgtPos,i=e.srcW,o=e.srcH,s=e.tgtW,u=e.tgtH,l=e.srcShape,v=e.tgtShape,f=!k(r.startX)||!k(r.startY),h=!k(r.arrowStartX)||!k(r.arrowStartY),c=!k(r.endX)||!k(r.endY),d=!k(r.arrowEndX)||!k(r.arrowEndY),g=3,y=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth,p=g*y,m=Pr({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.startX,y:r.startY}),b=m<p,E=Pr({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.endX,y:r.endY}),M=E<p,A=!1;if(f||h||b){A=!0;var w={x:r.ctrlpts[0]-a.x,y:r.ctrlpts[1]-a.y},I=Math.sqrt(w.x*w.x+w.y*w.y),C={x:w.x/I,y:w.y/I},B=Math.max(i,o),F={x:r.ctrlpts[0]+C.x*2*B,y:r.ctrlpts[1]+C.y*2*B},R=l.intersectLine(a.x,a.y,i,o,F.x,F.y,0);b?(r.ctrlpts[0]=r.ctrlpts[0]+C.x*(p-m),r.ctrlpts[1]=r.ctrlpts[1]+C.y*(p-m)):(r.ctrlpts[0]=R[0]+C.x*p,r.ctrlpts[1]=R[1]+C.y*p)}if(c||d||M){A=!0;var X={x:r.ctrlpts[0]-n.x,y:r.ctrlpts[1]-n.y},G=Math.sqrt(X.x*X.x+X.y*X.y),re={x:X.x/G,y:X.y/G},q=Math.max(i,o),Z={x:r.ctrlpts[0]+re.x*2*q,y:r.ctrlpts[1]+re.y*2*q},ie=v.intersectLine(n.x,n.y,s,u,Z.x,Z.y,0);M?(r.ctrlpts[0]=r.ctrlpts[0]+re.x*(p-E),r.ctrlpts[1]=r.ctrlpts[1]+re.y*(p-E)):(r.ctrlpts[0]=ie[0]+re.x*p,r.ctrlpts[1]=ie[1]+re.y*p)}A&&this.findEndpoints(t)}},Vt.storeAllpts=function(t){var e=t._private.rscratch;if(e.edgeType==="multibezier"||e.edgeType==="bezier"||e.edgeType==="self"||e.edgeType==="compound"){e.allpts=[],e.allpts.push(e.startX,e.startY);for(var r=0;r+1<e.ctrlpts.length;r+=2)e.allpts.push(e.ctrlpts[r],e.ctrlpts[r+1]),r+3<e.ctrlpts.length&&e.allpts.push((e.ctrlpts[r]+e.ctrlpts[r+2])/2,(e.ctrlpts[r+1]+e.ctrlpts[r+3])/2);e.allpts.push(e.endX,e.endY);var a,n;e.ctrlpts.length/2%2===0?(a=e.allpts.length/2-1,e.midX=e.allpts[a],e.midY=e.allpts[a+1]):(a=e.allpts.length/2-3,n=.5,e.midX=St(e.allpts[a],e.allpts[a+2],e.allpts[a+4],n),e.midY=St(e.allpts[a+1],e.allpts[a+3],e.allpts[a+5],n))}else if(e.edgeType==="straight")e.allpts=[e.startX,e.startY,e.endX,e.endY],e.midX=(e.startX+e.endX+e.arrowStartX+e.arrowEndX)/4,e.midY=(e.startY+e.endY+e.arrowStartY+e.arrowEndY)/4;else if(e.edgeType==="segments")if(e.allpts=[],e.allpts.push(e.startX,e.startY),e.allpts.push.apply(e.allpts,e.segpts),e.allpts.push(e.endX,e.endY),e.segpts.length%4===0){var i=e.segpts.length/2,o=i-2;e.midX=(e.segpts[o]+e.segpts[i])/2,e.midY=(e.segpts[o+1]+e.segpts[i+1])/2}else{var s=e.segpts.length/2-1;e.midX=e.segpts[s],e.midY=e.segpts[s+1]}},Vt.checkForInvalidEdgeWarning=function(t){var e=t[0]._private.rscratch;e.nodesOverlap||k(e.startX)&&k(e.startY)&&k(e.endX)&&k(e.endY)?e.loggedErr=!1:e.loggedErr||(e.loggedErr=!0,vt("Edge `"+t.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},Vt.findEdgeControlPoints=function(t){var e=this;if(!(!t||t.length===0)){for(var r=this,a=r.cy,n=a.hasCompoundNodes(),i={map:new lr,get:function(w){var I=this.map.get(w[0]);return I!=null?I.get(w[1]):null},set:function(w,I){var C=this.map.get(w[0]);C==null&&(C=new lr,this.map.set(w[0],C)),C.set(w[1],I)}},o=[],s=[],u=0;u<t.length;u++){var l=t[u],v=l._private,f=l.pstyle("curve-style").value;if(!(l.removed()||!l.takesUpSpace())){if(f==="haystack"){s.push(l);continue}var h=f==="unbundled-bezier"||f==="segments"||f==="straight"||f==="straight-triangle"||f==="taxi",c=f==="unbundled-bezier"||f==="bezier",d=v.source,g=v.target,y=d.poolIndex(),p=g.poolIndex(),m=[y,p].sort(),b=i.get(m);b==null&&(b={eles:[]},i.set(m,b),o.push(m)),b.eles.push(l),h&&(b.hasUnbundled=!0),c&&(b.hasBezier=!0)}}for(var E=function(w){var I=o[w],C=i.get(I),B=void 0;if(!C.hasUnbundled){var F=C.eles[0].parallelEdges().filter(function(Se){return Se.isBundledBezier()});ii(C.eles),F.forEach(function(Se){return C.eles.push(Se)}),C.eles.sort(function(Se,N){return Se.poolIndex()-N.poolIndex()})}var R=C.eles[0],X=R.source(),G=R.target();if(X.poolIndex()>G.poolIndex()){var re=X;X=G,G=re}var q=C.srcPos=X.position(),Z=C.tgtPos=G.position(),ie=C.srcW=X.outerWidth(),se=C.srcH=X.outerHeight(),de=C.tgtW=G.outerWidth(),oe=C.tgtH=G.outerHeight(),ce=C.srcShape=r.nodeShapes[e.getNodeShape(X)],we=C.tgtShape=r.nodeShapes[e.getNodeShape(G)];C.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var Te=0;Te<C.eles.length;Te++){var Ee=C.eles[Te],ye=Ee[0]._private.rscratch,ae=Ee.pstyle("curve-style").value,xe=ae==="unbundled-bezier"||ae==="segments"||ae==="taxi",Ce=!X.same(Ee.source());if(!C.calculatedIntersection&&X!==G&&(C.hasBezier||C.hasUnbundled)){C.calculatedIntersection=!0;var Oe=ce.intersectLine(q.x,q.y,ie,se,Z.x,Z.y,0),Ie=C.srcIntn=Oe,He=we.intersectLine(Z.x,Z.y,de,oe,q.x,q.y,0),We=C.tgtIntn=He,Re=C.intersectionPts={x1:Oe[0],x2:He[0],y1:Oe[1],y2:He[1]},Me=C.posPts={x1:q.x,x2:Z.x,y1:q.y,y2:Z.y},Ve=He[1]-Oe[1],Fe=He[0]-Oe[0],ke=Math.sqrt(Fe*Fe+Ve*Ve),ze=C.vector={x:Fe,y:Ve},et=C.vectorNorm={x:ze.x/ke,y:ze.y/ke},qe={x:-et.y,y:et.x};C.nodesOverlap=!k(ke)||we.checkPoint(Oe[0],Oe[1],0,de,oe,Z.x,Z.y)||ce.checkPoint(He[0],He[1],0,ie,se,q.x,q.y),C.vectorNormInverse=qe,B={nodesOverlap:C.nodesOverlap,dirCounts:C.dirCounts,calculatedIntersection:!0,hasBezier:C.hasBezier,hasUnbundled:C.hasUnbundled,eles:C.eles,srcPos:Z,tgtPos:q,srcW:de,srcH:oe,tgtW:ie,tgtH:se,srcIntn:We,tgtIntn:Ie,srcShape:we,tgtShape:ce,posPts:{x1:Me.x2,y1:Me.y2,x2:Me.x1,y2:Me.y1},intersectionPts:{x1:Re.x2,y1:Re.y2,x2:Re.x1,y2:Re.y1},vector:{x:-ze.x,y:-ze.y},vectorNorm:{x:-et.x,y:-et.y},vectorNormInverse:{x:-qe.x,y:-qe.y}}}var Ye=Ce?B:C;ye.nodesOverlap=Ye.nodesOverlap,ye.srcIntn=Ye.srcIntn,ye.tgtIntn=Ye.tgtIntn,n&&(X.isParent()||X.isChild()||G.isParent()||G.isChild())&&(X.parents().anySame(G)||G.parents().anySame(X)||X.same(G)&&X.isParent())?e.findCompoundLoopPoints(Ee,Ye,Te,xe):X===G?e.findLoopPoints(Ee,Ye,Te,xe):ae==="segments"?e.findSegmentsPoints(Ee,Ye):ae==="taxi"?e.findTaxiPoints(Ee,Ye):ae==="straight"||!xe&&C.eles.length%2===1&&Te===Math.floor(C.eles.length/2)?e.findStraightEdgePoints(Ee):e.findBezierPoints(Ee,Ye,Te,xe,Ce),e.findEndpoints(Ee),e.tryToCorrectInvalidPoints(Ee,Ye),e.checkForInvalidEdgeWarning(Ee),e.storeAllpts(Ee),e.storeEdgeProjections(Ee),e.calculateArrowAngles(Ee),e.recalculateEdgeLabelProjections(Ee),e.calculateLabelAngles(Ee)}},M=0;M<o.length;M++)E(M);this.findHaystackPoints(s)}};function al(t){var e=[];if(t!=null){for(var r=0;r<t.length;r+=2){var a=t[r],n=t[r+1];e.push({x:a,y:n})}return e}}Vt.getSegmentPoints=function(t){var e=t[0]._private.rscratch,r=e.edgeType;if(r==="segments")return this.recalculateRenderedStyle(t),al(e.segpts)},Vt.getControlPoints=function(t){var e=t[0]._private.rscratch,r=e.edgeType;if(r==="bezier"||r==="multibezier"||r==="self"||r==="compound")return this.recalculateRenderedStyle(t),al(e.ctrlpts)},Vt.getEdgeMidpoint=function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),{x:e.midX,y:e.midY}};var Qa={};Qa.manualEndptToPx=function(t,e){var r=this,a=t.position(),n=t.outerWidth(),i=t.outerHeight();if(e.value.length===2){var o=[e.pfValue[0],e.pfValue[1]];return e.units[0]==="%"&&(o[0]=o[0]*n),e.units[1]==="%"&&(o[1]=o[1]*i),o[0]+=a.x,o[1]+=a.y,o}else{var s=e.pfValue[0];s=-Math.PI/2+s;var u=2*Math.max(n,i),l=[a.x+Math.cos(s)*u,a.y+Math.sin(s)*u];return r.nodeShapes[this.getNodeShape(t)].intersectLine(a.x,a.y,n,i,l[0],l[1],0)}},Qa.findEndpoints=function(t){var e=this,r,a=t.source()[0],n=t.target()[0],i=a.position(),o=n.position(),s=t.pstyle("target-arrow-shape").value,u=t.pstyle("source-arrow-shape").value,l=t.pstyle("target-distance-from-node").pfValue,v=t.pstyle("source-distance-from-node").pfValue,f=t.pstyle("curve-style").value,h=t._private.rscratch,c=h.edgeType,d=f==="taxi",g=c==="self"||c==="compound",y=c==="bezier"||c==="multibezier"||g,p=c!=="bezier",m=c==="straight"||c==="segments",b=c==="segments",E=y||p||m,M=g||d,A=t.pstyle("source-endpoint"),w=M?"outside-to-node":A.value,I=t.pstyle("target-endpoint"),C=M?"outside-to-node":I.value;h.srcManEndpt=A,h.tgtManEndpt=I;var B,F,R,X;if(y){var G=[h.ctrlpts[0],h.ctrlpts[1]],re=p?[h.ctrlpts[h.ctrlpts.length-2],h.ctrlpts[h.ctrlpts.length-1]]:G;B=re,F=G}else if(m){var q=b?h.segpts.slice(0,2):[o.x,o.y],Z=b?h.segpts.slice(h.segpts.length-2):[i.x,i.y];B=Z,F=q}if(C==="inside-to-node")r=[o.x,o.y];else if(I.units)r=this.manualEndptToPx(n,I);else if(C==="outside-to-line")r=h.tgtIntn;else if(C==="outside-to-node"||C==="outside-to-node-or-label"?R=B:(C==="outside-to-line"||C==="outside-to-line-or-label")&&(R=[i.x,i.y]),r=e.nodeShapes[this.getNodeShape(n)].intersectLine(o.x,o.y,n.outerWidth(),n.outerHeight(),R[0],R[1],0),C==="outside-to-node-or-label"||C==="outside-to-line-or-label"){var ie=n._private.rscratch,se=ie.labelWidth,de=ie.labelHeight,oe=ie.labelX,ce=ie.labelY,we=se/2,Te=de/2,Ee=n.pstyle("text-valign").value;Ee==="top"?ce-=Te:Ee==="bottom"&&(ce+=Te);var ye=n.pstyle("text-halign").value;ye==="left"?oe-=we:ye==="right"&&(oe+=we);var ae=Ba(R[0],R[1],[oe-we,ce-Te,oe+we,ce-Te,oe+we,ce+Te,oe-we,ce+Te],o.x,o.y);if(ae.length>0){var xe=i,Ce=Br(xe,jr(r)),Oe=Br(xe,jr(ae)),Ie=Ce;if(Oe<Ce&&(r=ae,Ie=Oe),ae.length>2){var He=Br(xe,{x:ae[2],y:ae[3]});He<Ie&&(r=[ae[2],ae[3]])}}}var We=yn(r,B,e.arrowShapes[s].spacing(t)+l),Re=yn(r,B,e.arrowShapes[s].gap(t)+l);if(h.endX=Re[0],h.endY=Re[1],h.arrowEndX=We[0],h.arrowEndY=We[1],w==="inside-to-node")r=[i.x,i.y];else if(A.units)r=this.manualEndptToPx(a,A);else if(w==="outside-to-line")r=h.srcIntn;else if(w==="outside-to-node"||w==="outside-to-node-or-label"?X=F:(w==="outside-to-line"||w==="outside-to-line-or-label")&&(X=[o.x,o.y]),r=e.nodeShapes[this.getNodeShape(a)].intersectLine(i.x,i.y,a.outerWidth(),a.outerHeight(),X[0],X[1],0),w==="outside-to-node-or-label"||w==="outside-to-line-or-label"){var Me=a._private.rscratch,Ve=Me.labelWidth,Fe=Me.labelHeight,ke=Me.labelX,ze=Me.labelY,et=Ve/2,qe=Fe/2,Ye=a.pstyle("text-valign").value;Ye==="top"?ze-=qe:Ye==="bottom"&&(ze+=qe);var Se=a.pstyle("text-halign").value;Se==="left"?ke-=et:Se==="right"&&(ke+=et);var N=Ba(X[0],X[1],[ke-et,ze-qe,ke+et,ze-qe,ke+et,ze+qe,ke-et,ze+qe],i.x,i.y);if(N.length>0){var ue=o,De=Br(ue,jr(r)),me=Br(ue,jr(N)),be=De;if(me<De&&(r=[N[0],N[1]],be=me),N.length>2){var Ke=Br(ue,{x:N[2],y:N[3]});Ke<be&&(r=[N[2],N[3]])}}}var Le=yn(r,F,e.arrowShapes[u].spacing(t)+v),Ge=yn(r,F,e.arrowShapes[u].gap(t)+v);h.startX=Ge[0],h.startY=Ge[1],h.arrowStartX=Le[0],h.arrowStartY=Le[1],E&&(!k(h.startX)||!k(h.startY)||!k(h.endX)||!k(h.endY)?h.badLine=!0:h.badLine=!1)},Qa.getSourceEndpoint=function(t){var e=t[0]._private.rscratch;switch(this.recalculateRenderedStyle(t),e.edgeType){case"haystack":return{x:e.haystackPts[0],y:e.haystackPts[1]};default:return{x:e.arrowStartX,y:e.arrowStartY}}},Qa.getTargetEndpoint=function(t){var e=t[0]._private.rscratch;switch(this.recalculateRenderedStyle(t),e.edgeType){case"haystack":return{x:e.haystackPts[2],y:e.haystackPts[3]};default:return{x:e.arrowEndX,y:e.arrowEndY}}};var Fi={};function cg(t,e,r){for(var a=function(l,v,f,h){return St(l,v,f,h)},n=e._private,i=n.rstyle.bezierPts,o=0;o<t.bezierProjPcts.length;o++){var s=t.bezierProjPcts[o];i.push({x:a(r[0],r[2],r[4],s),y:a(r[1],r[3],r[5],s)})}}Fi.storeEdgeProjections=function(t){var e=t._private,r=e.rscratch,a=r.edgeType;if(e.rstyle.bezierPts=null,e.rstyle.linePts=null,e.rstyle.haystackPts=null,a==="multibezier"||a==="bezier"||a==="self"||a==="compound"){e.rstyle.bezierPts=[];for(var n=0;n+5<r.allpts.length;n+=4)cg(this,t,r.allpts.slice(n,n+6))}else if(a==="segments")for(var i=e.rstyle.linePts=[],n=0;n+1<r.allpts.length;n+=2)i.push({x:r.allpts[n],y:r.allpts[n+1]});else if(a==="haystack"){var o=r.haystackPts;e.rstyle.haystackPts=[{x:o[0],y:o[1]},{x:o[2],y:o[3]}]}e.rstyle.arrowWidth=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth},Fi.recalculateEdgeProjections=function(t){this.findEdgeControlPoints(t)};var vr={};vr.recalculateNodeLabelProjection=function(t){var e=t.pstyle("label").strValue;if(!Pe(e)){var r,a,n=t._private,i=t.width(),o=t.height(),s=t.padding(),u=t.position(),l=t.pstyle("text-halign").strValue,v=t.pstyle("text-valign").strValue,f=n.rscratch,h=n.rstyle;switch(l){case"left":r=u.x-i/2-s;break;case"right":r=u.x+i/2+s;break;default:r=u.x}switch(v){case"top":a=u.y-o/2-s;break;case"bottom":a=u.y+o/2+s;break;default:a=u.y}f.labelX=r,f.labelY=a,h.labelX=r,h.labelY=a,this.calculateLabelAngles(t),this.applyLabelDimensions(t)}};var nl=function(e,r){var a=Math.atan(r/e);return e===0&&a<0&&(a=a*-1),a},il=function(e,r){var a=r.x-e.x,n=r.y-e.y;return nl(a,n)},dg=function(e,r,a,n){var i=ka(0,n-.001,1),o=ka(0,n+.001,1),s=ea(e,r,a,i),u=ea(e,r,a,o);return il(s,u)};vr.recalculateEdgeLabelProjections=function(t){var e,r=t._private,a=r.rscratch,n=this,i={mid:t.pstyle("label").strValue,source:t.pstyle("source-label").strValue,target:t.pstyle("target-label").strValue};if(i.mid||i.source||i.target){e={x:a.midX,y:a.midY};var o=function(f,h,c){xr(r.rscratch,f,h,c),xr(r.rstyle,f,h,c)};o("labelX",null,e.x),o("labelY",null,e.y);var s=nl(a.midDispX,a.midDispY);o("labelAutoAngle",null,s);var u=function v(){if(v.cache)return v.cache;for(var f=[],h=0;h+5<a.allpts.length;h+=4){var c={x:a.allpts[h],y:a.allpts[h+1]},d={x:a.allpts[h+2],y:a.allpts[h+3]},g={x:a.allpts[h+4],y:a.allpts[h+5]};f.push({p0:c,p1:d,p2:g,startDist:0,length:0,segments:[]})}var y=r.rstyle.bezierPts,p=n.bezierProjPcts.length;function m(w,I,C,B,F){var R=Pr(I,C),X=w.segments[w.segments.length-1],G={p0:I,p1:C,t0:B,t1:F,startDist:X?X.startDist+X.length:0,length:R};w.segments.push(G),w.length+=R}for(var b=0;b<f.length;b++){var E=f[b],M=f[b-1];M&&(E.startDist=M.startDist+M.length),m(E,E.p0,y[b*p],0,n.bezierProjPcts[0]);for(var A=0;A<p-1;A++)m(E,y[b*p+A],y[b*p+A+1],n.bezierProjPcts[A],n.bezierProjPcts[A+1]);m(E,y[b*p+p-1],E.p2,n.bezierProjPcts[p-1],1)}return v.cache=f},l=function(f){var h,c=f==="source";if(i[f]){var d=t.pstyle(f+"-text-offset").pfValue;switch(a.edgeType){case"self":case"compound":case"bezier":case"multibezier":{for(var g=u(),y,p=0,m=0,b=0;b<g.length;b++){for(var E=g[c?b:g.length-1-b],M=0;M<E.segments.length;M++){var A=E.segments[c?M:E.segments.length-1-M],w=b===g.length-1&&M===E.segments.length-1;if(p=m,m+=A.length,m>=d||w){y={cp:E,segment:A};break}}if(y)break}var I=y.cp,C=y.segment,B=(d-p)/C.length,F=C.t1-C.t0,R=c?C.t0+F*B:C.t1-F*B;R=ka(0,R,1),e=ea(I.p0,I.p1,I.p2,R),h=dg(I.p0,I.p1,I.p2,R);break}case"straight":case"segments":case"haystack":{for(var X=0,G,re,q,Z,ie=a.allpts.length,se=0;se+3<ie&&(c?(q={x:a.allpts[se],y:a.allpts[se+1]},Z={x:a.allpts[se+2],y:a.allpts[se+3]}):(q={x:a.allpts[ie-2-se],y:a.allpts[ie-1-se]},Z={x:a.allpts[ie-4-se],y:a.allpts[ie-3-se]}),G=Pr(q,Z),re=X,X+=G,!(X>=d));se+=2);var de=d-re,oe=de/G;oe=ka(0,oe,1),e=xv(q,Z,oe),h=il(q,Z);break}}o("labelX",f,e.x),o("labelY",f,e.y),o("labelAutoAngle",f,h)}};l("source"),l("target"),this.applyLabelDimensions(t)}},vr.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},vr.applyPrefixedLabelDimensions=function(t,e){var r=t._private,a=this.getLabelText(t,e),n=this.calculateLabelDimensions(t,a),i=t.pstyle("line-height").pfValue,o=t.pstyle("text-wrap").strValue,s=er(r.rscratch,"labelWrapCachedLines",e)||[],u=o!=="wrap"?1:Math.max(s.length,1),l=n.height/u,v=l*i,f=n.width,h=n.height+(u-1)*(i-1)*l;xr(r.rstyle,"labelWidth",e,f),xr(r.rscratch,"labelWidth",e,f),xr(r.rstyle,"labelHeight",e,h),xr(r.rscratch,"labelHeight",e,h),xr(r.rscratch,"labelLineHeight",e,v)},vr.getLabelText=function(t,e){var r=t._private,a=e?e+"-":"",n=t.pstyle(a+"label").strValue,i=t.pstyle("text-transform").value,o=function(de,oe){return oe?(xr(r.rscratch,de,e,oe),oe):er(r.rscratch,de,e)};if(!n)return"";i=="none"||(i=="uppercase"?n=n.toUpperCase():i=="lowercase"&&(n=n.toLowerCase()));var s=t.pstyle("text-wrap").value;if(s==="wrap"){var u=o("labelKey");if(u!=null&&o("labelWrapKey")===u)return o("labelWrapCachedText");for(var l="",v=n.split(`
`),f=t.pstyle("text-max-width").pfValue,h=t.pstyle("text-overflow-wrap").value,c=h==="anywhere",d=[],g=/[\s\u200b]+/,y=c?"":" ",p=0;p<v.length;p++){var m=v[p],b=this.calculateLabelDimensions(t,m),E=b.width;if(c){var M=m.split("").join(l);m=M}if(E>f){for(var A=m.split(g),w="",I=0;I<A.length;I++){var C=A[I],B=w.length===0?C:w+y+C,F=this.calculateLabelDimensions(t,B),R=F.width;R<=f?w+=C+y:(w&&d.push(w),w=C+y)}w.match(/^[\s\u200b]+$/)||d.push(w)}else d.push(m)}o("labelWrapCachedLines",d),n=o("labelWrapCachedText",d.join(`
`)),o("labelWrapKey",u)}else if(s==="ellipsis"){var X=t.pstyle("text-max-width").pfValue,G="",re="…",q=!1;if(this.calculateLabelDimensions(t,n).width<X)return n;for(var Z=0;Z<n.length;Z++){var ie=this.calculateLabelDimensions(t,G+n[Z]+re).width;if(ie>X)break;G+=n[Z],Z===n.length-1&&(q=!0)}return q||(G+=re),G}return n},vr.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if(e==="auto")if(t.isNode())switch(r){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return e},vr.calculateLabelDimensions=function(t,e){var r=this,a=kr(e,t._private.labelDimsKey),n=r.labelDimCache||(r.labelDimCache=[]),i=n[a];if(i!=null)return i;var o=0,s=t.pstyle("font-style").strValue,u=t.pstyle("font-size").pfValue,l=t.pstyle("font-family").strValue,v=t.pstyle("font-weight").strValue,f=this.labelCalcCanvas,h=this.labelCalcCanvasContext;if(!f){f=this.labelCalcCanvas=document.createElement("canvas"),h=this.labelCalcCanvasContext=f.getContext("2d");var c=f.style;c.position="absolute",c.left="-9999px",c.top="-9999px",c.zIndex="-1",c.visibility="hidden",c.pointerEvents="none"}h.font="".concat(s," ").concat(v," ").concat(u,"px ").concat(l);for(var d=0,g=0,y=e.split(`
`),p=0;p<y.length;p++){var m=y[p],b=h.measureText(m),E=Math.ceil(b.width),M=u;d=Math.max(E,d),g+=M}return d+=o,g+=o,n[a]={width:d,height:g}},vr.calculateLabelAngle=function(t,e){var r=t._private,a=r.rscratch,n=t.isEdge(),i=e?e+"-":"",o=t.pstyle(i+"text-rotation"),s=o.strValue;return s==="none"?0:n&&s==="autorotate"?a.labelAutoAngle:s==="autorotate"?0:o.pfValue},vr.calculateLabelAngles=function(t){var e=this,r=t.isEdge(),a=t._private,n=a.rscratch;n.labelAngle=e.calculateLabelAngle(t),r&&(n.sourceLabelAngle=e.calculateLabelAngle(t,"source"),n.targetLabelAngle=e.calculateLabelAngle(t,"target"))};var ol={},sl=28,ll=!1;ol.getNodeShape=function(t){var e=this,r=t.pstyle("shape").value;if(r==="cutrectangle"&&(t.width()<sl||t.height()<sl))return ll||(vt("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),ll=!0),"rectangle";if(t.isParent())return r==="rectangle"||r==="roundrectangle"||r==="round-rectangle"||r==="cutrectangle"||r==="cut-rectangle"||r==="barrel"?r:"rectangle";if(r==="polygon"){var a=t.pstyle("shape-polygon-points").value;return e.nodeShapes.makePolygon(a).name}return r};var Xn={};Xn.registerCalculationListeners=function(){var t=this.cy,e=t.collection(),r=this,a=function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(e.merge(o),s)for(var u=0;u<o.length;u++){var l=o[u],v=l._private,f=v.rstyle;f.clean=!1,f.cleanConnected=!1}};r.binder(t).on("bounds.* dirty.*",function(o){var s=o.target;a(s)}).on("style.* background.*",function(o){var s=o.target;a(s,!1)});var n=function(o){if(o){var s=r.onUpdateEleCalcsFns;e.cleanStyle();for(var u=0;u<e.length;u++){var l=e[u],v=l._private.rstyle;l.isNode()&&!v.cleanConnected&&(a(l.connectedEdges()),v.cleanConnected=!0)}if(s)for(var f=0;f<s.length;f++){var h=s[f];h(o,e)}r.recalculateRenderedStyle(e),e=t.collection()}};r.flushRenderedStyleQueue=function(){n(!0)},r.beforeRender(n,r.beforeRenderPriorities.eleCalcs)},Xn.onUpdateEleCalcs=function(t){var e=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];e.push(t)},Xn.recalculateRenderedStyle=function(t,e){var r=function(E){return E._private.rstyle.cleanConnected},a=[],n=[];if(!this.destroyed){e===void 0&&(e=!0);for(var i=0;i<t.length;i++){var o=t[i],s=o._private,u=s.rstyle;o.isEdge()&&(!r(o.source())||!r(o.target()))&&(u.clean=!1),!(e&&u.clean||o.removed())&&o.pstyle("display").value!=="none"&&(s.group==="nodes"?n.push(o):a.push(o),u.clean=!0)}for(var l=0;l<n.length;l++){var v=n[l],f=v._private,h=f.rstyle,c=v.position();this.recalculateNodeLabelProjection(v),h.nodeX=c.x,h.nodeY=c.y,h.nodeW=v.pstyle("width").pfValue,h.nodeH=v.pstyle("height").pfValue}this.recalculateEdgeProjections(a);for(var d=0;d<a.length;d++){var g=a[d],y=g._private,p=y.rstyle,m=y.rscratch;p.srcX=m.arrowStartX,p.srcY=m.arrowStartY,p.tgtX=m.arrowEndX,p.tgtY=m.arrowEndY,p.midX=m.midX,p.midY=m.midY,p.labelAngle=m.labelAngle,p.sourceLabelAngle=m.sourceLabelAngle,p.targetLabelAngle=m.targetLabelAngle}}};var Wn={};Wn.updateCachedGrabbedEles=function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],r=0;r<t.length;r++){var a=t[r],n=a._private.rscratch;a.grabbed()&&!a.isParent()?e.push(a):n.inDragLayer?t.drag.push(a):t.nondrag.push(a)}for(var r=0;r<e.length;r++){var a=e[r];t.drag.push(a)}}},Wn.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null},Wn.getCachedZSortedEles=function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(Ms),e.interactive=e.filter(function(r){return r.interactive()}),this.cachedZSortedEles=e,this.updateCachedGrabbedEles()}else e=this.cachedZSortedEles;return e};var ul={};[Vr,Hn,Vt,Qa,Fi,vr,ol,Xn,Wn].forEach(function(t){Ue(ul,t)});var vl={};vl.getCachedImage=function(t,e,r){var a=this,n=a.imageCache=a.imageCache||{},i=n[t];if(i)return i.image.complete||i.image.addEventListener("load",r),i.image;i=n[t]=n[t]||{};var o=i.image=new Image;o.addEventListener("load",r),o.addEventListener("error",function(){o.error=!0});var s="data:",u=t.substring(0,s.length).toLowerCase()===s;return u||(o.crossOrigin=e),o.src=t,o};var ya={};ya.registerBinding=function(t,e,r,a){var n=Array.prototype.slice.apply(arguments,[1]),i=this.binder(t);return i.on.apply(i,n)},ya.binder=function(t){var e=this,r=t===window||t===document||t===document.body||$e(t);if(e.supportsPassiveEvents==null){var a=!1;try{var n=Object.defineProperty({},"passive",{get:function(){return a=!0,!0}});window.addEventListener("test",null,n)}catch{}e.supportsPassiveEvents=a}var i=function(s,u,l){var v=Array.prototype.slice.call(arguments);return r&&e.supportsPassiveEvents&&(v[2]={capture:l??!1,passive:!1,once:!1}),e.bindings.push({target:t,args:v}),(t.addEventListener||t.on).apply(t,v),this};return{on:i,addEventListener:i,addListener:i,bind:i}},ya.nodeIsDraggable=function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},ya.nodeIsGrabbable=function(t){return this.nodeIsDraggable(t)&&t.interactive()},ya.load=function(){var t=this,e=function(N){return N.selected()},r=function(N,ue,De,me){N==null&&(N=t.cy);for(var be=0;be<ue.length;be++){var Ke=ue[be];N.emit({originalEvent:De,type:Ke,position:me})}},a=function(N){return N.shiftKey||N.metaKey||N.ctrlKey},n=function(N,ue){var De=!0;if(t.cy.hasCompoundNodes()&&N&&N.pannable())for(var me=0;ue&&me<ue.length;me++){var N=ue[me];if(N.isNode()&&N.isParent()&&!N.pannable()){De=!1;break}}else De=!0;return De},i=function(N){N[0]._private.grabbed=!0},o=function(N){N[0]._private.grabbed=!1},s=function(N){N[0]._private.rscratch.inDragLayer=!0},u=function(N){N[0]._private.rscratch.inDragLayer=!1},l=function(N){N[0]._private.rscratch.isGrabTarget=!0},v=function(N){N[0]._private.rscratch.isGrabTarget=!1},f=function(N,ue){var De=ue.addToList,me=De.has(N);!me&&N.grabbable()&&!N.locked()&&(De.merge(N),i(N))},h=function(N,ue){if(N.cy().hasCompoundNodes()&&!(ue.inDragLayer==null&&ue.addToList==null)){var De=N.descendants();ue.inDragLayer&&(De.forEach(s),De.connectedEdges().forEach(s)),ue.addToList&&f(De,ue)}},c=function(N,ue){ue=ue||{};var De=N.cy().hasCompoundNodes();ue.inDragLayer&&(N.forEach(s),N.neighborhood().stdFilter(function(me){return!De||me.isEdge()}).forEach(s)),ue.addToList&&N.forEach(function(me){f(me,ue)}),h(N,ue),y(N,{inDragLayer:ue.inDragLayer}),t.updateCachedGrabbedEles()},d=c,g=function(N){N&&(t.getCachedZSortedEles().forEach(function(ue){o(ue),u(ue),v(ue)}),t.updateCachedGrabbedEles())},y=function(N,ue){if(!(ue.inDragLayer==null&&ue.addToList==null)&&N.cy().hasCompoundNodes()){var De=N.ancestors().orphans();if(!De.same(N)){var me=De.descendants().spawnSelf().merge(De).unmerge(N).unmerge(N.descendants()),be=me.connectedEdges();ue.inDragLayer&&(be.forEach(s),me.forEach(s)),ue.addToList&&me.forEach(function(Ke){f(Ke,ue)})}}},p=function(){document.activeElement!=null&&document.activeElement.blur!=null&&document.activeElement.blur()},m=typeof MutationObserver<"u",b=typeof ResizeObserver<"u";m?(t.removeObserver=new MutationObserver(function(Se){for(var N=0;N<Se.length;N++){var ue=Se[N],De=ue.removedNodes;if(De)for(var me=0;me<De.length;me++){var be=De[me];if(be===t.container){t.destroy();break}}}}),t.container.parentNode&&t.removeObserver.observe(t.container.parentNode,{childList:!0})):t.registerBinding(t.container,"DOMNodeRemoved",function(Se){t.destroy()});var E=un(function(){t.cy.resize()},100);m&&(t.styleObserver=new MutationObserver(E),t.styleObserver.observe(t.container,{attributes:!0})),t.registerBinding(window,"resize",E),b&&(t.resizeObserver=new ResizeObserver(E),t.resizeObserver.observe(t.container));var M=function(N,ue){for(;N!=null;)ue(N),N=N.parentNode},A=function(){t.invalidateContainerClientCoordsCache()};M(t.container,function(Se){t.registerBinding(Se,"transitionend",A),t.registerBinding(Se,"animationend",A),t.registerBinding(Se,"scroll",A)}),t.registerBinding(t.container,"contextmenu",function(Se){Se.preventDefault()});var w=function(){return t.selection[4]!==0},I=function(N){for(var ue=t.findContainerClientCoords(),De=ue[0],me=ue[1],be=ue[2],Ke=ue[3],Le=N.touches?N.touches:[N],Ge=!1,at=0;at<Le.length;at++){var dt=Le[at];if(De<=dt.clientX&&dt.clientX<=De+be&&me<=dt.clientY&&dt.clientY<=me+Ke){Ge=!0;break}}if(!Ge)return!1;for(var Qe=t.container,lt=N.target,Ze=lt.parentNode,Je=!1;Ze;){if(Ze===Qe){Je=!0;break}Ze=Ze.parentNode}return!!Je};t.registerBinding(t.container,"mousedown",function(N){if(I(N)){N.preventDefault(),p(),t.hoverData.capture=!0,t.hoverData.which=N.which;var ue=t.cy,De=[N.clientX,N.clientY],me=t.projectIntoViewport(De[0],De[1]),be=t.selection,Ke=t.findNearestElements(me[0],me[1],!0,!1),Le=Ke[0],Ge=t.dragData.possibleDragElements;t.hoverData.mdownPos=me,t.hoverData.mdownGPos=De;var at=function(){t.hoverData.tapholdCancelled=!1,clearTimeout(t.hoverData.tapholdTimeout),t.hoverData.tapholdTimeout=setTimeout(function(){if(!t.hoverData.tapholdCancelled){var Ct=t.hoverData.down;Ct?Ct.emit({originalEvent:N,type:"taphold",position:{x:me[0],y:me[1]}}):ue.emit({originalEvent:N,type:"taphold",position:{x:me[0],y:me[1]}})}},t.tapholdDuration)};if(N.which==3){t.hoverData.cxtStarted=!0;var dt={originalEvent:N,type:"cxttapstart",position:{x:me[0],y:me[1]}};Le?(Le.activate(),Le.emit(dt),t.hoverData.down=Le):ue.emit(dt),t.hoverData.downTime=new Date().getTime(),t.hoverData.cxtDragged=!1}else if(N.which==1){Le&&Le.activate();{if(Le!=null&&t.nodeIsGrabbable(Le)){var Qe=function(Ct){return{originalEvent:N,type:Ct,position:{x:me[0],y:me[1]}}},lt=function(Ct){Ct.emit(Qe("grab"))};if(l(Le),!Le.selected())Ge=t.dragData.possibleDragElements=ue.collection(),d(Le,{addToList:Ge}),Le.emit(Qe("grabon")).emit(Qe("grab"));else{Ge=t.dragData.possibleDragElements=ue.collection();var Ze=ue.$(function(Je){return Je.isNode()&&Je.selected()&&t.nodeIsGrabbable(Je)});c(Ze,{addToList:Ge}),Le.emit(Qe("grabon")),Ze.forEach(lt)}t.redrawHint("eles",!0),t.redrawHint("drag",!0)}t.hoverData.down=Le,t.hoverData.downs=Ke,t.hoverData.downTime=new Date().getTime()}r(Le,["mousedown","tapstart","vmousedown"],N,{x:me[0],y:me[1]}),Le==null?(be[4]=1,t.data.bgActivePosistion={x:me[0],y:me[1]},t.redrawHint("select",!0),t.redraw()):Le.pannable()&&(be[4]=1),at()}be[0]=be[2]=me[0],be[1]=be[3]=me[1]}},!1),t.registerBinding(window,"mousemove",function(N){var ue=t.hoverData.capture;if(!(!ue&&!I(N))){var De=!1,me=t.cy,be=me.zoom(),Ke=[N.clientX,N.clientY],Le=t.projectIntoViewport(Ke[0],Ke[1]),Ge=t.hoverData.mdownPos,at=t.hoverData.mdownGPos,dt=t.selection,Qe=null;!t.hoverData.draggingEles&&!t.hoverData.dragging&&!t.hoverData.selecting&&(Qe=t.findNearestElement(Le[0],Le[1],!0,!1));var lt=t.hoverData.last,Ze=t.hoverData.down,Je=[Le[0]-dt[2],Le[1]-dt[3]],Ct=t.dragData.possibleDragElements,It;if(at){var ar=Ke[0]-at[0],nr=ar*ar,Rt=Ke[1]-at[1],Qt=Rt*Rt,_t=nr+Qt;t.hoverData.isOverThresholdDrag=It=_t>=t.desktopTapThreshold2}var br=a(N);It&&(t.hoverData.tapholdCancelled=!0);var Ir=function(){var hr=t.hoverData.dragDelta=t.hoverData.dragDelta||[];hr.length===0?(hr.push(Je[0]),hr.push(Je[1])):(hr[0]+=Je[0],hr[1]+=Je[1])};De=!0,r(Qe,["mousemove","vmousemove","tapdrag"],N,{x:Le[0],y:Le[1]});var xa=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||me.emit({originalEvent:N,type:"boxstart",position:{x:Le[0],y:Le[1]}}),dt[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(t.hoverData.which===3){if(It){var Hr={originalEvent:N,type:"cxtdrag",position:{x:Le[0],y:Le[1]}};Ze?Ze.emit(Hr):me.emit(Hr),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||Qe!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:N,type:"cxtdragout",position:{x:Le[0],y:Le[1]}}),t.hoverData.cxtOver=Qe,Qe&&Qe.emit({originalEvent:N,type:"cxtdragover",position:{x:Le[0],y:Le[1]}}))}}else if(t.hoverData.dragging){if(De=!0,me.panningEnabled()&&me.userPanningEnabled()){var Ta;if(t.hoverData.justStartedPan){var Qn=t.hoverData.mdownPos;Ta={x:(Le[0]-Qn[0])*be,y:(Le[1]-Qn[1])*be},t.hoverData.justStartedPan=!1}else Ta={x:Je[0]*be,y:Je[1]*be};me.panBy(Ta),me.emit("dragpan"),t.hoverData.dragged=!0}Le=t.projectIntoViewport(N.clientX,N.clientY)}else if(dt[4]==1&&(Ze==null||Ze.pannable())){if(It){if(!t.hoverData.dragging&&me.boxSelectionEnabled()&&(br||!me.panningEnabled()||!me.userPanningEnabled()))xa();else if(!t.hoverData.selecting&&me.panningEnabled()&&me.userPanningEnabled()){var Xr=n(Ze,t.hoverData.downs);Xr&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,dt[4]=0,t.data.bgActivePosistion=jr(Ge),t.redrawHint("select",!0),t.redraw())}Ze&&Ze.pannable()&&Ze.active()&&Ze.unactivate()}}else{if(Ze&&Ze.pannable()&&Ze.active()&&Ze.unactivate(),(!Ze||!Ze.grabbed())&&Qe!=lt&&(lt&&r(lt,["mouseout","tapdragout"],N,{x:Le[0],y:Le[1]}),Qe&&r(Qe,["mouseover","tapdragover"],N,{x:Le[0],y:Le[1]}),t.hoverData.last=Qe),Ze)if(It){if(me.boxSelectionEnabled()&&br)Ze&&Ze.grabbed()&&(g(Ct),Ze.emit("freeon"),Ct.emit("free"),t.dragData.didDrag&&(Ze.emit("dragfreeon"),Ct.emit("dragfree"))),xa();else if(Ze&&Ze.grabbed()&&t.nodeIsDraggable(Ze)){var Ht=!t.dragData.didDrag;Ht&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||c(Ct,{inDragLayer:!0});var zt={x:0,y:0};if(k(Je[0])&&k(Je[1])&&(zt.x+=Je[0],zt.y+=Je[1],Ht)){var Xt=t.hoverData.dragDelta;Xt&&k(Xt[0])&&k(Xt[1])&&(zt.x+=Xt[0],zt.y+=Xt[1])}t.hoverData.draggingEles=!0,Ct.silentShift(zt).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else Ir();De=!0}if(dt[2]=Le[0],dt[3]=Le[1],De)return N.stopPropagation&&N.stopPropagation(),N.preventDefault&&N.preventDefault(),!1}},!1);var C,B,F;t.registerBinding(window,"mouseup",function(N){var ue=t.hoverData.capture;if(ue){t.hoverData.capture=!1;var De=t.cy,me=t.projectIntoViewport(N.clientX,N.clientY),be=t.selection,Ke=t.findNearestElement(me[0],me[1],!0,!1),Le=t.dragData.possibleDragElements,Ge=t.hoverData.down,at=a(N);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,Ge&&Ge.unactivate(),t.hoverData.which===3){var dt={originalEvent:N,type:"cxttapend",position:{x:me[0],y:me[1]}};if(Ge?Ge.emit(dt):De.emit(dt),!t.hoverData.cxtDragged){var Qe={originalEvent:N,type:"cxttap",position:{x:me[0],y:me[1]}};Ge?Ge.emit(Qe):De.emit(Qe)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(t.hoverData.which===1){if(r(Ke,["mouseup","tapend","vmouseup"],N,{x:me[0],y:me[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(r(Ge,["click","tap","vclick"],N,{x:me[0],y:me[1]}),B=!1,N.timeStamp-F<=De.multiClickDebounceTime()?(C&&clearTimeout(C),B=!0,F=null,r(Ge,["dblclick","dbltap","vdblclick"],N,{x:me[0],y:me[1]})):(C=setTimeout(function(){B||r(Ge,["oneclick","onetap","voneclick"],N,{x:me[0],y:me[1]})},De.multiClickDebounceTime()),F=N.timeStamp)),Ge==null&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!a(N)&&(De.$(e).unselect(["tapunselect"]),Le.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=Le=De.collection()),Ke==Ge&&!t.dragData.didDrag&&!t.hoverData.selecting&&Ke!=null&&Ke._private.selectable&&(t.hoverData.dragging||(De.selectionType()==="additive"||at?Ke.selected()?Ke.unselect(["tapunselect"]):Ke.select(["tapselect"]):at||(De.$(e).unmerge(Ke).unselect(["tapunselect"]),Ke.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var lt=De.collection(t.getAllInBox(be[0],be[1],be[2],be[3]));t.redrawHint("select",!0),lt.length>0&&t.redrawHint("eles",!0),De.emit({type:"boxend",originalEvent:N,position:{x:me[0],y:me[1]}});var Ze=function(It){return It.selectable()&&!It.selected()};De.selectionType()==="additive"||at||De.$(e).unmerge(lt).unselect(),lt.emit("box").stdFilter(Ze).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!be[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var Je=Ge&&Ge.grabbed();g(Le),Je&&(Ge.emit("freeon"),Le.emit("free"),t.dragData.didDrag&&(Ge.emit("dragfreeon"),Le.emit("dragfree")))}}be[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 R=function(N){if(!t.scrollingPage){var ue=t.cy,De=ue.zoom(),me=ue.pan(),be=t.projectIntoViewport(N.clientX,N.clientY),Ke=[be[0]*De+me.x,be[1]*De+me.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||w()){N.preventDefault();return}if(ue.panningEnabled()&&ue.userPanningEnabled()&&ue.zoomingEnabled()&&ue.userZoomingEnabled()){N.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);var Le;N.deltaY!=null?Le=N.deltaY/-250:N.wheelDeltaY!=null?Le=N.wheelDeltaY/1e3:Le=N.wheelDelta/1e3,Le=Le*t.wheelSensitivity;var Ge=N.deltaMode===1;Ge&&(Le*=33);var at=ue.zoom()*Math.pow(10,Le);N.type==="gesturechange"&&(at=t.gestureStartZoom*N.scale),ue.zoom({level:at,renderedPosition:{x:Ke[0],y:Ke[1]}}),ue.emit(N.type==="gesturechange"?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",R,!0),t.registerBinding(window,"scroll",function(N){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},!0),t.registerBinding(t.container,"gesturestart",function(N){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||N.preventDefault()},!0),t.registerBinding(t.container,"gesturechange",function(Se){t.hasTouchStarted||R(Se)},!0),t.registerBinding(t.container,"mouseout",function(N){var ue=t.projectIntoViewport(N.clientX,N.clientY);t.cy.emit({originalEvent:N,type:"mouseout",position:{x:ue[0],y:ue[1]}})},!1),t.registerBinding(t.container,"mouseover",function(N){var ue=t.projectIntoViewport(N.clientX,N.clientY);t.cy.emit({originalEvent:N,type:"mouseover",position:{x:ue[0],y:ue[1]}})},!1);var X,G,re,q,Z,ie,se,de,oe,ce,we,Te,Ee,ye=function(N,ue,De,me){return Math.sqrt((De-N)*(De-N)+(me-ue)*(me-ue))},ae=function(N,ue,De,me){return(De-N)*(De-N)+(me-ue)*(me-ue)},xe;t.registerBinding(t.container,"touchstart",xe=function(N){if(t.hasTouchStarted=!0,!!I(N)){p(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var ue=t.cy,De=t.touchData.now,me=t.touchData.earlier;if(N.touches[0]){var be=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);De[0]=be[0],De[1]=be[1]}if(N.touches[1]){var be=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);De[2]=be[0],De[3]=be[1]}if(N.touches[2]){var be=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);De[4]=be[0],De[5]=be[1]}if(N.touches[1]){t.touchData.singleTouchMoved=!0,g(t.dragData.touchDragEles);var Ke=t.findContainerClientCoords();oe=Ke[0],ce=Ke[1],we=Ke[2],Te=Ke[3],X=N.touches[0].clientX-oe,G=N.touches[0].clientY-ce,re=N.touches[1].clientX-oe,q=N.touches[1].clientY-ce,Ee=0<=X&&X<=we&&0<=re&&re<=we&&0<=G&&G<=Te&&0<=q&&q<=Te;var Le=ue.pan(),Ge=ue.zoom();Z=ye(X,G,re,q),ie=ae(X,G,re,q),se=[(X+re)/2,(G+q)/2],de=[(se[0]-Le.x)/Ge,(se[1]-Le.y)/Ge];var at=200,dt=at*at;if(ie<dt&&!N.touches[2]){var Qe=t.findNearestElement(De[0],De[1],!0,!0),lt=t.findNearestElement(De[2],De[3],!0,!0);Qe&&Qe.isNode()?(Qe.activate().emit({originalEvent:N,type:"cxttapstart",position:{x:De[0],y:De[1]}}),t.touchData.start=Qe):lt&<.isNode()?(lt.activate().emit({originalEvent:N,type:"cxttapstart",position:{x:De[0],y:De[1]}}),t.touchData.start=lt):ue.emit({originalEvent:N,type:"cxttapstart",position:{x:De[0],y:De[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,t.redraw();return}}if(N.touches[2])ue.boxSelectionEnabled()&&N.preventDefault();else if(!N.touches[1]){if(N.touches[0]){var Ze=t.findNearestElements(De[0],De[1],!0,!0),Je=Ze[0];if(Je!=null&&(Je.activate(),t.touchData.start=Je,t.touchData.starts=Ze,t.nodeIsGrabbable(Je))){var Ct=t.dragData.touchDragEles=ue.collection(),It=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),Je.selected()?(It=ue.$(function(_t){return _t.selected()&&t.nodeIsGrabbable(_t)}),c(It,{addToList:Ct})):d(Je,{addToList:Ct}),l(Je);var ar=function(br){return{originalEvent:N,type:br,position:{x:De[0],y:De[1]}}};Je.emit(ar("grabon")),It?It.forEach(function(_t){_t.emit(ar("grab"))}):Je.emit(ar("grab"))}r(Je,["touchstart","tapstart","vmousedown"],N,{x:De[0],y:De[1]}),Je==null&&(t.data.bgActivePosistion={x:be[0],y:be[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout(function(){t.touchData.singleTouchMoved===!1&&!t.pinching&&!t.touchData.selecting&&r(t.touchData.start,["taphold"],N,{x:De[0],y:De[1]})},t.tapholdDuration)}}if(N.touches.length>=1){for(var nr=t.touchData.startPosition=[],Rt=0;Rt<De.length;Rt++)nr[Rt]=me[Rt]=De[Rt];var Qt=N.touches[0];t.touchData.startGPosition=[Qt.clientX,Qt.clientY]}}},!1);var Ce;t.registerBinding(window,"touchmove",Ce=function(N){var ue=t.touchData.capture;if(!(!ue&&!I(N))){var De=t.selection,me=t.cy,be=t.touchData.now,Ke=t.touchData.earlier,Le=me.zoom();if(N.touches[0]){var Ge=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);be[0]=Ge[0],be[1]=Ge[1]}if(N.touches[1]){var Ge=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);be[2]=Ge[0],be[3]=Ge[1]}if(N.touches[2]){var Ge=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);be[4]=Ge[0],be[5]=Ge[1]}var at=t.touchData.startGPosition,dt;if(ue&&N.touches[0]&&at){for(var Qe=[],lt=0;lt<be.length;lt++)Qe[lt]=be[lt]-Ke[lt];var Ze=N.touches[0].clientX-at[0],Je=Ze*Ze,Ct=N.touches[0].clientY-at[1],It=Ct*Ct,ar=Je+It;dt=ar>=t.touchTapThreshold2}if(ue&&t.touchData.cxt){N.preventDefault();var nr=N.touches[0].clientX-oe,Rt=N.touches[0].clientY-ce,Qt=N.touches[1].clientX-oe,_t=N.touches[1].clientY-ce,br=ae(nr,Rt,Qt,_t),Ir=br/ie,xa=150,Hr=xa*xa,Ta=1.5,Qn=Ta*Ta;if(Ir>=Qn||br>=Hr){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var Xr={originalEvent:N,type:"cxttapend",position:{x:be[0],y:be[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(Xr),t.touchData.start=null):me.emit(Xr)}}if(ue&&t.touchData.cxt){var Xr={originalEvent:N,type:"cxtdrag",position:{x:be[0],y:be[1]}};t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(Xr):me.emit(Xr),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var Ht=t.findNearestElement(be[0],be[1],!0,!0);(!t.touchData.cxtOver||Ht!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:N,type:"cxtdragout",position:{x:be[0],y:be[1]}}),t.touchData.cxtOver=Ht,Ht&&Ht.emit({originalEvent:N,type:"cxtdragover",position:{x:be[0],y:be[1]}}))}else if(ue&&N.touches[2]&&me.boxSelectionEnabled())N.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||me.emit({originalEvent:N,type:"boxstart",position:{x:be[0],y:be[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,De[4]=1,!De||De.length===0||De[0]===void 0?(De[0]=(be[0]+be[2]+be[4])/3,De[1]=(be[1]+be[3]+be[5])/3,De[2]=(be[0]+be[2]+be[4])/3+1,De[3]=(be[1]+be[3]+be[5])/3+1):(De[2]=(be[0]+be[2]+be[4])/3,De[3]=(be[1]+be[3]+be[5])/3),t.redrawHint("select",!0),t.redraw();else if(ue&&N.touches[1]&&!t.touchData.didSelect&&me.zoomingEnabled()&&me.panningEnabled()&&me.userZoomingEnabled()&&me.userPanningEnabled()){N.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var zt=t.dragData.touchDragEles;if(zt){t.redrawHint("drag",!0);for(var Xt=0;Xt<zt.length;Xt++){var Jn=zt[Xt]._private;Jn.grabbed=!1,Jn.rscratch.inDragLayer=!1}}var hr=t.touchData.start,nr=N.touches[0].clientX-oe,Rt=N.touches[0].clientY-ce,Qt=N.touches[1].clientX-oe,_t=N.touches[1].clientY-ce,Pl=ye(nr,Rt,Qt,_t),up=Pl/Z;if(Ee){var vp=nr-X,fp=Rt-G,hp=Qt-re,cp=_t-q,dp=(vp+hp)/2,gp=(fp+cp)/2,rn=me.zoom(),Hi=rn*up,jn=me.pan(),Bl=de[0]*rn+jn.x,Fl=de[1]*rn+jn.y,pp={x:-Hi/rn*(Bl-jn.x-dp)+Bl,y:-Hi/rn*(Fl-jn.y-gp)+Fl};if(hr&&hr.active()){var zt=t.dragData.touchDragEles;g(zt),t.redrawHint("drag",!0),t.redrawHint("eles",!0),hr.unactivate().emit("freeon"),zt.emit("free"),t.dragData.didDrag&&(hr.emit("dragfreeon"),zt.emit("dragfree"))}me.viewport({zoom:Hi,pan:pp,cancelOnFailedZoom:!0}),me.emit("pinchzoom"),Z=Pl,X=nr,G=Rt,re=Qt,q=_t,t.pinching=!0}if(N.touches[0]){var Ge=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);be[0]=Ge[0],be[1]=Ge[1]}if(N.touches[1]){var Ge=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);be[2]=Ge[0],be[3]=Ge[1]}if(N.touches[2]){var Ge=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);be[4]=Ge[0],be[5]=Ge[1]}}else if(N.touches[0]&&!t.touchData.didSelect){var ir=t.touchData.start,Xi=t.touchData.last,Ht;if(!t.hoverData.draggingEles&&!t.swipePanning&&(Ht=t.findNearestElement(be[0],be[1],!0,!0)),ue&&ir!=null&&N.preventDefault(),ue&&ir!=null&&t.nodeIsDraggable(ir))if(dt){var zt=t.dragData.touchDragEles,Gl=!t.dragData.didDrag;Gl&&c(zt,{inDragLayer:!0}),t.dragData.didDrag=!0;var an={x:0,y:0};if(k(Qe[0])&&k(Qe[1])&&(an.x+=Qe[0],an.y+=Qe[1],Gl)){t.redrawHint("eles",!0);var or=t.touchData.dragDelta;or&&k(or[0])&&k(or[1])&&(an.x+=or[0],an.y+=or[1])}t.hoverData.draggingEles=!0,zt.silentShift(an).emit("position drag"),t.redrawHint("drag",!0),t.touchData.startPosition[0]==Ke[0]&&t.touchData.startPosition[1]==Ke[1]&&t.redrawHint("eles",!0),t.redraw()}else{var or=t.touchData.dragDelta=t.touchData.dragDelta||[];or.length===0?(or.push(Qe[0]),or.push(Qe[1])):(or[0]+=Qe[0],or[1]+=Qe[1])}if(r(ir||Ht,["touchmove","tapdrag","vmousemove"],N,{x:be[0],y:be[1]}),(!ir||!ir.grabbed())&&Ht!=Xi&&(Xi&&Xi.emit({originalEvent:N,type:"tapdragout",position:{x:be[0],y:be[1]}}),Ht&&Ht.emit({originalEvent:N,type:"tapdragover",position:{x:be[0],y:be[1]}})),t.touchData.last=Ht,ue)for(var Xt=0;Xt<be.length;Xt++)be[Xt]&&t.touchData.startPosition[Xt]&&dt&&(t.touchData.singleTouchMoved=!0);if(ue&&(ir==null||ir.pannable())&&me.panningEnabled()&&me.userPanningEnabled()){var yp=n(ir,t.touchData.starts);yp&&(N.preventDefault(),t.data.bgActivePosistion||(t.data.bgActivePosistion=jr(t.touchData.startPosition)),t.swipePanning?(me.panBy({x:Qe[0]*Le,y:Qe[1]*Le}),me.emit("dragpan")):dt&&(t.swipePanning=!0,me.panBy({x:Ze*Le,y:Ct*Le}),me.emit("dragpan"),ir&&(ir.unactivate(),t.redrawHint("select",!0),t.touchData.start=null)));var Ge=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);be[0]=Ge[0],be[1]=Ge[1]}}for(var lt=0;lt<be.length;lt++)Ke[lt]=be[lt];ue&&N.touches.length>0&&!t.hoverData.draggingEles&&!t.swipePanning&&t.data.bgActivePosistion!=null&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1);var Oe;t.registerBinding(window,"touchcancel",Oe=function(N){var ue=t.touchData.start;t.touchData.capture=!1,ue&&ue.unactivate()});var Ie,He,We,Re;if(t.registerBinding(window,"touchend",Ie=function(N){var ue=t.touchData.start,De=t.touchData.capture;if(De)N.touches.length===0&&(t.touchData.capture=!1),N.preventDefault();else return;var me=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var be=t.cy,Ke=be.zoom(),Le=t.touchData.now,Ge=t.touchData.earlier;if(N.touches[0]){var at=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);Le[0]=at[0],Le[1]=at[1]}if(N.touches[1]){var at=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY);Le[2]=at[0],Le[3]=at[1]}if(N.touches[2]){var at=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY);Le[4]=at[0],Le[5]=at[1]}ue&&ue.unactivate();var dt;if(t.touchData.cxt){if(dt={originalEvent:N,type:"cxttapend",position:{x:Le[0],y:Le[1]}},ue?ue.emit(dt):be.emit(dt),!t.touchData.cxtDragged){var Qe={originalEvent:N,type:"cxttap",position:{x:Le[0],y:Le[1]}};ue?ue.emit(Qe):be.emit(Qe)}t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,t.redraw();return}if(!N.touches[2]&&be.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var lt=be.collection(t.getAllInBox(me[0],me[1],me[2],me[3]));me[0]=void 0,me[1]=void 0,me[2]=void 0,me[3]=void 0,me[4]=0,t.redrawHint("select",!0),be.emit({type:"boxend",originalEvent:N,position:{x:Le[0],y:Le[1]}});var Ze=function(Hr){return Hr.selectable()&&!Hr.selected()};lt.emit("box").stdFilter(Ze).select().emit("boxselect"),lt.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(ue!=null&&ue.unactivate(),N.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!N.touches[1]){if(!N.touches[0]){if(!N.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var Je=t.dragData.touchDragEles;if(ue!=null){var Ct=ue._private.grabbed;g(Je),t.redrawHint("drag",!0),t.redrawHint("eles",!0),Ct&&(ue.emit("freeon"),Je.emit("free"),t.dragData.didDrag&&(ue.emit("dragfreeon"),Je.emit("dragfree"))),r(ue,["touchend","tapend","vmouseup","tapdragout"],N,{x:Le[0],y:Le[1]}),ue.unactivate(),t.touchData.start=null}else{var It=t.findNearestElement(Le[0],Le[1],!0,!0);r(It,["touchend","tapend","vmouseup","tapdragout"],N,{x:Le[0],y:Le[1]})}var ar=t.touchData.startPosition[0]-Le[0],nr=ar*ar,Rt=t.touchData.startPosition[1]-Le[1],Qt=Rt*Rt,_t=nr+Qt,br=_t*Ke*Ke;t.touchData.singleTouchMoved||(ue||be.$(":selected").unselect(["tapunselect"]),r(ue,["tap","vclick"],N,{x:Le[0],y:Le[1]}),He=!1,N.timeStamp-Re<=be.multiClickDebounceTime()?(We&&clearTimeout(We),He=!0,Re=null,r(ue,["dbltap","vdblclick"],N,{x:Le[0],y:Le[1]})):(We=setTimeout(function(){He||r(ue,["onetap","voneclick"],N,{x:Le[0],y:Le[1]})},be.multiClickDebounceTime()),Re=N.timeStamp)),ue!=null&&!t.dragData.didDrag&&ue._private.selectable&&br<t.touchTapThreshold2&&!t.pinching&&(be.selectionType()==="single"?(be.$(e).unmerge(ue).unselect(["tapunselect"]),ue.select(["tapselect"])):ue.selected()?ue.unselect(["tapunselect"]):ue.select(["tapselect"]),t.redrawHint("eles",!0)),t.touchData.singleTouchMoved=!0}}}for(var Ir=0;Ir<Le.length;Ir++)Ge[Ir]=Le[Ir];t.dragData.didDrag=!1,N.touches.length===0&&(t.touchData.dragDelta=[],t.touchData.startPosition=null,t.touchData.startGPosition=null,t.touchData.didSelect=!1),N.touches.length<2&&(N.touches.length===1&&(t.touchData.startGPosition=[N.touches[0].clientX,N.touches[0].clientY]),t.pinching=!1,t.redrawHint("eles",!0),t.redraw())},!1),typeof TouchEvent>"u"){var Me=[],Ve=function(N){return{clientX:N.clientX,clientY:N.clientY,force:1,identifier:N.pointerId,pageX:N.pageX,pageY:N.pageY,radiusX:N.width/2,radiusY:N.height/2,screenX:N.screenX,screenY:N.screenY,target:N.target}},Fe=function(N){return{event:N,touch:Ve(N)}},ke=function(N){Me.push(Fe(N))},ze=function(N){for(var ue=0;ue<Me.length;ue++){var De=Me[ue];if(De.event.pointerId===N.pointerId){Me.splice(ue,1);return}}},et=function(N){var ue=Me.filter(function(De){return De.event.pointerId===N.pointerId})[0];ue.event=N,ue.touch=Ve(N)},qe=function(N){N.touches=Me.map(function(ue){return ue.touch})},Ye=function(N){return N.pointerType==="mouse"||N.pointerType===4};t.registerBinding(t.container,"pointerdown",function(Se){Ye(Se)||(Se.preventDefault(),ke(Se),qe(Se),xe(Se))}),t.registerBinding(t.container,"pointerup",function(Se){Ye(Se)||(ze(Se),qe(Se),Ie(Se))}),t.registerBinding(t.container,"pointercancel",function(Se){Ye(Se)||(ze(Se),qe(Se),Oe(Se))}),t.registerBinding(t.container,"pointermove",function(Se){Ye(Se)||(Se.preventDefault(),et(Se),qe(Se),Ce(Se))})}};var yr={};yr.generatePolygon=function(t,e){return this.nodeShapes[t]={renderer:this,name:t,points:e,draw:function(a,n,i,o,s){this.renderer.nodeShapeImpl("polygon",a,n,i,o,s,this.points)},intersectLine:function(a,n,i,o,s,u,l){return Ba(s,u,this.points,a,n,i/2,o/2,l)},checkPoint:function(a,n,i,o,s,u,l){return gr(a,n,this.points,u,l,o,s,[0,-1],i)}}},yr.generateEllipse=function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,o,s){return Pv(i,o,e,r,a/2+s,n/2+s)},checkPoint:function(e,r,a,n,i,o,s){return Fr(e,r,n,i,o,s,a)}}},yr.generateRoundPolygon=function(t,e){for(var r=new Array(e.length*2),a=0;a<e.length/2;a++){var n=a*2,i=void 0;a<e.length/2-1?i=(a+1)*2:i=0,r[a*4]=e[n],r[a*4+1]=e[n+1];var o=e[i]-e[n],s=e[i+1]-e[n+1],u=Math.sqrt(o*o+s*s);r[a*4+2]=o/u,r[a*4+3]=s/u}return this.nodeShapes[t]={renderer:this,name:t,points:r,draw:function(v,f,h,c,d){this.renderer.nodeShapeImpl("round-polygon",v,f,h,c,d,this.points)},intersectLine:function(v,f,h,c,d,g,y){return Bv(d,g,this.points,v,f,h,c)},checkPoint:function(v,f,h,c,d,g,y){return kv(v,f,this.points,g,y,c,d)}}},yr.generateRoundRectangle=function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:$t(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,o,s){return xo(i,o,e,r,a,n,s)},checkPoint:function(e,r,a,n,i,o,s){var u=Fa(n,i),l=u*2;return!!(gr(e,r,this.points,o,s,n,i-l,[0,-1],a)||gr(e,r,this.points,o,s,n-l,i,[0,-1],a)||Fr(e,r,l,l,o-n/2+u,s-i/2+u,a)||Fr(e,r,l,l,o+n/2-u,s-i/2+u,a)||Fr(e,r,l,l,o+n/2-u,s+i/2-u,a)||Fr(e,r,l,l,o-n/2+u,s+i/2-u,a))}}},yr.generateCutRectangle=function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:So(),points:$t(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},generateCutTrianglePts:function(e,r,a,n){var i=this.cornerLength,o=r/2,s=e/2,u=a-s,l=a+s,v=n-o,f=n+o;return{topLeft:[u,v+i,u+i,v,u+i,v+i],topRight:[l-i,v,l,v+i,l-i,v+i],bottomRight:[l,f-i,l-i,f,l-i,f-i],bottomLeft:[u+i,f,u,f-i,u+i,f-i]}},intersectLine:function(e,r,a,n,i,o,s){var u=this.generateCutTrianglePts(a+2*s,n+2*s,e,r),l=[].concat.apply([],[u.topLeft.splice(0,4),u.topRight.splice(0,4),u.bottomRight.splice(0,4),u.bottomLeft.splice(0,4)]);return Ba(i,o,l,e,r)},checkPoint:function(e,r,a,n,i,o,s){if(gr(e,r,this.points,o,s,n,i-2*this.cornerLength,[0,-1],a)||gr(e,r,this.points,o,s,n-2*this.cornerLength,i,[0,-1],a))return!0;var u=this.generateCutTrianglePts(n,i,o,s);return Yt(e,r,u.topLeft)||Yt(e,r,u.topRight)||Yt(e,r,u.bottomRight)||Yt(e,r,u.bottomLeft)}}},yr.generateBarrel=function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:$t(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,o,s){var u=.15,l=.5,v=.85,f=this.generateBarrelBezierPts(a+2*s,n+2*s,e,r),h=function(g){var y=ea({x:g[0],y:g[1]},{x:g[2],y:g[3]},{x:g[4],y:g[5]},u),p=ea({x:g[0],y:g[1]},{x:g[2],y:g[3]},{x:g[4],y:g[5]},l),m=ea({x:g[0],y:g[1]},{x:g[2],y:g[3]},{x:g[4],y:g[5]},v);return[g[0],g[1],y.x,y.y,p.x,p.y,m.x,m.y,g[4],g[5]]},c=[].concat(h(f.topLeft),h(f.topRight),h(f.bottomRight),h(f.bottomLeft));return Ba(i,o,c,e,r)},generateBarrelBezierPts:function(e,r,a,n){var i=r/2,o=e/2,s=a-o,u=a+o,l=n-i,v=n+i,f=ci(e,r),h=f.heightOffset,c=f.widthOffset,d=f.ctrlPtOffsetPct*e,g={topLeft:[s,l+h,s+d,l,s+c,l],topRight:[u-c,l,u-d,l,u,l+h],bottomRight:[u,v-h,u-d,v,u-c,v],bottomLeft:[s+c,v,s+d,v,s,v-h]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(e,r,a,n,i,o,s){var u=ci(n,i),l=u.heightOffset,v=u.widthOffset;if(gr(e,r,this.points,o,s,n,i-2*l,[0,-1],a)||gr(e,r,this.points,o,s,n-2*v,i,[0,-1],a))return!0;for(var f=this.generateBarrelBezierPts(n,i,o,s),h=function(w,I,C){var B=C[4],F=C[2],R=C[0],X=C[5],G=C[1],re=Math.min(B,R),q=Math.max(B,R),Z=Math.min(X,G),ie=Math.max(X,G);if(re<=w&&w<=q&&Z<=I&&I<=ie){var se=Fv(B,F,R),de=Nv(se[0],se[1],se[2],w),oe=de.filter(function(ce){return 0<=ce&&ce<=1});if(oe.length>0)return oe[0]}return null},c=Object.keys(f),d=0;d<c.length;d++){var g=c[d],y=f[g],p=h(e,r,y);if(p!=null){var m=y[5],b=y[3],E=y[1],M=St(m,b,E,p);if(y.isTop&&M<=r||y.isBottom&&r<=M)return!0}}return!1}}},yr.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:$t(4,0),draw:function(e,r,a,n,i){this.renderer.nodeShapeImpl(this.name,e,r,a,n,i)},intersectLine:function(e,r,a,n,i,o,s){var u=e-(a/2+s),l=r-(n/2+s),v=l,f=e+(a/2+s),h=Tr(i,o,e,r,u,l,f,v,!1);return h.length>0?h:xo(i,o,e,r,a,n,s)},checkPoint:function(e,r,a,n,i,o,s){var u=Fa(n,i),l=2*u;if(gr(e,r,this.points,o,s,n,i-l,[0,-1],a)||gr(e,r,this.points,o,s,n-l,i,[0,-1],a))return!0;var v=n/2+2*a,f=i/2+2*a,h=[o-v,s-f,o-v,s,o+v,s,o+v,s-f];return!!(Yt(e,r,h)||Fr(e,r,l,l,o+n/2-u,s+i/2-u,a)||Fr(e,r,l,l,o-n/2+u,s+i/2-u,a))}}},yr.registerNodeShapes=function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",$t(3,0)),this.generateRoundPolygon("round-triangle",$t(3,0)),this.generatePolygon("rectangle",$t(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();{var r=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",r),this.generateRoundPolygon("round-diamond",r)}this.generatePolygon("pentagon",$t(5,0)),this.generateRoundPolygon("round-pentagon",$t(5,0)),this.generatePolygon("hexagon",$t(6,0)),this.generateRoundPolygon("round-hexagon",$t(6,0)),this.generatePolygon("heptagon",$t(7,0)),this.generateRoundPolygon("round-heptagon",$t(7,0)),this.generatePolygon("octagon",$t(8,0)),this.generateRoundPolygon("round-octagon",$t(8,0));var a=new Array(20);{var n=fi(5,0),i=fi(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s<i.length/2;s++)i[s*2]*=o,i[s*2+1]*=o;for(var s=0;s<20/4;s++)a[s*4]=n[s*2],a[s*4+1]=n[s*2+1],a[s*4+2]=i[s*2],a[s*4+3]=i[s*2+1]}a=Do(a),this.generatePolygon("star",a),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);{var u=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",u),this.generateRoundPolygon("round-tag",u)}t.makePolygon=function(l){var v=l.join("$"),f="polygon-"+v,h;return(h=this[f])?h:e.generatePolygon(f,l)}};var Ja={};Ja.timeToRender=function(){return this.redrawTotalTime/this.redrawCount},Ja.redraw=function(t){t=t||po();var e=this;e.averageRedrawTime===void 0&&(e.averageRedrawTime=0),e.lastRedrawTime===void 0&&(e.lastRedrawTime=0),e.lastDrawTime===void 0&&(e.lastDrawTime=0),e.requestedFrame=!0,e.renderOptions=t},Ja.beforeRender=function(t,e){if(!this.destroyed){e==null&&xt("Priority is not optional for beforeRender");var r=this.beforeRenderCallbacks;r.push({fn:t,priority:e}),r.sort(function(a,n){return n.priority-a.priority})}};var fl=function(e,r,a){for(var n=e.beforeRenderCallbacks,i=0;i<n.length;i++)n[i].fn(r,a)};Ja.startRenderLoop=function(){var t=this,e=t.cy;if(!t.renderLoopStarted){t.renderLoopStarted=!0;var r=function a(n){if(!t.destroyed){if(!e.batching())if(t.requestedFrame&&!t.skipFrame){fl(t,!0,n);var i=dr();t.render(t.renderOptions);var o=t.lastDrawTime=dr();t.averageRedrawTime===void 0&&(t.averageRedrawTime=o-i),t.redrawCount===void 0&&(t.redrawCount=0),t.redrawCount++,t.redrawTotalTime===void 0&&(t.redrawTotalTime=0);var s=o-i;t.redrawTotalTime+=s,t.lastRedrawTime=s,t.averageRedrawTime=t.averageRedrawTime/2+s/2,t.requestedFrame=!1}else fl(t,!1,n);t.skipFrame=!1,vn(a)}};vn(r)}};var gg=function(e){this.init(e)},hl=gg,ma=hl.prototype;ma.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],ma.init=function(t){var e=this;e.options=t,e.cy=t.cy;var r=e.container=t.cy.container();if(D){var a=D.document,n=a.head,i="__________cytoscape_stylesheet",o="__________cytoscape_container",s=a.getElementById(i)!=null;if(r.className.indexOf(o)<0&&(r.className=(r.className||"")+" "+o),!s){var u=a.createElement("style");u.id=i,u.innerHTML="."+o+" { position: relative; }",n.insertBefore(u,n.children[0])}var l=D.getComputedStyle(r),v=l.getPropertyValue("position");v==="static"&&vt("A Cytoscape container has style position:static and so can not use UI extensions properly")}e.selection=[void 0,void 0,void 0,void 0,0],e.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],e.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},e.dragData={possibleDragElements:[]},e.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},e.redraws=0,e.showFps=t.showFps,e.debug=t.debug,e.hideEdgesOnViewport=t.hideEdgesOnViewport,e.textureOnViewport=t.textureOnViewport,e.wheelSensitivity=t.wheelSensitivity,e.motionBlurEnabled=t.motionBlur,e.forcedPixelRatio=k(t.pixelRatio)?t.pixelRatio:null,e.motionBlur=t.motionBlur,e.motionBlurOpacity=t.motionBlurOpacity,e.motionBlurTransparency=1-e.motionBlurOpacity,e.motionBlurPxRatio=1,e.mbPxRBlurry=1,e.minMbLowQualFrames=4,e.fullQualityMb=!1,e.clearedForMotionBlur=[],e.desktopTapThreshold=t.desktopTapThreshold,e.desktopTapThreshold2=t.desktopTapThreshold*t.desktopTapThreshold,e.touchTapThreshold=t.touchTapThreshold,e.touchTapThreshold2=t.touchTapThreshold*t.touchTapThreshold,e.tapholdDuration=500,e.bindings=[],e.beforeRenderCallbacks=[],e.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},e.registerNodeShapes(),e.registerArrowShapes(),e.registerCalculationListeners()},ma.notify=function(t,e){var r=this,a=r.cy;if(!this.destroyed){if(t==="init"){r.load();return}if(t==="destroy"){r.destroy();return}(t==="add"||t==="remove"||t==="move"&&a.hasCompoundNodes()||t==="load"||t==="zorder"||t==="mount")&&r.invalidateCachedZSortedEles(),t==="viewport"&&r.redrawHint("select",!0),(t==="load"||t==="resize"||t==="mount")&&(r.invalidateContainerClientCoordsCache(),r.matchCanvasSize(r.container)),r.redrawHint("eles",!0),r.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},ma.destroy=function(){var t=this;t.destroyed=!0,t.cy.stopAnimationLoop();for(var e=0;e<t.bindings.length;e++){var r=t.bindings[e],a=r,n=a.target;(n.off||n.removeEventListener).apply(n,a.args)}if(t.bindings=[],t.beforeRenderCallbacks=[],t.onUpdateEleCalcsFns=[],t.removeObserver&&t.removeObserver.disconnect(),t.styleObserver&&t.styleObserver.disconnect(),t.resizeObserver&&t.resizeObserver.disconnect(),t.labelCalcDiv)try{document.body.removeChild(t.labelCalcDiv)}catch{}},ma.isHeadless=function(){return!1},[Bi,ul,vl,ya,yr,Ja].forEach(function(t){Ue(ma,t)});var Gi=1e3/60,cl={setupDequeueing:function(e){return function(){var a=this,n=this.renderer;if(!a.dequeueingSetup){a.dequeueingSetup=!0;var i=un(function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()},e.deqRedrawThreshold),o=function(l,v){var f=dr(),h=n.averageRedrawTime,c=n.lastRedrawTime,d=[],g=n.cy.extent(),y=n.getPixelRatio();for(l||n.flushRenderedStyleQueue();;){var p=dr(),m=p-f,b=p-v;if(c<Gi){var E=Gi-(l?h:0);if(b>=e.deqFastCost*E)break}else if(l){if(m>=e.deqCost*c||m>=e.deqAvgCost*h)break}else if(b>=e.deqNoDrawCost*Gi)break;var M=e.deq(a,y,g);if(M.length>0)for(var A=0;A<M.length;A++)d.push(M[A]);else break}d.length>0&&(e.onDeqd(a,d),!l&&e.shouldRedraw(a,d,y,g)&&i())},s=e.priority||ni;n.beforeRender(o,s(a))}}}},pg=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hn;he(this,t),this.idsByKey=new lr,this.keyForId=new lr,this.cachesByLvl=new lr,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return O(t,[{key:"getIdsFor",value:function(r){r==null&&xt("Can not get id list for null key");var a=this.idsByKey,n=this.idsByKey.get(r);return n||(n=new Jr,a.set(r,n)),n}},{key:"addIdForKey",value:function(r,a){r!=null&&this.getIdsFor(r).add(a)}},{key:"deleteIdForKey",value:function(r,a){r!=null&&this.getIdsFor(r).delete(a)}},{key:"getNumberOfIdsForKey",value:function(r){return r==null?0:this.getIdsFor(r).size}},{key:"updateKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a),i=this.getKey(r);this.deleteIdForKey(n,a),this.addIdForKey(i,a),this.keyForId.set(a,i)}},{key:"deleteKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteIdForKey(n,a),this.keyForId.delete(a)}},{key:"keyHasChangedFor",value:function(r){var a=r.id(),n=this.keyForId.get(a),i=this.getKey(r);return n!==i}},{key:"isInvalid",value:function(r){return this.keyHasChangedFor(r)||this.doesEleInvalidateKey(r)}},{key:"getCachesAt",value:function(r){var a=this.cachesByLvl,n=this.lvls,i=a.get(r);return i||(i=new lr,a.set(r,i),n.push(r)),i}},{key:"getCache",value:function(r,a){return this.getCachesAt(a).get(r)}},{key:"get",value:function(r,a){var n=this.getKey(r),i=this.getCache(n,a);return i!=null&&this.updateKeyMappingFor(r),i}},{key:"getForCachedKey",value:function(r,a){var n=this.keyForId.get(r.id()),i=this.getCache(n,a);return i}},{key:"hasCache",value:function(r,a){return this.getCachesAt(a).has(r)}},{key:"has",value:function(r,a){var n=this.getKey(r);return this.hasCache(n,a)}},{key:"setCache",value:function(r,a,n){n.key=r,this.getCachesAt(a).set(r,n)}},{key:"set",value:function(r,a,n){var i=this.getKey(r);this.setCache(i,a,n),this.updateKeyMappingFor(r)}},{key:"deleteCache",value:function(r,a){this.getCachesAt(a).delete(r)}},{key:"delete",value:function(r,a){var n=this.getKey(r);this.deleteCache(n,a)}},{key:"invalidateKey",value:function(r){var a=this;this.lvls.forEach(function(n){return a.deleteCache(r,n)})}},{key:"invalidate",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteKeyMappingFor(r);var i=this.doesEleInvalidateKey(r);return i&&this.invalidateKey(n),i||this.getNumberOfIdsForKey(n)===0}}]),t}(),dl=25,qn=50,Kn=-4,zi=3,yg=7.99,mg=8,bg=1024,Eg=1024,wg=1024,xg=.2,Tg=.8,Cg=10,Dg=.15,Sg=.1,Lg=.9,Ag=.9,Og=100,Ng=1,ba={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Mg=Lt({getKey:null,doesEleInvalidateKey:hn,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:fo,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),ja=function(e,r){var a=this;a.renderer=e,a.onDequeues=[];var n=Mg(r);Ue(a,n),a.lookup=new pg(n.getKey,n.doesEleInvalidateKey),a.setupDequeueing()},Dt=ja.prototype;Dt.reasons=ba,Dt.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},Dt.getRetiredTextureQueue=function(t){var e=this,r=e.eleImgCaches.retired=e.eleImgCaches.retired||{},a=r[t]=r[t]||[];return a},Dt.getElementQueue=function(){var t=this,e=t.eleCacheQueue=t.eleCacheQueue||new Ra(function(r,a){return a.reqs-r.reqs});return e},Dt.getElementKeyToQueue=function(){var t=this,e=t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{};return e},Dt.getElement=function(t,e,r,a,n){var i=this,o=this.renderer,s=o.cy.zoom(),u=this.lookup;if(!e||e.w===0||e.h===0||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!i.allowEdgeTxrCaching&&t.isEdge()||!i.allowParentTxrCaching&&t.isParent())return null;if(a==null&&(a=Math.ceil(si(s*r))),a<Kn)a=Kn;else if(s>=yg||a>zi)return null;var l=Math.pow(2,a),v=e.h*l,f=e.w*l,h=o.eleTextBiggerThanMin(t,l);if(!this.isVisible(t,h))return null;var c=u.get(t,a);if(c&&c.invalidated&&(c.invalidated=!1,c.texture.invalidatedWidth-=c.width),c)return c;var d;if(v<=dl?d=dl:v<=qn?d=qn:d=Math.ceil(v/qn)*qn,v>wg||f>Eg)return null;var g=i.getTextureQueue(d),y=g[g.length-2],p=function(){return i.recycleTexture(d,f)||i.addTexture(d,f)};y||(y=g[g.length-1]),y||(y=p()),y.width-y.usedWidth<f&&(y=p());for(var m=function(q){return q&&q.scaledLabelShown===h},b=n&&n===ba.dequeue,E=n&&n===ba.highQuality,M=n&&n===ba.downscale,A,w=a+1;w<=zi;w++){var I=u.get(t,w);if(I){A=I;break}}var C=A&&A.level===a+1?A:null,B=function(){y.context.drawImage(C.texture.canvas,C.x,0,C.width,C.height,y.usedWidth,0,f,v)};if(y.context.setTransform(1,0,0,1,0,0),y.context.clearRect(y.usedWidth,0,f,d),m(C))B();else if(m(A))if(E){for(var F=A.level;F>a;F--)C=i.getElement(t,e,r,F,ba.downscale);B()}else return i.queueElement(t,A.level-1),A;else{var R;if(!b&&!E&&!M)for(var X=a-1;X>=Kn;X--){var G=u.get(t,X);if(G){R=G;break}}if(m(R))return i.queueElement(t,a),R;y.context.translate(y.usedWidth,0),y.context.scale(l,l),this.drawElement(y.context,t,e,h,!1),y.context.scale(1/l,1/l),y.context.translate(-y.usedWidth,0)}return c={x:y.usedWidth,texture:y,level:a,scale:l,width:f,height:v,scaledLabelShown:h},y.usedWidth+=Math.ceil(f+mg),y.eleCaches.push(c),u.set(t,a,c),i.checkTextureFullness(y),c},Dt.invalidateElements=function(t){for(var e=0;e<t.length;e++)this.invalidateElement(t[e])},Dt.invalidateElement=function(t){var e=this,r=e.lookup,a=[],n=r.isInvalid(t);if(n){for(var i=Kn;i<=zi;i++){var o=r.getForCachedKey(t,i);o&&a.push(o)}var s=r.invalidate(t);if(s)for(var u=0;u<a.length;u++){var l=a[u],v=l.texture;v.invalidatedWidth+=l.width,l.invalidated=!0,e.checkTextureUtility(v)}e.removeFromQueue(t)}},Dt.checkTextureUtility=function(t){t.invalidatedWidth>=xg*t.width&&this.retireTexture(t)},Dt.checkTextureFullness=function(t){var e=this,r=e.getTextureQueue(t.height);t.usedWidth/t.width>Tg&&t.fullnessChecks>=Cg?wr(r,t):t.fullnessChecks++},Dt.retireTexture=function(t){var e=this,r=t.height,a=e.getTextureQueue(r),n=this.lookup;wr(a,t),t.retired=!0;for(var i=t.eleCaches,o=0;o<i.length;o++){var s=i[o];n.deleteCache(s.key,s.level)}ii(i);var u=e.getRetiredTextureQueue(r);u.push(t)},Dt.addTexture=function(t,e){var r=this,a=r.getTextureQueue(t),n={};return a.push(n),n.eleCaches=[],n.height=t,n.width=Math.max(bg,e),n.usedWidth=0,n.invalidatedWidth=0,n.fullnessChecks=0,n.canvas=r.renderer.makeOffscreenCanvas(n.width,n.height),n.context=n.canvas.getContext("2d"),n},Dt.recycleTexture=function(t,e){for(var r=this,a=r.getTextureQueue(t),n=r.getRetiredTextureQueue(t),i=0;i<n.length;i++){var o=n[i];if(o.width>=e)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,ii(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),wr(n,o),a.push(o),o}},Dt.queueElement=function(t,e){var r=this,a=r.getElementQueue(),n=r.getElementKeyToQueue(),i=this.getKey(t),o=n[i];if(o)o.level=Math.max(o.level,e),o.eles.merge(t),o.reqs++,a.updateItem(o);else{var s={eles:t.spawn().merge(t),level:e,reqs:1,key:i};a.push(s),n[i]=s}},Dt.dequeue=function(t){for(var e=this,r=e.getElementQueue(),a=e.getElementKeyToQueue(),n=[],i=e.lookup,o=0;o<Ng&&r.size()>0;o++){var s=r.pop(),u=s.key,l=s.eles[0],v=i.hasCache(l,s.level);if(a[u]=null,v)continue;n.push(s);var f=e.getBoundingBox(l);e.getElement(l,f,t,s.level,ba.dequeue)}return n},Dt.removeFromQueue=function(t){var e=this,r=e.getElementQueue(),a=e.getElementKeyToQueue(),n=this.getKey(t),i=a[n];i!=null&&(i.eles.length===1?(i.reqs=ai,r.updateItem(i),r.pop(),a[n]=null):i.eles.unmerge(t))},Dt.onDequeue=function(t){this.onDequeues.push(t)},Dt.offDequeue=function(t){wr(this.onDequeues,t)},Dt.setupDequeueing=cl.setupDequeueing({deqRedrawThreshold:Og,deqCost:Dg,deqAvgCost:Sg,deqNoDrawCost:Lg,deqFastCost:Ag,deq:function(e,r,a){return e.dequeue(r,a)},onDeqd:function(e,r){for(var a=0;a<e.onDequeues.length;a++){var n=e.onDequeues[a];n(r)}},shouldRedraw:function(e,r,a,n){for(var i=0;i<r.length;i++)for(var o=r[i].eles,s=0;s<o.length;s++){var u=o[s].boundingBox();if(ui(u,n))return!0}return!1},priority:function(e){return e.renderer.beforeRenderPriorities.eleTxrDeq}});var Ig=1,en=-4,Zn=2,Rg=3.99,kg=50,Pg=50,Bg=.15,Fg=.1,Gg=.9,zg=.9,$g=1,gl=250,Vg=4e3*4e3,_g=!0,pl=function(e){var r=this,a=r.renderer=e,n=a.cy;r.layersByLevel={},r.firstGet=!0,r.lastInvalidationTime=dr()-2*gl,r.skipping=!1,r.eleTxrDeqs=n.collection(),r.scheduleElementRefinement=un(function(){r.refineElementTextures(r.eleTxrDeqs),r.eleTxrDeqs.unmerge(r.eleTxrDeqs)},Pg),a.beforeRender(function(o,s){s-r.lastInvalidationTime<=gl?r.skipping=!0:r.skipping=!1},a.beforeRenderPriorities.lyrTxrSkip);var i=function(s,u){return u.reqs-s.reqs};r.layersQueue=new Ra(i),r.setupDequeueing()},Mt=pl.prototype,yl=0,Ug=Math.pow(2,53)-1;Mt.makeLayer=function(t,e){var r=Math.pow(2,e),a=Math.ceil(t.w*r),n=Math.ceil(t.h*r),i=this.renderer.makeOffscreenCanvas(a,n),o={id:yl=++yl%Ug,bb:t,level:e,width:a,height:n,canvas:i,context:i.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=o.context,u=-o.bb.x1,l=-o.bb.y1;return s.scale(r,r),s.translate(u,l),o},Mt.getLayers=function(t,e,r){var a=this,n=a.renderer,i=n.cy,o=i.zoom(),s=a.firstGet;if(a.firstGet=!1,r==null){if(r=Math.ceil(si(o*e)),r<en)r=en;else if(o>=Rg||r>Zn)return null}a.validateLayersElesOrdering(r,t);var u=a.layersByLevel,l=Math.pow(2,r),v=u[r]=u[r]||[],f,h=a.levelIsComplete(r,t),c,d=function(){var B=function(re){if(a.validateLayersElesOrdering(re,t),a.levelIsComplete(re,t))return c=u[re],!0},F=function(re){if(!c)for(var q=r+re;en<=q&&q<=Zn&&!B(q);q+=re);};F(1),F(-1);for(var R=v.length-1;R>=0;R--){var X=v[R];X.invalid&&wr(v,X)}};if(!h)d();else return v;var g=function(){if(!f){f=Ut();for(var B=0;B<t.length;B++)Dv(f,t[B].boundingBox())}return f},y=function(B){B=B||{};var F=B.after;g();var R=f.w*l*(f.h*l);if(R>Vg)return null;var X=a.makeLayer(f,r);if(F!=null){var G=v.indexOf(F)+1;v.splice(G,0,X)}else(B.insert===void 0||B.insert)&&v.unshift(X);return X};if(a.skipping&&!s)return null;for(var p=null,m=t.length/Ig,b=!s,E=0;E<t.length;E++){var M=t[E],A=M._private.rscratch,w=A.imgLayerCaches=A.imgLayerCaches||{},I=w[r];if(I){p=I;continue}if((!p||p.eles.length>=m||!wo(p.bb,M.boundingBox()))&&(p=y({insert:!0,after:p}),!p))return null;c||b?a.queueLayer(p,M):a.drawEleInLayer(p,M,r,e),p.eles.push(M),w[r]=p}return c||(b?null:v)},Mt.getEleLevelForLayerLevel=function(t,e){return t},Mt.drawEleInLayer=function(t,e,r,a){var n=this,i=this.renderer,o=t.context,s=e.boundingBox();s.w===0||s.h===0||!e.visible()||(r=n.getEleLevelForLayerLevel(r,a),i.setImgSmoothing(o,!1),i.drawCachedElement(o,e,null,null,r,_g),i.setImgSmoothing(o,!0))},Mt.levelIsComplete=function(t,e){var r=this,a=r.layersByLevel[t];if(!a||a.length===0)return!1;for(var n=0,i=0;i<a.length;i++){var o=a[i];if(o.reqs>0||o.invalid)return!1;n+=o.eles.length}return n===e.length},Mt.validateLayersElesOrdering=function(t,e){var r=this.layersByLevel[t];if(r)for(var a=0;a<r.length;a++){for(var n=r[a],i=-1,o=0;o<e.length;o++)if(n.eles[0]===e[o]){i=o;break}if(i<0){this.invalidateLayer(n);continue}for(var s=i,o=0;o<n.eles.length;o++)if(n.eles[o]!==e[s+o]){this.invalidateLayer(n);break}}},Mt.updateElementsInLayers=function(t,e){for(var r=this,a=Ae(t[0]),n=0;n<t.length;n++)for(var i=a?null:t[n],o=a?t[n]:t[n].ele,s=o._private.rscratch,u=s.imgLayerCaches=s.imgLayerCaches||{},l=en;l<=Zn;l++){var v=u[l];v&&(i&&r.getEleLevelForLayerLevel(v.level)!==i.level||e(v,o,i))}},Mt.haveLayers=function(){for(var t=this,e=!1,r=en;r<=Zn;r++){var a=t.layersByLevel[r];if(a&&a.length>0){e=!0;break}}return e},Mt.invalidateElements=function(t){var e=this;t.length!==0&&(e.lastInvalidationTime=dr(),!(t.length===0||!e.haveLayers())&&e.updateElementsInLayers(t,function(a,n,i){e.invalidateLayer(a)}))},Mt.invalidateLayer=function(t){if(this.lastInvalidationTime=dr(),!t.invalid){var e=t.level,r=t.eles,a=this.layersByLevel[e];wr(a,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var n=0;n<r.length;n++){var i=r[n]._private.rscratch.imgLayerCaches;i&&(i[e]=null)}}},Mt.refineElementTextures=function(t){var e=this;e.updateElementsInLayers(t,function(a,n,i){var o=a.replacement;if(o||(o=a.replacement=e.makeLayer(a.bb,a.level),o.replaces=a,o.eles=a.eles),!o.reqs)for(var s=0;s<o.eles.length;s++)e.queueLayer(o,o.eles[s])})},Mt.enqueueElementRefinement=function(t){this.eleTxrDeqs.merge(t),this.scheduleElementRefinement()},Mt.queueLayer=function(t,e){var r=this,a=r.layersQueue,n=t.elesQueue,i=n.hasId=n.hasId||{};if(!t.replacement){if(e){if(i[e.id()])return;n.push(e),i[e.id()]=!0}t.reqs?(t.reqs++,a.updateItem(t)):(t.reqs=1,a.push(t))}},Mt.dequeue=function(t){for(var e=this,r=e.layersQueue,a=[],n=0;n<$g&&r.size()!==0;){var i=r.peek();if(i.replacement){r.pop();continue}if(i.replaces&&i!==i.replaces.replacement){r.pop();continue}if(i.invalid){r.pop();continue}var o=i.elesQueue.shift();o&&(e.drawEleInLayer(i,o,i.level,t),n++),a.length===0&&a.push(!0),i.elesQueue.length===0&&(r.pop(),i.reqs=0,i.replaces&&e.applyLayerReplacement(i),e.requestRedraw())}return a},Mt.applyLayerReplacement=function(t){var e=this,r=e.layersByLevel[t.level],a=t.replaces,n=r.indexOf(a);if(!(n<0||a.invalid)){r[n]=t;for(var i=0;i<t.eles.length;i++){var o=t.eles[i]._private,s=o.imgLayerCaches=o.imgLayerCaches||{};s&&(s[t.level]=t)}e.requestRedraw()}},Mt.requestRedraw=un(function(){var t=this.renderer;t.redrawHint("eles",!0),t.redrawHint("drag",!0),t.redraw()},100),Mt.setupDequeueing=cl.setupDequeueing({deqRedrawThreshold:kg,deqCost:Bg,deqAvgCost:Fg,deqNoDrawCost:Gg,deqFastCost:zg,deq:function(e,r){return e.dequeue(r)},onDeqd:ni,shouldRedraw:fo,priority:function(e){return e.renderer.beforeRenderPriorities.lyrTxrDeq}});var ml={},bl;function Yg(t,e){for(var r=0;r<e.length;r++){var a=e[r];t.lineTo(a.x,a.y)}}function Hg(t,e,r){for(var a,n=0;n<e.length;n++){var i=e[n];n===0&&(a=i),t.lineTo(i.x,i.y)}t.quadraticCurveTo(r.x,r.y,a.x,a.y)}function El(t,e,r){t.beginPath&&t.beginPath();for(var a=e,n=0;n<a.length;n++){var i=a[n];t.lineTo(i.x,i.y)}var o=r,s=r[0];t.moveTo(s.x,s.y);for(var n=1;n<o.length;n++){var i=o[n];t.lineTo(i.x,i.y)}t.closePath&&t.closePath()}function Xg(t,e,r,a,n){t.beginPath&&t.beginPath(),t.arc(r,a,n,0,Math.PI*2,!1);var i=e,o=i[0];t.moveTo(o.x,o.y);for(var s=0;s<i.length;s++){var u=i[s];t.lineTo(u.x,u.y)}t.closePath&&t.closePath()}function Wg(t,e,r,a){t.arc(e,r,a,0,Math.PI*2,!1)}ml.arrowShapeImpl=function(t){return(bl||(bl={polygon:Yg,"triangle-backcurve":Hg,"triangle-tee":El,"circle-triangle":Xg,"triangle-cross":El,circle:Wg}))[t]};var fr={};fr.drawElement=function(t,e,r,a,n,i){var o=this;e.isNode()?o.drawNode(t,e,r,a,n,i):o.drawEdge(t,e,r,a,n,i)},fr.drawElementOverlay=function(t,e){var r=this;e.isNode()?r.drawNodeOverlay(t,e):r.drawEdgeOverlay(t,e)},fr.drawElementUnderlay=function(t,e){var r=this;e.isNode()?r.drawNodeUnderlay(t,e):r.drawEdgeUnderlay(t,e)},fr.drawCachedElementPortion=function(t,e,r,a,n,i,o,s){var u=this,l=r.getBoundingBox(e);if(!(l.w===0||l.h===0)){var v=r.getElement(e,l,a,n,i);if(v!=null){var f=s(u,e);if(f===0)return;var h=o(u,e),c=l.x1,d=l.y1,g=l.w,y=l.h,p,m,b,E,M;if(h!==0){var A=r.getRotationPoint(e);b=A.x,E=A.y,t.translate(b,E),t.rotate(h),M=u.getImgSmoothing(t),M||u.setImgSmoothing(t,!0);var w=r.getRotationOffset(e);p=w.x,m=w.y}else p=c,m=d;var I;f!==1&&(I=t.globalAlpha,t.globalAlpha=I*f),t.drawImage(v.texture.canvas,v.x,0,v.width,v.height,p,m,g,y),f!==1&&(t.globalAlpha=I),h!==0&&(t.rotate(-h),t.translate(-b,-E),M||u.setImgSmoothing(t,!1))}else r.drawElement(t,e)}};var qg=function(){return 0},Kg=function(e,r){return e.getTextAngle(r,null)},Zg=function(e,r){return e.getTextAngle(r,"source")},Qg=function(e,r){return e.getTextAngle(r,"target")},Jg=function(e,r){return r.effectiveOpacity()},$i=function(e,r){return r.pstyle("text-opacity").pfValue*r.effectiveOpacity()};fr.drawCachedElement=function(t,e,r,a,n,i){var o=this,s=o.data,u=s.eleTxrCache,l=s.lblTxrCache,v=s.slbTxrCache,f=s.tlbTxrCache,h=e.boundingBox(),c=i===!0?u.reasons.highQuality:null;if(!(h.w===0||h.h===0||!e.visible())&&(!a||ui(h,a))){var d=e.isEdge(),g=e.element()._private.rscratch.badLine;o.drawElementUnderlay(t,e),o.drawCachedElementPortion(t,e,u,r,n,c,qg,Jg),(!d||!g)&&o.drawCachedElementPortion(t,e,l,r,n,c,Kg,$i),d&&!g&&(o.drawCachedElementPortion(t,e,v,r,n,c,Zg,$i),o.drawCachedElementPortion(t,e,f,r,n,c,Qg,$i)),o.drawElementOverlay(t,e)}},fr.drawElements=function(t,e){for(var r=this,a=0;a<e.length;a++){var n=e[a];r.drawElement(t,n)}},fr.drawCachedElements=function(t,e,r,a){for(var n=this,i=0;i<e.length;i++){var o=e[i];n.drawCachedElement(t,o,r,a)}},fr.drawCachedNodes=function(t,e,r,a){for(var n=this,i=0;i<e.length;i++){var o=e[i];o.isNode()&&n.drawCachedElement(t,o,r,a)}},fr.drawLayeredElements=function(t,e,r,a){var n=this,i=n.data.lyrTxrCache.getLayers(e,r);if(i)for(var o=0;o<i.length;o++){var s=i[o],u=s.bb;u.w===0||u.h===0||t.drawImage(s.canvas,u.x1,u.y1,u.w,u.h)}else n.drawCachedElements(t,e,r,a)};var mr={};mr.drawEdge=function(t,e,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,o=this,s=e._private.rscratch;if(!(i&&!e.visible())&&!(s.badLine||s.allpts==null||isNaN(s.allpts[0]))){var u;r&&(u=r,t.translate(-u.x1,-u.y1));var l=i?e.pstyle("opacity").value:1,v=i?e.pstyle("line-opacity").value:1,f=e.pstyle("curve-style").value,h=e.pstyle("line-style").value,c=e.pstyle("width").pfValue,d=e.pstyle("line-cap").value,g=l*v,y=l*v,p=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g;f==="straight-triangle"?(o.eleStrokeStyle(t,e,R),o.drawEdgeTrianglePath(e,t,s.allpts)):(t.lineWidth=c,t.lineCap=d,o.eleStrokeStyle(t,e,R),o.drawEdgePath(e,t,s.allpts,h),t.lineCap="butt")},m=function(){n&&o.drawEdgeOverlay(t,e)},b=function(){n&&o.drawEdgeUnderlay(t,e)},E=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y;o.drawArrowheads(t,e,R)},M=function(){o.drawElementText(t,e,null,a)};t.lineJoin="round";var A=e.pstyle("ghost").value==="yes";if(A){var w=e.pstyle("ghost-offset-x").pfValue,I=e.pstyle("ghost-offset-y").pfValue,C=e.pstyle("ghost-opacity").value,B=g*C;t.translate(w,I),p(B),E(B),t.translate(-w,-I)}b(),p(),E(),m(),M(),r&&t.translate(u.x1,u.y1)}};var wl=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a){if(a.visible()){var n=a.pstyle("".concat(e,"-opacity")).value;if(n!==0){var i=this,o=i.usePaths(),s=a._private.rscratch,u=a.pstyle("".concat(e,"-padding")).pfValue,l=2*u,v=a.pstyle("".concat(e,"-color")).value;r.lineWidth=l,s.edgeType==="self"&&!o?r.lineCap="butt":r.lineCap="round",i.colorStrokeStyle(r,v[0],v[1],v[2],n),i.drawEdgePath(a,r,s.allpts,"solid")}}}};mr.drawEdgeOverlay=wl("overlay"),mr.drawEdgeUnderlay=wl("underlay"),mr.drawEdgePath=function(t,e,r,a){var n=t._private.rscratch,i=e,o,s=!1,u=this.usePaths(),l=t.pstyle("line-dash-pattern").pfValue,v=t.pstyle("line-dash-offset").pfValue;if(u){var f=r.join("$"),h=n.pathCacheKey&&n.pathCacheKey===f;h?(o=e=n.pathCache,s=!0):(o=e=new Path2D,n.pathCacheKey=f,n.pathCache=o)}if(i.setLineDash)switch(a){case"dotted":i.setLineDash([1,1]);break;case"dashed":i.setLineDash(l),i.lineDashOffset=v;break;case"solid":i.setLineDash([]);break}if(!s&&!n.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(r[0],r[1]),n.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var c=2;c+3<r.length;c+=4)e.quadraticCurveTo(r[c],r[c+1],r[c+2],r[c+3]);break;case"straight":case"segments":case"haystack":for(var d=2;d+1<r.length;d+=2)e.lineTo(r[d],r[d+1]);break}e=i,u?e.stroke(o):e.stroke(),e.setLineDash&&e.setLineDash([])},mr.drawEdgeTrianglePath=function(t,e,r){e.fillStyle=e.strokeStyle;for(var a=t.pstyle("width").pfValue,n=0;n+1<r.length;n+=2){var i=[r[n+2]-r[n],r[n+3]-r[n+1]],o=Math.sqrt(i[0]*i[0]+i[1]*i[1]),s=[i[1]/o,-i[0]/o],u=[s[0]*a/2,s[1]*a/2];e.beginPath(),e.moveTo(r[n]-u[0],r[n+1]-u[1]),e.lineTo(r[n]+u[0],r[n+1]+u[1]),e.lineTo(r[n+2],r[n+3]),e.closePath(),e.fill()}},mr.drawArrowheads=function(t,e,r){var a=e._private.rscratch,n=a.edgeType==="haystack";n||this.drawArrowhead(t,e,"source",a.arrowStartX,a.arrowStartY,a.srcArrowAngle,r),this.drawArrowhead(t,e,"mid-target",a.midX,a.midY,a.midtgtArrowAngle,r),this.drawArrowhead(t,e,"mid-source",a.midX,a.midY,a.midsrcArrowAngle,r),n||this.drawArrowhead(t,e,"target",a.arrowEndX,a.arrowEndY,a.tgtArrowAngle,r)},mr.drawArrowhead=function(t,e,r,a,n,i,o){if(!(isNaN(a)||a==null||isNaN(n)||n==null||isNaN(i)||i==null)){var s=this,u=e.pstyle(r+"-arrow-shape").value;if(u!=="none"){var l=e.pstyle(r+"-arrow-fill").value==="hollow"?"both":"filled",v=e.pstyle(r+"-arrow-fill").value,f=e.pstyle("width").pfValue,h=e.pstyle("opacity").value;o===void 0&&(o=h);var c=t.globalCompositeOperation;(o!==1||v==="hollow")&&(t.globalCompositeOperation="destination-out",s.colorFillStyle(t,255,255,255,1),s.colorStrokeStyle(t,255,255,255,1),s.drawArrowShape(e,t,l,f,u,a,n,i),t.globalCompositeOperation=c);var d=e.pstyle(r+"-arrow-color").value;s.colorFillStyle(t,d[0],d[1],d[2],o),s.colorStrokeStyle(t,d[0],d[1],d[2],o),s.drawArrowShape(e,t,v,f,u,a,n,i)}}},mr.drawArrowShape=function(t,e,r,a,n,i,o,s){var u=this,l=this.usePaths()&&n!=="triangle-cross",v=!1,f,h=e,c={x:i,y:o},d=t.pstyle("arrow-scale").value,g=this.getArrowWidth(a,d),y=u.arrowShapes[n];if(l){var p=u.arrowPathCache=u.arrowPathCache||[],m=kr(n),b=p[m];b!=null?(f=e=b,v=!0):(f=e=new Path2D,p[m]=f)}v||(e.beginPath&&e.beginPath(),l?y.draw(e,1,0,{x:0,y:0},1):y.draw(e,g,s,c,a),e.closePath&&e.closePath()),e=h,l&&(e.translate(i,o),e.rotate(s),e.scale(g,g)),(r==="filled"||r==="both")&&(l?e.fill(f):e.fill()),(r==="hollow"||r==="both")&&(e.lineWidth=(y.matchEdgeWidth?a:1)/(l?g:1),e.lineJoin="miter",l?e.stroke(f):e.stroke()),l&&(e.scale(1/g,1/g),e.rotate(-s),e.translate(-i,-o))};var Vi={};Vi.safeDrawImage=function(t,e,r,a,n,i,o,s,u,l){if(!(n<=0||i<=0||u<=0||l<=0))try{t.drawImage(e,r,a,n,i,o,s,u,l)}catch(v){vt(v)}},Vi.drawInscribedImage=function(t,e,r,a,n){var i=this,o=r.position(),s=o.x,u=o.y,l=r.cy().style(),v=l.getIndexedStyle.bind(l),f=v(r,"background-fit","value",a),h=v(r,"background-repeat","value",a),c=r.width(),d=r.height(),g=r.padding()*2,y=c+(v(r,"background-width-relative-to","value",a)==="inner"?0:g),p=d+(v(r,"background-height-relative-to","value",a)==="inner"?0:g),m=r._private.rscratch,b=v(r,"background-clip","value",a),E=b==="node",M=v(r,"background-image-opacity","value",a)*n,A=v(r,"background-image-smoothing","value",a),w=e.width||e.cachedW,I=e.height||e.cachedH;(w==null||I==null)&&(document.body.appendChild(e),w=e.cachedW=e.width||e.offsetWidth,I=e.cachedH=e.height||e.offsetHeight,document.body.removeChild(e));var C=w,B=I;if(v(r,"background-width","value",a)!=="auto"&&(v(r,"background-width","units",a)==="%"?C=v(r,"background-width","pfValue",a)*y:C=v(r,"background-width","pfValue",a)),v(r,"background-height","value",a)!=="auto"&&(v(r,"background-height","units",a)==="%"?B=v(r,"background-height","pfValue",a)*p:B=v(r,"background-height","pfValue",a)),!(C===0||B===0)){if(f==="contain"){var F=Math.min(y/C,p/B);C*=F,B*=F}else if(f==="cover"){var F=Math.max(y/C,p/B);C*=F,B*=F}var R=s-y/2,X=v(r,"background-position-x","units",a),G=v(r,"background-position-x","pfValue",a);X==="%"?R+=(y-C)*G:R+=G;var re=v(r,"background-offset-x","units",a),q=v(r,"background-offset-x","pfValue",a);re==="%"?R+=(y-C)*q:R+=q;var Z=u-p/2,ie=v(r,"background-position-y","units",a),se=v(r,"background-position-y","pfValue",a);ie==="%"?Z+=(p-B)*se:Z+=se;var de=v(r,"background-offset-y","units",a),oe=v(r,"background-offset-y","pfValue",a);de==="%"?Z+=(p-B)*oe:Z+=oe,m.pathCache&&(R-=s,Z-=u,s=0,u=0);var ce=t.globalAlpha;t.globalAlpha=M;var we=i.getImgSmoothing(t),Te=!1;if(A==="no"&&we?(i.setImgSmoothing(t,!1),Te=!0):A==="yes"&&!we&&(i.setImgSmoothing(t,!0),Te=!0),h==="no-repeat")E&&(t.save(),m.pathCache?t.clip(m.pathCache):(i.nodeShapes[i.getNodeShape(r)].draw(t,s,u,y,p),t.clip())),i.safeDrawImage(t,e,0,0,w,I,R,Z,C,B),E&&t.restore();else{var Ee=t.createPattern(e,h);t.fillStyle=Ee,i.nodeShapes[i.getNodeShape(r)].draw(t,s,u,y,p),t.translate(R,Z),t.fill(),t.translate(-R,-Z)}t.globalAlpha=ce,Te&&i.setImgSmoothing(t,we)}};var _r={};_r.eleTextBiggerThanMin=function(t,e){if(!e){var r=t.cy().zoom(),a=this.getPixelRatio(),n=Math.ceil(si(r*a));e=Math.pow(2,n)}var i=t.pstyle("font-size").pfValue*e,o=t.pstyle("min-zoomed-font-size").pfValue;return!(i<o)},_r.drawElementText=function(t,e,r,a,n){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,o=this;if(a==null){if(i&&!o.eleTextBiggerThanMin(e))return}else if(a===!1)return;if(e.isNode()){var s=e.pstyle("label");if(!s||!s.value)return;var u=o.getLabelJustification(e);t.textAlign=u,t.textBaseline="bottom"}else{var l=e.element()._private.rscratch.badLine,v=e.pstyle("label"),f=e.pstyle("source-label"),h=e.pstyle("target-label");if(l||(!v||!v.value)&&(!f||!f.value)&&(!h||!h.value))return;t.textAlign="center",t.textBaseline="bottom"}var c=!r,d;r&&(d=r,t.translate(-d.x1,-d.y1)),n==null?(o.drawText(t,e,null,c,i),e.isEdge()&&(o.drawText(t,e,"source",c,i),o.drawText(t,e,"target",c,i))):o.drawText(t,e,n,c,i),r&&t.translate(d.x1,d.y1)},_r.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var r=0;r<this.fontCaches.length;r++)if(e=this.fontCaches[r],e.context===t)return e;return e={context:t},this.fontCaches.push(e),e},_r.setupTextStyle=function(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=e.pstyle("font-style").strValue,n=e.pstyle("font-size").pfValue+"px",i=e.pstyle("font-family").strValue,o=e.pstyle("font-weight").strValue,s=r?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,u=e.pstyle("text-outline-opacity").value*s,l=e.pstyle("color").value,v=e.pstyle("text-outline-color").value;t.font=a+" "+o+" "+n+" "+i,t.lineJoin="round",this.colorFillStyle(t,l[0],l[1],l[2],s),this.colorStrokeStyle(t,v[0],v[1],v[2],u)};function jg(t,e,r,a,n){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:5;t.beginPath(),t.moveTo(e+i,r),t.lineTo(e+a-i,r),t.quadraticCurveTo(e+a,r,e+a,r+i),t.lineTo(e+a,r+n-i),t.quadraticCurveTo(e+a,r+n,e+a-i,r+n),t.lineTo(e+i,r+n),t.quadraticCurveTo(e,r+n,e,r+n-i),t.lineTo(e,r+i),t.quadraticCurveTo(e,r,e+i,r),t.closePath(),t.fill()}_r.getTextAngle=function(t,e){var r,a=t._private,n=a.rscratch,i=e?e+"-":"",o=t.pstyle(i+"text-rotation"),s=er(n,"labelAngle",e);return o.strValue==="autorotate"?r=t.isEdge()?s:0:o.strValue==="none"?r=0:r=o.pfValue,r},_r.drawText=function(t,e,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=e._private,o=i.rscratch,s=n?e.effectiveOpacity():1;if(!(n&&(s===0||e.pstyle("text-opacity").value===0))){r==="main"&&(r=null);var u=er(o,"labelX",r),l=er(o,"labelY",r),v,f,h=this.getLabelText(e,r);if(h!=null&&h!==""&&!isNaN(u)&&!isNaN(l)){this.setupTextStyle(t,e,n);var c=r?r+"-":"",d=er(o,"labelWidth",r),g=er(o,"labelHeight",r),y=e.pstyle(c+"text-margin-x").pfValue,p=e.pstyle(c+"text-margin-y").pfValue,m=e.isEdge(),b=e.pstyle("text-halign").value,E=e.pstyle("text-valign").value;m&&(b="center",E="center"),u+=y,l+=p;var M;switch(a?M=this.getTextAngle(e,r):M=0,M!==0&&(v=u,f=l,t.translate(v,f),t.rotate(M),u=0,l=0),E){case"top":break;case"center":l+=g/2;break;case"bottom":l+=g;break}var A=e.pstyle("text-background-opacity").value,w=e.pstyle("text-border-opacity").value,I=e.pstyle("text-border-width").pfValue,C=e.pstyle("text-background-padding").pfValue;if(A>0||I>0&&w>0){var B=u-C;switch(b){case"left":B-=d;break;case"center":B-=d/2;break}var F=l-g-C,R=d+2*C,X=g+2*C;if(A>0){var G=t.fillStyle,re=e.pstyle("text-background-color").value;t.fillStyle="rgba("+re[0]+","+re[1]+","+re[2]+","+A*s+")";var q=e.pstyle("text-background-shape").strValue;q.indexOf("round")===0?jg(t,B,F,R,X,2):t.fillRect(B,F,R,X),t.fillStyle=G}if(I>0&&w>0){var Z=t.strokeStyle,ie=t.lineWidth,se=e.pstyle("text-border-color").value,de=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+se[0]+","+se[1]+","+se[2]+","+w*s+")",t.lineWidth=I,t.setLineDash)switch(de){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=I/4,t.setLineDash([]);break;case"solid":t.setLineDash([]);break}if(t.strokeRect(B,F,R,X),de==="double"){var oe=I/2;t.strokeRect(B+oe,F+oe,R-oe*2,X-oe*2)}t.setLineDash&&t.setLineDash([]),t.lineWidth=ie,t.strokeStyle=Z}}var ce=2*e.pstyle("text-outline-width").pfValue;if(ce>0&&(t.lineWidth=ce),e.pstyle("text-wrap").value==="wrap"){var we=er(o,"labelWrapCachedLines",r),Te=er(o,"labelLineHeight",r),Ee=d/2,ye=this.getLabelJustification(e);switch(ye==="auto"||(b==="left"?ye==="left"?u+=-d:ye==="center"&&(u+=-Ee):b==="center"?ye==="left"?u+=-Ee:ye==="right"&&(u+=Ee):b==="right"&&(ye==="center"?u+=Ee:ye==="right"&&(u+=d))),E){case"top":l-=(we.length-1)*Te;break;case"center":case"bottom":l-=(we.length-1)*Te;break}for(var ae=0;ae<we.length;ae++)ce>0&&t.strokeText(we[ae],u,l),t.fillText(we[ae],u,l),l+=Te}else ce>0&&t.strokeText(h,u,l),t.fillText(h,u,l);M!==0&&(t.rotate(-M),t.translate(-v,-f))}}};var Ea={};Ea.drawNode=function(t,e,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0,o=this,s,u,l=e._private,v=l.rscratch,f=e.position();if(!(!k(f.x)||!k(f.y))&&!(i&&!e.visible())){var h=i?e.effectiveOpacity():1,c=o.usePaths(),d,g=!1,y=e.padding();s=e.width()+2*y,u=e.height()+2*y;var p;r&&(p=r,t.translate(-p.x1,-p.y1));for(var m=e.pstyle("background-image"),b=m.value,E=new Array(b.length),M=new Array(b.length),A=0,w=0;w<b.length;w++){var I=b[w],C=E[w]=I!=null&&I!=="none";if(C){var B=e.cy().style().getIndexedStyle(e,"background-image-crossorigin","value",w);A++,M[w]=o.getCachedImage(I,B,function(){l.backgroundTimestamp=Date.now(),e.emitAndNotify("background")})}}var F=e.pstyle("background-blacken").value,R=e.pstyle("border-width").pfValue,X=e.pstyle("background-opacity").value*h,G=e.pstyle("border-color").value,re=e.pstyle("border-style").value,q=e.pstyle("border-opacity").value*h;t.lineJoin="miter";var Z=function(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:X;o.eleFillStyle(t,e,ke)},ie=function(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:q;o.colorStrokeStyle(t,G[0],G[1],G[2],ke)},se=e.pstyle("shape").strValue,de=e.pstyle("shape-polygon-points").pfValue;if(c){t.translate(f.x,f.y);var oe=o.nodePathCache=o.nodePathCache||[],ce=uo(se==="polygon"?se+","+de.join(","):se,""+u,""+s),we=oe[ce];we!=null?(d=we,g=!0,v.pathCache=d):(d=new Path2D,oe[ce]=v.pathCache=d)}var Te=function(){if(!g){var ke=f;c&&(ke={x:0,y:0}),o.nodeShapes[o.getNodeShape(e)].draw(d||t,ke.x,ke.y,s,u)}c?t.fill(d):t.fill()},Ee=function(){for(var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h,ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,et=l.backgrounding,qe=0,Ye=0;Ye<M.length;Ye++){var Se=e.cy().style().getIndexedStyle(e,"background-image-containment","value",Ye);if(ze&&Se==="over"||!ze&&Se==="inside"){qe++;continue}E[Ye]&&M[Ye].complete&&!M[Ye].error&&(qe++,o.drawInscribedImage(t,M[Ye],e,Ye,ke))}l.backgrounding=qe!==A,et!==l.backgrounding&&e.updateStyle(!1)},ye=function(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h;o.hasPie(e)&&(o.drawPie(t,e,ze),ke&&(c||o.nodeShapes[o.getNodeShape(e)].draw(t,f.x,f.y,s,u)))},ae=function(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h,ze=(F>0?F:-F)*ke,et=F>0?0:255;F!==0&&(o.colorFillStyle(t,et,et,et,ze),c?t.fill(d):t.fill())},xe=function(){if(R>0){if(t.lineWidth=R,t.lineCap="butt",t.setLineDash)switch(re){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([]);break}if(c?t.stroke(d):t.stroke(),re==="double"){t.lineWidth=R/3;var ke=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",c?t.stroke(d):t.stroke(),t.globalCompositeOperation=ke}t.setLineDash&&t.setLineDash([])}},Ce=function(){n&&o.drawNodeOverlay(t,e,f,s,u)},Oe=function(){n&&o.drawNodeUnderlay(t,e,f,s,u)},Ie=function(){o.drawElementText(t,e,null,a)},He=e.pstyle("ghost").value==="yes";if(He){var We=e.pstyle("ghost-offset-x").pfValue,Re=e.pstyle("ghost-offset-y").pfValue,Me=e.pstyle("ghost-opacity").value,Ve=Me*h;t.translate(We,Re),Z(Me*X),Te(),Ee(Ve,!0),ie(Me*q),xe(),ye(F!==0||R!==0),Ee(Ve,!1),ae(Ve),t.translate(-We,-Re)}c&&t.translate(-f.x,-f.y),Oe(),c&&t.translate(f.x,f.y),Z(),Te(),Ee(h,!0),ie(),xe(),ye(F!==0||R!==0),Ee(h,!1),ae(),c&&t.translate(-f.x,-f.y),Ie(),Ce(),r&&t.translate(p.x1,p.y1)}};var xl=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a,n,i,o){var s=this;if(a.visible()){var u=a.pstyle("".concat(e,"-padding")).pfValue,l=a.pstyle("".concat(e,"-opacity")).value,v=a.pstyle("".concat(e,"-color")).value,f=a.pstyle("".concat(e,"-shape")).value;if(l>0){if(n=n||a.position(),i==null||o==null){var h=a.padding();i=a.width()+2*h,o=a.height()+2*h}s.colorFillStyle(r,v[0],v[1],v[2],l),s.nodeShapes[f].draw(r,n.x,n.y,i+u*2,o+u*2),r.fill()}}}};Ea.drawNodeOverlay=xl("overlay"),Ea.drawNodeUnderlay=xl("underlay"),Ea.hasPie=function(t){return t=t[0],t._private.hasPie},Ea.drawPie=function(t,e,r,a){e=e[0],a=a||e.position();var n=e.cy().style(),i=e.pstyle("pie-size"),o=a.x,s=a.y,u=e.width(),l=e.height(),v=Math.min(u,l)/2,f=0,h=this.usePaths();h&&(o=0,s=0),i.units==="%"?v=v*i.pfValue:i.pfValue!==void 0&&(v=i.pfValue/2);for(var c=1;c<=n.pieBackgroundN;c++){var d=e.pstyle("pie-"+c+"-background-size").value,g=e.pstyle("pie-"+c+"-background-color").value,y=e.pstyle("pie-"+c+"-background-opacity").value*r,p=d/100;p+f>1&&(p=1-f);var m=1.5*Math.PI+2*Math.PI*f,b=2*Math.PI*p,E=m+b;d===0||f>=1||f+p>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,v,m,E),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],y),t.fill(),f+=p)}};var qt={},ep=100;qt.getPixelRatio=function(){var t=this.data.contexts[0];if(this.forcedPixelRatio!=null)return this.forcedPixelRatio;var e=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/e},qt.paintCache=function(t){for(var e=this.paintCaches=this.paintCaches||[],r=!0,a,n=0;n<e.length;n++)if(a=e[n],a.context===t){r=!1;break}return r&&(a={context:t},e.push(a)),a},qt.createGradientStyleFor=function(t,e,r,a,n){var i,o=this.usePaths(),s=r.pstyle(e+"-gradient-stop-colors").value,u=r.pstyle(e+"-gradient-stop-positions").pfValue;if(a==="radial-gradient")if(r.isEdge()){var l=r.sourceEndpoint(),v=r.targetEndpoint(),f=r.midpoint(),h=Pr(l,f),c=Pr(v,f);i=t.createRadialGradient(f.x,f.y,0,f.x,f.y,Math.max(h,c))}else{var d=o?{x:0,y:0}:r.position(),g=r.paddedWidth(),y=r.paddedHeight();i=t.createRadialGradient(d.x,d.y,0,d.x,d.y,Math.max(g,y))}else if(r.isEdge()){var p=r.sourceEndpoint(),m=r.targetEndpoint();i=t.createLinearGradient(p.x,p.y,m.x,m.y)}else{var b=o?{x:0,y:0}:r.position(),E=r.paddedWidth(),M=r.paddedHeight(),A=E/2,w=M/2,I=r.pstyle("background-gradient-direction").value;switch(I){case"to-bottom":i=t.createLinearGradient(b.x,b.y-w,b.x,b.y+w);break;case"to-top":i=t.createLinearGradient(b.x,b.y+w,b.x,b.y-w);break;case"to-left":i=t.createLinearGradient(b.x+A,b.y,b.x-A,b.y);break;case"to-right":i=t.createLinearGradient(b.x-A,b.y,b.x+A,b.y);break;case"to-bottom-right":case"to-right-bottom":i=t.createLinearGradient(b.x-A,b.y-w,b.x+A,b.y+w);break;case"to-top-right":case"to-right-top":i=t.createLinearGradient(b.x-A,b.y+w,b.x+A,b.y-w);break;case"to-bottom-left":case"to-left-bottom":i=t.createLinearGradient(b.x+A,b.y-w,b.x-A,b.y+w);break;case"to-top-left":case"to-left-top":i=t.createLinearGradient(b.x+A,b.y+w,b.x-A,b.y-w);break}}if(!i)return null;for(var C=u.length===s.length,B=s.length,F=0;F<B;F++)i.addColorStop(C?u[F]:F/(B-1),"rgba("+s[F][0]+","+s[F][1]+","+s[F][2]+","+n+")");return i},qt.gradientFillStyle=function(t,e,r,a){var n=this.createGradientStyleFor(t,"background",e,r,a);if(!n)return null;t.fillStyle=n},qt.colorFillStyle=function(t,e,r,a,n){t.fillStyle="rgba("+e+","+r+","+a+","+n+")"},qt.eleFillStyle=function(t,e,r){var a=e.pstyle("background-fill").value;if(a==="linear-gradient"||a==="radial-gradient")this.gradientFillStyle(t,e,a,r);else{var n=e.pstyle("background-color").value;this.colorFillStyle(t,n[0],n[1],n[2],r)}},qt.gradientStrokeStyle=function(t,e,r,a){var n=this.createGradientStyleFor(t,"line",e,r,a);if(!n)return null;t.strokeStyle=n},qt.colorStrokeStyle=function(t,e,r,a,n){t.strokeStyle="rgba("+e+","+r+","+a+","+n+")"},qt.eleStrokeStyle=function(t,e,r){var a=e.pstyle("line-fill").value;if(a==="linear-gradient"||a==="radial-gradient")this.gradientStrokeStyle(t,e,a,r);else{var n=e.pstyle("line-color").value;this.colorStrokeStyle(t,n[0],n[1],n[2],r)}},qt.matchCanvasSize=function(t){var e=this,r=e.data,a=e.findContainerClientCoords(),n=a[2],i=a[3],o=e.getPixelRatio(),s=e.motionBlurPxRatio;(t===e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE]||t===e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG])&&(o=s);var u=n*o,l=i*o,v;if(!(u===e.canvasWidth&&l===e.canvasHeight)){e.fontCaches=null;var f=r.canvasContainer;f.style.width=n+"px",f.style.height=i+"px";for(var h=0;h<e.CANVAS_LAYERS;h++)v=r.canvases[h],v.width=u,v.height=l,v.style.width=n+"px",v.style.height=i+"px";for(var h=0;h<e.BUFFER_COUNT;h++)v=r.bufferCanvases[h],v.width=u,v.height=l,v.style.width=n+"px",v.style.height=i+"px";e.textureMult=1,o<=1&&(v=r.bufferCanvases[e.TEXTURE_BUFFER],e.textureMult=2,v.width=u*e.textureMult,v.height=l*e.textureMult),e.canvasWidth=u,e.canvasHeight=l}},qt.renderTo=function(t,e,r,a){this.render({forcedContext:t,forcedZoom:e,forcedPan:r,drawAllLayers:!0,forcedPxRatio:a})},qt.render=function(t){t=t||po();var e=t.forcedContext,r=t.drawAllLayers,a=t.drawOnlyNodeLayer,n=t.forcedZoom,i=t.forcedPan,o=this,s=t.forcedPxRatio===void 0?this.getPixelRatio():t.forcedPxRatio,u=o.cy,l=o.data,v=l.canvasNeedsRedraw,f=o.textureOnViewport&&!e&&(o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming),h=t.motionBlur!==void 0?t.motionBlur:o.motionBlur,c=o.motionBlurPxRatio,d=u.hasCompoundNodes(),g=o.hoverData.draggingEles,y=!!(o.hoverData.selecting||o.touchData.selecting);h=h&&!e&&o.motionBlurEnabled&&!y;var p=h;e||(o.prevPxRatio!==s&&(o.invalidateContainerClientCoordsCache(),o.matchCanvasSize(o.container),o.redrawHint("eles",!0),o.redrawHint("drag",!0)),o.prevPxRatio=s),!e&&o.motionBlurTimeout&&clearTimeout(o.motionBlurTimeout),h&&(o.mbFrames==null&&(o.mbFrames=0),o.mbFrames++,o.mbFrames<3&&(p=!1),o.mbFrames>o.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!f&&(v[o.NODE]=!0,v[o.SELECT_BOX]=!0);var m=u.style(),b=u.zoom(),E=n!==void 0?n:b,M=u.pan(),A={x:M.x,y:M.y},w={zoom:b,pan:{x:M.x,y:M.y}},I=o.prevViewport,C=I===void 0||w.zoom!==I.zoom||w.pan.x!==I.pan.x||w.pan.y!==I.pan.y;!C&&!(g&&!d)&&(o.motionBlurPxRatio=1),i&&(A=i),E*=s,A.x*=s,A.y*=s;var B=o.getCachedZSortedEles();function F(Re,Me,Ve,Fe,ke){var ze=Re.globalCompositeOperation;Re.globalCompositeOperation="destination-out",o.colorFillStyle(Re,255,255,255,o.motionBlurTransparency),Re.fillRect(Me,Ve,Fe,ke),Re.globalCompositeOperation=ze}function R(Re,Me){var Ve,Fe,ke,ze;!o.clearingMotionBlur&&(Re===l.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]||Re===l.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG])?(Ve={x:M.x*c,y:M.y*c},Fe=b*c,ke=o.canvasWidth*c,ze=o.canvasHeight*c):(Ve=A,Fe=E,ke=o.canvasWidth,ze=o.canvasHeight),Re.setTransform(1,0,0,1,0,0),Me==="motionBlur"?F(Re,0,0,ke,ze):!e&&(Me===void 0||Me)&&Re.clearRect(0,0,ke,ze),r||(Re.translate(Ve.x,Ve.y),Re.scale(Fe,Fe)),i&&Re.translate(i.x,i.y),n&&Re.scale(n,n)}if(f||(o.textureDrawLastFrame=!1),f){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=u.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var X=o.data.bufferContexts[o.TEXTURE_BUFFER];X.setTransform(1,0,0,1,0,0),X.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:X,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult});var w=o.textureCache.viewport={zoom:u.zoom(),pan:u.pan(),width:o.canvasWidth,height:o.canvasHeight};w.mpan={x:(0-w.pan.x)/w.zoom,y:(0-w.pan.y)/w.zoom}}v[o.DRAG]=!1,v[o.NODE]=!1;var G=l.contexts[o.NODE],re=o.textureCache.texture,w=o.textureCache.viewport;G.setTransform(1,0,0,1,0,0),h?F(G,0,0,w.width,w.height):G.clearRect(0,0,w.width,w.height);var q=m.core("outside-texture-bg-color").value,Z=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(G,q[0],q[1],q[2],Z),G.fillRect(0,0,w.width,w.height);var b=u.zoom();R(G,!1),G.clearRect(w.mpan.x,w.mpan.y,w.width/w.zoom/s,w.height/w.zoom/s),G.drawImage(re,w.mpan.x,w.mpan.y,w.width/w.zoom/s,w.height/w.zoom/s)}else o.textureOnViewport&&!e&&(o.textureCache=null);var ie=u.extent(),se=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),de=o.hideEdgesOnViewport&&se,oe=[];if(oe[o.NODE]=!v[o.NODE]&&h&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,oe[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),oe[o.DRAG]=!v[o.DRAG]&&h&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,oe[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),v[o.NODE]||r||a||oe[o.NODE]){var ce=h&&!oe[o.NODE]&&c!==1,G=e||(ce?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:l.contexts[o.NODE]),we=h&&!ce?"motionBlur":void 0;R(G,we),de?o.drawCachedNodes(G,B.nondrag,s,ie):o.drawLayeredElements(G,B.nondrag,s,ie),o.debug&&o.drawDebugPoints(G,B.nondrag),!r&&!h&&(v[o.NODE]=!1)}if(!a&&(v[o.DRAG]||r||oe[o.DRAG])){var ce=h&&!oe[o.DRAG]&&c!==1,G=e||(ce?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:l.contexts[o.DRAG]);R(G,h&&!ce?"motionBlur":void 0),de?o.drawCachedNodes(G,B.drag,s,ie):o.drawCachedElements(G,B.drag,s,ie),o.debug&&o.drawDebugPoints(G,B.drag),!r&&!h&&(v[o.DRAG]=!1)}if(o.showFps||!a&&v[o.SELECT_BOX]&&!r){var G=e||l.contexts[o.SELECT_BOX];if(R(G),o.selection[4]==1&&(o.hoverData.selecting||o.touchData.selecting)){var b=o.cy.zoom(),Te=m.core("selection-box-border-width").value/b;G.lineWidth=Te,G.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+")",G.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),Te>0&&(G.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+")",G.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(l.bgActivePosistion&&!o.hoverData.selecting){var b=o.cy.zoom(),Ee=l.bgActivePosistion;G.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+")",G.beginPath(),G.arc(Ee.x,Ee.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),G.fill()}var ye=o.lastRedrawTime;if(o.showFps&&ye){ye=Math.round(ye);var ae=Math.round(1e3/ye);G.setTransform(1,0,0,1,0,0),G.fillStyle="rgba(255, 0, 0, 0.75)",G.strokeStyle="rgba(255, 0, 0, 0.75)",G.lineWidth=1,G.fillText("1 frame = "+ye+" ms = "+ae+" fps",0,20);var xe=60;G.strokeRect(0,30,250,20),G.fillRect(0,30,250*Math.min(ae/xe,1),20)}r||(v[o.SELECT_BOX]=!1)}if(h&&c!==1){var Ce=l.contexts[o.NODE],Oe=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],Ie=l.contexts[o.DRAG],He=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],We=function(Me,Ve,Fe){Me.setTransform(1,0,0,1,0,0),Fe||!p?Me.clearRect(0,0,o.canvasWidth,o.canvasHeight):F(Me,0,0,o.canvasWidth,o.canvasHeight);var ke=c;Me.drawImage(Ve,0,0,o.canvasWidth*ke,o.canvasHeight*ke,0,0,o.canvasWidth,o.canvasHeight)};(v[o.NODE]||oe[o.NODE])&&(We(Ce,Oe,oe[o.NODE]),v[o.NODE]=!1),(v[o.DRAG]||oe[o.DRAG])&&(We(Ie,He,oe[o.DRAG]),v[o.DRAG]=!1)}o.prevViewport=w,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),h&&(o.motionBlurTimeout=setTimeout(function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!f,o.mbFrames=0,v[o.NODE]=!0,v[o.DRAG]=!0,o.redraw()},ep)),e||u.emit("render")};var Mr={};Mr.drawPolygonPath=function(t,e,r,a,n,i){var o=a/2,s=n/2;t.beginPath&&t.beginPath(),t.moveTo(e+o*i[0],r+s*i[1]);for(var u=1;u<i.length/2;u++)t.lineTo(e+o*i[u*2],r+s*i[u*2+1]);t.closePath()},Mr.drawRoundPolygonPath=function(t,e,r,a,n,i){var o=a/2,s=n/2,u=hi(a,n);t.beginPath&&t.beginPath();for(var l=0;l<i.length/4;l++){var v=void 0,f=void 0;l===0?v=i.length-2:v=l*4-2,f=l*4+2;var h=e+o*i[l*4],c=r+s*i[l*4+1],d=-i[v]*i[f]-i[v+1]*i[f+1],g=u/Math.tan(Math.acos(d)/2),y=h-g*i[v],p=c-g*i[v+1],m=h+g*i[f],b=c+g*i[f+1];l===0?t.moveTo(y,p):t.lineTo(y,p),t.arcTo(h,c,m,b,u)}t.closePath()},Mr.drawRoundRectanglePath=function(t,e,r,a,n){var i=a/2,o=n/2,s=Fa(a,n);t.beginPath&&t.beginPath(),t.moveTo(e,r-o),t.arcTo(e+i,r-o,e+i,r,s),t.arcTo(e+i,r+o,e,r+o,s),t.arcTo(e-i,r+o,e-i,r,s),t.arcTo(e-i,r-o,e,r-o,s),t.lineTo(e,r-o),t.closePath()},Mr.drawBottomRoundRectanglePath=function(t,e,r,a,n){var i=a/2,o=n/2,s=Fa(a,n);t.beginPath&&t.beginPath(),t.moveTo(e,r-o),t.lineTo(e+i,r-o),t.lineTo(e+i,r),t.arcTo(e+i,r+o,e,r+o,s),t.arcTo(e-i,r+o,e-i,r,s),t.lineTo(e-i,r-o),t.lineTo(e,r-o),t.closePath()},Mr.drawCutRectanglePath=function(t,e,r,a,n){var i=a/2,o=n/2,s=So();t.beginPath&&t.beginPath(),t.moveTo(e-i+s,r-o),t.lineTo(e+i-s,r-o),t.lineTo(e+i,r-o+s),t.lineTo(e+i,r+o-s),t.lineTo(e+i-s,r+o),t.lineTo(e-i+s,r+o),t.lineTo(e-i,r+o-s),t.lineTo(e-i,r-o+s),t.closePath()},Mr.drawBarrelPath=function(t,e,r,a,n){var i=a/2,o=n/2,s=e-i,u=e+i,l=r-o,v=r+o,f=ci(a,n),h=f.widthOffset,c=f.heightOffset,d=f.ctrlPtOffsetPct*h;t.beginPath&&t.beginPath(),t.moveTo(s,l+c),t.lineTo(s,v-c),t.quadraticCurveTo(s+d,v,s+h,v),t.lineTo(u-h,v),t.quadraticCurveTo(u-d,v,u,v-c),t.lineTo(u,l+c),t.quadraticCurveTo(u-d,l,u-h,l),t.lineTo(s+h,l),t.quadraticCurveTo(s+d,l,s,l+c),t.closePath()};for(var Tl=Math.sin(0),Cl=Math.cos(0),_i={},Ui={},Dl=Math.PI/40,wa=0*Math.PI;wa<2*Math.PI;wa+=Dl)_i[wa]=Math.sin(wa),Ui[wa]=Math.cos(wa);Mr.drawEllipsePath=function(t,e,r,a,n){if(t.beginPath&&t.beginPath(),t.ellipse)t.ellipse(e,r,a/2,n/2,0,0,2*Math.PI);else for(var i,o,s=a/2,u=n/2,l=0*Math.PI;l<2*Math.PI;l+=Dl)i=e-s*_i[l]*Tl+s*Ui[l]*Cl,o=r+u*Ui[l]*Tl+u*_i[l]*Cl,l===0?t.moveTo(i,o):t.lineTo(i,o);t.closePath()};var tn={};tn.createBuffer=function(t,e){var r=document.createElement("canvas");return r.width=t,r.height=e,[r,r.getContext("2d")]},tn.bufferCanvasImage=function(t){var e=this.cy,r=e.mutableElements(),a=r.boundingBox(),n=this.findContainerClientCoords(),i=t.full?Math.ceil(a.w):n[2],o=t.full?Math.ceil(a.h):n[3],s=k(t.maxWidth)||k(t.maxHeight),u=this.getPixelRatio(),l=1;if(t.scale!==void 0)i*=t.scale,o*=t.scale,l=t.scale;else if(s){var v=1/0,f=1/0;k(t.maxWidth)&&(v=l*t.maxWidth/i),k(t.maxHeight)&&(f=l*t.maxHeight/o),l=Math.min(v,f),i*=l,o*=l}s||(i*=u,o*=u,l*=u);var h=document.createElement("canvas");h.width=i,h.height=o,h.style.width=i+"px",h.style.height=o+"px";var c=h.getContext("2d");if(i>0&&o>0){c.clearRect(0,0,i,o),c.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)c.translate(-a.x1*l,-a.y1*l),c.scale(l,l),this.drawElements(c,d),c.scale(1/l,1/l),c.translate(a.x1*l,a.y1*l);else{var g=e.pan(),y={x:g.x*l,y:g.y*l};l*=e.zoom(),c.translate(y.x,y.y),c.scale(l,l),this.drawElements(c,d),c.scale(1/l,1/l),c.translate(-y.x,-y.y)}t.bg&&(c.globalCompositeOperation="destination-over",c.fillStyle=t.bg,c.rect(0,0,i,o),c.fill())}return h};function tp(t,e){for(var r=atob(t),a=new ArrayBuffer(r.length),n=new Uint8Array(a),i=0;i<r.length;i++)n[i]=r.charCodeAt(i);return new Blob([a],{type:e})}function Sl(t){var e=t.indexOf(",");return t.substr(e+1)}function Ll(t,e,r){var a=function(){return e.toDataURL(r,t.quality)};switch(t.output){case"blob-promise":return new ia(function(n,i){try{e.toBlob(function(o){o!=null?n(o):i(new Error("`canvas.toBlob()` sent a null value in its callback"))},r,t.quality)}catch(o){i(o)}});case"blob":return tp(Sl(a()),r);case"base64":return Sl(a());case"base64uri":default:return a()}}tn.png=function(t){return Ll(t,this.bufferCanvasImage(t),"image/png")},tn.jpg=function(t){return Ll(t,this.bufferCanvasImage(t),"image/jpeg")};var Al={};Al.nodeShapeImpl=function(t,e,r,a,n,i,o){switch(t){case"ellipse":return this.drawEllipsePath(e,r,a,n,i);case"polygon":return this.drawPolygonPath(e,r,a,n,i,o);case"round-polygon":return this.drawRoundPolygonPath(e,r,a,n,i,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,r,a,n,i);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,r,a,n,i);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,r,a,n,i);case"barrel":return this.drawBarrelPath(e,r,a,n,i)}};var rp=Ol,st=Ol.prototype;st.CANVAS_LAYERS=3,st.SELECT_BOX=0,st.DRAG=1,st.NODE=2,st.BUFFER_COUNT=3,st.TEXTURE_BUFFER=0,st.MOTIONBLUR_BUFFER_NODE=1,st.MOTIONBLUR_BUFFER_DRAG=2;function Ol(t){var e=this;e.data={canvases:new Array(st.CANVAS_LAYERS),contexts:new Array(st.CANVAS_LAYERS),canvasNeedsRedraw:new Array(st.CANVAS_LAYERS),bufferCanvases:new Array(st.BUFFER_COUNT),bufferContexts:new Array(st.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",a="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var n=e.data.canvasContainer.style;e.data.canvasContainer.style[r]=a,n.position="relative",n.zIndex="0",n.overflow="hidden";var i=t.cy.container();i.appendChild(e.data.canvasContainer),i.style[r]=a;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"};ut()&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s<st.CANVAS_LAYERS;s++){var u=e.data.canvases[s]=document.createElement("canvas");e.data.contexts[s]=u.getContext("2d"),Object.keys(o).forEach(function(ye){u.style[ye]=o[ye]}),u.style.position="absolute",u.setAttribute("data-id","layer"+s),u.style.zIndex=String(st.CANVAS_LAYERS-s),e.data.canvasContainer.appendChild(u),e.data.canvasNeedsRedraw[s]=!1}e.data.topCanvas=e.data.canvases[0],e.data.canvases[st.NODE].setAttribute("data-id","layer"+st.NODE+"-node"),e.data.canvases[st.SELECT_BOX].setAttribute("data-id","layer"+st.SELECT_BOX+"-selectbox"),e.data.canvases[st.DRAG].setAttribute("data-id","layer"+st.DRAG+"-drag");for(var s=0;s<st.BUFFER_COUNT;s++)e.data.bufferCanvases[s]=document.createElement("canvas"),e.data.bufferContexts[s]=e.data.bufferCanvases[s].getContext("2d"),e.data.bufferCanvases[s].style.position="absolute",e.data.bufferCanvases[s].setAttribute("data-id","buffer"+s),e.data.bufferCanvases[s].style.zIndex=String(-s-1),e.data.bufferCanvases[s].style.visibility="hidden";e.pathsEnabled=!0;var l=Ut(),v=function(ae){return{x:(ae.x1+ae.x2)/2,y:(ae.y1+ae.y2)/2}},f=function(ae){return{x:-ae.w/2,y:-ae.h/2}},h=function(ae){var xe=ae[0]._private,Ce=xe.oldBackgroundTimestamp===xe.backgroundTimestamp;return!Ce},c=function(ae){return ae[0]._private.nodeKey},d=function(ae){return ae[0]._private.labelStyleKey},g=function(ae){return ae[0]._private.sourceLabelStyleKey},y=function(ae){return ae[0]._private.targetLabelStyleKey},p=function(ae,xe,Ce,Oe,Ie){return e.drawElement(ae,xe,Ce,!1,!1,Ie)},m=function(ae,xe,Ce,Oe,Ie){return e.drawElementText(ae,xe,Ce,Oe,"main",Ie)},b=function(ae,xe,Ce,Oe,Ie){return e.drawElementText(ae,xe,Ce,Oe,"source",Ie)},E=function(ae,xe,Ce,Oe,Ie){return e.drawElementText(ae,xe,Ce,Oe,"target",Ie)},M=function(ae){return ae.boundingBox(),ae[0]._private.bodyBounds},A=function(ae){return ae.boundingBox(),ae[0]._private.labelBounds.main||l},w=function(ae){return ae.boundingBox(),ae[0]._private.labelBounds.source||l},I=function(ae){return ae.boundingBox(),ae[0]._private.labelBounds.target||l},C=function(ae,xe){return xe},B=function(ae){return v(M(ae))},F=function(ae,xe,Ce){var Oe=ae?ae+"-":"";return{x:xe.x+Ce.pstyle(Oe+"text-margin-x").pfValue,y:xe.y+Ce.pstyle(Oe+"text-margin-y").pfValue}},R=function(ae,xe,Ce){var Oe=ae[0]._private.rscratch;return{x:Oe[xe],y:Oe[Ce]}},X=function(ae){return F("",R(ae,"labelX","labelY"),ae)},G=function(ae){return F("source",R(ae,"sourceLabelX","sourceLabelY"),ae)},re=function(ae){return F("target",R(ae,"targetLabelX","targetLabelY"),ae)},q=function(ae){return f(M(ae))},Z=function(ae){return f(w(ae))},ie=function(ae){return f(I(ae))},se=function(ae){var xe=A(ae),Ce=f(A(ae));if(ae.isNode()){switch(ae.pstyle("text-halign").value){case"left":Ce.x=-xe.w;break;case"right":Ce.x=0;break}switch(ae.pstyle("text-valign").value){case"top":Ce.y=-xe.h;break;case"bottom":Ce.y=0;break}}return Ce},de=e.data.eleTxrCache=new ja(e,{getKey:c,doesEleInvalidateKey:h,drawElement:p,getBoundingBox:M,getRotationPoint:B,getRotationOffset:q,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),oe=e.data.lblTxrCache=new ja(e,{getKey:d,drawElement:m,getBoundingBox:A,getRotationPoint:X,getRotationOffset:se,isVisible:C}),ce=e.data.slbTxrCache=new ja(e,{getKey:g,drawElement:b,getBoundingBox:w,getRotationPoint:G,getRotationOffset:Z,isVisible:C}),we=e.data.tlbTxrCache=new ja(e,{getKey:y,drawElement:E,getBoundingBox:I,getRotationPoint:re,getRotationOffset:ie,isVisible:C}),Te=e.data.lyrTxrCache=new pl(e);e.onUpdateEleCalcs(function(ae,xe){de.invalidateElements(xe),oe.invalidateElements(xe),ce.invalidateElements(xe),we.invalidateElements(xe),Te.invalidateElements(xe);for(var Ce=0;Ce<xe.length;Ce++){var Oe=xe[Ce]._private;Oe.oldBackgroundTimestamp=Oe.backgroundTimestamp}});var Ee=function(ae){for(var xe=0;xe<ae.length;xe++)Te.enqueueElementRefinement(ae[xe].ele)};de.onDequeue(Ee),oe.onDequeue(Ee),ce.onDequeue(Ee),we.onDequeue(Ee)}st.redrawHint=function(t,e){var r=this;switch(t){case"eles":r.data.canvasNeedsRedraw[st.NODE]=e;break;case"drag":r.data.canvasNeedsRedraw[st.DRAG]=e;break;case"select":r.data.canvasNeedsRedraw[st.SELECT_BOX]=e;break}};var ap=typeof Path2D<"u";st.path2dEnabled=function(t){if(t===void 0)return this.pathsEnabled;this.pathsEnabled=!!t},st.usePaths=function(){return ap&&this.pathsEnabled},st.setImgSmoothing=function(t,e){t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)},st.getImgSmoothing=function(t){return t.imageSmoothingEnabled!=null?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled},st.makeOffscreenCanvas=function(t,e){var r;return(typeof OffscreenCanvas>"u"?"undefined":ee(OffscreenCanvas))!=="undefined"?r=new OffscreenCanvas(t,e):(r=document.createElement("canvas"),r.width=t,r.height=e),r},[ml,fr,mr,Vi,_r,Ea,qt,Mr,tn,Al].forEach(function(t){Ue(st,t)});var np=[{name:"null",impl:el},{name:"base",impl:hl},{name:"canvas",impl:rp}],ip=[{type:"layout",extensions:hg},{type:"renderer",extensions:np}],Nl={},Ml={};function Il(t,e,r){var a=r,n=function(I){vt("Can not register `"+e+"` for `"+t+"` since `"+I+"` already exists in the prototype and can not be overridden")};if(t==="core"){if(Za.prototype[e])return n(e);Za.prototype[e]=r}else if(t==="collection"){if(Ot.prototype[e])return n(e);Ot.prototype[e]=r}else if(t==="layout"){for(var i=function(I){this.options=I,r.call(this,I),L(this._private)||(this._private={}),this._private.cy=I.cy,this._private.listeners=[],this.createEmitter()},o=i.prototype=Object.create(r.prototype),s=[],u=0;u<s.length;u++){var l=s[u];o[l]=o[l]||function(){return this}}o.start&&!o.run?o.run=function(){return this.start(),this}:!o.start&&o.run&&(o.start=function(){return this.run(),this});var v=r.prototype.stop;o.stop=function(){var w=this.options;if(w&&w.animate){var I=this.animations;if(I)for(var C=0;C<I.length;C++)I[C].stop()}return v?v.call(this):this.emit("layoutstop"),this},o.destroy||(o.destroy=function(){return this}),o.cy=function(){return this._private.cy};var f=function(I){return I._private.cy},h={addEventFields:function(I,C){C.layout=I,C.cy=f(I),C.target=I},bubble:function(){return!0},parent:function(I){return f(I)}};Ue(o,{createEmitter:function(){return this._private.emitter=new Nn(h,this),this},emitter:function(){return this._private.emitter},on:function(I,C){return this.emitter().on(I,C),this},one:function(I,C){return this.emitter().one(I,C),this},once:function(I,C){return this.emitter().one(I,C),this},removeListener:function(I,C){return this.emitter().removeListener(I,C),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(I,C){return this.emitter().emit(I,C),this}}),ft.eventAliasesOn(o),a=i}else if(t==="renderer"&&e!=="null"&&e!=="base"){var c=Rl("renderer","base"),d=c.prototype,g=r,y=r.prototype,p=function(){c.apply(this,arguments),g.apply(this,arguments)},m=p.prototype;for(var b in d){var E=d[b],M=y[b]!=null;if(M)return n(b);m[b]=E}for(var A in y)m[A]=y[A];d.clientFunctions.forEach(function(w){m[w]=m[w]||function(){xt("Renderer does not implement `renderer."+w+"()` on its prototype")}}),a=p}else if(t==="__proto__"||t==="constructor"||t==="prototype")return xt(t+" is an illegal type to be registered, possibly lead to prototype pollutions");return ji({map:Nl,keys:[t,e],value:a})}function Rl(t,e){return eo({map:Nl,keys:[t,e]})}function op(t,e,r,a,n){return ji({map:Ml,keys:[t,e,r,a],value:n})}function sp(t,e,r,a){return eo({map:Ml,keys:[t,e,r,a]})}var Yi=function(){if(arguments.length===2)return Rl.apply(null,arguments);if(arguments.length===3)return Il.apply(null,arguments);if(arguments.length===4)return sp.apply(null,arguments);if(arguments.length===5)return op.apply(null,arguments);xt("Invalid extension access syntax")};Za.prototype.extension=Yi,ip.forEach(function(t){t.extensions.forEach(function(e){Il(t.type,e.name,e.impl)})});var kl=function t(){if(!(this instanceof t))return new t;this.length=0},Ur=kl.prototype;Ur.instanceString=function(){return"stylesheet"},Ur.selector=function(t){var e=this.length++;return this[e]={selector:t,properties:[]},this},Ur.css=function(t,e){var r=this.length-1;if(j(t))this[r].properties.push({name:t,value:e});else if(L(t))for(var a=t,n=Object.keys(a),i=0;i<n.length;i++){var o=n[i],s=a[o];if(s!=null){var u=Ft.properties[o]||Ft.properties[pt(o)];if(u!=null){var l=u.name,v=s;this[r].properties.push({name:l,value:v})}}}return this},Ur.style=Ur.css,Ur.generateStyle=function(t){var e=new Ft(t);return this.appendToStyle(e)},Ur.appendToStyle=function(t){for(var e=0;e<this.length;e++){var r=this[e],a=r.selector,n=r.properties;t.selector(a);for(var i=0;i<n.length;i++){var o=n[i];t.css(o.name,o.value)}}return t};var lp="3.23.0",Yr=function(e){if(e===void 0&&(e={}),L(e))return new Za(e);if(j(e))return Yi.apply(Yi,arguments)};return Yr.use=function(t){var e=Array.prototype.slice.call(arguments,1);return e.unshift(Yr),t.apply(null,e),this},Yr.warnings=function(t){return co(t)},Yr.version=lp,Yr.stylesheet=Yr.Stylesheet=kl,Yr})})(Wl);var Xp=Wl.exports;const ql=Vl(Xp);var Kl={exports:{}},Wi={exports:{}},qi={exports:{}},zl;function Wp(){return zl||(zl=1,function(pe,ve){(function(he,H){pe.exports=H()})(Ca,function(){return function(ee){var he={};function H(O){if(he[O])return he[O].exports;var T=he[O]={i:O,l:!1,exports:{}};return ee[O].call(T.exports,T,T.exports,H),T.l=!0,T.exports}return H.m=ee,H.c=he,H.i=function(O){return O},H.d=function(O,T,x){H.o(O,T)||Object.defineProperty(O,T,{configurable:!1,enumerable:!0,get:x})},H.n=function(O){var T=O&&O.__esModule?function(){return O.default}:function(){return O};return H.d(T,"a",T),T},H.o=function(O,T){return Object.prototype.hasOwnProperty.call(O,T)},H.p="",H(H.s=26)}([function(ee,he,H){function O(){}O.QUALITY=1,O.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,O.DEFAULT_INCREMENTAL=!1,O.DEFAULT_ANIMATION_ON_LAYOUT=!0,O.DEFAULT_ANIMATION_DURING_LAYOUT=!1,O.DEFAULT_ANIMATION_PERIOD=50,O.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,O.DEFAULT_GRAPH_MARGIN=15,O.NODE_DIMENSIONS_INCLUDE_LABELS=!1,O.SIMPLE_NODE_SIZE=40,O.SIMPLE_NODE_HALF_SIZE=O.SIMPLE_NODE_SIZE/2,O.EMPTY_COMPOUND_NODE_SIZE=40,O.MIN_EDGE_LENGTH=1,O.WORLD_BOUNDARY=1e6,O.INITIAL_WORLD_BOUNDARY=O.WORLD_BOUNDARY/1e3,O.WORLD_CENTER_X=1200,O.WORLD_CENTER_Y=900,ee.exports=O},function(ee,he,H){var O=H(2),T=H(8),x=H(9);function S(U,P,K){O.call(this,K),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=K,this.bendpoints=[],this.source=U,this.target=P}S.prototype=Object.create(O.prototype);for(var z in O)S[z]=O[z];S.prototype.getSource=function(){return this.source},S.prototype.getTarget=function(){return this.target},S.prototype.isInterGraph=function(){return this.isInterGraph},S.prototype.getLength=function(){return this.length},S.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},S.prototype.getBendpoints=function(){return this.bendpoints},S.prototype.getLca=function(){return this.lca},S.prototype.getSourceInLca=function(){return this.sourceInLca},S.prototype.getTargetInLca=function(){return this.targetInLca},S.prototype.getOtherEnd=function(U){if(this.source===U)return this.target;if(this.target===U)return this.source;throw"Node is not incident with this edge"},S.prototype.getOtherEndInGraph=function(U,P){for(var K=this.getOtherEnd(U),D=P.getGraphManager().getRoot();;){if(K.getOwner()==P)return K;if(K.getOwner()==D)break;K=K.getOwner().getParent()}return null},S.prototype.updateLength=function(){var U=new Array(4);this.isOverlapingSourceAndTarget=T.getIntersection(this.target.getRect(),this.source.getRect(),U),this.isOverlapingSourceAndTarget||(this.lengthX=U[0]-U[2],this.lengthY=U[1]-U[3],Math.abs(this.lengthX)<1&&(this.lengthX=x.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=x.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},S.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=x.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=x.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},ee.exports=S},function(ee,he,H){function O(T){this.vGraphObject=T}ee.exports=O},function(ee,he,H){var O=H(2),T=H(10),x=H(13),S=H(0),z=H(16),U=H(4);function P(D,V,_,Q){_==null&&Q==null&&(Q=V),O.call(this,Q),D.graphManager!=null&&(D=D.graphManager),this.estimatedSize=T.MIN_VALUE,this.inclusionTreeDepth=T.MAX_VALUE,this.vGraphObject=Q,this.edges=[],this.graphManager=D,_!=null&&V!=null?this.rect=new x(V.x,V.y,_.width,_.height):this.rect=new x}P.prototype=Object.create(O.prototype);for(var K in O)P[K]=O[K];P.prototype.getEdges=function(){return this.edges},P.prototype.getChild=function(){return this.child},P.prototype.getOwner=function(){return this.owner},P.prototype.getWidth=function(){return this.rect.width},P.prototype.setWidth=function(D){this.rect.width=D},P.prototype.getHeight=function(){return this.rect.height},P.prototype.setHeight=function(D){this.rect.height=D},P.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},P.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},P.prototype.getCenter=function(){return new U(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},P.prototype.getLocation=function(){return new U(this.rect.x,this.rect.y)},P.prototype.getRect=function(){return this.rect},P.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},P.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},P.prototype.setRect=function(D,V){this.rect.x=D.x,this.rect.y=D.y,this.rect.width=V.width,this.rect.height=V.height},P.prototype.setCenter=function(D,V){this.rect.x=D-this.rect.width/2,this.rect.y=V-this.rect.height/2},P.prototype.setLocation=function(D,V){this.rect.x=D,this.rect.y=V},P.prototype.moveBy=function(D,V){this.rect.x+=D,this.rect.y+=V},P.prototype.getEdgeListToNode=function(D){var V=[],_=this;return _.edges.forEach(function(Q){if(Q.target==D){if(Q.source!=_)throw"Incorrect edge source!";V.push(Q)}}),V},P.prototype.getEdgesBetween=function(D){var V=[],_=this;return _.edges.forEach(function(Q){if(!(Q.source==_||Q.target==_))throw"Incorrect edge source and/or target";(Q.target==D||Q.source==D)&&V.push(Q)}),V},P.prototype.getNeighborsList=function(){var D=new Set,V=this;return V.edges.forEach(function(_){if(_.source==V)D.add(_.target);else{if(_.target!=V)throw"Incorrect incidency!";D.add(_.source)}}),D},P.prototype.withChildren=function(){var D=new Set,V,_;if(D.add(this),this.child!=null)for(var Q=this.child.getNodes(),ne=0;ne<Q.length;ne++)V=Q[ne],_=V.withChildren(),_.forEach(function(le){D.add(le)});return D},P.prototype.getNoOfChildren=function(){var D=0,V;if(this.child==null)D=1;else for(var _=this.child.getNodes(),Q=0;Q<_.length;Q++)V=_[Q],D+=V.getNoOfChildren();return D==0&&(D=1),D},P.prototype.getEstimatedSize=function(){if(this.estimatedSize==T.MIN_VALUE)throw"assert failed";return this.estimatedSize},P.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},P.prototype.scatter=function(){var D,V,_=-S.INITIAL_WORLD_BOUNDARY,Q=S.INITIAL_WORLD_BOUNDARY;D=S.WORLD_CENTER_X+z.nextDouble()*(Q-_)+_;var ne=-S.INITIAL_WORLD_BOUNDARY,le=S.INITIAL_WORLD_BOUNDARY;V=S.WORLD_CENTER_Y+z.nextDouble()*(le-ne)+ne,this.rect.x=D,this.rect.y=V},P.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var D=this.getChild();if(D.updateBounds(!0),this.rect.x=D.getLeft(),this.rect.y=D.getTop(),this.setWidth(D.getRight()-D.getLeft()),this.setHeight(D.getBottom()-D.getTop()),S.NODE_DIMENSIONS_INCLUDE_LABELS){var V=D.getRight()-D.getLeft(),_=D.getBottom()-D.getTop();this.labelWidth>V&&(this.rect.x-=(this.labelWidth-V)/2,this.setWidth(this.labelWidth)),this.labelHeight>_&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-_)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-_),this.setHeight(this.labelHeight))}}},P.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==T.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},P.prototype.transform=function(D){var V=this.rect.x;V>S.WORLD_BOUNDARY?V=S.WORLD_BOUNDARY:V<-S.WORLD_BOUNDARY&&(V=-S.WORLD_BOUNDARY);var _=this.rect.y;_>S.WORLD_BOUNDARY?_=S.WORLD_BOUNDARY:_<-S.WORLD_BOUNDARY&&(_=-S.WORLD_BOUNDARY);var Q=new U(V,_),ne=D.inverseTransformPoint(Q);this.setLocation(ne.x,ne.y)},P.prototype.getLeft=function(){return this.rect.x},P.prototype.getRight=function(){return this.rect.x+this.rect.width},P.prototype.getTop=function(){return this.rect.y},P.prototype.getBottom=function(){return this.rect.y+this.rect.height},P.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},ee.exports=P},function(ee,he,H){function O(T,x){T==null&&x==null?(this.x=0,this.y=0):(this.x=T,this.y=x)}O.prototype.getX=function(){return this.x},O.prototype.getY=function(){return this.y},O.prototype.setX=function(T){this.x=T},O.prototype.setY=function(T){this.y=T},O.prototype.getDifference=function(T){return new DimensionD(this.x-T.x,this.y-T.y)},O.prototype.getCopy=function(){return new O(this.x,this.y)},O.prototype.translate=function(T){return this.x+=T.width,this.y+=T.height,this},ee.exports=O},function(ee,he,H){var O=H(2),T=H(10),x=H(0),S=H(6),z=H(3),U=H(1),P=H(13),K=H(12),D=H(11);function V(Q,ne,le){O.call(this,le),this.estimatedSize=T.MIN_VALUE,this.margin=x.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=Q,ne!=null&&ne instanceof S?this.graphManager=ne:ne!=null&&ne instanceof Layout&&(this.graphManager=ne.graphManager)}V.prototype=Object.create(O.prototype);for(var _ in O)V[_]=O[_];V.prototype.getNodes=function(){return this.nodes},V.prototype.getEdges=function(){return this.edges},V.prototype.getGraphManager=function(){return this.graphManager},V.prototype.getParent=function(){return this.parent},V.prototype.getLeft=function(){return this.left},V.prototype.getRight=function(){return this.right},V.prototype.getTop=function(){return this.top},V.prototype.getBottom=function(){return this.bottom},V.prototype.isConnected=function(){return this.isConnected},V.prototype.add=function(Q,ne,le){if(ne==null&&le==null){var J=Q;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(J)>-1)throw"Node already in graph!";return J.owner=this,this.getNodes().push(J),J}else{var j=Q;if(!(this.getNodes().indexOf(ne)>-1&&this.getNodes().indexOf(le)>-1))throw"Source or target not in graph!";if(!(ne.owner==le.owner&&ne.owner==this))throw"Both owners must be this graph!";return ne.owner!=le.owner?null:(j.source=ne,j.target=le,j.isInterGraph=!1,this.getEdges().push(j),ne.edges.push(j),le!=ne&&le.edges.push(j),j)}},V.prototype.remove=function(Q){var ne=Q;if(Q instanceof z){if(ne==null)throw"Node is null!";if(!(ne.owner!=null&&ne.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var le=ne.edges.slice(),J,j=le.length,Y=0;Y<j;Y++)J=le[Y],J.isInterGraph?this.graphManager.remove(J):J.source.owner.remove(J);var te=this.nodes.indexOf(ne);if(te==-1)throw"Node not in owner node list!";this.nodes.splice(te,1)}else if(Q instanceof U){var J=Q;if(J==null)throw"Edge is null!";if(!(J.source!=null&&J.target!=null))throw"Source and/or target is null!";if(!(J.source.owner!=null&&J.target.owner!=null&&J.source.owner==this&&J.target.owner==this))throw"Source and/or target owner is invalid!";var L=J.source.edges.indexOf(J),$=J.target.edges.indexOf(J);if(!(L>-1&&$>-1))throw"Source and/or target doesn't know this edge!";J.source.edges.splice(L,1),J.target!=J.source&&J.target.edges.splice($,1);var te=J.source.owner.getEdges().indexOf(J);if(te==-1)throw"Not in owner's edge list!";J.source.owner.getEdges().splice(te,1)}},V.prototype.updateLeftTop=function(){for(var Q=T.MAX_VALUE,ne=T.MAX_VALUE,le,J,j,Y=this.getNodes(),te=Y.length,L=0;L<te;L++){var $=Y[L];le=$.getTop(),J=$.getLeft(),Q>le&&(Q=le),ne>J&&(ne=J)}return Q==T.MAX_VALUE?null:(Y[0].getParent().paddingLeft!=null?j=Y[0].getParent().paddingLeft:j=this.margin,this.left=ne-j,this.top=Q-j,new K(this.left,this.top))},V.prototype.updateBounds=function(Q){for(var ne=T.MAX_VALUE,le=-T.MAX_VALUE,J=T.MAX_VALUE,j=-T.MAX_VALUE,Y,te,L,$,k,W=this.nodes,fe=W.length,ge=0;ge<fe;ge++){var Ae=W[ge];Q&&Ae.child!=null&&Ae.updateBounds(),Y=Ae.getLeft(),te=Ae.getRight(),L=Ae.getTop(),$=Ae.getBottom(),ne>Y&&(ne=Y),le<te&&(le=te),J>L&&(J=L),j<$&&(j=$)}var Ne=new P(ne,J,le-ne,j-J);ne==T.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),W[0].getParent().paddingLeft!=null?k=W[0].getParent().paddingLeft:k=this.margin,this.left=Ne.x-k,this.right=Ne.x+Ne.width+k,this.top=Ne.y-k,this.bottom=Ne.y+Ne.height+k},V.calculateBounds=function(Q){for(var ne=T.MAX_VALUE,le=-T.MAX_VALUE,J=T.MAX_VALUE,j=-T.MAX_VALUE,Y,te,L,$,k=Q.length,W=0;W<k;W++){var fe=Q[W];Y=fe.getLeft(),te=fe.getRight(),L=fe.getTop(),$=fe.getBottom(),ne>Y&&(ne=Y),le<te&&(le=te),J>L&&(J=L),j<$&&(j=$)}var ge=new P(ne,J,le-ne,j-J);return ge},V.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},V.prototype.getEstimatedSize=function(){if(this.estimatedSize==T.MIN_VALUE)throw"assert failed";return this.estimatedSize},V.prototype.calcEstimatedSize=function(){for(var Q=0,ne=this.nodes,le=ne.length,J=0;J<le;J++){var j=ne[J];Q+=j.calcEstimatedSize()}return Q==0?this.estimatedSize=x.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=Q/Math.sqrt(this.nodes.length),this.estimatedSize},V.prototype.updateConnected=function(){var Q=this;if(this.nodes.length==0){this.isConnected=!0;return}var ne=new D,le=new Set,J=this.nodes[0],j,Y,te=J.withChildren();for(te.forEach(function(ge){ne.push(ge),le.add(ge)});ne.length!==0;){J=ne.shift(),j=J.getEdges();for(var L=j.length,$=0;$<L;$++){var k=j[$];if(Y=k.getOtherEndInGraph(J,this),Y!=null&&!le.has(Y)){var W=Y.withChildren();W.forEach(function(ge){ne.push(ge),le.add(ge)})}}}if(this.isConnected=!1,le.size>=this.nodes.length){var fe=0;le.forEach(function(ge){ge.owner==Q&&fe++}),fe==this.nodes.length&&(this.isConnected=!0)}},ee.exports=V},function(ee,he,H){var O,T=H(1);function x(S){O=H(5),this.layout=S,this.graphs=[],this.edges=[]}x.prototype.addRoot=function(){var S=this.layout.newGraph(),z=this.layout.newNode(null),U=this.add(S,z);return this.setRootGraph(U),this.rootGraph},x.prototype.add=function(S,z,U,P,K){if(U==null&&P==null&&K==null){if(S==null)throw"Graph is null!";if(z==null)throw"Parent node is null!";if(this.graphs.indexOf(S)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(S),S.parent!=null)throw"Already has a parent!";if(z.child!=null)throw"Already has a child!";return S.parent=z,z.child=S,S}else{K=U,P=z,U=S;var D=P.getOwner(),V=K.getOwner();if(!(D!=null&&D.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(V!=null&&V.getGraphManager()==this))throw"Target not in this graph mgr!";if(D==V)return U.isInterGraph=!1,D.add(U,P,K);if(U.isInterGraph=!0,U.source=P,U.target=K,this.edges.indexOf(U)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(U),!(U.source!=null&&U.target!=null))throw"Edge source and/or target is null!";if(!(U.source.edges.indexOf(U)==-1&&U.target.edges.indexOf(U)==-1))throw"Edge already in source and/or target incidency list!";return U.source.edges.push(U),U.target.edges.push(U),U}},x.prototype.remove=function(S){if(S instanceof O){var z=S;if(z.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(z==this.rootGraph||z.parent!=null&&z.parent.graphManager==this))throw"Invalid parent node!";var U=[];U=U.concat(z.getEdges());for(var P,K=U.length,D=0;D<K;D++)P=U[D],z.remove(P);var V=[];V=V.concat(z.getNodes());var _;K=V.length;for(var D=0;D<K;D++)_=V[D],z.remove(_);z==this.rootGraph&&this.setRootGraph(null);var Q=this.graphs.indexOf(z);this.graphs.splice(Q,1),z.parent=null}else if(S instanceof T){if(P=S,P==null)throw"Edge is null!";if(!P.isInterGraph)throw"Not an inter-graph edge!";if(!(P.source!=null&&P.target!=null))throw"Source and/or target is null!";if(!(P.source.edges.indexOf(P)!=-1&&P.target.edges.indexOf(P)!=-1))throw"Source and/or target doesn't know this edge!";var Q=P.source.edges.indexOf(P);if(P.source.edges.splice(Q,1),Q=P.target.edges.indexOf(P),P.target.edges.splice(Q,1),!(P.source.owner!=null&&P.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(P.source.owner.getGraphManager().edges.indexOf(P)==-1)throw"Not in owner graph manager's edge list!";var Q=P.source.owner.getGraphManager().edges.indexOf(P);P.source.owner.getGraphManager().edges.splice(Q,1)}},x.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},x.prototype.getGraphs=function(){return this.graphs},x.prototype.getAllNodes=function(){if(this.allNodes==null){for(var S=[],z=this.getGraphs(),U=z.length,P=0;P<U;P++)S=S.concat(z[P].getNodes());this.allNodes=S}return this.allNodes},x.prototype.resetAllNodes=function(){this.allNodes=null},x.prototype.resetAllEdges=function(){this.allEdges=null},x.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},x.prototype.getAllEdges=function(){if(this.allEdges==null){var S=[],z=this.getGraphs();z.length;for(var U=0;U<z.length;U++)S=S.concat(z[U].getEdges());S=S.concat(this.edges),this.allEdges=S}return this.allEdges},x.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},x.prototype.setAllNodesToApplyGravitation=function(S){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=S},x.prototype.getRoot=function(){return this.rootGraph},x.prototype.setRootGraph=function(S){if(S.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=S,S.parent==null&&(S.parent=this.layout.newNode("Root node"))},x.prototype.getLayout=function(){return this.layout},x.prototype.isOneAncestorOfOther=function(S,z){if(!(S!=null&&z!=null))throw"assert failed";if(S==z)return!0;var U=S.getOwner(),P;do{if(P=U.getParent(),P==null)break;if(P==z)return!0;if(U=P.getOwner(),U==null)break}while(!0);U=z.getOwner();do{if(P=U.getParent(),P==null)break;if(P==S)return!0;if(U=P.getOwner(),U==null)break}while(!0);return!1},x.prototype.calcLowestCommonAncestors=function(){for(var S,z,U,P,K,D=this.getAllEdges(),V=D.length,_=0;_<V;_++){if(S=D[_],z=S.source,U=S.target,S.lca=null,S.sourceInLca=z,S.targetInLca=U,z==U){S.lca=z.getOwner();continue}for(P=z.getOwner();S.lca==null;){for(S.targetInLca=U,K=U.getOwner();S.lca==null;){if(K==P){S.lca=K;break}if(K==this.rootGraph)break;if(S.lca!=null)throw"assert failed";S.targetInLca=K.getParent(),K=S.targetInLca.getOwner()}if(P==this.rootGraph)break;S.lca==null&&(S.sourceInLca=P.getParent(),P=S.sourceInLca.getOwner())}if(S.lca==null)throw"assert failed"}},x.prototype.calcLowestCommonAncestor=function(S,z){if(S==z)return S.getOwner();var U=S.getOwner();do{if(U==null)break;var P=z.getOwner();do{if(P==null)break;if(P==U)return P;P=P.getParent().getOwner()}while(!0);U=U.getParent().getOwner()}while(!0);return U},x.prototype.calcInclusionTreeDepths=function(S,z){S==null&&z==null&&(S=this.rootGraph,z=1);for(var U,P=S.getNodes(),K=P.length,D=0;D<K;D++)U=P[D],U.inclusionTreeDepth=z,U.child!=null&&this.calcInclusionTreeDepths(U.child,z+1)},x.prototype.includesInvalidEdge=function(){for(var S,z=this.edges.length,U=0;U<z;U++)if(S=this.edges[U],this.isOneAncestorOfOther(S.source,S.target))return!0;return!1},ee.exports=x},function(ee,he,H){var O=H(0);function T(){}for(var x in O)T[x]=O[x];T.MAX_ITERATIONS=2500,T.DEFAULT_EDGE_LENGTH=50,T.DEFAULT_SPRING_STRENGTH=.45,T.DEFAULT_REPULSION_STRENGTH=4500,T.DEFAULT_GRAVITY_STRENGTH=.4,T.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,T.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,T.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,T.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,T.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,T.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,T.COOLING_ADAPTATION_FACTOR=.33,T.ADAPTATION_LOWER_NODE_LIMIT=1e3,T.ADAPTATION_UPPER_NODE_LIMIT=5e3,T.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,T.MAX_NODE_DISPLACEMENT=T.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,T.MIN_REPULSION_DIST=T.DEFAULT_EDGE_LENGTH/10,T.CONVERGENCE_CHECK_PERIOD=100,T.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,T.MIN_EDGE_LENGTH=1,T.GRID_CALCULATION_CHECK_PERIOD=10,ee.exports=T},function(ee,he,H){var O=H(12);function T(){}T.calcSeparationAmount=function(x,S,z,U){if(!x.intersects(S))throw"assert failed";var P=new Array(2);this.decideDirectionsForOverlappingNodes(x,S,P),z[0]=Math.min(x.getRight(),S.getRight())-Math.max(x.x,S.x),z[1]=Math.min(x.getBottom(),S.getBottom())-Math.max(x.y,S.y),x.getX()<=S.getX()&&x.getRight()>=S.getRight()?z[0]+=Math.min(S.getX()-x.getX(),x.getRight()-S.getRight()):S.getX()<=x.getX()&&S.getRight()>=x.getRight()&&(z[0]+=Math.min(x.getX()-S.getX(),S.getRight()-x.getRight())),x.getY()<=S.getY()&&x.getBottom()>=S.getBottom()?z[1]+=Math.min(S.getY()-x.getY(),x.getBottom()-S.getBottom()):S.getY()<=x.getY()&&S.getBottom()>=x.getBottom()&&(z[1]+=Math.min(x.getY()-S.getY(),S.getBottom()-x.getBottom()));var K=Math.abs((S.getCenterY()-x.getCenterY())/(S.getCenterX()-x.getCenterX()));S.getCenterY()===x.getCenterY()&&S.getCenterX()===x.getCenterX()&&(K=1);var D=K*z[0],V=z[1]/K;z[0]<V?V=z[0]:D=z[1],z[0]=-1*P[0]*(V/2+U),z[1]=-1*P[1]*(D/2+U)},T.decideDirectionsForOverlappingNodes=function(x,S,z){x.getCenterX()<S.getCenterX()?z[0]=-1:z[0]=1,x.getCenterY()<S.getCenterY()?z[1]=-1:z[1]=1},T.getIntersection2=function(x,S,z){var U=x.getCenterX(),P=x.getCenterY(),K=S.getCenterX(),D=S.getCenterY();if(x.intersects(S))return z[0]=U,z[1]=P,z[2]=K,z[3]=D,!0;var V=x.getX(),_=x.getY(),Q=x.getRight(),ne=x.getX(),le=x.getBottom(),J=x.getRight(),j=x.getWidthHalf(),Y=x.getHeightHalf(),te=S.getX(),L=S.getY(),$=S.getRight(),k=S.getX(),W=S.getBottom(),fe=S.getRight(),ge=S.getWidthHalf(),Ae=S.getHeightHalf(),Ne=!1,_e=!1;if(U===K){if(P>D)return z[0]=U,z[1]=_,z[2]=K,z[3]=W,!1;if(P<D)return z[0]=U,z[1]=le,z[2]=K,z[3]=L,!1}else if(P===D){if(U>K)return z[0]=V,z[1]=P,z[2]=$,z[3]=D,!1;if(U<K)return z[0]=Q,z[1]=P,z[2]=te,z[3]=D,!1}else{var tt=x.height/x.width,ht=S.height/S.width,Pe=(D-P)/(K-U),$e=void 0,Xe=void 0,rt=void 0,ut=void 0,nt=void 0,je=void 0;if(-tt===Pe?U>K?(z[0]=ne,z[1]=le,Ne=!0):(z[0]=Q,z[1]=_,Ne=!0):tt===Pe&&(U>K?(z[0]=V,z[1]=_,Ne=!0):(z[0]=J,z[1]=le,Ne=!0)),-ht===Pe?K>U?(z[2]=k,z[3]=W,_e=!0):(z[2]=$,z[3]=L,_e=!0):ht===Pe&&(K>U?(z[2]=te,z[3]=L,_e=!0):(z[2]=fe,z[3]=W,_e=!0)),Ne&&_e)return!1;if(U>K?P>D?($e=this.getCardinalDirection(tt,Pe,4),Xe=this.getCardinalDirection(ht,Pe,2)):($e=this.getCardinalDirection(-tt,Pe,3),Xe=this.getCardinalDirection(-ht,Pe,1)):P>D?($e=this.getCardinalDirection(-tt,Pe,1),Xe=this.getCardinalDirection(-ht,Pe,3)):($e=this.getCardinalDirection(tt,Pe,2),Xe=this.getCardinalDirection(ht,Pe,4)),!Ne)switch($e){case 1:ut=_,rt=U+-Y/Pe,z[0]=rt,z[1]=ut;break;case 2:rt=J,ut=P+j*Pe,z[0]=rt,z[1]=ut;break;case 3:ut=le,rt=U+Y/Pe,z[0]=rt,z[1]=ut;break;case 4:rt=ne,ut=P+-j*Pe,z[0]=rt,z[1]=ut;break}if(!_e)switch(Xe){case 1:je=L,nt=K+-Ae/Pe,z[2]=nt,z[3]=je;break;case 2:nt=fe,je=D+ge*Pe,z[2]=nt,z[3]=je;break;case 3:je=W,nt=K+Ae/Pe,z[2]=nt,z[3]=je;break;case 4:nt=k,je=D+-ge*Pe,z[2]=nt,z[3]=je;break}}return!1},T.getCardinalDirection=function(x,S,z){return x>S?z:1+z%4},T.getIntersection=function(x,S,z,U){if(U==null)return this.getIntersection2(x,S,z);var P=x.x,K=x.y,D=S.x,V=S.y,_=z.x,Q=z.y,ne=U.x,le=U.y,J=void 0,j=void 0,Y=void 0,te=void 0,L=void 0,$=void 0,k=void 0,W=void 0,fe=void 0;return Y=V-K,L=P-D,k=D*K-P*V,te=le-Q,$=_-ne,W=ne*Q-_*le,fe=Y*$-te*L,fe===0?null:(J=(L*W-$*k)/fe,j=(te*k-Y*W)/fe,new O(J,j))},T.angleOfVector=function(x,S,z,U){var P=void 0;return x!==z?(P=Math.atan((U-S)/(z-x)),z<x?P+=Math.PI:U<S&&(P+=this.TWO_PI)):U<S?P=this.ONE_AND_HALF_PI:P=this.HALF_PI,P},T.doIntersect=function(x,S,z,U){var P=x.x,K=x.y,D=S.x,V=S.y,_=z.x,Q=z.y,ne=U.x,le=U.y,J=(D-P)*(le-Q)-(ne-_)*(V-K);if(J===0)return!1;var j=((le-Q)*(ne-P)+(_-ne)*(le-K))/J,Y=((K-V)*(ne-P)+(D-P)*(le-K))/J;return 0<j&&j<1&&0<Y&&Y<1},T.HALF_PI=.5*Math.PI,T.ONE_AND_HALF_PI=1.5*Math.PI,T.TWO_PI=2*Math.PI,T.THREE_PI=3*Math.PI,ee.exports=T},function(ee,he,H){function O(){}O.sign=function(T){return T>0?1:T<0?-1:0},O.floor=function(T){return T<0?Math.ceil(T):Math.floor(T)},O.ceil=function(T){return T<0?Math.floor(T):Math.ceil(T)},ee.exports=O},function(ee,he,H){function O(){}O.MAX_VALUE=2147483647,O.MIN_VALUE=-2147483648,ee.exports=O},function(ee,he,H){var O=function(){function P(K,D){for(var V=0;V<D.length;V++){var _=D[V];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(K,_.key,_)}}return function(K,D,V){return D&&P(K.prototype,D),V&&P(K,V),K}}();function T(P,K){if(!(P instanceof K))throw new TypeError("Cannot call a class as a function")}var x=function(K){return{value:K,next:null,prev:null}},S=function(K,D,V,_){return K!==null?K.next=D:_.head=D,V!==null?V.prev=D:_.tail=D,D.prev=K,D.next=V,_.length++,D},z=function(K,D){var V=K.prev,_=K.next;return V!==null?V.next=_:D.head=_,_!==null?_.prev=V:D.tail=V,K.prev=K.next=null,D.length--,K},U=function(){function P(K){var D=this;T(this,P),this.length=0,this.head=null,this.tail=null,K!=null&&K.forEach(function(V){return D.push(V)})}return O(P,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(D,V){return S(V.prev,x(D),V,this)}},{key:"insertAfter",value:function(D,V){return S(V,x(D),V.next,this)}},{key:"insertNodeBefore",value:function(D,V){return S(V.prev,D,V,this)}},{key:"insertNodeAfter",value:function(D,V){return S(V,D,V.next,this)}},{key:"push",value:function(D){return S(this.tail,x(D),null,this)}},{key:"unshift",value:function(D){return S(null,x(D),this.head,this)}},{key:"remove",value:function(D){return z(D,this)}},{key:"pop",value:function(){return z(this.tail,this).value}},{key:"popNode",value:function(){return z(this.tail,this)}},{key:"shift",value:function(){return z(this.head,this).value}},{key:"shiftNode",value:function(){return z(this.head,this)}},{key:"get_object_at",value:function(D){if(D<=this.length()){for(var V=1,_=this.head;V<D;)_=_.next,V++;return _.value}}},{key:"set_object_at",value:function(D,V){if(D<=this.length()){for(var _=1,Q=this.head;_<D;)Q=Q.next,_++;Q.value=V}}}]),P}();ee.exports=U},function(ee,he,H){function O(T,x,S){this.x=null,this.y=null,T==null&&x==null&&S==null?(this.x=0,this.y=0):typeof T=="number"&&typeof x=="number"&&S==null?(this.x=T,this.y=x):T.constructor.name=="Point"&&x==null&&S==null&&(S=T,this.x=S.x,this.y=S.y)}O.prototype.getX=function(){return this.x},O.prototype.getY=function(){return this.y},O.prototype.getLocation=function(){return new O(this.x,this.y)},O.prototype.setLocation=function(T,x,S){T.constructor.name=="Point"&&x==null&&S==null?(S=T,this.setLocation(S.x,S.y)):typeof T=="number"&&typeof x=="number"&&S==null&&(parseInt(T)==T&&parseInt(x)==x?this.move(T,x):(this.x=Math.floor(T+.5),this.y=Math.floor(x+.5)))},O.prototype.move=function(T,x){this.x=T,this.y=x},O.prototype.translate=function(T,x){this.x+=T,this.y+=x},O.prototype.equals=function(T){if(T.constructor.name=="Point"){var x=T;return this.x==x.x&&this.y==x.y}return this==T},O.prototype.toString=function(){return new O().constructor.name+"[x="+this.x+",y="+this.y+"]"},ee.exports=O},function(ee,he,H){function O(T,x,S,z){this.x=0,this.y=0,this.width=0,this.height=0,T!=null&&x!=null&&S!=null&&z!=null&&(this.x=T,this.y=x,this.width=S,this.height=z)}O.prototype.getX=function(){return this.x},O.prototype.setX=function(T){this.x=T},O.prototype.getY=function(){return this.y},O.prototype.setY=function(T){this.y=T},O.prototype.getWidth=function(){return this.width},O.prototype.setWidth=function(T){this.width=T},O.prototype.getHeight=function(){return this.height},O.prototype.setHeight=function(T){this.height=T},O.prototype.getRight=function(){return this.x+this.width},O.prototype.getBottom=function(){return this.y+this.height},O.prototype.intersects=function(T){return!(this.getRight()<T.x||this.getBottom()<T.y||T.getRight()<this.x||T.getBottom()<this.y)},O.prototype.getCenterX=function(){return this.x+this.width/2},O.prototype.getMinX=function(){return this.getX()},O.prototype.getMaxX=function(){return this.getX()+this.width},O.prototype.getCenterY=function(){return this.y+this.height/2},O.prototype.getMinY=function(){return this.getY()},O.prototype.getMaxY=function(){return this.getY()+this.height},O.prototype.getWidthHalf=function(){return this.width/2},O.prototype.getHeightHalf=function(){return this.height/2},ee.exports=O},function(ee,he,H){var O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x};function T(){}T.lastID=0,T.createID=function(x){return T.isPrimitive(x)?x:(x.uniqueID!=null||(x.uniqueID=T.getString(),T.lastID++),x.uniqueID)},T.getString=function(x){return x==null&&(x=T.lastID),"Object#"+x},T.isPrimitive=function(x){var S=typeof x>"u"?"undefined":O(x);return x==null||S!="object"&&S!="function"},ee.exports=T},function(ee,he,H){function O(_){if(Array.isArray(_)){for(var Q=0,ne=Array(_.length);Q<_.length;Q++)ne[Q]=_[Q];return ne}else return Array.from(_)}var T=H(0),x=H(6),S=H(3),z=H(1),U=H(5),P=H(4),K=H(17),D=H(27);function V(_){D.call(this),this.layoutQuality=T.QUALITY,this.createBendsAsNeeded=T.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=T.DEFAULT_INCREMENTAL,this.animationOnLayout=T.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=T.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=T.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=T.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new x(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,_!=null&&(this.isRemoteUse=_)}V.RANDOM_SEED=1,V.prototype=Object.create(D.prototype),V.prototype.getGraphManager=function(){return this.graphManager},V.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},V.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},V.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},V.prototype.newGraphManager=function(){var _=new x(this);return this.graphManager=_,_},V.prototype.newGraph=function(_){return new U(null,this.graphManager,_)},V.prototype.newNode=function(_){return new S(this.graphManager,_)},V.prototype.newEdge=function(_){return new z(null,null,_)},V.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},V.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var _;return this.checkLayoutSuccess()?_=!1:_=this.layout(),T.ANIMATE==="during"?!1:(_&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,_)},V.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},V.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var _=this.graphManager.getAllEdges(),Q=0;Q<_.length;Q++)_[Q];for(var ne=this.graphManager.getRoot().getNodes(),Q=0;Q<ne.length;Q++)ne[Q];this.update(this.graphManager.getRoot())}},V.prototype.update=function(_){if(_==null)this.update2();else if(_ instanceof S){var Q=_;if(Q.getChild()!=null)for(var ne=Q.getChild().getNodes(),le=0;le<ne.length;le++)update(ne[le]);if(Q.vGraphObject!=null){var J=Q.vGraphObject;J.update(Q)}}else if(_ instanceof z){var j=_;if(j.vGraphObject!=null){var Y=j.vGraphObject;Y.update(j)}}else if(_ instanceof U){var te=_;if(te.vGraphObject!=null){var L=te.vGraphObject;L.update(te)}}},V.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=T.QUALITY,this.animationDuringLayout=T.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=T.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=T.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=T.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=T.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=T.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},V.prototype.transform=function(_){if(_==null)this.transform(new P(0,0));else{var Q=new K,ne=this.graphManager.getRoot().updateLeftTop();if(ne!=null){Q.setWorldOrgX(_.x),Q.setWorldOrgY(_.y),Q.setDeviceOrgX(ne.x),Q.setDeviceOrgY(ne.y);for(var le=this.getAllNodes(),J,j=0;j<le.length;j++)J=le[j],J.transform(Q)}}},V.prototype.positionNodesRandomly=function(_){if(_==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var Q,ne,le=_.getNodes(),J=0;J<le.length;J++)Q=le[J],ne=Q.getChild(),ne==null||ne.getNodes().length==0?Q.scatter():(this.positionNodesRandomly(ne),Q.updateBounds())},V.prototype.getFlatForest=function(){for(var _=[],Q=!0,ne=this.graphManager.getRoot().getNodes(),le=!0,J=0;J<ne.length;J++)ne[J].getChild()!=null&&(le=!1);if(!le)return _;var j=new Set,Y=[],te=new Map,L=[];for(L=L.concat(ne);L.length>0&&Q;){for(Y.push(L[0]);Y.length>0&&Q;){var $=Y[0];Y.splice(0,1),j.add($);for(var k=$.getEdges(),J=0;J<k.length;J++){var W=k[J].getOtherEnd($);if(te.get($)!=W)if(!j.has(W))Y.push(W),te.set(W,$);else{Q=!1;break}}}if(!Q)_=[];else{var fe=[].concat(O(j));_.push(fe);for(var J=0;J<fe.length;J++){var ge=fe[J],Ae=L.indexOf(ge);Ae>-1&&L.splice(Ae,1)}j=new Set,te=new Map}}return _},V.prototype.createDummyNodesForBendpoints=function(_){for(var Q=[],ne=_.source,le=this.graphManager.calcLowestCommonAncestor(_.source,_.target),J=0;J<_.bendpoints.length;J++){var j=this.newNode(null);j.setRect(new Point(0,0),new Dimension(1,1)),le.add(j);var Y=this.newEdge(null);this.graphManager.add(Y,ne,j),Q.add(j),ne=j}var Y=this.newEdge(null);return this.graphManager.add(Y,ne,_.target),this.edgeToDummyNodes.set(_,Q),_.isInterGraph()?this.graphManager.remove(_):le.remove(_),Q},V.prototype.createBendpointsFromDummyNodes=function(){var _=[];_=_.concat(this.graphManager.getAllEdges()),_=[].concat(O(this.edgeToDummyNodes.keys())).concat(_);for(var Q=0;Q<_.length;Q++){var ne=_[Q];if(ne.bendpoints.length>0){for(var le=this.edgeToDummyNodes.get(ne),J=0;J<le.length;J++){var j=le[J],Y=new P(j.getCenterX(),j.getCenterY()),te=ne.bendpoints.get(J);te.x=Y.x,te.y=Y.y,j.getOwner().remove(j)}this.graphManager.add(ne,ne.source,ne.target)}}},V.transform=function(_,Q,ne,le){if(ne!=null&&le!=null){var J=Q;if(_<=50){var j=Q/ne;J-=(Q-j)/50*(50-_)}else{var Y=Q*le;J+=(Y-Q)/50*(_-50)}return J}else{var te,L;return _<=50?(te=9*Q/500,L=Q/10):(te=9*Q/50,L=-8*Q),te*_+L}},V.findCenterOfTree=function(_){var Q=[];Q=Q.concat(_);var ne=[],le=new Map,J=!1,j=null;(Q.length==1||Q.length==2)&&(J=!0,j=Q[0]);for(var Y=0;Y<Q.length;Y++){var te=Q[Y],L=te.getNeighborsList().size;le.set(te,te.getNeighborsList().size),L==1&&ne.push(te)}var $=[];for($=$.concat(ne);!J;){var k=[];k=k.concat($),$=[];for(var Y=0;Y<Q.length;Y++){var te=Q[Y],W=Q.indexOf(te);W>=0&&Q.splice(W,1);var fe=te.getNeighborsList();fe.forEach(function(Ne){if(ne.indexOf(Ne)<0){var _e=le.get(Ne),tt=_e-1;tt==1&&$.push(Ne),le.set(Ne,tt)}})}ne=ne.concat($),(Q.length==1||Q.length==2)&&(J=!0,j=Q[0])}return j},V.prototype.setGraphManager=function(_){this.graphManager=_},ee.exports=V},function(ee,he,H){function O(){}O.seed=1,O.x=0,O.nextDouble=function(){return O.x=Math.sin(O.seed++)*1e4,O.x-Math.floor(O.x)},ee.exports=O},function(ee,he,H){var O=H(4);function T(x,S){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}T.prototype.getWorldOrgX=function(){return this.lworldOrgX},T.prototype.setWorldOrgX=function(x){this.lworldOrgX=x},T.prototype.getWorldOrgY=function(){return this.lworldOrgY},T.prototype.setWorldOrgY=function(x){this.lworldOrgY=x},T.prototype.getWorldExtX=function(){return this.lworldExtX},T.prototype.setWorldExtX=function(x){this.lworldExtX=x},T.prototype.getWorldExtY=function(){return this.lworldExtY},T.prototype.setWorldExtY=function(x){this.lworldExtY=x},T.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},T.prototype.setDeviceOrgX=function(x){this.ldeviceOrgX=x},T.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},T.prototype.setDeviceOrgY=function(x){this.ldeviceOrgY=x},T.prototype.getDeviceExtX=function(){return this.ldeviceExtX},T.prototype.setDeviceExtX=function(x){this.ldeviceExtX=x},T.prototype.getDeviceExtY=function(){return this.ldeviceExtY},T.prototype.setDeviceExtY=function(x){this.ldeviceExtY=x},T.prototype.transformX=function(x){var S=0,z=this.lworldExtX;return z!=0&&(S=this.ldeviceOrgX+(x-this.lworldOrgX)*this.ldeviceExtX/z),S},T.prototype.transformY=function(x){var S=0,z=this.lworldExtY;return z!=0&&(S=this.ldeviceOrgY+(x-this.lworldOrgY)*this.ldeviceExtY/z),S},T.prototype.inverseTransformX=function(x){var S=0,z=this.ldeviceExtX;return z!=0&&(S=this.lworldOrgX+(x-this.ldeviceOrgX)*this.lworldExtX/z),S},T.prototype.inverseTransformY=function(x){var S=0,z=this.ldeviceExtY;return z!=0&&(S=this.lworldOrgY+(x-this.ldeviceOrgY)*this.lworldExtY/z),S},T.prototype.inverseTransformPoint=function(x){var S=new O(this.inverseTransformX(x.x),this.inverseTransformY(x.y));return S},ee.exports=T},function(ee,he,H){function O(D){if(Array.isArray(D)){for(var V=0,_=Array(D.length);V<D.length;V++)_[V]=D[V];return _}else return Array.from(D)}var T=H(15),x=H(7),S=H(0),z=H(8),U=H(9);function P(){T.call(this),this.useSmartIdealEdgeLengthCalculation=x.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=x.DEFAULT_EDGE_LENGTH,this.springConstant=x.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=x.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=x.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=x.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=x.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=x.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*x.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=x.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=x.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=x.MAX_ITERATIONS}P.prototype=Object.create(T.prototype);for(var K in T)P[K]=T[K];P.prototype.initParameters=function(){T.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=x.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},P.prototype.calcIdealEdgeLengths=function(){for(var D,V,_,Q,ne,le,J=this.getGraphManager().getAllEdges(),j=0;j<J.length;j++)D=J[j],D.idealLength=this.idealEdgeLength,D.isInterGraph&&(_=D.getSource(),Q=D.getTarget(),ne=D.getSourceInLca().getEstimatedSize(),le=D.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(D.idealLength+=ne+le-2*S.SIMPLE_NODE_SIZE),V=D.getLca().getInclusionTreeDepth(),D.idealLength+=x.DEFAULT_EDGE_LENGTH*x.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(_.getInclusionTreeDepth()+Q.getInclusionTreeDepth()-2*V))},P.prototype.initSpringEmbedder=function(){var D=this.getAllNodes().length;this.incremental?(D>x.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*x.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(D-x.ADAPTATION_LOWER_NODE_LIMIT)/(x.ADAPTATION_UPPER_NODE_LIMIT-x.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-x.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=x.MAX_NODE_DISPLACEMENT_INCREMENTAL):(D>x.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(x.COOLING_ADAPTATION_FACTOR,1-(D-x.ADAPTATION_LOWER_NODE_LIMIT)/(x.ADAPTATION_UPPER_NODE_LIMIT-x.ADAPTATION_LOWER_NODE_LIMIT)*(1-x.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=x.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},P.prototype.calcSpringForces=function(){for(var D=this.getAllEdges(),V,_=0;_<D.length;_++)V=D[_],this.calcSpringForce(V,V.idealLength)},P.prototype.calcRepulsionForces=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_,Q,ne,le,J=this.getAllNodes(),j;if(this.useFRGridVariant)for(this.totalIterations%x.GRID_CALCULATION_CHECK_PERIOD==1&&D&&this.updateGrid(),j=new Set,_=0;_<J.length;_++)ne=J[_],this.calculateRepulsionForceOfANode(ne,j,D,V),j.add(ne);else for(_=0;_<J.length;_++)for(ne=J[_],Q=_+1;Q<J.length;Q++)le=J[Q],ne.getOwner()==le.getOwner()&&this.calcRepulsionForce(ne,le)},P.prototype.calcGravitationalForces=function(){for(var D,V=this.getAllNodesToApplyGravitation(),_=0;_<V.length;_++)D=V[_],this.calcGravitationalForce(D)},P.prototype.moveNodes=function(){for(var D=this.getAllNodes(),V,_=0;_<D.length;_++)V=D[_],V.move()},P.prototype.calcSpringForce=function(D,V){var _=D.getSource(),Q=D.getTarget(),ne,le,J,j;if(this.uniformLeafNodeSizes&&_.getChild()==null&&Q.getChild()==null)D.updateLengthSimple();else if(D.updateLength(),D.isOverlapingSourceAndTarget)return;ne=D.getLength(),ne!=0&&(le=this.springConstant*(ne-V),J=le*(D.lengthX/ne),j=le*(D.lengthY/ne),_.springForceX+=J,_.springForceY+=j,Q.springForceX-=J,Q.springForceY-=j)},P.prototype.calcRepulsionForce=function(D,V){var _=D.getRect(),Q=V.getRect(),ne=new Array(2),le=new Array(4),J,j,Y,te,L,$,k;if(_.intersects(Q)){z.calcSeparationAmount(_,Q,ne,x.DEFAULT_EDGE_LENGTH/2),$=2*ne[0],k=2*ne[1];var W=D.noOfChildren*V.noOfChildren/(D.noOfChildren+V.noOfChildren);D.repulsionForceX-=W*$,D.repulsionForceY-=W*k,V.repulsionForceX+=W*$,V.repulsionForceY+=W*k}else this.uniformLeafNodeSizes&&D.getChild()==null&&V.getChild()==null?(J=Q.getCenterX()-_.getCenterX(),j=Q.getCenterY()-_.getCenterY()):(z.getIntersection(_,Q,le),J=le[2]-le[0],j=le[3]-le[1]),Math.abs(J)<x.MIN_REPULSION_DIST&&(J=U.sign(J)*x.MIN_REPULSION_DIST),Math.abs(j)<x.MIN_REPULSION_DIST&&(j=U.sign(j)*x.MIN_REPULSION_DIST),Y=J*J+j*j,te=Math.sqrt(Y),L=this.repulsionConstant*D.noOfChildren*V.noOfChildren/Y,$=L*J/te,k=L*j/te,D.repulsionForceX-=$,D.repulsionForceY-=k,V.repulsionForceX+=$,V.repulsionForceY+=k},P.prototype.calcGravitationalForce=function(D){var V,_,Q,ne,le,J,j,Y;V=D.getOwner(),_=(V.getRight()+V.getLeft())/2,Q=(V.getTop()+V.getBottom())/2,ne=D.getCenterX()-_,le=D.getCenterY()-Q,J=Math.abs(ne)+D.getWidth()/2,j=Math.abs(le)+D.getHeight()/2,D.getOwner()==this.graphManager.getRoot()?(Y=V.getEstimatedSize()*this.gravityRangeFactor,(J>Y||j>Y)&&(D.gravitationForceX=-this.gravityConstant*ne,D.gravitationForceY=-this.gravityConstant*le)):(Y=V.getEstimatedSize()*this.compoundGravityRangeFactor,(J>Y||j>Y)&&(D.gravitationForceX=-this.gravityConstant*ne*this.compoundGravityConstant,D.gravitationForceY=-this.gravityConstant*le*this.compoundGravityConstant))},P.prototype.isConverged=function(){var D,V=!1;return this.totalIterations>this.maxIterations/3&&(V=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),D=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,D||V},P.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},P.prototype.calcNoOfChildrenForAllNodes=function(){for(var D,V=this.graphManager.getAllNodes(),_=0;_<V.length;_++)D=V[_],D.noOfChildren=D.getNoOfChildren()},P.prototype.calcGrid=function(D){var V=0,_=0;V=parseInt(Math.ceil((D.getRight()-D.getLeft())/this.repulsionRange)),_=parseInt(Math.ceil((D.getBottom()-D.getTop())/this.repulsionRange));for(var Q=new Array(V),ne=0;ne<V;ne++)Q[ne]=new Array(_);for(var ne=0;ne<V;ne++)for(var le=0;le<_;le++)Q[ne][le]=new Array;return Q},P.prototype.addNodeToGrid=function(D,V,_){var Q=0,ne=0,le=0,J=0;Q=parseInt(Math.floor((D.getRect().x-V)/this.repulsionRange)),ne=parseInt(Math.floor((D.getRect().width+D.getRect().x-V)/this.repulsionRange)),le=parseInt(Math.floor((D.getRect().y-_)/this.repulsionRange)),J=parseInt(Math.floor((D.getRect().height+D.getRect().y-_)/this.repulsionRange));for(var j=Q;j<=ne;j++)for(var Y=le;Y<=J;Y++)this.grid[j][Y].push(D),D.setGridCoordinates(Q,ne,le,J)},P.prototype.updateGrid=function(){var D,V,_=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),D=0;D<_.length;D++)V=_[D],this.addNodeToGrid(V,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},P.prototype.calculateRepulsionForceOfANode=function(D,V,_,Q){if(this.totalIterations%x.GRID_CALCULATION_CHECK_PERIOD==1&&_||Q){var ne=new Set;D.surrounding=new Array;for(var le,J=this.grid,j=D.startX-1;j<D.finishX+2;j++)for(var Y=D.startY-1;Y<D.finishY+2;Y++)if(!(j<0||Y<0||j>=J.length||Y>=J[0].length)){for(var te=0;te<J[j][Y].length;te++)if(le=J[j][Y][te],!(D.getOwner()!=le.getOwner()||D==le)&&!V.has(le)&&!ne.has(le)){var L=Math.abs(D.getCenterX()-le.getCenterX())-(D.getWidth()/2+le.getWidth()/2),$=Math.abs(D.getCenterY()-le.getCenterY())-(D.getHeight()/2+le.getHeight()/2);L<=this.repulsionRange&&$<=this.repulsionRange&&ne.add(le)}}D.surrounding=[].concat(O(ne))}for(j=0;j<D.surrounding.length;j++)this.calcRepulsionForce(D,D.surrounding[j])},P.prototype.calcRepulsionRange=function(){return 0},ee.exports=P},function(ee,he,H){var O=H(1),T=H(7);function x(z,U,P){O.call(this,z,U,P),this.idealLength=T.DEFAULT_EDGE_LENGTH}x.prototype=Object.create(O.prototype);for(var S in O)x[S]=O[S];ee.exports=x},function(ee,he,H){var O=H(3);function T(S,z,U,P){O.call(this,S,z,U,P),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}T.prototype=Object.create(O.prototype);for(var x in O)T[x]=O[x];T.prototype.setGridCoordinates=function(S,z,U,P){this.startX=S,this.finishX=z,this.startY=U,this.finishY=P},ee.exports=T},function(ee,he,H){function O(T,x){this.width=0,this.height=0,T!==null&&x!==null&&(this.height=x,this.width=T)}O.prototype.getWidth=function(){return this.width},O.prototype.setWidth=function(T){this.width=T},O.prototype.getHeight=function(){return this.height},O.prototype.setHeight=function(T){this.height=T},ee.exports=O},function(ee,he,H){var O=H(14);function T(){this.map={},this.keys=[]}T.prototype.put=function(x,S){var z=O.createID(x);this.contains(z)||(this.map[z]=S,this.keys.push(x))},T.prototype.contains=function(x){return O.createID(x),this.map[x]!=null},T.prototype.get=function(x){var S=O.createID(x);return this.map[S]},T.prototype.keySet=function(){return this.keys},ee.exports=T},function(ee,he,H){var O=H(14);function T(){this.set={}}T.prototype.add=function(x){var S=O.createID(x);this.contains(S)||(this.set[S]=x)},T.prototype.remove=function(x){delete this.set[O.createID(x)]},T.prototype.clear=function(){this.set={}},T.prototype.contains=function(x){return this.set[O.createID(x)]==x},T.prototype.isEmpty=function(){return this.size()===0},T.prototype.size=function(){return Object.keys(this.set).length},T.prototype.addAllTo=function(x){for(var S=Object.keys(this.set),z=S.length,U=0;U<z;U++)x.push(this.set[S[U]])},T.prototype.size=function(){return Object.keys(this.set).length},T.prototype.addAll=function(x){for(var S=x.length,z=0;z<S;z++){var U=x[z];this.add(U)}},ee.exports=T},function(ee,he,H){var O=function(){function z(U,P){for(var K=0;K<P.length;K++){var D=P[K];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(U,D.key,D)}}return function(U,P,K){return P&&z(U.prototype,P),K&&z(U,K),U}}();function T(z,U){if(!(z instanceof U))throw new TypeError("Cannot call a class as a function")}var x=H(11),S=function(){function z(U,P){T(this,z),(P!==null||P!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var K=void 0;U instanceof x?K=U.size():K=U.length,this._quicksort(U,0,K-1)}return O(z,[{key:"_quicksort",value:function(P,K,D){if(K<D){var V=this._partition(P,K,D);this._quicksort(P,K,V),this._quicksort(P,V+1,D)}}},{key:"_partition",value:function(P,K,D){for(var V=this._get(P,K),_=K,Q=D;;){for(;this.compareFunction(V,this._get(P,Q));)Q--;for(;this.compareFunction(this._get(P,_),V);)_++;if(_<Q)this._swap(P,_,Q),_++,Q--;else return Q}}},{key:"_get",value:function(P,K){return P instanceof x?P.get_object_at(K):P[K]}},{key:"_set",value:function(P,K,D){P instanceof x?P.set_object_at(K,D):P[K]=D}},{key:"_swap",value:function(P,K,D){var V=this._get(P,K);this._set(P,K,this._get(P,D)),this._set(P,D,V)}},{key:"_defaultCompareFunction",value:function(P,K){return K>P}}]),z}();ee.exports=S},function(ee,he,H){var O=function(){function S(z,U){for(var P=0;P<U.length;P++){var K=U[P];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(z,K.key,K)}}return function(z,U,P){return U&&S(z.prototype,U),P&&S(z,P),z}}();function T(S,z){if(!(S instanceof z))throw new TypeError("Cannot call a class as a function")}var x=function(){function S(z,U){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;T(this,S),this.sequence1=z,this.sequence2=U,this.match_score=P,this.mismatch_penalty=K,this.gap_penalty=D,this.iMax=z.length+1,this.jMax=U.length+1,this.grid=new Array(this.iMax);for(var V=0;V<this.iMax;V++){this.grid[V]=new Array(this.jMax);for(var _=0;_<this.jMax;_++)this.grid[V][_]=0}this.tracebackGrid=new Array(this.iMax);for(var Q=0;Q<this.iMax;Q++){this.tracebackGrid[Q]=new Array(this.jMax);for(var ne=0;ne<this.jMax;ne++)this.tracebackGrid[Q][ne]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return O(S,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var U=1;U<this.jMax;U++)this.grid[0][U]=this.grid[0][U-1]+this.gap_penalty,this.tracebackGrid[0][U]=[!1,!1,!0];for(var P=1;P<this.iMax;P++)this.grid[P][0]=this.grid[P-1][0]+this.gap_penalty,this.tracebackGrid[P][0]=[!1,!0,!1];for(var K=1;K<this.iMax;K++)for(var D=1;D<this.jMax;D++){var V=void 0;this.sequence1[K-1]===this.sequence2[D-1]?V=this.grid[K-1][D-1]+this.match_score:V=this.grid[K-1][D-1]+this.mismatch_penalty;var _=this.grid[K-1][D]+this.gap_penalty,Q=this.grid[K][D-1]+this.gap_penalty,ne=[V,_,Q],le=this.arrayAllMaxIndexes(ne);this.grid[K][D]=ne[le[0]],this.tracebackGrid[K][D]=[le.includes(0),le.includes(1),le.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var U=[];for(U.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});U[0];){var P=U[0],K=this.tracebackGrid[P.pos[0]][P.pos[1]];K[0]&&U.push({pos:[P.pos[0]-1,P.pos[1]-1],seq1:this.sequence1[P.pos[0]-1]+P.seq1,seq2:this.sequence2[P.pos[1]-1]+P.seq2}),K[1]&&U.push({pos:[P.pos[0]-1,P.pos[1]],seq1:this.sequence1[P.pos[0]-1]+P.seq1,seq2:"-"+P.seq2}),K[2]&&U.push({pos:[P.pos[0],P.pos[1]-1],seq1:"-"+P.seq1,seq2:this.sequence2[P.pos[1]-1]+P.seq2}),P.pos[0]===0&&P.pos[1]===0&&this.alignments.push({sequence1:P.seq1,sequence2:P.seq2}),U.shift()}return this.alignments}},{key:"getAllIndexes",value:function(U,P){for(var K=[],D=-1;(D=U.indexOf(P,D+1))!==-1;)K.push(D);return K}},{key:"arrayAllMaxIndexes",value:function(U){return this.getAllIndexes(U,Math.max.apply(null,U))}}]),S}();ee.exports=x},function(ee,he,H){var O=function(){};O.FDLayout=H(18),O.FDLayoutConstants=H(7),O.FDLayoutEdge=H(19),O.FDLayoutNode=H(20),O.DimensionD=H(21),O.HashMap=H(22),O.HashSet=H(23),O.IGeometry=H(8),O.IMath=H(9),O.Integer=H(10),O.Point=H(12),O.PointD=H(4),O.RandomSeed=H(16),O.RectangleD=H(13),O.Transform=H(17),O.UniqueIDGeneretor=H(14),O.Quicksort=H(24),O.LinkedList=H(11),O.LGraphObject=H(2),O.LGraph=H(5),O.LEdge=H(1),O.LGraphManager=H(6),O.LNode=H(3),O.Layout=H(15),O.LayoutConstants=H(0),O.NeedlemanWunsch=H(25),ee.exports=O},function(ee,he,H){function O(){this.listeners=[]}var T=O.prototype;T.addListener=function(x,S){this.listeners.push({event:x,callback:S})},T.removeListener=function(x,S){for(var z=this.listeners.length;z>=0;z--){var U=this.listeners[z];U.event===x&&U.callback===S&&this.listeners.splice(z,1)}},T.emit=function(x,S){for(var z=0;z<this.listeners.length;z++){var U=this.listeners[z];x===U.event&&U.callback(S)}},ee.exports=O}])})}(qi)),qi.exports}var $l;function qp(){return $l||($l=1,function(pe,ve){(function(he,H){pe.exports=H(Wp())})(Ca,function(ee){return function(he){var H={};function O(T){if(H[T])return H[T].exports;var x=H[T]={i:T,l:!1,exports:{}};return he[T].call(x.exports,x,x.exports,O),x.l=!0,x.exports}return O.m=he,O.c=H,O.i=function(T){return T},O.d=function(T,x,S){O.o(T,x)||Object.defineProperty(T,x,{configurable:!1,enumerable:!0,get:S})},O.n=function(T){var x=T&&T.__esModule?function(){return T.default}:function(){return T};return O.d(x,"a",x),x},O.o=function(T,x){return Object.prototype.hasOwnProperty.call(T,x)},O.p="",O(O.s=7)}([function(he,H){he.exports=ee},function(he,H,O){var T=O(0).FDLayoutConstants;function x(){}for(var S in T)x[S]=T[S];x.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,x.DEFAULT_RADIAL_SEPARATION=T.DEFAULT_EDGE_LENGTH,x.DEFAULT_COMPONENT_SEPERATION=60,x.TILE=!0,x.TILING_PADDING_VERTICAL=10,x.TILING_PADDING_HORIZONTAL=10,x.TREE_REDUCTION_ON_INCREMENTAL=!1,he.exports=x},function(he,H,O){var T=O(0).FDLayoutEdge;function x(z,U,P){T.call(this,z,U,P)}x.prototype=Object.create(T.prototype);for(var S in T)x[S]=T[S];he.exports=x},function(he,H,O){var T=O(0).LGraph;function x(z,U,P){T.call(this,z,U,P)}x.prototype=Object.create(T.prototype);for(var S in T)x[S]=T[S];he.exports=x},function(he,H,O){var T=O(0).LGraphManager;function x(z){T.call(this,z)}x.prototype=Object.create(T.prototype);for(var S in T)x[S]=T[S];he.exports=x},function(he,H,O){var T=O(0).FDLayoutNode,x=O(0).IMath;function S(U,P,K,D){T.call(this,U,P,K,D)}S.prototype=Object.create(T.prototype);for(var z in T)S[z]=T[z];S.prototype.move=function(){var U=this.graphManager.getLayout();this.displacementX=U.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=U.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>U.coolingFactor*U.maxNodeDisplacement&&(this.displacementX=U.coolingFactor*U.maxNodeDisplacement*x.sign(this.displacementX)),Math.abs(this.displacementY)>U.coolingFactor*U.maxNodeDisplacement&&(this.displacementY=U.coolingFactor*U.maxNodeDisplacement*x.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),U.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},S.prototype.propogateDisplacementToChildren=function(U,P){for(var K=this.getChild().getNodes(),D,V=0;V<K.length;V++)D=K[V],D.getChild()==null?(D.moveBy(U,P),D.displacementX+=U,D.displacementY+=P):D.propogateDisplacementToChildren(U,P)},S.prototype.setPred1=function(U){this.pred1=U},S.prototype.getPred1=function(){return pred1},S.prototype.getPred2=function(){return pred2},S.prototype.setNext=function(U){this.next=U},S.prototype.getNext=function(){return next},S.prototype.setProcessed=function(U){this.processed=U},S.prototype.isProcessed=function(){return processed},he.exports=S},function(he,H,O){var T=O(0).FDLayout,x=O(4),S=O(3),z=O(5),U=O(2),P=O(1),K=O(0).FDLayoutConstants,D=O(0).LayoutConstants,V=O(0).Point,_=O(0).PointD,Q=O(0).Layout,ne=O(0).Integer,le=O(0).IGeometry,J=O(0).LGraph,j=O(0).Transform;function Y(){T.call(this),this.toBeTiled={}}Y.prototype=Object.create(T.prototype);for(var te in T)Y[te]=T[te];Y.prototype.newGraphManager=function(){var L=new x(this);return this.graphManager=L,L},Y.prototype.newGraph=function(L){return new S(null,this.graphManager,L)},Y.prototype.newNode=function(L){return new z(this.graphManager,L)},Y.prototype.newEdge=function(L){return new U(null,null,L)},Y.prototype.initParameters=function(){T.prototype.initParameters.call(this,arguments),this.isSubLayout||(P.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=P.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=P.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=K.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=K.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=K.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=K.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=K.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=K.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/K.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=K.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},Y.prototype.layout=function(){var L=D.DEFAULT_CREATE_BENDS_AS_NEEDED;return L&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},Y.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(P.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var $=new Set(this.getAllNodes()),k=this.nodesWithGravity.filter(function(ge){return $.has(ge)});this.graphManager.setAllNodesToApplyGravitation(k)}}else{var L=this.getFlatForest();if(L.length>0)this.positionNodesRadially(L);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var $=new Set(this.getAllNodes()),k=this.nodesWithGravity.filter(function(W){return $.has(W)});this.graphManager.setAllNodesToApplyGravitation(k),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},Y.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%K.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var L=new Set(this.getAllNodes()),$=this.nodesWithGravity.filter(function(fe){return L.has(fe)});this.graphManager.setAllNodesToApplyGravitation($),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=K.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=K.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var k=!this.isTreeGrowing&&!this.isGrowthFinished,W=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(k,W),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},Y.prototype.getPositionsData=function(){for(var L=this.graphManager.getAllNodes(),$={},k=0;k<L.length;k++){var W=L[k].rect,fe=L[k].id;$[fe]={id:fe,x:W.getCenterX(),y:W.getCenterY(),w:W.width,h:W.height}}return $},Y.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var L=!1;if(K.ANIMATE==="during")this.emit("layoutstarted");else{for(;!L;)L=this.tick();this.graphManager.updateBounds()}},Y.prototype.calculateNodesToApplyGravitationTo=function(){var L=[],$,k=this.graphManager.getGraphs(),W=k.length,fe;for(fe=0;fe<W;fe++)$=k[fe],$.updateConnected(),$.isConnected||(L=L.concat($.getNodes()));return L},Y.prototype.createBendpoints=function(){var L=[];L=L.concat(this.graphManager.getAllEdges());var $=new Set,k;for(k=0;k<L.length;k++){var W=L[k];if(!$.has(W)){var fe=W.getSource(),ge=W.getTarget();if(fe==ge)W.getBendpoints().push(new _),W.getBendpoints().push(new _),this.createDummyNodesForBendpoints(W),$.add(W);else{var Ae=[];if(Ae=Ae.concat(fe.getEdgeListToNode(ge)),Ae=Ae.concat(ge.getEdgeListToNode(fe)),!$.has(Ae[0])){if(Ae.length>1){var Ne;for(Ne=0;Ne<Ae.length;Ne++){var _e=Ae[Ne];_e.getBendpoints().push(new _),this.createDummyNodesForBendpoints(_e)}}Ae.forEach(function(tt){$.add(tt)})}}}if($.size==L.length)break}},Y.prototype.positionNodesRadially=function(L){for(var $=new V(0,0),k=Math.ceil(Math.sqrt(L.length)),W=0,fe=0,ge=0,Ae=new _(0,0),Ne=0;Ne<L.length;Ne++){Ne%k==0&&(ge=0,fe=W,Ne!=0&&(fe+=P.DEFAULT_COMPONENT_SEPERATION),W=0);var _e=L[Ne],tt=Q.findCenterOfTree(_e);$.x=ge,$.y=fe,Ae=Y.radialLayout(_e,tt,$),Ae.y>W&&(W=Math.floor(Ae.y)),ge=Math.floor(Ae.x+P.DEFAULT_COMPONENT_SEPERATION)}this.transform(new _(D.WORLD_CENTER_X-Ae.x/2,D.WORLD_CENTER_Y-Ae.y/2))},Y.radialLayout=function(L,$,k){var W=Math.max(this.maxDiagonalInTree(L),P.DEFAULT_RADIAL_SEPARATION);Y.branchRadialLayout($,null,0,359,0,W);var fe=J.calculateBounds(L),ge=new j;ge.setDeviceOrgX(fe.getMinX()),ge.setDeviceOrgY(fe.getMinY()),ge.setWorldOrgX(k.x),ge.setWorldOrgY(k.y);for(var Ae=0;Ae<L.length;Ae++){var Ne=L[Ae];Ne.transform(ge)}var _e=new _(fe.getMaxX(),fe.getMaxY());return ge.inverseTransformPoint(_e)},Y.branchRadialLayout=function(L,$,k,W,fe,ge){var Ae=(W-k+1)/2;Ae<0&&(Ae+=180);var Ne=(Ae+k)%360,_e=Ne*le.TWO_PI/360,tt=fe*Math.cos(_e),ht=fe*Math.sin(_e);L.setCenter(tt,ht);var Pe=[];Pe=Pe.concat(L.getEdges());var $e=Pe.length;$!=null&&$e--;for(var Xe=0,rt=Pe.length,ut,nt=L.getEdgesBetween($);nt.length>1;){var je=nt[0];nt.splice(0,1);var pt=Pe.indexOf(je);pt>=0&&Pe.splice(pt,1),rt--,$e--}$!=null?ut=(Pe.indexOf(nt[0])+1)%rt:ut=0;for(var Et=Math.abs(W-k)/$e,kt=ut;Xe!=$e;kt=++kt%rt){var ct=Pe[kt].getOtherEnd(L);if(ct!=$){var cr=(k+Xe*Et)%360,Wt=(cr+Et)%360;Y.branchRadialLayout(ct,L,cr,Wt,fe+ge,ge),Xe++}}},Y.maxDiagonalInTree=function(L){for(var $=ne.MIN_VALUE,k=0;k<L.length;k++){var W=L[k],fe=W.getDiagonal();fe>$&&($=fe)}return $},Y.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},Y.prototype.groupZeroDegreeMembers=function(){var L=this,$={};this.memberGroups={},this.idToDummyNode={};for(var k=[],W=this.graphManager.getAllNodes(),fe=0;fe<W.length;fe++){var ge=W[fe],Ae=ge.getParent();this.getNodeDegreeWithChildren(ge)===0&&(Ae.id==null||!this.getToBeTiled(Ae))&&k.push(ge)}for(var fe=0;fe<k.length;fe++){var ge=k[fe],Ne=ge.getParent().id;typeof $[Ne]>"u"&&($[Ne]=[]),$[Ne]=$[Ne].concat(ge)}Object.keys($).forEach(function(_e){if($[_e].length>1){var tt="DummyCompound_"+_e;L.memberGroups[tt]=$[_e];var ht=$[_e][0].getParent(),Pe=new z(L.graphManager);Pe.id=tt,Pe.paddingLeft=ht.paddingLeft||0,Pe.paddingRight=ht.paddingRight||0,Pe.paddingBottom=ht.paddingBottom||0,Pe.paddingTop=ht.paddingTop||0,L.idToDummyNode[tt]=Pe;var $e=L.getGraphManager().add(L.newGraph(),Pe),Xe=ht.getChild();Xe.add(Pe);for(var rt=0;rt<$[_e].length;rt++){var ut=$[_e][rt];Xe.remove(ut),$e.add(ut)}}})},Y.prototype.clearCompounds=function(){var L={},$={};this.performDFSOnCompounds();for(var k=0;k<this.compoundOrder.length;k++)$[this.compoundOrder[k].id]=this.compoundOrder[k],L[this.compoundOrder[k].id]=[].concat(this.compoundOrder[k].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[k].getChild()),this.compoundOrder[k].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(L,$)},Y.prototype.clearZeroDegreeMembers=function(){var L=this,$=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(k){var W=L.idToDummyNode[k];$[k]=L.tileNodes(L.memberGroups[k],W.paddingLeft+W.paddingRight),W.rect.width=$[k].width,W.rect.height=$[k].height})},Y.prototype.repopulateCompounds=function(){for(var L=this.compoundOrder.length-1;L>=0;L--){var $=this.compoundOrder[L],k=$.id,W=$.paddingLeft,fe=$.paddingTop;this.adjustLocations(this.tiledMemberPack[k],$.rect.x,$.rect.y,W,fe)}},Y.prototype.repopulateZeroDegreeMembers=function(){var L=this,$=this.tiledZeroDegreePack;Object.keys($).forEach(function(k){var W=L.idToDummyNode[k],fe=W.paddingLeft,ge=W.paddingTop;L.adjustLocations($[k],W.rect.x,W.rect.y,fe,ge)})},Y.prototype.getToBeTiled=function(L){var $=L.id;if(this.toBeTiled[$]!=null)return this.toBeTiled[$];var k=L.getChild();if(k==null)return this.toBeTiled[$]=!1,!1;for(var W=k.getNodes(),fe=0;fe<W.length;fe++){var ge=W[fe];if(this.getNodeDegree(ge)>0)return this.toBeTiled[$]=!1,!1;if(ge.getChild()==null){this.toBeTiled[ge.id]=!1;continue}if(!this.getToBeTiled(ge))return this.toBeTiled[$]=!1,!1}return this.toBeTiled[$]=!0,!0},Y.prototype.getNodeDegree=function(L){L.id;for(var $=L.getEdges(),k=0,W=0;W<$.length;W++){var fe=$[W];fe.getSource().id!==fe.getTarget().id&&(k=k+1)}return k},Y.prototype.getNodeDegreeWithChildren=function(L){var $=this.getNodeDegree(L);if(L.getChild()==null)return $;for(var k=L.getChild().getNodes(),W=0;W<k.length;W++){var fe=k[W];$+=this.getNodeDegreeWithChildren(fe)}return $},Y.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},Y.prototype.fillCompexOrderByDFS=function(L){for(var $=0;$<L.length;$++){var k=L[$];k.getChild()!=null&&this.fillCompexOrderByDFS(k.getChild().getNodes()),this.getToBeTiled(k)&&this.compoundOrder.push(k)}},Y.prototype.adjustLocations=function(L,$,k,W,fe){$+=W,k+=fe;for(var ge=$,Ae=0;Ae<L.rows.length;Ae++){var Ne=L.rows[Ae];$=ge;for(var _e=0,tt=0;tt<Ne.length;tt++){var ht=Ne[tt];ht.rect.x=$,ht.rect.y=k,$+=ht.rect.width+L.horizontalPadding,ht.rect.height>_e&&(_e=ht.rect.height)}k+=_e+L.verticalPadding}},Y.prototype.tileCompoundMembers=function(L,$){var k=this;this.tiledMemberPack=[],Object.keys(L).forEach(function(W){var fe=$[W];k.tiledMemberPack[W]=k.tileNodes(L[W],fe.paddingLeft+fe.paddingRight),fe.rect.width=k.tiledMemberPack[W].width,fe.rect.height=k.tiledMemberPack[W].height})},Y.prototype.tileNodes=function(L,$){var k=P.TILING_PADDING_VERTICAL,W=P.TILING_PADDING_HORIZONTAL,fe={rows:[],rowWidth:[],rowHeight:[],width:0,height:$,verticalPadding:k,horizontalPadding:W};L.sort(function(Ne,_e){return Ne.rect.width*Ne.rect.height>_e.rect.width*_e.rect.height?-1:Ne.rect.width*Ne.rect.height<_e.rect.width*_e.rect.height?1:0});for(var ge=0;ge<L.length;ge++){var Ae=L[ge];fe.rows.length==0?this.insertNodeToRow(fe,Ae,0,$):this.canAddHorizontal(fe,Ae.rect.width,Ae.rect.height)?this.insertNodeToRow(fe,Ae,this.getShortestRowIndex(fe),$):this.insertNodeToRow(fe,Ae,fe.rows.length,$),this.shiftToLastRow(fe)}return fe},Y.prototype.insertNodeToRow=function(L,$,k,W){var fe=W;if(k==L.rows.length){var ge=[];L.rows.push(ge),L.rowWidth.push(fe),L.rowHeight.push(0)}var Ae=L.rowWidth[k]+$.rect.width;L.rows[k].length>0&&(Ae+=L.horizontalPadding),L.rowWidth[k]=Ae,L.width<Ae&&(L.width=Ae);var Ne=$.rect.height;k>0&&(Ne+=L.verticalPadding);var _e=0;Ne>L.rowHeight[k]&&(_e=L.rowHeight[k],L.rowHeight[k]=Ne,_e=L.rowHeight[k]-_e),L.height+=_e,L.rows[k].push($)},Y.prototype.getShortestRowIndex=function(L){for(var $=-1,k=Number.MAX_VALUE,W=0;W<L.rows.length;W++)L.rowWidth[W]<k&&($=W,k=L.rowWidth[W]);return $},Y.prototype.getLongestRowIndex=function(L){for(var $=-1,k=Number.MIN_VALUE,W=0;W<L.rows.length;W++)L.rowWidth[W]>k&&($=W,k=L.rowWidth[W]);return $},Y.prototype.canAddHorizontal=function(L,$,k){var W=this.getShortestRowIndex(L);if(W<0)return!0;var fe=L.rowWidth[W];if(fe+L.horizontalPadding+$<=L.width)return!0;var ge=0;L.rowHeight[W]<k&&W>0&&(ge=k+L.verticalPadding-L.rowHeight[W]);var Ae;L.width-fe>=$+L.horizontalPadding?Ae=(L.height+ge)/(fe+$+L.horizontalPadding):Ae=(L.height+ge)/L.width,ge=k+L.verticalPadding;var Ne;return L.width<$?Ne=(L.height+ge)/$:Ne=(L.height+ge)/L.width,Ne<1&&(Ne=1/Ne),Ae<1&&(Ae=1/Ae),Ae<Ne},Y.prototype.shiftToLastRow=function(L){var $=this.getLongestRowIndex(L),k=L.rowWidth.length-1,W=L.rows[$],fe=W[W.length-1],ge=fe.width+L.horizontalPadding;if(L.width-L.rowWidth[k]>ge&&$!=k){W.splice(-1,1),L.rows[k].push(fe),L.rowWidth[$]=L.rowWidth[$]-ge,L.rowWidth[k]=L.rowWidth[k]+ge,L.width=L.rowWidth[instance.getLongestRowIndex(L)];for(var Ae=Number.MIN_VALUE,Ne=0;Ne<W.length;Ne++)W[Ne].height>Ae&&(Ae=W[Ne].height);$>0&&(Ae+=L.verticalPadding);var _e=L.rowHeight[$]+L.rowHeight[k];L.rowHeight[$]=Ae,L.rowHeight[k]<fe.height+L.verticalPadding&&(L.rowHeight[k]=fe.height+L.verticalPadding);var tt=L.rowHeight[$]+L.rowHeight[k];L.height+=tt-_e,this.shiftToLastRow(L)}},Y.prototype.tilingPreLayout=function(){P.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},Y.prototype.tilingPostLayout=function(){P.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},Y.prototype.reduceTrees=function(){for(var L=[],$=!0,k;$;){var W=this.graphManager.getAllNodes(),fe=[];$=!1;for(var ge=0;ge<W.length;ge++)k=W[ge],k.getEdges().length==1&&!k.getEdges()[0].isInterGraph&&k.getChild()==null&&(fe.push([k,k.getEdges()[0],k.getOwner()]),$=!0);if($==!0){for(var Ae=[],Ne=0;Ne<fe.length;Ne++)fe[Ne][0].getEdges().length==1&&(Ae.push(fe[Ne]),fe[Ne][0].getOwner().remove(fe[Ne][0]));L.push(Ae),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=L},Y.prototype.growTree=function(L){for(var $=L.length,k=L[$-1],W,fe=0;fe<k.length;fe++)W=k[fe],this.findPlaceforPrunedNode(W),W[2].add(W[0]),W[2].add(W[1],W[1].source,W[1].target);L.splice(L.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},Y.prototype.findPlaceforPrunedNode=function(L){var $,k,W=L[0];W==L[1].source?k=L[1].target:k=L[1].source;var fe=k.startX,ge=k.finishX,Ae=k.startY,Ne=k.finishY,_e=0,tt=0,ht=0,Pe=0,$e=[_e,ht,tt,Pe];if(Ae>0)for(var Xe=fe;Xe<=ge;Xe++)$e[0]+=this.grid[Xe][Ae-1].length+this.grid[Xe][Ae].length-1;if(ge<this.grid.length-1)for(var Xe=Ae;Xe<=Ne;Xe++)$e[1]+=this.grid[ge+1][Xe].length+this.grid[ge][Xe].length-1;if(Ne<this.grid[0].length-1)for(var Xe=fe;Xe<=ge;Xe++)$e[2]+=this.grid[Xe][Ne+1].length+this.grid[Xe][Ne].length-1;if(fe>0)for(var Xe=Ae;Xe<=Ne;Xe++)$e[3]+=this.grid[fe-1][Xe].length+this.grid[fe][Xe].length-1;for(var rt=ne.MAX_VALUE,ut,nt,je=0;je<$e.length;je++)$e[je]<rt?(rt=$e[je],ut=1,nt=je):$e[je]==rt&&ut++;if(ut==3&&rt==0)$e[0]==0&&$e[1]==0&&$e[2]==0?$=1:$e[0]==0&&$e[1]==0&&$e[3]==0?$=0:$e[0]==0&&$e[2]==0&&$e[3]==0?$=3:$e[1]==0&&$e[2]==0&&$e[3]==0&&($=2);else if(ut==2&&rt==0){var pt=Math.floor(Math.random()*2);$e[0]==0&&$e[1]==0?pt==0?$=0:$=1:$e[0]==0&&$e[2]==0?pt==0?$=0:$=2:$e[0]==0&&$e[3]==0?pt==0?$=0:$=3:$e[1]==0&&$e[2]==0?pt==0?$=1:$=2:$e[1]==0&&$e[3]==0?pt==0?$=1:$=3:pt==0?$=2:$=3}else if(ut==4&&rt==0){var pt=Math.floor(Math.random()*4);$=pt}else $=nt;$==0?W.setCenter(k.getCenterX(),k.getCenterY()-k.getHeight()/2-K.DEFAULT_EDGE_LENGTH-W.getHeight()/2):$==1?W.setCenter(k.getCenterX()+k.getWidth()/2+K.DEFAULT_EDGE_LENGTH+W.getWidth()/2,k.getCenterY()):$==2?W.setCenter(k.getCenterX(),k.getCenterY()+k.getHeight()/2+K.DEFAULT_EDGE_LENGTH+W.getHeight()/2):W.setCenter(k.getCenterX()-k.getWidth()/2-K.DEFAULT_EDGE_LENGTH-W.getWidth()/2,k.getCenterY())},he.exports=Y},function(he,H,O){var T={};T.layoutBase=O(0),T.CoSEConstants=O(1),T.CoSEEdge=O(2),T.CoSEGraph=O(3),T.CoSEGraphManager=O(4),T.CoSELayout=O(6),T.CoSENode=O(5),he.exports=T}])})}(Wi)),Wi.exports}(function(pe,ve){(function(he,H){pe.exports=H(qp())})(Ca,function(ee){return function(he){var H={};function O(T){if(H[T])return H[T].exports;var x=H[T]={i:T,l:!1,exports:{}};return he[T].call(x.exports,x,x.exports,O),x.l=!0,x.exports}return O.m=he,O.c=H,O.i=function(T){return T},O.d=function(T,x,S){O.o(T,x)||Object.defineProperty(T,x,{configurable:!1,enumerable:!0,get:S})},O.n=function(T){var x=T&&T.__esModule?function(){return T.default}:function(){return T};return O.d(x,"a",x),x},O.o=function(T,x){return Object.prototype.hasOwnProperty.call(T,x)},O.p="",O(O.s=1)}([function(he,H){he.exports=ee},function(he,H,O){var T=O(0).layoutBase.LayoutConstants,x=O(0).layoutBase.FDLayoutConstants,S=O(0).CoSEConstants,z=O(0).CoSELayout,U=O(0).CoSENode,P=O(0).layoutBase.PointD,K=O(0).layoutBase.DimensionD,D={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function V(le,J){var j={};for(var Y in le)j[Y]=le[Y];for(var Y in J)j[Y]=J[Y];return j}function _(le){this.options=V(D,le),Q(this.options)}var Q=function(J){J.nodeRepulsion!=null&&(S.DEFAULT_REPULSION_STRENGTH=x.DEFAULT_REPULSION_STRENGTH=J.nodeRepulsion),J.idealEdgeLength!=null&&(S.DEFAULT_EDGE_LENGTH=x.DEFAULT_EDGE_LENGTH=J.idealEdgeLength),J.edgeElasticity!=null&&(S.DEFAULT_SPRING_STRENGTH=x.DEFAULT_SPRING_STRENGTH=J.edgeElasticity),J.nestingFactor!=null&&(S.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=x.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=J.nestingFactor),J.gravity!=null&&(S.DEFAULT_GRAVITY_STRENGTH=x.DEFAULT_GRAVITY_STRENGTH=J.gravity),J.numIter!=null&&(S.MAX_ITERATIONS=x.MAX_ITERATIONS=J.numIter),J.gravityRange!=null&&(S.DEFAULT_GRAVITY_RANGE_FACTOR=x.DEFAULT_GRAVITY_RANGE_FACTOR=J.gravityRange),J.gravityCompound!=null&&(S.DEFAULT_COMPOUND_GRAVITY_STRENGTH=x.DEFAULT_COMPOUND_GRAVITY_STRENGTH=J.gravityCompound),J.gravityRangeCompound!=null&&(S.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=x.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=J.gravityRangeCompound),J.initialEnergyOnIncremental!=null&&(S.DEFAULT_COOLING_FACTOR_INCREMENTAL=x.DEFAULT_COOLING_FACTOR_INCREMENTAL=J.initialEnergyOnIncremental),J.quality=="draft"?T.QUALITY=0:J.quality=="proof"?T.QUALITY=2:T.QUALITY=1,S.NODE_DIMENSIONS_INCLUDE_LABELS=x.NODE_DIMENSIONS_INCLUDE_LABELS=T.NODE_DIMENSIONS_INCLUDE_LABELS=J.nodeDimensionsIncludeLabels,S.DEFAULT_INCREMENTAL=x.DEFAULT_INCREMENTAL=T.DEFAULT_INCREMENTAL=!J.randomize,S.ANIMATE=x.ANIMATE=T.ANIMATE=J.animate,S.TILE=J.tile,S.TILING_PADDING_VERTICAL=typeof J.tilingPaddingVertical=="function"?J.tilingPaddingVertical.call():J.tilingPaddingVertical,S.TILING_PADDING_HORIZONTAL=typeof J.tilingPaddingHorizontal=="function"?J.tilingPaddingHorizontal.call():J.tilingPaddingHorizontal};_.prototype.run=function(){var le,J,j=this.options;this.idToLNode={};var Y=this.layout=new z,te=this;te.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var L=Y.newGraphManager();this.gm=L;var $=this.options.eles.nodes(),k=this.options.eles.edges();this.root=L.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes($),Y);for(var W=0;W<k.length;W++){var fe=k[W],ge=this.idToLNode[fe.data("source")],Ae=this.idToLNode[fe.data("target")];if(ge!==Ae&&ge.getEdgesBetween(Ae).length==0){var Ne=L.add(Y.newEdge(),ge,Ae);Ne.id=fe.id()}}var _e=function(Pe,$e){typeof Pe=="number"&&(Pe=$e);var Xe=Pe.data("id"),rt=te.idToLNode[Xe];return{x:rt.getRect().getCenterX(),y:rt.getRect().getCenterY()}},tt=function ht(){for(var Pe=function(){j.fit&&j.cy.fit(j.eles,j.padding),le||(le=!0,te.cy.one("layoutready",j.ready),te.cy.trigger({type:"layoutready",layout:te}))},$e=te.options.refresh,Xe,rt=0;rt<$e&&!Xe;rt++)Xe=te.stopped||te.layout.tick();if(Xe){Y.checkLayoutSuccess()&&!Y.isSubLayout&&Y.doPostLayout(),Y.tilingPostLayout&&Y.tilingPostLayout(),Y.isLayoutFinished=!0,te.options.eles.nodes().positions(_e),Pe(),te.cy.one("layoutstop",te.options.stop),te.cy.trigger({type:"layoutstop",layout:te}),J&&cancelAnimationFrame(J),le=!1;return}var ut=te.layout.getPositionsData();j.eles.nodes().positions(function(nt,je){if(typeof nt=="number"&&(nt=je),!nt.isParent()){for(var pt=nt.id(),Et=ut[pt],kt=nt;Et==null&&(Et=ut[kt.data("parent")]||ut["DummyCompound_"+kt.data("parent")],ut[pt]=Et,kt=kt.parent()[0],kt!=null););return Et!=null?{x:Et.x,y:Et.y}:{x:nt.position("x"),y:nt.position("y")}}}),Pe(),J=requestAnimationFrame(ht)};return Y.addListener("layoutstarted",function(){te.options.animate==="during"&&(J=requestAnimationFrame(tt))}),Y.runLayout(),this.options.animate!=="during"&&(te.options.eles.nodes().not(":parent").layoutPositions(te,te.options,_e),le=!1),this},_.prototype.getTopMostNodes=function(le){for(var J={},j=0;j<le.length;j++)J[le[j].id()]=!0;var Y=le.filter(function(te,L){typeof te=="number"&&(te=L);for(var $=te.parent()[0];$!=null;){if(J[$.id()])return!1;$=$.parent()[0]}return!0});return Y},_.prototype.processChildrenList=function(le,J,j){for(var Y=J.length,te=0;te<Y;te++){var L=J[te],$=L.children(),k,W=L.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(L.outerWidth()!=null&&L.outerHeight()!=null?k=le.add(new U(j.graphManager,new P(L.position("x")-W.w/2,L.position("y")-W.h/2),new K(parseFloat(W.w),parseFloat(W.h)))):k=le.add(new U(this.graphManager)),k.id=L.data("id"),k.paddingLeft=parseInt(L.css("padding")),k.paddingTop=parseInt(L.css("padding")),k.paddingRight=parseInt(L.css("padding")),k.paddingBottom=parseInt(L.css("padding")),this.options.nodeDimensionsIncludeLabels&&L.isParent()){var fe=L.boundingBox({includeLabels:!0,includeNodes:!1}).w,ge=L.boundingBox({includeLabels:!0,includeNodes:!1}).h,Ae=L.css("text-halign");k.labelWidth=fe,k.labelHeight=ge,k.labelPos=Ae}if(this.idToLNode[L.data("id")]=k,isNaN(k.rect.x)&&(k.rect.x=0),isNaN(k.rect.y)&&(k.rect.y=0),$!=null&&$.length>0){var Ne;Ne=j.getGraphManager().add(j.newGraph(),k),this.processChildrenList(Ne,$,j)}}},_.prototype.stop=function(){return this.stopped=!0,this};var ne=function(J){J("layout","cose-bilkent",_)};typeof cytoscape<"u"&&ne(cytoscape),he.exports=ne}])})})(Kl);var Kp=Kl.exports;const Zp=Vl(Kp);ql.use(Zp);function Zl(pe,ve,ee,he){Xl.drawNode(pe,ve,ee,he),ve.children&&ve.children.forEach((H,O)=>{Zl(pe,H,ee<0?O:ee,he)})}function Qp(pe,ve){ve.edges().map((ee,he)=>{const H=ee.data();if(ee[0]._private.bodyBounds){const O=ee[0]._private.rscratch;Wr.trace("Edge: ",he,H),pe.insert("path").attr("d",`M ${O.startX},${O.startY} L ${O.midX},${O.midY} L${O.endX},${O.endY} `).attr("class","edge section-edge-"+H.section+" edge-depth-"+H.depth)}})}function Ql(pe,ve,ee,he){ve.add({group:"nodes",data:{id:pe.id,labelText:pe.descr,height:pe.height,width:pe.width,level:he,nodeId:pe.id,padding:pe.padding,type:pe.type},position:{x:pe.x,y:pe.y}}),pe.children&&pe.children.forEach(H=>{Ql(H,ve,ee,he+1),ve.add({group:"edges",data:{id:`${pe.id}_${H.id}`,source:pe.id,target:H.id,depth:he,section:H.section}})})}function Jp(pe,ve){return new Promise(ee=>{const he=ei("body").append("div").attr("id","cy").attr("style","display:none"),H=ql({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});he.remove(),Ql(pe,H,ve,0),H.nodes().forEach(function(O){O.layoutDimensions=()=>{const T=O.data();return{w:T.width,h:T.height}}}),H.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),H.ready(O=>{Wr.info("Ready",O),ee(H)})})}function jp(pe){pe.nodes().map((ve,ee)=>{const he=ve.data();he.x=ve.position().x,he.y=ve.position().y,Xl.positionNode(he);const H=Qi(he.nodeId);Wr.info("Id:",ee,"Position: (",ve.position().x,", ",ve.position().y,")",he),H.attr("transform",`translate(${ve.position().x-he.width/2}, ${ve.position().y-he.height/2})`),H.attr("attr",`apa-${ee})`)})}const ey=async(pe,ve,ee,he)=>{const H=nn();H.htmlLabels=!1,Wr.debug(`Rendering mindmap diagram
`+pe,he.parser);const O=nn().securityLevel;let T;O==="sandbox"&&(T=ei("#i"+ve));const S=(O==="sandbox"?ei(T.nodes()[0].contentDocument.body):ei("body")).select("#"+ve);S.append("g");const z=he.db.getMindmap(),U=S.append("g");U.attr("class","mindmap-edges");const P=S.append("g");P.attr("class","mindmap-nodes"),Zl(P,z,-1,H);const K=await Jp(z,H);Qp(U,K),jp(K),bp(void 0,S,H.mindmap.padding,H.mindmap.useMaxWidth)},ty={draw:ey},ry=pe=>{let ve="";for(let ee=0;ee<pe.THEME_COLOR_LIMIT;ee++)pe["lineColor"+ee]=pe["lineColor"+ee]||pe["cScaleInv"+ee],Ep(pe["lineColor"+ee])?pe["lineColor"+ee]=wp(pe["lineColor"+ee],20):pe["lineColor"+ee]=xp(pe["lineColor"+ee],20);for(let ee=0;ee<pe.THEME_COLOR_LIMIT;ee++){const he=""+(17-3*ee);ve+=`
.section-${ee-1} rect, .section-${ee-1} path, .section-${ee-1} circle, .section-${ee-1} polygon, .section-${ee-1} path {
fill: ${pe["cScale"+ee]};
}
.section-${ee-1} text {
fill: ${pe["cScaleLabel"+ee]};
}
.node-icon-${ee-1} {
font-size: 40px;
color: ${pe["cScaleLabel"+ee]};
}
.section-edge-${ee-1}{
stroke: ${pe["cScale"+ee]};
}
.edge-depth-${ee-1}{
stroke-width: ${he};
}
.section-${ee-1} line {
stroke: ${pe["cScaleInv"+ee]} ;
stroke-width: 3;
}
.disabled, .disabled circle, .disabled text {
fill: lightgray;
}
.disabled text {
fill: #efefef;
}
`}return ve},ay=pe=>`
.edge {
stroke-width: 3;
}
${ry(pe)}
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
fill: ${pe.git0};
}
.section-root text {
fill: ${pe.gitBranchLabel0};
}
.icon-container {
height:100%;
display: flex;
justify-content: center;
align-items: center;
}
.edge {
fill: none;
}
.mindmap-node-label {
dy: 1em;
alignment-baseline: middle;
text-anchor: middle;
dominant-baseline: middle;
text-align: center;
}
`,ny=ay,sy={db:kp,renderer:ty,parser:Cp,styles:ny};export{sy as diagram};
import{bf as I,bg as un,bh as U,bi as Y,bj as fn}from"./index-Hfn5l4aw.js";import{i as cn}from"./init-cc95ec8e-Hi12RPRh.js";function F(n,t){return n==null||t==null?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function _(n){let t,i,r;n.length!==2?(t=F,i=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,i=n,r=n);function e(u,c,o=0,l=u.length){if(o<l){if(t(c,c)!==0)return l;do{const h=o+l>>>1;i(u[h],c)<0?o=h+1:l=h}while(o<l)}return o}function f(u,c,o=0,l=u.length){if(o<l){if(t(c,c)!==0)return l;do{const h=o+l>>>1;i(u[h],c)<=0?o=h+1:l=h}while(o<l)}return o}function a(u,c,o=0,l=u.length){const h=e(u,c,o,l-1);return h>o&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:e,center:a,right:f}}function mn(){return 0}function sn(n){return n===null?NaN:+n}const ln=_(F),gn=ln.right;_(sn).center;const dn=gn,yn=Math.sqrt(50),Mn=Math.sqrt(10),pn=Math.sqrt(2);function R(n,t,i){const r=(t-n)/Math.max(0,i),e=Math.floor(Math.log10(r)),f=r/Math.pow(10,e),a=f>=yn?10:f>=Mn?5:f>=pn?2:1;let u,c,o;return e<0?(o=Math.pow(10,-e)/a,u=Math.round(n*o),c=Math.round(t*o),u/o<n&&++u,c/o>t&&--c,o=-o):(o=Math.pow(10,e)*a,u=Math.round(n/o),c=Math.round(t/o),u*o<n&&++u,c*o>t&&--c),c<u&&.5<=i&&i<2?R(n,t,i*2):[u,c,o]}function wn(n,t,i){if(t=+t,n=+n,i=+i,!(i>0))return[];if(n===t)return[n];const r=t<n,[e,f,a]=r?R(t,n,i):R(n,t,i);if(!(f>=e))return[];const u=f-e+1,c=new Array(u);if(r)if(a<0)for(let o=0;o<u;++o)c[o]=(f-o)/-a;else for(let o=0;o<u;++o)c[o]=(f-o)*a;else if(a<0)for(let o=0;o<u;++o)c[o]=(e+o)/-a;else for(let o=0;o<u;++o)c[o]=(e+o)*a;return c}function L(n,t,i){return t=+t,n=+n,i=+i,R(n,t,i)[2]}function vn(n,t,i){t=+t,n=+n,i=+i;const r=t<n,e=r?L(t,n,i):L(n,t,i);return(r?-1:1)*(e<0?1/-e:e)}function Nn(n,t){t||(t=[]);var i=n?Math.min(t.length,n.length):0,r=t.slice(),e;return function(f){for(e=0;e<i;++e)r[e]=n[e]*(1-f)+t[e]*f;return r}}function kn(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function xn(n,t){var i=t?t.length:0,r=n?Math.min(i,n.length):0,e=new Array(r),f=new Array(i),a;for(a=0;a<r;++a)e[a]=C(n[a],t[a]);for(;a<i;++a)f[a]=t[a];return function(u){for(a=0;a<r;++a)f[a]=e[a](u);return f}}function An(n,t){var i=new Date;return n=+n,t=+t,function(r){return i.setTime(n*(1-r)+t*r),i}}function bn(n,t){var i={},r={},e;(n===null||typeof n!="object")&&(n={}),(t===null||typeof t!="object")&&(t={});for(e in t)e in n?i[e]=C(n[e],t[e]):r[e]=t[e];return function(f){for(e in i)r[e]=i[e](f);return r}}function C(n,t){var i=typeof t,r;return t==null||i==="boolean"?un(t):(i==="number"?I:i==="string"?(r=U(t))?(t=r,Y):fn:t instanceof U?Y:t instanceof Date?An:kn(t)?Nn:Array.isArray(t)?xn:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?bn:I)(n,t)}function Sn(n,t){return n=+n,t=+t,function(i){return Math.round(n*(1-i)+t*i)}}function jn(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((i=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var i,r=n.slice(0,i);return[r.length>1?r[0]+r.slice(2):r,+n.slice(i+1)]}function A(n){return n=E(Math.abs(n)),n?n[1]:NaN}function Pn(n,t){return function(i,r){for(var e=i.length,f=[],a=0,u=n[0],c=0;e>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(i.substring(e-=u,e+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function zn(n){return function(t){return t.replace(/[0-9]/g,function(i){return n[+i]})}}var $n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=$n.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Fn(n){n:for(var t=n.length,i=1,r=-1,e;i<t;++i)switch(n[i]){case".":r=e=i;break;case"0":r===0&&(r=i),e=i;break;default:if(!+n[i])break n;r>0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(e+1):n}var nn;function Rn(n,t){var i=E(n,t);if(!i)return n+"";var r=i[0],e=i[1],f=e-(nn=Math.max(-8,Math.min(8,Math.floor(e/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var i=E(n,t);if(!i)return n+"";var r=i[0],e=i[1];return e<0?"0."+new Array(-e).join("0")+r:r.length>e+1?r.slice(0,e+1)+"."+r.slice(e+1):r+new Array(e-r.length+2).join("0")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:jn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Rn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function En(n){var t=n.grouping===void 0||n.thousands===void 0?J:Pn(K.call(n.grouping,Number),n.thousands+""),i=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",e=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:zn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var s=h.fill,p=h.align,y=h.sign,b=h.symbol,N=h.zero,S=h.width,T=h.comma,w=h.precision,G=h.trim,g=h.type;g==="n"?(T=!0,g="g"):H[g]||(w===void 0&&(w=12),G=!0,g="g"),(N||s==="0"&&p==="=")&&(N=!0,s="0",p="=");var en=b==="$"?i:b==="#"&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",on=b==="$"?r:/[%p]/.test(g)?a:"",O=H[g],an=/[defgprs%]/.test(g);w=w===void 0?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var v=en,d=on,k,X,j;if(g==="c")d=O(m)+d,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=Fn(m)),P&&+m==0&&y!=="+"&&(P=!1),v=(P?y==="("?y:u:y==="-"||y==="("?"":y)+v,d=(g==="s"?Q[8+nn/3]:"")+d+(P&&y==="("?")":""),an){for(k=-1,X=m.length;++k<X;)if(j=m.charCodeAt(k),48>j||j>57){d=(j===46?e+m.slice(k+1):m.slice(k))+d,m=m.slice(0,k);break}}}T&&!N&&(m=t(m,1/0));var z=v.length+m.length+d.length,M=z<S?new Array(S-z+1).join(s):"";switch(T&&N&&(m=t(M+m,M.length?S-d.length:1/0),M=""),p){case"<":m=v+m+d+M;break;case"=":m=v+M+m+d;break;case"^":m=M.slice(0,z=M.length>>1)+v+m+d+M.slice(z);break;default:m=M+v+m+d;break}return f(m)}return V.toString=function(){return h+""},V}function l(h,s){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(A(s)/3)))*3,b=Math.pow(10,-y),N=Q[8+y/3];return function(S){return p(b*S)+N}}return{format:o,formatPrefix:l}}var $,tn,rn;Dn({thousands:",",grouping:[3],currency:["$",""]});function Dn(n){return $=En(n),tn=$.format,rn=$.formatPrefix,$}function Tn(n){return Math.max(0,-A(Math.abs(n)))}function In(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(A(t)/3)))*3-A(Math.abs(n)))}function Ln(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,A(t)-A(n))+1}function qn(n){return function(){return n}}function Cn(n){return+n}var W=[0,1];function x(n){return n}function q(n,t){return(t-=n=+n)?function(i){return(i-n)/t}:qn(isNaN(t)?NaN:.5)}function Bn(n,t){var i;return n>t&&(i=n,n=t,t=i),function(r){return Math.max(n,Math.min(t,r))}}function Gn(n,t,i){var r=n[0],e=n[1],f=t[0],a=t[1];return e<r?(r=q(e,r),f=i(a,f)):(r=q(r,e),f=i(f,a)),function(u){return f(r(u))}}function On(n,t,i){var r=Math.min(n.length,t.length)-1,e=new Array(r),f=new Array(r),a=-1;for(n[r]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++a<r;)e[a]=q(n[a],n[a+1]),f[a]=i(t[a],t[a+1]);return function(u){var c=dn(n,u,1,r)-1;return f[c](e[c](u))}}function Vn(n,t){return t.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function Xn(){var n=W,t=W,i=C,r,e,f,a=x,u,c,o;function l(){var s=Math.min(n.length,t.length);return a!==x&&(a=Bn(n[0],n[s-1])),u=s>2?On:Gn,c=o=null,h}function h(s){return s==null||isNaN(s=+s)?f:(c||(c=u(n.map(r),t,i)))(r(a(s)))}return h.invert=function(s){return a(e((o||(o=u(t,n.map(r),I)))(s)))},h.domain=function(s){return arguments.length?(n=Array.from(s,Cn),l()):n.slice()},h.range=function(s){return arguments.length?(t=Array.from(s),l()):t.slice()},h.rangeRound=function(s){return t=Array.from(s),i=Sn,l()},h.clamp=function(s){return arguments.length?(a=s?!0:x,l()):a!==x},h.interpolate=function(s){return arguments.length?(i=s,l()):i},h.unknown=function(s){return arguments.length?(f=s,h):f},function(s,p){return r=s,e=p,l()}}function Un(){return Xn()(x,x)}function Yn(n,t,i,r){var e=vn(n,t,i),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=In(e,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=Ln(e,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Tn(e))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Zn(n){var t=n.domain;return n.ticks=function(i){var r=t();return wn(r[0],r[r.length-1],i??10)},n.tickFormat=function(i,r){var e=t();return Yn(e[0],e[e.length-1],i??10,r)},n.nice=function(i){i==null&&(i=10);var r=t(),e=0,f=r.length-1,a=r[e],u=r[f],c,o,l=10;for(u<a&&(o=a,a=u,u=o,o=e,e=f,f=o);l-- >0;){if(o=L(a,u,i),o===c)return r[e]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Hn(){var n=Un();return n.copy=function(){return Vn(n,Hn())},cn.apply(n,arguments),Zn(n)}export{Vn as a,_ as b,Un as c,Hn as l,vn as t};
import{a as h}from"./array-b7dcf730-Nw74a44z.js";import{w as v,c as o}from"./path-39bad7e2-aUcfwwLI.js";import{aH as d}from"./index-Hfn5l4aw.js";function w(t){return t[0]}function b(t){return t[1]}function L(t,u){var s=o(!0),f=null,l=d,r=null,m=v(e);t=typeof t=="function"?t:t===void 0?w:o(t),u=typeof u=="function"?u:u===void 0?b:o(u);function e(n){var i,g=(n=h(n)).length,a,c=!1,p;for(f==null&&(r=l(p=m())),i=0;i<=g;++i)!(i<g&&s(a=n[i],i,n))===c&&((c=!c)?r.lineStart():r.lineEnd()),c&&r.point(+t(a,i,n),+u(a,i,n));if(p)return r=null,p+""||null}return e.x=function(n){return arguments.length?(t=typeof n=="function"?n:o(+n),e):t},e.y=function(n){return arguments.length?(u=typeof n=="function"?n:o(+n),e):u},e.defined=function(n){return arguments.length?(s=typeof n=="function"?n:o(!!n),e):s},e.curve=function(n){return arguments.length?(l=n,f!=null&&(r=l(f)),e):l},e.context=function(n){return arguments.length?(n==null?f=r=null:r=l(f=n),e):f},e}export{L as l};
import{bn as O,bo as an,bp as $n,bq as on,br as X,bs as Te,bt as bn,bu as B,aQ as Kn,bv as fn,bw as fr,bx as dr,by as cr,bz as hr,bA as lr,bB as V,bC as vr,bD as Ln,bE as gr,bF as pr,bG as Le,bH as x,bI as Ae,bJ as Cn,bK as Xn,bL as F,bM as br,bN as q,bO as An,bP as wr,bQ as mr,bR as U,bS as In,bT as Ne,bU as _r,bV as Er,bW as H,bX as yr,bY as dn,bZ as xr,b_ as Oe,b$ as Tr,c0 as Lr,c1 as Vn}from"./index-Hfn5l4aw.js";var Ar="[object Symbol]";function P(n){return typeof n=="symbol"||H(n)&&yr(n)==Ar}function R(n,e){for(var r=-1,t=n==null?0:n.length,i=Array(t);++r<t;)i[r]=e(n[r],r,n);return i}var Nr=1/0,Zn=O?O.prototype:void 0,Jn=Zn?Zn.toString:void 0;function $e(n){if(typeof n=="string")return n;if(x(n))return R(n,$e)+"";if(P(n))return Jn?Jn.call(n):"";var e=n+"";return e=="0"&&1/n==-Nr?"-0":e}var Or=/\s/;function $r(n){for(var e=n.length;e--&&Or.test(n.charAt(e)););return e}var Cr=/^\s+/;function Ir(n){return n&&n.slice(0,$r(n)+1).replace(Cr,"")}var Qn=NaN,Pr=/^[-+]0x[0-9a-f]+$/i,Sr=/^0b[01]+$/i,Mr=/^0o[0-7]+$/i,Rr=parseInt;function Fr(n){if(typeof n=="number")return n;if(P(n))return Qn;if(F(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=F(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=Ir(n);var r=Sr.test(n);return r||Mr.test(n)?Rr(n.slice(2),r?2:8):Pr.test(n)?Qn:+n}var zn=1/0,Dr=17976931348623157e292;function rn(n){if(!n)return n===0?n:0;if(n=Fr(n),n===zn||n===-zn){var e=n<0?-1:1;return e*Dr}return n===n?n:0}function Gr(n){var e=rn(n),r=e%1;return e===e?r?e-r:e:0}function kr(){}function Ce(n,e){for(var r=-1,t=n==null?0:n.length;++r<t&&e(n[r],r,n)!==!1;);return n}function Ie(n,e,r,t){for(var i=n.length,a=r+(t?1:-1);t?a--:++a<i;)if(e(n[a],a,n))return a;return-1}function Br(n){return n!==n}function Yr(n,e,r){for(var t=r-1,i=n.length;++t<i;)if(n[t]===e)return t;return-1}function Ur(n,e,r){return e===e?Yr(n,e,r):Ie(n,Br,r)}function qr(n,e){var r=n==null?0:n.length;return!!r&&Ur(n,e,0)>-1}function T(n){return fn(n)?fr(n):dr(n)}var Hr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wr=/^\w*$/;function Pn(n,e){if(x(n))return!1;var r=typeof n;return r=="number"||r=="symbol"||r=="boolean"||n==null||P(n)?!0:Wr.test(n)||!Hr.test(n)||e!=null&&n in Object(e)}var jr=500;function Kr(n){var e=cr(n,function(t){return r.size===jr&&r.clear(),t}),r=e.cache;return e}var Xr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vr=/\\(\\)?/g,Zr=Kr(function(n){var e=[];return n.charCodeAt(0)===46&&e.push(""),n.replace(Xr,function(r,t,i,a){e.push(i?a.replace(Vr,"$1"):t||r)}),e});const Jr=Zr;function Pe(n){return n==null?"":$e(n)}function cn(n,e){return x(n)?n:Pn(n,e)?[n]:Jr(Pe(n))}var Qr=1/0;function Z(n){if(typeof n=="string"||P(n))return n;var e=n+"";return e=="0"&&1/n==-Qr?"-0":e}function hn(n,e){e=cn(e,n);for(var r=0,t=e.length;n!=null&&r<t;)n=n[Z(e[r++])];return r&&r==t?n:void 0}function zr(n,e,r){var t=n==null?void 0:hn(n,e);return t===void 0?r:t}function Sn(n,e){for(var r=-1,t=e.length,i=n.length;++r<t;)n[i+r]=e[r];return n}var ne=O?O.isConcatSpreadable:void 0;function nt(n){return x(n)||Ae(n)||!!(ne&&n&&n[ne])}function ln(n,e,r,t,i){var a=-1,o=n.length;for(r||(r=nt),i||(i=[]);++a<o;){var s=n[a];e>0&&r(s)?e>1?ln(s,e-1,r,t,i):Sn(i,s):t||(i[i.length]=s)}return i}function G(n){var e=n==null?0:n.length;return e?ln(n,1):[]}function et(n){return hr(lr(n,void 0,G),n+"")}function rt(n,e,r,t){var i=-1,a=n==null?0:n.length;for(t&&a&&(r=n[++i]);++i<a;)r=e(r,n[i],i,n);return r}function tt(n,e){return n&&dn(e,T(e),n)}function it(n,e){return n&&dn(e,X(e),n)}function Se(n,e){for(var r=-1,t=n==null?0:n.length,i=0,a=[];++r<t;){var o=n[r];e(o,r,n)&&(a[i++]=o)}return a}function Me(){return[]}var at=Object.prototype,ot=at.propertyIsEnumerable,ee=Object.getOwnPropertySymbols,st=ee?function(n){return n==null?[]:(n=Object(n),Se(ee(n),function(e){return ot.call(n,e)}))}:Me;const Mn=st;function ut(n,e){return dn(n,Mn(n),e)}var ft=Object.getOwnPropertySymbols,dt=ft?function(n){for(var e=[];n;)Sn(e,Mn(n)),n=Lr(n);return e}:Me;const Re=dt;function ct(n,e){return dn(n,Re(n),e)}function Fe(n,e,r){var t=e(n);return x(n)?t:Sn(t,r(n))}function Nn(n){return Fe(n,T,Mn)}function ht(n){return Fe(n,X,Re)}var lt=Object.prototype,vt=lt.hasOwnProperty;function gt(n){var e=n.length,r=new n.constructor(e);return e&&typeof n[0]=="string"&&vt.call(n,"index")&&(r.index=n.index,r.input=n.input),r}function pt(n,e){var r=e?Oe(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}var bt=/\w*$/;function wt(n){var e=new n.constructor(n.source,bt.exec(n));return e.lastIndex=n.lastIndex,e}var re=O?O.prototype:void 0,te=re?re.valueOf:void 0;function mt(n){return te?Object(te.call(n)):{}}var _t="[object Boolean]",Et="[object Date]",yt="[object Map]",xt="[object Number]",Tt="[object RegExp]",Lt="[object Set]",At="[object String]",Nt="[object Symbol]",Ot="[object ArrayBuffer]",$t="[object DataView]",Ct="[object Float32Array]",It="[object Float64Array]",Pt="[object Int8Array]",St="[object Int16Array]",Mt="[object Int32Array]",Rt="[object Uint8Array]",Ft="[object Uint8ClampedArray]",Dt="[object Uint16Array]",Gt="[object Uint32Array]";function kt(n,e,r){var t=n.constructor;switch(e){case Ot:return Oe(n);case _t:case Et:return new t(+n);case $t:return pt(n,r);case Ct:case It:case Pt:case St:case Mt:case Rt:case Ft:case Dt:case Gt:return xr(n,r);case yt:return new t;case xt:case At:return new t(n);case Tt:return wt(n);case Lt:return new t;case Nt:return mt(n)}}var Bt="[object Map]";function Yt(n){return H(n)&&q(n)==Bt}var ie=an&&an.isMap,Ut=ie?Cn(ie):Yt;const qt=Ut;var Ht="[object Set]";function Wt(n){return H(n)&&q(n)==Ht}var ae=an&&an.isSet,jt=ae?Cn(ae):Wt;const Kt=jt;var Xt=1,Vt=2,Zt=4,De="[object Arguments]",Jt="[object Array]",Qt="[object Boolean]",zt="[object Date]",ni="[object Error]",Ge="[object Function]",ei="[object GeneratorFunction]",ri="[object Map]",ti="[object Number]",ke="[object Object]",ii="[object RegExp]",ai="[object Set]",oi="[object String]",si="[object Symbol]",ui="[object WeakMap]",fi="[object ArrayBuffer]",di="[object DataView]",ci="[object Float32Array]",hi="[object Float64Array]",li="[object Int8Array]",vi="[object Int16Array]",gi="[object Int32Array]",pi="[object Uint8Array]",bi="[object Uint8ClampedArray]",wi="[object Uint16Array]",mi="[object Uint32Array]",w={};w[De]=w[Jt]=w[fi]=w[di]=w[Qt]=w[zt]=w[ci]=w[hi]=w[li]=w[vi]=w[gi]=w[ri]=w[ti]=w[ke]=w[ii]=w[ai]=w[oi]=w[si]=w[pi]=w[bi]=w[wi]=w[mi]=!0;w[ni]=w[Ge]=w[ui]=!1;function tn(n,e,r,t,i,a){var o,s=e&Xt,u=e&Vt,f=e&Zt;if(r&&(o=i?r(n,t,i,a):r(n)),o!==void 0)return o;if(!F(n))return n;var d=x(n);if(d){if(o=gt(n),!s)return br(n,o)}else{var h=q(n),l=h==Ge||h==ei;if(An(n))return wr(n,s);if(h==ke||h==De||l&&!i){if(o=u||l?{}:mr(n),!s)return u?ct(n,it(o,n)):ut(n,tt(o,n))}else{if(!w[h])return i?n:{};o=kt(n,h,s)}}a||(a=new U);var g=a.get(n);if(g)return g;a.set(n,o),Kt(n)?n.forEach(function(m){o.add(tn(m,e,r,m,n,a))}):qt(n)&&n.forEach(function(m,_){o.set(_,tn(m,e,r,_,n,a))});var v=f?u?ht:Nn:u?X:T,p=d?void 0:v(n);return Ce(p||n,function(m,_){p&&(_=m,m=n[_]),In(o,_,tn(m,e,r,_,n,a))}),o}var _i=1,Ei=4;function yi(n){return tn(n,_i|Ei)}var xi="__lodash_hash_undefined__";function Ti(n){return this.__data__.set(n,xi),this}function Li(n){return this.__data__.has(n)}function W(n){var e=-1,r=n==null?0:n.length;for(this.__data__=new gr;++e<r;)this.add(n[e])}W.prototype.add=W.prototype.push=Ti;W.prototype.has=Li;function Ai(n,e){for(var r=-1,t=n==null?0:n.length;++r<t;)if(e(n[r],r,n))return!0;return!1}function Be(n,e){return n.has(e)}var Ni=1,Oi=2;function Ye(n,e,r,t,i,a){var o=r&Ni,s=n.length,u=e.length;if(s!=u&&!(o&&u>s))return!1;var f=a.get(n),d=a.get(e);if(f&&d)return f==e&&d==n;var h=-1,l=!0,g=r&Oi?new W:void 0;for(a.set(n,e),a.set(e,n);++h<s;){var v=n[h],p=e[h];if(t)var m=o?t(p,v,h,e,n,a):t(v,p,h,n,e,a);if(m!==void 0){if(m)continue;l=!1;break}if(g){if(!Ai(e,function(_,C){if(!Be(g,C)&&(v===_||i(v,_,r,t,a)))return g.push(C)})){l=!1;break}}else if(!(v===p||i(v,p,r,t,a))){l=!1;break}}return a.delete(n),a.delete(e),l}function $i(n){var e=-1,r=Array(n.size);return n.forEach(function(t,i){r[++e]=[i,t]}),r}function Rn(n){var e=-1,r=Array(n.size);return n.forEach(function(t){r[++e]=t}),r}var Ci=1,Ii=2,Pi="[object Boolean]",Si="[object Date]",Mi="[object Error]",Ri="[object Map]",Fi="[object Number]",Di="[object RegExp]",Gi="[object Set]",ki="[object String]",Bi="[object Symbol]",Yi="[object ArrayBuffer]",Ui="[object DataView]",oe=O?O.prototype:void 0,wn=oe?oe.valueOf:void 0;function qi(n,e,r,t,i,a,o){switch(r){case Ui:if(n.byteLength!=e.byteLength||n.byteOffset!=e.byteOffset)return!1;n=n.buffer,e=e.buffer;case Yi:return!(n.byteLength!=e.byteLength||!a(new Vn(n),new Vn(e)));case Pi:case Si:case Fi:return Te(+n,+e);case Mi:return n.name==e.name&&n.message==e.message;case Di:case ki:return n==e+"";case Ri:var s=$i;case Gi:var u=t&Ci;if(s||(s=Rn),n.size!=e.size&&!u)return!1;var f=o.get(n);if(f)return f==e;t|=Ii,o.set(n,e);var d=Ye(s(n),s(e),t,i,a,o);return o.delete(n),d;case Bi:if(wn)return wn.call(n)==wn.call(e)}return!1}var Hi=1,Wi=Object.prototype,ji=Wi.hasOwnProperty;function Ki(n,e,r,t,i,a){var o=r&Hi,s=Nn(n),u=s.length,f=Nn(e),d=f.length;if(u!=d&&!o)return!1;for(var h=u;h--;){var l=s[h];if(!(o?l in e:ji.call(e,l)))return!1}var g=a.get(n),v=a.get(e);if(g&&v)return g==e&&v==n;var p=!0;a.set(n,e),a.set(e,n);for(var m=o;++h<u;){l=s[h];var _=n[l],C=e[l];if(t)var jn=o?t(C,_,l,e,n,a):t(_,C,l,n,e,a);if(!(jn===void 0?_===C||i(_,C,r,t,a):jn)){p=!1;break}m||(m=l=="constructor")}if(p&&!m){var z=n.constructor,nn=e.constructor;z!=nn&&"constructor"in n&&"constructor"in e&&!(typeof z=="function"&&z instanceof z&&typeof nn=="function"&&nn instanceof nn)&&(p=!1)}return a.delete(n),a.delete(e),p}var Xi=1,se="[object Arguments]",ue="[object Array]",en="[object Object]",Vi=Object.prototype,fe=Vi.hasOwnProperty;function Zi(n,e,r,t,i,a){var o=x(n),s=x(e),u=o?ue:q(n),f=s?ue:q(e);u=u==se?en:u,f=f==se?en:f;var d=u==en,h=f==en,l=u==f;if(l&&An(n)){if(!An(e))return!1;o=!0,d=!1}if(l&&!d)return a||(a=new U),o||Tr(n)?Ye(n,e,r,t,i,a):qi(n,e,u,r,t,i,a);if(!(r&Xi)){var g=d&&fe.call(n,"__wrapped__"),v=h&&fe.call(e,"__wrapped__");if(g||v){var p=g?n.value():n,m=v?e.value():e;return a||(a=new U),i(p,m,r,t,a)}}return l?(a||(a=new U),Ki(n,e,r,t,i,a)):!1}function Fn(n,e,r,t,i){return n===e?!0:n==null||e==null||!H(n)&&!H(e)?n!==n&&e!==e:Zi(n,e,r,t,Fn,i)}var Ji=1,Qi=2;function zi(n,e,r,t){var i=r.length,a=i,o=!t;if(n==null)return!a;for(n=Object(n);i--;){var s=r[i];if(o&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++i<a;){s=r[i];var u=s[0],f=n[u],d=s[1];if(o&&s[2]){if(f===void 0&&!(u in n))return!1}else{var h=new U;if(t)var l=t(f,d,u,n,e,h);if(!(l===void 0?Fn(d,f,Ji|Qi,t,h):l))return!1}}return!0}function Ue(n){return n===n&&!F(n)}function na(n){for(var e=T(n),r=e.length;r--;){var t=e[r],i=n[t];e[r]=[t,i,Ue(i)]}return e}function qe(n,e){return function(r){return r==null?!1:r[n]===e&&(e!==void 0||n in Object(r))}}function ea(n){var e=na(n);return e.length==1&&e[0][2]?qe(e[0][0],e[0][1]):function(r){return r===n||zi(r,n,e)}}function ra(n,e){return n!=null&&e in Object(n)}function He(n,e,r){e=cn(e,n);for(var t=-1,i=e.length,a=!1;++t<i;){var o=Z(e[t]);if(!(a=n!=null&&r(n,o)))break;n=n[o]}return a||++t!=i?a:(i=n==null?0:n.length,!!i&&pr(i)&&Le(o,i)&&(x(n)||Ae(n)))}function We(n,e){return n!=null&&He(n,e,ra)}var ta=1,ia=2;function aa(n,e){return Pn(n)&&Ue(e)?qe(Z(n),e):function(r){var t=zr(r,n);return t===void 0&&t===e?We(r,n):Fn(e,t,ta|ia)}}function oa(n){return function(e){return e==null?void 0:e[n]}}function sa(n){return function(e){return hn(e,n)}}function ua(n){return Pn(n)?oa(Z(n)):sa(n)}function $(n){return typeof n=="function"?n:n==null?V:typeof n=="object"?x(n)?aa(n[0],n[1]):ea(n):ua(n)}function Dn(n,e){return n&&Ne(n,e,T)}function fa(n,e){return function(r,t){if(r==null)return r;if(!fn(r))return n(r,t);for(var i=r.length,a=e?i:-1,o=Object(r);(e?a--:++a<i)&&t(o[a],a,o)!==!1;);return r}}var da=fa(Dn);const vn=da;var ca=function(){return _r.Date.now()};const de=ca;var je=Object.prototype,ha=je.hasOwnProperty,la=$n(function(n,e){n=Object(n);var r=-1,t=e.length,i=t>2?e[2]:void 0;for(i&&on(e[0],e[1],i)&&(t=1);++r<t;)for(var a=e[r],o=X(a),s=-1,u=o.length;++s<u;){var f=o[s],d=n[f];(d===void 0||Te(d,je[f])&&!ha.call(n,f))&&(n[f]=a[f])}return n});const va=la;function ga(n,e,r){for(var t=-1,i=n==null?0:n.length;++t<i;)if(r(e,n[t]))return!0;return!1}function sn(n){var e=n==null?0:n.length;return e?n[e-1]:void 0}function Gn(n){return typeof n=="function"?n:V}function c(n,e){var r=x(n)?Ce:vn;return r(n,Gn(e))}function pa(n,e){var r=[];return vn(n,function(t,i,a){e(t,i,a)&&r.push(t)}),r}function A(n,e){var r=x(n)?Se:pa;return r(n,$(e))}function ba(n){return function(e,r,t){var i=Object(e);if(!fn(e)){var a=$(r);e=T(e),r=function(s){return a(i[s],s,i)}}var o=n(e,r,t);return o>-1?i[a?e[o]:o]:void 0}}var wa=Math.max;function ma(n,e,r){var t=n==null?0:n.length;if(!t)return-1;var i=r==null?0:Gr(r);return i<0&&(i=wa(t+i,0)),Ie(n,$(e),i)}var _a=ba(ma);const kn=_a;function Ke(n,e){var r=-1,t=fn(n)?Array(n.length):[];return vn(n,function(i,a,o){t[++r]=e(i,a,o)}),t}function E(n,e){var r=x(n)?R:Ke;return r(n,$(e))}function Ea(n,e){return n==null?n:Ne(n,Gn(e),X)}function ya(n,e){return n&&Dn(n,Gn(e))}function xa(n,e){return n>e}var Ta=Object.prototype,La=Ta.hasOwnProperty;function Aa(n,e){return n!=null&&La.call(n,e)}function b(n,e){return n!=null&&He(n,e,Aa)}function Na(n,e){return R(e,function(r){return n[r]})}function N(n){return n==null?[]:Na(n,T(n))}function y(n){return n===void 0}function Xe(n,e){return n<e}function gn(n,e){var r={};return e=$(e),Dn(n,function(t,i,a){Er(r,i,e(t,i,a))}),r}function Bn(n,e,r){for(var t=-1,i=n.length;++t<i;){var a=n[t],o=e(a);if(o!=null&&(s===void 0?o===o&&!P(o):r(o,s)))var s=o,u=a}return u}function S(n){return n&&n.length?Bn(n,V,xa):void 0}function j(n){return n&&n.length?Bn(n,V,Xe):void 0}function Yn(n,e){return n&&n.length?Bn(n,$(e),Xe):void 0}function Oa(n,e,r,t){if(!F(n))return n;e=cn(e,n);for(var i=-1,a=e.length,o=a-1,s=n;s!=null&&++i<a;){var u=Z(e[i]),f=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return n;if(i!=o){var d=s[u];f=t?t(d,u,s):void 0,f===void 0&&(f=F(d)?d:Le(e[i+1])?[]:{})}In(s,u,f),s=s[u]}return n}function $a(n,e,r){for(var t=-1,i=e.length,a={};++t<i;){var o=e[t],s=hn(n,o);r(s,o)&&Oa(a,cn(o,n),s)}return a}function Ca(n,e){var r=n.length;for(n.sort(e);r--;)n[r]=n[r].value;return n}function Ia(n,e){if(n!==e){var r=n!==void 0,t=n===null,i=n===n,a=P(n),o=e!==void 0,s=e===null,u=e===e,f=P(e);if(!s&&!f&&!a&&n>e||a&&o&&u&&!s&&!f||t&&o&&u||!r&&u||!i)return 1;if(!t&&!a&&!f&&n<e||f&&r&&i&&!t&&!a||s&&r&&i||!o&&i||!u)return-1}return 0}function Pa(n,e,r){for(var t=-1,i=n.criteria,a=e.criteria,o=i.length,s=r.length;++t<o;){var u=Ia(i[t],a[t]);if(u){if(t>=s)return u;var f=r[t];return u*(f=="desc"?-1:1)}}return n.index-e.index}function Sa(n,e,r){e.length?e=R(e,function(a){return x(a)?function(o){return hn(o,a.length===1?a[0]:a)}:a}):e=[V];var t=-1;e=R(e,Cn($));var i=Ke(n,function(a,o,s){var u=R(e,function(f){return f(a)});return{criteria:u,index:++t,value:a}});return Ca(i,function(a,o){return Pa(a,o,r)})}function Ma(n,e){return $a(n,e,function(r,t){return We(n,t)})}var Ra=et(function(n,e){return n==null?{}:Ma(n,e)});const un=Ra;var Fa=Math.ceil,Da=Math.max;function Ga(n,e,r,t){for(var i=-1,a=Da(Fa((e-n)/(r||1)),0),o=Array(a);a--;)o[t?a:++i]=n,n+=r;return o}function ka(n){return function(e,r,t){return t&&typeof t!="number"&&on(e,r,t)&&(r=t=void 0),e=rn(e),r===void 0?(r=e,e=0):r=rn(r),t=t===void 0?e<r?1:-1:rn(t),Ga(e,r,t,n)}}var Ba=ka();const D=Ba;function Ya(n,e,r,t,i){return i(n,function(a,o,s){r=t?(t=!1,a):e(r,a,o,s)}),r}function J(n,e,r){var t=x(n)?rt:Ya,i=arguments.length<3;return t(n,$(e),r,i,vn)}var Ua=$n(function(n,e){if(n==null)return[];var r=e.length;return r>1&&on(n,e[0],e[1])?e=[]:r>2&&on(e[0],e[1],e[2])&&(e=[e[0]]),Sa(n,ln(e,1),[])});const Q=Ua;var qa=1/0,Ha=bn&&1/Rn(new bn([,-0]))[1]==qa?function(n){return new bn(n)}:kr;const Wa=Ha;var ja=200;function Ka(n,e,r){var t=-1,i=qr,a=n.length,o=!0,s=[],u=s;if(r)o=!1,i=ga;else if(a>=ja){var f=e?null:Wa(n);if(f)return Rn(f);o=!1,i=Be,u=new W}else u=e?[]:s;n:for(;++t<a;){var d=n[t],h=e?e(d):d;if(d=r||d!==0?d:0,o&&h===h){for(var l=u.length;l--;)if(u[l]===h)continue n;e&&u.push(h),s.push(d)}else i(u,h,r)||(u!==s&&u.push(h),s.push(d))}return s}var Xa=$n(function(n){return Ka(ln(n,1,vr,!0))});const Va=Xa;var Za=0;function Un(n){var e=++Za;return Pe(n)+e}function Ja(n,e,r){for(var t=-1,i=n.length,a=e.length,o={};++t<i;){var s=t<a?e[t]:void 0;r(o,n[t],s)}return o}function Qa(n,e){return Ja(n||[],e||[],In)}var za="\0",I="\0",ce="";class L{constructor(e={}){this._isDirected=b(e,"directed")?e.directed:!0,this._isMultigraph=b(e,"multigraph")?e.multigraph:!1,this._isCompound=b(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=B(void 0),this._defaultEdgeLabelFn=B(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[I]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return Kn(e)||(e=B(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return T(this._nodes)}sources(){var e=this;return A(this.nodes(),function(r){return Xn(e._in[r])})}sinks(){var e=this;return A(this.nodes(),function(r){return Xn(e._out[r])})}setNodes(e,r){var t=arguments,i=this;return c(e,function(a){t.length>1?i.setNode(a,r):i.setNode(a)}),this}setNode(e,r){return b(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=r),this):(this._nodes[e]=arguments.length>1?r:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=I,this._children[e]={},this._children[I][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return b(this._nodes,e)}removeNode(e){var r=this;if(b(this._nodes,e)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],c(this.children(e),function(i){r.setParent(i)}),delete this._children[e]),c(T(this._in[e]),t),delete this._in[e],delete this._preds[e],c(T(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(y(r))r=I;else{r+="";for(var t=r;!y(t);t=this.parent(t))if(t===e)throw new Error("Setting "+r+" as parent of "+e+" would create a cycle");this.setNode(r)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=r,this._children[r][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var r=this._parent[e];if(r!==I)return r}}children(e){if(y(e)&&(e=I),this._isCompound){var r=this._children[e];if(r)return T(r)}else{if(e===I)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var r=this._preds[e];if(r)return T(r)}successors(e){var r=this._sucs[e];if(r)return T(r)}neighbors(e){var r=this.predecessors(e);if(r)return Va(r,this.successors(e))}isLeaf(e){var r;return this.isDirected()?r=this.successors(e):r=this.neighbors(e),r.length===0}filterNodes(e){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;c(this._nodes,function(o,s){e(s)&&r.setNode(s,o)}),c(this._edgeObjs,function(o){r.hasNode(o.v)&&r.hasNode(o.w)&&r.setEdge(o,t.edge(o))});var i={};function a(o){var s=t.parent(o);return s===void 0||r.hasNode(s)?(i[o]=s,s):s in i?i[s]:a(s)}return this._isCompound&&c(r.nodes(),function(o){r.setParent(o,a(o))}),r}setDefaultEdgeLabel(e){return Kn(e)||(e=B(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return N(this._edgeObjs)}setPath(e,r){var t=this,i=arguments;return J(e,function(a,o){return i.length>1?t.setEdge(a,o,r):t.setEdge(a,o),o}),this}setEdge(){var e,r,t,i,a=!1,o=arguments[0];typeof o=="object"&&o!==null&&"v"in o?(e=o.v,r=o.w,t=o.name,arguments.length===2&&(i=arguments[1],a=!0)):(e=o,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),e=""+e,r=""+r,y(t)||(t=""+t);var s=Y(this._isDirected,e,r,t);if(b(this._edgeLabels,s))return a&&(this._edgeLabels[s]=i),this;if(!y(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(r),this._edgeLabels[s]=a?i:this._defaultEdgeLabelFn(e,r,t);var u=no(this._isDirected,e,r,t);return e=u.v,r=u.w,Object.freeze(u),this._edgeObjs[s]=u,he(this._preds[r],e),he(this._sucs[e],r),this._in[r][s]=u,this._out[e][s]=u,this._edgeCount++,this}edge(e,r,t){var i=arguments.length===1?mn(this._isDirected,arguments[0]):Y(this._isDirected,e,r,t);return this._edgeLabels[i]}hasEdge(e,r,t){var i=arguments.length===1?mn(this._isDirected,arguments[0]):Y(this._isDirected,e,r,t);return b(this._edgeLabels,i)}removeEdge(e,r,t){var i=arguments.length===1?mn(this._isDirected,arguments[0]):Y(this._isDirected,e,r,t),a=this._edgeObjs[i];return a&&(e=a.v,r=a.w,delete this._edgeLabels[i],delete this._edgeObjs[i],le(this._preds[r],e),le(this._sucs[e],r),delete this._in[r][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,r){var t=this._in[e];if(t){var i=N(t);return r?A(i,function(a){return a.v===r}):i}}outEdges(e,r){var t=this._out[e];if(t){var i=N(t);return r?A(i,function(a){return a.w===r}):i}}nodeEdges(e,r){var t=this.inEdges(e,r);if(t)return t.concat(this.outEdges(e,r))}}L.prototype._nodeCount=0;L.prototype._edgeCount=0;function he(n,e){n[e]?n[e]++:n[e]=1}function le(n,e){--n[e]||delete n[e]}function Y(n,e,r,t){var i=""+e,a=""+r;if(!n&&i>a){var o=i;i=a,a=o}return i+ce+a+ce+(y(t)?za:t)}function no(n,e,r,t){var i=""+e,a=""+r;if(!n&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return t&&(s.name=t),s}function mn(n,e){return Y(n,e.v,e.w,e.name)}class eo{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return ve(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&ve(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,t=r._prev;t!==r;)e.push(JSON.stringify(t,ro)),t=t._prev;return"["+e.join(", ")+"]"}}function ve(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function ro(n,e){if(n!=="_next"&&n!=="_prev")return e}var to=B(1);function io(n,e){if(n.nodeCount()<=1)return[];var r=oo(n,e||to),t=ao(r.graph,r.buckets,r.zeroIdx);return G(E(t,function(i){return n.outEdges(i.v,i.w)}))}function ao(n,e,r){for(var t=[],i=e[e.length-1],a=e[0],o;n.nodeCount();){for(;o=a.dequeue();)_n(n,e,r,o);for(;o=i.dequeue();)_n(n,e,r,o);if(n.nodeCount()){for(var s=e.length-2;s>0;--s)if(o=e[s].dequeue(),o){t=t.concat(_n(n,e,r,o,!0));break}}}return t}function _n(n,e,r,t,i){var a=i?[]:void 0;return c(n.inEdges(t.v),function(o){var s=n.edge(o),u=n.node(o.v);i&&a.push({v:o.v,w:o.w}),u.out-=s,On(e,r,u)}),c(n.outEdges(t.v),function(o){var s=n.edge(o),u=o.w,f=n.node(u);f.in-=s,On(e,r,f)}),n.removeNode(t.v),a}function oo(n,e){var r=new L,t=0,i=0;c(n.nodes(),function(s){r.setNode(s,{v:s,in:0,out:0})}),c(n.edges(),function(s){var u=r.edge(s.v,s.w)||0,f=e(s),d=u+f;r.setEdge(s.v,s.w,d),i=Math.max(i,r.node(s.v).out+=f),t=Math.max(t,r.node(s.w).in+=f)});var a=D(i+t+3).map(function(){return new eo}),o=t+1;return c(r.nodes(),function(s){On(a,o,r.node(s))}),{graph:r,buckets:a,zeroIdx:o}}function On(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function so(n){var e=n.graph().acyclicer==="greedy"?io(n,r(n)):uo(n);c(e,function(t){var i=n.edge(t);n.removeEdge(t),i.forwardName=t.name,i.reversed=!0,n.setEdge(t.w,t.v,i,Un("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function uo(n){var e=[],r={},t={};function i(a){b(t,a)||(t[a]=!0,r[a]=!0,c(n.outEdges(a),function(o){b(r,o.w)?e.push(o):i(o.w)}),delete r[a])}return c(n.nodes(),i),e}function fo(n){c(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var t=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,t)}})}function k(n,e,r,t){var i;do i=Un(t);while(n.hasNode(i));return r.dummy=e,n.setNode(i,r),i}function co(n){var e=new L().setGraph(n.graph());return c(n.nodes(),function(r){e.setNode(r,n.node(r))}),c(n.edges(),function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},i=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),e}function Ve(n){var e=new L({multigraph:n.isMultigraph()}).setGraph(n.graph());return c(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),c(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function ge(n,e){var r=n.x,t=n.y,i=e.x-r,a=e.y-t,o=n.width/2,s=n.height/2;if(!i&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var u,f;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),u=s*i/a,f=s):(i<0&&(o=-o),u=o,f=o*a/i),{x:r+u,y:t+f}}function pn(n){var e=E(D(Ze(n)+1),function(){return[]});return c(n.nodes(),function(r){var t=n.node(r),i=t.rank;y(i)||(e[i][t.order]=r)}),e}function ho(n){var e=j(E(n.nodes(),function(r){return n.node(r).rank}));c(n.nodes(),function(r){var t=n.node(r);b(t,"rank")&&(t.rank-=e)})}function lo(n){var e=j(E(n.nodes(),function(a){return n.node(a).rank})),r=[];c(n.nodes(),function(a){var o=n.node(a).rank-e;r[o]||(r[o]=[]),r[o].push(a)});var t=0,i=n.graph().nodeRankFactor;c(r,function(a,o){y(a)&&o%i!==0?--t:t&&c(a,function(s){n.node(s).rank+=t})})}function pe(n,e,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),k(n,"border",i,e)}function Ze(n){return S(E(n.nodes(),function(e){var r=n.node(e).rank;if(!y(r))return r}))}function vo(n,e){var r={lhs:[],rhs:[]};return c(n,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r}function go(n,e){var r=de();try{return e()}finally{console.log(n+" time: "+(de()-r)+"ms")}}function po(n,e){return e()}function bo(n){function e(r){var t=n.children(r),i=n.node(r);if(t.length&&c(t,e),b(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,o=i.maxRank+1;a<o;++a)be(n,"borderLeft","_bl",r,i,a),be(n,"borderRight","_br",r,i,a)}}c(n.children(),e)}function be(n,e,r,t,i,a){var o={width:0,height:0,rank:a,borderType:e},s=i[e][a-1],u=k(n,"border",o,r);i[e][a]=u,n.setParent(u,t),s&&n.setEdge(s,u,{weight:1})}function wo(n){var e=n.graph().rankdir.toLowerCase();(e==="lr"||e==="rl")&&Je(n)}function mo(n){var e=n.graph().rankdir.toLowerCase();(e==="bt"||e==="rl")&&_o(n),(e==="lr"||e==="rl")&&(Eo(n),Je(n))}function Je(n){c(n.nodes(),function(e){we(n.node(e))}),c(n.edges(),function(e){we(n.edge(e))})}function we(n){var e=n.width;n.width=n.height,n.height=e}function _o(n){c(n.nodes(),function(e){En(n.node(e))}),c(n.edges(),function(e){var r=n.edge(e);c(r.points,En),b(r,"y")&&En(r)})}function En(n){n.y=-n.y}function Eo(n){c(n.nodes(),function(e){yn(n.node(e))}),c(n.edges(),function(e){var r=n.edge(e);c(r.points,yn),b(r,"x")&&yn(r)})}function yn(n){var e=n.x;n.x=n.y,n.y=e}function yo(n){n.graph().dummyChains=[],c(n.edges(),function(e){xo(n,e)})}function xo(n,e){var r=e.v,t=n.node(r).rank,i=e.w,a=n.node(i).rank,o=e.name,s=n.edge(e),u=s.labelRank;if(a!==t+1){n.removeEdge(e);var f,d,h;for(h=0,++t;t<a;++h,++t)s.points=[],d={width:0,height:0,edgeLabel:s,edgeObj:e,rank:t},f=k(n,"edge",d,"_d"),t===u&&(d.width=s.width,d.height=s.height,d.dummy="edge-label",d.labelpos=s.labelpos),n.setEdge(r,f,{weight:s.weight},o),h===0&&n.graph().dummyChains.push(f),r=f;n.setEdge(r,i,{weight:s.weight},o)}}function To(n){c(n.graph().dummyChains,function(e){var r=n.node(e),t=r.edgeLabel,i;for(n.setEdge(r.edgeObj,t);r.dummy;)i=n.successors(e)[0],n.removeNode(e),t.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height),e=i,r=n.node(e)})}function qn(n){var e={};function r(t){var i=n.node(t);if(b(e,t))return i.rank;e[t]=!0;var a=j(E(n.outEdges(t),function(o){return r(o.w)-n.edge(o).minlen}));return(a===Number.POSITIVE_INFINITY||a===void 0||a===null)&&(a=0),i.rank=a}c(n.sources(),r)}function K(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function Qe(n){var e=new L({directed:!1}),r=n.nodes()[0],t=n.nodeCount();e.setNode(r,{});for(var i,a;Lo(e,n)<t;)i=Ao(e,n),a=e.hasNode(i.v)?K(n,i):-K(n,i),No(e,n,a);return e}function Lo(n,e){function r(t){c(e.nodeEdges(t),function(i){var a=i.v,o=t===a?i.w:a;!n.hasNode(o)&&!K(e,i)&&(n.setNode(o,{}),n.setEdge(t,o,{}),r(o))})}return c(n.nodes(),r),n.nodeCount()}function Ao(n,e){return Yn(e.edges(),function(r){if(n.hasNode(r.v)!==n.hasNode(r.w))return K(e,r)})}function No(n,e,r){c(n.nodes(),function(t){e.node(t).rank+=r})}function ze(n,e,r){x(e)||(e=[e]);var t=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],a={};return c(e,function(o){if(!n.hasNode(o))throw new Error("Graph does not have node: "+o);nr(n,o,r==="post",a,t,i)}),i}function nr(n,e,r,t,i,a){b(t,e)||(t[e]=!0,r||a.push(e),c(i(e),function(o){nr(n,o,r,t,i,a)}),r&&a.push(e))}function Oo(n,e){return ze(n,e,"post")}function $o(n,e){return ze(n,e,"pre")}M.initLowLimValues=Wn;M.initCutValues=Hn;M.calcCutValue=er;M.leaveEdge=tr;M.enterEdge=ir;M.exchangeEdges=ar;function M(n){n=co(n),qn(n);var e=Qe(n);Wn(e),Hn(e,n);for(var r,t;r=tr(e);)t=ir(e,n,r),ar(e,n,r,t)}function Hn(n,e){var r=Oo(n,n.nodes());r=r.slice(0,r.length-1),c(r,function(t){Co(n,e,t)})}function Co(n,e,r){var t=n.node(r),i=t.parent;n.edge(r,i).cutvalue=er(n,e,r)}function er(n,e,r){var t=n.node(r),i=t.parent,a=!0,o=e.edge(r,i),s=0;return o||(a=!1,o=e.edge(i,r)),s=o.weight,c(e.nodeEdges(r),function(u){var f=u.v===r,d=f?u.w:u.v;if(d!==i){var h=f===a,l=e.edge(u).weight;if(s+=h?l:-l,Po(n,r,d)){var g=n.edge(r,d).cutvalue;s+=h?-g:g}}}),s}function Wn(n,e){arguments.length<2&&(e=n.nodes()[0]),rr(n,{},1,e)}function rr(n,e,r,t,i){var a=r,o=n.node(t);return e[t]=!0,c(n.neighbors(t),function(s){b(e,s)||(r=rr(n,e,r,s,t))}),o.low=a,o.lim=r++,i?o.parent=i:delete o.parent,r}function tr(n){return kn(n.edges(),function(e){return n.edge(e).cutvalue<0})}function ir(n,e,r){var t=r.v,i=r.w;e.hasEdge(t,i)||(t=r.w,i=r.v);var a=n.node(t),o=n.node(i),s=a,u=!1;a.lim>o.lim&&(s=o,u=!0);var f=A(e.edges(),function(d){return u===me(n,n.node(d.v),s)&&u!==me(n,n.node(d.w),s)});return Yn(f,function(d){return K(e,d)})}function ar(n,e,r,t){var i=r.v,a=r.w;n.removeEdge(i,a),n.setEdge(t.v,t.w,{}),Wn(n),Hn(n,e),Io(n,e)}function Io(n,e){var r=kn(n.nodes(),function(i){return!e.node(i).parent}),t=$o(n,r);t=t.slice(1),c(t,function(i){var a=n.node(i).parent,o=e.edge(i,a),s=!1;o||(o=e.edge(a,i),s=!0),e.node(i).rank=e.node(a).rank+(s?o.minlen:-o.minlen)})}function Po(n,e,r){return n.hasEdge(e,r)}function me(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function So(n){switch(n.graph().ranker){case"network-simplex":_e(n);break;case"tight-tree":Ro(n);break;case"longest-path":Mo(n);break;default:_e(n)}}var Mo=qn;function Ro(n){qn(n),Qe(n)}function _e(n){M(n)}function Fo(n){var e=k(n,"root",{},"_root"),r=Do(n),t=S(N(r))-1,i=2*t+1;n.graph().nestingRoot=e,c(n.edges(),function(o){n.edge(o).minlen*=i});var a=Go(n)+1;c(n.children(),function(o){or(n,e,i,a,t,r,o)}),n.graph().nodeRankFactor=i}function or(n,e,r,t,i,a,o){var s=n.children(o);if(!s.length){o!==e&&n.setEdge(e,o,{weight:0,minlen:r});return}var u=pe(n,"_bt"),f=pe(n,"_bb"),d=n.node(o);n.setParent(u,o),d.borderTop=u,n.setParent(f,o),d.borderBottom=f,c(s,function(h){or(n,e,r,t,i,a,h);var l=n.node(h),g=l.borderTop?l.borderTop:h,v=l.borderBottom?l.borderBottom:h,p=l.borderTop?t:2*t,m=g!==v?1:i-a[o]+1;n.setEdge(u,g,{weight:p,minlen:m,nestingEdge:!0}),n.setEdge(v,f,{weight:p,minlen:m,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,u,{weight:0,minlen:i+a[o]})}function Do(n){var e={};function r(t,i){var a=n.children(t);a&&a.length&&c(a,function(o){r(o,i+1)}),e[t]=i}return c(n.children(),function(t){r(t,1)}),e}function Go(n){return J(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function ko(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,c(n.edges(),function(r){var t=n.edge(r);t.nestingEdge&&n.removeEdge(r)})}function Bo(n,e,r){var t={},i;c(r,function(a){for(var o=n.parent(a),s,u;o;){if(s=n.parent(o),s?(u=t[s],t[s]=o):(u=i,i=o),u&&u!==o){e.setEdge(u,o);return}o=s}})}function Yo(n,e,r){var t=Uo(n),i=new L({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(a){return n.node(a)});return c(n.nodes(),function(a){var o=n.node(a),s=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(i.setNode(a),i.setParent(a,s||t),c(n[r](a),function(u){var f=u.v===a?u.w:u.v,d=i.edge(f,a),h=y(d)?0:d.weight;i.setEdge(f,a,{weight:n.edge(u).weight+h})}),b(o,"minRank")&&i.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),i}function Uo(n){for(var e;n.hasNode(e=Un("_root")););return e}function qo(n,e){for(var r=0,t=1;t<e.length;++t)r+=Ho(n,e[t-1],e[t]);return r}function Ho(n,e,r){for(var t=Qa(r,E(r,function(f,d){return d})),i=G(E(e,function(f){return Q(E(n.outEdges(f),function(d){return{pos:t[d.w],weight:n.edge(d).weight}}),"pos")})),a=1;a<r.length;)a<<=1;var o=2*a-1;a-=1;var s=E(new Array(o),function(){return 0}),u=0;return c(i.forEach(function(f){var d=f.pos+a;s[d]+=f.weight;for(var h=0;d>0;)d%2&&(h+=s[d+1]),d=d-1>>1,s[d]+=f.weight;u+=f.weight*h})),u}function Wo(n){var e={},r=A(n.nodes(),function(s){return!n.children(s).length}),t=S(E(r,function(s){return n.node(s).rank})),i=E(D(t+1),function(){return[]});function a(s){if(!b(e,s)){e[s]=!0;var u=n.node(s);i[u.rank].push(s),c(n.successors(s),a)}}var o=Q(r,function(s){return n.node(s).rank});return c(o,a),i}function jo(n,e){return E(e,function(r){var t=n.inEdges(r);if(t.length){var i=J(t,function(a,o){var s=n.edge(o),u=n.node(o.v);return{sum:a.sum+s.weight*u.order,weight:a.weight+s.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function Ko(n,e){var r={};c(n,function(i,a){var o=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:a};y(i.barycenter)||(o.barycenter=i.barycenter,o.weight=i.weight)}),c(e.edges(),function(i){var a=r[i.v],o=r[i.w];!y(a)&&!y(o)&&(o.indegree++,a.out.push(r[i.w]))});var t=A(r,function(i){return!i.indegree});return Xo(t)}function Xo(n){var e=[];function r(a){return function(o){o.merged||(y(o.barycenter)||y(a.barycenter)||o.barycenter>=a.barycenter)&&Vo(a,o)}}function t(a){return function(o){o.in.push(a),--o.indegree===0&&n.push(o)}}for(;n.length;){var i=n.pop();e.push(i),c(i.in.reverse(),r(i)),c(i.out,t(i))}return E(A(e,function(a){return!a.merged}),function(a){return un(a,["vs","i","barycenter","weight"])})}function Vo(n,e){var r=0,t=0;n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}function Zo(n,e){var r=vo(n,function(d){return b(d,"barycenter")}),t=r.lhs,i=Q(r.rhs,function(d){return-d.i}),a=[],o=0,s=0,u=0;t.sort(Jo(!!e)),u=Ee(a,i,u),c(t,function(d){u+=d.vs.length,a.push(d.vs),o+=d.barycenter*d.weight,s+=d.weight,u=Ee(a,i,u)});var f={vs:G(a)};return s&&(f.barycenter=o/s,f.weight=s),f}function Ee(n,e,r){for(var t;e.length&&(t=sn(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function Jo(n){return function(e,r){return e.barycenter<r.barycenter?-1:e.barycenter>r.barycenter?1:n?r.i-e.i:e.i-r.i}}function sr(n,e,r,t){var i=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,s=a?a.borderRight:void 0,u={};o&&(i=A(i,function(v){return v!==o&&v!==s}));var f=jo(n,i);c(f,function(v){if(n.children(v.v).length){var p=sr(n,v.v,r,t);u[v.v]=p,b(p,"barycenter")&&zo(v,p)}});var d=Ko(f,r);Qo(d,u);var h=Zo(d,t);if(o&&(h.vs=G([o,h.vs,s]),n.predecessors(o).length)){var l=n.node(n.predecessors(o)[0]),g=n.node(n.predecessors(s)[0]);b(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+g.order)/(h.weight+2),h.weight+=2}return h}function Qo(n,e){c(n,function(r){r.vs=G(r.vs.map(function(t){return e[t]?e[t].vs:t}))})}function zo(n,e){y(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function ns(n){var e=Ze(n),r=ye(n,D(1,e+1),"inEdges"),t=ye(n,D(e-1,-1,-1),"outEdges"),i=Wo(n);xe(n,i);for(var a=Number.POSITIVE_INFINITY,o,s=0,u=0;u<4;++s,++u){es(s%2?r:t,s%4>=2),i=pn(n);var f=qo(n,i);f<a&&(u=0,o=yi(i),a=f)}xe(n,o)}function ye(n,e,r){return E(e,function(t){return Yo(n,t,r)})}function es(n,e){var r=new L;c(n,function(t){var i=t.graph().root,a=sr(t,i,r,e);c(a.vs,function(o,s){t.node(o).order=s}),Bo(t,r,a.vs)})}function xe(n,e){c(e,function(r){c(r,function(t,i){n.node(t).order=i})})}function rs(n){var e=is(n);c(n.graph().dummyChains,function(r){for(var t=n.node(r),i=t.edgeObj,a=ts(n,e,i.v,i.w),o=a.path,s=a.lca,u=0,f=o[u],d=!0;r!==i.w;){if(t=n.node(r),d){for(;(f=o[u])!==s&&n.node(f).maxRank<t.rank;)u++;f===s&&(d=!1)}if(!d){for(;u<o.length-1&&n.node(f=o[u+1]).minRank<=t.rank;)u++;f=o[u]}n.setParent(r,f),r=n.successors(r)[0]}})}function ts(n,e,r,t){var i=[],a=[],o=Math.min(e[r].low,e[t].low),s=Math.max(e[r].lim,e[t].lim),u,f;u=r;do u=n.parent(u),i.push(u);while(u&&(e[u].low>o||s>e[u].lim));for(f=u,u=t;(u=n.parent(u))!==f;)a.push(u);return{path:i.concat(a.reverse()),lca:f}}function is(n){var e={},r=0;function t(i){var a=r;c(n.children(i),t),e[i]={low:a,lim:r++}}return c(n.children(),t),e}function as(n,e){var r={};function t(i,a){var o=0,s=0,u=i.length,f=sn(a);return c(a,function(d,h){var l=ss(n,d),g=l?n.node(l).order:u;(l||d===f)&&(c(a.slice(s,h+1),function(v){c(n.predecessors(v),function(p){var m=n.node(p),_=m.order;(_<o||g<_)&&!(m.dummy&&n.node(v).dummy)&&ur(r,p,v)})}),s=h+1,o=g)}),a}return J(e,t),r}function os(n,e){var r={};function t(a,o,s,u,f){var d;c(D(o,s),function(h){d=a[h],n.node(d).dummy&&c(n.predecessors(d),function(l){var g=n.node(l);g.dummy&&(g.order<u||g.order>f)&&ur(r,l,d)})})}function i(a,o){var s=-1,u,f=0;return c(o,function(d,h){if(n.node(d).dummy==="border"){var l=n.predecessors(d);l.length&&(u=n.node(l[0]).order,t(o,f,h,s,u),f=h,s=u)}t(o,f,o.length,u,a.length)}),o}return J(e,i),r}function ss(n,e){if(n.node(e).dummy)return kn(n.predecessors(e),function(r){return n.node(r).dummy})}function ur(n,e,r){if(e>r){var t=e;e=r,r=t}var i=n[e];i||(n[e]=i={}),i[r]=!0}function us(n,e,r){if(e>r){var t=e;e=r,r=t}return b(n[e],r)}function fs(n,e,r,t){var i={},a={},o={};return c(e,function(s){c(s,function(u,f){i[u]=u,a[u]=u,o[u]=f})}),c(e,function(s){var u=-1;c(s,function(f){var d=t(f);if(d.length){d=Q(d,function(p){return o[p]});for(var h=(d.length-1)/2,l=Math.floor(h),g=Math.ceil(h);l<=g;++l){var v=d[l];a[f]===f&&u<o[v]&&!us(r,f,v)&&(a[v]=f,a[f]=i[f]=i[v],u=o[v])}}})}),{root:i,align:a}}function ds(n,e,r,t,i){var a={},o=cs(n,e,r,i),s=i?"borderLeft":"borderRight";function u(h,l){for(var g=o.nodes(),v=g.pop(),p={};v;)p[v]?h(v):(p[v]=!0,g.push(v),g=g.concat(l(v))),v=g.pop()}function f(h){a[h]=o.inEdges(h).reduce(function(l,g){return Math.max(l,a[g.v]+o.edge(g))},0)}function d(h){var l=o.outEdges(h).reduce(function(v,p){return Math.min(v,a[p.w]-o.edge(p))},Number.POSITIVE_INFINITY),g=n.node(h);l!==Number.POSITIVE_INFINITY&&g.borderType!==s&&(a[h]=Math.max(a[h],l))}return u(f,o.predecessors.bind(o)),u(d,o.successors.bind(o)),c(t,function(h){a[h]=a[r[h]]}),a}function cs(n,e,r,t){var i=new L,a=n.graph(),o=ps(a.nodesep,a.edgesep,t);return c(e,function(s){var u;c(s,function(f){var d=r[f];if(i.setNode(d),u){var h=r[u],l=i.edge(h,d);i.setEdge(h,d,Math.max(o(n,f,u),l||0))}u=f})}),i}function hs(n,e){return Yn(N(e),function(r){var t=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return Ea(r,function(a,o){var s=bs(n,o)/2;t=Math.max(a+s,t),i=Math.min(a-s,i)}),t-i})}function ls(n,e){var r=N(e),t=j(r),i=S(r);c(["u","d"],function(a){c(["l","r"],function(o){var s=a+o,u=n[s],f;if(u!==e){var d=N(u);f=o==="l"?t-j(d):i-S(d),f&&(n[s]=gn(u,function(h){return h+f}))}})})}function vs(n,e){return gn(n.ul,function(r,t){if(e)return n[e.toLowerCase()][t];var i=Q(E(n,t));return(i[1]+i[2])/2})}function gs(n){var e=pn(n),r=Ln(as(n,e),os(n,e)),t={},i;c(["u","d"],function(o){i=o==="u"?e:N(e).reverse(),c(["l","r"],function(s){s==="r"&&(i=E(i,function(h){return N(h).reverse()}));var u=(o==="u"?n.predecessors:n.successors).bind(n),f=fs(n,i,r,u),d=ds(n,i,f.root,f.align,s==="r");s==="r"&&(d=gn(d,function(h){return-h})),t[o+s]=d})});var a=hs(n,t);return ls(t,a),vs(t,n.graph().align)}function ps(n,e,r){return function(t,i,a){var o=t.node(i),s=t.node(a),u=0,f;if(u+=o.width/2,b(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":f=-o.width/2;break;case"r":f=o.width/2;break}if(f&&(u+=r?f:-f),f=0,u+=(o.dummy?e:n)/2,u+=(s.dummy?e:n)/2,u+=s.width/2,b(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":f=s.width/2;break;case"r":f=-s.width/2;break}return f&&(u+=r?f:-f),f=0,u}}function bs(n,e){return n.node(e).width}function ws(n){n=Ve(n),ms(n),ya(gs(n),function(e,r){n.node(r).x=e})}function ms(n){var e=pn(n),r=n.graph().ranksep,t=0;c(e,function(i){var a=S(E(i,function(o){return n.node(o).height}));c(i,function(o){n.node(o).y=t+a/2}),t+=a+r})}function Hs(n,e){var r=e&&e.debugTiming?go:po;r("layout",function(){var t=r(" buildLayoutGraph",function(){return Cs(n)});r(" runLayout",function(){_s(t,r)}),r(" updateInputGraph",function(){Es(n,t)})})}function _s(n,e){e(" makeSpaceForEdgeLabels",function(){Is(n)}),e(" removeSelfEdges",function(){Bs(n)}),e(" acyclic",function(){so(n)}),e(" nestingGraph.run",function(){Fo(n)}),e(" rank",function(){So(Ve(n))}),e(" injectEdgeLabelProxies",function(){Ps(n)}),e(" removeEmptyRanks",function(){lo(n)}),e(" nestingGraph.cleanup",function(){ko(n)}),e(" normalizeRanks",function(){ho(n)}),e(" assignRankMinMax",function(){Ss(n)}),e(" removeEdgeLabelProxies",function(){Ms(n)}),e(" normalize.run",function(){yo(n)}),e(" parentDummyChains",function(){rs(n)}),e(" addBorderSegments",function(){bo(n)}),e(" order",function(){ns(n)}),e(" insertSelfEdges",function(){Ys(n)}),e(" adjustCoordinateSystem",function(){wo(n)}),e(" position",function(){ws(n)}),e(" positionSelfEdges",function(){Us(n)}),e(" removeBorderNodes",function(){ks(n)}),e(" normalize.undo",function(){To(n)}),e(" fixupEdgeLabelCoords",function(){Ds(n)}),e(" undoCoordinateSystem",function(){mo(n)}),e(" translateGraph",function(){Rs(n)}),e(" assignNodeIntersects",function(){Fs(n)}),e(" reversePoints",function(){Gs(n)}),e(" acyclic.undo",function(){fo(n)})}function Es(n,e){c(n.nodes(),function(r){var t=n.node(r),i=e.node(r);t&&(t.x=i.x,t.y=i.y,e.children(r).length&&(t.width=i.width,t.height=i.height))}),c(n.edges(),function(r){var t=n.edge(r),i=e.edge(r);t.points=i.points,b(i,"x")&&(t.x=i.x,t.y=i.y)}),n.graph().width=e.graph().width,n.graph().height=e.graph().height}var ys=["nodesep","edgesep","ranksep","marginx","marginy"],xs={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Ts=["acyclicer","ranker","rankdir","align"],Ls=["width","height"],As={width:0,height:0},Ns=["minlen","weight","width","height","labeloffset"],Os={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},$s=["labelpos"];function Cs(n){var e=new L({multigraph:!0,compound:!0}),r=Tn(n.graph());return e.setGraph(Ln({},xs,xn(r,ys),un(r,Ts))),c(n.nodes(),function(t){var i=Tn(n.node(t));e.setNode(t,va(xn(i,Ls),As)),e.setParent(t,n.parent(t))}),c(n.edges(),function(t){var i=Tn(n.edge(t));e.setEdge(t,Ln({},Os,xn(i,Ns),un(i,$s)))}),e}function Is(n){var e=n.graph();e.ranksep/=2,c(n.edges(),function(r){var t=n.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(e.rankdir==="TB"||e.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Ps(n){c(n.edges(),function(e){var r=n.edge(e);if(r.width&&r.height){var t=n.node(e.v),i=n.node(e.w),a={rank:(i.rank-t.rank)/2+t.rank,e};k(n,"edge-proxy",a,"_ep")}})}function Ss(n){var e=0;c(n.nodes(),function(r){var t=n.node(r);t.borderTop&&(t.minRank=n.node(t.borderTop).rank,t.maxRank=n.node(t.borderBottom).rank,e=S(e,t.maxRank))}),n.graph().maxRank=e}function Ms(n){c(n.nodes(),function(e){var r=n.node(e);r.dummy==="edge-proxy"&&(n.edge(r.e).labelRank=r.rank,n.removeNode(e))})}function Rs(n){var e=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,i=0,a=n.graph(),o=a.marginx||0,s=a.marginy||0;function u(f){var d=f.x,h=f.y,l=f.width,g=f.height;e=Math.min(e,d-l/2),r=Math.max(r,d+l/2),t=Math.min(t,h-g/2),i=Math.max(i,h+g/2)}c(n.nodes(),function(f){u(n.node(f))}),c(n.edges(),function(f){var d=n.edge(f);b(d,"x")&&u(d)}),e-=o,t-=s,c(n.nodes(),function(f){var d=n.node(f);d.x-=e,d.y-=t}),c(n.edges(),function(f){var d=n.edge(f);c(d.points,function(h){h.x-=e,h.y-=t}),b(d,"x")&&(d.x-=e),b(d,"y")&&(d.y-=t)}),a.width=r-e+o,a.height=i-t+s}function Fs(n){c(n.edges(),function(e){var r=n.edge(e),t=n.node(e.v),i=n.node(e.w),a,o;r.points?(a=r.points[0],o=r.points[r.points.length-1]):(r.points=[],a=i,o=t),r.points.unshift(ge(t,a)),r.points.push(ge(i,o))})}function Ds(n){c(n.edges(),function(e){var r=n.edge(e);if(b(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function Gs(n){c(n.edges(),function(e){var r=n.edge(e);r.reversed&&r.points.reverse()})}function ks(n){c(n.nodes(),function(e){if(n.children(e).length){var r=n.node(e),t=n.node(r.borderTop),i=n.node(r.borderBottom),a=n.node(sn(r.borderLeft)),o=n.node(sn(r.borderRight));r.width=Math.abs(o.x-a.x),r.height=Math.abs(i.y-t.y),r.x=a.x+r.width/2,r.y=t.y+r.height/2}}),c(n.nodes(),function(e){n.node(e).dummy==="border"&&n.removeNode(e)})}function Bs(n){c(n.edges(),function(e){if(e.v===e.w){var r=n.node(e.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e,label:n.edge(e)}),n.removeEdge(e)}})}function Ys(n){var e=pn(n);c(e,function(r){var t=0;c(r,function(i,a){var o=n.node(i);o.order=a+t,c(o.selfEdges,function(s){k(n,"selfedge",{width:s.label.width,height:s.label.height,rank:o.rank,order:a+ ++t,e:s.e,label:s.label},"_se")}),delete o.selfEdges})})}function Us(n){c(n.nodes(),function(e){var r=n.node(e);if(r.dummy==="selfedge"){var t=n.node(r.e.v),i=t.x+t.width/2,a=t.y,o=r.x-i,s=t.height/2;n.setEdge(r.e,r.label),n.removeNode(e),r.label.points=[{x:i+2*o/3,y:a-s},{x:i+5*o/6,y:a-s},{x:i+o,y:a},{x:i+5*o/6,y:a+s},{x:i+2*o/3,y:a+s}],r.label.x=r.x,r.label.y=r.y}})}function xn(n,e){return gn(un(n,e),Number)}function Tn(n){var e={};return c(n,function(r,t){e[t.toLowerCase()]=r}),e}export{L as G,tn as b,va as d,c as f,b as h,y as i,Hs as l,E as m,un as p,D as r,Un as u};
import{at as I,aT as yt,aU as ft,ap as dt,aq as pt,as as gt,ar as mt,aV as xt,ax as W,az as kt}from"./index-Hfn5l4aw.js";import{d as _t,f as bt,a as vt,g as it}from"./svgDrawCommon-1b9ff2ad-B4iIY08o.js";import{d as Q}from"./arc-01f1c7b4-EdqqRiec.js";import"./path-39bad7e2-aUcfwwLI.js";var G=function(){var t=function(p,s,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=s);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],l=[1,10],n=[1,11],h=[1,12],c=[1,13],f=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(s,r,a,u,d,o,w){var k=o.length-1;switch(d){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(s,r){if(r.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=r,a}},parse:function(s){var r=this,a=[0],u=[],d=[null],o=[],w=this.table,k="",R=0,Z=0,lt=2,J=1,ct=o.slice.call(arguments,1),x=Object.create(this.lexer),S={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(S.yy[z]=this.yy[z]);x.setInput(s,S.yy),S.yy.lexer=x,S.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var Y=x.yylloc;o.push(Y);var ht=x.options&&x.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ut(){var $;return $=u.pop()||x.lex()||J,typeof $!="number"&&($ instanceof Array&&(u=$,$=u.pop()),$=r.symbols_[$]||$),$}for(var _,E,b,q,A={},N,T,K,B;;){if(E=a[a.length-1],this.defaultActions[E]?b=this.defaultActions[E]:((_===null||typeof _>"u")&&(_=ut()),b=w[E]&&w[E][_]),typeof b>"u"||!b.length||!b[0]){var O="";B=[];for(N in w[E])this.terminals_[N]&&N>lt&&B.push("'"+this.terminals_[N]+"'");x.showPosition?O="Parse error on line "+(R+1)+`:
`+x.showPosition()+`
Expecting `+B.join(", ")+", got '"+(this.terminals_[_]||_)+"'":O="Parse error on line "+(R+1)+": Unexpected "+(_==J?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(O,{text:x.match,token:this.terminals_[_]||_,line:x.yylineno,loc:Y,expected:B})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+_);switch(b[0]){case 1:a.push(_),d.push(x.yytext),o.push(x.yylloc),a.push(b[1]),_=null,Z=x.yyleng,k=x.yytext,R=x.yylineno,Y=x.yylloc;break;case 2:if(T=this.productions_[b[1]][1],A.$=d[d.length-T],A._$={first_line:o[o.length-(T||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(T||1)].first_column,last_column:o[o.length-1].last_column},ht&&(A._$.range=[o[o.length-(T||1)].range[0],o[o.length-1].range[1]]),q=this.performAction.apply(A,[k,Z,R,S.yy,b[1],d,o].concat(ct)),typeof q<"u")return q;T&&(a=a.slice(0,-1*T*2),d=d.slice(0,-1*T),o=o.slice(0,-1*T)),a.push(this.productions_[b[1]][0]),d.push(A.$),o.push(A._$),K=w[a[a.length-2]][a[a.length-1]],a.push(K);break;case 3:return!0}}return!0}},m=function(){var p={EOF:1,parseError:function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},setInput:function(s,r){return this.yy=r||this.yy||{},this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var r=s.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var r=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var u=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),a.length-1&&(this.yylineno-=a.length-1);var d=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:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),r=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
`+r+"^"},test_match:function(s,r){var a,u,d;if(this.options.backtrack_lexer&&(d={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&&(d.yylloc.range=this.yylloc.range.slice(0))),u=s[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],a=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var o in d)this[o]=d[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,r,a,u;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),o=0;o<d.length;o++)if(a=this._input.match(this.rules[d[o]]),a&&(!r||a[0].length>r[0].length)){if(r=a,u=o,this.options.backtrack_lexer){if(s=this.test_match(a,d[o]),s!==!1)return s;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(s=this.test_match(r,d[u]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>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(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,a,u,d){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return p}();y.lexer=m;function g(){this.yy={}}return g.prototype=y,y.Parser=g,new g}();G.parser=G;const wt=G;let C="";const H=[],V=[],F=[],Tt=function(){H.length=0,V.length=0,C="",F.length=0,xt()},$t=function(t){C=t,H.push(t)},Mt=function(){return H},St=function(){let t=D();const e=100;let i=0;for(;!t&&i<e;)t=D(),i++;return V.push(...F),V},Et=function(){const t=[];return V.forEach(i=>{i.people&&t.push(...i.people)}),[...new Set(t)].sort()},Pt=function(t,e){const i=e.substr(1).split(":");let l=0,n=[];i.length===1?(l=Number(i[0]),n=[]):(l=Number(i[0]),n=i[1].split(","));const h=n.map(f=>f.trim()),c={section:C,type:C,people:h,task:t,score:l};F.push(c)},It=function(t){const e={section:C,type:C,description:t,task:t,classes:[]};V.push(e)},D=function(){const t=function(i){return F[i].processed};let e=!0;for(const[i,l]of F.entries())t(i),e=e&&l.processed;return e},At=function(){return Et()},tt={getConfig:()=>I().journey,clear:Tt,setDiagramTitle:yt,getDiagramTitle:ft,setAccTitle:dt,getAccTitle:pt,setAccDescription:gt,getAccDescription:mt,addSection:$t,getSections:Mt,getTasks:St,addTask:Pt,addTaskOrg:It,getActors:At},Ct=t=>`.label {
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
color: ${t.textColor};
}
.mouth {
stroke: #666;
}
line {
stroke: ${t.textColor}
}
.legend {
fill: ${t.textColor};
}
.label text {
fill: #333;
}
.label {
color: ${t.textColor}
}
.face {
${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};
stroke: #999;
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${t.mainBkg};
stroke: ${t.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${t.arrowheadColor};
}
.edgePath .path {
stroke: ${t.lineColor};
stroke-width: 1.5px;
}
.flowchart-link {
stroke: ${t.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${t.edgeLabelBackground};
rect {
opacity: 0.5;
}
text-align: center;
}
.cluster rect {
}
.cluster text {
fill: ${t.titleColor};
}
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
font-size: 12px;
background: ${t.tertiaryColor};
border: 1px solid ${t.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.task-type-0, .section-type-0 {
${t.fillType0?`fill: ${t.fillType0}`:""};
}
.task-type-1, .section-type-1 {
${t.fillType0?`fill: ${t.fillType1}`:""};
}
.task-type-2, .section-type-2 {
${t.fillType0?`fill: ${t.fillType2}`:""};
}
.task-type-3, .section-type-3 {
${t.fillType0?`fill: ${t.fillType3}`:""};
}
.task-type-4, .section-type-4 {
${t.fillType0?`fill: ${t.fillType4}`:""};
}
.task-type-5, .section-type-5 {
${t.fillType0?`fill: ${t.fillType5}`:""};
}
.task-type-6, .section-type-6 {
${t.fillType0?`fill: ${t.fillType6}`:""};
}
.task-type-7, .section-type-7 {
${t.fillType0?`fill: ${t.fillType7}`:""};
}
.actor-0 {
${t.actor0?`fill: ${t.actor0}`:""};
}
.actor-1 {
${t.actor1?`fill: ${t.actor1}`:""};
}
.actor-2 {
${t.actor2?`fill: ${t.actor2}`:""};
}
.actor-3 {
${t.actor3?`fill: ${t.actor3}`:""};
}
.actor-4 {
${t.actor4?`fill: ${t.actor4}`:""};
}
.actor-5 {
${t.actor5?`fill: ${t.actor5}`:""};
}
`,Vt=Ct,U=function(t,e){return _t(t,e)},Ft=function(t,e){const l=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=t.append("g");n.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(y){const m=Q().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function c(y){const m=Q().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function f(y){y.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")}return e.score>3?h(n):e.score<3?c(n):f(n),l},rt=function(t,e){const i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),i.class!==void 0&&i.attr("class",i.class),e.title!==void 0&&i.append("title").text(e.title),i},at=function(t,e){return bt(t,e)},Lt=function(t,e){function i(n,h,c,f,y){return n+","+h+" "+(n+c)+","+h+" "+(n+c)+","+(h+f-y)+" "+(n+c-y*1.2)+","+(h+f)+" "+n+","+(h+f)}const l=t.append("polygon");l.attr("points",i(e.x,e.y,50,20,7)),l.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,at(t,e)},Rt=function(t,e,i){const l=t.append("g"),n=it();n.x=e.x,n.y=e.y,n.fill=e.fill,n.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),n.height=i.height,n.class="journey-section section-type-"+e.num,n.rx=3,n.ry=3,U(l,n),ot(i)(e.text,l,n.x,n.y,n.width,n.height,{class:"journey-section section-type-"+e.num},i,e.colour)};let et=-1;const Nt=function(t,e,i){const l=e.x+i.width/2,n=t.append("g");et++;const h=300+5*30;n.append("line").attr("id","task"+et).attr("x1",l).attr("y1",e.y).attr("x2",l).attr("y2",h).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Ft(n,{cx:l,cy:300+(5-e.score)*30,score:e.score});const c=it();c.x=e.x,c.y=e.y,c.fill=e.fill,c.width=i.width,c.height=i.height,c.class="task task-type-"+e.num,c.rx=3,c.ry=3,U(n,c);let f=e.x+14;e.people.forEach(y=>{const m=e.actors[y].color,g={cx:f,cy:e.y,r:7,fill:m,stroke:"#000",title:y,pos:e.actors[y].position};rt(n,g),f+=10}),ot(i)(e.task,n,c.x,c.y,c.width,c.height,{class:"task"},i,e.colour)},Bt=function(t,e){vt(t,e)},ot=function(){function t(n,h,c,f,y,m,g,p){const s=h.append("text").attr("x",c+y/2).attr("y",f+m/2+5).style("font-color",p).style("text-anchor","middle").text(n);l(s,g)}function e(n,h,c,f,y,m,g,p,s){const{taskFontSize:r,taskFontFamily:a}=p,u=n.split(/<br\s*\/?>/gi);for(let d=0;d<u.length;d++){const o=d*r-r*(u.length-1)/2,w=h.append("text").attr("x",c+y/2).attr("y",f).attr("fill",s).style("text-anchor","middle").style("font-size",r).style("font-family",a);w.append("tspan").attr("x",c+y/2).attr("dy",o).text(u[d]),w.attr("y",f+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(w,g)}}function i(n,h,c,f,y,m,g,p){const s=h.append("switch"),a=s.append("foreignObject").attr("x",c).attr("y",f).attr("width",y).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(n),e(n,s,c,f,y,m,g,p),l(a,g)}function l(n,h){for(const c in h)c in h&&n.attr(c,h[c])}return function(n){return n.textPlacement==="fo"?i:n.textPlacement==="old"?t:e}}(),jt=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")},L={drawRect:U,drawCircle:rt,drawSection:Rt,drawText:at,drawLabel:Lt,drawTask:Nt,drawBackgroundRect:Bt,initGraphics:jt},zt=function(t){Object.keys(t).forEach(function(i){j[i]=t[i]})},M={};function Yt(t){const e=I().journey;let i=60;Object.keys(M).forEach(l=>{const n=M[l].color,h={cx:20,cy:i,r:7,fill:n,stroke:"#000",pos:M[l].position};L.drawCircle(t,h);const c={x:40,y:i+7,fill:"#666",text:l,textMargin:e.boxTextMargin|5};L.drawText(t,c),i+=20})}const j=I().journey,P=j.leftMargin,qt=function(t,e,i,l){const n=I().journey,h=I().securityLevel;let c;h==="sandbox"&&(c=W("#i"+e));const f=h==="sandbox"?W(c.nodes()[0].contentDocument.body):W("body");v.init();const y=f.select("#"+e);L.initGraphics(y);const m=l.db.getTasks(),g=l.db.getDiagramTitle(),p=l.db.getActors();for(const o in M)delete M[o];let s=0;p.forEach(o=>{M[o]={color:n.actorColours[s%n.actorColours.length],position:s},s++}),Yt(y),v.insert(0,0,P,Object.keys(M).length*50),Ot(y,m,0);const r=v.getBounds();g&&y.append("text").text(g).attr("x",P).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const a=r.stopy-r.starty+2*n.diagramMarginY,u=P+r.stopx+2*n.diagramMarginX;kt(y,a,u,n.useMaxWidth),y.append("line").attr("x1",P).attr("y1",n.height*4).attr("x2",u-P-4).attr("y2",n.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const d=g?70:0;y.attr("viewBox",`${r.startx} -25 ${u} ${a+d}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",a+d+25)},v={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,i,l){t[e]===void 0?t[e]=i:t[e]=l(i,t[e])},updateBounds:function(t,e,i,l){const n=I().journey,h=this;let c=0;function f(y){return function(g){c++;const p=h.sequenceItems.length-c+1;h.updateVal(g,"starty",e-p*n.boxMargin,Math.min),h.updateVal(g,"stopy",l+p*n.boxMargin,Math.max),h.updateVal(v.data,"startx",t-p*n.boxMargin,Math.min),h.updateVal(v.data,"stopx",i+p*n.boxMargin,Math.max),y!=="activation"&&(h.updateVal(g,"startx",t-p*n.boxMargin,Math.min),h.updateVal(g,"stopx",i+p*n.boxMargin,Math.max),h.updateVal(v.data,"starty",e-p*n.boxMargin,Math.min),h.updateVal(v.data,"stopy",l+p*n.boxMargin,Math.max))}}this.sequenceItems.forEach(f())},insert:function(t,e,i,l){const n=Math.min(t,i),h=Math.max(t,i),c=Math.min(e,l),f=Math.max(e,l);this.updateVal(v.data,"startx",n,Math.min),this.updateVal(v.data,"starty",c,Math.min),this.updateVal(v.data,"stopx",h,Math.max),this.updateVal(v.data,"stopy",f,Math.max),this.updateBounds(n,c,h,f)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},X=j.sectionFills,st=j.sectionColours,Ot=function(t,e,i){const l=I().journey;let n="";const h=l.height*2+l.diagramMarginY,c=i+h;let f=0,y="#CCC",m="black",g=0;for(const[p,s]of e.entries()){if(n!==s.section){y=X[f%X.length],g=f%X.length,m=st[f%st.length];let a=0;const u=s.section;for(let o=p;o<e.length&&e[o].section==u;o++)a=a+1;const d={x:p*l.taskMargin+p*l.width+P,y:50,text:s.section,fill:y,num:g,colour:m,taskCount:a};L.drawSection(t,d,l),n=s.section,f++}const r=s.people.reduce((a,u)=>(M[u]&&(a[u]=M[u]),a),{});s.x=p*l.taskMargin+p*l.width+P,s.y=c,s.width=l.diagramMarginX,s.height=l.diagramMarginY,s.colour=m,s.fill=y,s.num=g,s.actors=r,L.drawTask(t,s,l),v.insert(s.x,s.y,s.x+s.width+l.taskMargin,300+5*30)}},nt={setConf:zt,draw:qt},Ut={parser:wt,db:tt,renderer:nt,styles:Vt,init:t=>{nt.setConf(t.journey),tt.clear()}};export{Ut as diagram};
function t(e,a){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(a).domain(e);break}return this}export{t as i};
import{ay as Y,b8 as D,az as M}from"./index-Hfn5l4aw.js";var O=function(){var a=function(u,t,e,n){for(e=e||{},n=u.length;n--;e[u[n]]=t);return e},f=[6,9,10],m={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,s,r,i,d){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},a(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},a(f,[2,3]),a(f,[2,4]),a(f,[2,5]),a(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],d=this.table,P="",b=0,L=0,N=2,T=1,R=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(p.yy[E]=this.yy[E]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var z=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var y;return y=s.pop()||o.lex()||T,typeof y!="number"&&(y instanceof Array&&(s=y,y=s.pop()),y=e.symbols_[y]||y),y}for(var l,g,h,w,_={},v,c,F,S;;){if(g=n[n.length-1],this.defaultActions[g]?h=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),h=d[g]&&d[g][l]),typeof h>"u"||!h.length||!h[0]){var A="";S=[];for(v in d[g])this.terminals_[v]&&v>N&&S.push("'"+this.terminals_[v]+"'");o.showPosition?A="Parse error on line "+(b+1)+`:
`+o.showPosition()+`
Expecting `+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":A="Parse error on line "+(b+1)+": Unexpected "+(l==T?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(A,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:I,expected:S})}if(h[0]instanceof Array&&h.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+l);switch(h[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(h[1]),l=null,L=o.yyleng,P=o.yytext,b=o.yylineno,I=o.yylloc;break;case 2:if(c=this.productions_[h[1]][1],_.$=r[r.length-c],_._$={first_line:i[i.length-(c||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(c||1)].first_column,last_column:i[i.length-1].last_column},z&&(_._$.range=[i[i.length-(c||1)].range[0],i[i.length-1].range[1]]),w=this.performAction.apply(_,[P,L,b,p.yy,h[1],r,i].concat(R)),typeof w<"u")return w;c&&(n=n.slice(0,-1*c*2),r=r.slice(0,-1*c),i=i.slice(0,-1*c)),n.push(this.productions_[h[1]][0]),r.push(_.$),i.push(_._$),F=d[n[n.length-2]][n[n.length-1]],n.push(F);break;case 3:return!0}}return!0}},k=function(){var u={EOF:1,parseError:function(e,n){if(this.yy.parser)this.yy.parser.parseError(e,n);else throw new Error(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];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(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 s=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===s.length?this.yylloc.first_column:0)+s[s.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(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},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()+`
`+e+"^"},test_match:function(t,e){var n,s,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))),s=t[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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 i in r)this[i]=r[i];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,e,n,s;this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),i=0;i<r.length;i++)if(n=this._input.match(this.rules[r[i]]),n&&(!e||n[0].length>e[0].length)){if(e=n,s=i,this.options.backtrack_lexer){if(t=this.test_match(n,r[i]),t!==!1)return t;if(this._backtrack){e=!1;continue}else return!1}else if(!this.options.flex)break}return e?(t=this.test_match(e,r[s]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){var e=this.conditionStack.length-1;return e>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(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,n,s,r){switch(s){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}}};return u}();m.lexer=k;function x(){this.yy={}}return x.prototype=m,m.Parser=x,new x}();O.parser=O;const B=O,j={info:!1};let $=j.info;const V=a=>{$=a},X=()=>$,q=()=>{$=j.info},C={clear:q,setInfo:V,getInfo:X},G=(a,f,m)=>{Y.debug(`rendering info diagram
`+a);const k=D(f);M(k,100,400,!0),k.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${m}`)},H={draw:G},K={parser:B,db:C,renderer:H};export{K as diagram};
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
* @vue/shared v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ki(t,e){const n=new Set(t.split(","));return e?i=>n.has(i.toLowerCase()):i=>n.has(i)}const Jt=Object.freeze({}),vo=Object.freeze([]),Be=()=>{},P0=()=>!1,ia=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),xl=t=>t.startsWith("onUpdate:"),oe=Object.assign,Sf=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Hx=Object.prototype.hasOwnProperty,Nt=(t,e)=>Hx.call(t,e),gt=Array.isArray,Fr=t=>ra(t)==="[object Map]",R0=t=>ra(t)==="[object Set]",qx=t=>ra(t)==="[object RegExp]",wt=t=>typeof t=="function",te=t=>typeof t=="string",Ro=t=>typeof t=="symbol",Ut=t=>t!==null&&typeof t=="object",kf=t=>(Ut(t)||wt(t))&&wt(t.then)&&wt(t.catch),N0=Object.prototype.toString,ra=t=>N0.call(t),Af=t=>ra(t).slice(8,-1),D0=t=>ra(t)==="[object Object]",Ef=t=>te(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Za=ki(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zx=ki("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),gc=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Vx=/-(\w)/g,Qn=gc(t=>t.replace(Vx,(e,n)=>n?n.toUpperCase():"")),Wx=/\B([A-Z])/g,xi=gc(t=>t.replace(Wx,"-$1").toLowerCase()),Vr=gc(t=>t.charAt(0).toUpperCase()+t.slice(1)),xr=gc(t=>t?`on${Vr(t)}`:""),ir=(t,e)=>!Object.is(t,e),Tr=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Cl=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Ux=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Yx=t=>{const e=te(t)?Number(t):NaN;return isNaN(e)?t:e};let gp;const $f=()=>gp||(gp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ae(t){if(gt(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=te(i)?Zx(i):Ae(i);if(r)for(const o in r)e[o]=r[o]}return e}else if(te(t)||Ut(t))return t}const Gx=/;(?![^(]*\))/g,Kx=/:([^]+)/,Xx=/\/\*[^]*?\*\//g;function Zx(t){const e={};return t.replace(Xx,"").split(Gx).forEach(n=>{if(n){const i=n.split(Kx);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function ee(t){let e="";if(te(t))e=t;else if(gt(t))for(let n=0;n<t.length;n++){const i=ee(t[n]);i&&(e+=i+" ")}else if(Ut(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function oa(t){if(!t)return null;let{class:e,style:n}=t;return e&&!te(e)&&(t.class=ee(e)),n&&(t.style=Ae(n)),t}const Jx="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Qx="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",tC="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",j0=ki(Jx),eC=ki(Qx),nC=ki(tC),iC="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",rC=ki(iC);function H0(t){return!!t||t===""}const yn=t=>te(t)?t:t==null?"":gt(t)||Ut(t)&&(t.toString===N0||!wt(t.toString))?JSON.stringify(t,q0,2):String(t),q0=(t,e)=>e&&e.__v_isRef?q0(t,e.value):Fr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,r],o)=>(n[au(i,o)+" =>"]=r,n),{})}:R0(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>au(n))}:Ro(e)?au(e):Ut(e)&&!gt(e)&&!D0(e)?String(e):e,au=(t,e="")=>{var n;return Ro(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
* @vue/reactivity v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function wl(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let nn;class z0{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nn,!e&&nn&&(this.index=(nn.scopes||(nn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=nn;try{return nn=this,e()}finally{nn=n}}else wl("cannot run an inactive effect scope.")}on(){nn=this}off(){nn=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function oC(t){return new z0(t)}function sC(t,e=nn){e&&e.active&&e.effects.push(t)}function V0(){return nn}function aC(t){nn?nn.cleanups.push(t):wl("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Br;class Lf{constructor(e,n,i,r){this.fn=e,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,sC(this,r)}get dirty(){if(this._dirtyLevel===1){cr();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(lC(n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),ur()}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Gi,n=Br;try{return Gi=!0,Br=this,this._runnings++,yp(this),this.fn()}finally{_p(this),this._runnings--,Br=n,Gi=e}}stop(){var e;this.active&&(yp(this),_p(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function lC(t){return t.value}function yp(t){t._trackId++,t._depsLength=0}function _p(t){if(t.deps&&t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)W0(t.deps[e],t);t.deps.length=t._depsLength}}function W0(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let Gi=!0,nh=0;const U0=[];function cr(){U0.push(Gi),Gi=!1}function ur(){const t=U0.pop();Gi=t===void 0?!0:t}function Of(){nh++}function Mf(){for(nh--;!nh&&ih.length;)ih.shift()()}function Y0(t,e,n){var i;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&W0(r,t),t.deps[t._depsLength++]=e):t._depsLength++,(i=t.onTrack)==null||i.call(t,oe({effect:t},n))}}const ih=[];function G0(t,e,n){var i;Of();for(const r of t.keys())if(r._dirtyLevel<e&&t.get(r)===r._trackId){const o=r._dirtyLevel;r._dirtyLevel=e,o===0&&(r._shouldSchedule=!0,(i=r.onTrigger)==null||i.call(r,oe({effect:r},n)),r.trigger())}K0(t),Mf()}function K0(t){for(const e of t.keys())e.scheduler&&e._shouldSchedule&&(!e._runnings||e.allowRecurse)&&t.get(e)===e._trackId&&(e._shouldSchedule=!1,ih.push(e.scheduler))}const X0=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},Tl=new WeakMap,Ir=Symbol("iterate"),rh=Symbol("Map key iterate");function Re(t,e,n){if(Gi&&Br){let i=Tl.get(t);i||Tl.set(t,i=new Map);let r=i.get(n);r||i.set(n,r=X0(()=>i.delete(n))),Y0(Br,r,{target:t,type:e,key:n})}}function Kn(t,e,n,i,r,o){const s=Tl.get(t);if(!s)return;let a=[];if(e==="clear")a=[...s.values()];else if(n==="length"&>(t)){const l=Number(i);s.forEach((c,u)=>{(u==="length"||!Ro(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(s.get(n)),e){case"add":gt(t)?Ef(n)&&a.push(s.get("length")):(a.push(s.get(Ir)),Fr(t)&&a.push(s.get(rh)));break;case"delete":gt(t)||(a.push(s.get(Ir)),Fr(t)&&a.push(s.get(rh)));break;case"set":Fr(t)&&a.push(s.get(Ir));break}Of();for(const l of a)l&&G0(l,2,{target:t,type:e,key:n,newValue:i,oldValue:r,oldTarget:o});Mf()}function cC(t,e){var n;return(n=Tl.get(t))==null?void 0:n.get(e)}const uC=ki("__proto__,__v_isRef,__isVue"),Z0=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ro)),vp=hC();function hC(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=At(this);for(let o=0,s=this.length;o<s;o++)Re(i,"get",o+"");const r=i[e](...n);return r===-1||r===!1?i[e](...n.map(At)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){cr(),Of();const i=At(this)[e].apply(this,n);return Mf(),ur(),i}}),t}function fC(t){const e=At(this);return Re(e,"has",t),e.hasOwnProperty(t)}class J0{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,i){const r=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return i===(r?o?oy:ry:o?iy:ny).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const s=gt(e);if(!r){if(s&&Nt(vp,n))return Reflect.get(vp,n,i);if(n==="hasOwnProperty")return fC}const a=Reflect.get(e,n,i);return(Ro(n)?Z0.has(n):uC(n))||(r||Re(e,"get",n),o)?a:Yt(a)?s&&Ef(n)?a:a.value:Ut(a)?r?Un(a):zt(a):a}}class Q0 extends J0{constructor(e=!1){super(!1,e)}set(e,n,i,r){let o=e[n];if(!this._shallow){const l=rr(o);if(!Sl(i)&&!rr(i)&&(o=At(o),i=At(i)),!gt(e)&&Yt(o)&&!Yt(i))return l?!1:(o.value=i,!0)}const s=gt(e)&&Ef(n)?Number(n)<e.length:Nt(e,n),a=Reflect.set(e,n,i,r);return e===At(r)&&(s?ir(i,o)&&Kn(e,"set",n,i,o):Kn(e,"add",n,i)),a}deleteProperty(e,n){const i=Nt(e,n),r=e[n],o=Reflect.deleteProperty(e,n);return o&&i&&Kn(e,"delete",n,void 0,r),o}has(e,n){const i=Reflect.has(e,n);return(!Ro(n)||!Z0.has(n))&&Re(e,"has",n),i}ownKeys(e){return Re(e,"iterate",gt(e)?"length":Ir),Reflect.ownKeys(e)}}class ty extends J0{constructor(e=!1){super(!0,e)}set(e,n){return wl(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return wl(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const dC=new Q0,pC=new ty,mC=new Q0(!0),gC=new ty(!0),Ff=t=>t,yc=t=>Reflect.getPrototypeOf(t);function Ta(t,e,n=!1,i=!1){t=t.__v_raw;const r=At(t),o=At(e);n||(ir(e,o)&&Re(r,"get",e),Re(r,"get",o));const{has:s}=yc(r),a=i?Ff:n?Bf:Ls;if(s.call(r,e))return a(t.get(e));if(s.call(r,o))return a(t.get(o));t!==r&&t.get(e)}function Sa(t,e=!1){const n=this.__v_raw,i=At(n),r=At(t);return e||(ir(t,r)&&Re(i,"has",t),Re(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function ka(t,e=!1){return t=t.__v_raw,!e&&Re(At(t),"iterate",Ir),Reflect.get(t,"size",t)}function bp(t){t=At(t);const e=At(this);return yc(e).has.call(e,t)||(e.add(t),Kn(e,"add",t,t)),this}function xp(t,e){e=At(e);const n=At(this),{has:i,get:r}=yc(n);let o=i.call(n,t);o?ey(n,i,t):(t=At(t),o=i.call(n,t));const s=r.call(n,t);return n.set(t,e),o?ir(e,s)&&Kn(n,"set",t,e,s):Kn(n,"add",t,e),this}function Cp(t){const e=At(this),{has:n,get:i}=yc(e);let r=n.call(e,t);r?ey(e,n,t):(t=At(t),r=n.call(e,t));const o=i?i.call(e,t):void 0,s=e.delete(t);return r&&Kn(e,"delete",t,void 0,o),s}function wp(){const t=At(this),e=t.size!==0,n=Fr(t)?new Map(t):new Set(t),i=t.clear();return e&&Kn(t,"clear",void 0,void 0,n),i}function Aa(t,e){return function(i,r){const o=this,s=o.__v_raw,a=At(s),l=e?Ff:t?Bf:Ls;return!t&&Re(a,"iterate",Ir),s.forEach((c,u)=>i.call(r,l(c),l(u),o))}}function Ea(t,e,n){return function(...i){const r=this.__v_raw,o=At(r),s=Fr(o),a=t==="entries"||t===Symbol.iterator&&s,l=t==="keys"&&s,c=r[t](...i),u=n?Ff:e?Bf:Ls;return!e&&Re(o,"iterate",l?rh:Ir),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function Mi(t){return function(...e){{const n=e[0]?`on key "${e[0]}" `:"";console.warn(`${Vr(t)} operation ${n}failed: target is readonly.`,At(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function yC(){const t={get(o){return Ta(this,o)},get size(){return ka(this)},has:Sa,add:bp,set:xp,delete:Cp,clear:wp,forEach:Aa(!1,!1)},e={get(o){return Ta(this,o,!1,!0)},get size(){return ka(this)},has:Sa,add:bp,set:xp,delete:Cp,clear:wp,forEach:Aa(!1,!0)},n={get(o){return Ta(this,o,!0)},get size(){return ka(this,!0)},has(o){return Sa.call(this,o,!0)},add:Mi("add"),set:Mi("set"),delete:Mi("delete"),clear:Mi("clear"),forEach:Aa(!0,!1)},i={get(o){return Ta(this,o,!0,!0)},get size(){return ka(this,!0)},has(o){return Sa.call(this,o,!0)},add:Mi("add"),set:Mi("set"),delete:Mi("delete"),clear:Mi("clear"),forEach:Aa(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Ea(o,!1,!1),n[o]=Ea(o,!0,!1),e[o]=Ea(o,!1,!0),i[o]=Ea(o,!0,!0)}),[t,n,e,i]}const[_C,vC,bC,xC]=yC();function _c(t,e){const n=e?t?xC:bC:t?vC:_C;return(i,r,o)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(Nt(n,r)&&r in i?n:i,r,o)}const CC={get:_c(!1,!1)},wC={get:_c(!1,!0)},TC={get:_c(!0,!1)},SC={get:_c(!0,!0)};function ey(t,e,n){const i=At(n);if(i!==n&&e.call(t,i)){const r=Af(t);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const ny=new WeakMap,iy=new WeakMap,ry=new WeakMap,oy=new WeakMap;function kC(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function AC(t){return t.__v_skip||!Object.isExtensible(t)?0:kC(Af(t))}function zt(t){return rr(t)?t:vc(t,!1,dC,CC,ny)}function sy(t){return vc(t,!1,mC,wC,iy)}function Un(t){return vc(t,!0,pC,TC,ry)}function mo(t){return vc(t,!0,gC,SC,oy)}function vc(t,e,n,i,r){if(!Ut(t))return console.warn(`value cannot be made reactive: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=r.get(t);if(o)return o;const s=AC(t);if(s===0)return t;const a=new Proxy(t,s===2?i:n);return r.set(t,a),a}function Pr(t){return rr(t)?Pr(t.__v_raw):!!(t&&t.__v_isReactive)}function rr(t){return!!(t&&t.__v_isReadonly)}function Sl(t){return!!(t&&t.__v_isShallow)}function kl(t){return Pr(t)||rr(t)}function At(t){const e=t&&t.__v_raw;return e?At(e):t}function bc(t){return Cl(t,"__v_skip",!0),t}const Ls=t=>Ut(t)?zt(t):t,Bf=t=>Ut(t)?Un(t):t;class ay{constructor(e,n,i,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Lf(()=>e(this._value),()=>ms(this,1),()=>this.dep&&K0(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=At(this);return(!e._cacheable||e.effect.dirty)&&ir(e._value,e._value=e.effect.run())&&ms(e,2),If(e),e.effect._dirtyLevel>=1&&ms(e,1),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function EC(t,e,n=!1){let i,r;const o=wt(t);o?(i=t,r=()=>{console.warn("Write operation failed: computed value is readonly")}):(i=t.get,r=t.set);const s=new ay(i,r,o||!r,n);return e&&!n&&(s.effect.onTrack=e.onTrack,s.effect.onTrigger=e.onTrigger),s}function If(t){Gi&&Br&&(t=At(t),Y0(Br,t.dep||(t.dep=X0(()=>t.dep=void 0,t instanceof ay?t:void 0)),{target:t,type:"get",key:"value"}))}function ms(t,e=2,n){t=At(t);const i=t.dep;i&&G0(i,e,{target:t,type:"set",key:"value",newValue:n})}function Yt(t){return!!(t&&t.__v_isRef===!0)}function tt(t){return ly(t,!1)}function ti(t){return ly(t,!0)}function ly(t,e){return Yt(t)?t:new $C(t,e)}class $C{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:At(e),this._value=n?e:Ls(e)}get value(){return If(this),this._value}set value(e){const n=this.__v_isShallow||Sl(e)||rr(e);e=n?e:At(e),ir(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Ls(e),ms(this,2,e))}}function O(t){return Yt(t)?t.value:t}const LC={get:(t,e,n)=>O(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Yt(r)&&!Yt(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function cy(t){return Pr(t)?t:new Proxy(t,LC)}class OC{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=e(()=>If(this),()=>ms(this));this._get=n,this._set=i}get value(){return this._get()}set value(e){this._set(e)}}function Pf(t){return new OC(t)}function MC(t){kl(t)||console.warn("toRefs() expects a reactive object but received a plain one.");const e=gt(t)?new Array(t.length):{};for(const n in t)e[n]=uy(t,n);return e}class FC{constructor(e,n,i){this._object=e,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return cC(At(this._object),this._key)}}class BC{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ai(t,e,n){return Yt(t)?t:wt(t)?new BC(t):Ut(t)&&arguments.length>1?uy(t,e,n):tt(t)}function uy(t,e,n){const i=t[e];return Yt(i)?i:new FC(t,e,n)}/**
* @vue/runtime-core v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Rr=[];function Ja(t){Rr.push(t)}function Qa(){Rr.pop()}function G(t,...e){cr();const n=Rr.length?Rr[Rr.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=IC();if(i)_i(i,n,11,[t+e.join(""),n&&n.proxy,r.map(({vnode:o})=>`at <${$c(n,o.type)}>`).join(`
`),r]);else{const o=[`[Vue warn]: ${t}`,...e];r.length&&o.push(`
`,...PC(r)),console.warn(...o)}ur()}function IC(){let t=Rr[Rr.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function PC(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
`],...RC(n))}),e}function RC({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${$c(t.component,t.type,i)}`,o=">"+n;return t.props?[r,...NC(t.props),o]:[r+o]}function NC(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...hy(i,t[i]))}),n.length>3&&e.push(" ..."),e}function hy(t,e,n){return te(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Yt(e)?(e=hy(t,At(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):wt(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=At(e),n?e:[`${t}=`,e])}function DC(t,e){t!==void 0&&(typeof t!="number"?G(`${e} is not a valid number - got ${JSON.stringify(t)}.`):isNaN(t)&&G(`${e} is NaN - the duration expression might be incorrect.`))}const Rf={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function _i(t,e,n,i){let r;try{r=i?t(...i):t()}catch(o){sa(o,e,n)}return r}function _n(t,e,n,i){if(wt(t)){const o=_i(t,e,n,i);return o&&kf(o)&&o.catch(s=>{sa(s,e,n)}),o}const r=[];for(let o=0;o<t.length;o++)r.push(_n(t[o],e,n,i));return r}function sa(t,e,n,i=!0){const r=e?e.vnode:null;if(e){let o=e.parent;const s=e.proxy,a=Rf[n];for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](t,s,a)===!1)return}o=o.parent}const l=e.appContext.config.errorHandler;if(l){_i(l,null,10,[t,s,a]);return}}jC(t,n,r,i)}function jC(t,e,n,i=!0){{const r=Rf[e];if(n&&Ja(n),G(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Qa(),i)throw t;console.error(t)}}let Os=!1,oh=!1;const Oe=[];let Vn=0;const bo=[];let mi=null,Ni=0;const fy=Promise.resolve();let Nf=null;const HC=100;function ke(t){const e=Nf||fy;return t?e.then(this?t.bind(this):t):e}function qC(t){let e=Vn+1,n=Oe.length;for(;e<n;){const i=e+n>>>1,r=Oe[i],o=Ms(r);o<t||o===t&&r.pre?e=i+1:n=i}return e}function xc(t){(!Oe.length||!Oe.includes(t,Os&&t.allowRecurse?Vn+1:Vn))&&(t.id==null?Oe.push(t):Oe.splice(qC(t.id),0,t),dy())}function dy(){!Os&&!oh&&(oh=!0,Nf=fy.then(gy))}function zC(t){const e=Oe.indexOf(t);e>Vn&&Oe.splice(e,1)}function py(t){gt(t)?bo.push(...t):(!mi||!mi.includes(t,t.allowRecurse?Ni+1:Ni))&&bo.push(t),dy()}function Tp(t,e,n=Os?Vn+1:0){for(e=e||new Map;n<Oe.length;n++){const i=Oe[n];if(i&&i.pre){if(t&&i.id!==t.uid||Df(e,i))continue;Oe.splice(n,1),n--,i()}}}function my(t){if(bo.length){const e=[...new Set(bo)].sort((n,i)=>Ms(n)-Ms(i));if(bo.length=0,mi){mi.push(...e);return}for(mi=e,t=t||new Map,Ni=0;Ni<mi.length;Ni++)Df(t,mi[Ni])||mi[Ni]();mi=null,Ni=0}}const Ms=t=>t.id==null?1/0:t.id,VC=(t,e)=>{const n=Ms(t)-Ms(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function gy(t){oh=!1,Os=!0,t=t||new Map,Oe.sort(VC);const e=n=>Df(t,n);try{for(Vn=0;Vn<Oe.length;Vn++){const n=Oe[Vn];if(n&&n.active!==!1){if(e(n))continue;_i(n,null,14)}}}finally{Vn=0,Oe.length=0,my(t),Os=!1,Nf=null,(Oe.length||bo.length)&&gy(t)}}function Df(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>HC){const i=e.ownerInstance,r=i&&Is(i.type);return sa(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,n+1)}}let Ki=!1;const fo=new Set;$f().__VUE_HMR_RUNTIME__={createRecord:lu(yy),rerender:lu(YC),reload:lu(GC)};const Wr=new Map;function WC(t){const e=t.type.__hmrId;let n=Wr.get(e);n||(yy(e,t.type),n=Wr.get(e)),n.instances.add(t)}function UC(t){Wr.get(t.type.__hmrId).instances.delete(t)}function yy(t,e){return Wr.has(t)?!1:(Wr.set(t,{initialDef:gs(e),instances:new Set}),!0)}function gs(t){return t_(t)?t.__vccOpts:t}function YC(t,e){const n=Wr.get(t);n&&(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,gs(i.type).render=e),i.renderCache=[],Ki=!0,i.effect.dirty=!0,i.update(),Ki=!1}))}function GC(t,e){const n=Wr.get(t);if(!n)return;e=gs(e),Sp(n.initialDef,e);const i=[...n.instances];for(const r of i){const o=gs(r.type);fo.has(o)||(o!==n.initialDef&&Sp(o,e),fo.add(o)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(fo.add(o),r.ceReload(e.styles),fo.delete(o)):r.parent?(r.parent.effect.dirty=!0,xc(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}py(()=>{for(const r of i)fo.delete(gs(r.type))})}function Sp(t,e){oe(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function lu(t){return(e,n)=>{try{return t(e,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Wn,as=[],sh=!1;function aa(t,...e){Wn?Wn.emit(t,...e):sh||as.push({event:t,args:e})}function _y(t,e){var n,i;Wn=t,Wn?(Wn.enabled=!0,as.forEach(({event:r,args:o})=>Wn.emit(r,...o)),as=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{_y(o,e)}),setTimeout(()=>{Wn||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sh=!0,as=[])},3e3)):(sh=!0,as=[])}function KC(t,e){aa("app:init",t,e,{Fragment:It,Text:ua,Comment:Ce,Static:tl})}function XC(t){aa("app:unmount",t)}const ah=jf("component:added"),vy=jf("component:updated"),ZC=jf("component:removed"),JC=t=>{Wn&&typeof Wn.cleanupBuffer=="function"&&!Wn.cleanupBuffer(t)&&ZC(t)};function jf(t){return e=>{aa(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const QC=by("perf:start"),tw=by("perf:end");function by(t){return(e,n,i)=>{aa(t,e.appContext.app,e.uid,e,n,i)}}function ew(t,e,n){aa("component:emit",t.appContext.app,t,e,n)}function nw(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||Jt;{const{emitsOptions:u,propsOptions:[h]}=t;if(u)if(!(e in u))(!h||!(xr(e)in h))&&G(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${xr(e)}" prop.`);else{const f=u[e];wt(f)&&(f(...n)||G(`Invalid event arguments: event validation failed for event "${e}".`))}}let r=n;const o=e.startsWith("update:"),s=o&&e.slice(7);if(s&&s in i){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:h,trim:f}=i[u]||Jt;f&&(r=n.map(d=>te(d)?d.trim():d)),h&&(r=n.map(Ux))}ew(t,e,r);{const u=e.toLowerCase();u!==e&&i[xr(u)]&&G(`Event "${u}" is emitted in component ${$c(t,t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${xi(e)}" instead of "${e}".`)}let a,l=i[a=xr(e)]||i[a=xr(Qn(e))];!l&&o&&(l=i[a=xr(xi(e))]),l&&_n(l,t,6,r);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,_n(c,t,6,r)}}function xy(t,e,n=!1){const i=e.emitsCache,r=i.get(t);if(r!==void 0)return r;const o=t.emits;let s={},a=!1;if(!wt(t)){const l=c=>{const u=xy(c,e,!0);u&&(a=!0,oe(s,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(Ut(t)&&i.set(t,null),null):(gt(o)?o.forEach(l=>s[l]=null):oe(s,o),Ut(t)&&i.set(t,s),s)}function Cc(t,e){return!t||!ia(e)?!1:(e=e.slice(2).replace(/Once$/,""),Nt(t,e[0].toLowerCase()+e.slice(1))||Nt(t,xi(e))||Nt(t,e))}let fe=null,wc=null;function Al(t){const e=fe;return fe=t,wc=t&&t.type.__scopeId||null,e}function dW(t){wc=t}function pW(){wc=null}function _e(t,e=fe,n){if(!e||t._n)return t;const i=(...r)=>{i._d&&Hp(-1);const o=Al(e);let s;try{s=t(...r)}finally{Al(o),i._d&&Hp(1)}return vy(e),s};return i._n=!0,i._c=!0,i._d=!0,i}let lh=!1;function El(){lh=!0}function cu(t){const{type:e,vnode:n,proxy:i,withProxy:r,props:o,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:f,setupState:d,ctx:p,inheritAttrs:g}=t;let y,b;const v=Al(t);lh=!1;try{if(n.shapeFlag&4){const S=r||i,B=d.__isScriptSetup?new Proxy(S,{get(C,P,E){return G(`Property '${String(P)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,P,E)}}):S;y=Bn(u.call(B,S,h,o,d,f,p)),b=l}else{const S=e;l===o&&El(),y=Bn(S.length>1?S(o,{get attrs(){return El(),l},slots:a,emit:c}):S(o,null)),b=e.props?l:iw(l)}}catch(S){ys.length=0,sa(S,t,1),y=at(Ce)}let _=y,w;if(y.patchFlag>0&&y.patchFlag&2048&&([_,w]=Cy(y)),b&&g!==!1){const S=Object.keys(b),{shapeFlag:B}=_;if(S.length){if(B&7)s&&S.some(xl)&&(b=rw(b,s)),_=Nn(_,b);else if(!lh&&_.type!==Ce){const C=Object.keys(l),P=[],E=[];for(let F=0,ot=C.length;F<ot;F++){const V=C[F];ia(V)?xl(V)||P.push(V[2].toLowerCase()+V.slice(3)):E.push(V)}E.length&&G(`Extraneous non-props attributes (${E.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),P.length&&G(`Extraneous non-emits event listeners (${P.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(kp(_)||G("Runtime directive used on component with non-element root node. The directives will not function as intended."),_=Nn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(kp(_)||G("Component inside <Transition> renders non-element root node that cannot be animated."),_.transition=n.transition),w?w(_):y=_,Al(v),y}const Cy=t=>{const e=t.children,n=t.dynamicChildren,i=Hf(e,!1);if(i){if(i.patchFlag>0&&i.patchFlag&2048)return Cy(i)}else return[t,void 0];const r=e.indexOf(i),o=n?n.indexOf(i):-1,s=a=>{e[r]=a,n&&(o>-1?n[o]=a:a.patchFlag>0&&(t.dynamicChildren=[...n,a]))};return[Bn(i),s]};function Hf(t,e=!0){let n;for(let i=0;i<t.length;i++){const r=t[i];if(or(r)){if(r.type!==Ce||r.children==="v-if"){if(n)return;if(n=r,e&&n.patchFlag>0&&n.patchFlag&2048)return Hf(n.children)}}else return}return n}const iw=t=>{let e;for(const n in t)(n==="class"||n==="style"||ia(n))&&((e||(e={}))[n]=t[n]);return e},rw=(t,e)=>{const n={};for(const i in t)(!xl(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n},kp=t=>t.shapeFlag&7||t.type===Ce;function ow(t,e,n){const{props:i,children:r,component:o}=t,{props:s,children:a,patchFlag:l}=e,c=o.emitsOptions;if((r||a)&&Ki||e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?Ap(i,s,c):!!s;if(l&8){const u=e.dynamicProps;for(let h=0;h<u.length;h++){const f=u[h];if(s[f]!==i[f]&&!Cc(c,f))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:i===s?!1:i?s?Ap(i,s,c):!0:!!s;return!1}function Ap(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(e[o]!==t[o]&&!Cc(n,o))return!0}return!1}function sw({vnode:t,parent:e},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.el=t.el),i===t)(t=e.vnode).el=n,e=e.parent;else break}}const $l="components";function Ll(t,e){return Ty($l,t,!0,e)||t}const wy=Symbol.for("v-ndc");function aw(t){return te(t)?Ty($l,t,!1)||t:t||wy}function Ty(t,e,n=!0,i=!1){const r=fe||ye;if(r){const o=r.type;if(t===$l){const a=Is(o,!1);if(a&&(a===e||a===Qn(e)||a===Vr(Qn(e))))return o}const s=Ep(r[t]||o[t],e)||Ep(r.appContext[t],e);if(!s&&i)return o;if(n&&!s){const a=t===$l?`
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";G(`Failed to resolve ${t.slice(0,-1)}: ${e}${a}`)}return s}else G(`resolve${Vr(t.slice(0,-1))} can only be used in render() or setup().`)}function Ep(t,e){return t&&(t[e]||t[Qn(e)]||t[Vr(Qn(e))])}const Sy=t=>t.__isSuspense;function lw(t,e){e&&e.pendingBranch?gt(t)?e.effects.push(...t):e.effects.push(t):py(t)}const cw=Symbol.for("v-scx"),uw=()=>{{const t=kt(cw);return t||G("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function Xn(t,e){return qf(t,null,e)}const $a={};function $t(t,e,n){return wt(e)||G("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),qf(t,e,n)}function qf(t,e,{immediate:n,deep:i,flush:r,once:o,onTrack:s,onTrigger:a}=Jt){if(e&&o){const C=e;e=(...P)=>{C(...P),B()}}i!==void 0&&typeof i=="number"&&G('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),e||(n!==void 0&&G('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&G('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&G('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=C=>{G("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=ye,u=C=>i===!0?C:Er(C,i===!1?1:void 0);let h,f=!1,d=!1;if(Yt(t)?(h=()=>t.value,f=Sl(t)):Pr(t)?(h=()=>u(t),f=!0):gt(t)?(d=!0,f=t.some(C=>Pr(C)||Sl(C)),h=()=>t.map(C=>{if(Yt(C))return C.value;if(Pr(C))return u(C);if(wt(C))return _i(C,c,2);l(C)})):wt(t)?e?h=()=>_i(t,c,2):h=()=>(p&&p(),_n(t,c,3,[g])):(h=Be,l(t)),e&&i){const C=h;h=()=>Er(C())}let p,g=C=>{p=w.onStop=()=>{_i(C,c,4),p=w.onStop=void 0}},y;if(Ac)if(g=Be,e?n&&_n(e,c,3,[h(),d?[]:void 0,g]):h(),r==="sync"){const C=uw();y=C.__watcherHandles||(C.__watcherHandles=[])}else return Be;let b=d?new Array(t.length).fill($a):$a;const v=()=>{if(!(!w.active||!w.dirty))if(e){const C=w.run();(i||f||(d?C.some((P,E)=>ir(P,b[E])):ir(C,b)))&&(p&&p(),_n(e,c,3,[C,b===$a?void 0:d&&b[0]===$a?[]:b,g]),b=C)}else w.run()};v.allowRecurse=!!e;let _;r==="sync"?_=v:r==="post"?_=()=>Se(v,c&&c.suspense):(v.pre=!0,c&&(v.id=c.uid),_=()=>xc(v));const w=new Lf(h,Be,_),S=V0(),B=()=>{w.stop(),S&&Sf(S.effects,w)};return w.onTrack=s,w.onTrigger=a,e?n?v():b=w.run():r==="post"?Se(w.run.bind(w),c&&c.suspense):w.run(),y&&y.push(B),B}function hw(t,e,n){const i=this.proxy,r=te(t)?t.includes(".")?ky(i,t):()=>i[t]:t.bind(i,i);let o;wt(e)?o=e:(o=e.handler,n=e);const s=ha(this),a=qf(r,o.bind(i),n);return s(),a}function ky(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function Er(t,e,n=0,i){if(!Ut(t)||t.__v_skip)return t;if(e&&e>0){if(n>=e)return t;n++}if(i=i||new Set,i.has(t))return t;if(i.add(t),Yt(t))Er(t.value,e,n,i);else if(gt(t))for(let r=0;r<t.length;r++)Er(t[r],e,n,i);else if(R0(t)||Fr(t))t.forEach(r=>{Er(r,e,n,i)});else if(D0(t))for(const r in t)Er(t[r],e,n,i);return t}function Ay(t){zx(t)&&G("Do not use built-in directive ids as custom directive id: "+t)}function Ey(t,e){if(fe===null)return G("withDirectives can only be used inside render functions."),t;const n=Ec(fe)||fe.proxy,i=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[o,s,a,l=Jt]=e[r];o&&(wt(o)&&(o={mounted:o,updated:o}),o.deep&&Er(s),i.push({dir:o,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return t}function gr(t,e,n,i){const r=t.dirs,o=e&&e.dirs;for(let s=0;s<r.length;s++){const a=r[s];o&&(a.oldValue=o[s].value);let l=a.dir[i];l&&(cr(),_n(l,n,8,[t.el,a,t,e]),ur())}}const Di=Symbol("_leaveCb"),La=Symbol("_enterCb");function $y(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zr(()=>{t.isMounted=!0}),ca(()=>{t.isUnmounting=!0}),t}const hn=[Function,Array],Ly={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:hn,onEnter:hn,onAfterEnter:hn,onEnterCancelled:hn,onBeforeLeave:hn,onLeave:hn,onAfterLeave:hn,onLeaveCancelled:hn,onBeforeAppear:hn,onAppear:hn,onAfterAppear:hn,onAppearCancelled:hn},fw={name:"BaseTransition",props:Ly,setup(t,{slots:e}){const n=Tn(),i=$y();let r;return()=>{const o=e.default&&zf(e.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){let g=!1;for(const y of o)if(y.type!==Ce){if(g){G("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}s=y,g=!0}}const a=At(t),{mode:l}=a;if(l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&G(`invalid <transition> mode: ${l}`),i.isLeaving)return uu(s);const c=$p(s);if(!c)return uu(s);const u=Fs(c,a,i,n);ko(c,u);const h=n.subTree,f=h&&$p(h);let d=!1;const{getTransitionKey:p}=c.type;if(p){const g=p();r===void 0?r=g:g!==r&&(r=g,d=!0)}if(f&&f.type!==Ce&&(!Ui(c,f)||d)){const g=Fs(f,a,i,n);if(ko(f,g),l==="out-in")return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},uu(s);l==="in-out"&&c.type!==Ce&&(g.delayLeave=(y,b,v)=>{const _=Oy(i,f);_[String(f.key)]=f,y[Di]=()=>{b(),y[Di]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return s}}},dw=fw;function Oy(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Fs(t,e,n,i){const{appear:r,mode:o,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:v}=e,_=String(t.key),w=Oy(n,t),S=(P,E)=>{P&&_n(P,i,9,E)},B=(P,E)=>{const F=E[1];S(P,E),gt(P)?P.every(ot=>ot.length<=1)&&F():P.length<=1&&F()},C={mode:o,persisted:s,beforeEnter(P){let E=a;if(!n.isMounted)if(r)E=g||a;else return;P[Di]&&P[Di](!0);const F=w[_];F&&Ui(t,F)&&F.el[Di]&&F.el[Di](),S(E,[P])},enter(P){let E=l,F=c,ot=u;if(!n.isMounted)if(r)E=y||l,F=b||c,ot=v||u;else return;let V=!1;const W=P[La]=N=>{V||(V=!0,N?S(ot,[P]):S(F,[P]),C.delayedLeave&&C.delayedLeave(),P[La]=void 0)};E?B(E,[P,W]):W()},leave(P,E){const F=String(t.key);if(P[La]&&P[La](!0),n.isUnmounting)return E();S(h,[P]);let ot=!1;const V=P[Di]=W=>{ot||(ot=!0,E(),W?S(p,[P]):S(d,[P]),P[Di]=void 0,w[F]===t&&delete w[F])};w[F]=t,f?B(f,[P,V]):V()},clone(P){return Fs(P,e,n,i)}};return C}function uu(t){if(la(t))return t=Nn(t),t.children=null,t}function $p(t){return la(t)?t.component?t.component.subTree:t.children?t.children[0]:void 0:t}function ko(t,e){t.shapeFlag&6&&t.component?ko(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function zf(t,e=!1,n){let i=[],r=0;for(let o=0;o<t.length;o++){let s=t[o];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:o);s.type===It?(s.patchFlag&128&&r++,i=i.concat(zf(s.children,e,a))):(e||s.type!==Ce)&&i.push(a!=null?Nn(s,{key:a}):s)}if(r>1)for(let o=0;o<i.length;o++)i[o].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function jt(t,e){return wt(t)?oe({name:t.name},e,{setup:t}):t}const xo=t=>!!t.type.__asyncLoader,la=t=>t.type.__isKeepAlive,pw={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Tn(),i=n.ctx;if(!i.renderer)return()=>{const v=e.default&&e.default();return v&&v.length===1?v[0]:v};const r=new Map,o=new Set;let s=null;n.__v_cache=r;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:h}}}=i,f=h("div");i.activate=(v,_,w,S,B)=>{const C=v.component;c(v,_,w,0,a),l(C.vnode,v,_,w,C,a,S,v.slotScopeIds,B),Se(()=>{C.isDeactivated=!1,C.a&&Tr(C.a);const P=v.props&&v.props.onVnodeMounted;P&&dn(P,C.parent,v)},a),ah(C)},i.deactivate=v=>{const _=v.component;c(v,f,null,1,a),Se(()=>{_.da&&Tr(_.da);const w=v.props&&v.props.onVnodeUnmounted;w&&dn(w,_.parent,v),_.isDeactivated=!0},a),ah(_)};function d(v){hu(v),u(v,n,a,!0)}function p(v){r.forEach((_,w)=>{const S=Is(_.type);S&&(!v||!v(S))&&g(w)})}function g(v){const _=r.get(v);!s||!Ui(_,s)?d(_):s&&hu(s),r.delete(v),o.delete(v)}$t(()=>[t.include,t.exclude],([v,_])=>{v&&p(w=>ls(v,w)),_&&p(w=>!ls(_,w))},{flush:"post",deep:!0});let y=null;const b=()=>{y!=null&&r.set(y,fu(n.subTree))};return Zr(b),Sc(b),ca(()=>{r.forEach(v=>{const{subTree:_,suspense:w}=n,S=fu(_);if(v.type===S.type&&v.key===S.key){hu(S);const B=S.component.da;B&&Se(B,w);return}d(v)})}),()=>{if(y=null,!e.default)return null;const v=e.default(),_=v[0];if(v.length>1)return G("KeepAlive should contain exactly one component child."),s=null,v;if(!or(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return s=null,_;let w=fu(_);const S=w.type,B=Is(xo(w)?w.type.__asyncResolved||{}:S),{include:C,exclude:P,max:E}=t;if(C&&(!B||!ls(C,B))||P&&B&&ls(P,B))return s=w,_;const F=w.key==null?S:w.key,ot=r.get(F);return w.el&&(w=Nn(w),_.shapeFlag&128&&(_.ssContent=w)),y=F,ot?(w.el=ot.el,w.component=ot.component,w.transition&&ko(w,w.transition),w.shapeFlag|=512,o.delete(F),o.add(F)):(o.add(F),E&&o.size>parseInt(E,10)&&g(o.values().next().value)),w.shapeFlag|=256,s=w,Sy(_.type)?_:w}}},My=pw;function ls(t,e){return gt(t)?t.some(n=>ls(n,e)):te(t)?t.split(",").includes(e):qx(t)?t.test(e):!1}function Fy(t,e){Iy(t,"a",e)}function By(t,e){Iy(t,"da",e)}function Iy(t,e,n=ye){const i=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(Tc(e,i,n),n){let r=n.parent;for(;r&&r.parent;)la(r.parent.vnode)&&mw(i,e,n,r),r=r.parent}}function mw(t,e,n,i){const r=Tc(e,t,i,!0);Vf(()=>{Sf(i[e],r)},n)}function hu(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function fu(t){return t.shapeFlag&128?t.ssContent:t}function Tc(t,e,n=ye,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...s)=>{if(n.isUnmounted)return;cr();const a=ha(n),l=_n(e,n,t,s);return a(),ur(),l});return i?r.unshift(o):r.push(o),o}else{const r=xr(Rf[t].replace(/ hook$/,""));G(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Ei=t=>(e,n=ye)=>(!Ac||t==="sp")&&Tc(t,(...i)=>e(...i),n),gw=Ei("bm"),Zr=Ei("m"),yw=Ei("bu"),Sc=Ei("u"),ca=Ei("bum"),Vf=Ei("um"),_w=Ei("sp"),vw=Ei("rtg"),bw=Ei("rtc");function xw(t,e=ye){Tc("ec",t,e)}function No(t,e,n,i){let r;const o=n&&n[i];if(gt(t)||te(t)){r=new Array(t.length);for(let s=0,a=t.length;s<a;s++)r[s]=e(t[s],s,void 0,o&&o[s])}else if(typeof t=="number"){Number.isInteger(t)||G(`The v-for range expect an integer value but got ${t}.`),r=new Array(t);for(let s=0;s<t;s++)r[s]=e(s+1,s,void 0,o&&o[s])}else if(Ut(t))if(t[Symbol.iterator])r=Array.from(t,(s,a)=>e(s,a,void 0,o&&o[a]));else{const s=Object.keys(t);r=new Array(s.length);for(let a=0,l=s.length;a<l;a++){const c=s[a];r[a]=e(t[c],c,a,o&&o[a])}}else r=[];return n&&(n[i]=r),r}function He(t,e,n={},i,r){if(fe.isCE||fe.parent&&xo(fe.parent)&&fe.parent.isCE)return e!=="default"&&(n.name=e),at("slot",n,i&&i());let o=t[e];o&&o.length>1&&(G("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),o=()=>[]),o&&o._c&&(o._d=!1),R();const s=o&&Py(o(n)),a=Vt(It,{key:n.key||s&&s.key||`_${e}`},s||(i?i():[]),s&&t._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Py(t){return t.some(e=>or(e)?!(e.type===Ce||e.type===It&&!Py(e.children)):!0)?t:null}const ch=t=>t?Zy(t)?Ec(t)||t.proxy:ch(t.parent):null,Nr=oe(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>mo(t.props),$attrs:t=>mo(t.attrs),$slots:t=>mo(t.slots),$refs:t=>mo(t.refs),$parent:t=>ch(t.parent),$root:t=>ch(t.root),$emit:t=>t.emit,$options:t=>Uf(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,xc(t.update)}),$nextTick:t=>t.n||(t.n=ke.bind(t.proxy)),$watch:t=>hw.bind(t)}),Wf=t=>t==="_"||t==="$",du=(t,e)=>t!==Jt&&!t.__isScriptSetup&&Nt(t,e),Ry={get({_:t},e){const{ctx:n,setupState:i,data:r,props:o,accessCache:s,type:a,appContext:l}=t;if(e==="__isVue")return!0;let c;if(e[0]!=="$"){const d=s[e];if(d!==void 0)switch(d){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return o[e]}else{if(du(i,e))return s[e]=1,i[e];if(r!==Jt&&Nt(r,e))return s[e]=2,r[e];if((c=t.propsOptions[0])&&Nt(c,e))return s[e]=3,o[e];if(n!==Jt&&Nt(n,e))return s[e]=4,n[e];uh&&(s[e]=0)}}const u=Nr[e];let h,f;if(u)return e==="$attrs"?(Re(t,"get",e),El()):e==="$slots"&&Re(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Jt&&Nt(n,e))return s[e]=4,n[e];if(f=l.config.globalProperties,Nt(f,e))return f[e];fe&&(!te(e)||e.indexOf("__v")!==0)&&(r!==Jt&&Wf(e[0])&&Nt(r,e)?G(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===fe&&G(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:r,ctx:o}=t;return du(r,e)?(r[e]=n,!0):r.__isScriptSetup&&Nt(r,e)?(G(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==Jt&&Nt(i,e)?(i[e]=n,!0):Nt(t.props,e)?(G(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(G(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(e in t.appContext.config.globalProperties?Object.defineProperty(o,e,{enumerable:!0,configurable:!0,value:n}):o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:o}},s){let a;return!!n[s]||t!==Jt&&Nt(t,s)||du(e,s)||(a=o[0])&&Nt(a,s)||Nt(i,s)||Nt(Nr,s)||Nt(r.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Nt(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};Ry.ownKeys=t=>(G("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t));function Cw(t){const e={};return Object.defineProperty(e,"_",{configurable:!0,enumerable:!1,get:()=>t}),Object.keys(Nr).forEach(n=>{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,get:()=>Nr[n](t),set:Be})}),e}function ww(t){const{ctx:e,propsOptions:[n]}=t;n&&Object.keys(n).forEach(i=>{Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>t.props[i],set:Be})})}function Tw(t){const{ctx:e,setupState:n}=t;Object.keys(At(n)).forEach(i=>{if(!n.__isScriptSetup){if(Wf(i[0])){G(`setup() return property ${JSON.stringify(i)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>n[i],set:Be})}})}function Sw(){return kw().slots}function kw(){const t=Tn();return t||G("useContext() called without active instance."),t.setupContext||(t.setupContext=Qy(t))}function Lp(t){return gt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function Aw(){const t=Object.create(null);return(e,n)=>{t[n]?G(`${e} property "${n}" is already defined in ${t[n]}.`):t[n]=e}}let uh=!0;function Ew(t){const e=Uf(t),n=t.proxy,i=t.ctx;uh=!1,e.beforeCreate&&Op(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:f,beforeUpdate:d,updated:p,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:v,destroyed:_,unmounted:w,render:S,renderTracked:B,renderTriggered:C,errorCaptured:P,serverPrefetch:E,expose:F,inheritAttrs:ot,components:V,directives:W,filters:N}=e,j=Aw();{const[$]=t.propsOptions;if($)for(const z in $)j("Props",z)}if(c&&$w(c,i,j),s)for(const $ in s){const z=s[$];wt(z)?(Object.defineProperty(i,$,{value:z.bind(n),configurable:!0,enumerable:!0,writable:!0}),j("Methods",$)):G(`Method "${$}" has type "${typeof z}" in the component definition. Did you reference the function correctly?`)}if(r){wt(r)||G("The data option must be a function. Plain object usage is no longer supported.");const $=r.call(n,n);if(kf($)&&G("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Ut($))G("data() should return an object.");else{t.data=zt($);for(const z in $)j("Data",z),Wf(z[0])||Object.defineProperty(i,z,{configurable:!0,enumerable:!0,get:()=>$[z],set:Be})}}if(uh=!0,o)for(const $ in o){const z=o[$],D=wt(z)?z.bind(n,n):wt(z.get)?z.get.bind(n,n):Be;D===Be&&G(`Computed property "${$}" has no getter.`);const ut=!wt(z)&&wt(z.set)?z.set.bind(n):()=>{G(`Write operation failed: computed property "${$}" is readonly.`)},bt=A({get:D,set:ut});Object.defineProperty(i,$,{enumerable:!0,configurable:!0,get:()=>bt.value,set:Lt=>bt.value=Lt}),j("Computed",$)}if(a)for(const $ in a)Ny(a[$],i,n,$);if(l){const $=wt(l)?l.call(n):l;Reflect.ownKeys($).forEach(z=>{de(z,$[z])})}u&&Op(u,t,"c");function Y($,z){gt(z)?z.forEach(D=>$(D.bind(n))):z&&$(z.bind(n))}if(Y(gw,h),Y(Zr,f),Y(yw,d),Y(Sc,p),Y(Fy,g),Y(By,y),Y(xw,P),Y(bw,B),Y(vw,C),Y(ca,v),Y(Vf,w),Y(_w,E),gt(F))if(F.length){const $=t.exposed||(t.exposed={});F.forEach(z=>{Object.defineProperty($,z,{get:()=>n[z],set:D=>n[z]=D})})}else t.exposed||(t.exposed={});S&&t.render===Be&&(t.render=S),ot!=null&&(t.inheritAttrs=ot),V&&(t.components=V),W&&(t.directives=W)}function $w(t,e,n=Be){gt(t)&&(t=hh(t));for(const i in t){const r=t[i];let o;Ut(r)?"default"in r?o=kt(r.from||i,r.default,!0):o=kt(r.from||i):o=kt(r),Yt(o)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):e[i]=o,n("Inject",i)}}function Op(t,e,n){_n(gt(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function Ny(t,e,n,i){const r=i.includes(".")?ky(n,i):()=>n[i];if(te(t)){const o=e[t];wt(o)?$t(r,o):G(`Invalid watch handler specified by key "${t}"`,o)}else if(wt(t))$t(r,t.bind(n));else if(Ut(t))if(gt(t))t.forEach(o=>Ny(o,e,n,i));else{const o=wt(t.handler)?t.handler.bind(n):e[t.handler];wt(o)?$t(r,o,t):G(`Invalid watch handler specified by key "${t.handler}"`,o)}else G(`Invalid watch option: "${i}"`,t)}function Uf(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let l;return a?l=a:!r.length&&!n&&!i?l=e:(l={},r.length&&r.forEach(c=>Ol(l,c,s,!0)),Ol(l,e,s)),Ut(e)&&o.set(e,l),l}function Ol(t,e,n,i=!1){const{mixins:r,extends:o}=e;o&&Ol(t,o,n,!0),r&&r.forEach(s=>Ol(t,s,n,!0));for(const s in e)if(i&&s==="expose")G('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=Lw[s]||n&&n[s];t[s]=a?a(t[s],e[s]):e[s]}return t}const Lw={data:Mp,props:Fp,emits:Fp,methods:cs,computed:cs,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:cs,directives:cs,watch:Mw,provide:Mp,inject:Ow};function Mp(t,e){return e?t?function(){return oe(wt(t)?t.call(this,this):t,wt(e)?e.call(this,this):e)}:e:t}function Ow(t,e){return cs(hh(t),hh(e))}function hh(t){if(gt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ne(t,e){return t?[...new Set([].concat(t,e))]:e}function cs(t,e){return t?oe(Object.create(null),t,e):e}function Fp(t,e){return t?gt(t)&>(e)?[...new Set([...t,...e])]:oe(Object.create(null),Lp(t),Lp(e??{})):e}function Mw(t,e){if(!t)return e;if(!e)return t;const n=oe(Object.create(null),t);for(const i in e)n[i]=Ne(t[i],e[i]);return n}function Dy(){return{app:null,config:{isNativeTag:P0,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Fw=0;function Bw(t,e){return function(i,r=null){wt(i)||(i=oe({},i)),r!=null&&!Ut(r)&&(G("root props passed to app.mount() must be an object."),r=null);const o=Dy(),s=new WeakSet;let a=!1;const l=o.app={_uid:Fw++,_component:i,_props:r,_container:null,_context:o,_instance:null,version:vh,get config(){return o.config},set config(c){G("app.config cannot be replaced. Modify individual options instead.")},use(c,...u){return s.has(c)?G("Plugin has already been applied to target app."):c&&wt(c.install)?(s.add(c),c.install(l,...u)):wt(c)?(s.add(c),c(l,...u)):G('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return o.mixins.includes(c)?G("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):o.mixins.push(c),l},component(c,u){return yh(c,o.config),u?(o.components[c]&&G(`Component "${c}" has already been registered in target app.`),o.components[c]=u,l):o.components[c]},directive(c,u){return Ay(c),u?(o.directives[c]&&G(`Directive "${c}" has already been registered in target app.`),o.directives[c]=u,l):o.directives[c]},mount(c,u,h){if(a)G("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{c.__vue_app__&&G("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const f=at(i,r);return f.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),o.reload=()=>{t(Nn(f),c,h)},u&&e?e(f,c):t(f,c,h),a=!0,l._container=c,c.__vue_app__=l,l._instance=f.component,KC(l,vh),Ec(f.component)||f.component.proxy}},unmount(){a?(t(null,l._container),l._instance=null,XC(l),delete l._container.__vue_app__):G("Cannot unmount an app that is not mounted.")},provide(c,u){return c in o.provides&&G(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),o.provides[c]=u,l},runWithContext(c){Ml=l;try{return c()}finally{Ml=null}}};return l}}let Ml=null;function de(t,e){if(!ye)G("provide() can only be used inside setup().");else{let n=ye.provides;const i=ye.parent&&ye.parent.provides;i===n&&(n=ye.provides=Object.create(i)),n[t]=e}}function kt(t,e,n=!1){const i=ye||fe;if(i||Ml){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:Ml._context.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&wt(e)?e.call(i&&i.proxy):e;G(`injection "${String(t)}" not found.`)}else G("inject() can only be used inside setup() or functional components.")}function Iw(t,e,n,i=!1){const r={},o={};Cl(o,kc,1),t.propsDefaults=Object.create(null),jy(t,e,r,o);for(const s in t.propsOptions[0])s in r||(r[s]=void 0);qy(e||{},r,t),n?t.props=i?r:sy(r):t.type.props?t.props=r:t.props=o,t.attrs=o}function Pw(t){for(;t;){if(t.type.__hmrId)return!0;t=t.parent}}function Rw(t,e,n,i){const{props:r,attrs:o,vnode:{patchFlag:s}}=t,a=At(r),[l]=t.propsOptions;let c=!1;if(!Pw(t)&&(i||s>0)&&!(s&16)){if(s&8){const u=t.vnode.dynamicProps;for(let h=0;h<u.length;h++){let f=u[h];if(Cc(t.emitsOptions,f))continue;const d=e[f];if(l)if(Nt(o,f))d!==o[f]&&(o[f]=d,c=!0);else{const p=Qn(f);r[p]=fh(l,a,p,d,t,!1)}else d!==o[f]&&(o[f]=d,c=!0)}}}else{jy(t,e,r,o)&&(c=!0);let u;for(const h in a)(!e||!Nt(e,h)&&((u=xi(h))===h||!Nt(e,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(r[h]=fh(l,a,h,void 0,t,!0)):delete r[h]);if(o!==a)for(const h in o)(!e||!Nt(e,h))&&(delete o[h],c=!0)}c&&Kn(t,"set","$attrs"),qy(e||{},r,t)}function jy(t,e,n,i){const[r,o]=t.propsOptions;let s=!1,a;if(e)for(let l in e){if(Za(l))continue;const c=e[l];let u;r&&Nt(r,u=Qn(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Cc(t.emitsOptions,l)||(!(l in i)||c!==i[l])&&(i[l]=c,s=!0)}if(o){const l=At(n),c=a||Jt;for(let u=0;u<o.length;u++){const h=o[u];n[h]=fh(r,l,h,c[h],t,!Nt(c,h))}}return s}function fh(t,e,n,i,r,o){const s=t[n];if(s!=null){const a=Nt(s,"default");if(a&&i===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&wt(l)){const{propsDefaults:c}=r;if(n in c)i=c[n];else{const u=ha(r);i=c[n]=l.call(null,e),u()}}else i=l}s[0]&&(o&&!a?i=!1:s[1]&&(i===""||i===xi(n))&&(i=!0))}return i}function Hy(t,e,n=!1){const i=e.propsCache,r=i.get(t);if(r)return r;const o=t.props,s={},a=[];let l=!1;if(!wt(t)){const u=h=>{l=!0;const[f,d]=Hy(h,e,!0);oe(s,f),d&&a.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!l)return Ut(t)&&i.set(t,vo),vo;if(gt(o))for(let u=0;u<o.length;u++){te(o[u])||G("props must be strings when using array syntax.",o[u]);const h=Qn(o[u]);Bp(h)&&(s[h]=Jt)}else if(o){Ut(o)||G("invalid props options",o);for(const u in o){const h=Qn(u);if(Bp(h)){const f=o[u],d=s[h]=gt(f)||wt(f)?{type:f}:oe({},f);if(d){const p=Pp(Boolean,d.type),g=Pp(String,d.type);d[0]=p>-1,d[1]=g<0||p<g,(p>-1||Nt(d,"default"))&&a.push(h)}}}}const c=[s,a];return Ut(t)&&i.set(t,c),c}function Bp(t){return t[0]!=="$"?!0:(G(`Invalid prop name: "${t}" is a reserved property.`),!1)}function dh(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Ip(t,e){return dh(t)===dh(e)}function Pp(t,e){return gt(e)?e.findIndex(n=>Ip(n,t)):wt(e)&&Ip(e,t)?0:-1}function qy(t,e,n){const i=At(e),r=n.propsOptions[0];for(const o in r){let s=r[o];s!=null&&Nw(o,i[o],s,mo(i),!Nt(t,o)&&!Nt(t,xi(o)))}}function Nw(t,e,n,i,r){const{type:o,required:s,validator:a,skipCheck:l}=n;if(s&&r){G('Missing required prop: "'+t+'"');return}if(!(e==null&&!s)){if(o!=null&&o!==!0&&!l){let c=!1;const u=gt(o)?o:[o],h=[];for(let f=0;f<u.length&&!c;f++){const{valid:d,expectedType:p}=jw(e,u[f]);h.push(p||""),c=d}if(!c){G(Hw(t,e,h));return}}a&&!a(e,i)&&G('Invalid prop: custom validator check failed for prop "'+t+'".')}}const Dw=ki("String,Number,Boolean,Function,Symbol,BigInt");function jw(t,e){let n;const i=dh(e);if(Dw(i)){const r=typeof t;n=r===i.toLowerCase(),!n&&r==="object"&&(n=t instanceof e)}else i==="Object"?n=Ut(t):i==="Array"?n=gt(t):i==="null"?n=t===null:n=t instanceof e;return{valid:n,expectedType:i}}function Hw(t,e,n){if(n.length===0)return`Prop type [] for prop "${t}" won't match anything. Did you mean to use type Array instead?`;let i=`Invalid prop: type check failed for prop "${t}". Expected ${n.map(Vr).join(" | ")}`;const r=n[0],o=Af(e),s=Rp(e,r),a=Rp(e,o);return n.length===1&&Np(r)&&!qw(r,o)&&(i+=` with value ${s}`),i+=`, got ${o} `,Np(o)&&(i+=`with value ${a}.`),i}function Rp(t,e){return e==="String"?`"${t}"`:e==="Number"?`${Number(t)}`:`${t}`}function Np(t){return["string","number","boolean"].some(n=>t.toLowerCase()===n)}function qw(...t){return t.some(e=>e.toLowerCase()==="boolean")}const zy=t=>t[0]==="_"||t==="$stable",Yf=t=>gt(t)?t.map(Bn):[Bn(t)],zw=(t,e,n)=>{if(e._n)return e;const i=_e((...r)=>(ye&&(!n||n.root===ye.root)&&G(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Yf(e(...r))),n);return i._c=!1,i},Vy=(t,e,n)=>{const i=t._ctx;for(const r in t){if(zy(r))continue;const o=t[r];if(wt(o))e[r]=zw(r,o,i);else if(o!=null){G(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const s=Yf(o);e[r]=()=>s}}},Wy=(t,e)=>{la(t.vnode)||G("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Yf(e);t.slots.default=()=>n},Vw=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=At(e),Cl(e,"_",n)):Vy(e,t.slots={})}else t.slots={},e&&Wy(t,e);Cl(t.slots,kc,1)},Ww=(t,e,n)=>{const{vnode:i,slots:r}=t;let o=!0,s=Jt;if(i.shapeFlag&32){const a=e._;a?Ki?(oe(r,e),Kn(t,"set","$slots")):n&&a===1?o=!1:(oe(r,e),!n&&a===1&&delete r._):(o=!e.$stable,Vy(e,r)),s=e}else e&&(Wy(t,e),s={default:1});if(o)for(const a in r)!zy(a)&&s[a]==null&&delete r[a]};function ph(t,e,n,i,r=!1){if(gt(t)){t.forEach((f,d)=>ph(f,e&&(gt(e)?e[d]:e),n,i,r));return}if(xo(i)&&!r)return;const o=i.shapeFlag&4?Ec(i.component)||i.component.proxy:i.el,s=r?null:o,{i:a,r:l}=t;if(!a){G("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=e&&e.r,u=a.refs===Jt?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(te(c)?(u[c]=null,Nt(h,c)&&(h[c]=null)):Yt(c)&&(c.value=null)),wt(l))_i(l,a,12,[s,u]);else{const f=te(l),d=Yt(l),p=t.f;if(f||d){const g=()=>{if(p){const y=f?Nt(h,l)?h[l]:u[l]:l.value;r?gt(y)&&Sf(y,o):gt(y)?y.includes(o)||y.push(o):f?(u[l]=[o],Nt(h,l)&&(h[l]=u[l])):(l.value=[o],t.k&&(u[t.k]=l.value))}else f?(u[l]=s,Nt(h,l)&&(h[l]=s)):d?(l.value=s,t.k&&(u[t.k]=s)):G("Invalid template ref type:",l,`(${typeof l})`)};r||p?g():(g.id=-1,Se(g,n))}else G("Invalid template ref type:",l,`(${typeof l})`)}}let Uo,Wi;function ui(t,e){t.appContext.config.performance&&Fl()&&Wi.mark(`vue-${e}-${t.uid}`),QC(t,e,Fl()?Wi.now():Date.now())}function hi(t,e){if(t.appContext.config.performance&&Fl()){const n=`vue-${e}-${t.uid}`,i=n+":end";Wi.mark(i),Wi.measure(`<${$c(t,t.type)}> ${e}`,n,i),Wi.clearMarks(n),Wi.clearMarks(i)}tw(t,e,Fl()?Wi.now():Date.now())}function Fl(){return Uo!==void 0||(typeof window<"u"&&window.performance?(Uo=!0,Wi=window.performance):Uo=!1),Uo}function Uw(){const t=[];if(t.length){const e=t.length>1;console.warn(`Feature flag${e?"s":""} ${t.join(", ")} ${e?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
For more details, see https://link.vuejs.org/feature-flags.`)}}const Se=lw;function Yw(t){return Gw(t)}function Gw(t,e){Uw();const n=$f();n.__VUE__=!0,_y(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:r,patchProp:o,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:f,setScopeId:d=Be,insertStaticContent:p}=t,g=(m,x,M,I=null,H=null,Q=null,rt=void 0,U=null,Z=Ki?!1:!!x.dynamicChildren)=>{if(m===x)return;m&&!Ui(m,x)&&(I=et(m),_t(m,H,Q,!0),m=null),x.patchFlag===-2&&(Z=!1,x.dynamicChildren=null);const{type:q,ref:lt,shapeFlag:ft}=x;switch(q){case ua:y(m,x,M,I);break;case Ce:b(m,x,M,I);break;case tl:m==null?v(x,M,I,rt):_(m,x,M,rt);break;case It:W(m,x,M,I,H,Q,rt,U,Z);break;default:ft&1?B(m,x,M,I,H,Q,rt,U,Z):ft&6?N(m,x,M,I,H,Q,rt,U,Z):ft&64||ft&128?q.process(m,x,M,I,H,Q,rt,U,Z,yt):G("Invalid VNode type:",q,`(${typeof q})`)}lt!=null&&H&&ph(lt,m&&m.ref,Q,x||m,!x)},y=(m,x,M,I)=>{if(m==null)i(x.el=a(x.children),M,I);else{const H=x.el=m.el;x.children!==m.children&&c(H,x.children)}},b=(m,x,M,I)=>{m==null?i(x.el=l(x.children||""),M,I):x.el=m.el},v=(m,x,M,I)=>{[m.el,m.anchor]=p(m.children,x,M,I,m.el,m.anchor)},_=(m,x,M,I)=>{if(x.children!==m.children){const H=f(m.anchor);S(m),[x.el,x.anchor]=p(x.children,M,H,I)}else x.el=m.el,x.anchor=m.anchor},w=({el:m,anchor:x},M,I)=>{let H;for(;m&&m!==x;)H=f(m),i(m,M,I),m=H;i(x,M,I)},S=({el:m,anchor:x})=>{let M;for(;m&&m!==x;)M=f(m),r(m),m=M;r(x)},B=(m,x,M,I,H,Q,rt,U,Z)=>{x.type==="svg"?rt="svg":x.type==="math"&&(rt="mathml"),m==null?C(x,M,I,H,Q,rt,U,Z):F(m,x,H,Q,rt,U,Z)},C=(m,x,M,I,H,Q,rt,U)=>{let Z,q;const{props:lt,shapeFlag:ft,transition:ht,dirs:Ct}=m;if(Z=m.el=s(m.type,Q,lt&<.is,lt),ft&8?u(Z,m.children):ft&16&&E(m.children,Z,null,I,H,pu(m,Q),rt,U),Ct&&gr(m,null,I,"created"),P(Z,m,m.scopeId,rt,I),lt){for(const Ht in lt)Ht!=="value"&&!Za(Ht)&&o(Z,Ht,null,lt[Ht],Q,m.children,I,H,L);"value"in lt&&o(Z,"value",null,lt.value,Q),(q=lt.onVnodeBeforeMount)&&dn(q,I,m)}Object.defineProperty(Z,"__vnode",{value:m,enumerable:!1}),Object.defineProperty(Z,"__vueParentComponent",{value:I,enumerable:!1}),Ct&&gr(m,null,I,"beforeMount");const Bt=Kw(H,ht);Bt&&ht.beforeEnter(Z),i(Z,x,M),((q=lt&<.onVnodeMounted)||Bt||Ct)&&Se(()=>{q&&dn(q,I,m),Bt&&ht.enter(Z),Ct&&gr(m,null,I,"mounted")},H)},P=(m,x,M,I,H)=>{if(M&&d(m,M),I)for(let Q=0;Q<I.length;Q++)d(m,I[Q]);if(H){let Q=H.subTree;if(Q.patchFlag>0&&Q.patchFlag&2048&&(Q=Hf(Q.children)||Q),x===Q){const rt=H.vnode;P(m,rt,rt.scopeId,rt.slotScopeIds,H.parent)}}},E=(m,x,M,I,H,Q,rt,U,Z=0)=>{for(let q=Z;q<m.length;q++){const lt=m[q]=U?ji(m[q]):Bn(m[q]);g(null,lt,x,M,I,H,Q,rt,U)}},F=(m,x,M,I,H,Q,rt)=>{const U=x.el=m.el;let{patchFlag:Z,dynamicChildren:q,dirs:lt}=x;Z|=m.patchFlag&16;const ft=m.props||Jt,ht=x.props||Jt;let Ct;if(M&&yr(M,!1),(Ct=ht.onVnodeBeforeUpdate)&&dn(Ct,M,x,m),lt&&gr(x,m,M,"beforeUpdate"),M&&yr(M,!0),Ki&&(Z=0,rt=!1,q=null),q?(ot(m.dynamicChildren,q,U,M,I,pu(x,H),Q),Bl(m,x)):rt||D(m,x,U,null,M,I,pu(x,H),Q,!1),Z>0){if(Z&16)V(U,x,ft,ht,M,I,H);else if(Z&2&&ft.class!==ht.class&&o(U,"class",null,ht.class,H),Z&4&&o(U,"style",ft.style,ht.style,H),Z&8){const Bt=x.dynamicProps;for(let Ht=0;Ht<Bt.length;Ht++){const Kt=Bt[Ht],Xt=ft[Kt],ve=ht[Kt];(ve!==Xt||Kt==="value")&&o(U,Kt,Xt,ve,H,m.children,M,I,L)}}Z&1&&m.children!==x.children&&u(U,x.children)}else!rt&&q==null&&V(U,x,ft,ht,M,I,H);((Ct=ht.onVnodeUpdated)||lt)&&Se(()=>{Ct&&dn(Ct,M,x,m),lt&&gr(x,m,M,"updated")},I)},ot=(m,x,M,I,H,Q,rt)=>{for(let U=0;U<x.length;U++){const Z=m[U],q=x[U],lt=Z.el&&(Z.type===It||!Ui(Z,q)||Z.shapeFlag&70)?h(Z.el):M;g(Z,q,lt,null,I,H,Q,rt,!0)}},V=(m,x,M,I,H,Q,rt)=>{if(M!==I){if(M!==Jt)for(const U in M)!Za(U)&&!(U in I)&&o(m,U,M[U],null,rt,x.children,H,Q,L);for(const U in I){if(Za(U))continue;const Z=I[U],q=M[U];Z!==q&&U!=="value"&&o(m,U,q,Z,rt,x.children,H,Q,L)}"value"in I&&o(m,"value",M.value,I.value,rt)}},W=(m,x,M,I,H,Q,rt,U,Z)=>{const q=x.el=m?m.el:a(""),lt=x.anchor=m?m.anchor:a("");let{patchFlag:ft,dynamicChildren:ht,slotScopeIds:Ct}=x;(Ki||ft&2048)&&(ft=0,Z=!1,ht=null),Ct&&(U=U?U.concat(Ct):Ct),m==null?(i(q,M,I),i(lt,M,I),E(x.children||[],M,lt,H,Q,rt,U,Z)):ft>0&&ft&64&&ht&&m.dynamicChildren?(ot(m.dynamicChildren,ht,M,H,Q,rt,U),Bl(m,x)):D(m,x,M,lt,H,Q,rt,U,Z)},N=(m,x,M,I,H,Q,rt,U,Z)=>{x.slotScopeIds=U,m==null?x.shapeFlag&512?H.ctx.activate(x,M,I,rt,Z):j(x,M,I,H,Q,rt,Z):Y(m,x,Z)},j=(m,x,M,I,H,Q,rt)=>{const U=m.component=sT(m,I,H);if(U.type.__hmrId&&WC(U),Ja(m),ui(U,"mount"),la(m)&&(U.ctx.renderer=yt),ui(U,"init"),lT(U),hi(U,"init"),U.asyncDep){if(H&&H.registerDep(U,$),!m.el){const Z=U.subTree=at(Ce);b(null,Z,x,M)}}else $(U,m,x,M,H,Q,rt);Qa(),hi(U,"mount")},Y=(m,x,M)=>{const I=x.component=m.component;if(ow(m,x,M))if(I.asyncDep&&!I.asyncResolved){Ja(x),z(I,x,M),Qa();return}else I.next=x,zC(I.update),I.effect.dirty=!0,I.update();else x.el=m.el,I.vnode=x},$=(m,x,M,I,H,Q,rt)=>{const U=()=>{if(m.isMounted){let{next:lt,bu:ft,u:ht,parent:Ct,vnode:Bt}=m;{const Hn=Uy(m);if(Hn){lt&&(lt.el=Bt.el,z(m,lt,rt)),Hn.asyncDep.then(()=>{m.isUnmounted||U()});return}}let Ht=lt,Kt;Ja(lt||m.vnode),yr(m,!1),lt?(lt.el=Bt.el,z(m,lt,rt)):lt=Bt,ft&&Tr(ft),(Kt=lt.props&<.props.onVnodeBeforeUpdate)&&dn(Kt,Ct,lt,Bt),yr(m,!0),ui(m,"render");const Xt=cu(m);hi(m,"render");const ve=m.subTree;m.subTree=Xt,ui(m,"patch"),g(ve,Xt,h(ve.el),et(ve),m,H,Q),hi(m,"patch"),lt.el=Xt.el,Ht===null&&sw(m,Xt.el),ht&&Se(ht,H),(Kt=lt.props&<.props.onVnodeUpdated)&&Se(()=>dn(Kt,Ct,lt,Bt),H),vy(m),Qa()}else{let lt;const{el:ft,props:ht}=x,{bm:Ct,m:Bt,parent:Ht}=m,Kt=xo(x);if(yr(m,!1),Ct&&Tr(Ct),!Kt&&(lt=ht&&ht.onVnodeBeforeMount)&&dn(lt,Ht,x),yr(m,!0),ft&&Et){const Xt=()=>{ui(m,"render"),m.subTree=cu(m),hi(m,"render"),ui(m,"hydrate"),Et(ft,m.subTree,m,H,null),hi(m,"hydrate")};Kt?x.type.__asyncLoader().then(()=>!m.isUnmounted&&Xt()):Xt()}else{ui(m,"render");const Xt=m.subTree=cu(m);hi(m,"render"),ui(m,"patch"),g(null,Xt,M,I,m,H,Q),hi(m,"patch"),x.el=Xt.el}if(Bt&&Se(Bt,H),!Kt&&(lt=ht&&ht.onVnodeMounted)){const Xt=x;Se(()=>dn(lt,Ht,Xt),H)}(x.shapeFlag&256||Ht&&xo(Ht.vnode)&&Ht.vnode.shapeFlag&256)&&m.a&&Se(m.a,H),m.isMounted=!0,ah(m),x=M=I=null}},Z=m.effect=new Lf(U,Be,()=>xc(q),m.scope),q=m.update=()=>{Z.dirty&&Z.run()};q.id=m.uid,yr(m,!0),Z.onTrack=m.rtc?lt=>Tr(m.rtc,lt):void 0,Z.onTrigger=m.rtg?lt=>Tr(m.rtg,lt):void 0,q.ownerInstance=m,q()},z=(m,x,M)=>{x.component=m;const I=m.vnode.props;m.vnode=x,m.next=null,Rw(m,x.props,I,M),Ww(m,x.children,M),cr(),Tp(m),ur()},D=(m,x,M,I,H,Q,rt,U,Z=!1)=>{const q=m&&m.children,lt=m?m.shapeFlag:0,ft=x.children,{patchFlag:ht,shapeFlag:Ct}=x;if(ht>0){if(ht&128){bt(q,ft,M,I,H,Q,rt,U,Z);return}else if(ht&256){ut(q,ft,M,I,H,Q,rt,U,Z);return}}Ct&8?(lt&16&&L(q,H,Q),ft!==q&&u(M,ft)):lt&16?Ct&16?bt(q,ft,M,I,H,Q,rt,U,Z):L(q,H,Q,!0):(lt&8&&u(M,""),Ct&16&&E(ft,M,I,H,Q,rt,U,Z))},ut=(m,x,M,I,H,Q,rt,U,Z)=>{m=m||vo,x=x||vo;const q=m.length,lt=x.length,ft=Math.min(q,lt);let ht;for(ht=0;ht<ft;ht++){const Ct=x[ht]=Z?ji(x[ht]):Bn(x[ht]);g(m[ht],Ct,M,null,H,Q,rt,U,Z)}q>lt?L(m,H,Q,!0,!1,ft):E(x,M,I,H,Q,rt,U,Z,ft)},bt=(m,x,M,I,H,Q,rt,U,Z)=>{let q=0;const lt=x.length;let ft=m.length-1,ht=lt-1;for(;q<=ft&&q<=ht;){const Ct=m[q],Bt=x[q]=Z?ji(x[q]):Bn(x[q]);if(Ui(Ct,Bt))g(Ct,Bt,M,null,H,Q,rt,U,Z);else break;q++}for(;q<=ft&&q<=ht;){const Ct=m[ft],Bt=x[ht]=Z?ji(x[ht]):Bn(x[ht]);if(Ui(Ct,Bt))g(Ct,Bt,M,null,H,Q,rt,U,Z);else break;ft--,ht--}if(q>ft){if(q<=ht){const Ct=ht+1,Bt=Ct<lt?x[Ct].el:I;for(;q<=ht;)g(null,x[q]=Z?ji(x[q]):Bn(x[q]),M,Bt,H,Q,rt,U,Z),q++}}else if(q>ht)for(;q<=ft;)_t(m[q],H,Q,!0),q++;else{const Ct=q,Bt=q,Ht=new Map;for(q=Bt;q<=ht;q++){const Te=x[q]=Z?ji(x[q]):Bn(x[q]);Te.key!=null&&(Ht.has(Te.key)&&G("Duplicate keys found during update:",JSON.stringify(Te.key),"Make sure keys are unique."),Ht.set(Te.key,q))}let Kt,Xt=0;const ve=ht-Bt+1;let Hn=!1,ro=0;const pr=new Array(ve);for(q=0;q<ve;q++)pr[q]=0;for(q=Ct;q<=ft;q++){const Te=m[q];if(Xt>=ve){_t(Te,H,Q,!0);continue}let cn;if(Te.key!=null)cn=Ht.get(Te.key);else for(Kt=Bt;Kt<=ht;Kt++)if(pr[Kt-Bt]===0&&Ui(Te,x[Kt])){cn=Kt;break}cn===void 0?_t(Te,H,Q,!0):(pr[cn-Bt]=q+1,cn>=ro?ro=cn:Hn=!0,g(Te,x[cn],M,null,H,Q,rt,U,Z),Xt++)}const qn=Hn?Xw(pr):vo;for(Kt=qn.length-1,q=ve-1;q>=0;q--){const Te=Bt+q,cn=x[Te],he=Te+1<lt?x[Te+1].el:I;pr[q]===0?g(null,cn,M,he,H,Q,rt,U,Z):Hn&&(Kt<0||q!==qn[Kt]?Lt(cn,M,he,2):Kt--)}}},Lt=(m,x,M,I,H=null)=>{const{el:Q,type:rt,transition:U,children:Z,shapeFlag:q}=m;if(q&6){Lt(m.component.subTree,x,M,I);return}if(q&128){m.suspense.move(x,M,I);return}if(q&64){rt.move(m,x,M,yt);return}if(rt===It){i(Q,x,M);for(let ft=0;ft<Z.length;ft++)Lt(Z[ft],x,M,I);i(m.anchor,x,M);return}if(rt===tl){w(m,x,M);return}if(I!==2&&q&1&&U)if(I===0)U.beforeEnter(Q),i(Q,x,M),Se(()=>U.enter(Q),H);else{const{leave:ft,delayLeave:ht,afterLeave:Ct}=U,Bt=()=>i(Q,x,M),Ht=()=>{ft(Q,()=>{Bt(),Ct&&Ct()})};ht?ht(Q,Bt,Ht):Ht()}else i(Q,x,M)},_t=(m,x,M,I=!1,H=!1)=>{const{type:Q,props:rt,ref:U,children:Z,dynamicChildren:q,shapeFlag:lt,patchFlag:ft,dirs:ht}=m;if(U!=null&&ph(U,null,M,m,!0),lt&256){x.ctx.deactivate(m);return}const Ct=lt&1&&ht,Bt=!xo(m);let Ht;if(Bt&&(Ht=rt&&rt.onVnodeBeforeUnmount)&&dn(Ht,x,m),lt&6)ue(m.component,M,I);else{if(lt&128){m.suspense.unmount(M,I);return}Ct&&gr(m,null,x,"beforeUnmount"),lt&64?m.type.remove(m,x,M,H,yt,I):q&&(Q!==It||ft>0&&ft&64)?L(q,x,M,!1,!0):(Q===It&&ft&384||!H&<&16)&&L(Z,x,M),I&&ne(m)}(Bt&&(Ht=rt&&rt.onVnodeUnmounted)||Ct)&&Se(()=>{Ht&&dn(Ht,x,m),Ct&&gr(m,null,x,"unmounted")},M)},ne=m=>{const{type:x,el:M,anchor:I,transition:H}=m;if(x===It){m.patchFlag>0&&m.patchFlag&2048&&H&&!H.persisted?m.children.forEach(rt=>{rt.type===Ce?r(rt.el):ne(rt)}):ce(M,I);return}if(x===tl){S(m);return}const Q=()=>{r(M),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(m.shapeFlag&1&&H&&!H.persisted){const{leave:rt,delayLeave:U}=H,Z=()=>rt(M,Q);U?U(m.el,Q,Z):Z()}else Q()},ce=(m,x)=>{let M;for(;m!==x;)M=f(m),r(m),m=M;r(x)},ue=(m,x,M)=>{m.type.__hmrId&&UC(m);const{bum:I,scope:H,update:Q,subTree:rt,um:U}=m;I&&Tr(I),H.stop(),Q&&(Q.active=!1,_t(rt,m,x,M)),U&&Se(U,x),Se(()=>{m.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve()),JC(m)},L=(m,x,M,I=!1,H=!1,Q=0)=>{for(let rt=Q;rt<m.length;rt++)_t(m[rt],x,M,I,H)},et=m=>m.shapeFlag&6?et(m.component.subTree):m.shapeFlag&128?m.suspense.next():f(m.anchor||m.el);let K=!1;const it=(m,x,M)=>{m==null?x._vnode&&_t(x._vnode,null,null,!0):g(x._vnode||null,m,x,null,null,null,M),K||(K=!0,Tp(),my(),K=!1),x._vnode=m},yt={p:g,um:_t,m:Lt,r:ne,mt:j,mc:E,pc:D,pbc:ot,n:et,o:t};let Rt,Et;return e&&([Rt,Et]=e(yt)),{render:it,hydrate:Rt,createApp:Bw(it,Rt)}}function pu({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function yr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Kw(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Bl(t,e,n=!1){const i=t.children,r=e.children;if(gt(i)&>(r))for(let o=0;o<i.length;o++){const s=i[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=ji(r[o]),a.el=s.el),n||Bl(s,a)),a.type===ua&&(a.el=s.el),a.type===Ce&&!a.el&&(a.el=s.el)}}function Xw(t){const e=t.slice(),n=[0];let i,r,o,s,a;const l=t.length;for(i=0;i<l;i++){const c=t[i];if(c!==0){if(r=n[n.length-1],t[r]<c){e[i]=r,n.push(i);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,t[n[a]]<c?o=a+1:s=a;c<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=e[s];return n}function Uy(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Uy(e)}const Zw=t=>t.__isTeleport,Co=t=>t&&(t.disabled||t.disabled===""),Dp=t=>typeof SVGElement<"u"&&t instanceof SVGElement,jp=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,mh=(t,e)=>{const n=t&&t.to;if(te(n))if(e){const i=e(n);return i||G(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),i}else return G("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return!n&&!Co(t)&&G(`Invalid Teleport target: ${n}`),n},Jw={name:"Teleport",__isTeleport:!0,process(t,e,n,i,r,o,s,a,l,c){const{mc:u,pc:h,pbc:f,o:{insert:d,querySelector:p,createText:g,createComment:y}}=c,b=Co(e.props);let{shapeFlag:v,children:_,dynamicChildren:w}=e;if(Ki&&(l=!1,w=null),t==null){const S=e.el=y("teleport start"),B=e.anchor=y("teleport end");d(S,n,i),d(B,n,i);const C=e.target=mh(e.props,p),P=e.targetAnchor=g("");C?(d(P,C),s==="svg"||Dp(C)?s="svg":(s==="mathml"||jp(C))&&(s="mathml")):b||G("Invalid Teleport target on mount:",C,`(${typeof C})`);const E=(F,ot)=>{v&16&&u(_,F,ot,r,o,s,a,l)};b?E(n,B):C&&E(C,P)}else{e.el=t.el;const S=e.anchor=t.anchor,B=e.target=t.target,C=e.targetAnchor=t.targetAnchor,P=Co(t.props),E=P?n:B,F=P?S:C;if(s==="svg"||Dp(B)?s="svg":(s==="mathml"||jp(B))&&(s="mathml"),w?(f(t.dynamicChildren,w,E,r,o,s,a),Bl(t,e,!0)):l||h(t,e,E,F,r,o,s,a,!1),b)P?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Oa(e,n,S,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const ot=e.target=mh(e.props,p);ot?Oa(e,ot,null,c,0):G("Invalid Teleport target on update:",B,`(${typeof B})`)}else P&&Oa(e,B,C,c,1)}Yy(e)},remove(t,e,n,i,{um:r,o:{remove:o}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:h,props:f}=t;if(h&&o(u),s&&o(c),a&16){const d=s||!Co(f);for(let p=0;p<l.length;p++){const g=l[p];r(g,e,n,d,!!g.dynamicChildren)}}},move:Oa,hydrate:Qw};function Oa(t,e,n,{o:{insert:i},m:r},o=2){o===0&&i(t.targetAnchor,e,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=t,h=o===2;if(h&&i(s,e,n),(!h||Co(u))&&l&16)for(let f=0;f<c.length;f++)r(c[f],e,n,2);h&&i(a,e,n)}function Qw(t,e,n,i,r,o,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=e.target=mh(e.props,l);if(u){const h=u._lpa||u.firstChild;if(e.shapeFlag&16)if(Co(e.props))e.anchor=c(s(t),e,a(t),n,i,r,o),e.targetAnchor=h;else{e.anchor=s(t);let f=h;for(;f;)if(f=s(f),f&&f.nodeType===8&&f.data==="teleport anchor"){e.targetAnchor=f,u._lpa=e.targetAnchor&&s(e.targetAnchor);break}c(h,e,u,n,i,r,o)}Yy(e)}return e.anchor&&s(e.anchor)}const tT=Jw;function Yy(t){const e=t.ctx;if(e&&e.ut){let n=t.children[0].el;for(;n&&n!==t.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",e.uid),n=n.nextSibling;e.ut()}}const It=Symbol.for("v-fgt"),ua=Symbol.for("v-txt"),Ce=Symbol.for("v-cmt"),tl=Symbol.for("v-stc"),ys=[];let Pn=null;function R(t=!1){ys.push(Pn=t?null:[])}function eT(){ys.pop(),Pn=ys[ys.length-1]||null}let Bs=1;function Hp(t){Bs+=t}function Gy(t){return t.dynamicChildren=Bs>0?Pn||vo:null,eT(),Bs>0&&Pn&&Pn.push(t),t}function nt(t,e,n,i,r,o){return Gy(X(t,e,n,i,r,o,!0))}function Vt(t,e,n,i,r){return Gy(at(t,e,n,i,r,!0))}function or(t){return t?t.__v_isVNode===!0:!1}function Ui(t,e){return e.shapeFlag&6&&fo.has(e.type)?(t.shapeFlag&=-257,e.shapeFlag&=-513,!1):t.type===e.type&&t.key===e.key}const nT=(...t)=>iT(...t),kc="__vInternal",Ky=({key:t})=>t??null,el=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?te(t)||Yt(t)||wt(t)?{i:fe,r:t,k:e,f:!!n}:t:null);function X(t,e=null,n=null,i=0,r=null,o=t===It?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ky(e),ref:e&&el(e),scopeId:wc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return a?(Gf(l,n),o&128&&t.normalize(l)):n&&(l.shapeFlag|=te(n)?8:16),l.key!==l.key&&G("VNode created with invalid key (NaN). VNode type:",l.type),Bs>0&&!s&&Pn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Pn.push(l),l}const at=nT;function iT(t,e=null,n=null,i=0,r=null,o=!1){if((!t||t===wy)&&(t||G(`Invalid vnode type when creating vnode: ${t}.`),t=Ce),or(t)){const a=Nn(t,e,!0);return n&&Gf(a,n),Bs>0&&!o&&Pn&&(a.shapeFlag&6?Pn[Pn.indexOf(t)]=a:Pn.push(a)),a.patchFlag|=-2,a}if(t_(t)&&(t=t.__vccOpts),e){e=Do(e);let{class:a,style:l}=e;a&&!te(a)&&(e.class=ee(a)),Ut(l)&&(kl(l)&&!gt(l)&&(l=oe({},l)),e.style=Ae(l))}const s=te(t)?1:Sy(t)?128:Zw(t)?64:Ut(t)?4:wt(t)?2:0;return s&4&&kl(t)&&(t=At(t),G("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
Component that was made reactive: `,t)),X(t,e,n,i,r,s,o,!0)}function Do(t){return t?kl(t)||kc in t?oe({},t):t:null}function Nn(t,e,n=!1){const{props:i,ref:r,patchFlag:o,children:s}=t,a=e?Ur(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Ky(a),ref:e&&e.ref?n&&r?gt(r)?r.concat(el(e)):[r,el(e)]:el(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o===-1&>(s)?s.map(Xy):s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==It?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Nn(t.ssContent),ssFallback:t.ssFallback&&Nn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Xy(t){const e=Nn(t);return gt(t.children)&&(e.children=t.children.map(Xy)),e}function Ci(t=" ",e=0){return at(ua,null,t,e)}function Mt(t="",e=!1){return e?(R(),Vt(Ce,null,t)):at(Ce,null,t)}function Bn(t){return t==null||typeof t=="boolean"?at(Ce):gt(t)?at(It,null,t.slice()):typeof t=="object"?ji(t):at(ua,null,String(t))}function ji(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Nn(t)}function Gf(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(gt(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),Gf(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(kc in e)?e._ctx=fe:r===3&&fe&&(fe.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else wt(e)?(e={default:e,_ctx:fe},n=32):(e=String(e),i&64?(n=16,e=[Ci(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ur(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=ee([e.class,i.class]));else if(r==="style")e.style=Ae([e.style,i.style]);else if(ia(r)){const o=e[r],s=i[r];s&&o!==s&&!(gt(o)&&o.includes(s))&&(e[r]=o?[].concat(o,s):s)}else r!==""&&(e[r]=i[r])}return e}function dn(t,e,n,i=null){_n(t,e,7,[n,i])}const rT=Dy();let oT=0;function sT(t,e,n){const i=t.type,r=(e?e.appContext:t.appContext)||rT,o={uid:oT++,vnode:t,type:i,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new z0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hy(i,r),emitsOptions:xy(i,r),emit:null,emitted:null,propsDefaults:Jt,inheritAttrs:i.inheritAttrs,ctx:Jt,data:Jt,props:Jt,attrs:Jt,slots:Jt,refs:Jt,setupState:Jt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx=Cw(o),o.root=e?e.root:o,o.emit=nw.bind(null,o),t.ce&&t.ce(o),o}let ye=null;const Tn=()=>ye||fe;let Il,gh;{const t=$f(),e=(n,i)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(i),o=>{r.length>1?r.forEach(s=>s(o)):r[0](o)}};Il=e("__VUE_INSTANCE_SETTERS__",n=>ye=n),gh=e("__VUE_SSR_SETTERS__",n=>Ac=n)}const ha=t=>{const e=ye;return Il(t),t.scope.on(),()=>{t.scope.off(),Il(e)}},qp=()=>{ye&&ye.scope.off(),Il(null)},aT=ki("slot,component");function yh(t,e){const n=e.isNativeTag||P0;(aT(t)||n(t))&&G("Do not use built-in or reserved HTML elements as component id: "+t)}function Zy(t){return t.vnode.shapeFlag&4}let Ac=!1;function lT(t,e=!1){e&&gh(e);const{props:n,children:i}=t.vnode,r=Zy(t);Iw(t,n,r,e),Vw(t,i);const o=r?cT(t,e):void 0;return e&&gh(!1),o}function cT(t,e){var n;const i=t.type;{if(i.name&&yh(i.name,t.appContext.config),i.components){const o=Object.keys(i.components);for(let s=0;s<o.length;s++)yh(o[s],t.appContext.config)}if(i.directives){const o=Object.keys(i.directives);for(let s=0;s<o.length;s++)Ay(o[s])}i.compilerOptions&&uT()&&G('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}t.accessCache=Object.create(null),t.proxy=bc(new Proxy(t.ctx,Ry)),ww(t);const{setup:r}=i;if(r){const o=t.setupContext=r.length>1?Qy(t):null,s=ha(t);cr();const a=_i(r,t,0,[mo(t.props),o]);if(ur(),s(),kf(a)){if(a.then(qp,qp),e)return a.then(l=>{zp(t,l,e)}).catch(l=>{sa(l,t,0)});if(t.asyncDep=a,!t.suspense){const l=(n=i.name)!=null?n:"Anonymous";G(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else zp(t,a,e)}else Jy(t,e)}function zp(t,e,n){wt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ut(e)?(or(e)&&G("setup() should not return VNodes directly - return a render function instead."),t.devtoolsRawSetupState=e,t.setupState=cy(e),Tw(t)):e!==void 0&&G(`setup() should return an object. Received: ${e===null?"null":typeof e}`),Jy(t,n)}let _h;const uT=()=>!_h;function Jy(t,e,n){const i=t.type;if(!t.render){if(!e&&_h&&!i.render){const r=i.template||Uf(t).template;if(r){ui(t,"compile");const{isCustomElement:o,compilerOptions:s}=t.appContext.config,{delimiters:a,compilerOptions:l}=i,c=oe(oe({isCustomElement:o,delimiters:a},s),l);i.render=_h(r,c),hi(t,"compile")}}t.render=i.render||Be}{const r=ha(t);cr();try{Ew(t)}finally{ur(),r()}}!i.render&&t.render===Be&&!e&&(i.template?G('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):G("Component is missing template or render function."))}function hT(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return El(),Re(t,"get","$attrs"),e[n]},set(){return G("setupContext.attrs is readonly."),!1},deleteProperty(){return G("setupContext.attrs is readonly."),!1}}))}function fT(t){return t.slotsProxy||(t.slotsProxy=new Proxy(t.slots,{get(e,n){return Re(t,"get","$slots"),e[n]}}))}function Qy(t){return Object.freeze({get attrs(){return hT(t)},get slots(){return fT(t)},get emit(){return(n,...i)=>t.emit(n,...i)},expose:n=>{if(t.exposed&&G("expose() should be called only once per setup()."),n!=null){let i=typeof n;i==="object"&&(gt(n)?i="array":Yt(n)&&(i="ref")),i!=="object"&&G(`expose() should be passed a plain object, received ${i}.`)}t.exposed=n||{}}})}function Ec(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(cy(bc(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Nr)return Nr[n](t)},has(e,n){return n in e||n in Nr}}))}const dT=/(?:^|[-_])(\w)/g,pT=t=>t.replace(dT,e=>e.toUpperCase()).replace(/[-_]/g,"");function Is(t,e=!0){return wt(t)?t.displayName||t.name:t.name||e&&t.__name}function $c(t,e,n=!1){let i=Is(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=o=>{for(const s in o)if(o[s]===e)return s};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?pT(i):n?"App":"Anonymous"}function t_(t){return wt(t)&&"__vccOpts"in t}const A=(t,e)=>EC(t,e,Ac);function Ze(t,e,n){const i=arguments.length;return i===2?Ut(e)&&!gt(e)?or(e)?at(t,null,[e]):at(t,e):at(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&or(n)&&(n=[n]),at(t,e,n))}function mu(t){return!!(t&&t.__v_isShallow)}function mT(){if(typeof window>"u")return;const t={style:"color:#3ba776"},e={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},r={header(h){return Ut(h)?h.__isVue?["div",t,"VueInstance"]:Yt(h)?["div",{},["span",t,u(h)],"<",a(h.value),">"]:Pr(h)?["div",{},["span",t,mu(h)?"ShallowReactive":"Reactive"],"<",a(h),`>${rr(h)?" (readonly)":""}`]:rr(h)?["div",{},["span",t,mu(h)?"ShallowReadonly":"Readonly"],"<",a(h),">"]:null:null},hasBody(h){return h&&h.__isVue},body(h){if(h&&h.__isVue)return["div",{},...o(h.$)]}};function o(h){const f=[];h.type.props&&h.props&&f.push(s("props",At(h.props))),h.setupState!==Jt&&f.push(s("setup",h.setupState)),h.data!==Jt&&f.push(s("data",At(h.data)));const d=l(h,"computed");d&&f.push(s("computed",d));const p=l(h,"inject");return p&&f.push(s("injected",p)),f.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:h}]]),f}function s(h,f){return f=oe({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},h],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(d=>["div",{},["span",i,d+": "],a(f[d],!1)])]]:["span",{}]}function a(h,f=!0){return typeof h=="number"?["span",e,h]:typeof h=="string"?["span",n,JSON.stringify(h)]:typeof h=="boolean"?["span",i,h]:Ut(h)?["object",{object:f?At(h):h}]:["span",n,String(h)]}function l(h,f){const d=h.type;if(wt(d))return;const p={};for(const g in h.ctx)c(d,g,f)&&(p[g]=h.ctx[g]);return p}function c(h,f,d){const p=h[d];if(gt(p)&&p.includes(f)||Ut(p)&&f in p||h.extends&&c(h.extends,f,d)||h.mixins&&h.mixins.some(g=>c(g,f,d)))return!0}function u(h){return mu(h)?"ShallowRef":h.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const vh="3.4.15",Xi=G;/**
* @vue/runtime-dom v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const gT="http://www.w3.org/2000/svg",yT="http://www.w3.org/1998/Math/MathML",Hi=typeof document<"u"?document:null,Vp=Hi&&Hi.createElement("template"),_T={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r=e==="svg"?Hi.createElementNS(gT,t):e==="mathml"?Hi.createElementNS(yT,t):Hi.createElement(t,n?{is:n}:void 0);return t==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:t=>Hi.createTextNode(t),createComment:t=>Hi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Hi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,r,o){const s=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Vp.innerHTML=i==="svg"?`<svg>${t}</svg>`:i==="mathml"?`<math>${t}</math>`:t;const a=Vp.content;if(i==="svg"||i==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Fi="transition",Yo="animation",Ao=Symbol("_vtc"),Kf=(t,{slots:e})=>Ze(dw,n_(t),e);Kf.displayName="Transition";const e_={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},vT=Kf.props=oe({},Ly,e_),_r=(t,e=[])=>{gt(t)?t.forEach(n=>n(...e)):t&&t(...e)},Wp=t=>t?gt(t)?t.some(e=>e.length>1):t.length>1:!1;function n_(t){const e={};for(const V in t)V in e_||(e[V]=t[V]);if(t.css===!1)return e;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,p=bT(r),g=p&&p[0],y=p&&p[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:B=b,onAppear:C=v,onAppearCancelled:P=_}=e,E=(V,W,N)=>{Pi(V,W?u:a),Pi(V,W?c:s),N&&N()},F=(V,W)=>{V._isLeaving=!1,Pi(V,h),Pi(V,d),Pi(V,f),W&&W()},ot=V=>(W,N)=>{const j=V?C:v,Y=()=>E(W,V,N);_r(j,[W,Y]),Up(()=>{Pi(W,V?l:o),fi(W,V?u:a),Wp(j)||Yp(W,i,g,Y)})};return oe(e,{onBeforeEnter(V){_r(b,[V]),fi(V,o),fi(V,s)},onBeforeAppear(V){_r(B,[V]),fi(V,l),fi(V,c)},onEnter:ot(!1),onAppear:ot(!0),onLeave(V,W){V._isLeaving=!0;const N=()=>F(V,W);fi(V,h),r_(),fi(V,f),Up(()=>{V._isLeaving&&(Pi(V,h),fi(V,d),Wp(w)||Yp(V,i,y,N))}),_r(w,[V,N])},onEnterCancelled(V){E(V,!1),_r(_,[V])},onAppearCancelled(V){E(V,!0),_r(P,[V])},onLeaveCancelled(V){F(V),_r(S,[V])}})}function bT(t){if(t==null)return null;if(Ut(t))return[gu(t.enter),gu(t.leave)];{const e=gu(t);return[e,e]}}function gu(t){const e=Yx(t);return DC(e,"<transition> explicit duration"),e}function fi(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Ao]||(t[Ao]=new Set)).add(e)}function Pi(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const n=t[Ao];n&&(n.delete(e),n.size||(t[Ao]=void 0))}function Up(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let xT=0;function Yp(t,e,n,i){const r=t._endId=++xT,o=()=>{r===t._endId&&i()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=i_(t,e);if(!s)return i();const c=s+"end";let u=0;const h=()=>{t.removeEventListener(c,f),o()},f=d=>{d.target===t&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),t.addEventListener(c,f)}function i_(t,e){const n=window.getComputedStyle(t),i=p=>(n[p]||"").split(", "),r=i(`${Fi}Delay`),o=i(`${Fi}Duration`),s=Gp(r,o),a=i(`${Yo}Delay`),l=i(`${Yo}Duration`),c=Gp(a,l);let u=null,h=0,f=0;e===Fi?s>0&&(u=Fi,h=s,f=o.length):e===Yo?c>0&&(u=Yo,h=c,f=l.length):(h=Math.max(s,c),u=h>0?s>c?Fi:Yo:null,f=u?u===Fi?o.length:l.length:0);const d=u===Fi&&/\b(transform|all)(,|$)/.test(i(`${Fi}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:d}}function Gp(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,i)=>Kp(n)+Kp(t[i])))}function Kp(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function r_(){return document.body.offsetHeight}function CT(t,e,n){const i=t[Ao];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Xf=Symbol("_vod"),Zf={beforeMount(t,{value:e},{transition:n}){t[Xf]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Go(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Go(t,!0),i.enter(t)):i.leave(t,()=>{Go(t,!1)}):Go(t,e))},beforeUnmount(t,{value:e}){Go(t,e)}};Zf.name="show";function Go(t,e){t.style.display=e?t[Xf]:"none"}const wT=Symbol("CSS_VAR_TEXT");function TT(t,e,n){const i=t.style,r=i.display,o=te(n);if(n&&!o){if(e&&!te(e))for(const s in e)n[s]==null&&bh(i,s,"");for(const s in n)bh(i,s,n[s])}else if(o){if(e!==n){const s=i[wT];s&&(n+=";"+s),i.cssText=n}}else e&&t.removeAttribute("style");Xf in t&&(i.display=r)}const ST=/[^\\];\s*$/,Xp=/\s*!important$/;function bh(t,e,n){if(gt(n))n.forEach(i=>bh(t,e,i));else if(n==null&&(n=""),ST.test(n)&&Xi(`Unexpected semicolon at the end of '${e}' style value: '${n}'`),e.startsWith("--"))t.setProperty(e,n);else{const i=kT(t,e);Xp.test(n)?t.setProperty(xi(i),n.replace(Xp,""),"important"):t[i]=n}}const Zp=["Webkit","Moz","ms"],yu={};function kT(t,e){const n=yu[e];if(n)return n;let i=Qn(e);if(i!=="filter"&&i in t)return yu[e]=i;i=Vr(i);for(let r=0;r<Zp.length;r++){const o=Zp[r]+i;if(o in t)return yu[e]=o}return e}const Jp="http://www.w3.org/1999/xlink";function AT(t,e,n,i,r){if(i&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Jp,e.slice(6,e.length)):t.setAttributeNS(Jp,e,n);else{const o=rC(e);n==null||o&&!H0(n)?t.removeAttribute(e):t.setAttribute(e,o?"":n)}}function ET(t,e,n,i,r,o,s){if(e==="innerHTML"||e==="textContent"){i&&s(i,r,o),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){t._value=n;const c=a==="OPTION"?t.getAttribute("value"):t.value,u=n??"";c!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=H0(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch(c){l||Xi(`Failed setting prop "${e}" on <${a.toLowerCase()}>: value ${n} is invalid.`,c)}l&&t.removeAttribute(e)}function $T(t,e,n,i){t.addEventListener(e,n,i)}function LT(t,e,n,i){t.removeEventListener(e,n,i)}const Qp=Symbol("_vei");function OT(t,e,n,i,r=null){const o=t[Qp]||(t[Qp]={}),s=o[e];if(i&&s)s.value=i;else{const[a,l]=MT(e);if(i){const c=o[e]=IT(i,r);$T(t,a,c,l)}else s&&(LT(t,a,s,l),o[e]=void 0)}}const tm=/(?:Once|Passive|Capture)$/;function MT(t){let e;if(tm.test(t)){e={};let i;for(;i=t.match(tm);)t=t.slice(0,t.length-i[0].length),e[i[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):xi(t.slice(2)),e]}let _u=0;const FT=Promise.resolve(),BT=()=>_u||(FT.then(()=>_u=0),_u=Date.now());function IT(t,e){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;_n(PT(i,n.value),e,5,[i])};return n.value=t,n.attached=BT(),n}function PT(t,e){if(gt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>r=>!r._stopped&&i&&i(r))}else return e}const em=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,RT=(t,e,n,i,r,o,s,a,l)=>{const c=r==="svg";e==="class"?CT(t,i,c):e==="style"?TT(t,n,i):ia(e)?xl(e)||OT(t,e,n,i,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):NT(t,e,i,c))?ET(t,e,i,o,s,a,l):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),AT(t,e,i,c))};function NT(t,e,n,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in t&&em(e)&&wt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return em(e)&&te(n)?!1:e in t}const o_=new WeakMap,s_=new WeakMap,Pl=Symbol("_moveCb"),nm=Symbol("_enterCb"),a_={name:"TransitionGroup",props:oe({},vT,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Tn(),i=$y();let r,o;return Sc(()=>{if(!r.length)return;const s=t.moveClass||`${t.name||"v"}-move`;if(!VT(r[0].el,n.vnode.el,s))return;r.forEach(HT),r.forEach(qT);const a=r.filter(zT);r_(),a.forEach(l=>{const c=l.el,u=c.style;fi(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const h=c[Pl]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",h),c[Pl]=null,Pi(c,s))};c.addEventListener("transitionend",h)})}),()=>{const s=At(t),a=n_(s);let l=s.tag||It;r=o,o=e.default?zf(e.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null?ko(u,Fs(u,a,i,n)):Xi("<TransitionGroup> children must be keyed.")}if(r)for(let c=0;c<r.length;c++){const u=r[c];ko(u,Fs(u,a,i,n)),o_.set(u,u.el.getBoundingClientRect())}return at(l,null,o)}}},DT=t=>delete t.mode;a_.props;const jT=a_;function HT(t){const e=t.el;e[Pl]&&e[Pl](),e[nm]&&e[nm]()}function qT(t){s_.set(t,t.el.getBoundingClientRect())}function zT(t){const e=o_.get(t),n=s_.get(t),i=e.left-n.left,r=e.top-n.top;if(i||r){const o=t.el.style;return o.transform=o.webkitTransform=`translate(${i}px,${r}px)`,o.transitionDuration="0s",t}}function VT(t,e,n){const i=t.cloneNode(),r=t[Ao];r&&r.forEach(a=>{a.split(/\s+/).forEach(l=>l&&i.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&i.classList.add(a)),i.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(i);const{hasTransform:s}=i_(i);return o.removeChild(i),s}const WT=["ctrl","shift","alt","meta"],UT={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>WT.some(n=>t[`${n}Key`]&&!e.includes(n))},YT=(t,e)=>{const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(r,...o)=>{for(let s=0;s<e.length;s++){const a=UT[e[s]];if(a&&a(r,e))return}return t(r,...o)})},GT={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ma=(t,e)=>{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=r=>{if(!("key"in r))return;const o=xi(r.key);if(e.some(s=>s===o||GT[s]===o))return t(r)})},KT=oe({patchProp:RT},_T);let im;function XT(){return im||(im=Yw(KT))}const ZT=(...t)=>{const e=XT().createApp(...t);QT(e),tS(e);const{mount:n}=e;return e.mount=i=>{const r=eS(i);if(!r)return;const o=e._component;!wt(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,JT(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},e};function JT(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function QT(t){Object.defineProperty(t.config,"isNativeTag",{value:e=>j0(e)||eC(e)||nC(e),writable:!1})}function tS(t){{const e=t.config.isCustomElement;Object.defineProperty(t.config,"isCustomElement",{get(){return e},set(){Xi("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=t.config.compilerOptions,i='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(t.config,"compilerOptions",{get(){return Xi(i),n},set(){Xi(i)}})}}function eS(t){if(te(t)){const e=document.querySelector(t);return e||Xi(`Failed to mount app: mount target selector "${t}" returned null.`),e}return window.ShadowRoot&&t instanceof window.ShadowRoot&&t.mode==="closed"&&Xi('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),t}/**
* vue v3.4.15
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function nS(){mT()}nS();function xh(t,e={},n){for(const i in t){const r=t[i],o=n?`${n}:${i}`:i;typeof r=="object"&&r!==null?xh(r,e,o):typeof r=="function"&&(e[o]=r)}return e}const iS={run:t=>t()},rS=()=>iS,l_=typeof console.createTask<"u"?console.createTask:rS;function oS(t,e){const n=e.shift(),i=l_(n);return t.reduce((r,o)=>r.then(()=>i.run(()=>o(...e))),Promise.resolve())}function sS(t,e){const n=e.shift(),i=l_(n);return Promise.all(t.map(r=>i.run(()=>r(...e))))}function vu(t,e){for(const n of[...t])n(e)}class aS{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,i={}){if(!e||typeof n!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!i.allowDeprecated){let s=o.message;s||(s=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let i,r=(...o)=>(typeof i=="function"&&i(),i=void 0,r=void 0,n(...o));return i=this.hook(e,r),i}removeHook(e,n){if(this._hooks[e]){const i=this._hooks[e].indexOf(n);i!==-1&&this._hooks[e].splice(i,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const i=this._hooks[e]||[];delete this._hooks[e];for(const r of i)this.hook(e,r)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=xh(e),i=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of i.splice(0,i.length))r()}}removeHooks(e){const n=xh(e);for(const i in n)this.removeHook(i,n[i])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(oS,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(sS,e,...n)}callHookWith(e,n,...i){const r=this._before||this._after?{name:n,args:i,context:{}}:void 0;this._before&&vu(this._before,r);const o=e(n in this._hooks?[...this._hooks[n]]:[],i);return o instanceof Promise?o.finally(()=>{this._after&&r&&vu(this._after,r)}):(this._after&&r&&vu(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function lS(){return new aS}function cS(t){return Array.isArray(t)?t:[t]}const uS=["title","titleTemplate","script","style","noscript"],nl=["base","meta","link","style","script","noscript"],hS=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],fS=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],c_=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],dS=typeof window<"u";function Jf(t){let e=9;for(let n=0;n<t.length;)e=Math.imul(e^t.charCodeAt(n++),9**9);return((e^e>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function rm(t){return t._h||Jf(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function u_(t,e){const{props:n,tag:i}=t;if(fS.includes(i))return i;if(i==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];i==="meta"&&r.push("name","property","http-equiv");for(const o of r)if(typeof n[o]<"u"){const s=String(n[o]);return e&&!e(s)?!1:`${i}:${o}:${s}`}return!1}function om(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function pS(t,e,n){const i={tag:t,props:await h_(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(t))};return c_.forEach(r=>{const o=typeof i.props[r]<"u"?i.props[r]:n[r];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(r)||uS.includes(i.tag))&&(i[r==="children"?"innerHTML":r]=o),delete i.props[r])}),i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(r=>({...i,props:{...i.props,content:r}})):i}function mS(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(e=>t[e])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(e=>e.trim()).filter(Boolean).join(" ")}async function h_(t,e){for(const n of Object.keys(t)){if(n==="class"){t[n]=mS(t[n]);continue}if(t[n]instanceof Promise&&(t[n]=await t[n]),!e&&!c_.includes(n)){const i=String(t[n]),r=n.startsWith("data-");i==="true"||i===""?t[n]=r?"true":!0:t[n]||(r&&i==="false"?t[n]="false":delete t[n])}}return t}const gS=10;async function yS(t){const e=[];return Object.entries(t.resolvedInput).filter(([n,i])=>typeof i<"u"&&hS.includes(n)).forEach(([n,i])=>{const r=cS(i);e.push(...r.map(o=>pS(n,o,t)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((n,i)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<gS)+i,n))}const sm={base:-10,title:10},am={critical:-80,high:-10,low:20};function Rl(t){let e=100;const n=t.tagPriority;return typeof n=="number"?n:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(e=-30),t.props.charset&&(e=-20),t.props.name==="viewport"&&(e=-15)):t.tag==="link"&&t.props.rel==="preconnect"?e=20:t.tag in sm&&(e=sm[t.tag]),typeof n=="string"&&n in am?e+am[n]:e)}const _S=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],f_=["onload","onerror","onabort","onprogress","onloadstart"],Bi="%separator";function il(t,e,n){if(typeof t!="string"||!t.includes("%"))return t;function i(s){let a;return["s","pageTitle"].includes(s)?a=e.pageTitle:s.includes(".")?a=s.split(".").reduce((l,c)=>l&&l[c]||void 0,e):a=e[s],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let r=t;try{r=decodeURI(t)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const a=i(s.slice(1));typeof a=="string"&&(t=t.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),t.includes(Bi)&&(t.endsWith(Bi)&&(t=t.slice(0,-Bi.length).trim()),t.startsWith(Bi)&&(t=t.slice(Bi.length).trim()),t=t.replace(new RegExp(`\\${Bi}\\s*\\${Bi}`,"g"),Bi),t=il(t,{separator:n},n)),t}async function vS(t){const e={tag:t.tagName.toLowerCase(),props:await h_(t.getAttributeNames().reduce((n,i)=>({...n,[i]:t.getAttribute(i)}),{})),innerHTML:t.innerHTML};return e._d=u_(e),e}async function bS(t,e={}){var u;const n=e.document||t.resolvedOptions.document;if(!n)return;const i={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",i),!i.shouldRender)return;const r=(await t.resolveTags()).map(h=>({tag:h,id:nl.includes(h.tag)?rm(h):h.tag,shouldRender:!0}));let o=t._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const h of["body","head"]){const f=(u=n==null?void 0:n[h])==null?void 0:u.children;for(const d of[...f].filter(p=>nl.includes(p.tagName.toLowerCase())))o.elMap[d.getAttribute("data-hid")||rm(await vS(d))]=d}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function s(h,f,d){const p=`${h}:${f}`;o.sideEffects[p]=d,delete o.pendingSideEffects[p]}function a({id:h,$el:f,tag:d}){const p=d.tag.endsWith("Attrs");o.elMap[h]=f,p||(["textContent","innerHTML"].forEach(g=>{d[g]&&d[g]!==f[g]&&(f[g]=d[g])}),s(h,"el",()=>{o.elMap[h].remove(),delete o.elMap[h]})),Object.entries(d.props).forEach(([g,y])=>{const b=`attr:${g}`;if(g==="class")for(const v of(y||"").split(" ").filter(Boolean))p&&s(h,`${b}:${v}`,()=>f.classList.remove(v)),!f.classList.contains(v)&&f.classList.add(v);else f.getAttribute(g)!==y&&f.setAttribute(g,y===!0?"":String(y)),p&&s(h,b,()=>f.removeAttribute(g))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of r){const{tag:f,shouldRender:d,id:p}=h;if(d){if(f.tag==="title"){n.title=f.textContent;continue}h.$el=h.$el||o.elMap[p],h.$el?a(h):nl.includes(f.tag)&&l.push(h)}}for(const h of l){const f=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),a(h),c[f]=c[f]||n.createDocumentFragment(),c[f].appendChild(h.$el)}for(const h of r)await t.hooks.callHook("dom:renderTag",h,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(o.pendingSideEffects).forEach(h=>h()),t._dom=o,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:r})}async function xS(t,e={}){const n=e.delayFn||(i=>setTimeout(i,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(i=>n(async()=>{await bS(t,e),delete t._domUpdatePromise,i()}))}function CS(t){return e=>{var i,r;const n=((r=(i=e.resolvedOptions.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){xS(o,t)}}}}}const wS=["templateParams","htmlAttrs","bodyAttrs"],TS={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(i=>{t.props[i]&&(t.key=t.props[i],delete t.props[i])});const n=u_(t)||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":function(t){const e={};t.tags.forEach(i=>{const r=(i.key?`${i.tag}:${i.key}`:i._d)||i._p,o=e[r];if(o){let a=i==null?void 0:i.tagDuplicateStrategy;if(!a&&wS.includes(i.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{l[c]&&(i.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),i.props[c]=`${l[c]} ${i.props[c]}`):i.props[c]=l[c])}),e[r].props={...l,...i.props};return}else if(i._e===o._e){o._duped=o._duped||[],i._d=`${o._d}:${o._duped.length+1}`,o._duped.push(i);return}else if(Rl(i)>Rl(o))return}const s=Object.keys(i.props).length+(i.innerHTML?1:0)+(i.textContent?1:0);if(nl.includes(i.tag)&&s===0){delete e[r];return}e[r]=i});const n=[];Object.values(e).forEach(i=>{const r=i._duped;delete i._duped,n.push(i),r&&n.push(...r)}),t.tags=n,t.tags=t.tags.filter(i=>!(i.tag==="meta"&&(i.props.name||i.props.property)&&!i.props.content))}}},SS={mode:"server",hooks:{"tags:resolve":function(t){const e={};t.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{e[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(e).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},kS=["script","link","bodyAttrs"];function AS(t){const e={},n={};return Object.entries(t.props).forEach(([i,r])=>{i.startsWith("on")&&typeof r=="function"?(f_.includes(i)&&(e[i]=`this.dataset.${i} = true`),n[i]=r):e[i]=r}),{props:e,eventHandlers:n}}const ES=t=>({hooks:{"tags:resolve":function(e){for(const n of e.tags)if(kS.includes(n.tag)){const{props:i,eventHandlers:r}=AS(n);n.props=i,Object.keys(r).length&&((n.props.src||n.props.href)&&(n.key=n.key||Jf(n.props.src||n.props.href)),n._eventHandlers=r)}},"dom:renderTag":function(e,n,i){if(!e.tag._eventHandlers)return;const r=e.tag.tag==="bodyAttrs"?n.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([o,s])=>{const a=`${e.tag._d||e.tag._p}:${o}`,l=o.slice(2).toLowerCase(),c=`data-h-${l}`;if(i(e.id,a,()=>{}),e.$el.hasAttribute(c))return;e.$el.setAttribute(c,"");let u;const h=f=>{s(f),u==null||u.disconnect()};o in e.$el.dataset?h(new Event(o.replace("on",""))):f_.includes(o)&&typeof MutationObserver<"u"?(u=new MutationObserver(f=>{f.some(p=>p.attributeName===`data-${o}`)&&(h(new Event(o.replace("on",""))),u==null||u.disconnect())}),u.observe(e.$el,{attributes:!0})):r.addEventListener(l,h),i(e.id,a,()=>{u==null||u.disconnect(),r.removeEventListener(l,h),e.$el.removeAttribute(c)})})}}}),$S=["link","style","script","noscript"],LS={hooks:{"tag:normalise":({tag:t})=>{t.key&&$S.includes(t.tag)&&(t.props["data-hid"]=t._h=Jf(t.key))}}},OS={hooks:{"tags:resolve":t=>{const e=n=>{var i;return(i=t.tags.find(r=>r._d===n))==null?void 0:i._p};for(const{prefix:n,offset:i}of _S)for(const r of t.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=e(r.tagPriority.replace(n,""));typeof o<"u"&&(r._p=o+i)}t.tags.sort((n,i)=>n._p-i._p).sort((n,i)=>Rl(n)-Rl(i))}}},MS={meta:"content",link:"href",htmlAttrs:"lang"},FS=t=>({hooks:{"tags:resolve":e=>{var a;const{tags:n}=e,i=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,r=n.findIndex(l=>l.tag==="templateParams"),o=r!==-1?n[r].props:{},s=o.separator||"|";delete o.separator,o.pageTitle=il(o.pageTitle||i||"",o,s);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=MS[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=il(l.props[c],o,s):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=il(l[u],o,s))})}t._templateParams=o,t._separator=s,e.tags=n.filter(l=>l.tag!=="templateParams")}}}),BS={hooks:{"tags:resolve":t=>{const{tags:e}=t;let n=e.findIndex(r=>r.tag==="titleTemplate");const i=e.findIndex(r=>r.tag==="title");if(i!==-1&&n!==-1){const r=om(e[n].textContent,e[i].textContent);r!==null?e[i].textContent=r||e[i].textContent:delete e[i]}else if(n!==-1){const r=om(e[n].textContent);r!==null&&(e[n].textContent=r,e[n].tag="title",n=-1)}n!==-1&&delete e[n],t.tags=e.filter(Boolean)}}},IS={hooks:{"tags:afterResolve":function(t){for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let d_;function PS(t={}){const e=RS(t);return e.use(CS()),d_=e}function lm(t,e){return!t||t==="server"&&e||t==="client"&&!e}function RS(t={}){const e=lS();e.addHooks(t.hooks||{}),t.document=t.document||(dS?document:void 0);const n=!t.document,i=()=>{a.dirty=!0,e.callHook("entries:updated",a)};let r=0,o=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),lm(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:r++,input:l,...c};return lm(u.mode,n)&&(o.push(u),i()),{dispose(){o=o.filter(h=>h._i!==u._i),e.callHook("entries:updated",a),i()},patch(h){o=o.map(f=>(f._i===u._i&&(f.input=u.input=h),f)),i()}}},async resolveTags(){const l={tags:[],entries:[...o]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const h of await yS(c)){const f={tag:h,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:n};return[TS,SS,ES,LS,OS,FS,BS,IS,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function NS(){return d_}const DS=vh.startsWith("3");function jS(t){return typeof t=="function"?t():O(t)}function Nl(t,e=""){if(t instanceof Promise)return t;const n=jS(t);return!t||!n?n:Array.isArray(n)?n.map(i=>Nl(i,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,r])=>i==="titleTemplate"||i.startsWith("on")?[i,O(r)]:[i,Nl(r,i)])):n}const HS={hooks:{"entries:resolve":function(t){for(const e of t.entries)e.resolvedInput=Nl(e.input)}}},p_="usehead";function qS(t){return{install(n){DS&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(p_,t))}}.install}function zS(t={}){t.domDelayFn=t.domDelayFn||(n=>ke(()=>setTimeout(()=>n(),0)));const e=PS(t);return e.use(HS),e.install=qS(e),e}const cm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},um="__unhead_injection_handler__";function VS(){if(um in cm)return cm[um]();const t=kt(p_);return t||console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results."),t||NS()}function WS(t,e={}){const n=e.head||VS();if(n)return n.ssr?n.push(t,e):US(n,t,e)}function US(t,e,n={}){const i=tt(!1),r=tt({});Xn(()=>{r.value=i.value?{}:Nl(e)});const o=t.push(r.value,n);return $t(r,a=>{o.patch(a)}),Tn()&&(ca(()=>{o.dispose()}),By(()=>{i.value=!0}),Fy(()=>{i.value=!1})),o}let YS=t=>crypto.getRandomValues(new Uint8Array(t)),GS=(t,e,n)=>{let i=(2<<Math.log(t.length-1)/Math.LN2)-1,r=-~(1.6*i*e/t.length);return(o=e)=>{let s="";for(;;){let a=n(r),l=r;for(;l--;)if(s+=t[a[l]&i]||"",s.length===o)return s}}},KS=(t,e=21)=>GS(t,e,YS),XS=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,n)=>(n&=63,n<36?e+=n.toString(36):n<62?e+=(n-26).toString(36).toUpperCase():n>62?e+="-":e+="_",e),"");function hm(t,e){if(!t)return!1;const n=t.indexOf(e);return n>=0?(t.splice(n,1),!0):!1}function ZS(t){return t!=null}function JS(t,e){return Object.fromEntries(Object.entries(t).map(([n,i])=>e(n,i)).filter(ZS))}function fm(t){return Object.keys(t).forEach(e=>t[e]===void 0?delete t[e]:{}),t}const us={theme:"default",title:"Nix for genetics",titleTemplate:"%s - Slidev",addons:[],remoteAssets:!1,monaco:"dev",download:!1,export:{},info:!1,highlighter:"prism",lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,exportFilename:"",selectable:!1,themeConfig:{},fonts:{sans:['"Avenir Next"','"Nunito Sans"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"Fira Code"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["Avenir Next","Nunito Sans","Fira Code"],provider:"google",local:["Avenir Next"],italic:!1,weights:["200","400","600"]},favicon:"https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png",drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",codeCopy:!0,record:"dev",css:"unocss",presenter:!0,htmlAttrs:{},editor:!0},Wt=us,Zi=Wt.aspectRatio??16/9,Ji=Wt.canvasWidth??980,Qf=Math.ceil(Ji/Zi),td=A(()=>JS(Wt.themeConfig||{},(t,e)=>[`--slidev-theme-${t}`,e]));function m_(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function Sn(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!1})}const Jr=zt({page:0,clicks:0});let QS=[],tk=[];Sn(Jr,"$syncUp",!0);Sn(Jr,"$syncDown",!0);Sn(Jr,"$paused",!1);Sn(Jr,"$onSet",t=>QS.push(t));Sn(Jr,"$onPatch",t=>tk.push(t));m_();Sn(Jr,"$patch",async()=>!1);function g_(t,e,n=!1){const i=[];let r=!1,o=!1,s,a;const l=zt(e);function c(d){i.push(d)}function u(d,p){l[d]!==p&&(clearTimeout(s),r=!0,l[d]=p,s=setTimeout(()=>r=!1,0))}function h(d){r||(clearTimeout(a),o=!0,Object.entries(d).forEach(([p,g])=>{l[p]=g}),a=setTimeout(()=>o=!1,0))}function f(d){let p;n?n&&window.addEventListener("storage",y=>{y&&y.key===d&&y.newValue&&h(JSON.parse(y.newValue))}):(p=new BroadcastChannel(d),p.addEventListener("message",y=>h(y.data)));function g(){!n&&p&&!o?p.postMessage(At(l)):n&&!o&&window.localStorage.setItem(d,JSON.stringify(l)),r||i.forEach(y=>y(l))}if($t(l,g,{deep:!0,flush:"sync"}),n){const y=window.localStorage.getItem(d);y&&h(JSON.parse(y))}}return{init:f,onPatch:c,patch:u,state:l}}const{init:ek,onPatch:nk,patch:Ko,state:bu}=g_(Jr,{page:1,clicks:0,viewerPage:1,viewerClicks:0}),Qr=zt({});let ik=[],rk=[];Sn(Qr,"$syncUp",!0);Sn(Qr,"$syncDown",!0);Sn(Qr,"$paused",!1);Sn(Qr,"$onSet",t=>ik.push(t));Sn(Qr,"$onPatch",t=>rk.push(t));m_();Sn(Qr,"$patch",async()=>!1);const{init:ok,onPatch:sk,patch:y_,state:Dl}=g_(Qr,{},!1),ak="modulepreload",lk=function(t){return"/slides/fosdem2024/"+t},dm={},Qt=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");r=Promise.all(n.map(s=>{if(s=lk(s),s in dm)return;dm[s]=!0;const a=s.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!i)for(let h=o.length-1;h>=0;h--){const f=o[h];if(f.href===s&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":ak,a||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),a)return new Promise((h,f)=>{u.addEventListener("load",h),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})}))}return r.then(()=>e()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})};function ck(t,e){let n,i,r;const o=tt(!0),s=()=>{o.value=!0,r()};$t(t,s,{flush:"sync"});const a=typeof e=="function"?e:e.get,l=typeof e=="function"?void 0:e.set,c=Pf((u,h)=>(i=u,r=h,{get(){return o.value&&(n=a(),o.value=!1),i(),n},set(f){l==null||l(f)}}));return Object.isExtensible(c)&&(c.trigger=s),c}function wi(t){return V0()?(aC(t),!0):!1}function re(t){return typeof t=="function"?t():O(t)}function uk(t){if(!Yt(t))return zt(t);const e=new Proxy({},{get(n,i,r){return O(Reflect.get(t.value,i,r))},set(n,i,r){return Yt(t.value[i])&&!Yt(r)?t.value[i].value=r:t.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(t.value,i)},has(n,i){return Reflect.has(t.value,i)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return zt(e)}const vn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const hk=t=>typeof t<"u",fk=t=>t!=null,dk=Object.prototype.toString,Ps=t=>dk.call(t)==="[object Object]",Ch=()=>+Date.now(),vi=()=>{},pk=mk();function mk(){var t,e;return vn&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function gk(t,e){function n(...i){return new Promise((r,o)=>{Promise.resolve(t(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(r).catch(o)})}return n}const __=t=>t();function yk(t=__){const e=tt(!0);function n(){e.value=!1}function i(){e.value=!0}const r=(...o)=>{e.value&&t(...o)};return{isActive:Un(e),pause:n,resume:i,eventFilter:r}}function _k(t,e){var n;if(typeof t=="number")return t+e;const i=((n=t.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",r=t.slice(i.length),o=Number.parseFloat(i)+e;return Number.isNaN(o)?t:o+r}function v_(t){return t||Tn()}function vk(...t){if(t.length!==1)return Ai(...t);const e=t[0];return typeof e=="function"?Un(Pf(()=>({get:e,set:vi}))):tt(e)}function bk(t,e,n={}){const{eventFilter:i=__,...r}=n;return $t(t,gk(i,e),r)}function xk(t,e,n={}){const{eventFilter:i,...r}=n,{eventFilter:o,pause:s,resume:a,isActive:l}=yk(i);return{stop:bk(t,e,{...r,eventFilter:o}),pause:s,resume:a,isActive:l}}function Ck(t,e={}){if(!Yt(t))return MC(t);const n=Array.isArray(t.value)?Array.from({length:t.value.length}):{};for(const i in t.value)n[i]=Pf(()=>({get(){return t.value[i]},set(r){var o;if((o=re(e.replaceRef))!=null?o:!0)if(Array.isArray(t.value)){const a=[...t.value];a[i]=r,t.value=a}else{const a={...t.value,[i]:r};Object.setPrototypeOf(a,Object.getPrototypeOf(t.value)),t.value=a}else t.value[i]=r}}));return n}function fa(t,e=!0,n){v_()?Zr(t,n):e?t():ke(t)}function wk(t,e){v_(e)&&Vf(t,e)}function Tk(t,e=1e3,n={}){const{immediate:i=!0,immediateCallback:r=!1}=n;let o=null;const s=tt(!1);function a(){o&&(clearInterval(o),o=null)}function l(){s.value=!1,a()}function c(){const u=re(e);u<=0||(s.value=!0,r&&t(),a(),o=setInterval(t,u))}if(i&&vn&&c(),Yt(e)||typeof e=="function"){const u=$t(e,()=>{s.value&&vn&&c()});wi(u)}return wi(l),{isActive:s,pause:l,resume:c}}function b_(t=!1,e={}){const{truthyValue:n=!0,falsyValue:i=!1}=e,r=Yt(t),o=tt(t);function s(a){if(arguments.length)return o.value=a,o.value;{const l=re(n);return o.value=o.value===l?re(i):l,o.value}}return r?s:[o,s]}function xe(t){var e;const n=re(t);return(e=n==null?void 0:n.$el)!=null?e:n}const we=vn?window:void 0,x_=vn?window.document:void 0;function Pt(...t){let e,n,i,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,i,r]=t,e=we):[e,n,i,r]=t,!e)return vi;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const o=[],s=()=>{o.forEach(u=>u()),o.length=0},a=(u,h,f,d)=>(u.addEventListener(h,f,d),()=>u.removeEventListener(h,f,d)),l=$t(()=>[xe(e),re(r)],([u,h])=>{if(s(),!u)return;const f=Ps(h)?{...h}:h;o.push(...n.flatMap(d=>i.map(p=>a(u,d,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return wi(c),c}let pm=!1;function Sk(t,e,n={}){const{window:i=we,ignore:r=[],capture:o=!0,detectIframe:s=!1}=n;if(!i)return vi;pk&&!pm&&(pm=!0,Array.from(i.document.body.children).forEach(f=>f.addEventListener("click",vi)),i.document.documentElement.addEventListener("click",vi));let a=!0;const l=f=>r.some(d=>{if(typeof d=="string")return Array.from(i.document.querySelectorAll(d)).some(p=>p===f.target||f.composedPath().includes(p));{const p=xe(d);return p&&(f.target===p||f.composedPath().includes(p))}}),u=[Pt(i,"click",f=>{const d=xe(t);if(!(!d||d===f.target||f.composedPath().includes(d))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}e(f)}},{passive:!0,capture:o}),Pt(i,"pointerdown",f=>{const d=xe(t);a=!l(f)&&!!(d&&!f.composedPath().includes(d))},{passive:!0}),s&&Pt(i,"blur",f=>{setTimeout(()=>{var d;const p=xe(t);((d=i.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(p!=null&&p.contains(i.document.activeElement))&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}function kk(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function Ak(...t){let e,n,i={};t.length===3?(e=t[0],n=t[1],i=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],i=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:r=we,eventName:o="keydown",passive:s=!1,dedupe:a=!1}=i,l=kk(e);return Pt(r,o,u=>{u.repeat&&re(a)||l(u)&&n(u)},s)}function Ek(t={}){var e;const{window:n=we,deep:i=!0}=t,r=(e=t.document)!=null?e:n==null?void 0:n.document,o=()=>{var a;let l=r==null?void 0:r.activeElement;if(i)for(;l!=null&&l.shadowRoot;)l=(a=l==null?void 0:l.shadowRoot)==null?void 0:a.activeElement;return l},s=ck(()=>null,()=>o());return n&&(Pt(n,"blur",a=>{a.relatedTarget===null&&s.trigger()},!0),Pt(n,"focus",s.trigger,!0)),s}function $k(){const t=tt(!1);return Tn()&&Zr(()=>{t.value=!0}),t}function Lc(t){const e=$k();return A(()=>(e.value,!!t()))}function C_(t,e={}){const{immediate:n=!0,fpsLimit:i=void 0,window:r=we}=e,o=tt(!1),s=i?1e3/i:null;let a=0,l=null;function c(f){if(!o.value||!r)return;const d=f-(a||f);if(s&&d<s){l=r.requestAnimationFrame(c);return}t({delta:d,timestamp:f}),a=f,l=r.requestAnimationFrame(c)}function u(){!o.value&&r&&(o.value=!0,l=r.requestAnimationFrame(c))}function h(){o.value=!1,l!=null&&r&&(r.cancelAnimationFrame(l),l=null)}return n&&u(),wi(h),{isActive:Un(o),pause:h,resume:u}}function Sr(t,e={}){const{window:n=we}=e,i=Lc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=tt(!1),s=c=>{o.value=c.matches},a=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",s):r.removeListener(s))},l=Xn(()=>{i.value&&(a(),r=n.matchMedia(re(t)),"addEventListener"in r?r.addEventListener("change",s):r.addListener(s),o.value=r.matches)});return wi(()=>{l(),a(),r=void 0}),o}const Lk={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function Ok(t,e={}){function n(a,l){let c=re(t[a]);return l!=null&&(c=_k(c,l)),typeof c=="number"&&(c=`${c}px`),c}const{window:i=we}=e;function r(a){return i?i.matchMedia(a).matches:!1}const o=a=>Sr(()=>`(min-width: ${n(a)})`,e),s=Object.keys(t).reduce((a,l)=>(Object.defineProperty(a,l,{get:()=>o(l),enumerable:!0,configurable:!0}),a),{});return Object.assign(s,{greater(a){return Sr(()=>`(min-width: ${n(a,.1)})`,e)},greaterOrEqual:o,smaller(a){return Sr(()=>`(max-width: ${n(a,-.1)})`,e)},smallerOrEqual(a){return Sr(()=>`(max-width: ${n(a)})`,e)},between(a,l){return Sr(()=>`(min-width: ${n(a)}) and (max-width: ${n(l,-.1)})`,e)},isGreater(a){return r(`(min-width: ${n(a,.1)})`)},isGreaterOrEqual(a){return r(`(min-width: ${n(a)})`)},isSmaller(a){return r(`(max-width: ${n(a,-.1)})`)},isSmallerOrEqual(a){return r(`(max-width: ${n(a)})`)},isInBetween(a,l){return r(`(min-width: ${n(a)}) and (max-width: ${n(l,-.1)})`)},current(){const a=Object.keys(t).map(l=>[l,o(l)]);return A(()=>a.filter(([,l])=>l.value).map(([l])=>l))}})}function Mk(t){return JSON.parse(JSON.stringify(t))}const Fa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ba="__vueuse_ssr_handlers__",Fk=Bk();function Bk(){return Ba in Fa||(Fa[Ba]=Fa[Ba]||{}),Fa[Ba]}function Ik(t,e){return Fk[t]||e}function Pk(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const Rk={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},mm="vueuse-storage";function Nk(t,e,n,i={}){var r;const{flush:o="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:h=we,eventFilter:f,onError:d=E=>{console.error(E)},initOnMounted:p}=i,g=(u?ti:tt)(typeof e=="function"?e():e);if(!n)try{n=Ik("getDefaultStorage",()=>{var E;return(E=we)==null?void 0:E.localStorage})()}catch(E){d(E)}if(!n)return g;const y=re(e),b=Pk(y),v=(r=i.serializer)!=null?r:Rk[b],{pause:_,resume:w}=xk(g,()=>S(g.value),{flush:o,deep:s,eventFilter:f});return h&&a&&fa(()=>{Pt(h,"storage",P),Pt(h,mm,C),p&&P()}),p||P(),g;function S(E){try{if(E==null)n.removeItem(t);else{const F=v.write(E),ot=n.getItem(t);ot!==F&&(n.setItem(t,F),h&&h.dispatchEvent(new CustomEvent(mm,{detail:{key:t,oldValue:ot,newValue:F,storageArea:n}})))}}catch(F){d(F)}}function B(E){const F=E?E.newValue:n.getItem(t);if(F==null)return l&&y!=null&&n.setItem(t,v.write(y)),y;if(!E&&c){const ot=v.read(F);return typeof c=="function"?c(ot,y):b==="object"&&!Array.isArray(ot)?{...y,...ot}:ot}else return typeof F!="string"?F:v.read(F)}function C(E){P(E.detail)}function P(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){g.value=y;return}if(!(E&&E.key!==t)){_();try{(E==null?void 0:E.newValue)!==v.write(g.value)&&(g.value=B(E))}catch(F){d(F)}finally{E?ke(w):w()}}}}}function Dk(t){return Sr("(prefers-color-scheme: dark)",t)}function mW(t,e={}){var n,i;const{pointerTypes:r,preventDefault:o,stopPropagation:s,exact:a,onMove:l,onEnd:c,onStart:u,initialValue:h,axis:f="both",draggingElement:d=we,containerElement:p,handle:g=t}=e,y=tt((n=re(h))!=null?n:{x:0,y:0}),b=tt(),v=C=>r?r.includes(C.pointerType):!0,_=C=>{re(o)&&C.preventDefault(),re(s)&&C.stopPropagation()},w=C=>{var P;if(!v(C)||re(a)&&C.target!==re(t))return;const E=re(p),F=(P=E==null?void 0:E.getBoundingClientRect)==null?void 0:P.call(E),ot=re(t).getBoundingClientRect(),V={x:C.clientX-(E?ot.left-F.left+E.scrollLeft:ot.left),y:C.clientY-(E?ot.top-F.top+E.scrollTop:ot.top)};(u==null?void 0:u(V,C))!==!1&&(b.value=V,_(C))},S=C=>{var P;if(!v(C)||!b.value)return;const E=re(p),F=(P=E==null?void 0:E.getBoundingClientRect)==null?void 0:P.call(E),ot=re(t).getBoundingClientRect();let{x:V,y:W}=y.value;(f==="x"||f==="both")&&(V=C.clientX-b.value.x,E&&(V=Math.min(Math.max(0,V),F.width+E.scrollLeft-ot.width))),(f==="y"||f==="both")&&(W=C.clientY-b.value.y,E&&(W=Math.min(Math.max(0,W),F.height+E.scrollTop-ot.height))),y.value={x:V,y:W},l==null||l(y.value,C),_(C)},B=C=>{v(C)&&b.value&&(b.value=void 0,c==null||c(y.value,C),_(C))};if(vn){const C={capture:(i=e.capture)!=null?i:!0};Pt(g,"pointerdown",w,C),Pt(d,"pointermove",S,C),Pt(d,"pointerup",B,C)}return{...Ck(y),position:y,isDragging:A(()=>!!b.value),style:A(()=>`left:${y.value.x}px;top:${y.value.y}px;`)}}function jk(t,e,n={}){const{window:i=we,...r}=n;let o;const s=Lc(()=>i&&"ResizeObserver"in i),a=()=>{o&&(o.disconnect(),o=void 0)},l=A(()=>Array.isArray(t)?t.map(h=>xe(h)):[xe(t)]),c=$t(l,h=>{if(a(),s.value&&i){o=new ResizeObserver(e);for(const f of h)f&&o.observe(f,r)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{a(),c()};return wi(u),{isSupported:s,stop:u}}function Hk(t,e={width:0,height:0},n={}){const{window:i=we,box:r="content-box"}=n,o=A(()=>{var h,f;return(f=(h=xe(t))==null?void 0:h.namespaceURI)==null?void 0:f.includes("svg")}),s=tt(e.width),a=tt(e.height),{stop:l}=jk(t,([h])=>{const f=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(i&&o.value){const d=xe(t);if(d){const p=i.getComputedStyle(d);s.value=Number.parseFloat(p.width),a.value=Number.parseFloat(p.height)}}else if(f){const d=Array.isArray(f)?f:[f];s.value=d.reduce((p,{inlineSize:g})=>p+g,0),a.value=d.reduce((p,{blockSize:g})=>p+g,0)}else s.value=h.contentRect.width,a.value=h.contentRect.height},n);fa(()=>{const h=xe(t);h&&(s.value="offsetWidth"in h?h.offsetWidth:e.width,a.value="offsetHeight"in h?h.offsetHeight:e.height)});const c=$t(()=>xe(t),h=>{s.value=h?e.width:0,a.value=h?e.height:0});function u(){l(),c()}return{width:s,height:a,stop:u}}function qk(t,e,n={}){const{root:i,rootMargin:r="0px",threshold:o=.1,window:s=we,immediate:a=!0}=n,l=Lc(()=>s&&"IntersectionObserver"in s),c=A(()=>{const p=re(t);return(Array.isArray(p)?p:[p]).map(xe).filter(fk)});let u=vi;const h=tt(a),f=l.value?$t(()=>[c.value,xe(i),h.value],([p,g])=>{if(u(),!h.value||!p.length)return;const y=new IntersectionObserver(e,{root:xe(g),rootMargin:r,threshold:o});p.forEach(b=>b&&y.observe(b)),u=()=>{y.disconnect(),u=vi}},{immediate:a,flush:"post"}):vi,d=()=>{u(),f(),h.value=!1};return wi(d),{isSupported:l,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:d}}const gm=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function zk(t,e={}){const{document:n=x_,autoExit:i=!1}=e,r=A(()=>{var b;return(b=xe(t))!=null?b:n==null?void 0:n.querySelector("html")}),o=tt(!1),s=A(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),a=A(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),l=A(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||r.value&&b in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Lc(()=>r.value&&n&&s.value!==void 0&&a.value!==void 0&&l.value!==void 0),h=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const b=r.value;if((b==null?void 0:b[l.value])!=null)return!!b[l.value]}}return!1};async function d(){if(!(!u.value||!o.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const b=r.value;(b==null?void 0:b[a.value])!=null&&await b[a.value]()}o.value=!1}}async function p(){if(!u.value||o.value)return;f()&&await d();const b=r.value;s.value&&(b==null?void 0:b[s.value])!=null&&(await b[s.value](),o.value=!0)}async function g(){await(o.value?d():p())}const y=()=>{const b=f();(!b||b&&h())&&(o.value=b)};return Pt(n,gm,y,!1),Pt(()=>xe(r),gm,y,!1),i&&wi(d),{isSupported:u,isFullscreen:o,enter:p,exit:d,toggle:g}}function ln(t,e,n={}){const{window:i=we}=n;return Nk(t,e,i==null?void 0:i.localStorage,n)}const Vk={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Wk(t={}){const{reactive:e=!1,target:n=we,aliasMap:i=Vk,passive:r=!0,onEventFired:o=vi}=t,s=zt(new Set),a={toJSON(){return{}},current:s},l=e?zt(a):a,c=new Set,u=new Set;function h(g,y){g in l&&(e?l[g]=y:l[g].value=y)}function f(){s.clear();for(const g of u)h(g,!1)}function d(g,y){var b,v;const _=(b=g.key)==null?void 0:b.toLowerCase(),S=[(v=g.code)==null?void 0:v.toLowerCase(),_].filter(Boolean);_&&(y?s.add(_):s.delete(_));for(const B of S)u.add(B),h(B,y);_==="meta"&&!y?(c.forEach(B=>{s.delete(B),h(B,!1)}),c.clear()):typeof g.getModifierState=="function"&&g.getModifierState("Meta")&&y&&[...s,...S].forEach(B=>c.add(B))}Pt(n,"keydown",g=>(d(g,!0),o(g)),{passive:r}),Pt(n,"keyup",g=>(d(g,!1),o(g)),{passive:r}),Pt("blur",f,{passive:!0}),Pt("focus",f,{passive:!0});const p=new Proxy(l,{get(g,y,b){if(typeof y!="string")return Reflect.get(g,y,b);if(y=y.toLowerCase(),y in i&&(y=i[y]),!(y in l))if(/[+_-]/.test(y)){const _=y.split(/[+_-]/g).map(w=>w.trim());l[y]=A(()=>_.every(w=>re(p[w])))}else l[y]=tt(!1);const v=Reflect.get(g,y,b);return e?re(v):v}});return p}const Uk={page:t=>[t.pageX,t.pageY],client:t=>[t.clientX,t.clientY],screen:t=>[t.screenX,t.screenY],movement:t=>t instanceof Touch?null:[t.movementX,t.movementY]};function gW(t={}){const{type:e="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:r={x:0,y:0},window:o=we,target:s=o,scroll:a=!0,eventFilter:l}=t;let c=null;const u=tt(r.x),h=tt(r.y),f=tt(null),d=typeof e=="function"?e:Uk[e],p=S=>{const B=d(S);c=S,B&&([u.value,h.value]=B,f.value="mouse")},g=S=>{if(S.touches.length>0){const B=d(S.touches[0]);B&&([u.value,h.value]=B,f.value="touch")}},y=()=>{if(!c||!o)return;const S=d(c);c instanceof MouseEvent&&S&&(u.value=S[0]+o.scrollX,h.value=S[1]+o.scrollY)},b=()=>{u.value=r.x,h.value=r.y},v=l?S=>l(()=>p(S),{}):S=>p(S),_=l?S=>l(()=>g(S),{}):S=>g(S),w=l?()=>l(()=>y(),{}):()=>y();if(s){const S={passive:!0};Pt(s,["mousemove","dragover"],v,S),n&&e!=="movement"&&(Pt(s,["touchstart","touchmove"],_,S),i&&Pt(s,"touchend",b,S)),a&&e==="page"&&Pt(o,"scroll",w,{passive:!0})}return{x:u,y:h,sourceType:f}}function Yk(t,e={}){const n=vk(t),{threshold:i=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:s,disableTextSelect:a=!1}=e,l=zt({x:0,y:0}),c=(C,P)=>{l.x=C,l.y=P},u=zt({x:0,y:0}),h=(C,P)=>{u.x=C,u.y=P},f=A(()=>l.x-u.x),d=A(()=>l.y-u.y),{max:p,abs:g}=Math,y=A(()=>p(g(f.value),g(d.value))>=i),b=tt(!1),v=tt(!1),_=A(()=>y.value?g(f.value)>g(d.value)?f.value>0?"left":"right":d.value>0?"up":"down":"none"),w=C=>{var P,E,F;const ot=C.buttons===0,V=C.buttons===1;return(F=(E=(P=e.pointerTypes)==null?void 0:P.includes(C.pointerType))!=null?E:ot||V)!=null?F:!0},S=[Pt(t,"pointerdown",C=>{if(!w(C))return;v.value=!0;const P=C.target;P==null||P.setPointerCapture(C.pointerId);const{clientX:E,clientY:F}=C;c(E,F),h(E,F),s==null||s(C)}),Pt(t,"pointermove",C=>{if(!w(C)||!v.value)return;const{clientX:P,clientY:E}=C;h(P,E),!b.value&&y.value&&(b.value=!0),b.value&&(r==null||r(C))}),Pt(t,"pointerup",C=>{w(C)&&(b.value&&(o==null||o(C,_.value)),v.value=!1,b.value=!1)})];fa(()=>{var C,P,E,F,ot,V,W,N;(P=(C=n.value)==null?void 0:C.style)==null||P.setProperty("touch-action","none"),a&&((F=(E=n.value)==null?void 0:E.style)==null||F.setProperty("-webkit-user-select","none"),(V=(ot=n.value)==null?void 0:ot.style)==null||V.setProperty("-ms-user-select","none"),(N=(W=n.value)==null?void 0:W.style)==null||N.setProperty("user-select","none"))});const B=()=>S.forEach(C=>C());return{isSwiping:Un(b),direction:Un(_),posStart:Un(l),posEnd:Un(u),distanceX:f,distanceY:d,stop:B}}let Gk=0;function yW(t,e={}){const n=tt(!1),{document:i=x_,immediate:r=!0,manual:o=!1,id:s=`vueuse_styletag_${++Gk}`}=e,a=tt(t);let l=()=>{};const c=()=>{if(!i)return;const h=i.getElementById(s)||i.createElement("style");h.isConnected||(h.id=s,e.media&&(h.media=e.media),i.head.appendChild(h)),!n.value&&(l=$t(a,f=>{h.textContent=f},{immediate:!0}),n.value=!0)},u=()=>{!i||!n.value||(l(),i.head.removeChild(i.getElementById(s)),n.value=!1)};return r&&!o&&fa(c),o||wi(u),{id:s,css:a,unload:u,load:c,isLoaded:Un(n)}}function _W(t={}){const{controls:e=!1,offset:n=0,immediate:i=!0,interval:r="requestAnimationFrame",callback:o}=t,s=tt(Ch()+n),a=()=>s.value=Ch()+n,l=o?()=>{a(),o(s.value)}:a,c=r==="requestAnimationFrame"?C_(l,{immediate:i}):Tk(l,r,{immediate:i});return e?{timestamp:s,...c}:s}function Yn(t,e,n,i={}){var r,o,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:h,shouldEmit:f}=i,d=Tn(),p=n||(d==null?void 0:d.emit)||((r=d==null?void 0:d.$emit)==null?void 0:r.bind(d))||((s=(o=d==null?void 0:d.proxy)==null?void 0:o.$emit)==null?void 0:s.bind(d==null?void 0:d.proxy));let g=c;e||(e="modelValue"),g=g||`update:${e.toString()}`;const y=_=>a?typeof a=="function"?a(_):Mk(_):_,b=()=>hk(t[e])?y(t[e]):h,v=_=>{f?f(_)&&p(g,_):p(g,_)};if(l){const _=b(),w=tt(_);let S=!1;return $t(()=>t[e],B=>{S||(S=!0,w.value=y(B),ke(()=>S=!1))}),$t(w,B=>{!S&&(B!==t[e]||u)&&v(B)},{deep:u}),w}else return A({get(){return b()},set(_){v(_)}})}function vW(t={}){const{window:e=we}=t;if(!e)return tt(!1);const n=tt(e.document.hasFocus());return Pt(e,"blur",()=>{n.value=!1}),Pt(e,"focus",()=>{n.value=!0}),n}function Kk(t={}){const{window:e=we,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=t,s=tt(n),a=tt(i),l=()=>{e&&(o?(s.value=e.innerWidth,a.value=e.innerHeight):(s.value=e.document.documentElement.clientWidth,a.value=e.document.documentElement.clientHeight))};if(l(),fa(l),Pt("resize",l,{passive:!0}),r){const c=Sr("(orientation: portrait)");$t(c,()=>l())}return{width:s,height:a}}function Xk(){return w_().__VUE_DEVTOOLS_GLOBAL_HOOK__}function w_(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Zk=typeof Proxy=="function",Jk="devtools-plugin:setup",Qk="plugin:settings:set";let so,wh;function tA(){var t;return so!==void 0||(typeof window<"u"&&window.performance?(so=!0,wh=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(so=!0,wh=global.perf_hooks.performance):so=!1),so}function eA(){return tA()?wh.now():Date.now()}class nA{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const s in e.settings){const a=e.settings[s];i[s]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},i);try{const s=localStorage.getItem(r),a=JSON.parse(s);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(s){try{localStorage.setItem(r,JSON.stringify(s))}catch{}o=s},now(){return eA()}},n&&n.on(Qk,(s,a)=>{s===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(s,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function iA(t,e){const n=t,i=w_(),r=Xk(),o=Zk&&n.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(Jk,t,e);else{const s=o?new nA(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:s}),s&&e(s.proxiedTarget)}}/*!
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const gi=typeof window<"u";function rA(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Gt=Object.assign;function xu(t,e){const n={};for(const i in e){const r=e[i];n[i]=sn(r)?r.map(t):t(r)}return n}const _s=()=>{},sn=Array.isArray;function qt(t){const e=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+t].concat(e))}const oA=/\/$/,sA=t=>t.replace(oA,"");function Cu(t,e,n="/"){let i,r={},o="",s="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),o=e.slice(l+1,a>-1?a:e.length),r=t(o)),a>-1&&(i=i||e.slice(0,a),s=e.slice(a,e.length)),i=cA(i??e,n),{fullPath:i+(o&&"?")+o+s,path:i,query:r,hash:s}}function aA(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function ym(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function _m(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&sr(e.matched[i],n.matched[r])&&T_(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function sr(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function T_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!lA(t[n],e[n]))return!1;return!0}function lA(t,e){return sn(t)?vm(t,e):sn(e)?vm(e,t):t===e}function vm(t,e){return sn(e)?t.length===e.length&&t.every((n,i)=>n===e[i]):t.length===1&&t[0]===e}function cA(t,e){if(t.startsWith("/"))return t;if(!e.startsWith("/"))return qt(`Cannot resolve a relative location without an absolute path. Trying to resolve "${t}" from "${e}". It should look like "/${e}".`),t;if(!t)return e;const n=e.split("/"),i=t.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let o=n.length-1,s,a;for(s=0;s<i.length;s++)if(a=i[s],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+i.slice(s-(s===i.length?1:0)).join("/")}var Rs;(function(t){t.pop="pop",t.push="push"})(Rs||(Rs={}));var vs;(function(t){t.back="back",t.forward="forward",t.unknown=""})(vs||(vs={}));function uA(t){if(!t)if(gi){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),sA(t)}const hA=/^[^#]+#/;function fA(t,e){return t.replace(hA,"#")+e}function dA(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}const Oc=()=>({left:window.pageXOffset,top:window.pageYOffset});function pA(t){let e;if("el"in t){const n=t.el,i=typeof n=="string"&&n.startsWith("#");if(typeof t.el=="string"&&(!i||!document.getElementById(t.el.slice(1))))try{const o=document.querySelector(t.el);if(i&&o){qt(`The selector "${t.el}" should be passed as "el: document.querySelector('${t.el}')" because it starts with "#".`);return}}catch{qt(`The selector "${t.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const r=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r){qt(`Couldn't find element using selector "${t.el}" returned by scrollBehavior.`);return}e=dA(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function bm(t,e){return(history.state?history.state.position-e:-1)+t}const Th=new Map;function mA(t,e){Th.set(t,e)}function gA(t){const e=Th.get(t);return Th.delete(t),e}let yA=()=>location.protocol+"//"+location.host;function S_(t,e){const{pathname:n,search:i,hash:r}=e,o=t.indexOf("#");if(o>-1){let a=r.includes(t.slice(o))?t.slice(o).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),ym(l,"")}return ym(n,t)+i+r}function _A(t,e,n,i){let r=[],o=[],s=null;const a=({state:f})=>{const d=S_(t,location),p=n.value,g=e.value;let y=0;if(f){if(n.value=d,e.value=f,s&&s===p){s=null;return}y=g?f.position-g.position:0}else i(d);r.forEach(b=>{b(n.value,p,{delta:y,type:Rs.pop,direction:y?y>0?vs.forward:vs.back:vs.unknown})})};function l(){s=n.value}function c(f){r.push(f);const d=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return o.push(d),d}function u(){const{history:f}=window;f.state&&f.replaceState(Gt({},f.state,{scroll:Oc()}),"")}function h(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function xm(t,e,n,i=!1,r=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:r?Oc():null}}function vA(t){const{history:e,location:n}=window,i={value:S_(t,n)},r={value:e.state};r.value||o(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:yA()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(d){qt("Error with push/replace State",d),n[u?"replace":"assign"](f)}}function s(l,c){const u=Gt({},e.state,xm(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});o(l,u,!0),i.value=l}function a(l,c){const u=Gt({},r.value,e.state,{forward:l,scroll:Oc()});e.state||qt(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
history.replaceState(history.state, '', url)
You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`),o(u.current,u,!0);const h=Gt({},xm(i.value,l,null),{position:u.position+1},c);o(l,h,!1),i.value=l}return{location:i,state:r,push:a,replace:s}}function bA(t){t=uA(t);const e=vA(t),n=_A(t,e.state,e.location,e.replace);function i(o,s=!0){s||n.pauseListeners(),history.go(o)}const r=Gt({location:"",base:t,go:i,createHref:fA.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function xA(t){return typeof t=="string"||t&&typeof t=="object"}function k_(t){return typeof t=="string"||typeof t=="symbol"}const Ii={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},A_=Symbol("navigation failure");var Cm;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Cm||(Cm={}));const CA={1({location:t,currentLocation:e}){return`No match for
${JSON.stringify(t)}${e?`
while being at
`+JSON.stringify(e):""}`},2({from:t,to:e}){return`Redirected from "${t.fullPath}" to "${TA(e)}" via a navigation guard.`},4({from:t,to:e}){return`Navigation aborted from "${t.fullPath}" to "${e.fullPath}" via a navigation guard.`},8({from:t,to:e}){return`Navigation cancelled from "${t.fullPath}" to "${e.fullPath}" with a new navigation.`},16({from:t,to:e}){return`Avoided redundant navigation to current location: "${t.fullPath}".`}};function Eo(t,e){return Gt(new Error(CA[t](e)),{type:t,[A_]:!0},e)}function si(t,e){return t instanceof Error&&A_ in t&&(e==null||!!(t.type&e))}const wA=["params","query","hash"];function TA(t){if(typeof t=="string")return t;if("path"in t)return t.path;const e={};for(const n of wA)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}const wm="[^/]+?",SA={sensitive:!1,strict:!1,start:!0,end:!0},kA=/[.+*?^${}()[\]/\\]/g;function AA(t,e){const n=Gt({},SA,e),i=[];let r=n.start?"^":"";const o=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let h=0;h<c.length;h++){const f=c[h];let d=40+(n.sensitive?.25:0);if(f.type===0)h||(r+="/"),r+=f.value.replace(kA,"\\$&"),d+=40;else if(f.type===1){const{value:p,repeatable:g,optional:y,regexp:b}=f;o.push({name:p,repeatable:g,optional:y});const v=b||wm;if(v!==wm){d+=10;try{new RegExp(`(${v})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+w.message)}}let _=g?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;h||(_=y&&c.length<2?`(?:/${_})`:"/"+_),y&&(_+="?"),r+=_,d+=20,y&&(d+=-8),g&&(d+=-20),v===".*"&&(d+=-50)}u.push(d)}i.push(u)}if(n.strict&&n.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");function a(c){const u=c.match(s),h={};if(!u)return null;for(let f=1;f<u.length;f++){const d=u[f]||"",p=o[f-1];h[p.name]=d&&p.repeatable?d.split("/"):d}return h}function l(c){let u="",h=!1;for(const f of t){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const d of f)if(d.type===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:g,optional:y}=d,b=p in c?c[p]:"";if(sn(b)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=sn(b)?b.join("/"):b;if(!v)if(y)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:s,score:i,keys:o,parse:a,stringify:l}}function EA(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function $A(t,e){let n=0;const i=t.score,r=e.score;for(;n<i.length&&n<r.length;){const o=EA(i[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-i.length)===1){if(Tm(i))return 1;if(Tm(r))return-1}return r.length-i.length}function Tm(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const LA={type:0,value:""},OA=/[a-zA-Z0-9_]/;function MA(t){if(!t)return[[]];if(t==="/")return[[LA]];if(!t.startsWith("/"))throw new Error(`Route paths should start with a "/": "${t}" should be "/${t}".`);function e(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=0,i=n;const r=[];let o;function s(){o&&r.push(o),o=[]}let a=0,l,c="",u="";function h(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<t.length;){if(l=t[a++],l==="\\"&&n!==2){i=n,n=4;continue}switch(n){case 0:l==="/"?(c&&h(),s()):l===":"?(h(),n=1):f();break;case 4:f(),n=i;break;case 1:l==="("?n=2:OA.test(l)?f():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${c}"`),h(),s(),r}function FA(t,e,n){const i=AA(MA(t.path),n);{const o=new Set;for(const s of i.keys)o.has(s.name)&&qt(`Found duplicated params with name "${s.name}" for path "${t.path}". Only the last one will be available on "$route.params".`),o.add(s.name)}const r=Gt(i,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function BA(t,e){const n=[],i=new Map;e=Am({strict:!1,end:!0,sensitive:!1},e);function r(u){return i.get(u)}function o(u,h,f){const d=!f,p=IA(u);DA(p,h),p.aliasOf=f&&f.record;const g=Am(e,u),y=[p];if("alias"in u){const _=typeof u.alias=="string"?[u.alias]:u.alias;for(const w of _)y.push(Gt({},p,{components:f?f.record.components:p.components,path:w,aliasOf:f?f.record:p}))}let b,v;for(const _ of y){const{path:w}=_;if(h&&w[0]!=="/"){const S=h.record.path,B=S[S.length-1]==="/"?"":"/";_.path=h.record.path+(w&&B+w)}if(_.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);if(b=FA(_,h,g),h&&w[0]==="/"&&jA(b,h),f?(f.alias.push(b),NA(f,b)):(v=v||b,v!==b&&v.alias.push(b),d&&u.name&&!km(b)&&s(u.name)),p.children){const S=p.children;for(let B=0;B<S.length;B++)o(S[B],b,f&&f.children[B])}f=f||b,(b.record.components&&Object.keys(b.record.components).length||b.record.name||b.record.redirect)&&l(b)}return v?()=>{s(v)}:_s}function s(u){if(k_(u)){const h=i.get(u);h&&(i.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&i.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function a(){return n}function l(u){let h=0;for(;h<n.length&&$A(u,n[h])>=0&&(u.record.path!==n[h].record.path||!E_(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!km(u)&&i.set(u.record.name,u)}function c(u,h){let f,d={},p,g;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw Eo(1,{location:u});{const v=Object.keys(u.params||{}).filter(_=>!f.keys.find(w=>w.name===_));v.length&&qt(`Discarded invalid param(s) "${v.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}g=f.record.name,d=Gt(Sm(h.params,f.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&Sm(u.params,f.keys.map(v=>v.name))),p=f.stringify(d)}else if("path"in u)p=u.path,p.startsWith("/")||qt(`The Matcher cannot resolve relative paths but received "${p}". Unless you directly called \`matcher.resolve("${p}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),f=n.find(v=>v.re.test(p)),f&&(d=f.parse(p),g=f.record.name);else{if(f=h.name?i.get(h.name):n.find(v=>v.re.test(h.path)),!f)throw Eo(1,{location:u,currentLocation:h});g=f.record.name,d=Gt({},h.params,u.params),p=f.stringify(d)}const y=[];let b=f;for(;b;)y.unshift(b.record),b=b.parent;return{name:g,path:p,params:d,matched:y,meta:RA(y)}}return t.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:s,getRoutes:a,getRecordMatcher:r}}function Sm(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function IA(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:PA(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function PA(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]=typeof n=="object"?n[i]:n;return e}function km(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function RA(t){return t.reduce((e,n)=>Gt(e,n.meta),{})}function Am(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function Sh(t,e){return t.name===e.name&&t.optional===e.optional&&t.repeatable===e.repeatable}function NA(t,e){for(const n of t.keys)if(!n.optional&&!e.keys.find(Sh.bind(null,n)))return qt(`Alias "${e.record.path}" and the original record: "${t.record.path}" must have the exact same param named "${n.name}"`);for(const n of e.keys)if(!n.optional&&!t.keys.find(Sh.bind(null,n)))return qt(`Alias "${e.record.path}" and the original record: "${t.record.path}" must have the exact same param named "${n.name}"`)}function DA(t,e){e&&e.record.name&&!t.name&&!t.path&&qt(`The route named "${String(e.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function jA(t,e){for(const n of e.keys)if(!t.keys.find(Sh.bind(null,n)))return qt(`Absolute path "${t.record.path}" must have the exact same param named "${n.name}" as its parent "${e.record.path}".`)}function E_(t,e){return e.children.some(n=>n===t||E_(t,n))}const $_=/#/g,HA=/&/g,qA=/\//g,zA=/=/g,VA=/\?/g,L_=/\+/g,WA=/%5B/g,UA=/%5D/g,O_=/%5E/g,YA=/%60/g,M_=/%7B/g,GA=/%7C/g,F_=/%7D/g,KA=/%20/g;function ed(t){return encodeURI(""+t).replace(GA,"|").replace(WA,"[").replace(UA,"]")}function XA(t){return ed(t).replace(M_,"{").replace(F_,"}").replace(O_,"^")}function kh(t){return ed(t).replace(L_,"%2B").replace(KA,"+").replace($_,"%23").replace(HA,"%26").replace(YA,"`").replace(M_,"{").replace(F_,"}").replace(O_,"^")}function ZA(t){return kh(t).replace(zA,"%3D")}function JA(t){return ed(t).replace($_,"%23").replace(VA,"%3F")}function QA(t){return t==null?"":JA(t).replace(qA,"%2F")}function Ns(t){try{return decodeURIComponent(""+t)}catch{qt(`Error decoding "${t}". Using original value`)}return""+t}function tE(t){const e={};if(t===""||t==="?")return e;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<i.length;++r){const o=i[r].replace(L_," "),s=o.indexOf("="),a=Ns(s<0?o:o.slice(0,s)),l=s<0?null:Ns(o.slice(s+1));if(a in e){let c=e[a];sn(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function Em(t){let e="";for(let n in t){const i=t[n];if(n=ZA(n),i==null){i!==void 0&&(e+=(e.length?"&":"")+n);continue}(sn(i)?i.map(o=>o&&kh(o)):[i&&kh(i)]).forEach(o=>{o!==void 0&&(e+=(e.length?"&":"")+n,o!=null&&(e+="="+o))})}return e}function eE(t){const e={};for(const n in t){const i=t[n];i!==void 0&&(e[n]=sn(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const nE=Symbol("router view location matched"),$m=Symbol("router view depth"),Mc=Symbol("router"),B_=Symbol("route location"),Ah=Symbol("router view location");function Xo(){let t=[];function e(i){return t.push(i),()=>{const r=t.indexOf(i);r>-1&&t.splice(r,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function qi(t,e,n,i,r){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((s,a)=>{const l=h=>{h===!1?a(Eo(4,{from:n,to:e})):h instanceof Error?a(h):xA(h)?a(Eo(2,{from:e,to:h})):(o&&i.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),s())},c=t.call(i&&i.instances[r],e,n,iE(l,e,n));let u=Promise.resolve(c);if(t.length<3&&(u=u.then(l)),t.length>2){const h=`The "next" callback was never called inside of ${t.name?'"'+t.name+'"':""}:
${t.toString()}
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof c=="object"&&"then"in c)u=u.then(f=>l._called?f:(qt(h),Promise.reject(new Error("Invalid navigation guard"))));else if(c!==void 0&&!l._called){qt(h),a(new Error("Invalid navigation guard"));return}}u.catch(h=>a(h))})}function iE(t,e,n){let i=0;return function(){i++===1&&qt(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${e.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),t._called=!0,i===1&&t.apply(null,arguments)}}function wu(t,e,n,i){const r=[];for(const o of t){!o.components&&!o.children.length&&qt(`Record with path "${o.path}" is either missing a "component(s)" or "children" property.`);for(const s in o.components){let a=o.components[s];{if(!a||typeof a!="object"&&typeof a!="function")throw qt(`Component "${s}" in record with path "${o.path}" is not a valid component. Received "${String(a)}".`),new Error("Invalid route component");if("then"in a){qt(`Component "${s}" in record with path "${o.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const l=a;a=()=>l}else a.__asyncLoader&&!a.__warnedDefineAsync&&(a.__warnedDefineAsync=!0,qt(`Component "${s}" in record with path "${o.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(e!=="beforeRouteEnter"&&!o.instances[s]))if(rE(a)){const c=(a.__vccOpts||a)[e];c&&r.push(qi(c,n,i,o,s))}else{let l=a();"catch"in l||(qt(`Component "${s}" in record with path "${o.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),l=Promise.resolve(l)),r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const u=rA(c)?c.default:c;o.components[s]=u;const f=(u.__vccOpts||u)[e];return f&&qi(f,n,i,o,s)()}))}}}return r}function rE(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Lm(t){const e=kt(Mc),n=kt(B_),i=A(()=>e.resolve(O(t.to))),r=A(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(sr.bind(null,u));if(f>-1)return f;const d=Om(l[c-2]);return c>1&&Om(u)===d&&h[h.length-1].path!==d?h.findIndex(sr.bind(null,l[c-2])):f}),o=A(()=>r.value>-1&&lE(n.params,i.value.params)),s=A(()=>r.value>-1&&r.value===n.matched.length-1&&T_(n.params,i.value.params));function a(l={}){return aE(l)?e[O(t.replace)?"replace":"push"](O(t.to)).catch(_s):Promise.resolve()}if(gi){const l=Tn();if(l){const c={route:i.value,isActive:o.value,isExactActive:s.value};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),Xn(()=>{c.route=i.value,c.isActive=o.value,c.isExactActive=s.value},{flush:"post"})}}return{route:i,href:A(()=>i.value.href),isActive:o,isExactActive:s,navigate:a}}const oE=jt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Lm,setup(t,{slots:e}){const n=zt(Lm(t)),{options:i}=kt(Mc),r=A(()=>({[Mm(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Mm(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&e.default(n);return t.custom?o:Ze("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),sE=oE;function aE(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function lE(t,e){for(const n in e){const i=e[n],r=t[n];if(typeof i=="string"){if(i!==r)return!1}else if(!sn(r)||r.length!==i.length||i.some((o,s)=>o!==r[s]))return!1}return!0}function Om(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Mm=(t,e,n)=>t??e??n,cE=jt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){hE();const i=kt(Ah),r=A(()=>t.route||i.value),o=kt($m,0),s=A(()=>{let c=O(o);const{matched:u}=r.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=A(()=>r.value.matched[s.value]);de($m,A(()=>s.value+1)),de(nE,a),de(Ah,r);const l=tt();return $t(()=>[l.value,a.value,t.name],([c,u,h],[f,d,p])=>{u&&(u.instances[h]=c,d&&d!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!sr(u,d)||!f)&&(u.enterCallbacks[h]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return Fm(n.default,{Component:f,route:c});const d=h.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,y=Ze(f,Gt({},p,e,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(h.instances[u]=null)},ref:l}));if(gi&&y.ref){const b={depth:s.value,name:h.name,path:h.path,meta:h.meta};(sn(y.ref)?y.ref.map(_=>_.i):[y.ref.i]).forEach(_=>{_.__vrv_devtools=b})}return Fm(n.default,{Component:y,route:c})||y}}});function Fm(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const uE=cE;function hE(){const t=Tn(),e=t.parent&&t.parent.type.name,n=t.parent&&t.parent.subTree&&t.parent.subTree.type;if(e&&(e==="KeepAlive"||e.includes("Transition"))&&typeof n=="object"&&n.name==="RouterView"){const i=e==="KeepAlive"?"keep-alive":"transition";qt(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
Use slot props instead:
<router-view v-slot="{ Component }">
<${i}>
<component :is="Component" />
</${i}>
</router-view>`)}}function Zo(t,e){const n=Gt({},t,{matched:t.matched.map(i=>bE(i,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function Ia(t){return{_custom:{display:t}}}let fE=0;function dE(t,e,n){if(e.__hasDevtools)return;e.__hasDevtools=!0;const i=fE++;iA({id:"org.vuejs.router"+(i?"."+i:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:t},r=>{typeof r.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent((u,h)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Zo(e.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:u,componentInstance:h})=>{if(h.__vrv_devtools){const f=h.__vrv_devtools;u.tags.push({label:(f.name?`${f.name.toString()}: `:"")+f.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:I_})}sn(h.__vrl_devtools)&&(h.__devtoolsApi=r,h.__vrl_devtools.forEach(f=>{let d=N_,p="";f.isExactActive?(d=R_,p="This is exactly active"):f.isActive&&(d=P_,p="This link is active"),u.tags.push({label:f.route.path,textColor:0,tooltip:p,backgroundColor:d})}))}),$t(e.currentRoute,()=>{l(),r.notifyComponentUpdate(),r.sendInspectorTree(a),r.sendInspectorState(a)});const o="router:navigations:"+i;r.addTimelineLayer({id:o,label:`Router${i?" "+i:""} Navigations`,color:4237508}),e.onError((u,h)=>{r.addTimelineEvent({layerId:o,event:{title:"Error during Navigation",subtitle:h.fullPath,logType:"error",time:r.now(),data:{error:u},groupId:h.meta.__navigationId}})});let s=0;e.beforeEach((u,h)=>{const f={guard:Ia("beforeEach"),from:Zo(h,"Current Location during this navigation"),to:Zo(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:s++}),r.addTimelineEvent({layerId:o,event:{time:r.now(),title:"Start of navigation",subtitle:u.fullPath,data:f,groupId:u.meta.__navigationId}})}),e.afterEach((u,h,f)=>{const d={guard:Ia("afterEach")};f?(d.failure={_custom:{type:Error,readOnly:!0,display:f?f.message:"",tooltip:"Navigation Failure",value:f}},d.status=Ia("❌")):d.status=Ia("✅"),d.from=Zo(h,"Current Location during this navigation"),d.to=Zo(u,"Target location"),r.addTimelineEvent({layerId:o,event:{title:"End of navigation",subtitle:u.fullPath,time:r.now(),data:d,logType:f?"warning":"default",groupId:u.meta.__navigationId}})});const a="router-inspector:"+i;r.addInspector({id:a,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let h=n.getRoutes().filter(f=>!f.parent||!f.parent.record.components);h.forEach(H_),u.filter&&(h=h.filter(f=>Eh(f,u.filter.toLowerCase()))),h.forEach(f=>j_(f,e.currentRoute.value)),u.rootNodes=h.map(D_)}let c;r.on.getInspectorTree(u=>{c=u,u.app===t&&u.inspectorId===a&&l()}),r.on.getInspectorState(u=>{if(u.app===t&&u.inspectorId===a){const f=n.getRoutes().find(d=>d.record.__vd_id===u.nodeId);f&&(u.state={options:mE(f)})}}),r.sendInspectorTree(a),r.sendInspectorState(a)})}function pE(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}function mE(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return e.name!=null&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map(i=>`${i.name}${pE(i)}`).join(" "),tooltip:"Param keys",value:t.keys}}}),e.redirect!=null&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map(i=>i.record.path)}),Object.keys(t.record.meta).length&&n.push({editable:!1,key:"meta",value:t.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map(i=>i.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const I_=15485081,P_=2450411,R_=8702998,gE=2282478,N_=16486972,yE=6710886;function D_(t){const e=[],{record:n}=t;n.name!=null&&e.push({label:String(n.name),textColor:0,backgroundColor:gE}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:N_}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:I_}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:R_}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:P_}),n.redirect&&e.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:yE});let i=n.__vd_id;return i==null&&(i=String(_E++),n.__vd_id=i),{id:i,label:n.path,tags:e,children:t.children.map(D_)}}let _E=0;const vE=/^\/(.*)\/([a-z]*)$/;function j_(t,e){const n=e.matched.length&&sr(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some(i=>sr(i,t.record))),t.children.forEach(i=>j_(i,e))}function H_(t){t.__vd_match=!1,t.children.forEach(H_)}function Eh(t,e){const n=String(t.re).match(vE);if(t.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(e))return t.children.forEach(s=>Eh(s,e)),t.record.path!=="/"||e==="/"?(t.__vd_match=t.re.test(e),!0):!1;const r=t.record.path.toLowerCase(),o=Ns(r);return!e.startsWith("/")&&(o.includes(e)||r.includes(e))||o.startsWith(e)||r.startsWith(e)||t.record.name&&String(t.record.name).includes(e)?!0:t.children.some(s=>Eh(s,e))}function bE(t,e){const n={};for(const i in t)e.includes(i)||(n[i]=t[i]);return n}function xE(t){const e=BA(t.routes,t),n=t.parseQuery||tE,i=t.stringifyQuery||Em,r=t.history;if(!r)throw new Error('Provide the "history" option when calling "createRouter()": https://next.router.vuejs.org/api/#history.');const o=Xo(),s=Xo(),a=Xo(),l=ti(Ii);let c=Ii;gi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=xu.bind(null,L=>""+L),h=xu.bind(null,QA),f=xu.bind(null,Ns);function d(L,et){let K,it;return k_(L)?(K=e.getRecordMatcher(L),it=et):it=L,e.addRoute(it,K)}function p(L){const et=e.getRecordMatcher(L);et?e.removeRoute(et):qt(`Cannot remove non-existent route "${String(L)}"`)}function g(){return e.getRoutes().map(L=>L.record)}function y(L){return!!e.getRecordMatcher(L)}function b(L,et){if(et=Gt({},et||l.value),typeof L=="string"){const m=Cu(n,L,et.path),x=e.resolve({path:m.path},et),M=r.createHref(m.fullPath);return M.startsWith("//")?qt(`Location "${L}" resolved to "${M}". A resolved location cannot start with multiple slashes.`):x.matched.length||qt(`No match found for location with path "${L}"`),Gt(m,x,{params:f(x.params),hash:Ns(m.hash),redirectedFrom:void 0,href:M})}let K;if("path"in L)"params"in L&&!("name"in L)&&Object.keys(L.params).length&&qt(`Path "${L.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),K=Gt({},L,{path:Cu(n,L.path,et.path).path});else{const m=Gt({},L.params);for(const x in m)m[x]==null&&delete m[x];K=Gt({},L,{params:h(m)}),et.params=h(et.params)}const it=e.resolve(K,et),yt=L.hash||"";yt&&!yt.startsWith("#")&&qt(`A \`hash\` should always start with the character "#". Replace "${yt}" with "#${yt}".`),it.params=u(f(it.params));const Rt=aA(i,Gt({},L,{hash:XA(yt),path:it.path})),Et=r.createHref(Rt);return Et.startsWith("//")?qt(`Location "${L}" resolved to "${Et}". A resolved location cannot start with multiple slashes.`):it.matched.length||qt(`No match found for location with path "${"path"in L?L.path:L}"`),Gt({fullPath:Rt,hash:yt,query:i===Em?eE(L.query):L.query||{}},it,{redirectedFrom:void 0,href:Et})}function v(L){return typeof L=="string"?Cu(n,L,l.value.path):Gt({},L)}function _(L,et){if(c!==L)return Eo(8,{from:et,to:L})}function w(L){return C(L)}function S(L){return w(Gt(v(L),{replace:!0}))}function B(L){const et=L.matched[L.matched.length-1];if(et&&et.redirect){const{redirect:K}=et;let it=typeof K=="function"?K(L):K;if(typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=v(it):{path:it},it.params={}),!("path"in it)&&!("name"in it))throw qt(`Invalid redirect found:
${JSON.stringify(it,null,2)}
when navigating to "${L.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Gt({query:L.query,hash:L.hash,params:"path"in it?{}:L.params},it)}}function C(L,et){const K=c=b(L),it=l.value,yt=L.state,Rt=L.force,Et=L.replace===!0,m=B(K);if(m)return C(Gt(v(m),{state:typeof m=="object"?Gt({},yt,m.state):yt,force:Rt,replace:Et}),et||K);const x=K;x.redirectedFrom=et;let M;return!Rt&&_m(i,it,K)&&(M=Eo(16,{to:x,from:it}),bt(it,it,!0,!1)),(M?Promise.resolve(M):F(x,it)).catch(I=>si(I)?si(I,2)?I:ut(I):z(I,x,it)).then(I=>{if(I){if(si(I,2))return _m(i,b(I.to),x)&&et&&(et._count=et._count?et._count+1:1)>30?(qt(`Detected a possibly infinite redirection in a navigation guard when going from "${it.fullPath}" to "${x.fullPath}". Aborting to avoid a Stack Overflow.
Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):C(Gt({replace:Et},v(I.to),{state:typeof I.to=="object"?Gt({},yt,I.to.state):yt,force:Rt}),et||x)}else I=V(x,it,!0,Et,yt);return ot(x,it,I),I})}function P(L,et){const K=_(L,et);return K?Promise.reject(K):Promise.resolve()}function E(L){const et=ne.values().next().value;return et&&typeof et.runWithContext=="function"?et.runWithContext(L):L()}function F(L,et){let K;const[it,yt,Rt]=CE(L,et);K=wu(it.reverse(),"beforeRouteLeave",L,et);for(const m of it)m.leaveGuards.forEach(x=>{K.push(qi(x,L,et))});const Et=P.bind(null,L,et);return K.push(Et),ue(K).then(()=>{K=[];for(const m of o.list())K.push(qi(m,L,et));return K.push(Et),ue(K)}).then(()=>{K=wu(yt,"beforeRouteUpdate",L,et);for(const m of yt)m.updateGuards.forEach(x=>{K.push(qi(x,L,et))});return K.push(Et),ue(K)}).then(()=>{K=[];for(const m of Rt)if(m.beforeEnter)if(sn(m.beforeEnter))for(const x of m.beforeEnter)K.push(qi(x,L,et));else K.push(qi(m.beforeEnter,L,et));return K.push(Et),ue(K)}).then(()=>(L.matched.forEach(m=>m.enterCallbacks={}),K=wu(Rt,"beforeRouteEnter",L,et),K.push(Et),ue(K))).then(()=>{K=[];for(const m of s.list())K.push(qi(m,L,et));return K.push(Et),ue(K)}).catch(m=>si(m,8)?m:Promise.reject(m))}function ot(L,et,K){a.list().forEach(it=>E(()=>it(L,et,K)))}function V(L,et,K,it,yt){const Rt=_(L,et);if(Rt)return Rt;const Et=et===Ii,m=gi?history.state:{};K&&(it||Et?r.replace(L.fullPath,Gt({scroll:Et&&m&&m.scroll},yt)):r.push(L.fullPath,yt)),l.value=L,bt(L,et,K,Et),ut()}let W;function N(){W||(W=r.listen((L,et,K)=>{if(!ce.listening)return;const it=b(L),yt=B(it);if(yt){C(Gt(yt,{replace:!0}),it).catch(_s);return}c=it;const Rt=l.value;gi&&mA(bm(Rt.fullPath,K.delta),Oc()),F(it,Rt).catch(Et=>si(Et,12)?Et:si(Et,2)?(C(Et.to,it).then(m=>{si(m,20)&&!K.delta&&K.type===Rs.pop&&r.go(-1,!1)}).catch(_s),Promise.reject()):(K.delta&&r.go(-K.delta,!1),z(Et,it,Rt))).then(Et=>{Et=Et||V(it,Rt,!1),Et&&(K.delta&&!si(Et,8)?r.go(-K.delta,!1):K.type===Rs.pop&&si(Et,20)&&r.go(-1,!1)),ot(it,Rt,Et)}).catch(_s)}))}let j=Xo(),Y=Xo(),$;function z(L,et,K){ut(L);const it=Y.list();return it.length?it.forEach(yt=>yt(L,et,K)):(qt("uncaught error during route navigation:"),console.error(L)),Promise.reject(L)}function D(){return $&&l.value!==Ii?Promise.resolve():new Promise((L,et)=>{j.add([L,et])})}function ut(L){return $||($=!L,N(),j.list().forEach(([et,K])=>L?K(L):et()),j.reset()),L}function bt(L,et,K,it){const{scrollBehavior:yt}=t;if(!gi||!yt)return Promise.resolve();const Rt=!K&&gA(bm(L.fullPath,0))||(it||!K)&&history.state&&history.state.scroll||null;return ke().then(()=>yt(L,et,Rt)).then(Et=>Et&&pA(Et)).catch(Et=>z(Et,L,et))}const Lt=L=>r.go(L);let _t;const ne=new Set,ce={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,hasRoute:y,getRoutes:g,resolve:b,options:t,push:w,replace:S,go:Lt,back:()=>Lt(-1),forward:()=>Lt(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:Y.add,isReady:D,install(L){const et=this;L.component("RouterLink",sE),L.component("RouterView",uE),L.config.globalProperties.$router=et,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>O(l)}),gi&&!_t&&l.value===Ii&&(_t=!0,w(r.location).catch(yt=>{qt("Unexpected error when starting the router:",yt)}));const K={};for(const yt in Ii)Object.defineProperty(K,yt,{get:()=>l.value[yt],enumerable:!0});L.provide(Mc,et),L.provide(B_,sy(K)),L.provide(Ah,l);const it=L.unmount;ne.add(L),L.unmount=function(){ne.delete(L),ne.size<1&&(c=Ii,W&&W(),W=null,l.value=Ii,_t=!1,$=!1),it()},gi&&dE(L,et,e)}};function ue(L){return L.reduce((et,K)=>et.then(()=>E(K)),Promise.resolve())}return ce}function CE(t,e){const n=[],i=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const a=e.matched[s];a&&(t.matched.find(c=>sr(c,a))?i.push(a):n.push(a));const l=t.matched[s];l&&(e.matched.find(c=>sr(c,l))||r.push(l))}return[n,i,r]}function wE(){return kt(Mc)}const Tu=tt(!1),bs=tt(!1),go=tt(!1),TE=tt(!0),$h=Ok({xs:460,...Lk}),Dr=Kk(),q_=Wk(),SE=A(()=>Dr.height.value-Dr.width.value/Zi>180),z_=zk(vn?document.body:null),Qi=Ek(),kE=A(()=>{var t,e;return["INPUT","TEXTAREA"].includes(((t=Qi.value)==null?void 0:t.tagName)||"")||((e=Qi.value)==null?void 0:e.classList.contains("CodeMirror-code"))}),AE=A(()=>{var t;return["BUTTON","A"].includes(((t=Qi.value)==null?void 0:t.tagName)||"")});ln("slidev-camera","default");ln("slidev-mic","default");const rl=ln("slidev-scale",0),$e=ln("slidev-show-overview",!1),Su=ln("slidev-presenter-cursor",!0),Bm=ln("slidev-show-editor",!1);ln("slidev-editor-width",vn?window.innerWidth*.4:100);const jl=ln("slidev-presenter-font-size",1),hs=ln("slidev-presenter-layout",1);function Im(){hs.value=hs.value+1,hs.value>2&&(hs.value=1)}function bW(){jl.value=Math.min(2,jl.value+.1)}function xW(){jl.value=Math.max(.5,jl.value-.1)}const V_=b_($e);var EE=Object.defineProperty,Pm=Object.getOwnPropertySymbols,$E=Object.prototype.hasOwnProperty,LE=Object.prototype.propertyIsEnumerable,Rm=(t,e,n)=>e in t?EE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Lh=(t,e)=>{for(var n in e||(e={}))$E.call(e,n)&&Rm(t,n,e[n]);if(Pm)for(var n of Pm(e))LE.call(e,n)&&Rm(t,n,e[n]);return t},OE=()=>({emit(t,...e){let n=this.events[t]||[];for(let i=0,r=n.length;i<r;i++)n[i](...e)},events:{},on(t,e){var n;return(n=this.events[t])!=null&&n.push(e)||(this.events[t]=[e]),()=>{var i;this.events[t]=(i=this.events[t])==null?void 0:i.filter(r=>e!==r)}}});function Nm(t,e,n,i=r=>r){return t*i(.5-e*(.5-n))}function ME(t){return[-t[0],-t[1]]}function En(t,e){return[t[0]+e[0],t[1]+e[1]]}function pn(t,e){return[t[0]-e[0],t[1]-e[1]]}function An(t,e){return[t[0]*e,t[1]*e]}function FE(t,e){return[t[0]/e,t[1]/e]}function Jo(t){return[t[1],-t[0]]}function Dm(t,e){return t[0]*e[0]+t[1]*e[1]}function BE(t,e){return t[0]===e[0]&&t[1]===e[1]}function IE(t){return Math.hypot(t[0],t[1])}function PE(t){return t[0]*t[0]+t[1]*t[1]}function jm(t,e){return PE(pn(t,e))}function W_(t){return FE(t,IE(t))}function RE(t,e){return Math.hypot(t[1]-e[1],t[0]-e[0])}function Qo(t,e,n){let i=Math.sin(n),r=Math.cos(n),o=t[0]-e[0],s=t[1]-e[1],a=o*r-s*i,l=o*i+s*r;return[a+e[0],l+e[1]]}function Oh(t,e,n){return En(t,An(pn(e,t),n))}function Hm(t,e,n){return En(t,An(e,n))}var{min:ao,PI:NE}=Math,qm=.275,ts=NE+1e-4;function DE(t,e={}){let{size:n=16,smoothing:i=.5,thinning:r=.5,simulatePressure:o=!0,easing:s=$=>$,start:a={},end:l={},last:c=!1}=e,{cap:u=!0,easing:h=$=>$*(2-$)}=a,{cap:f=!0,easing:d=$=>--$*$*$+1}=l;if(t.length===0||n<=0)return[];let p=t[t.length-1].runningLength,g=a.taper===!1?0:a.taper===!0?Math.max(n,p):a.taper,y=l.taper===!1?0:l.taper===!0?Math.max(n,p):l.taper,b=Math.pow(n*i,2),v=[],_=[],w=t.slice(0,10).reduce(($,z)=>{let D=z.pressure;if(o){let ut=ao(1,z.distance/n),bt=ao(1,1-ut);D=ao(1,$+(bt-$)*(ut*qm))}return($+D)/2},t[0].pressure),S=Nm(n,r,t[t.length-1].pressure,s),B,C=t[0].vector,P=t[0].point,E=P,F=P,ot=E,V=!1;for(let $=0;$<t.length;$++){let{pressure:z}=t[$],{point:D,vector:ut,distance:bt,runningLength:Lt}=t[$];if($<t.length-1&&p-Lt<3)continue;if(r){if(o){let it=ao(1,bt/n),yt=ao(1,1-it);z=ao(1,w+(yt-w)*(it*qm))}S=Nm(n,r,z,s)}else S=n/2;B===void 0&&(B=S);let _t=Lt<g?h(Lt/g):1,ne=p-Lt<y?d((p-Lt)/y):1;S=Math.max(.01,S*Math.min(_t,ne));let ce=($<t.length-1?t[$+1]:t[$]).vector,ue=$<t.length-1?Dm(ut,ce):1,L=Dm(ut,C)<0&&!V,et=ue!==null&&ue<0;if(L||et){let it=An(Jo(C),S);for(let yt=1/13,Rt=0;Rt<=1;Rt+=yt)F=Qo(pn(D,it),D,ts*Rt),v.push(F),ot=Qo(En(D,it),D,ts*-Rt),_.push(ot);P=F,E=ot,et&&(V=!0);continue}if(V=!1,$===t.length-1){let it=An(Jo(ut),S);v.push(pn(D,it)),_.push(En(D,it));continue}let K=An(Jo(Oh(ce,ut,ue)),S);F=pn(D,K),($<=1||jm(P,F)>b)&&(v.push(F),P=F),ot=En(D,K),($<=1||jm(E,ot)>b)&&(_.push(ot),E=ot),w=z,C=ut}let W=t[0].point.slice(0,2),N=t.length>1?t[t.length-1].point.slice(0,2):En(t[0].point,[1,1]),j=[],Y=[];if(t.length===1){if(!(g||y)||c){let $=Hm(W,W_(Jo(pn(W,N))),-(B||S)),z=[];for(let D=1/13,ut=D;ut<=1;ut+=D)z.push(Qo($,W,ts*2*ut));return z}}else{if(!(g||y&&t.length===1))if(u)for(let z=1/13,D=z;D<=1;D+=z){let ut=Qo(_[0],W,ts*D);j.push(ut)}else{let z=pn(v[0],_[0]),D=An(z,.5),ut=An(z,.51);j.push(pn(W,D),pn(W,ut),En(W,ut),En(W,D))}let $=Jo(ME(t[t.length-1].vector));if(y||g&&t.length===1)Y.push(N);else if(f){let z=Hm(N,$,S);for(let D=1/29,ut=D;ut<1;ut+=D)Y.push(Qo(z,N,ts*3*ut))}else Y.push(En(N,An($,S)),En(N,An($,S*.99)),pn(N,An($,S*.99)),pn(N,An($,S)))}return v.concat(Y,_.reverse(),j)}function jE(t,e={}){var n;let{streamline:i=.5,size:r=16,last:o=!1}=e;if(t.length===0)return[];let s=.15+(1-i)*.85,a=Array.isArray(t[0])?t:t.map(({x:d,y:p,pressure:g=.5})=>[d,p,g]);if(a.length===2){let d=a[1];a=a.slice(0,-1);for(let p=1;p<5;p++)a.push(Oh(a[0],d,p/4))}a.length===1&&(a=[...a,[...En(a[0],[1,1]),...a[0].slice(2)]]);let l=[{point:[a[0][0],a[0][1]],pressure:a[0][2]>=0?a[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],c=!1,u=0,h=l[0],f=a.length-1;for(let d=1;d<a.length;d++){let p=o&&d===f?a[d].slice(0,2):Oh(h.point,a[d],s);if(BE(h.point,p))continue;let g=RE(p,h.point);if(u+=g,d<f&&!c){if(u<r)continue;c=!0}h={point:p,pressure:a[d][2]>=0?a[d][2]:.5,vector:W_(pn(h.point,p)),distance:g,runningLength:u},l.push(h)}return l[0].vector=((n=l[1])==null?void 0:n.vector)||[0,0],l}function HE(t,e={}){return DE(jE(t,e),e)}function Hl(t,e){return t-e}function qE(t){return t<0?-1:1}function ql(t){return[Math.abs(t),qE(t)]}function U_(){const t=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`}var zE=2,di=zE,jo=class{constructor(t){this.drauu=t,this.event=void 0,this.point=void 0,this.start=void 0,this.el=null}onSelected(t){}onUnselected(){}onStart(t){}onMove(t){return!1}onEnd(t){}get brush(){return this.drauu.brush}get shiftPressed(){return this.drauu.shiftPressed}get altPressed(){return this.drauu.altPressed}get svgElement(){return this.drauu.el}getMousePosition(t){var e,n;const i=this.drauu.el,r=(e=this.drauu.options.coordinateScale)!=null?e:1;if(this.drauu.options.coordinateTransform===!1){const o=this.drauu.el.getBoundingClientRect();return{x:(t.pageX-o.left)*r,y:(t.pageY-o.top)*r,pressure:t.pressure}}else{const o=this.drauu.svgPoint;o.x=t.clientX,o.y=t.clientY;const s=o.matrixTransform((n=i.getScreenCTM())==null?void 0:n.inverse());return{x:s.x*r,y:s.y*r,pressure:t.pressure}}}createElement(t,e){var n;const i=document.createElementNS("http://www.w3.org/2000/svg",t),r=e?Lh(Lh({},this.brush),e):this.brush;return i.setAttribute("fill",(n=r.fill)!=null?n:"transparent"),i.setAttribute("stroke",r.color),i.setAttribute("stroke-width",r.size.toString()),i.setAttribute("stroke-linecap","round"),r.dasharray&&i.setAttribute("stroke-dasharray",r.dasharray),i}attr(t,e){this.el.setAttribute(t,typeof e=="string"?e:e.toFixed(di))}_setEvent(t){this.event=t,this.point=this.getMousePosition(t)}_eventDown(t){return this._setEvent(t),this.start=this.point,this.onStart(this.point)}_eventMove(t){return this._setEvent(t),this.onMove(this.point)}_eventUp(t){return this._setEvent(t),this.onEnd(this.point)}},VE=class Y_ extends jo{constructor(){super(...arguments),this.points=[]}onStart(e){return this.el=document.createElementNS("http://www.w3.org/2000/svg","path"),this.points=[e],this.attr("fill",this.brush.color),this.attr("d",this.getSvgData(this.points)),this.el}onMove(e){return this.el||this.onStart(e),this.points[this.points.length-1]!==e&&this.points.push(e),this.attr("d",this.getSvgData(this.points)),!0}onEnd(){const e=this.el;return this.el=null,!!e}getSvgData(e){return Y_.getSvgData(e,this.brush)}static getSvgData(e,n){const i=HE(e,Lh({size:n.size,thinning:.9,simulatePressure:!1,start:{taper:5},end:{taper:5}},n.stylusOptions));if(!i.length)return"";const r=i.reduce((o,[s,a],l,c)=>{const[u,h]=c[(l+1)%c.length];return o.push(s,a,(s+u)/2,(a+h)/2),o},["M",...i[0],"Q"]);return r.push("Z"),r.map(o=>typeof o=="number"?o.toFixed(2):o).join(" ")}},WE=class extends jo{onStart(t){return this.el=this.createElement("ellipse"),this.attr("cx",t.x),this.attr("cy",t.y),this.el}onMove(t){if(!this.el||!this.start)return!1;let[e,n]=ql(t.x-this.start.x),[i,r]=ql(t.y-this.start.y);if(this.shiftPressed){const o=Math.min(e,i);e=o,i=o}if(this.altPressed)this.attr("cx",this.start.x),this.attr("cy",this.start.y),this.attr("rx",e),this.attr("ry",i);else{const[o,s]=[this.start.x,this.start.x+e*n].sort(Hl),[a,l]=[this.start.y,this.start.y+i*r].sort(Hl);this.attr("cx",(o+s)/2),this.attr("cy",(a+l)/2),this.attr("rx",(s-o)/2),this.attr("ry",(l-a)/2)}return!0}onEnd(){const t=this.el;return this.el=null,!(!t||!t.getTotalLength())}};function G_(t,e){const n=document.createElementNS("http://www.w3.org/2000/svg","defs"),i=document.createElementNS("http://www.w3.org/2000/svg","marker"),r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("fill",e),i.setAttribute("id",t),i.setAttribute("viewBox","0 -5 10 10"),i.setAttribute("refX","5"),i.setAttribute("refY","0"),i.setAttribute("markerWidth","4"),i.setAttribute("markerHeight","4"),i.setAttribute("orient","auto"),r.setAttribute("d","M0,-5L10,0L0,5"),i.appendChild(r),n.appendChild(i),n}var UE=class extends jo{onStart(t){if(this.el=this.createElement("line",{fill:"transparent"}),this.attr("x1",t.x),this.attr("y1",t.y),this.attr("x2",t.x),this.attr("y2",t.y),this.brush.arrowEnd){const e=U_(),n=document.createElementNS("http://www.w3.org/2000/svg","g");return n.append(G_(e,this.brush.color)),n.append(this.el),this.attr("marker-end",`url(#${e})`),n}return this.el}onMove(t){if(!this.el)return!1;let{x:e,y:n}=t;if(this.shiftPressed){const i=t.x-this.start.x,r=t.y-this.start.y;if(r!==0){let o=i/r;o=Math.round(o),Math.abs(o)<=1?(e=this.start.x+r*o,n=this.start.y+r):(e=this.start.x+i,n=this.start.y)}}return this.altPressed?(this.attr("x1",this.start.x*2-e),this.attr("y1",this.start.y*2-n),this.attr("x2",e),this.attr("y2",n)):(this.attr("x1",this.start.x),this.attr("y1",this.start.y),this.attr("x2",e),this.attr("y2",n)),!0}onEnd(){const t=this.el;return this.el=null,!(!t||t.getTotalLength()<5)}},YE=class extends jo{onStart(t){return this.el=this.createElement("rect"),this.brush.cornerRadius&&(this.attr("rx",this.brush.cornerRadius),this.attr("ry",this.brush.cornerRadius)),this.attr("x",t.x),this.attr("y",t.y),this.el}onMove(t){if(!this.el||!this.start)return!1;let[e,n]=ql(t.x-this.start.x),[i,r]=ql(t.y-this.start.y);if(this.shiftPressed){const o=Math.min(e,i);e=o,i=o}if(this.altPressed)this.attr("x",this.start.x-e),this.attr("y",this.start.y-i),this.attr("width",e*2),this.attr("height",i*2);else{const[o,s]=[this.start.x,this.start.x+e*n].sort(Hl),[a,l]=[this.start.y,this.start.y+i*r].sort(Hl);this.attr("x",o),this.attr("y",a),this.attr("width",s-o),this.attr("height",l-a)}return!0}onEnd(){const t=this.el;return this.el=null,!(!t||!t.getTotalLength())}};function GE(t,e){const n=t.x-e.x,i=t.y-e.y;return n*n+i*i}function KE(t,e,n){let i=e.x,r=e.y,o=n.x-i,s=n.y-r;if(o!==0||s!==0){const a=((t.x-i)*o+(t.y-r)*s)/(o*o+s*s);a>1?(i=n.x,r=n.y):a>0&&(i+=o*a,r+=s*a)}return o=t.x-i,s=t.y-r,o*o+s*s}function XE(t,e){let n=t[0];const i=[n];let r;for(let o=1,s=t.length;o<s;o++)r=t[o],GE(r,n)>e&&(i.push(r),n=r);return n!==r&&r&&i.push(r),i}function Mh(t,e,n,i,r){let o=i,s=0;for(let a=e+1;a<n;a++){const l=KE(t[a],t[e],t[n]);l>o&&(s=a,o=l)}o>i&&(s-e>1&&Mh(t,e,s,i,r),r.push(t[s]),n-s>1&&Mh(t,s,n,i,r))}function ZE(t,e){const n=t.length-1,i=[t[0]];return Mh(t,0,n,e,i),i.push(t[n]),i}function zm(t,e,n=!1){if(t.length<=2)return t;const i=e!==void 0?e*e:1;return t=n?t:XE(t,i),t=ZE(t,i),t}var JE=class Cr extends jo{constructor(){super(...arguments),this.points=[],this.count=0}onStart(e){if(this.el=this.createElement("path",{fill:"transparent"}),this.points=[e],this.brush.arrowEnd){this.arrowId=U_();const n=G_(this.arrowId,this.brush.color);this.el.appendChild(n)}return this.el}onMove(e){return this.el||this.onStart(e),this.points[this.points.length-1]!==e&&(this.points.push(e),this.count+=1),this.count>5&&(this.points=zm(this.points,1,!0),this.count=0),this.attr("d",Cr.toSvgData(this.points)),!0}onEnd(){const e=this.el;return this.el=null,!(!e||(e.setAttribute("d",Cr.toSvgData(zm(this.points,1,!0))),!e.getTotalLength()))}static line(e,n){const i=n.x-e.x,r=n.y-e.y;return{length:Math.sqrt(i**2+r**2),angle:Math.atan2(r,i)}}static controlPoint(e,n,i,r){const o=n||e,s=i||e,a=.2,l=Cr.line(o,s),c=l.angle+(r?Math.PI:0),u=l.length*a,h=e.x+Math.cos(c)*u,f=e.y+Math.sin(c)*u;return{x:h,y:f}}static bezierCommand(e,n,i){const r=Cr.controlPoint(i[n-1],i[n-2],e),o=Cr.controlPoint(e,i[n-1],i[n+1],!0);return`C ${r.x.toFixed(di)},${r.y.toFixed(di)} ${o.x.toFixed(di)},${o.y.toFixed(di)} ${e.x.toFixed(di)},${e.y.toFixed(di)}`}static toSvgData(e){return e.reduce((n,i,r,o)=>r===0?`M ${i.x.toFixed(di)},${i.y.toFixed(di)}`:`${n} ${Cr.bezierCommand(i,r,o)}`,"")}},QE=class extends jo{constructor(){super(...arguments),this.pathSubFactor=20,this.pathFragments=[]}onSelected(t){const e=(n,i)=>{if(n&&n.length)for(let r=0;r<n.length;r++){const o=n[r];if(o.getTotalLength){const s=o.getTotalLength();for(let a=0;a<this.pathSubFactor;a++){const l=o.getPointAtLength(s*a/this.pathSubFactor),c=o.getPointAtLength(s*(a+1)/this.pathSubFactor);this.pathFragments.push({x1:l.x,x2:c.x,y1:l.y,y2:c.y,segment:a,element:i||o})}}else o.children&&e(o.children,o)}};t&&e(t.children)}onUnselected(){this.pathFragments=[]}onStart(t){this.svgPointPrevious=this.svgElement.createSVGPoint(),this.svgPointPrevious.x=t.x,this.svgPointPrevious.y=t.y}onMove(t){this.svgPointCurrent=this.svgElement.createSVGPoint(),this.svgPointCurrent.x=t.x,this.svgPointCurrent.y=t.y;const e=this.checkAndEraseElement();return this.svgPointPrevious=this.svgPointCurrent,e}onEnd(){return this.svgPointPrevious=void 0,this.svgPointCurrent=void 0,!0}checkAndEraseElement(){const t=[];if(this.pathFragments.length)for(let e=0;e<this.pathFragments.length;e++){const n=this.pathFragments[e],i={x1:this.svgPointPrevious.x,x2:this.svgPointCurrent.x,y1:this.svgPointPrevious.y,y2:this.svgPointCurrent.y};this.lineLineIntersect(n,i)&&(n.element.remove(),t.push(e))}return t.length&&(this.pathFragments=this.pathFragments.filter((e,n)=>!t.includes(n))),t.length>0}lineLineIntersect(t,e){const n=t.x1,i=t.x2,r=e.x1,o=e.x2,s=t.y1,a=t.y2,l=e.y1,c=e.y2,u=(n-i)*(l-c)-(s-a)*(r-o),h=(n*a-s*i)*(r-o)-(n-i)*(r*c-l*o),f=(n*a-s*i)*(l-c)-(s-a)*(r*c-l*o),d=(p,g,y)=>p>=g&&p<=y?!0:p>=y&&p<=g;if(u===0)return!1;{const p={x:h/u,y:f/u};return d(p.x,n,i)&&d(p.y,s,a)&&d(p.x,r,o)&&d(p.y,l,c)}}};function t$(t){return{draw:new JE(t),stylus:new VE(t),line:new UE(t),rectangle:new YE(t),ellipse:new WE(t),eraseLine:new QE(t)}}var e$=class{constructor(t={}){this.options=t,this.el=null,this.svgPoint=null,this.eventEl=null,this.shiftPressed=!1,this.altPressed=!1,this.drawing=!1,this._emitter=OE(),this._originalPointerId=null,this._models=t$(this),this._undoStack=[],this._disposables=[],this.options.brush||(this.options.brush={color:"black",size:3,mode:"stylus"}),t.el&&this.mount(t.el,t.eventTarget)}get model(){return this._models[this.mode]}get mounted(){return!!this.el}get mode(){return this.options.brush.mode||"stylus"}set mode(t){this._models[this.mode].onUnselected(),this.options.brush.mode=t,this.model.onSelected(this.el)}get brush(){return this.options.brush}set brush(t){this.options.brush=t}resolveSelector(t){return typeof t=="string"?document.querySelector(t):t||null}mount(t,e){if(this.el)throw new Error("[drauu] already mounted, unmount previous target first");if(this.el=this.resolveSelector(t),!this.el)throw new Error("[drauu] target element not found");if(this.el.tagName.toLocaleLowerCase()!=="svg")throw new Error("[drauu] can only mount to a SVG element");if(!this.el.createSVGPoint)throw new Error("[drauu] SVG element must be create by document.createElementNS('http://www.w3.org/2000/svg', 'svg')");this.svgPoint=this.el.createSVGPoint();const n=this.resolveSelector(e)||this.el,i=this.eventStart.bind(this),r=this.eventMove.bind(this),o=this.eventEnd.bind(this),s=this.eventKeyboard.bind(this);n.addEventListener("pointerdown",i,{passive:!1}),window.addEventListener("pointermove",r,{passive:!1}),window.addEventListener("pointerup",o,{passive:!1}),window.addEventListener("pointercancel",o,{passive:!1}),window.addEventListener("keydown",s,!1),window.addEventListener("keyup",s,!1),this._disposables.push(()=>{n.removeEventListener("pointerdown",i),window.removeEventListener("pointermove",r),window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),window.removeEventListener("keydown",s,!1),window.removeEventListener("keyup",s,!1)}),this._emitter.emit("mounted")}unmount(){this._disposables.forEach(t=>t()),this._disposables.length=0,this.el=null,this._emitter.emit("unmounted")}on(t,e){return this._emitter.on(t,e)}undo(){const t=this.el;return t.lastElementChild?(this._undoStack.push(t.lastElementChild.cloneNode(!0)),t.lastElementChild.remove(),this._emitter.emit("changed"),!0):!1}redo(){return this._undoStack.length?(this.el.appendChild(this._undoStack.pop()),this._emitter.emit("changed"),!0):!1}canRedo(){return!!this._undoStack.length}canUndo(){var t;return!!((t=this.el)!=null&&t.lastElementChild)}eventMove(t){!this.acceptsInput(t)||!this.drawing||this.model._eventMove(t)&&(t.stopPropagation(),t.preventDefault(),this._emitter.emit("changed"))}eventStart(t){this.acceptsInput(t)&&(t.stopPropagation(),t.preventDefault(),this._currentNode&&this.cancel(),this.drawing=!0,this._originalPointerId=t.pointerId,this._emitter.emit("start"),this._currentNode=this.model._eventDown(t),this._currentNode&&this.mode!=="eraseLine"&&this.el.appendChild(this._currentNode),this._emitter.emit("changed"))}eventEnd(t){if(!this.acceptsInput(t)||!this.drawing)return;const e=this.model._eventUp(t);e?(e instanceof Element&&e!==this._currentNode&&(this._currentNode=e),this.commit()):this.cancel(),this.drawing=!1,this._emitter.emit("end"),this._emitter.emit("changed"),this._originalPointerId=null}acceptsInput(t){return(!this.options.acceptsInputTypes||this.options.acceptsInputTypes.includes(t.pointerType))&&!(this._originalPointerId&&this._originalPointerId!==t.pointerId)}eventKeyboard(t){this.shiftPressed===t.shiftKey&&this.altPressed===t.altKey||(this.shiftPressed=t.shiftKey,this.altPressed=t.altKey,this.model.point&&this.model.onMove(this.model.point)&&this._emitter.emit("changed"))}commit(){this._undoStack.length=0;const t=this._currentNode;this._currentNode=void 0,this._emitter.emit("committed",t)}clear(){this._undoStack.length=0,this.cancel(),this.el.innerHTML="",this._emitter.emit("changed")}cancel(){this._currentNode&&(this.el.removeChild(this._currentNode),this._currentNode=void 0,this._emitter.emit("canceled"))}dump(){return this.el.innerHTML}load(t){this.clear(),this.el.innerHTML=t}};function n$(t){return new e$(t)}const Fh=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93","#ffffff","#000000"],gn=ln("slidev-drawing-enabled",!1),CW=ln("slidev-drawing-pinned",!1),i$=tt(!1),r$=tt(!1),o$=tt(!1),Ds=tt(!1),$r=uk(ln("slidev-drawing-brush",{color:Fh[0],size:4,mode:"stylus"})),Vm=tt("stylus"),K_=A(()=>Wt.drawings.syncAll||De.value);let js=!1;const es=A({get(){return Vm.value},set(t){Vm.value=t,t==="arrow"?($r.mode="line",$r.arrowEnd=!0):($r.mode=t,$r.arrowEnd=!1)}}),s$=zt({brush:$r,acceptsInputTypes:A(()=>gn.value&&(!Wt.drawings.presenterOnly||De.value)?void 0:["pen"]),coordinateTransform:!1}),Ve=bc(n$(s$));function a$(){Ve.clear(),K_.value&&y_(le.value,"")}function nd(){var t;r$.value=Ve.canRedo(),i$.value=Ve.canUndo(),o$.value=!!((t=Ve.el)!=null&&t.children.length)}function l$(t){js=!0;const e=Dl[t||le.value];e!=null?Ve.load(e):Ve.clear(),nd(),js=!1}Ve.on("changed",()=>{if(nd(),!js){const t=Ve.dump(),e=le.value;(Dl[e]||"")!==t&&K_.value&&y_(e,Ve.dump())}});sk(t=>{js=!0,t[le.value]!=null&&Ve.load(t[le.value]||""),js=!1,nd()});ke(()=>{$t(le,()=>{Ve.mounted&&l$()},{immediate:!0})});Ve.on("start",()=>Ds.value=!0);Ve.on("end",()=>Ds.value=!1);window.addEventListener("keydown",t=>{if(!gn.value)return;const e=!t.ctrlKey&&!t.altKey&&!t.shiftKey&&!t.metaKey;let n=!0;t.code==="KeyZ"&&(t.ctrlKey||t.metaKey)?t.shiftKey?Ve.redo():Ve.undo():t.code==="Escape"?gn.value=!1:t.code==="KeyL"&&e?es.value="line":t.code==="KeyA"&&e?es.value="arrow":t.code==="KeyS"&&e?es.value="stylus":t.code==="KeyR"&&e?es.value="rectangle":t.code==="KeyE"&&e?es.value="ellipse":t.code==="KeyC"&&e?a$():t.code.startsWith("Digit")&&e&&+t.code[5]<=Fh.length?$r.color=Fh[+t.code[5]-1]:n=!1,n&&(t.preventDefault(),t.stopPropagation())},!1);function ge(...t){return A(()=>t.every(e=>re(e)))}function en(t){return A(()=>!re(t))}function c$(...t){return A(()=>t.some(e=>re(e)))}const Wm=Dk(),ku=ln("slidev-color-schema","auto"),Bh=A(()=>Wt.colorSchema!=="auto"),Fc=A({get(){return Bh.value?Wt.colorSchema==="dark":ku.value==="auto"?Wm.value:ku.value==="dark"},set(t){Bh.value||(ku.value=t===Wm.value?"auto":t?"dark":"light")}}),X_=b_(Fc);vn&&$t(Fc,t=>{const e=document.querySelector("html");e.classList.toggle("dark",t),e.classList.toggle("light",!t)},{immediate:!0});const ol=tt(1),sl=A(()=>se.length),Me=tt(0),id=tt(0);function u$(){Me.value>ol.value&&(Me.value-=1)}function h$(){Me.value<sl.value&&(Me.value+=1)}function f$(){if(Me.value>ol.value){let t=Me.value-id.value;t<ol.value&&(t=ol.value),Me.value=t}}function d$(){if(Me.value<sl.value){let t=Me.value+id.value;t>sl.value&&(t=sl.value),Me.value=t}}function p$(){const{escape:t,space:e,shift:n,left:i,right:r,up:o,down:s,enter:a,d:l,g:c,o:u,"`":h}=q_;let f=[{name:"next_space",key:ge(e,en(n)),fn:er,autoRepeat:!0},{name:"prev_space",key:ge(e,n),fn:nr,autoRepeat:!0},{name:"next_right",key:ge(r,en(n),en($e)),fn:er,autoRepeat:!0},{name:"prev_left",key:ge(i,en(n),en($e)),fn:nr,autoRepeat:!0},{name:"next_page_key",key:"pageDown",fn:er,autoRepeat:!0},{name:"prev_page_key",key:"pageUp",fn:nr,autoRepeat:!0},{name:"next_down",key:ge(s,en($e)),fn:Js,autoRepeat:!0},{name:"prev_up",key:ge(o,en($e)),fn:()=>Qs(!1),autoRepeat:!0},{name:"next_shift",key:ge(r,n),fn:Js,autoRepeat:!0},{name:"prev_shift",key:ge(i,n),fn:()=>Qs(!1),autoRepeat:!0},{name:"toggle_dark",key:ge(l,en(gn)),fn:X_},{name:"toggle_overview",key:ge(c$(u,h),en(gn)),fn:V_},{name:"hide_overview",key:ge(t,en(gn)),fn:()=>$e.value=!1},{name:"goto",key:ge(c,en(gn)),fn:()=>go.value=!go.value},{name:"next_overview",key:ge(r,$e),fn:h$},{name:"prev_overview",key:ge(i,$e),fn:u$},{name:"up_overview",key:ge(o,$e),fn:f$},{name:"down_overview",key:ge(s,$e),fn:d$},{name:"goto_from_overview",key:ge(a,$e),fn:()=>{Xr(Me.value),$e.value=!1}}];const d=new Set(f.map(g=>g.name));if(f.filter(g=>g.name&&d.has(g.name)).length===0){const g=["========== WARNING ==========","defineShortcutsSetup did not return any of the base shortcuts.","See https://sli.dev/custom/config-shortcuts.html for migration.",'If it is intentional, return at least one shortcut with one of the base names (e.g. name:"goto").'].join(`
`);alert(g),console.warn(g)}return f}const Z_=ge(en(kE),en(AE),TE);function m$(t,e,n=!1){typeof t=="string"&&(t=q_[t]);const i=ge(t,Z_);let r=0,o;const s=()=>{if(clearTimeout(o),!i.value){r=0;return}n&&(o=setTimeout(s,Math.max(1e3-r*250,150)),r++),e()};return $t(i,s,{flush:"sync"})}function g$(t,e){return Ak(t,n=>{Z_.value&&(n.repeat||e())})}function y$(){const t=p$();new Map(t.map(n=>[n.key,n])).forEach(n=>{n.fn&&m$(n.key,n.fn,n.autoRepeat)}),g$("f",()=>z_.toggle())}const _$={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},v$=X("path",{fill:"currentColor",d:"M17.414 16L24 9.414L22.586 8L16 14.586L9.414 8L8 9.414L14.586 16L8 22.586L9.414 24L16 17.414L22.586 24L24 22.586z"},null,-1),b$=[v$];function x$(t,e){return R(),nt("svg",_$,[...b$])}const C$={name:"carbon-close",render:x$};function rd(t,e=""){var r,o;const n=["slidev-page",e],i=(o=(r=t==null?void 0:t.meta)==null?void 0:r.slide)==null?void 0:o.no;return i!=null&&n.push(`slidev-page-${i}`),n.filter(Boolean).join(" ")}const bn=Symbol("v-click-clicks"),po=Symbol("v-click-clicks-elements"),al=Symbol("v-click-clicks-disabled"),Ih=Symbol("v-click-clicks-order-map"),$i=Symbol("slidev-page"),J_=Symbol("slidev-slide-scale"),Li=Symbol("slidev-slidev-context"),w$=Symbol("slidev-route"),hr=Symbol("slidev-render-context"),T$=Symbol("slidev-active"),to=Symbol("slidev-fontmatter"),lo="slidev-vclick-target",Au="slidev-vclick-hidden",S$="slidev-vclick-fade",Eu="slidev-vclick-hidden-explicitly",ns="slidev-vclick-current",Pa="slidev-vclick-prior",k$=["localhost","127.0.0.1"],A$=jt({__name:"SlideContainer",props:{width:{type:Number},meta:{default:()=>({})},scale:{type:[Number,String]}},setup(t){const e=t,n=tt(),i=Hk(n),r=A(()=>e.width?e.width:i.width.value),o=A(()=>e.width?e.width/Zi:i.height.value);e.width&&Xn(()=>{n.value&&(n.value.style.width=`${r.value}px`,n.value.style.height=`${o.value}px`)});const s=A(()=>r.value/o.value),a=A(()=>e.scale&&!Po.value?e.scale:s.value<Zi?r.value/Ji:o.value*Zi/Ji),l=A(()=>({height:`${Qf}px`,width:`${Ji}px`,transform:`translate(-50%, -50%) scale(${a.value})`})),c=A(()=>({"select-none":!Wt.selectable}));return de(J_,a),(u,h)=>(R(),nt("div",{id:"slide-container",ref_key:"root",ref:n,class:ee(c.value)},[X("div",{id:"slide-content",style:Ae(l.value)},[He(u.$slots,"default")],4),He(u.$slots,"controls")],2))}}),Dt=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n},Q_=Dt(A$,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/SlideContainer.vue"]]),od=jt({name:"SlideWrapper",props:{clicks:{type:[Number,String],default:0},clicksElements:{type:Array,default:()=>[]},clicksOrderMap:{type:Map,default:()=>new Map},clicksDisabled:{type:Boolean,default:!1},renderContext:{type:String,default:"main"},active:{type:Boolean,default:!1},is:{type:Object,default:void 0},route:{type:Object,default:void 0}},setup(t,{emit:e}){var a;const n=Yn(t,"clicks",e),i=Yn(t,"clicksElements",e),r=Yn(t,"clicksDisabled",e),o=Yn(t,"clicksOrderMap",e);i.value.length=0;const s=A({get(){return r.value?9999999:+n.value},set(l){n.value=l}});de(w$,t.route),de($i,tt(+((a=t.route)==null?void 0:a.path))),de(hr,tt(t.renderContext)),de(T$,Ai(t,"active")),de(bn,s),de(al,r),de(po,i),de(Ih,o)},render(){var t,e;return this.$props.is?Ze(this.$props.is):(e=(t=this.$slots)==null?void 0:t.default)==null?void 0:e.call(t)}}),E$=["innerHTML"],$$=jt({__name:"DrawingPreview",props:{page:{type:Number,required:!0}},setup(t){return(e,n)=>O(Dl)[e.page]?(R(),nt("svg",{key:0,class:"w-full h-full absolute top-0 pointer-events-none",innerHTML:O(Dl)[e.page]},null,8,E$)):Mt("v-if",!0)}}),tv=Dt($$,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/DrawingPreview.vue"]]),L$=Object.freeze(Object.defineProperty({__proto__:null,default:tv},Symbol.toStringTag,{value:"Module"})),O$={class:"sr-only"},M$=jt({__name:"HiddenText",props:{text:{type:String,required:!0}},setup(t){return(e,n)=>(R(),nt("span",O$,yn(e.text),1))}}),Ue=Dt(M$,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/HiddenText.vue"]]),F$=["onClick"],B$={class:"text-green font-bold"},I$={class:"opacity-50"},P$={key:1,class:"opacity-50"},$u=4*16*2,Um=2*16,R$=jt({__name:"SlidesOverview",props:{modelValue:{type:Boolean,required:!0}},emits:[],setup(t,{emit:e}){const r=Yn(t,"modelValue",e);function o(){r.value=!1}function s(d){Xr(d),o()}function a(d){return d===Me.value}const l=$h.smaller("xs"),c=$h.smaller("sm"),u=A(()=>l.value?Dr.width.value-$u:c.value?(Dr.width.value-$u-Um)/2:300),h=A(()=>Math.floor((Dr.width.value-$u)/(u.value+Um))),f=tt("");return Pt("keypress",d=>{if(!$e.value){f.value="";return}if(d.key==="Enter"){d.preventDefault(),f.value?(s(+f.value),f.value=""):s(Me.value);return}const p=Number.parseInt(d.key.replace(/[^0-9]/g,""));if(Number.isNaN(p)){f.value="";return}if(!f.value&&p===0)return;if(f.value+=String(p),+f.value>=se.length){f.value="";return}const g=se.findIndex(y=>y.path===f.value);g!==-1&&(Me.value=g+1),+f.value*10>se.length&&(s(+f.value),f.value="")}),Xn(()=>{Me.value=le.value,id.value=h.value}),(d,p)=>{const g=C$;return R(),nt(It,null,[at(Kf,{"enter-active-class":"duration-150 ease-out","enter-from-class":"opacity-0 scale-102 !backdrop-blur-0px","leave-active-class":"duration-200 ease-in","leave-to-class":"opacity-0 scale-102 !backdrop-blur-0px",persisted:""},{default:_e(()=>[Ey(X("div",{class:"bg-main !bg-opacity-75 p-16 overflow-y-auto backdrop-blur-5px fixed left-0 right-0 top-0 h-[calc(var(--vh,1vh)*100)]",onClick:p[0]||(p[0]=y=>o())},[X("div",{class:"grid gap-y-4 gap-x-8 w-full",style:Ae(`grid-template-columns: repeat(auto-fit,minmax(${u.value}px,1fr))`)},[(R(!0),nt(It,null,No(O(se),(y,b)=>(R(),nt("div",{key:y.path,class:"relative"},[X("div",{class:ee(["inline-block border rounded border-opacity-50 overflow-hidden bg-main hover:border-$slidev-theme-primary transition",a(b+1)||O(Me)===b+1?"border-$slidev-theme-primary":"border-gray-400"]),style:Ae(O(td)),onClick:v=>s(+y.path)},[(R(),Vt(Q_,{key:y.path,width:u.value,"clicks-disabled":!0,class:"pointer-events-none"},{default:_e(()=>[y!=null&&y.component?(R(),Vt(O(od),{key:0,is:y.component,"clicks-disabled":!0,class:ee(O(rd)(y)),route:y,"render-context":"overview"},null,8,["is","class","route"])):Mt("v-if",!0),at(tv,{page:+y.path},null,8,["page"])]),_:2},1032,["width"]))],14,F$),X("div",{class:"absolute top-0",style:Ae(`left: ${u.value+5}px`)},[f.value&&String(b+1).startsWith(f.value)?(R(),nt(It,{key:0},[X("span",B$,yn(f.value),1),X("span",I$,yn(String(b+1).slice(f.value.length)),1)],64)):(R(),nt("span",P$,yn(b+1),1))],4)]))),128))],4)],512),[[Zf,O(r)]])]),_:1}),O(r)?(R(),nt("button",{key:0,class:"fixed text-2xl top-4 right-4 slidev-icon-btn text-gray-400",onClick:o},[at(Ue,{text:"Close"}),at(g)])):Mt("v-if",!0)],64)}}}),N$=Dt(R$,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/SlidesOverview.vue"]]),D$="/slides/fosdem2024/assets/logo-WJB0mvzm.png",j$={key:0,class:"fixed top-0 bottom-0 left-0 right-0 grid z-20"},H$=jt({__name:"Modal",props:{modelValue:{default:!1},class:{default:""}},emits:["modelValue"],setup(t,{emit:e}){const n=t,r=Yn(n,"modelValue",e);function o(){r.value=!1}return(s,a)=>(R(),Vt(My,null,[O(r)?(R(),nt("div",j$,[X("div",{bg:"black opacity-80",class:"absolute top-0 bottom-0 left-0 right-0 -z-1",onClick:a[0]||(a[0]=l=>o())}),X("div",{class:ee(["m-auto rounded-md bg-main shadow",n.class]),"dark:border":"~ main"},[He(s.$slots,"default")],2)])):Mt("v-if",!0)],1024))}}),q$=Dt(H$,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Modal.vue"]]),z$={class:"slidev-info-dialog slidev-layout flex flex-col gap-4 text-base"},V$=["innerHTML"],W$=X("a",{href:"https://github.com/slidevjs/slidev",target:"_blank",class:"!opacity-100 !border-none !text-current"},[X("div",{class:"flex gap-1 children:my-auto"},[X("div",{class:"opacity-50 text-sm mr-2"},"Powered by"),X("img",{class:"w-5 h-5",src:D$,alt:"Slidev logo"}),X("div",{style:{color:"#2082A6"}},[X("b",null,"Sli"),Ci("dev ")])])],-1),U$=jt({__name:"InfoDialog",props:{modelValue:{default:!1}},emits:["modelValue"],setup(t,{emit:e}){const r=Yn(t,"modelValue",e),o=A(()=>typeof Wt.info=="string");return(s,a)=>(R(),Vt(q$,{modelValue:O(r),"onUpdate:modelValue":a[0]||(a[0]=l=>Yt(r)?r.value=l:null),class:"px-6 py-4"},{default:_e(()=>[X("div",z$,[o.value?(R(),nt("div",{key:0,class:"mb-4",innerHTML:O(Wt).info},null,8,V$)):Mt("v-if",!0),W$])]),_:1},8,["modelValue"]))}}),Y$=Dt(U$,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/InfoDialog.vue"]]);function Ti(t){return Array.isArray?Array.isArray(t):iv(t)==="[object Array]"}const G$=1/0;function K$(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-G$?"-0":e}function X$(t){return t==null?"":K$(t)}function Gn(t){return typeof t=="string"}function ev(t){return typeof t=="number"}function Z$(t){return t===!0||t===!1||J$(t)&&iv(t)=="[object Boolean]"}function nv(t){return typeof t=="object"}function J$(t){return nv(t)&&t!==null}function rn(t){return t!=null}function Lu(t){return!t.trim().length}function iv(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Q$="Incorrect 'index' type",tL=t=>`Invalid value for key ${t}`,eL=t=>`Pattern length exceeds max of ${t}.`,nL=t=>`Missing ${t} property in key`,iL=t=>`Property 'weight' in key '${t}' must be a positive integer`,Ym=Object.prototype.hasOwnProperty;class rL{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(i=>{let r=rv(i);this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(i=>{i.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function rv(t){let e=null,n=null,i=null,r=1,o=null;if(Gn(t)||Ti(t))i=t,e=Gm(t),n=Ph(t);else{if(!Ym.call(t,"name"))throw new Error(nL("name"));const s=t.name;if(i=s,Ym.call(t,"weight")&&(r=t.weight,r<=0))throw new Error(iL(s));e=Gm(s),n=Ph(s),o=t.getFn}return{path:e,id:n,weight:r,src:i,getFn:o}}function Gm(t){return Ti(t)?t:t.split(".")}function Ph(t){return Ti(t)?t.join("."):t}function oL(t,e){let n=[],i=!1;const r=(o,s,a)=>{if(rn(o))if(!s[a])n.push(o);else{let l=s[a];const c=o[l];if(!rn(c))return;if(a===s.length-1&&(Gn(c)||ev(c)||Z$(c)))n.push(X$(c));else if(Ti(c)){i=!0;for(let u=0,h=c.length;u<h;u+=1)r(c[u],s,a+1)}else s.length&&r(c,s,a+1)}};return r(t,Gn(e)?e.split("."):e,0),i?n:n[0]}const sL={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},aL={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},lL={location:0,threshold:.6,distance:100},cL={useExtendedSearch:!1,getFn:oL,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var St={...aL,...sL,...lL,...cL};const uL=/[^ ]+/g;function hL(t=1,e=3){const n=new Map,i=Math.pow(10,e);return{get(r){const o=r.match(uL).length;if(n.has(o))return n.get(o);const s=1/Math.pow(o,.5*t),a=parseFloat(Math.round(s*i)/i);return n.set(o,a),a},clear(){n.clear()}}}class sd{constructor({getFn:e=St.getFn,fieldNormWeight:n=St.fieldNormWeight}={}){this.norm=hL(n,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((n,i)=>{this._keysMap[n.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Gn(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();Gn(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,i=this.size();n<i;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(e,n){return e[this._keysMap[n]]}size(){return this.records.length}_addString(e,n){if(!rn(e)||Lu(e))return;let i={v:e,i:n,n:this.norm.get(e)};this.records.push(i)}_addObject(e,n){let i={i:n,$:{}};this.keys.forEach((r,o)=>{let s=r.getFn?r.getFn(e):this.getFn(e,r.path);if(rn(s)){if(Ti(s)){let a=[];const l=[{nestedArrIndex:-1,value:s}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(rn(u))if(Gn(u)&&!Lu(u)){let h={v:u,i:c,n:this.norm.get(u)};a.push(h)}else Ti(u)&&u.forEach((h,f)=>{l.push({nestedArrIndex:f,value:h})})}i.$[o]=a}else if(Gn(s)&&!Lu(s)){let a={v:s,n:this.norm.get(s)};i.$[o]=a}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function ov(t,e,{getFn:n=St.getFn,fieldNormWeight:i=St.fieldNormWeight}={}){const r=new sd({getFn:n,fieldNormWeight:i});return r.setKeys(t.map(rv)),r.setSources(e),r.create(),r}function fL(t,{getFn:e=St.getFn,fieldNormWeight:n=St.fieldNormWeight}={}){const{keys:i,records:r}=t,o=new sd({getFn:e,fieldNormWeight:n});return o.setKeys(i),o.setIndexRecords(r),o}function Ra(t,{errors:e=0,currentLocation:n=0,expectedLocation:i=0,distance:r=St.distance,ignoreLocation:o=St.ignoreLocation}={}){const s=e/t.length;if(o)return s;const a=Math.abs(i-n);return r?s+a/r:a?1:s}function dL(t=[],e=St.minMatchCharLength){let n=[],i=-1,r=-1,o=0;for(let s=t.length;o<s;o+=1){let a=t[o];a&&i===-1?i=o:!a&&i!==-1&&(r=o-1,r-i+1>=e&&n.push([i,r]),i=-1)}return t[o-1]&&o-i>=e&&n.push([i,o-1]),n}const kr=32;function pL(t,e,n,{location:i=St.location,distance:r=St.distance,threshold:o=St.threshold,findAllMatches:s=St.findAllMatches,minMatchCharLength:a=St.minMatchCharLength,includeMatches:l=St.includeMatches,ignoreLocation:c=St.ignoreLocation}={}){if(e.length>kr)throw new Error(eL(kr));const u=e.length,h=t.length,f=Math.max(0,Math.min(i,h));let d=o,p=f;const g=a>1||l,y=g?Array(h):[];let b;for(;(b=t.indexOf(e,p))>-1;){let C=Ra(e,{currentLocation:b,expectedLocation:f,distance:r,ignoreLocation:c});if(d=Math.min(C,d),p=b+u,g){let P=0;for(;P<u;)y[b+P]=1,P+=1}}p=-1;let v=[],_=1,w=u+h;const S=1<<u-1;for(let C=0;C<u;C+=1){let P=0,E=w;for(;P<E;)Ra(e,{errors:C,currentLocation:f+E,expectedLocation:f,distance:r,ignoreLocation:c})<=d?P=E:w=E,E=Math.floor((w-P)/2+P);w=E;let F=Math.max(1,f-E+1),ot=s?h:Math.min(f+E,h)+u,V=Array(ot+2);V[ot+1]=(1<<C)-1;for(let N=ot;N>=F;N-=1){let j=N-1,Y=n[t.charAt(j)];if(g&&(y[j]=+!!Y),V[N]=(V[N+1]<<1|1)&Y,C&&(V[N]|=(v[N+1]|v[N])<<1|1|v[N+1]),V[N]&S&&(_=Ra(e,{errors:C,currentLocation:j,expectedLocation:f,distance:r,ignoreLocation:c}),_<=d)){if(d=_,p=j,p<=f)break;F=Math.max(1,2*f-p)}}if(Ra(e,{errors:C+1,currentLocation:f,expectedLocation:f,distance:r,ignoreLocation:c})>d)break;v=V}const B={isMatch:p>=0,score:Math.max(.001,_)};if(g){const C=dL(y,a);C.length?l&&(B.indices=C):B.isMatch=!1}return B}function mL(t){let e={};for(let n=0,i=t.length;n<i;n+=1){const r=t.charAt(n);e[r]=(e[r]||0)|1<<i-n-1}return e}class sv{constructor(e,{location:n=St.location,threshold:i=St.threshold,distance:r=St.distance,includeMatches:o=St.includeMatches,findAllMatches:s=St.findAllMatches,minMatchCharLength:a=St.minMatchCharLength,isCaseSensitive:l=St.isCaseSensitive,ignoreLocation:c=St.ignoreLocation}={}){if(this.options={location:n,threshold:i,distance:r,includeMatches:o,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(f,d)=>{this.chunks.push({pattern:f,alphabet:mL(f),startIndex:d})},h=this.pattern.length;if(h>kr){let f=0;const d=h%kr,p=h-d;for(;f<p;)u(this.pattern.substr(f,kr),f),f+=kr;if(d){const g=h-kr;u(this.pattern.substr(g),g)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,includeMatches:i}=this.options;if(n||(e=e.toLowerCase()),this.pattern===e){let p={isMatch:!0,score:0};return i&&(p.indices=[[0,e.length-1]]),p}const{location:r,distance:o,threshold:s,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],h=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:g,startIndex:y})=>{const{isMatch:b,score:v,indices:_}=pL(e,p,g,{location:r+y,distance:o,threshold:s,findAllMatches:a,minMatchCharLength:l,includeMatches:i,ignoreLocation:c});b&&(f=!0),h+=v,b&&_&&(u=[...u,..._])});let d={isMatch:f,score:f?h/this.chunks.length:1};return f&&i&&(d.indices=u),d}}class fr{constructor(e){this.pattern=e}static isMultiMatch(e){return Km(e,this.multiRegex)}static isSingleMatch(e){return Km(e,this.singleRegex)}search(){}}function Km(t,e){const n=t.match(e);return n?n[1]:null}class gL extends fr{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class yL extends fr{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const i=e.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,e.length-1]}}}class _L extends fr{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class vL extends fr{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class bL extends fr{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class xL extends fr{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class av extends fr{constructor(e,{location:n=St.location,threshold:i=St.threshold,distance:r=St.distance,includeMatches:o=St.includeMatches,findAllMatches:s=St.findAllMatches,minMatchCharLength:a=St.minMatchCharLength,isCaseSensitive:l=St.isCaseSensitive,ignoreLocation:c=St.ignoreLocation}={}){super(e),this._bitapSearch=new sv(e,{location:n,threshold:i,distance:r,includeMatches:o,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class lv extends fr{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,i;const r=[],o=this.pattern.length;for(;(i=e.indexOf(this.pattern,n))>-1;)n=i+o,r.push([i,n-1]);const s=!!r.length;return{isMatch:s,score:s?0:1,indices:r}}}const Rh=[gL,lv,_L,vL,xL,bL,yL,av],Xm=Rh.length,CL=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,wL="|";function TL(t,e={}){return t.split(wL).map(n=>{let i=n.trim().split(CL).filter(o=>o&&!!o.trim()),r=[];for(let o=0,s=i.length;o<s;o+=1){const a=i[o];let l=!1,c=-1;for(;!l&&++c<Xm;){const u=Rh[c];let h=u.isMultiMatch(a);h&&(r.push(new u(h,e)),l=!0)}if(!l)for(c=-1;++c<Xm;){const u=Rh[c];let h=u.isSingleMatch(a);if(h){r.push(new u(h,e));break}}}return r})}const SL=new Set([av.type,lv.type]);class kL{constructor(e,{isCaseSensitive:n=St.isCaseSensitive,includeMatches:i=St.includeMatches,minMatchCharLength:r=St.minMatchCharLength,ignoreLocation:o=St.ignoreLocation,findAllMatches:s=St.findAllMatches,location:a=St.location,threshold:l=St.threshold,distance:c=St.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:i,minMatchCharLength:r,findAllMatches:s,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?e:e.toLowerCase(),this.query=TL(this.pattern,this.options)}static condition(e,n){return n.useExtendedSearch}searchIn(e){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:i,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let o=0,s=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const u=n[l];s.length=0,o=0;for(let h=0,f=u.length;h<f;h+=1){const d=u[h],{isMatch:p,indices:g,score:y}=d.search(e);if(p){if(o+=1,a+=y,i){const b=d.constructor.type;SL.has(b)?s=[...s,...g]:s.push(g)}}else{a=0,o=0,s.length=0;break}}if(o){let h={isMatch:!0,score:a/o};return i&&(h.indices=s),h}}return{isMatch:!1,score:1}}}const Nh=[];function AL(...t){Nh.push(...t)}function Dh(t,e){for(let n=0,i=Nh.length;n<i;n+=1){let r=Nh[n];if(r.condition(t,e))return new r(t,e)}return new sv(t,e)}const zl={AND:"$and",OR:"$or"},jh={PATH:"$path",PATTERN:"$val"},Hh=t=>!!(t[zl.AND]||t[zl.OR]),EL=t=>!!t[jh.PATH],$L=t=>!Ti(t)&&nv(t)&&!Hh(t),Zm=t=>({[zl.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function cv(t,e,{auto:n=!0}={}){const i=r=>{let o=Object.keys(r);const s=EL(r);if(!s&&o.length>1&&!Hh(r))return i(Zm(r));if($L(r)){const l=s?r[jh.PATH]:o[0],c=s?r[jh.PATTERN]:r[l];if(!Gn(c))throw new Error(tL(l));const u={keyId:Ph(l),pattern:c};return n&&(u.searcher=Dh(c,e)),u}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=r[l];Ti(c)&&c.forEach(u=>{a.children.push(i(u))})}),a};return Hh(t)||(t=Zm(t)),i(t)}function LL(t,{ignoreFieldNorm:e=St.ignoreFieldNorm}){t.forEach(n=>{let i=1;n.matches.forEach(({key:r,norm:o,score:s})=>{const a=r?r.weight:null;i*=Math.pow(s===0&&a?Number.EPSILON:s,(a||1)*(e?1:o))}),n.score=i})}function OL(t,e){const n=t.matches;e.matches=[],rn(n)&&n.forEach(i=>{if(!rn(i.indices)||!i.indices.length)return;const{indices:r,value:o}=i;let s={indices:r,value:o};i.key&&(s.key=i.key.src),i.idx>-1&&(s.refIndex=i.idx),e.matches.push(s)})}function ML(t,e){e.score=t.score}function FL(t,e,{includeMatches:n=St.includeMatches,includeScore:i=St.includeScore}={}){const r=[];return n&&r.push(OL),i&&r.push(ML),t.map(o=>{const{idx:s}=o,a={item:e[s],refIndex:s};return r.length&&r.forEach(l=>{l(o,a)}),a})}class Ho{constructor(e,n={},i){this.options={...St,...n},this.options.useExtendedSearch,this._keyStore=new rL(this.options.keys),this.setCollection(e,i)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof sd))throw new Error(Q$);this._myIndex=n||ov(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){rn(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let i=0,r=this._docs.length;i<r;i+=1){const o=this._docs[i];e(o,i)&&(this.removeAt(i),i-=1,r-=1,n.push(o))}return n}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:n=-1}={}){const{includeMatches:i,includeScore:r,shouldSort:o,sortFn:s,ignoreFieldNorm:a}=this.options;let l=Gn(e)?Gn(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return LL(l,{ignoreFieldNorm:a}),o&&l.sort(s),ev(n)&&n>-1&&(l=l.slice(0,n)),FL(l,this._docs,{includeMatches:i,includeScore:r})}_searchStringList(e){const n=Dh(e,this.options),{records:i}=this._myIndex,r=[];return i.forEach(({v:o,i:s,n:a})=>{if(!rn(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&r.push({item:o,idx:s,matches:[{score:c,value:o,norm:a,indices:u}]})}),r}_searchLogical(e){const n=cv(e,this.options),i=(a,l,c)=>{if(!a.children){const{keyId:h,searcher:f}=a,d=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(l,h),searcher:f});return d&&d.length?[{idx:c,item:l,matches:d}]:[]}const u=[];for(let h=0,f=a.children.length;h<f;h+=1){const d=a.children[h],p=i(d,l,c);if(p.length)u.push(...p);else if(a.operator===zl.AND)return[]}return u},r=this._myIndex.records,o={},s=[];return r.forEach(({$:a,i:l})=>{if(rn(a)){let c=i(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},s.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),s}_searchObjectList(e){const n=Dh(e,this.options),{keys:i,records:r}=this._myIndex,o=[];return r.forEach(({$:s,i:a})=>{if(!rn(s))return;let l=[];i.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:s[u],searcher:n}))}),l.length&&o.push({idx:a,item:s,matches:l})}),o}_findMatches({key:e,value:n,searcher:i}){if(!rn(n))return[];let r=[];if(Ti(n))n.forEach(({v:o,i:s,n:a})=>{if(!rn(o))return;const{isMatch:l,score:c,indices:u}=i.searchIn(o);l&&r.push({score:c,key:e,value:o,idx:s,norm:a,indices:u})});else{const{v:o,n:s}=n,{isMatch:a,score:l,indices:c}=i.searchIn(o);a&&r.push({score:l,key:e,value:o,norm:s,indices:c})}return r}}Ho.version="7.0.0";Ho.createIndex=ov;Ho.parseIndex=fL;Ho.config=St;Ho.parseQuery=cv;AL(kL);const BL={key:0},IL={key:1},PL={key:2},RL={key:3},NL={key:4},DL=jt({__name:"titles",props:{no:{type:[Number,String],required:!0}},setup(t){return(e,n)=>(R(),nt("div",null,[+e.no==1?(R(),nt("p",BL,"Nix for genetics")):+e.no==2?(R(),nt("p",IL,"Next-generation sequencing")):+e.no==3?(R(),nt("p",PL,"Bioinformatics pipeline")):+e.no==4?(R(),nt("p",RL,"Nix : excellent community")):+e.no==5?(R(),nt("p",NL,"Thank you !")):Mt("v-if",!0)]))}}),jL=Dt(DL,[["__file","/@slidev/titles.md"]]),HL={class:"bg-main transform",shadow:"~",p:"x-4 y-2",border:"~ transparent rounded dark:main"},qL=["value","disabled"],zL=["border","onClick"],VL={"w-4":"","text-right":"",op50:"","text-sm":""},WL=jt({__name:"Goto",setup(t){const e=tt(),n=tt(),i=tt(),r=tt(),o=tt(""),s=tt(0);function a(_){return _!=null}const l=A(()=>new Ho(se.map(_=>{var w;return(w=_.meta)==null?void 0:w.slide}).filter(a),{keys:["no","title"],threshold:.3,shouldSort:!0,minMatchCharLength:1})),c=A(()=>o.value.startsWith("/")?o.value.substring(1):o.value),u=A(()=>l.value.search(c.value).map(_=>_.item)),h=A(()=>!!u.value.length);function f(){if(h.value){const _=u.value.at(s.value||0);_&&Xr(_.no)}d()}function d(){o.value="",go.value=!1}function p(_){_.preventDefault(),s.value++,s.value>=u.value.length&&(s.value=0),y()}function g(_){_.preventDefault(),s.value--,s.value<=-2&&(s.value=u.value.length-1),y()}function y(){var w;const _=(w=r.value)==null?void 0:w[s.value];_&&i.value&&(_.offsetTop+_.offsetHeight>i.value.offsetHeight+i.value.scrollTop?i.value.scrollTo({behavior:"smooth",top:_.offsetTop+_.offsetHeight-i.value.offsetHeight+1}):_.offsetTop<i.value.scrollTop&&i.value.scrollTo({behavior:"smooth",top:_.offsetTop}))}function b(_){s.value=0,o.value=_.target.value}function v(_){Xr(_),d()}return $t(go,async _=>{var w;_?(o.value="",s.value=0,setTimeout(()=>{var S;return(S=n.value)==null?void 0:S.focus()},0)):(w=n.value)==null||w.blur()}),$t(Qi,()=>{var _;(_=e.value)!=null&&_.contains(Qi.value)||d()}),(_,w)=>(R(),nt("div",{id:"slidev-goto-dialog",ref_key:"container",ref:e,class:ee(["fixed right-5 transition-all",O(go)?"top-5":"-top-20"]),"w-90":"","max-w-90":"","min-w-90":""},[X("div",HL,[X("input",{id:"slidev-goto-input",ref_key:"input",ref:n,value:o.value,type:"text",disabled:!O(go),class:ee(["outline-none bg-transparent",{"text-red-400":!h.value&&o.value}]),placeholder:"Goto...",onKeydown:[Ma(f,["enter"]),Ma(d,["escape"]),Ma(p,["down"]),Ma(g,["up"])],onInput:b},null,42,qL)]),u.value.length>0?(R(),nt("ul",{key:0,ref_key:"list",ref:i,class:"autocomplete-list",shadow:"~",border:"~ transparent rounded dark:main"},[(R(!0),nt(It,null,No(u.value,(S,B)=>(R(),nt("li",{ref_for:!0,ref_key:"items",ref:r,key:S.id,role:"button",tabindex:"0",p:"x-4 y-2","cursor-pointer":"",hover:"op100",flex:"~ gap-2","w-90":"","items-center":"",border:B===0?"":"t main",class:ee(s.value===B?"bg-active op100":"op80"),onClick:YT(C=>v(S.no),["stop","prevent"])},[X("div",VL,yn(S.no),1),at(O(jL),{no:S.no},null,8,["no"])],10,zL))),128))],512)):Mt("v-if",!0)],2))}}),UL=Dt(WL,[["__scopeId","data-v-f5ee02a7"],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Goto.vue"]]),YL=jt({__name:"Controls",setup(t){const e=ti(),n=ti();return(i,r)=>(R(),nt(It,null,[at(N$,{modelValue:O($e),"onUpdate:modelValue":r[0]||(r[0]=o=>Yt($e)?$e.value=o:null)},null,8,["modelValue"]),at(UL),e.value?(R(),Vt(O(e),{key:0})):Mt("v-if",!0),n.value?(R(),Vt(O(n),{key:1,modelValue:O(Tu),"onUpdate:modelValue":r[1]||(r[1]=o=>Yt(Tu)?Tu.value=o:null)},null,8,["modelValue"])):Mt("v-if",!0),O(Wt).info?(R(),Vt(Y$,{key:2,modelValue:O(bs),"onUpdate:modelValue":r[2]||(r[2]=o=>Yt(bs)?bs.value=o:null)},null,8,["modelValue"])):Mt("v-if",!0)],64))}}),GL=Dt(YL,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Controls.vue"]]),KL={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},XL=X("path",{fill:"currentColor",d:"M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3s3 1.3 3 3s-1.3 3-3 3M2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3s-3-1.3-3-3s1.3-3 3-3"},null,-1),ZL=[XL];function JL(t,e){return R(),nt("svg",KL,[...ZL])}const QL={name:"carbon-settings-adjust",render:JL},t2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},e2=X("path",{fill:"currentColor",d:"M17 22v-8h-4v2h2v6h-3v2h8v-2zM16 8a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 8"},null,-1),n2=X("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4"},null,-1),i2=[e2,n2];function r2(t,e){return R(),nt("svg",t2,[...i2])}const o2={name:"carbon-information",render:r2},s2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},a2=X("path",{fill:"currentColor",d:"M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10z"},null,-1),l2=[a2];function c2(t,e){return R(),nt("svg",s2,[...l2])}const u2={name:"carbon-download",render:c2},h2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},f2=X("path",{fill:"currentColor",d:"M26 6v4H6V6zm0-2H6a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M10 16v10H6V16zm0-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2m16 2v10H16V16zm0-2H16a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V16a2 2 0 0 0-2-2"},null,-1),d2=[f2];function p2(t,e){return R(),nt("svg",h2,[...d2])}const m2={name:"carbon-template",render:p2},g2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},y2=X("path",{fill:"currentColor",d:"M29.415 19L27.7 17.285A2.97 2.97 0 0 0 28 16a3 3 0 1 0-3 3a2.97 2.97 0 0 0 1.286-.3L28 20.414V28h-6v-3a7.008 7.008 0 0 0-7-7H9a7.008 7.008 0 0 0-7 7v5h28v-9.586A1.988 1.988 0 0 0 29.415 19M4 25a5.006 5.006 0 0 1 5-5h6a5.006 5.006 0 0 1 5 5v3H4Z"},null,-1),_2=X("path",{fill:"currentColor",d:"M12 4a5 5 0 1 1-5 5a5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7a7 7 0 0 0-7-7"},null,-1),v2=[y2,_2];function b2(t,e){return R(),nt("svg",g2,[...v2])}const x2={name:"carbon-user-speaker",render:b2},C2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},w2=X("path",{fill:"currentColor",d:"M15 10h2v8h-2zm5 4h2v4h-2zm-10-2h2v6h-2z"},null,-1),T2=X("path",{fill:"currentColor",d:"M25 4h-8V2h-2v2H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8v6h-4v2h10v-2h-4v-6h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 16H7V6h18Z"},null,-1),S2=[w2,T2];function k2(t,e){return R(),nt("svg",C2,[...S2])}const A2={name:"carbon-presentation-file",render:k2},E2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},$2=X("path",{fill:"currentColor",d:"M27.307 6.107L30 3.414L28.586 2l-2.693 2.693L24.8 3.6a1.933 1.933 0 0 0-2.8 0l-18 18V28h6.4l18-18a1.933 1.933 0 0 0 0-2.8ZM9.6 26H6v-3.6L23.4 5L27 8.6ZM9 11.586L16.586 4L18 5.414L10.414 13z"},null,-1),L2=[$2];function O2(t,e){return R(),nt("svg",E2,[...L2])}const M2={name:"carbon-pen",render:O2},F2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},B2=X("g",{fill:"currentColor"},[X("path",{d:"M213.66 201L201 213.66a8 8 0 0 1-11.31 0L140 164a8 8 0 0 0-13 2.46l-19.46 44.77a8 8 0 0 1-14.85-.71L40.41 50.44a8 8 0 0 1 10-10l160.1 52.24a8 8 0 0 1 .71 14.85L166.45 127a8 8 0 0 0-2.45 13l49.67 49.67a8 8 0 0 1-.01 11.33",opacity:".2"}),X("path",{d:"m169.64 134.33l44.77-19.46a16 16 0 0 0-1.41-29.8L52.92 32.8A16 16 0 0 0 32.8 52.92L85.07 213a15.83 15.83 0 0 0 14.41 11h.78a15.83 15.83 0 0 0 14.61-9.59l19.46-44.77L184 219.31a16 16 0 0 0 22.63 0l12.68-12.68a16 16 0 0 0 0-22.63Zm-69.48 73.76l.06-.05Zm95.15-.09l-49.67-49.67a16 16 0 0 0-26 4.94l-19.42 44.65L48 48l159.87 52.21l-44.64 19.41a16 16 0 0 0-4.94 26L208 195.31Z"})],-1),I2=[B2];function P2(t,e){return R(),nt("svg",F2,[...I2])}const R2={name:"ph-cursor-duotone",render:P2},N2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},D2=X("path",{fill:"currentColor",d:"M219.31 192a16 16 0 0 1 0 22.63l-4.68 4.68a16 16 0 0 1-22.63 0l-55.25-55.24l-21.88 50.34a15.84 15.84 0 0 1-14.61 9.59h-.78a15.82 15.82 0 0 1-14.41-11L32.8 52.92A15.95 15.95 0 0 1 52.92 32.8L213 85.07a16 16 0 0 1 1.41 29.8l-50.34 21.88Z"},null,-1),j2=[D2];function H2(t,e){return R(),nt("svg",N2,[...j2])}const uv={name:"ph-cursor-fill",render:H2},q2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},z2=X("path",{fill:"currentColor",d:"M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6M5.394 6.813L6.81 5.399l3.505 3.506L8.9 10.319zM2 15.005h5v2H2zm3.394 10.193L8.9 21.692l1.414 1.414l-3.505 3.506zM15 25.005h2v5h-2zm6.687-1.9l1.414-1.414l3.506 3.506l-1.414 1.414zm3.313-8.1h5v2h-5zm-3.313-6.101l3.506-3.506l1.414 1.414l-3.506 3.506zM15 2.005h2v5h-2z"},null,-1),V2=[z2];function W2(t,e){return R(),nt("svg",q2,[...V2])}const U2={name:"carbon-sun",render:W2},Y2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},G2=X("path",{fill:"currentColor",d:"M13.503 5.414a15.076 15.076 0 0 0 11.593 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3"},null,-1),K2=[G2];function X2(t,e){return R(),nt("svg",Y2,[...K2])}const Z2={name:"carbon-moon",render:X2},J2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Q2=X("path",{fill:"currentColor",d:"M8 4v4H4V4Zm2-2H2v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8ZM8 14v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8ZM8 24v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Z"},null,-1),tO=[Q2];function eO(t,e){return R(),nt("svg",J2,[...tO])}const nO={name:"carbon-apps",render:eO},iO={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},rO=X("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10z"},null,-1),oO=[rO];function sO(t,e){return R(),nt("svg",iO,[...oO])}const aO={name:"carbon-arrow-right",render:sO},lO={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},cO=X("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16z"},null,-1),uO=[cO];function hO(t,e){return R(),nt("svg",lO,[...uO])}const fO={name:"carbon-arrow-left",render:hO},dO={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},pO=X("path",{fill:"currentColor",d:"M20 2v2h6.586L18 12.582L19.414 14L28 5.414V12h2V2zm-6 17.416L12.592 18L4 26.586V20H2v10h10v-2H5.414z"},null,-1),mO=[pO];function gO(t,e){return R(),nt("svg",dO,[...mO])}const yO={name:"carbon-maximize",render:gO},_O={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},vO=X("path",{fill:"currentColor",d:"M4 18v2h6.586L2 28.582L3.414 30L12 21.414V28h2V18zM30 3.416L28.592 2L20 10.586V4h-2v10h10v-2h-6.586z"},null,-1),bO=[vO];function xO(t,e){return R(),nt("svg",_O,[...bO])}const CO={name:"carbon-minimize",render:xO},wO={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},TO=X("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9z"},null,-1),SO=[TO];function kO(t,e){return R(),nt("svg",wO,[...SO])}const AO={name:"carbon-checkmark",render:kO},EO={class:"select-list"},$O={class:"title"},LO={class:"items"},OO=["onClick"],MO=jt({__name:"SelectList",props:{modelValue:{type:[Object,String,Number]},title:{type:String},items:{type:Array}},setup(t,{emit:e}){const r=Yn(t,"modelValue",e,{passive:!0});return(o,s)=>{const a=AO;return R(),nt("div",EO,[X("div",$O,yn(t.title),1),X("div",LO,[(R(!0),nt(It,null,No(t.items,l=>(R(),nt("div",{key:l.value,class:ee(["item",{active:O(r)===l.value}]),onClick:()=>{var c;r.value=l.value,(c=l.onClick)==null||c.call(l)}},[at(a,{class:ee(["text-green-500",{"opacity-0":O(r)!==l.value}])},null,8,["class"]),Ci(" "+yn(l.display||l.value),1)],10,OO))),128))])])}}}),FO=Dt(MO,[["__scopeId","data-v-3f89fa11"],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/SelectList.vue"]]),BO={class:"text-sm"},IO=jt({__name:"Settings",setup(t){const e=[{display:"Fit",value:0},{display:"1:1",value:1}];return(n,i)=>(R(),nt("div",BO,[at(FO,{modelValue:O(rl),"onUpdate:modelValue":i[0]||(i[0]=r=>Yt(rl)?rl.value=r:null),title:"Scale",items:e},null,8,["modelValue"])]))}}),PO=Dt(IO,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Settings.vue"]]),RO={key:0,class:"rounded-md bg-main shadow absolute bottom-10 left-0 z-20","dark:border":"~ main"},NO=jt({__name:"MenuButton",props:{modelValue:{default:!1},disabled:{default:!1}},setup(t,{emit:e}){const r=Yn(t,"modelValue",e,{passive:!0}),o=tt();return Sk(o,()=>{r.value=!1}),(s,a)=>(R(),nt("div",{ref_key:"el",ref:o,class:"flex relative"},[X("button",{class:ee({disabled:t.disabled}),onClick:a[0]||(a[0]=l=>r.value=!O(r))},[He(s.$slots,"button",{class:ee({disabled:t.disabled})})],2),(R(),Vt(My,null,[O(r)?(R(),nt("div",RO,[He(s.$slots,"menu")])):Mt("v-if",!0)],1024))],512))}}),DO=Dt(NO,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/MenuButton.vue"]]),jO={},HO={class:"w-1px opacity-10 bg-current m-1 lg:m-2"};function qO(t,e){return R(),nt("div",HO)}const Na=Dt(jO,[["render",qO],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/VerticalDivider.vue"]]),zO={render(){return[]}},VO={class:"slidev-icon-btn"},WO={class:"h-40px flex",p:"l-1 t-0.5 r-2",text:"sm leading-2"},UO={class:"my-auto"},YO={class:"opacity-50"},GO=jt({__name:"NavControls",props:{persist:{default:!1}},setup(t){const e=t,n=$h.smaller("md"),{isFullscreen:i,toggle:r}=z_,o=A(()=>df.value?`?password=${df.value}`:""),s=A(()=>`/presenter/${le.value}${o.value}`),a=A(()=>`/${le.value}${o.value}`),l=tt();function c(){l.value&&Qi.value&&l.value.contains(Qi.value)&&Qi.value.blur()}const u=A(()=>e.persist?"text-$slidev-controls-foreground bg-transparent":"rounded-md bg-main shadow dark:border dark:border-gray-400 dark:border-opacity-10"),h=ti(),f=ti();return Qt(()=>import("./DrawingControls-BpEX6Ul-.js"),__vite__mapDeps([])).then(d=>f.value=d.default),(d,p)=>{const g=CO,y=yO,b=fO,v=aO,_=nO,w=Z2,S=U2,B=uv,C=R2,P=M2,E=A2,F=Ll("RouterLink"),ot=x2,V=m2,W=u2,N=o2,j=QL;return R(),nt("nav",{ref_key:"root",ref:l,class:"flex flex-col"},[X("div",{class:ee(["flex flex-wrap-reverse text-xl gap-0.5 p-1 lg:gap-1 lg:p-2",u.value]),onMouseleave:c},[O(pi)?Mt("v-if",!0):(R(),nt("button",{key:0,class:"slidev-icon-btn",onClick:p[0]||(p[0]=(...Y)=>O(r)&&O(r)(...Y))},[O(i)?(R(),nt(It,{key:0},[at(Ue,{text:"Close fullscreen"}),at(g)],64)):(R(),nt(It,{key:1},[at(Ue,{text:"Enter fullscreen"}),at(y)],64))])),X("button",{class:ee(["slidev-icon-btn",{disabled:!O(sq)}]),onClick:p[1]||(p[1]=(...Y)=>O(nr)&&O(nr)(...Y))},[at(Ue,{text:"Go to previous slide"}),at(b)],2),X("button",{class:ee(["slidev-icon-btn",{disabled:!O(oq)}]),title:"Next",onClick:p[2]||(p[2]=(...Y)=>O(er)&&O(er)(...Y))},[at(Ue,{text:"Go to next slide"}),at(v)],2),O(pi)?Mt("v-if",!0):(R(),nt("button",{key:1,class:"slidev-icon-btn",title:"Slides overview",onClick:p[3]||(p[3]=Y=>O(V_)())},[at(Ue,{text:"Show slide overview"}),at(_)])),O(Bh)?Mt("v-if",!0):(R(),nt("button",{key:2,class:"slidev-icon-btn",title:"Toggle dark mode",onClick:p[4]||(p[4]=Y=>O(X_)())},[O(Fc)?(R(),nt(It,{key:0},[at(Ue,{text:"Switch to light theme"}),at(w)],64)):(R(),nt(It,{key:1},[at(Ue,{text:"Switch to dark mode theme"}),at(S)],64))])),at(Na),O(pi)?Mt("v-if",!0):(R(),nt(It,{key:3},[!O(De)&&!O(n)&&h.value?(R(),nt(It,{key:0},[at(O(h)),at(Na)],64)):Mt("v-if",!0),O(De)?(R(),nt("button",{key:1,class:"slidev-icon-btn",title:"Show presenter cursor",onClick:p[5]||(p[5]=Y=>Su.value=!O(Su))},[O(Su)?(R(),nt(It,{key:0},[at(Ue,{text:"Hide presenter cursor"}),at(B)],64)):(R(),nt(It,{key:1},[at(Ue,{text:"Show presenter cursor"}),at(C)],64))])):Mt("v-if",!0)],64)),(!O(Wt).drawings.presenterOnly||O(De))&&!O(pi)?(R(),nt(It,{key:4},[X("button",{class:"slidev-icon-btn relative",title:"Drawing",onClick:p[6]||(p[6]=Y=>gn.value=!O(gn))},[O(gn)?(R(),Vt(Ue,{key:0,text:O(gn)?"Hide drawing toolbar":"Show drawing toolbar"},null,8,["text"])):Mt("v-if",!0),at(P),O(gn)?(R(),nt("div",{key:1,class:"absolute left-1 right-1 bottom-0 h-0.7 rounded-full",style:Ae({background:O($r).color})},null,4)):Mt("v-if",!0)]),at(Na)],64)):Mt("v-if",!0),O(pi)?Mt("v-if",!0):(R(),nt(It,{key:5},[O(De)?(R(),Vt(F,{key:0,to:a.value,class:"slidev-icon-btn",title:"Play Mode"},{default:_e(()=>[at(E)]),_:1},8,["to"])):Mt("v-if",!0),O(tq)?(R(),Vt(F,{key:1,to:s.value,class:"slidev-icon-btn",title:"Presenter Mode"},{default:_e(()=>[at(ot)]),_:1},8,["to"])):Mt("v-if",!0),Mt("v-if",!0),O(De)?(R(),nt("button",{key:3,class:"slidev-icon-btn",title:"Toggle Presenter Layout",onClick:p[8]||(p[8]=(...Y)=>O(Im)&&O(Im)(...Y))},[at(V),Ci(" "+yn(O(hs)),1)])):Mt("v-if",!0)],64)),(R(),nt(It,{key:6},[O(Wt).download?(R(),nt("button",{key:0,class:"slidev-icon-btn",onClick:p[9]||(p[9]=(...Y)=>O(pf)&&O(pf)(...Y))},[at(Ue,{text:"Download as PDF"}),at(W)])):Mt("v-if",!0)],64)),!O(De)&&O(Wt).info&&!O(pi)?(R(),nt("button",{key:7,class:"slidev-icon-btn",onClick:p[10]||(p[10]=Y=>bs.value=!O(bs))},[at(Ue,{text:"Show info"}),at(N)])):Mt("v-if",!0),!O(De)&&!O(pi)?(R(),Vt(DO,{key:8},{button:_e(()=>[X("button",VO,[at(Ue,{text:"Adjust settings"}),at(j)])]),menu:_e(()=>[at(PO)]),_:1})):Mt("v-if",!0),O(pi)?Mt("v-if",!0):(R(),Vt(Na,{key:9})),X("div",WO,[X("div",UO,[Ci(yn(O(le))+" ",1),X("span",YO,"/ "+yn(O(eq)),1)])]),at(O(zO))],34)],512)}}}),KO=Dt(GO,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/NavControls.vue"]]);function XO(){const t=wE(),e=tt(!1);let n,i;const r=typeof document<"u"&&"startViewTransition"in document;return t.beforeResolve((o,s)=>{var d,p;const a=(d=s.meta.slide)==null?void 0:d.no,l=(p=o.meta.slide)==null?void 0:p.no;if(!(a!==void 0&&l!==void 0&&(s.meta.transition==="view-transition"&&a<l||o.meta.transition==="view-transition"&&l<a))){e.value=!1;return}if(!r){e.value=!1,console.warn("View transition is not supported in your browser, fallback to normal transition.");return}e.value=!0;const c=new Promise((g,y)=>{n=g,i=y});let u;const h=new Promise(g=>u=g);return document.startViewTransition(()=>(u(),c)).finished.then(()=>{i=void 0,n=void 0}),h}),r&&t.afterEach(()=>{n==null||n(),i==null||i()}),e}const Vl=tt(!1),hv={render(){return[]}},fv={render(){return[]}},ZO={key:0,class:"absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl"},JO=jt({__name:"PresenterMouse",setup(t){return(e,n)=>{const i=uv;return O(bu).cursor?(R(),nt("div",ZO,[at(i,{class:"absolute",style:Ae({left:`${O(bu).cursor.x}%`,top:`${O(bu).cursor.y}%`})},null,8,["style"])])):Mt("v-if",!0)}}}),QO=Dt(JO,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/PresenterMouse.vue"]]),tM=jt({__name:"SlidesShow",props:{renderContext:{type:String,required:!0}},setup(t){$t(Le,()=>{var s,a;(s=Le.value)!=null&&s.meta&&Le.value.meta.preload!==!1&&(Le.value.meta.__preloaded=!0),(a=Yu.value)!=null&&a.meta&&Yu.value.meta.preload!==!1&&(Yu.value.meta.__preloaded=!0)},{immediate:!0});const e=XO();let n=[];ze.beforeEach(()=>{var s;n=[(s=Le.value)==null?void 0:s.path,on.value]});const i=ti();Qt(()=>import("./DrawingLayer-8dAmyACc.js"),__vite__mapDeps([])).then(s=>i.value=s.default);const r=A(()=>se.filter(s=>{var a;return((a=s.meta)==null?void 0:a.__preloaded)||s===Le.value}));function o(){Vl.value=!0}return(s,a)=>(R(),nt(It,null,[Mt(" Global Bottom "),at(O(fv)),Mt(" Slides "),(R(),Vt(aw(O(e)?"div":jT),Ur(O(Vl)?{}:O(cq),{id:"slideshow",tag:"div",onAfterLeave:o}),{default:_e(()=>[(R(!0),nt(It,null,No(r.value,l=>{var c;return Ey((R(),Vt(O(od),{key:l.path,is:l==null?void 0:l.component,clicks:l===O(Le)?O(on):l.path===O(n)[0]?O(n)[1]:0,"clicks-elements":((c=l.meta)==null?void 0:c.__clicksElements)||[],"clicks-disabled":!1,class:ee(O(rd)(l)),route:l,"render-context":s.renderContext},null,8,["is","clicks","clicks-elements","class","route","render-context"])),[[Zf,l===O(Le)]])}),128))]),_:1},16)),Mt(" Global Top "),at(O(hv)),i.value?(R(),Vt(O(i),{key:0})):Mt("v-if",!0),O(De)?Mt("v-if",!0):(R(),Vt(QO,{key:1}))],64))}}),eM=Dt(tM,[["__scopeId","data-v-afb4231e"],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/SlidesShow.vue"]]),nM=jt({__name:"PrintStyle",setup(t){function e(n,{slots:i}){if(i.default)return Ze("style",i.default())}return(n,i)=>(R(),Vt(e,null,{default:_e(()=>[Ci(" @page { size: "+yn(O(Ji))+"px "+yn(O(Qf))+"px; margin: 0px; } ",1)]),_:1}))}}),dv=Dt(nM,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/PrintStyle.vue"]]),iM=jt({__name:"Play",setup(t){y$();const e=tt();function n(o){var s;Bm.value||((s=o.target)==null?void 0:s.id)==="slide-container"&&(o.screenX/window.innerWidth>.6?er():nr())}uq(e);const i=A(()=>SE.value||Bm.value);ti();const r=ti();return Qt(()=>import("./DrawingControls-BpEX6Ul-.js"),__vite__mapDeps([])).then(o=>r.value=o.default),(o,s)=>(R(),nt(It,null,[O(Po)?(R(),Vt(dv,{key:0})):Mt("v-if",!0),X("div",{id:"page-root",ref_key:"root",ref:e,class:"grid grid-cols-[1fr_max-content]",style:Ae(O(td))},[at(Q_,{class:"w-full h-full",style:Ae({background:"var(--slidev-slide-container-background, black)"}),width:O(Po)?O(Dr).width.value:void 0,scale:O(rl),onPointerdown:n},{default:_e(()=>[at(eM,{"render-context":"slide"})]),controls:_e(()=>[X("div",{class:ee(["absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100",[i.value?"opacity-100 right-0":"opacity-0 p-2",O(Ds)?"pointer-events-none":""]])},[at(KO,{class:"m-auto",persist:i.value},null,8,["persist"])],2),!O(Wt).drawings.presenterOnly&&!O(pi)&&r.value?(R(),Vt(O(r),{key:0,class:"ml-0"})):Mt("v-if",!0)]),_:1},8,["style","width","scale"]),Mt("v-if",!0)],4),at(GL)],64))}}),rM=Dt(iM,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Play.vue"]]);/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function pv(t){return typeof t>"u"||t===null}function oM(t){return typeof t=="object"&&t!==null}function sM(t){return Array.isArray(t)?t:pv(t)?[]:[t]}function aM(t,e){var n,i,r,o;if(e)for(o=Object.keys(e),n=0,i=o.length;n<i;n+=1)r=o[n],t[r]=e[r];return t}function lM(t,e){var n="",i;for(i=0;i<e;i+=1)n+=t;return n}function cM(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var uM=pv,hM=oM,fM=sM,dM=lM,pM=cM,mM=aM,ad={isNothing:uM,isObject:hM,toArray:fM,repeat:dM,isNegativeZero:pM,extend:mM};function mv(t,e){var n="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+=`
`+t.mark.snippet),i+" "+n):i}function Hs(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=mv(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Hs.prototype=Object.create(Error.prototype);Hs.prototype.constructor=Hs;Hs.prototype.toString=function(e){return this.name+": "+mv(this,e)};var Ar=Hs,gM=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],yM=["scalar","sequence","mapping"];function _M(t){var e={};return t!==null&&Object.keys(t).forEach(function(n){t[n].forEach(function(i){e[String(i)]=n})}),e}function vM(t,e){if(e=e||{},Object.keys(e).forEach(function(n){if(gM.indexOf(n)===-1)throw new Ar('Unknown option "'+n+'" 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(n){return n},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=_M(e.styleAliases||null),yM.indexOf(this.kind)===-1)throw new Ar('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var Ie=vM;function Jm(t,e){var n=[];return t[e].forEach(function(i){var r=n.length;n.forEach(function(o,s){o.tag===i.tag&&o.kind===i.kind&&o.multi===i.multi&&(r=s)}),n[r]=i}),n}function bM(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,n;function i(r){r.multi?(t.multi[r.kind].push(r),t.multi.fallback.push(r)):t[r.kind][r.tag]=t.fallback[r.tag]=r}for(e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(i);return t}function qh(t){return this.extend(t)}qh.prototype.extend=function(e){var n=[],i=[];if(e instanceof Ie)i.push(e);else if(Array.isArray(e))i=i.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(n=n.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit));else throw new Ar("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");n.forEach(function(o){if(!(o instanceof Ie))throw new Ar("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(o.loadKind&&o.loadKind!=="scalar")throw new Ar("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(o.multi)throw new Ar("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(o){if(!(o instanceof Ie))throw new Ar("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(qh.prototype);return r.implicit=(this.implicit||[]).concat(n),r.explicit=(this.explicit||[]).concat(i),r.compiledImplicit=Jm(r,"implicit"),r.compiledExplicit=Jm(r,"explicit"),r.compiledTypeMap=bM(r.compiledImplicit,r.compiledExplicit),r};var xM=qh,CM=new Ie("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),wM=new Ie("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),TM=new Ie("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),SM=new xM({explicit:[CM,wM,TM]});function kM(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function AM(){return null}function EM(t){return t===null}var $M=new Ie("tag:yaml.org,2002:null",{kind:"scalar",resolve:kM,construct:AM,predicate:EM,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function LM(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function OM(t){return t==="true"||t==="True"||t==="TRUE"}function MM(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var FM=new Ie("tag:yaml.org,2002:bool",{kind:"scalar",resolve:LM,construct:OM,predicate:MM,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function BM(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function IM(t){return 48<=t&&t<=55}function PM(t){return 48<=t&&t<=57}function RM(t){if(t===null)return!1;var e=t.length,n=0,i=!1,r;if(!e)return!1;if(r=t[n],(r==="-"||r==="+")&&(r=t[++n]),r==="0"){if(n+1===e)return!0;if(r=t[++n],r==="b"){for(n++;n<e;n++)if(r=t[n],r!=="_"){if(r!=="0"&&r!=="1")return!1;i=!0}return i&&r!=="_"}if(r==="x"){for(n++;n<e;n++)if(r=t[n],r!=="_"){if(!BM(t.charCodeAt(n)))return!1;i=!0}return i&&r!=="_"}if(r==="o"){for(n++;n<e;n++)if(r=t[n],r!=="_"){if(!IM(t.charCodeAt(n)))return!1;i=!0}return i&&r!=="_"}}if(r==="_")return!1;for(;n<e;n++)if(r=t[n],r!=="_"){if(!PM(t.charCodeAt(n)))return!1;i=!0}return!(!i||r==="_")}function NM(t){var e=t,n=1,i;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),i=e[0],(i==="-"||i==="+")&&(i==="-"&&(n=-1),e=e.slice(1),i=e[0]),e==="0")return 0;if(i==="0"){if(e[1]==="b")return n*parseInt(e.slice(2),2);if(e[1]==="x")return n*parseInt(e.slice(2),16);if(e[1]==="o")return n*parseInt(e.slice(2),8)}return n*parseInt(e,10)}function DM(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!ad.isNegativeZero(t)}var jM=new Ie("tag:yaml.org,2002:int",{kind:"scalar",resolve:RM,construct:NM,predicate:DM,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),HM=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function qM(t){return!(t===null||!HM.test(t)||t[t.length-1]==="_")}function zM(t){var e,n;return e=t.replace(/_/g,"").toLowerCase(),n=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:n*parseFloat(e,10)}var VM=/^[-+]?[0-9]+e/;function WM(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(ad.isNegativeZero(t))return"-0.0";return n=t.toString(10),VM.test(n)?n.replace("e",".e"):n}function UM(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||ad.isNegativeZero(t))}var YM=new Ie("tag:yaml.org,2002:float",{kind:"scalar",resolve:qM,construct:zM,predicate:UM,represent:WM,defaultStyle:"lowercase"}),GM=SM.extend({implicit:[$M,FM,jM,YM]}),KM=GM,gv=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),yv=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]))?))?$");function XM(t){return t===null?!1:gv.exec(t)!==null||yv.exec(t)!==null}function ZM(t){var e,n,i,r,o,s,a,l=0,c=null,u,h,f;if(e=gv.exec(t),e===null&&(e=yv.exec(t)),e===null)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(o=+e[4],s=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],h=+(e[11]||0),c=(u*60+h)*6e4,e[9]==="-"&&(c=-c)),f=new Date(Date.UTC(n,i,r,o,s,a,l)),c&&f.setTime(f.getTime()-c),f}function JM(t){return t.toISOString()}var QM=new Ie("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:XM,construct:ZM,instanceOf:Date,represent:JM});function tF(t){return t==="<<"||t===null}var eF=new Ie("tag:yaml.org,2002:merge",{kind:"scalar",resolve:tF}),ld=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function nF(t){if(t===null)return!1;var e,n,i=0,r=t.length,o=ld;for(n=0;n<r;n++)if(e=o.indexOf(t.charAt(n)),!(e>64)){if(e<0)return!1;i+=6}return i%8===0}function iF(t){var e,n,i=t.replace(/[\r\n=]/g,""),r=i.length,o=ld,s=0,a=[];for(e=0;e<r;e++)e%4===0&&e&&(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)),s=s<<6|o.indexOf(i.charAt(e));return n=r%4*6,n===0?(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)):n===18?(a.push(s>>10&255),a.push(s>>2&255)):n===12&&a.push(s>>4&255),new Uint8Array(a)}function rF(t){var e="",n=0,i,r,o=t.length,s=ld;for(i=0;i<o;i++)i%3===0&&i&&(e+=s[n>>18&63],e+=s[n>>12&63],e+=s[n>>6&63],e+=s[n&63]),n=(n<<8)+t[i];return r=o%3,r===0?(e+=s[n>>18&63],e+=s[n>>12&63],e+=s[n>>6&63],e+=s[n&63]):r===2?(e+=s[n>>10&63],e+=s[n>>4&63],e+=s[n<<2&63],e+=s[64]):r===1&&(e+=s[n>>2&63],e+=s[n<<4&63],e+=s[64],e+=s[64]),e}function oF(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var sF=new Ie("tag:yaml.org,2002:binary",{kind:"scalar",resolve:nF,construct:iF,predicate:oF,represent:rF}),aF=Object.prototype.hasOwnProperty,lF=Object.prototype.toString;function cF(t){if(t===null)return!0;var e=[],n,i,r,o,s,a=t;for(n=0,i=a.length;n<i;n+=1){if(r=a[n],s=!1,lF.call(r)!=="[object Object]")return!1;for(o in r)if(aF.call(r,o))if(!s)s=!0;else return!1;if(!s)return!1;if(e.indexOf(o)===-1)e.push(o);else return!1}return!0}function uF(t){return t!==null?t:[]}var hF=new Ie("tag:yaml.org,2002:omap",{kind:"sequence",resolve:cF,construct:uF}),fF=Object.prototype.toString;function dF(t){if(t===null)return!0;var e,n,i,r,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1){if(i=s[e],fF.call(i)!=="[object Object]"||(r=Object.keys(i),r.length!==1))return!1;o[e]=[r[0],i[r[0]]]}return!0}function pF(t){if(t===null)return[];var e,n,i,r,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1)i=s[e],r=Object.keys(i),o[e]=[r[0],i[r[0]]];return o}var mF=new Ie("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:dF,construct:pF}),gF=Object.prototype.hasOwnProperty;function yF(t){if(t===null)return!0;var e,n=t;for(e in n)if(gF.call(n,e)&&n[e]!==null)return!1;return!0}function _F(t){return t!==null?t:{}}var vF=new Ie("tag:yaml.org,2002:set",{kind:"mapping",resolve:yF,construct:_F});KM.extend({implicit:[QM,eF],explicit:[sF,hF,mF,vF]});function Qm(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?" ":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}var bF=new Array(256),xF=new Array(256);for(var co=0;co<256;co++)bF[co]=Qm(co)?1:0,xF[co]=Qm(co);function CF(t){return Array.from(new Set(t))}function tg(...t){let e,n,i;t.length===1?(e=0,i=1,[n]=t):[e,n,i=1]=t;const r=[];let o=e;for(;o<n;)r.push(o),o+=i||1;return r}function wF(t,e){if(!e||e==="all"||e==="*")return tg(1,t+1);const n=[];for(const i of e.split(/[,;]/g))if(!i.includes("-"))n.push(+i);else{const[r,o]=i.split("-",2);n.push(...tg(+r,o?+o+1:t+1))}return CF(n).filter(i=>i<=t).sort((i,r)=>i-r)}function _v(t){const e=A(()=>t.value.path),n=A(()=>se.length),i=A(()=>Number.parseInt(e.value.split(/\//g).slice(-1)[0])||1),r=A(()=>Qc(i.value)),o=A(()=>se.find(f=>f.path===`${i.value}`)),s=A(()=>{var f,d,p;return(p=(d=(f=o.value)==null?void 0:f.meta)==null?void 0:d.slide)==null?void 0:p.id}),a=A(()=>{var f,d;return((d=(f=o.value)==null?void 0:f.meta)==null?void 0:d.layout)||(i.value===1?"cover":"default")}),l=A(()=>se.find(f=>f.path===`${Math.min(se.length,i.value+1)}`)),c=A(()=>se.filter(f=>{var d,p;return(p=(d=f.meta)==null?void 0:d.slide)==null?void 0:p.title}).reduce((f,d)=>(Wd(f,d),f),[])),u=A(()=>Ud(c.value,o.value)),h=A(()=>Yd(u.value));return{rawRoutes:se,route:t,path:e,total:n,currentPage:i,currentPath:r,currentRoute:o,currentSlideId:s,currentLayout:a,nextRoute:l,rawTree:c,treeWithActiveStatuses:u,tree:h,go:Xr,downloadPDF:pf,next:er,nextSlide:Js,openInEditor:hq,prev:nr,prevSlide:Qs}}function vv(t,e,n){const i=tt(0);ke(()=>{ze.afterEach(async()=>{await ke(),i.value+=1})});const r=A(()=>{var l,c;return i.value,((c=(l=e.value)==null?void 0:l.meta)==null?void 0:c.__clicksElements)||[]}),o=A(()=>{var l,c;return+(((c=(l=e.value)==null?void 0:l.meta)==null?void 0:c.clicks)??r.value.length)}),s=A(()=>n.value<se.length-1||t.value<o.value),a=A(()=>n.value>1||t.value>0);return{clicks:t,clicksElements:r,clicksTotal:o,hasNext:s,hasPrev:a}}const TF=["id"],SF=jt({__name:"PrintSlideClick",props:{clicks:{type:Number,required:!0},clicksElements:{type:Array,required:!1},nav:{type:Object,required:!0},route:{type:Object,required:!0}},emits:["update:clicksElements"],setup(t,{emit:e}){const n=t,r=Yn(n,"clicksElements",e),o=A(()=>({height:`${Qf}px`,width:`${Ji}px`})),s=ti();Qt(()=>Promise.resolve().then(()=>L$),void 0).then(u=>s.value=u.default);const a=A(()=>n.clicks),l=vv(a,n.nav.currentRoute,n.nav.currentPage),c=A(()=>`${n.route.path.toString().padStart(3,"0")}-${(a.value+1).toString().padStart(2,"0")}`);return de(Li,zt({nav:{...n.nav,...l},configs:Wt,themeConfigs:A(()=>Wt.themeConfig)})),(u,h)=>{var f;return R(),nt("div",{id:c.value,class:"print-slide-container",style:Ae(o.value)},[at(O(fv)),at(O(od),{is:(f=u.route)==null?void 0:f.component,"clicks-elements":O(r),"onUpdate:clicksElements":h[0]||(h[0]=d=>Yt(r)?r.value=d:null),clicks:O(zr)?void 0:a.value,"clicks-disabled":O(zr),class:ee(O(rd)(u.route)),route:u.route},null,8,["is","clicks-elements","clicks","clicks-disabled","class","route"]),s.value?(R(),Vt(O(s),{key:0,page:+u.route.path},null,8,["page"])):Mt("v-if",!0),at(O(hv))],12,TF)}}}),eg=Dt(SF,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/PrintSlideClick.vue"]]),kF=jt({__name:"PrintSlide",props:{route:{type:Object,required:!0}},setup(t){var s;const e=t,n=tt(((s=e.route.meta)==null?void 0:s.__clicksElements)||[]),i=A(()=>{var a;return((a=e.route.meta)==null?void 0:a.clicks)??n.value.length}),r=A(()=>e.route),o=_v(r);return(a,l)=>(R(),nt(It,null,[at(eg,{"clicks-elements":n.value,"onUpdate:clicksElements":l[0]||(l[0]=c=>n.value=c),clicks:0,nav:O(o),route:r.value},null,8,["clicks-elements","nav","route"]),O(zr)?Mt("v-if",!0):(R(!0),nt(It,{key:0},No(i.value,c=>(R(),Vt(eg,{key:c,clicks:c,nav:O(o),route:r.value},null,8,["clicks","nav","route"]))),128))],64))}}),AF=Dt(kF,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/PrintSlide.vue"]]),EF={id:"print-content"},$F=jt({__name:"PrintContainer",props:{width:{type:Number,required:!0}},setup(t){const e=t,n=A(()=>e.width),i=A(()=>e.width/Zi),r=A(()=>n.value/i.value),o=A(()=>r.value<Zi?n.value/Ji:i.value*Zi/Ji);let s=se;wn.value.query.range&&(s=wF(s.length,wn.value.query.range).map(c=>s[c-1]));const a=A(()=>({"select-none":!Wt.selectable}));return de(J_,o),(l,c)=>(R(),nt("div",{id:"print-container",class:ee(a.value)},[X("div",EF,[(R(!0),nt(It,null,No(O(s),u=>(R(),Vt(AF,{key:u.path,route:u},null,8,["route"]))),128))]),He(l.$slots,"controls")],2))}}),LF=Dt($F,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/PrintContainer.vue"]]),OF=jt({__name:"Print",setup(t){return Xn(()=>{Po?document.body.parentNode.classList.add("print"):document.body.parentNode.classList.remove("print")}),(e,n)=>(R(),nt(It,null,[O(Po)?(R(),Vt(dv,{key:0})):Mt("v-if",!0),X("div",{id:"page-root",class:"grid grid-cols-[1fr_max-content]",style:Ae(O(td))},[at(LF,{class:"w-full h-full",style:Ae({background:"var(--slidev-slide-container-background, black)"}),width:O(Dr).width.value},null,8,["style","width"])],4)],64))}}),MF=Dt(OF,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Print.vue"]]);function ng(t){return t.startsWith("/")?"/slides/fosdem2024"+t.slice(1):t}function FF(t,e=!1){const n=t&&["#","rgb","hsl"].some(r=>t.indexOf(r)===0),i={background:n?t:void 0,color:t&&!n?"white":void 0,backgroundImage:n?void 0:t?e?`linear-gradient(#0005, #0008), url(${ng(t)})`:`url("${ng(t)}")`:void 0,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"};return i.background||delete i.background,i}const BF={class:"my-auto w-full"},IF=jt({__name:"cover",props:{background:{default:""}},setup(t){const e=kt(Li);Ai(e,"nav"),kt(bn),kt($i),kt(hr),kt(to);const n=t,i=A(()=>FF(n.background,!0));return(r,o)=>(R(),nt("div",{class:"slidev-layout cover",style:Ae(i.value)},[X("div",BF,[He(r.$slots,"default")])],4))}}),PF=Dt(IF,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/theme-default/layouts/cover.vue"]]),$n=zt({theme:"default",title:"Nix for genetics"}),RF=zt({layout:A(()=>$n.layout),transition:A(()=>$n.transition),class:A(()=>$n.class),clicks:A(()=>$n.clicks),name:A(()=>$n.name),preload:A(()=>$n.preload),slide:{raw:"",title:"Nix for genetics",content:"",frontmatterStyle:"frontmatter",note:"",index:0,start:0,end:23,noteHTML:`<p>We are dealing with real world patients =</p>
<ul>
<li>accurate results : no mistake is allowed (diagnosis can be life changing)</li>
<li>reproducible : we need to have the trust of other doctors</li>
<li>fast : increasing demand !</li>
</ul>
<p>Rare diseases</p>
<ul>
<li>... are rare : how to diagnosis things you don't see often ?</li>
<li>mix of state-of-the art technology, computer science and human expertise</li>
</ul>
`,frontmatter:$n,filepath:"/home/alex/notes/slides/fosdem2024/slides.md",id:0,no:1},__clicksElements:[],__preloaded:!1}),NF=X("h1",null,"Nix for genetics",-1),DF=X("h2",null,"Powering a bioinformatics pipeline",-1),jF=X("p",null,"Alexis Praga (M. D, Ph.D in Computer Science)",-1),HF=X("p",null,"Besançon Hospital (France)",-1),qF={__name:"1",setup(t){const e=kt(Li);Ai(e,"nav"),kt(bn);const n=kt($i);kt(hr);const i=$n;return de(to,$n),(()=>{var o,s;const r=e.nav.rawRoutes.find(a=>a.path===String(n.value));(s=(o=r==null?void 0:r.meta)==null?void 0:o.slide)!=null&&s.frontmatter&&(Object.keys(r.meta.slide.frontmatter).forEach(a=>{a in i||delete r.meta.slide.frontmatter[a]}),Object.assign(r.meta.slide.frontmatter,$n))})(),(r,o)=>(R(),Vt(PF,oa(Do(O($n))),{default:_e(()=>[NF,DF,jF,HF]),_:1},16))}},zF=Dt(qF,[["__file","/@slidev/slides/1.md"]]),VF="/slides/fosdem2024/assets/ngs-SgbDLhxf.svg",WF={},UF={class:"slidev-layout center h-full grid place-content-center"},YF={class:"my-auto"};function GF(t,e){return R(),nt("div",UF,[X("div",YF,[He(t.$slots,"default")])])}const KF=Dt(WF,[["render",GF],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/layouts/center.vue"]]),Ln=zt({transition:"fade-out",layout:"center"}),XF=zt({layout:A(()=>Ln.layout),transition:A(()=>Ln.transition),class:A(()=>Ln.class),clicks:A(()=>Ln.clicks),name:A(()=>Ln.name),preload:A(()=>Ln.preload),slide:{raw:"",title:"Next-generation sequencing",level:1,content:"",frontmatterStyle:"frontmatter",note:"",index:1,start:23,end:48,noteHTML:`<ul>
<li>How does that work in practice ?</li>
<li>We start from a blood sample. DNA is then extracted and "sequenced" (getting the DNA code)</li>
<li>Raw data cannot be used on its own so it needs to be processed and filtered.</li>
<li>The final output is a dataframe (i.e CSV) than a human can examine and try to find the diagnosis.</li>
<li>We still a human (no AI)</li>
<li>And bioinformatics is super important : if we filter too much, we miss the diagnosis. Not enough and the human won't be able to read the data.</li>
</ul>
`,frontmatter:Ln,filepath:"/home/alex/notes/slides/fosdem2024/slides.md",id:1,no:2},__clicksElements:[],__preloaded:!1}),ZF=X("h1",null,"Next-generation sequencing",-1),JF=X("br",null,null,-1),QF=X("p",null,[X("img",{src:VF,alt:""})],-1),t5=X("br",null,null,-1),e5=X("br",null,null,-1),n5={__name:"2",setup(t){const e=kt(Li);Ai(e,"nav"),kt(bn);const n=kt($i);kt(hr);const i=Ln;return de(to,Ln),(()=>{var o,s;const r=e.nav.rawRoutes.find(a=>a.path===String(n.value));(s=(o=r==null?void 0:r.meta)==null?void 0:o.slide)!=null&&s.frontmatter&&(Object.keys(r.meta.slide.frontmatter).forEach(a=>{a in i||delete r.meta.slide.frontmatter[a]}),Object.assign(r.meta.slide.frontmatter,Ln))})(),(r,o)=>(R(),Vt(KF,oa(Do(O(Ln))),{default:_e(()=>[ZF,JF,QF,t5,e5,Ci(" Bioinformatics: 1 million -> 1 000 candidates ")]),_:1},16))}},i5=Dt(n5,[["__file","/@slidev/slides/2.md"]]);function r5(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=Array.from(typeof t=="string"?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var r=i.reduce(function(a,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?a.concat(c.map(function(u){var h,f;return(f=(h=u.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&f!==void 0?f:0})):a},[]);if(r.length){var o=new RegExp(`
[ ]{`+Math.min.apply(Math,r)+"}","g");i=i.map(function(a){return a.replace(o,`
`)})}i[0]=i[0].replace(/^\r?\n/,"");var s=i[0];return e.forEach(function(a,l){var c=s.match(/(?:^|\n)( *)$/),u=c?c[1]:"",h=a;typeof a=="string"&&a.includes(`
`)&&(h=String(a).split(`
`).map(function(f,d){return d===0?f:""+u+f}).join(`
`)),s+=h+i[l+1]}),s}var o5=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function s5(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var bv={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(o5,function(){var n=1e3,i=6e4,r=36e5,o="millisecond",s="second",a="minute",l="hour",c="day",u="week",h="month",f="quarter",d="year",p="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(W){var N=["th","st","nd","rd"],j=W%100;return"["+W+(N[(j-20)%10]||N[j]||N[0])+"]"}},_=function(W,N,j){var Y=String(W);return!Y||Y.length>=N?W:""+Array(N+1-Y.length).join(j)+W},w={s:_,z:function(W){var N=-W.utcOffset(),j=Math.abs(N),Y=Math.floor(j/60),$=j%60;return(N<=0?"+":"-")+_(Y,2,"0")+":"+_($,2,"0")},m:function W(N,j){if(N.date()<j.date())return-W(j,N);var Y=12*(j.year()-N.year())+(j.month()-N.month()),$=N.clone().add(Y,h),z=j-$<0,D=N.clone().add(Y+(z?-1:1),h);return+(-(Y+(j-$)/(z?$-D:D-$))||0)},a:function(W){return W<0?Math.ceil(W)||0:Math.floor(W)},p:function(W){return{M:h,y:d,w:u,d:c,D:p,h:l,m:a,s,ms:o,Q:f}[W]||String(W||"").toLowerCase().replace(/s$/,"")},u:function(W){return W===void 0}},S="en",B={};B[S]=v;var C=function(W){return W instanceof ot},P=function W(N,j,Y){var $;if(!N)return S;if(typeof N=="string"){var z=N.toLowerCase();B[z]&&($=z),j&&(B[z]=j,$=z);var D=N.split("-");if(!$&&D.length>1)return W(D[0])}else{var ut=N.name;B[ut]=N,$=ut}return!Y&&$&&(S=$),$||!Y&&S},E=function(W,N){if(C(W))return W.clone();var j=typeof N=="object"?N:{};return j.date=W,j.args=arguments,new ot(j)},F=w;F.l=P,F.i=C,F.w=function(W,N){return E(W,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var ot=function(){function W(j){this.$L=P(j.locale,null,!0),this.parse(j)}var N=W.prototype;return N.parse=function(j){this.$d=function(Y){var $=Y.date,z=Y.utc;if($===null)return new Date(NaN);if(F.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var D=$.match(y);if(D){var ut=D[2]-1||0,bt=(D[7]||"0").substring(0,3);return z?new Date(Date.UTC(D[1],ut,D[3]||1,D[4]||0,D[5]||0,D[6]||0,bt)):new Date(D[1],ut,D[3]||1,D[4]||0,D[5]||0,D[6]||0,bt)}}return new Date($)}(j),this.$x=j.x||{},this.init()},N.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},N.$utils=function(){return F},N.isValid=function(){return this.$d.toString()!==g},N.isSame=function(j,Y){var $=E(j);return this.startOf(Y)<=$&&$<=this.endOf(Y)},N.isAfter=function(j,Y){return E(j)<this.startOf(Y)},N.isBefore=function(j,Y){return this.endOf(Y)<E(j)},N.$g=function(j,Y,$){return F.u(j)?this[Y]:this.set($,j)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(j,Y){var $=this,z=!!F.u(Y)||Y,D=F.p(j),ut=function(et,K){var it=F.w($.$u?Date.UTC($.$y,K,et):new Date($.$y,K,et),$);return z?it:it.endOf(c)},bt=function(et,K){return F.w($.toDate()[et].apply($.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(K)),$)},Lt=this.$W,_t=this.$M,ne=this.$D,ce="set"+(this.$u?"UTC":"");switch(D){case d:return z?ut(1,0):ut(31,11);case h:return z?ut(1,_t):ut(0,_t+1);case u:var ue=this.$locale().weekStart||0,L=(Lt<ue?Lt+7:Lt)-ue;return ut(z?ne-L:ne+(6-L),_t);case c:case p:return bt(ce+"Hours",0);case l:return bt(ce+"Minutes",1);case a:return bt(ce+"Seconds",2);case s:return bt(ce+"Milliseconds",3);default:return this.clone()}},N.endOf=function(j){return this.startOf(j,!1)},N.$set=function(j,Y){var $,z=F.p(j),D="set"+(this.$u?"UTC":""),ut=($={},$[c]=D+"Date",$[p]=D+"Date",$[h]=D+"Month",$[d]=D+"FullYear",$[l]=D+"Hours",$[a]=D+"Minutes",$[s]=D+"Seconds",$[o]=D+"Milliseconds",$)[z],bt=z===c?this.$D+(Y-this.$W):Y;if(z===h||z===d){var Lt=this.clone().set(p,1);Lt.$d[ut](bt),Lt.init(),this.$d=Lt.set(p,Math.min(this.$D,Lt.daysInMonth())).$d}else ut&&this.$d[ut](bt);return this.init(),this},N.set=function(j,Y){return this.clone().$set(j,Y)},N.get=function(j){return this[F.p(j)]()},N.add=function(j,Y){var $,z=this;j=Number(j);var D=F.p(Y),ut=function(_t){var ne=E(z);return F.w(ne.date(ne.date()+Math.round(_t*j)),z)};if(D===h)return this.set(h,this.$M+j);if(D===d)return this.set(d,this.$y+j);if(D===c)return ut(1);if(D===u)return ut(7);var bt=($={},$[a]=i,$[l]=r,$[s]=n,$)[D]||1,Lt=this.$d.getTime()+j*bt;return F.w(Lt,this)},N.subtract=function(j,Y){return this.add(-1*j,Y)},N.format=function(j){var Y=this,$=this.$locale();if(!this.isValid())return $.invalidDate||g;var z=j||"YYYY-MM-DDTHH:mm:ssZ",D=F.z(this),ut=this.$H,bt=this.$m,Lt=this.$M,_t=$.weekdays,ne=$.months,ce=function(K,it,yt,Rt){return K&&(K[it]||K(Y,z))||yt[it].slice(0,Rt)},ue=function(K){return F.s(ut%12||12,K,"0")},L=$.meridiem||function(K,it,yt){var Rt=K<12?"AM":"PM";return yt?Rt.toLowerCase():Rt},et={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Lt+1,MM:F.s(Lt+1,2,"0"),MMM:ce($.monthsShort,Lt,ne,3),MMMM:ce(ne,Lt),D:this.$D,DD:F.s(this.$D,2,"0"),d:String(this.$W),dd:ce($.weekdaysMin,this.$W,_t,2),ddd:ce($.weekdaysShort,this.$W,_t,3),dddd:_t[this.$W],H:String(ut),HH:F.s(ut,2,"0"),h:ue(1),hh:ue(2),a:L(ut,bt,!0),A:L(ut,bt,!1),m:String(bt),mm:F.s(bt,2,"0"),s:String(this.$s),ss:F.s(this.$s,2,"0"),SSS:F.s(this.$ms,3,"0"),Z:D};return z.replace(b,function(K,it){return it||et[K]||D.replace(":","")})},N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(j,Y,$){var z,D=F.p(Y),ut=E(j),bt=(ut.utcOffset()-this.utcOffset())*i,Lt=this-ut,_t=F.m(this,ut);return _t=(z={},z[d]=_t/12,z[h]=_t,z[f]=_t/3,z[u]=(Lt-bt)/6048e5,z[c]=(Lt-bt)/864e5,z[l]=Lt/r,z[a]=Lt/i,z[s]=Lt/n,z)[D]||Lt,$?_t:F.a(_t)},N.daysInMonth=function(){return this.endOf(h).$D},N.$locale=function(){return B[this.$L]},N.locale=function(j,Y){if(!j)return this.$L;var $=this.clone(),z=P(j,Y,!0);return z&&($.$L=z),$},N.clone=function(){return F.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},W}(),V=ot.prototype;return E.prototype=V,[["$ms",o],["$s",s],["$m",a],["$H",l],["$W",c],["$M",h],["$y",d],["$D",p]].forEach(function(W){V[W[1]]=function(N){return this.$g(N,W[0],W[1])}}),E.extend=function(W,N){return W.$i||(W(N,ot,E),W.$i=!0),E},E.locale=P,E.isDayjs=C,E.unix=function(W){return E(1e3*W)},E.en=B[S],E.Ls=B,E.p={},E})})(bv);var a5=bv.exports;const l5=s5(a5),ai={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},vt={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},cd=function(t="fatal"){let e=ai.fatal;typeof t=="string"?(t=t.toLowerCase(),t in ai&&(e=ai[t])):typeof t=="number"&&(e=t),vt.trace=()=>{},vt.debug=()=>{},vt.info=()=>{},vt.warn=()=>{},vt.error=()=>{},vt.fatal=()=>{},e<=ai.fatal&&(vt.fatal=console.error?console.error.bind(console,fn("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",fn("FATAL"))),e<=ai.error&&(vt.error=console.error?console.error.bind(console,fn("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",fn("ERROR"))),e<=ai.warn&&(vt.warn=console.warn?console.warn.bind(console,fn("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",fn("WARN"))),e<=ai.info&&(vt.info=console.info?console.info.bind(console,fn("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",fn("INFO"))),e<=ai.debug&&(vt.debug=console.debug?console.debug.bind(console,fn("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",fn("DEBUG"))),e<=ai.trace&&(vt.trace=console.debug?console.debug.bind(console,fn("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",fn("TRACE")))},fn=t=>`%c${l5().format("ss.SSS")} : ${t} : `;var ud={};Object.defineProperty(ud,"__esModule",{value:!0});var xv=ud.sanitizeUrl=void 0,c5=/^([^\w]*)(javascript|data|vbscript)/im,u5=/&#(\w+)(^\w|;)?/g,h5=/&(newline|tab);/gi,f5=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,d5=/^.+(:|:)/gim,p5=[".","/"];function m5(t){return p5.indexOf(t[0])>-1}function g5(t){return t.replace(u5,function(e,n){return String.fromCharCode(n)})}function y5(t){var e=g5(t||"").replace(h5,"").replace(f5,"").trim();if(!e)return"about:blank";if(m5(e))return e;var n=e.match(d5);if(!n)return e;var i=n[0];return c5.test(i)?"about:blank":e}xv=ud.sanitizeUrl=y5;var _5={value:()=>{}};function Cv(){for(var t=0,e=arguments.length,n={},i;t<e;++t){if(!(i=arguments[t]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new ll(n)}function ll(t){this._=t}function v5(t,e){return t.trim().split(/^|\s+/).map(function(n){var i="",r=n.indexOf(".");if(r>=0&&(i=n.slice(r+1),n=n.slice(0,r)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}ll.prototype=Cv.prototype={constructor:ll,on:function(t,e){var n=this._,i=v5(t+"",n),r,o=-1,s=i.length;if(arguments.length<2){for(;++o<s;)if((r=(t=i[o]).type)&&(r=b5(n[r],t.name)))return r;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++o<s;)if(r=(t=i[o]).type)n[r]=ig(n[r],t.name,e);else if(e==null)for(r in n)n[r]=ig(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ll(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var n=new Array(r),i=0,r,o;i<r;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=this._[t],i=0,r=o.length;i<r;++i)o[i].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(e,n)}};function b5(t,e){for(var n=0,i=t.length,r;n<i;++n)if((r=t[n]).name===e)return r.value}function ig(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=_5,t=t.slice(0,i).concat(t.slice(i+1));break}return n!=null&&t.push({name:e,value:n}),t}var zh="http://www.w3.org/1999/xhtml";const rg={svg:"http://www.w3.org/2000/svg",xhtml:zh,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Bc(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),rg.hasOwnProperty(e)?{space:rg[e],local:t}:t}function x5(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===zh&&e.documentElement.namespaceURI===zh?e.createElement(t):e.createElementNS(n,t)}}function C5(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function wv(t){var e=Bc(t);return(e.local?C5:x5)(e)}function w5(){}function hd(t){return t==null?w5:function(){return this.querySelector(t)}}function T5(t){typeof t!="function"&&(t=hd(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=new Array(s),l,c,u=0;u<s;++u)(l=o[u])&&(c=t.call(l,l.__data__,u,o))&&("__data__"in l&&(c.__data__=l.__data__),a[u]=c);return new an(i,this._parents)}function S5(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function k5(){return[]}function Tv(t){return t==null?k5:function(){return this.querySelectorAll(t)}}function A5(t){return function(){return S5(t.apply(this,arguments))}}function E5(t){typeof t=="function"?t=A5(t):t=Tv(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var s=e[o],a=s.length,l,c=0;c<a;++c)(l=s[c])&&(i.push(t.call(l,l.__data__,c,s)),r.push(l));return new an(i,r)}function Sv(t){return function(){return this.matches(t)}}function kv(t){return function(e){return e.matches(t)}}var $5=Array.prototype.find;function L5(t){return function(){return $5.call(this.children,t)}}function O5(){return this.firstElementChild}function M5(t){return this.select(t==null?O5:L5(typeof t=="function"?t:kv(t)))}var F5=Array.prototype.filter;function B5(){return Array.from(this.children)}function I5(t){return function(){return F5.call(this.children,t)}}function P5(t){return this.selectAll(t==null?B5:I5(typeof t=="function"?t:kv(t)))}function R5(t){typeof t!="function"&&(t=Sv(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=[],l,c=0;c<s;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&a.push(l);return new an(i,this._parents)}function Av(t){return new Array(t.length)}function N5(){return new an(this._enter||this._groups.map(Av),this._parents)}function Wl(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Wl.prototype={constructor:Wl,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)}};function D5(t){return function(){return t}}function j5(t,e,n,i,r,o){for(var s=0,a,l=e.length,c=o.length;s<c;++s)(a=e[s])?(a.__data__=o[s],i[s]=a):n[s]=new Wl(t,o[s]);for(;s<l;++s)(a=e[s])&&(r[s]=a)}function H5(t,e,n,i,r,o,s){var a,l,c=new Map,u=e.length,h=o.length,f=new Array(u),d;for(a=0;a<u;++a)(l=e[a])&&(f[a]=d=s.call(l,l.__data__,a,e)+"",c.has(d)?r[a]=l:c.set(d,l));for(a=0;a<h;++a)d=s.call(t,o[a],a,o)+"",(l=c.get(d))?(i[a]=l,l.__data__=o[a],c.delete(d)):n[a]=new Wl(t,o[a]);for(a=0;a<u;++a)(l=e[a])&&c.get(f[a])===l&&(r[a]=l)}function q5(t){return t.__data__}function z5(t,e){if(!arguments.length)return Array.from(this,q5);var n=e?H5:j5,i=this._parents,r=this._groups;typeof t!="function"&&(t=D5(t));for(var o=r.length,s=new Array(o),a=new Array(o),l=new Array(o),c=0;c<o;++c){var u=i[c],h=r[c],f=h.length,d=V5(t.call(u,u&&u.__data__,c,i)),p=d.length,g=a[c]=new Array(p),y=s[c]=new Array(p),b=l[c]=new Array(f);n(u,h,g,y,b,d,e);for(var v=0,_=0,w,S;v<p;++v)if(w=g[v]){for(v>=_&&(_=v+1);!(S=y[_])&&++_<p;);w._next=S||null}}return s=new an(s,i),s._enter=a,s._exit=l,s}function V5(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function W5(){return new an(this._exit||this._groups.map(Av),this._parents)}function U5(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function Y5(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,s=Math.min(r,o),a=new Array(r),l=0;l<s;++l)for(var c=n[l],u=i[l],h=c.length,f=a[l]=new Array(h),d,p=0;p<h;++p)(d=c[p]||u[p])&&(f[p]=d);for(;l<r;++l)a[l]=n[l];return new an(a,this._parents)}function G5(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],s;--r>=0;)(s=i[r])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function K5(t){t||(t=X5);function e(h,f){return h&&f?t(h.__data__,f.__data__):!h-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var s=n[o],a=s.length,l=r[o]=new Array(a),c,u=0;u<a;++u)(c=s[u])&&(l[u]=c);l.sort(e)}return new an(r,this._parents).order()}function X5(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Z5(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function J5(){return Array.from(this)}function Q5(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var s=i[r];if(s)return s}return null}function t3(){let t=0;for(const e of this)++t;return t}function e3(){return!this.node()}function n3(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,s=r.length,a;o<s;++o)(a=r[o])&&t.call(a,a.__data__,o,r);return this}function i3(t){return function(){this.removeAttribute(t)}}function r3(t){return function(){this.removeAttributeNS(t.space,t.local)}}function o3(t,e){return function(){this.setAttribute(t,e)}}function s3(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function a3(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function l3(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function c3(t,e){var n=Bc(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?r3:i3:typeof e=="function"?n.local?l3:a3:n.local?s3:o3)(n,e))}function Ev(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function u3(t){return function(){this.style.removeProperty(t)}}function h3(t,e,n){return function(){this.style.setProperty(t,e,n)}}function f3(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function d3(t,e,n){return arguments.length>1?this.each((e==null?u3:typeof e=="function"?f3:h3)(t,e,n??"")):$o(this.node(),t)}function $o(t,e){return t.style.getPropertyValue(e)||Ev(t).getComputedStyle(t,null).getPropertyValue(e)}function p3(t){return function(){delete this[t]}}function m3(t,e){return function(){this[t]=e}}function g3(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function y3(t,e){return arguments.length>1?this.each((e==null?p3:typeof e=="function"?g3:m3)(t,e)):this.node()[t]}function $v(t){return t.trim().split(/^|\s+/)}function fd(t){return t.classList||new Lv(t)}function Lv(t){this._node=t,this._names=$v(t.getAttribute("class")||"")}Lv.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Ov(t,e){for(var n=fd(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function Mv(t,e){for(var n=fd(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function _3(t){return function(){Ov(this,t)}}function v3(t){return function(){Mv(this,t)}}function b3(t,e){return function(){(e.apply(this,arguments)?Ov:Mv)(this,t)}}function x3(t,e){var n=$v(t+"");if(arguments.length<2){for(var i=fd(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?b3:e?_3:v3)(n,e))}function C3(){this.textContent=""}function w3(t){return function(){this.textContent=t}}function T3(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function S3(t){return arguments.length?this.each(t==null?C3:(typeof t=="function"?T3:w3)(t)):this.node().textContent}function k3(){this.innerHTML=""}function A3(t){return function(){this.innerHTML=t}}function E3(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function $3(t){return arguments.length?this.each(t==null?k3:(typeof t=="function"?E3:A3)(t)):this.node().innerHTML}function L3(){this.nextSibling&&this.parentNode.appendChild(this)}function O3(){return this.each(L3)}function M3(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function F3(){return this.each(M3)}function B3(t){var e=typeof t=="function"?t:wv(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function I3(){return null}function P3(t,e){var n=typeof t=="function"?t:wv(t),i=e==null?I3:typeof e=="function"?e:hd(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function R3(){var t=this.parentNode;t&&t.removeChild(this)}function N3(){return this.each(R3)}function D3(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function j3(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function H3(t){return this.select(t?j3:D3)}function q3(t){return arguments.length?this.property("__data__",t):this.node().__data__}function z3(t){return function(e){t.call(this,e,this.__data__)}}function V3(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function W3(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function U3(t,e,n){return function(){var i=this.__on,r,o=z3(e);if(i){for(var s=0,a=i.length;s<a;++s)if((r=i[s]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Y3(t,e,n){var i=V3(t+""),r,o=i.length,s;if(arguments.length<2){var a=this.node().__on;if(a){for(var l=0,c=a.length,u;l<c;++l)for(r=0,u=a[l];r<o;++r)if((s=i[r]).type===u.type&&s.name===u.name)return u.value}return}for(a=e?U3:W3,r=0;r<o;++r)this.each(a(i[r],e,n));return this}function Fv(t,e,n){var i=Ev(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function G3(t,e){return function(){return Fv(this,t,e)}}function K3(t,e){return function(){return Fv(this,t,e.apply(this,arguments))}}function X3(t,e){return this.each((typeof e=="function"?K3:G3)(t,e))}function*Z3(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,s;r<o;++r)(s=i[r])&&(yield s)}var Bv=[null];function an(t,e){this._groups=t,this._parents=e}function da(){return new an([[document.documentElement]],Bv)}function J3(){return this}an.prototype=da.prototype={constructor:an,select:T5,selectAll:E5,selectChild:M5,selectChildren:P5,filter:R5,data:z5,enter:N5,exit:W5,join:U5,merge:Y5,selection:J3,order:G5,sort:K5,call:Z5,nodes:J5,node:Q5,size:t3,empty:e3,each:n3,attr:c3,style:d3,property:y3,classed:x3,text:S3,html:$3,raise:O3,lower:F3,append:B3,insert:P3,remove:N3,clone:H3,datum:q3,on:Y3,dispatch:X3,[Symbol.iterator]:Z3};function mn(t){return typeof t=="string"?new an([[document.querySelector(t)]],[document.documentElement]):new an([[t]],Bv)}function dd(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Iv(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function pa(){}var qs=.7,Ul=1/qs,wo="\\s*([+-]?\\d+)\\s*",zs="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Zn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Q3=/^#([0-9a-f]{3,8})$/,tB=new RegExp(`^rgb\\(${wo},${wo},${wo}\\)$`),eB=new RegExp(`^rgb\\(${Zn},${Zn},${Zn}\\)$`),nB=new RegExp(`^rgba\\(${wo},${wo},${wo},${zs}\\)$`),iB=new RegExp(`^rgba\\(${Zn},${Zn},${Zn},${zs}\\)$`),rB=new RegExp(`^hsl\\(${zs},${Zn},${Zn}\\)$`),oB=new RegExp(`^hsla\\(${zs},${Zn},${Zn},${zs}\\)$`),og={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};dd(pa,Vs,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:sg,formatHex:sg,formatHex8:sB,formatHsl:aB,formatRgb:ag,toString:ag});function sg(){return this.rgb().formatHex()}function sB(){return this.rgb().formatHex8()}function aB(){return Pv(this).formatHsl()}function ag(){return this.rgb().formatRgb()}function Vs(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Q3.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?lg(e):n===3?new Ke(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?Da(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?Da(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=tB.exec(t))?new Ke(e[1],e[2],e[3],1):(e=eB.exec(t))?new Ke(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=nB.exec(t))?Da(e[1],e[2],e[3],e[4]):(e=iB.exec(t))?Da(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=rB.exec(t))?hg(e[1],e[2]/100,e[3]/100,1):(e=oB.exec(t))?hg(e[1],e[2]/100,e[3]/100,e[4]):og.hasOwnProperty(t)?lg(og[t]):t==="transparent"?new Ke(NaN,NaN,NaN,0):null}function lg(t){return new Ke(t>>16&255,t>>8&255,t&255,1)}function Da(t,e,n,i){return i<=0&&(t=e=n=NaN),new Ke(t,e,n,i)}function lB(t){return t instanceof pa||(t=Vs(t)),t?(t=t.rgb(),new Ke(t.r,t.g,t.b,t.opacity)):new Ke}function Vh(t,e,n,i){return arguments.length===1?lB(t):new Ke(t,e,n,i??1)}function Ke(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}dd(Ke,Vh,Iv(pa,{brighter(t){return t=t==null?Ul:Math.pow(Ul,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?qs:Math.pow(qs,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ke(jr(this.r),jr(this.g),jr(this.b),Yl(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:cg,formatHex:cg,formatHex8:cB,formatRgb:ug,toString:ug}));function cg(){return`#${Lr(this.r)}${Lr(this.g)}${Lr(this.b)}`}function cB(){return`#${Lr(this.r)}${Lr(this.g)}${Lr(this.b)}${Lr((isNaN(this.opacity)?1:this.opacity)*255)}`}function ug(){const t=Yl(this.opacity);return`${t===1?"rgb(":"rgba("}${jr(this.r)}, ${jr(this.g)}, ${jr(this.b)}${t===1?")":`, ${t})`}`}function Yl(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function jr(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Lr(t){return t=jr(t),(t<16?"0":"")+t.toString(16)}function hg(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new In(t,e,n,i)}function Pv(t){if(t instanceof In)return new In(t.h,t.s,t.l,t.opacity);if(t instanceof pa||(t=Vs(t)),!t)return new In;if(t instanceof In)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),s=NaN,a=o-r,l=(o+r)/2;return a?(e===o?s=(n-i)/a+(n<i)*6:n===o?s=(i-e)/a+2:s=(e-n)/a+4,a/=l<.5?o+r:2-o-r,s*=60):a=l>0&&l<1?0:s,new In(s,a,l,t.opacity)}function uB(t,e,n,i){return arguments.length===1?Pv(t):new In(t,e,n,i??1)}function In(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}dd(In,uB,Iv(pa,{brighter(t){return t=t==null?Ul:Math.pow(Ul,t),new In(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?qs:Math.pow(qs,t),new In(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,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 Ke(Ou(t>=240?t-240:t+120,r,i),Ou(t,r,i),Ou(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new In(fg(this.h),ja(this.s),ja(this.l),Yl(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=Yl(this.opacity);return`${t===1?"hsl(":"hsla("}${fg(this.h)}, ${ja(this.s)*100}%, ${ja(this.l)*100}%${t===1?")":`, ${t})`}`}}));function fg(t){return t=(t||0)%360,t<0?t+360:t}function ja(t){return Math.max(0,Math.min(1,t||0))}function Ou(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const pd=t=>()=>t;function Rv(t,e){return function(n){return t+n*e}}function hB(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)}}function wW(t,e){var n=e-t;return n?Rv(t,n>180||n<-180?n-360*Math.round(n/360):n):pd(isNaN(t)?e:t)}function fB(t){return(t=+t)==1?Nv:function(e,n){return n-e?hB(e,n,t):pd(isNaN(e)?n:e)}}function Nv(t,e){var n=e-t;return n?Rv(t,n):pd(isNaN(t)?e:t)}const dg=function t(e){var n=fB(e);function i(r,o){var s=n((r=Vh(r)).r,(o=Vh(o)).r),a=n(r.g,o.g),l=n(r.b,o.b),c=Nv(r.opacity,o.opacity);return function(u){return r.r=s(u),r.g=a(u),r.b=l(u),r.opacity=c(u),r+""}}return i.gamma=t,i}(1);function zi(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var Wh=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Mu=new RegExp(Wh.source,"g");function dB(t){return function(){return t}}function pB(t){return function(e){return t(e)+""}}function mB(t,e){var n=Wh.lastIndex=Mu.lastIndex=0,i,r,o,s=-1,a=[],l=[];for(t=t+"",e=e+"";(i=Wh.exec(t))&&(r=Mu.exec(e));)(o=r.index)>n&&(o=e.slice(n,o),a[s]?a[s]+=o:a[++s]=o),(i=i[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:zi(i,r)})),n=Mu.lastIndex;return n<e.length&&(o=e.slice(n),a[s]?a[s]+=o:a[++s]=o),a.length<2?l[0]?pB(l[0].x):dB(e):(e=l.length,function(c){for(var u=0,h;u<e;++u)a[(h=l[u]).i]=h.x(c);return a.join("")})}var pg=180/Math.PI,Uh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Dv(t,e,n,i,r,o){var s,a,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*n+e*i)&&(n-=t*l,i-=e*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),t*i<e*n&&(t=-t,e=-e,l=-l,s=-s),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*pg,skewX:Math.atan(l)*pg,scaleX:s,scaleY:a}}var Ha;function gB(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Uh:Dv(e.a,e.b,e.c,e.d,e.e,e.f)}function yB(t){return t==null||(Ha||(Ha=document.createElementNS("http://www.w3.org/2000/svg","g")),Ha.setAttribute("transform",t),!(t=Ha.transform.baseVal.consolidate()))?Uh:(t=t.matrix,Dv(t.a,t.b,t.c,t.d,t.e,t.f))}function jv(t,e,n,i){function r(c){return c.length?c.pop()+" ":""}function o(c,u,h,f,d,p){if(c!==h||u!==f){var g=d.push("translate(",null,e,null,n);p.push({i:g-4,x:zi(c,h)},{i:g-2,x:zi(u,f)})}else(h||f)&&d.push("translate("+h+e+f+n)}function s(c,u,h,f){c!==u?(c-u>180?u+=360:u-c>180&&(c+=360),f.push({i:h.push(r(h)+"rotate(",null,i)-2,x:zi(c,u)})):u&&h.push(r(h)+"rotate("+u+i)}function a(c,u,h,f){c!==u?f.push({i:h.push(r(h)+"skewX(",null,i)-2,x:zi(c,u)}):u&&h.push(r(h)+"skewX("+u+i)}function l(c,u,h,f,d,p){if(c!==h||u!==f){var g=d.push(r(d)+"scale(",null,",",null,")");p.push({i:g-4,x:zi(c,h)},{i:g-2,x:zi(u,f)})}else(h!==1||f!==1)&&d.push(r(d)+"scale("+h+","+f+")")}return function(c,u){var h=[],f=[];return c=t(c),u=t(u),o(c.translateX,c.translateY,u.translateX,u.translateY,h,f),s(c.rotate,u.rotate,h,f),a(c.skewX,u.skewX,h,f),l(c.scaleX,c.scaleY,u.scaleX,u.scaleY,h,f),c=u=null,function(d){for(var p=-1,g=f.length,y;++p<g;)h[(y=f[p]).i]=y.x(d);return h.join("")}}}var _B=jv(gB,"px, ","px)","deg)"),vB=jv(yB,", ",")",")"),Lo=0,fs=0,is=0,Hv=1e3,Gl,ds,Kl=0,Yr=0,Ic=0,Ws=typeof performance=="object"&&performance.now?performance:Date,qv=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function md(){return Yr||(qv(bB),Yr=Ws.now()+Ic)}function bB(){Yr=0}function Xl(){this._call=this._time=this._next=null}Xl.prototype=zv.prototype={constructor:Xl,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?md():+n)+(e==null?0:+e),!this._next&&ds!==this&&(ds?ds._next=this:Gl=this,ds=this),this._call=t,this._time=n,Yh()},stop:function(){this._call&&(this._call=null,this._time=1/0,Yh())}};function zv(t,e,n){var i=new Xl;return i.restart(t,e,n),i}function xB(){md(),++Lo;for(var t=Gl,e;t;)(e=Yr-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Lo}function mg(){Yr=(Kl=Ws.now())+Ic,Lo=fs=0;try{xB()}finally{Lo=0,wB(),Yr=0}}function CB(){var t=Ws.now(),e=t-Kl;e>Hv&&(Ic-=e,Kl=t)}function wB(){for(var t,e=Gl,n,i=1/0;e;)e._call?(i>e._time&&(i=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Gl=n);ds=t,Yh(i)}function Yh(t){if(!Lo){fs&&(fs=clearTimeout(fs));var e=t-Yr;e>24?(t<1/0&&(fs=setTimeout(mg,t-Ws.now()-Ic)),is&&(is=clearInterval(is))):(is||(Kl=Ws.now(),is=setInterval(CB,Hv)),Lo=1,qv(mg))}}function gg(t,e,n){var i=new Xl;return e=e==null?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,n),i}var TB=Cv("start","end","cancel","interrupt"),SB=[],Vv=0,yg=1,Gh=2,cl=3,_g=4,Kh=5,ul=6;function Pc(t,e,n,i,r,o){var s=t.__transition;if(!s)t.__transition={};else if(n in s)return;kB(t,n,{name:e,index:i,group:r,on:TB,tween:SB,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Vv})}function gd(t,e){var n=jn(t,e);if(n.state>Vv)throw new Error("too late; already scheduled");return n}function ii(t,e){var n=jn(t,e);if(n.state>cl)throw new Error("too late; already running");return n}function jn(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function kB(t,e,n){var i=t.__transition,r;i[e]=n,n.timer=zv(o,0,n.time);function o(c){n.state=yg,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var u,h,f,d;if(n.state!==yg)return l();for(u in i)if(d=i[u],d.name===n.name){if(d.state===cl)return gg(s);d.state===_g?(d.state=ul,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[u]):+u<e&&(d.state=ul,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[u])}if(gg(function(){n.state===cl&&(n.state=_g,n.timer.restart(a,n.delay,n.time),a(c))}),n.state=Gh,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Gh){for(n.state=cl,r=new Array(f=n.tween.length),u=0,h=-1;u<f;++u)(d=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++h]=d);r.length=h+1}}function a(c){for(var u=c<n.duration?n.ease.call(null,c/n.duration):(n.timer.restart(l),n.state=Kh,1),h=-1,f=r.length;++h<f;)r[h].call(t,u);n.state===Kh&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){n.state=ul,n.timer.stop(),delete i[e];for(var c in i)return;delete t.__transition}}function AB(t,e){var n=t.__transition,i,r,o=!0,s;if(n){e=e==null?null:e+"";for(s in n){if((i=n[s]).name!==e){o=!1;continue}r=i.state>Gh&&i.state<Kh,i.state=ul,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete n[s]}o&&delete t.__transition}}function EB(t){return this.each(function(){AB(this,t)})}function $B(t,e){var n,i;return function(){var r=ii(this,t),o=r.tween;if(o!==n){i=n=o;for(var s=0,a=i.length;s<a;++s)if(i[s].name===e){i=i.slice(),i.splice(s,1);break}}r.tween=i}}function LB(t,e,n){var i,r;if(typeof n!="function")throw new Error;return function(){var o=ii(this,t),s=o.tween;if(s!==i){r=(i=s).slice();for(var a={name:e,value:n},l=0,c=r.length;l<c;++l)if(r[l].name===e){r[l]=a;break}l===c&&r.push(a)}o.tween=r}}function OB(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i=jn(this.node(),n).tween,r=0,o=i.length,s;r<o;++r)if((s=i[r]).name===t)return s.value;return null}return this.each((e==null?$B:LB)(n,t,e))}function yd(t,e,n){var i=t._id;return t.each(function(){var r=ii(this,i);(r.value||(r.value={}))[e]=n.apply(this,arguments)}),function(r){return jn(r,i).value[e]}}function Wv(t,e){var n;return(typeof e=="number"?zi:e instanceof Vs?dg:(n=Vs(e))?(e=n,dg):mB)(t,e)}function MB(t){return function(){this.removeAttribute(t)}}function FB(t){return function(){this.removeAttributeNS(t.space,t.local)}}function BB(t,e,n){var i,r=n+"",o;return function(){var s=this.getAttribute(t);return s===r?null:s===i?o:o=e(i=s,n)}}function IB(t,e,n){var i,r=n+"",o;return function(){var s=this.getAttributeNS(t.space,t.local);return s===r?null:s===i?o:o=e(i=s,n)}}function PB(t,e,n){var i,r,o;return function(){var s,a=n(this),l;return a==null?void this.removeAttribute(t):(s=this.getAttribute(t),l=a+"",s===l?null:s===i&&l===r?o:(r=l,o=e(i=s,a)))}}function RB(t,e,n){var i,r,o;return function(){var s,a=n(this),l;return a==null?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local),l=a+"",s===l?null:s===i&&l===r?o:(r=l,o=e(i=s,a)))}}function NB(t,e){var n=Bc(t),i=n==="transform"?vB:Wv;return this.attrTween(t,typeof e=="function"?(n.local?RB:PB)(n,i,yd(this,"attr."+t,e)):e==null?(n.local?FB:MB)(n):(n.local?IB:BB)(n,i,e))}function DB(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function jB(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function HB(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&jB(t,o)),n}return r._value=e,r}function qB(t,e){var n,i;function r(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&DB(t,o)),n}return r._value=e,r}function zB(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var i=Bc(t);return this.tween(n,(i.local?HB:qB)(i,e))}function VB(t,e){return function(){gd(this,t).delay=+e.apply(this,arguments)}}function WB(t,e){return e=+e,function(){gd(this,t).delay=e}}function UB(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?VB:WB)(e,t)):jn(this.node(),e).delay}function YB(t,e){return function(){ii(this,t).duration=+e.apply(this,arguments)}}function GB(t,e){return e=+e,function(){ii(this,t).duration=e}}function KB(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?YB:GB)(e,t)):jn(this.node(),e).duration}function XB(t,e){if(typeof e!="function")throw new Error;return function(){ii(this,t).ease=e}}function ZB(t){var e=this._id;return arguments.length?this.each(XB(e,t)):jn(this.node(),e).ease}function JB(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;ii(this,t).ease=n}}function QB(t){if(typeof t!="function")throw new Error;return this.each(JB(this._id,t))}function tI(t){typeof t!="function"&&(t=Sv(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=[],l,c=0;c<s;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&a.push(l);return new Si(i,this._parents,this._name,this._id)}function eI(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,o=Math.min(i,r),s=new Array(i),a=0;a<o;++a)for(var l=e[a],c=n[a],u=l.length,h=s[a]=new Array(u),f,d=0;d<u;++d)(f=l[d]||c[d])&&(h[d]=f);for(;a<i;++a)s[a]=e[a];return new Si(s,this._parents,this._name,this._id)}function nI(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function iI(t,e,n){var i,r,o=nI(e)?gd:ii;return function(){var s=o(this,t),a=s.on;a!==i&&(r=(i=a).copy()).on(e,n),s.on=r}}function rI(t,e){var n=this._id;return arguments.length<2?jn(this.node(),n).on.on(t):this.each(iI(n,t,e))}function oI(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function sI(){return this.on("end.remove",oI(this._id))}function aI(t){var e=this._name,n=this._id;typeof t!="function"&&(t=hd(t));for(var i=this._groups,r=i.length,o=new Array(r),s=0;s<r;++s)for(var a=i[s],l=a.length,c=o[s]=new Array(l),u,h,f=0;f<l;++f)(u=a[f])&&(h=t.call(u,u.__data__,f,a))&&("__data__"in u&&(h.__data__=u.__data__),c[f]=h,Pc(c[f],e,n,f,c,jn(u,n)));return new Si(o,this._parents,e,n)}function lI(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Tv(t));for(var i=this._groups,r=i.length,o=[],s=[],a=0;a<r;++a)for(var l=i[a],c=l.length,u,h=0;h<c;++h)if(u=l[h]){for(var f=t.call(u,u.__data__,h,l),d,p=jn(u,n),g=0,y=f.length;g<y;++g)(d=f[g])&&Pc(d,e,n,g,f,p);o.push(f),s.push(u)}return new Si(o,s,e,n)}var cI=da.prototype.constructor;function uI(){return new cI(this._groups,this._parents)}function hI(t,e){var n,i,r;return function(){var o=$o(this,t),s=(this.style.removeProperty(t),$o(this,t));return o===s?null:o===n&&s===i?r:r=e(n=o,i=s)}}function Uv(t){return function(){this.style.removeProperty(t)}}function fI(t,e,n){var i,r=n+"",o;return function(){var s=$o(this,t);return s===r?null:s===i?o:o=e(i=s,n)}}function dI(t,e,n){var i,r,o;return function(){var s=$o(this,t),a=n(this),l=a+"";return a==null&&(l=a=(this.style.removeProperty(t),$o(this,t))),s===l?null:s===i&&l===r?o:(r=l,o=e(i=s,a))}}function pI(t,e){var n,i,r,o="style."+e,s="end."+o,a;return function(){var l=ii(this,t),c=l.on,u=l.value[o]==null?a||(a=Uv(e)):void 0;(c!==n||r!==u)&&(i=(n=c).copy()).on(s,r=u),l.on=i}}function mI(t,e,n){var i=(t+="")=="transform"?_B:Wv;return e==null?this.styleTween(t,hI(t,i)).on("end.style."+t,Uv(t)):typeof e=="function"?this.styleTween(t,dI(t,i,yd(this,"style."+t,e))).each(pI(this._id,t)):this.styleTween(t,fI(t,i,e),n).on("end.style."+t,null)}function gI(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function yI(t,e,n){var i,r;function o(){var s=e.apply(this,arguments);return s!==r&&(i=(r=s)&&gI(t,s,n)),i}return o._value=e,o}function _I(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(e==null)return this.tween(i,null);if(typeof e!="function")throw new Error;return this.tween(i,yI(t,e,n??""))}function vI(t){return function(){this.textContent=t}}function bI(t){return function(){var e=t(this);this.textContent=e??""}}function xI(t){return this.tween("text",typeof t=="function"?bI(yd(this,"text",t)):vI(t==null?"":t+""))}function CI(t){return function(e){this.textContent=t.call(this,e)}}function wI(t){var e,n;function i(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&CI(r)),e}return i._value=t,i}function TI(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,wI(t))}function SI(){for(var t=this._name,e=this._id,n=Yv(),i=this._groups,r=i.length,o=0;o<r;++o)for(var s=i[o],a=s.length,l,c=0;c<a;++c)if(l=s[c]){var u=jn(l,e);Pc(l,t,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Si(i,this._parents,t,n)}function kI(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(o,s){var a={value:s},l={value:function(){--r===0&&o()}};n.each(function(){var c=ii(this,i),u=c.on;u!==t&&(e=(t=u).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),c.on=e}),r===0&&o()})}var AI=0;function Si(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Yv(){return++AI}var li=da.prototype;Si.prototype={constructor:Si,select:aI,selectAll:lI,selectChild:li.selectChild,selectChildren:li.selectChildren,filter:tI,merge:eI,selection:uI,transition:SI,call:li.call,nodes:li.nodes,node:li.node,size:li.size,empty:li.empty,each:li.each,on:rI,attr:NB,attrTween:zB,style:mI,styleTween:_I,text:xI,textTween:TI,remove:sI,tween:OB,delay:UB,duration:KB,ease:ZB,easeVarying:QB,end:kI,[Symbol.iterator]:li[Symbol.iterator]};function EI(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var $I={time:null,delay:0,duration:250,ease:EI};function LI(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function OI(t){var e,n;t instanceof Si?(e=t._id,t=t._name):(e=Yv(),(n=$I).time=md(),t=t==null?null:t+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var s=i[o],a=s.length,l,c=0;c<a;++c)(l=s[c])&&Pc(l,t,e,c,s,n||LI(l,e));return new Si(i,this._parents,t,e)}da.prototype.interrupt=EB;da.prototype.transition=OI;const TW=Math.abs,SW=Math.atan2,kW=Math.cos,AW=Math.max,EW=Math.min,$W=Math.sin,LW=Math.sqrt,vg=1e-12,_d=Math.PI,bg=_d/2,OW=2*_d;function MW(t){return t>1?0:t<-1?_d:Math.acos(t)}function FW(t){return t>=1?bg:t<=-1?-bg:Math.asin(t)}function Gv(t){this._context=t}Gv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&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);break}}};function MI(t){return new Gv(t)}class Kv{constructor(e,n){this._context=e,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,n){switch(e=+e,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,n,e,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,e,this._y0,e,n);break}}this._x0=e,this._y0=n}}function FI(t){return new Kv(t,!0)}function BI(t){return new Kv(t,!1)}function ar(){}function Zl(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 Rc(t){this._context=t}Rc.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:Zl(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&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:Zl(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function II(t){return new Rc(t)}function Xv(t){this._context=t}Xv.prototype={areaStart:ar,areaEnd:ar,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);break}}},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:Zl(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function PI(t){return new Xv(t)}function Zv(t){this._context=t}Zv.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||this._line!==0&&this._point===3)&&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:Zl(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function RI(t){return new Zv(t)}function Jv(t,e){this._basis=new Rc(t),this._beta=e}Jv.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=t[0],r=e[0],o=t[n]-i,s=e[n]-r,a=-1,l;++a<=n;)l=a/n,this._basis.point(this._beta*t[a]+(1-this._beta)*(i+l*o),this._beta*e[a]+(1-this._beta)*(r+l*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const NI=function t(e){function n(i){return e===1?new Rc(i):new Jv(i,e)}return n.beta=function(i){return t(+i)},n}(.85);function Jl(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 vd(t,e){this._context=t,this._k=(1-e)/6}vd.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:Jl(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&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:Jl(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const DI=function t(e){function n(i){return new vd(i,e)}return n.tension=function(i){return t(+i)},n}(0);function bd(t,e){this._context=t,this._k=(1-e)/6}bd.prototype={areaStart:ar,areaEnd:ar,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);break}}},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:Jl(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const jI=function t(e){function n(i){return new bd(i,e)}return n.tension=function(i){return t(+i)},n}(0);function xd(t,e){this._context=t,this._k=(1-e)/6}xd.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||this._line!==0&&this._point===3)&&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:Jl(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const HI=function t(e){function n(i){return new xd(i,e)}return n.tension=function(i){return t(+i)},n}(0);function Cd(t,e,n){var i=t._x1,r=t._y1,o=t._x2,s=t._y2;if(t._l01_a>vg){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,r=(r*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>vg){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/u,s=(s*c+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(i,r,o,s,t._x2,t._y2)}function Qv(t,e){this._context=t,this._alpha=e}Qv.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);break}(this._line||this._line!==0&&this._point===1)&&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:Cd(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const qI=function t(e){function n(i){return e?new Qv(i,e):new vd(i,0)}return n.alpha=function(i){return t(+i)},n}(.5);function t1(t,e){this._context=t,this._alpha=e}t1.prototype={areaStart:ar,areaEnd:ar,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);break}}},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:Cd(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const zI=function t(e){function n(i){return e?new t1(i,e):new bd(i,0)}return n.alpha=function(i){return t(+i)},n}(.5);function e1(t,e){this._context=t,this._alpha=e}e1.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||this._line!==0&&this._point===3)&&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:Cd(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const VI=function t(e){function n(i){return e?new e1(i,e):new xd(i,0)}return n.alpha=function(i){return t(+i)},n}(.5);function n1(t){this._context=t}n1.prototype={areaStart:ar,areaEnd:ar,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function WI(t){return new n1(t)}function xg(t){return t<0?-1:1}function Cg(t,e,n){var i=t._x1-t._x0,r=e-t._x1,o=(t._y1-t._y0)/(i||r<0&&-0),s=(n-t._y1)/(r||i<0&&-0),a=(o*r+s*i)/(i+r);return(xg(o)+xg(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function wg(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Fu(t,e,n){var i=t._x0,r=t._y0,o=t._x1,s=t._y1,a=(o-i)/3;t._context.bezierCurveTo(i+a,r+a*e,o-a,s-a*n,o,s)}function Ql(t){this._context=t}Ql.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Fu(this,this._t0,wg(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Fu(this,wg(this,n=Cg(this,t,e)),n);break;default:Fu(this,this._t0,n=Cg(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function i1(t){this._context=new r1(t)}(i1.prototype=Object.create(Ql.prototype)).point=function(t,e){Ql.prototype.point.call(this,e,t)};function r1(t){this._context=t}r1.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,r,o){this._context.bezierCurveTo(e,t,i,n,o,r)}};function UI(t){return new Ql(t)}function YI(t){return new i1(t)}function o1(t){this._context=t}o1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var i=Tg(t),r=Tg(e),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(i[0][o],r[0][o],i[1][o],r[1][o],t[s],e[s]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function Tg(t){var e,n=t.length-1,i,r=new Array(n),o=new Array(n),s=new Array(n);for(r[0]=0,o[0]=2,s[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,s[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,s[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,s[e]-=i*s[e-1];for(r[n-1]=s[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(s[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function GI(t){return new o1(t)}function Nc(t,e){this._context=t,this._t=e}Nc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function KI(t){return new Nc(t,.5)}function XI(t){return new Nc(t,0)}function ZI(t){return new Nc(t,1)}function ps(t,e,n){this.k=t,this.x=e,this.y=n}ps.prototype={constructor:ps,scale:function(t){return t===1?this:new ps(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new ps(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+")"}};ps.prototype;/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */const{entries:s1,setPrototypeOf:Sg,isFrozen:JI,getPrototypeOf:QI,getOwnPropertyDescriptor:t4}=Object;let{freeze:We,seal:Dn,create:e4}=Object,{apply:Xh,construct:Zh}=typeof Reflect<"u"&&Reflect;Xh||(Xh=function(e,n,i){return e.apply(n,i)});We||(We=function(e){return e});Dn||(Dn=function(e){return e});Zh||(Zh=function(e,n){return new e(...n)});const n4=xn(Array.prototype.forEach),kg=xn(Array.prototype.pop),rs=xn(Array.prototype.push),hl=xn(String.prototype.toLowerCase),Bu=xn(String.prototype.toString),i4=xn(String.prototype.match),kn=xn(String.prototype.replace),r4=xn(String.prototype.indexOf),o4=xn(String.prototype.trim),Qe=xn(RegExp.prototype.test),os=s4(TypeError);function xn(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return Xh(t,e,i)}}function s4(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return Zh(t,n)}}function Ft(t,e,n){var i;n=(i=n)!==null&&i!==void 0?i:hl,Sg&&Sg(t,null);let r=e.length;for(;r--;){let o=e[r];if(typeof o=="string"){const s=n(o);s!==o&&(JI(e)||(e[r]=s),o=s)}t[o]=!0}return t}function uo(t){const e=e4(null);for(const[n,i]of s1(t))e[n]=i;return e}function qa(t,e){for(;t!==null;){const i=t4(t,e);if(i){if(i.get)return xn(i.get);if(typeof i.value=="function")return xn(i.value)}t=QI(t)}function n(i){return console.warn("fallback value for",i),null}return n}const Ag=We(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Iu=We(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Pu=We(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),a4=We(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ru=We(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),l4=We(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Eg=We(["#text"]),$g=We(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Nu=We(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Lg=We(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),za=We(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),c4=Dn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),u4=Dn(/<%[\w\W]*|[\w\W]*%>/gm),h4=Dn(/\${[\w\W]*}/gm),f4=Dn(/^data-[\-\w.\u00B7-\uFFFF]/),d4=Dn(/^aria-[\-\w]+$/),a1=Dn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),p4=Dn(/^(?:\w+script|data):/i),m4=Dn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),l1=Dn(/^html$/i);var Og=Object.freeze({__proto__:null,MUSTACHE_EXPR:c4,ERB_EXPR:u4,TMPLIT_EXPR:h4,DATA_ATTR:f4,ARIA_ATTR:d4,IS_ALLOWED_URI:a1,IS_SCRIPT_OR_DATA:p4,ATTR_WHITESPACE:m4,DOCTYPE_NAME:l1});const g4=()=>typeof window>"u"?null:window,y4=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(i=n.getAttribute(r));const o="dompurify"+(i?"#"+i:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function c1(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g4();const e=dt=>c1(dt);if(e.version="3.0.5",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;const n=t.document,i=n.currentScript;let{document:r}=t;const{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:c,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:f,trustedTypes:d}=t,p=l.prototype,g=qa(p,"cloneNode"),y=qa(p,"nextSibling"),b=qa(p,"childNodes"),v=qa(p,"parentNode");if(typeof s=="function"){const dt=r.createElement("template");dt.content&&dt.content.ownerDocument&&(r=dt.content.ownerDocument)}let _,w="";const{implementation:S,createNodeIterator:B,createDocumentFragment:C,getElementsByTagName:P}=r,{importNode:E}=n;let F={};e.isSupported=typeof s1=="function"&&typeof v=="function"&&S&&S.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ot,ERB_EXPR:V,TMPLIT_EXPR:W,DATA_ATTR:N,ARIA_ATTR:j,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:$}=Og;let{IS_ALLOWED_URI:z}=Og,D=null;const ut=Ft({},[...Ag,...Iu,...Pu,...Ru,...Eg]);let bt=null;const Lt=Ft({},[...$g,...Nu,...Lg,...za]);let _t=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}})),ne=null,ce=null,ue=!0,L=!0,et=!1,K=!0,it=!1,yt=!1,Rt=!1,Et=!1,m=!1,x=!1,M=!1,I=!0,H=!1;const Q="user-content-";let rt=!0,U=!1,Z={},q=null;const lt=Ft({},["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 ft=null;const ht=Ft({},["audio","video","img","source","image","track"]);let Ct=null;const Bt=Ft({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ht="http://www.w3.org/1998/Math/MathML",Kt="http://www.w3.org/2000/svg",Xt="http://www.w3.org/1999/xhtml";let ve=Xt,Hn=!1,ro=null;const pr=Ft({},[Ht,Kt,Xt],Bu);let qn;const Te=["application/xhtml+xml","text/html"],cn="text/html";let he,oo=null;const Px=r.createElement("form"),sp=function(T){return T instanceof RegExp||T instanceof Function},iu=function(T){if(!(oo&&oo===T)){if((!T||typeof T!="object")&&(T={}),T=uo(T),qn=Te.indexOf(T.PARSER_MEDIA_TYPE)===-1?qn=cn:qn=T.PARSER_MEDIA_TYPE,he=qn==="application/xhtml+xml"?Bu:hl,D="ALLOWED_TAGS"in T?Ft({},T.ALLOWED_TAGS,he):ut,bt="ALLOWED_ATTR"in T?Ft({},T.ALLOWED_ATTR,he):Lt,ro="ALLOWED_NAMESPACES"in T?Ft({},T.ALLOWED_NAMESPACES,Bu):pr,Ct="ADD_URI_SAFE_ATTR"in T?Ft(uo(Bt),T.ADD_URI_SAFE_ATTR,he):Bt,ft="ADD_DATA_URI_TAGS"in T?Ft(uo(ht),T.ADD_DATA_URI_TAGS,he):ht,q="FORBID_CONTENTS"in T?Ft({},T.FORBID_CONTENTS,he):lt,ne="FORBID_TAGS"in T?Ft({},T.FORBID_TAGS,he):{},ce="FORBID_ATTR"in T?Ft({},T.FORBID_ATTR,he):{},Z="USE_PROFILES"in T?T.USE_PROFILES:!1,ue=T.ALLOW_ARIA_ATTR!==!1,L=T.ALLOW_DATA_ATTR!==!1,et=T.ALLOW_UNKNOWN_PROTOCOLS||!1,K=T.ALLOW_SELF_CLOSE_IN_ATTR!==!1,it=T.SAFE_FOR_TEMPLATES||!1,yt=T.WHOLE_DOCUMENT||!1,m=T.RETURN_DOM||!1,x=T.RETURN_DOM_FRAGMENT||!1,M=T.RETURN_TRUSTED_TYPE||!1,Et=T.FORCE_BODY||!1,I=T.SANITIZE_DOM!==!1,H=T.SANITIZE_NAMED_PROPS||!1,rt=T.KEEP_CONTENT!==!1,U=T.IN_PLACE||!1,z=T.ALLOWED_URI_REGEXP||a1,ve=T.NAMESPACE||Xt,_t=T.CUSTOM_ELEMENT_HANDLING||{},T.CUSTOM_ELEMENT_HANDLING&&sp(T.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_t.tagNameCheck=T.CUSTOM_ELEMENT_HANDLING.tagNameCheck),T.CUSTOM_ELEMENT_HANDLING&&sp(T.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_t.attributeNameCheck=T.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),T.CUSTOM_ELEMENT_HANDLING&&typeof T.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(_t.allowCustomizedBuiltInElements=T.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),it&&(L=!1),x&&(m=!0),Z&&(D=Ft({},[...Eg]),bt=[],Z.html===!0&&(Ft(D,Ag),Ft(bt,$g)),Z.svg===!0&&(Ft(D,Iu),Ft(bt,Nu),Ft(bt,za)),Z.svgFilters===!0&&(Ft(D,Pu),Ft(bt,Nu),Ft(bt,za)),Z.mathMl===!0&&(Ft(D,Ru),Ft(bt,Lg),Ft(bt,za))),T.ADD_TAGS&&(D===ut&&(D=uo(D)),Ft(D,T.ADD_TAGS,he)),T.ADD_ATTR&&(bt===Lt&&(bt=uo(bt)),Ft(bt,T.ADD_ATTR,he)),T.ADD_URI_SAFE_ATTR&&Ft(Ct,T.ADD_URI_SAFE_ATTR,he),T.FORBID_CONTENTS&&(q===lt&&(q=uo(q)),Ft(q,T.FORBID_CONTENTS,he)),rt&&(D["#text"]=!0),yt&&Ft(D,["html","head","body"]),D.table&&(Ft(D,["tbody"]),delete ne.tbody),T.TRUSTED_TYPES_POLICY){if(typeof T.TRUSTED_TYPES_POLICY.createHTML!="function")throw os('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof T.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw os('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=T.TRUSTED_TYPES_POLICY,w=_.createHTML("")}else _===void 0&&(_=y4(d,i)),_!==null&&typeof w=="string"&&(w=_.createHTML(""));We&&We(T),oo=T}},ap=Ft({},["mi","mo","mn","ms","mtext"]),lp=Ft({},["foreignobject","desc","title","annotation-xml"]),Rx=Ft({},["title","style","font","a","script"]),Ca=Ft({},Iu);Ft(Ca,Pu),Ft(Ca,a4);const ru=Ft({},Ru);Ft(ru,l4);const Nx=function(T){let J=v(T);(!J||!J.tagName)&&(J={namespaceURI:ve,tagName:"template"});const ct=hl(T.tagName),Zt=hl(J.tagName);return ro[T.namespaceURI]?T.namespaceURI===Kt?J.namespaceURI===Xt?ct==="svg":J.namespaceURI===Ht?ct==="svg"&&(Zt==="annotation-xml"||ap[Zt]):!!Ca[ct]:T.namespaceURI===Ht?J.namespaceURI===Xt?ct==="math":J.namespaceURI===Kt?ct==="math"&&lp[Zt]:!!ru[ct]:T.namespaceURI===Xt?J.namespaceURI===Kt&&!lp[Zt]||J.namespaceURI===Ht&&!ap[Zt]?!1:!ru[ct]&&(Rx[ct]||!Ca[ct]):!!(qn==="application/xhtml+xml"&&ro[T.namespaceURI]):!1},mr=function(T){rs(e.removed,{element:T});try{T.parentNode.removeChild(T)}catch{T.remove()}},ou=function(T,J){try{rs(e.removed,{attribute:J.getAttributeNode(T),from:J})}catch{rs(e.removed,{attribute:null,from:J})}if(J.removeAttribute(T),T==="is"&&!bt[T])if(m||x)try{mr(J)}catch{}else try{J.setAttribute(T,"")}catch{}},cp=function(T){let J,ct;if(Et)T="<remove></remove>"+T;else{const un=i4(T,/^[\r\n\t ]+/);ct=un&&un[0]}qn==="application/xhtml+xml"&&ve===Xt&&(T='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+T+"</body></html>");const Zt=_?_.createHTML(T):T;if(ve===Xt)try{J=new f().parseFromString(Zt,qn)}catch{}if(!J||!J.documentElement){J=S.createDocument(ve,"template",null);try{J.documentElement.innerHTML=Hn?w:Zt}catch{}}const be=J.body||J.documentElement;return T&&ct&&be.insertBefore(r.createTextNode(ct),be.childNodes[0]||null),ve===Xt?P.call(J,yt?"html":"body")[0]:yt?J.documentElement:be},up=function(T){return B.call(T.ownerDocument||T,T,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Dx=function(T){return T instanceof h&&(typeof T.nodeName!="string"||typeof T.textContent!="string"||typeof T.removeChild!="function"||!(T.attributes instanceof u)||typeof T.removeAttribute!="function"||typeof T.setAttribute!="function"||typeof T.namespaceURI!="string"||typeof T.insertBefore!="function"||typeof T.hasChildNodes!="function")},wa=function(T){return typeof a=="object"?T instanceof a:T&&typeof T=="object"&&typeof T.nodeType=="number"&&typeof T.nodeName=="string"},oi=function(T,J,ct){F[T]&&n4(F[T],Zt=>{Zt.call(e,J,ct,oo)})},hp=function(T){let J;if(oi("beforeSanitizeElements",T,null),Dx(T))return mr(T),!0;const ct=he(T.nodeName);if(oi("uponSanitizeElement",T,{tagName:ct,allowedTags:D}),T.hasChildNodes()&&!wa(T.firstElementChild)&&(!wa(T.content)||!wa(T.content.firstElementChild))&&Qe(/<[/\w]/g,T.innerHTML)&&Qe(/<[/\w]/g,T.textContent))return mr(T),!0;if(!D[ct]||ne[ct]){if(!ne[ct]&&dp(ct)&&(_t.tagNameCheck instanceof RegExp&&Qe(_t.tagNameCheck,ct)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(ct)))return!1;if(rt&&!q[ct]){const Zt=v(T)||T.parentNode,be=b(T)||T.childNodes;if(be&&Zt){const un=be.length;for(let ae=un-1;ae>=0;--ae)Zt.insertBefore(g(be[ae],!0),y(T))}}return mr(T),!0}return T instanceof l&&!Nx(T)||(ct==="noscript"||ct==="noembed"||ct==="noframes")&&Qe(/<\/no(script|embed|frames)/i,T.innerHTML)?(mr(T),!0):(it&&T.nodeType===3&&(J=T.textContent,J=kn(J,ot," "),J=kn(J,V," "),J=kn(J,W," "),T.textContent!==J&&(rs(e.removed,{element:T.cloneNode()}),T.textContent=J)),oi("afterSanitizeElements",T,null),!1)},fp=function(T,J,ct){if(I&&(J==="id"||J==="name")&&(ct in r||ct in Px))return!1;if(!(L&&!ce[J]&&Qe(N,J))){if(!(ue&&Qe(j,J))){if(!bt[J]||ce[J]){if(!(dp(T)&&(_t.tagNameCheck instanceof RegExp&&Qe(_t.tagNameCheck,T)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(T))&&(_t.attributeNameCheck instanceof RegExp&&Qe(_t.attributeNameCheck,J)||_t.attributeNameCheck instanceof Function&&_t.attributeNameCheck(J))||J==="is"&&_t.allowCustomizedBuiltInElements&&(_t.tagNameCheck instanceof RegExp&&Qe(_t.tagNameCheck,ct)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(ct))))return!1}else if(!Ct[J]){if(!Qe(z,kn(ct,$,""))){if(!((J==="src"||J==="xlink:href"||J==="href")&&T!=="script"&&r4(ct,"data:")===0&&ft[T])){if(!(et&&!Qe(Y,kn(ct,$,"")))){if(ct)return!1}}}}}}return!0},dp=function(T){return T.indexOf("-")>0},pp=function(T){let J,ct,Zt,be;oi("beforeSanitizeAttributes",T,null);const{attributes:un}=T;if(!un)return;const ae={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt};for(be=un.length;be--;){J=un[be];const{name:zn,namespaceURI:su}=J;if(ct=zn==="value"?J.value:o4(J.value),Zt=he(zn),ae.attrName=Zt,ae.attrValue=ct,ae.keepAttr=!0,ae.forceKeepAttr=void 0,oi("uponSanitizeAttribute",T,ae),ct=ae.attrValue,ae.forceKeepAttr||(ou(zn,T),!ae.keepAttr))continue;if(!K&&Qe(/\/>/i,ct)){ou(zn,T);continue}it&&(ct=kn(ct,ot," "),ct=kn(ct,V," "),ct=kn(ct,W," "));const mp=he(T.nodeName);if(fp(mp,Zt,ct)){if(H&&(Zt==="id"||Zt==="name")&&(ou(zn,T),ct=Q+ct),_&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!su)switch(d.getAttributeType(mp,Zt)){case"TrustedHTML":{ct=_.createHTML(ct);break}case"TrustedScriptURL":{ct=_.createScriptURL(ct);break}}try{su?T.setAttributeNS(su,zn,ct):T.setAttribute(zn,ct),kg(e.removed)}catch{}}}oi("afterSanitizeAttributes",T,null)},jx=function dt(T){let J;const ct=up(T);for(oi("beforeSanitizeShadowDOM",T,null);J=ct.nextNode();)oi("uponSanitizeShadowNode",J,null),!hp(J)&&(J.content instanceof o&&dt(J.content),pp(J));oi("afterSanitizeShadowDOM",T,null)};return e.sanitize=function(dt){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J,ct,Zt,be;if(Hn=!dt,Hn&&(dt="<!-->"),typeof dt!="string"&&!wa(dt))if(typeof dt.toString=="function"){if(dt=dt.toString(),typeof dt!="string")throw os("dirty is not a string, aborting")}else throw os("toString is not a function");if(!e.isSupported)return dt;if(Rt||iu(T),e.removed=[],typeof dt=="string"&&(U=!1),U){if(dt.nodeName){const zn=he(dt.nodeName);if(!D[zn]||ne[zn])throw os("root node is forbidden and cannot be sanitized in-place")}}else if(dt instanceof a)J=cp("<!---->"),ct=J.ownerDocument.importNode(dt,!0),ct.nodeType===1&&ct.nodeName==="BODY"||ct.nodeName==="HTML"?J=ct:J.appendChild(ct);else{if(!m&&!it&&!yt&&dt.indexOf("<")===-1)return _&&M?_.createHTML(dt):dt;if(J=cp(dt),!J)return m?null:M?w:""}J&&Et&&mr(J.firstChild);const un=up(U?dt:J);for(;Zt=un.nextNode();)hp(Zt)||(Zt.content instanceof o&&jx(Zt.content),pp(Zt));if(U)return dt;if(m){if(x)for(be=C.call(J.ownerDocument);J.firstChild;)be.appendChild(J.firstChild);else be=J;return(bt.shadowroot||bt.shadowrootmode)&&(be=E.call(n,be,!0)),be}let ae=yt?J.outerHTML:J.innerHTML;return yt&&D["!doctype"]&&J.ownerDocument&&J.ownerDocument.doctype&&J.ownerDocument.doctype.name&&Qe(l1,J.ownerDocument.doctype.name)&&(ae="<!DOCTYPE "+J.ownerDocument.doctype.name+`>
`+ae),it&&(ae=kn(ae,ot," "),ae=kn(ae,V," "),ae=kn(ae,W," ")),_&&M?_.createHTML(ae):ae},e.setConfig=function(dt){iu(dt),Rt=!0},e.clearConfig=function(){oo=null,Rt=!1},e.isValidAttribute=function(dt,T,J){oo||iu({});const ct=he(dt),Zt=he(T);return fp(ct,Zt,J)},e.addHook=function(dt,T){typeof T=="function"&&(F[dt]=F[dt]||[],rs(F[dt],T))},e.removeHook=function(dt){if(F[dt])return kg(F[dt])},e.removeHooks=function(dt){F[dt]&&(F[dt]=[])},e.removeAllHooks=function(){F={}},e}var To=c1();const Dc=/<br\s*\/?>/gi,_4=t=>t?h1(t).replace(/\\n/g,"#br#").split("#br#"):[""],u1=t=>{const e="data-temp-href-target";To.addHook("beforeSanitizeAttributes",i=>{i.tagName==="A"&&i.hasAttribute("target")&&i.setAttribute(e,i.getAttribute("target")||"")});const n=To.sanitize(t);return To.addHook("afterSanitizeAttributes",i=>{i.tagName==="A"&&i.hasAttribute(e)&&(i.setAttribute("target",i.getAttribute(e)||""),i.removeAttribute(e),i.getAttribute("target")==="_blank"&&i.setAttribute("rel","noopener"))}),n},Mg=(t,e)=>{var n;if(((n=e.flowchart)==null?void 0:n.htmlLabels)!==!1){const i=e.securityLevel;i==="antiscript"||i==="strict"?t=u1(t):i!=="loose"&&(t=h1(t),t=t.replace(/</g,"<").replace(/>/g,">"),t=t.replace(/=/g,"="),t=C4(t))}return t},Us=(t,e)=>t&&(e.dompurifyConfig?t=To.sanitize(Mg(t,e),e.dompurifyConfig).toString():t=To.sanitize(Mg(t,e),{FORBID_TAGS:["style"]}).toString(),t),v4=(t,e)=>typeof t=="string"?Us(t,e):t.flat().map(n=>Us(n,e)),b4=t=>Dc.test(t),x4=t=>t.split(Dc),C4=t=>t.replace(/#br#/g,"<br/>"),h1=t=>t.replace(Dc,"#br#"),w4=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},f1=t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),T4=function(...t){const e=t.filter(n=>!isNaN(n));return Math.max(...e)},S4=function(...t){const e=t.filter(n=>!isNaN(n));return Math.min(...e)},BW=function(t){const e=t.split(/(,)/),n=[];for(let i=0;i<e.length;i++){let r=e[i];if(r===","&&i>0&&i+1<e.length){const o=e[i-1],s=e[i+1];k4(o,s)&&(r=o+","+s,i++,n.pop())}n.push(A4(r))}return n.join("")},Jh=(t,e)=>Math.max(0,t.split(e).length-1),k4=(t,e)=>{const n=Jh(t,"~"),i=Jh(e,"~");return n===1&&i===1},A4=t=>{const e=Jh(t,"~");let n=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),n=!0);const i=[...t];let r=i.indexOf("~"),o=i.lastIndexOf("~");for(;r!==-1&&o!==-1&&r!==o;)i[r]="<",i[o]=">",r=i.indexOf("~"),o=i.lastIndexOf("~");return n&&i.unshift("~"),i.join("")},wd={getRows:_4,sanitizeText:Us,sanitizeTextOrArray:v4,hasBreaks:b4,splitBreaks:x4,lineBreakRegex:Dc,removeScript:u1,getUrl:w4,evaluate:f1,getMax:T4,getMin:S4},fl={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+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return n*2.55;t/=360,e/=100,n/=100;const r=n<.5?n*(1+e):n+e-n*e,o=2*n-r;switch(i){case"r":return fl.hue2rgb(o,r,t+1/3)*255;case"g":return fl.hue2rgb(o,r,t)*255;case"b":return fl.hue2rgb(o,r,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:n},i)=>{t/=255,e/=255,n/=255;const r=Math.max(t,e,n),o=Math.min(t,e,n),s=(r+o)/2;if(i==="l")return s*100;if(r===o)return 0;const a=r-o,l=s>.5?a/(2-r-o):a/(r+o);if(i==="s")return l*100;switch(r){case t:return((e-n)/a+(e<n?6:0))*60;case e:return((n-t)/a+2)*60;case n:return((t-e)/a+4)*60;default:return-1}}},E4=fl,$4={clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},L4=$4,O4={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}},M4=O4,F4={channel:E4,lang:L4,unit:M4},Tt=F4,Ri={};for(let t=0;t<=255;t++)Ri[t]=Tt.unit.dec2hex(t);const Ee={ALL:0,RGB:1,HSL:2};class B4{constructor(){this.type=Ee.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=Ee.ALL}is(e){return this.type===e}}const I4=B4;class P4{constructor(e,n){this.color=n,this.changed=!1,this.data=e,this.type=new I4}set(e,n){return this.color=n,this.changed=!1,this.data=e,this.type.type=Ee.ALL,this}_ensureHSL(){const e=this.data,{h:n,s:i,l:r}=e;n===void 0&&(e.h=Tt.channel.rgb2hsl(e,"h")),i===void 0&&(e.s=Tt.channel.rgb2hsl(e,"s")),r===void 0&&(e.l=Tt.channel.rgb2hsl(e,"l"))}_ensureRGB(){const e=this.data,{r:n,g:i,b:r}=e;n===void 0&&(e.r=Tt.channel.hsl2rgb(e,"r")),i===void 0&&(e.g=Tt.channel.hsl2rgb(e,"g")),r===void 0&&(e.b=Tt.channel.hsl2rgb(e,"b"))}get r(){const e=this.data,n=e.r;return!this.type.is(Ee.HSL)&&n!==void 0?n:(this._ensureHSL(),Tt.channel.hsl2rgb(e,"r"))}get g(){const e=this.data,n=e.g;return!this.type.is(Ee.HSL)&&n!==void 0?n:(this._ensureHSL(),Tt.channel.hsl2rgb(e,"g"))}get b(){const e=this.data,n=e.b;return!this.type.is(Ee.HSL)&&n!==void 0?n:(this._ensureHSL(),Tt.channel.hsl2rgb(e,"b"))}get h(){const e=this.data,n=e.h;return!this.type.is(Ee.RGB)&&n!==void 0?n:(this._ensureRGB(),Tt.channel.rgb2hsl(e,"h"))}get s(){const e=this.data,n=e.s;return!this.type.is(Ee.RGB)&&n!==void 0?n:(this._ensureRGB(),Tt.channel.rgb2hsl(e,"s"))}get l(){const e=this.data,n=e.l;return!this.type.is(Ee.RGB)&&n!==void 0?n:(this._ensureRGB(),Tt.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(Ee.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(Ee.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(Ee.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(Ee.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(Ee.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(Ee.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}const R4=P4,N4=new R4({r:0,g:0,b:0,a:0},"transparent"),jc=N4,d1={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(d1.re);if(!e)return;const n=e[1],i=parseInt(n,16),r=n.length,o=r%4===0,s=r>4,a=s?1:17,l=s?8:4,c=o?0:-1,u=s?255:15;return jc.set({r:(i>>l*(c+3)&u)*a,g:(i>>l*(c+2)&u)*a,b:(i>>l*(c+1)&u)*a,a:o?(i&u)*a/255:1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`#${Ri[Math.round(e)]}${Ri[Math.round(n)]}${Ri[Math.round(i)]}${Ri[Math.round(r*255)]}`:`#${Ri[Math.round(e)]}${Ri[Math.round(n)]}${Ri[Math.round(i)]}`}},xs=d1,dl={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(dl.hueRe);if(e){const[,n,i]=e;switch(i){case"grad":return Tt.channel.clamp.h(parseFloat(n)*.9);case"rad":return Tt.channel.clamp.h(parseFloat(n)*180/Math.PI);case"turn":return Tt.channel.clamp.h(parseFloat(n)*360)}}return Tt.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const n=t.match(dl.re);if(!n)return;const[,i,r,o,s,a]=n;return jc.set({h:dl._hue2deg(i),s:Tt.channel.clamp.s(parseFloat(r)),l:Tt.channel.clamp.l(parseFloat(o)),a:s?Tt.channel.clamp.a(a?parseFloat(s)/100:parseFloat(s)):1},t)},stringify:t=>{const{h:e,s:n,l:i,a:r}=t;return r<1?`hsla(${Tt.lang.round(e)}, ${Tt.lang.round(n)}%, ${Tt.lang.round(i)}%, ${r})`:`hsl(${Tt.lang.round(e)}, ${Tt.lang.round(n)}%, ${Tt.lang.round(i)}%)`}},Va=dl,pl={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=pl.colors[t];if(e)return xs.parse(e)},stringify:t=>{const e=xs.stringify(t);for(const n in pl.colors)if(pl.colors[n]===e)return n}},Fg=pl,p1={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(e!==114&&e!==82)return;const n=t.match(p1.re);if(!n)return;const[,i,r,o,s,a,l,c,u]=n;return jc.set({r:Tt.channel.clamp.r(r?parseFloat(i)*2.55:parseFloat(i)),g:Tt.channel.clamp.g(s?parseFloat(o)*2.55:parseFloat(o)),b:Tt.channel.clamp.b(l?parseFloat(a)*2.55:parseFloat(a)),a:c?Tt.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`rgba(${Tt.lang.round(e)}, ${Tt.lang.round(n)}, ${Tt.lang.round(i)}, ${Tt.lang.round(r)})`:`rgb(${Tt.lang.round(e)}, ${Tt.lang.round(n)}, ${Tt.lang.round(i)})`}},Wa=p1,D4={format:{keyword:Fg,hex:xs,rgb:Wa,rgba:Wa,hsl:Va,hsla:Va},parse:t=>{if(typeof t!="string")return t;const e=xs.parse(t)||Wa.parse(t)||Va.parse(t)||Fg.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(Ee.HSL)||t.data.r===void 0?Va.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?Wa.stringify(t):xs.stringify(t)},ei=D4,j4=(t,e)=>{const n=ei.parse(t);for(const i in e)n[i]=Tt.channel.clamp[i](e[i]);return ei.stringify(n)},m1=j4,H4=(t,e,n=0,i=1)=>{if(typeof t!="number")return m1(t,{a:e});const r=jc.set({r:Tt.channel.clamp.r(t),g:Tt.channel.clamp.g(e),b:Tt.channel.clamp.b(n),a:Tt.channel.clamp.a(i)});return ei.stringify(r)},Cs=H4,q4=t=>{const{r:e,g:n,b:i}=ei.parse(t),r=.2126*Tt.channel.toLinear(e)+.7152*Tt.channel.toLinear(n)+.0722*Tt.channel.toLinear(i);return Tt.lang.round(r)},z4=q4,V4=t=>z4(t)>=.5,W4=V4,U4=t=>!W4(t),ma=U4,Y4=(t,e,n)=>{const i=ei.parse(t),r=i[e],o=Tt.channel.clamp[e](r+n);return r!==o&&(i[e]=o),ei.stringify(i)},g1=Y4,G4=(t,e)=>g1(t,"l",e),pt=G4,K4=(t,e)=>g1(t,"l",-e),xt=K4,X4=(t,e)=>{const n=ei.parse(t),i={};for(const r in e)e[r]&&(i[r]=n[r]+e[r]);return m1(t,i)},k=X4,Z4=(t,e,n=50)=>{const{r:i,g:r,b:o,a:s}=ei.parse(t),{r:a,g:l,b:c,a:u}=ei.parse(e),h=n/100,f=h*2-1,d=s-u,g=((f*d===-1?f:(f+d)/(1+f*d))+1)/2,y=1-g,b=i*g+a*y,v=r*g+l*y,_=o*g+c*y,w=s*h+u*(1-h);return Cs(b,v,_,w)},J4=Z4,Q4=(t,e=100)=>{const n=ei.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,J4(n,t,e)},st=Q4,qe=(t,e)=>e?k(t,{s:-40,l:10}):k(t,{s:-40,l:-10}),Hc="#ffffff",qc="#f2f2f2";let tP=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(){var e,n,i,r,o,s,a,l,c,u,h;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||k(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||k(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||qe(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||qe(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||qe(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||qe(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||st(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||st(this.tertiaryColor),this.lineColor=this.lineColor||st(this.background),this.arrowheadColor=this.arrowheadColor||st(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?xt(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||xt(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||st(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||pt(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||k(this.primaryColor,{h:30}),this.cScale4=this.cScale4||k(this.primaryColor,{h:60}),this.cScale5=this.cScale5||k(this.primaryColor,{h:90}),this.cScale6=this.cScale6||k(this.primaryColor,{h:120}),this.cScale7=this.cScale7||k(this.primaryColor,{h:150}),this.cScale8=this.cScale8||k(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||k(this.primaryColor,{h:270}),this.cScale10=this.cScale10||k(this.primaryColor,{h:300}),this.cScale11=this.cScale11||k(this.primaryColor,{h:330}),this.darkMode)for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScale"+d]=xt(this["cScale"+d],75);else for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScale"+d]=xt(this["cScale"+d],25);for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScaleInv"+d]=this["cScaleInv"+d]||st(this["cScale"+d]);for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this.darkMode?this["cScalePeer"+d]=this["cScalePeer"+d]||pt(this["cScale"+d],10):this["cScalePeer"+d]=this["cScalePeer"+d]||xt(this["cScale"+d],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScaleLabel"+d]=this["cScaleLabel"+d]||this.scaleLabelColor;const f=this.darkMode?-4:-1;for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||k(this.mainBkg,{h:180,s:-15,l:f*(5+d*3)}),this["surfacePeer"+d]=this["surfacePeer"+d]||k(this.mainBkg,{h:180,s:-15,l:f*(8+d*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||k(this.primaryColor,{h:64}),this.fillType3=this.fillType3||k(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||k(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||k(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||k(this.primaryColor,{h:128}),this.fillType7=this.fillType7||k(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||k(this.primaryColor,{l:-10}),this.pie5=this.pie5||k(this.secondaryColor,{l:-10}),this.pie6=this.pie6||k(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||k(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||k(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||k(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||k(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||k(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||k(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||k(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||k(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||k(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||k(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||k(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||k(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ma(this.quadrant1Fill)?pt(this.quadrant1Fill):xt(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((n=this.xyChart)==null?void 0:n.titleColor)||this.primaryTextColor,xAxisTitleColor:((i=this.xyChart)==null?void 0:i.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((r=this.xyChart)==null?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((c=this.xyChart)==null?void 0:c.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((h=this.xyChart)==null?void 0:h.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?xt(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||k(this.primaryColor,{h:-30}),this.git4=this.git4||k(this.primaryColor,{h:-60}),this.git5=this.git5||k(this.primaryColor,{h:-90}),this.git6=this.git6||k(this.primaryColor,{h:60}),this.git7=this.git7||k(this.primaryColor,{h:120}),this.darkMode?(this.git0=pt(this.git0,25),this.git1=pt(this.git1,25),this.git2=pt(this.git2,25),this.git3=pt(this.git3,25),this.git4=pt(this.git4,25),this.git5=pt(this.git5,25),this.git6=pt(this.git6,25),this.git7=pt(this.git7,25)):(this.git0=xt(this.git0,25),this.git1=xt(this.git1,25),this.git2=xt(this.git2,25),this.git3=xt(this.git3,25),this.git4=xt(this.git4,25),this.git5=xt(this.git5,25),this.git6=xt(this.git6,25),this.git7=xt(this.git7,25)),this.gitInv0=this.gitInv0||st(this.git0),this.gitInv1=this.gitInv1||st(this.git1),this.gitInv2=this.gitInv2||st(this.git2),this.gitInv3=this.gitInv3||st(this.git3),this.gitInv4=this.gitInv4||st(this.git4),this.gitInv5=this.gitInv5||st(this.git5),this.gitInv6=this.gitInv6||st(this.git6),this.gitInv7=this.gitInv7||st(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Hc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||qc}calculate(e){if(typeof e!="object"){this.updateColors();return}const n=Object.keys(e);n.forEach(i=>{this[i]=e[i]}),this.updateColors(),n.forEach(i=>{this[i]=e[i]})}};const eP=t=>{const e=new tP;return e.calculate(t),e};let nP=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=pt(this.primaryColor,16),this.tertiaryColor=k(this.primaryColor,{h:-160}),this.primaryBorderColor=st(this.background),this.secondaryBorderColor=qe(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qe(this.tertiaryColor,this.darkMode),this.primaryTextColor=st(this.primaryColor),this.secondaryTextColor=st(this.secondaryColor),this.tertiaryTextColor=st(this.tertiaryColor),this.lineColor=st(this.background),this.textColor=st(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=pt(st("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=Cs(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=xt("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=xt(this.sectionBkgColor,10),this.taskBorderColor=Cs(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Cs(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(){var e,n,i,r,o,s,a,l,c,u,h;this.secondBkg=pt(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=pt(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=pt(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=k(this.primaryColor,{h:64}),this.fillType3=k(this.secondaryColor,{h:64}),this.fillType4=k(this.primaryColor,{h:-64}),this.fillType5=k(this.secondaryColor,{h:-64}),this.fillType6=k(this.primaryColor,{h:128}),this.fillType7=k(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||k(this.primaryColor,{h:30}),this.cScale4=this.cScale4||k(this.primaryColor,{h:60}),this.cScale5=this.cScale5||k(this.primaryColor,{h:90}),this.cScale6=this.cScale6||k(this.primaryColor,{h:120}),this.cScale7=this.cScale7||k(this.primaryColor,{h:150}),this.cScale8=this.cScale8||k(this.primaryColor,{h:210}),this.cScale9=this.cScale9||k(this.primaryColor,{h:270}),this.cScale10=this.cScale10||k(this.primaryColor,{h:300}),this.cScale11=this.cScale11||k(this.primaryColor,{h:330});for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleInv"+f]=this["cScaleInv"+f]||st(this["cScale"+f]);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScalePeer"+f]=this["cScalePeer"+f]||pt(this["cScale"+f],10);for(let f=0;f<5;f++)this["surface"+f]=this["surface"+f]||k(this.mainBkg,{h:30,s:-30,l:-(-10+f*4)}),this["surfacePeer"+f]=this["surfacePeer"+f]||k(this.mainBkg,{h:30,s:-30,l:-(-7+f*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleLabel"+f]=this["cScaleLabel"+f]||this.scaleLabelColor;for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["pie"+f]=this["cScale"+f];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||k(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||k(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||k(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||k(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||k(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||k(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ma(this.quadrant1Fill)?pt(this.quadrant1Fill):xt(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((n=this.xyChart)==null?void 0:n.titleColor)||this.primaryTextColor,xAxisTitleColor:((i=this.xyChart)==null?void 0:i.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((r=this.xyChart)==null?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((c=this.xyChart)==null?void 0:c.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((h=this.xyChart)==null?void 0:h.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?xt(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=pt(this.secondaryColor,20),this.git1=pt(this.pie2||this.secondaryColor,20),this.git2=pt(this.pie3||this.tertiaryColor,20),this.git3=pt(this.pie4||k(this.primaryColor,{h:-30}),20),this.git4=pt(this.pie5||k(this.primaryColor,{h:-60}),20),this.git5=pt(this.pie6||k(this.primaryColor,{h:-90}),10),this.git6=pt(this.pie7||k(this.primaryColor,{h:60}),10),this.git7=pt(this.pie8||k(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||st(this.git0),this.gitInv1=this.gitInv1||st(this.git1),this.gitInv2=this.gitInv2||st(this.git2),this.gitInv3=this.gitInv3||st(this.git3),this.gitInv4=this.gitInv4||st(this.git4),this.gitInv5=this.gitInv5||st(this.git5),this.gitInv6=this.gitInv6||st(this.git6),this.gitInv7=this.gitInv7||st(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||st(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||st(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||pt(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||pt(this.background,2)}calculate(e){if(typeof e!="object"){this.updateColors();return}const n=Object.keys(e);n.forEach(i=>{this[i]=e[i]}),this.updateColors(),n.forEach(i=>{this[i]=e[i]})}};const iP=t=>{const e=new nP;return e.calculate(t),e};let rP=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=k(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=k(this.primaryColor,{h:-160}),this.primaryBorderColor=qe(this.primaryColor,this.darkMode),this.secondaryBorderColor=qe(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qe(this.tertiaryColor,this.darkMode),this.primaryTextColor=st(this.primaryColor),this.secondaryTextColor=st(this.secondaryColor),this.tertiaryTextColor=st(this.tertiaryColor),this.lineColor=st(this.background),this.textColor=st(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=Cs(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(){var e,n,i,r,o,s,a,l,c,u,h;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||k(this.primaryColor,{h:30}),this.cScale4=this.cScale4||k(this.primaryColor,{h:60}),this.cScale5=this.cScale5||k(this.primaryColor,{h:90}),this.cScale6=this.cScale6||k(this.primaryColor,{h:120}),this.cScale7=this.cScale7||k(this.primaryColor,{h:150}),this.cScale8=this.cScale8||k(this.primaryColor,{h:210}),this.cScale9=this.cScale9||k(this.primaryColor,{h:270}),this.cScale10=this.cScale10||k(this.primaryColor,{h:300}),this.cScale11=this.cScale11||k(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||xt(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||xt(this.tertiaryColor,40);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=xt(this["cScale"+f],10),this["cScalePeer"+f]=this["cScalePeer"+f]||xt(this["cScale"+f],25);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleInv"+f]=this["cScaleInv"+f]||k(this["cScale"+f],{h:180});for(let f=0;f<5;f++)this["surface"+f]=this["surface"+f]||k(this.mainBkg,{h:30,l:-(5+f*5)}),this["surfacePeer"+f]=this["surfacePeer"+f]||k(this.mainBkg,{h:30,l:-(7+f*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||st(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||st(this.labelTextColor);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleLabel"+f]=this["cScaleLabel"+f]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=pt(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=k(this.primaryColor,{h:64}),this.fillType3=k(this.secondaryColor,{h:64}),this.fillType4=k(this.primaryColor,{h:-64}),this.fillType5=k(this.secondaryColor,{h:-64}),this.fillType6=k(this.primaryColor,{h:128}),this.fillType7=k(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||k(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||k(this.primaryColor,{l:-10}),this.pie5=this.pie5||k(this.secondaryColor,{l:-30}),this.pie6=this.pie6||k(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||k(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||k(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||k(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||k(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||k(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||k(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||k(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||k(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||k(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||k(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||k(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||k(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ma(this.quadrant1Fill)?pt(this.quadrant1Fill):xt(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((n=this.xyChart)==null?void 0:n.titleColor)||this.primaryTextColor,xAxisTitleColor:((i=this.xyChart)==null?void 0:i.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((r=this.xyChart)==null?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((c=this.xyChart)==null?void 0:c.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((h=this.xyChart)==null?void 0:h.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||k(this.primaryColor,{h:-30}),this.git4=this.git4||k(this.primaryColor,{h:-60}),this.git5=this.git5||k(this.primaryColor,{h:-90}),this.git6=this.git6||k(this.primaryColor,{h:60}),this.git7=this.git7||k(this.primaryColor,{h:120}),this.darkMode?(this.git0=pt(this.git0,25),this.git1=pt(this.git1,25),this.git2=pt(this.git2,25),this.git3=pt(this.git3,25),this.git4=pt(this.git4,25),this.git5=pt(this.git5,25),this.git6=pt(this.git6,25),this.git7=pt(this.git7,25)):(this.git0=xt(this.git0,25),this.git1=xt(this.git1,25),this.git2=xt(this.git2,25),this.git3=xt(this.git3,25),this.git4=xt(this.git4,25),this.git5=xt(this.git5,25),this.git6=xt(this.git6,25),this.git7=xt(this.git7,25)),this.gitInv0=this.gitInv0||xt(st(this.git0),25),this.gitInv1=this.gitInv1||st(this.git1),this.gitInv2=this.gitInv2||st(this.git2),this.gitInv3=this.gitInv3||st(this.git3),this.gitInv4=this.gitInv4||st(this.git4),this.gitInv5=this.gitInv5||st(this.git5),this.gitInv6=this.gitInv6||st(this.git6),this.gitInv7=this.gitInv7||st(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||st(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||st(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Hc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||qc}calculate(e){if(typeof e!="object"){this.updateColors();return}const n=Object.keys(e);n.forEach(i=>{this[i]=e[i]}),this.updateColors(),n.forEach(i=>{this[i]=e[i]})}};const oP=t=>{const e=new rP;return e.calculate(t),e};let sP=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=pt("#cde498",10),this.primaryBorderColor=qe(this.primaryColor,this.darkMode),this.secondaryBorderColor=qe(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qe(this.tertiaryColor,this.darkMode),this.primaryTextColor=st(this.primaryColor),this.secondaryTextColor=st(this.secondaryColor),this.tertiaryTextColor=st(this.primaryColor),this.lineColor=st(this.background),this.textColor=st(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(){var e,n,i,r,o,s,a,l,c,u,h;this.actorBorder=xt(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||k(this.primaryColor,{h:30}),this.cScale4=this.cScale4||k(this.primaryColor,{h:60}),this.cScale5=this.cScale5||k(this.primaryColor,{h:90}),this.cScale6=this.cScale6||k(this.primaryColor,{h:120}),this.cScale7=this.cScale7||k(this.primaryColor,{h:150}),this.cScale8=this.cScale8||k(this.primaryColor,{h:210}),this.cScale9=this.cScale9||k(this.primaryColor,{h:270}),this.cScale10=this.cScale10||k(this.primaryColor,{h:300}),this.cScale11=this.cScale11||k(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||xt(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||xt(this.tertiaryColor,40);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScale"+f]=xt(this["cScale"+f],10),this["cScalePeer"+f]=this["cScalePeer"+f]||xt(this["cScale"+f],25);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleInv"+f]=this["cScaleInv"+f]||k(this["cScale"+f],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleLabel"+f]=this["cScaleLabel"+f]||this.scaleLabelColor;for(let f=0;f<5;f++)this["surface"+f]=this["surface"+f]||k(this.mainBkg,{h:30,s:-30,l:-(5+f*5)}),this["surfacePeer"+f]=this["surfacePeer"+f]||k(this.mainBkg,{h:30,s:-30,l:-(8+f*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=k(this.primaryColor,{h:64}),this.fillType3=k(this.secondaryColor,{h:64}),this.fillType4=k(this.primaryColor,{h:-64}),this.fillType5=k(this.secondaryColor,{h:-64}),this.fillType6=k(this.primaryColor,{h:128}),this.fillType7=k(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||k(this.primaryColor,{l:-30}),this.pie5=this.pie5||k(this.secondaryColor,{l:-30}),this.pie6=this.pie6||k(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||k(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||k(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||k(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||k(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||k(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||k(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||k(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||k(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||k(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||k(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||k(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||k(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ma(this.quadrant1Fill)?pt(this.quadrant1Fill):xt(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((n=this.xyChart)==null?void 0:n.titleColor)||this.primaryTextColor,xAxisTitleColor:((i=this.xyChart)==null?void 0:i.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((r=this.xyChart)==null?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((c=this.xyChart)==null?void 0:c.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((h=this.xyChart)==null?void 0:h.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||k(this.primaryColor,{h:-30}),this.git4=this.git4||k(this.primaryColor,{h:-60}),this.git5=this.git5||k(this.primaryColor,{h:-90}),this.git6=this.git6||k(this.primaryColor,{h:60}),this.git7=this.git7||k(this.primaryColor,{h:120}),this.darkMode?(this.git0=pt(this.git0,25),this.git1=pt(this.git1,25),this.git2=pt(this.git2,25),this.git3=pt(this.git3,25),this.git4=pt(this.git4,25),this.git5=pt(this.git5,25),this.git6=pt(this.git6,25),this.git7=pt(this.git7,25)):(this.git0=xt(this.git0,25),this.git1=xt(this.git1,25),this.git2=xt(this.git2,25),this.git3=xt(this.git3,25),this.git4=xt(this.git4,25),this.git5=xt(this.git5,25),this.git6=xt(this.git6,25),this.git7=xt(this.git7,25)),this.gitInv0=this.gitInv0||st(this.git0),this.gitInv1=this.gitInv1||st(this.git1),this.gitInv2=this.gitInv2||st(this.git2),this.gitInv3=this.gitInv3||st(this.git3),this.gitInv4=this.gitInv4||st(this.git4),this.gitInv5=this.gitInv5||st(this.git5),this.gitInv6=this.gitInv6||st(this.git6),this.gitInv7=this.gitInv7||st(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||st(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||st(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Hc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||qc}calculate(e){if(typeof e!="object"){this.updateColors();return}const n=Object.keys(e);n.forEach(i=>{this[i]=e[i]}),this.updateColors(),n.forEach(i=>{this[i]=e[i]})}};const aP=t=>{const e=new sP;return e.calculate(t),e};class lP{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=pt(this.contrast,55),this.background="#ffffff",this.tertiaryColor=k(this.primaryColor,{h:-160}),this.primaryBorderColor=qe(this.primaryColor,this.darkMode),this.secondaryBorderColor=qe(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=qe(this.tertiaryColor,this.darkMode),this.primaryTextColor=st(this.primaryColor),this.secondaryTextColor=st(this.secondaryColor),this.tertiaryTextColor=st(this.tertiaryColor),this.lineColor=st(this.background),this.textColor=st(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(){var e,n,i,r,o,s,a,l,c,u,h;this.secondBkg=pt(this.contrast,55),this.border2=this.contrast,this.actorBorder=pt(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 f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleInv"+f]=this["cScaleInv"+f]||st(this["cScale"+f]);for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this.darkMode?this["cScalePeer"+f]=this["cScalePeer"+f]||pt(this["cScale"+f],10):this["cScalePeer"+f]=this["cScalePeer"+f]||xt(this["cScale"+f],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["cScaleLabel"+f]=this["cScaleLabel"+f]||this.scaleLabelColor;for(let f=0;f<5;f++)this["surface"+f]=this["surface"+f]||k(this.mainBkg,{l:-(5+f*5)}),this["surfacePeer"+f]=this["surfacePeer"+f]||k(this.mainBkg,{l:-(8+f*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=pt(this.contrast,30),this.sectionBkgColor2=pt(this.contrast,30),this.taskBorderColor=xt(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=pt(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=xt(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=k(this.primaryColor,{h:64}),this.fillType3=k(this.secondaryColor,{h:64}),this.fillType4=k(this.primaryColor,{h:-64}),this.fillType5=k(this.secondaryColor,{h:-64}),this.fillType6=k(this.primaryColor,{h:128}),this.fillType7=k(this.secondaryColor,{h:128});for(let f=0;f<this.THEME_COLOR_LIMIT;f++)this["pie"+f]=this["cScale"+f];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||k(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||k(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||k(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||k(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||k(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||k(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ma(this.quadrant1Fill)?pt(this.quadrant1Fill):xt(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((e=this.xyChart)==null?void 0:e.backgroundColor)||this.background,titleColor:((n=this.xyChart)==null?void 0:n.titleColor)||this.primaryTextColor,xAxisTitleColor:((i=this.xyChart)==null?void 0:i.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((r=this.xyChart)==null?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((o=this.xyChart)==null?void 0:o.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((s=this.xyChart)==null?void 0:s.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((a=this.xyChart)==null?void 0:a.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((l=this.xyChart)==null?void 0:l.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((c=this.xyChart)==null?void 0:c.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((u=this.xyChart)==null?void 0:u.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((h=this.xyChart)==null?void 0:h.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=xt(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||k(this.primaryColor,{h:-30}),this.git4=this.pie5||k(this.primaryColor,{h:-60}),this.git5=this.pie6||k(this.primaryColor,{h:-90}),this.git6=this.pie7||k(this.primaryColor,{h:60}),this.git7=this.pie8||k(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||st(this.git0),this.gitInv1=this.gitInv1||st(this.git1),this.gitInv2=this.gitInv2||st(this.git2),this.gitInv3=this.gitInv3||st(this.git3),this.gitInv4=this.gitInv4||st(this.git4),this.gitInv5=this.gitInv5||st(this.git5),this.gitInv6=this.gitInv6||st(this.git6),this.gitInv7=this.gitInv7||st(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Hc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||qc}calculate(e){if(typeof e!="object"){this.updateColors();return}const n=Object.keys(e);n.forEach(i=>{this[i]=e[i]}),this.updateColors(),n.forEach(i=>{this[i]=e[i]})}}const cP=t=>{const e=new lP;return e.calculate(t),e},bi={base:{getThemeVariables:eP},dark:{getThemeVariables:iP},default:{getThemeVariables:oP},forest:{getThemeVariables:aP},neutral:{getThemeVariables:cP}},ci={flowchart:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],deterministicIds:!1,fontSize:16},y1={...ci,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:bi.default.getThemeVariables(),sequence:{...ci.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...ci.gantt,tickInterval:void 0,useWidth:void 0},c4:{...ci.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...ci.pie,useWidth:984},xyChart:{...ci.xyChart,useWidth:void 0},requirement:{...ci.requirement,useWidth:void 0},gitGraph:{...ci.gitGraph,useMaxWidth:!1},sankey:{...ci.sankey,useMaxWidth:!1}},_1=(t,e="")=>Object.keys(t).reduce((n,i)=>Array.isArray(t[i])?n:typeof t[i]=="object"&&t[i]!==null?[...n,e+i,..._1(t[i],"")]:[...n,e+i],[]),uP=new Set(_1(y1,"")),hP=y1,tc=t=>{if(vt.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>tc(e));return}for(const e of Object.keys(t)){if(vt.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!uP.has(e)||t[e]==null){vt.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){vt.debug("sanitizing object",e),tc(t[e]);continue}const n=["themeCSS","fontFamily","altFontFamily"];for(const i of n)e.includes(i)&&(vt.debug("sanitizing css option",e),t[e]=fP(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const n=t.themeVariables[e];n!=null&&n.match&&!n.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}vt.debug("After sanitization",t)}},fP=t=>{let e=0,n=0;for(const i of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";i==="{"?e++:i==="}"&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t},v1=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,ws=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,dP=/\s*%%.*\n/gm;class b1 extends Error{constructor(e){super(e),this.name="UnknownDiagramError"}}const Oo={},zc=function(t,e){t=t.replace(v1,"").replace(ws,"").replace(dP,`
`);for(const[n,{detector:i}]of Object.entries(Oo))if(i(t,e))return n;throw new b1(`No diagram type detected matching given configuration for text: ${t}`)},x1=(...t)=>{for(const{id:e,detector:n,loader:i}of t)C1(e,n,i)},C1=(t,e,n)=>{Oo[t]?vt.error(`Detector with key ${t} already exists`):Oo[t]={detector:e,loader:n},vt.debug(`Detector with key ${t} added${n?" with loader":""}`)},pP=t=>Oo[t].loader,Qh=(t,e,{depth:n=2,clobber:i=!1}={})=>{const r={depth:n,clobber:i};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(o=>Qh(t,o,r)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(o=>{t.includes(o)||t.push(o)}),t):t===void 0||n<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(o=>{typeof e[o]=="object"&&(t[o]===void 0||typeof t[o]=="object")?(t[o]===void 0&&(t[o]=Array.isArray(e[o])?[]:{}),t[o]=Qh(t[o],e[o],{depth:n-1,clobber:i})):(i||typeof t[o]!="object"&&typeof e[o]!="object")&&(t[o]=e[o])}),t)},Fe=Qh;var mP=typeof global=="object"&&global&&global.Object===Object&&global;const w1=mP;var gP=typeof self=="object"&&self&&self.Object===Object&&self,yP=w1||gP||Function("return this")();const ri=yP;var _P=ri.Symbol;const ec=_P;var T1=Object.prototype,vP=T1.hasOwnProperty,bP=T1.toString,ss=ec?ec.toStringTag:void 0;function xP(t){var e=vP.call(t,ss),n=t[ss];try{t[ss]=void 0;var i=!0}catch{}var r=bP.call(t);return i&&(e?t[ss]=n:delete t[ss]),r}var CP=Object.prototype,wP=CP.toString;function TP(t){return wP.call(t)}var SP="[object Null]",kP="[object Undefined]",Bg=ec?ec.toStringTag:void 0;function qo(t){return t==null?t===void 0?kP:SP:Bg&&Bg in Object(t)?xP(t):TP(t)}function eo(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var AP="[object AsyncFunction]",EP="[object Function]",$P="[object GeneratorFunction]",LP="[object Proxy]";function Td(t){if(!eo(t))return!1;var e=qo(t);return e==EP||e==$P||e==AP||e==LP}var OP=ri["__core-js_shared__"];const Du=OP;var Ig=function(){var t=/[^.]+$/.exec(Du&&Du.keys&&Du.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function MP(t){return!!Ig&&Ig in t}var FP=Function.prototype,BP=FP.toString;function no(t){if(t!=null){try{return BP.call(t)}catch{}try{return t+""}catch{}}return""}var IP=/[\\^$.*+?()[\]{}|]/g,PP=/^\[object .+?Constructor\]$/,RP=Function.prototype,NP=Object.prototype,DP=RP.toString,jP=NP.hasOwnProperty,HP=RegExp("^"+DP.call(jP).replace(IP,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qP(t){if(!eo(t)||MP(t))return!1;var e=Td(t)?HP:PP;return e.test(no(t))}function zP(t,e){return t==null?void 0:t[e]}function io(t,e){var n=zP(t,e);return qP(n)?n:void 0}var VP=io(Object,"create");const Ys=VP;function WP(){this.__data__=Ys?Ys(null):{},this.size=0}function UP(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var YP="__lodash_hash_undefined__",GP=Object.prototype,KP=GP.hasOwnProperty;function XP(t){var e=this.__data__;if(Ys){var n=e[t];return n===YP?void 0:n}return KP.call(e,t)?e[t]:void 0}var ZP=Object.prototype,JP=ZP.hasOwnProperty;function QP(t){var e=this.__data__;return Ys?e[t]!==void 0:JP.call(e,t)}var t6="__lodash_hash_undefined__";function e6(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ys&&e===void 0?t6:e,this}function Gr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Gr.prototype.clear=WP;Gr.prototype.delete=UP;Gr.prototype.get=XP;Gr.prototype.has=QP;Gr.prototype.set=e6;function n6(){this.__data__=[],this.size=0}function Vc(t,e){return t===e||t!==t&&e!==e}function Wc(t,e){for(var n=t.length;n--;)if(Vc(t[n][0],e))return n;return-1}var i6=Array.prototype,r6=i6.splice;function o6(t){var e=this.__data__,n=Wc(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():r6.call(e,n,1),--this.size,!0}function s6(t){var e=this.__data__,n=Wc(e,t);return n<0?void 0:e[n][1]}function a6(t){return Wc(this.__data__,t)>-1}function l6(t,e){var n=this.__data__,i=Wc(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function Oi(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Oi.prototype.clear=n6;Oi.prototype.delete=o6;Oi.prototype.get=s6;Oi.prototype.has=a6;Oi.prototype.set=l6;var c6=io(ri,"Map");const Gs=c6;function u6(){this.size=0,this.__data__={hash:new Gr,map:new(Gs||Oi),string:new Gr}}function h6(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Uc(t,e){var n=t.__data__;return h6(e)?n[typeof e=="string"?"string":"hash"]:n.map}function f6(t){var e=Uc(this,t).delete(t);return this.size-=e?1:0,e}function d6(t){return Uc(this,t).get(t)}function p6(t){return Uc(this,t).has(t)}function m6(t,e){var n=Uc(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}function dr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}dr.prototype.clear=u6;dr.prototype.delete=f6;dr.prototype.get=d6;dr.prototype.has=p6;dr.prototype.set=m6;var g6="Expected a function";function ga(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(g6);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(ga.Cache||dr),n}ga.Cache=dr;function y6(){this.__data__=new Oi,this.size=0}function _6(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function v6(t){return this.__data__.get(t)}function b6(t){return this.__data__.has(t)}var x6=200;function C6(t,e){var n=this.__data__;if(n instanceof Oi){var i=n.__data__;if(!Gs||i.length<x6-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new dr(i)}return n.set(t,e),this.size=n.size,this}function zo(t){var e=this.__data__=new Oi(t);this.size=e.size}zo.prototype.clear=y6;zo.prototype.delete=_6;zo.prototype.get=v6;zo.prototype.has=b6;zo.prototype.set=C6;var w6=function(){try{var t=io(Object,"defineProperty");return t({},"",{}),t}catch{}}();const nc=w6;function Sd(t,e,n){e=="__proto__"&&nc?nc(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function tf(t,e,n){(n!==void 0&&!Vc(t[e],n)||n===void 0&&!(e in t))&&Sd(t,e,n)}function T6(t){return function(e,n,i){for(var r=-1,o=Object(e),s=i(e),a=s.length;a--;){var l=s[t?a:++r];if(n(o[l],l,o)===!1)break}return e}}var S6=T6();const k6=S6;var S1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Pg=S1&&typeof module=="object"&&module&&!module.nodeType&&module,A6=Pg&&Pg.exports===S1,Rg=A6?ri.Buffer:void 0,Ng=Rg?Rg.allocUnsafe:void 0;function E6(t,e){if(e)return t.slice();var n=t.length,i=Ng?Ng(n):new t.constructor(n);return t.copy(i),i}var $6=ri.Uint8Array;const Dg=$6;function L6(t){var e=new t.constructor(t.byteLength);return new Dg(e).set(new Dg(t)),e}function O6(t,e){var n=e?L6(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function M6(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var jg=Object.create,F6=function(){function t(){}return function(e){if(!eo(e))return{};if(jg)return jg(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const B6=F6;function k1(t,e){return function(n){return t(e(n))}}var I6=k1(Object.getPrototypeOf,Object);const A1=I6;var P6=Object.prototype;function Yc(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||P6;return t===n}function R6(t){return typeof t.constructor=="function"&&!Yc(t)?B6(A1(t)):{}}function ya(t){return t!=null&&typeof t=="object"}var N6="[object Arguments]";function Hg(t){return ya(t)&&qo(t)==N6}var E1=Object.prototype,D6=E1.hasOwnProperty,j6=E1.propertyIsEnumerable,H6=Hg(function(){return arguments}())?Hg:function(t){return ya(t)&&D6.call(t,"callee")&&!j6.call(t,"callee")};const ic=H6;var q6=Array.isArray;const rc=q6;var z6=9007199254740991;function $1(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=z6}function Gc(t){return t!=null&&$1(t.length)&&!Td(t)}function V6(t){return ya(t)&&Gc(t)}function W6(){return!1}var L1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qg=L1&&typeof module=="object"&&module&&!module.nodeType&&module,U6=qg&&qg.exports===L1,zg=U6?ri.Buffer:void 0,Y6=zg?zg.isBuffer:void 0,G6=Y6||W6;const kd=G6;var K6="[object Object]",X6=Function.prototype,Z6=Object.prototype,O1=X6.toString,J6=Z6.hasOwnProperty,Q6=O1.call(Object);function tR(t){if(!ya(t)||qo(t)!=K6)return!1;var e=A1(t);if(e===null)return!0;var n=J6.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&O1.call(n)==Q6}var eR="[object Arguments]",nR="[object Array]",iR="[object Boolean]",rR="[object Date]",oR="[object Error]",sR="[object Function]",aR="[object Map]",lR="[object Number]",cR="[object Object]",uR="[object RegExp]",hR="[object Set]",fR="[object String]",dR="[object WeakMap]",pR="[object ArrayBuffer]",mR="[object DataView]",gR="[object Float32Array]",yR="[object Float64Array]",_R="[object Int8Array]",vR="[object Int16Array]",bR="[object Int32Array]",xR="[object Uint8Array]",CR="[object Uint8ClampedArray]",wR="[object Uint16Array]",TR="[object Uint32Array]",ie={};ie[gR]=ie[yR]=ie[_R]=ie[vR]=ie[bR]=ie[xR]=ie[CR]=ie[wR]=ie[TR]=!0;ie[eR]=ie[nR]=ie[pR]=ie[iR]=ie[mR]=ie[rR]=ie[oR]=ie[sR]=ie[aR]=ie[lR]=ie[cR]=ie[uR]=ie[hR]=ie[fR]=ie[dR]=!1;function SR(t){return ya(t)&&$1(t.length)&&!!ie[qo(t)]}function kR(t){return function(e){return t(e)}}var M1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ts=M1&&typeof module=="object"&&module&&!module.nodeType&&module,AR=Ts&&Ts.exports===M1,ju=AR&&w1.process,ER=function(){try{var t=Ts&&Ts.require&&Ts.require("util").types;return t||ju&&ju.binding&&ju.binding("util")}catch{}}();const Vg=ER;var Wg=Vg&&Vg.isTypedArray,$R=Wg?kR(Wg):SR;const Ad=$R;function ef(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var LR=Object.prototype,OR=LR.hasOwnProperty;function MR(t,e,n){var i=t[e];(!(OR.call(t,e)&&Vc(i,n))||n===void 0&&!(e in t))&&Sd(t,e,n)}function FR(t,e,n,i){var r=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],l=i?i(n[a],t[a],a,n,t):void 0;l===void 0&&(l=t[a]),r?Sd(n,a,l):MR(n,a,l)}return n}function BR(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}var IR=9007199254740991,PR=/^(?:0|[1-9]\d*)$/;function F1(t,e){var n=typeof t;return e=e??IR,!!e&&(n=="number"||n!="symbol"&&PR.test(t))&&t>-1&&t%1==0&&t<e}var RR=Object.prototype,NR=RR.hasOwnProperty;function DR(t,e){var n=rc(t),i=!n&&ic(t),r=!n&&!i&&kd(t),o=!n&&!i&&!r&&Ad(t),s=n||i||r||o,a=s?BR(t.length,String):[],l=a.length;for(var c in t)(e||NR.call(t,c))&&!(s&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||F1(c,l)))&&a.push(c);return a}function jR(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var HR=Object.prototype,qR=HR.hasOwnProperty;function zR(t){if(!eo(t))return jR(t);var e=Yc(t),n=[];for(var i in t)i=="constructor"&&(e||!qR.call(t,i))||n.push(i);return n}function B1(t){return Gc(t)?DR(t,!0):zR(t)}function VR(t){return FR(t,B1(t))}function WR(t,e,n,i,r,o,s){var a=ef(t,n),l=ef(e,n),c=s.get(l);if(c){tf(t,n,c);return}var u=o?o(a,l,n+"",t,e,s):void 0,h=u===void 0;if(h){var f=rc(l),d=!f&&kd(l),p=!f&&!d&&Ad(l);u=l,f||d||p?rc(a)?u=a:V6(a)?u=M6(a):d?(h=!1,u=E6(l,!0)):p?(h=!1,u=O6(l,!0)):u=[]:tR(l)||ic(l)?(u=a,ic(a)?u=VR(a):(!eo(a)||Td(a))&&(u=R6(l))):h=!1}h&&(s.set(l,u),r(u,l,i,o,s),s.delete(l)),tf(t,n,u)}function I1(t,e,n,i,r){t!==e&&k6(e,function(o,s){if(r||(r=new zo),eo(o))WR(t,e,s,n,I1,i,r);else{var a=i?i(ef(t,s),o,s+"",t,e,r):void 0;a===void 0&&(a=o),tf(t,s,a)}},B1)}function P1(t){return t}function UR(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var Ug=Math.max;function YR(t,e,n){return e=Ug(e===void 0?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=Ug(i.length-e,0),s=Array(o);++r<o;)s[r]=i[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=i[r];return a[e]=n(s),UR(t,this,a)}}function GR(t){return function(){return t}}var KR=nc?function(t,e){return nc(t,"toString",{configurable:!0,enumerable:!1,value:GR(e),writable:!0})}:P1;const XR=KR;var ZR=800,JR=16,QR=Date.now;function tN(t){var e=0,n=0;return function(){var i=QR(),r=JR-(i-n);if(n=i,r>0){if(++e>=ZR)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var eN=tN(XR);const nN=eN;function iN(t,e){return nN(YR(t,e,P1),t+"")}function rN(t,e,n){if(!eo(n))return!1;var i=typeof e;return(i=="number"?Gc(n)&&F1(e,n.length):i=="string"&&e in n)?Vc(n[e],t):!1}function oN(t){return iN(function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,s=r>2?n[2]:void 0;for(o=t.length>3&&typeof o=="function"?(r--,o):void 0,s&&rN(n[0],n[1],s)&&(o=r<3?void 0:o,r=1),e=Object(e);++i<r;){var a=n[i];a&&t(e,a,i,o)}return e})}var sN=oN(function(t,e,n){I1(t,e,n)});const aN=sN,lN="",cN={curveBasis:II,curveBasisClosed:PI,curveBasisOpen:RI,curveBumpX:FI,curveBumpY:BI,curveBundle:NI,curveCardinalClosed:jI,curveCardinalOpen:HI,curveCardinal:DI,curveCatmullRomClosed:zI,curveCatmullRomOpen:VI,curveCatmullRom:qI,curveLinear:MI,curveLinearClosed:WI,curveMonotoneX:UI,curveMonotoneY:YI,curveNatural:GI,curveStep:KI,curveStepAfter:ZI,curveStepBefore:XI},uN=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,hN=function(t,e){const n=R1(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(n)){const s=n.map(a=>a.args);tc(s),i=Fe(i,[...s])}else i=n.args;if(!i)return;let r=zc(t,e);const o="config";return i[o]!==void 0&&(r==="flowchart-v2"&&(r="flowchart"),i[r]=i[o],delete i[o]),i},R1=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${uN.source})(?=[}][%]{2}).*
`,"ig");t=t.trim().replace(n,"").replace(/'/gm,'"'),vt.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let i;const r=[];for(;(i=ws.exec(t))!==null;)if(i.index===ws.lastIndex&&ws.lastIndex++,i&&!e||e&&i[1]&&i[1].match(e)||e&&i[2]&&i[2].match(e)){const o=i[1]?i[1]:i[2],s=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;r.push({type:o,args:s})}return r.length===0?{type:t,args:null}:r.length===1?r[0]:r}catch(n){return vt.error(`ERROR: ${n.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},fN=function(t){return t.replace(ws,"")},dN=function(t,e){for(const[n,i]of e.entries())if(i.match(t))return n;return-1};function pN(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return cN[n]??e}function mN(t,e){const n=t.trim();if(n)return e.securityLevel!=="loose"?xv(n):n}const gN=(t,...e)=>{const n=t.split("."),i=n.length-1,r=n[i];let o=window;for(let s=0;s<i;s++)if(o=o[n[s]],!o){vt.error(`Function name: ${t} not found in window`);return}o[r](...e)};function N1(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function yN(t){let e,n=0;t.forEach(r=>{n+=N1(r,e),e=r});const i=n/2;return Ed(t,i)}function _N(t){return t.length===1?t[0]:yN(t)}const Yg=(t,e=2)=>{const n=Math.pow(10,e);return Math.round(t*n)/n},Ed=(t,e)=>{let n,i=e;for(const r of t){if(n){const o=N1(r,n);if(o<i)i-=o;else{const s=i/o;if(s<=0)return n;if(s>=1)return{x:r.x,y:r.y};if(s>0&&s<1)return{x:Yg((1-s)*n.x+s*r.x,5),y:Yg((1-s)*n.y+s*r.y,5)}}}n=r}throw new Error("Could not find a suitable point for the given distance")},vN=(t,e,n)=>{vt.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());const r=Ed(e,25),o=t?10:5,s=Math.atan2(e[0].y-r.y,e[0].x-r.x),a={x:0,y:0};return a.x=Math.sin(s)*o+(e[0].x+r.x)/2,a.y=-Math.cos(s)*o+(e[0].y+r.y)/2,a};function bN(t,e,n){const i=structuredClone(n);vt.info("our points",i),e!=="start_left"&&e!=="start_right"&&i.reverse();const r=25+t,o=Ed(i,r),s=10+t*.5,a=Math.atan2(i[0].y-o.y,i[0].x-o.x),l={x:0,y:0};return e==="start_left"?(l.x=Math.sin(a+Math.PI)*s+(i[0].x+o.x)/2,l.y=-Math.cos(a+Math.PI)*s+(i[0].y+o.y)/2):e==="end_right"?(l.x=Math.sin(a-Math.PI)*s+(i[0].x+o.x)/2-5,l.y=-Math.cos(a-Math.PI)*s+(i[0].y+o.y)/2-5):e==="end_left"?(l.x=Math.sin(a)*s+(i[0].x+o.x)/2-5,l.y=-Math.cos(a)*s+(i[0].y+o.y)/2-5):(l.x=Math.sin(a)*s+(i[0].x+o.x)/2,l.y=-Math.cos(a)*s+(i[0].y+o.y)/2),l}function xN(t){let e="",n="";for(const i of t)i!==void 0&&(i.startsWith("color:")||i.startsWith("text-align:")?n=n+i+";":e=e+i+";");return{style:e,labelStyle:n}}let Gg=0;const CN=()=>(Gg++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Gg);function wN(t){let e="";const n="0123456789abcdef",i=n.length;for(let r=0;r<t;r++)e+=n.charAt(Math.floor(Math.random()*i));return e}const TN=t=>wN(t.length),SN=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},kN=function(t,e){const n=e.text.replace(wd.lineBreakRegex," "),[,i]=Ld(e.fontSize),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.style("font-family",e.fontFamily),r.style("font-size",i),r.style("font-weight",e.fontWeight),r.attr("fill",e.fill),e.class!==void 0&&r.attr("class",e.class);const o=r.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(n),r},AN=ga((t,e,n)=>{if(!t||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),wd.lineBreakRegex.test(t)))return t;const i=t.split(" "),r=[];let o="";return i.forEach((s,a)=>{const l=oc(`${s} `,n),c=oc(o,n);if(l>e){const{hyphenatedStrings:f,remainingWord:d}=EN(s,e,"-",n);r.push(o,...f),o=d}else c+l>=e?(r.push(o),o=s):o=[o,s].filter(Boolean).join(" ");a+1===i.length&&r.push(o)}),r.filter(s=>s!=="").join(n.joinWith)},(t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),EN=ga((t,e,n="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const r=[...t],o=[];let s="";return r.forEach((a,l)=>{const c=`${s}${a}`;if(oc(c,i)>=e){const h=l+1,f=r.length===h,d=`${c}${n}`;o.push(f?c:d),s=""}else s=c}),{hyphenatedStrings:o,remainingWord:s}},(t,e,n="-",i)=>`${t}${e}${n}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function $N(t,e){return $d(t,e).height}function oc(t,e){return $d(t,e).width}const $d=ga((t,e)=>{const{fontSize:n=12,fontFamily:i="Arial",fontWeight:r=400}=e;if(!t)return{width:0,height:0};const[,o]=Ld(n),s=["sans-serif",i],a=t.split(wd.lineBreakRegex),l=[],c=mn("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const u=c.append("svg");for(const f of s){let d=0;const p={width:0,height:0,lineHeight:0};for(const g of a){const y=SN();y.text=g||lN;const b=kN(u,y).style("font-size",o).style("font-weight",r).style("font-family",f),v=(b._groups||b)[0][0].getBBox();if(v.width===0&&v.height===0)throw new Error("svg element not in render tree");p.width=Math.round(Math.max(p.width,v.width)),d=Math.round(v.height),p.height+=d,p.lineHeight=Math.round(Math.max(p.lineHeight,d))}l.push(p)}u.remove();const h=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[h]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`);class LN{constructor(e=!1,n){this.count=0,this.count=n?n.length:0,this.next=e?()=>this.count++:()=>Date.now()}}let Ua;const ON=function(t){return Ua=Ua||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),Ua.innerHTML=t,unescape(Ua.textContent)};function D1(t){return"str"in t}const MN=(t,e,n,i)=>{var r;if(!i)return;const o=(r=t.node())==null?void 0:r.getBBox();o&&t.append("text").text(i).attr("x",o.x+o.width/2).attr("y",-n).attr("class",e)},Ld=t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function j1(t,e){return aN({},t,e)}const Ss={assignWithDepth:Fe,wrapLabel:AN,calculateTextHeight:$N,calculateTextWidth:oc,calculateTextDimensions:$d,cleanAndMerge:j1,detectInit:hN,detectDirective:R1,isSubstringInArray:dN,interpolateToCurve:pN,calcLabelPosition:_N,calcCardinalityPosition:vN,calcTerminalLabelPosition:bN,formatUrl:mN,getStylesFromArray:xN,generateId:CN,random:TN,runFunc:gN,entityDecode:ON,insertTitle:MN,parseFontSize:Ld,InitIDGenerator:LN},FN=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(n){return n.substring(0,n.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(n){return n.substring(0,n.length-1)}),e=e.replace(/#\w+;/g,function(n){const i=n.substring(1,n.length-1);return/^\+?\d+$/.test(i)?"fl°°"+i+"¶ß":"fl°"+i+"¶ß"}),e},BN=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")};var H1="comm",q1="rule",z1="decl",IN="@import",PN="@keyframes",RN=Math.abs,Od=String.fromCharCode;function V1(t){return t.trim()}function nf(t,e,n){return t.replace(e,n)}function NN(t,e){return t.indexOf(e)}function Ks(t,e){return t.charCodeAt(e)|0}function Xs(t,e,n){return t.slice(e,n)}function Vi(t){return t.length}function W1(t){return t.length}function Ya(t,e){return e.push(t),t}var Kc=1,Mo=1,U1=0,Cn=0,pe=0,Vo="";function Md(t,e,n,i,r,o,s){return{value:t,root:e,parent:n,type:i,props:r,children:o,line:Kc,column:Mo,length:s,return:""}}function DN(){return pe}function jN(){return pe=Cn>0?Ks(Vo,--Cn):0,Mo--,pe===10&&(Mo=1,Kc--),pe}function Rn(){return pe=Cn<U1?Ks(Vo,Cn++):0,Mo++,pe===10&&(Mo=1,Kc++),pe}function Hr(){return Ks(Vo,Cn)}function ml(){return Cn}function Xc(t,e){return Xs(Vo,t,e)}function rf(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function HN(t){return Kc=Mo=1,U1=Vi(Vo=t),Cn=0,[]}function qN(t){return Vo="",t}function Hu(t){return V1(Xc(Cn-1,of(t===91?t+2:t===40?t+1:t)))}function zN(t){for(;(pe=Hr())&&pe<33;)Rn();return rf(t)>2||rf(pe)>3?"":" "}function VN(t,e){for(;--e&&Rn()&&!(pe<48||pe>102||pe>57&&pe<65||pe>70&&pe<97););return Xc(t,ml()+(e<6&&Hr()==32&&Rn()==32))}function of(t){for(;Rn();)switch(pe){case t:return Cn;case 34:case 39:t!==34&&t!==39&&of(pe);break;case 40:t===41&&of(t);break;case 92:Rn();break}return Cn}function WN(t,e){for(;Rn()&&t+pe!==57;)if(t+pe===84&&Hr()===47)break;return"/*"+Xc(e,Cn-1)+"*"+Od(t===47?t:Rn())}function UN(t){for(;!rf(Hr());)Rn();return Xc(t,Cn)}function YN(t){return qN(gl("",null,null,null,[""],t=HN(t),0,[0],t))}function gl(t,e,n,i,r,o,s,a,l){for(var c=0,u=0,h=s,f=0,d=0,p=0,g=1,y=1,b=1,v=0,_="",w=r,S=o,B=i,C=_;y;)switch(p=v,v=Rn()){case 40:if(p!=108&&Ks(C,h-1)==58){NN(C+=nf(Hu(v),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:C+=Hu(v);break;case 9:case 10:case 13:case 32:C+=zN(p);break;case 92:C+=VN(ml()-1,7);continue;case 47:switch(Hr()){case 42:case 47:Ya(GN(WN(Rn(),ml()),e,n),l);break;default:C+="/"}break;case 123*g:a[c++]=Vi(C)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+u:d>0&&Vi(C)-h&&Ya(d>32?Xg(C+";",i,n,h-1):Xg(nf(C," ","")+";",i,n,h-2),l);break;case 59:C+=";";default:if(Ya(B=Kg(C,e,n,c,u,r,a,_,w=[],S=[],h),o),v===123)if(u===0)gl(C,e,B,B,w,o,h,a,S);else switch(f===99&&Ks(C,3)===110?100:f){case 100:case 109:case 115:gl(t,B,B,i&&Ya(Kg(t,B,B,0,0,r,a,_,r,w=[],h),S),r,S,h,a,i?w:S);break;default:gl(C,B,B,B,[""],S,0,a,S)}}c=u=d=0,g=b=1,_=C="",h=s;break;case 58:h=1+Vi(C),d=p;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&jN()==125)continue}switch(C+=Od(v),v*g){case 38:b=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(Vi(C)-1)*b,b=1;break;case 64:Hr()===45&&(C+=Hu(Rn())),f=Hr(),u=h=Vi(_=C+=UN(ml())),v++;break;case 45:p===45&&Vi(C)==2&&(g=0)}}return o}function Kg(t,e,n,i,r,o,s,a,l,c,u){for(var h=r-1,f=r===0?o:[""],d=W1(f),p=0,g=0,y=0;p<i;++p)for(var b=0,v=Xs(t,h+1,h=RN(g=s[p])),_=t;b<d;++b)(_=V1(g>0?f[b]+" "+v:nf(v,/&\f/g,f[b])))&&(l[y++]=_);return Md(t,e,n,r===0?q1:a,l,c,u)}function GN(t,e,n){return Md(t,e,n,H1,Od(DN()),Xs(t,2,-2),0)}function Xg(t,e,n,i){return Md(t,e,n,z1,Xs(t,0,i),Xs(t,i+1,-1),i)}function sf(t,e){for(var n="",i=W1(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function KN(t,e,n,i){switch(t.type){case IN:case z1:return t.return=t.return||t.value;case H1:return"";case PN:return t.return=t.value+"{"+sf(t.children,i)+"}";case q1:t.value=t.props.join(",")}return Vi(n=sf(t.children,i))?t.return=t.value+"{"+n+"}":""}const Zg="10.7.0",Fo=Object.freeze(hP);let Ge=Fe({},Fo),Y1,Bo=[],ks=Fe({},Fo);const Zc=(t,e)=>{let n=Fe({},t),i={};for(const r of e)X1(r),i=Fe(i,r);if(n=Fe(n,i),i.theme&&i.theme in bi){const r=Fe({},Y1),o=Fe(r.themeVariables||{},i.themeVariables);n.theme&&n.theme in bi&&(n.themeVariables=bi[n.theme].getThemeVariables(o))}return ks=n,Z1(ks),ks},XN=t=>(Ge=Fe({},Fo),Ge=Fe(Ge,t),t.theme&&bi[t.theme]&&(Ge.themeVariables=bi[t.theme].getThemeVariables(t.themeVariables)),Zc(Ge,Bo),Ge),ZN=t=>{Y1=Fe({},t)},JN=t=>(Ge=Fe(Ge,t),Zc(Ge,Bo),Ge),G1=()=>Fe({},Ge),K1=t=>(Z1(t),Fe(ks,t),ni()),ni=()=>Fe({},ks),X1=t=>{t&&(["secure",...Ge.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(vt.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&X1(t[e])}))},QN=t=>{tc(t),t.fontFamily&&(!t.themeVariables||!t.themeVariables.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),Bo.push(t),Zc(Ge,Bo)},sc=(t=Ge)=>{Bo=[],Zc(t,Bo)},tD={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Jg={},eD=t=>{Jg[t]||(vt.warn(tD[t]),Jg[t]=!0)},Z1=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&eD("LAZY_LOAD_DEPRECATED")},J1="c4",nD=t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),iD=async()=>{const{diagram:t}=await Qt(()=>import("./c4Diagram-c82ee324-0kgbDzSX.js"),__vite__mapDeps([0,1]));return{id:J1,diagram:t}},rD={id:J1,detector:nD,loader:iD},oD=rD,Q1="flowchart",sD=(t,e)=>{var n,i;return((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"||((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},aD=async()=>{const{diagram:t}=await Qt(()=>import("./flowDiagram-962873e1-nda6-cW-.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11]));return{id:Q1,diagram:t}},lD={id:Q1,detector:sD,loader:aD},cD=lD,tb="flowchart-v2",uD=(t,e)=>{var n,i,r;return((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-d3"||((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)&&((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)},hD=async()=>{const{diagram:t}=await Qt(()=>import("./flowDiagram-v2-10567f5e-VU4AD-_e.js"),__vite__mapDeps([12,3,5,4,6,7,8,9,10,11]));return{id:tb,diagram:t}},fD={id:tb,detector:uD,loader:hD},dD=fD,eb="er",pD=t=>/^\s*erDiagram/.test(t),mD=async()=>{const{diagram:t}=await Qt(()=>import("./erDiagram-a72da23d-vgjFpPuP.js"),__vite__mapDeps([13,4,9,10,11]));return{id:eb,diagram:t}},gD={id:eb,detector:pD,loader:mD},yD=gD,nb="gitGraph",_D=t=>/^\s*gitGraph/.test(t),vD=async()=>{const{diagram:t}=await Qt(()=>import("./gitGraphDiagram-f715787e-0Bqa11gT.js"),__vite__mapDeps([]));return{id:nb,diagram:t}},bD={id:nb,detector:_D,loader:vD},xD=bD,ib="gantt",CD=t=>/^\s*gantt/.test(t),wD=async()=>{const{diagram:t}=await Qt(()=>import("./ganttDiagram-18b41033-KFKp07jc.js"),__vite__mapDeps([14,15,16]));return{id:ib,diagram:t}},TD={id:ib,detector:CD,loader:wD},SD=TD,rb="info",kD=t=>/^\s*info/.test(t),AD=async()=>{const{diagram:t}=await Qt(()=>import("./infoDiagram-111ef34f-cct2Q13Y.js"),__vite__mapDeps([]));return{id:rb,diagram:t}},ED={id:rb,detector:kD,loader:AD},ob="pie",$D=t=>/^\s*pie/.test(t),LD=async()=>{const{diagram:t}=await Qt(()=>import("./pieDiagram-0a51d72a-VPTxVOZB.js"),__vite__mapDeps([17,18,11,19,16,10]));return{id:ob,diagram:t}},OD={id:ob,detector:$D,loader:LD},sb="quadrantChart",MD=t=>/^\s*quadrantChart/.test(t),FD=async()=>{const{diagram:t}=await Qt(()=>import("./quadrantDiagram-31813e83-T7dXnRZu.js"),__vite__mapDeps([20,15,16]));return{id:sb,diagram:t}},BD={id:sb,detector:MD,loader:FD},ID=BD,ab="xychart",PD=t=>/^\s*xychart-beta/.test(t),RD=async()=>{const{diagram:t}=await Qt(()=>import("./xychartDiagram-ca967019-Jb-DkKGk.js"),__vite__mapDeps([21,8,16,19,15,9,10,11]));return{id:ab,diagram:t}},ND={id:ab,detector:PD,loader:RD},DD=ND,lb="requirement",jD=t=>/^\s*requirement(Diagram)?/.test(t),HD=async()=>{const{diagram:t}=await Qt(()=>import("./requirementDiagram-6d08cb88-VD3gHRhe.js"),__vite__mapDeps([22,4,9,10,11]));return{id:lb,diagram:t}},qD={id:lb,detector:jD,loader:HD},zD=qD,cb="sequence",VD=t=>/^\s*sequenceDiagram/.test(t),WD=async()=>{const{diagram:t}=await Qt(()=>import("./sequenceDiagram-62b9e65a-dBrfESyV.js"),__vite__mapDeps([23,1]));return{id:cb,diagram:t}},UD={id:cb,detector:VD,loader:WD},YD=UD,ub="class",GD=(t,e)=>{var n;return((n=e==null?void 0:e.class)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},KD=async()=>{const{diagram:t}=await Qt(()=>import("./classDiagram-5d49202d-d9I8momV.js"),__vite__mapDeps([24,25,4,9,10,11]));return{id:ub,diagram:t}},XD={id:ub,detector:GD,loader:KD},ZD=XD,hb="classDiagram",JD=(t,e)=>{var n;return/^\s*classDiagram/.test(t)&&((n=e==null?void 0:e.class)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},QD=async()=>{const{diagram:t}=await Qt(()=>import("./classDiagram-v2-5328fc73-o_oS6EAJ.js"),__vite__mapDeps([26,25,4,6,7,8,9,10,11]));return{id:hb,diagram:t}},t8={id:hb,detector:JD,loader:QD},e8=t8,fb="state",n8=(t,e)=>{var n;return((n=e==null?void 0:e.state)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},i8=async()=>{const{diagram:t}=await Qt(()=>import("./stateDiagram-03b49db1-LV6DDYic.js"),__vite__mapDeps([27,28,4,9,10,11]));return{id:fb,diagram:t}},r8={id:fb,detector:n8,loader:i8},o8=r8,db="stateDiagram",s8=(t,e)=>{var n;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((n=e==null?void 0:e.state)==null?void 0:n.defaultRenderer)==="dagre-wrapper")},a8=async()=>{const{diagram:t}=await Qt(()=>import("./stateDiagram-v2-a86a5ce4-iQ_8fA-L.js"),__vite__mapDeps([29,28,4,6,7,8,9,10,11]));return{id:db,diagram:t}},l8={id:db,detector:s8,loader:a8},c8=l8,pb="journey",u8=t=>/^\s*journey/.test(t),h8=async()=>{const{diagram:t}=await Qt(()=>import("./journeyDiagram-30ac10e6-7a2SGMP3.js"),__vite__mapDeps([30,1,18,11]));return{id:pb,diagram:t}},f8={id:pb,detector:u8,loader:h8},d8=f8,p8=function(t,e){for(let n of e)t.attr(n[0],n[1])},m8=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},mb=function(t,e,n,i){const r=m8(e,n,i);p8(t,r)},g8=function(t,e,n,i){const r=e.node().getBBox(),o=r.width,s=r.height;vt.info(`SVG bounds: ${o}x${s}`,r);let a=0,l=0;vt.info(`Graph bounds: ${a}x${l}`,t),a=o+n*2,l=s+n*2,vt.info(`Calculated bounds: ${a}x${l}`),mb(e,l,a,i);const c=`${r.x-n} ${r.y-n} ${r.width+2*n} ${r.height+2*n}`;e.attr("viewBox",c)},yl={},y8=(t,e,n)=>{let i="";return t in yl&&yl[t]?i=yl[t](n):vt.warn(`No theme found for ${t}`),` & {
font-family: ${n.fontFamily};
font-size: ${n.fontSize};
fill: ${n.textColor}
}
/* Classes common for multiple diagrams */
& .error-icon {
fill: ${n.errorBkgColor};
}
& .error-text {
fill: ${n.errorTextColor};
stroke: ${n.errorTextColor};
}
& .edge-thickness-normal {
stroke-width: 2px;
}
& .edge-thickness-thick {
stroke-width: 3.5px
}
& .edge-pattern-solid {
stroke-dasharray: 0;
}
& .edge-pattern-dashed{
stroke-dasharray: 3;
}
.edge-pattern-dotted {
stroke-dasharray: 2;
}
& .marker {
fill: ${n.lineColor};
stroke: ${n.lineColor};
}
& .marker.cross {
stroke: ${n.lineColor};
}
& svg {
font-family: ${n.fontFamily};
font-size: ${n.fontSize};
}
${i}
${e}
`},_8=(t,e)=>{e!==void 0&&(yl[t]=e)},v8=y8;let Fd="",Bd="",Id="";const Pd=t=>Us(t,ni()),b8=()=>{Fd="",Id="",Bd=""},x8=t=>{Fd=Pd(t).replace(/^\s+/g,"")},C8=()=>Fd,w8=t=>{Id=Pd(t).replace(/\n\s+/g,`
`)},T8=()=>Id,S8=t=>{Bd=Pd(t)},k8=()=>Bd,A8=Object.freeze(Object.defineProperty({__proto__:null,clear:b8,getAccDescription:T8,getAccTitle:C8,getDiagramTitle:k8,setAccDescription:w8,setAccTitle:x8,setDiagramTitle:S8},Symbol.toStringTag,{value:"Module"})),E8=vt,$8=cd,Rd=ni,DW=K1,jW=Fo,L8=t=>Us(t,Rd()),O8=g8,M8=()=>A8,ac={},lc=(t,e,n)=>{var i;if(ac[t])throw new Error(`Diagram ${t} already registered.`);ac[t]=e,n&&C1(t,n),_8(t,e.styles),(i=e.injectUtils)==null||i.call(e,E8,$8,Rd,L8,O8,M8(),()=>{})},Nd=t=>{if(t in ac)return ac[t];throw new F8(t)};class F8 extends Error{constructor(e){super(`Diagram ${e} not found.`)}}const B8=t=>{var e;const{securityLevel:n}=Rd();let i=mn("body");if(n==="sandbox"){const s=((e=mn(`#i${t}`).node())==null?void 0:e.contentDocument)??document;i=mn(s.body)}return i.select(`#${t}`)},I8=(t,e,n)=>{vt.debug(`renering svg for syntax error
`);const i=B8(e);i.attr("viewBox","0 0 2412 512"),mb(i,100,512,!0);const r=i.append("g");r.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),r.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),r.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),r.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),r.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),r.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),r.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),r.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${n}`)},gb={draw:I8},P8=gb,R8={db:{},renderer:gb,parser:{parser:{yy:{}},parse:()=>{}}},N8=R8,yb="flowchart-elk",D8=(t,e)=>{var n;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="elk")},j8=async()=>{const{diagram:t}=await Qt(()=>import("./flowchart-elk-definition-b97a4072-mWsI5guh.js"),__vite__mapDeps([31,3,7,8,9,10,11]));return{id:yb,diagram:t}},H8={id:yb,detector:D8,loader:j8},q8=H8,_b="timeline",z8=t=>/^\s*timeline/.test(t),V8=async()=>{const{diagram:t}=await Qt(()=>import("./timeline-definition-54d0bf3a-PHsL3qfr.js"),__vite__mapDeps([32,18,11]));return{id:_b,diagram:t}},W8={id:_b,detector:z8,loader:V8},U8=W8,vb="mindmap",Y8=t=>/^\s*mindmap/.test(t),G8=async()=>{const{diagram:t}=await Qt(()=>import("./mindmap-definition-83493066-ARqmEEQ9.js"),__vite__mapDeps([33,8]));return{id:vb,diagram:t}},K8={id:vb,detector:Y8,loader:G8},X8=K8,bb="sankey",Z8=t=>/^\s*sankey-beta/.test(t),J8=async()=>{const{diagram:t}=await Qt(()=>import("./sankeyDiagram-ff1543cb--HN3sqYB.js"),__vite__mapDeps([34,19,16]));return{id:bb,diagram:t}},Q8={id:bb,detector:Z8,loader:J8},t9=Q8;let Qg=!1;const Dd=()=>{Qg||(Qg=!0,lc("error",N8,t=>t.toLowerCase().trim()==="error"),lc("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),x1(oD,e8,ZD,yD,SD,ED,OD,zD,YD,q8,dD,cD,X8,U8,xD,c8,o8,d8,ID,t9,DD))};class xb{constructor(e,n={}){this.text=e,this.metadata=n,this.type="graph",this.text=FN(e),this.text+=`
`;const i=ni();try{this.type=zc(e,i)}catch(o){this.type="error",this.detectError=o}const r=Nd(this.type);vt.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var e,n,i,r,o;if(this.detectError)throw this.detectError;(n=(e=this.db).clear)==null||n.call(e);const s=ni();(i=this.init)==null||i.call(this,s),this.metadata.title&&((o=(r=this.db).setDiagramTitle)==null||o.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(e,n){await this.renderer.draw(this.text,e,n,this)}getParser(){return this.parser}getType(){return this.type}}const e9=async(t,e={})=>{const n=zc(t,ni());try{Nd(n)}catch{const r=pP(n);if(!r)throw new b1(`Diagram ${n} not found.`);const{id:o,diagram:s}=await r();lc(o,s)}return new xb(t,e)};let af=[];const HW=t=>{af.push(t)},n9=()=>{af.forEach(t=>{t()}),af=[]};var i9=k1(Object.keys,Object);const r9=i9;var o9=Object.prototype,s9=o9.hasOwnProperty;function a9(t){if(!Yc(t))return r9(t);var e=[];for(var n in Object(t))s9.call(t,n)&&n!="constructor"&&e.push(n);return e}var l9=io(ri,"DataView");const lf=l9;var c9=io(ri,"Promise");const cf=c9;var u9=io(ri,"Set");const uf=u9;var h9=io(ri,"WeakMap");const hf=h9;var t0="[object Map]",f9="[object Object]",e0="[object Promise]",n0="[object Set]",i0="[object WeakMap]",r0="[object DataView]",d9=no(lf),p9=no(Gs),m9=no(cf),g9=no(uf),y9=no(hf),wr=qo;(lf&&wr(new lf(new ArrayBuffer(1)))!=r0||Gs&&wr(new Gs)!=t0||cf&&wr(cf.resolve())!=e0||uf&&wr(new uf)!=n0||hf&&wr(new hf)!=i0)&&(wr=function(t){var e=qo(t),n=e==f9?t.constructor:void 0,i=n?no(n):"";if(i)switch(i){case d9:return r0;case p9:return t0;case m9:return e0;case g9:return n0;case y9:return i0}return e});const _9=wr;var v9="[object Map]",b9="[object Set]",x9=Object.prototype,C9=x9.hasOwnProperty;function qu(t){if(t==null)return!0;if(Gc(t)&&(rc(t)||typeof t=="string"||typeof t.splice=="function"||kd(t)||Ad(t)||ic(t)))return!t.length;var e=_9(t);if(e==v9||e==b9)return!t.size;if(Yc(t))return!a9(t).length;for(var n in t)if(C9.call(t,n))return!1;return!0}const w9="graphics-document document";function T9(t,e){t.attr("role",w9),e!==""&&t.attr("aria-roledescription",e)}function S9(t,e,n,i){if(t.insert!==void 0){if(n){const r=`chart-desc-${i}`;t.attr("aria-describedby",r),t.insert("desc",":first-child").attr("id",r).text(n)}if(e){const r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}const k9=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Cb(t){return typeof t>"u"||t===null}function A9(t){return typeof t=="object"&&t!==null}function E9(t){return Array.isArray(t)?t:Cb(t)?[]:[t]}function $9(t,e){var n,i,r,o;if(e)for(o=Object.keys(e),n=0,i=o.length;n<i;n+=1)r=o[n],t[r]=e[r];return t}function L9(t,e){var n="",i;for(i=0;i<e;i+=1)n+=t;return n}function O9(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var M9=Cb,F9=A9,B9=E9,I9=L9,P9=O9,R9=$9,je={isNothing:M9,isObject:F9,toArray:B9,repeat:I9,isNegativeZero:P9,extend:R9};function wb(t,e){var n="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+=`
`+t.mark.snippet),i+" "+n):i}function Zs(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=wb(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Zs.prototype=Object.create(Error.prototype);Zs.prototype.constructor=Zs;Zs.prototype.toString=function(e){return this.name+": "+wb(this,e)};var yi=Zs;function zu(t,e,n,i,r){var o="",s="",a=Math.floor(r/2)-1;return i-e>a&&(o=" ... ",e=i-a+o.length),n-i>a&&(s=" ...",n=i+a-s.length),{str:o+t.slice(e,n).replace(/\t/g,"→")+s,pos:i-e+o.length}}function Vu(t,e){return je.repeat(" ",e-t.length)+t}function N9(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var n=/\r?\n|\r|\0/g,i=[0],r=[],o,s=-1;o=n.exec(t.buffer);)r.push(o.index),i.push(o.index+o[0].length),t.position<=o.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);var a="",l,c,u=Math.min(t.line+e.linesAfter,r.length).toString().length,h=e.maxLength-(e.indent+u+3);for(l=1;l<=e.linesBefore&&!(s-l<0);l++)c=zu(t.buffer,i[s-l],r[s-l],t.position-(i[s]-i[s-l]),h),a=je.repeat(" ",e.indent)+Vu((t.line-l+1).toString(),u)+" | "+c.str+`
`+a;for(c=zu(t.buffer,i[s],r[s],t.position,h),a+=je.repeat(" ",e.indent)+Vu((t.line+1).toString(),u)+" | "+c.str+`
`,a+=je.repeat("-",e.indent+u+3+c.pos)+`^
`,l=1;l<=e.linesAfter&&!(s+l>=r.length);l++)c=zu(t.buffer,i[s+l],r[s+l],t.position-(i[s]-i[s+l]),h),a+=je.repeat(" ",e.indent)+Vu((t.line+l+1).toString(),u)+" | "+c.str+`
`;return a.replace(/\n$/,"")}var D9=N9,j9=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],H9=["scalar","sequence","mapping"];function q9(t){var e={};return t!==null&&Object.keys(t).forEach(function(n){t[n].forEach(function(i){e[String(i)]=n})}),e}function z9(t,e){if(e=e||{},Object.keys(e).forEach(function(n){if(j9.indexOf(n)===-1)throw new yi('Unknown option "'+n+'" 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(n){return n},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=q9(e.styleAliases||null),H9.indexOf(this.kind)===-1)throw new yi('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var Pe=z9;function o0(t,e){var n=[];return t[e].forEach(function(i){var r=n.length;n.forEach(function(o,s){o.tag===i.tag&&o.kind===i.kind&&o.multi===i.multi&&(r=s)}),n[r]=i}),n}function V9(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,n;function i(r){r.multi?(t.multi[r.kind].push(r),t.multi.fallback.push(r)):t[r.kind][r.tag]=t.fallback[r.tag]=r}for(e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(i);return t}function ff(t){return this.extend(t)}ff.prototype.extend=function(e){var n=[],i=[];if(e instanceof Pe)i.push(e);else if(Array.isArray(e))i=i.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(n=n.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit));else throw new yi("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");n.forEach(function(o){if(!(o instanceof Pe))throw new yi("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(o.loadKind&&o.loadKind!=="scalar")throw new yi("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(o.multi)throw new yi("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(o){if(!(o instanceof Pe))throw new yi("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(ff.prototype);return r.implicit=(this.implicit||[]).concat(n),r.explicit=(this.explicit||[]).concat(i),r.compiledImplicit=o0(r,"implicit"),r.compiledExplicit=o0(r,"explicit"),r.compiledTypeMap=V9(r.compiledImplicit,r.compiledExplicit),r};var W9=ff,U9=new Pe("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),Y9=new Pe("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),G9=new Pe("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),K9=new W9({explicit:[U9,Y9,G9]});function X9(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function Z9(){return null}function J9(t){return t===null}var Q9=new Pe("tag:yaml.org,2002:null",{kind:"scalar",resolve:X9,construct:Z9,predicate:J9,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function tj(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function ej(t){return t==="true"||t==="True"||t==="TRUE"}function nj(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var ij=new Pe("tag:yaml.org,2002:bool",{kind:"scalar",resolve:tj,construct:ej,predicate:nj,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function rj(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function oj(t){return 48<=t&&t<=55}function sj(t){return 48<=t&&t<=57}function aj(t){if(t===null)return!1;var e=t.length,n=0,i=!1,r;if(!e)return!1;if(r=t[n],(r==="-"||r==="+")&&(r=t[++n]),r==="0"){if(n+1===e)return!0;if(r=t[++n],r==="b"){for(n++;n<e;n++)if(r=t[n],r!=="_"){if(r!=="0"&&r!=="1")return!1;i=!0}return i&&r!=="_"}if(r==="x"){for(n++;n<e;n++)if(r=t[n],r!=="_"){if(!rj(t.charCodeAt(n)))return!1;i=!0}return i&&r!=="_"}if(r==="o"){for(n++;n<e;n++)if(r=t[n],r!=="_"){if(!oj(t.charCodeAt(n)))return!1;i=!0}return i&&r!=="_"}}if(r==="_")return!1;for(;n<e;n++)if(r=t[n],r!=="_"){if(!sj(t.charCodeAt(n)))return!1;i=!0}return!(!i||r==="_")}function lj(t){var e=t,n=1,i;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),i=e[0],(i==="-"||i==="+")&&(i==="-"&&(n=-1),e=e.slice(1),i=e[0]),e==="0")return 0;if(i==="0"){if(e[1]==="b")return n*parseInt(e.slice(2),2);if(e[1]==="x")return n*parseInt(e.slice(2),16);if(e[1]==="o")return n*parseInt(e.slice(2),8)}return n*parseInt(e,10)}function cj(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!je.isNegativeZero(t)}var uj=new Pe("tag:yaml.org,2002:int",{kind:"scalar",resolve:aj,construct:lj,predicate:cj,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),hj=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function fj(t){return!(t===null||!hj.test(t)||t[t.length-1]==="_")}function dj(t){var e,n;return e=t.replace(/_/g,"").toLowerCase(),n=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:n*parseFloat(e,10)}var pj=/^[-+]?[0-9]+e/;function mj(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(je.isNegativeZero(t))return"-0.0";return n=t.toString(10),pj.test(n)?n.replace("e",".e"):n}function gj(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||je.isNegativeZero(t))}var yj=new Pe("tag:yaml.org,2002:float",{kind:"scalar",resolve:fj,construct:dj,predicate:gj,represent:mj,defaultStyle:"lowercase"}),Tb=K9.extend({implicit:[Q9,ij,uj,yj]}),_j=Tb,Sb=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),kb=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]))?))?$");function vj(t){return t===null?!1:Sb.exec(t)!==null||kb.exec(t)!==null}function bj(t){var e,n,i,r,o,s,a,l=0,c=null,u,h,f;if(e=Sb.exec(t),e===null&&(e=kb.exec(t)),e===null)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(o=+e[4],s=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],h=+(e[11]||0),c=(u*60+h)*6e4,e[9]==="-"&&(c=-c)),f=new Date(Date.UTC(n,i,r,o,s,a,l)),c&&f.setTime(f.getTime()-c),f}function xj(t){return t.toISOString()}var Cj=new Pe("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:vj,construct:bj,instanceOf:Date,represent:xj});function wj(t){return t==="<<"||t===null}var Tj=new Pe("tag:yaml.org,2002:merge",{kind:"scalar",resolve:wj}),jd=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function Sj(t){if(t===null)return!1;var e,n,i=0,r=t.length,o=jd;for(n=0;n<r;n++)if(e=o.indexOf(t.charAt(n)),!(e>64)){if(e<0)return!1;i+=6}return i%8===0}function kj(t){var e,n,i=t.replace(/[\r\n=]/g,""),r=i.length,o=jd,s=0,a=[];for(e=0;e<r;e++)e%4===0&&e&&(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)),s=s<<6|o.indexOf(i.charAt(e));return n=r%4*6,n===0?(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)):n===18?(a.push(s>>10&255),a.push(s>>2&255)):n===12&&a.push(s>>4&255),new Uint8Array(a)}function Aj(t){var e="",n=0,i,r,o=t.length,s=jd;for(i=0;i<o;i++)i%3===0&&i&&(e+=s[n>>18&63],e+=s[n>>12&63],e+=s[n>>6&63],e+=s[n&63]),n=(n<<8)+t[i];return r=o%3,r===0?(e+=s[n>>18&63],e+=s[n>>12&63],e+=s[n>>6&63],e+=s[n&63]):r===2?(e+=s[n>>10&63],e+=s[n>>4&63],e+=s[n<<2&63],e+=s[64]):r===1&&(e+=s[n>>2&63],e+=s[n<<4&63],e+=s[64],e+=s[64]),e}function Ej(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var $j=new Pe("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Sj,construct:kj,predicate:Ej,represent:Aj}),Lj=Object.prototype.hasOwnProperty,Oj=Object.prototype.toString;function Mj(t){if(t===null)return!0;var e=[],n,i,r,o,s,a=t;for(n=0,i=a.length;n<i;n+=1){if(r=a[n],s=!1,Oj.call(r)!=="[object Object]")return!1;for(o in r)if(Lj.call(r,o))if(!s)s=!0;else return!1;if(!s)return!1;if(e.indexOf(o)===-1)e.push(o);else return!1}return!0}function Fj(t){return t!==null?t:[]}var Bj=new Pe("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Mj,construct:Fj}),Ij=Object.prototype.toString;function Pj(t){if(t===null)return!0;var e,n,i,r,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1){if(i=s[e],Ij.call(i)!=="[object Object]"||(r=Object.keys(i),r.length!==1))return!1;o[e]=[r[0],i[r[0]]]}return!0}function Rj(t){if(t===null)return[];var e,n,i,r,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1)i=s[e],r=Object.keys(i),o[e]=[r[0],i[r[0]]];return o}var Nj=new Pe("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Pj,construct:Rj}),Dj=Object.prototype.hasOwnProperty;function jj(t){if(t===null)return!0;var e,n=t;for(e in n)if(Dj.call(n,e)&&n[e]!==null)return!1;return!0}function Hj(t){return t!==null?t:{}}var qj=new Pe("tag:yaml.org,2002:set",{kind:"mapping",resolve:jj,construct:Hj}),zj=_j.extend({implicit:[Cj,Tj],explicit:[$j,Bj,Nj,qj]}),lr=Object.prototype.hasOwnProperty,cc=1,Ab=2,Eb=3,uc=4,Wu=1,Vj=2,s0=3,Wj=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Uj=/[\x85\u2028\u2029]/,Yj=/[,\[\]\{\}]/,$b=/^(?:!|!!|![a-z\-]+!)$/i,Lb=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function a0(t){return Object.prototype.toString.call(t)}function Jn(t){return t===10||t===13}function qr(t){return t===9||t===32}function Xe(t){return t===9||t===32||t===10||t===13}function yo(t){return t===44||t===91||t===93||t===123||t===125}function Gj(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function Kj(t){return t===120?2:t===117?4:t===85?8:0}function Xj(t){return 48<=t&&t<=57?t-48:-1}function l0(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?" ":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}function Zj(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var Ob=new Array(256),Mb=new Array(256);for(var ho=0;ho<256;ho++)Ob[ho]=l0(ho)?1:0,Mb[ho]=l0(ho);function Jj(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||zj,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 Fb(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=D9(n),new yi(e,n)}function mt(t,e){throw Fb(t,e)}function hc(t,e){t.onWarning&&t.onWarning.call(null,Fb(t,e))}var c0={YAML:function(e,n,i){var r,o,s;e.version!==null&&mt(e,"duplication of %YAML directive"),i.length!==1&&mt(e,"YAML directive accepts exactly one argument"),r=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),r===null&&mt(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),s=parseInt(r[2],10),o!==1&&mt(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&hc(e,"unsupported YAML version of the document")},TAG:function(e,n,i){var r,o;i.length!==2&&mt(e,"TAG directive accepts exactly two arguments"),r=i[0],o=i[1],$b.test(r)||mt(e,"ill-formed tag handle (first argument) of the TAG directive"),lr.call(e.tagMap,r)&&mt(e,'there is a previously declared suffix for "'+r+'" tag handle'),Lb.test(o)||mt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{mt(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function tr(t,e,n,i){var r,o,s,a;if(e<n){if(a=t.input.slice(e,n),i)for(r=0,o=a.length;r<o;r+=1)s=a.charCodeAt(r),s===9||32<=s&&s<=1114111||mt(t,"expected valid JSON character");else Wj.test(a)&&mt(t,"the stream contains non-printable characters");t.result+=a}}function u0(t,e,n,i){var r,o,s,a;for(je.isObject(n)||mt(t,"cannot merge mappings; the provided source object is unacceptable"),r=Object.keys(n),s=0,a=r.length;s<a;s+=1)o=r[s],lr.call(e,o)||(e[o]=n[o],i[o]=!0)}function _o(t,e,n,i,r,o,s,a,l){var c,u;if(Array.isArray(r))for(r=Array.prototype.slice.call(r),c=0,u=r.length;c<u;c+=1)Array.isArray(r[c])&&mt(t,"nested arrays are not supported inside keys"),typeof r=="object"&&a0(r[c])==="[object Object]"&&(r[c]="[object Object]");if(typeof r=="object"&&a0(r)==="[object Object]"&&(r="[object Object]"),r=String(r),e===null&&(e={}),i==="tag:yaml.org,2002:merge")if(Array.isArray(o))for(c=0,u=o.length;c<u;c+=1)u0(t,e,o[c],n);else u0(t,e,o,n);else!t.json&&!lr.call(n,r)&&lr.call(e,r)&&(t.line=s||t.line,t.lineStart=a||t.lineStart,t.position=l||t.position,mt(t,"duplicated mapping key")),r==="__proto__"?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[r]=o,delete n[r];return e}function Hd(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):mt(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function me(t,e,n){for(var i=0,r=t.input.charCodeAt(t.position);r!==0;){for(;qr(r);)r===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),r=t.input.charCodeAt(++t.position);if(e&&r===35)do r=t.input.charCodeAt(++t.position);while(r!==10&&r!==13&&r!==0);if(Jn(r))for(Hd(t),r=t.input.charCodeAt(t.position),i++,t.lineIndent=0;r===32;)t.lineIndent++,r=t.input.charCodeAt(++t.position);else break}return n!==-1&&i!==0&&t.lineIndent<n&&hc(t,"deficient indentation"),i}function Jc(t){var e=t.position,n;return n=t.input.charCodeAt(e),!!((n===45||n===46)&&n===t.input.charCodeAt(e+1)&&n===t.input.charCodeAt(e+2)&&(e+=3,n=t.input.charCodeAt(e),n===0||Xe(n)))}function qd(t,e){e===1?t.result+=" ":e>1&&(t.result+=je.repeat(`
`,e-1))}function Qj(t,e,n){var i,r,o,s,a,l,c,u,h=t.kind,f=t.result,d;if(d=t.input.charCodeAt(t.position),Xe(d)||yo(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96||(d===63||d===45)&&(r=t.input.charCodeAt(t.position+1),Xe(r)||n&&yo(r)))return!1;for(t.kind="scalar",t.result="",o=s=t.position,a=!1;d!==0;){if(d===58){if(r=t.input.charCodeAt(t.position+1),Xe(r)||n&&yo(r))break}else if(d===35){if(i=t.input.charCodeAt(t.position-1),Xe(i))break}else{if(t.position===t.lineStart&&Jc(t)||n&&yo(d))break;if(Jn(d))if(l=t.line,c=t.lineStart,u=t.lineIndent,me(t,!1,-1),t.lineIndent>=e){a=!0,d=t.input.charCodeAt(t.position);continue}else{t.position=s,t.line=l,t.lineStart=c,t.lineIndent=u;break}}a&&(tr(t,o,s,!1),qd(t,t.line-l),o=s=t.position,a=!1),qr(d)||(s=t.position+1),d=t.input.charCodeAt(++t.position)}return tr(t,o,s,!1),t.result?!0:(t.kind=h,t.result=f,!1)}function t7(t,e){var n,i,r;if(n=t.input.charCodeAt(t.position),n!==39)return!1;for(t.kind="scalar",t.result="",t.position++,i=r=t.position;(n=t.input.charCodeAt(t.position))!==0;)if(n===39)if(tr(t,i,t.position,!0),n=t.input.charCodeAt(++t.position),n===39)i=t.position,t.position++,r=t.position;else return!0;else Jn(n)?(tr(t,i,r,!0),qd(t,me(t,!1,e)),i=r=t.position):t.position===t.lineStart&&Jc(t)?mt(t,"unexpected end of the document within a single quoted scalar"):(t.position++,r=t.position);mt(t,"unexpected end of the stream within a single quoted scalar")}function e7(t,e){var n,i,r,o,s,a;if(a=t.input.charCodeAt(t.position),a!==34)return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;(a=t.input.charCodeAt(t.position))!==0;){if(a===34)return tr(t,n,t.position,!0),t.position++,!0;if(a===92){if(tr(t,n,t.position,!0),a=t.input.charCodeAt(++t.position),Jn(a))me(t,!1,e);else if(a<256&&Ob[a])t.result+=Mb[a],t.position++;else if((s=Kj(a))>0){for(r=s,o=0;r>0;r--)a=t.input.charCodeAt(++t.position),(s=Gj(a))>=0?o=(o<<4)+s:mt(t,"expected hexadecimal character");t.result+=Zj(o),t.position++}else mt(t,"unknown escape sequence");n=i=t.position}else Jn(a)?(tr(t,n,i,!0),qd(t,me(t,!1,e)),n=i=t.position):t.position===t.lineStart&&Jc(t)?mt(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}mt(t,"unexpected end of the stream within a double quoted scalar")}function n7(t,e){var n=!0,i,r,o,s=t.tag,a,l=t.anchor,c,u,h,f,d,p=Object.create(null),g,y,b,v;if(v=t.input.charCodeAt(t.position),v===91)u=93,d=!1,a=[];else if(v===123)u=125,d=!0,a={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=a),v=t.input.charCodeAt(++t.position);v!==0;){if(me(t,!0,e),v=t.input.charCodeAt(t.position),v===u)return t.position++,t.tag=s,t.anchor=l,t.kind=d?"mapping":"sequence",t.result=a,!0;n?v===44&&mt(t,"expected the node content, but found ','"):mt(t,"missed comma between flow collection entries"),y=g=b=null,h=f=!1,v===63&&(c=t.input.charCodeAt(t.position+1),Xe(c)&&(h=f=!0,t.position++,me(t,!0,e))),i=t.line,r=t.lineStart,o=t.position,Io(t,e,cc,!1,!0),y=t.tag,g=t.result,me(t,!0,e),v=t.input.charCodeAt(t.position),(f||t.line===i)&&v===58&&(h=!0,v=t.input.charCodeAt(++t.position),me(t,!0,e),Io(t,e,cc,!1,!0),b=t.result),d?_o(t,a,p,y,g,b,i,r,o):h?a.push(_o(t,null,p,y,g,b,i,r,o)):a.push(g),me(t,!0,e),v=t.input.charCodeAt(t.position),v===44?(n=!0,v=t.input.charCodeAt(++t.position)):n=!1}mt(t,"unexpected end of the stream within a flow collection")}function i7(t,e){var n,i,r=Wu,o=!1,s=!1,a=e,l=0,c=!1,u,h;if(h=t.input.charCodeAt(t.position),h===124)i=!1;else if(h===62)i=!0;else return!1;for(t.kind="scalar",t.result="";h!==0;)if(h=t.input.charCodeAt(++t.position),h===43||h===45)Wu===r?r=h===43?s0:Vj:mt(t,"repeat of a chomping mode identifier");else if((u=Xj(h))>=0)u===0?mt(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?mt(t,"repeat of an indentation width identifier"):(a=e+u-1,s=!0);else break;if(qr(h)){do h=t.input.charCodeAt(++t.position);while(qr(h));if(h===35)do h=t.input.charCodeAt(++t.position);while(!Jn(h)&&h!==0)}for(;h!==0;){for(Hd(t),t.lineIndent=0,h=t.input.charCodeAt(t.position);(!s||t.lineIndent<a)&&h===32;)t.lineIndent++,h=t.input.charCodeAt(++t.position);if(!s&&t.lineIndent>a&&(a=t.lineIndent),Jn(h)){l++;continue}if(t.lineIndent<a){r===s0?t.result+=je.repeat(`
`,o?1+l:l):r===Wu&&o&&(t.result+=`
`);break}for(i?qr(h)?(c=!0,t.result+=je.repeat(`
`,o?1+l:l)):c?(c=!1,t.result+=je.repeat(`
`,l+1)):l===0?o&&(t.result+=" "):t.result+=je.repeat(`
`,l):t.result+=je.repeat(`
`,o?1+l:l),o=!0,s=!0,l=0,n=t.position;!Jn(h)&&h!==0;)h=t.input.charCodeAt(++t.position);tr(t,n,t.position,!1)}return!0}function h0(t,e){var n,i=t.tag,r=t.anchor,o=[],s,a=!1,l;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=o),l=t.input.charCodeAt(t.position);l!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,mt(t,"tab characters must not be used in indentation")),!(l!==45||(s=t.input.charCodeAt(t.position+1),!Xe(s))));){if(a=!0,t.position++,me(t,!0,-1)&&t.lineIndent<=e){o.push(null),l=t.input.charCodeAt(t.position);continue}if(n=t.line,Io(t,e,Eb,!1,!0),o.push(t.result),me(t,!0,-1),l=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&l!==0)mt(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return a?(t.tag=i,t.anchor=r,t.kind="sequence",t.result=o,!0):!1}function r7(t,e,n){var i,r,o,s,a,l,c=t.tag,u=t.anchor,h={},f=Object.create(null),d=null,p=null,g=null,y=!1,b=!1,v;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=h),v=t.input.charCodeAt(t.position);v!==0;){if(!y&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,mt(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),o=t.line,(v===63||v===58)&&Xe(i))v===63?(y&&(_o(t,h,f,d,p,null,s,a,l),d=p=g=null),b=!0,y=!0,r=!0):y?(y=!1,r=!0):mt(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,v=i;else{if(s=t.line,a=t.lineStart,l=t.position,!Io(t,n,Ab,!1,!0))break;if(t.line===o){for(v=t.input.charCodeAt(t.position);qr(v);)v=t.input.charCodeAt(++t.position);if(v===58)v=t.input.charCodeAt(++t.position),Xe(v)||mt(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(_o(t,h,f,d,p,null,s,a,l),d=p=g=null),b=!0,y=!1,r=!1,d=t.tag,p=t.result;else if(b)mt(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=c,t.anchor=u,!0}else if(b)mt(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=c,t.anchor=u,!0}if((t.line===o||t.lineIndent>e)&&(y&&(s=t.line,a=t.lineStart,l=t.position),Io(t,e,uc,!0,r)&&(y?p=t.result:g=t.result),y||(_o(t,h,f,d,p,g,s,a,l),d=p=g=null),me(t,!0,-1),v=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&v!==0)mt(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&_o(t,h,f,d,p,null,s,a,l),b&&(t.tag=c,t.anchor=u,t.kind="mapping",t.result=h),b}function o7(t){var e,n=!1,i=!1,r,o,s;if(s=t.input.charCodeAt(t.position),s!==33)return!1;if(t.tag!==null&&mt(t,"duplication of a tag property"),s=t.input.charCodeAt(++t.position),s===60?(n=!0,s=t.input.charCodeAt(++t.position)):s===33?(i=!0,r="!!",s=t.input.charCodeAt(++t.position)):r="!",e=t.position,n){do s=t.input.charCodeAt(++t.position);while(s!==0&&s!==62);t.position<t.length?(o=t.input.slice(e,t.position),s=t.input.charCodeAt(++t.position)):mt(t,"unexpected end of the stream within a verbatim tag")}else{for(;s!==0&&!Xe(s);)s===33&&(i?mt(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),$b.test(r)||mt(t,"named tag handle cannot contain such characters"),i=!0,e=t.position+1)),s=t.input.charCodeAt(++t.position);o=t.input.slice(e,t.position),Yj.test(o)&&mt(t,"tag suffix cannot contain flow indicator characters")}o&&!Lb.test(o)&&mt(t,"tag name cannot contain such characters: "+o);try{o=decodeURIComponent(o)}catch{mt(t,"tag name is malformed: "+o)}return n?t.tag=o:lr.call(t.tagMap,r)?t.tag=t.tagMap[r]+o:r==="!"?t.tag="!"+o:r==="!!"?t.tag="tag:yaml.org,2002:"+o:mt(t,'undeclared tag handle "'+r+'"'),!0}function s7(t){var e,n;if(n=t.input.charCodeAt(t.position),n!==38)return!1;for(t.anchor!==null&&mt(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;n!==0&&!Xe(n)&&!yo(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&mt(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function a7(t){var e,n,i;if(i=t.input.charCodeAt(t.position),i!==42)return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;i!==0&&!Xe(i)&&!yo(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&mt(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),lr.call(t.anchorMap,n)||mt(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],me(t,!0,-1),!0}function Io(t,e,n,i,r){var o,s,a,l=1,c=!1,u=!1,h,f,d,p,g,y;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=s=a=uc===n||Eb===n,i&&me(t,!0,-1)&&(c=!0,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)),l===1)for(;o7(t)||s7(t);)me(t,!0,-1)?(c=!0,a=o,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)):a=!1;if(a&&(a=c||r),(l===1||uc===n)&&(cc===n||Ab===n?g=e:g=e+1,y=t.position-t.lineStart,l===1?a&&(h0(t,y)||r7(t,y,g))||n7(t,g)?u=!0:(s&&i7(t,g)||t7(t,g)||e7(t,g)?u=!0:a7(t)?(u=!0,(t.tag!==null||t.anchor!==null)&&mt(t,"alias node should not have any properties")):Qj(t,g,cc===n)&&(u=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):l===0&&(u=a&&h0(t,y))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&mt(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),h=0,f=t.implicitTypes.length;h<f;h+=1)if(p=t.implicitTypes[h],p.resolve(t.result)){t.result=p.construct(t.result),t.tag=p.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(lr.call(t.typeMap[t.kind||"fallback"],t.tag))p=t.typeMap[t.kind||"fallback"][t.tag];else for(p=null,d=t.typeMap.multi[t.kind||"fallback"],h=0,f=d.length;h<f;h+=1)if(t.tag.slice(0,d[h].tag.length)===d[h].tag){p=d[h];break}p||mt(t,"unknown tag !<"+t.tag+">"),t.result!==null&&p.kind!==t.kind&&mt(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+p.kind+'", not "'+t.kind+'"'),p.resolve(t.result,t.tag)?(t.result=p.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):mt(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||u}function l7(t){var e=t.position,n,i,r,o=!1,s;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(s=t.input.charCodeAt(t.position))!==0&&(me(t,!0,-1),s=t.input.charCodeAt(t.position),!(t.lineIndent>0||s!==37));){for(o=!0,s=t.input.charCodeAt(++t.position),n=t.position;s!==0&&!Xe(s);)s=t.input.charCodeAt(++t.position);for(i=t.input.slice(n,t.position),r=[],i.length<1&&mt(t,"directive name must not be less than one character in length");s!==0;){for(;qr(s);)s=t.input.charCodeAt(++t.position);if(s===35){do s=t.input.charCodeAt(++t.position);while(s!==0&&!Jn(s));break}if(Jn(s))break;for(n=t.position;s!==0&&!Xe(s);)s=t.input.charCodeAt(++t.position);r.push(t.input.slice(n,t.position))}s!==0&&Hd(t),lr.call(c0,i)?c0[i](t,i,r):hc(t,'unknown document directive "'+i+'"')}if(me(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,me(t,!0,-1)):o&&mt(t,"directives end mark is expected"),Io(t,t.lineIndent-1,uc,!1,!0),me(t,!0,-1),t.checkLineBreaks&&Uj.test(t.input.slice(e,t.position))&&hc(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Jc(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,me(t,!0,-1));return}if(t.position<t.length-1)mt(t,"end of the stream or a document separator is expected");else return}function Bb(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var n=new Jj(t,e),i=t.indexOf("\0");for(i!==-1&&(n.position=i,mt(n,"null byte is not allowed in input")),n.input+="\0";n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)l7(n);return n.documents}function c7(t,e,n){e!==null&&typeof e=="object"&&typeof n>"u"&&(n=e,e=null);var i=Bb(t,n);if(typeof e!="function")return i;for(var r=0,o=i.length;r<o;r+=1)e(i[r])}function u7(t,e){var n=Bb(t,e);if(n.length!==0){if(n.length===1)return n[0];throw new yi("expected a single document in the stream, but found more")}}var h7=c7,f7=u7,d7={loadAll:h7,load:f7},p7=Tb,m7=d7.load;function g7(t){const e=t.match(v1);if(!e)return{text:t,metadata:{}};let n=m7(e[1],{schema:p7})??{};n=typeof n=="object"&&!Array.isArray(n)?n:{};const i={};return n.displayMode&&(i.displayMode=n.displayMode.toString()),n.title&&(i.title=n.title.toString()),n.config&&(i.config=n.config),{text:t.slice(e[0].length),metadata:i}}const y7=t=>t.replace(/\r\n?/g,`
`).replace(/<(\w+)([^>]*)>/g,(e,n,i)=>"<"+n+i.replace(/="([^"]*)"/g,"='$1'")+">"),_7=t=>{const{text:e,metadata:n}=g7(t),{displayMode:i,title:r,config:o={}}=n;return i&&(o.gantt||(o.gantt={}),o.gantt.displayMode=i),{title:r,config:o,text:e}},v7=t=>{const e=Ss.detectInit(t)??{},n=Ss.detectDirective(t,"wrap");return Array.isArray(n)?e.wrap=n.some(({type:i})=>{}):(n==null?void 0:n.type)==="wrap"&&(e.wrap=!0),{text:fN(t),directive:e}};function Ib(t){const e=y7(t),n=_7(e),i=v7(n.text),r=j1(n.config,i.directive);return t=k9(i.text),{code:t,title:n.title,config:r}}const b7=5e4,x7="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",C7="sandbox",w7="loose",T7="http://www.w3.org/2000/svg",S7="http://www.w3.org/1999/xlink",k7="http://www.w3.org/1999/xhtml",A7="100%",E7="100%",$7="border:0;margin:0;",L7="margin:0",O7="allow-top-navigation-by-user-activation allow-popups",M7='The "iframe" tag is not supported by your browser.',F7=["foreignobject"],B7=["dominant-baseline"];function Pb(t){const e=Ib(t);return sc(),QN(e.config??{}),e}async function I7(t,e){Dd(),t=Pb(t).code;try{await zd(t)}catch(n){if(e!=null&&e.suppressErrors)return!1;throw n}return!0}const f0=(t,e,n=[])=>`
.${t} ${e} { ${n.join(" !important; ")} !important; }`,P7=(t,e={})=>{var n;let i="";if(t.themeCSS!==void 0&&(i+=`
${t.themeCSS}`),t.fontFamily!==void 0&&(i+=`
:root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(i+=`
:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!qu(e)){const a=t.htmlLabels||((n=t.flowchart)==null?void 0:n.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const l in e){const c=e[l];qu(c.styles)||a.forEach(u=>{i+=f0(c.id,u,c.styles)}),qu(c.textStyles)||(i+=f0(c.id,"tspan",c.textStyles))}}return i},R7=(t,e,n,i)=>{const r=P7(t,n),o=v8(e,r,t.themeVariables);return sf(YN(`${i}{${o}}`),KN)},N7=(t="",e,n)=>{let i=t;return!n&&!e&&(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=BN(i),i=i.replace(/<br>/g,"<br/>"),i},D7=(t="",e)=>{var n,i;const r=(i=(n=e==null?void 0:e.viewBox)==null?void 0:n.baseVal)!=null&&i.height?e.viewBox.baseVal.height+"px":E7,o=btoa('<body style="'+L7+'">'+t+"</body>");return`<iframe style="width:${A7};height:${r};${$7}" src="data:text/html;base64,${o}" sandbox="${O7}">
${M7}
</iframe>`},d0=(t,e,n,i,r)=>{const o=t.append("div");o.attr("id",n),i&&o.attr("style",i);const s=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns",T7);return r&&s.attr("xmlns:xlink",r),s.append("g"),t};function p0(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const j7=(t,e,n,i)=>{var r,o,s;(r=t.getElementById(e))==null||r.remove(),(o=t.getElementById(n))==null||o.remove(),(s=t.getElementById(i))==null||s.remove()},H7=async function(t,e,n){var i,r,o,s,a,l;Dd();const c=Pb(e);e=c.code;const u=ni();vt.debug(u),e.length>((u==null?void 0:u.maxTextSize)??b7)&&(e=x7);const h="#"+t,f="i"+t,d="#"+f,p="d"+t,g="#"+p;let y=mn("body");const b=u.securityLevel===C7,v=u.securityLevel===w7,_=u.fontFamily;if(n!==void 0){if(n&&(n.innerHTML=""),b){const D=p0(mn(n),f);y=mn(D.nodes()[0].contentDocument.body),y.node().style.margin=0}else y=mn(n);d0(y,t,p,`font-family: ${_}`,S7)}else{if(j7(document,t,p,f),b){const D=p0(mn("body"),f);y=mn(D.nodes()[0].contentDocument.body),y.node().style.margin=0}else y=mn("body");d0(y,t,p)}let w,S;try{w=await zd(e,{title:c.title})}catch(D){w=new xb("error"),S=D}const B=y.select(g).node(),C=w.type,P=B.firstChild,E=P.firstChild,F=(r=(i=w.renderer).getClasses)==null?void 0:r.call(i,e,w),ot=R7(u,C,F,h),V=document.createElement("style");V.innerHTML=ot,P.insertBefore(V,E);try{await w.renderer.draw(e,t,Zg,w)}catch(D){throw P8.draw(e,t,Zg),D}const W=y.select(`${g} svg`),N=(s=(o=w.db).getAccTitle)==null?void 0:s.call(o),j=(l=(a=w.db).getAccDescription)==null?void 0:l.call(a);z7(C,W,N,j),y.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",k7);let Y=y.select(g).node().innerHTML;if(vt.debug("config.arrowMarkerAbsolute",u.arrowMarkerAbsolute),Y=N7(Y,b,f1(u.arrowMarkerAbsolute)),b){const D=y.select(g+" svg").node();Y=D7(Y,D)}else v||(Y=To.sanitize(Y,{ADD_TAGS:F7,ADD_ATTR:B7}));if(n9(),S)throw S;const z=mn(b?d:g).node();return z&&"remove"in z&&z.remove(),{svg:Y,bindFunctions:w.db.bindFunctions}};function q7(t={}){var e;t!=null&&t.fontFamily&&!((e=t.themeVariables)!=null&&e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),ZN(t),t!=null&&t.theme&&t.theme in bi?t.themeVariables=bi[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=bi.default.getThemeVariables(t.themeVariables));const n=typeof t=="object"?XN(t):G1();cd(n.logLevel),Dd()}const zd=(t,e={})=>{const{code:n}=Ib(t);return e9(n,e)};function z7(t,e,n,i){T9(e,t),S9(e,n,i,e.attr("id"))}const Kr=Object.freeze({render:H7,parse:I7,getDiagramFromText:zd,initialize:q7,getConfig:ni,setConfig:K1,getSiteConfig:G1,updateSiteConfig:JN,reset:()=>{sc()},globalReset:()=>{sc(Fo)},defaultConfig:Fo});cd(ni().logLevel);sc(ni());const V7=async()=>{vt.debug("Loading registered diagrams");const e=(await Promise.allSettled(Object.entries(Oo).map(async([n,{detector:i,loader:r}])=>{if(r)try{Nd(n)}catch{try{const{diagram:s,id:a}=await r();lc(a,s,i)}catch(s){throw vt.error(`Failed to load external diagram with key ${n}. Removing from detectors.`),delete Oo[n],s}}}))).filter(n=>n.status==="rejected");if(e.length>0){vt.error(`Failed to load ${e.length} external diagrams`);for(const n of e)vt.error(n);throw new Error(`Failed to load ${e.length} external diagrams`)}},W7=(t,e,n)=>{vt.warn(t),D1(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}))},Rb=async function(t={querySelector:".mermaid"}){try{await U7(t)}catch(e){if(D1(e)&&vt.error(e.str),Je.parseError&&Je.parseError(e),!t.suppressErrors)throw vt.error("Use the suppressErrors option to suppress these errors"),e}},U7=async function({postRenderCallback:t,querySelector:e,nodes:n}={querySelector:".mermaid"}){const i=Kr.getConfig();vt.debug(`${t?"":"No "}Callback function found`);let r;if(n)r=n;else if(e)r=document.querySelectorAll(e);else throw new Error("Nodes and querySelector are both undefined");vt.debug(`Found ${r.length} diagrams`),(i==null?void 0:i.startOnLoad)!==void 0&&(vt.debug("Start On Load: "+(i==null?void 0:i.startOnLoad)),Kr.updateSiteConfig({startOnLoad:i==null?void 0:i.startOnLoad}));const o=new Ss.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed);let s;const a=[];for(const l of Array.from(r)){vt.info("Rendering diagram: "+l.id);/*! Check if previously processed */if(l.getAttribute("data-processed"))continue;l.setAttribute("data-processed","true");const c=`mermaid-${o.next()}`;s=l.innerHTML,s=r5(Ss.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const u=Ss.detectInit(s);u&&vt.debug("Detected early reinit: ",u);try{const{svg:h,bindFunctions:f}=await Hb(c,s,l);l.innerHTML=h,t&&await t(c),f&&f(l)}catch(h){W7(h,a,Je.parseError)}}if(a.length>0)throw a[0]},Nb=function(t){Kr.initialize(t)},Y7=async function(t,e,n){vt.warn("mermaid.init is deprecated. Please use run instead."),t&&Nb(t);const i={postRenderCallback:n,querySelector:".mermaid"};typeof e=="string"?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await Rb(i)},G7=async(t,{lazyLoad:e=!0}={})=>{x1(...t),e===!1&&await V7()},Db=function(){if(Je.startOnLoad){const{startOnLoad:t}=Kr.getConfig();t&&Je.run().catch(e=>vt.error("Mermaid failed to initialize",e))}};if(typeof document<"u"){/*!
* Wait for document loaded before starting the execution
*/window.addEventListener("load",Db,!1)}const K7=function(t){Je.parseError=t},fc=[];let Uu=!1;const jb=async()=>{if(!Uu){for(Uu=!0;fc.length>0;){const t=fc.shift();if(t)try{await t()}catch(e){vt.error("Error executing queue",e)}}Uu=!1}},X7=async(t,e)=>new Promise((n,i)=>{const r=()=>new Promise((o,s)=>{Kr.parse(t,e).then(a=>{o(a),n(a)},a=>{var l;vt.error("Error parsing",a),(l=Je.parseError)==null||l.call(Je,a),s(a),i(a)})});fc.push(r),jb().catch(i)}),Hb=(t,e,n)=>new Promise((i,r)=>{const o=()=>new Promise((s,a)=>{Kr.render(t,e,n).then(l=>{s(l),i(l)},l=>{var c;vt.error("Error parsing",l),(c=Je.parseError)==null||c.call(Je,l),a(l),r(l)})});fc.push(o),jb().catch(r)}),Je={startOnLoad:!0,mermaidAPI:Kr,parse:X7,render:Hb,init:Y7,run:Rb,registerExternalDiagrams:G7,initialize:Nb,parseError:void 0,contentLoaded:Db,setParseErrorHandler:K7,detectType:zc},Z7=typeof atob=="function",Vd=typeof Buffer=="function",m0=typeof TextDecoder=="function"?new TextDecoder:void 0;typeof TextEncoder=="function"&&new TextEncoder;const J7="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Q7=Array.prototype.slice.call(J7),Ga=(t=>{let e={};return t.forEach((n,i)=>e[n]=i),e})(Q7),tH=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Or=String.fromCharCode.bind(String),g0=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),qb=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),eH=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,nH=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return Or((n>>>10)+55296)+Or((n&1023)+56320);case 3:return Or((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return Or((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},iH=t=>t.replace(eH,nH),rH=t=>{if(t=t.replace(/\s+/g,""),!tH.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(t.length&3));let e,n="",i,r;for(let o=0;o<t.length;)e=Ga[t.charAt(o++)]<<18|Ga[t.charAt(o++)]<<12|(i=Ga[t.charAt(o++)])<<6|(r=Ga[t.charAt(o++)]),n+=i===64?Or(e>>16&255):r===64?Or(e>>16&255,e>>8&255):Or(e>>16&255,e>>8&255,e&255);return n},zb=Z7?t=>atob(qb(t)):Vd?t=>Buffer.from(t,"base64").toString("binary"):rH,oH=Vd?t=>g0(Buffer.from(t,"base64")):t=>g0(zb(t).split("").map(e=>e.charCodeAt(0))),sH=Vd?t=>Buffer.from(t,"base64").toString("utf8"):m0?t=>m0.decode(oH(t)):t=>iH(zb(t)),aH=t=>qb(t.replace(/[-_]/g,e=>e=="-"?"+":"/")),lH=t=>sH(aH(t));const cH=()=>({theme:"default"});Je.startOnLoad=!1;Je.initialize({startOnLoad:!1});const uH=KS("abcedfghicklmn",10),y0=new Map;async function hH(t,e){const n=t+JSON.stringify(e),i=y0.get(n);if(i)return i;Je.initialize({startOnLoad:!1,...fm(cH()||{}),...fm(e)});const r=lH(t),o=uH(),{svg:s}=await Je.render(o,r);return y0.set(n,s),s}const fH=jt({__name:"ShadowRoot",props:{innerHtml:{type:String,required:!0}},emits:["shadow"],setup(t,{emit:e}){const n=t,i=e,r=tt(),o=A(()=>r.value?r.value.shadowRoot||r.value.attachShadow({mode:"open"}):null);return Xn(()=>{o.value&&n.innerHtml&&(i("shadow",o.value),o.value.innerHTML=n.innerHtml)}),(s,a)=>(R(),nt("div",{ref_key:"el",ref:r},null,512))}}),dH=Dt(fH,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/ShadowRoot.vue"]]),pH=jt({__name:"Mermaid",props:{code:{type:String,required:!0},scale:{type:Number,required:!1},theme:{type:String,required:!1}},setup(t){const e=t,n=Tn(),i=tt(),r=tt("");Xn(async s=>{let a=!1;s(()=>{a=!0});const l=await hH(e.code||"",{theme:e.theme||(Fc.value?"dark":void 0),...n.attrs});a||(r.value=l)});const o=tt();return $t(r,()=>{o.value=void 0}),Xn(()=>{var a,l,c;const s=(l=(a=i.value)==null?void 0:a.children)==null?void 0:l[0];if(s&&s.hasAttribute("viewBox")&&o.value==null){const u=Number.parseFloat(((c=s.getAttribute("viewBox"))==null?void 0:c.split(" ")[3])||"");o.value=Number.isNaN(u)?void 0:u}},{flush:"post"}),Xn(()=>{var a,l;const s=(l=(a=i.value)==null?void 0:a.children)==null?void 0:l[0];s!=null&&e.scale!=null&&o.value!=null&&(s.setAttribute("height",`${o.value*e.scale}`),s.removeAttribute("width"),s.removeAttribute("style"))},{flush:"post"}),(s,a)=>(R(),Vt(dH,{class:"mermaid","inner-html":r.value,onShadow:a[0]||(a[0]=l=>i.value=l)},null,8,["inner-html"]))}}),Vb=Dt(pH,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/builtin/Mermaid.vue"]]),mH={class:"col-header"},gH=jt({__name:"two-cols-header",props:{class:{type:String},layoutClass:{type:String}},setup(t){const e=t;return(n,i)=>(R(),nt("div",{class:ee(["slidev-layout two-cols-header w-full h-full",t.layoutClass])},[X("div",mH,[He(n.$slots,"default",{},void 0,!0)]),X("div",{class:ee(["col-left",e.class])},[He(n.$slots,"left",{},void 0,!0)],2),X("div",{class:ee(["col-right",e.class])},[He(n.$slots,"right",{},void 0,!0)],2),X("div",{class:ee(["col-bottom",e.class])},[He(n.$slots,"bottom",{},void 0,!0)],2)],2))}}),yH=Dt(gH,[["__scopeId","data-v-1401df1d"],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/layouts/two-cols-header.vue"]]),On=zt({layout:"two-cols-header"}),_H=zt({layout:A(()=>On.layout),transition:A(()=>On.transition),class:A(()=>On.class),clicks:A(()=>On.clicks),name:A(()=>On.name),preload:A(()=>On.preload),slide:{raw:"",title:"Bioinformatics pipeline",level:1,content:"",frontmatterStyle:"frontmatter",note:"",index:2,start:48,end:84,noteHTML:`<p>Quite simple : a set of command-line utilites that process (compressed) text data</p>
<p>External databases are basically text file .</p>
<p>How does nix fit into this ?</p>
<ul>
<li>hard-coded software version and dependencies -> that's an obligation for the laboratory. A small update means to run all checks... and there are expensive</li>
<li>database could be managed ... but there are stored in a different folder. In theory it could be done (has been added a few month agay)</li>
<li>manage execution ?</li>
</ul>
`,frontmatter:On,filepath:"/home/alex/notes/slides/fosdem2024/slides.md",id:2,no:3},__clicksElements:[],__preloaded:!1}),vH=X("h1",null,"Bioinformatics pipeline",-1),bH=X("h1",null,"Nix ?",-1),xH=X("ul",null,[X("li",null,"Reproducible dependencies : ok ! (it’s the law)"),X("li",null,"High Performance Computing : ok !"),X("li",null,"Manage workflow ?"),X("li",null,"Manage databases ?")],-1),CH={__name:"3",setup(t){const e=kt(Li);Ai(e,"nav"),kt(bn);const n=kt($i);kt(hr);const i=On;return de(to,On),(()=>{var o,s;const r=e.nav.rawRoutes.find(a=>a.path===String(n.value));(s=(o=r==null?void 0:r.meta)==null?void 0:o.slide)!=null&&s.frontmatter&&(Object.keys(r.meta.slide.frontmatter).forEach(a=>{a in i||delete r.meta.slide.frontmatter[a]}),Object.assign(r.meta.slide.frontmatter,On))})(),(r,o)=>{const s=Vb;return R(),Vt(yH,oa(Do(O(On))),{right:_e(a=>[bH,xH]),default:_e(()=>[vH,at(s,Ur({code:"Z3JhcGggTFIKYWxpZ24gLS0-IGNhbGxbY2FsbCB2YXJpYW50XSAtLT4gYW5ub3RhdGUgLS0-IGZpbHRlcgpkYjEoW0RhdGFiYXNlIDEsMi4uLl0pIC0tPiBhbm5vdGF0ZQpkYjIoW0RhdGFiYXNlIDUsNi4uLl0pIC0tPiBmaWx0ZXI"},{theme:"neutral",scale:.8}),null,16)]),_:1},16)}}},wH=Dt(CH,[["__file","/@slidev/slides/3.md"]]),TH={},SH={class:"slidev-layout default"};function kH(t,e){return R(),nt("div",SH,[He(t.$slots,"default")])}const AH=Dt(TH,[["render",kH],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/layouts/default.vue"]]),Mn=zt({}),EH=zt({layout:A(()=>Mn.layout),transition:A(()=>Mn.transition),class:A(()=>Mn.class),clicks:A(()=>Mn.clicks),name:A(()=>Mn.name),preload:A(()=>Mn.preload),slide:{raw:"",title:"Nix : excellent community",level:1,content:"",note:"",index:3,start:85,end:121,noteHTML:`<ul>
<li>Very welcoming (Element, github)</li>
<li>Several packages contributed upstream (some waiting)</li>
<li>Not easy as in my spare time + 5k in github</li>
</ul>
`,frontmatter:Mn,filepath:"/home/alex/notes/slides/fosdem2024/slides.md",id:3,no:4},__clicksElements:[],__preloaded:!1}),$H=X("h1",null,"Nix : excellent community",-1),LH={__name:"4",setup(t){const e=kt(Li);Ai(e,"nav"),kt(bn);const n=kt($i);kt(hr);const i=Mn;return de(to,Mn),(()=>{var o,s;const r=e.nav.rawRoutes.find(a=>a.path===String(n.value));(s=(o=r==null?void 0:r.meta)==null?void 0:o.slide)!=null&&s.frontmatter&&(Object.keys(r.meta.slide.frontmatter).forEach(a=>{a in i||delete r.meta.slide.frontmatter[a]}),Object.assign(r.meta.slide.frontmatter,Mn))})(),(r,o)=>{const s=Vb;return R(),Vt(AH,oa(Do(O(Mn))),{default:_e(()=>[$H,at(s,Ur({code:"Z2FudHQKICAgIGRhdGVGb3JtYXQgIFlZWVktTU0tREQKICAgIGV4Y2x1ZGVzICAgIHdlZWtlbmRzCiAgICAlJSAoYGV4Y2x1ZGVzYCBhY2NlcHRzIHNwZWNpZmljIGRhdGVzIGluIFlZWVktTU0tREQgZm9ybWF0LCBkYXlzIG9mIHRoZSB3ZWVrICgic3VuZGF5Iikgb3IgIndlZWtlbmRzIiwgYnV0IG5vdCB0aGUgd29yZCAid2Vla2RheXMiLikKCiAgICBzZWN0aW9uIE5ldyBQYWNrYWdlcwogICAgaGFwLXB5IDphY3RpdmUgLDIwMjQtMDEtMjUsIDIwMjQtMDItMDEKICAgIHZlcCA6YWN0aXZlICwyMDI0LTAxLTIzLCAyMDI0LTAyLTAxCiAgICBNdWx0aXFjICA6YWN0aXZlICwyMDIzLTA4LTE1LCAyMDI0LTAyLTAxCiAgICBzcGlwIDphY3RpdmUgLDIwMjMtMDgtMDYsIDIwMjQtMDItMDEKICAgIHJ0Zy10b29scyA6YWN0aXZlICwyMDIzLTA1LTA2LCAyMDI0LTAyLTAxCiAgICBiaW9leHRhbGlnbiA6ZG9uZSAsMjAyMi0wOC0xMywyMDIyLTEwLTIxCiAgICBiaW8tYmlnZmlsZSA6ZG9uZSAsMjAyMi0wOC0xMywyMDIzLTExLTMwCiAgICBCaW9EQkhUUyAgOmRvbmUgLDIwMjItMDgtMTMsMjAyMy0wNC0yNgogICAgYmlvcGVybCA6ZG9uZSAsMjAyMi0wOC0wOCwyMDIyLTA4LTEwCgogICAgc2VjdGlvbiBVcGRhdGUKICAgIEtlbnQgOmRvbmUgLDIwMjMtMDMtMjcsMjAyMy0wNS0wNwogICAgbmV4dGZsb3cgOmRvbmUgLDIwMjMtMDQtMDEsMjAyMy0wNi0xNQogICAgZ2F0ayAgOmRvbmUgLDIwMjItMDgtMDksMjAyMi0wOS0xMAogICAgZ2F0ayA6ZG9uZSAsMjAyMi0wOS0xNiwyMDIyLTEwLTEwCiAgICBHYXRrLTQuMi42LjEgOmRvbmUgLDIwMjItMDktMTUsMjAyMi0wOS0xNg"},{theme:"neutral"}),null,16)]),_:1},16)}}},OH=Dt(LH,[["__file","/@slidev/slides/4.md"]]),MH=jt({__name:"Transform",props:{scale:{type:[Number,String],required:!1},origin:{type:String,required:!1}},setup(t){const e=t,n=A(()=>{const i=[];return e.scale!=null&&i.push(`scale(${e.scale||1})`),{transform:i.join(" "),"transform-origin":e.origin||"top left"}});return(i,r)=>(R(),nt("div",{style:Ae(n.value)},[He(i.$slots,"default")],4))}}),FH=Dt(MH,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/builtin/Transform.vue"]]),BH={class:"slidev-layout quote"},IH={class:"my-auto"},PH={__name:"quote",setup(t){const e=kt(Li);return Ai(e,"nav"),kt(bn),kt($i),kt(hr),kt(to),(n,i)=>(R(),nt("div",BH,[X("div",IH,[He(n.$slots,"default")])]))}},RH=Dt(PH,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/theme-default/layouts/quote.vue"]]),Fn=zt({layout:"quote",class:"text-center"}),NH=zt({layout:A(()=>Fn.layout),transition:A(()=>Fn.transition),class:A(()=>Fn.class),clicks:A(()=>Fn.clicks),name:A(()=>Fn.name),preload:A(()=>Fn.preload),slide:{raw:"",title:"Thank you !",level:1,content:"",frontmatterStyle:"frontmatter",note:"",index:4,start:121,end:146,noteHTML:"",frontmatter:Fn,filepath:"/home/alex/notes/slides/fosdem2024/slides.md",id:4,no:5},__clicksElements:[],__preloaded:!1}),DH=X("h1",null,"Thank you !",-1),jH=X("p",null,"And to:",-1),HH=X("p",null,"Besançon Hospital",-1),qH=X("p",null,"Mésocentre de calcul de Franche-Comté",-1),zH=X("br",null,null,-1),VH=X("br",null,null,-1),WH=X("br",null,null,-1),UH=X("br",null,null,-1),YH={__name:"5",setup(t){const e=kt(Li);Ai(e,"nav"),kt(bn);const n=kt($i);kt(hr);const i=Fn;return de(to,Fn),(()=>{var o,s;const r=e.nav.rawRoutes.find(a=>a.path===String(n.value));(s=(o=r==null?void 0:r.meta)==null?void 0:o.slide)!=null&&s.frontmatter&&(Object.keys(r.meta.slide.frontmatter).forEach(a=>{a in i||delete r.meta.slide.frontmatter[a]}),Object.assign(r.meta.slide.frontmatter,Fn))})(),(r,o)=>{const s=FH;return R(),Vt(RH,oa(Do(O(Fn))),{default:_e(()=>[DH,jH,HH,qH,zH,VH,Ci(" Contact: alexis.praga (at) proton.me "),WH,UH,at(s,{scale:.5},{default:_e(()=>[Ci(" Images courtesy of Flaticon ")]),_:1})]),_:1},16)}}},GH=Dt(YH,[["__file","/@slidev/slides/5.md"]]),KH=[{path:"1",name:"page-1",component:zF,meta:RF},{path:"2",name:"page-2",component:i5,meta:XF},{path:"3",name:"page-3",component:wH,meta:_H},{path:"4",name:"page-4",component:OH,meta:EH},{path:"5",name:"page-5",component:GH,meta:NH}],XH=[],se=KH,_l=[{name:"play",path:"/",component:rM,children:[...se,...XH]},{name:"print",path:"/print",component:MF},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)",redirect:{path:"/1"}}];{let t=function(e){if(!us.remote||us.remote===e.query.password)return!0;if(us.remote&&e.query.password===void 0){const n=prompt("Enter password");if(us.remote===n)return!0}return e.params.no?{path:`/${e.params.no}`}:{path:""}};_l.push({path:"/presenter/print",component:()=>Qt(()=>import("./PresenterPrint-9at8jjKc.js"),__vite__mapDeps([35,36]))}),_l.push({name:"presenter",path:"/presenter/:no",component:()=>Qt(()=>import("./Presenter-l9qHHLVL.js"),__vite__mapDeps([37,36,38,39])),beforeEnter:t}),_l.push({path:"/presenter",redirect:{path:"/presenter/1"}})}const ze=xE({history:bA("/slides/fosdem2024"),routes:_l});function ZH(t,e,{mode:n="replace"}={}){return A({get(){const i=ze.currentRoute.value.query[t];return i==null?e??null:Array.isArray(i)?i.filter(Boolean):i},set(i){ke(()=>{ze[O(n)]({query:{...ze.currentRoute.value.query,[t]:i}})})}})}const Wb=tt(0);ke(()=>{ze.afterEach(async()=>{await ke(),Wb.value+=1})});const Ub=tt(0),wn=A(()=>ze.currentRoute.value),Po=A(()=>wn.value.query.print!==void 0),JH=A(()=>wn.value.query.print==="clicks"),pi=A(()=>wn.value.query.embedded!==void 0),De=A(()=>wn.value.path.startsWith("/presenter")),QH=A(()=>wn.value.path.startsWith("/notes")),zr=A(()=>Po.value&&!JH.value),df=A(()=>wn.value.query.password),tq=A(()=>!De.value&&(!Wt.remote||df.value===Wt.remote)),_0=ZH("clicks","0"),eq=A(()=>se.length),nq=A(()=>wn.value.path),le=A(()=>Number.parseInt(nq.value.split(/\//g).slice(-1)[0])||1);A(()=>Qc(le.value));const Le=A(()=>se.find(t=>t.path===`${le.value}`));A(()=>{var t,e,n;return(n=(e=(t=Le.value)==null?void 0:t.meta)==null?void 0:e.slide)==null?void 0:n.id});A(()=>{var t,e;return((e=(t=Le.value)==null?void 0:t.meta)==null?void 0:e.layout)||(le.value===1?"cover":"default")});const Yu=A(()=>se.find(t=>t.path===`${Math.min(se.length,le.value+1)}`)),iq=A(()=>se.find(t=>t.path===`${Math.max(1,le.value-1)}`)),rq=A(()=>{var t,e;return Wb.value,((e=(t=Le.value)==null?void 0:t.meta)==null?void 0:e.__clicksElements)||[]}),on=A({get(){if(zr.value)return 99999;let t=+(_0.value||0);return Number.isNaN(t)&&(t=0),t},set(t){_0.value=t.toString()}}),dc=A(()=>{var t,e;return+(((e=(t=Le.value)==null?void 0:t.meta)==null?void 0:e.clicks)??rq.value.length)}),oq=A(()=>le.value<se.length||on.value<dc.value),sq=A(()=>le.value>1||on.value>0),aq=A(()=>se.filter(t=>{var e,n;return(n=(e=t.meta)==null?void 0:e.slide)==null?void 0:n.title}).reduce((t,e)=>(Wd(t,e),t),[])),lq=A(()=>Ud(aq.value,Le.value));A(()=>Yd(lq.value));const cq=A(()=>pq(Ub.value,Le.value,iq.value));$t(Le,(t,e)=>{Ub.value=Number(t==null?void 0:t.path)-Number(e==null?void 0:e.path)});function er(){dc.value<=on.value?Js():on.value+=1}async function nr(){on.value<=0?await Qs():on.value-=1}function Qc(t){return De.value?`/presenter/${t}`:`/${t}`}function Js(){const t=Math.min(se.length,le.value+1);return Xr(t)}async function Qs(t=!0){const e=Math.max(1,le.value-1);await Xr(e),t&&dc.value&&ze.replace({query:{...wn.value.query,clicks:dc.value}})}function Xr(t,e){return Vl.value=!1,ze.push({path:Qc(t),query:{...wn.value.query,clicks:e}})}function uq(t){const e=tt(0),{direction:n,distanceX:i,distanceY:r}=Yk(t,{onSwipeStart(o){o.pointerType==="touch"&&(Ds.value||(e.value=Ch()))},onSwipeEnd(o){if(o.pointerType!=="touch"||!e.value||Ds.value)return;const s=Math.abs(i.value),a=Math.abs(r.value);s/window.innerWidth>.3||s>75?n.value==="left"?er():nr():(a/window.innerHeight>.4||a>200)&&(n.value==="down"?Qs():Js())}})}async function pf(){const{saveAs:t}=await Qt(()=>import("./FileSaver.min-LVY1lggI.js").then(e=>e.F),__vite__mapDeps([]));t(typeof Wt.download=="string"?Wt.download:Wt.exportFilename?`${Wt.exportFilename}.pdf`:"/slides/fosdem2024slidev-exported.pdf",`${Wt.title}.pdf`)}async function hq(t){var e,n;if(t==null){const i=(n=(e=Le.value)==null?void 0:e.meta)==null?void 0:n.slide;if(!(i!=null&&i.filepath))return!1;t=`${i.filepath}:${i.start}`}return await fetch(`/__open-in-editor?file=${encodeURIComponent(t)}`),!0}function Wd(t,e,n=1){var r,o,s,a,l,c,u;const i=(o=(r=e.meta)==null?void 0:r.slide)==null?void 0:o.level;i&&i>n&&t.length>0?Wd(t[t.length-1].children,e,n+1):t.push({children:[],level:n,path:e.path,hideInToc:!!((l=(a=(s=e.meta)==null?void 0:s.slide)==null?void 0:a.frontmatter)!=null&&l.hideInToc),title:(u=(c=e.meta)==null?void 0:c.slide)==null?void 0:u.title})}function Ud(t,e,n=!1,i){return t.map(r=>{const o={...r,active:r.path===(e==null?void 0:e.path),hasActiveParent:n};return o.children.length>0&&(o.children=Ud(o.children,e,o.active||o.hasActiveParent,o)),i&&(o.active||o.activeParent)&&(i.activeParent=!0),o})}function Yd(t,e=1){return t.filter(n=>!n.hideInToc).map(n=>({...n,children:Yd(n.children,e+1)}))}const fq={"slide-left":"slide-left | slide-right","slide-right":"slide-right | slide-left","slide-up":"slide-up | slide-down","slide-down":"slide-down | slide-up"};function dq(t,e=!1){if(!t||(typeof t=="string"&&(t={name:t}),!t.name))return;let n=t.name.includes("|")?t.name:fq[t.name]||t.name;if(n.includes("|")){const[i,r]=n.split("|").map(o=>o.trim());n=e?r:i}if(n)return{...t,name:n}}function pq(t,e,n){var r,o;let i=t>0?(r=n==null?void 0:n.meta)==null?void 0:r.transition:(o=e==null?void 0:e.meta)==null?void 0:o.transition;return i||(i=Wt.transition),dq(i,t<0)}function mq(){const t=Wt.titleTemplate.replace("%s",Wt.title||"Slidev");WS({title:t,htmlAttrs:Wt.htmlAttrs}),ek(`${t} - shared`),ok(`${t} - drawings`);const e=`${location.origin}_${XS()}`;function n(){QH.value||!De.value&&!k$.includes(location.host.split(":")[0])||(De.value?(Ko("page",+le.value),Ko("clicks",on.value)):(Ko("viewerPage",+le.value),Ko("viewerClicks",on.value)),Ko("lastUpdate",{id:e,type:De.value?"presenter":"viewer",time:new Date().getTime()}))}ze.afterEach(n),$t(on,n),nk(i=>{var o;ze.currentRoute.value.path.match(/^\/(\d+|presenter)\/?/)&&((o=i.lastUpdate)==null?void 0:o.type)==="presenter"&&(+i.page!=+le.value||+on.value!=+i.clicks)&&(Vl.value=!1,ze.replace({path:Qc(i.page),query:{...ze.currentRoute.value.query,clicks:i.clicks||0}}))})}const gq=jt({__name:"App",setup(t){return mq(),(e,n)=>{const i=Ll("RouterView"),r=Ll("StarportCarrier");return R(),nt(It,null,[at(i),at(r)],64)}}}),yq=Dt(gq,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/App.vue"]]);function Gu(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function mf(t,e,n=".",i){if(!Gu(e))return mf(t,{},n,i);const r=Object.assign({},e);for(const o in t){if(o==="__proto__"||o==="constructor")continue;const s=t[o];s!=null&&(i&&i(r,o,s,n)||(Array.isArray(s)&&Array.isArray(r[o])?r[o]=[...s,...r[o]]:Gu(s)&&Gu(r[o])?r[o]=mf(s,r[o],(n?`${n}.`:"")+o.toString(),i):r[o]=s))}return r}function _q(t){return(...e)=>e.reduce((n,i)=>mf(n,i,"",t),{})}const vq=_q(),Yb=1/60*1e3,bq=typeof performance<"u"?()=>performance.now():()=>Date.now(),Gb=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(bq()),Yb);function xq(t){let e=[],n=[],i=0,r=!1,o=!1;const s=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{const h=u&&r,f=h?e:n;return c&&s.add(l),f.indexOf(l)===-1&&(f.push(l),h&&r&&(i=e.length)),l},cancel:l=>{const c=n.indexOf(l);c!==-1&&n.splice(c,1),s.delete(l)},process:l=>{if(r){o=!0;return}if(r=!0,[e,n]=[n,e],n.length=0,i=e.length,i)for(let c=0;c<i;c++){const u=e[c];u(l),s.has(u)&&(a.schedule(u),t())}r=!1,o&&(o=!1,a.process(l))}};return a}const Cq=40;let gf=!0,ta=!1,yf=!1;const So={delta:0,timestamp:0},_a=["read","update","preRender","render","postRender"],tu=_a.reduce((t,e)=>(t[e]=xq(()=>ta=!0),t),{}),_f=_a.reduce((t,e)=>{const n=tu[e];return t[e]=(i,r=!1,o=!1)=>(ta||Sq(),n.schedule(i,r,o)),t},{}),wq=_a.reduce((t,e)=>(t[e]=tu[e].cancel,t),{});_a.reduce((t,e)=>(t[e]=()=>tu[e].process(So),t),{});const Tq=t=>tu[t].process(So),Kb=t=>{ta=!1,So.delta=gf?Yb:Math.max(Math.min(t-So.timestamp,Cq),1),So.timestamp=t,yf=!0,_a.forEach(Tq),yf=!1,ta&&(gf=!1,Gb(Kb))},Sq=()=>{ta=!0,gf=!0,yf||Gb(Kb)},Xb=()=>So;function Zb(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n}var Gd=function(){},ea=function(){};Gd=function(t,e){!t&&typeof console<"u"&&console.warn(e)},ea=function(t,e){if(!t)throw new Error(e)};const vf=(t,e,n)=>Math.min(Math.max(n,t),e),Ku=.001,kq=.01,v0=10,Aq=.05,Eq=1;function $q({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let r,o;Gd(t<=v0*1e3,"Spring duration must be 10 seconds or less");let s=1-e;s=vf(Aq,Eq,s),t=vf(kq,v0,t/1e3),s<1?(r=c=>{const u=c*s,h=u*t,f=u-n,d=bf(c,s),p=Math.exp(-h);return Ku-f/d*p},o=c=>{const h=c*s*t,f=h*n+n,d=Math.pow(s,2)*Math.pow(c,2)*t,p=Math.exp(-h),g=bf(Math.pow(c,2),s);return(-r(c)+Ku>0?-1:1)*((f-d)*p)/g}):(r=c=>{const u=Math.exp(-c*t),h=(c-n)*t+1;return-Ku+u*h},o=c=>{const u=Math.exp(-c*t),h=(n-c)*(t*t);return u*h});const a=5/t,l=Oq(r,o,a);if(t=t*1e3,isNaN(l))return{stiffness:100,damping:10,duration:t};{const c=Math.pow(l,2)*i;return{stiffness:c,damping:s*2*Math.sqrt(i*c),duration:t}}}const Lq=12;function Oq(t,e,n){let i=n;for(let r=1;r<Lq;r++)i=i-t(i)/e(i);return i}function bf(t,e){return t*Math.sqrt(1-e*e)}const Mq=["duration","bounce"],Fq=["stiffness","damping","mass"];function b0(t,e){return e.some(n=>t[n]!==void 0)}function Bq(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!b0(t,Fq)&&b0(t,Mq)){const n=$q(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function Kd(t){var{from:e=0,to:n=1,restSpeed:i=2,restDelta:r}=t,o=Zb(t,["from","to","restSpeed","restDelta"]);const s={done:!1,value:e};let{stiffness:a,damping:l,mass:c,velocity:u,duration:h,isResolvedFromDuration:f}=Bq(o),d=x0,p=x0;function g(){const y=u?-(u/1e3):0,b=n-e,v=l/(2*Math.sqrt(a*c)),_=Math.sqrt(a/c)/1e3;if(r===void 0&&(r=Math.min(Math.abs(n-e)/100,.4)),v<1){const w=bf(_,v);d=S=>{const B=Math.exp(-v*_*S);return n-B*((y+v*_*b)/w*Math.sin(w*S)+b*Math.cos(w*S))},p=S=>{const B=Math.exp(-v*_*S);return v*_*B*(Math.sin(w*S)*(y+v*_*b)/w+b*Math.cos(w*S))-B*(Math.cos(w*S)*(y+v*_*b)-w*b*Math.sin(w*S))}}else if(v===1)d=w=>n-Math.exp(-_*w)*(b+(y+_*b)*w);else{const w=_*Math.sqrt(v*v-1);d=S=>{const B=Math.exp(-v*_*S),C=Math.min(w*S,300);return n-B*((y+v*_*b)*Math.sinh(C)+w*b*Math.cosh(C))/w}}}return g(),{next:y=>{const b=d(y);if(f)s.done=y>=h;else{const v=p(y)*1e3,_=Math.abs(v)<=i,w=Math.abs(n-b)<=r;s.done=_&&w}return s.value=s.done?n:b,s},flipTarget:()=>{u=-u,[e,n]=[n,e],g()}}}Kd.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";const x0=t=>0,Jb=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},Xd=(t,e,n)=>-n*t+n*e+t,Qb=(t,e)=>n=>Math.max(Math.min(n,e),t),As=t=>t%1?Number(t.toFixed(5)):t,na=/(-)?([\d]*\.?[\d])+/g,xf=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Iq=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function va(t){return typeof t=="string"}const ba={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Es=Object.assign(Object.assign({},ba),{transform:Qb(0,1)}),Ka=Object.assign(Object.assign({},ba),{default:1}),Zd=t=>({test:e=>va(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),vr=Zd("deg"),$s=Zd("%"),Ot=Zd("px"),C0=Object.assign(Object.assign({},$s),{parse:t=>$s.parse(t)/100,transform:t=>$s.transform(t*100)}),Jd=(t,e)=>n=>!!(va(n)&&Iq.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),tx=(t,e,n)=>i=>{if(!va(i))return i;const[r,o,s,a]=i.match(na);return{[t]:parseFloat(r),[e]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},Mr={test:Jd("hsl","hue"),parse:tx("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+$s.transform(As(e))+", "+$s.transform(As(n))+", "+As(Es.transform(i))+")"},Pq=Qb(0,255),Xu=Object.assign(Object.assign({},ba),{transform:t=>Math.round(Pq(t))}),Yi={test:Jd("rgb","red"),parse:tx("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+Xu.transform(t)+", "+Xu.transform(e)+", "+Xu.transform(n)+", "+As(Es.transform(i))+")"};function Rq(t){let e="",n="",i="",r="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),i=t.substr(5,2),r=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),i=t.substr(3,1),r=t.substr(4,1),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const Cf={test:Jd("#"),parse:Rq,transform:Yi.transform},Ye={test:t=>Yi.test(t)||Cf.test(t)||Mr.test(t),parse:t=>Yi.test(t)?Yi.parse(t):Mr.test(t)?Mr.parse(t):Cf.parse(t),transform:t=>va(t)?t:t.hasOwnProperty("red")?Yi.transform(t):Mr.transform(t)},ex="${c}",nx="${n}";function Nq(t){var e,n,i,r;return isNaN(t)&&va(t)&&((n=(e=t.match(na))===null||e===void 0?void 0:e.length)!==null&&n!==void 0?n:0)+((r=(i=t.match(xf))===null||i===void 0?void 0:i.length)!==null&&r!==void 0?r:0)>0}function ix(t){typeof t=="number"&&(t=`${t}`);const e=[];let n=0;const i=t.match(xf);i&&(n=i.length,t=t.replace(xf,ex),e.push(...i.map(Ye.parse)));const r=t.match(na);return r&&(t=t.replace(na,nx),e.push(...r.map(ba.parse))),{values:e,numColors:n,tokenised:t}}function rx(t){return ix(t).values}function ox(t){const{values:e,numColors:n,tokenised:i}=ix(t),r=e.length;return o=>{let s=i;for(let a=0;a<r;a++)s=s.replace(a<n?ex:nx,a<n?Ye.transform(o[a]):As(o[a]));return s}}const Dq=t=>typeof t=="number"?0:t;function jq(t){const e=rx(t);return ox(t)(e.map(Dq))}const xa={test:Nq,parse:rx,createTransformer:ox,getAnimatableNone:jq},Hq=new Set(["brightness","contrast","saturate","opacity"]);function qq(t){let[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(na)||[];if(!i)return t;const r=n.replace(i,"");let o=Hq.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+r+")"}const zq=/([a-z-]*)\(.*?\)/g,wf=Object.assign(Object.assign({},xa),{getAnimatableNone:t=>{const e=t.match(zq);return e?e.map(qq).join(" "):t}});function Zu(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function w0({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let r=0,o=0,s=0;if(!e)r=o=s=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;r=Zu(l,a,t+1/3),o=Zu(l,a,t),s=Zu(l,a,t-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:i}}const Vq=(t,e,n)=>{const i=t*t,r=e*e;return Math.sqrt(Math.max(0,n*(r-i)+i))},Wq=[Cf,Yi,Mr],T0=t=>Wq.find(e=>e.test(t)),S0=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,sx=(t,e)=>{let n=T0(t),i=T0(e);ea(!!n,S0(t)),ea(!!i,S0(e));let r=n.parse(t),o=i.parse(e);n===Mr&&(r=w0(r),n=Yi),i===Mr&&(o=w0(o),i=Yi);const s=Object.assign({},r);return a=>{for(const l in s)l!=="alpha"&&(s[l]=Vq(r[l],o[l],a));return s.alpha=Xd(r.alpha,o.alpha,a),n.transform(s)}},Uq=t=>typeof t=="number",Yq=(t,e)=>n=>e(t(n)),ax=(...t)=>t.reduce(Yq);function lx(t,e){return Uq(t)?n=>Xd(t,e,n):Ye.test(t)?sx(t,e):ux(t,e)}const cx=(t,e)=>{const n=[...t],i=n.length,r=t.map((o,s)=>lx(o,e[s]));return o=>{for(let s=0;s<i;s++)n[s]=r[s](o);return n}},Gq=(t,e)=>{const n=Object.assign(Object.assign({},t),e),i={};for(const r in n)t[r]!==void 0&&e[r]!==void 0&&(i[r]=lx(t[r],e[r]));return r=>{for(const o in i)n[o]=i[o](r);return n}};function k0(t){const e=xa.parse(t),n=e.length;let i=0,r=0,o=0;for(let s=0;s<n;s++)i||typeof e[s]=="number"?i++:e[s].hue!==void 0?o++:r++;return{parsed:e,numNumbers:i,numRGB:r,numHSL:o}}const ux=(t,e)=>{const n=xa.createTransformer(e),i=k0(t),r=k0(e);return i.numHSL===r.numHSL&&i.numRGB===r.numRGB&&i.numNumbers>=r.numNumbers?ax(cx(i.parsed,r.parsed),n):(Gd(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),s=>`${s>0?e:t}`)},Kq=(t,e)=>n=>Xd(t,e,n);function Xq(t){if(typeof t=="number")return Kq;if(typeof t=="string")return Ye.test(t)?sx:ux;if(Array.isArray(t))return cx;if(typeof t=="object")return Gq}function Zq(t,e,n){const i=[],r=n||Xq(t[0]),o=t.length-1;for(let s=0;s<o;s++){let a=r(t[s],t[s+1]);if(e){const l=Array.isArray(e)?e[s]:e;a=ax(l,a)}i.push(a)}return i}function Jq([t,e],[n]){return i=>n(Jb(t,e,i))}function Qq(t,e){const n=t.length,i=n-1;return r=>{let o=0,s=!1;if(r<=t[0]?s=!0:r>=t[i]&&(o=i-1,s=!0),!s){let l=1;for(;l<n&&!(t[l]>r||l===i);l++);o=l-1}const a=Jb(t[o],t[o+1],r);return e[o](a)}}function hx(t,e,{clamp:n=!0,ease:i,mixer:r}={}){const o=t.length;ea(o===e.length,"Both input and output ranges must be the same length"),ea(!i||!Array.isArray(i)||i.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[o-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const s=Zq(e,i,r),a=o===2?Jq(t,s):Qq(t,s);return n?l=>a(vf(t[0],t[o-1],l)):a}const eu=t=>e=>1-t(1-e),Qd=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tz=t=>e=>Math.pow(e,t),fx=t=>e=>e*e*((t+1)*e-t),ez=t=>{const e=fx(t);return n=>(n*=2)<1?.5*e(n):.5*(2-Math.pow(2,-10*(n-1)))},dx=1.525,nz=4/11,iz=8/11,rz=9/10,px=t=>t,tp=tz(2),oz=eu(tp),mx=Qd(tp),gx=t=>1-Math.sin(Math.acos(t)),yx=eu(gx),sz=Qd(yx),ep=fx(dx),az=eu(ep),lz=Qd(ep),cz=ez(dx),uz=4356/361,hz=35442/1805,fz=16061/1805,pc=t=>{if(t===1||t===0)return t;const e=t*t;return t<nz?7.5625*e:t<iz?9.075*e-9.9*t+3.4:t<rz?uz*e-hz*t+fz:10.8*t*t-20.52*t+10.72},dz=eu(pc),pz=t=>t<.5?.5*(1-pc(1-t*2)):.5*pc(t*2-1)+.5;function mz(t,e){return t.map(()=>e||mx).splice(0,t.length-1)}function gz(t){const e=t.length;return t.map((n,i)=>i!==0?i/(e-1):0)}function yz(t,e){return t.map(n=>n*e)}function vl({from:t=0,to:e=1,ease:n,offset:i,duration:r=300}){const o={done:!1,value:t},s=Array.isArray(e)?e:[t,e],a=yz(i&&i.length===s.length?i:gz(s),r);function l(){return hx(a,s,{ease:Array.isArray(n)?n:mz(s,n)})}let c=l();return{next:u=>(o.value=c(u),o.done=u>=r,o),flipTarget:()=>{s.reverse(),c=l()}}}function _z({velocity:t=0,from:e=0,power:n=.8,timeConstant:i=350,restDelta:r=.5,modifyTarget:o}){const s={done:!1,value:e};let a=n*t;const l=e+a,c=o===void 0?l:o(l);return c!==l&&(a=c-e),{next:u=>{const h=-a*Math.exp(-u/i);return s.done=!(h>r||h<-r),s.value=s.done?c:c+h,s},flipTarget:()=>{}}}const A0={keyframes:vl,spring:Kd,decay:_z};function vz(t){if(Array.isArray(t.to))return vl;if(A0[t.type])return A0[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?vl:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?Kd:vl}function _x(t,e,n=0){return t-e-n}function bz(t,e,n=0,i=!0){return i?_x(e+-t,e,n):e-(t-e)+n}function xz(t,e,n,i){return i?t>=e+n:t<=-n}const Cz=t=>{const e=({delta:n})=>t(n);return{start:()=>_f.update(e,!0),stop:()=>wq.update(e)}};function vx(t){var e,n,{from:i,autoplay:r=!0,driver:o=Cz,elapsed:s=0,repeat:a=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:h,onComplete:f,onRepeat:d,onUpdate:p}=t,g=Zb(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=g,b,v=0,_=g.duration,w,S=!1,B=!0,C;const P=vz(g);!((n=(e=P).needsInterpolation)===null||n===void 0)&&n.call(e,i,y)&&(C=hx([0,100],[i,y],{clamp:!1}),i=0,y=100);const E=P(Object.assign(Object.assign({},g),{from:i,to:y}));function F(){v++,l==="reverse"?(B=v%2===0,s=bz(s,_,c,B)):(s=_x(s,_,c),l==="mirror"&&E.flipTarget()),S=!1,d&&d()}function ot(){b.stop(),f&&f()}function V(N){if(B||(N=-N),s+=N,!S){const j=E.next(Math.max(0,s));w=j.value,C&&(w=C(w)),S=B?j.done:s<=0}p==null||p(w),S&&(v===0&&(_??(_=s)),v<a?xz(s,_,c,B)&&F():ot())}function W(){u==null||u(),b=o(V),b.start()}return r&&W(),{stop:()=>{h==null||h(),b.stop()}}}function bx(t,e){return e?t*(1e3/e):0}function wz({from:t=0,velocity:e=0,min:n,max:i,power:r=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:h,onComplete:f,onStop:d}){let p;function g(_){return n!==void 0&&_<n||i!==void 0&&_>i}function y(_){return n===void 0?i:i===void 0||Math.abs(n-_)<Math.abs(i-_)?n:i}function b(_){p==null||p.stop(),p=vx(Object.assign(Object.assign({},_),{driver:u,onUpdate:w=>{var S;h==null||h(w),(S=_.onUpdate)===null||S===void 0||S.call(_,w)},onComplete:f,onStop:d}))}function v(_){b(Object.assign({type:"spring",stiffness:s,damping:a,restDelta:l},_))}if(g(t))v({from:t,velocity:e,to:y(t)});else{let _=r*e+t;typeof c<"u"&&(_=c(_));const w=y(_),S=w===n?-1:1;let B,C;const P=E=>{B=C,C=E,e=bx(E-B,Xb().delta),(S===1&&E>w||S===-1&&E<w)&&v({from:E,to:w,velocity:e})};b({type:"decay",from:t,velocity:e,timeConstant:o,power:r,restDelta:l,modifyTarget:c,onUpdate:g(_)?P:void 0})}return{stop:()=>p==null?void 0:p.stop()}}const xx=(t,e)=>1-3*e+3*t,Cx=(t,e)=>3*e-6*t,wx=t=>3*t,mc=(t,e,n)=>((xx(e,n)*t+Cx(e,n))*t+wx(e))*t,Tx=(t,e,n)=>3*xx(e,n)*t*t+2*Cx(e,n)*t+wx(e),Tz=1e-7,Sz=10;function kz(t,e,n,i,r){let o,s,a=0;do s=e+(n-e)/2,o=mc(s,i,r)-t,o>0?n=s:e=s;while(Math.abs(o)>Tz&&++a<Sz);return s}const Az=8,Ez=.001;function $z(t,e,n,i){for(let r=0;r<Az;++r){const o=Tx(e,n,i);if(o===0)return e;const s=mc(e,n,i)-t;e-=s/o}return e}const bl=11,Xa=1/(bl-1);function Lz(t,e,n,i){if(t===e&&n===i)return px;const r=new Float32Array(bl);for(let s=0;s<bl;++s)r[s]=mc(s*Xa,t,n);function o(s){let a=0,l=1;const c=bl-1;for(;l!==c&&r[l]<=s;++l)a+=Xa;--l;const u=(s-r[l])/(r[l+1]-r[l]),h=a+u*Xa,f=Tx(h,t,n);return f>=Ez?$z(s,h,t,n):f===0?h:kz(s,a,a+Xa,t,n)}return s=>s===0||s===1?s:mc(o(s),e,i)}const Ju={};class Oz{constructor(){this.subscriptions=new Set}add(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}notify(e,n,i){if(this.subscriptions.size)for(const r of this.subscriptions)r(e,n,i)}clear(){this.subscriptions.clear()}}function E0(t){return!isNaN(parseFloat(t))}class Mz{constructor(e){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Oz,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:i,timestamp:r}=Xb();this.lastUpdated!==r&&(this.timeDelta=i,this.lastUpdated=r),_f.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>_f.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=E0(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=e,this.canTrackVelocity=E0(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}set(e){this.updateAndNotify(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?bx(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(n=>{const{stop:i}=e(n);this.stopAnimation=i}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function Fz(t){return new Mz(t)}const{isArray:Bz}=Array;function Iz(){const t=tt({}),e=i=>{const r=o=>{t.value[o]&&(t.value[o].stop(),t.value[o].destroy(),delete t.value[o])};i?Bz(i)?i.forEach(r):r(i):Object.keys(t.value).forEach(r)},n=(i,r,o)=>{if(t.value[i])return t.value[i];const s=Fz(r);return s.onChange(a=>o[i]=a),t.value[i]=s,s};return wk(e),{motionValues:t,get:n,stop:e}}function Pz(t){return Array.isArray(t)}function br(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Qu(t){return{type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function Rz(t){return{type:"spring",stiffness:550,damping:t===0?100:30,restDelta:.01,restSpeed:10}}function th(){return{type:"keyframes",ease:"linear",duration:300}}function Nz(t){return{type:"keyframes",duration:800,values:t}}const $0={default:Rz,x:br,y:br,z:br,rotate:br,rotateX:br,rotateY:br,rotateZ:br,scaleX:Qu,scaleY:Qu,scale:Qu,backgroundColor:th,color:th,opacity:th};function Sx(t,e){let n;return Pz(e)?n=Nz:n=$0[t]||$0.default,{to:e,...n(e)}}const L0={...ba,transform:Math.round},kx={color:Ye,backgroundColor:Ye,outlineColor:Ye,fill:Ye,stroke:Ye,borderColor:Ye,borderTopColor:Ye,borderRightColor:Ye,borderBottomColor:Ye,borderLeftColor:Ye,borderWidth:Ot,borderTopWidth:Ot,borderRightWidth:Ot,borderBottomWidth:Ot,borderLeftWidth:Ot,borderRadius:Ot,radius:Ot,borderTopLeftRadius:Ot,borderTopRightRadius:Ot,borderBottomRightRadius:Ot,borderBottomLeftRadius:Ot,width:Ot,maxWidth:Ot,height:Ot,maxHeight:Ot,size:Ot,top:Ot,right:Ot,bottom:Ot,left:Ot,padding:Ot,paddingTop:Ot,paddingRight:Ot,paddingBottom:Ot,paddingLeft:Ot,margin:Ot,marginTop:Ot,marginRight:Ot,marginBottom:Ot,marginLeft:Ot,rotate:vr,rotateX:vr,rotateY:vr,rotateZ:vr,scale:Ka,scaleX:Ka,scaleY:Ka,scaleZ:Ka,skew:vr,skewX:vr,skewY:vr,distance:Ot,translateX:Ot,translateY:Ot,translateZ:Ot,x:Ot,y:Ot,z:Ot,perspective:Ot,transformPerspective:Ot,opacity:Es,originX:C0,originY:C0,originZ:Ot,zIndex:L0,filter:wf,WebkitFilter:wf,fillOpacity:Es,strokeOpacity:Es,numOctaves:L0},np=t=>kx[t];function Ax(t,e){return e&&typeof t=="number"&&e.transform?e.transform(t):t}function Dz(t,e){let n=np(t);return n!==wf&&(n=xa),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const jz={linear:px,easeIn:tp,easeInOut:mx,easeOut:oz,circIn:gx,circInOut:sz,circOut:yx,backIn:ep,backInOut:lz,backOut:az,anticipate:cz,bounceIn:dz,bounceInOut:pz,bounceOut:pc};function O0(t){if(Array.isArray(t)){const[e,n,i,r]=t;return Lz(e,n,i,r)}else if(typeof t=="string")return jz[t];return t}function Hz(t){return Array.isArray(t)&&typeof t[0]!="number"}function M0(t,e){return t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&xa.test(e)&&!e.startsWith("url("))}function qz(t){return Array.isArray(t.to)&&t.to[0]===null&&(t.to=[...t.to],t.to[0]=t.from),t}function zz({ease:t,times:e,delay:n,...i}){const r={...i};return e&&(r.offset=e),t&&(r.ease=Hz(t)?t.map(O0):O0(t)),n&&(r.elapsed=-n),r}function Vz(t,e,n){return Array.isArray(e.to)&&(t.duration||(t.duration=800)),qz(e),Wz(t)||(t={...t,...Sx(n,e.to)}),{...e,...zz(t)}}function Wz({delay:t,repeat:e,repeatType:n,repeatDelay:i,from:r,...o}){return!!Object.keys(o).length}function Uz(t,e){return t[e]||t.default||t}function Yz(t,e,n,i,r){const o=Uz(i,t);let s=o.from===null||o.from===void 0?e.get():o.from;const a=M0(t,n);s==="none"&&a&&typeof n=="string"&&(s=Dz(t,n));const l=M0(t,s);function c(h){const f={from:s,to:n,velocity:i.velocity?i.velocity:e.getVelocity(),onUpdate:d=>e.set(d)};return o.type==="inertia"||o.type==="decay"?wz({...f,...o}):vx({...Vz(o,f,t),onUpdate:d=>{f.onUpdate(d),o.onUpdate&&o.onUpdate(d)},onComplete:()=>{i.onComplete&&i.onComplete(),r&&r(),h&&h()}})}function u(h){return e.set(n),i.onComplete&&i.onComplete(),r&&r(),h&&h(),{stop:()=>{}}}return!l||!a||o.type===!1?u:c}function Gz(){const{motionValues:t,stop:e,get:n}=Iz();return{motionValues:t,stop:e,push:(r,o,s,a={},l)=>{const c=s[r],u=n(r,c,s);if(a&&a.immediate){u.set(o);return}const h=Yz(r,u,o,a,l);u.start(h)}}}function Kz(t,e={},{motionValues:n,push:i,stop:r}=Gz()){const o=O(e),s=tt(!1);$t(n,h=>{s.value=Object.values(h).filter(f=>f.isAnimating()).length>0},{immediate:!0,deep:!0});const a=h=>{if(!o||!o[h])throw new Error(`The variant ${h} does not exist.`);return o[h]},l=h=>(typeof h=="string"&&(h=a(h)),Promise.all(Object.entries(h).map(([f,d])=>{if(f!=="transition")return new Promise(p=>i(f,d,t,h.transition||Sx(f,h[f]),p))}).filter(Boolean)));return{isAnimating:s,apply:l,set:h=>{const f=Ps(h)?h:a(h);Object.entries(f).forEach(([d,p])=>{d!=="transition"&&i(d,p,t,{immediate:!0})})},leave:async h=>{let f;if(o&&(o.leave&&(f=o.leave),!o.leave&&o.initial&&(f=o.initial)),!f){h();return}await l(f),h()},stop:r}}const ip=typeof window<"u",Xz=()=>ip&&window.onpointerdown===null,Zz=()=>ip&&window.ontouchstart===null,Jz=()=>ip&&window.onmousedown===null;function Qz({target:t,state:e,variants:n,apply:i}){const r=O(n),o=tt(!1),s=tt(!1),a=tt(!1),l=A(()=>{let u=[];return r&&(r.hovered&&(u=[...u,...Object.keys(r.hovered)]),r.tapped&&(u=[...u,...Object.keys(r.tapped)]),r.focused&&(u=[...u,...Object.keys(r.focused)])),u}),c=A(()=>{const u={};Object.assign(u,e.value),o.value&&r.hovered&&Object.assign(u,r.hovered),s.value&&r.tapped&&Object.assign(u,r.tapped),a.value&&r.focused&&Object.assign(u,r.focused);for(const h in u)l.value.includes(h)||delete u[h];return u});r.hovered&&(Pt(t,"mouseenter",()=>o.value=!0),Pt(t,"mouseleave",()=>{o.value=!1,s.value=!1}),Pt(t,"mouseout",()=>{o.value=!1,s.value=!1})),r.tapped&&(Jz()&&(Pt(t,"mousedown",()=>s.value=!0),Pt(t,"mouseup",()=>s.value=!1)),Xz()&&(Pt(t,"pointerdown",()=>s.value=!0),Pt(t,"pointerup",()=>s.value=!1)),Zz()&&(Pt(t,"touchstart",()=>s.value=!0),Pt(t,"touchend",()=>s.value=!1))),r.focused&&(Pt(t,"focus",()=>a.value=!0),Pt(t,"blur",()=>a.value=!1)),$t(c,i)}function tV({set:t,target:e,variants:n,variant:i}){const r=O(n);$t(()=>e,()=>{r&&(r.initial&&t("initial"),r.enter&&(i.value="enter"))},{immediate:!0,flush:"pre"})}function eV({state:t,apply:e}){$t(t,n=>{n&&e(n)},{immediate:!0})}function nV({target:t,variants:e,variant:n}){const i=O(e);i&&(i.visible||i.visibleOnce)&&qk(t,([{isIntersecting:r}])=>{i.visible?r?n.value="visible":n.value="initial":i.visibleOnce&&(r&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function iV(t,e={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){e.lifeCycleHooks&&tV(t),e.syncVariants&&eV(t),e.visibilityHooks&&nV(t),e.eventListeners&&Qz(t)}function Ex(t={}){const e=zt({...t}),n=tt({});return $t(e,()=>{const i={};for(const[r,o]of Object.entries(e)){const s=np(r),a=Ax(o,s);i[r]=a}n.value=i},{immediate:!0,deep:!0}),{state:e,style:n}}function rp(t,e){$t(()=>xe(t),n=>{n&&e(n)},{immediate:!0})}const rV={x:"translateX",y:"translateY",z:"translateZ"};function $x(t={},e=!0){const n=zt({...t}),i=tt("");return $t(n,r=>{let o="",s=!1;if(e&&(r.x||r.y||r.z)){const a=[r.x||0,r.y||0,r.z||0].map(Ot.transform).join(",");o+=`translate3d(${a}) `,s=!0}for(const[a,l]of Object.entries(r)){if(e&&(a==="x"||a==="y"||a==="z"))continue;const c=np(a),u=Ax(l,c);o+=`${rV[a]||a}(${u}) `}e&&!s&&(o+="translateZ(0px) "),i.value=o.trim()},{immediate:!0,deep:!0}),{state:n,transform:i}}const oV=["","X","Y","Z"],sV=["perspective","translate","scale","rotate","skew"],Lx=["transformPerspective","x","y","z"];sV.forEach(t=>{oV.forEach(e=>{const n=t+e;Lx.push(n)})});const aV=new Set(Lx);function op(t){return aV.has(t)}const lV=new Set(["originX","originY","originZ"]);function Ox(t){return lV.has(t)}function cV(t){const e={},n={};return Object.entries(t).forEach(([i,r])=>{op(i)||Ox(i)?e[i]=r:n[i]=r}),{transform:e,style:n}}function Mx(t){const{transform:e,style:n}=cV(t),{transform:i}=$x(e),{style:r}=Ex(n);return i.value&&(r.value.transform=i.value),r.value}function uV(t,e){let n,i;const{state:r,style:o}=Ex();return rp(t,s=>{i=s;for(const a of Object.keys(kx))s.style[a]===null||s.style[a]===""||op(a)||Ox(a)||(r[a]=s.style[a]);n&&Object.entries(n).forEach(([a,l])=>s.style[a]=l),e&&e(r)}),$t(o,s=>{if(!i){n=s;return}for(const a in s)i.style[a]=s[a]},{immediate:!0}),{style:r}}function hV(t){const e=t.trim().split(/\) |\)/);if(e.length===1)return{};const n=i=>i.endsWith("px")||i.endsWith("deg")?parseFloat(i):isNaN(Number(i))?Number(i):i;return e.reduce((i,r)=>{if(!r)return i;const[o,s]=r.split("("),l=s.split(",").map(u=>n(u.endsWith(")")?u.replace(")",""):u.trim())),c=l.length===1?l[0]:l;return{...i,[o]:c}},{})}function fV(t,e){Object.entries(hV(e)).forEach(([n,i])=>{const r=["x","y","z"];if(n==="translate3d"){if(i===0){r.forEach(o=>t[o]=0);return}i.forEach((o,s)=>t[r[s]]=o);return}if(i=parseFloat(i),n==="translateX"){t.x=i;return}if(n==="translateY"){t.y=i;return}if(n==="translateZ"){t.z=i;return}t[n]=i})}function dV(t,e){let n,i;const{state:r,transform:o}=$x();return rp(t,s=>{i=s,s.style.transform&&fV(r,s.style.transform),n&&(s.style.transform=n),e&&e(r)}),$t(o,s=>{if(!i){n=s;return}i.style.transform=s},{immediate:!0}),{transform:r}}function pV(t,e){const n=zt({}),i=s=>Object.entries(s).forEach(([a,l])=>n[a]=l),{style:r}=uV(t,i),{transform:o}=dV(t,i);return $t(n,s=>{Object.entries(s).forEach(([a,l])=>{const c=op(a)?o:r;c[a]&&c[a]===l||(c[a]=l)})},{immediate:!0,deep:!0}),rp(t,()=>e&&i(e)),{motionProperties:n,style:r,transform:o}}function mV(t={}){const e=O(t),n=tt();return{state:A(()=>{if(n.value)return e[n.value]}),variant:n}}function Fx(t,e={},n){const{motionProperties:i}=pV(t),{variant:r,state:o}=mV(e),s=Kz(i,e),a={target:t,variant:r,variants:e,state:o,motionProperties:i,...s};return iV(a,n),a}const gV=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function yV(t,e){const n=t.props?t.props:t.data&&t.data.attrs?t.data.attrs:{};n&&(n.variants&&Ps(n.variants)&&(e.value={...e.value,...n.variants}),gV.forEach(i=>{if(i==="delay"){if(n&&n[i]&&typeof n[i]=="number"){const r=n[i];e&&e.value&&(e.value.enter&&(e.value.enter.transition||(e.value.enter.transition={}),e.value.enter.transition={delay:r,...e.value.enter.transition}),e.value.visible&&(e.value.visible.transition||(e.value.visible.transition={}),e.value.visible.transition={delay:r,...e.value.visible.transition}),e.value.visibleOnce&&(e.value.visibleOnce.transition||(e.value.visibleOnce.transition={}),e.value.visibleOnce.transition={delay:r,...e.value.visibleOnce.transition}))}return}i==="visible-once"&&(i="visibleOnce"),n&&n[i]&&Ps(n[i])&&(e.value[i]=n[i])}))}function eh(t){return{created:(n,i,r)=>{const o=i.value&&typeof i.value=="string"?i.value:r.key;o&&Ju[o]&&Ju[o].stop();const s=tt(t||{});typeof i.value=="object"&&(s.value=i.value),yV(r,s);const a=Fx(n,s);n.motionInstance=a,o&&(Ju[o]=a)},getSSRProps(n,i){let{initial:r}=n.value||i&&(i==null?void 0:i.props)||{};r=O(r);const o=vq((t==null?void 0:t.initial)||{},r||{});return!o||Object.keys(o).length===0?void 0:{style:Mx(o)}}}}const _V={initial:{opacity:0},enter:{opacity:1}},vV={initial:{opacity:0},visible:{opacity:1}},bV={initial:{opacity:0},visibleOnce:{opacity:1}},xV={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},CV={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},wV={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},TV={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},SV={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},kV={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},AV={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},EV={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},$V={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},LV={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},OV={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},MV={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},FV={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},BV={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},IV={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},PV={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},RV={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},NV={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},DV={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},jV={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},HV={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},qV={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},zV={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},VV={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},WV={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},UV={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},YV={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Tf={__proto__:null,fade:_V,fadeVisible:vV,fadeVisibleOnce:bV,pop:xV,popVisible:CV,popVisibleOnce:wV,rollBottom:FV,rollLeft:TV,rollRight:AV,rollTop:LV,rollVisibleBottom:BV,rollVisibleLeft:SV,rollVisibleOnceBottom:IV,rollVisibleOnceLeft:kV,rollVisibleOnceRight:$V,rollVisibleOnceTop:MV,rollVisibleRight:EV,rollVisibleTop:OV,slideBottom:WV,slideLeft:PV,slideRight:DV,slideTop:qV,slideVisibleBottom:UV,slideVisibleLeft:RV,slideVisibleOnceBottom:YV,slideVisibleOnceLeft:NV,slideVisibleOnceRight:HV,slideVisibleOnceTop:VV,slideVisibleRight:jV,slideVisibleTop:zV},GV=jt({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(t){const e=Sw(),n=zt({});if(!t.is&&!e.default)return()=>Ze("div",{});const i=A(()=>{let a;return t.preset&&(a=Tf[t.preset]),a}),r=A(()=>({initial:t.initial,enter:t.enter,leave:t.leave,visible:t.visible,visibleOnce:t.visibleOnce,hovered:t.hovered,tapped:t.tapped,focused:t.focused})),o=A(()=>{const a={...r.value,...i.value||{},...t.variants||{}};return t.delay&&(a.enter.transition={...a.enter.transition},a.enter.transition.delay=parseInt(t.delay)),a}),s=A(()=>{if(!t.is)return;let a=t.is;return typeof s.value=="string"&&!j0(a)&&(a=Ll(a)),a});{const a=l=>{var c;(c=l.variants)!=null&&c.initial&&l.set("initial"),setTimeout(()=>{var u,h,f;(u=l.variants)!=null&&u.enter&&l.apply("enter"),(h=l.variants)!=null&&h.visible&&l.apply("visible"),(f=l.variants)!=null&&f.visibleOnce&&l.apply("visibleOnce")},10)};Sc(()=>Object.entries(n).forEach(([l,c])=>a(c)))}return{slots:e,component:s,motionConfig:o,instances:n}},render({slots:t,motionConfig:e,instances:n,component:i}){var a;const r=Mx(e.initial||{}),o=(l,c)=>(l.props||(l.props={}),l.props.style=r,l.props.onVnodeMounted=({el:u})=>{const h=Fx(u,e);n[c]=h},l);if(i){const l=Ze(i,void 0,t);return o(l,0),l}return(((a=t.default)==null?void 0:a.call(t))||[]).map((l,c)=>o(l,c))}});function KV(t){const e="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",i=new RegExp(e.split("").join("|"),"g");return t.toString().replace(/[A-Z]/g,r=>`-${r}`).toLowerCase().replace(/\s+/g,"-").replace(i,r=>n.charAt(e.indexOf(r))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const XV={install(t,e){if(t.directive("motion",eh()),t.component("Motion",GV),!e||e&&!e.excludePresets)for(const n in Tf){const i=Tf[n];t.directive(`motion-${KV(n)}`,eh(i))}if(e&&e.directives)for(const n in e.directives){const i=e.directives[n];i.initial,t.directive(`motion-${n}`,eh(i))}}},nu="vue-starport-injection",Bx="vue-starport-options",ZV={duration:800,easing:"cubic-bezier(0.45, 0, 0.55, 1)",keepAlive:!1},Ix={port:{type:String,required:!0},duration:{type:Number,required:!1},easing:{type:String,required:!1},keepAlive:{type:Boolean,required:!1,default:void 0},mountedProps:{type:Object,required:!1},initialProps:{type:Object,required:!1}},JV=jt({name:"StarportProxy",props:{props:{type:Object,default:()=>({})},component:{type:Object,required:!0},...Ix},setup(t,e){const n=kt(nu),i=A(()=>n.getInstance(t.port,t.component)),r=tt(),o=i.value.generateId(),s=tt(!1);return i.value.isVisible||(i.value.land(),s.value=!0),Zr(async()=>{if(i.value.el){console.error(`[Vue Starport] Multiple proxies of "${i.value.componentName}" with port "${t.port}" detected. The later one will be ignored.`);return}if(i.value.el=r.value,await ke(),s.value=!0,i.value.rect.update(),i.value.rect.width===0||i.value.rect.height===0){const a=i.value.rect.width===0?"width":"height";console.warn(`[Vue Starport] The proxy of component "${i.value.componentName}" (port "${t.port}") has no ${a} on initial render, have you set the size for it?`),console.warn("element:",i.value.el),console.warn("rect:",i.value.rect)}}),ca(async()=>{i.value.rect.update(),i.value.liftOff(),i.value.el=void 0,s.value=!1,!i.value.options.keepAlive&&(await ke(),await ke(),!i.value.el&&n.dispose(i.value.port))}),$t(()=>t,async()=>{i.value.props&&await ke();const{props:a,...l}=t;i.value.props=a||{},i.value.setLocalOptions(l)},{deep:!0,immediate:!0}),()=>{const{initialProps:a,mountedProps:l,...c}=t,u=Ur(c,(s.value?l:a)||{});return Ze("div",Ur(u,{id:o,ref:r,"data-starport-proxy":i.value.componentId,"data-starport-landed":i.value.isLanded?"true":void 0,"data-starport-floating":i.value.isLanded?void 0:"true"}),e.slots.default?Ze(e.slots.default):void 0)}}}),QV=jt({name:"Starport",inheritAttrs:!0,props:Ix,setup(t,e){const n=tt(!1);return Zr(()=>{if(n.value=!0,!kt(nu))throw new Error("[Vue Starport] Failed to find the carrier, all Starport components must be wrapped in a <StarportCarrier> component.")}),()=>{var s,a;const i=(a=(s=e.slots).default)==null?void 0:a.call(s);if(!i)throw new Error("[Vue Starport] Slot is required to use <Starport>");if(i.length!==1)throw new Error(`[Vue Starport] <Starport> requires exactly one slot, but got ${i.length}`);const r=i[0];let o=r.type;return(!Ps(o)||or(o))&&(o={render(){return i}}),Ze(JV,{...t,key:t.port,component:bc(o),props:r.props})}}});function tW(t){const e=zt({height:0,width:0,left:0,top:0,update:i,listen:o,pause:s,marginTop:"0px",marginLeft:"0px",margin:"0px",padding:"0px"}),n=vn?document.documentElement||document.body:void 0;function i(){if(!vn)return;const a=xe(t);if(!a)return;const{height:l,width:c,left:u,top:h}=a.getBoundingClientRect(),f=window.getComputedStyle(a),d=f.marginTop,p=f.marginLeft,g=f.margin,y=f.padding;Object.assign(e,{height:l,width:c,left:u,top:n.scrollTop+h,marginTop:d,marginLeft:p,margin:g,padding:y})}const r=C_(i,{immediate:!1});function o(){vn&&(i(),r.resume())}function s(){r.pause()}return e}let eW=(t,e=21)=>(n=e)=>{let i="",r=n;for(;r--;)i+=t[Math.random()*t.length|0];return i};const F0=eW("abcdefghijklmnopqrstuvwxyz",5);function B0(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().replace(/[^\w\d_-]/g,"")}function nW(t){var e;return t.name||((e=t.__file)==null?void 0:e.split(/[\/\\.]/).slice(-2)[0])||""}function iW(t,e,n={}){const i=nW(e),r=B0(i)||F0(),o=tt(),s=tt(null),a=tt(!1),l=tt(!1),c=oC(!0),u=tt({}),h=A(()=>({...ZV,...n,...u.value})),f=tt(0);let d;c.run(()=>{d=tW(o),$t(o,async b=>{b&&(l.value=!0),await ke(),o.value||(l.value=!1)})});const p=B0(t);function g(){return`starport-${r}-${p}-${F0()}`}const y=g();return zt({el:o,id:y,port:t,props:s,rect:d,scope:c,isLanded:a,isVisible:l,options:h,liftOffTime:f,component:e,componentName:i,componentId:r,generateId:g,setLocalOptions(b={}){u.value=JSON.parse(JSON.stringify(b))},elRef(){return o},liftOff(){a.value&&(a.value=!1,f.value=Date.now(),d.listen())},land(){a.value||(a.value=!0,d.pause())}})}function rW(t){const e=zt(new Map);function n(r,o){let s=e.get(r);return s||(s=iW(r,o,t),e.set(r,s)),s.component=o,s}function i(r){var o;(o=e.get(r))==null||o.scope.stop(),e.delete(r)}return{portMap:e,dispose:i,getInstance:n}}const oW=jt({name:"StarportCraft",props:{port:{type:String,required:!0},component:{type:Object,required:!0}},setup(t){const e=kt(nu);if(!e)throw new Error("[Vue Starport] Failed to find the carrier, all Starport components must be wrapped in a <StarportCarrier> component.");const n=A(()=>e.getInstance(t.port,t.component)),i=A(()=>{var s;return((s=n.value.el)==null?void 0:s.id)||n.value.id}),r=A(()=>{const s=Date.now()-n.value.liftOffTime,a=Math.max(0,n.value.options.duration-s),l=n.value.rect,c={position:"absolute",left:0,top:0,width:`${l.width}px`,height:`${l.height}px`,margin:l.margin,padding:l.padding,transform:`translate3d(calc(${l.left}px - ${l.marginLeft}),calc(${l.top}px - ${l.marginTop}),0px)`};return!n.value.isVisible||!n.value.el?{...c,zIndex:-1,display:"none"}:(n.value.isLanded?c.display="none":Object.assign(c,{transitionProperty:"all",transitionDuration:`${a}ms`,transitionTimingFunction:n.value.options.easing}),c)}),o={onTransitionend(s){n.value.isLanded||console.warn(`[Vue Starport] Transition duration of component "${n.value.componentName}" is too short (${s.elapsedTime}s) that may cause animation glitches. Try to increase the duration of that component, or decrease the duration the Starport (current: ${n.value.options.duration/1e3}s).`)}};return()=>{const s=!!(n.value.isLanded&&n.value.el);return Ze("div",{style:r.value,"data-starport-craft":n.value.componentId,"data-starport-landed":n.value.isLanded?"true":void 0,"data-starport-floating":n.value.isLanded?void 0:"true",onTransitionend:n.value.land},Ze(tT,{to:s?`#${i.value}`:"body",disabled:!s},Ze(n.value.component,Ur(o,n.value.props))))}}}),sW=jt({name:"StarportCarrier",setup(t,{slots:e}){const n=rW(kt(Bx,{}));return Tn().appContext.app.provide(nu,n),()=>{var r;return[(r=e.default)==null?void 0:r.call(e),Array.from(n.portMap.entries()).map(([o,{component:s}])=>Ze(oW,{key:o,port:o,component:s}))]}}});function aW(t={}){return{install(e){e.provide(Bx,t),e.component("Starport",QV),e.component("StarportCarrier",sW)}}}function lW(t){function e(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}e(),window.addEventListener("resize",e),t.app.use(XV),t.app.use(aW({keepAlive:!0}))}function tn(t,e,n){var i;return((i=t.instance)==null?void 0:i.$).provides[e]??n}function cW(){return{install(t){t.directive("click",{name:"v-click",mounted(e,n){var u,h,f,d;if(zr.value||(u=tn(n,al))!=null&&u.value||n.value===!1||n.value==="false")return;const i=tn(n,po),r=tn(n,bn),o=tn(n,Ih),s=n.modifiers.hide!==!1&&n.modifiers.hide!=null,l=n.modifiers.fade!==!1&&n.modifiers.fade!=null?S$:Au;i&&!((h=i==null?void 0:i.value)!=null&&h.includes(e))&&i.value.push(e);const c=((f=i==null?void 0:i.value)==null?void 0:f.length)||0;if(I0(n,c),!(o!=null&&o.value.has(n.value)))o==null||o.value.set(n.value,[e]);else if(!((d=o==null?void 0:o.value.get(n.value))!=null&&d.includes(e))){const p=(o==null?void 0:o.value.get(n.value))||[];o==null||o.value.set(n.value,[e].concat(p))}e==null||e.classList.toggle(lo,!0),r&&$t(r,()=>{const p=(r==null?void 0:r.value)??0,g=n.value!=null?Array.isArray(n.value)?p>=n.value[0]&&p<n.value[1]:p>=n.value:p>c;e.classList.contains(Eu)||e.classList.toggle(l,!g),s!==!1&&s!==void 0&&e.classList.toggle(l,g),e.classList.toggle(ns,!1);const y=o==null?void 0:o.value.get(p);y==null||y.forEach((b,v)=>{b.classList.toggle(Pa,!1),v===y.length-1?b.classList.toggle(ns,!0):b.classList.toggle(Pa,!0)}),e.classList.contains(ns)||e.classList.toggle(Pa,g)},{immediate:!0})},unmounted(e,n){e==null||e.classList.toggle(lo,!1);const i=tn(n,po);i!=null&&i.value&&hm(i.value,e)}}),t.directive("after",{name:"v-after",mounted(e,n){var a,l;if(zr.value||(a=tn(n,al))!=null&&a.value||n.value===!1||n.value==="false")return;const i=tn(n,po),r=tn(n,bn),o=tn(n,Ih),s=(i==null?void 0:i.value.length)||0;I0(n,s),o!=null&&o.value.has(n.value)?(l=o==null?void 0:o.value.get(n.value))==null||l.push(e):o==null||o.value.set(n.value,[e]),e==null||e.classList.toggle(lo,!0),r&&$t(r,()=>{const c=r.value??0,u=n.value!=null?Array.isArray(n.value)?c>=n.value[0]&&c<n.value[1]:c>=n.value:c>=s;e.classList.contains(Eu)||e.classList.toggle(Au,!u),e.classList.toggle(ns,!1),e.classList.contains(ns)||e.classList.toggle(Pa,u)},{immediate:!0})},unmounted(e){e==null||e.classList.toggle(lo,!0)}}),t.directive("click-hide",{name:"v-click-hide",mounted(e,n){var s,a,l;if(zr.value||(s=tn(n,al))!=null&&s.value)return;const i=tn(n,po),r=tn(n,bn),o=((a=i==null?void 0:i.value)==null?void 0:a.length)||0;i&&!((l=i==null?void 0:i.value)!=null&&l.includes(e))&&i.value.push(e),e==null||e.classList.toggle(lo,!0),r&&$t(r,()=>{const c=(r==null?void 0:r.value)??0,u=n.value!=null?c>=n.value:c>o;e.classList.toggle(Au,u),e.classList.toggle(Eu,u)},{immediate:!0})},unmounted(e,n){e==null||e.classList.toggle(lo,!1);const i=tn(n,po);i!=null&&i.value&&hm(i.value,e)}})}}}function I0(t,e){(t.value==null||t.value===!0||t.value==="true")&&(t.value=e),typeof t.value=="string"&&(t.value.startsWith("+")||t.value.startsWith("-"))&&(t.value=e+Number(t.value))}function uW(t,e){const n=_v(t),i=vv(e,n.currentRoute,n.currentPage);return{nav:{...n,...i},configs:Wt,themeConfigs:A(()=>Wt.themeConfig)}}function hW(){return{install(t){const e=zt(uW(wn,on));t.provide(Li,e),t.provide($i,A(()=>e.nav.currentPage)),t.provide(bn,A(()=>e.nav.clicks))}}}const Wo=ZT(yq);Wo.use(ze);Wo.use(zS());Wo.use(cW());Wo.use(hW());lW({app:Wo,router:ze});Wo.mount("#app");export{dW as $,dc as A,oq as B,Yu as C,ti as D,Zr as E,It as F,zt as G,gW as H,vW as I,$t as J,bu as K,Ds as L,Su as M,hs as N,_e as O,jl as P,bW as Q,xW as R,Q_ as S,le as T,$e as U,Yt as V,N$ as W,eM as X,rd as Y,od as Z,Dt as _,WS as a,Iv as a$,pW as a0,Ue as a1,KO as a2,UL as a3,ln as a4,mW as a5,He as a6,gn as a7,CW as a8,es as a9,AN as aA,wd as aB,$N as aC,xv as aD,xN as aE,f1 as aF,pN as aG,MI as aH,g8 as aI,DW as aJ,Ss as aK,an as aL,Bv as aM,S5 as aN,Cs as aO,tR as aP,Td as aQ,Tt as aR,ei as aS,S8 as aT,k8 as aU,b8 as aV,II as aW,BW as aX,O8 as aY,TN as aZ,dd as a_,$r as aa,Fh as ab,i$ as ac,r$ as ad,o$ as ae,a$ as af,Ey as ag,Zf as ah,Ve as ai,Na as aj,M2 as ak,kt as al,J_ as am,l$ as an,ca as ao,x8 as ap,C8 as aq,T8 as ar,w8 as as,Rd as at,Us as au,Fe as av,oc as aw,mn as ax,vt as ay,mb as az,A as b,Ad as b$,Ke as b0,pa as b1,o5 as b2,l5 as b3,s5 as b4,lB as b5,Nv as b6,wW as b7,B8 as b8,hP as b9,YR as bA,P1 as bB,V6 as bC,aN as bD,dr as bE,$1 as bF,F1 as bG,rc as bH,ic as bI,kR as bJ,qu as bK,eo as bL,M6 as bM,_9 as bN,kd as bO,E6 as bP,R6 as bQ,zo as bR,MR as bS,k6 as bT,ri as bU,Sd as bV,ya as bW,qo as bX,FR as bY,O6 as bZ,L6 as b_,j1 as ba,Ld as bb,OW as bc,oP as bd,ni as be,zi as bf,pd as bg,Vs as bh,dg as bi,mB as bj,HW as bk,lN as bl,CN as bm,ec as bn,Vg as bo,iN as bp,rN as bq,B1 as br,Vc as bs,uf as bt,GR as bu,Gc as bv,DR as bw,a9 as bx,ga as by,nN as bz,Wt as c,A1 as c0,Dg as c1,Dc as c2,jW as c3,BN as c4,A8 as c5,ma as c6,pt as c7,xt as c8,_d as c9,kW as ca,$W as cb,bg as cc,vg as cd,LW as ce,EW as cf,TW as cg,SW as ch,FW as ci,MW as cj,AW as ck,r5 as cl,jt as d,nt as e,X as f,O as g,No as h,td as i,eq as j,Ci as k,at as l,Mt as m,Ae as n,R as o,tt as p,_W as q,se as r,Le as s,yn as t,yW as u,Vt as v,ee as w,y$ as x,uq as y,on as z};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["assets/c4Diagram-c82ee324-0kgbDzSX.js","assets/svgDrawCommon-1b9ff2ad-B4iIY08o.js","assets/flowDiagram-962873e1-nda6-cW-.js","assets/flowDb-a32fc02b-mKtk886G.js","assets/layout-94e1e85f-BAM45a7u.js","assets/styles-a35956af-xNc0fAXX.js","assets/index-20c9cf41-l8R8WdfM.js","assets/edges-9f0d1f4d-OJsHViVb.js","assets/createText-77e212b0-L6d34XR_.js","assets/line-b015ae81-MIcjsH1n.js","assets/array-b7dcf730-Nw74a44z.js","assets/path-39bad7e2-aUcfwwLI.js","assets/flowDiagram-v2-10567f5e-VU4AD-_e.js","assets/erDiagram-a72da23d-vgjFpPuP.js","assets/ganttDiagram-18b41033-KFKp07jc.js","assets/linear-ad2a9be7-2u7jZYmT.js","assets/init-cc95ec8e-Hi12RPRh.js","assets/pieDiagram-0a51d72a-VPTxVOZB.js","assets/arc-01f1c7b4-EdqqRiec.js","assets/ordinal-475e0c0c-Beet9Qdq.js","assets/quadrantDiagram-31813e83-T7dXnRZu.js","assets/xychartDiagram-ca967019-Jb-DkKGk.js","assets/requirementDiagram-6d08cb88-VD3gHRhe.js","assets/sequenceDiagram-62b9e65a-dBrfESyV.js","assets/classDiagram-5d49202d-d9I8momV.js","assets/styles-9e4c6998-0KggYSQd.js","assets/classDiagram-v2-5328fc73-o_oS6EAJ.js","assets/stateDiagram-03b49db1-LV6DDYic.js","assets/styles-275f40ca-02prN6vb.js","assets/stateDiagram-v2-a86a5ce4-iQ_8fA-L.js","assets/journeyDiagram-30ac10e6-7a2SGMP3.js","assets/flowchart-elk-definition-b97a4072-mWsI5guh.js","assets/timeline-definition-54d0bf3a-PHsL3qfr.js","assets/mindmap-definition-83493066-ARqmEEQ9.js","assets/sankeyDiagram-ff1543cb--HN3sqYB.js","assets/PresenterPrint-9at8jjKc.js","assets/NoteDisplay-yuZim5X5.js","assets/Presenter-l9qHHLVL.js","assets/DrawingControls-BpEX6Ul-.js","assets/Presenter-Khn14gwB.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
#slide-container{position:relative;break-after:page;overflow:hidden}#slide-content{position:relative;position:absolute;left:50%;top:50%;overflow:hidden;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(24 24 24 / var(--un-text-opacity))}.dark #slide-content{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(221 221 221 / var(--un-text-opacity))}.slidev-info-dialog{max-width:37.5rem;padding:1rem!important}.autocomplete-list[data-v-f5ee02a7]{margin-top:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));overflow:auto;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(24 24 24 / var(--un-text-opacity));max-height:calc(100vh - 100px)}.dark .autocomplete-list[data-v-f5ee02a7]{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(221 221 221 / var(--un-text-opacity))}.autocomplete[data-v-f5ee02a7]{cursor:pointer}.select-list[data-v-3f89fa11]{padding-top:.5rem;padding-bottom:.5rem}.item[data-v-3f89fa11]{display:flex;cursor:default;white-space:nowrap;border-radius:.25rem;padding:.25rem 1rem}.item svg[data-v-3f89fa11]{margin-top:auto;margin-bottom:auto;margin-right:.25rem;margin-left:-.5rem}.item[data-v-3f89fa11]:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.1}.title[data-v-3f89fa11]{padding:.25rem 1.75rem;font-size:.75rem;line-height:1rem;letter-spacing:.1em;text-transform:uppercase;opacity:.5}#slideshow[data-v-afb4231e]{height:100%}#slideshow>div[data-v-afb4231e]{position:absolute;height:100%;width:100%}#print-content{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(24 24 24 / var(--un-text-opacity))}.dark #print-content{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(221 221 221 / var(--un-text-opacity))}.print-slide-container{position:relative;break-after:page;overflow:hidden}html.print,html.print body,html.print #app{height:auto;overflow:auto}html.print #page-root{height:auto;overflow:hidden}html.print *{-webkit-print-color-adjust:exact}html.print{width:100%;height:100%;overflow:visible}html.print body{margin:0 auto;border:0;padding:0;float:none;overflow:visible}.slidev-layout.end[data-v-e532b98d]{display:grid;height:100%;-webkit-user-select:none;user-select:none;place-content:center;--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity));text-align:center;font-size:1.25rem;line-height:1.75rem;--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));--un-text-opacity:.85;letter-spacing:.1em}.two-cols-header[data-v-1401df1d]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}.col-header[data-v-1401df1d]{grid-area:1 / 1 / 2 / 3}.col-left[data-v-1401df1d]{grid-area:2 / 1 / 3 / 2}.col-right[data-v-1401df1d]{grid-area:2 / 2 / 3 / 3}.col-bottom[data-v-1401df1d]{align-self:end;grid-area:3 / 1 / 3 / 3}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.prose :where(h1,h2,h3,h4,h5,h6):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-headings);font-weight:600;line-height:1.25}.prose :where(a):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links);text-decoration:underline;font-weight:500}.prose :where(a code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links)}.prose :where(p,ul,ol,pre):not(:where(.not-prose,.not-prose *)){margin:1em 0;line-height:1.75}.prose :where(blockquote):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding-left:1em;font-style:italic;border-left:.25em solid var(--un-prose-borders)}.prose :where(h1):not(:where(.not-prose,.not-prose *)){margin:1rem 0;font-size:2.25em}.prose :where(h2):not(:where(.not-prose,.not-prose *)){margin:1.75em 0 .5em;font-size:1.75em}.prose :where(h3):not(:where(.not-prose,.not-prose *)){margin:1.5em 0 .5em;font-size:1.375em}.prose :where(h4):not(:where(.not-prose,.not-prose *)){margin:1em 0;font-size:1.125em}.prose :where(img,video):not(:where(.not-prose,.not-prose *)){max-width:100%}.prose :where(figure,picture):not(:where(.not-prose,.not-prose *)){margin:1em 0}.prose :where(figcaption):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-captions);font-size:.875em}.prose :where(code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);font-size:.875em;font-weight:600;font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):before,.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):after{content:"`"}.prose :where(pre):not(:where(.not-prose,.not-prose *)){padding:1.25rem 1.5rem;overflow-x:auto;border-radius:.375rem}.prose :where(pre,code):not(:where(.not-prose,.not-prose *)){white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;hyphens:none;background:transparent}.prose :where(pre code):not(:where(.not-prose,.not-prose *)){font-weight:inherit}.prose :where(ol,ul):not(:where(.not-prose,.not-prose *)){padding-left:1.25em}.prose :where(ol):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ol[type=A]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ul):not(:where(.not-prose,.not-prose *)){list-style-type:disc}.prose :where(ol>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(ul>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(summary):not(:where(.not-prose,.not-prose *))::marker{color:var(--un-prose-lists)}.prose :where(hr):not(:where(.not-prose,.not-prose *)){margin:2em 0;border:1px solid var(--un-prose-hr)}.prose :where(table):not(:where(.not-prose,.not-prose *)){display:block;margin:1em 0;border-collapse:collapse;overflow-x:auto}.prose :where(tr):not(:where(.not-prose,.not-prose *)):nth-child(2n){background:var(--un-prose-bg-soft)}.prose :where(td,th):not(:where(.not-prose,.not-prose *)){border:1px solid var(--un-prose-borders);padding:.625em 1em}.prose :where(abbr):not(:where(.not-prose,.not-prose *)){cursor:help}.prose :where(kbd):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);border:1px solid;padding:.25rem .5rem;font-size:.875em;border-radius:.25rem}.prose :where(details):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding:1.25rem 1.5rem;background:var(--un-prose-bg-soft)}.prose :where(summary):not(:where(.not-prose,.not-prose *)){cursor:pointer;font-weight:600}.prose{color:var(--un-prose-body);max-width:65ch}.container{width:100%}.border-main,.dark [border~="dark:main"],.dark [dark\:border~=main],[border~=main]{border-color:#9ca3af33}.bg-active{background-color:#9ca3af1a}.bg-main{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(24 24 24 / var(--un-text-opacity))}.dark .bg-main{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(221 221 221 / var(--un-text-opacity))}@media print{.print-container{width:100%}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 640px){@media print{.print-container{max-width:640px}}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 768px){@media print{.print-container{max-width:768px}}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1024px){@media print{.print-container{max-width:1024px}}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1280px){@media print{.print-container{max-width:1280px}}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1536px){@media print{.print-container{max-width:1536px}}}:root{--slidev-code-background: rgba(125,125,125,.03);--slidev-code-font-family: "Fira Code",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--slidev-code-padding: 8px;--slidev-code-font-size: 12px;--slidev-code-line-height: 18px;--slidev-code-radius: 4px;--slidev-code-margin: 4px 0;--slidev-transition-duration: .5s;--slidev-slide-container-background: black;--slidev-controls-foreground: white}html,body,#app,#page-root{padding:0;margin:0;width:100%;height:100vh;height:calc(var(--vh, 1vh) * 100);overflow:hidden;font-family:Avenir Next,Nunito Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}html{background:transparent}.slidev-icon-btn{display:inline-block;cursor:pointer;-webkit-user-select:none;user-select:none;outline:2px solid transparent!important;outline-offset:2px!important;border-radius:.25rem;padding:.25rem;vertical-align:middle;opacity:.75;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.15s;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width: 768px){.slidev-icon-btn{padding:.5rem}}.slidev-icon-btn:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.1;opacity:1}.slidev-icon-btn.shallow{opacity:.3}.slidev-icon-btn.active{opacity:1}.slidev-icon-btn.disabled{pointer-events:none;opacity:.25}.slidev-vclick-target{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}.slidev-vclick-hidden{pointer-events:none!important;opacity:0!important}.slidev-vclick-fade{opacity:.5}.slidev-icon{display:inline-block;vertical-align:sub;line-height:1em}.slidev-page{position:absolute;position:relative;top:0;left:0;right:0;width:100%}html.dark:root{color-scheme:dark}html.dark .shiki-light{display:none}html:not(.dark) .shiki-dark{display:none}.shiki-container{position:relative;display:flex;flex-direction:column}.shiki-container>.shiki{height:100%}html.dark .shikiji{color:var(--shiki-dark, inherit);background:var(--shiki-dark-bg, inherit);--twoslash-popup-bg: var(--shiki-dark-bg, inherit)}html.dark .shikiji span{color:var(--shiki-dark)}html:not(.dark) .shikiji{color:var(--shiki-light, inherit);background:var(--shiki-light-bg, inherit);--twoslash-popup-bg: var(--shiki-light-bg, inherit)}html:not(.dark) .shikiji span{color:var(--shiki-light)}.shikiji.twoslash{overflow:inherit}.twoslash-meta-line.twoslash-popover-line{margin-top:-10px}.slidev-code-wrapper{margin:var(--slidev-code-margin)!important;scroll-padding:var(--slidev-code-padding)}.slidev-code-wrapper:-webkit-scrollbar{width:0px}.slidev-code{font-family:var(--slidev-code-font-family)!important;padding:var(--slidev-code-padding)!important;font-size:var(--slidev-code-font-size)!important;line-height:var(--slidev-code-line-height)!important;border-radius:var(--slidev-code-radius)!important;overflow:auto}.slidev-code .line.dishonored{opacity:.3;pointer-events:none}.slidev-code-line-numbers .slidev-code code{counter-reset:step;counter-increment:step calc(var(--start, 1) - 1)}.slidev-code-line-numbers .slidev-code code .line:before{content:counter(step);counter-increment:step;margin-right:1.5rem;display:inline-block;width:1rem;text-align:right;--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.dark .slidev-code-line-numbers .slidev-code code .line:before{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.katex,.katex :after,.katex :before{border-color:currentColor}.CodeMirror pre.CodeMirror-placeholder{opacity:.4}.slidev-katex-wrapper .mord.dishonored{opacity:.3}.slide-left-enter-active,.slide-left-leave-active,.slide-right-enter-active,.slide-right-leave-active,.slide-up-enter-active,.slide-up-leave-active,.slide-down-enter-active,.slide-down-leave-active{transition:all var(--slidev-transition-duration) ease}.slide-left-enter-from,.slide-right-leave-to{transform:translate(100%)}.slide-left-leave-to,.slide-right-enter-from{transform:translate(-100%)}.slide-up-enter-from,.slide-down-leave-to{transform:translateY(100%)}.slide-up-leave-to,.slide-down-enter-from{transform:translateY(-100%)}.fade-enter-active,.fade-leave-active{transition:opacity var(--slidev-transition-duration) ease}.fade-enter-from,.fade-leave-to{opacity:0}.fade-out-leave-active{transition:opacity calc(var(--slidev-transition-duration) * .6) ease-out}.fade-out-enter-active{transition:opacity calc(var(--slidev-transition-duration) * .8) ease-in;transition-delay:calc(var(--slidev-transition-duration) * .6)}.fade-out-enter-from,.fade-out-leave-to{opacity:0}.slidev-layout{height:100%;padding:2.5rem 3.5rem;font-size:1.1rem}.slidev-layout pre,.slidev-layout code{-webkit-user-select:text;user-select:text}.slidev-layout code{font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-layout h1{margin-bottom:1rem;font-size:2.25rem;line-height:2.5rem}.slidev-layout h6{padding-top:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase}.slidev-layout p{margin-top:1rem;margin-bottom:1rem;line-height:1.5rem}.slidev-layout ul{list-style:square}.slidev-layout ol{list-style:decimal}.slidev-layout li{line-height:1.8em}.slidev-layout blockquote{border-left-width:1px;border-color:var(--slidev-theme-primary);border-radius:.25rem;background-color:var(--prism-background);padding:.25rem .5rem;font-size:.875rem;line-height:1.25rem;color:var(--prism-foreground)}.slidev-layout blockquote>*{margin-top:0;margin-bottom:0}.slidev-layout table{width:100%}.slidev-layout tr{border-bottom-width:1px;--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity));--un-border-opacity:.2}.slidev-layout th{text-align:left;font-weight:400}.slidev-layout a{border-bottom-width:1px;border-color:currentColor;border-style:dashed}.slidev-layout a:hover{border-style:solid;color:var(--slidev-theme-primary)}.slidev-layout td,.slidev-layout th{padding:.75rem .5rem}.slidev-layout b,.slidev-layout strong{font-weight:600}.slidev-layout kbd{border-width:1px;border-bottom-width:2px;--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity));--un-border-opacity:.2;border-radius:.25rem;--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.05;padding:.125rem .25rem;font-size:.75rem;line-height:1rem;font-family:Fira Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.slidev-layout h1,[dir=ltr] h1,.slidev-layout [dir=ltr] h1,.slidev-layout h6,[dir=ltr] h6,.slidev-layout [dir=ltr] h6{margin-left:-.05em;margin-right:0}.slidev-layout li,[dir=ltr] li,.slidev-layout [dir=ltr] li{margin-left:1.1em;margin-right:0;padding-left:.2em;padding-right:0}[dir=rtl] h1,.slidev-layout [dir=rtl] h1,[dir=rtl] h6,.slidev-layout [dir=rtl] h6{margin-right:-.05em;margin-left:0}[dir=rtl] li,.slidev-layout [dir=rtl] li{margin-right:1.1em;margin-left:0;padding-right:.2em;padding-left:0}.slidev-layout h1+p{margin-top:-.5rem;margin-bottom:1rem;opacity:.5}.slidev-layout p+h2,.slidev-layout ul+h2,.slidev-layout table+h2{margin-top:2.5rem}.slidev-layout h1{margin-bottom:1rem;margin-left:-.05em;font-size:2.25rem;line-height:2.5rem}.slidev-layout h2{font-size:1.875rem;line-height:2.25rem}.slidev-layout h3{font-size:1.5rem;line-height:2rem}.slidev-layout h4{font-size:1.25rem;line-height:1.75rem}.slidev-layout h5{font-size:1rem;line-height:1.5rem}.slidev-layout h6{margin-left:-.05em;padding-top:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase}.slidev-layout h6:not(.opacity-100){opacity:.4}.slidev-layout.cover,.slidev-layout.intro{display:grid;height:100%}.slidev-layout.cover h1,.slidev-layout.intro h1{font-size:3.75rem;line-height:1;line-height:5rem}.slidev-layout.fact{display:grid;height:100%;text-align:center}.slidev-layout.fact h1{font-size:6rem;line-height:1;font-weight:700}.slidev-layout.fact h1+p{font-size:1.5rem;line-height:2rem;font-weight:700}.slidev-layout.statement{display:grid;height:100%;text-align:center}.slidev-layout.statement h1{font-size:3.75rem;line-height:1;font-weight:700}.slidev-layout.quote{display:grid;height:100%}.slidev-layout.quote h1+p{margin-top:.5rem}.slidev-layout.section h1{font-size:3.75rem;line-height:1;font-weight:500;line-height:5rem}:root{--prism-scheme: light;--prism-foreground: #6e6e6e;--prism-background: #f4f4f4;--prism-comment: #a8a8a8;--prism-string: #555555;--prism-literal: #333333;--prism-keyword: #000000;--prism-function: #4f4f4f;--prism-deleted: #333333;--prism-class: #333333;--prism-builtin: #757575;--prism-property: #333333;--prism-namespace: #4f4f4f;--prism-punctuation: #ababab;--prism-decorator: var(--prism-class);--prism-operator: var(--prism-punctuation);--prism-number: var(--prism-literal);--prism-boolean: var(--prism-literal);--prism-variable: var(--prism-literal);--prism-constant: var(--prism-literal);--prism-symbol: var(--prism-literal);--prism-interpolation: var(--prism-literal);--prism-selector: var(--prism-keyword);--prism-keyword-control: var(--prism-keyword);--prism-regex: var(--prism-string);--prism-json-property: var(--prism-property);--prism-inline-background: var(--prism-background);--prism-comment-style: italic;--prism-url-decoration: underline;--prism-line-number: #a5a5a5;--prism-line-number-gutter: #333333;--prism-line-highlight-background: #eeeeee;--prism-selection-background: #dddddd;--prism-marker-color: var(--prism-foreground);--prism-marker-opacity: .4;--prism-marker-font-size: .8em;--prism-font-size: 1em;--prism-line-height: 1.5em;--prism-font-family: monospace;--prism-inline-font-size: var(--prism-font-size);--prism-block-font-size: var(--prism-font-size);--prism-tab-size: 2;--prism-block-padding-x: 1em;--prism-block-padding-y: 1em;--prism-block-margin-x: 0;--prism-block-margin-y: .5em;--prism-block-radius: .3em;--prism-inline-padding-x: .3em;--prism-inline-padding-y: .1em;--prism-inline-radius: .3em}div[class*=language-],pre[class*=language-],code[class*=language-]{font-size:var(--prism-font-size);font-family:var(--prism-font-family);direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:var(--prism-line-height);-moz-tab-size:var(--prism-tab-size);-o-tab-size:var(--prism-tab-size);tab-size:var(--prism-tab-size);-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;color:var(--prism-foreground)!important}div[class*=language-],pre[class*=language-]{font-size:var(--prism-block-font-size);padding:var(--prism-block-padding-y) var(--prism-block-padding-x);margin:var(--prism-block-margin-y) var(--prism-block-margin-x);border-radius:var(--prism-block-radius);overflow:auto;background:var(--prism-background)}:not(pre)>code[class*=language-]{font-size:var(--prism-inline-font-size);padding:var(--prism-inline-padding-y) var(--prism-inline-padding-x);border-radius:var(--prism-inline-radius);background:var(--prism-inline-background)}pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection{background:var(--prism-selection-background)}pre[class*=language-]::selection,pre[class*=language-] ::selection,code[class*=language-]::selection,code[class*=language-] ::selection{background:var(--prism-selection-background)}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:var(--prism-comment);font-style:var(--prism-comment-style)}.token.namespace{color:var(--prism-namespace)}.token.interpolation{color:var(--prism-interpolation)}.token.string{color:var(--prism-string)}.token.punctuation{color:var(--prism-punctuation)}.token.operator{color:var(--prism-operator)}.token.keyword.module,.token.keyword.control-flow{color:var(--prism-keyword-control)}.token.url,.token.symbol,.token.inserted{color:var(--prism-symbol)}.token.constant{color:var(--prism-constant)}.token.string.url{text-decoration:var(--prism-url-decoration)}.token.boolean,.language-json .token.boolean{color:var(--prism-boolean)}.token.number,.language-json .token.number{color:var(--prism-number)}.token.variable{color:var(--prism-variable)}.token.keyword{color:var(--prism-keyword)}.token.atrule,.token.attr-value,.token.selector{color:var(--prism-selector)}.token.function{color:var(--prism-function)}.token.deleted{color:var(--prism-deleted)}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.class-name{color:var(--prism-class)}.token.tag,.token.builtin{color:var(--prism-builtin)}.token.attr-name,.token.property,.token.entity{color:var(--prism-property)}.language-json .token.property{color:var(--prism-json-property)}.token.regex{color:var(--prism-regex)}.token.decorator,.token.annotation{color:var(--prism-decorator)}.line-numbers .line-numbers-rows{border-right-color:var(--prism-line-number)}.line-numbers-rows>span:before{color:var(--prism-line-number-gutter)}.line-highlight{background:var(--prism-line-highlight-background)}:root{--cm-scheme: light;--cm-foreground: #6e6e6e;--cm-background: #f4f4f4;--cm-comment: #a8a8a8;--cm-string: #555555;--cm-literal: #333333;--cm-keyword: #000000;--cm-function: #4f4f4f;--cm-deleted: #333333;--cm-class: #333333;--cm-builtin: #757575;--cm-property: #333333;--cm-namespace: #4f4f4f;--cm-punctuation: #ababab;--cm-decorator: var(--cm-class);--cm-operator: var(--cm-punctuation);--cm-number: var(--cm-literal);--cm-boolean: var(--cm-literal);--cm-variable: var(--cm-literal);--cm-constant: var(--cm-literal);--cm-symbol: var(--cm-literal);--cm-interpolation: var(--cm-literal);--cm-selector: var(--cm-keyword);--cm-keyword-control: var(--cm-keyword);--cm-regex: var(--cm-string);--cm-json-property: var(--cm-property);--cm-inline-background: var(--cm-background);--cm-comment-style: italic;--cm-url-decoration: underline;--cm-line-number: #a5a5a5;--cm-line-number-gutter: #333333;--cm-line-highlight-background: #eeeeee;--cm-selection-background: #aaaaaa;--cm-marker-color: var(--cm-foreground);--cm-marker-opacity: .4;--cm-marker-font-size: .8em;--cm-font-size: 1em;--cm-line-height: 1.5em;--cm-font-family: monospace;--cm-inline-font-size: var(--cm-font-size);--cm-block-font-size: var(--cm-font-size);--cm-tab-size: 2;--cm-block-padding-x: 1em;--cm-block-padding-y: 1em;--cm-block-margin-x: 0;--cm-block-margin-y: .5em;--cm-block-radius: .3em;--cm-inline-padding-x: .3em;--cm-inline-padding-y: .1em;--cm-inline-radius: .3em}.cm-s-vars.CodeMirror{background-color:var(--cm-background);color:var(--cm-foreground)}.cm-s-vars .CodeMirror-gutters{background:var(--cm-line-number-gutter);color:var(--cm-line-number);border:none}.cm-s-vars .CodeMirror-guttermarker,.cm-s-vars .CodeMirror-guttermarker-subtle,.cm-s-vars .CodeMirror-linenumber{color:var(--cm-line-number)}.cm-s-vars div.CodeMirror-selected,.cm-s-vars.CodeMirror-focused div.CodeMirror-selected{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-line::selection,.cm-s-vars .CodeMirror-line>span::selection,.cm-s-vars .CodeMirror-line>span>span::selection{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-line::-moz-selection,.cm-s-vars .CodeMirror-line>span::-moz-selection,.cm-s-vars .CodeMirror-line>span>span::-moz-selection{background:var(--cm-selection-background)}.cm-s-vars .CodeMirror-activeline-background{background:var(--cm-line-highlight-background)}.cm-s-vars .cm-keyword{color:var(--cm-keyword)}.cm-s-vars .cm-variable,.cm-s-vars .cm-variable-2,.cm-s-vars .cm-variable-3,.cm-s-vars .cm-type{color:var(--cm-variable)}.cm-s-vars .cm-builtin{color:var(--cm-builtin)}.cm-s-vars .cm-atom{color:var(--cm-literal)}.cm-s-vars .cm-number{color:var(--cm-number)}.cm-s-vars .cm-def{color:var(--cm-decorator)}.cm-s-vars .cm-string,.cm-s-vars .cm-string-2{color:var(--cm-string)}.cm-s-vars .cm-comment{color:var(--cm-comment)}.cm-s-vars .cm-tag{color:var(--cm-builtin)}.cm-s-vars .cm-meta{color:var(--cm-namespace)}.cm-s-vars .cm-attribute,.cm-s-vars .cm-property{color:var(--cm-property)}.cm-s-vars .cm-qualifier{color:var(--cm-keyword)}.cm-s-vars .cm-error{color:var(--prism-deleted)}.cm-s-vars .cm-operator,.cm-s-vars .cm-bracket{color:var(--cm-punctuation)}.cm-s-vars .CodeMirror-matchingbracket{text-decoration:underline}.cm-s-vars .CodeMirror-cursor{border-left:1px solid currentColor}:root{--cm-scheme: var(--prism-scheme);--cm-foreground: var(--prism-foreground);--cm-background: var(--prism-background);--cm-comment: var(--prism-comment);--cm-string: var(--prism-string);--cm-literal: var(--prism-literal);--cm-keyword: var(--prism-keyword);--cm-function: var(--prism-function);--cm-deleted: var(--prism-deleted);--cm-class: var(--prism-class);--cm-builtin: var(--prism-builtin);--cm-property: var(--prism-property);--cm-namespace: var(--prism-namespace);--cm-punctuation: var(--prism-punctuation);--cm-decorator: var(--prism-decorator);--cm-operator: var(--prism-operator);--cm-number: var(--prism-number);--cm-boolean: var(--prism-boolean);--cm-variable: var(--prism-variable);--cm-constant: var(--prism-constant);--cm-symbol: var(--prism-symbol);--cm-interpolation: var(--prism-interpolation);--cm-selector: var(--prism-selector);--cm-keyword-control: var(--prism-keyword-control);--cm-regex: var(--prism-regex);--cm-json-property: var(--prism-json-property);--cm-inline-background: var(--prism-inline-background);--cm-comment-style: var(--prism-comment-style);--cm-url-decoration: var(--prism-url-decoration);--cm-line-number: var(--prism-line-number);--cm-line-number-gutter: var(--prism-line-number-gutter);--cm-line-highlight-background: var(--prism-line-highlight-background);--cm-selection-background: var(--prism-selection-background);--cm-marker-color: var(--prism-marker-color);--cm-marker-opacity: var(--prism-marker-opacity);--cm-marker-font-size: var(--prism-marker-font-size);--cm-font-size: var(--prism-font-size);--cm-line-height: var(--prism-line-height);--cm-font-family: var(--prism-font-family);--cm-inline-font-size: var(--prism-inline-font-size);--cm-block-font-size: var(--prism-block-font-size);--cm-tab-size: var(--prism-tab-size);--cm-block-padding-x: var(--prism-block-padding-x);--cm-block-padding-y: var(--prism-block-padding-y);--cm-block-margin-x: var(--prism-block-margin-x);--cm-block-margin-y: var(--prism-block-margin-y);--cm-block-radius: var(--prism-block-radius);--cm-inline-padding-x: var(--prism-inline-padding-x);--cm-inline-padding-y: var(--prism-inline-padding-y);--cm-inline-radius: var(--prism-inline-radius)}:root{--prism-font-family: var(--slidev-code-font-family);--slidev-code-background: var(--prism-background)}html:not(.dark){--prism-foreground: #393a34;--prism-background: #f8f8f8;--prism-comment: #a0ada0;--prism-string: #b56959;--prism-literal: #2f8a89;--prism-number: #296aa3;--prism-keyword: #1c6b48;--prism-function: #6c7834;--prism-boolean: #1c6b48;--prism-constant: #a65e2b;--prism-deleted: #a14f55;--prism-class: #2993a3;--prism-builtin: #ab5959;--prism-property: #b58451;--prism-namespace: #b05a78;--prism-punctuation: #8e8f8b;--prism-decorator: #bd8f8f;--prism-regex: #ab5e3f;--prism-json-property: #698c96}html.dark{--prism-foreground: #d4cfbf;--prism-background: #1b1b1b;--prism-comment: #758575;--prism-string: #d48372;--prism-literal: #429988;--prism-keyword: #4d9375;--prism-boolean: #1c6b48;--prism-number: #6394bf;--prism-variable: #c2b36e;--prism-function: #a1b567;--prism-deleted: #a14f55;--prism-class: #54b1bf;--prism-builtin: #e0a569;--prism-property: #dd8e6e;--prism-namespace: #db889a;--prism-punctuation: #858585;--prism-decorator: #bd8f8f;--prism-regex: #ab5e3f;--prism-json-property: #6b8b9e;--prism-line-number: #888888;--prism-line-number-gutter: #eeeeee;--prism-line-highlight-background: #444444;--prism-selection-background: #444444}:not(pre)>code{font-size:.9em;background:var(--prism-background);border-radius:.25rem;padding-top:.125rem;padding-bottom:.125rem;font-weight:300}:not(pre)>code:before,:not(pre)>code:after{content:"`";opacity:.5}:not(pre)>code:before{margin-right:-.08em}.shiki-light{background:#f8f8f8!important}.shiki-dark{background:#1b1b1b!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:0}.bottom-10{bottom:2.5rem}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.right-0{right:0}.right-1{right:.25rem}.right-4{right:1rem}.right-5{right:1.25rem}.top-0{top:0}.top-1\/2{top:50%}.-top-20{top:-5rem}.top-4{top:1rem}.top-5{top:1.25rem}.-z-1{z-index:-1}.z-20{z-index:20}.grid,[grid=""]{display:grid}.grid-cols-\[1fr_max-content\]{grid-template-columns:1fr max-content}.grid-rows-\[1fr_min-content\]{grid-template-rows:1fr min-content}.m-1{margin:.25rem}.m-4{margin:1rem}.m-auto{margin:auto}.my{margin-top:1rem;margin-bottom:1rem}.my--4{margin-top:-1rem;margin-bottom:-1rem}.children\:my-auto>*,.my-auto{margin-top:auto;margin-bottom:auto}.mb-10{margin-bottom:2.5rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.-ml-2{margin-left:-.5rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.-mt-0\.5{margin-top:-.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.h-\[calc\(var\(--vh\,1vh\)\*100\)\]{height:calc(var(--vh,1vh) * 100)}.h-0\.7{height:.175rem}.h-10{height:2.5rem}.h-22px{height:22px}.h-2px{height:2px}.h-40px{height:40px}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-full{height:100%}.h1{height:.25rem}.h2{height:.5rem}.max-w-150{max-width:37.5rem}.max-w-90,[max-w-90=""]{max-width:22.5rem}.max-w-full{max-width:100%}.min-w-90,[min-w-90=""]{min-width:22.5rem}.w-1px{width:1px}.w-22px{width:22px}.w-4,[w-4=""]{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-90,[w-90=""]{width:22.5rem}.w-full{width:100%}.flex,[flex~="~"]{display:flex}.flex-auto{flex:1 1 auto}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.-rotate-45{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:-45deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}[scale~="0.5"]{--un-scale-x:.005;--un-scale-y:.005;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-102{--un-scale-x:1.02;--un-scale-y:1.02;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-85{--un-scale-x:.85;--un-scale-y:.85;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-default{cursor:default}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;user-select:none}.resize{resize:both}.resize-none{resize:none}.break-inside-avoid-page{break-inside:avoid-page}.break-after-page{break-after:page}.place-content-center{place-content:center}.items-center,[items-center=""]{align-items:center}.gap-2,[flex~=gap-2]{gap:.5rem}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-4{gap:1rem}.gap-x-8{column-gap:2rem}.gap-y-4{row-gap:1rem}.of-auto,.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.b,.border,.dark .dark\:border,.dark [dark\:border~="~"],.dark [dark~=border],[border~="~"]{border-width:1px}[border~="0"]{border-width:0px}.border-2{border-width:2px}.border-t,[border~=t]{border-top-width:1px}.border-\$slidev-theme-primary{border-color:var(--slidev-theme-primary)}.border-gray-400,.dark .dark\:border-gray-400,.dark [dark~=border-gray-400]{--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity))}.border-gray-400\/50{border-color:#9ca3af80}.border-green{--un-border-opacity:1;border-color:rgb(74 222 128 / var(--un-border-opacity))}.border-transparent,[border~=transparent]{border-color:transparent}.hover\:border-\$slidev-theme-primary:hover{border-color:var(--slidev-theme-primary)}.border-opacity-10,.dark .dark\:border-opacity-10,.dark [dark~=border-opacity-10]{--un-border-opacity:.1}.border-opacity-50{--un-border-opacity:.5}.rounded,[border~=rounded]{border-radius:.25rem}.rounded-1\/2{border-radius:50%}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.\!border-none{border-style:none!important}.bg-black,[bg~=black]{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.bg-current{background-color:currentColor}.bg-gray-400{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.hover\:bg-gray-400:hover{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.bg-opacity-15{--un-bg-opacity:.15}.bg-opacity-50{--un-bg-opacity:.5}.\!bg-opacity-75{--un-bg-opacity:.75 !important}[bg~=opacity-80]{--un-bg-opacity:.8}.hover\:bg-opacity-10:hover{--un-bg-opacity:.1}.p-1{padding:.25rem}.p-16{padding:4rem}.p-2{padding:.5rem}.\!p-4{padding:1rem!important}.px,.px-4,[p~=x-4]{padding-left:1rem;padding-right:1rem}.py-2,[p~=y-2]{padding-top:.5rem;padding-bottom:.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-4{padding-top:1rem;padding-bottom:1rem}[p~=l-1]{padding-left:.25rem}[p~=r-2]{padding-right:.5rem}[p~="t-0.5"]{padding-top:.125rem}.pl-2{padding-left:.5rem}.pr-6{padding-right:1.5rem}.pie,[pie=""]{padding-inline-end:1rem}.text-center{text-align:center}.text-right,[text-right=""]{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""],[text~=sm]{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\$slidev-controls-foreground{color:var(--slidev-controls-foreground)}.\!text-current{color:currentColor!important}[text~=dark]{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-green{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-green-500{--un-text-opacity:1;color:rgb(34 197 94 / var(--un-text-opacity))}[text~=light]{--un-text-opacity:1;color:rgb(246 246 246 / var(--un-text-opacity))}.text-red-400{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-opacity-85{--un-text-opacity:.85}.font-bold{font-weight:700}.leading-2{line-height:.5rem}.tracking-widest{letter-spacing:.1em}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.op100,.opacity-100{opacity:1}.op50,.opacity-50,[op50=""]{opacity:.5}.op80,.opacity-80{opacity:.8}.\!opacity-0{opacity:0!important}.opacity-0{opacity:0}.opacity-10{opacity:.1}.\!opacity-100{opacity:1!important}.opacity-40{opacity:.4}.opacity-75{opacity:.75}[hover~=op100]:hover,.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.shadow,[shadow~="~"]{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[shadow~="$event"]{--un-shadow:var(--event);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.\!backdrop-blur-0px{--un-backdrop-blur:blur(0px) !important;-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)!important;backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)!important}.backdrop-blur-5px{--un-backdrop-blur:blur(5px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@media (max-width: 767.9px){.\<md\:hidden{display:none}}@media (min-width: 1024px){.lg\:m-2{margin:.5rem}.lg\:h-14{height:3.5rem}.lg\:gap-1{gap:.25rem}.lg\:p-2{padding:.5rem}.lg\:p-4{padding:1rem}.lg\:py-2{padding-top:.5rem;padding-bottom:.5rem}}
import{i as m,m as O,G,l as j,b as A}from"./layout-94e1e85f-BAM45a7u.js";import{i as M,u as _,s as H,a as V,b as U,p as D,c as W,d as Y,e as q,f as z,g as L,h as C}from"./edges-9f0d1f4d-OJsHViVb.js";import{ay as i,aF as N,at as S,ax as T}from"./index-Hfn5l4aw.js";import{a as K}from"./createText-77e212b0-L6d34XR_.js";var Q=4;function Z(e){return A(e,Q)}function x(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:I(e),edges:tt(e)};return m(e.graph())||(t.value=Z(e.graph())),t}function I(e){return O(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),s={v:t};return m(n)||(s.value=n),m(r)||(s.parent=r),s})}function tt(e){return O(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return m(t.name)||(r.name=t.name),m(n)||(r.value=n),r})}let f={},g={},J={};const et=()=>{g={},J={},f={}},X=(e,t)=>(i.trace("In isDecendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),nt=(e,t)=>(i.info("Decendants of ",t," is ",g[t]),i.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||X(e.v,t)||X(e.w,t)||g[t].includes(e.w):(i.debug("Tilt, ",t,",not in decendants"),!1)),R=(e,t,n,r)=>{i.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const s=t.children(e)||[];e!==r&&s.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",s),s.forEach(c=>{if(t.children(c).length>0)R(c,t,n,r);else{const d=t.node(c);i.info("cp ",c," to ",r," with parent ",e),n.setNode(c,d),r!==t.parent(c)&&(i.warn("Setting parent",c,t.parent(c)),n.setParent(c,t.parent(c))),e!==r&&c!==e?(i.debug("Setting parent",c,e),n.setParent(c,e)):(i.info("In copy ",e,"root",r,"data",t.node(e),r),i.debug("Not Setting parent for node=",c,"cluster!==rootId",e!==r,"node!==clusterId",c!==e));const l=t.edges(c);i.debug("Copying Edges",l),l.forEach(u=>{i.info("Edge",u);const h=t.edge(u.v,u.w,u.name);i.info("Edge data",h,r);try{nt(u,r)?(i.info("Copying as ",u.v,u.w,h,u.name),n.setEdge(u.v,u.w,h,u.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",u.v,"-->",u.w," rootId: ",r," clusterId:",e)}catch(w){i.error(w)}})}i.debug("Removing node",c),t.removeNode(c)})},P=(e,t)=>{const n=t.children(e);let r=[...n];for(const s of n)J[s]=e,r=[...r,...P(s,t)];return r},b=(e,t)=>{i.trace("Searching",e);const n=t.children(e);if(i.trace("Searching children of id ",e,n),n.length<1)return i.trace("This is a valid node",e),e;for(const r of n){const s=b(r,t);if(s)return i.trace("Found replacement for",e," => ",s),s}},E=e=>!f[e]||!f[e].externalConnections?e:f[e]?f[e].id:e,it=(e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",b(n,e)),g[n]=P(n,e),f[n]={id:b(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),s=e.edges();r.length>0?(i.debug("Cluster identified",n,g),s.forEach(c=>{if(c.v!==n&&c.w!==n){const d=X(c.v,n),l=X(c.w,n);d^l&&(i.warn("Edge: ",c," leaves cluster ",n),i.warn("Decendants of XXX ",n,": ",g[n]),f[n].externalConnections=!0)}})):i.debug("Not a cluster ",n,g)}),e.edges().forEach(function(n){const r=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let s=n.v,c=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f[n.v]," --- ",f[n.w]),f[n.v]&&f[n.w]&&f[n.v]===f[n.w]){i.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=E(n.v),c=E(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const l=structuredClone(r),u=structuredClone(r);l.label="",l.arrowTypeEnd="none",u.label="",l.fromCluster=n.v,u.toCluster=n.v,e.setEdge(s,d,l,n.name+"-cyclic-special"),e.setEdge(d,c,u,n.name+"-cyclic-special")}else(f[n.v]||f[n.w])&&(i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=E(n.v),c=E(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v&&(r.fromCluster=n.v),c!==n.w&&(r.toCluster=n.w),i.warn("Fix Replacing with XXX",s,c,n.name),e.setEdge(s,c,r,n.name))}),i.warn("Adjusted Graph",x(e)),p(e,0),i.trace(f)},p=(e,t)=>{if(i.warn("extractor - ",t,x(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),r=!1;for(const s of n){const c=e.children(s);r=r||c.length>0}if(!r){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const s of n)if(i.debug("Extracting node",s,f,f[s]&&!f[s].externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!f[s])i.debug("Not a cluster",s,t);else if(!f[s].externalConnections&&e.children(s)&&e.children(s).length>0){i.warn("Cluster without external connections, without a parent and with children",s,t);let d=e.graph().rankdir==="TB"?"LR":"TB";f[s]&&f[s].clusterData&&f[s].clusterData.dir&&(d=f[s].clusterData.dir,i.warn("Fixing dir",f[s].clusterData.dir,d));const l=new G({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",x(e)),R(s,e,l,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:f[s].clusterData,labelText:f[s].labelText,graph:l}),i.warn("New graph after copy node: (",s,")",x(l)),i.debug("Old graph after copy",x(e))}else i.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!f[s].externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const s of n){const c=e.node(s);i.warn(" Now next level",s,c),c.clusterNode&&p(c.graph,t+1)}},F=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const s=e.children(r),c=F(e,s);n=[...n,...c]}),n},st=e=>F(e,e.children()),rt=(e,t)=>{i.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),s=N(S().flowchart.htmlLabels),c=n.insert("g").attr("class","cluster-label"),d=t.labelType==="markdown"?K(c,t.labelText,{style:t.labelStyle,useHtmlLabels:s}):c.node().appendChild(L(t.labelText,t.labelStyle,void 0,!0));let l=d.getBBox();if(N(S().flowchart.htmlLabels)){const a=d.children[0],o=T(d);l=a.getBoundingClientRect(),o.attr("width",l.width),o.attr("height",l.height)}const u=0*t.padding,h=u/2,w=t.width<=l.width+u?l.width+u:t.width;t.width<=l.width+u?t.diff=(l.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,i.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-w/2).attr("y",t.y-t.height/2-h).attr("width",w).attr("height",t.height+u),s?c.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2)+")"):c.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const v=r.node().getBBox();return t.width=v.width,t.height=v.height,t.intersect=function(a){return C(t,a)},n},at=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,c=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-c).attr("y",t.y-t.height/2-c).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(l){return C(t,l)},n},ct=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=n.insert("g").attr("class","cluster-label"),c=n.append("rect"),d=s.node().appendChild(L(t.labelText,t.labelStyle,void 0,!0));let l=d.getBBox();if(N(S().flowchart.htmlLabels)){const a=d.children[0],o=T(d);l=a.getBoundingClientRect(),o.attr("width",l.width),o.attr("height",l.height)}l=d.getBBox();const u=0*t.padding,h=u/2,w=t.width<=l.width+t.padding?l.width+t.padding:t.width;t.width<=l.width+t.padding?t.diff=(l.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-w/2-h).attr("y",t.y-t.height/2-h).attr("width",w+u).attr("height",t.height+u),c.attr("class","inner").attr("x",t.x-w/2-h).attr("y",t.y-t.height/2-h+l.height-1).attr("width",w+u).attr("height",t.height+u-l.height-3),s.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2-t.padding/3+(N(S().flowchart.htmlLabels)?5:3))+")");const v=r.node().getBBox();return t.height=v.height,t.intersect=function(a){return C(t,a)},n},ot=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,c=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-c).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(l){return C(t,l)},n},lt={rect:rt,roundedWithTitle:ct,noteGroup:at,divider:ot};let k={};const ft=(e,t)=>{i.trace("Inserting cluster");const n=t.shape||"rect";k[t.id]=lt[n](e,t)},dt=()=>{k={}},$=async(e,t,n,r,s)=>{i.info("Graph in recursive render: XXX",x(t),s);const c=t.graph().rankdir;i.trace("Dir in recursive render - dir:",c);const d=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.trace("Recursive edges",t.edge(t.edges()[0]));const l=d.insert("g").attr("class","clusters"),u=d.insert("g").attr("class","edgePaths"),h=d.insert("g").attr("class","edgeLabels"),w=d.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(a){const o=t.node(a);if(s!==void 0){const y=JSON.parse(JSON.stringify(s.clusterData));i.info("Setting data for cluster XXX (",a,") ",y,s),t.setNode(s.id,y),t.parent(a)||(i.trace("Setting parent",a,s.id),t.setParent(a,s.id,y))}if(i.info("(Insert) Node XXX"+a+": "+JSON.stringify(t.node(a))),o&&o.clusterNode){i.info("Cluster identified",a,o.width,t.node(a));const y=await $(w,o.graph,n,r,t.node(a)),B=y.elem;_(o,B),o.diff=y.diff||0,i.info("Node bounds (abc123)",a,o,o.width,o.x,o.y),H(B,o),i.warn("Recursive render complete ",B,o)}else t.children(a).length>0?(i.info("Cluster - the non recursive path XXX",a,o.id,o,t),i.info(b(o.id,t)),f[o.id]={id:b(o.id,t),node:o}):(i.info("Node - the non recursive path",a,o.id,o),await V(w,t.node(a),c))})),t.edges().forEach(function(a){const o=t.edge(a.v,a.w,a.name);i.info("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(a)),i.info("Edge "+a.v+" -> "+a.w+": ",a," ",JSON.stringify(t.edge(a))),i.info("Fix",f,"ids:",a.v,a.w,"Translateing: ",f[a.v],f[a.w]),U(h,o)}),t.edges().forEach(function(a){i.info("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(a))}),i.info("#############################################"),i.info("### Layout ###"),i.info("#############################################"),i.info(t),j(t),i.info("Graph after layout:",x(t));let v=0;return st(t).forEach(function(a){const o=t.node(a);i.info("Position "+a+": "+JSON.stringify(t.node(a))),i.info("Position "+a+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?D(o):t.children(a).length>0?(ft(l,o),f[o.id].node=o):D(o)}),t.edges().forEach(function(a){const o=t.edge(a);i.info("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(o),o);const y=W(u,a,o,f,n,t,r);Y(o,y)}),t.nodes().forEach(function(a){const o=t.node(a);i.info(a,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:d,diff:v}},xt=async(e,t,n,r,s)=>{M(e,n,r,s),q(),z(),dt(),et(),i.warn("Graph at first:",JSON.stringify(x(t))),it(t),i.warn("Graph after:",JSON.stringify(x(t))),await $(e,t,r,s)};export{xt as r};
import{at as v,ap as vt,aq as Ct,ar as Ot,as as At,aT as It,aU as Pt,ay as S,aB as D,aV as St,ax as Gt,aK as Nt,aY as Ht,aZ as Bt}from"./index-Hfn5l4aw.js";var mt=function(){var r=function(Y,u,g,x){for(g=g||{},x=Y.length;x--;g[Y[x]]=u);return g},n=[1,3],o=[1,6],m=[1,4],a=[1,5],c=[2,5],l=[1,12],h=[5,7,13,19,21,23,24,26,28,31,37,40,47],y=[7,13,19,21,23,24,26,28,31,37,40],k=[7,12,13,19,21,23,24,26,28,31,37,40],i=[7,13,47],b=[1,42],f=[1,41],_=[7,13,29,32,35,38,47],p=[1,55],d=[1,56],E=[1,57],H=[7,13,32,35,42,47],T={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT: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,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(u,g,x,s,w,t,Q){var e=t.length-1;switch(w){case 2:return t[e];case 3:return t[e-1];case 4:return s.setDirection(t[e-3]),t[e-1];case 6:s.setOptions(t[e-1]),this.$=t[e];break;case 7:t[e-1]+=t[e],this.$=t[e-1];break;case 9:this.$=[];break;case 10:t[e-1].push(t[e]),this.$=t[e-1];break;case 11:this.$=t[e-1];break;case 16:this.$=t[e].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=t[e].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(t[e].substr(8)),this.$=t[e].substr(8);break;case 21:s.checkout(t[e]);break;case 22:s.branch(t[e]);break;case 23:s.branch(t[e-2],t[e]);break;case 24:s.cherryPick(t[e],"",void 0);break;case 25:s.cherryPick(t[e-2],"",void 0,t[e]);break;case 26:s.cherryPick(t[e-2],"",t[e]);break;case 27:s.cherryPick(t[e-4],"",t[e],t[e-2]);break;case 28:s.cherryPick(t[e-4],"",t[e-2],t[e]);break;case 29:s.cherryPick(t[e],"",t[e-2]);break;case 30:s.cherryPick(t[e],"","");break;case 31:s.cherryPick(t[e-2],"","");break;case 32:s.cherryPick(t[e-4],"","",t[e-2]);break;case 33:s.cherryPick(t[e-4],"","",t[e]);break;case 34:s.cherryPick(t[e-2],"",t[e-4],t[e]);break;case 35:s.cherryPick(t[e-2],"","",t[e]);break;case 36:s.merge(t[e],"","","");break;case 37:s.merge(t[e-2],t[e],"","");break;case 38:s.merge(t[e-2],"",t[e],"");break;case 39:s.merge(t[e-2],"","",t[e]);break;case 40:s.merge(t[e-4],t[e],"",t[e-2]);break;case 41:s.merge(t[e-4],"",t[e],t[e-2]);break;case 42:s.merge(t[e-4],"",t[e-2],t[e]);break;case 43:s.merge(t[e-4],t[e-2],t[e],"");break;case 44:s.merge(t[e-4],t[e-2],"",t[e]);break;case 45:s.merge(t[e-4],t[e],t[e-2],"");break;case 46:s.merge(t[e-6],t[e-4],t[e-2],t[e]);break;case 47:s.merge(t[e-6],t[e],t[e-4],t[e-2]);break;case 48:s.merge(t[e-6],t[e-4],t[e],t[e-2]);break;case 49:s.merge(t[e-6],t[e-2],t[e-4],t[e]);break;case 50:s.merge(t[e-6],t[e],t[e-2],t[e-4]);break;case 51:s.merge(t[e-6],t[e-2],t[e],t[e-4]);break;case 52:s.commit(t[e]);break;case 53:s.commit("","",s.commitType.NORMAL,t[e]);break;case 54:s.commit("","",t[e],"");break;case 55:s.commit("","",t[e],t[e-2]);break;case 56:s.commit("","",t[e-2],t[e]);break;case 57:s.commit("",t[e],s.commitType.NORMAL,"");break;case 58:s.commit("",t[e-2],s.commitType.NORMAL,t[e]);break;case 59:s.commit("",t[e],s.commitType.NORMAL,t[e-2]);break;case 60:s.commit("",t[e-2],t[e],"");break;case 61:s.commit("",t[e],t[e-2],"");break;case 62:s.commit("",t[e-4],t[e-2],t[e]);break;case 63:s.commit("",t[e-4],t[e],t[e-2]);break;case 64:s.commit("",t[e-2],t[e-4],t[e]);break;case 65:s.commit("",t[e],t[e-4],t[e-2]);break;case 66:s.commit("",t[e],t[e-2],t[e-4]);break;case 67:s.commit("",t[e-2],t[e],t[e-4]);break;case 68:s.commit(t[e],"",s.commitType.NORMAL,"");break;case 69:s.commit(t[e],"",s.commitType.NORMAL,t[e-2]);break;case 70:s.commit(t[e-2],"",s.commitType.NORMAL,t[e]);break;case 71:s.commit(t[e-2],"",t[e],"");break;case 72:s.commit(t[e],"",t[e-2],"");break;case 73:s.commit(t[e],t[e-2],s.commitType.NORMAL,"");break;case 74:s.commit(t[e-2],t[e],s.commitType.NORMAL,"");break;case 75:s.commit(t[e-4],"",t[e-2],t[e]);break;case 76:s.commit(t[e-4],"",t[e],t[e-2]);break;case 77:s.commit(t[e-2],"",t[e-4],t[e]);break;case 78:s.commit(t[e],"",t[e-4],t[e-2]);break;case 79:s.commit(t[e],"",t[e-2],t[e-4]);break;case 80:s.commit(t[e-2],"",t[e],t[e-4]);break;case 81:s.commit(t[e-4],t[e],t[e-2],"");break;case 82:s.commit(t[e-4],t[e-2],t[e],"");break;case 83:s.commit(t[e-2],t[e],t[e-4],"");break;case 84:s.commit(t[e],t[e-2],t[e-4],"");break;case 85:s.commit(t[e],t[e-4],t[e-2],"");break;case 86:s.commit(t[e-2],t[e-4],t[e],"");break;case 87:s.commit(t[e-4],t[e],s.commitType.NORMAL,t[e-2]);break;case 88:s.commit(t[e-4],t[e-2],s.commitType.NORMAL,t[e]);break;case 89:s.commit(t[e-2],t[e],s.commitType.NORMAL,t[e-4]);break;case 90:s.commit(t[e],t[e-2],s.commitType.NORMAL,t[e-4]);break;case 91:s.commit(t[e],t[e-4],s.commitType.NORMAL,t[e-2]);break;case 92:s.commit(t[e-2],t[e-4],s.commitType.NORMAL,t[e]);break;case 93:s.commit(t[e-6],t[e-4],t[e-2],t[e]);break;case 94:s.commit(t[e-6],t[e-4],t[e],t[e-2]);break;case 95:s.commit(t[e-6],t[e-2],t[e-4],t[e]);break;case 96:s.commit(t[e-6],t[e],t[e-4],t[e-2]);break;case 97:s.commit(t[e-6],t[e-2],t[e],t[e-4]);break;case 98:s.commit(t[e-6],t[e],t[e-2],t[e-4]);break;case 99:s.commit(t[e-4],t[e-6],t[e-2],t[e]);break;case 100:s.commit(t[e-4],t[e-6],t[e],t[e-2]);break;case 101:s.commit(t[e-2],t[e-6],t[e-4],t[e]);break;case 102:s.commit(t[e],t[e-6],t[e-4],t[e-2]);break;case 103:s.commit(t[e-2],t[e-6],t[e],t[e-4]);break;case 104:s.commit(t[e],t[e-6],t[e-2],t[e-4]);break;case 105:s.commit(t[e],t[e-4],t[e-2],t[e-6]);break;case 106:s.commit(t[e-2],t[e-4],t[e],t[e-6]);break;case 107:s.commit(t[e],t[e-2],t[e-4],t[e-6]);break;case 108:s.commit(t[e-2],t[e],t[e-4],t[e-6]);break;case 109:s.commit(t[e-4],t[e-2],t[e],t[e-6]);break;case 110:s.commit(t[e-4],t[e],t[e-2],t[e-6]);break;case 111:s.commit(t[e-2],t[e-4],t[e-6],t[e]);break;case 112:s.commit(t[e],t[e-4],t[e-6],t[e-2]);break;case 113:s.commit(t[e-2],t[e],t[e-6],t[e-4]);break;case 114:s.commit(t[e],t[e-2],t[e-6],t[e-4]);break;case 115:s.commit(t[e-4],t[e-2],t[e-6],t[e]);break;case 116:s.commit(t[e-4],t[e],t[e-6],t[e-2]);break;case 117:this.$="";break;case 118:this.$=t[e];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:o,13:m,47:a},{1:[3]},{3:7,4:2,5:n,7:o,13:m,47:a},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:l},r(h,[2,124]),r(h,[2,125]),r(h,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:l},{8:[1,15]},r(y,[2,9],{11:16,12:[1,17]}),r(k,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:l},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(k,[2,7]),{1:[2,3]},{7:[1,36]},r(y,[2,10]),{4:37,7:o,13:m,47:a},r(y,[2,12]),r(i,[2,13]),r(i,[2,14]),r(i,[2,15]),{20:[1,38]},{22:[1,39]},r(i,[2,18]),r(i,[2,19]),r(i,[2,20]),{27:40,33:b,46:f},r(i,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:b,46:f},{32:[1,50],35:[1,51]},{27:52,33:b,46:f},{1:[2,4]},r(y,[2,11]),r(i,[2,16]),r(i,[2,17]),r(i,[2,21]),r(_,[2,122]),r(_,[2,123]),r(i,[2,52]),{33:[1,53]},{39:54,43:p,44:d,45:E},{33:[1,58]},{33:[1,59]},r(i,[2,118]),r(i,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(i,[2,22],{29:[1,66]}),r(i,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(i,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(H,[2,119]),r(H,[2,120]),r(H,[2,121]),r(i,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(i,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:p,44:d,45:E},{33:[1,81]},r(i,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:p,44:d,45:E},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:p,44:d,45:E},{33:[1,95]},{33:[1,96]},{39:97,43:p,44:d,45:E},{33:[1,98]},r(i,[2,37],{35:[1,100],38:[1,99]}),r(i,[2,38],{32:[1,102],35:[1,101]}),r(i,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(i,[2,23]),r(i,[2,55],{32:[1,110],42:[1,111]}),r(i,[2,59],{38:[1,112],42:[1,113]}),r(i,[2,69],{32:[1,115],38:[1,114]}),r(i,[2,56],{32:[1,116],42:[1,117]}),r(i,[2,61],{35:[1,118],42:[1,119]}),r(i,[2,72],{32:[1,121],35:[1,120]}),r(i,[2,58],{38:[1,122],42:[1,123]}),r(i,[2,60],{35:[1,124],42:[1,125]}),r(i,[2,73],{35:[1,127],38:[1,126]}),r(i,[2,70],{32:[1,129],38:[1,128]}),r(i,[2,71],{32:[1,131],35:[1,130]}),r(i,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:p,44:d,45:E},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:p,44:d,45:E},r(i,[2,25],{35:[1,140]}),r(i,[2,26],{34:[1,141]}),r(i,[2,31],{34:[1,142]}),r(i,[2,29],{34:[1,143]}),r(i,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:p,44:d,45:E},{33:[1,148]},{39:149,43:p,44:d,45:E},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:p,44:d,45:E},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:p,44:d,45:E},{33:[1,162]},{39:163,43:p,44:d,45:E},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:p,44:d,45:E},{33:[1,168]},r(i,[2,43],{35:[1,169]}),r(i,[2,44],{38:[1,170]}),r(i,[2,42],{32:[1,171]}),r(i,[2,45],{35:[1,172]}),r(i,[2,40],{38:[1,173]}),r(i,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(i,[2,66],{42:[1,181]}),r(i,[2,79],{32:[1,182]}),r(i,[2,67],{42:[1,183]}),r(i,[2,90],{38:[1,184]}),r(i,[2,80],{32:[1,185]}),r(i,[2,89],{38:[1,186]}),r(i,[2,65],{42:[1,187]}),r(i,[2,78],{32:[1,188]}),r(i,[2,64],{42:[1,189]}),r(i,[2,84],{35:[1,190]}),r(i,[2,77],{32:[1,191]}),r(i,[2,83],{35:[1,192]}),r(i,[2,63],{42:[1,193]}),r(i,[2,91],{38:[1,194]}),r(i,[2,62],{42:[1,195]}),r(i,[2,85],{35:[1,196]}),r(i,[2,86],{35:[1,197]}),r(i,[2,92],{38:[1,198]}),r(i,[2,76],{32:[1,199]}),r(i,[2,87],{38:[1,200]}),r(i,[2,75],{32:[1,201]}),r(i,[2,81],{35:[1,202]}),r(i,[2,82],{35:[1,203]}),r(i,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:p,44:d,45:E},{33:[1,207]},{33:[1,208]},{39:209,43:p,44:d,45:E},{33:[1,210]},r(i,[2,27]),r(i,[2,32]),r(i,[2,28]),r(i,[2,33]),r(i,[2,34]),r(i,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:p,44:d,45:E},{33:[1,215]},{39:216,43:p,44:d,45:E},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:p,44:d,45:E},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:p,44:d,45:E},{33:[1,229]},{39:230,43:p,44:d,45:E},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:p,44:d,45:E},r(i,[2,46]),r(i,[2,48]),r(i,[2,47]),r(i,[2,49]),r(i,[2,51]),r(i,[2,50]),r(i,[2,107]),r(i,[2,108]),r(i,[2,105]),r(i,[2,106]),r(i,[2,110]),r(i,[2,109]),r(i,[2,114]),r(i,[2,113]),r(i,[2,112]),r(i,[2,111]),r(i,[2,116]),r(i,[2,115]),r(i,[2,104]),r(i,[2,103]),r(i,[2,102]),r(i,[2,101]),r(i,[2,99]),r(i,[2,100]),r(i,[2,98]),r(i,[2,97]),r(i,[2,96]),r(i,[2,95]),r(i,[2,93]),r(i,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(u,g){if(g.recoverable)this.trace(u);else{var x=new Error(u);throw x.hash=g,x}},parse:function(u){var g=this,x=[0],s=[],w=[null],t=[],Q=this.table,e="",rt=0,ft=0,wt=2,pt=1,Rt=t.slice.call(arguments,1),C=Object.create(this.lexer),j={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(j.yy[ct]=this.yy[ct]);C.setInput(u,j.yy),j.yy.lexer=C,j.yy.parser=this,typeof C.yylloc>"u"&&(C.yylloc={});var ot=C.yylloc;t.push(ot);var Lt=C.options&&C.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var q;return q=s.pop()||C.lex()||pt,typeof q!="number"&&(q instanceof Array&&(s=q,q=s.pop()),q=g.symbols_[q]||q),q}for(var P,F,V,lt,W={},it,z,bt,st;;){if(F=x[x.length-1],this.defaultActions[F]?V=this.defaultActions[F]:((P===null||typeof P>"u")&&(P=Mt()),V=Q[F]&&Q[F][P]),typeof V>"u"||!V.length||!V[0]){var ht="";st=[];for(it in Q[F])this.terminals_[it]&&it>wt&&st.push("'"+this.terminals_[it]+"'");C.showPosition?ht="Parse error on line "+(rt+1)+`:
`+C.showPosition()+`
Expecting `+st.join(", ")+", got '"+(this.terminals_[P]||P)+"'":ht="Parse error on line "+(rt+1)+": Unexpected "+(P==pt?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(ht,{text:C.match,token:this.terminals_[P]||P,line:C.yylineno,loc:ot,expected:st})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+P);switch(V[0]){case 1:x.push(P),w.push(C.yytext),t.push(C.yylloc),x.push(V[1]),P=null,ft=C.yyleng,e=C.yytext,rt=C.yylineno,ot=C.yylloc;break;case 2:if(z=this.productions_[V[1]][1],W.$=w[w.length-z],W._$={first_line:t[t.length-(z||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(z||1)].first_column,last_column:t[t.length-1].last_column},Lt&&(W._$.range=[t[t.length-(z||1)].range[0],t[t.length-1].range[1]]),lt=this.performAction.apply(W,[e,ft,rt,j.yy,V[1],w,t].concat(Rt)),typeof lt<"u")return lt;z&&(x=x.slice(0,-1*z*2),w=w.slice(0,-1*z),t=t.slice(0,-1*z)),x.push(this.productions_[V[1]][0]),w.push(W.$),t.push(W._$),bt=Q[x[x.length-2]][x[x.length-1]],x.push(bt);break;case 3:return!0}}return!0}},B=function(){var Y={EOF:1,parseError:function(g,x){if(this.yy.parser)this.yy.parser.parseError(g,x);else throw new Error(g)},setInput:function(u,g){return this.yy=g||this.yy||{},this._input=u,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 u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var g=u.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var g=u.length,x=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var s=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),x.length-1&&(this.yylineno-=x.length-1);var w=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:x?(x.length===s.length?this.yylloc.first_column:0)+s[s.length-x.length].length-x[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),g=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
`+g+"^"},test_match:function(u,g){var x,s,w;if(this.options.backtrack_lexer&&(w={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&&(w.yylloc.range=this.yylloc.range.slice(0))),s=u[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,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(u[0].length),this.matched+=u[0],x=this.performAction.call(this,this.yy,this,g,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),x)return x;if(this._backtrack){for(var t in w)this[t]=w[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,g,x,s;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),t=0;t<w.length;t++)if(x=this._input.match(this.rules[w[t]]),x&&(!g||x[0].length>g[0].length)){if(g=x,s=t,this.options.backtrack_lexer){if(u=this.test_match(x,w[t]),u!==!1)return u;if(this._backtrack){g=!1;continue}else return!1}else if(!this.options.flex)break}return g?(u=this.test_match(g,w[s]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var g=this.next();return g||this.lex()},begin:function(g){this.conditionStack.push(g)},popState:function(){var g=this.conditionStack.length-1;return g>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(g){return g=this.conditionStack.length-1-Math.abs(g||0),g>=0?this.conditionStack[g]:"INITIAL"},pushState:function(g){this.begin(g)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(g,x,s,w){switch(s){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:break;case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:return 9;case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 30:this.popState();break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 34:this.popState();break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};return Y}();T.lexer=B;function G(){this.yy={}}return G.prototype=T,T.Parser=G,new G}();mt.parser=mt;const Vt=mt;let at=v().gitGraph.mainBranchName,Dt=v().gitGraph.mainBranchOrder,M={},I=null,$={};$[at]={name:at,order:Dt};let L={};L[at]=I;let O=at,kt="LR",U=0;function ut(){return Bt({length:7})}function zt(r,n){const o=Object.create(null);return r.reduce((m,a)=>{const c=n(a);return o[c]||(o[c]=!0,m.push(a)),m},[])}const qt=function(r){kt=r};let xt={};const Yt=function(r){S.debug("options str",r),r=r&&r.trim(),r=r||"{}";try{xt=JSON.parse(r)}catch(n){S.error("error while parsing gitGraph options",n.message)}},jt=function(){return xt},Ft=function(r,n,o,m){S.debug("Entering commit:",r,n,o,m),n=D.sanitizeText(n,v()),r=D.sanitizeText(r,v()),m=D.sanitizeText(m,v());const a={id:n||U+"-"+ut(),message:r,seq:U++,type:o||J.NORMAL,tag:m||"",parents:I==null?[]:[I.id],branch:O};I=a,M[a.id]=a,L[O]=a.id,S.debug("in pushCommit "+a.id)},Kt=function(r,n){if(r=D.sanitizeText(r,v()),L[r]===void 0)L[r]=I!=null?I.id:null,$[r]={name:r,order:n?parseInt(n,10):null},yt(r),S.debug("in createBranch");else{let o=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 '+r+'")');throw o.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},o}},Ut=function(r,n,o,m){r=D.sanitizeText(r,v()),n=D.sanitizeText(n,v());const a=M[L[O]],c=M[L[r]];if(O===r){let h=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},h}else if(a===void 0||!a){let h=new Error('Incorrect usage of "merge". Current branch ('+O+")has no commits");throw h.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},h}else if(L[r]===void 0){let h=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},h}else if(c===void 0||!c){let h=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},h}else if(a===c){let h=new Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},h}else if(n&&M[n]!==void 0){let h=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw h.hash={text:"merge "+r+n+o+m,token:"merge "+r+n+o+m,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+o+" "+m]},h}const l={id:n||U+"-"+ut(),message:"merged branch "+r+" into "+O,seq:U++,parents:[I==null?null:I.id,L[r]],branch:O,type:J.MERGE,customType:o,customId:!!n,tag:m||""};I=l,M[l.id]=l,L[O]=l.id,S.debug(L),S.debug("in mergeBranch")},Wt=function(r,n,o,m){if(S.debug("Entering cherryPick:",r,n,o),r=D.sanitizeText(r,v()),n=D.sanitizeText(n,v()),o=D.sanitizeText(o,v()),m=D.sanitizeText(m,v()),!r||M[r]===void 0){let l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},l}let a=M[r],c=a.branch;if(m&&!(Array.isArray(a.parents)&&a.parents.includes(m)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(a.type===J.MERGE&&!m)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!n||M[n]===void 0){if(c===O){let y=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const l=M[L[O]];if(l===void 0||!l){let y=new Error('Incorrect usage of "cherry-pick". Current branch ('+O+")has no commits");throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const h={id:U+"-"+ut(),message:"cherry-picked "+a+" into "+O,seq:U++,parents:[I==null?null:I.id,a.id],branch:O,type:J.CHERRY_PICK,tag:o??`cherry-pick:${a.id}${a.type===J.MERGE?`|parent:${m}`:""}`};I=h,M[h.id]=h,L[O]=h.id,S.debug(L),S.debug("in cherryPick")}},yt=function(r){if(r=D.sanitizeText(r,v()),L[r]===void 0){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}else{O=r;const n=L[O];I=M[n]}};function gt(r,n,o){const m=r.indexOf(n);m===-1?r.push(o):r.splice(m,1,o)}function _t(r){const n=r.reduce((a,c)=>a.seq>c.seq?a:c,r[0]);let o="";r.forEach(function(a){a===n?o+=" *":o+=" |"});const m=[o,n.id,n.seq];for(let a in L)L[a]===n.id&&m.push(a);if(S.debug(m.join(" ")),n.parents&&n.parents.length==2){const a=M[n.parents[0]];gt(r,n,a),r.push(M[n.parents[1]])}else{if(n.parents.length==0)return;{const a=M[n.parents];gt(r,n,a)}}r=zt(r,a=>a.id),_t(r)}const Jt=function(){S.debug(M);const r=Et()[0];_t([r])},Qt=function(){M={},I=null;let r=v().gitGraph.mainBranchName,n=v().gitGraph.mainBranchOrder;L={},L[r]=null,$={},$[r]={name:r,order:n},O=r,U=0,St()},Xt=function(){return Object.values($).map((n,o)=>n.order!==null?n:{...n,order:parseFloat(`0.${o}`,10)}).sort((n,o)=>n.order-o.order).map(({name:n})=>({name:n}))},Zt=function(){return L},$t=function(){return M},Et=function(){const r=Object.keys(M).map(function(n){return M[n]});return r.forEach(function(n){S.debug(n.id)}),r.sort((n,o)=>n.seq-o.seq),r},te=function(){return O},ee=function(){return kt},re=function(){return I},J={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ie={getConfig:()=>v().gitGraph,setDirection:qt,setOptions:Yt,getOptions:jt,commit:Ft,branch:Kt,merge:Ut,cherryPick:Wt,checkout:yt,prettyPrint:Jt,clear:Qt,getBranchesAsObjArray:Xt,getBranches:Zt,getCommits:$t,getCommitsArray:Et,getCurrentBranch:te,getDirection:ee,getHead:re,setAccTitle:vt,getAccTitle:Ct,getAccDescription:Ot,setAccDescription:At,setDiagramTitle:It,getDiagramTitle:Pt,commitType:J};let X={};const N={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},K=8;let R={},tt={},nt=[],et=0,A="LR";const se=()=>{R={},tt={},X={},et=0,nt=[],A="LR"},Tt=r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let o=[];typeof r=="string"?o=r.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(r)?o=r:o=[];for(const m of o){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),a.setAttribute("class","row"),a.textContent=m.trim(),n.appendChild(a)}return n},dt=(r,n,o)=>{const m=v().gitGraph,a=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let l=0;A==="TB"&&(l=30),Object.keys(n).sort((k,i)=>n[k].seq-n[i].seq).forEach(k=>{const i=n[k],b=A==="TB"?l+10:R[i.branch].pos,f=A==="TB"?R[i.branch].pos:l+10;if(o){let _,p=i.customType!==void 0&&i.customType!==""?i.customType:i.type;switch(p){case N.NORMAL:_="commit-normal";break;case N.REVERSE:_="commit-reverse";break;case N.HIGHLIGHT:_="commit-highlight";break;case N.MERGE:_="commit-merge";break;case N.CHERRY_PICK:_="commit-cherry-pick";break;default:_="commit-normal"}if(p===N.HIGHLIGHT){const d=a.append("rect");d.attr("x",f-10),d.attr("y",b-10),d.attr("height",20),d.attr("width",20),d.attr("class",`commit ${i.id} commit-highlight${R[i.branch].index%K} ${_}-outer`),a.append("rect").attr("x",f-6).attr("y",b-6).attr("height",12).attr("width",12).attr("class",`commit ${i.id} commit${R[i.branch].index%K} ${_}-inner`)}else if(p===N.CHERRY_PICK)a.append("circle").attr("cx",f).attr("cy",b).attr("r",10).attr("class",`commit ${i.id} ${_}`),a.append("circle").attr("cx",f-3).attr("cy",b+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${_}`),a.append("circle").attr("cx",f+3).attr("cy",b+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${_}`),a.append("line").attr("x1",f+3).attr("y1",b+1).attr("x2",f).attr("y2",b-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${_}`),a.append("line").attr("x1",f-3).attr("y1",b+1).attr("x2",f).attr("y2",b-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${_}`);else{const d=a.append("circle");if(d.attr("cx",f),d.attr("cy",b),d.attr("r",i.type===N.MERGE?9:10),d.attr("class",`commit ${i.id} commit${R[i.branch].index%K}`),p===N.MERGE){const E=a.append("circle");E.attr("cx",f),E.attr("cy",b),E.attr("r",6),E.attr("class",`commit ${_} ${i.id} commit${R[i.branch].index%K}`)}p===N.REVERSE&&a.append("path").attr("d",`M ${f-5},${b-5}L${f+5},${b+5}M${f-5},${b+5}L${f+5},${b-5}`).attr("class",`commit ${_} ${i.id} commit${R[i.branch].index%K}`)}}if(A==="TB"?tt[i.id]={x:f,y:l+10}:tt[i.id]={x:l+10,y:b},o){if(i.type!==N.CHERRY_PICK&&(i.customId&&i.type===N.MERGE||i.type!==N.MERGE)&&m.showCommitLabel){const d=c.append("g"),E=d.insert("rect").attr("class","commit-label-bkg"),H=d.append("text").attr("x",l).attr("y",b+25).attr("class","commit-label").text(i.id);let T=H.node().getBBox();if(E.attr("x",l+10-T.width/2-2).attr("y",b+13.5).attr("width",T.width+2*2).attr("height",T.height+2*2),A==="TB"&&(E.attr("x",f-(T.width+4*4+5)).attr("y",b-12),H.attr("x",f-(T.width+4*4)).attr("y",b+T.height-12)),A!=="TB"&&H.attr("x",l+10-T.width/2),m.rotateCommitLabel)if(A==="TB")H.attr("transform","rotate(-45, "+f+", "+b+")"),E.attr("transform","rotate(-45, "+f+", "+b+")");else{let B=-7.5-(T.width+10)/25*9.5,G=10+T.width/25*8.5;d.attr("transform","translate("+B+", "+G+") rotate(-45, "+l+", "+b+")")}}if(i.tag){const d=c.insert("polygon"),E=c.append("circle"),H=c.append("text").attr("y",b-16).attr("class","tag-label").text(i.tag);let T=H.node().getBBox();H.attr("x",l+10-T.width/2);const B=T.height/2,G=b-19.2;d.attr("class","tag-label-bkg").attr("points",`
${l-T.width/2-4/2},${G+2}
${l-T.width/2-4/2},${G-2}
${l+10-T.width/2-4},${G-B-2}
${l+10+T.width/2+4},${G-B-2}
${l+10+T.width/2+4},${G+B+2}
${l+10-T.width/2-4},${G+B+2}`),E.attr("cx",l-T.width/2+4/2).attr("cy",G).attr("r",1.5).attr("class","tag-hole"),A==="TB"&&(d.attr("class","tag-label-bkg").attr("points",`
${f},${l+2}
${f},${l-2}
${f+10},${l-B-2}
${f+10+T.width+4},${l-B-2}
${f+10+T.width+4},${l+B+2}
${f+10},${l+B+2}`).attr("transform","translate(12,12) rotate(45, "+f+","+l+")"),E.attr("cx",f+4/2).attr("cy",l).attr("transform","translate(12,12) rotate(45, "+f+","+l+")"),H.attr("x",f+5).attr("y",l+3).attr("transform","translate(14,14) rotate(45, "+f+","+l+")"))}}l+=50,l>et&&(et=l)})},ae=(r,n,o,m,a)=>{const l=(A==="TB"?o.x<m.x:o.y<m.y)?n.branch:r.branch,h=k=>k.branch===l,y=k=>k.seq>r.seq&&k.seq<n.seq;return Object.values(a).some(k=>y(k)&&h(k))},Z=(r,n,o=0)=>{const m=r+Math.abs(r-n)/2;if(o>5)return m;if(nt.every(l=>Math.abs(l-m)>=10))return nt.push(m),m;const c=Math.abs(r-n);return Z(r,n-c/5,o+1)},ne=(r,n,o,m)=>{const a=tt[n.id],c=tt[o.id],l=ae(n,o,a,c,m);let h="",y="",k=0,i=0,b=R[o.branch].index,f;if(l){h="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",k=10,i=10;const _=a.y<c.y?Z(a.y,c.y):Z(c.y,a.y),p=a.x<c.x?Z(a.x,c.x):Z(c.x,a.x);A==="TB"?a.x<c.x?(b=R[o.branch].index,f=`M ${a.x} ${a.y} L ${p-k} ${a.y} ${y} ${p} ${a.y+i} L ${p} ${c.y-k} ${h} ${p+i} ${c.y} L ${c.x} ${c.y}`):(b=R[n.branch].index,f=`M ${a.x} ${a.y} L ${p+k} ${a.y} ${h} ${p} ${a.y+i} L ${p} ${c.y-k} ${y} ${p-i} ${c.y} L ${c.x} ${c.y}`):a.y<c.y?(b=R[o.branch].index,f=`M ${a.x} ${a.y} L ${a.x} ${_-k} ${h} ${a.x+i} ${_} L ${c.x-k} ${_} ${y} ${c.x} ${_+i} L ${c.x} ${c.y}`):(b=R[n.branch].index,f=`M ${a.x} ${a.y} L ${a.x} ${_+k} ${y} ${a.x+i} ${_} L ${c.x-k} ${_} ${h} ${c.x} ${_-i} L ${c.x} ${c.y}`)}else A==="TB"?(a.x<c.x&&(h="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",k=20,i=20,b=R[o.branch].index,f=`M ${a.x} ${a.y} L ${c.x-k} ${a.y} ${y} ${c.x} ${a.y+i} L ${c.x} ${c.y}`),a.x>c.x&&(h="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",k=20,i=20,b=R[n.branch].index,f=`M ${a.x} ${a.y} L ${a.x} ${c.y-k} ${y} ${a.x-i} ${c.y} L ${c.x} ${c.y}`),a.x===c.x&&(b=R[n.branch].index,f=`M ${a.x} ${a.y} L ${a.x+k} ${a.y} ${h} ${a.x+i} ${c.y+k} L ${c.x} ${c.y}`)):(a.y<c.y&&(h="A 20 20, 0, 0, 0,",k=20,i=20,b=R[o.branch].index,f=`M ${a.x} ${a.y} L ${a.x} ${c.y-k} ${h} ${a.x+i} ${c.y} L ${c.x} ${c.y}`),a.y>c.y&&(h="A 20 20, 0, 0, 0,",k=20,i=20,b=R[n.branch].index,f=`M ${a.x} ${a.y} L ${c.x-k} ${a.y} ${h} ${c.x} ${a.y-i} L ${c.x} ${c.y}`),a.y===c.y&&(b=R[n.branch].index,f=`M ${a.x} ${a.y} L ${a.x} ${c.y-k} ${h} ${a.x+i} ${c.y} L ${c.x} ${c.y}`));r.append("path").attr("d",f).attr("class","arrow arrow"+b%K)},ce=(r,n)=>{const o=r.append("g").attr("class","commit-arrows");Object.keys(n).forEach(m=>{const a=n[m];a.parents&&a.parents.length>0&&a.parents.forEach(c=>{ne(o,n[c],a,n)})})},oe=(r,n)=>{const o=v().gitGraph,m=r.append("g");n.forEach((a,c)=>{const l=c%K,h=R[a.name].pos,y=m.append("line");y.attr("x1",0),y.attr("y1",h),y.attr("x2",et),y.attr("y2",h),y.attr("class","branch branch"+l),A==="TB"&&(y.attr("y1",30),y.attr("x1",h),y.attr("y2",et),y.attr("x2",h)),nt.push(h);let k=a.name;const i=Tt(k),b=m.insert("rect"),_=m.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+l);_.node().appendChild(i);let p=i.getBBox();b.attr("class","branchLabelBkg label"+l).attr("rx",4).attr("ry",4).attr("x",-p.width-4-(o.rotateCommitLabel===!0?30:0)).attr("y",-p.height/2+8).attr("width",p.width+18).attr("height",p.height+4),_.attr("transform","translate("+(-p.width-14-(o.rotateCommitLabel===!0?30:0))+", "+(h-p.height/2-1)+")"),A==="TB"&&(b.attr("x",h-p.width/2-10).attr("y",0),_.attr("transform","translate("+(h-p.width/2-5)+", 0)")),A!=="TB"&&b.attr("transform","translate(-19, "+(h-p.height/2)+")")})},le=function(r,n,o,m){se();const a=v(),c=a.gitGraph;S.debug("in gitgraph renderer",r+`
`,"id:",n,o),X=m.db.getCommits();const l=m.db.getBranchesAsObjArray();A=m.db.getDirection();const h=Gt(`[id="${n}"]`);let y=0;l.forEach((k,i)=>{const b=Tt(k.name),f=h.append("g"),_=f.insert("g").attr("class","branchLabel"),p=_.insert("g").attr("class","label branch-label");p.node().appendChild(b);let d=b.getBBox();R[k.name]={pos:y,index:i},y+=50+(c.rotateCommitLabel?40:0)+(A==="TB"?d.width/2:0),p.remove(),_.remove(),f.remove()}),dt(h,X,!1),c.showBranches&&oe(h,l),ce(h,X),dt(h,X,!0),Nt.insertTitle(h,"gitTitleText",c.titleTopMargin,m.db.getDiagramTitle()),Ht(void 0,h,c.diagramPadding,c.useMaxWidth??a.useMaxWidth)},he={draw:le},me=r=>`
.commit-id,
.commit-msg,
.branch-label {
fill: lightgrey;
color: lightgrey;
font-family: 'trebuchet ms', verdana, arial, sans-serif;
font-family: var(--mermaid-font-family);
}
${[0,1,2,3,4,5,6,7].map(n=>`
.branch-label${n} { fill: ${r["gitBranchLabel"+n]}; }
.commit${n} { stroke: ${r["git"+n]}; fill: ${r["git"+n]}; }
.commit-highlight${n} { stroke: ${r["gitInv"+n]}; fill: ${r["gitInv"+n]}; }
.label${n} { fill: ${r["git"+n]}; }
.arrow${n} { stroke: ${r["git"+n]}; }
`).join(`
`)}
.branch {
stroke-width: 1;
stroke: ${r.lineColor};
stroke-dasharray: 2;
}
.commit-label { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelColor};}
.commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelBackground}; opacity: 0.5; }
.tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};}
.tag-label-bkg { fill: ${r.tagLabelBackground}; stroke: ${r.tagLabelBorder}; }
.tag-hole { fill: ${r.textColor}; }
.commit-merge {
stroke: ${r.primaryColor};
fill: ${r.primaryColor};
}
.commit-reverse {
stroke: ${r.primaryColor};
fill: ${r.primaryColor};
stroke-width: 3;
}
.commit-highlight-outer {
}
.commit-highlight-inner {
stroke: ${r.primaryColor};
fill: ${r.primaryColor};
}
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
.gitTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${r.textColor};
}
`,ue=me,pe={parser:Vt,db:ie,renderer:he,styles:ue};export{pe as diagram};
import{a_ as Be,a$ as Ze,b0 as qe,b1 as Xe,b2 as ye,b3 as nt,b4 as ke,at as xt,ap as Dn,aq as Mn,aT as _n,aU as Sn,as as Un,ar as Yn,b5 as Fn,aV as Ln,aD as En,ay as Xt,ax as Pt,az as An,aB as In,aK as Wn,b6 as Kt,b7 as On}from"./index-Hfn5l4aw.js";import{l as Hn,c as Nn,a as Vn,b as zn,t as Ue}from"./linear-ad2a9be7-2u7jZYmT.js";import{i as Pn}from"./init-cc95ec8e-Hi12RPRh.js";function Rn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Bn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Zn(t){return t}var Bt=1,te=2,ue=3,Rt=4,Ye=1e-6;function qn(t){return"translate("+t+",0)"}function Xn(t){return"translate(0,"+t+")"}function Gn(t){return e=>+t(e)}function jn(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function Qn(){return!this.__axis}function Ge(t,e){var n=[],r=null,i=null,s=6,a=6,y=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,k=t===Bt||t===Rt?-1:1,C=t===Rt||t===te?"x":"y",F=t===Bt||t===ue?qn:Xn;function w(x){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),g=i??(e.tickFormat?e.tickFormat.apply(e,n):Zn),L=Math.max(s,0)+y,O=e.range(),W=+O[0]+S,B=+O[O.length-1]+S,Z=(e.bandwidth?jn:Gn)(e.copy(),S),Q=x.selection?x.selection():x,v=Q.selectAll(".domain").data([null]),A=Q.selectAll(".tick").data(X,e).order(),T=A.exit(),Y=A.enter().append("g").attr("class","tick"),D=A.select("line"),b=A.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(Y),D=D.merge(Y.append("line").attr("stroke","currentColor").attr(C+"2",k*s)),b=b.merge(Y.append("text").attr("fill","currentColor").attr(C,k*L).attr("dy",t===Bt?"0em":t===ue?"0.71em":"0.32em")),x!==Q&&(v=v.transition(x),A=A.transition(x),D=D.transition(x),b=b.transition(x),T=T.transition(x).attr("opacity",Ye).attr("transform",function(o){return isFinite(o=Z(o))?F(o+S):this.getAttribute("transform")}),Y.attr("opacity",Ye).attr("transform",function(o){var d=this.parentNode.__axis;return F((d&&isFinite(d=d(o))?d:Z(o))+S)})),T.remove(),v.attr("d",t===Rt||t===te?a?"M"+k*a+","+W+"H"+S+"V"+B+"H"+k*a:"M"+S+","+W+"V"+B:a?"M"+W+","+k*a+"V"+S+"H"+B+"V"+k*a:"M"+W+","+S+"H"+B),A.attr("opacity",1).attr("transform",function(o){return F(Z(o)+S)}),D.attr(C+"2",k*s),b.attr(C,k*L).text(g),Q.filter(Qn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===te?"start":t===Rt?"end":"middle"),Q.each(function(){this.__axis=Z})}return w.scale=function(x){return arguments.length?(e=x,w):e},w.ticks=function(){return n=Array.from(arguments),w},w.tickArguments=function(x){return arguments.length?(n=x==null?[]:Array.from(x),w):n.slice()},w.tickValues=function(x){return arguments.length?(r=x==null?null:Array.from(x),w):r&&r.slice()},w.tickFormat=function(x){return arguments.length?(i=x,w):i},w.tickSize=function(x){return arguments.length?(s=a=+x,w):s},w.tickSizeInner=function(x){return arguments.length?(s=+x,w):s},w.tickSizeOuter=function(x){return arguments.length?(a=+x,w):a},w.tickPadding=function(x){return arguments.length?(y=+x,w):y},w.offset=function(x){return arguments.length?(S=+x,w):S},w}function Jn(t){return Ge(Bt,t)}function $n(t){return Ge(ue,t)}const Kn=Math.PI/180,tr=180/Math.PI,Gt=18,je=.96422,Qe=1,Je=.82521,$e=4/29,wt=6/29,Ke=3*wt*wt,er=wt*wt*wt;function tn(t){if(t instanceof ot)return new ot(t.l,t.a,t.b,t.opacity);if(t instanceof ut)return en(t);t instanceof qe||(t=Fn(t));var e=ie(t.r),n=ie(t.g),r=ie(t.b),i=ee((.2225045*e+.7168786*n+.0606169*r)/Qe),s,a;return e===n&&n===r?s=a=i:(s=ee((.4360747*e+.3850649*n+.1430804*r)/je),a=ee((.0139322*e+.0971045*n+.7141733*r)/Je)),new ot(116*i-16,500*(s-i),200*(i-a),t.opacity)}function nr(t,e,n,r){return arguments.length===1?tn(t):new ot(t,e,n,r??1)}function ot(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Be(ot,nr,Ze(Xe,{brighter(t){return new ot(this.l+Gt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ot(this.l-Gt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=je*ne(e),t=Qe*ne(t),n=Je*ne(n),new qe(re(3.1338561*e-1.6168667*t-.4906146*n),re(-.9787684*e+1.9161415*t+.033454*n),re(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ee(t){return t>er?Math.pow(t,1/3):t/Ke+$e}function ne(t){return t>wt?t*t*t:Ke*(t-$e)}function re(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ie(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function rr(t){if(t instanceof ut)return new ut(t.h,t.c,t.l,t.opacity);if(t instanceof ot||(t=tn(t)),t.a===0&&t.b===0)return new ut(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*tr;return new ut(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function fe(t,e,n,r){return arguments.length===1?rr(t):new ut(t,e,n,r??1)}function ut(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function en(t){if(isNaN(t.h))return new ot(t.l,0,0,t.opacity);var e=t.h*Kn;return new ot(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Be(ut,fe,Ze(Xe,{brighter(t){return new ut(this.h,this.c,this.l+Gt*(t??1),this.opacity)},darker(t){return new ut(this.h,this.c,this.l-Gt*(t??1),this.opacity)},rgb(){return en(this).rgb()}}));function ir(t){return function(e,n){var r=t((e=fe(e)).h,(n=fe(n)).h),i=Kt(e.c,n.c),s=Kt(e.l,n.l),a=Kt(e.opacity,n.opacity);return function(y){return e.h=r(y),e.c=i(y),e.l=s(y),e.opacity=a(y),e+""}}}const sr=ir(On);function ar(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],s=t[r],a;return s<i&&(a=n,n=r,r=a,a=i,i=s,s=a),t[n]=e.floor(i),t[r]=e.ceil(s),t}const se=new Date,ae=new Date;function K(t,e,n,r){function i(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=s=>(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const a=i(s),y=i.ceil(s);return s-a<y-s?a:y},i.offset=(s,a)=>(e(s=new Date(+s),a==null?1:Math.floor(a)),s),i.range=(s,a,y)=>{const S=[];if(s=i.ceil(s),y=y==null?1:Math.floor(y),!(s<a)||!(y>0))return S;let k;do S.push(k=new Date(+s)),e(s,y),t(s);while(k<s&&s<a);return S},i.filter=s=>K(a=>{if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},(a,y)=>{if(a>=a)if(y<0)for(;++y<=0;)for(;e(a,-1),!s(a););else for(;--y>=0;)for(;e(a,1),!s(a););}),n&&(i.count=(s,a)=>(se.setTime(+s),ae.setTime(+a),t(se),t(ae),Math.floor(n(se,ae))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?a=>r(a)%s===0:a=>i.count(0,a)%s===0):i)),i}const Dt=K(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Dt.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?K(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Dt);Dt.range;const ft=1e3,rt=ft*60,ht=rt*60,dt=ht*24,pe=dt*7,Fe=dt*30,oe=dt*365,gt=K(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*ft)},(t,e)=>(e-t)/ft,t=>t.getUTCSeconds());gt.range;const Et=K(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ft)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getMinutes());Et.range;const or=K(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getUTCMinutes());or.range;const At=K(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ft-t.getMinutes()*rt)},(t,e)=>{t.setTime(+t+e*ht)},(t,e)=>(e-t)/ht,t=>t.getHours());At.range;const cr=K(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*ht)},(t,e)=>(e-t)/ht,t=>t.getUTCHours());cr.range;const yt=K(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rt)/dt,t=>t.getDate()-1);yt.range;const Te=K(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/dt,t=>t.getUTCDate()-1);Te.range;const lr=K(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/dt,t=>Math.floor(t/dt));lr.range;function Tt(t){return K(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*rt)/pe)}const Ot=Tt(0),It=Tt(1),nn=Tt(2),rn=Tt(3),kt=Tt(4),sn=Tt(5),an=Tt(6);Ot.range;It.range;nn.range;rn.range;kt.range;sn.range;an.range;function vt(t){return K(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/pe)}const on=vt(0),jt=vt(1),ur=vt(2),fr=vt(3),Mt=vt(4),hr=vt(5),dr=vt(6);on.range;jt.range;ur.range;fr.range;Mt.range;hr.range;dr.range;const Wt=K(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Wt.range;const mr=K(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());mr.range;const mt=K(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());mt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:K(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)});mt.range;const pt=K(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());pt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:K(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)});pt.range;function gr(t,e,n,r,i,s){const a=[[gt,1,ft],[gt,5,5*ft],[gt,15,15*ft],[gt,30,30*ft],[s,1,rt],[s,5,5*rt],[s,15,15*rt],[s,30,30*rt],[i,1,ht],[i,3,3*ht],[i,6,6*ht],[i,12,12*ht],[r,1,dt],[r,2,2*dt],[n,1,pe],[e,1,Fe],[e,3,3*Fe],[t,1,oe]];function y(k,C,F){const w=C<k;w&&([k,C]=[C,k]);const x=F&&typeof F.range=="function"?F:S(k,C,F),X=x?x.range(k,+C+1):[];return w?X.reverse():X}function S(k,C,F){const w=Math.abs(C-k)/F,x=zn(([,,L])=>L).right(a,w);if(x===a.length)return t.every(Ue(k/oe,C/oe,F));if(x===0)return Dt.every(Math.max(Ue(k,C,F),1));const[X,g]=a[w/a[x-1][2]<a[x][2]/w?x-1:x];return X.every(g)}return[y,S]}const[yr,kr]=gr(mt,Wt,Ot,yt,At,Et);function ce(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function le(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Yt(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function pr(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,a=t.shortDays,y=t.months,S=t.shortMonths,k=Ft(i),C=Lt(i),F=Ft(s),w=Lt(s),x=Ft(a),X=Lt(a),g=Ft(y),L=Lt(y),O=Ft(S),W=Lt(S),B={a:c,A:q,b:f,B:h,c:null,d:Oe,e:Oe,f:zr,g:Jr,G:Kr,H:Hr,I:Nr,j:Vr,L:cn,m:Pr,M:Rr,p:U,q:G,Q:Ve,s:ze,S:Br,u:Zr,U:qr,V:Xr,w:Gr,W:jr,x:null,X:null,y:Qr,Y:$r,Z:ti,"%":Ne},Z={a:H,A:V,b:I,B:z,c:null,d:He,e:He,f:ii,g:mi,G:yi,H:ei,I:ni,j:ri,L:un,m:si,M:ai,p:st,q:it,Q:Ve,s:ze,S:oi,u:ci,U:li,V:ui,w:fi,W:hi,x:null,X:null,y:di,Y:gi,Z:ki,"%":Ne},Q={a:D,A:b,b:o,B:d,c:m,d:Ie,e:Ie,f:Ar,g:Ae,G:Ee,H:We,I:We,j:Yr,L:Er,m:Ur,M:Fr,p:Y,q:Sr,Q:Wr,s:Or,S:Lr,u:wr,U:Cr,V:Dr,w:xr,W:Mr,x:u,X:_,y:Ae,Y:Ee,Z:_r,"%":Ir};B.x=v(n,B),B.X=v(r,B),B.c=v(e,B),Z.x=v(n,Z),Z.X=v(r,Z),Z.c=v(e,Z);function v(p,E){return function(M){var l=[],R=-1,N=0,j=p.length,J,et,Ut;for(M instanceof Date||(M=new Date(+M));++R<j;)p.charCodeAt(R)===37&&(l.push(p.slice(N,R)),(et=Le[J=p.charAt(++R)])!=null?J=p.charAt(++R):et=J==="e"?" ":"0",(Ut=E[J])&&(J=Ut(M,et)),l.push(J),N=R+1);return l.push(p.slice(N,R)),l.join("")}}function A(p,E){return function(M){var l=Yt(1900,void 0,1),R=T(l,p,M+="",0),N,j;if(R!=M.length)return null;if("Q"in l)return new Date(l.Q);if("s"in l)return new Date(l.s*1e3+("L"in l?l.L:0));if(E&&!("Z"in l)&&(l.Z=0),"p"in l&&(l.H=l.H%12+l.p*12),l.m===void 0&&(l.m="q"in l?l.q:0),"V"in l){if(l.V<1||l.V>53)return null;"w"in l||(l.w=1),"Z"in l?(N=le(Yt(l.y,0,1)),j=N.getUTCDay(),N=j>4||j===0?jt.ceil(N):jt(N),N=Te.offset(N,(l.V-1)*7),l.y=N.getUTCFullYear(),l.m=N.getUTCMonth(),l.d=N.getUTCDate()+(l.w+6)%7):(N=ce(Yt(l.y,0,1)),j=N.getDay(),N=j>4||j===0?It.ceil(N):It(N),N=yt.offset(N,(l.V-1)*7),l.y=N.getFullYear(),l.m=N.getMonth(),l.d=N.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),j="Z"in l?le(Yt(l.y,0,1)).getUTCDay():ce(Yt(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+l.W*7-(j+5)%7:l.w+l.U*7-(j+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,le(l)):ce(l)}}function T(p,E,M,l){for(var R=0,N=E.length,j=M.length,J,et;R<N;){if(l>=j)return-1;if(J=E.charCodeAt(R++),J===37){if(J=E.charAt(R++),et=Q[J in Le?E.charAt(R++):J],!et||(l=et(p,M,l))<0)return-1}else if(J!=M.charCodeAt(l++))return-1}return l}function Y(p,E,M){var l=k.exec(E.slice(M));return l?(p.p=C.get(l[0].toLowerCase()),M+l[0].length):-1}function D(p,E,M){var l=x.exec(E.slice(M));return l?(p.w=X.get(l[0].toLowerCase()),M+l[0].length):-1}function b(p,E,M){var l=F.exec(E.slice(M));return l?(p.w=w.get(l[0].toLowerCase()),M+l[0].length):-1}function o(p,E,M){var l=O.exec(E.slice(M));return l?(p.m=W.get(l[0].toLowerCase()),M+l[0].length):-1}function d(p,E,M){var l=g.exec(E.slice(M));return l?(p.m=L.get(l[0].toLowerCase()),M+l[0].length):-1}function m(p,E,M){return T(p,e,E,M)}function u(p,E,M){return T(p,n,E,M)}function _(p,E,M){return T(p,r,E,M)}function c(p){return a[p.getDay()]}function q(p){return s[p.getDay()]}function f(p){return S[p.getMonth()]}function h(p){return y[p.getMonth()]}function U(p){return i[+(p.getHours()>=12)]}function G(p){return 1+~~(p.getMonth()/3)}function H(p){return a[p.getUTCDay()]}function V(p){return s[p.getUTCDay()]}function I(p){return S[p.getUTCMonth()]}function z(p){return y[p.getUTCMonth()]}function st(p){return i[+(p.getUTCHours()>=12)]}function it(p){return 1+~~(p.getUTCMonth()/3)}return{format:function(p){var E=v(p+="",B);return E.toString=function(){return p},E},parse:function(p){var E=A(p+="",!1);return E.toString=function(){return p},E},utcFormat:function(p){var E=v(p+="",Z);return E.toString=function(){return p},E},utcParse:function(p){var E=A(p+="",!0);return E.toString=function(){return p},E}}}var Le={"-":"",_:" ",0:"0"},tt=/^\s*\d+/,Tr=/^%/,vr=/[\\^$*+?|[\]().{}]/g;function P(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(e)+i:i)}function br(t){return t.replace(vr,"\\$&")}function Ft(t){return new RegExp("^(?:"+t.map(br).join("|")+")","i")}function Lt(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function xr(t,e,n){var r=tt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function wr(t,e,n){var r=tt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Cr(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Dr(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Mr(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ee(t,e,n){var r=tt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ae(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function _r(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Sr(t,e,n){var r=tt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Ur(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ie(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=tt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function We(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=tt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=tt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=tt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ir(t,e,n){var r=Tr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Wr(t,e,n){var r=tt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=tt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Oe(t,e){return P(t.getDate(),e,2)}function Hr(t,e){return P(t.getHours(),e,2)}function Nr(t,e){return P(t.getHours()%12||12,e,2)}function Vr(t,e){return P(1+yt.count(mt(t),t),e,3)}function cn(t,e){return P(t.getMilliseconds(),e,3)}function zr(t,e){return cn(t,e)+"000"}function Pr(t,e){return P(t.getMonth()+1,e,2)}function Rr(t,e){return P(t.getMinutes(),e,2)}function Br(t,e){return P(t.getSeconds(),e,2)}function Zr(t){var e=t.getDay();return e===0?7:e}function qr(t,e){return P(Ot.count(mt(t)-1,t),e,2)}function ln(t){var e=t.getDay();return e>=4||e===0?kt(t):kt.ceil(t)}function Xr(t,e){return t=ln(t),P(kt.count(mt(t),t)+(mt(t).getDay()===4),e,2)}function Gr(t){return t.getDay()}function jr(t,e){return P(It.count(mt(t)-1,t),e,2)}function Qr(t,e){return P(t.getFullYear()%100,e,2)}function Jr(t,e){return t=ln(t),P(t.getFullYear()%100,e,2)}function $r(t,e){return P(t.getFullYear()%1e4,e,4)}function Kr(t,e){var n=t.getDay();return t=n>=4||n===0?kt(t):kt.ceil(t),P(t.getFullYear()%1e4,e,4)}function ti(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+P(e/60|0,"0",2)+P(e%60,"0",2)}function He(t,e){return P(t.getUTCDate(),e,2)}function ei(t,e){return P(t.getUTCHours(),e,2)}function ni(t,e){return P(t.getUTCHours()%12||12,e,2)}function ri(t,e){return P(1+Te.count(pt(t),t),e,3)}function un(t,e){return P(t.getUTCMilliseconds(),e,3)}function ii(t,e){return un(t,e)+"000"}function si(t,e){return P(t.getUTCMonth()+1,e,2)}function ai(t,e){return P(t.getUTCMinutes(),e,2)}function oi(t,e){return P(t.getUTCSeconds(),e,2)}function ci(t){var e=t.getUTCDay();return e===0?7:e}function li(t,e){return P(on.count(pt(t)-1,t),e,2)}function fn(t){var e=t.getUTCDay();return e>=4||e===0?Mt(t):Mt.ceil(t)}function ui(t,e){return t=fn(t),P(Mt.count(pt(t),t)+(pt(t).getUTCDay()===4),e,2)}function fi(t){return t.getUTCDay()}function hi(t,e){return P(jt.count(pt(t)-1,t),e,2)}function di(t,e){return P(t.getUTCFullYear()%100,e,2)}function mi(t,e){return t=fn(t),P(t.getUTCFullYear()%100,e,2)}function gi(t,e){return P(t.getUTCFullYear()%1e4,e,4)}function yi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Mt(t):Mt.ceil(t),P(t.getUTCFullYear()%1e4,e,4)}function ki(){return"+0000"}function Ne(){return"%"}function Ve(t){return+t}function ze(t){return Math.floor(+t/1e3)}var bt,Qt;pi({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"]});function pi(t){return bt=pr(t),Qt=bt.format,bt.parse,bt.utcFormat,bt.utcParse,bt}function Ti(t){return new Date(t)}function vi(t){return t instanceof Date?+t:+new Date(+t)}function hn(t,e,n,r,i,s,a,y,S,k){var C=Nn(),F=C.invert,w=C.domain,x=k(".%L"),X=k(":%S"),g=k("%I:%M"),L=k("%I %p"),O=k("%a %d"),W=k("%b %d"),B=k("%B"),Z=k("%Y");function Q(v){return(S(v)<v?x:y(v)<v?X:a(v)<v?g:s(v)<v?L:r(v)<v?i(v)<v?O:W:n(v)<v?B:Z)(v)}return C.invert=function(v){return new Date(F(v))},C.domain=function(v){return arguments.length?w(Array.from(v,vi)):w().map(Ti)},C.ticks=function(v){var A=w();return t(A[0],A[A.length-1],v??10)},C.tickFormat=function(v,A){return A==null?Q:k(A)},C.nice=function(v){var A=w();return(!v||typeof v.range!="function")&&(v=e(A[0],A[A.length-1],v??10)),v?w(ar(A,v)):C},C.copy=function(){return Vn(C,hn(t,e,n,r,i,s,a,y,S,k))},C}function bi(){return Pn.apply(hn(yr,kr,mt,Wt,Ot,yt,At,Et,gt,Qt).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var he=function(){var t=function(b,o,d,m){for(d=d||{},m=b.length;m--;d[b[m]]=o);return d},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],n=[1,25],r=[1,26],i=[1,27],s=[1,28],a=[1,29],y=[1,30],S=[1,31],k=[1,9],C=[1,10],F=[1,11],w=[1,12],x=[1,13],X=[1,14],g=[1,15],L=[1,16],O=[1,18],W=[1,19],B=[1,20],Z=[1,21],Q=[1,22],v=[1,24],A=[1,32],T={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(o,d,m,u,_,c,q){var f=c.length-1;switch(_){case 1:return c[f-1];case 2:this.$=[];break;case 3:c[f-1].push(c[f]),this.$=c[f-1];break;case 4:case 5:this.$=c[f];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setDateFormat(c[f].substr(11)),this.$=c[f].substr(11);break;case 16:u.enableInclusiveEndDates(),this.$=c[f].substr(18);break;case 17:u.TopAxis(),this.$=c[f].substr(8);break;case 18:u.setAxisFormat(c[f].substr(11)),this.$=c[f].substr(11);break;case 19:u.setTickInterval(c[f].substr(13)),this.$=c[f].substr(13);break;case 20:u.setExcludes(c[f].substr(9)),this.$=c[f].substr(9);break;case 21:u.setIncludes(c[f].substr(9)),this.$=c[f].substr(9);break;case 22:u.setTodayMarker(c[f].substr(12)),this.$=c[f].substr(12);break;case 24:u.setDiagramTitle(c[f].substr(6)),this.$=c[f].substr(6);break;case 25:this.$=c[f].trim(),u.setAccTitle(this.$);break;case 26:case 27:this.$=c[f].trim(),u.setAccDescription(this.$);break;case 28:u.addSection(c[f].substr(8)),this.$=c[f].substr(8);break;case 30:u.addTask(c[f-1],c[f]),this.$="task";break;case 31:this.$=c[f-1],u.setClickEvent(c[f-1],c[f],null);break;case 32:this.$=c[f-2],u.setClickEvent(c[f-2],c[f-1],c[f]);break;case 33:this.$=c[f-2],u.setClickEvent(c[f-2],c[f-1],null),u.setLink(c[f-2],c[f]);break;case 34:this.$=c[f-3],u.setClickEvent(c[f-3],c[f-2],c[f-1]),u.setLink(c[f-3],c[f]);break;case 35:this.$=c[f-2],u.setClickEvent(c[f-2],c[f],null),u.setLink(c[f-2],c[f-1]);break;case 36:this.$=c[f-3],u.setClickEvent(c[f-3],c[f-1],c[f]),u.setLink(c[f-3],c[f-2]);break;case 37:this.$=c[f-1],u.setLink(c[f-1],c[f]);break;case 38:case 44:this.$=c[f-1]+" "+c[f];break;case 39:case 40:case 42:this.$=c[f-2]+" "+c[f-1]+" "+c[f];break;case 41:case 43:this.$=c[f-3]+" "+c[f-2]+" "+c[f-1]+" "+c[f];break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:s,16:a,17:y,18:S,19:k,20:C,21:F,22:w,23:x,24:X,25:g,26:L,27:O,28:W,30:B,32:Z,33:Q,34:23,35:v,37:A},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:n,13:r,14:i,15:s,16:a,17:y,18:S,19:k,20:C,21:F,22:w,23:x,24:X,25:g,26:L,27:O,28:W,30:B,32:Z,33:Q,34:23,35:v,37:A},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(o,d){if(d.recoverable)this.trace(o);else{var m=new Error(o);throw m.hash=d,m}},parse:function(o){var d=this,m=[0],u=[],_=[null],c=[],q=this.table,f="",h=0,U=0,G=2,H=1,V=c.slice.call(arguments,1),I=Object.create(this.lexer),z={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&(z.yy[st]=this.yy[st]);I.setInput(o,z.yy),z.yy.lexer=I,z.yy.parser=this,typeof I.yylloc>"u"&&(I.yylloc={});var it=I.yylloc;c.push(it);var p=I.options&&I.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function E(){var ct;return ct=u.pop()||I.lex()||H,typeof ct!="number"&&(ct instanceof Array&&(u=ct,ct=u.pop()),ct=d.symbols_[ct]||ct),ct}for(var M,l,R,N,j={},J,et,Ut,zt;;){if(l=m[m.length-1],this.defaultActions[l]?R=this.defaultActions[l]:((M===null||typeof M>"u")&&(M=E()),R=q[l]&&q[l][M]),typeof R>"u"||!R.length||!R[0]){var $t="";zt=[];for(J in q[l])this.terminals_[J]&&J>G&&zt.push("'"+this.terminals_[J]+"'");I.showPosition?$t="Parse error on line "+(h+1)+`:
`+I.showPosition()+`
Expecting `+zt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":$t="Parse error on line "+(h+1)+": Unexpected "+(M==H?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError($t,{text:I.match,token:this.terminals_[M]||M,line:I.yylineno,loc:it,expected:zt})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+l+", token: "+M);switch(R[0]){case 1:m.push(M),_.push(I.yytext),c.push(I.yylloc),m.push(R[1]),M=null,U=I.yyleng,f=I.yytext,h=I.yylineno,it=I.yylloc;break;case 2:if(et=this.productions_[R[1]][1],j.$=_[_.length-et],j._$={first_line:c[c.length-(et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(et||1)].first_column,last_column:c[c.length-1].last_column},p&&(j._$.range=[c[c.length-(et||1)].range[0],c[c.length-1].range[1]]),N=this.performAction.apply(j,[f,U,h,z.yy,R[1],_,c].concat(V)),typeof N<"u")return N;et&&(m=m.slice(0,-1*et*2),_=_.slice(0,-1*et),c=c.slice(0,-1*et)),m.push(this.productions_[R[1]][0]),_.push(j.$),c.push(j._$),Ut=q[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0}},Y=function(){var b={EOF:1,parseError:function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},setInput:function(o,d){return this.yy=d||this.yy||{},this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var d=o.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var d=o.length,m=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),m.length-1&&(this.yylineno-=m.length-1);var _=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:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),d=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
`+d+"^"},test_match:function(o,d){var m,u,_;if(this.options.backtrack_lexer&&(_={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&&(_.yylloc.range=this.yylloc.range.slice(0))),u=o[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],m=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var c in _)this[c]=_[c];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,d,m,u;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),c=0;c<_.length;c++)if(m=this._input.match(this.rules[_[c]]),m&&(!d||m[0].length>d[0].length)){if(d=m,u=c,this.options.backtrack_lexer){if(o=this.test_match(m,_[c]),o!==!1)return o;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(o=this.test_match(d,_[u]),o!==!1?o:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>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(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(d,m,u,_){switch(u){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:break;case 15:this.begin("href");break;case 16:this.popState();break;case 17:return 40;case 18:this.begin("callbackname");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callbackargs");break;case 21:return 38;case 22:this.popState();break;case 23:return 39;case 24:this.begin("click");break;case 25:this.popState();break;case 26:return 37;case 27:return 4;case 28:return 19;case 29:return 20;case 30:return 21;case 31:return 22;case 32:return 23;case 33:return 25;case 34:return 24;case 35:return 26;case 36:return 12;case 37:return 13;case 38:return 14;case 39:return 15;case 40:return 16;case 41:return 17;case 42:return 18;case 43:return"date";case 44:return 27;case 45:return"accDescription";case 46:return 33;case 47:return 35;case 48:return 36;case 49:return":";case 50:return 6;case 51:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[22,23],inclusive:!1},callbackname:{rules:[19,20,21],inclusive:!1},href:{rules:[16,17],inclusive:!1},click:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,18,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};return b}();T.lexer=Y;function D(){this.yy={}}return D.prototype=T,T.Parser=D,new D}();he.parser=he;const xi=he;var dn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(ye,function(){var n="day";return function(r,i,s){var a=function(k){return k.add(4-k.isoWeekday(),n)},y=i.prototype;y.isoWeekYear=function(){return a(this).year()},y.isoWeek=function(k){if(!this.$utils().u(k))return this.add(7*(k-this.isoWeek()),n);var C,F,w,x,X=a(this),g=(C=this.isoWeekYear(),F=this.$u,w=(F?s.utc:s)().year(C).startOf("year"),x=4-w.isoWeekday(),w.isoWeekday()>4&&(x+=7),w.add(x,n));return X.diff(g,"week")+1},y.isoWeekday=function(k){return this.$utils().u(k)?this.day()||7:this.day(this.day()%7?k:k-7)};var S=y.startOf;y.startOf=function(k,C){var F=this.$utils(),w=!!F.u(C)||C;return F.p(k)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(k,C)}}})})(dn);var wi=dn.exports;const Ci=ke(wi);var mn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(ye,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,s=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,y={},S=function(g){return(g=+g)+(g>68?1900:2e3)},k=function(g){return function(L){this[g]=+L}},C=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(L){if(!L||L==="Z")return 0;var O=L.match(/([+-]|\d\d)/g),W=60*O[1]+(+O[2]||0);return W===0?0:O[0]==="+"?-W:W}(g)}],F=function(g){var L=y[g];return L&&(L.indexOf?L:L.s.concat(L.f))},w=function(g,L){var O,W=y.meridiem;if(W){for(var B=1;B<=24;B+=1)if(g.indexOf(W(B,0,L))>-1){O=B>12;break}}else O=g===(L?"pm":"PM");return O},x={A:[a,function(g){this.afternoon=w(g,!1)}],a:[a,function(g){this.afternoon=w(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[i,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[s,k("seconds")],ss:[s,k("seconds")],m:[s,k("minutes")],mm:[s,k("minutes")],H:[s,k("hours")],h:[s,k("hours")],HH:[s,k("hours")],hh:[s,k("hours")],D:[s,k("day")],DD:[i,k("day")],Do:[a,function(g){var L=y.ordinal,O=g.match(/\d+/);if(this.day=O[0],L)for(var W=1;W<=31;W+=1)L(W).replace(/\[|\]/g,"")===g&&(this.day=W)}],M:[s,k("month")],MM:[i,k("month")],MMM:[a,function(g){var L=F("months"),O=(F("monthsShort")||L.map(function(W){return W.slice(0,3)})).indexOf(g)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[a,function(g){var L=F("months").indexOf(g)+1;if(L<1)throw new Error;this.month=L%12||L}],Y:[/[+-]?\d+/,k("year")],YY:[i,function(g){this.year=S(g)}],YYYY:[/\d{4}/,k("year")],Z:C,ZZ:C};function X(g){var L,O;L=g,O=y&&y.formats;for(var W=(g=L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Y,D,b){var o=b&&b.toUpperCase();return D||O[b]||n[b]||O[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(d,m,u){return m||u.slice(1)})})).match(r),B=W.length,Z=0;Z<B;Z+=1){var Q=W[Z],v=x[Q],A=v&&v[0],T=v&&v[1];W[Z]=T?{regex:A,parser:T}:Q.replace(/^\[|\]$/g,"")}return function(Y){for(var D={},b=0,o=0;b<B;b+=1){var d=W[b];if(typeof d=="string")o+=d.length;else{var m=d.regex,u=d.parser,_=Y.slice(o),c=m.exec(_)[0];u.call(D,c),Y=Y.replace(c,"")}}return function(q){var f=q.afternoon;if(f!==void 0){var h=q.hours;f?h<12&&(q.hours+=12):h===12&&(q.hours=0),delete q.afternoon}}(D),D}}return function(g,L,O){O.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(S=g.parseTwoDigitYear);var W=L.prototype,B=W.parse;W.parse=function(Z){var Q=Z.date,v=Z.utc,A=Z.args;this.$u=v;var T=A[1];if(typeof T=="string"){var Y=A[2]===!0,D=A[3]===!0,b=Y||D,o=A[2];D&&(o=A[2]),y=this.$locale(),!Y&&o&&(y=O.Ls[o]),this.$d=function(_,c,q){try{if(["x","X"].indexOf(c)>-1)return new Date((c==="X"?1e3:1)*_);var f=X(c)(_),h=f.year,U=f.month,G=f.day,H=f.hours,V=f.minutes,I=f.seconds,z=f.milliseconds,st=f.zone,it=new Date,p=G||(h||U?1:it.getDate()),E=h||it.getFullYear(),M=0;h&&!U||(M=U>0?U-1:it.getMonth());var l=H||0,R=V||0,N=I||0,j=z||0;return st?new Date(Date.UTC(E,M,p,l,R,N,j+60*st.offset*1e3)):q?new Date(Date.UTC(E,M,p,l,R,N,j)):new Date(E,M,p,l,R,N,j)}catch{return new Date("")}}(Q,T,v),this.init(),o&&o!==!0&&(this.$L=this.locale(o).$L),b&&Q!=this.format(T)&&(this.$d=new Date("")),y={}}else if(T instanceof Array)for(var d=T.length,m=1;m<=d;m+=1){A[1]=T[m-1];var u=O.apply(this,A);if(u.isValid()){this.$d=u.$d,this.$L=u.$L,this.init();break}m===d&&(this.$d=new Date(""))}else B.call(this,Z)}}})})(mn);var Di=mn.exports;const Mi=ke(Di);var gn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(ye,function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(a){var y=this,S=this.$locale();if(!this.isValid())return s.bind(this)(a);var k=this.$utils(),C=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return S.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return S.ordinal(y.week(),"W");case"w":case"ww":return k.s(y.week(),F==="w"?1:2,"0");case"W":case"WW":return k.s(y.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return k.s(String(y.$H===0?24:y.$H),F==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return F}});return s.bind(this)(C)}}})})(gn);var _i=gn.exports;const Si=ke(_i);nt.extend(Ci);nt.extend(Mi);nt.extend(Si);let at="",ve="",be,xe="",Ht=[],Nt=[],we={},Ce=[],Jt=[],_t="",De="";const yn=["active","done","crit","milestone"];let Me=[],Vt=!1,_e=!1,Se="sunday",de=0;const Ui=function(){Ce=[],Jt=[],_t="",Me=[],Zt=0,ge=void 0,qt=void 0,$=[],at="",ve="",De="",be=void 0,xe="",Ht=[],Nt=[],Vt=!1,_e=!1,de=0,we={},Ln(),Se="sunday"},Yi=function(t){ve=t},Fi=function(){return ve},Li=function(t){be=t},Ei=function(){return be},Ai=function(t){xe=t},Ii=function(){return xe},Wi=function(t){at=t},Oi=function(){Vt=!0},Hi=function(){return Vt},Ni=function(){_e=!0},Vi=function(){return _e},zi=function(t){De=t},Pi=function(){return De},Ri=function(){return at},Bi=function(t){Ht=t.toLowerCase().split(/[\s,]+/)},Zi=function(){return Ht},qi=function(t){Nt=t.toLowerCase().split(/[\s,]+/)},Xi=function(){return Nt},Gi=function(){return we},ji=function(t){_t=t,Ce.push(t)},Qi=function(){return Ce},Ji=function(){let t=Pe();const e=10;let n=0;for(;!t&&n<e;)t=Pe(),n++;return Jt=$,Jt},kn=function(t,e,n,r){return r.includes(t.format(e.trim()))?!1:t.isoWeekday()>=6&&n.includes("weekends")||n.includes(t.format("dddd").toLowerCase())?!0:n.includes(t.format(e.trim()))},$i=function(t){Se=t},Ki=function(){return Se},pn=function(t,e,n,r){if(!n.length||t.manualEndTime)return;let i;t.startTime instanceof Date?i=nt(t.startTime):i=nt(t.startTime,e,!0),i=i.add(1,"d");let s;t.endTime instanceof Date?s=nt(t.endTime):s=nt(t.endTime,e,!0);const[a,y]=ts(i,s,e,n,r);t.endTime=a.toDate(),t.renderEndTime=y},ts=function(t,e,n,r,i){let s=!1,a=null;for(;t<=e;)s||(a=e.toDate()),s=kn(t,n,r,i),s&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},me=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(i!==null){let a=null;if(i[1].split(" ").forEach(function(y){let S=St(y);S!==void 0&&(a?S.endTime>a.endTime&&(a=S):a=S)}),a)return a.endTime;{const y=new Date;return y.setHours(0,0,0,0),y}}let s=nt(n,e.trim(),!0);if(s.isValid())return s.toDate();{Xt.debug("Invalid date:"+n),Xt.debug("With date format:"+e.trim());const a=new Date(n);if(a===void 0||isNaN(a.getTime())||a.getFullYear()<-1e4||a.getFullYear()>1e4)throw new Error("Invalid date:"+n);return a}},Tn=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},vn=function(t,e,n,r=!1){n=n.trim();let i=nt(n,e.trim(),!0);if(i.isValid())return r&&(i=i.add(1,"d")),i.toDate();let s=nt(t);const[a,y]=Tn(n);if(!Number.isNaN(a)){const S=s.add(a,y);S.isValid()&&(s=S)}return s.toDate()};let Zt=0;const Ct=function(t){return t===void 0?(Zt=Zt+1,"task"+Zt):t},es=function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Cn(r,i,yn);for(let a=0;a<r.length;a++)r[a]=r[a].trim();let s="";switch(r.length){case 1:i.id=Ct(),i.startTime=t.endTime,s=r[0];break;case 2:i.id=Ct(),i.startTime=me(void 0,at,r[0]),s=r[1];break;case 3:i.id=Ct(r[0]),i.startTime=me(void 0,at,r[1]),s=r[2];break}return s&&(i.endTime=vn(i.startTime,at,s,Vt),i.manualEndTime=nt(s,"YYYY-MM-DD",!0).isValid(),pn(i,at,Nt,Ht)),i},ns=function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Cn(r,i,yn);for(let s=0;s<r.length;s++)r[s]=r[s].trim();switch(r.length){case 1:i.id=Ct(),i.startTime={type:"prevTaskEnd",id:t},i.endTime={data:r[0]};break;case 2:i.id=Ct(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=Ct(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]};break}return i};let ge,qt,$=[];const bn={},rs=function(t,e){const n={section:_t,type:_t,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=ns(qt,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=qt,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.order=de,de++;const i=$.push(n);qt=n.id,bn[n.id]=i-1},St=function(t){const e=bn[t];return $[e]},is=function(t,e){const n={section:_t,type:_t,description:t,task:t,classes:[]},r=es(ge,e);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,ge=n,Jt.push(n)},Pe=function(){const t=function(n){const r=$[n];let i="";switch($[n].raw.startTime.type){case"prevTaskEnd":{const s=St(r.prevTaskId);r.startTime=s.endTime;break}case"getStartDate":i=me(void 0,at,$[n].raw.startTime.startData),i&&($[n].startTime=i);break}return $[n].startTime&&($[n].endTime=vn($[n].startTime,at,$[n].raw.endTime.data,Vt),$[n].endTime&&($[n].processed=!0,$[n].manualEndTime=nt($[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),pn($[n],at,Nt,Ht))),$[n].processed};let e=!0;for(const[n,r]of $.entries())t(n),e=e&&r.processed;return e},ss=function(t,e){let n=e;xt().securityLevel!=="loose"&&(n=En(e)),t.split(",").forEach(function(r){St(r)!==void 0&&(wn(r,()=>{window.open(n,"_self")}),we[r]=n)}),xn(t,"clickable")},xn=function(t,e){t.split(",").forEach(function(n){let r=St(n);r!==void 0&&r.classes.push(e)})},as=function(t,e,n){if(xt().securityLevel!=="loose"||e===void 0)return;let r=[];if(typeof n=="string"){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let s=0;s<r.length;s++){let a=r[s].trim();a.charAt(0)==='"'&&a.charAt(a.length-1)==='"'&&(a=a.substr(1,a.length-2)),r[s]=a}}r.length===0&&r.push(t),St(t)!==void 0&&wn(t,()=>{Wn.runFunc(e,...r)})},wn=function(t,e){Me.push(function(){const n=document.querySelector(`[id="${t}"]`);n!==null&&n.addEventListener("click",function(){e()})},function(){const n=document.querySelector(`[id="${t}-text"]`);n!==null&&n.addEventListener("click",function(){e()})})},os=function(t,e,n){t.split(",").forEach(function(r){as(r,e,n)}),xn(t,"clickable")},cs=function(t){Me.forEach(function(e){e(t)})},ls={getConfig:()=>xt().gantt,clear:Ui,setDateFormat:Wi,getDateFormat:Ri,enableInclusiveEndDates:Oi,endDatesAreInclusive:Hi,enableTopAxis:Ni,topAxisEnabled:Vi,setAxisFormat:Yi,getAxisFormat:Fi,setTickInterval:Li,getTickInterval:Ei,setTodayMarker:Ai,getTodayMarker:Ii,setAccTitle:Dn,getAccTitle:Mn,setDiagramTitle:_n,getDiagramTitle:Sn,setDisplayMode:zi,getDisplayMode:Pi,setAccDescription:Un,getAccDescription:Yn,addSection:ji,getSections:Qi,getTasks:Ji,addTask:rs,findTaskById:St,addTaskOrg:is,setIncludes:Bi,getIncludes:Zi,setExcludes:qi,getExcludes:Xi,setClickEvent:os,setLink:ss,getLinks:Gi,bindFunctions:cs,parseDuration:Tn,isInvalidDate:kn,setWeekday:$i,getWeekday:Ki};function Cn(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(i){const s="^\\s*"+i+"\\s*$",a=new RegExp(s);t[0].match(a)&&(e[i]=!0,t.shift(1),r=!0)})}const us=function(){Xt.debug("Something is calling, setConf, remove the call")},Re={monday:It,tuesday:nn,wednesday:rn,thursday:kt,friday:sn,saturday:an,sunday:Ot},fs=(t,e)=>{let n=[...t].map(()=>-1/0),r=[...t].sort((s,a)=>s.startTime-a.startTime||s.order-a.order),i=0;for(const s of r)for(let a=0;a<n.length;a++)if(s.startTime>=n[a]){n[a]=s.endTime,s.order=a+e,a>i&&(i=a);break}return i};let lt;const hs=function(t,e,n,r){const i=xt().gantt,s=xt().securityLevel;let a;s==="sandbox"&&(a=Pt("#i"+e));const y=s==="sandbox"?Pt(a.nodes()[0].contentDocument.body):Pt("body"),S=s==="sandbox"?a.nodes()[0].contentDocument:document,k=S.getElementById(e);lt=k.parentElement.offsetWidth,lt===void 0&&(lt=1200),i.useWidth!==void 0&&(lt=i.useWidth);const C=r.db.getTasks();let F=[];for(const T of C)F.push(T.type);F=A(F);const w={};let x=2*i.topPadding;if(r.db.getDisplayMode()==="compact"||i.displayMode==="compact"){const T={};for(const D of C)T[D.section]===void 0?T[D.section]=[D]:T[D.section].push(D);let Y=0;for(const D of Object.keys(T)){const b=fs(T[D],Y)+1;Y+=b,x+=b*(i.barHeight+i.barGap),w[D]=b}}else{x+=C.length*(i.barHeight+i.barGap);for(const T of F)w[T]=C.filter(Y=>Y.type===T).length}k.setAttribute("viewBox","0 0 "+lt+" "+x);const X=y.select(`[id="${e}"]`),g=bi().domain([Bn(C,function(T){return T.startTime}),Rn(C,function(T){return T.endTime})]).rangeRound([0,lt-i.leftPadding-i.rightPadding]);function L(T,Y){const D=T.startTime,b=Y.startTime;let o=0;return D>b?o=1:D<b&&(o=-1),o}C.sort(L),O(C,lt,x),An(X,x,lt,i.useMaxWidth),X.append("text").text(r.db.getDiagramTitle()).attr("x",lt/2).attr("y",i.titleTopMargin).attr("class","titleText");function O(T,Y,D){const b=i.barHeight,o=b+i.barGap,d=i.topPadding,m=i.leftPadding,u=Hn().domain([0,F.length]).range(["#00B9FA","#F95002"]).interpolate(sr);B(o,d,m,Y,D,T,r.db.getExcludes(),r.db.getIncludes()),Z(m,d,Y,D),W(T,o,d,m,b,u,Y),Q(o,d),v(m,d,Y,D)}function W(T,Y,D,b,o,d,m){const _=[...new Set(T.map(h=>h.order))].map(h=>T.find(U=>U.order===h));X.append("g").selectAll("rect").data(_).enter().append("rect").attr("x",0).attr("y",function(h,U){return U=h.order,U*Y+D-2}).attr("width",function(){return m-i.rightPadding/2}).attr("height",Y).attr("class",function(h){for(const[U,G]of F.entries())if(h.type===G)return"section section"+U%i.numberSectionStyles;return"section section0"});const c=X.append("g").selectAll("rect").data(T).enter(),q=r.db.getLinks();if(c.append("rect").attr("id",function(h){return h.id}).attr("rx",3).attr("ry",3).attr("x",function(h){return h.milestone?g(h.startTime)+b+.5*(g(h.endTime)-g(h.startTime))-.5*o:g(h.startTime)+b}).attr("y",function(h,U){return U=h.order,U*Y+D}).attr("width",function(h){return h.milestone?o:g(h.renderEndTime||h.endTime)-g(h.startTime)}).attr("height",o).attr("transform-origin",function(h,U){return U=h.order,(g(h.startTime)+b+.5*(g(h.endTime)-g(h.startTime))).toString()+"px "+(U*Y+D+.5*o).toString()+"px"}).attr("class",function(h){const U="task";let G="";h.classes.length>0&&(G=h.classes.join(" "));let H=0;for(const[I,z]of F.entries())h.type===z&&(H=I%i.numberSectionStyles);let V="";return h.active?h.crit?V+=" activeCrit":V=" active":h.done?h.crit?V=" doneCrit":V=" done":h.crit&&(V+=" crit"),V.length===0&&(V=" task"),h.milestone&&(V=" milestone "+V),V+=H,V+=" "+G,U+V}),c.append("text").attr("id",function(h){return h.id+"-text"}).text(function(h){return h.task}).attr("font-size",i.fontSize).attr("x",function(h){let U=g(h.startTime),G=g(h.renderEndTime||h.endTime);h.milestone&&(U+=.5*(g(h.endTime)-g(h.startTime))-.5*o),h.milestone&&(G=U+o);const H=this.getBBox().width;return H>G-U?G+H+1.5*i.leftPadding>m?U+b-5:G+b+5:(G-U)/2+U+b}).attr("y",function(h,U){return U=h.order,U*Y+i.barHeight/2+(i.fontSize/2-2)+D}).attr("text-height",o).attr("class",function(h){const U=g(h.startTime);let G=g(h.endTime);h.milestone&&(G=U+o);const H=this.getBBox().width;let V="";h.classes.length>0&&(V=h.classes.join(" "));let I=0;for(const[st,it]of F.entries())h.type===it&&(I=st%i.numberSectionStyles);let z="";return h.active&&(h.crit?z="activeCritText"+I:z="activeText"+I),h.done?h.crit?z=z+" doneCritText"+I:z=z+" doneText"+I:h.crit&&(z=z+" critText"+I),h.milestone&&(z+=" milestoneText"),H>G-U?G+H+1.5*i.leftPadding>m?V+" taskTextOutsideLeft taskTextOutside"+I+" "+z:V+" taskTextOutsideRight taskTextOutside"+I+" "+z+" width-"+H:V+" taskText taskText"+I+" "+z+" width-"+H}),xt().securityLevel==="sandbox"){let h;h=Pt("#i"+e);const U=h.nodes()[0].contentDocument;c.filter(function(G){return q[G.id]!==void 0}).each(function(G){var H=U.querySelector("#"+G.id),V=U.querySelector("#"+G.id+"-text");const I=H.parentNode;var z=U.createElement("a");z.setAttribute("xlink:href",q[G.id]),z.setAttribute("target","_top"),I.appendChild(z),z.appendChild(H),z.appendChild(V)})}}function B(T,Y,D,b,o,d,m,u){if(m.length===0&&u.length===0)return;let _,c;for(const{startTime:H,endTime:V}of d)(_===void 0||H<_)&&(_=H),(c===void 0||V>c)&&(c=V);if(!_||!c)return;if(nt(c).diff(nt(_),"year")>5){Xt.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const q=r.db.getDateFormat(),f=[];let h=null,U=nt(_);for(;U.valueOf()<=c;)r.db.isInvalidDate(U,q,m,u)?h?h.end=U:h={start:U,end:U}:h&&(f.push(h),h=null),U=U.add(1,"d");X.append("g").selectAll("rect").data(f).enter().append("rect").attr("id",function(H){return"exclude-"+H.start.format("YYYY-MM-DD")}).attr("x",function(H){return g(H.start)+D}).attr("y",i.gridLineStartPadding).attr("width",function(H){const V=H.end.add(1,"day");return g(V)-g(H.start)}).attr("height",o-Y-i.gridLineStartPadding).attr("transform-origin",function(H,V){return(g(H.start)+D+.5*(g(H.end)-g(H.start))).toString()+"px "+(V*T+.5*o).toString()+"px"}).attr("class","exclude-range")}function Z(T,Y,D,b){let o=$n(g).tickSize(-b+Y+i.gridLineStartPadding).tickFormat(Qt(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));const m=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(m!==null){const u=m[1],_=m[2],c=r.db.getWeekday()||i.weekday;switch(_){case"millisecond":o.ticks(Dt.every(u));break;case"second":o.ticks(gt.every(u));break;case"minute":o.ticks(Et.every(u));break;case"hour":o.ticks(At.every(u));break;case"day":o.ticks(yt.every(u));break;case"week":o.ticks(Re[c].every(u));break;case"month":o.ticks(Wt.every(u));break}}if(X.append("g").attr("class","grid").attr("transform","translate("+T+", "+(b-50)+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||i.topAxis){let u=Jn(g).tickSize(-b+Y+i.gridLineStartPadding).tickFormat(Qt(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));if(m!==null){const _=m[1],c=m[2],q=r.db.getWeekday()||i.weekday;switch(c){case"millisecond":u.ticks(Dt.every(_));break;case"second":u.ticks(gt.every(_));break;case"minute":u.ticks(Et.every(_));break;case"hour":u.ticks(At.every(_));break;case"day":u.ticks(yt.every(_));break;case"week":u.ticks(Re[q].every(_));break;case"month":u.ticks(Wt.every(_));break}}X.append("g").attr("class","grid").attr("transform","translate("+T+", "+Y+")").call(u).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function Q(T,Y){let D=0;const b=Object.keys(w).map(o=>[o,w[o]]);X.append("g").selectAll("text").data(b).enter().append(function(o){const d=o[0].split(In.lineBreakRegex),m=-(d.length-1)/2,u=S.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("dy",m+"em");for(const[_,c]of d.entries()){const q=S.createElementNS("http://www.w3.org/2000/svg","tspan");q.setAttribute("alignment-baseline","central"),q.setAttribute("x","10"),_>0&&q.setAttribute("dy","1em"),q.textContent=c,u.appendChild(q)}return u}).attr("x",10).attr("y",function(o,d){if(d>0)for(let m=0;m<d;m++)return D+=b[d-1][1],o[1]*T/2+D*T+Y;else return o[1]*T/2+Y}).attr("font-size",i.sectionFontSize).attr("class",function(o){for(const[d,m]of F.entries())if(o[0]===m)return"sectionTitle sectionTitle"+d%i.numberSectionStyles;return"sectionTitle"})}function v(T,Y,D,b){const o=r.db.getTodayMarker();if(o==="off")return;const d=X.append("g").attr("class","today"),m=new Date,u=d.append("line");u.attr("x1",g(m)+T).attr("x2",g(m)+T).attr("y1",i.titleTopMargin).attr("y2",b-i.titleTopMargin).attr("class","today"),o!==""&&u.attr("style",o.replace(/,/g,";"))}function A(T){const Y={},D=[];for(let b=0,o=T.length;b<o;++b)Object.prototype.hasOwnProperty.call(Y,T[b])||(Y[T[b]]=!0,D.push(T[b]));return D}},ds={setConf:us,draw:hs},ms=t=>`
.mermaid-main-font {
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
}
.exclude-range {
fill: ${t.excludeBkgColor};
}
.section {
stroke: none;
opacity: 0.2;
}
.section0 {
fill: ${t.sectionBkgColor};
}
.section2 {
fill: ${t.sectionBkgColor2};
}
.section1,
.section3 {
fill: ${t.altSectionBkgColor};
opacity: 0.2;
}
.sectionTitle0 {
fill: ${t.titleColor};
}
.sectionTitle1 {
fill: ${t.titleColor};
}
.sectionTitle2 {
fill: ${t.titleColor};
}
.sectionTitle3 {
fill: ${t.titleColor};
}
.sectionTitle {
text-anchor: start;
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
}
/* Grid and axis */
.grid .tick {
stroke: ${t.gridColor};
opacity: 0.8;
shape-rendering: crispEdges;
}
.grid .tick text {
font-family: ${t.fontFamily};
fill: ${t.textColor};
}
.grid path {
stroke-width: 0;
}
/* Today line */
.today {
fill: none;
stroke: ${t.todayLineColor};
stroke-width: 2px;
}
/* Task styling */
/* Default task */
.task {
stroke-width: 2;
}
.taskText {
text-anchor: middle;
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
}
.taskTextOutsideRight {
fill: ${t.taskTextDarkColor};
text-anchor: start;
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
}
.taskTextOutsideLeft {
fill: ${t.taskTextDarkColor};
text-anchor: end;
}
/* Special case clickable */
.task.clickable {
cursor: pointer;
}
.taskText.clickable {
cursor: pointer;
fill: ${t.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideLeft.clickable {
cursor: pointer;
fill: ${t.taskTextClickableColor} !important;
font-weight: bold;
}
.taskTextOutsideRight.clickable {
cursor: pointer;
fill: ${t.taskTextClickableColor} !important;
font-weight: bold;
}
/* Specific task settings for the sections*/
.taskText0,
.taskText1,
.taskText2,
.taskText3 {
fill: ${t.taskTextColor};
}
.task0,
.task1,
.task2,
.task3 {
fill: ${t.taskBkgColor};
stroke: ${t.taskBorderColor};
}
.taskTextOutside0,
.taskTextOutside2
{
fill: ${t.taskTextOutsideColor};
}
.taskTextOutside1,
.taskTextOutside3 {
fill: ${t.taskTextOutsideColor};
}
/* Active task */
.active0,
.active1,
.active2,
.active3 {
fill: ${t.activeTaskBkgColor};
stroke: ${t.activeTaskBorderColor};
}
.activeText0,
.activeText1,
.activeText2,
.activeText3 {
fill: ${t.taskTextDarkColor} !important;
}
/* Completed task */
.done0,
.done1,
.done2,
.done3 {
stroke: ${t.doneTaskBorderColor};
fill: ${t.doneTaskBkgColor};
stroke-width: 2;
}
.doneText0,
.doneText1,
.doneText2,
.doneText3 {
fill: ${t.taskTextDarkColor} !important;
}
/* Tasks on the critical line */
.crit0,
.crit1,
.crit2,
.crit3 {
stroke: ${t.critBorderColor};
fill: ${t.critBkgColor};
stroke-width: 2;
}
.activeCrit0,
.activeCrit1,
.activeCrit2,
.activeCrit3 {
stroke: ${t.critBorderColor};
fill: ${t.activeTaskBkgColor};
stroke-width: 2;
}
.doneCrit0,
.doneCrit1,
.doneCrit2,
.doneCrit3 {
stroke: ${t.critBorderColor};
fill: ${t.doneTaskBkgColor};
stroke-width: 2;
cursor: pointer;
shape-rendering: crispEdges;
}
.milestone {
transform: rotate(45deg) scale(0.8,0.8);
}
.milestoneText {
font-style: italic;
}
.doneCritText0,
.doneCritText1,
.doneCritText2,
.doneCritText3 {
fill: ${t.taskTextDarkColor} !important;
}
.activeCritText0,
.activeCritText1,
.activeCritText2,
.activeCritText3 {
fill: ${t.taskTextDarkColor} !important;
}
.titleText {
text-anchor: middle;
font-size: 18px;
fill: ${t.titleColor||t.textColor};
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
}
`,gs=ms,Ts={parser:xi,db:ls,renderer:ds,styles:gs};export{Ts as diagram};
import{d as xDe,p as RDe}from"./flowDb-a32fc02b-mKtk886G.js";import{b2 as Dse,b4 as KDe,ay as N1,ax as OA,be as DU,aI as BDe,aE as jbn,aG as ybn,aH as NU,aB as FDe}from"./index-Hfn5l4aw.js";import{i as _De,a as HDe,l as qDe,b as UDe,j as GDe,k as zDe}from"./edges-9f0d1f4d-OJsHViVb.js";import{l as XDe}from"./line-b015ae81-MIcjsH1n.js";import"./createText-77e212b0-L6d34XR_.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";const VDe=(tt,Kt,Ht)=>{const{parentById:gt}=Ht,Pr=new Set;let Li=tt;for(;Li;){if(Pr.add(Li),Li===Kt)return Li;Li=gt[Li]}for(Li=Kt;Li;){if(Pr.has(Li))return Li;Li=gt[Li]}return"root"};function LU(tt){throw new Error('Could not dynamically require "'+tt+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Kse={exports:{}};(function(tt,Kt){(function(Ht){tt.exports=Ht()})(function(){return function(){function Ht(gt,Pr,Li){function y(qt,Jt){if(!Pr[qt]){if(!gt[qt]){var Xe=typeof LU=="function"&&LU;if(!Jt&&Xe)return Xe(qt,!0);if(Wt)return Wt(qt,!0);var Yi=new Error("Cannot find module '"+qt+"'");throw Yi.code="MODULE_NOT_FOUND",Yi}var Bi=Pr[qt]={exports:{}};gt[qt][0].call(Bi.exports,function(En){var hu=gt[qt][1][En];return y(hu||En)},Bi,Bi.exports,Ht,gt,Pr,Li)}return Pr[qt].exports}for(var Wt=typeof LU=="function"&&LU,Ku=0;Ku<Li.length;Ku++)y(Li[Ku]);return y}return Ht}()({1:[function(Ht,gt,Pr){Object.defineProperty(Pr,"__esModule",{value:!0});var Li=function(){function qt(Jt,Xe){for(var Yi=0;Yi<Xe.length;Yi++){var Bi=Xe[Yi];Bi.enumerable=Bi.enumerable||!1,Bi.configurable=!0,"value"in Bi&&(Bi.writable=!0),Object.defineProperty(Jt,Bi.key,Bi)}}return function(Jt,Xe,Yi){return Xe&&qt(Jt.prototype,Xe),Yi&&qt(Jt,Yi),Jt}}();function y(qt,Jt){if(!(qt instanceof Jt))throw new TypeError("Cannot call a class as a function")}var Wt=function(){function qt(){var Jt=this,Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Yi=Xe.defaultLayoutOptions,Bi=Yi===void 0?{}:Yi,En=Xe.algorithms,hu=En===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:En,Qc=Xe.workerFactory,Bu=Xe.workerUrl;if(y(this,qt),this.defaultLayoutOptions=Bi,this.initialized=!1,typeof Bu>"u"&&typeof Qc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Ir=Qc;typeof Bu<"u"&&typeof Qc>"u"&&(Ir=function($1){return new Worker($1)});var Tf=Ir(Bu);if(typeof Tf.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Ku(Tf),this.worker.postMessage({cmd:"register",algorithms:hu}).then(function(D1){return Jt.initialized=!0}).catch(console.err)}return Li(qt,[{key:"layout",value:function(Xe){var Yi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bi=Yi.layoutOptions,En=Bi===void 0?this.defaultLayoutOptions:Bi,hu=Yi.logging,Qc=hu===void 0?!1:hu,Bu=Yi.measureExecutionTime,Ir=Bu===void 0?!1:Bu;return Xe?this.worker.postMessage({cmd:"layout",graph:Xe,layoutOptions:En,options:{logging:Qc,measureExecutionTime:Ir}}):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()}}]),qt}();Pr.default=Wt;var Ku=function(){function qt(Jt){var Xe=this;if(y(this,qt),Jt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=Jt,this.worker.onmessage=function(Yi){setTimeout(function(){Xe.receive(Xe,Yi)},0)}}return Li(qt,[{key:"postMessage",value:function(Xe){var Yi=this.id||0;this.id=Yi+1,Xe.id=Yi;var Bi=this;return new Promise(function(En,hu){Bi.resolvers[Yi]=function(Qc,Bu){Qc?(Bi.convertGwtStyleError(Qc),hu(Qc)):En(Bu)},Bi.worker.postMessage(Xe)})}},{key:"receive",value:function(Xe,Yi){var Bi=Yi.data,En=Xe.resolvers[Bi.id];En&&(delete Xe.resolvers[Bi.id],Bi.error?En(Bi.error):En(null,Bi.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Xe){if(Xe){var Yi=Xe.__java$exception;Yi&&(Yi.cause&&Yi.cause.backingJsObject&&(Xe.cause=Yi.cause.backingJsObject,this.convertGwtStyleError(Xe.cause)),delete Xe.__java$exception)}}}]),qt}()},{}],2:[function(Ht,gt,Pr){(function(Li){(function(){var y;typeof window<"u"?y=window:typeof Li<"u"?y=Li:typeof self<"u"&&(y=self);var Wt;function Ku(){}function qt(){}function Jt(){}function Xe(){}function Yi(){}function Bi(){}function En(){}function hu(){}function Qc(){}function Bu(){}function Ir(){}function Tf(){}function D1(){}function $1(){}function og(){}function X3(){}function x1(){}function ul(){}function Ebn(){}function Mbn(){}function Q2(){}function R(){}function Tbn(){}function pE(){}function Cbn(){}function Sbn(){}function Pbn(){}function Ibn(){}function Obn(){}function $U(){}function Abn(){}function Lbn(){}function Nbn(){}function AA(){}function Dbn(){}function $bn(){}function xbn(){}function LA(){}function Rbn(){}function Kbn(){}function xU(){}function Bbn(){}function Fbn(){}function yu(){}function ju(){}function Y2(){}function Z2(){}function _bn(){}function Hbn(){}function qbn(){}function Ubn(){}function RU(){}function Eu(){}function np(){}function ep(){}function Gbn(){}function zbn(){}function NA(){}function Xbn(){}function Vbn(){}function Wbn(){}function Jbn(){}function Qbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function uwn(){}function own(){}function swn(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function dwn(){}function bwn(){}function wwn(){}function gwn(){}function pwn(){}function mwn(){}function vwn(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Mwn(){}function Twn(){}function KU(){}function Cwn(){}function Swn(){}function Pwn(){}function Iwn(){}function DA(){}function $A(){}function mE(){}function Own(){}function Awn(){}function xA(){}function Lwn(){}function Nwn(){}function Dwn(){}function vE(){}function $wn(){}function xwn(){}function Rwn(){}function Kwn(){}function Bwn(){}function Fwn(){}function _wn(){}function Hwn(){}function qwn(){}function BU(){}function Uwn(){}function Gwn(){}function FU(){}function zwn(){}function Xwn(){}function Vwn(){}function Wwn(){}function Jwn(){}function Qwn(){}function Ywn(){}function Zwn(){}function n0n(){}function e0n(){}function t0n(){}function i0n(){}function r0n(){}function RA(){}function c0n(){}function u0n(){}function o0n(){}function s0n(){}function f0n(){}function h0n(){}function l0n(){}function a0n(){}function d0n(){}function _U(){}function HU(){}function b0n(){}function w0n(){}function g0n(){}function p0n(){}function m0n(){}function v0n(){}function k0n(){}function y0n(){}function j0n(){}function E0n(){}function M0n(){}function T0n(){}function C0n(){}function S0n(){}function P0n(){}function I0n(){}function O0n(){}function A0n(){}function L0n(){}function N0n(){}function D0n(){}function $0n(){}function x0n(){}function R0n(){}function K0n(){}function B0n(){}function F0n(){}function _0n(){}function H0n(){}function q0n(){}function U0n(){}function G0n(){}function z0n(){}function X0n(){}function V0n(){}function W0n(){}function J0n(){}function Q0n(){}function Y0n(){}function Z0n(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function ogn(){}function sgn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function mgn(){}function vgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Mgn(){}function Tgn(){}function Cgn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Agn(){}function Lgn(){}function Ngn(){}function Dgn(){}function $gn(){}function xgn(){}function Rgn(){}function Kgn(){}function Bgn(){}function Fgn(){}function _gn(){}function Hgn(){}function qgn(){}function Ugn(){}function Ggn(){}function zgn(){}function Xgn(){}function Vgn(){}function Wgn(){}function Jgn(){}function Qgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function i2n(){}function r2n(){}function c2n(){}function qU(){}function u2n(){}function o2n(){}function s2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function m2n(){}function v2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function M2n(){}function T2n(){}function C2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function A2n(){}function L2n(){}function N2n(){}function D2n(){}function $2n(){}function x2n(){}function R2n(){}function K2n(){}function B2n(){}function F2n(){}function _2n(){}function H2n(){}function q2n(){}function U2n(){}function G2n(){}function z2n(){}function X2n(){}function V2n(){}function W2n(){}function J2n(){}function Q2n(){}function Y2n(){}function Z2n(){}function npn(){}function epn(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function opn(){}function spn(){}function fpn(){}function hpn(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function mpn(){}function vpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Mpn(){}function UU(){}function Tpn(){}function Cpn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Apn(){}function Lpn(){}function Npn(){}function Dpn(){}function GU(){}function $pn(){}function xpn(){}function Rpn(){}function Kpn(){}function Bpn(){}function Fpn(){}function zU(){}function XU(){}function _pn(){}function VU(){}function WU(){}function Hpn(){}function qpn(){}function Upn(){}function Gpn(){}function zpn(){}function Xpn(){}function Vpn(){}function Wpn(){}function Jpn(){}function Qpn(){}function Ypn(){}function JU(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function o3n(){}function s3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function m3n(){}function v3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function M3n(){}function T3n(){}function C3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function A3n(){}function L3n(){}function N3n(){}function D3n(){}function $3n(){}function x3n(){}function R3n(){}function K3n(){}function B3n(){}function F3n(){}function _3n(){}function H3n(){}function q3n(){}function U3n(){}function G3n(){}function z3n(){}function X3n(){}function V3n(){}function W3n(){}function J3n(){}function Q3n(){}function Y3n(){}function Z3n(){}function nmn(){}function emn(){}function tmn(){}function imn(){}function rmn(){}function cmn(){}function umn(){}function omn(){}function smn(){}function fmn(){}function hmn(){}function lmn(){}function amn(){}function dmn(){}function bmn(){}function wmn(){}function gmn(){}function pmn(){}function mmn(){}function vmn(){}function kmn(){}function ymn(){}function jmn(){}function Emn(){}function Mmn(){}function Tmn(){}function Cmn(){}function Smn(){}function Pmn(){}function Imn(){}function Omn(){}function _se(){}function Amn(){}function Lmn(){}function Nmn(){}function Dmn(){}function $mn(){}function xmn(){}function Rmn(){}function Kmn(){}function Bmn(){}function Fmn(){}function _mn(){}function Hmn(){}function qmn(){}function Umn(){}function Gmn(){}function zmn(){}function Xmn(){}function Vmn(){}function Wmn(){}function Jmn(){}function Qmn(){}function Ymn(){}function Zmn(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function KA(){}function BA(){}function r4n(){}function FA(){}function c4n(){}function u4n(){}function o4n(){}function s4n(){}function f4n(){}function h4n(){}function l4n(){}function a4n(){}function d4n(){}function b4n(){}function QU(){}function w4n(){}function g4n(){}function p4n(){}function Hse(){}function m4n(){}function v4n(){}function k4n(){}function y4n(){}function j4n(){}function E4n(){}function M4n(){}function Fa(){}function T4n(){}function tp(){}function YU(){}function C4n(){}function S4n(){}function P4n(){}function I4n(){}function O4n(){}function A4n(){}function L4n(){}function N4n(){}function D4n(){}function $4n(){}function x4n(){}function R4n(){}function K4n(){}function B4n(){}function F4n(){}function _4n(){}function H4n(){}function q4n(){}function U4n(){}function hn(){}function G4n(){}function z4n(){}function X4n(){}function V4n(){}function W4n(){}function J4n(){}function Q4n(){}function Y4n(){}function Z4n(){}function nvn(){}function evn(){}function tvn(){}function ivn(){}function _A(){}function rvn(){}function cvn(){}function uvn(){}function kE(){}function ovn(){}function HA(){}function yE(){}function svn(){}function ZU(){}function fvn(){}function hvn(){}function lvn(){}function avn(){}function dvn(){}function bvn(){}function jE(){}function wvn(){}function gvn(){}function EE(){}function pvn(){}function ME(){}function mvn(){}function nG(){}function vvn(){}function qA(){}function eG(){}function kvn(){}function yvn(){}function jvn(){}function Evn(){}function qse(){}function Mvn(){}function Tvn(){}function Cvn(){}function Svn(){}function Pvn(){}function Ivn(){}function Ovn(){}function Avn(){}function Lvn(){}function Nvn(){}function V3(){}function UA(){}function Dvn(){}function $vn(){}function xvn(){}function Rvn(){}function Kvn(){}function Bvn(){}function Fvn(){}function _vn(){}function Hvn(){}function qvn(){}function Uvn(){}function Gvn(){}function zvn(){}function Xvn(){}function Vvn(){}function Wvn(){}function Jvn(){}function Qvn(){}function Yvn(){}function Zvn(){}function n6n(){}function e6n(){}function t6n(){}function i6n(){}function r6n(){}function c6n(){}function u6n(){}function o6n(){}function s6n(){}function f6n(){}function h6n(){}function l6n(){}function a6n(){}function d6n(){}function b6n(){}function w6n(){}function g6n(){}function p6n(){}function m6n(){}function v6n(){}function k6n(){}function y6n(){}function j6n(){}function E6n(){}function M6n(){}function T6n(){}function C6n(){}function S6n(){}function P6n(){}function I6n(){}function O6n(){}function A6n(){}function L6n(){}function N6n(){}function D6n(){}function $6n(){}function x6n(){}function R6n(){}function K6n(){}function B6n(){}function F6n(){}function _6n(){}function H6n(){}function q6n(){}function U6n(){}function G6n(){}function z6n(){}function X6n(){}function V6n(){}function W6n(){}function J6n(){}function Q6n(){}function Y6n(){}function Z6n(){}function n5n(){}function e5n(){}function t5n(){}function i5n(){}function r5n(){}function c5n(){}function u5n(){}function o5n(){}function s5n(){}function f5n(){}function h5n(){}function l5n(){}function a5n(){}function d5n(){}function b5n(){}function w5n(){}function g5n(){}function p5n(){}function m5n(){}function v5n(){}function k5n(){}function y5n(){}function j5n(){}function E5n(){}function M5n(){}function T5n(){}function C5n(){}function tG(){}function S5n(){}function P5n(){}function GA(){Qv()}function I5n(){r7()}function O5n(){aS()}function A5n(){Q$()}function L5n(){j5()}function N5n(){hnn()}function D5n(){Us()}function $5n(){kZ()}function x5n(){qk()}function R5n(){c7()}function K5n(){N7()}function B5n(){lMn()}function F5n(){Hp()}function _5n(){BNn()}function H5n(){vQ()}function q5n(){SAn()}function U5n(){kQ()}function G5n(){gDn()}function z5n(){CAn()}function X5n(){r4()}function V5n(){Z$n()}function W5n(){Y$n()}function J5n(){jLn()}function Q5n(){nxn()}function Y5n(){oa()}function Z5n(){YE()}function n8n(){stn()}function e8n(){cn()}function t8n(){exn()}function i8n(){Pxn()}function r8n(){PAn()}function c8n(){ZBn()}function u8n(){IAn()}function o8n(){bUn()}function s8n(){Fnn()}function f8n(){kl()}function h8n(){bKn()}function l8n(){lc()}function a8n(){KAn()}function d8n(){_p()}function b8n(){jen()}function w8n(){sa()}function g8n(){Een()}function p8n(){Bf()}function m8n(){Vk()}function v8n(){ER()}function k8n(){Lx()}function uf(){bPn()}function y8n(){YT()}function j8n(){mS()}function iG(){He()}function E8n(){DC()}function M8n(){JY()}function rG(){L$()}function cG(){FS()}function T8n(){Den()}function uG(n){Jn(n)}function C8n(n){this.a=n}function TE(n){this.a=n}function S8n(n){this.a=n}function P8n(n){this.a=n}function I8n(n){this.a=n}function O8n(n){this.a=n}function A8n(n){this.a=n}function L8n(n){this.a=n}function oG(n){this.a=n}function sG(n){this.a=n}function N8n(n){this.a=n}function D8n(n){this.a=n}function zA(n){this.a=n}function $8n(n){this.a=n}function x8n(n){this.a=n}function XA(n){this.a=n}function VA(n){this.a=n}function R8n(n){this.a=n}function WA(n){this.a=n}function K8n(n){this.a=n}function B8n(n){this.a=n}function F8n(n){this.a=n}function fG(n){this.b=n}function _8n(n){this.c=n}function H8n(n){this.a=n}function q8n(n){this.a=n}function U8n(n){this.a=n}function G8n(n){this.a=n}function z8n(n){this.a=n}function X8n(n){this.a=n}function V8n(n){this.a=n}function W8n(n){this.a=n}function J8n(n){this.a=n}function Q8n(n){this.a=n}function Y8n(n){this.a=n}function Z8n(n){this.a=n}function n9n(n){this.a=n}function hG(n){this.a=n}function lG(n){this.a=n}function CE(n){this.a=n}function q9(n){this.a=n}function _a(){this.a=[]}function e9n(n,e){n.a=e}function Use(n,e){n.a=e}function Gse(n,e){n.b=e}function zse(n,e){n.b=e}function Xse(n,e){n.b=e}function aG(n,e){n.j=e}function Vse(n,e){n.g=e}function Wse(n,e){n.i=e}function Jse(n,e){n.c=e}function Qse(n,e){n.c=e}function Yse(n,e){n.d=e}function Zse(n,e){n.d=e}function Ha(n,e){n.k=e}function nfe(n,e){n.c=e}function dG(n,e){n.c=e}function bG(n,e){n.a=e}function efe(n,e){n.a=e}function tfe(n,e){n.f=e}function ife(n,e){n.a=e}function rfe(n,e){n.b=e}function JA(n,e){n.d=e}function SE(n,e){n.i=e}function wG(n,e){n.o=e}function cfe(n,e){n.r=e}function ufe(n,e){n.a=e}function ofe(n,e){n.b=e}function t9n(n,e){n.e=e}function sfe(n,e){n.f=e}function gG(n,e){n.g=e}function ffe(n,e){n.e=e}function hfe(n,e){n.f=e}function lfe(n,e){n.f=e}function QA(n,e){n.a=e}function YA(n,e){n.b=e}function afe(n,e){n.n=e}function dfe(n,e){n.a=e}function bfe(n,e){n.c=e}function wfe(n,e){n.c=e}function gfe(n,e){n.c=e}function pfe(n,e){n.a=e}function mfe(n,e){n.a=e}function vfe(n,e){n.d=e}function kfe(n,e){n.d=e}function yfe(n,e){n.e=e}function jfe(n,e){n.e=e}function Efe(n,e){n.g=e}function Mfe(n,e){n.f=e}function Tfe(n,e){n.j=e}function Cfe(n,e){n.a=e}function Sfe(n,e){n.a=e}function Pfe(n,e){n.b=e}function i9n(n){n.b=n.a}function r9n(n){n.c=n.d.d}function pG(n){this.a=n}function mG(n){this.a=n}function vG(n){this.a=n}function qa(n){this.a=n}function Ua(n){this.a=n}function U9(n){this.a=n}function c9n(n){this.a=n}function kG(n){this.a=n}function G9(n){this.a=n}function PE(n){this.a=n}function ol(n){this.a=n}function Cw(n){this.a=n}function u9n(n){this.a=n}function o9n(n){this.a=n}function ZA(n){this.b=n}function W3(n){this.b=n}function J3(n){this.b=n}function nL(n){this.a=n}function s9n(n){this.a=n}function eL(n){this.c=n}function M(n){this.c=n}function f9n(n){this.c=n}function Gv(n){this.d=n}function yG(n){this.a=n}function Ce(n){this.a=n}function h9n(n){this.a=n}function jG(n){this.a=n}function EG(n){this.a=n}function MG(n){this.a=n}function TG(n){this.a=n}function CG(n){this.a=n}function SG(n){this.a=n}function Q3(n){this.a=n}function l9n(n){this.a=n}function a9n(n){this.a=n}function Y3(n){this.a=n}function d9n(n){this.a=n}function b9n(n){this.a=n}function w9n(n){this.a=n}function g9n(n){this.a=n}function p9n(n){this.a=n}function m9n(n){this.a=n}function v9n(n){this.a=n}function k9n(n){this.a=n}function y9n(n){this.a=n}function j9n(n){this.a=n}function E9n(n){this.a=n}function M9n(n){this.a=n}function T9n(n){this.a=n}function C9n(n){this.a=n}function S9n(n){this.a=n}function z9(n){this.a=n}function P9n(n){this.a=n}function I9n(n){this.a=n}function O9n(n){this.a=n}function A9n(n){this.a=n}function IE(n){this.a=n}function L9n(n){this.a=n}function N9n(n){this.a=n}function Z3(n){this.a=n}function PG(n){this.a=n}function D9n(n){this.a=n}function $9n(n){this.a=n}function x9n(n){this.a=n}function R9n(n){this.a=n}function K9n(n){this.a=n}function B9n(n){this.a=n}function IG(n){this.a=n}function OG(n){this.a=n}function AG(n){this.a=n}function zv(n){this.a=n}function OE(n){this.e=n}function nm(n){this.a=n}function F9n(n){this.a=n}function ip(n){this.a=n}function LG(n){this.a=n}function _9n(n){this.a=n}function H9n(n){this.a=n}function q9n(n){this.a=n}function U9n(n){this.a=n}function G9n(n){this.a=n}function z9n(n){this.a=n}function X9n(n){this.a=n}function V9n(n){this.a=n}function W9n(n){this.a=n}function J9n(n){this.a=n}function Q9n(n){this.a=n}function NG(n){this.a=n}function Y9n(n){this.a=n}function Z9n(n){this.a=n}function n7n(n){this.a=n}function e7n(n){this.a=n}function t7n(n){this.a=n}function i7n(n){this.a=n}function r7n(n){this.a=n}function c7n(n){this.a=n}function u7n(n){this.a=n}function o7n(n){this.a=n}function s7n(n){this.a=n}function f7n(n){this.a=n}function h7n(n){this.a=n}function l7n(n){this.a=n}function a7n(n){this.a=n}function d7n(n){this.a=n}function b7n(n){this.a=n}function w7n(n){this.a=n}function g7n(n){this.a=n}function p7n(n){this.a=n}function m7n(n){this.a=n}function v7n(n){this.a=n}function k7n(n){this.a=n}function y7n(n){this.a=n}function j7n(n){this.a=n}function E7n(n){this.a=n}function M7n(n){this.a=n}function T7n(n){this.a=n}function C7n(n){this.a=n}function S7n(n){this.a=n}function P7n(n){this.a=n}function I7n(n){this.a=n}function O7n(n){this.a=n}function A7n(n){this.a=n}function L7n(n){this.a=n}function N7n(n){this.a=n}function D7n(n){this.a=n}function $7n(n){this.a=n}function x7n(n){this.c=n}function R7n(n){this.b=n}function K7n(n){this.a=n}function B7n(n){this.a=n}function F7n(n){this.a=n}function _7n(n){this.a=n}function H7n(n){this.a=n}function q7n(n){this.a=n}function U7n(n){this.a=n}function G7n(n){this.a=n}function z7n(n){this.a=n}function X7n(n){this.a=n}function V7n(n){this.a=n}function W7n(n){this.a=n}function J7n(n){this.a=n}function Q7n(n){this.a=n}function Y7n(n){this.a=n}function Z7n(n){this.a=n}function nkn(n){this.a=n}function ekn(n){this.a=n}function tkn(n){this.a=n}function ikn(n){this.a=n}function rkn(n){this.a=n}function ckn(n){this.a=n}function ukn(n){this.a=n}function okn(n){this.a=n}function skn(n){this.a=n}function fkn(n){this.a=n}function hkn(n){this.a=n}function sl(n){this.a=n}function sg(n){this.a=n}function lkn(n){this.a=n}function akn(n){this.a=n}function dkn(n){this.a=n}function bkn(n){this.a=n}function wkn(n){this.a=n}function gkn(n){this.a=n}function pkn(n){this.a=n}function mkn(n){this.a=n}function vkn(n){this.a=n}function kkn(n){this.a=n}function ykn(n){this.a=n}function jkn(n){this.a=n}function Ekn(n){this.a=n}function Mkn(n){this.a=n}function Tkn(n){this.a=n}function Ckn(n){this.a=n}function Skn(n){this.a=n}function Pkn(n){this.a=n}function Ikn(n){this.a=n}function Okn(n){this.a=n}function Akn(n){this.a=n}function Lkn(n){this.a=n}function Nkn(n){this.a=n}function Dkn(n){this.a=n}function $kn(n){this.a=n}function xkn(n){this.a=n}function AE(n){this.a=n}function Rkn(n){this.f=n}function Kkn(n){this.a=n}function Bkn(n){this.a=n}function Fkn(n){this.a=n}function _kn(n){this.a=n}function Hkn(n){this.a=n}function qkn(n){this.a=n}function Ukn(n){this.a=n}function Gkn(n){this.a=n}function zkn(n){this.a=n}function Xkn(n){this.a=n}function Vkn(n){this.a=n}function Wkn(n){this.a=n}function Jkn(n){this.a=n}function Qkn(n){this.a=n}function Ykn(n){this.a=n}function Zkn(n){this.a=n}function nyn(n){this.a=n}function eyn(n){this.a=n}function tyn(n){this.a=n}function iyn(n){this.a=n}function ryn(n){this.a=n}function cyn(n){this.a=n}function uyn(n){this.a=n}function oyn(n){this.a=n}function syn(n){this.a=n}function fyn(n){this.a=n}function hyn(n){this.a=n}function lyn(n){this.a=n}function tL(n){this.a=n}function DG(n){this.a=n}function lt(n){this.b=n}function ayn(n){this.a=n}function dyn(n){this.a=n}function byn(n){this.a=n}function wyn(n){this.a=n}function gyn(n){this.a=n}function pyn(n){this.a=n}function myn(n){this.a=n}function vyn(n){this.b=n}function kyn(n){this.a=n}function X9(n){this.a=n}function yyn(n){this.a=n}function jyn(n){this.a=n}function $G(n){this.c=n}function LE(n){this.e=n}function NE(n){this.a=n}function DE(n){this.a=n}function iL(n){this.a=n}function Eyn(n){this.d=n}function Myn(n){this.a=n}function xG(n){this.a=n}function RG(n){this.a=n}function Wd(n){this.e=n}function Ife(){this.a=0}function de(){Hu(this)}function Z(){pN(this)}function rL(){oOn(this)}function Tyn(){}function Jd(){this.c=Udn}function Cyn(n,e){n.b+=e}function Ofe(n,e){e.Wb(n)}function Afe(n){return n.a}function Lfe(n){return n.a}function Nfe(n){return n.a}function Dfe(n){return n.a}function $fe(n){return n.a}function T(n){return n.e}function xfe(){return null}function Rfe(){return null}function Kfe(){jz(),pNe()}function Bfe(n){n.b.Of(n.e)}function Syn(n){n.b=new ML}function Xv(n,e){n.b=e-n.b}function Vv(n,e){n.a=e-n.a}function Bn(n,e){n.push(e)}function Pyn(n,e){n.sort(e)}function Iyn(n,e){e.jd(n.a)}function Ffe(n,e){gi(e,n)}function _fe(n,e,t){n.Yd(t,e)}function V9(n,e){n.e=e,e.b=n}function KG(n){oh(),this.a=n}function Oyn(n){oh(),this.a=n}function Ayn(n){oh(),this.a=n}function cL(n){gb(),this.a=n}function Lyn(n){Om(),XF.le(n)}function BG(){BG=R,new de}function Ga(){QCn.call(this)}function FG(){QCn.call(this)}function _G(){Ga.call(this)}function uL(){Ga.call(this)}function Nyn(){Ga.call(this)}function W9(){Ga.call(this)}function Mu(){Ga.call(this)}function rp(){Ga.call(this)}function Ie(){Ga.call(this)}function Ko(){Ga.call(this)}function Dyn(){Ga.call(this)}function nc(){Ga.call(this)}function $yn(){Ga.call(this)}function xyn(){this.a=this}function $E(){this.Bb|=256}function Ryn(){this.b=new UTn}function Sw(n,e){n.length=e}function xE(n,e){nn(n.a,e)}function Hfe(n,e){ann(n.c,e)}function qfe(n,e){fi(n.b,e)}function Ufe(n,e){uS(n.a,e)}function Gfe(n,e){cx(n.a,e)}function em(n,e){rt(n.e,e)}function cp(n){jS(n.c,n.b)}function zfe(n,e){n.kc().Nb(e)}function HG(n){this.a=K5e(n)}function ni(){this.a=new de}function Kyn(){this.a=new de}function qG(){this.a=new iMn}function RE(){this.a=new Z}function oL(){this.a=new Z}function UG(){this.a=new Z}function hs(){this.a=new rwn}function za(){this.a=new NNn}function GG(){this.a=new BU}function zG(){this.a=new TAn}function XG(){this.a=new RSn}function Byn(){this.a=new Z}function Fyn(){this.a=new Z}function _yn(){this.a=new Z}function VG(){this.a=new Z}function Hyn(){this.d=new Z}function qyn(){this.a=new GAn}function Uyn(){this.a=new ni}function Gyn(){this.a=new de}function zyn(){this.b=new de}function Xyn(){this.b=new Z}function WG(){this.e=new Z}function Vyn(){this.a=new Y5n}function Wyn(){this.d=new Z}function Jyn(){JOn.call(this)}function Qyn(){JOn.call(this)}function Yyn(){Z.call(this)}function JG(){_G.call(this)}function QG(){RE.call(this)}function Zyn(){HM.call(this)}function njn(){VG.call(this)}function Wv(){Tyn.call(this)}function sL(){Wv.call(this)}function up(){Tyn.call(this)}function YG(){up.call(this)}function ejn(){tz.call(this)}function tjn(){tz.call(this)}function ijn(){tz.call(this)}function rjn(){iz.call(this)}function Jv(){ovn.call(this)}function ZG(){ovn.call(this)}function Tu(){Mt.call(this)}function cjn(){kjn.call(this)}function ujn(){kjn.call(this)}function ojn(){de.call(this)}function sjn(){de.call(this)}function fjn(){de.call(this)}function fL(){rxn.call(this)}function hjn(){ni.call(this)}function ljn(){$E.call(this)}function hL(){xX.call(this)}function nz(){de.call(this)}function lL(){xX.call(this)}function aL(){de.call(this)}function ajn(){de.call(this)}function ez(){ME.call(this)}function djn(){ez.call(this)}function bjn(){ME.call(this)}function wjn(){tG.call(this)}function tz(){this.a=new ni}function gjn(){this.a=new de}function pjn(){this.a=new Z}function iz(){this.a=new de}function op(){this.a=new Mt}function mjn(){this.j=new Z}function vjn(){this.a=new pEn}function kjn(){this.a=new pvn}function rz(){this.a=new Ymn}function Qv(){Qv=R,FF=new qt}function dL(){dL=R,_F=new jjn}function bL(){bL=R,HF=new yjn}function yjn(){XA.call(this,"")}function jjn(){XA.call(this,"")}function Ejn(n){S$n.call(this,n)}function Mjn(n){S$n.call(this,n)}function cz(n){oG.call(this,n)}function uz(n){zEn.call(this,n)}function Xfe(n){zEn.call(this,n)}function Vfe(n){uz.call(this,n)}function Wfe(n){uz.call(this,n)}function Jfe(n){uz.call(this,n)}function Tjn(n){zD.call(this,n)}function Cjn(n){zD.call(this,n)}function Sjn(n){cPn.call(this,n)}function Pjn(n){Iz.call(this,n)}function Yv(n){VE.call(this,n)}function oz(n){VE.call(this,n)}function Ijn(n){VE.call(this,n)}function sz(n){mje.call(this,n)}function fz(n){sz.call(this,n)}function ec(n){CIn.call(this,n)}function Ojn(n){ec.call(this,n)}function sp(){q9.call(this,{})}function Ajn(){Ajn=R,dQn=new Mbn}function KE(){KE=R,GF=new SCn}function Ljn(){Ljn=R,run=new Ku}function hz(){hz=R,uun=new $1}function BE(){BE=R,M8=new x1}function wL(n){dm(),this.a=n}function gL(n){RQ(),this.a=n}function Pw(n){nD(),this.f=n}function pL(n){nD(),this.f=n}function Njn(n){dPn(),this.a=n}function Djn(n){n.b=null,n.c=0}function Qfe(n,e){n.e=e,bqn(n,e)}function Yfe(n,e){n.a=e,cEe(n)}function mL(n,e,t){n.a[e.g]=t}function Zfe(n,e,t){kke(t,n,e)}function nhe(n,e){Wae(e.i,n.n)}function $jn(n,e){v6e(n).Cd(e)}function ehe(n,e){n.a.ec().Mc(e)}function xjn(n,e){return n.g-e.g}function the(n,e){return n*n/e}function on(n){return Jn(n),n}function $(n){return Jn(n),n}function J9(n){return Jn(n),n}function ihe(n){return new CE(n)}function rhe(n){return new qw(n)}function lz(n){return Jn(n),n}function che(n){return Jn(n),n}function FE(n){ec.call(this,n)}function Or(n){ec.call(this,n)}function Rjn(n){ec.call(this,n)}function vL(n){CIn.call(this,n)}function tm(n){ec.call(this,n)}function Gn(n){ec.call(this,n)}function Ar(n){ec.call(this,n)}function Kjn(n){ec.call(this,n)}function fp(n){ec.call(this,n)}function Fl(n){ec.call(this,n)}function _l(n){ec.call(this,n)}function hp(n){ec.call(this,n)}function eh(n){ec.call(this,n)}function kL(n){ec.call(this,n)}function Ne(n){ec.call(this,n)}function Fu(n){Jn(n),this.a=n}function az(n){return ld(n),n}function Zv(n){MW(n,n.length)}function n6(n){return n.b==n.c}function Iw(n){return!!n&&n.b}function uhe(n){return!!n&&n.k}function ohe(n){return!!n&&n.j}function she(n,e,t){n.c.Ef(e,t)}function Bjn(n,e){n.be(e),e.ae(n)}function lp(n){oh(),this.a=Pe(n)}function yL(){this.a=Ae(Pe(ur))}function Fjn(){throw T(new Ie)}function fhe(){throw T(new Ie)}function dz(){throw T(new Ie)}function _jn(){throw T(new Ie)}function hhe(){throw T(new Ie)}function lhe(){throw T(new Ie)}function _E(){_E=R,Om()}function Hl(){U9.call(this,"")}function e6(){U9.call(this,"")}function R1(){U9.call(this,"")}function fg(){U9.call(this,"")}function bz(n){Or.call(this,n)}function wz(n){Or.call(this,n)}function th(n){Gn.call(this,n)}function im(n){J3.call(this,n)}function Hjn(n){im.call(this,n)}function jL(n){RM.call(this,n)}function EL(n){VX.call(this,n,0)}function ML(){uJ.call(this,12,3)}function C(n,e){return vAn(n,e)}function HE(n,e){return o$(n,e)}function ahe(n,e){return n.a-e.a}function dhe(n,e){return n.a-e.a}function bhe(n,e){return n.a-e.a}function whe(n,e){return e in n.a}function qjn(n){return n.a?n.b:0}function ghe(n){return n.a?n.b:0}function phe(n,e,t){e.Cd(n.a[t])}function mhe(n,e,t){e.Pe(n.a[t])}function vhe(n,e){n.b=new rr(e)}function khe(n,e){return n.b=e,n}function Ujn(n,e){return n.c=e,n}function Gjn(n,e){return n.f=e,n}function yhe(n,e){return n.g=e,n}function gz(n,e){return n.a=e,n}function pz(n,e){return n.f=e,n}function jhe(n,e){return n.k=e,n}function mz(n,e){return n.a=e,n}function Ehe(n,e){return n.e=e,n}function vz(n,e){return n.e=e,n}function Mhe(n,e){return n.f=e,n}function The(n,e){n.b=!0,n.d=e}function Che(n,e){return n.b-e.b}function She(n,e){return n.g-e.g}function Phe(n,e){return n?0:e-1}function zjn(n,e){return n?0:e-1}function Ihe(n,e){return n?e-1:0}function Ohe(n,e){return n.s-e.s}function Ahe(n,e){return e.rg(n)}function Qd(n,e){return n.b=e,n}function qE(n,e){return n.a=e,n}function Yd(n,e){return n.c=e,n}function Zd(n,e){return n.d=e,n}function nb(n,e){return n.e=e,n}function kz(n,e){return n.f=e,n}function t6(n,e){return n.a=e,n}function rm(n,e){return n.b=e,n}function cm(n,e){return n.c=e,n}function an(n,e){return n.c=e,n}function Pn(n,e){return n.b=e,n}function dn(n,e){return n.d=e,n}function bn(n,e){return n.e=e,n}function Lhe(n,e){return n.f=e,n}function wn(n,e){return n.g=e,n}function gn(n,e){return n.a=e,n}function pn(n,e){return n.i=e,n}function mn(n,e){return n.j=e,n}function Nhe(n,e){oa(),ic(e,n)}function Dhe(n,e,t){Jwe(n.a,e,t)}function UE(n){$N.call(this,n)}function Xjn(n){Z5e.call(this,n)}function Vjn(n){SOn.call(this,n)}function yz(n){SOn.call(this,n)}function K1(n){Cb.call(this,n)}function Wjn(n){MD.call(this,n)}function Jjn(n){MD.call(this,n)}function Qjn(){OX.call(this,"")}function Ni(){this.a=0,this.b=0}function Yjn(){this.b=0,this.a=0}function Zjn(n,e){n.b=0,Zw(n,e)}function nEn(n,e){return n.k=e,n}function $he(n,e){return n.j=e,n}function xhe(n,e){n.c=e,n.b=!0}function eEn(){eEn=R,CQn=Xke()}function B1(){B1=R,voe=rke()}function tEn(){tEn=R,Ci=gye()}function jz(){jz=R,Na=Gm()}function um(){um=R,qdn=cke()}function iEn(){iEn=R,ise=uke()}function Ez(){Ez=R,yc=tEe()}function of(n){return n.e&&n.e()}function rEn(n){return n.l|n.m<<22}function cEn(n,e){return n.c._b(e)}function uEn(n,e){return iKn(n.b,e)}function TL(n){return n?n.d:null}function Rhe(n){return n?n.g:null}function Khe(n){return n?n.i:null}function Xa(n){return ll(n),n.o}function hg(n,e){return n.a+=e,n}function CL(n,e){return n.a+=e,n}function ql(n,e){return n.a+=e,n}function eb(n,e){return n.a+=e,n}function Mz(n,e){for(;n.Bd(e););}function GE(n){this.a=new ap(n)}function oEn(){throw T(new Ie)}function sEn(){throw T(new Ie)}function fEn(){throw T(new Ie)}function hEn(){throw T(new Ie)}function lEn(){throw T(new Ie)}function aEn(){throw T(new Ie)}function Ul(n){this.a=new iD(n)}function dEn(){this.a=new $5(Rln)}function bEn(){this.b=new $5(tln)}function wEn(){this.a=new $5(o1n)}function gEn(){this.b=new $5($q)}function pEn(){this.b=new $5($q)}function zE(n){this.a=0,this.b=n}function Tz(n){zGn(),ONe(this,n)}function om(n){return V1(n),n.a}function Q9(n){return n.b!=n.d.c}function Cz(n,e){return n.d[e.p]}function mEn(n,e){return XCe(n,e)}function Sz(n,e,t){n.splice(e,t)}function lg(n,e){for(;n.Re(e););}function vEn(n){n.c?Lqn(n):Nqn(n)}function kEn(){throw T(new Ie)}function yEn(){throw T(new Ie)}function jEn(){throw T(new Ie)}function EEn(){throw T(new Ie)}function MEn(){throw T(new Ie)}function TEn(){throw T(new Ie)}function CEn(){throw T(new Ie)}function SEn(){throw T(new Ie)}function PEn(){throw T(new Ie)}function IEn(){throw T(new Ie)}function Bhe(){throw T(new nc)}function Fhe(){throw T(new nc)}function Y9(n){this.a=new OEn(n)}function OEn(n){U4e(this,n,jje())}function Z9(n){return!n||uOn(n)}function n7(n){return nh[n]!=-1}function _he(){cI!=0&&(cI=0),uI=-1}function AEn(){BF==null&&(BF=[])}function e7(n,e){Tg.call(this,n,e)}function sm(n,e){e7.call(this,n,e)}function LEn(n,e){this.a=n,this.b=e}function NEn(n,e){this.a=n,this.b=e}function DEn(n,e){this.a=n,this.b=e}function $En(n,e){this.a=n,this.b=e}function xEn(n,e){this.a=n,this.b=e}function REn(n,e){this.a=n,this.b=e}function KEn(n,e){this.a=n,this.b=e}function fm(n,e){this.e=n,this.d=e}function Pz(n,e){this.b=n,this.c=e}function BEn(n,e){this.b=n,this.a=e}function FEn(n,e){this.b=n,this.a=e}function _En(n,e){this.b=n,this.a=e}function HEn(n,e){this.b=n,this.a=e}function qEn(n,e){this.a=n,this.b=e}function SL(n,e){this.a=n,this.b=e}function UEn(n,e){this.a=n,this.f=e}function tb(n,e){this.g=n,this.i=e}function je(n,e){this.f=n,this.g=e}function GEn(n,e){this.b=n,this.c=e}function zEn(n){KX(n.dc()),this.c=n}function Hhe(n,e){this.a=n,this.b=e}function XEn(n,e){this.a=n,this.b=e}function VEn(n){this.a=u(Pe(n),15)}function Iz(n){this.a=u(Pe(n),15)}function WEn(n){this.a=u(Pe(n),85)}function XE(n){this.b=u(Pe(n),85)}function VE(n){this.b=u(Pe(n),51)}function WE(){this.q=new y.Date}function PL(n,e){this.a=n,this.b=e}function JEn(n,e){return Zc(n.b,e)}function t7(n,e){return n.b.Hc(e)}function QEn(n,e){return n.b.Ic(e)}function YEn(n,e){return n.b.Qc(e)}function ZEn(n,e){return n.b.Hc(e)}function nMn(n,e){return n.c.uc(e)}function eMn(n,e){return ct(n.c,e)}function sf(n,e){return n.a._b(e)}function tMn(n,e){return n>e&&e<X5}function i6(n){return n.f.c+n.i.c}function qhe(n){return GIn(),n?aQn:lQn}function ap(n){bRn.call(this,n,0)}function iMn(){iD.call(this,null)}function dp(n){this.c=n,t$n(this)}function Mt(){yCn(this),vo(this)}function fl(){fl=R,pQn=new Tbn}function hm(){hm=R,sv=new Sbn}function Ow(){Ow=R,ZF=new HTn}function JE(){JE=R,PQn=new qTn}function lm(){lm=R,Nun=new Kbn}function Oz(){i$.call(this,null)}function Va(){Va=R,v3=new Xbn}function Ut(n,e){V1(n),n.a.Nb(e)}function Uhe(n,e){return n.a.Xc(e)}function Ghe(n,e){return n.a.Yc(e)}function IL(n,e){return n.a.$c(e)}function OL(n,e){return n.a._c(e)}function zhe(n,e){return n.Gc(e),n}function Xhe(n,e){return Ki(n,e),n}function Vhe(n,e){aR(H(n.a),e)}function Whe(n,e){aR(H(n.a),e)}function rMn(n,e){return n.Gc(e),n}function Jhe(n,e){return n.a.f=e,n}function cMn(n,e){return n.a.d=e,n}function uMn(n,e){return n.a.g=e,n}function oMn(n,e){return n.a.j=e,n}function As(n,e){return n.a.a=e,n}function Ls(n,e){return n.a.d=e,n}function Ns(n,e){return n.a.e=e,n}function Ds(n,e){return n.a.g=e,n}function i7(n,e){return n.a.f=e,n}function Qhe(n){return n.b=!1,n}function sMn(){sMn=R,KQn=new Ybn}function QE(){QE=R,d_=new dSn}function Az(){Az=R,jZn=new Gwn}function fMn(){fMn=R,EZn=new Ywn}function Lz(){Lz=R,MZn=new bIn}function Nz(){Nz=R,Ion=new t0n}function hMn(){hMn=R,NZn=new a0n}function r6(){r6=R,$Zn=new d0n}function r7(){r7=R,BZn=new F0n}function c7(){c7=R,KZn=new Ni}function lMn(){lMn=R,qZn=new Mgn}function c6(){c6=R,QZn=new cpn}function YE(){YE=R,w2=new Ipn}function ZE(){ZE=R,Jte=new Y4n}function nM(){nM=R,xq=new dMn}function eM(){eM=R,Rq=new aSn}function u6(){u6=R,_j=new dOn}function aMn(){Q$n(),this.c=new ML}function dMn(){je.call(this,VXn,0)}function Yhe(n,e,t){Lr(n.d,e.f,t)}function Zhe(n,e,t,i){I9e(n,i,e,t)}function nle(n,e,t,i){nCe(i,n,e,t)}function ele(n,e,t,i){OLe(i,n,e,t)}function o6(n,e){s1(n.c.c,e.b,e)}function ib(n,e){s1(n.c.b,e.c,e)}function tle(n){return n.e.b+n.f.b}function ile(n){return n.e.a+n.f.a}function rle(n){return n.b?n.b:n.a}function cle(n){return(n.c+n.a)/2}function bMn(n,e){return B7e(n.a,e)}function s6(n,e){return n.a=e.g,n}function Dz(){Dz=R,Hdn=new ajn}function wMn(){wMn=R,Boe=new fjn}function Aw(){Aw=R,poe=new Z4n}function gMn(){gMn=R,Toe=new hvn}function pMn(){pMn=R,Koe=new sjn}function F1(){F1=R,Is=new nz}function tM(){tM=R,yA=new de}function f6(){f6=R,EU=new TCn}function Gl(){Gl=R,aE=new CCn}function AL(){AL=R,Zoe=new T6n}function dr(){dr=R,ese=new C6n}function _1(){_1=R,Ra=new P5n}function $z(){$z=R,Zdn=new Z}function iM(n){return u(n,44).ld()}function LL(n){return n.b<n.d.gc()}function ule(n,e){return e.split(n)}function NL(n,e){return Ec(n,e)>0}function DL(n,e){return Ec(n,e)<0}function mMn(n,e){return JN(n.a,e)}function ole(n,e){kAn.call(this,n,e)}function xz(n){wD(),cPn.call(this,n)}function Rz(n,e){dIn(n,n.length,e)}function u7(n,e){_In(n,n.length,e)}function h6(n,e){return n.a.get(e)}function vMn(n,e){return Zc(n.e,e)}function Kz(n){return Jn(n),!1}function Bz(n){this.a=u(Pe(n),229)}function rM(n){On.call(this,n,21)}function cM(n,e){je.call(this,n,e)}function $L(n,e){je.call(this,n,e)}function kMn(n,e){this.b=n,this.a=e}function uM(n,e){this.d=n,this.e=e}function yMn(n,e){this.a=n,this.b=e}function jMn(n,e){this.a=n,this.b=e}function EMn(n,e){this.a=n,this.b=e}function MMn(n,e){this.a=n,this.b=e}function bp(n,e){this.a=n,this.b=e}function TMn(n,e){this.b=n,this.a=e}function Fz(n,e){this.b=n,this.a=e}function _z(n,e){je.call(this,n,e)}function Hz(n,e){je.call(this,n,e)}function ag(n,e){je.call(this,n,e)}function xL(n,e){je.call(this,n,e)}function RL(n,e){je.call(this,n,e)}function KL(n,e){je.call(this,n,e)}function oM(n,e){je.call(this,n,e)}function qz(n,e){this.b=n,this.a=e}function sM(n,e){je.call(this,n,e)}function Uz(n,e){this.b=n,this.a=e}function fM(n,e){je.call(this,n,e)}function CMn(n,e){this.b=n,this.a=e}function Gz(n,e){je.call(this,n,e)}function BL(n,e){je.call(this,n,e)}function o7(n,e){je.call(this,n,e)}function l6(n,e,t){n.splice(e,0,t)}function sle(n,e,t){n.Mb(t)&&e.Cd(t)}function fle(n,e,t){e.Pe(n.a.Ye(t))}function hle(n,e,t){e.Dd(n.a.Ze(t))}function lle(n,e,t){e.Cd(n.a.Kb(t))}function ale(n,e){return Su(n.c,e)}function dle(n,e){return Su(n.e,e)}function hM(n,e){je.call(this,n,e)}function lM(n,e){je.call(this,n,e)}function a6(n,e){je.call(this,n,e)}function zz(n,e){je.call(this,n,e)}function ei(n,e){je.call(this,n,e)}function aM(n,e){je.call(this,n,e)}function SMn(n,e){this.a=n,this.b=e}function PMn(n,e){this.a=n,this.b=e}function IMn(n,e){this.a=n,this.b=e}function OMn(n,e){this.a=n,this.b=e}function AMn(n,e){this.a=n,this.b=e}function LMn(n,e){this.a=n,this.b=e}function NMn(n,e){this.b=n,this.a=e}function DMn(n,e){this.b=n,this.a=e}function Xz(n,e){this.b=n,this.a=e}function am(n,e){this.c=n,this.d=e}function $Mn(n,e){this.e=n,this.d=e}function xMn(n,e){this.a=n,this.b=e}function RMn(n,e){this.a=n,this.b=e}function KMn(n,e){this.a=n,this.b=e}function BMn(n,e){this.b=n,this.a=e}function FMn(n,e){this.b=e,this.c=n}function dM(n,e){je.call(this,n,e)}function s7(n,e){je.call(this,n,e)}function FL(n,e){je.call(this,n,e)}function Vz(n,e){je.call(this,n,e)}function d6(n,e){je.call(this,n,e)}function _L(n,e){je.call(this,n,e)}function HL(n,e){je.call(this,n,e)}function f7(n,e){je.call(this,n,e)}function Wz(n,e){je.call(this,n,e)}function qL(n,e){je.call(this,n,e)}function b6(n,e){je.call(this,n,e)}function Jz(n,e){je.call(this,n,e)}function w6(n,e){je.call(this,n,e)}function g6(n,e){je.call(this,n,e)}function Lw(n,e){je.call(this,n,e)}function UL(n,e){je.call(this,n,e)}function GL(n,e){je.call(this,n,e)}function Qz(n,e){je.call(this,n,e)}function h7(n,e){je.call(this,n,e)}function dg(n,e){je.call(this,n,e)}function zL(n,e){je.call(this,n,e)}function bM(n,e){je.call(this,n,e)}function l7(n,e){je.call(this,n,e)}function Nw(n,e){je.call(this,n,e)}function wM(n,e){je.call(this,n,e)}function Yz(n,e){je.call(this,n,e)}function XL(n,e){je.call(this,n,e)}function VL(n,e){je.call(this,n,e)}function WL(n,e){je.call(this,n,e)}function JL(n,e){je.call(this,n,e)}function QL(n,e){je.call(this,n,e)}function YL(n,e){je.call(this,n,e)}function ZL(n,e){je.call(this,n,e)}function _Mn(n,e){this.b=n,this.a=e}function Zz(n,e){je.call(this,n,e)}function HMn(n,e){this.a=n,this.b=e}function qMn(n,e){this.a=n,this.b=e}function UMn(n,e){this.a=n,this.b=e}function nX(n,e){je.call(this,n,e)}function eX(n,e){je.call(this,n,e)}function GMn(n,e){this.a=n,this.b=e}function ble(n,e){return vm(),e!=n}function a7(n){return oe(n.a),n.b}function nN(n){return yMe(n,n.c),n}function zMn(){return eEn(),new CQn}function XMn(){XM(),this.a=new mV}function VMn(){AS(),this.a=new ni}function WMn(){DD(),this.b=new ni}function JMn(n,e){this.b=n,this.d=e}function QMn(n,e){this.a=n,this.b=e}function YMn(n,e){this.a=n,this.b=e}function ZMn(n,e){this.a=n,this.b=e}function nTn(n,e){this.b=n,this.a=e}function tX(n,e){je.call(this,n,e)}function iX(n,e){je.call(this,n,e)}function gM(n,e){je.call(this,n,e)}function rb(n,e){je.call(this,n,e)}function eN(n,e){je.call(this,n,e)}function pM(n,e){je.call(this,n,e)}function rX(n,e){je.call(this,n,e)}function cX(n,e){je.call(this,n,e)}function d7(n,e){je.call(this,n,e)}function uX(n,e){je.call(this,n,e)}function tN(n,e){je.call(this,n,e)}function mM(n,e){je.call(this,n,e)}function iN(n,e){je.call(this,n,e)}function rN(n,e){je.call(this,n,e)}function cN(n,e){je.call(this,n,e)}function uN(n,e){je.call(this,n,e)}function oX(n,e){je.call(this,n,e)}function oN(n,e){je.call(this,n,e)}function sX(n,e){je.call(this,n,e)}function b7(n,e){je.call(this,n,e)}function sN(n,e){je.call(this,n,e)}function fX(n,e){je.call(this,n,e)}function w7(n,e){je.call(this,n,e)}function hX(n,e){je.call(this,n,e)}function eTn(n,e){this.b=n,this.a=e}function tTn(n,e){this.b=n,this.a=e}function iTn(n,e){this.b=n,this.a=e}function rTn(n,e){this.b=n,this.a=e}function lX(n,e){this.a=n,this.b=e}function cTn(n,e){this.a=n,this.b=e}function uTn(n,e){this.a=n,this.b=e}function V(n,e){this.a=n,this.b=e}function p6(n,e){je.call(this,n,e)}function g7(n,e){je.call(this,n,e)}function wp(n,e){je.call(this,n,e)}function m6(n,e){je.call(this,n,e)}function p7(n,e){je.call(this,n,e)}function fN(n,e){je.call(this,n,e)}function vM(n,e){je.call(this,n,e)}function v6(n,e){je.call(this,n,e)}function hN(n,e){je.call(this,n,e)}function kM(n,e){je.call(this,n,e)}function bg(n,e){je.call(this,n,e)}function m7(n,e){je.call(this,n,e)}function k6(n,e){je.call(this,n,e)}function y6(n,e){je.call(this,n,e)}function v7(n,e){je.call(this,n,e)}function yM(n,e){je.call(this,n,e)}function wg(n,e){je.call(this,n,e)}function lN(n,e){je.call(this,n,e)}function oTn(n,e){je.call(this,n,e)}function jM(n,e){je.call(this,n,e)}function sTn(n,e){this.a=n,this.b=e}function fTn(n,e){this.a=n,this.b=e}function hTn(n,e){this.a=n,this.b=e}function lTn(n,e){this.a=n,this.b=e}function aTn(n,e){this.a=n,this.b=e}function dTn(n,e){this.a=n,this.b=e}function bi(n,e){this.a=n,this.b=e}function bTn(n,e){this.a=n,this.b=e}function wTn(n,e){this.a=n,this.b=e}function gTn(n,e){this.a=n,this.b=e}function pTn(n,e){this.a=n,this.b=e}function mTn(n,e){this.a=n,this.b=e}function vTn(n,e){this.a=n,this.b=e}function kTn(n,e){this.b=n,this.a=e}function yTn(n,e){this.b=n,this.a=e}function jTn(n,e){this.b=n,this.a=e}function ETn(n,e){this.b=n,this.a=e}function MTn(n,e){this.a=n,this.b=e}function TTn(n,e){this.a=n,this.b=e}function EM(n,e){je.call(this,n,e)}function CTn(n,e){this.a=n,this.b=e}function STn(n,e){this.a=n,this.b=e}function gp(n,e){je.call(this,n,e)}function PTn(n,e){this.f=n,this.c=e}function aX(n,e){return Su(n.g,e)}function wle(n,e){return Su(e.b,n)}function ITn(n,e){return wx(n.a,e)}function gle(n,e){return-n.b.af(e)}function ple(n,e){n&&Ve(fE,n,e)}function dX(n,e){n.i=null,kC(n,e)}function mle(n,e,t){kFn(e,oR(n,t))}function vle(n,e,t){kFn(e,oR(n,t))}function kle(n,e){VTe(n.a,u(e,58))}function OTn(n,e){Ume(n.a,u(e,12))}function MM(n,e){this.a=n,this.b=e}function ATn(n,e){this.a=n,this.b=e}function LTn(n,e){this.a=n,this.b=e}function NTn(n,e){this.a=n,this.b=e}function DTn(n,e){this.a=n,this.b=e}function $Tn(n,e){this.d=n,this.b=e}function xTn(n,e){this.e=n,this.a=e}function k7(n,e){this.b=n,this.c=e}function bX(n,e){this.i=n,this.g=e}function wX(n,e){this.d=n,this.e=e}function yle(n,e){c4e(new ne(n),e)}function TM(n){return xk(n.c,n.b)}function Fr(n){return n?n.md():null}function x(n){return n??null}function Si(n){return typeof n===nK}function Dw(n){return typeof n===i3}function $w(n){return typeof n===htn}function cb(n,e){return Ec(n,e)==0}function CM(n,e){return Ec(n,e)>=0}function j6(n,e){return Ec(n,e)!=0}function SM(n,e){return jve(n.Kc(),e)}function H1(n,e){return n.Rd().Xb(e)}function RTn(n){return eo(n),n.d.gc()}function PM(n){return D6(n==null),n}function E6(n,e){return n.a+=""+e,n}function Er(n,e){return n.a+=""+e,n}function M6(n,e){return n.a+=""+e,n}function Lc(n,e){return n.a+=""+e,n}function Be(n,e){return n.a+=""+e,n}function gX(n,e){return n.a+=""+e,n}function jle(n){return""+(Jn(n),n)}function KTn(n){Hu(this),u5(this,n)}function BTn(){cJ(),lW.call(this)}function FTn(n,e){gW.call(this,n,e)}function _Tn(n,e){gW.call(this,n,e)}function IM(n,e){gW.call(this,n,e)}function ir(n,e){xt(n,e,n.c.b,n.c)}function gg(n,e){xt(n,e,n.a,n.a.a)}function pX(n){return Nn(n,0),null}function HTn(){this.b=0,this.a=!1}function qTn(){this.b=0,this.a=!1}function UTn(){this.b=new ap(Qw(12))}function GTn(){GTn=R,kYn=Me(jx())}function zTn(){zTn=R,HZn=Me(iqn())}function XTn(){XTn=R,lre=Me($xn())}function mX(){mX=R,BG(),oun=new de}function ff(n){return n.a=0,n.b=0,n}function VTn(n,e){return n.a=e.g+1,n}function aN(n,e){Fw.call(this,n,e)}function Tn(n,e){Lt.call(this,n,e)}function pg(n,e){bX.call(this,n,e)}function WTn(n,e){M7.call(this,n,e)}function dN(n,e){Qm.call(this,n,e)}function Ge(n,e){tM(),Ve(yA,n,e)}function JTn(n,e){n.q.setTime(id(e))}function Ele(n){y.clearTimeout(n)}function Mle(n){return Pe(n),new T6(n)}function QTn(n,e){return x(n)===x(e)}function YTn(n,e){return n.a.a.a.cc(e)}function bN(n,e){return qo(n.a,0,e)}function vX(n){return S0e(u(n,74))}function pp(n){return wi((Jn(n),n))}function Tle(n){return wi((Jn(n),n))}function ZTn(n){return Yc(n.l,n.m,n.h)}function kX(n,e){return jc(n.a,e.a)}function Cle(n,e){return BIn(n.a,e.a)}function Sle(n,e){return bt(n.a,e.a)}function ih(n,e){return n.indexOf(e)}function Ple(n,e){return n.j[e.p]==2}function ub(n,e){return n==e?0:n?1:-1}function OM(n){return n<10?"0"+n:""+n}function Vr(n){return typeof n===htn}function Ile(n){return n==tw||n==O0}function Ole(n){return n==tw||n==I0}function nCn(n,e){return jc(n.g,e.g)}function yX(n){return qr(n.b.b,n,0)}function eCn(){iT.call(this,0,0,0,0)}function rh(){jG.call(this,new Ql)}function jX(n,e){xm(n,0,n.length,e)}function Ale(n,e){return nn(n.a,e),e}function Lle(n,e){return Rs(),e.a+=n}function Nle(n,e){return Rs(),e.a+=n}function Dle(n,e){return Rs(),e.c+=n}function $le(n,e){return nn(n.c,e),n}function EX(n,e){return To(n.a,e),n}function tCn(n){this.a=zMn(),this.b=n}function iCn(n){this.a=zMn(),this.b=n}function rr(n){this.a=n.a,this.b=n.b}function T6(n){this.a=n,GA.call(this)}function rCn(n){this.a=n,GA.call(this)}function mp(){Ho.call(this,0,0,0,0)}function AM(n){return To(new ii,n)}function cCn(n){return yT(u(n,123))}function fo(n){return n.vh()&&n.wh()}function mg(n){return n!=Qf&&n!=Oa}function hl(n){return n==Kr||n==Xr}function vg(n){return n==us||n==Wf}function uCn(n){return n==I2||n==P2}function xle(n,e){return jc(n.g,e.g)}function oCn(n,e){return new Qm(e,n)}function Rle(n,e){return new Qm(e,n)}function MX(n){return rwe(n.b.Kc(),n.a)}function wN(n,e){c4(n,e),Um(n,n.D)}function gN(n,e,t){aC(n,e),lC(n,t)}function kg(n,e,t){Pb(n,e),Sb(n,t)}function Bo(n,e,t){eu(n,e),tu(n,t)}function y7(n,e,t){Fm(n,e),Hm(n,t)}function j7(n,e,t){_m(n,e),qm(n,t)}function sCn(n,e,t){uV.call(this,n,e,t)}function TX(n){PTn.call(this,n,!0)}function fCn(){cM.call(this,"Tail",3)}function hCn(){cM.call(this,"Head",1)}function q1(n){dh(),mve.call(this,n)}function ob(n){iT.call(this,n,n,n,n)}function pN(n){n.c=F(ki,Rn,1,0,5,1)}function CX(n){return n.b&&xR(n),n.a}function SX(n){return n.b&&xR(n),n.c}function Kle(n,e){Uf||(n.b=e)}function Ble(n,e){return n[n.length]=e}function Fle(n,e){return n[n.length]=e}function _le(n,e){return Yw(e,Pf(n))}function Hle(n,e){return Yw(e,Pf(n))}function qle(n,e){return pC(dD(n.d),e)}function Ule(n,e){return pC(dD(n.g),e)}function Gle(n,e){return pC(dD(n.j),e)}function Di(n,e){Lt.call(this,n.b,e)}function zle(n,e){ve(Pc(n.a),AAn(e))}function Xle(n,e){ve(no(n.a),LAn(e))}function Vle(n,e,t){Bo(t,t.i+n,t.j+e)}function lCn(n,e,t){$t(n.c[e.g],e.g,t)}function Wle(n,e,t){u(n.c,71).Gi(e,t)}function mN(n,e,t){return $t(n,e,t),t}function aCn(n){nu(n.Sf(),new A9n(n))}function yg(n){return n!=null?mt(n):0}function Jle(n){return n==null?0:mt(n)}function C6(n){nt(),Wd.call(this,n)}function dCn(n){this.a=n,_V.call(this,n)}function Cf(){Cf=R,y.Math.log(2)}function Fo(){Fo=R,rl=(gMn(),Toe)}function bCn(){bCn=R,QH=new v5(hU)}function Oe(){Oe=R,new wCn,new Z}function wCn(){new de,new de,new de}function Qle(){throw T(new Fl(QJn))}function Yle(){throw T(new Fl(QJn))}function Zle(){throw T(new Fl(YJn))}function n1e(){throw T(new Fl(YJn))}function vN(n){this.a=n,XE.call(this,n)}function kN(n){this.a=n,XE.call(this,n)}function gCn(n,e){gb(),this.a=n,this.b=e}function e1e(n,e){Pe(e),Sg(n).Jc(new Bu)}function Yt(n,e){QN(n.c,n.c.length,e)}function tc(n){return n.a<n.c.c.length}function PX(n){return n.a<n.c.a.length}function pCn(n,e){return n.a?n.b:e.We()}function jc(n,e){return n<e?-1:n>e?1:0}function IX(n,e){return Ec(n,e)>0?n:e}function Yc(n,e,t){return{l:n,m:e,h:t}}function t1e(n,e){n.a!=null&&OTn(e,n.a)}function i1e(n){Zi(n,null),Oi(n,null)}function r1e(n,e,t){return Ve(n.g,t,e)}function jg(n,e,t){return YY(e,t,n.c)}function c1e(n,e,t){return Ve(n.k,t,e)}function u1e(n,e,t){return GAe(n,e,t),t}function o1e(n,e){return ko(),e.n.b+=n}function mCn(n){YW.call(this),this.b=n}function OX(n){pV.call(this),this.a=n}function vCn(){cM.call(this,"Range",2)}function LM(n){this.b=n,this.a=new Z}function kCn(n){this.b=new Dwn,this.a=n}function yCn(n){n.a=new AA,n.c=new AA}function jCn(n){n.a=new de,n.d=new de}function ECn(n){$D(n,null),xD(n,null)}function MCn(n,e){return XAe(n.a,e,null)}function s1e(n,e){return Ve(n.a,e.a,e)}function Fi(n){return new V(n.a,n.b)}function AX(n){return new V(n.c,n.d)}function f1e(n){return new V(n.c,n.d)}function S6(n,e){return cAe(n.c,n.b,e)}function L(n,e){return n!=null&&Cx(n,e)}function yN(n,e){return Yve(n.Kc(),e)!=-1}function NM(n){return n.Ob()?n.Pb():null}function h1e(n){this.b=(Ln(),new eL(n))}function LX(n){this.a=n,de.call(this)}function TCn(){M7.call(this,null,null)}function CCn(){FM.call(this,null,null)}function SCn(){je.call(this,"INSTANCE",0)}function PCn(){AZ(),this.a=new $5(Pon)}function ICn(n){return ws(n,0,n.length)}function l1e(n,e){return new XCn(n.Kc(),e)}function NX(n,e){return n.a.Bc(e)!=null}function OCn(n,e){me(n),n.Gc(u(e,15))}function a1e(n,e,t){n.c.bd(e,u(t,136))}function d1e(n,e,t){n.c.Ui(e,u(t,136))}function ACn(n,e){n.c&&(nW(e),iAn(e))}function b1e(n,e){n.q.setHours(e),F5(n,e)}function w1e(n,e){hb(e,n.a.a.a,n.a.a.b)}function g1e(n,e,t,i){$t(n.a[e.g],t.g,i)}function jN(n,e,t){return n.a[e.g][t.g]}function p1e(n,e){return n.e[e.c.p][e.p]}function m1e(n,e){return n.c[e.c.p][e.p]}function Sf(n,e){return n.a[e.c.p][e.p]}function v1e(n,e){return n.j[e.p]=OTe(e)}function EN(n,e){return n.a.Bc(e)!=null}function k1e(n,e){return $(B(e.a))<=n}function y1e(n,e){return $(B(e.a))>=n}function j1e(n,e){return RJ(n.f,e.Pg())}function vp(n,e){return n.a*e.a+n.b*e.b}function E1e(n,e){return n.a<PV(e)?-1:1}function M1e(n,e){return RJ(n.b,e.Pg())}function T1e(n,e,t){return t?e!=0:e!=n-1}function LCn(n,e,t){n.a=e^1502,n.b=t^NK}function C1e(n,e,t){return n.a=e,n.b=t,n}function ch(n,e){return n.a*=e,n.b*=e,n}function nn(n,e){return Bn(n.c,e),!0}function P6(n,e,t){return $t(n.g,e,t),t}function ti(n,e,t){R7.call(this,n,e,t)}function DM(n,e,t){ti.call(this,n,e,t)}function DX(n,e,t){JM.call(this,n,e,t)}function NCn(n,e,t){JM.call(this,n,e,t)}function DCn(n,e,t){DX.call(this,n,e,t)}function Cu(n,e,t){ti.call(this,n,e,t)}function $Cn(n,e,t){DM.call(this,n,e,t)}function $X(n,e,t){R7.call(this,n,e,t)}function Eg(n,e,t){R7.call(this,n,e,t)}function xCn(n,e,t){$X.call(this,n,e,t)}function $M(n){n.j=F(kun,J,319,0,0,1)}function Mg(){this.a=F(ki,Rn,1,8,5,1)}function xX(){this.Bb|=256,this.Bb|=512}function ne(n){this.i=n,this.f=this.i.j}function U1(n){this.c=n,this.a=this.c.a}function Tg(n,e){this.a=n,XE.call(this,e)}function RX(n,e){return H5e(n,new R1,e).a}function KX(n){if(!n)throw T(new W9)}function BX(n){if(!n)throw T(new Mu)}function FX(){FX=R,FX(),IQn=new xbn}function RCn(){RCn=R,AL(),nse=new T8n}function dm(){dm=R,Oun=new wL(null)}function S1e(n){G7(n,TWn),SS(n,GLe(n))}function KCn(n){n.a=u(Un(n.b.a,4),129)}function BCn(n){n.a=u(Un(n.b.a,4),129)}function FCn(n){n.b.Qb(),--n.d.f.d,sT(n.d)}function _X(n){this.a=n,_8n.call(this,n.d)}function _Cn(n,e){this.a=n,EL.call(this,e)}function HCn(n,e){this.a=n,EL.call(this,e)}function qCn(n,e){this.a=n,EL.call(this,e)}function HX(n,e){this.a=e,EL.call(this,n)}function UCn(n,e){this.a=e,zD.call(this,n)}function GCn(n,e){this.a=n,zD.call(this,e)}function zCn(n,e){this.a=e,VE.call(this,n)}function XCn(n,e){this.a=e,VE.call(this,n)}function ce(n,e){return Pe(e),new zCn(n,e)}function VCn(n,e){return new v_n(n.a,n.b,e)}function qX(n,e,t){return n.indexOf(e,t)}function xM(n,e){return n.lastIndexOf(e)}function I6(n){return n==null?gu:Jr(n)}function P1e(n){return n==null?null:n.name}function I1e(n){return n.l+n.m*o3+n.h*vd}function O1e(n){return Q9(n.a)?NAn(n):null}function ls(n){U9.call(this,(Jn(n),n))}function mo(n){U9.call(this,(Jn(n),n))}function WCn(n){XA.call(this,u(Pe(n),34))}function JCn(n){XA.call(this,u(Pe(n),34))}function MN(n){jG.call(this,new zJ(n))}function RM(n){J3.call(this,n),this.a=n}function UX(n){W3.call(this,n),this.a=n}function GX(n){im.call(this,n),this.a=n}function QCn(){$M(this),MT(this),this.je()}function YCn(n){this.a=n,ZA.call(this,n)}function ho(n){return oe(n.a!=null),n.a}function ZCn(n,e){return nn(e.a,n.a),n.a}function nSn(n,e){return nn(e.b,n.a),n.a}function sb(n,e){return nn(e.a,n.a),n.a}function E7(n,e,t){return N$(n,e,e,t),n}function KM(n,e){return++n.b,nn(n.a,e)}function zX(n,e){return++n.b,du(n.a,e)}function A1e(n,e){return bt(n.c.d,e.c.d)}function L1e(n,e){return bt(n.c.c,e.c.c)}function N1e(n,e){return bt(n.n.a,e.n.a)}function lu(n,e){return u(ot(n.b,e),15)}function D1e(n,e){return n.n.b=(Jn(e),e)}function $1e(n,e){return n.n.b=(Jn(e),e)}function Su(n,e){return!!e&&n.b[e.g]==e}function O6(n){return tc(n.a)||tc(n.b)}function fb(n){return n.$H||(n.$H=++bDe)}function x1e(n){return n.a!=null?n.a:null}function R1e(n,e){return bt(n.e.b,e.e.b)}function K1e(n,e){return bt(n.e.a,e.e.a)}function B1e(n,e,t){return xLn(n,e,t,n.b)}function XX(n,e,t){return xLn(n,e,t,n.c)}function F1e(n){return Rs(),!!n&&!n.dc()}function eSn(){c6(),this.b=new b7n(this)}function BM(){BM=R,bI=new Lt(gXn,0)}function _n(){_n=R,pa=!1,uv=!0}function zl(n){var e;e=n.a,n.a=n.b,n.b=e}function M7(n,e){f6(),this.a=n,this.b=e}function FM(n,e){Gl(),this.b=n,this.c=e}function TN(n,e){nD(),this.f=e,this.d=n}function VX(n,e){xJ(e,n),this.d=n,this.c=e}function WX(n,e){cZ.call(this,n,e,null)}function tSn(n,e,t,i){pW.call(this,n,e,t,i)}function kp(n){this.d=n,ne.call(this,n)}function yp(n){this.c=n,ne.call(this,n)}function T7(n){this.c=n,kp.call(this,n)}function _1e(n){return new Xw(3,n)}function Lh(n){return Mo(n,m0),new Gc(n)}function iSn(n){return Om(),parseInt(n)||-1}function H1e(n){return KE(),Ee((hAn(),oQn),n)}function bm(n,e,t){return qX(n,wu(e),t)}function CN(n,e){return new tPn(n,n.gc(),e)}function q1e(n,e){return eD(n.c).Md().Xb(e)}function wm(n,e,t){var i;i=n.fd(e),i.Rb(t)}function JX(n,e,t){u(hk(n,e),21).Fc(t)}function U1e(n,e,t){cx(n.a,t),uS(n.a,e)}function C7(n){L(n,158)&&u(n,158).pi()}function rSn(n){HV.call(this,n,null,null)}function SN(n){Ow(),this.b=n,this.a=!0}function cSn(n){JE(),this.b=n,this.a=!0}function gm(n){return oe(n.b!=0),n.a.a.c}function $s(n){return oe(n.b!=0),n.c.b.c}function G1e(n,e){return N$(n,e,e+1,""),n}function kt(n,e){return!!n.q&&Zc(n.q,e)}function uSn(n){return n.b=u(zW(n.a),44)}function z1e(n){return n.f!=null?n.f:""+n.g}function PN(n){return n.f!=null?n.f:""+n.g}function X1e(n,e){return n>0?e/(n*n):e*100}function V1e(n,e){return n>0?e*e/n:e*e*100}function xw(n,e){return u(Df(n.a,e),34)}function W1e(n,e){return oa(),In(n,e.e,e)}function J1e(n,e,t){return ZE(),t.Mg(n,e)}function Q1e(n){return kl(),n.e.a+n.f.a/2}function Y1e(n,e,t){return kl(),t.e.a-n*e}function Z1e(n){return kl(),n.e.b+n.f.b/2}function nae(n,e,t){return kl(),t.e.b-n*e}function oSn(n){n.d=new rSn(n),n.e=new de}function sSn(){this.a=new jb,this.b=new jb}function fSn(n){this.c=n,this.a=1,this.b=1}function hSn(n){YR(),Syn(this),this.Ff(n)}function eae(n,e,t){YT(),n.pf(e)&&t.Cd(n)}function tae(n,e,t){return nn(e,yKn(n,t))}function hb(n,e,t){return n.a+=e,n.b+=t,n}function iae(n,e,t){return n.a*=e,n.b*=t,n}function QX(n,e){return n.a=e.a,n.b=e.b,n}function _M(n){return n.a=-n.a,n.b=-n.b,n}function A6(n,e,t){return n.a-=e,n.b-=t,n}function lSn(n){Mt.call(this),t5(this,n)}function aSn(){je.call(this,"GROW_TREE",0)}function dSn(){je.call(this,"POLYOMINO",0)}function lo(n,e,t){Ou.call(this,n,e,t,2)}function rae(n,e,t){p5(Pc(n.a),e,AAn(t))}function bSn(n,e){f6(),M7.call(this,n,e)}function YX(n,e){Gl(),FM.call(this,n,e)}function wSn(n,e){Gl(),YX.call(this,n,e)}function gSn(n,e){Gl(),FM.call(this,n,e)}function cae(n,e){return n.c.Fc(u(e,136))}function uae(n,e,t){p5(no(n.a),e,LAn(t))}function pSn(n){this.c=n,eu(n,0),tu(n,0)}function IN(n,e){Fo(),uT.call(this,n,e)}function mSn(n,e){Fo(),IN.call(this,n,e)}function ZX(n,e){Fo(),IN.call(this,n,e)}function nV(n,e){Fo(),uT.call(this,n,e)}function vSn(n,e){Fo(),ZX.call(this,n,e)}function kSn(n,e){Fo(),nV.call(this,n,e)}function ySn(n,e){Fo(),uT.call(this,n,e)}function oae(n,e,t){return e.zl(n.e,n.c,t)}function sae(n,e,t){return e.Al(n.e,n.c,t)}function eV(n,e,t){return qS(fk(n,e),t)}function ON(n,e){return ta(n.e,u(e,54))}function fae(n){return n==null?null:DLe(n)}function hae(n){return n==null?null:Sje(n)}function lae(n){return n==null?null:Jr(n)}function aae(n){return n==null?null:Jr(n)}function un(n){return D6(n==null||Dw(n)),n}function B(n){return D6(n==null||$w(n)),n}function Ae(n){return D6(n==null||Si(n)),n}function ll(n){n.o==null&&cTe(n)}function tV(n){if(!n)throw T(new W9)}function dae(n){if(!n)throw T(new uL)}function oe(n){if(!n)throw T(new nc)}function Rw(n){if(!n)throw T(new Mu)}function jSn(n){if(!n)throw T(new Ko)}function pm(){pm=R,lE=new cjn,new ujn}function Cg(){Cg=R,L2=new lt("root")}function iV(){rxn.call(this),this.Bb|=hr}function bae(n,e){this.d=n,r9n(this),this.b=e}function rV(n,e){i$.call(this,n),this.a=e}function cV(n,e){i$.call(this,n),this.a=e}function uV(n,e,t){VT.call(this,n,e,t,null)}function ESn(n,e,t){VT.call(this,n,e,t,null)}function S7(n,e){this.c=n,fm.call(this,n,e)}function L6(n,e){this.a=n,S7.call(this,n,e)}function oV(n){this.q=new y.Date(id(n))}function MSn(n){return n>8?0:n+1}function TSn(n,e){Uf||nn(n.a,e)}function wae(n,e){return c7(),Jm(e.d.i,n)}function gae(n,e){return Hp(),new tUn(e,n)}function pae(n,e,t){return n.Ne(e,t)<=0?t:e}function mae(n,e,t){return n.Ne(e,t)<=0?e:t}function vae(n,e){return u(Df(n.b,e),143)}function kae(n,e){return u(Df(n.c,e),233)}function AN(n){return u(sn(n.a,n.b),293)}function CSn(n){return new V(n.c,n.d+n.a)}function SSn(n){return Jn(n),n?1231:1237}function PSn(n){return ko(),uCn(u(n,203))}function Kw(){Kw=R,ton=yn((go(),Gd))}function yae(n,e){e.a?TMe(n,e):EN(n.a,e.b)}function P7(n,e,t){++n.j,n.tj(),t$(n,e,t)}function ISn(n,e,t){++n.j,n.qj(e,n.Zi(e,t))}function OSn(n,e,t){var i;i=n.fd(e),i.Rb(t)}function sV(n,e,t){return t=Po(n,e,6,t),t}function fV(n,e,t){return t=Po(n,e,3,t),t}function hV(n,e,t){return t=Po(n,e,9,t),t}function uh(n,e){return G7(e,Ntn),n.f=e,n}function lV(n,e){return(e&et)%n.d.length}function ASn(n,e,t){return qen(n.c,n.b,e,t)}function LSn(n,e){this.c=n,Cb.call(this,e)}function NSn(n,e){this.a=n,vyn.call(this,e)}function I7(n,e){this.a=n,vyn.call(this,e)}function Lt(n,e){lt.call(this,n),this.a=e}function aV(n,e){$G.call(this,n),this.a=e}function LN(n,e){$G.call(this,n),this.a=e}function jae(n){zY.call(this,0,0),this.f=n}function DSn(n,e,t){return n.a+=ws(e,0,t),n}function O7(n){return!n.a&&(n.a=new Ebn),n.a}function dV(n,e){var t;return t=n.e,n.e=e,t}function bV(n,e){var t;return t=e,!!n.Fe(t)}function Eae(n,e){return _n(),n==e?0:n?1:-1}function Bw(n,e){n.a.bd(n.b,e),++n.b,n.c=-1}function A7(n){n.b?A7(n.b):n.f.c.zc(n.e,n.d)}function $Sn(n){Hu(n.e),n.d.b=n.d,n.d.a=n.d}function Mae(n,e,t){Va(),e9n(n,e.Ve(n.a,t))}function wV(n,e,t){return Ip(n,u(e,22),t)}function xs(n,e){return HE(new Array(e),n)}function Tae(n){return Se(G1(n,32))^Se(n)}function NN(n){return String.fromCharCode(n)}function Cae(n){return n==null?null:n.message}function Sae(n,e,t){return n.apply(e,t)}function Pae(n,e){var t;t=n[LK],t.call(n,e)}function Iae(n,e){var t;t=n[LK],t.call(n,e)}function Oae(n,e){return c7(),!Jm(e.d.i,n)}function gV(n,e,t,i){iT.call(this,n,e,t,i)}function xSn(){HM.call(this),this.a=new Ni}function pV(){this.n=new Ni,this.o=new Ni}function RSn(){this.b=new Ni,this.c=new Z}function KSn(){this.a=new Z,this.b=new Z}function BSn(){this.a=new BU,this.b=new Ryn}function mV(){this.b=new Ql,this.a=new Ql}function FSn(){this.b=new ni,this.a=new ni}function _Sn(){this.b=new de,this.a=new de}function HSn(){this.b=new bEn,this.a=new _3n}function qSn(){this.a=new Z5n,this.b=new Lpn}function USn(){this.a=new Z,this.d=new Z}function HM(){this.n=new up,this.i=new mp}function GSn(n){this.a=(Mo(n,m0),new Gc(n))}function zSn(n){this.a=(Mo(n,m0),new Gc(n))}function Aae(n){return n<100?null:new K1(n)}function Lae(n,e){return n.n.a=(Jn(e),e+10)}function Nae(n,e){return n.n.a=(Jn(e),e+10)}function Dae(n,e){return e==n||v4(CS(e),n)}function XSn(n,e){return Ve(n.a,e,"")==null}function $ae(n,e){var t;return t=e.qi(n.a),t}function it(n,e){return n.a+=e.a,n.b+=e.b,n}function mi(n,e){return n.a-=e.a,n.b-=e.b,n}function xae(n){return Sw(n.j.c,0),n.a=-1,n}function vV(n,e,t){return t=Po(n,e,11,t),t}function Rae(n,e,t){t!=null&&mC(e,Rx(n,t))}function Kae(n,e,t){t!=null&&vC(e,Rx(n,t))}function jp(n,e,t,i){q.call(this,n,e,t,i)}function kV(n,e,t,i){q.call(this,n,e,t,i)}function VSn(n,e,t,i){kV.call(this,n,e,t,i)}function WSn(n,e,t,i){dT.call(this,n,e,t,i)}function DN(n,e,t,i){dT.call(this,n,e,t,i)}function yV(n,e,t,i){dT.call(this,n,e,t,i)}function JSn(n,e,t,i){DN.call(this,n,e,t,i)}function jV(n,e,t,i){DN.call(this,n,e,t,i)}function Dn(n,e,t,i){yV.call(this,n,e,t,i)}function QSn(n,e,t,i){jV.call(this,n,e,t,i)}function YSn(n,e,t,i){kW.call(this,n,e,t,i)}function Fw(n,e){Or.call(this,w8+n+Cd+e)}function EV(n,e){return n.jk().wi().ri(n,e)}function MV(n,e){return n.jk().wi().ti(n,e)}function ZSn(n,e){return Jn(n),x(n)===x(e)}function Sn(n,e){return Jn(n),x(n)===x(e)}function Bae(n,e){return n.b.Bd(new jMn(n,e))}function Fae(n,e){return n.b.Bd(new EMn(n,e))}function nPn(n,e){return n.b.Bd(new MMn(n,e))}function _ae(n,e){return n.e=u(n.d.Kb(e),159)}function TV(n,e,t){return n.lastIndexOf(e,t)}function Hae(n,e,t){return bt(n[e.a],n[t.a])}function qae(n,e){return U(e,(cn(),Ej),n)}function Uae(n,e){return jc(e.a.d.p,n.a.d.p)}function Gae(n,e){return jc(n.a.d.p,e.a.d.p)}function zae(n,e){return bt(n.c-n.s,e.c-e.s)}function Xae(n,e){return bt(n.b.e.a,e.b.e.a)}function Vae(n,e){return bt(n.c.e.a,e.c.e.a)}function ePn(n){return n.c?qr(n.c.a,n,0):-1}function Ep(n){return n==Ud||n==tl||n==qc}function CV(n,e){this.c=n,oD.call(this,n,e)}function tPn(n,e,t){this.a=n,VX.call(this,e,t)}function iPn(n){this.c=n,IM.call(this,jy,0)}function rPn(n,e,t){this.c=e,this.b=t,this.a=n}function L7(n){vm(),this.d=n,this.a=new Mg}function cPn(n){oh(),this.a=(Ln(),new im(n))}function Wae(n,e){hl(n.f)?QMe(n,e):Pye(n,e)}function uPn(n,e){swe.call(this,n,n.length,e)}function Jae(n,e){Uf||e&&(n.d=e)}function oPn(n,e){return L(e,15)&&xqn(n.c,e)}function Qae(n,e,t){return u(n.c,71).Wk(e,t)}function qM(n,e,t){return u(n.c,71).Xk(e,t)}function Yae(n,e,t){return oae(n,u(e,343),t)}function SV(n,e,t){return sae(n,u(e,343),t)}function Zae(n,e,t){return PFn(n,u(e,343),t)}function sPn(n,e,t){return _ye(n,u(e,343),t)}function N6(n,e){return e==null?null:t0(n.b,e)}function PV(n){return $w(n)?(Jn(n),n):n.ue()}function UM(n){return!isNaN(n)&&!isFinite(n)}function $N(n){yCn(this),vo(this),Ki(this,n)}function _u(n){pN(this),UV(this.c,0,n.Pc())}function _o(n,e,t){this.a=n,this.b=e,this.c=t}function fPn(n,e,t){this.a=n,this.b=e,this.c=t}function hPn(n,e,t){this.d=n,this.b=t,this.a=e}function lPn(n){this.a=n,fl(),vc(Date.now())}function aPn(n){bo(n.a),qJ(n.c,n.b),n.b=null}function xN(){xN=R,Iun=new Dbn,SQn=new $bn}function dPn(){dPn=R,Ooe=F(ki,Rn,1,0,5,1)}function bPn(){bPn=R,Voe=F(ki,Rn,1,0,5,1)}function IV(){IV=R,Woe=F(ki,Rn,1,0,5,1)}function oh(){oh=R,new KG((Ln(),Ln(),sr))}function nde(n){return Rm(),Ee((kDn(),OQn),n)}function ede(n){return Gu(),Ee((hDn(),xQn),n)}function tde(n){return YC(),Ee((WLn(),HQn),n)}function ide(n){return cC(),Ee((JLn(),qQn),n)}function rde(n){return DS(),Ee((Wxn(),UQn),n)}function cde(n){return wf(),Ee((sDn(),XQn),n)}function ude(n){return Uu(),Ee((oDn(),WQn),n)}function ode(n){return bu(),Ee((fDn(),QQn),n)}function sde(n){return VS(),Ee((GTn(),kYn),n)}function fde(n){return Lb(),Ee((jDn(),jYn),n)}function hde(n){return Vp(),Ee((MDn(),MYn),n)}function lde(n){return M5(),Ee((EDn(),SYn),n)}function ade(n){return QE(),Ee((yLn(),PYn),n)}function dde(n){return uC(),Ee((QLn(),GYn),n)}function bde(n){return n5(),Ee((lDn(),pZn),n)}function wde(n){return Vi(),Ee((c$n(),yZn),n)}function gde(n){return Zm(),Ee((CDn(),CZn),n)}function pde(n){return dd(),Ee((TDn(),LZn),n)}function OV(n,e){if(!n)throw T(new Gn(e))}function mm(n){if(!n)throw T(new Ar(ltn))}function RN(n,e){if(n!=e)throw T(new Ko)}function wPn(n,e,t){this.a=n,this.b=e,this.c=t}function AV(n,e,t){this.a=n,this.b=e,this.c=t}function gPn(n,e,t){this.a=n,this.b=e,this.c=t}function GM(n,e,t){this.b=n,this.a=e,this.c=t}function LV(n,e,t){this.b=n,this.c=e,this.a=t}function NV(n,e,t){this.a=n,this.b=e,this.c=t}function zM(n,e,t){this.e=e,this.b=n,this.d=t}function pPn(n,e,t){this.b=n,this.a=e,this.c=t}function mde(n,e,t){return Va(),n.a.Yd(e,t),e}function KN(n){var e;return e=new cwn,e.e=n,e}function DV(n){var e;return e=new Hyn,e.b=n,e}function N7(){N7=R,MI=new ogn,TI=new sgn}function XM(){XM=R,XZn=new $gn,zZn=new xgn}function Rs(){Rs=R,YZn=new U2n,ZZn=new G2n}function vde(n){return Ob(),Ee((qNn(),fne),n)}function kde(n){return tr(),Ee((zTn(),HZn),n)}function yde(n){return AC(),Ee((PDn(),GZn),n)}function jde(n){return xf(),Ee((SDn(),tne),n)}function Ede(n){return o0(),Ee((u$n(),rne),n)}function Mde(n){return LS(),Ee((Dxn(),hne),n)}function Tde(n){return Yp(),Ee((A$n(),lne),n)}function Cde(n){return QT(),Ee((eNn(),ane),n)}function Sde(n){return i5(),Ee((FNn(),dne),n)}function Pde(n){return bC(),Ee((_Nn(),bne),n)}function Ide(n){return o1(),Ee((o$n(),wne),n)}function Ode(n){return bk(),Ee((nNn(),gne),n)}function Ade(n){return y4(),Ee((D$n(),jne),n)}function Lde(n){return pr(),Ee((lRn(),Ene),n)}function Nde(n){return Ym(),Ee((GNn(),Mne),n)}function Dde(n){return vl(),Ee((UNn(),Cne),n)}function $de(n){return FT(),Ee((oNn(),Sne),n)}function xde(n){return Xk(),Ee((N$n(),yne),n)}function Rde(n){return hd(),Ee((HNn(),mne),n)}function Kde(n){return vS(),Ee((L$n(),vne),n)}function Bde(n){return ok(),Ee((ZLn(),kne),n)}function Fde(n){return Yo(),Ee((f$n(),Pne),n)}function _de(n){return a1(),Ee((zxn(),Yte),n)}function Hde(n){return d5(),Ee((zNn(),Zte),n)}function qde(n){return c0(),Ee((IDn(),nie),n)}function Ude(n){return E5(),Ee((s$n(),eie),n)}function Gde(n){return ps(),Ee((aRn(),tie),n)}function zde(n){return lh(),Ee((ODn(),iie),n)}function Xde(n){return ak(),Ee((tNn(),rie),n)}function Vde(n){return gr(),Ee((WNn(),uie),n)}function Wde(n){return PC(),Ee((XNn(),oie),n)}function Jde(n){return h5(),Ee((VNn(),sie),n)}function Qde(n){return u4(),Ee((QNn(),fie),n)}function Yde(n){return dC(),Ee((JNn(),hie),n)}function Zde(n){return LC(),Ee((YNn(),lie),n)}function nbe(n){return Ib(),Ee((uDn(),Sie),n)}function ebe(n){return Q6(),Ee((iNn(),Lie),n)}function tbe(n){return fh(),Ee((rNn(),Bie),n)}function ibe(n){return If(),Ee((cNn(),_ie),n)}function rbe(n){return af(),Ee((uNn(),tre),n)}function cbe(n){return Eb(),Ee((sNn(),fre),n)}function ube(n){return Qp(),Ee((RDn(),hre),n)}function obe(n){return K5(),Ee((XTn(),lre),n)}function sbe(n){return l5(),Ee((ZNn(),are),n)}function fbe(n){return a5(),Ee((xDn(),$re),n)}function hbe(n){return RT(),Ee((hNn(),xre),n)}function lbe(n){return yC(),Ee((lNn(),_re),n)}function abe(n){return wS(),Ee((h$n(),qre),n)}function dbe(n){return Pk(),Ee((nDn(),Gre),n)}function bbe(n){return ZT(),Ee((fNn(),Ure),n)}function wbe(n){return sS(),Ee(($Dn(),lce),n)}function gbe(n){return SC(),Ee((eDn(),ace),n)}function pbe(n){return XC(),Ee((tDn(),dce),n)}function mbe(n){return rS(),Ee((iDn(),wce),n)}function vbe(n){return _C(),Ee((rDn(),mce),n)}function kbe(n){return GT(),Ee((aNn(),Bce),n)}function ybe(n){return Xm(),Ee((YLn(),_Zn),n)}function jbe(n){return Vn(),Ee(($$n(),xZn),n)}function Ebe(n){return nC(),Ee((cDn(),Fce),n)}function Mbe(n){return D$(),Ee((dNn(),_ce),n)}function Tbe(n){return D5(),Ee((l$n(),qce),n)}function Cbe(n){return nM(),Ee((ILn(),Gce),n)}function Sbe(n){return Dk(),Ee((dDn(),Uce),n)}function Pbe(n){return eM(),Ee((OLn(),Xce),n)}function Ibe(n){return tk(),Ee((bNn(),Vce),n)}function Obe(n){return Wk(),Ee((a$n(),Wce),n)}function Abe(n){return u6(),Ee((ALn(),lue),n)}function Lbe(n){return Mk(),Ee((wNn(),aue),n)}function Nbe(n){return pf(),Ee((b$n(),mue),n)}function Dbe(n){return l1(),Ee((Lxn(),kue),n)}function $be(n){return Bh(),Ee((x$n(),yue),n)}function xbe(n){return wd(),Ee((R$n(),Sue),n)}function Rbe(n){return ci(),Ee((d$n(),zue),n)}function Kbe(n){return $f(),Ee((bDn(),Xue),n)}function Bbe(n){return El(),Ee((KDn(),Vue),n)}function Fbe(n){return pS(),Ee((K$n(),Wue),n)}function _be(n){return jl(),Ee((aDn(),Que),n)}function Hbe(n){return Co(),Ee((BDn(),Zue),n)}function qbe(n){return l0(),Ee((Vxn(),noe),n)}function Ube(n){return Kg(),Ee((w$n(),eoe),n)}function Gbe(n){return Ai(),Ee((B$n(),toe),n)}function zbe(n){return zu(),Ee((F$n(),ioe),n)}function Xbe(n){return en(),Ee((g$n(),roe),n)}function Vbe(n){return go(),Ee((FDn(),foe),n)}function Wbe(n){return io(),Ee((Xxn(),hoe),n)}function Jbe(n){return Gp(),Ee((wDn(),loe),n)}function Qbe(n,e){return Jn(n),n+(Jn(e),e)}function Ybe(n){return BN(),Ee((gNn(),aoe),n)}function Zbe(n){return qC(),Ee((_Dn(),doe),n)}function nwe(n){return NC(),Ee((HDn(),goe),n)}function vm(){vm=R,nln=(en(),Wn),OO=Zn}function BN(){BN=R,mdn=new XPn,vdn=new LIn}function ewe(n){return!n.e&&(n.e=new Z),n.e}function FN(n,e){this.c=n,this.a=e,this.b=e-n}function mPn(n,e,t){this.a=n,this.b=e,this.c=t}function _N(n,e,t){this.a=n,this.b=e,this.c=t}function $V(n,e,t){this.a=n,this.b=e,this.c=t}function xV(n,e,t){this.a=n,this.b=e,this.c=t}function vPn(n,e,t){this.a=n,this.b=e,this.c=t}function kPn(n,e,t){this.a=n,this.b=e,this.c=t}function Xl(n,e,t){this.e=n,this.a=e,this.c=t}function yPn(n,e,t){Fo(),nJ.call(this,n,e,t)}function HN(n,e,t){Fo(),RW.call(this,n,e,t)}function RV(n,e,t){Fo(),RW.call(this,n,e,t)}function KV(n,e,t){Fo(),RW.call(this,n,e,t)}function jPn(n,e,t){Fo(),HN.call(this,n,e,t)}function BV(n,e,t){Fo(),HN.call(this,n,e,t)}function EPn(n,e,t){Fo(),BV.call(this,n,e,t)}function MPn(n,e,t){Fo(),RV.call(this,n,e,t)}function TPn(n,e,t){Fo(),KV.call(this,n,e,t)}function qN(n){iT.call(this,n.d,n.c,n.a,n.b)}function FV(n){iT.call(this,n.d,n.c,n.a,n.b)}function _V(n){this.d=n,r9n(this),this.b=n0e(n.d)}function twe(n){return E4(),Ee((Nxn(),Ioe),n)}function D7(n,e){return Pe(n),Pe(e),new NEn(n,e)}function Mp(n,e){return Pe(n),Pe(e),new KPn(n,e)}function iwe(n,e){return Pe(n),Pe(e),new BPn(n,e)}function rwe(n,e){return Pe(n),Pe(e),new HEn(n,e)}function UN(n){return oe(n.b!=0),Xo(n,n.a.a)}function cwe(n){return oe(n.b!=0),Xo(n,n.c.b)}function uwe(n){return!n.c&&(n.c=new V3),n.c}function km(n){var e;return e=new Z,b$(e,n),e}function owe(n){var e;return e=new ni,b$(e,n),e}function CPn(n){var e;return e=new qG,S$(e,n),e}function $7(n){var e;return e=new Mt,S$(e,n),e}function u(n,e){return D6(n==null||Cx(n,e)),n}function swe(n,e,t){TIn.call(this,e,t),this.a=n}function SPn(n,e){this.c=n,this.b=e,this.a=!1}function PPn(){this.a=";,;",this.b="",this.c=""}function IPn(n,e,t){this.b=n,FTn.call(this,e,t)}function HV(n,e,t){this.c=n,uM.call(this,e,t)}function qV(n,e,t){am.call(this,n,e),this.b=t}function UV(n,e,t){$nn(t,0,n,e,t.length,!1)}function Nh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function GV(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function fwe(n,e){e&&(n.b=e,n.a=(V1(e),e.a))}function x7(n,e){if(!n)throw T(new Gn(e))}function Tp(n,e){if(!n)throw T(new Ar(e))}function zV(n,e){if(!n)throw T(new Rjn(e))}function hwe(n,e){return YE(),jc(n.d.p,e.d.p)}function lwe(n,e){return kl(),bt(n.e.b,e.e.b)}function awe(n,e){return kl(),bt(n.e.a,e.e.a)}function dwe(n,e){return jc(UPn(n.d),UPn(e.d))}function VM(n,e){return e&&mT(n,e.d)?e:null}function bwe(n,e){return e==(en(),Wn)?n.c:n.d}function XV(n){return Z1(d0e(Vr(n)?ds(n):n))}function wwe(n){return new V(n.c+n.b,n.d+n.a)}function OPn(n){return n!=null&&!lx(n,A9,L9)}function gwe(n,e){return(sKn(n)<<4|sKn(e))&ui}function APn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function VV(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function WV(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function pwe(n,e){var t;return t=n.c,SQ(n,e),t}function JV(n,e){return e<0?n.g=-1:n.g=e,n}function WM(n,e){return T4e(n),n.a*=e,n.b*=e,n}function LPn(n,e,t){C$n.call(this,e,t),this.d=n}function R7(n,e,t){wX.call(this,n,e),this.c=t}function JM(n,e,t){wX.call(this,n,e),this.c=t}function QV(n){IV(),ME.call(this),this.ci(n)}function NPn(){Dm(),K0e.call(this,(F1(),Is))}function DPn(n){return nt(),new Dh(0,n)}function $Pn(){$Pn=R,TU=(Ln(),new nL(OF))}function QM(){QM=R,new sZ((bL(),HF),(dL(),_F))}function xPn(){xPn=R,wun=F(Gi,J,17,256,0,1)}function RPn(){this.b=$(B(rn((Us(),k_))))}function GN(n){this.b=n,this.a=Ja(this.b.a).Od()}function KPn(n,e){this.b=n,this.a=e,GA.call(this)}function BPn(n,e){this.a=n,this.b=e,GA.call(this)}function FPn(n,e,t){this.a=n,pg.call(this,e,t)}function _Pn(n,e,t){this.a=n,pg.call(this,e,t)}function ym(n,e,t){var i;i=new qw(t),bf(n,e,i)}function YV(n,e,t){var i;return i=n[e],n[e]=t,i}function YM(n){var e;return e=n.slice(),o$(e,n)}function ZM(n){var e;return e=n.n,n.a.b+e.d+e.a}function HPn(n){var e;return e=n.n,n.e.b+e.d+e.a}function ZV(n){var e;return e=n.n,n.e.a+e.b+e.c}function nW(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function Re(n,e){return xt(n,e,n.c.b,n.c),!0}function mwe(n){return n.a?n.a:vD(n)}function vwe(n){return Np(),Fh(n)==St(ca(n))}function kwe(n){return Np(),ca(n)==St(Fh(n))}function lb(n,e){return P5(n,new am(e.a,e.b))}function ywe(n,e){return kT(),Dx(n,e),new hOn(n,e)}function jwe(n,e){return n.c<e.c?-1:n.c==e.c?0:1}function qPn(n){return n.b.c.length-n.e.c.length}function UPn(n){return n.e.c.length-n.g.c.length}function zN(n){return n.e.c.length+n.g.c.length}function K7(n){return n==0||isNaN(n)?n:n<0?-1:1}function Ewe(n){return!fr(n)&&n.c.i.c==n.d.i.c}function Mwe(n){return ko(),(en(),su).Hc(n.j)}function Twe(n,e,t){return kl(),t.e.a+t.f.a+n*e}function Cwe(n,e,t){return kl(),t.e.b+t.f.b+n*e}function Swe(n,e,t){return Ve(n.b,u(t.b,18),e)}function Pwe(n,e,t){return Ve(n.b,u(t.b,18),e)}function Iwe(n,e,t){wLe(n.a,n.b,n.c,u(e,166),t)}function eW(n,e,t,i){eZ.call(this,n,e,t,i,0,0)}function GPn(n){IV(),QV.call(this,n),this.a=-1}function zPn(n,e){TIn.call(this,e,1040),this.a=n}function XPn(){oTn.call(this,"COUNT_CHILDREN",0)}function nT(n,e){k7.call(this,n,e),this.a=this}function Dt(n,e){var t;return t=bD(n,e),t.i=2,t}function eT(n,e){var t;return++n.j,t=n.Cj(e),t}function Fe(n,e,t){return n.a=-1,JX(n,e.g,t),n}function Owe(n,e){return nn(n,new V(e.a,e.b))}function VPn(n){return _p(),F(DO,AP,39,n,0,1)}function WPn(n){return n.e.Rd().gc()*n.c.Rd().gc()}function XN(n,e,t){return new rPn(F0e(n)._e(),t,e)}function Awe(n,e){PQ(n,e==null?null:(Jn(e),e))}function Lwe(n,e){CQ(n,e==null?null:(Jn(e),e))}function Nwe(n,e){CQ(n,e==null?null:(Jn(e),e))}function D6(n){if(!n)throw T(new tm(null))}function tW(n){if(n.c.e!=n.a)throw T(new Ko)}function iW(n){if(n.e.c!=n.b)throw T(new Ko)}function tT(n){for(Pe(n);n.Ob();)n.Pb(),n.Qb()}function VN(n){gb(),this.a=(Ln(),new nL(Pe(n)))}function rW(n){this.c=n,this.b=this.c.d.vc().Kc()}function Dwe(n){n.a.ld(),u(n.a.md(),16).gc(),dz()}function JPn(n,e){return n.a+=ws(e,0,e.length),n}function sn(n,e){return Nn(e,n.c.length),n.c[e]}function QPn(n,e){return Nn(e,n.a.length),n.a[e]}function $we(n,e){return Jn(e),pk(e,(Jn(n),n))}function xwe(n,e){return Jn(n),pk(n,(Jn(e),e))}function Wa(n,e,t,i,r,c){return yFn(n,e,t,i,r,0,c)}function Rwe(n,e){return $t(e,0,cW(e[0],Tl(1)))}function Kwe(n,e){return Tl(nr(Tl(n.a).a,e.a))}function cW(n,e){return Kwe(u(n,168),u(e,168))}function YPn(){YPn=R,gun=F(nw,J,168,256,0,1)}function ZPn(){ZPn=R,vun=F(ew,J,191,256,0,1)}function nIn(){nIn=R,aun=F(p3,J,222,256,0,1)}function eIn(){eIn=R,bun=F(T8,J,180,128,0,1)}function uW(){Nh(this,!1,!1,!1,!1)}function oW(n){jG.call(this,new Ql),Ki(this,n)}function $6(n){this.a=new ap(n.gc()),Ki(this,n)}function tIn(n){this.c=n,this.a=new dp(this.c.a)}function iIn(n){this.a=n,this.c=new de,o6e(this)}function rIn(){this.d=new V(0,0),this.e=new ni}function Cn(n,e){Va(),i$.call(this,n),this.a=e}function iT(n,e,t,i){GV(this,n,e,t,i)}function Bwe(n,e,t){return jc(e.d[n.g],t.d[n.g])}function Fwe(n,e,t){return jc(n.d[e.p],n.d[t.p])}function _we(n,e,t){return jc(n.d[e.p],n.d[t.p])}function Hwe(n,e,t){return jc(n.d[e.p],n.d[t.p])}function qwe(n,e,t){return jc(n.d[e.p],n.d[t.p])}function rT(n,e,t){return y.Math.min(t/n,1/e)}function cIn(n,e){return n?0:y.Math.max(0,e-1)}function WN(n,e){return n==null?e==null:Sn(n,e)}function Uwe(n,e){return n==null?e==null:JC(n,e)}function uIn(n){return n.q?n.q:(Ln(),Ln(),Wh)}function oIn(n){return n.c-u(sn(n.a,n.b),293).b}function ao(n){return n.c?n.c.f:n.e.b}function Pu(n){return n.c?n.c.g:n.e.a}function Gwe(n,e){return n.a==null&&qqn(n),n.a[e]}function sIn(n){var e;return e=EFn(n),e?sIn(e):n}function cT(n,e){return nt(),new CW(n,e)}function Dh(n,e){nt(),Wd.call(this,n),this.a=e}function uT(n,e){Fo(),LE.call(this,e),this.a=n}function x6(n,e,t){this.a=n,ti.call(this,e,t,2)}function fIn(n){this.b=new Mt,this.a=n,this.c=-1}function hIn(n){VX.call(this,0,0),this.a=n,this.b=0}function oT(n){Cb.call(this,n.gc()),Bt(this,n)}function sT(n){n.b?sT(n.b):n.d.dc()&&n.f.c.Bc(n.e)}function sW(n){return Array.isArray(n)&&n.Tm===Q2}function JN(n,e){return L(e,22)&&Su(n,u(e,22))}function lIn(n,e){return L(e,22)&&k4e(n,u(e,22))}function wr(n,e){return RRn(n,e,J3e(n,n.b.Ce(e)))}function zwe(n,e){return n.a.get(e)!==void 0}function fW(n){return to(n,26)*V5+to(n,27)*W5}function aIn(n,e){return B4e(new qbn,new d9n(n),e)}function QN(n,e,t){$Rn(0,e,n.length),xm(n,0,e,t)}function ab(n,e,t){zw(e,n.c.length),l6(n.c,e,t)}function fT(n,e,t){var i;n&&(i=n.i,i.c=e,i.b=t)}function hT(n,e,t){var i;n&&(i=n.i,i.d=e,i.a=t)}function dIn(n,e,t){var i;for(i=0;i<e;++i)n[i]=t}function Xwe(n,e){var t;for(t=0;t<e;++t)n[t]=-1}function yt(n,e){var t;return t=yn(n),ZQ(t,e),t}function Vwe(n,e){return!n&&(n=[]),n[n.length]=e,n}function YN(n,e){it(n.c,e),n.b.c+=e.a,n.b.d+=e.b}function Wwe(n,e){YN(n,mi(new V(e.a,e.b),n.c))}function ZN(n,e){this.b=new Mt,this.a=n,this.c=e}function bIn(){this.b=new e0n,this.c=new VOn(this)}function hW(){this.d=new twn,this.e=new XOn(this)}function lW(){cJ(),this.f=new Mt,this.e=new Mt}function wIn(){ko(),this.k=new de,this.d=new ni}function nD(){nD=R,moe=new Di((He(),oo),0)}function gIn(){gIn=R,cQn=new hIn(F(ki,Rn,1,0,5,1))}function Jwe(n,e,t){return fi(n,new bp(e.a,t.a))}function Qwe(n,e,t){return-jc(n.f[e.p],n.f[t.p])}function Ywe(n,e,t){LHn(t,n,1),nn(e,new AMn(t,n))}function Zwe(n,e,t){S5(t,n,1),nn(e,new DMn(t,n))}function pIn(n,e,t){this.a=n,DM.call(this,e,t,22)}function mIn(n,e,t){this.a=n,DM.call(this,e,t,14)}function vIn(n,e,t,i){Fo(),iLn.call(this,n,e,t,i)}function kIn(n,e,t,i){Fo(),iLn.call(this,n,e,t,i)}function Iu(n,e,t){return n.a=-1,JX(n,e.g+1,t),n}function aW(n,e,t){return t=Po(n,u(e,54),7,t),t}function dW(n,e,t){return t=Po(n,u(e,54),3,t),t}function Se(n){return Vr(n)?n|0:rEn(n)}function yIn(n){return nt(),new OD(10,n,0)}function jIn(n){var e;return e=n.f,e||(n.f=n.Dc())}function Cp(n){var e;return e=n.i,e||(n.i=n.bc())}function lT(n){if(n.e.j!=n.d)throw T(new Ko)}function Ja(n){return n.c?n.c:n.c=n.Sd()}function eD(n){return n.d?n.d:n.d=n.Td()}function R6(n,e){return q8e(fk(n,e))?e.zi():null}function n0e(n){return L(n,15)?u(n,15).ed():n.Kc()}function bW(n){return n.Qc(F(ki,Rn,1,n.gc(),5,1))}function EIn(n){return n!=null&&uD(n)&&n.Tm!==Q2}function wW(n){return!Array.isArray(n)&&n.Tm===Q2}function MIn(n,e){return Pe(e),n.a.Jd(e)&&!n.b.Jd(e)}function e0e(n,e){return Yc(n.l&e.l,n.m&e.m,n.h&e.h)}function t0e(n,e){return Yc(n.l|e.l,n.m|e.m,n.h|e.h)}function i0e(n,e){return Yc(n.l^e.l,n.m^e.m,n.h^e.h)}function Ks(n,e){return Z1(e_n(Vr(n)?ds(n):n,e))}function db(n,e){return Z1(Unn(Vr(n)?ds(n):n,e))}function G1(n,e){return Z1(Kje(Vr(n)?ds(n):n,e))}function r0e(n,e){return Eae((Jn(n),n),(Jn(e),e))}function tD(n,e){return bt((Jn(n),n),(Jn(e),e))}function aT(n){this.b=new Gc(11),this.a=(kb(),n)}function ie(n){this.a=(gIn(),cQn),this.d=u(Pe(n),51)}function TIn(n,e){this.c=0,this.d=n,this.b=e|64|wh}function gW(n,e){this.e=n,this.d=e&64?e|wh:e}function iD(n){this.b=null,this.a=(kb(),n||Sun)}function CIn(n){$M(this),this.g=n,MT(this),this.je()}function Qa(n){_1(),this.a=0,this.b=n-1,this.c=1}function pW(n,e,t,i){this.a=n,VT.call(this,n,e,t,i)}function c0e(n,e,t){n.a.Mb(t)&&(n.b=!0,e.Cd(t))}function mW(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function jm(n,e){if(n<0||n>=e)throw T(new JG)}function _w(n,e){return Lk(n,(Jn(e),new l9n(e)))}function Sp(n,e){return Lk(n,(Jn(e),new a9n(e)))}function SIn(n,e,t){return VNe(n,u(e,12),u(t,12))}function PIn(n){return Au(),u(n,12).g.c.length!=0}function IIn(n){return Au(),u(n,12).e.c.length!=0}function u0e(n,e){return Hp(),bt(e.a.o.a,n.a.o.a)}function o0e(n,e){e.Bb&kc&&!n.a.o&&(n.a.o=e)}function s0e(n,e){e.Ug("General 'Rotator",1),jLe(n)}function f0e(n,e,t){e.qf(t,$(B(ee(n.b,t)))*n.a)}function OIn(n,e,t){return Vg(),Vm(n,e)&&Vm(n,t)}function K6(n){return zu(),!n.Hc(Rl)&&!n.Hc(Aa)}function h0e(n){return n.e?_J(n.e):null}function B6(n){return Vr(n)?""+n:$qn(n)}function vW(n){var e;for(e=n;e.f;)e=e.f;return e}function l0e(n,e,t){return $t(e,0,cW(e[0],t[0])),e}function Vl(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function q(n,e,t,i){ti.call(this,n,e,t),this.b=i}function Mi(n,e,t,i,r){c$.call(this,n,e,t,i,r,-1)}function F6(n,e,t,i,r){rk.call(this,n,e,t,i,r,-1)}function dT(n,e,t,i){R7.call(this,n,e,t),this.b=i}function AIn(n){PTn.call(this,n,!1),this.a=!1}function LIn(){oTn.call(this,"LOOKAHEAD_LAYOUT",1)}function NIn(n){this.b=n,kp.call(this,n),KCn(this)}function DIn(n){this.b=n,T7.call(this,n),BCn(this)}function Hw(n,e,t){this.a=n,jp.call(this,e,t,5,6)}function kW(n,e,t,i){this.b=n,ti.call(this,e,t,i)}function $In(n,e){this.b=n,_8n.call(this,n.b),this.a=e}function xIn(n){this.a=vBn(n.a),this.b=new _u(n.b)}function yW(n,e){gb(),Hhe.call(this,n,RC(new Fu(e)))}function bT(n,e){return nt(),new xW(n,e,0)}function rD(n,e){return nt(),new xW(6,n,e)}function _i(n,e){for(Jn(e);n.Ob();)e.Cd(n.Pb())}function Zc(n,e){return Si(e)?SD(n,e):!!wr(n.f,e)}function cD(n,e){return e.Vh()?ta(n.b,u(e,54)):e}function a0e(n,e){return Sn(n.substr(0,e.length),e)}function $h(n){return new ie(new HX(n.a.length,n.a))}function wT(n){return new V(n.c+n.b/2,n.d+n.a/2)}function d0e(n){return Yc(~n.l&ro,~n.m&ro,~n.h&Ol)}function uD(n){return typeof n===my||typeof n===eK}function Hu(n){n.f=new tCn(n),n.i=new iCn(n),++n.g}function RIn(n){if(!n)throw T(new nc);return n.d}function Pp(n){var e;return e=f5(n),oe(e!=null),e}function b0e(n){var e;return e=O5e(n),oe(e!=null),e}function Em(n,e){var t;return t=n.a.gc(),xJ(e,t),t-e}function fi(n,e){var t;return t=n.a.zc(e,n),t==null}function B7(n,e){return n.a.zc(e,(_n(),pa))==null}function jW(n){return new Cn(null,v0e(n,n.length))}function EW(n,e,t){return cGn(n,u(e,42),u(t,176))}function Ip(n,e,t){return _s(n.a,e),YV(n.b,e.g,t)}function w0e(n,e,t){jm(t,n.a.c.length),Go(n.a,t,e)}function K(n,e,t,i){$Rn(e,t,n.length),g0e(n,e,t,i)}function g0e(n,e,t,i){var r;for(r=e;r<t;++r)n[r]=i}function MW(n,e){var t;for(t=0;t<e;++t)n[t]=!1}function Ya(n,e,t){dh(),this.e=n,this.d=e,this.a=t}function TW(n,e,t){this.c=n,this.a=e,Ln(),this.b=t}function oD(n,e){this.d=n,ne.call(this,n),this.e=e}function hf(n,e,t){return $6e(n,e.g,t),_s(n.c,e),n}function p0e(n){return Yg(n,(ci(),Kr)),n.d=!0,n}function sD(n){return!n.j&&Tfe(n,yPe(n.g,n.b)),n.j}function KIn(n){n.a=null,n.e=null,Hu(n.b),n.d=0,++n.c}function _6(n){Rw(n.b!=-1),Yl(n.c,n.a=n.b),n.b=-1}function CW(n,e){Wd.call(this,1),this.a=n,this.b=e}function m0e(n,e){return n>0?y.Math.log(n/e):-100}function BIn(n,e){return Ec(n,e)<0?-1:Ec(n,e)>0?1:0}function F7(n,e){OCn(n,L(e,160)?e:u(e,2036).Rl())}function SW(n,e){if(n==null)throw T(new fp(e))}function v0e(n,e){return y4e(e,n.length),new zPn(n,e)}function PW(n,e){return e?Ki(n,e):!1}function k0e(){return KE(),S(C(uQn,1),G,549,0,[GF])}function H6(n){return n.e==0?n:new Ya(-n.e,n.d,n.a)}function y0e(n,e){return bt(n.c.c+n.c.b,e.c.c+e.c.b)}function _7(n,e){xt(n.d,e,n.b.b,n.b),++n.a,n.c=null}function FIn(n,e){return n.c?FIn(n.c,e):nn(n.b,e),n}function j0e(n,e,t){var i;return i=Jw(n,e),qD(n,e,t),i}function _In(n,e,t){var i;for(i=0;i<e;++i)$t(n,i,t)}function HIn(n,e,t,i,r){for(;e<t;)i[r++]=Xi(n,e++)}function Mm(n,e,t,i,r){Qx(n,u(ot(e.k,t),15),t,i,r)}function bb(n,e){Ut(_r(n.Oc(),new hpn),new E7n(e))}function E0e(n,e){return bt(n.e.a+n.f.a,e.e.a+e.f.a)}function M0e(n,e){return bt(n.e.b+n.f.b,e.e.b+e.f.b)}function fD(n){return y.Math.abs(n.d.e-n.e.e)-n.a}function T0e(n){return n==Pt?Zy:n==li?"-INF":""+n}function C0e(n){return n==Pt?Zy:n==li?"-INF":""+n}function S0e(n){return Np(),St(Fh(n))==St(ca(n))}function P0e(n,e,t){return u(n.c.hd(e,u(t,136)),44)}function I0e(n,e){Op(n,new qw(e.f!=null?e.f:""+e.g))}function O0e(n,e){Op(n,new qw(e.f!=null?e.f:""+e.g))}function Bt(n,e){return n.Si()&&(e=wAn(n,e)),n.Fi(e)}function hD(n,e){return e=n.Yk(null,e),RFn(n,null,e)}function A0e(n,e){++n.j,Jx(n,n.i,e),nMe(n,u(e,343))}function IW(n){n?QZ(n,(fl(),pQn)):$ge((fl(),n))}function wb(n){this.d=(Jn(n),n),this.a=0,this.c=jy}function lD(n,e){this.d=j5e(n),this.c=e,this.a=.5*e}function qIn(n){YW.call(this),this.a=n,nn(n.a,this)}function UIn(){Ql.call(this),this.a=!0,this.b=!0}function GIn(){GIn=R,lQn=new lG(!1),aQn=new lG(!0)}function q6(n){var e;return e=n.g,e||(n.g=new oG(n))}function gT(n){var e;return e=n.k,e||(n.k=new sG(n))}function OW(n){var e;return e=n.k,e||(n.k=new sG(n))}function L0e(n){var e;return e=n.i,e||(n.i=new $8n(n))}function zIn(n){var e;return e=n.f,e||(n.f=new _X(n))}function aD(n){var e;return e=n.j,e||(n.j=new V8n(n))}function dD(n){var e;return e=n.d,e||(n.d=new VA(n))}function XIn(n,e,t){return nt(),new HAn(n,e,t)}function VIn(n,e){return Y7(e,n.c.b.c.gc()),new LEn(n,e)}function AW(n,e){var t;return t=n.a.gc(),Y7(e,t),t-1-e}function w(n,e,t){var i;return i=bD(n,e),U$n(t,i),i}function bD(n,e){var t;return t=new JQ,t.j=n,t.d=e,t}function Pe(n){if(n==null)throw T(new rp);return n}function qw(n){if(n==null)throw T(new rp);this.a=n}function WIn(n){BG(),this.b=new Z,this.a=n,MAe(this,n)}function LW(n){this.b=n,this.a=u(as(this.b.a.e),227)}function gb(){gb=R,oh(),qF=new ID((Ln(),Ln(),sr))}function wD(){wD=R,oh(),iun=new xz((Ln(),Ln(),hI))}function z1(){z1=R,Hn=ZEe(),An(),tg&&nke()}function pT(n){n.s=NaN,n.c=NaN,kHn(n,n.e),kHn(n,n.j)}function se(n){return(n.i==null&&bh(n),n.i).length}function JIn(n,e){return u(Ja(n.a).Md().Xb(e),44).ld()}function ee(n,e){return Si(e)?Dc(n,e):Fr(wr(n.f,e))}function N0e(n,e){return Np(),n==Fh(e)?ca(e):Fh(e)}function D0e(n,e,t,i){return t==0||(t-i)/t<n.e||e>=n.g}function $t(n,e,t){return dae(t==null||sIe(n,t)),n[e]=t}function NW(n,e){return zn(e,n.length+1),n.substr(e)}function gD(n,e){for(Jn(e);n.c<n.d;)n.Se(e,n.c++)}function DW(n){this.d=n,this.c=n.a.d.a,this.b=n.a.e.g}function QIn(n){this.c=n,this.a=new Mt,this.b=new Mt}function Nc(n){this.c=new Ni,this.a=new Z,this.b=n}function YIn(n){this.b=new Z,this.a=new Z,this.c=n}function $0e(n,e,t){u(e.b,68),nu(e.a,new $V(n,t,e))}function x0e(n,e){return Hp(),u(Mr(n,e.d),15).Fc(e)}function Op(n,e){var t;t=n.a.length,Jw(n,t),qD(n,t,e)}function ZIn(n,e){var t;t=console[n],t.call(console,e)}function nOn(n,e){var t;++n.j,t=n.Ej(),n.rj(n.Zi(t,e))}function pD(n,e,t){var i;return i=C$(n,e,t),men(n,i)}function pb(n){return!n.d&&(n.d=new ti(jr,n,1)),n.d}function R0e(n){return!n.a&&(n.a=new ti(La,n,4)),n.a}function Tm(n,e){return n.a+=String.fromCharCode(e),n}function X1(n,e){return n.a+=String.fromCharCode(e),n}function $W(n,e,t){this.a=n,$G.call(this,e),this.b=t}function eOn(n,e,t){this.a=n,pJ.call(this,8,e,null,t)}function xW(n,e,t){Wd.call(this,n),this.a=e,this.b=t}function RW(n,e,t){LE.call(this,e),this.a=n,this.b=t}function tOn(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function K0e(n){this.a=(Jn(Ke),Ke),this.b=n,new nz}function iOn(n){UW(n.a),n.b=F(ki,Rn,1,n.b.length,5,1)}function bo(n){Rw(n.c!=-1),n.d.gd(n.c),n.b=n.c,n.c=-1}function U6(n){return y.Math.sqrt(n.a*n.a+n.b*n.b)}function mT(n,e){return qx(n.c,n.f,e,n.b,n.a,n.e,n.d)}function mb(n,e){return jm(e,n.a.c.length),sn(n.a,e)}function sh(n,e){return x(n)===x(e)||n!=null&&ct(n,e)}function rOn(n){return L(n,102)&&(u(n,19).Bb&kc)!=0}function cOn(n){return as(n),L(n,483)?u(n,483):Jr(n)}function uOn(n){return n?n.dc():!n.Kc().Ob()}function B0e(n){return rg?SD(rg,n):!1}function F0e(n){return 0>=n?new Oz:G4e(n-1)}function Hi(n){return!n.a&&n.c?n.c.b:n.a}function KW(n){return L(n,616)?n:new uAn(n)}function V1(n){n.c?V1(n.c):(ia(n),n.d=!0)}function G6(n){n.c?n.c.$e():(n.d=!0,fCe(n))}function oOn(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function sOn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function _0e(n,e){var t;t=n.Ih(e),t>=0?n.ki(t):Cnn(n,e)}function fOn(n,e){n.c<0||n.b.b<n.c?ir(n.b,e):n.a.tf(e)}function H0e(n,e){ve((!n.a&&(n.a=new I7(n,n)),n.a),e)}function q0e(n,e){YN(u(e.b,68),n),nu(e.a,new PG(n))}function U0e(n,e){return jc(e.j.c.length,n.j.c.length)}function G0e(n,e,t){return qp(),t.Lg(n,u(e.ld(),149))}function as(n){if(n==null)throw T(new rp);return n}function Jn(n){if(n==null)throw T(new rp);return n}function z0e(n){if(n.p!=4)throw T(new Mu);return n.e}function X0e(n){if(n.p!=3)throw T(new Mu);return n.e}function V0e(n){if(n.p!=3)throw T(new Mu);return n.j}function W0e(n){if(n.p!=4)throw T(new Mu);return n.j}function J0e(n){if(n.p!=6)throw T(new Mu);return n.f}function Q0e(n){if(n.p!=6)throw T(new Mu);return n.k}function BW(n){return!n.b&&(n.b=new NE(new aL)),n.b}function vb(n){return n.c==-2&&gfe(n,Uye(n.g,n.b)),n.c}function Cm(n,e){var t;return t=bD("",n),t.n=e,t.i=1,t}function vT(n,e,t,i){tb.call(this,n,t),this.a=e,this.f=i}function FW(n,e,t,i){tb.call(this,n,e),this.d=t,this.a=i}function hOn(n,e){h1e.call(this,z4e(Pe(n),Pe(e))),this.a=e}function ii(){mjn.call(this),Sw(this.j.c,0),this.a=-1}function lOn(){rnn.call(this,ks,(um(),qdn)),vOe(this)}function aOn(){rnn.call(this,Pd,(iEn(),ise)),hAe(this)}function dOn(){je.call(this,"DELAUNAY_TRIANGULATION",0)}function Y0e(n){return String.fromCharCode.apply(null,n)}function Ve(n,e,t){return Si(e)?Lr(n,e,t):Vc(n.f,e,t)}function _W(n){return Ln(),n?n.Oe():(kb(),kb(),Pun)}function Z0e(n){return Mo(n,cK),oC(nr(nr(5,n),n/10|0))}function bOn(n,e){return QM(),new sZ(new JCn(n),new WCn(e))}function kT(){kT=R,rQn=new fz(S(C(Id,1),WS,44,0,[]))}function wOn(n){return!n.d&&(n.d=new J3(n.c.Cc())),n.d}function Sm(n){return!n.a&&(n.a=new Hjn(n.c.vc())),n.a}function gOn(n){return!n.b&&(n.b=new im(n.c.ec())),n.b}function xh(n,e){for(;e-- >0;)n=n<<1|(n<0?1:0);return n}function pOn(n,e){var t;return t=new Nc(n),Bn(e.c,t),t}function mOn(n,e){n.u.Hc((zu(),Rl))&&zEe(n,e),hme(n,e)}function mc(n,e){return x(n)===x(e)||n!=null&&ct(n,e)}function Mr(n,e){return JN(n.a,e)?n.b[u(e,22).g]:null}function nge(){return QE(),S(C(con,1),G,488,0,[d_])}function ege(){return nM(),S(C(D1n,1),G,489,0,[xq])}function tge(){return eM(),S(C(zce,1),G,558,0,[Rq])}function ige(){return u6(),S(C(ean,1),G,539,0,[_j])}function yT(n){return!n.n&&(n.n=new q(Sr,n,1,7)),n.n}function mD(n){return!n.c&&(n.c=new q(Qu,n,9,9)),n.c}function HW(n){return!n.c&&(n.c=new Dn(he,n,5,8)),n.c}function rge(n){return!n.b&&(n.b=new Dn(he,n,4,7)),n.b}function H7(n){return n.j.c.length=0,UW(n.c),xae(n.a),n}function Pm(n){return n.e==iv&&jfe(n,Y8e(n.g,n.b)),n.e}function q7(n){return n.f==iv&&Mfe(n,q7e(n.g,n.b)),n.f}function We(n,e,t,i){return _xn(n,e,t,!1),KC(n,i),n}function vOn(n,e){this.b=n,oD.call(this,n,e),KCn(this)}function kOn(n,e){this.b=n,CV.call(this,n,e),BCn(this)}function z6(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function qW(n,e){this.b=n,this.c=e,this.a=new dp(this.b)}function Xi(n,e){return zn(e,n.length),n.charCodeAt(e)}function cge(n,e){OY(n,$(yl(e,"x")),$(yl(e,"y")))}function uge(n,e){OY(n,$(yl(e,"x")),$(yl(e,"y")))}function ut(n,e){return ia(n),new Cn(n,new nQ(e,n.a))}function _r(n,e){return ia(n),new Cn(n,new BJ(e,n.a))}function Uw(n,e){return ia(n),new rV(n,new INn(e,n.a))}function jT(n,e){return ia(n),new cV(n,new ONn(e,n.a))}function oge(n,e){return new UOn(u(Pe(n),50),u(Pe(e),50))}function sge(n,e){return bt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function yOn(n,e,t){t.a?tu(n,e.b-n.f/2):eu(n,e.a-n.g/2)}function fge(n,e){return bt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function hge(n,e){return Nz(),bt((Jn(n),n),(Jn(e),e))}function lge(n){return n!=null&&t7(jA,n.toLowerCase())}function UW(n){var e;for(e=n.Kc();e.Ob();)e.Pb(),e.Qb()}function Sg(n){var e;return e=n.b,!e&&(n.b=e=new N8n(n)),e}function vD(n){var e;return e=W4e(n),e||null}function jOn(n,e){var t,i;return t=n/e,i=wi(t),t>i&&++i,i}function age(n,e,t){var i;i=u(n.d.Kb(t),159),i&&i.Nb(e)}function dge(n,e,t){wOe(n.a,t),zve(t),xMe(n.b,t),xOe(e,t)}function ET(n,e,t,i){this.a=n,this.c=e,this.b=t,this.d=i}function GW(n,e,t,i){this.c=n,this.b=e,this.a=t,this.d=i}function EOn(n,e,t,i){this.c=n,this.b=e,this.d=t,this.a=i}function Ho(n,e,t,i){this.c=n,this.d=e,this.b=t,this.a=i}function MOn(n,e,t,i){this.a=n,this.d=e,this.c=t,this.b=i}function kD(n,e,t,i){this.a=n,this.e=e,this.d=t,this.c=i}function TOn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function yD(n,e,t){this.a=ptn,this.d=n,this.b=e,this.c=t}function Ap(n,e,t,i){je.call(this,n,e),this.a=t,this.b=i}function COn(n,e){this.d=(Jn(n),n),this.a=16449,this.c=e}function SOn(n){this.a=new Z,this.e=F(ye,J,53,n,0,2)}function bge(n){n.Ug("No crossing minimization",1),n.Vg()}function POn(){ec.call(this,"There is no more element.")}function IOn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function OOn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function Za(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function AOn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function LOn(n,e,t,i){Fo(),ANn.call(this,e,t,i),this.a=n}function NOn(n,e,t,i){Fo(),ANn.call(this,e,t,i),this.a=n}function jD(n,e,t){var i,r;return i=itn(n),r=e.ti(t,i),r}function al(n){var e,t;return t=(e=new Jd,e),Bm(t,n),t}function ED(n){var e,t;return t=(e=new Jd,e),onn(t,n),t}function wge(n,e){var t;return t=ee(n.f,e),FQ(e,t),null}function DOn(n){return!n.b&&(n.b=new q(Vt,n,12,3)),n.b}function $On(n){return D6(n==null||uD(n)&&n.Tm!==Q2),n}function MT(n){return n.n&&(n.e!==Rzn&&n.je(),n.j=null),n}function Im(n){if(eo(n.d),n.d.d!=n.c)throw T(new Ko)}function zW(n){return oe(n.b<n.d.gc()),n.d.Xb(n.c=n.b++)}function vo(n){n.a.a=n.c,n.c.b=n.a,n.a.b=n.c.a=null,n.b=0}function MD(n){this.f=n,this.c=this.f.e,n.f>0&&dFn(this)}function xOn(n,e){this.a=n,bae.call(this,n,u(n.d,15).fd(e))}function gge(n,e){return bt(Pu(n)*ao(n),Pu(e)*ao(e))}function pge(n,e){return bt(Pu(n)*ao(n),Pu(e)*ao(e))}function mge(n){return Bb(n)&&on(un(z(n,(cn(),Dd))))}function vge(n,e){return In(n,u(v(e,(cn(),Ev)),17),e)}function kge(n,e){return u(v(n,(W(),C3)),15).Fc(e),e}function XW(n,e){return n.b=e.b,n.c=e.c,n.d=e.d,n.a=e.a,n}function ROn(n,e,t,i){this.b=n,this.c=i,IM.call(this,e,t)}function yge(n,e,t){n.i=0,n.e=0,e!=t&&kRn(n,e,t)}function jge(n,e,t){n.i=0,n.e=0,e!=t&&yRn(n,e,t)}function Ege(n,e,t){return c6(),J5e(u(ee(n.e,e),529),t)}function Lp(n){var e;return e=n.f,e||(n.f=new fm(n,n.c))}function KOn(n,e){return Rg(n.j,e.s,e.c)+Rg(e.e,n.s,n.c)}function BOn(n,e){n.e&&!n.e.a&&(Cyn(n.e,e),BOn(n.e,e))}function FOn(n,e){n.d&&!n.d.a&&(Cyn(n.d,e),FOn(n.d,e))}function Mge(n,e){return-bt(Pu(n)*ao(n),Pu(e)*ao(e))}function Tge(n){return u(n.ld(),149).Pg()+":"+Jr(n.md())}function _On(){tR(this,new cG),this.wb=(z1(),Hn),um()}function HOn(n){this.b=new Z,hi(this.b,this.b),this.a=n}function VW(n,e){new Mt,this.a=new Tu,this.b=n,this.c=e}function kb(){kb=R,Sun=new $U,YF=new $U,Pun=new Abn}function Ln(){Ln=R,sr=new Cbn,Wh=new Pbn,hI=new Ibn}function WW(){WW=R,BQn=new Zbn,_Qn=new hW,FQn=new nwn}function Np(){Np=R,mI=new Z,p_=new de,g_=new Z}function TT(n,e){if(n==null)throw T(new fp(e));return n}function CT(n){return!n.a&&(n.a=new q(Ye,n,10,11)),n.a}function ft(n){return!n.q&&(n.q=new q(Ps,n,11,10)),n.q}function H(n){return!n.s&&(n.s=new q(ku,n,21,17)),n.s}function Cge(n){return Pe(n),IBn(new ie(ce(n.a.Kc(),new En)))}function Sge(n,e){return wo(n),wo(e),xjn(u(n,22),u(e,22))}function nd(n,e,t){var i,r;i=PV(t),r=new CE(i),bf(n,e,r)}function TD(n,e,t,i,r,c){rk.call(this,n,e,t,i,r,c?-2:-1)}function qOn(n,e,t,i){wX.call(this,e,t),this.b=n,this.a=i}function UOn(n,e){Vfe.call(this,new iD(n)),this.a=n,this.b=e}function JW(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function Pge(n){Rs();var e;e=u(n.g,10),e.n.a=n.d.c+e.d.b}function Om(){Om=R;var n,e;e=!$8e(),n=new X3,XF=e?new og:n}function CD(n){return Ln(),L(n,59)?new jL(n):new RM(n)}function ST(n){return L(n,16)?new $6(u(n,16)):owe(n.Kc())}function Ige(n){return new _Cn(n,n.e.Rd().gc()*n.c.Rd().gc())}function Oge(n){return new HCn(n,n.e.Rd().gc()*n.c.Rd().gc())}function QW(n){return n&&n.hashCode?n.hashCode():fb(n)}function SD(n,e){return e==null?!!wr(n.f,null):zwe(n.i,e)}function Age(n,e){var t;return t=NX(n.a,e),t&&(e.d=null),t}function GOn(n,e,t){return n.f?n.f.ef(e,t):!1}function U7(n,e,t,i){$t(n.c[e.g],t.g,i),$t(n.c[t.g],e.g,i)}function PD(n,e,t,i){$t(n.c[e.g],e.g,t),$t(n.b[e.g],e.g,i)}function Lge(n,e,t){return $(B(t.a))<=n&&$(B(t.b))>=e}function zOn(n,e){this.g=n,this.d=S(C(Qh,1),b1,10,0,[e])}function XOn(n){this.c=n,this.b=new Ul(u(Pe(new ewn),50))}function VOn(n){this.c=n,this.b=new Ul(u(Pe(new n0n),50))}function WOn(n){this.b=n,this.a=new Ul(u(Pe(new Nwn),50))}function JOn(){this.b=new ni,this.d=new Mt,this.e=new QG}function YW(){this.c=new Ni,this.d=new Ni,this.e=new Ni}function yb(){this.a=new Tu,this.b=(Mo(3,m0),new Gc(3))}function Wl(n,e){this.e=n,this.a=ki,this.b=Qqn(e),this.c=e}function PT(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function QOn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function YOn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function W1(n,e,t,i,r,c,s){return new GD(n.e,e,t,i,r,c,s)}function Nge(n,e,t){return t>=0&&Sn(n.substr(t,e.length),e)}function ZOn(n,e){return L(e,149)&&Sn(n.b,u(e,149).Pg())}function Dge(n,e){return n.a?e.Gh().Kc():u(e.Gh(),71).Ii()}function nAn(n,e){var t;return t=n.b.Qc(e),VLn(t,n.b.gc()),t}function G7(n,e){if(n==null)throw T(new fp(e));return n}function Hr(n){return n.u||(Zu(n),n.u=new NSn(n,n)),n.u}function ID(n){this.a=(Ln(),L(n,59)?new jL(n):new RM(n))}function au(n){var e;return e=u(Un(n,16),29),e||n.ii()}function IT(n,e){var t;return t=Xa(n.Rm),e==null?t:t+": "+e}function qo(n,e,t){return Ri(e,t,n.length),n.substr(e,t-e)}function eAn(n,e){HM.call(this),fQ(this),this.a=n,this.c=e}function $ge(n){n&&IT(n,n.ie())}function xge(n){_E(),y.setTimeout(function(){throw n},0)}function Rge(){return YC(),S(C(xun,1),G,436,0,[u_,$un])}function Kge(){return cC(),S(C(Kun,1),G,435,0,[Run,o_])}function Bge(){return uC(),S(C(aon,1),G,432,0,[m_,vI])}function Fge(){return Xm(),S(C(FZn,1),G,517,0,[aj,L_])}function _ge(){return ok(),S(C(xsn,1),G,487,0,[$sn,QI])}function Hge(){return bk(),S(C(Nsn,1),G,428,0,[WI,Lsn])}function qge(){return QT(),S(C(Tsn,1),G,431,0,[Msn,X_])}function Uge(){return ak(),S(C(_hn,1),G,430,0,[qH,UH])}function Gge(){return Q6(),S(C(Aie,1),G,531,0,[Z8,Y8])}function zge(){return fh(),S(C(Kie,1),G,523,0,[gw,y1])}function Xge(){return If(),S(C(Fie,1),G,522,0,[Bd,Xf])}function Vge(){return af(),S(C(ere,1),G,528,0,[z0,Ma])}function Wge(){return FT(),S(C(Wsn,1),G,429,0,[sH,Vsn])}function Jge(){return GT(),S(C(S1n,1),G,490,0,[Nq,C1n])}function Qge(){return D$(),S(C(N1n,1),G,491,0,[A1n,L1n])}function Yge(){return RT(),S(C(xln,1),G,433,0,[aq,$ln])}function Zge(){return ZT(),S(C(Bln,1),G,434,0,[Kln,mq])}function n2e(){return Eb(),S(C(sre,1),G,464,0,[Ta,O2])}function e2e(){return yC(),S(C(Rln,1),G,500,0,[BO,N2])}function t2e(){return tk(),S(C($1n,1),G,438,0,[Kq,JO])}function i2e(){return Mk(),S(C(ian,1),G,437,0,[YO,tan])}function r2e(){return BN(),S(C(dA,1),G,347,0,[mdn,vdn])}function OT(n,e,t,i){return t>=0?n.Uh(e,t,i):n.Ch(null,t,i)}function z7(n){return n.b.b==0?n.a.sf():UN(n.b)}function c2e(n){if(n.p!=5)throw T(new Mu);return Se(n.f)}function u2e(n){if(n.p!=5)throw T(new Mu);return Se(n.k)}function ZW(n){return x(n.a)===x((L$(),jU))&&rAe(n),n.a}function o2e(n,e){n.b=e,n.c>0&&n.b>0&&(n.g=rT(n.c,n.b,n.a))}function s2e(n,e){n.c=e,n.c>0&&n.b>0&&(n.g=rT(n.c,n.b,n.a))}function tAn(n,e){ufe(this,new V(n.a,n.b)),ofe(this,$7(e))}function jb(){Wfe.call(this,new ap(Qw(12))),KX(!0),this.a=2}function OD(n,e,t){nt(),Wd.call(this,n),this.b=e,this.a=t}function nJ(n,e,t){Fo(),LE.call(this,e),this.a=n,this.b=t}function iAn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function f2e(n){return n.b==0?null:(oe(n.b!=0),Xo(n,n.a.a))}function Dc(n,e){return e==null?Fr(wr(n.f,null)):h6(n.i,e)}function rAn(n,e,t,i,r){return new rR(n,(Rm(),t_),e,t,i,r)}function AT(n,e){return GLn(e),N4e(n,F(ye,_e,28,e,15,1),e)}function LT(n,e){return TT(n,"set1"),TT(e,"set2"),new XEn(n,e)}function h2e(n,e){var t=cun[n.charCodeAt(0)];return t??n}function cAn(n,e){var t,i;return t=e,i=new LA,NGn(n,t,i),i.d}function AD(n,e,t,i){var r;r=new xSn,e.a[t.g]=r,Ip(n.b,i,r)}function l2e(n,e){var t;return t=O4e(n.f,e),it(_M(t),n.f.d)}function NT(n){var e;_4e(n.a),aCn(n.a),e=new IE(n.a),FY(e)}function a2e(n,e){_qn(n,!0),nu(n.e.Rf(),new LV(n,!0,e))}function d2e(n,e){return Np(),n==St(Fh(e))||n==St(ca(e))}function b2e(n,e){return kl(),u(v(e,(lc(),Ph)),17).a==n}function wi(n){return Math.max(Math.min(n,et),-2147483648)|0}function uAn(n){this.a=u(Pe(n),277),this.b=(Ln(),new GX(n))}function oAn(n,e,t){this.i=new Z,this.b=n,this.g=e,this.a=t}function eJ(n,e,t){this.a=new Z,this.e=n,this.f=e,this.c=t}function DT(n,e,t){this.c=new Z,this.e=n,this.f=e,this.b=t}function sAn(n){HM.call(this),fQ(this),this.a=n,this.c=!0}function w2e(n){function e(){}return e.prototype=n||{},new e}function g2e(n){if(n.Ae())return null;var e=n.n;return rI[e]}function X7(n){return n.Db>>16!=3?null:u(n.Cb,27)}function Pf(n){return n.Db>>16!=9?null:u(n.Cb,27)}function fAn(n){return n.Db>>16!=6?null:u(n.Cb,74)}function Eb(){Eb=R,Ta=new iX(s3,0),O2=new iX(f3,1)}function fh(){fh=R,gw=new nX(f3,0),y1=new nX(s3,1)}function If(){If=R,Bd=new eX(_K,0),Xf=new eX("UP",1)}function hAn(){hAn=R,oQn=Me((KE(),S(C(uQn,1),G,549,0,[GF])))}function lAn(n){var e;return e=new GE(Qw(n.length)),ZQ(e,n),e}function aAn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function p2e(n,e){return Yxn(n,e)?(V$n(n),!0):!1}function dl(n,e){if(e==null)throw T(new rp);return R8e(n,e)}function V7(n,e){var t;t=n.q.getHours(),n.q.setDate(e),F5(n,t)}function tJ(n,e,t){var i;i=n.Ih(e),i>=0?n.bi(i,t):Znn(n,e,t)}function dAn(n,e){var t;return t=n.Ih(e),t>=0?n.Wh(t):hR(n,e)}function bAn(n,e){var t;for(Pe(e),t=n.a;t;t=t.c)e.Yd(t.g,t.i)}function LD(n,e,t){var i;i=mRn(n,e,t),n.b=new EC(i.c.length)}function Pg(n,e,t){$T(),n&&Ve(vU,n,e),n&&Ve(fE,n,t)}function m2e(n,e){return XM(),_n(),u(e.a,17).a<n}function v2e(n,e){return XM(),_n(),u(e.b,17).a<n}function ND(n,e){return y.Math.abs(n)<y.Math.abs(e)?n:e}function k2e(n){return!n.a&&(n.a=new q(Ye,n,10,11)),n.a.i>0}function iJ(n){var e;return e=n.d,e=n.bj(n.f),ve(n,e),e.Ob()}function wAn(n,e){var t;return t=new oW(e),FFn(t,n),new _u(t)}function y2e(n){if(n.p!=0)throw T(new Mu);return j6(n.f,0)}function j2e(n){if(n.p!=0)throw T(new Mu);return j6(n.k,0)}function gAn(n){return n.Db>>16!=7?null:u(n.Cb,241)}function Am(n){return n.Db>>16!=6?null:u(n.Cb,241)}function pAn(n){return n.Db>>16!=7?null:u(n.Cb,167)}function St(n){return n.Db>>16!=11?null:u(n.Cb,27)}function Gw(n){return n.Db>>16!=17?null:u(n.Cb,29)}function mAn(n){return n.Db>>16!=3?null:u(n.Cb,155)}function rJ(n){var e;return ia(n),e=new ni,ut(n,new M9n(e))}function vAn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.ve(e))}function E2e(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),F5(n,t)}function kAn(n,e){$M(this),this.f=e,this.g=n,MT(this),this.je()}function yAn(n,e){this.a=n,this.c=Fi(this.a),this.b=new PT(e)}function jAn(n,e,t){this.a=e,this.c=n,this.b=(Pe(t),new _u(t))}function EAn(n,e,t){this.a=e,this.c=n,this.b=(Pe(t),new _u(t))}function MAn(n){this.a=n,this.b=F(Pie,J,2043,n.e.length,0,2)}function TAn(){this.a=new rh,this.e=new ni,this.g=0,this.i=0}function $T(){$T=R,vU=new de,fE=new de,ple(TQn,new bvn)}function CAn(){CAn=R,aie=Iu(new ii,(Vi(),zr),(tr(),dj))}function cJ(){cJ=R,die=Iu(new ii,(Vi(),zr),(tr(),dj))}function SAn(){SAn=R,wie=Iu(new ii,(Vi(),zr),(tr(),dj))}function PAn(){PAn=R,Nie=Fe(new ii,(Vi(),zr),(tr(),A8))}function ko(){ko=R,xie=Fe(new ii,(Vi(),zr),(tr(),A8))}function IAn(){IAn=R,Rie=Fe(new ii,(Vi(),zr),(tr(),A8))}function DD(){DD=R,Hie=Fe(new ii,(Vi(),zr),(tr(),A8))}function X6(n,e,t,i,r,c){return new ml(n.e,e,n.Lj(),t,i,r,c)}function Lr(n,e,t){return e==null?Vc(n.f,null,t):Nb(n.i,e,t)}function Zi(n,e){n.c&&du(n.c.g,n),n.c=e,n.c&&nn(n.c.g,n)}function $i(n,e){n.c&&du(n.c.a,n),n.c=e,n.c&&nn(n.c.a,n)}function ic(n,e){n.i&&du(n.i.j,n),n.i=e,n.i&&nn(n.i.j,n)}function Oi(n,e){n.d&&du(n.d.e,n),n.d=e,n.d&&nn(n.d.e,n)}function $D(n,e){n.a&&du(n.a.k,n),n.a=e,n.a&&nn(n.a.k,n)}function xD(n,e){n.b&&du(n.b.f,n),n.b=e,n.b&&nn(n.b.f,n)}function OAn(n,e){$0e(n,n.b,n.c),u(n.b.b,68),e&&u(e.b,68).b}function M2e(n,e){return bt(u(n.c,65).c.e.b,u(e.c,65).c.e.b)}function T2e(n,e){return bt(u(n.c,65).c.e.a,u(e.c,65).c.e.a)}function C2e(n){return Y$(),_n(),u(n.a,86).d.e!=0}function xT(n,e){L(n.Cb,184)&&(u(n.Cb,184).tb=null),zc(n,e)}function RD(n,e){L(n.Cb,90)&&h0(Zu(u(n.Cb,90)),4),zc(n,e)}function S2e(n,e){AY(n,e),L(n.Cb,90)&&h0(Zu(u(n.Cb,90)),2)}function P2e(n,e){var t,i;t=e.c,i=t!=null,i&&Op(n,new qw(e.c))}function AAn(n){var e,t;return t=(um(),e=new Jd,e),Bm(t,n),t}function LAn(n){var e,t;return t=(um(),e=new Jd,e),Bm(t,n),t}function NAn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function I2e(n,e,t){return nn(n.a,(kT(),Dx(e,t),new tb(e,t))),n}function $c(n,e){return dr(),a$(e)?new nT(e,n):new k7(e,n)}function W7(n){return dh(),Ec(n,0)>=0?ra(n):H6(ra(n1(n)))}function O2e(n){var e;return e=u(YM(n.b),9),new _o(n.a,e,n.c)}function DAn(n,e){var t;return t=u(t0(Lp(n.a),e),16),t?t.gc():0}function $An(n,e,t){var i;uKn(e,t,n.c.length),i=t-e,Sz(n.c,e,i)}function Jl(n,e,t){uKn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function Dp(n){this.c=new Mt,this.b=n.b,this.d=n.c,this.a=n.a}function KD(n){this.a=y.Math.cos(n),this.b=y.Math.sin(n)}function ed(n,e,t,i){this.c=n,this.d=i,$D(this,e),xD(this,t)}function uJ(n,e){Xfe.call(this,new ap(Qw(n))),Mo(e,Azn),this.a=e}function xAn(n,e,t){return new rR(n,(Rm(),e_),null,!1,e,t)}function RAn(n,e,t){return new rR(n,(Rm(),i_),e,t,null,!1)}function A2e(){return Gu(),S(C(xr,1),G,108,0,[Dun,Yr,S0])}function L2e(){return bu(),S(C(JQn,1),G,471,0,[kf,va,Xs])}function N2e(){return Uu(),S(C(VQn,1),G,470,0,[Th,ma,zs])}function D2e(){return wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])}function $2e(){return n5(),S(C(Son,1),G,391,0,[j_,y_,E_])}function x2e(){return Ob(),S(C(K_,1),G,372,0,[rw,ka,iw])}function R2e(){return i5(),S(C(Ssn,1),G,322,0,[N8,gj,Csn])}function K2e(){return bC(),S(C(Isn,1),G,351,0,[Psn,VI,V_])}function B2e(){return hd(),S(C(pne,1),G,459,0,[Q_,pv,m2])}function F2e(){return Ym(),S(C(oH,1),G,298,0,[cH,uH,pj])}function _2e(){return vl(),S(C(Tne,1),G,311,0,[mj,k2,E3])}function H2e(){return d5(),S(C(Ahn,1),G,390,0,[xH,Ohn,TO])}function q2e(){return gr(),S(C(cie,1),G,462,0,[W8,Vu,Jc])}function U2e(){return PC(),S(C(Uhn,1),G,387,0,[Hhn,GH,qhn])}function G2e(){return h5(),S(C(Ghn,1),G,349,0,[XH,zH,Ij])}function z2e(){return u4(),S(C(Xhn,1),G,350,0,[VH,zhn,J8])}function X2e(){return dC(),S(C(Jhn,1),G,352,0,[Whn,WH,Vhn])}function V2e(){return LC(),S(C(Qhn,1),G,388,0,[JH,Ov,G0])}function W2e(){return Ib(),S(C(Cie,1),G,463,0,[Oj,Q8,IO])}function Of(n){return cc(S(C(Ei,1),J,8,0,[n.i.n,n.n,n.a]))}function J2e(){return l5(),S(C(bln,1),G,392,0,[dln,ZH,Lj])}function KAn(){KAn=R,Rre=Iu(new ii,(Qp(),e9),(K5(),rln))}function RT(){RT=R,aq=new rX("DFS",0),$ln=new rX("BFS",1)}function BAn(n,e,t){var i;i=new j3n,i.b=e,i.a=t,++e.b,nn(n.d,i)}function Q2e(n,e,t){var i;i=new rr(t.d),it(i,n),OY(e,i.a,i.b)}function Y2e(n,e){LCn(n,Se(vi(db(e,24),YS)),Se(vi(e,YS)))}function zw(n,e){if(n<0||n>e)throw T(new Or(Ctn+n+Stn+e))}function Nn(n,e){if(n<0||n>=e)throw T(new Or(Ctn+n+Stn+e))}function zn(n,e){if(n<0||n>=e)throw T(new bz(Ctn+n+Stn+e))}function On(n,e){this.b=(Jn(n),n),this.a=e&v0?e:e|64|wh}function oJ(n){var e;return ia(n),e=(kb(),kb(),YF),fC(n,e)}function Z2e(n,e,t){var i;return i=q5(n,e,!1),i.b<=e&&i.a<=t}function npe(){return nC(),S(C(O1n,1),G,439,0,[Dq,I1n,P1n])}function epe(){return _C(),S(C(h1n,1),G,394,0,[f1n,Oq,s1n])}function tpe(){return XC(),S(C(o1n,1),G,445,0,[Rj,qO,Mq])}function ipe(){return rS(),S(C(bce,1),G,455,0,[Tq,Sq,Cq])}function rpe(){return Pk(),S(C(Hln,1),G,393,0,[FO,Fln,_ln])}function cpe(){return SC(),S(C(u1n,1),G,299,0,[Eq,c1n,r1n])}function upe(){return $f(),S(C(Yan,1),G,278,0,[xv,J0,Rv])}function ope(){return Gp(),S(C(pdn,1),G,280,0,[gdn,Y0,aA])}function spe(){return jl(),S(C(hdn,1),G,346,0,[uA,T1,j9])}function fpe(){return Dk(),S(C($q,1),G,444,0,[XO,VO,WO])}function Mb(n){return Pe(n),L(n,16)?new _u(u(n,16)):km(n.Kc())}function sJ(n,e){return n&&n.equals?n.equals(e):x(n)===x(e)}function vi(n,e){return Z1(e0e(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function lf(n,e){return Z1(t0e(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function BD(n,e){return Z1(i0e(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function hpe(n,e){var t;return t=(Jn(n),n).g,tV(!!t),Jn(e),t(e)}function FAn(n,e){var t,i;return i=Em(n,e),t=n.a.fd(i),new GEn(n,t)}function lpe(n){return n.Db>>16!=6?null:u(dR(n),241)}function ape(n){if(n.p!=2)throw T(new Mu);return Se(n.f)&ui}function dpe(n){if(n.p!=2)throw T(new Mu);return Se(n.k)&ui}function E(n){return oe(n.a<n.c.c.length),n.b=n.a++,n.c.c[n.b]}function bpe(n,e){n.b=n.b|e.b,n.c=n.c|e.c,n.d=n.d|e.d,n.a=n.a|e.a}function wpe(n,e){var t;t=$(B(n.a.of((He(),iA)))),tzn(n,e,t)}function _An(n,e){Ya.call(this,1,2,S(C(ye,1),_e,28,15,[n,e]))}function HAn(n,e,t){Wd.call(this,25),this.b=n,this.a=e,this.c=t}function yo(n){nt(),Wd.call(this,n),this.c=!1,this.a=!1}function gpe(n){return n.a==(Dm(),CA)&&mfe(n,OSe(n.g,n.b)),n.a}function $p(n){return n.d==(Dm(),CA)&&kfe(n,IIe(n.g,n.b)),n.d}function ppe(n,e){return e5(),n.c==e.c?bt(e.d,n.d):bt(e.c,n.c)}function mpe(n,e){return e5(),n.c==e.c?bt(e.d,n.d):bt(n.c,e.c)}function vpe(n,e){return e5(),n.c==e.c?bt(n.d,e.d):bt(n.c,e.c)}function kpe(n,e){return e5(),n.c==e.c?bt(n.d,e.d):bt(e.c,n.c)}function fJ(n,e){return lIn(n.a,e)?YV(n.b,u(e,22).g,null):null}function ype(n){return nr(Ks(vc(to(n,32)),32),vc(to(n,32)))}function hJ(n){return n.b==null||n.b.length==0?"n_"+n.a:"n_"+n.b}function td(n){return n.c==null||n.c.length==0?"n_"+n.g:"n_"+n.c}function qAn(n,e){var t;for(t=n+"";t.length<e;)t="0"+t;return t}function jpe(n,e){var t;t=u(ee(n.g,e),60),nu(e.d,new RMn(n,t))}function Epe(n,e){var t,i;return t=zBn(n),i=zBn(e),t<i?-1:t>i?1:0}function UAn(n,e){var t,i;return t=s$(e),i=t,u(ee(n.c,i),17).a}function FD(n,e,t){var i;i=n.d[e.p],n.d[e.p]=n.d[t.p],n.d[t.p]=i}function Mpe(n,e,t){var i;n.n&&e&&t&&(i=new cvn,nn(n.e,i))}function _D(n,e){if(fi(n.a,e),e.d)throw T(new ec(nXn));e.d=n}function lJ(n,e){this.a=new Z,this.d=new Z,this.f=n,this.c=e}function GAn(){this.c=new PCn,this.a=new DNn,this.b=new zyn,hMn()}function zAn(){qp(),this.b=new de,this.a=new de,this.c=new Z}function XAn(n,e,t){this.d=n,this.j=e,this.e=t,this.o=-1,this.p=3}function VAn(n,e,t){this.d=n,this.k=e,this.f=t,this.o=-1,this.p=5}function WAn(n,e,t,i,r,c){lQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function JAn(n,e,t,i,r,c){aQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function QAn(n,e,t,i,r,c){IJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function YAn(n,e,t,i,r,c){wQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function ZAn(n,e,t,i,r,c){OJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function nLn(n,e,t,i,r,c){dQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function eLn(n,e,t,i,r,c){bQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function tLn(n,e,t,i,r,c){AJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function iLn(n,e,t,i){LE.call(this,t),this.b=n,this.c=e,this.d=i}function rLn(n,e){this.f=n,this.a=(Dm(),TA),this.c=TA,this.b=e}function cLn(n,e){this.g=n,this.d=(Dm(),CA),this.a=CA,this.b=e}function aJ(n,e){!n.c&&(n.c=new Ft(n,0)),HS(n.c,(at(),D9),e)}function Tpe(n,e){return oTe(n,e,L(e,102)&&(u(e,19).Bb&hr)!=0)}function Cpe(n,e){return BIn(vc(n.q.getTime()),vc(e.q.getTime()))}function uLn(n){return XN(n.e.Rd().gc()*n.c.Rd().gc(),16,new O8n(n))}function Spe(n){return!!n.u&&Pc(n.u.a).i!=0&&!(n.n&&Ox(n.n))}function Ppe(n){return!!n.a&&no(n.a.a).i!=0&&!(n.b&&Ax(n.b))}function dJ(n,e){return e==0?!!n.o&&n.o.f!=0:Mx(n,e)}function Ipe(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Hc(t)}function oLn(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Mc(t)}function sLn(n,e){var t;return t=1-e,n.a[t]=jC(n.a[t],t),jC(n,e)}function fLn(n,e){var t,i;return i=vi(n,mr),t=Ks(e,32),lf(t,i)}function hLn(n,e,t){var i;i=(Pe(n),new _u(n)),A7e(new jAn(i,e,t))}function J7(n,e,t){var i;i=(Pe(n),new _u(n)),L7e(new EAn(i,e,t))}function fc(n,e,t,i,r,c){return _xn(n,e,t,c),jY(n,i),EY(n,r),n}function lLn(n,e,t,i){return n.a+=""+qo(e==null?gu:Jr(e),t,i),n}function xi(n,e){this.a=n,Gv.call(this,n),zw(e,n.gc()),this.b=e}function aLn(n){this.a=F(ki,Rn,1,WQ(y.Math.max(8,n))<<1,5,1)}function Q7(n){return u(Rf(n,F(Qh,b1,10,n.c.length,0,1)),199)}function hh(n){return u(Rf(n,F(O_,rB,18,n.c.length,0,1)),482)}function dLn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function V6(n){for(;n.d>0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function bLn(n){return oe(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function Ope(n,e,t){n.a=e,n.c=t,n.b.a.$b(),vo(n.d),Sw(n.e.a.c,0)}function wLn(n,e){var t;n.e=new rz,t=a0(e),Yt(t,n.c),Oqn(n,t,0)}function ri(n,e,t,i){var r;r=new YU,r.a=e,r.b=t,r.c=i,Re(n.a,r)}function Q(n,e,t,i){var r;r=new YU,r.a=e,r.b=t,r.c=i,Re(n.b,r)}function gLn(n,e,t){if(n<0||e<n||e>t)throw T(new Or(qje(n,e,t)))}function Y7(n,e){if(n<0||n>=e)throw T(new Or(kEe(n,e)));return n}function Ape(n){if(!("stack"in n))try{throw n}catch{}return n}function Ig(n){return c6(),L(n.g,10)?u(n.g,10):null}function Lpe(n){return Sg(n).dc()?!1:(e1e(n,new Ir),!0)}function id(n){var e;return Vr(n)?(e=n,e==-0?0:e):Xme(n)}function pLn(n,e){return L(e,44)?xx(n.a,u(e,44)):!1}function mLn(n,e){return L(e,44)?xx(n.a,u(e,44)):!1}function vLn(n,e){return L(e,44)?xx(n.a,u(e,44)):!1}function bJ(n){var e;return V1(n),e=new Lbn,lg(n.a,new y9n(e)),e}function wJ(){var n,e,t;return e=(t=(n=new Jd,n),t),nn(Zdn,e),e}function KT(n){var e;return V1(n),e=new Nbn,lg(n.a,new j9n(e)),e}function Npe(n,e){return n.a<=n.b?(e.Dd(n.a++),!0):!1}function kLn(n){I$.call(this,n,(Rm(),n_),null,!1,null,!1)}function yLn(){yLn=R,PYn=Me((QE(),S(C(con,1),G,488,0,[d_])))}function jLn(){jLn=R,Zhn=bOn(Y(1),Y(4)),Yhn=bOn(Y(1),Y(2))}function Dpe(n,e){return new _N(e,A6(Fi(e.e),n,n),(_n(),!0))}function BT(n){return new Gc((Mo(n,cK),oC(nr(nr(5,n),n/10|0))))}function $pe(n){return XN(n.e.Rd().gc()*n.c.Rd().gc(),273,new I8n(n))}function ELn(n){return u(Rf(n,F(RZn,LXn,12,n.c.length,0,1)),2042)}function xpe(n){return ko(),!fr(n)&&!(!fr(n)&&n.c.i.c==n.d.i.c)}function Rpe(n,e){return _p(),u(v(e,(lc(),A2)),17).a>=n.gc()}function W6(n,e){vNe(e,n),VV(n.d),VV(u(v(n,(cn(),mO)),214))}function HD(n,e){kNe(e,n),WV(n.d),WV(u(v(n,(cn(),mO)),214))}function Kpe(n,e,t){n.d&&du(n.d.e,n),n.d=e,n.d&&ab(n.d.e,t,n)}function Bpe(n,e,t){return t.f.c.length>0?EW(n.a,e,t):EW(n.b,e,t)}function Fpe(n,e,t){var i;i=i9e();try{return Sae(n,e,t)}finally{L3e(i)}}function Tb(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.pe()),i}function J6(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.se()),i}function Lm(n,e){var t,i;return t=Jw(n,e),i=null,t&&(i=t.se()),i}function bl(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=bnn(t)),i}function _pe(n,e,t){var i;return i=b4(t),RS(n.g,i,e),RS(n.i,e,t),e}function gJ(n,e,t){this.d=new D7n(this),this.e=n,this.i=e,this.f=t}function MLn(n,e,t,i){this.e=null,this.c=n,this.d=e,this.a=t,this.b=i}function TLn(n,e,t,i){jCn(this),this.c=n,this.e=e,this.f=t,this.b=i}function pJ(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function CLn(n,e,t,i){return L(t,59)?new tSn(n,e,t,i):new pW(n,e,t,i)}function Nm(n){return L(n,16)?u(n,16).dc():!n.Kc().Ob()}function SLn(n){if(n.e.g!=n.b)throw T(new Ko);return!!n.c&&n.d>0}function be(n){return oe(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function mJ(n,e){Jn(e),$t(n.a,n.c,e),n.c=n.c+1&n.a.length-1,WBn(n)}function J1(n,e){Jn(e),n.b=n.b-1&n.a.length-1,$t(n.a,n.b,e),WBn(n)}function PLn(n){var e;e=n.Gh(),this.a=L(e,71)?u(e,71).Ii():e.Kc()}function Hpe(n){return new On(S4e(u(n.a.md(),16).gc(),n.a.ld()),16)}function ILn(){ILn=R,Gce=Me((nM(),S(C(D1n,1),G,489,0,[xq])))}function OLn(){OLn=R,Xce=Me((eM(),S(C(zce,1),G,558,0,[Rq])))}function ALn(){ALn=R,lue=Me((u6(),S(C(ean,1),G,539,0,[_j])))}function qpe(){return dd(),S(C(Aon,1),G,389,0,[A0,Oon,P_,I_])}function Upe(){return Rm(),S(C(lI,1),G,303,0,[n_,e_,t_,i_])}function Gpe(){return Vp(),S(C(EYn,1),G,332,0,[cj,rj,uj,oj])}function zpe(){return M5(),S(C(CYn,1),G,406,0,[sj,wI,gI,fj])}function Xpe(){return Lb(),S(C(yYn,1),G,417,0,[ij,tj,l_,a_])}function Vpe(){return Zm(),S(C(TZn,1),G,416,0,[tw,O0,I0,d2])}function Wpe(){return xf(),S(C(ene,1),G,421,0,[j3,hv,lv,R_])}function Jpe(){return AC(),S(C(UZn,1),G,371,0,[x_,HI,qI,bj])}function Qpe(){return c0(),S(C(KH,1),G,203,0,[CO,RH,I2,P2])}function Ype(){return lh(),S(C(Fhn,1),G,284,0,[k1,Bhn,_H,HH])}function Zpe(n){var e;return n.j==(en(),ae)&&(e=mHn(n),Su(e,Zn))}function n3e(n,e){var t;t=e.a,Zi(t,e.c.d),Oi(t,e.d.d),n0(t.a,n.n)}function vJ(n,e){var t;return t=u(Df(n.b,e),67),!t&&(t=new Mt),t}function xp(n){return c6(),L(n.g,154)?u(n.g,154):null}function e3e(n){n.a=null,n.e=null,Sw(n.b.c,0),Sw(n.f.c,0),n.c=null}function FT(){FT=R,sH=new Qz(H4,0),Vsn=new Qz("TOP_LEFT",1)}function Q6(){Q6=R,Z8=new Zz("UPPER",0),Y8=new Zz("LOWER",1)}function t3e(n,e){return vp(new V(e.e.a+e.f.a/2,e.e.b+e.f.b/2),n)}function LLn(n,e){return u(ho(_w(u(ot(n.k,e),15).Oc(),w2)),113)}function NLn(n,e){return u(ho(Sp(u(ot(n.k,e),15).Oc(),w2)),113)}function i3e(){return Qp(),S(C(tln,1),G,405,0,[NO,n9,e9,t9])}function r3e(){return a5(),S(C(Dln,1),G,353,0,[lq,KO,hq,fq])}function c3e(){return sS(),S(C(i1n,1),G,354,0,[jq,e1n,t1n,n1n])}function u3e(){return go(),S(C(S9,1),G,386,0,[iE,Gd,tE,Q0])}function o3e(){return Co(),S(C(Yue,1),G,290,0,[Zj,nl,Pa,Yj])}function s3e(){return El(),S(C(hU,1),G,223,0,[fU,Qj,Kv,x3])}function f3e(){return qC(),S(C(Edn,1),G,320,0,[dU,kdn,jdn,ydn])}function h3e(){return NC(),S(C(woe,1),G,415,0,[bU,Tdn,Mdn,Cdn])}function l3e(n){return $T(),Zc(vU,n)?u(ee(vU,n),341).Qg():null}function Uo(n,e,t){return e<0?hR(n,t):u(t,69).wk().Bk(n,n.hi(),e)}function a3e(n,e,t){var i;return i=b4(t),RS(n.j,i,e),Ve(n.k,e,t),e}function d3e(n,e,t){var i;return i=b4(t),RS(n.d,i,e),Ve(n.e,e,t),e}function DLn(n){var e,t;return e=(B1(),t=new HA,t),n&&SS(e,n),e}function kJ(n){var e;return e=n.aj(n.i),n.i>0&&Oc(n.g,0,e,0,n.i),e}function $Ln(n,e){var t;for(t=n.j.c.length;t<e;t++)nn(n.j,n.Ng())}function xLn(n,e,t,i){var r;return r=i[e.g][t.g],$(B(v(n.a,r)))}function RLn(n,e){tM();var t;return t=u(ee(yA,n),57),!t||t.fk(e)}function b3e(n){if(n.p!=1)throw T(new Mu);return Se(n.f)<<24>>24}function w3e(n){if(n.p!=1)throw T(new Mu);return Se(n.k)<<24>>24}function g3e(n){if(n.p!=7)throw T(new Mu);return Se(n.k)<<16>>16}function p3e(n){if(n.p!=7)throw T(new Mu);return Se(n.f)<<16>>16}function Og(n,e){return e.e==0||n.e==0?C8:(C4(),vR(n,e))}function KLn(n,e){return x(e)===x(n)?"(this Map)":e==null?gu:Jr(e)}function m3e(n,e,t){return tD(B(Fr(wr(n.f,e))),B(Fr(wr(n.f,t))))}function v3e(n,e,t){var i;i=u(ee(n.g,t),60),nn(n.a.c,new bi(e,i))}function BLn(n,e,t){n.i=0,n.e=0,e!=t&&(yRn(n,e,t),kRn(n,e,t))}function k3e(n,e,t,i,r){var c;c=yTe(r,t,i),nn(e,dEe(r,c)),rje(n,r,e)}function yJ(n,e,t,i,r){this.i=n,this.a=e,this.e=t,this.j=i,this.f=r}function FLn(n,e){YW.call(this),this.a=n,this.b=e,nn(this.a.b,this)}function _Ln(n){this.b=new de,this.c=new de,this.d=new de,this.a=n}function HLn(n,e){var t;return t=new fg,n.Gd(t),t.a+="..",e.Hd(t),t.a}function qLn(n,e){var t;for(t=e;t;)hb(n,t.i,t.j),t=St(t);return n}function ULn(n,e,t){var i;return i=b4(t),Ve(n.b,i,e),Ve(n.c,e,t),e}function wl(n){var e;for(e=0;n.Ob();)n.Pb(),e=nr(e,1);return oC(e)}function Rh(n,e){dr();var t;return t=u(n,69).vk(),kje(t,e),t.xl(e)}function y3e(n,e,t){if(t){var i=t.oe();n.a[e]=i(t)}else delete n.a[e]}function jJ(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+la),F5(n,t)}function j3e(n,e){return u(e==null?Fr(wr(n.f,null)):h6(n.i,e),288)}function EJ(n,e){return n==(Vn(),Xt)&&e==Xt?4:n==Xt||e==Xt?8:32}function _T(n,e,t){return BS(n,e,t,L(e,102)&&(u(e,19).Bb&hr)!=0)}function E3e(n,e,t){return O4(n,e,t,L(e,102)&&(u(e,19).Bb&hr)!=0)}function M3e(n,e,t){return bTe(n,e,t,L(e,102)&&(u(e,19).Bb&hr)!=0)}function MJ(n){n.b!=n.c&&(n.a=F(ki,Rn,1,8,5,1),n.b=0,n.c=0)}function Y6(n){return oe(n.a<n.c.a.length),n.b=n.a,t$n(n),n.c.b[n.b]}function Pc(n){return n.n||(Zu(n),n.n=new pIn(n,jr,n),Hr(n)),n.n}function GLn(n){if(n<0)throw T(new Kjn("Negative array size: "+n))}function qD(n,e,t){if(t){var i=t.oe();t=i(t)}else t=void 0;n.a[e]=t}function zLn(n,e){r4();var t;return t=n.j.g-e.j.g,t!=0?t:0}function T3e(n,e){return fl(),ve(H(n.a),e)}function C3e(n,e){return fl(),ve(H(n.a),e)}function gl(n,e){dh(),Ya.call(this,n,1,S(C(ye,1),_e,28,15,[e]))}function Xw(n,e){nt(),Wd.call(this,n),this.a=e,this.c=-1,this.b=-1}function Vw(n,e,t,i){XAn.call(this,1,t,i),this.c=n,this.b=e}function UD(n,e,t,i){VAn.call(this,1,t,i),this.c=n,this.b=e}function GD(n,e,t,i,r,c,s){k$.call(this,e,i,r,c,s),this.c=n,this.a=t}function rd(n,e,t){this.e=n,this.a=ki,this.b=Qqn(e),this.c=e,this.d=t}function zD(n){this.e=n,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function TJ(n){this.d=n,this.b=this.d.a.entries(),this.a=this.b.next()}function XLn(n){this.c=n,this.a=u(gs(n),156),this.b=this.a.jk().wi()}function Ql(){de.call(this),oSn(this),this.d.b=this.d,this.d.a=this.d}function xt(n,e,t,i){var r;r=new AA,r.c=e,r.b=t,r.a=i,i.b=t.a=r,++n.b}function S3e(n,e){var t;return t=e!=null?Dc(n,e):Fr(wr(n.f,e)),PM(t)}function P3e(n,e){var t;return t=e!=null?Dc(n,e):Fr(wr(n.f,e)),PM(t)}function Wr(n,e){var t;return e.b.Kb(UDn(n,e.c.Xe(),(t=new C9n(e),t)))}function I3e(n,e){var t;return GLn(e),t=n.slice(0,e),t.length=e,o$(t,n)}function VLn(n,e){var t;for(t=0;t<e;++t)$t(n,t,new yG(u(n[t],44)))}function O3e(n,e){var t;for(t=n.d-1;t>=0&&n.a[t]===e[t];t--);return t<0}function HT(n){var e;return n?new oW(n):(e=new rh,S$(e,n),e)}function A3e(n,e){var t,i;i=!1;do t=hRn(n,e),i=i|t;while(t);return i}function L3e(n){n&&r4e((hz(),uun)),--cI,n&&uI!=-1&&(Ele(uI),uI=-1)}function qT(n){YZ(),LCn(this,Se(vi(db(n,24),YS)),Se(vi(n,YS)))}function WLn(){WLn=R,HQn=Me((YC(),S(C(xun,1),G,436,0,[u_,$un])))}function JLn(){JLn=R,qQn=Me((cC(),S(C(Kun,1),G,435,0,[Run,o_])))}function QLn(){QLn=R,GYn=Me((uC(),S(C(aon,1),G,432,0,[m_,vI])))}function YLn(){YLn=R,_Zn=Me((Xm(),S(C(FZn,1),G,517,0,[aj,L_])))}function ZLn(){ZLn=R,kne=Me((ok(),S(C(xsn,1),G,487,0,[$sn,QI])))}function nNn(){nNn=R,gne=Me((bk(),S(C(Nsn,1),G,428,0,[WI,Lsn])))}function eNn(){eNn=R,ane=Me((QT(),S(C(Tsn,1),G,431,0,[Msn,X_])))}function tNn(){tNn=R,rie=Me((ak(),S(C(_hn,1),G,430,0,[qH,UH])))}function iNn(){iNn=R,Lie=Me((Q6(),S(C(Aie,1),G,531,0,[Z8,Y8])))}function rNn(){rNn=R,Bie=Me((fh(),S(C(Kie,1),G,523,0,[gw,y1])))}function cNn(){cNn=R,_ie=Me((If(),S(C(Fie,1),G,522,0,[Bd,Xf])))}function uNn(){uNn=R,tre=Me((af(),S(C(ere,1),G,528,0,[z0,Ma])))}function oNn(){oNn=R,Sne=Me((FT(),S(C(Wsn,1),G,429,0,[sH,Vsn])))}function sNn(){sNn=R,fre=Me((Eb(),S(C(sre,1),G,464,0,[Ta,O2])))}function fNn(){fNn=R,Ure=Me((ZT(),S(C(Bln,1),G,434,0,[Kln,mq])))}function hNn(){hNn=R,xre=Me((RT(),S(C(xln,1),G,433,0,[aq,$ln])))}function lNn(){lNn=R,_re=Me((yC(),S(C(Rln,1),G,500,0,[BO,N2])))}function aNn(){aNn=R,Bce=Me((GT(),S(C(S1n,1),G,490,0,[Nq,C1n])))}function dNn(){dNn=R,_ce=Me((D$(),S(C(N1n,1),G,491,0,[A1n,L1n])))}function bNn(){bNn=R,Vce=Me((tk(),S(C($1n,1),G,438,0,[Kq,JO])))}function wNn(){wNn=R,aue=Me((Mk(),S(C(ian,1),G,437,0,[YO,tan])))}function gNn(){gNn=R,aoe=Me((BN(),S(C(dA,1),G,347,0,[mdn,vdn])))}function N3e(){return ci(),S(C(k9,1),G,88,0,[Jf,Xr,Kr,Wf,us])}function D3e(){return en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])}function $3e(n,e,t){return u(e==null?Vc(n.f,null,t):Nb(n.i,e,t),288)}function x3e(n){return(n.k==(Vn(),Xt)||n.k==Zt)&&kt(n,(W(),R8))}function XD(n){return n.c&&n.d?hJ(n.c)+"->"+hJ(n.d):"e_"+fb(n)}function qi(n,e){var t,i;for(Jn(e),i=n.Kc();i.Ob();)t=i.Pb(),e.Cd(t)}function R3e(n,e){var t;t=new sp,nd(t,"x",e.a),nd(t,"y",e.b),Op(n,t)}function K3e(n,e){var t;t=new sp,nd(t,"x",e.a),nd(t,"y",e.b),Op(n,t)}function pNn(n,e){var t;for(t=e;t;)hb(n,-t.i,-t.j),t=St(t);return n}function CJ(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function Go(n,e,t){var i;return i=(Nn(e,n.c.length),n.c[e]),n.c[e]=t,i}function SJ(n,e,t){n.a.c.length=0,fAe(n,e,t),n.a.c.length==0||RPe(n,e)}function Z7(n){n.i=0,u7(n.b,null),u7(n.c,null),n.a=null,n.e=null,++n.g}function UT(){UT=R,Uf=!0,LQn=!1,NQn=!1,$Qn=!1,DQn=!1}function VD(n){UT(),!Uf&&(this.c=n,this.e=!0,this.a=new Z)}function mNn(n,e){this.c=0,this.b=e,_Tn.call(this,n,17493),this.a=this.c}function vNn(n){jzn(),Syn(this),this.a=new Mt,uY(this,n),Re(this.a,n)}function kNn(){pN(this),this.b=new V(Pt,Pt),this.a=new V(li,li)}function GT(){GT=R,Nq=new oX(tin,0),C1n=new oX("TARGET_WIDTH",1)}function Ag(n,e){return(ia(n),om(new Cn(n,new nQ(e,n.a)))).Bd(v3)}function B3e(){return Vi(),S(C(Pon,1),G,367,0,[Vs,Jh,Ac,Fc,zr])}function F3e(){return o0(),S(C(ine,1),G,375,0,[wj,zI,XI,GI,UI])}function _3e(){return o1(),S(C(Asn,1),G,348,0,[W_,Osn,J_,gv,wv])}function H3e(){return E5(),S(C(Nhn,1),G,323,0,[Lhn,BH,FH,X8,V8])}function q3e(){return Yo(),S(C(sfn,1),G,171,0,[jj,B8,ja,F8,x0])}function U3e(){return wS(),S(C(Hre,1),G,368,0,[gq,dq,pq,bq,wq])}function G3e(){return D5(),S(C(Hce,1),G,373,0,[D2,A3,a9,l9,Fj])}function z3e(){return Wk(),S(C(B1n,1),G,324,0,[x1n,Bq,K1n,Fq,R1n])}function X3e(){return pf(),S(C(Zh,1),G,170,0,[xn,pi,Ih,Fd,E1])}function V3e(){return Kg(),S(C(M9,1),G,256,0,[Ia,nE,ldn,E9,adn])}function W3e(n){return _E(),function(){return Fpe(n,this,arguments)}}function fr(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function PJ(n,e){return L(e,143)?Sn(n.c,u(e,143).c):!1}function Zu(n){return n.t||(n.t=new pyn(n),p5(new Njn(n),0,n.t)),n.t}function yNn(n){this.b=n,ne.call(this,n),this.a=u(Un(this.b.a,4),129)}function jNn(n){this.b=n,yp.call(this,n),this.a=u(Un(this.b.a,4),129)}function Bs(n,e,t,i,r){LNn.call(this,e,i,r),this.c=n,this.b=t}function IJ(n,e,t,i,r){XAn.call(this,e,i,r),this.c=n,this.a=t}function OJ(n,e,t,i,r){VAn.call(this,e,i,r),this.c=n,this.a=t}function AJ(n,e,t,i,r){LNn.call(this,e,i,r),this.c=n,this.a=t}function WD(n,e){var t;return t=u(Df(n.d,e),23),t||u(Df(n.e,e),23)}function ENn(n,e){var t,i;return t=e.ld(),i=n.Fe(t),!!i&&mc(i.e,e.md())}function MNn(n,e){var t;return t=e.ld(),new tb(t,n.e.pc(t,u(e.md(),16)))}function J3e(n,e){var t;return t=n.a.get(e),t??F(ki,Rn,1,0,5,1)}function TNn(n){var e;return e=n.length,Sn(Yn.substr(Yn.length-e,e),n)}function fe(n){if(pe(n))return n.c=n.a,n.a.Pb();throw T(new nc)}function LJ(n,e){return e==0||n.e==0?n:e>0?wqn(n,e):KKn(n,-e)}function Rp(n,e){return e==0||n.e==0?n:e>0?KKn(n,e):wqn(n,-e)}function NJ(n){ole.call(this,n==null?gu:Jr(n),L(n,82)?u(n,82):null)}function CNn(n){var e;return n.c||(e=n.r,L(e,90)&&(n.c=u(e,29))),n.c}function JD(n){var e;return e=new yb,Ur(e,n),U(e,(cn(),Rr),null),e}function SNn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Vn(),Zt)&&t.k==Zt}function QD(n){var e,t,i;return e=n&ro,t=n>>22&ro,i=n<0?Ol:0,Yc(e,t,i)}function Q3e(n){var e,t,i,r;for(t=n,i=0,r=t.length;i<r;++i)e=t[i],G6(e)}function Y3e(n,e){var t,i;t=u(o5e(n.c,e),16),t&&(i=t.gc(),t.$b(),n.d-=i)}function YD(n,e,t){var i;return i=n.Ih(e),i>=0?n.Lh(i,t,!0):Fb(n,e,t)}function Z3e(n,e,t){return bt(vp(g4(n),Fi(e.b)),vp(g4(n),Fi(t.b)))}function nme(n,e,t){return bt(vp(g4(n),Fi(e.e)),vp(g4(n),Fi(t.e)))}function eme(n,e){return y.Math.min(Q1(e.a,n.d.d.c),Q1(e.b,n.d.d.c))}function nk(n,e){n._i(n.i+1),P6(n,n.i,n.Zi(n.i,e)),n.Mi(n.i++,e),n.Ni()}function Z6(n){var e,t;++n.j,e=n.g,t=n.i,n.g=null,n.i=0,n.Oi(t,e),n.Ni()}function PNn(n,e,t){var i;i=new LX(n.a),u5(i,n.a.a),Vc(i.f,e,t),n.a.a=i}function DJ(n,e,t,i){var r;for(r=0;r<dI;r++)fT(n.a[r][e.g],t,i[e.g])}function $J(n,e,t,i){var r;for(r=0;r<f_;r++)hT(n.a[e.g][r],t,i[e.g])}function ot(n,e){var t;return t=u(n.c.xc(e),16),!t&&(t=n.ic(e)),n.pc(e,t)}function tme(n){var e;return e=(Pe(n),n?new _u(n):km(n.Kc())),Qk(e),RC(e)}function Af(n){var e,t;return Pe(n),e=Z0e(n.length),t=new Gc(e),ZQ(t,n),t}function ZD(n,e,t,i){var r;return r=F(ye,_e,28,e,15,1),Eye(r,n,e,t,i),r}function xJ(n,e){if(n<0||n>e)throw T(new Or(jnn(n,e,"index")));return n}function Yl(n,e){var t;return t=(Nn(e,n.c.length),n.c[e]),Sz(n.c,e,1),t}function RJ(n,e){var t,i;return t=(Jn(n),n),i=(Jn(e),e),t==i?0:t<i?-1:1}function KJ(n){var e;return e=n.e+n.f,isNaN(e)&&UM(n.d)?n.d:e}function ime(n){return n.e=3,n.d=n.Yb(),n.e!=2?(n.e=0,!0):!1}function pl(n,e){return n.a?Be(n.a,n.b):n.a=new mo(n.d),M6(n.a,e),n}function Kp(n,e){return Si(e)?e==null?Bnn(n.f,null):Uxn(n.i,e):Bnn(n.f,e)}function INn(n,e){FTn.call(this,e.zd(),e.yd()&-6),Jn(n),this.a=n,this.b=e}function ONn(n,e){_Tn.call(this,e.zd(),e.yd()&-6),Jn(n),this.a=n,this.b=e}function BJ(n,e){IM.call(this,e.zd(),e.yd()&-6),Jn(n),this.a=n,this.b=e}function ANn(n,e,t){LE.call(this,t),this.b=n,this.c=e,this.d=(gx(),MU)}function LNn(n,e,t){this.d=n,this.k=e?1:0,this.f=t?1:0,this.o=-1,this.p=0}function Lf(n){this.c=n,this.a=new M(this.c.a),this.b=new M(this.c.b)}function zT(){this.e=new Z,this.c=new Z,this.d=new Z,this.b=new Z}function NNn(){this.g=new UG,this.b=new UG,this.a=new Z,this.k=new Z}function DNn(){this.a=new VG,this.b=new njn,this.d=new r0n,this.e=new h0n}function $Nn(n,e,t){this.a=n,this.c=e,this.d=t,nn(e.e,this),nn(t.b,this)}function FJ(n,e,t){var i,r;for(i=0,r=0;r<e.length;r++)i+=n.tg(e[r],i,t)}function rme(n,e){var t;return t=EAe(n,e),n.b=new EC(t.c.length),HOe(n,t)}function cme(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),F5(n,t)}function n$(n){var e;return e=n.b,e.b==0?null:u(Zo(e,0),65).b}function _J(n){if(n.a){if(n.e)return _J(n.e)}else return n;return null}function ume(n,e){return n.p<e.p?1:n.p>e.p?-1:0}function xNn(n){var e;return n.a||(e=n.r,L(e,156)&&(n.a=u(e,156))),n.a}function ome(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].gd(t),136),i.md()}function sme(n){var e,t;return e=n.ld(),t=u(n.md(),16),D7(t.Nc(),new L8n(e))}function RNn(n,e){return Zc(n.a,e)?(Kp(n.a,e),!0):!1}function Bp(n,e,t){return Y7(e,n.e.Rd().gc()),Y7(t,n.c.Rd().gc()),n.a[e][t]}function XT(n,e,t){this.a=n,this.b=e,this.c=t,nn(n.t,this),nn(e.i,this)}function VT(n,e,t,i){this.f=n,this.e=e,this.d=t,this.b=i,this.c=i?i.d:null}function ek(){this.b=new Mt,this.a=new Mt,this.b=new Mt,this.a=new Mt}function Dm(){Dm=R;var n,e;TA=(um(),e=new $E,e),CA=(n=new fL,n)}function fme(n){var e;return ia(n),e=new IPn(n,n.a.e,n.a.d|4),new rV(n,e)}function KNn(n){var e;for(V1(n),e=0;n.a.Bd(new Vbn);)e=nr(e,1);return e}function WT(n,e){return Jn(e),n.c<n.d?(n.Se(e,n.c++),!0):!1}function Gc(n){pN(this),x7(n>=0,"Initial capacity must not be negative")}function JT(){JT=R,d9=new lt("org.eclipse.elk.labels.labelManager")}function BNn(){BNn=R,vsn=new Lt("separateLayerConnections",(AC(),x_))}function af(){af=R,z0=new tX("REGULAR",0),Ma=new tX("CRITICAL",1)}function tk(){tk=R,Kq=new fX("FIXED",0),JO=new fX("CENTER_NODE",1)}function QT(){QT=R,Msn=new Vz("QUADRATIC",0),X_=new Vz("SCANLINE",1)}function FNn(){FNn=R,dne=Me((i5(),S(C(Ssn,1),G,322,0,[N8,gj,Csn])))}function _Nn(){_Nn=R,bne=Me((bC(),S(C(Isn,1),G,351,0,[Psn,VI,V_])))}function HNn(){HNn=R,mne=Me((hd(),S(C(pne,1),G,459,0,[Q_,pv,m2])))}function qNn(){qNn=R,fne=Me((Ob(),S(C(K_,1),G,372,0,[rw,ka,iw])))}function UNn(){UNn=R,Cne=Me((vl(),S(C(Tne,1),G,311,0,[mj,k2,E3])))}function GNn(){GNn=R,Mne=Me((Ym(),S(C(oH,1),G,298,0,[cH,uH,pj])))}function zNn(){zNn=R,Zte=Me((d5(),S(C(Ahn,1),G,390,0,[xH,Ohn,TO])))}function XNn(){XNn=R,oie=Me((PC(),S(C(Uhn,1),G,387,0,[Hhn,GH,qhn])))}function VNn(){VNn=R,sie=Me((h5(),S(C(Ghn,1),G,349,0,[XH,zH,Ij])))}function WNn(){WNn=R,uie=Me((gr(),S(C(cie,1),G,462,0,[W8,Vu,Jc])))}function JNn(){JNn=R,hie=Me((dC(),S(C(Jhn,1),G,352,0,[Whn,WH,Vhn])))}function QNn(){QNn=R,fie=Me((u4(),S(C(Xhn,1),G,350,0,[VH,zhn,J8])))}function YNn(){YNn=R,lie=Me((LC(),S(C(Qhn,1),G,388,0,[JH,Ov,G0])))}function ZNn(){ZNn=R,are=Me((l5(),S(C(bln,1),G,392,0,[dln,ZH,Lj])))}function nDn(){nDn=R,Gre=Me((Pk(),S(C(Hln,1),G,393,0,[FO,Fln,_ln])))}function eDn(){eDn=R,ace=Me((SC(),S(C(u1n,1),G,299,0,[Eq,c1n,r1n])))}function tDn(){tDn=R,dce=Me((XC(),S(C(o1n,1),G,445,0,[Rj,qO,Mq])))}function iDn(){iDn=R,wce=Me((rS(),S(C(bce,1),G,455,0,[Tq,Sq,Cq])))}function rDn(){rDn=R,mce=Me((_C(),S(C(h1n,1),G,394,0,[f1n,Oq,s1n])))}function cDn(){cDn=R,Fce=Me((nC(),S(C(O1n,1),G,439,0,[Dq,I1n,P1n])))}function uDn(){uDn=R,Sie=Me((Ib(),S(C(Cie,1),G,463,0,[Oj,Q8,IO])))}function oDn(){oDn=R,WQn=Me((Uu(),S(C(VQn,1),G,470,0,[Th,ma,zs])))}function sDn(){sDn=R,XQn=Me((wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])))}function fDn(){fDn=R,QQn=Me((bu(),S(C(JQn,1),G,471,0,[kf,va,Xs])))}function hDn(){hDn=R,xQn=Me((Gu(),S(C(xr,1),G,108,0,[Dun,Yr,S0])))}function lDn(){lDn=R,pZn=Me((n5(),S(C(Son,1),G,391,0,[j_,y_,E_])))}function aDn(){aDn=R,Que=Me((jl(),S(C(hdn,1),G,346,0,[uA,T1,j9])))}function dDn(){dDn=R,Uce=Me((Dk(),S(C($q,1),G,444,0,[XO,VO,WO])))}function bDn(){bDn=R,Xue=Me(($f(),S(C(Yan,1),G,278,0,[xv,J0,Rv])))}function wDn(){wDn=R,loe=Me((Gp(),S(C(pdn,1),G,280,0,[gdn,Y0,aA])))}function Nf(n,e){return!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),wx(n.o,e)}function hme(n,e){var t;n.C&&(t=u(Mr(n.b,e),127).n,t.d=n.C.d,t.a=n.C.a)}function HJ(n){var e,t,i,r;r=n.d,e=n.a,t=n.b,i=n.c,n.d=t,n.a=i,n.b=r,n.c=e}function lme(n){return!n.g&&(n.g=new EE),!n.g.b&&(n.g.b=new dyn(n)),n.g.b}function ik(n){return!n.g&&(n.g=new EE),!n.g.c&&(n.g.c=new gyn(n)),n.g.c}function ame(n){return!n.g&&(n.g=new EE),!n.g.d&&(n.g.d=new byn(n)),n.g.d}function dme(n){return!n.g&&(n.g=new EE),!n.g.a&&(n.g.a=new wyn(n)),n.g.a}function bme(n,e,t,i){return t&&(i=t.Rh(e,At(t.Dh(),n.c.uk()),null,i)),i}function wme(n,e,t,i){return t&&(i=t.Th(e,At(t.Dh(),n.c.uk()),null,i)),i}function e$(n,e,t,i){var r;return r=F(ye,_e,28,e+1,15,1),vIe(r,n,e,t,i),r}function F(n,e,t,i,r,c){var s;return s=FBn(r,i),r!=10&&S(C(n,c),e,t,r,s),s}function gme(n,e,t){var i,r;for(r=new Qm(e,n),i=0;i<t;++i)iS(r);return r}function t$(n,e,t){var i,r;if(t!=null)for(i=0;i<e;++i)r=t[i],n.Qi(i,r)}function qJ(n,e){var t;return t=new LA,t.c=!0,t.d=e.md(),NGn(n,e.ld(),t)}function pme(n,e){var t;t=n.q.getHours()+(e/3600|0),n.q.setSeconds(e),F5(n,t)}function UJ(n,e){var t,i;return t=e,i=CD(km(new f$(n,t))),tT(new f$(n,t)),i}function mme(n,e){e.Ug("Label management",1),PM(v(n,(JT(),d9))),e.Vg()}function vme(n,e,t,i){NUn(n,e,t,O4(n,e,i,L(e,102)&&(u(e,19).Bb&hr)!=0))}function GJ(n,e,t){u(n.b,68),u(n.b,68),u(n.b,68),nu(n.a,new wPn(t,e,n))}function Ri(n,e,t){if(n<0||e>t||e<n)throw T(new bz(ZS+n+Ttn+e+jtn+t))}function i$(n){n?(this.c=n,this.b=null):(this.c=null,this.b=new Z)}function r$(n,e){uM.call(this,n,e),this.a=F(lDe,WS,447,2,0,1),this.b=!0}function zJ(n){bRn.call(this,n,0),oSn(this),this.d.b=this.d,this.d.a=this.d}function XJ(n){this.e=n,this.b=this.e.a.entries(),this.a=F(ki,Rn,1,0,5,1)}function gDn(){gDn=R,bie=Iu(Fe(new ii,(Vi(),Vs),(tr(),N_)),zr,dj)}function kme(){return vS(),S(C(Dsn,1),G,283,0,[Z_,Y_,eH,nH,tH,JI])}function yme(){return Xk(),S(C(_sn,1),G,281,0,[YI,Ksn,Fsn,Rsn,Bsn,iH])}function jme(){return y4(),S(C(Xsn,1),G,282,0,[D8,qsn,zsn,Gsn,Usn,Hsn])}function Eme(){return Yp(),S(C(bv,1),G,232,0,[dv,L8,av,D0,p2,g2])}function Mme(){return Vn(),S(C(A_,1),G,273,0,[Xt,Ti,Zt,_c,Sc,Gf])}function Tme(){return zu(),S(C(oA,1),G,279,0,[Aa,Rl,eE,C9,T9,R3])}function Cme(){return Ai(),S(C(ddn,1),G,101,0,[Oa,Qf,Bv,Ud,tl,qc])}function Sme(){return pS(),S(C(rdn,1),G,321,0,[lU,edn,idn,Zan,tdn,ndn])}function Pme(){return Bh(),S(C(san,1),G,255,0,[zq,Hj,qj,eA,ZO,nA])}function Ime(){return wd(),S(C(Jq,1),G,297,0,[Wq,p9,g9,Vq,b9,w9])}function VJ(n){var e;return!n.a&&n.b!=-1&&(e=n.c.Dh(),n.a=$n(e,n.b)),n.a}function ve(n,e){return n.Si()&&n.Hc(e)?!1:(n.Hi(e),!0)}function df(n,e){return G7(e,"Horizontal alignment cannot be null"),n.b=e,n}function pDn(n,e,t){nt();var i;return i=fa(n,e),t&&i&&B0e(n)&&(i=null),i}function WJ(n,e,t){var i;i=n.b[t.c.p][t.p],i.b+=e.b,i.c+=e.c,i.a+=e.a,++i.a}function JJ(n,e,t){var i;n.d[e.g]=t,i=n.g.c,i[e.g]=y.Math.max(i[e.g],t+1)}function Q1(n,e){var t,i;return t=n.a-e.a,i=n.b-e.b,y.Math.sqrt(t*t+i*i)}function QJ(n,e){var t,i;for(i=e.Kc();i.Ob();)t=u(i.Pb(),36),sUn(n,t,0,0)}function Zl(n,e,t){var i,r;for(r=n.Kc();r.Ob();)i=u(r.Pb(),36),S4(i,e,t)}function Ome(n){var e,t;for(t=ge(n.a,0);t.b!=t.d.c;)e=u(be(t),65),Inn(e)}function mDn(n,e){return vMn(n.e,e)||s1(n.e,e,new sBn(e)),u(Df(n.e,e),113)}function qu(n,e,t,i){return Jn(n),Jn(e),Jn(t),Jn(i),new TW(n,e,new Rbn)}function Ou(n,e,t,i){this.ak(),this.a=e,this.b=n,this.c=new kW(this,e,t,i)}function c$(n,e,t,i,r,c){pJ.call(this,e,i,r,c),this.c=n,this.b=t}function rk(n,e,t,i,r,c){pJ.call(this,e,i,r,c),this.c=n,this.a=t}function ck(n,e){var t,i,r;return r=n.r,i=n.d,t=q5(n,e,!0),t.b!=r||t.a!=i}function uk(n,e,t){var i,r;return r=(i=M4(n.b,e),i),r?qS(fk(n,r),t):null}function Ame(n,e,t){var i,r,c;i=dl(n,t),r=null,i&&(r=bnn(i)),c=r,cBn(e,t,c)}function Lme(n,e,t){var i,r,c;i=dl(n,t),r=null,i&&(r=bnn(i)),c=r,cBn(e,t,c)}function $m(n,e){var t;return t=n.Ih(e),t>=0?n.Lh(t,!0,!0):Fb(n,e,!0)}function Nme(n,e,t){var i;return i=mRn(n,e,t),n.b=new EC(i.c.length),hen(n,i)}function Dme(n){if(n.b<=0)throw T(new nc);return--n.b,n.a-=n.c.c,Y(n.a)}function $me(n){var e;if(!n.a)throw T(new POn);return e=n.a,n.a=St(n.a),e}function xme(n){for(;!n.a;)if(!nPn(n.c,new E9n(n)))return!1;return!0}function Fp(n){var e;return Pe(n),L(n,204)?(e=u(n,204),e):new F8n(n)}function Rme(n){YT(),u(n.of((He(),W0)),181).Fc((zu(),eE)),n.qf(uU,null)}function YT(){YT=R,wue=new j4n,pue=new E4n,gue=T6e((He(),uU),wue,Sa,pue)}function ZT(){ZT=R,Kln=new uX("LEAF_NUMBER",0),mq=new uX("NODE_SIZE",1)}function u$(n){n.a=F(ye,_e,28,n.b+1,15,1),n.c=F(ye,_e,28,n.b,15,1),n.d=0}function Kme(n,e){n.a.Ne(e.d,n.b)>0&&(nn(n.c,new qV(e.c,e.d,n.d)),n.b=e.d)}function YJ(n,e){if(n.g==null||e>=n.i)throw T(new aN(e,n.i));return n.g[e]}function vDn(n,e,t){if(i4(n,t),t!=null&&!n.fk(t))throw T(new uL);return t}function o$(n,e){return dk(e)!=10&&S(wo(e),e.Sm,e.__elementTypeId$,dk(e),n),n}function xm(n,e,t,i){var r;i=(kb(),i||Sun),r=n.slice(e,t),Enn(r,n,e,t,-e,i)}function zo(n,e,t,i,r){return e<0?Fb(n,t,i):u(t,69).wk().yk(n,n.hi(),e,i,r)}function Bme(n,e){return bt($(B(v(n,(W(),ow)))),$(B(v(e,ow))))}function kDn(){kDn=R,OQn=Me((Rm(),S(C(lI,1),G,303,0,[n_,e_,t_,i_])))}function Rm(){Rm=R,n_=new cM("All",0),e_=new hCn,t_=new vCn,i_=new fCn}function Uu(){Uu=R,Th=new RL(s3,0),ma=new RL(H4,1),zs=new RL(f3,2)}function yDn(){yDn=R,FS(),obn=Pt,mse=li,sbn=new G9(Pt),vse=new G9(li)}function jDn(){jDn=R,jYn=Me((Lb(),S(C(yYn,1),G,417,0,[ij,tj,l_,a_])))}function EDn(){EDn=R,SYn=Me((M5(),S(C(CYn,1),G,406,0,[sj,wI,gI,fj])))}function MDn(){MDn=R,MYn=Me((Vp(),S(C(EYn,1),G,332,0,[cj,rj,uj,oj])))}function TDn(){TDn=R,LZn=Me((dd(),S(C(Aon,1),G,389,0,[A0,Oon,P_,I_])))}function CDn(){CDn=R,CZn=Me((Zm(),S(C(TZn,1),G,416,0,[tw,O0,I0,d2])))}function SDn(){SDn=R,tne=Me((xf(),S(C(ene,1),G,421,0,[j3,hv,lv,R_])))}function PDn(){PDn=R,GZn=Me((AC(),S(C(UZn,1),G,371,0,[x_,HI,qI,bj])))}function IDn(){IDn=R,nie=Me((c0(),S(C(KH,1),G,203,0,[CO,RH,I2,P2])))}function ODn(){ODn=R,iie=Me((lh(),S(C(Fhn,1),G,284,0,[k1,Bhn,_H,HH])))}function ok(){ok=R,$sn=new Jz(kh,0),QI=new Jz("IMPROVE_STRAIGHTNESS",1)}function ADn(n,e){var t,i;return i=e/n.c.Rd().gc()|0,t=e%n.c.Rd().gc(),Bp(n,i,t)}function LDn(n){var e;if(n.nl())for(e=n.i-1;e>=0;--e)N(n,e);return kJ(n)}function ZJ(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function NDn(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[1];)t=e;return t}function Fme(n){return L(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function _me(n){return L(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function DDn(n,e){if(e.a)throw T(new ec(nXn));fi(n.a,e),e.a=n,!n.j&&(n.j=e)}function nQ(n,e){IM.call(this,e.zd(),e.yd()&-16449),Jn(n),this.a=n,this.c=e}function Hme(n,e){return new _N(e,hb(Fi(e.e),e.f.a+n,e.f.b+n),(_n(),!1))}function qme(n,e){return vm(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function Ume(n,e){return vm(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function $Dn(){$Dn=R,lce=Me((sS(),S(C(i1n,1),G,354,0,[jq,e1n,t1n,n1n])))}function xDn(){xDn=R,$re=Me((a5(),S(C(Dln,1),G,353,0,[lq,KO,hq,fq])))}function RDn(){RDn=R,hre=Me((Qp(),S(C(tln,1),G,405,0,[NO,n9,e9,t9])))}function KDn(){KDn=R,Vue=Me((El(),S(C(hU,1),G,223,0,[fU,Qj,Kv,x3])))}function BDn(){BDn=R,Zue=Me((Co(),S(C(Yue,1),G,290,0,[Zj,nl,Pa,Yj])))}function FDn(){FDn=R,foe=Me((go(),S(C(S9,1),G,386,0,[iE,Gd,tE,Q0])))}function _Dn(){_Dn=R,doe=Me((qC(),S(C(Edn,1),G,320,0,[dU,kdn,jdn,ydn])))}function HDn(){HDn=R,goe=Me((NC(),S(C(woe,1),G,415,0,[bU,Tdn,Mdn,Cdn])))}function nC(){nC=R,Dq=new oN(mVn,0),I1n=new oN(yrn,1),P1n=new oN(kh,2)}function Ww(n,e,t,i,r){return Jn(n),Jn(e),Jn(t),Jn(i),Jn(r),new TW(n,e,i)}function qDn(n,e){var t;return t=u(Kp(n.e,e),400),t?(nW(t),t.e):null}function du(n,e){var t;return t=qr(n,e,0),t==-1?!1:(Yl(n,t),!0)}function UDn(n,e,t){var i;return V1(n),i=new NA,i.a=e,n.a.Nb(new TMn(i,t)),i.a}function Gme(n){var e;return V1(n),e=F(Ii,Cr,28,0,15,1),lg(n.a,new k9n(e)),e}function eQ(n){var e;if(!E$(n))throw T(new nc);return n.e=1,e=n.d,n.d=null,e}function n1(n){var e;return Vr(n)&&(e=0-n,!isNaN(e))?e:Z1(e4(n))}function qr(n,e,t){for(;t<n.c.length;++t)if(mc(e,n.c[t]))return t;return-1}function s$(n){var e,t;return t=u(sn(n.j,0),12),e=u(v(t,(W(),st)),12),e}function f$(n,e){var t;this.f=n,this.b=e,t=u(ee(n.b,e),260),this.c=t?t.b:null}function GDn(){Rs(),this.b=new de,this.f=new de,this.g=new de,this.e=new de}function eC(n){$M(this),this.g=n?IT(n,n.ie()):null,this.f=n,MT(this),this.je()}function h$(n){var e;e=n.jj(),e!=null&&n.d!=-1&&u(e,94).xh(n),n.i&&n.i.oj()}function sk(n){var e;for(e=n.p+1;e<n.c.a.c.length;++e)--u(sn(n.c.a,e),10).p}function zDn(n){Rw(!!n.c),RN(n.f.g,n.d),n.c.Qb(),n.c=null,n.b=qQ(n),n.d=n.f.g}function no(n){return n.b||(n.b=new mIn(n,jr,n),!n.a&&(n.a=new I7(n,n))),n.b}function fk(n,e){var t,i;return t=u(e,690),i=t.xi(),!i&&t.Ai(i=new xTn(n,e)),i}function Nr(n,e){var t,i;return t=u(e,692),i=t.$k(),!i&&t.cl(i=new cLn(n,e)),i}function tQ(n,e){c6();var t,i;return t=xp(n),i=xp(e),!!t&&!!i&&!gBn(t.k,i.k)}function tC(n,e){return mc(e,sn(n.f,0))||mc(e,sn(n.f,1))||mc(e,sn(n.f,2))}function hk(n,e){if(e<0)throw T(new Or(LVn+e));return $Ln(n,e+1),sn(n.j,e)}function XDn(n,e,t,i){if(!n)throw T(new Gn(R5(e,S(C(ki,1),Rn,1,5,[t,i]))))}function ml(n,e,t,i,r,c,s){k$.call(this,e,i,r,c,s),this.c=n,this.b=t}function Kh(n,e,t){var i,r;for(i=10,r=0;r<t-1;r++)e<i&&(n.a+="0"),i*=10;n.a+=e}function iC(n){var e,t;return t=n.length,e=F(fs,gh,28,t,15,1),HIn(n,0,t,e,0),e}function lk(n){nIn();var e,t;return e=n+128,t=aun[e],!t&&(t=aun[e]=new c9n(n)),t}function VDn(n){return RN(n.d.a.e.g,n.b),oe(n.c!=n.d.a.d),n.a=n.c,n.c=n.c.a,n.a}function zme(n){switch(n.g){case 0:return et;case 1:return-1;default:return 0}}function Xme(n){return OZ(n,(Km(),hun))<0?-I1e(e4(n)):n.l+n.m*o3+n.h*vd}function WDn(n){(this.q?this.q:(Ln(),Ln(),Wh)).Ac(n.q?n.q:(Ln(),Ln(),Wh))}function Vme(n,e){Ep(u(u(n.f,27).of((He(),m9)),101))&&e8e(mD(u(n.f,27)),e)}function l$(n,e){var t;return t=At(n.d,e),t>=0?tS(n,t,!0,!0):Fb(n,e,!0)}function iQ(n){var e;return e=cd(Un(n,32)),e==null&&(iu(n),e=cd(Un(n,32))),e}function rQ(n){var e;return n.Oh()||(e=se(n.Dh())-n.ji(),n.$h().Mk(e)),n.zh()}function JDn(n,e){ion=new vE,TYn=e,P8=n,u(P8.b,68),GJ(P8,ion,null),aGn(P8)}function n5(){n5=R,j_=new BL("XY",0),y_=new BL("X",1),E_=new BL("Y",2)}function bu(){bu=R,kf=new KL("TOP",0),va=new KL(H4,1),Xs=new KL(Dtn,2)}function vl(){vl=R,mj=new GL(kh,0),k2=new GL("TOP",1),E3=new GL(Dtn,2)}function ak(){ak=R,qH=new Yz("INPUT_ORDER",0),UH=new Yz("PORT_DEGREE",1)}function Km(){Km=R,sun=Yc(ro,ro,524287),bQn=Yc(0,0,Ty),fun=QD(1),QD(2),hun=QD(0)}function a$(n){var e;return n.d!=n.r&&(e=gs(n),n.e=!!e&&e.lk()==bJn,n.d=e),n.e}function d$(n,e,t){var i;return i=n.g[e],P6(n,e,n.Zi(e,t)),n.Ri(e,t,i),n.Ni(),i}function rC(n,e){var t;return t=n.dd(e),t>=0?(n.gd(t),!0):!1}function b$(n,e){var t;for(Pe(n),Pe(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function Df(n,e){var t;return t=u(ee(n.e,e),400),t?(ACn(n,t),t.e):null}function QDn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function Jw(n,e){var t=n.a[e],i=(F$(),VF)[typeof t];return i?i(t):dY(typeof t)}function rc(n,e){var t,i;return ia(n),i=new BJ(e,n.a),t=new iPn(i),new Cn(n,t)}function w$(n){var e;return e=n.b.c.length==0?null:sn(n.b,0),e!=null&&T$(n,0),e}function Wme(n,e){var t,i,r;r=e.c.i,t=u(ee(n.f,r),60),i=t.d.c-t.e.c,xQ(e.a,i,0)}function cQ(n,e){var t;for(++n.d,++n.c[e],t=e+1;t<n.a.length;)++n.a[t],t+=t&-t}function YDn(n,e,t,i){nt(),Wd.call(this,26),this.c=n,this.a=e,this.d=t,this.b=i}function ZDn(n,e){for(;e[0]<n.length&&ih(` \r
`,wu(Xi(n,e[0])))>=0;)++e[0]}function Jme(n,e){eu(n,e==null||UM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Qme(n,e){tu(n,e==null||UM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Yme(n,e){Pb(n,e==null||UM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Zme(n,e){Sb(n,e==null||UM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function n4e(n,e,t){return vp(new V(t.e.a+t.f.a/2,t.e.b+t.f.b/2),n)==(Jn(e),e)}function e4e(n,e){return L(e,102)&&u(e,19).Bb&hr?new dN(e,n):new Qm(e,n)}function t4e(n,e){return L(e,102)&&u(e,19).Bb&hr?new dN(e,n):new Qm(e,n)}function dk(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function n$n(n,e){return e==(xN(),xN(),SQn)?n.toLocaleLowerCase():n.toLowerCase()}function e$n(n){if(!n.e)throw T(new nc);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function uQ(n){if(!n.c)throw T(new nc);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function t$n(n){var e;for(++n.a,e=n.c.a.length;n.a<e;++n.a)if(n.c.b[n.a])return}function i4e(n){var e,t;if(n.a){t=null;do e=n.a,n.a=null,t=a_n(e,t);while(n.a);n.a=t}}function r4e(n){var e,t;if(n.b){t=null;do e=n.b,n.b=null,t=a_n(e,t);while(n.b);n.b=t}}function c4e(n,e){var t;for(t=0;n.e!=n.i.gc();)Iwe(e,ue(n),Y(t)),t!=et&&++t}function u4e(n,e){var t;return t=Db(n.e.c,e.e.c),t==0?bt(n.e.d,e.e.d):t}function o4e(n,e){var t,i;for(i=e.c,t=i+1;t<=e.f;t++)n.a[t]>n.a[i]&&(i=t);return i}function i$n(n){var e;return e=u(v(n,(W(),cw)),313),e?e.a==n:!1}function r$n(n){var e;return e=u(v(n,(W(),cw)),313),e?e.i==n:!1}function c$n(){c$n=R,yZn=Me((Vi(),S(C(Pon,1),G,367,0,[Vs,Jh,Ac,Fc,zr])))}function u$n(){u$n=R,rne=Me((o0(),S(C(ine,1),G,375,0,[wj,zI,XI,GI,UI])))}function o$n(){o$n=R,wne=Me((o1(),S(C(Asn,1),G,348,0,[W_,Osn,J_,gv,wv])))}function s$n(){s$n=R,eie=Me((E5(),S(C(Nhn,1),G,323,0,[Lhn,BH,FH,X8,V8])))}function f$n(){f$n=R,Pne=Me((Yo(),S(C(sfn,1),G,171,0,[jj,B8,ja,F8,x0])))}function h$n(){h$n=R,qre=Me((wS(),S(C(Hre,1),G,368,0,[gq,dq,pq,bq,wq])))}function l$n(){l$n=R,qce=Me((D5(),S(C(Hce,1),G,373,0,[D2,A3,a9,l9,Fj])))}function a$n(){a$n=R,Wce=Me((Wk(),S(C(B1n,1),G,324,0,[x1n,Bq,K1n,Fq,R1n])))}function d$n(){d$n=R,zue=Me((ci(),S(C(k9,1),G,88,0,[Jf,Xr,Kr,Wf,us])))}function b$n(){b$n=R,mue=Me((pf(),S(C(Zh,1),G,170,0,[xn,pi,Ih,Fd,E1])))}function w$n(){w$n=R,eoe=Me((Kg(),S(C(M9,1),G,256,0,[Ia,nE,ldn,E9,adn])))}function g$n(){g$n=R,roe=Me((en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])))}function cC(){cC=R,Run=new Hz("BY_SIZE",0),o_=new Hz("BY_SIZE_AND_SHAPE",1)}function uC(){uC=R,m_=new Gz("EADES",0),vI=new Gz("FRUCHTERMAN_REINGOLD",1)}function bk(){bk=R,WI=new Wz("READING_DIRECTION",0),Lsn=new Wz("ROTATION",1)}function e5(){e5=R,IZn=new i0n,OZn=new u0n,SZn=new o0n,PZn=new c0n,AZn=new s0n}function p$n(n){this.b=new Z,this.a=new Z,this.c=new Z,this.d=new Z,this.e=n}function m$n(n){this.g=n,this.f=new Z,this.a=y.Math.min(this.g.c.c,this.g.d.c)}function v$n(n,e,t){HM.call(this),fQ(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function s4e(n,e,t){var i,r;for(r=new M(t);r.a<r.c.c.length;)i=E(r),XZ(n,e,i)}function bf(n,e,t){var i;if(e==null)throw T(new rp);return i=dl(n,e),y3e(n,e,t),i}function g$(n,e){var t;return t=u(ee(n.a,e),137),t||(t=new xA,Ve(n.a,e,t)),t}function $n(n,e){var t;return t=(n.i==null&&bh(n),n.i),e>=0&&e<t.length?t[e]:null}function f4e(n,e){var t;return t=e>0?e-1:e,nEn($he(q$n(JV(new op,t),n.n),n.j),n.k)}function Dr(n){var e,t;t=(e=new hL,e),ve((!n.q&&(n.q=new q(Ps,n,11,10)),n.q),t)}function oQ(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(ll(n),n.o)}function oC(n){return Ec(n,et)>0?et:Ec(n,Wi)<0?Wi:Se(n)}function Qw(n){return n<3?(Mo(n,$zn),n+1):n<X5?wi(n/.75+1):et}function k$n(n,e){return Jn(e),mW(n),n.d.Ob()?(e.Cd(n.d.Pb()),!0):!1}function h4e(n,e){var t,i;return t=u(t0(n.d,e),16),t?(i=e,n.e.pc(i,t)):null}function l4e(n,e,t,i){var r;n.j=-1,xnn(n,wnn(n,e,t),(dr(),r=u(e,69).vk(),r.xl(i)))}function a4e(n,e){return _p(),-jc(u(v(n,(lc(),A2)),17).a,u(v(e,A2),17).a)}function y$n(n,e){return!!c5(n,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))))}function d4e(){return E4(),S(C(kA,1),G,245,0,[mU,mA,vA,pA,pU,gA,wA,gU])}function b4e(){return l1(),S(C(vue,1),G,285,0,[can,yi,Zr,$2,Qi,It,L3,Vf])}function w4e(){return LS(),S(C(Esn,1),G,276,0,[F_,q_,B_,z_,H_,__,G_,U_])}function g4e(n){var e;return e=$(B(v(n,(cn(),m1)))),e<0&&(e=0,U(n,m1,e)),e}function sC(n,e){var t,i;for(i=n.Kc();i.Ob();)t=u(i.Pb(),72),U(t,(W(),S3),e)}function p4e(n,e,t){var i;i=y.Math.max(0,n.b/2-.5),S5(t,i,1),nn(e,new PMn(t,i))}function m4e(n,e,t){var i;return i=n.a.e[u(e.a,10).p]-n.a.e[u(t.a,10).p],wi(K7(i))}function fC(n,e){var t;return ia(n),t=new ROn(n,n.a.zd(),n.a.yd()|4,e),new Cn(n,t)}function p$(n){var e;Rw(!!n.c),e=n.c.a,Xo(n.d,n.c),n.b==n.c?n.b=e:--n.a,n.c=null}function j$n(n){return n.a>=-.01&&n.a<=_f&&(n.a=0),n.b>=-.01&&n.b<=_f&&(n.b=0),n}function Lg(n){Vg();var e,t;for(t=Mrn,e=0;e<n.length;e++)n[e]>t&&(t=n[e]);return t}function E$n(n,e){var t;if(t=uy(n.Dh(),e),!t)throw T(new Gn(wa+e+sF));return t}function Yw(n,e){var t;for(t=n;St(t);)if(t=St(t),t==e)return!0;return!1}function v4e(n,e){var t,i,r;for(i=e.a.ld(),t=u(e.a.md(),16).gc(),r=0;r<t;r++)n.Cd(i)}function nu(n,e){var t,i,r,c;for(Jn(e),i=n.c,r=0,c=i.length;r<c;++r)t=i[r],e.Cd(t)}function M$n(n,e,t,i,r,c){var s;s=JD(i),Zi(s,r),Oi(s,c),In(n.a,i,new GM(s,e,t.f))}function T$n(n,e){ht(n,(_h(),Iq),e.f),ht(n,pce,e.e),ht(n,Pq,e.d),ht(n,gce,e.c)}function C$n(n,e){this.a=new de,this.e=new de,this.b=(d5(),TO),this.c=n,this.b=e}function S$n(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(KE(),GF)}function Xo(n,e){var t;return t=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--n.b,t}function k4e(n,e){return e&&n.b[e.g]==e?($t(n.b,e.g,null),--n.c,!0):!1}function y4e(n,e){if(0>n||n>e)throw T(new wz("fromIndex: 0, toIndex: "+n+jtn+e))}function Cb(n){if(n<0)throw T(new Gn("Illegal Capacity: "+n));this.g=this.aj(n)}function sQ(n,e){return Cf(),Fs(ha),y.Math.abs(n-e)<=ha||n==e||isNaN(n)&&isNaN(e)}function m$(n,e){var t,i,r,c;for(i=n.d,r=0,c=i.length;r<c;++r)t=i[r],Sf(n.g,t).a=e}function j4e(n,e,t){var i,r,c;for(r=e[t],i=0;i<r.length;i++)c=r[i],n.e[c.c.p][c.p]=i}function E4e(n){var e;for(e=0;e<n.c.length;e++)(Nn(e,n.c.length),u(n.c[e],12)).p=e}function M4e(n){var e,t;for(e=n.a.d.j,t=n.c.d.j;e!=t;)_s(n.b,e),e=BC(e);_s(n.b,e)}function T4e(n){var e;return e=y.Math.sqrt(n.a*n.a+n.b*n.b),e>0&&(n.a/=e,n.b/=e),n}function jo(n){var e;return n.w?n.w:(e=lpe(n),e&&!e.Vh()&&(n.w=e),e)}function Bm(n,e){var t,i;i=n.a,t=w5e(n,e,null),i!=e&&!n.e&&(t=N4(n,e,t)),t&&t.oj()}function P$n(n,e,t){var i,r;i=e;do r=$(n.p[i.p])+t,n.p[i.p]=r,i=n.a[i.p];while(i!=e)}function I$n(n,e,t){var i=function(){return n.apply(i,arguments)};return e.apply(i,t),i}function C4e(n){var e;return n==null?null:(e=u(n,195),Kye(e,e.length))}function N(n,e){if(n.g==null||e>=n.i)throw T(new aN(e,n.i));return n.Wi(e,n.g[e])}function S4e(n,e){Ln();var t,i;for(i=new Z,t=0;t<n;++t)Bn(i.c,e);return new jL(i)}function O$n(n){return ia(n),Tp(!0,"n may not be negative"),new Cn(n,new cxn(n.a))}function fQ(n){n.b=(Uu(),ma),n.f=(bu(),va),n.d=(Mo(2,m0),new Gc(2)),n.e=new Ni}function hC(n){this.b=(Pe(n),new _u(n)),this.a=new Z,this.d=new Z,this.e=new Ni}function wf(){wf=R,bc=new xL("BEGIN",0),Wc=new xL(H4,1),wc=new xL("END",2)}function $f(){$f=R,xv=new fN(H4,0),J0=new fN("HEAD",1),Rv=new fN("TAIL",2)}function _p(){_p=R,Kre=ah(ah(ah(s6(new ii,(Qp(),n9)),(K5(),YH)),uln),hln)}function kl(){kl=R,Fre=ah(ah(ah(s6(new ii,(Qp(),t9)),(K5(),sln)),iln),oln)}function A$n(){A$n=R,lne=Me((Yp(),S(C(bv,1),G,232,0,[dv,L8,av,D0,p2,g2])))}function L$n(){L$n=R,vne=Me((vS(),S(C(Dsn,1),G,283,0,[Z_,Y_,eH,nH,tH,JI])))}function N$n(){N$n=R,yne=Me((Xk(),S(C(_sn,1),G,281,0,[YI,Ksn,Fsn,Rsn,Bsn,iH])))}function D$n(){D$n=R,jne=Me((y4(),S(C(Xsn,1),G,282,0,[D8,qsn,zsn,Gsn,Usn,Hsn])))}function $$n(){$$n=R,xZn=Me((Vn(),S(C(A_,1),G,273,0,[Xt,Ti,Zt,_c,Sc,Gf])))}function x$n(){x$n=R,yue=Me((Bh(),S(C(san,1),G,255,0,[zq,Hj,qj,eA,ZO,nA])))}function R$n(){R$n=R,Sue=Me((wd(),S(C(Jq,1),G,297,0,[Wq,p9,g9,Vq,b9,w9])))}function K$n(){K$n=R,Wue=Me((pS(),S(C(rdn,1),G,321,0,[lU,edn,idn,Zan,tdn,ndn])))}function B$n(){B$n=R,toe=Me((Ai(),S(C(ddn,1),G,101,0,[Oa,Qf,Bv,Ud,tl,qc])))}function F$n(){F$n=R,ioe=Me((zu(),S(C(oA,1),G,279,0,[Aa,Rl,eE,C9,T9,R3])))}function _$n(){_$n=R,dI=(wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])).length,f_=dI}function P4e(){return l0(),S(C(yr,1),G,95,0,[Qs,xl,Ys,nf,el,Ts,No,Zs,Ms])}function I4e(n,e){return oa(),jc(n.b.c.length-n.e.c.length,e.b.c.length-e.e.c.length)}function Ng(n,e){return Khe(r5(n,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15)))))}function hQ(n,e){return Cf(),Fs(ha),y.Math.abs(n-e)<=ha||n==e||isNaN(n)&&isNaN(e)}function lC(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,1,t,n.b))}function Fm(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,3,t,n.b))}function Sb(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,3,t,n.f))}function Pb(n,e){var t;t=n.g,n.g=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,4,t,n.g))}function eu(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,5,t,n.i))}function tu(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,6,t,n.j))}function _m(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,1,t,n.j))}function Hm(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,4,t,n.c))}function qm(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,2,t,n.k))}function aC(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&rt(n,new Vw(n,0,t,n.a))}function e1(n,e){var t;t=n.s,n.s=e,n.Db&4&&!(n.Db&1)&&rt(n,new UD(n,4,t,n.s))}function Zw(n,e){var t;t=n.t,n.t=e,n.Db&4&&!(n.Db&1)&&rt(n,new UD(n,5,t,n.t))}function v$(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&rt(n,new UD(n,2,t,n.d))}function Um(n,e){var t;t=n.F,n.F=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,5,t,e))}function wk(n,e){var t;return t=u(ee((tM(),yA),n),57),t?t.gk(e):F(ki,Rn,1,e,5,1)}function O4e(n,e){var t;return t=mi(Fi(u(ee(n.g,e),8)),AX(u(ee(n.f,e),469).b)),t}function A4e(n,e){var t,i,r;return t=(i=(B1(),r=new ZU,r),e&&ren(i,e),i),MQ(t,n),t}function yl(n,e){var t,i;return t=e in n.a,t&&(i=dl(n,e).re(),i)?i.a:null}function H$n(n,e,t){if(i4(n,t),!n.kl()&&t!=null&&!n.fk(t))throw T(new uL);return t}function q$n(n,e){return n.n=e,n.n?(n.f=new Z,n.e=new Z):(n.f=null,n.e=null),n}function U$n(n,e){if(n){e.n=n;var t=g2e(e);if(!t){rI[n]=[e];return}t.Rm=e}}function cd(n){var e;return D6(n==null||Array.isArray(n)&&(e=dk(n),!(e>=14&&e<=16))),n}function Ee(n,e){var t;return Jn(e),t=n[":"+e],x7(!!t,"Enum constant undefined: "+e),t}function we(n,e,t,i,r,c){var s;return s=bD(n,e),U$n(t,s),s.i=r?8:0,s.f=i,s.e=r,s.g=c,s}function lQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=t}function aQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=t}function dQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=t}function bQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=t}function wQ(n,e,t,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=t}function G$n(n,e){var t,i,r,c;for(i=e,r=0,c=i.length;r<c;++r)t=i[r],DDn(n.a,t);return n}function Eo(n){var e,t,i,r;for(t=n,i=0,r=t.length;i<r;++i)e=t[i],Pe(e);return new rCn(n)}function gQ(n){var e;return e=mi(Fi(n.d.d),n.c.d),m4(e,n.c.e.a,n.c.e.b),it(e,n.c.d)}function pQ(n){var e;return e=mi(Fi(n.c.d),n.d.d),m4(e,n.d.e.a,n.d.e.b),it(e,n.d.d)}function L4e(n){var e=/function(?:\s+([\w$]+))?\s*\(/,t=e.exec(n);return t&&t[1]||uK}function N4e(n,e,t){var i,r;return r=n.length,i=y.Math.min(t,r),$nn(n,0,e,0,i,!0),e}function z$n(n,e,t){var i,r;for(r=e.Kc();r.Ob();)i=u(r.Pb(),74),fi(n,u(t.Kb(i),27))}function D4e(n,e){Ep(u(v(u(n.e,10),(cn(),_t)),101))&&(Ln(),Yt(u(n.e,10).j,e))}function $4e(){return DS(),S(C(non,1),G,257,0,[Zun,Wun,Jun,Vun,s_,Yun,Qun,Xun,zun])}function x4e(){return a1(),S(C(Ihn,1),G,265,0,[$H,Chn,Shn,DH,Thn,Phn,MO,Pv,Iv])}function Ib(){Ib=R,Oj=new ZL("BARYCENTER",0),Q8=new ZL(qXn,1),IO=new ZL(UXn,2)}function dC(){dC=R,Whn=new QL("NO",0),WH=new QL(tin,1),Vhn=new QL("LOOK_BACK",2)}function bC(){bC=R,Psn=new HL("ARD",0),VI=new HL("MSD",1),V_=new HL("MANUAL",2)}function gr(){gr=R,W8=new XL(Y5,0),Vu=new XL("INPUT",1),Jc=new XL("OUTPUT",2)}function Gm(){return Uq||(Uq=new Jqn,Dg(Uq,S(C(a2,1),Rn,134,0,[new iG]))),Uq}function Fs(n){if(!(n>=0))throw T(new Gn("tolerance ("+n+") must be >= 0"));return n}function X$n(n,e){var t;return L(e,44)?n.c.Mc(e):(t=wx(n,e),VC(n,e),t)}function Tr(n,e,t){return ad(n,e),zc(n,t),e1(n,0),Zw(n,1),u1(n,!0),c1(n,!0),n}function gk(n,e){var t;if(t=n.gc(),e<0||e>t)throw T(new Fw(e,t));return new CV(n,e)}function wC(n,e){n.b=y.Math.max(n.b,e.d),n.e+=e.r+(n.a.c.length==0?0:n.c),nn(n.a,e)}function V$n(n){Rw(n.c>=0),_8e(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function gC(n){var e,t;for(t=n.c.Cc().Kc();t.Ob();)e=u(t.Pb(),16),e.$b();n.c.$b(),n.d=0}function R4e(n){var e,t,i,r;for(t=n.a,i=0,r=t.length;i<r;++i)e=t[i],_In(e,e.length,null)}function t5(n,e){var t,i,r,c;for(i=e,r=0,c=i.length;r<c;++r)t=i[r],xt(n,t,n.c.b,n.c)}function W$n(n,e){var t,i;for(t=0,i=n.gc();t<i;++t)if(mc(e,n.Xb(t)))return t;return-1}function mQ(n){var e,t;if(n==0)return 32;for(t=0,e=1;!(e&n);e<<=1)++t;return t}function Mo(n,e){if(n<0)throw T(new Gn(e+" cannot be negative but was: "+n));return n}function K4e(n,e){typeof window===my&&typeof window.$gwt===my&&(window.$gwt[n]=e)}function pC(n,e){return Rhe(c5(n.a,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15)))))}function B4e(n,e,t){return Ww(n,new p9n(e),new Gbn,new m9n(t),S(C(xr,1),G,108,0,[]))}function F4e(){return io(),S(C(wdn,1),G,264,0,[Fv,cE,sA,P9,fA,lA,hA,aU,rE])}function J$n(){J$n=R,wQn=S(C(ye,1),_e,28,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function i5(){i5=R,N8=new _L("LAYER_SWEEP",0),gj=new _L(sB,1),Csn=new _L(kh,2)}function vQ(){vQ=R,gie=Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)}function Q$n(){Q$n=R,pie=Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)}function kQ(){kQ=R,mie=Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)}function Y$n(){Y$n=R,vie=Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)}function Z$n(){Z$n=R,kie=Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)}function nxn(){nxn=R,yie=Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)}function exn(){exn=R,Mie=Iu(Fe(Fe(new ii,(Vi(),Ac),(tr(),DI)),Fc,II),zr,NI)}function _4e(n){var e,t;for(t=new M(GBn(n));t.a<t.c.c.length;)e=u(E(t),695),e._f()}function H4e(){AEn();for(var n=BF,e=0;e<arguments.length;e++)n.push(arguments[e])}function txn(n){Az(),this.g=new de,this.f=new de,this.b=new de,this.c=new jb,this.i=n}function yQ(){this.f=new Ni,this.d=new YG,this.c=new Ni,this.a=new Z,this.b=new Z}function ixn(n,e,t,i){this.ak(),this.a=e,this.b=n,this.c=null,this.c=new YSn(this,e,t,i)}function k$(n,e,t,i,r){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function rxn(){xX.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Gs}function cxn(n){IM.call(this,n.Ad(64)?IX(0,bs(n.zd(),1)):jy,n.yd()),this.b=1,this.a=n}function q4e(n,e){return _p(),u(v(e,(lc(),A2)),17).a<n.gc()&&u(v(e,A2),17).a>=0}function jQ(n,e){n.r>0&&n.c<n.r&&(n.c+=e,n.i&&n.i.d>0&&n.g!=0&&jQ(n.i,e/n.r*n.i.d))}function EQ(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,1,t,n.c))}function y$(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,4,t,n.c))}function zm(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,2,t,n.k))}function j$(n,e){var t;t=n.D,n.D=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,2,t,n.D))}function mC(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,8,t,n.f))}function vC(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,7,t,n.i))}function MQ(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,8,t,n.a))}function TQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,0,t,n.b))}function CQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,0,t,n.b))}function SQ(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,1,t,n.c))}function PQ(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,1,t,n.d))}function U4e(n,e,t){var i;n.b=e,n.a=t,i=(n.a&512)==512?new wjn:new tG,n.c=rSe(i,n.b,n.a)}function uxn(n,e){return Pl(n.e,e)?(dr(),a$(e)?new nT(e,n):new k7(e,n)):new DTn(e,n)}function G4e(n){var e,t;return 0>n?new Oz:(e=n+1,t=new mNn(e,n),new cV(null,t))}function z4e(n,e){Ln();var t;return t=new ap(1),Si(n)?Lr(t,n,e):Vc(t.f,n,e),new eL(t)}function X4e(n,e){var t,i;return t=n.c,i=e.e[n.p],i>0?u(sn(t.a,i-1),10):null}function V4e(n,e){var t,i;return t=n.o+n.p,i=e.o+e.p,t<i?-1:t==i?0:1}function W4e(n){var e;return e=v(n,(W(),st)),L(e,167)?MKn(u(e,167)):null}function oxn(n){var e;return n=y.Math.max(n,2),e=WQ(n),n>e?(e<<=1,e>0?e:X5):e}function E$(n){switch(BX(n.e!=3),n.e){case 2:return!1;case 0:return!0}return ime(n)}function sxn(n,e){var t;return L(e,8)?(t=u(e,8),n.a==t.a&&n.b==t.b):!1}function J4e(n,e){var t;t=new vE,u(e.b,68),u(e.b,68),u(e.b,68),nu(e.a,new xV(n,t,e))}function fxn(n,e){var t,i;for(i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),Gk(n,t.ld(),t.md())}function IQ(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,11,t,n.d))}function kC(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,13,t,n.j))}function OQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,21,t,n.b))}function Q4e(n,e){(UT(),Uf?null:e.c).length==0&&TSn(e,new xU),Lr(n.a,Uf?null:e.c,e)}function Y4e(n,e){e.Ug("Hierarchical port constraint processing",1),g9e(n),xNe(n),e.Vg()}function Ob(){Ob=R,rw=new FL("START",0),ka=new FL("MIDDLE",1),iw=new FL("END",2)}function yC(){yC=R,BO=new cX("P1_NODE_PLACEMENT",0),N2=new cX("P2_EDGE_ROUTING",1)}function Y1(){Y1=R,y3=new lt(Xtn),jI=new lt(TXn),O8=new lt(CXn),hj=new lt(SXn)}function Ab(n){var e;return RN(n.f.g,n.d),oe(n.b),n.c=n.a,e=u(n.a.Pb(),44),n.b=qQ(n),e}function AQ(n){var e;return n.b==null?(Gl(),Gl(),aE):(e=n.ul()?n.tl():n.sl(),e)}function hxn(n,e){var t;return t=e==null?-1:qr(n.b,e,0),t<0?!1:(T$(n,t),!0)}function _s(n,e){var t;return Jn(e),t=e.g,n.b[t]?!1:($t(n.b,t,e),++n.c,!0)}function jC(n,e){var t,i;return t=1-e,i=n.a[t],n.a[t]=i.a[e],i.a[e]=n,n.b=!0,i.b=!1,i}function Z4e(n,e){var t,i;for(i=e.Kc();i.Ob();)t=u(i.Pb(),272),n.b=!0,fi(n.e,t),t.b=n}function nve(n,e){var t,i;return t=u(v(n,(cn(),H0)),8),i=u(v(e,H0),8),bt(t.b,i.b)}function M$(n,e,t){var i,r,c;return c=e>>5,r=e&31,i=vi(G1(n.n[t][c],Se(Ks(r,1))),3),i}function lxn(n,e,t){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i<t;r=r+1&c,++i)$t(e,i,n.a[r])}function T$(n,e){var t;t=Yl(n.b,n.b.c.length-1),e<n.b.c.length&&(Go(n.b,e,t),$_n(n,e))}function axn(n,e){var t;return t=u(ee(n.c,e),466),t||(t=new Wyn,t.c=e,Ve(n.c,t.c,t)),t}function eve(n,e){var t,i;i=new Z,t=e;do Bn(i.c,t),t=u(ee(n.k,t),18);while(t);return i}function C$(n,e,t){var i;return i=new Z,oen(n,e,i,t,!0,!0),n.b=new EC(i.c.length),i}function ud(n,e){var t,i;for(t=n.Pc(),xm(t,0,t.length,e),i=0;i<t.length;i++)n.hd(i,t[i])}function LQ(n){var e,t;for(t=new ne(n);t.e!=t.i.gc();)e=u(ue(t),27),eu(e,0),tu(e,0)}function dxn(n){this.e=n,this.d=new GE(Qw(Cp(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function EC(n){this.b=n,this.a=F(ye,_e,28,n+1,15,1),this.c=F(ye,_e,28,n,15,1),this.d=0}function bxn(n,e,t){C$n.call(this,e,t),this.d=F(Qh,b1,10,n.a.c.length,0,1),Rf(n.a,this.d)}function wxn(n,e,t){gJ.call(this,n,e,t),this.a=new de,this.b=new de,this.d=new H7n(this)}function gxn(n){hW.call(this),this.b=$(B(v(n,(cn(),Ws)))),this.a=u(v(n,$l),223)}function S$(n,e){var t;return L(e,16)?(t=u(e,16),n.Gc(t)):b$(n,u(Pe(e),20).Kc())}function tve(n,e){Ut(ut(new Cn(null,new On(new qa(n.b),1)),new sTn(n,e)),new hTn(n,e))}function ive(n,e){e.Ug(HXn,1),Ut(rc(new Cn(null,new On(n.b,16)),new C0n),new S0n),e.Vg()}function mt(n){return Si(n)?t1(n):$w(n)?pp(n):Dw(n)?SSn(n):wW(n)?n.Hb():sW(n)?fb(n):QW(n)}function pxn(n){var e,t;for(t=n.c.a.ec().Kc();t.Ob();)e=u(t.Pb(),219),efe(e,new xIn(e.f))}function NQ(n){var e,t;for(t=n.c.a.ec().Kc();t.Ob();)e=u(t.Pb(),219),tfe(e,new JFn(e.e))}function zc(n,e){var t;t=n.zb,n.zb=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,1,t,n.zb))}function MC(n,e){var t;t=n.xb,n.xb=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,3,t,n.xb))}function TC(n,e){var t;t=n.yb,n.yb=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,2,t,n.yb))}function Rt(n,e){var t,i;t=(i=new fL,i),t.n=e,ve((!n.s&&(n.s=new q(ku,n,21,17)),n.s),t)}function jt(n,e){var t,i;i=(t=new iV,t),i.n=e,ve((!n.s&&(n.s=new q(ku,n,21,17)),n.s),i)}function Ki(n,e){var t,i,r;for(Jn(e),t=!1,r=e.Kc();r.Ob();)i=r.Pb(),t=t|n.Fc(i);return t}function mxn(n){var e,t,i;for(e=0,i=n.Kc();i.Ob();)t=i.Pb(),e+=t!=null?mt(t):0,e=~~e;return e}function P$(n,e){var t=n.a,i=0;for(var r in t)t.hasOwnProperty(r)&&(e[i++]=r);return e}function vxn(n){var e;return n==0?"UTC":(n<0?(n=-n,e="UTC+"):e="UTC-",e+QDn(n))}function DQ(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=W7(vc(n.f))),n.c).e}function kxn(n,e){e?n.B==null&&(n.B=n.D,n.D=null):n.B!=null&&(n.D=n.B,n.B=null)}function rve(n,e){return Zm(),n==tw&&e==O0||n==O0&&e==tw||n==d2&&e==I0||n==I0&&e==d2}function cve(n,e){return Zm(),n==tw&&e==I0||n==tw&&e==d2||n==O0&&e==d2||n==O0&&e==I0}function yxn(n,e){return Cf(),Fs(_f),y.Math.abs(0-e)<=_f||e==0||isNaN(0)&&isNaN(e)?0:n/e}function jxn(n,e){return $(B(ho(Lk(_r(new Cn(null,new On(n.c.b,16)),new I7n(n)),e))))}function $Q(n,e){return $(B(ho(Lk(_r(new Cn(null,new On(n.c.b,16)),new P7n(n)),e))))}function uve(){return pr(),S(C(rH,1),G,259,0,[ZI,cs,$8,nO,kv,v2,x8,mv,vv,eO])}function ove(){return ps(),S(C(Khn,1),G,243,0,[SO,Sj,Pj,$hn,xhn,Dhn,Rhn,PO,ww,U0])}function sve(n,e){var t;e.Ug("General Compactor",1),t=d8e(u(z(n,(sa(),kq)),393)),t.Cg(n)}function fve(n,e){var t,i;return t=u(z(n,(sa(),_O)),17),i=u(z(e,_O),17),jc(t.a,i.a)}function xQ(n,e,t){var i,r;for(r=ge(n,0);r.b!=r.d.c;)i=u(be(r),8),i.a+=e,i.b+=t;return n}function r5(n,e,t){var i;for(i=n.b[t&n.f];i;i=i.b)if(t==i.a&&sh(e,i.g))return i;return null}function c5(n,e,t){var i;for(i=n.c[t&n.f];i;i=i.d)if(t==i.f&&sh(e,i.i))return i;return null}function hve(n,e,t){var i,r,c;for(i=0,r=0;r<t;r++)c=e[r],n[r]=c<<1|i,i=c>>>31;i!=0&&(n[t]=i)}function I$(n,e,t,i,r,c){var s;this.c=n,s=new Z,wZ(n,s,e,n.b,t,i,r,c),this.a=new xi(s,0)}function Exn(){this.c=new zE(0),this.b=new zE(Ern),this.d=new zE(lVn),this.a=new zE(QK)}function Vo(n,e,t,i,r,c,s){je.call(this,n,e),this.d=t,this.e=i,this.c=r,this.b=c,this.a=Af(s)}function Gt(n,e,t,i,r,c,s,f,h,l,a,d,g){return I_n(n,e,t,i,r,c,s,f,h,l,a,d,g),sx(n,!1),n}function lve(n){return n.b.c.i.k==(Vn(),Zt)?u(v(n.b.c.i,(W(),st)),12):n.b.c}function Mxn(n){return n.b.d.i.k==(Vn(),Zt)?u(v(n.b.d.i,(W(),st)),12):n.b.d}function ave(n){var e;return e=KT(n),cb(e.a,0)?(JE(),JE(),PQn):(JE(),new cSn(e.b))}function O$(n){var e;return e=bJ(n),cb(e.a,0)?(Ow(),Ow(),ZF):(Ow(),new SN(e.b))}function A$(n){var e;return e=bJ(n),cb(e.a,0)?(Ow(),Ow(),ZF):(Ow(),new SN(e.c))}function Txn(n){switch(n.g){case 2:return en(),Wn;case 4:return en(),Zn;default:return n}}function Cxn(n){switch(n.g){case 1:return en(),ae;case 3:return en(),Xn;default:return n}}function Sxn(n){switch(n.g){case 0:return new f4n;case 1:return new h4n;default:return null}}function Hp(){Hp=R,$_=new Lt("edgelabelcenterednessanalysis.includelabel",(_n(),pa))}function RQ(){RQ=R,Tie=ah(VTn(Fe(Fe(new ii,(Vi(),Ac),(tr(),DI)),Fc,II),zr),NI)}function Pxn(){Pxn=R,Iie=ah(VTn(Fe(Fe(new ii,(Vi(),Ac),(tr(),DI)),Fc,II),zr),NI)}function L$(){L$=R,N9=new hjn,jU=S(C(ku,1),f2,179,0,[]),Joe=S(C(Ps,1),Hcn,62,0,[])}function Xm(){Xm=R,aj=new zz("TO_INTERNAL_LTR",0),L_=new zz("TO_INPUT_DIRECTION",1)}function Au(){Au=R,Ron=new b0n,$on=new w0n,xon=new g0n,Don=new p0n,Kon=new m0n,Bon=new v0n}function dve(n,e){e.Ug(HXn,1),FY(Qhe(new IE((r6(),new kD(n,!1,!1,new _U))))),e.Vg()}function bve(n,e,t){t.Ug("DFS Treeifying phase",1),A8e(n,e),ICe(n,e),n.a=null,n.b=null,t.Vg()}function pk(n,e){return _n(),Si(n)?RJ(n,Ae(e)):$w(n)?tD(n,B(e)):Dw(n)?r0e(n,un(e)):n.Fd(e)}function u5(n,e){var t,i;for(Jn(e),i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),n.zc(t.ld(),t.md())}function wve(n,e,t){var i;for(i=t.Kc();i.Ob();)if(!_T(n,e,i.Pb()))return!1;return!0}function gve(n,e,t,i,r){var c;return t&&(c=At(e.Dh(),n.c),r=t.Rh(e,-1-(c==-1?i:c),null,r)),r}function pve(n,e,t,i,r){var c;return t&&(c=At(e.Dh(),n.c),r=t.Th(e,-1-(c==-1?i:c),null,r)),r}function Ixn(n){var e;if(n.b==-2){if(n.e==0)e=-1;else for(e=0;n.a[e]==0;e++);n.b=e}return n.b}function mve(n){if(Jn(n),n.length==0)throw T(new th("Zero length BigInteger"));MPe(this,n)}function KQ(n){this.i=n.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),n.Qc(this.g))}function Oxn(n,e,t){this.g=n,this.d=e,this.e=t,this.a=new Z,OEe(this),Ln(),Yt(this.a,null)}function BQ(n,e){e.q=n,n.d=y.Math.max(n.d,e.r),n.b+=e.d+(n.a.c.length==0?0:n.c),nn(n.a,e)}function Vm(n,e){var t,i,r,c;return r=n.c,t=n.c+n.b,c=n.d,i=n.d+n.a,e.a>r&&e.a<t&&e.b>c&&e.b<i}function n0(n,e){var t,i;for(i=ge(n,0);i.b!=i.d.c;)t=u(be(i),8),t.a+=e.a,t.b+=e.b;return n}function vve(n){var e,t,i;for(i=0,t=new M(n.b);t.a<t.c.c.length;)e=u(E(t),30),e.p=i,++i}function kve(n){var e,t,i;return n.j==(en(),Xn)&&(e=mHn(n),t=Su(e,Zn),i=Su(e,Wn),i||i&&t)}function yve(n,e){var t;return t=nnn(n),Onn(new V(t.c,t.d),new V(t.b,t.a),n.Mf(),e,n.ag())}function FQ(n,e){var t;t=u(e,190),nd(t,"x",n.i),nd(t,"y",n.j),nd(t,dF,n.g),nd(t,aF,n.f)}function CC(n,e){var t;L(e,85)?(u(n.c,79).Gk(),t=u(e,85),fxn(n,t)):u(n.c,79).Wb(e)}function o5(n,e){var t,i;for(Jn(e),i=n.vc().Kc();i.Ob();)t=u(i.Pb(),44),e.Yd(t.ld(),t.md())}function jve(n,e){var t;for(Pe(e);n.Ob();)if(t=n.Pb(),!HQ(u(t,10)))return!1;return!0}function Eve(){var n;return r_||(r_=new Kyn,n=new VD(""),Kle(n,(lm(),Nun)),Q4e(r_,n)),r_}function Axn(n,e){return Ww(new b9n(n),new w9n(e),new g9n(e),new Ubn,S(C(xr,1),G,108,0,[]))}function SC(){SC=R,Eq=new iN(kh,0),c1n=new iN("POLAR_COORDINATE",1),r1n=new iN("ID",2)}function PC(){PC=R,Hhn=new VL("EQUALLY",0),GH=new VL(eP,1),qhn=new VL("NORTH_SOUTH",2)}function Wm(){Wm=R,I8=new Lt("debugSVG",(_n(),!1)),ron=new Lt("overlapsExisted",!0)}function Lxn(){Lxn=R,kue=Me((l1(),S(C(vue,1),G,285,0,[can,yi,Zr,$2,Qi,It,L3,Vf])))}function Nxn(){Nxn=R,Ioe=Me((E4(),S(C(kA,1),G,245,0,[mU,mA,vA,pA,pU,gA,wA,gU])))}function Dxn(){Dxn=R,hne=Me((LS(),S(C(Esn,1),G,276,0,[F_,q_,B_,z_,H_,__,G_,U_])))}function $xn(){return K5(),S(C(CDe,1),G,262,0,[YH,uln,hln,lln,fln,cln,aln,iln,sln,oln,rln])}function od(n,e,t){var i,r;return r=u(N6(n.d,e),17),i=u(N6(n.b,t),17),!r||!i?null:Bp(n,r.a,i.a)}function xxn(n,e){var t;return t=CR(Gm(),n),t?(ht(e,(He(),q2),t),!0):!1}function Rxn(n){return Kw(),n.A.Hc((go(),Q0))&&!n.B.Hc((io(),cE))?NKn(n):null}function Kxn(){this.a=u(rn((Us(),kI)),17).a,this.c=$(B(rn(yI))),this.b=$(B(rn(v_)))}function sd(n){this.f=n,this.e=new TJ(this.f.i),this.a=this.e,this.b=qQ(this),this.d=this.f.g}function Ft(n,e){JM.call(this,Qoe,n,e),this.b=this,this.a=ru(n.Dh(),$n(this.e.Dh(),this.c))}function Mve(n,e){var t,i;for(i=new M(e.b);i.a<i.c.c.length;)t=u(E(i),30),n.a[t.p]=ije(t)}function To(n,e){var t;for(t=0;t<e.j.c.length;t++)u(hk(n,t),21).Gc(u(hk(e,t),16));return n}function N$(n,e,t,i){var r;r=n.a.length,t>r?t=r:zn(e,t+1),n.a=qo(n.a,0,e)+(""+i)+NW(n.a,t)}function Bxn(n,e){n.a=nr(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d=nr(n.d,e)}function Tve(n,e){return e<n.b.gc()?u(n.b.Xb(e),10):e==n.b.gc()?n.a:u(sn(n.e,e-n.b.gc()-1),10)}function Cve(n,e,t){return bt(vp(g4(n),new V(e.e.a,e.e.b)),vp(g4(n),new V(t.e.a,t.e.b)))}function Sve(n,e,t){return n==(Ib(),IO)?new Vpn:to(e,1)!=0?new yz(t.length):new Vjn(t.length)}function rt(n,e){var t,i,r;if(t=n.th(),t!=null&&n.wh())for(i=0,r=t.length;i<r;++i)t[i].dj(e)}function Pve(n,e){var t,i,r;for(t=n.c.Xe(),r=e.Kc();r.Ob();)i=r.Pb(),n.a.Yd(t,i);return n.b.Kb(t)}function Jm(n,e){var t,i;for(t=n,i=Hi(t).e;i;){if(t=i,t==e)return!0;i=Hi(t).e}return!1}function Z1(n){var e;return e=n.h,e==0?n.l+n.m*o3:e==Ol?n.l+n.m*o3-vd:n}function Ive(n,e,t){var i,r;return i=n.a.f[e.p],r=n.a.f[t.p],i<r?-1:i==r?0:1}function Ove(n,e){var t,i;for(i=new M(e);i.a<i.c.c.length;)t=u(E(i),72),nn(n.d,t),Yye(n,t)}function Ave(n,e){var t;e.Ug("Edge and layer constraint edge reversal",1),t=FSe(n),pLe(t),e.Vg()}function Lve(n,e){var t,i;for(i=new ne(n);i.e!=i.i.gc();)t=u(ue(i),27),Bo(t,t.i+e.b,t.j+e.d)}function Fxn(n){var e;n.d==null?(++n.e,n.f=0,YRn(null)):(++n.e,e=n.d,n.d=null,n.f=0,YRn(e))}function Nve(n){var e;if(n.a==n.b.a)throw T(new nc);return e=n.a,n.c=e,n.a=u(as(n.a.e),227),e}function Un(n,e){var t;return n.Db&e?(t=Bx(n,e),t==-1?n.Eb:cd(n.Eb)[t]):null}function hc(n,e){var t,i;return t=(i=new rG,i),t.G=e,!n.rb&&(n.rb=new Hw(n,Mf,n)),ve(n.rb,t),t}function Je(n,e){var t,i;return t=(i=new $E,i),t.G=e,!n.rb&&(n.rb=new Hw(n,Mf,n)),ve(n.rb,t),t}function _xn(n,e,t,i){L(n.Cb,184)&&(u(n.Cb,184).tb=null),zc(n,t),e&&JEe(n,e),i&&n.gl(!0)}function Hxn(n,e){n.c&&(cUn(n,e,!0),Ut(new Cn(null,new On(e,16)),new $7n(n))),cUn(n,e,!1)}function Dve(n){bCn();var e;return mMn(QH,n)||(e=new M3n,e.a=n,wV(QH,n,e)),u(Mr(QH,n),645)}function IC(n){var e;if(n.g>1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw T(new nc)}function qxn(n){switch(n.a.g){case 1:return new VMn;case 3:return new VBn;default:return new o8n}}function _Q(n,e){switch(e){case 1:return!!n.n&&n.n.i!=0;case 2:return n.k!=null}return dJ(n,e)}function vc(n){return Cy<n&&n<vd?n<0?y.Math.ceil(n):y.Math.floor(n):Z1(sCe(n))}function mk(n){var e;return n<128?(eIn(),e=bun[n],!e&&(e=bun[n]=new kG(n)),e):new kG(n)}function $ve(n,e){var t;try{e.de()}catch(i){if(i=Ot(i),L(i,82))t=i,Bn(n.c,t);else throw T(i)}}function ds(n){var e,t,i,r;return r=n,i=0,r<0&&(r+=vd,i=Ol),t=wi(r/o3),e=wi(r-t*o3),Yc(e,t,i)}function vk(n){var e,t,i;for(i=0,t=new dp(n.a);t.a<t.c.a.length;)e=Y6(t),n.b.Hc(e)&&++i;return i}function xve(n){var e,t,i;for(e=1,i=n.Kc();i.Ob();)t=i.Pb(),e=31*e+(t==null?0:mt(t)),e=~~e;return e}function Ur(n,e){var t;return e&&(t=e.nf(),t.dc()||(n.q?u5(n.q,t):n.q=new KTn(t))),n}function Uxn(n,e){var t;return t=n.a.get(e),t===void 0?++n.d:(Iae(n.a,e),--n.c,++n.b.g),t}function Rve(n,e){var t,i,r;return t=e.p-n.p,t==0?(i=n.f.a*n.f.b,r=e.f.a*e.f.b,bt(i,r)):t}function Kve(n,e){var t,i;return t=n.j,i=e.j,t!=i?t.g-i.g:n.p==e.p?0:t==(en(),Xn)?n.p-e.p:e.p-n.p}function s5(n,e,t,i,r){$t(n.c[e.g],t.g,i),$t(n.c[t.g],e.g,i),$t(n.b[e.g],t.g,r),$t(n.b[t.g],e.g,r)}function fd(n,e,t){this.b=(Jn(n),n),this.d=(Jn(e),e),this.e=(Jn(t),t),this.c=this.d+(""+this.e)}function Qm(n,e){this.b=n,this.e=e,this.d=e.j,this.f=(dr(),u(n,69).xk()),this.k=ru(e.e.Dh(),n)}function kk(n){this.n=new Z,this.e=new Mt,this.j=new Mt,this.k=new Z,this.f=new Z,this.p=n}function Gxn(n){n.r=new ni,n.w=new ni,n.t=new Z,n.i=new Z,n.d=new ni,n.a=new mp,n.c=new de}function Lb(){Lb=R,ij=new oM("UP",0),tj=new oM(_K,1),l_=new oM(s3,2),a_=new oM(f3,3)}function Ym(){Ym=R,cH=new UL("ONE_SIDED",0),uH=new UL("TWO_SIDED",1),pj=new UL("OFF",2)}function D$(){D$=R,A1n=new sX("EQUAL_BETWEEN_STRUCTURES",0),L1n=new sX("TO_ASPECT_RATIO",1)}function zxn(){zxn=R,Yte=Me((a1(),S(C(Ihn,1),G,265,0,[$H,Chn,Shn,DH,Thn,Phn,MO,Pv,Iv])))}function Xxn(){Xxn=R,hoe=Me((io(),S(C(wdn,1),G,264,0,[Fv,cE,sA,P9,fA,lA,hA,aU,rE])))}function Vxn(){Vxn=R,noe=Me((l0(),S(C(yr,1),G,95,0,[Qs,xl,Ys,nf,el,Ts,No,Zs,Ms])))}function Wxn(){Wxn=R,UQn=Me((DS(),S(C(non,1),G,257,0,[Zun,Wun,Jun,Vun,s_,Yun,Qun,Xun,zun])))}function HQ(n){var e;return e=u(v(n,(W(),gc)),64),n.k==(Vn(),Zt)&&(e==(en(),Wn)||e==Zn)}function Bve(n,e,t){var i,r;r=u(v(n,(cn(),Rr)),75),r&&(i=new Tu,J$(i,0,r),n0(i,t),Ki(e,i))}function OC(n,e,t){var i,r,c,s;s=Hi(n),i=s.d,r=s.c,c=n.n,e&&(c.a=c.a-i.b-r.a),t&&(c.b=c.b-i.d-r.b)}function Fve(n,e){var t,i;return t=n.f.c.length,i=e.f.c.length,t<i?-1:t==i?0:1}function _ve(n){return n.b.c.length!=0&&u(sn(n.b,0),72).a?u(sn(n.b,0),72).a:vD(n)}function Hve(n){var e;if(n){if(e=n,e.dc())throw T(new nc);return e.Xb(e.gc()-1)}return NAn(n.Kc())}function Jxn(n){var e;return Ec(n,0)<0&&(n=XV(n)),e=Se(G1(n,32)),64-(e!=0?ty(e):ty(Se(n))+32)}function qve(){return UT(),Uf?new VD(null):wHn(Eve(),"com.google.common.base.Strings")}function $$(n,e,t,i){return t==1?(!n.n&&(n.n=new q(Sr,n,1,7)),cr(n.n,e,i)):snn(n,e,t,i)}function yk(n,e){var t,i;return i=(t=new UA,t),zc(i,e),ve((!n.A&&(n.A=new Cu(fu,n,7)),n.A),i),i}function Uve(n,e,t){var i,r,c,s;return c=null,s=e,r=Tb(s,gF),i=new bTn(n,t),c=(yke(i.a,i.b,r),r),c}function x$(n){var e;return(!n.a||!(n.Bb&1)&&n.a.Vh())&&(e=gs(n),L(e,156)&&(n.a=u(e,156))),n.a}function jk(n,e){var t,i;for(Jn(e),i=e.Kc();i.Ob();)if(t=i.Pb(),!n.Hc(t))return!1;return!0}function Gve(n,e){var t,i,r;return t=n.l+e.l,i=n.m+e.m+(t>>22),r=n.h+e.h+(i>>22),Yc(t&ro,i&ro,r&Ol)}function Qxn(n,e){var t,i,r;return t=n.l-e.l,i=n.m-e.m+(t>>22),r=n.h-e.h+(i>>22),Yc(t&ro,i&ro,r&Ol)}function zve(n){var e,t;for(BLe(n),t=new M(n.d);t.a<t.c.c.length;)e=u(E(t),105),e.i&&Dje(e)}function Ot(n){var e;return L(n,82)?n:(e=n&&n.__java$exception,e||(e=new URn(n),Lyn(e)),e)}function Ek(n){if(L(n,193))return u(n,123);if(n)return null;throw T(new fp(MWn))}function qQ(n){return n.a.Ob()?!0:n.a!=n.e?!1:(n.a=new XJ(n.f.f),n.a.Ob())}function Yxn(n,e){if(e==null)return!1;for(;n.a!=n.b;)if(ct(e,xC(n)))return!0;return!1}function Zxn(n,e){return!n||!e||n==e?!1:BKn(n.d.c,e.d.c+e.d.b)&&BKn(e.d.c,n.d.c+n.d.b)}function hi(n,e){var t,i;return t=e.Pc(),i=t.length,i==0?!1:(UV(n.c,n.c.length,t),!0)}function Xve(n,e,t){var i,r;for(r=e.vc().Kc();r.Ob();)i=u(r.Pb(),44),n.yc(i.ld(),i.md(),t);return n}function R$(n){var e,t,i;for(e=new Mt,i=ge(n.d,0);i.b!=i.d.c;)t=u(be(i),65),Re(e,t.c);return e}function nRn(n,e){var t,i;for(i=new M(n.b);i.a<i.c.c.length;)t=u(E(i),72),U(t,(W(),S3),e)}function Vve(n,e,t){var i,r;for(r=new M(n.b);r.a<r.c.c.length;)i=u(E(r),27),Bo(i,i.i+e,i.j+t)}function eRn(n,e){if(!n)throw T(new Gn(R5("value already present: %s",S(C(ki,1),Rn,1,5,[e]))))}function Wve(n,e,t,i,r){return Vg(),y.Math.min(OGn(n,e,t,i,r),OGn(t,i,n,e,_M(new V(r.a,r.b))))}function Jve(n,e,t,i){u(t.b,68),u(t.b,68),u(i.b,68),u(i.b,68),u(i.b,68),nu(i.a,new $V(n,e,i))}function Qve(n,e){n.d==(ci(),Kr)||n.d==us?u(e.a,60).c.Fc(u(e.b,60)):u(e.b,60).c.Fc(u(e.a,60))}function tRn(n,e){var t;return t=Lh(e.a.gc()),Ut(fC(new Cn(null,new On(e,1)),n.i),new uTn(n,t)),t}function iRn(n){var e,t;return t=(e=new UA,e),zc(t,"T"),ve((!n.d&&(n.d=new Cu(fu,n,11)),n.d),t),t}function UQ(n){var e,t,i,r;for(e=1,t=0,r=n.gc();t<r;++t)i=n.Vi(t),e=31*e+(i==null?0:mt(i));return e}function rRn(n,e,t,i){var r;return Y7(e,n.e.Rd().gc()),Y7(t,n.c.Rd().gc()),r=n.a[e][t],$t(n.a[e],t,i),r}function S(n,e,t,i,r){return r.Rm=n,r.Sm=e,r.Tm=Q2,r.__elementTypeId$=t,r.__elementTypeCategory$=i,r}function AC(){AC=R,x_=new aM(kh,0),HI=new aM(GXn,1),qI=new aM(zXn,2),bj=new aM("BOTH",3)}function xf(){xf=R,j3=new dM(H4,0),hv=new dM(s3,1),lv=new dM(f3,2),R_=new dM("TOP",3)}function Zm(){Zm=R,tw=new hM("Q1",0),O0=new hM("Q4",1),I0=new hM("Q2",2),d2=new hM("Q3",3)}function LC(){LC=R,JH=new YL("OFF",0),Ov=new YL("SINGLE_EDGE",1),G0=new YL("MULTI_EDGE",2)}function Mk(){Mk=R,YO=new hX("MINIMUM_SPANNING_TREE",0),tan=new hX("MAXIMUM_SPANNING_TREE",1)}function qp(){qp=R,bue=new p4n,due=new g4n}function GQ(n){var e,t;return t=(B1(),e=new yE,e),n&&ve((!n.a&&(n.a=new q(Tt,n,6,6)),n.a),t),t}function K$(n){var e,t,i,r;for(r=new Z,i=n.Kc();i.Ob();)t=u(i.Pb(),27),e=a0(t),hi(r,e);return r}function Yve(n,e){var t,i;for(TT(e,"predicate"),i=0;n.Ob();i++)if(t=n.Pb(),e.Lb(t))return i;return-1}function Up(n,e){var t,i;if(i=0,n<64&&n<=e)for(e=e<64?e:63,t=n;t<=e;t++)i=lf(i,Ks(1,t));return i}function Zve(n,e){var t,i;return t=n.c,i=e.e[n.p],i<t.a.c.length-1?u(sn(t.a,i+1),10):null}function zQ(n){Ln();var e,t,i;for(i=0,t=n.Kc();t.Ob();)e=t.Pb(),i=i+(e!=null?mt(e):0),i=i|0;return i}function n6e(n){var e,t,i;return e=u(n.e&&n.e(),9),i=(t=e.slice(),u(o$(t,e),9)),new _o(e,i,e.length)}function cRn(n,e,t){var i;Hu(n.a),nu(t.i,new Pkn(n)),i=new LM(u(ee(n.a,e.b),68)),WKn(n,i,e),t.f=i}function e6e(n){var e;Hb(n,!0),e=d1,kt(n,(cn(),Tv))&&(e+=u(v(n,Tv),17).a),U(n,Tv,Y(e))}function t6e(n){var e;return e=new ul,e.a=n,e.b=a6e(n),e.c=F(fn,J,2,2,6,1),e.c[0]=vxn(n),e.c[1]=vxn(n),e}function uRn(n){var e,t,i;return t=n.n,i=n.o,e=n.d,new Ho(t.a-e.b,t.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function i6e(n,e){return!n||!e||n==e?!1:Db(n.b.c,e.b.c+e.b.b)<0&&Db(e.b.c,n.b.c+n.b.b)<0}function oRn(n){switch(n.g){case 1:return Pa;case 2:return nl;case 3:return Yj;default:return Zj}}function r6e(n){switch(u(v(n,(cn(),ou)),171).g){case 2:case 4:return!0;default:return!1}}function Tk(n,e,t){switch(t.g){case 2:n.b=e;break;case 1:n.c=e;break;case 4:n.d=e;break;case 3:n.a=e}}function XQ(n,e){switch(e){case 0:!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),n.o.c.$b();return}cR(n,e)}function c6e(n,e){var t,i;return t=u(u(ee(n.g,e.a),42).a,68),i=u(u(ee(n.g,e.b),42).a,68),xUn(t,i)}function VQ(n,e,t){var i;if(i=n.gc(),e>i)throw T(new Fw(e,i));return n.Si()&&(t=wAn(n,t)),n.Ei(e,t)}function n4(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)Fg(n,c,s)||xS(n,c,s,!0,!1)}function u6e(n){Vg();var e,t,i;for(t=F(Ei,J,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,t[e]=Z9e(i,n);return t}function e4(n){var e,t,i;return e=~n.l+1&ro,t=~n.m+(e==0?1:0)&ro,i=~n.h+(e==0&&t==0?1:0)&Ol,Yc(e,t,i)}function WQ(n){var e;if(n<0)return Wi;if(n==0)return 0;for(e=X5;!(e&n);e>>=1);return e}function B$(n,e,t){return n>=128?!1:n<64?j6(vi(Ks(1,n),t),0):j6(vi(Ks(1,n-64),e),0)}function Ck(n,e,t){return t==null?(!n.q&&(n.q=new de),Kp(n.q,e)):(!n.q&&(n.q=new de),Ve(n.q,e,t)),n}function U(n,e,t){return t==null?(!n.q&&(n.q=new de),Kp(n.q,e)):(!n.q&&(n.q=new de),Ve(n.q,e,t)),n}function sRn(n){var e,t;return t=new zT,Ur(t,n),U(t,(Y1(),y3),n),e=new de,$Ie(n,t,e),fLe(n,t,e),t}function fRn(n){var e,t;return e=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,t=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,e||t}function hRn(n,e){var t,i,r,c;for(t=!1,i=n.a[e].length,c=0;c<i-1;c++)r=c+1,t=t|N8e(n,e,c,r);return t}function o6e(n){var e,t,i,r;for(t=n.a,i=0,r=t.length;i<r;++i)e=t[i],pRn(n,e,(en(),ae)),pRn(n,e,Xn)}function lRn(){lRn=R,Ene=Me((pr(),S(C(rH,1),G,259,0,[ZI,cs,$8,nO,kv,v2,x8,mv,vv,eO])))}function aRn(){aRn=R,tie=Me((ps(),S(C(Khn,1),G,243,0,[SO,Sj,Pj,$hn,xhn,Dhn,Rhn,PO,ww,U0])))}function hd(){hd=R,Q_=new qL(kh,0),pv=new qL("INCOMING_ONLY",1),m2=new qL("OUTGOING_ONLY",2)}function F$(){F$=R,VF={boolean:qhe,number:ihe,string:rhe,object:L_n,function:L_n,undefined:Rfe}}function JQ(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function QQ(n,e){this.c=n,this.d=e,this.b=this.d/this.c.c.Rd().gc()|0,this.a=this.d%this.c.c.Rd().gc()}function dRn(n,e){this.b=n,pg.call(this,(u(N(H((z1(),Hn).o),10),19),e.i),e.g),this.a=(L$(),jU)}function YQ(n,e,t){this.q=new y.Date,this.q.setFullYear(n+la,e,t),this.q.setHours(0,0,0,0),F5(this,0)}function bRn(n,e){x7(n>=0,"Negative initial capacity"),x7(e>=0,"Non-positive load factor"),Hu(this)}function s6e(n,e,t,i,r){var c,s;if(s=n.length,c=t.length,e<0||i<0||r<0||e+r>s||i+r>c)throw T(new _G)}function ZQ(n,e){Ln();var t,i,r,c,s;for(s=!1,i=e,r=0,c=i.length;r<c;++r)t=i[r],s=s|n.Fc(t);return s}function wRn(n,e,t){var i,r;return i=new r$(e,t),r=new LA,n.b=yqn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function f5(n){var e;return e=n.a[n.b],e==null?null:($t(n.a,n.b,null),n.b=n.b+1&n.a.length-1,e)}function gRn(n){var e,t;return t=ty(n.h),t==32?(e=ty(n.m),e==32?ty(n.l)+32:e+20-10):t-12}function nY(n){var e;return(!n.c||!(n.Bb&1)&&n.c.Db&64)&&(e=gs(n),L(e,90)&&(n.c=u(e,29))),n.c}function na(n){var e,t;for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),60),e.d.c=-e.d.c-e.d.b;ien(n)}function ea(n){var e,t;for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),86),e.g.c=-e.g.c-e.g.b;IS(n)}function pRn(n,e,t){var i,r,c,s;for(s=b5(e,t),c=0,r=s.Kc();r.Ob();)i=u(r.Pb(),12),Ve(n.c,i,Y(c++))}function mRn(n,e,t){var i;return i=new Z,oen(n,e,i,(en(),Zn),!0,!1),oen(n,t,i,Wn,!1,!1),i}function cc(n){var e,t,i,r,c;for(e=new Ni,i=n,r=0,c=i.length;r<c;++r)t=i[r],e.a+=t.a,e.b+=t.b;return e}function _$(n,e,t){var i,r,c,s;return c=null,s=e,r=Tb(s,"labels"),i=new MTn(n,t),c=(GMe(i.a,i.b,r),r),c}function f6e(n,e,t,i){var r;return r=Vnn(n,e,t,i),!r&&(r=p5e(n,t,i),r&&!Qg(n,e,r))?null:r}function h6e(n,e,t,i){var r;return r=Wnn(n,e,t,i),!r&&(r=rx(n,t,i),r&&!Qg(n,e,r))?null:r}function l6e(n,e,t){if(Pe(e),t.Ob())for(gX(e,cOn(t.Pb()));t.Ob();)gX(e,n.a),gX(e,cOn(t.Pb()));return e}function vRn(n,e){var t;for(t=0;t<n.a.a.length;t++)if(!u(QPn(n.a,t),178).Lb(e))return!1;return!0}function a6e(n){var e;return n==0?"Etc/GMT":(n<0?(n=-n,e="Etc/GMT-"):e="Etc/GMT+",e+QDn(n))}function eY(n){var e;return n.b<=0?!1:(e=ih("MLydhHmsSDkK",wu(Xi(n.c,0))),e>1||e>=0&&n.b<3)}function H$(n){var e,t,i;e=~n.l+1&ro,t=~n.m+(e==0?1:0)&ro,i=~n.h+(e==0&&t==0?1:0)&Ol,n.l=e,n.m=t,n.h=i}function tY(n){Ln();var e,t,i;for(i=1,t=n.Kc();t.Ob();)e=t.Pb(),i=31*i+(e!=null?mt(e):0),i=i|0;return i}function d6e(n,e,t,i,r){var c;return c=Unn(n,e),t&&H$(c),r&&(n=u7e(n,e),i?ga=e4(n):ga=Yc(n.l,n.m,n.h)),c}function kRn(n,e,t){n.g=uR(n,e,(en(),Zn),n.b),n.d=uR(n,t,Zn,n.b),!(n.g.c==0||n.d.c==0)&&QFn(n)}function yRn(n,e,t){n.g=uR(n,e,(en(),Wn),n.j),n.d=uR(n,t,Wn,n.j),!(n.g.c==0||n.d.c==0)&&QFn(n)}function iY(n,e){switch(e){case 7:return!!n.e&&n.e.i!=0;case 8:return!!n.d&&n.d.i!=0}return _Y(n,e)}function b6e(n,e){switch(e.g){case 0:L(n.b,641)||(n.b=new Kxn);break;case 1:L(n.b,642)||(n.b=new RPn)}}function jRn(n){switch(n.g){case 0:return new w4n;default:throw T(new Gn(xP+(n.f!=null?n.f:""+n.g)))}}function ERn(n){switch(n.g){case 0:return new b4n;default:throw T(new Gn(xP+(n.f!=null?n.f:""+n.g)))}}function w6e(n,e,t){return!om(ut(new Cn(null,new On(n.c,16)),new Y3(new fTn(e,t)))).Bd((Va(),v3))}function MRn(n,e){return vp(g4(u(v(e,(lc(),pw)),88)),new V(n.c.e.a-n.b.e.a,n.c.e.b-n.b.e.b))<=0}function g6e(n,e){for(;n.g==null&&!n.c?iJ(n):n.g==null||n.i!=0&&u(n.g[n.i-1],51).Ob();)kle(e,MS(n))}function ld(n){var e,t;for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),86),e.f.$b();Yfe(n.b,n),uqn(n)}function Sk(n){var e,t,i;for(e=new Tu,i=ge(n,0);i.b!=i.d.c;)t=u(be(i),8),wm(e,0,new rr(t));return e}function t4(n){var e;return V1(n),e=new NA,n.a.Bd(e)?(dm(),new wL(Jn(e.a))):(dm(),dm(),Oun)}function rY(n,e,t){switch(e){case 0:!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),CC(n.o,t);return}sR(n,e,t)}function q$(n,e,t){this.g=n,this.e=new Ni,this.f=new Ni,this.d=new Mt,this.b=new Mt,this.a=e,this.c=t}function U$(n,e,t,i){this.b=new Z,this.n=new Z,this.i=i,this.j=t,this.s=n,this.t=e,this.r=0,this.d=0}function i4(n,e){if(!n.Li()&&e==null)throw T(new Gn("The 'no null' constraint is violated"));return e}function t1(n){var e,t;for(e=0,t=0;t<n.length;t++)e=(e<<5)-e+(zn(t,n.length),n.charCodeAt(t))|0;return e}function TRn(n,e){var t,i,r;for(r=n.b;r;){if(t=n.a.Ne(e,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function p6e(n,e,t){var i,r;i=(_n(),!!vX(t)),r=u(e.xc(i),15),r||(r=new Z,e.zc(i,r)),r.Fc(t)}function m6e(n,e){var t,i;return t=u(z(n,(Bf(),Kj)),17).a,i=u(z(e,Kj),17).a,t==i||t<i?-1:t>i?1:0}function v6e(n){return nn(n.c,(qp(),bue)),sQ(n.a,$(B(rn((bx(),EO)))))?new evn:new Dkn(n)}function k6e(n){for(;!n.d||!n.d.Ob();)if(n.b&&!n6(n.b))n.d=u(Pp(n.b),51);else return null;return n.d}function cY(n){switch(n.g){case 1:return lVn;default:case 2:return 0;case 3:return QK;case 4:return Ern}}function y6e(){nt();var n;return PU||(n=_1e(fa("M",!0)),n=cT(fa("M",!1),n),PU=n,PU)}function NC(){NC=R,bU=new EM("ELK",0),Tdn=new EM("JSON",1),Mdn=new EM("DOT",2),Cdn=new EM("SVG",3)}function h5(){h5=R,XH=new WL("STACKED",0),zH=new WL("REVERSE_STACKED",1),Ij=new WL("SEQUENCED",2)}function l5(){l5=R,dln=new eN(kh,0),ZH=new eN("MIDDLE_TO_MIDDLE",1),Lj=new eN("AVOID_OVERLAP",2)}function r4(){r4=R,ysn=new Qgn,jsn=new Ygn,JZn=new Wgn,WZn=new Zgn,VZn=new Jgn,ksn=(Jn(VZn),new Obn)}function DC(){DC=R,fdn=new ob(15),Jue=new Di((He(),M1),fdn),y9=N3,cdn=Iue,udn=Hd,sdn=_2,odn=V0}function Dg(n,e){var t,i,r,c,s;for(i=e,r=0,c=i.length;r<c;++r)t=i[r],s=new QIn(n),t.hf(s),VIe(s);Hu(n.f)}function G$(n,e){var t;return e===n?!0:L(e,229)?(t=u(e,229),ct(n.Zb(),t.Zb())):!1}function uY(n,e){return tqn(n,e)?(In(n.b,u(v(e,(W(),Dl)),21),e),Re(n.a,e),!0):!1}function j6e(n){var e,t;e=u(v(n,(W(),Xu)),10),e&&(t=e.c,du(t.a,e),t.a.c.length==0&&du(Hi(e).b,t))}function E6e(n,e){return kt(n,(W(),dt))&&kt(e,dt)?u(v(e,dt),17).a-u(v(n,dt),17).a:0}function M6e(n,e){return kt(n,(W(),dt))&&kt(e,dt)?u(v(n,dt),17).a-u(v(e,dt),17).a:0}function CRn(n){return Uf?F(AQn,Jzn,581,0,0,1):u(Rf(n.a,F(AQn,Jzn,581,n.a.c.length,0,1)),856)}function T6e(n,e,t,i){return kT(),new fz(S(C(Id,1),WS,44,0,[(Dx(n,e),new tb(n,e)),(Dx(t,i),new tb(t,i))]))}function $g(n,e,t){var i,r;return r=(i=new hL,i),Tr(r,e,t),ve((!n.q&&(n.q=new q(Ps,n,11,10)),n.q),r),r}function z$(n){var e,t,i,r;for(r=ule(Coe,n),t=r.length,i=F(fn,J,2,t,6,1),e=0;e<t;++e)i[e]=r[e];return i}function oY(n,e){var t;e*2+1>=n.b.c.length||(oY(n,2*e+1),t=2*e+2,t<n.b.c.length&&oY(n,t),$_n(n,e))}function C6e(n,e){var t,i;for(i=ge(n,0);i.b!=i.d.c;)t=u(be(i),219),t.e.length>0&&(e.Cd(t),t.i&&E5e(t))}function sY(n,e,t){var i;for(i=t-1;i>=0&&n[i]===e[i];i--);return i<0?0:DL(vi(n[i],mr),vi(e[i],mr))?-1:1}function SRn(n,e,t){var i,r;this.g=n,this.c=e,this.a=this,this.d=this,r=oxn(t),i=F(sQn,Ey,227,r,0,1),this.b=i}function X$(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)if(Fg(n,c,s))return!0;return!1}function S6e(n,e){var t,i;for(i=n.Zb().Cc().Kc();i.Ob();)if(t=u(i.Pb(),16),t.Hc(e))return!0;return!1}function PRn(n,e,t){var i,r,c,s;for(Jn(t),s=!1,c=n.fd(e),r=t.Kc();r.Ob();)i=r.Pb(),c.Rb(i),s=!0;return s}function V$(n,e){var t,i;return i=u(Un(n.a,4),129),t=F(kU,TF,424,e,0,1),i!=null&&Oc(i,0,t,0,i.length),t}function IRn(n,e){var t;return t=new jR((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,e),n.e!=null||(t.c=n),t}function P6e(n,e){var t;return n===e?!0:L(e,85)?(t=u(e,85),lnn(Ja(n),t.vc())):!1}function ORn(n,e,t){var i,r;for(r=t.Kc();r.Ob();)if(i=u(r.Pb(),44),n.Be(e,i.md()))return!0;return!1}function ARn(n,e,t){return n.d[e.p][t.p]||(A9e(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function I6e(n,e){var t;return!n||n==e||!kt(e,(W(),uw))?!1:(t=u(v(e,(W(),uw)),10),t!=n)}function W$(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.$l()}}function LRn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n._l()}}function NRn(n){kAn.call(this,"The given string does not match the expected format for individual spacings.",n)}function O6e(n,e){var t;e.Ug("Min Size Preprocessing",1),t=knn(n),ht(n,(_h(),s9),t.a),ht(n,UO,t.b),e.Vg()}function A6e(n){var e,t,i;for(e=0,i=F(Ei,J,8,n.b,0,1),t=ge(n,0);t.b!=t.d.c;)i[e++]=u(be(t),8);return i}function J$(n,e,t){var i,r,c;for(i=new Mt,c=ge(t,0);c.b!=c.d.c;)r=u(be(c),8),Re(i,new rr(r));PRn(n,e,i)}function L6e(n,e){var t;return t=nr(n,e),DL(BD(n,e),0)|CM(BD(n,t),0)?t:nr(jy,BD(G1(t,63),1))}function N6e(n,e){var t,i;return t=u(n.d.Bc(e),16),t?(i=n.e.hc(),i.Gc(t),n.e.d-=t.gc(),t.$b(),i):null}function DRn(n){var e;if(e=n.a.c.length,e>0)return jm(e-1,n.a.c.length),Yl(n.a,e-1);throw T(new Dyn)}function $Rn(n,e,t){if(n>e)throw T(new Gn(ZS+n+Qzn+e));if(n<0||e>t)throw T(new wz(ZS+n+Ttn+e+jtn+t))}function c4(n,e){n.D==null&&n.B!=null&&(n.D=n.B,n.B=null),j$(n,e==null?null:(Jn(e),e)),n.C&&n.hl(null)}function D6e(n,e){var t;t=rn((bx(),EO))!=null&&e.Sg()!=null?$(B(e.Sg()))/$(B(rn(EO))):1,Ve(n.b,e,t)}function fY(n,e){var t,i;if(i=n.c[e],i!=0)for(n.c[e]=0,n.d-=i,t=e+1;t<n.a.length;)n.a[t]-=i,t+=t&-t}function e0(n){var e;++n.j,n.i==0?n.g=null:n.i<n.g.length&&(e=n.g,n.g=n.aj(n.i),Oc(e,0,n.g,0,n.i))}function $6e(n,e,t){if(e<0)throw T(new Or(LVn+e));e<n.j.c.length?Go(n.j,e,t):($Ln(n,e),nn(n.j,t))}function xRn(n){if(!n.a||!(n.a.i&8))throw T(new Ar("Enumeration class expected for layout option "+n.f))}function hY(n){var e;return e=(!n.a&&(n.a=new q(Kl,n,9,5)),n.a),e.i!=0?rle(u(N(e,0),694)):null}function x6e(n){var e;for(Pe(n),OV(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&pe(n);e++)fe(n);return e}function Q$(){Q$=R,oon=(QE(),d_),uon=new Tn(Ktn,oon),IYn=new lt(Btn),OYn=new lt(Ftn),AYn=new lt(_tn)}function a5(){a5=R,lq=new pM(Ztn,0),KO=new pM(bVn,1),hq=new pM("FAN",2),fq=new pM("CONSTRAINT",3)}function Pk(){Pk=R,FO=new tN(kh,0),Fln=new tN("RADIAL_COMPACTION",1),_ln=new tN("WEDGE_COMPACTION",2)}function u4(){u4=R,VH=new JL("CONSERVATIVE",0),zhn=new JL("CONSERVATIVE_SOFT",1),J8=new JL("SLOPPY",2)}function Gu(){Gu=R,Dun=new $L("CONCURRENT",0),Yr=new $L("IDENTITY_FINISH",1),S0=new $L("UNORDERED",2)}function Y$(){Y$=R,T_=lAn(S(C(k9,1),G,88,0,[(ci(),Kr),Xr])),C_=lAn(S(C(k9,1),G,88,0,[us,Wf]))}function wo(n){return Si(n)?fn:$w(n)?si:Dw(n)?zt:wW(n)||sW(n)?n.Rm:n.Rm||Array.isArray(n)&&C(fQn,1)||fQn}function R6e(n){return n?n.i&1?n==so?zt:n==ye?Gi:n==cg?ov:n==Ii?si:n==Ka?nw:n==V2?ew:n==Ru?p3:T8:n:null}function xg(n){return(n.c!=n.b.b||n.i!=n.g.b)&&(Sw(n.a.c,0),hi(n.a,n.b),hi(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function K6e(n,e){var t,i;for(t=n.a.length-1;e!=n.b;)i=e-1&t,$t(n.a,e,n.a[i]),e=i;$t(n.a,n.b,null),n.b=n.b+1&t}function B6e(n,e){var t,i;for(t=n.a.length-1,n.c=n.c-1&t;e!=n.c;)i=e+1&t,$t(n.a,e,n.a[i]),e=i;$t(n.a,n.c,null)}function lY(n,e,t){var i,r;return zw(e,n.c.length),i=t.Pc(),r=i.length,r==0?!1:(UV(n.c,e,i),!0)}function RRn(n,e,t){var i,r,c,s;for(r=t,c=0,s=r.length;c<s;++c)if(i=r[c],n.b.Be(e,i.ld()))return i;return null}function Ik(n){var e,t,i,r,c;for(c=1,t=n,i=0,r=t.length;i<r;++i)e=t[i],c=31*c+(e!=null?mt(e):0),c=c|0;return c}function Me(n){var e,t,i,r,c;for(e={},i=n,r=0,c=i.length;r<c;++r)t=i[r],e[":"+(t.f!=null?t.f:""+t.g)]=t;return e}function F6e(n){var e,t;if(n==null)return null;for(e=0,t=n.length;e<t;e++)if(!OPn(n[e]))return n[e];return null}function Z$(n,e){return!n||e&&!n.j||L(n,127)&&u(n,127).a.b==0?0:n.jf()}function $C(n,e){return!n||e&&!n.k||L(n,127)&&u(n,127).a.a==0?0:n.kf()}function KRn(n,e){return kt(n,(W(),dt))&&kt(e,dt)?jc(u(v(n,dt),17).a,u(v(e,dt),17).a):0}function BRn(n){var e,t,i;for(i=0,t=new ie(ce(n.a.Kc(),new En));pe(t);)e=u(fe(t),18),e.c.i==e.d.i||++i;return i}function FRn(n,e){var t,i,r;for(r=e-n.f,i=new M(n.d);i.a<i.c.c.length;)t=u(E(i),315),$Kn(t,t.e,t.f+r);n.f=e}function ad(n,e){var t,i,r;i=n.Yk(e,null),r=null,e&&(r=(um(),t=new Jd,t),Bm(r,n.r)),i=Kf(n,r,i),i&&i.oj()}function _Rn(n,e){var t,i,r;t=n,r=0;do{if(t==e)return r;if(i=t.e,!i)throw T(new W9);t=Hi(i),++r}while(!0)}function _6e(n){var e,t,i,r;for(i=n.b.a,t=i.a.ec().Kc();t.Ob();)e=u(t.Pb(),567),r=new zHn(e,n.e,n.f),nn(n.g,r)}function H6e(n){var e;return e=new m$n(n),J7(n.a,AZn,new Fu(S(C(lj,1),Rn,382,0,[e]))),e.d&&nn(e.f,e.d),e.f}function HRn(n,e){var t;for(t=0;t<e.length;t++)if(n==(zn(t,e.length),e.charCodeAt(t)))return!0;return!1}function q6e(n,e){return e<n.length&&(zn(e,n.length),n.charCodeAt(e)!=63)&&(zn(e,n.length),n.charCodeAt(e)!=35)}function qRn(n,e,t,i){jCn(this),this.c=F(Qh,b1,10,n.a.c.length,0,1),this.e=e,Rf(n.a,this.c),this.f=t,this.b=i}function URn(n){Ljn(),$M(this),MT(this),this.e=n,bqn(this,n),this.g=n==null?gu:Jr(n),this.a="",this.b=n,this.a=""}function aY(){this.a=new l4n,this.f=new ykn(this),this.b=new jkn(this),this.i=new Ekn(this),this.e=new Mkn(this)}function GRn(){Jfe.call(this,new zJ(Qw(16))),Mo(2,Azn),this.b=2,this.a=new FW(null,null,0,null),V9(this.a,this.a)}function dY(n){throw F$(),T(new Ojn("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function nx(n,e,t){return y.Math.abs(e-n)<IP||y.Math.abs(t-n)<IP?!0:e-n>IP?n-t>IP:t-n>IP}function zRn(n,e){var t;for(t=0;t<e.length;t++)if(n==(zn(t,e.length),e.charCodeAt(t)))return!0;return!1}function U6e(n){var e,t;if(n==null)return!1;for(e=0,t=n.length;e<t;e++)if(!OPn(n[e]))return!1;return!0}function bY(n,e){var t,i,r;return i=!1,t=e.q.d,e.d<n.b&&(r=ten(e.q,n.b),e.q.d>r&&(jFn(e.q,r),i=t!=e.q.d)),i}function XRn(n,e){var t,i,r,c,s,f,h,l;return h=e.i,l=e.j,i=n.f,r=i.i,c=i.j,s=h-r,f=l-c,t=y.Math.sqrt(s*s+f*f),t}function wY(n,e){var t,i;return i=WC(n),i||(t=(UR(),$Hn(e)),i=new Eyn(t),ve(i.El(),n)),i}function Ok(n,e){var t,i;return t=u(n.c.Bc(e),16),t?(i=n.hc(),i.Gc(t),n.d-=t.gc(),t.$b(),n.mc(i)):n.jc()}function G6e(n,e){var t,i;for(i=to(n.d,1)!=0,t=!0;t;)t=!1,t=e.c.mg(e.e,i),t=t|oy(n,e,i,!1),i=!i;NQ(n)}function VRn(n,e,t,i){var r,c;n.a=e,c=i?0:1,n.f=(r=new o_n(n.c,n.a,t,c),new Fqn(t,n.a,r,n.e,n.b,n.c==(Ib(),Q8)))}function xC(n){var e;return oe(n.a!=n.b),e=n.d.a[n.a],jSn(n.b==n.d.c&&e!=null),n.c=n.a,n.a=n.a+1&n.d.a.length-1,e}function WRn(n){var e;if(n.c!=0)return n.c;for(e=0;e<n.a.length;e++)n.c=n.c*33+(n.a[e]&-1);return n.c=n.c*n.e,n.c}function z6e(n){var e;if(!(n.c.c<0?n.a>=n.c.b:n.a<=n.c.b))throw T(new nc);return e=n.a,n.a+=n.c.c,++n.b,Y(e)}function ex(n){var e;return e=new OX(n.a),Ur(e,n),U(e,(W(),st),n),e.o.a=n.g,e.o.b=n.f,e.n.a=n.i,e.n.b=n.j,e}function tx(n){return(en(),mu).Hc(n.j)?$(B(v(n,(W(),yv)))):cc(S(C(Ei,1),J,8,0,[n.i.n,n.n,n.a])).b}function X6e(n){var e;return e=AM(Mie),u(v(n,(W(),Hc)),21).Hc((pr(),kv))&&Fe(e,(Vi(),Ac),(tr(),RI)),e}function V6e(n){var e,t,i,r;for(r=new ni,i=new M(n);i.a<i.c.c.length;)t=u(E(i),27),e=wSe(t),Ki(r,e);return r}function W6e(n){var e,t;for(t=new M(n.r);t.a<t.c.c.length;)if(e=u(E(t),10),n.n[e.p]<=0)return e;return null}function J6e(n,e,t){var i,r;for(r=e.a.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),60),GOn(n,i,t))return!0;return!1}function Q6e(n,e,t,i){var r,c;for(c=n.Kc();c.Ob();)r=u(c.Pb(),72),r.n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+t}function Y6e(n,e,t){var i;i=new sHn(n,e),In(n.r,e.ag(),i),t&&!K6(n.u)&&(i.c=new sAn(n.d),nu(e.Rf(),new L9n(i)))}function Ec(n,e){var t;return Vr(n)&&Vr(e)&&(t=n-e,!isNaN(t))?t:OZ(Vr(n)?ds(n):n,Vr(e)?ds(e):e)}function gY(n,e){var t,i,r;for(r=1,t=n,i=e>=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function Z6e(n,e){var t,i,r;for(r=1,t=n,i=e>=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function ta(n,e){var t,i,r,c;return c=(r=n?WC(n):null,A_n((i=e,r&&r.Gl(),i))),c==e&&(t=WC(n),t&&t.Gl()),c}function JRn(n,e,t){var i,r;return r=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,0,r,e),t?t.nj(i):t=i),t}function QRn(n,e,t){var i,r;return r=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,3,r,e),t?t.nj(i):t=i),t}function pY(n,e,t){var i,r;return r=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,1,r,e),t?t.nj(i):t=i),t}function YRn(n){var e,t;if(n!=null)for(t=0;t<n.length;++t)e=n[t],e&&(u(e.g,379),e.i)}function n5e(n,e,t,i,r,c,s,f){var h;for(h=t;c<s;)h>=i||e<t&&f.Ne(n[e],n[h])<=0?$t(r,c++,n[e++]):$t(r,c++,n[h++])}function e5e(n,e,t,i,r){e==0||i==0||(e==1?r[i]=fZ(r,t,i,n[0]):i==1?r[e]=fZ(r,n,e,t[0]):EMe(n,t,r,e,i))}function t5e(n,e,t){var i,r,c,s;for(i=t/n.gc(),r=0,s=n.Kc();s.Ob();)c=u(s.Pb(),186),FRn(c,c.f+i*r),gke(c,e,i),++r}function i5e(n){var e,t,i;for(i=0,t=new M(n.a);t.a<t.c.c.length;)e=u(E(t),172),i=y.Math.max(i,e.g);return i}function r5e(n){var e,t,i;for(i=new M(n.b);i.a<i.c.c.length;)t=u(E(i),219),e=t.c.kg()?t.f:t.a,e&&OOe(e,t.j)}function d5(){d5=R,xH=new zL("DUMMY_NODE_OVER",0),Ohn=new zL("DUMMY_NODE_UNDER",1),TO=new zL("EQUAL",2)}function Gp(){Gp=R,gdn=new lN("PARALLEL_NODE",0),Y0=new lN("HIERARCHICAL_NODE",1),aA=new lN("ROOT_NODE",2)}function jl(){jl=R,uA=new hN("INHERIT",0),T1=new hN("INCLUDE_CHILDREN",1),j9=new hN("SEPARATE_CHILDREN",2)}function mY(n,e){switch(e){case 1:!n.n&&(n.n=new q(Sr,n,1,7)),me(n.n);return;case 2:zm(n,null);return}XQ(n,e)}function ZRn(n){switch(n.g){case 0:return new u4n;case 1:return new s4n;case 2:return new o4n;default:return null}}function i1(n){switch(oh(),n.c){case 0:return wD(),iun;case 1:return new lp(K_n(new dp(n)));default:return new Sjn(n)}}function nKn(n){switch(oh(),n.gc()){case 0:return wD(),iun;case 1:return new lp(n.Kc().Pb());default:return new xz(n)}}function RC(n){var e;switch(n.gc()){case 0:return qF;case 1:return new VN(Pe(n.Xb(0)));default:return e=n,new ID(e)}}function Y(n){var e,t;return n>-129&&n<128?(xPn(),e=n+128,t=wun[e],!t&&(t=wun[e]=new pG(n)),t):new pG(n)}function o4(n){var e,t;return n>-129&&n<128?(ZPn(),e=n+128,t=vun[e],!t&&(t=vun[e]=new vG(n)),t):new vG(n)}function eKn(n,e){var t;n.a.c.length>0&&(t=u(sn(n.a,n.a.c.length-1),579),uY(t,e))||nn(n.a,new vNn(e))}function c5e(n){Rs();var e,t;e=n.d.c-n.e.c,t=u(n.g,154),nu(t.b,new g7n(e)),nu(t.c,new p7n(e)),qi(t.i,new m7n(e))}function tKn(n){var e;return e=new R1,e.a+="VerticalSegment ",Lc(e,n.e),e.a+=" ",Be(e,RX(new yL,new M(n.k))),e.a}function ix(n,e){var t,i,r;for(t=0,r=uc(n,e).Kc();r.Ob();)i=u(r.Pb(),12),t+=v(i,(W(),Xu))!=null?1:0;return t}function Rg(n,e,t){var i,r,c;for(i=0,c=ge(n,0);c.b!=c.d.c&&(r=$(B(be(c))),!(r>t));)r>=e&&++i;return i}function iKn(n,e){Pe(n);try{return n._b(e)}catch(t){if(t=Ot(t),L(t,212)||L(t,169))return!1;throw T(t)}}function vY(n,e){Pe(n);try{return n.Hc(e)}catch(t){if(t=Ot(t),L(t,212)||L(t,169))return!1;throw T(t)}}function u5e(n,e){Pe(n);try{return n.Mc(e)}catch(t){if(t=Ot(t),L(t,212)||L(t,169))return!1;throw T(t)}}function t0(n,e){Pe(n);try{return n.xc(e)}catch(t){if(t=Ot(t),L(t,212)||L(t,169))return null;throw T(t)}}function o5e(n,e){Pe(n);try{return n.Bc(e)}catch(t){if(t=Ot(t),L(t,212)||L(t,169))return null;throw T(t)}}function b5(n,e){switch(e.g){case 2:case 1:return uc(n,e);case 3:case 4:return Qo(uc(n,e))}return Ln(),Ln(),sr}function w5(n){var e;return n.Db&64?Hs(n):(e=new ls(Hs(n)),e.a+=" (name: ",Er(e,n.zb),e.a+=")",e.a)}function s5e(n){var e;return e=u(Df(n.c.c,""),233),e||(e=new Dp(cm(rm(new tp,""),"Other")),s1(n.c.c,"",e)),e}function kY(n,e,t){var i,r;return r=n.sb,n.sb=e,n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,4,r,e),t?t.nj(i):t=i),t}function yY(n,e,t){var i,r;return r=n.r,n.r=e,n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,8,r,n.r),t?t.nj(i):t=i),t}function f5e(n,e,t){var i,r;return i=new ml(n.e,4,13,(r=e.c,r||(An(),Zf)),null,f1(n,e),!1),t?t.nj(i):t=i,t}function h5e(n,e,t){var i,r;return i=new ml(n.e,3,13,null,(r=e.c,r||(An(),Zf)),f1(n,e),!1),t?t.nj(i):t=i,t}function r1(n,e){var t,i;return t=u(e,691),i=t.el(),!i&&t.fl(i=L(e,90)?new $Tn(n,u(e,29)):new rLn(n,u(e,156))),i}function Ak(n,e,t){var i;n._i(n.i+1),i=n.Zi(e,t),e!=n.i&&Oc(n.g,e,n.g,e+1,n.i-e),$t(n.g,e,i),++n.i,n.Mi(e,t),n.Ni()}function l5e(n,e){var t;return e.a&&(t=e.a.a.length,n.a?Be(n.a,n.b):n.a=new mo(n.d),lLn(n.a,e.a,e.d.length,t)),n}function a5e(n,e){var t;n.c=e,n.a=p8e(e),n.a<54&&(n.f=(t=e.d>1?fLn(e.a[0],e.a[1]):fLn(e.a[0],0),id(e.e>0?t:n1(t))))}function Lk(n,e){var t;return t=new NA,n.a.Bd(t)?(dm(),new wL(Jn(UDn(n,t.a,e)))):(V1(n),dm(),dm(),Oun)}function rKn(n,e){var t;n.c.length!=0&&(t=u(Rf(n,F(Qh,b1,10,n.c.length,0,1)),199),jX(t,new ign),Y_n(t,e))}function cKn(n,e){var t;n.c.length!=0&&(t=u(Rf(n,F(Qh,b1,10,n.c.length,0,1)),199),jX(t,new rgn),Y_n(t,e))}function ct(n,e){return Si(n)?Sn(n,e):$w(n)?ZSn(n,e):Dw(n)?(Jn(n),x(n)===x(e)):wW(n)?n.Fb(e):sW(n)?QTn(n,e):sJ(n,e)}function Wo(n,e,t){if(e<0)Cnn(n,t);else{if(!t.rk())throw T(new Gn(wa+t.xe()+a8));u(t,69).wk().Ek(n,n.hi(),e)}}function uKn(n,e,t){if(n<0||e>t)throw T(new Or(ZS+n+Ttn+e+", size: "+t));if(n>e)throw T(new Gn(ZS+n+Qzn+e))}function oKn(n){var e;return n.Db&64?Hs(n):(e=new ls(Hs(n)),e.a+=" (source: ",Er(e,n.d),e.a+=")",e.a)}function sKn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function d5e(n){VS();var e,t,i,r;for(t=jx(),i=0,r=t.length;i<r;++i)if(e=t[i],qr(e.a,n,0)!=-1)return e;return h_}function b5e(n,e){var t,i,r,c;if(e.ej(n.a),c=u(Un(n.a,8),2035),c!=null)for(t=c,i=0,r=t.length;i<r;++i)null.Um()}function c1(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,2,t,e))}function jY(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,8,t,e))}function KC(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,8,t,e))}function u1(n,e){var t;t=(n.Bb&512)!=0,e?n.Bb|=512:n.Bb&=-513,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,3,t,e))}function EY(n,e){var t;t=(n.Bb&512)!=0,e?n.Bb|=512:n.Bb&=-513,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,9,t,e))}function w5e(n,e,t){var i,r;return r=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,5,r,n.a),t?UZ(t,i):t=i),t}function g5(n,e){var t;return n.b==-1&&n.a&&(t=n.a.pk(),n.b=t?n.c.Hh(n.a.Lj(),t):At(n.c.Dh(),n.a)),n.c.yh(n.b,e)}function fKn(n,e){var t,i;for(i=new ne(n);i.e!=i.i.gc();)if(t=u(ue(i),29),x(e)===x(t))return!0;return!1}function MY(n){var e,t;return e=n.k,e==(Vn(),Zt)?(t=u(v(n,(W(),gc)),64),t==(en(),Xn)||t==ae):!1}function hKn(n){var e;return e=bJ(n),cb(e.a,0)?(Ow(),Ow(),ZF):(Ow(),new SN(NL(e.a,0)?KJ(e)/id(e.a):0))}function Nk(n,e){this.e=e,this.a=Jxn(n),this.a<54?this.f=id(n):this.c=(dh(),Ec(n,0)>=0?ra(n):H6(ra(n1(n))))}function lKn(n,e,t,i,r,c){this.e=new Z,this.f=(gr(),W8),nn(this.e,n),this.d=e,this.a=t,this.b=i,this.f=r,this.c=c}function g5e(n,e,t){n.n=Wa(Ka,[J,PK],[376,28],14,[t,wi(y.Math.ceil(e/32))],2),n.o=e,n.p=t,n.j=e-1>>1,n.k=t-1>>1}function aKn(n){return n-=n>>1&1431655765,n=(n>>2&858993459)+(n&858993459),n=(n>>4)+n&252645135,n+=n>>8,n+=n>>16,n&63}function dKn(n,e){var t,i;for(i=new ne(n);i.e!=i.i.gc();)if(t=u(ue(i),142),x(e)===x(t))return!0;return!1}function p5e(n,e,t){var i,r,c;return c=(r=M4(n.b,e),r),c&&(i=u(qS(fk(n,c),""),29),i)?Vnn(n,i,e,t):null}function rx(n,e,t){var i,r,c;return c=(r=M4(n.b,e),r),c&&(i=u(qS(fk(n,c),""),29),i)?Wnn(n,i,e,t):null}function m5e(n,e){var t;if(t=Ng(n.i,e),t==null)throw T(new eh("Node did not exist in input."));return FQ(e,t),null}function v5e(n,e){var t;if(t=uy(n,e),L(t,331))return u(t,35);throw T(new Gn(wa+e+"' is not a valid attribute"))}function p5(n,e,t){var i;if(i=n.gc(),e>i)throw T(new Fw(e,i));if(n.Si()&&n.Hc(t))throw T(new Gn(Xy));n.Gi(e,t)}function k5e(n,e){e.Ug("Sort end labels",1),Ut(ut(rc(new Cn(null,new On(n.b,16)),new _0n),new H0n),new q0n),e.Vg()}function ci(){ci=R,Jf=new p7(Y5,0),Xr=new p7(f3,1),Kr=new p7(s3,2),Wf=new p7(_K,3),us=new p7("UP",4)}function Dk(){Dk=R,XO=new sN("P1_STRUCTURE",0),VO=new sN("P2_PROCESSING_ORDER",1),WO=new sN("P3_EXECUTION",2)}function bKn(){bKn=R,Bre=ah(ah(s6(ah(ah(s6(Fe(new ii,(Qp(),n9),(K5(),YH)),e9),fln),lln),t9),cln),aln)}function y5e(n){switch(u(v(n,(W(),Ad)),311).g){case 1:U(n,Ad,(vl(),E3));break;case 2:U(n,Ad,(vl(),k2))}}function j5e(n){switch(n){case 0:return new ijn;case 1:return new ejn;case 2:return new tjn;default:throw T(new W9)}}function wKn(n){switch(n.g){case 2:return Xr;case 1:return Kr;case 4:return Wf;case 3:return us;default:return Jf}}function TY(n,e){switch(n.b.g){case 0:case 1:return e;case 2:case 3:return new Ho(e.d,0,e.a,e.b);default:return null}}function CY(n){switch(n.g){case 1:return Wn;case 2:return Xn;case 3:return Zn;case 4:return ae;default:return sc}}function $k(n){switch(n.g){case 1:return ae;case 2:return Wn;case 3:return Xn;case 4:return Zn;default:return sc}}function BC(n){switch(n.g){case 1:return Zn;case 2:return ae;case 3:return Wn;case 4:return Xn;default:return sc}}function SY(n,e,t,i){switch(e){case 1:return!n.n&&(n.n=new q(Sr,n,1,7)),n.n;case 2:return n.k}return vZ(n,e,t,i)}function m5(n,e,t){var i,r;return n.Pj()?(r=n.Qj(),i=lR(n,e,t),n.Jj(n.Ij(7,Y(t),i,e,r)),i):lR(n,e,t)}function cx(n,e){var t,i,r;n.d==null?(++n.e,--n.f):(r=e.ld(),t=e.Bi(),i=(t&et)%n.d.length,ome(n,i,BHn(n,i,t,r)))}function s4(n,e){var t;t=(n.Bb&Gs)!=0,e?n.Bb|=Gs:n.Bb&=-1025,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,10,t,e))}function f4(n,e){var t;t=(n.Bb&v0)!=0,e?n.Bb|=v0:n.Bb&=-4097,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,12,t,e))}function h4(n,e){var t;t=(n.Bb&$u)!=0,e?n.Bb|=$u:n.Bb&=-8193,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,15,t,e))}function l4(n,e){var t;t=(n.Bb&C0)!=0,e?n.Bb|=C0:n.Bb&=-2049,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,11,t,e))}function E5e(n){var e;n.g&&(e=n.c.kg()?n.f:n.a,sen(e.a,n.o,!0),sen(e.a,n.o,!1),U(n.o,(cn(),_t),(Ai(),Ud)))}function M5e(n){var e;if(!n.a)throw T(new Ar("Cannot offset an unassigned cut."));e=n.c-n.b,n.b+=e,FOn(n,e),BOn(n,e)}function T5e(n,e){var t;if(t=ee(n.k,e),t==null)throw T(new eh("Port did not exist in input."));return FQ(e,t),null}function C5e(n){var e,t;for(t=xHn(jo(n)).Kc();t.Ob();)if(e=Ae(t.Pb()),B5(n,e))return S3e((pMn(),Koe),e);return null}function gKn(n){var e,t;for(t=n.p.a.ec().Kc();t.Ob();)if(e=u(t.Pb(),218),e.f&&n.b[e.c]<-1e-10)return e;return null}function S5e(n){var e,t;for(t=X1(new R1,91),e=!0;n.Ob();)e||(t.a+=ur),e=!1,Lc(t,n.Pb());return(t.a+="]",t).a}function P5e(n){var e,t,i;for(e=new Z,i=new M(n.b);i.a<i.c.c.length;)t=u(E(i),602),hi(e,u(t.Cf(),16));return e}function ux(n,e){var t,i;for(i=new M(e);i.a<i.c.c.length;)t=u(E(i),42),du(n.b.b,t.b),Age(u(t.a,194),u(t.b,86))}function I5e(n,e){var t;return t=bt(n.b.c,e.b.c),t!=0||(t=bt(n.a.a,e.a.a),t!=0)?t:bt(n.a.b,e.a.b)}function bt(n,e){return n<e?-1:n>e?1:n==e?n==0?bt(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function O5e(n){var e;return e=n.a[n.c-1&n.a.length-1],e==null?null:(n.c=n.c-1&n.a.length-1,$t(n.a,n.c,null),e)}function A5e(n){var e,t,i;for(i=0,t=n.length,e=0;e<t;e++)n[e]==32||n[e]==13||n[e]==10||n[e]==9||(n[i++]=n[e]);return i}function L5e(n,e){var t,i,r,c,s;for(s=ru(n.e.Dh(),e),c=0,t=u(n.g,124),r=0;r<n.i;++r)i=t[r],s.am(i.Lk())&&++c;return c}function N5e(n,e,t){var i,r;for(r=L(e,102)&&u(e,19).Bb&hr?new dN(e,n):new Qm(e,n),i=0;i<t;++i)iS(r);return r}function pKn(n,e,t){var i,r;if(n.c)inn(n.c,e,t);else for(r=new M(n.b);r.a<r.c.c.length;)i=u(E(r),163),pKn(i,e,t)}function D5e(n,e,t){var i,r;return i=u(e.of(n.a),34),r=u(t.of(n.a),34),i!=null&&r!=null?pk(i,r):i!=null?-1:r!=null?1:0}function PY(n,e){var t,i,r;for(Jn(e),t=!1,i=new M(n);i.a<i.c.c.length;)r=E(i),e.Hc(r)&&(_6(i),t=!0);return t}function yn(n){var e,t,i,r;return t=(e=u(of((i=n.Rm,r=i.f,r==ke?i:r)),9),new _o(e,u(xs(e,e.length),9),0)),_s(t,n),t}function FC(n){var e,t;return t=u(v(n,(cn(),Lo)),88),t==(ci(),Jf)?(e=$(B(v(n,oO))),e>=1?Xr:Wf):t}function $5e(n){switch(u(v(n,(cn(),$l)),223).g){case 1:return new Ppn;case 3:return new Npn;default:return new Spn}}function ia(n){if(n.c)ia(n.c);else if(n.d)throw T(new Ar("Stream already terminated, can't be modified or used"))}function Nb(n,e,t){var i;return i=n.a.get(e),n.a.set(e,t===void 0?null:t),i===void 0?(++n.c,++n.b.g):++n.d,i}function x5e(n,e,t){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),10),jk(t,u(sn(e,i.p),16)))return i;return null}function IY(n,e,t){var i;return i=0,e&&(vg(n.a)?i+=e.f.a/2:i+=e.f.b/2),t&&(vg(n.a)?i+=t.f.a/2:i+=t.f.b/2),i}function R5e(n,e,t){var i;i=t,!i&&(i=JV(new op,0)),i.Ug(IXn,2),yBn(n.b,e,i.eh(1)),YOe(n,e,i.eh(1)),eNe(e,i.eh(1)),i.Vg()}function OY(n,e,t){var i,r;return i=(B1(),r=new kE,r),aC(i,e),lC(i,t),n&&ve((!n.a&&(n.a=new ti(xo,n,5)),n.a),i),i}function ox(n){var e;return n.Db&64?Hs(n):(e=new ls(Hs(n)),e.a+=" (identifier: ",Er(e,n.k),e.a+=")",e.a)}function sx(n,e){var t;t=(n.Bb&kc)!=0,e?n.Bb|=kc:n.Bb&=-32769,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,18,t,e))}function AY(n,e){var t;t=(n.Bb&kc)!=0,e?n.Bb|=kc:n.Bb&=-32769,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,18,t,e))}function a4(n,e){var t;t=(n.Bb&wh)!=0,e?n.Bb|=wh:n.Bb&=-16385,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,16,t,e))}function LY(n,e){var t;t=(n.Bb&hr)!=0,e?n.Bb|=hr:n.Bb&=-65537,n.Db&4&&!(n.Db&1)&&rt(n,new Bs(n,1,20,t,e))}function NY(n){var e;return e=F(fs,gh,28,2,15,1),n-=hr,e[0]=(n>>10)+Sy&ui,e[1]=(n&1023)+56320&ui,ws(e,0,e.length)}function K5e(n){var e;return e=s0(n),e>34028234663852886e22?Pt:e<-34028234663852886e22?li:e}function nr(n,e){var t;return Vr(n)&&Vr(e)&&(t=n+e,Cy<t&&t<vd)?t:Z1(Gve(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function er(n,e){var t;return Vr(n)&&Vr(e)&&(t=n*e,Cy<t&&t<vd)?t:Z1(FOe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function bs(n,e){var t;return Vr(n)&&Vr(e)&&(t=n-e,Cy<t&&t<vd)?t:Z1(Qxn(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function uc(n,e){var t;return n.i||Tnn(n),t=u(Mr(n.g,e),42),t?new Jl(n.j,u(t.a,17).a,u(t.b,17).a):(Ln(),Ln(),sr)}function B5e(n){return Y$(),_n(),!!(kKn(u(n.a,86).j,u(n.b,88))||u(n.a,86).d.e!=0&&kKn(u(n.a,86).j,u(n.b,88)))}function F5e(n,e){return Sn(e.b&&e.c?td(e.b)+"->"+td(e.c):"e_"+mt(e),n.b&&n.c?td(n.b)+"->"+td(n.c):"e_"+mt(n))}function _5e(n,e){return Sn(e.b&&e.c?td(e.b)+"->"+td(e.c):"e_"+mt(e),n.b&&n.c?td(n.b)+"->"+td(n.c):"e_"+mt(n))}function Db(n,e){return Cf(),Fs(ha),y.Math.abs(n-e)<=ha||n==e||isNaN(n)&&isNaN(e)?0:n<e?-1:n>e?1:ub(isNaN(n),isNaN(e))}function El(){El=R,fU=new vM(Y5,0),Qj=new vM("POLYLINE",1),Kv=new vM("ORTHOGONAL",2),x3=new vM("SPLINES",3)}function _C(){_C=R,f1n=new uN("ASPECT_RATIO_DRIVEN",0),Oq=new uN("MAX_SCALE_DRIVEN",1),s1n=new uN("AREA_DRIVEN",2)}function H5e(n,e,t){var i;try{l6e(n,e,t)}catch(r){throw r=Ot(r),L(r,606)?(i=r,T(new NJ(i))):T(r)}return e}function q5e(n){var e,t,i;for(t=0,i=n.length;t<i;t++)if(n[t]==null)throw T(new fp("at index "+t));return e=n,new Fu(e)}function Ml(n){var e,t,i;for(e=new Z,i=new M(n.j);i.a<i.c.c.length;)t=u(E(i),12),nn(e,t.b);return Pe(e),new T6(e)}function ji(n){var e,t,i;for(e=new Z,i=new M(n.j);i.a<i.c.c.length;)t=u(E(i),12),nn(e,t.e);return Pe(e),new T6(e)}function Qt(n){var e,t,i;for(e=new Z,i=new M(n.j);i.a<i.c.c.length;)t=u(E(i),12),nn(e,t.g);return Pe(e),new T6(e)}function U5e(n,e){var t,i,r;for(r=new de,i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),Ve(r,t.ld(),Pve(n,u(t.md(),15)));return r}function G5e(n){var e,t;for(t=DMe(jo(Gw(n))).Kc();t.Ob();)if(e=Ae(t.Pb()),B5(n,e))return P3e((wMn(),Boe),e);return null}function fx(n,e){var t,i,r;for(r=0,i=u(e.Kb(n),20).Kc();i.Ob();)t=u(i.Pb(),18),on(un(v(t,(W(),zf))))||++r;return r}function mKn(n){var e,t,i,r;for(e=new zSn(n.Rd().gc()),r=0,i=Fp(n.Rd().Kc());i.Ob();)t=i.Pb(),I2e(e,t,Y(r++));return Pje(e.a)}function hx(n,e,t,i){var r,c;return Jn(i),Jn(t),r=n.xc(e),c=r==null?t:rMn(u(r,15),u(t,16)),c==null?n.Bc(e):n.zc(e,c),c}function z5e(n,e,t,i){var r,c,s;for(r=e+1;r<t;++r)for(c=r;c>e&&i.Ne(n[c-1],n[c])>0;--c)s=n[c],$t(n,c,n[c-1]),$t(n,c-1,s)}function vn(n,e){var t,i,r,c,s;if(t=e.f,s1(n.c.d,t,e),e.g!=null)for(r=e.g,c=0,s=r.length;c<s;++c)i=r[c],s1(n.c.e,i,e)}function vKn(n,e){var t,i;for(t=ge(n,0);t.b!=t.d.c;){if(i=J9(B(be(t))),i==e)return;if(i>e){bLn(t);break}}_7(t,e)}function X5e(n,e){var t,i,r;i=Ig(e),r=$(B(r0(i,(cn(),Ws)))),t=y.Math.max(0,r/2-.5),S5(e,t,1),nn(n,new NMn(e,t))}function V5e(n,e,t){var i;t.Ug("Straight Line Edge Routing",1),t.dh(e,Nrn),i=u(z(e,(Cg(),L2)),27),iGn(n,i),t.dh(e,LP)}function DY(n,e){n.n.c.length==0&&nn(n.n,new DT(n.s,n.t,n.i)),nn(n.b,e),bZ(u(sn(n.n,n.n.c.length-1),209),e),BUn(n,e)}function v5(n){var e;this.a=(e=u(n.e&&n.e(),9),new _o(e,u(xs(e,e.length),9),0)),this.b=F(ki,Rn,1,this.a.a.length,5,1)}function Jr(n){var e;return Array.isArray(n)&&n.Tm===Q2?Xa(wo(n))+"@"+(e=mt(n)>>>0,e.toString(16)):n.toString()}function W5e(n,e){return n.h==Ty&&n.m==0&&n.l==0?(e&&(ga=Yc(0,0,0)),ZTn((Km(),fun))):(e&&(ga=Yc(n.l,n.m,n.h)),Yc(0,0,0))}function J5e(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function kKn(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function $Y(n,e,t,i){switch(e){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return SY(n,e,t,i)}function HC(n,e){if(e==n.d)return n.e;if(e==n.e)return n.d;throw T(new Gn("Node "+e+" not part of edge "+n))}function Q5e(n,e){var t;if(t=uy(n.Dh(),e),L(t,102))return u(t,19);throw T(new Gn(wa+e+"' is not a valid reference"))}function Jo(n,e,t,i){if(e<0)Znn(n,t,i);else{if(!t.rk())throw T(new Gn(wa+t.xe()+a8));u(t,69).wk().Ck(n,n.hi(),e,i)}}function eo(n){var e;if(n.b){if(eo(n.b),n.b.d!=n.c)throw T(new Ko)}else n.d.dc()&&(e=u(n.f.c.xc(n.e),16),e&&(n.d=e))}function Y5e(n){Kw();var e,t,i,r;for(e=n.o.b,i=u(u(ot(n.r,(en(),ae)),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r=t.e,r.b+=e}function Z5e(n){var e,t,i;for(this.a=new rh,i=new M(n);i.a<i.c.c.length;)t=u(E(i),16),e=new rIn,Z4e(e,t),fi(this.a,e)}function n8e(n,e){var t,i,r;for(i=ePe(n,e),r=i[i.length-1]/2,t=0;t<i.length;t++)if(i[t]>=r)return e.c+t;return e.c+e.b.gc()}function e8e(n,e){pm();var t,i,r,c;for(i=LDn(n),r=e,xm(i,0,i.length,r),t=0;t<i.length;t++)c=H7e(n,i[t],t),t!=c&&m5(n,t,c)}function lx(n,e,t){var i,r;for(i=0,r=n.length;i<r;i++)if(B$((zn(i,n.length),n.charCodeAt(i)),e,t))return!0;return!1}function t8e(n,e){var t,i;for(i=n.e.a.ec().Kc();i.Ob();)if(t=u(i.Pb(),272),fje(e,t.d)||mEe(e,t.d))return!0;return!1}function xY(n,e,t,i,r){var c,s,f;for(s=r;e.b!=e.c;)c=u(Pp(e),10),f=u(uc(c,i).Xb(0),12),n.d[f.p]=s++,Bn(t.c,f);return s}function RY(n,e){var t,i,r,c,s,f;for(i=0,t=0,c=e,s=0,f=c.length;s<f;++s)r=c[s],r>0&&(i+=r,++t);return t>1&&(i+=n.d*(t-1)),i}function i8e(n){var e,t,i,r,c;return c=ZZ(n),t=Z9(n.c),i=!t,i&&(r=new _a,bf(c,"knownLayouters",r),e=new hyn(r),qi(n.c,e)),c}function KY(n){var e,t,i;for(i=new Hl,i.a+="[",e=0,t=n.gc();e<t;)Er(i,I6(n.Vi(e))),++e<t&&(i.a+=ur);return i.a+="]",i.a}function r8e(n){return n.e==null?n:(!n.c&&(n.c=new jR((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,null)),n.c)}function c8e(n){return n.k!=(Vn(),Xt)?!1:Ag(new Cn(null,new wb(new ie(ce(Qt(n).a.Kc(),new En)))),new ppn)}function Qo(n){var e,t;return L(n,306)?(t=tme(u(n,306)),e=t,e):L(n,441)?u(n,441).a:L(n,59)?new Pjn(n):new Iz(n)}function u8e(n){var e;return n==null?!0:(e=n.length,e>0&&(zn(e-1,n.length),n.charCodeAt(e-1)==58)&&!lx(n,A9,L9))}function BY(n,e){var t;return x(n)===x(e)?!0:L(e,92)?(t=u(e,92),n.e==t.e&&n.d==t.d&&O3e(n,t.a)):!1}function zp(n){switch(en(),n.g){case 4:return Xn;case 1:return Zn;case 3:return ae;case 2:return Wn;default:return sc}}function o8e(n){var e,t;if(n.b)return n.b;for(t=Uf?null:n.d;t;){if(e=Uf?null:t.b,e)return e;t=Uf?null:t.d}return lm(),Nun}function FY(n){var e,t,i;for(i=$(B(n.a.of((He(),iA)))),t=new M(n.a.Sf());t.a<t.c.c.length;)e=u(E(t),695),tzn(n,e,i)}function s8e(n){var e,t,i,r;for(e=(n.j==null&&(n.j=(Om(),r=XF.me(n),Cke(r))),n.j),t=0,i=e.length;t<i;++t);}function ax(n,e){var t,i;for(i=new M(e);i.a<i.c.c.length;)t=u(E(i),42),nn(n.b.b,u(t.b,86)),_D(u(t.a,194),u(t.b,86))}function f8e(n,e,t){var i,r;for(r=n.a.b,i=r.c.length;i<t;i++)ab(r,0,new Nc(n.a));$i(e,u(sn(r,r.c.length-t),30)),n.b[e.p]=t}function h8e(n,e,t,i,r){ko(),qs(Ns(Ls(As(Ds(new hs,0),r.d.e-n),e),r.d)),qs(Ns(Ls(As(Ds(new hs,0),t-r.a.e),r.a),i))}function yKn(n,e){var t;return n.d?Zc(n.b,e)?u(ee(n.b,e),47):(t=e.dg(),Ve(n.b,e,t),t):e.dg()}function l8e(n){var e=n.e;function t(i){return!i||i.length==0?"":" "+i.join(`
`)}return e&&(e.stack||t(n[oK]))}function _Y(n,e){switch(e){case 3:return n.f!=0;case 4:return n.g!=0;case 5:return n.i!=0;case 6:return n.j!=0}return _Q(n,e)}function jKn(n){switch(n.g){case 0:return new Vmn;case 1:return new Qmn;default:throw T(new Gn(cB+(n.f!=null?n.f:""+n.g)))}}function a8e(n){switch(n.g){case 0:return new Wmn;case 1:return new Jmn;default:throw T(new Gn(GB+(n.f!=null?n.f:""+n.g)))}}function d8e(n){switch(n.g){case 1:return new _mn;case 2:return new sSn;default:throw T(new Gn(GB+(n.f!=null?n.f:""+n.g)))}}function EKn(n){switch(n.g){case 0:return new iz;case 1:return new rjn;default:throw T(new Gn(xP+(n.f!=null?n.f:""+n.g)))}}function dx(){YZ();var n,e,t;t=hDe+++Date.now(),n=wi(y.Math.floor(t*Iy))&YS,e=wi(t-n*ytn),this.a=n^1502,this.b=e^NK}function Yo(){Yo=R,jj=new h7(kh,0),B8=new h7("FIRST",1),ja=new h7(GXn,2),F8=new h7("LAST",3),x0=new h7(zXn,4)}function qC(){qC=R,dU=new jM(yrn,0),kdn=new jM("GROUP_DEC",1),jdn=new jM("GROUP_MIXED",2),ydn=new jM("GROUP_INC",3)}function b8e(n,e){var t,i,r,c;e&&(r=yl(e,"x"),t=new eyn(n),_m(t.a,(Jn(r),r)),c=yl(e,"y"),i=new iyn(n),qm(i.a,(Jn(c),c)))}function w8e(n,e){var t,i,r,c;e&&(r=yl(e,"x"),t=new cyn(n),Fm(t.a,(Jn(r),r)),c=yl(e,"y"),i=new uyn(n),Hm(i.a,(Jn(c),c)))}function g8e(n,e){var t,i,r,c;for(r=new Gc(e.gc()),i=e.Kc();i.Ob();)t=i.Pb(),c=OR(n,u(t,58)),c&&Bn(r.c,c);return r}function i0(n,e,t){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),x(e)===x(i)||e!=null&&ct(e,i))return t&&r.Qb(),!0;return!1}function MKn(n){var e,t,i;return t=n.jh(),t?(e=n.Eh(),L(e,167)&&(i=MKn(u(e,167)),i!=null)?i+"."+t:t):null}function p8e(n){var e,t,i;return n.e==0?0:(e=n.d<<5,t=n.a[n.d-1],n.e<0&&(i=Ixn(n),i==n.d-1&&(--t,t=t|0)),e-=ty(t),e)}function m8e(n){var e,t,i;return n<fI.length?fI[n]:(t=n>>5,e=n&31,i=F(ye,_e,28,t+1,15,1),i[t]=1<<e,new Ya(1,t+1,i))}function TKn(n,e){var t,i;if(e){for(t=0;t<n.i;++t)if(i=u(n.g[t],378),i.mj(e))return!1;return ve(n,e)}else return!1}function HY(n,e,t){var i,r;if(++n.j,t.dc())return!1;for(r=t.Kc();r.Ob();)i=r.Pb(),n.qj(e,n.Zi(e,i)),++e;return!0}function v8e(n,e,t,i){var r,c;if(c=t-e,c<3)for(;c<3;)n*=10,++c;else{for(r=1;c>3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function At(n,e){var t,i,r;if(t=(n.i==null&&bh(n),n.i),i=e.Lj(),i!=-1){for(r=t.length;i<r;++i)if(t[i]==e)return i}return-1}function k8e(n){var e,t,i,r,c;for(t=u(n.g,689),i=n.i-1;i>=0;--i)for(e=t[i],r=0;r<i;++r)if(c=t[r],LUn(n,e,c)){Jp(n,i);break}}function qY(n){var e,t,i,r;for(e=new _a,r=new W3(n.b.Kc());r.b.Ob();)i=u(r.b.Pb(),701),t=xje(i),j0e(e,e.a.length,t);return e.a}function UY(n){var e;return!n.c&&(n.c=new gwn),Yt(n.d,new mwn),vSe(n),e=hSe(n),Ut(new Cn(null,new On(n.d,16)),new N9n(n)),e}function y8e(n,e){e.Ug("End label post-processing",1),Ut(ut(rc(new Cn(null,new On(n.b,16)),new N0n),new D0n),new $0n),e.Vg()}function GY(n){bx(),this.c=Af(S(C(IDe,1),Rn,845,0,[Jte])),this.b=new de,this.a=n,Ve(this.b,EO,1),nu(Qte,new Nkn(this))}function CKn(n,e,t){_$n(),Zyn.call(this),this.a=Wa(zQn,[J,Ltn],[603,217],0,[dI,f_],2),this.c=new mp,this.g=n,this.f=e,this.d=t}function zY(n,e){this.n=Wa(Ka,[J,PK],[376,28],14,[e,wi(y.Math.ceil(n/32))],2),this.o=n,this.p=e,this.j=n-1>>1,this.k=e-1>>1}function j8e(n){YT(),u(n.of((He(),Sa)),181).Hc((io(),hA))&&(u(n.of(W0),181).Fc((zu(),R3)),u(n.of(Sa),181).Mc(hA))}function SKn(n){var e,t;e=n.d==(Yp(),av),t=qZ(n),e&&!t||!e&&t?U(n.a,(cn(),Ch),(Bh(),qj)):U(n.a,(cn(),Ch),(Bh(),Hj))}function bx(){bx=R,ZE(),EO=(cn(),bw),Qte=Af(S(C(Gq,1),krn,149,0,[Tj,Ws,C2,dw,q0,IH,Cv,Sv,OH,G8,T2,Kd,S2]))}function E8e(n,e){var t;return t=u(Wr(n,qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),t.Qc(VPn(t.gc()))}function PKn(n,e){var t,i;if(i=new Q3(n.a.ad(e,!0)),i.a.gc()<=1)throw T(new rp);return t=i.a.ec().Kc(),t.Pb(),u(t.Pb(),39)}function M8e(n,e,t){var i,r;return i=$(n.p[e.i.p])+$(n.d[e.i.p])+e.n.b+e.a.b,r=$(n.p[t.i.p])+$(n.d[t.i.p])+t.n.b+t.a.b,r-i}function XY(n,e){var t;return n.i>0&&(e.length<n.i&&(t=wk(wo(e).c,n.i),e=t),Oc(n.g,0,e,0,n.i)),e.length>n.i&&$t(e,n.i,null),e}function UC(n){var e;return n.Db&64?w5(n):(e=new ls(w5(n)),e.a+=" (instanceClassName: ",Er(e,n.D),e.a+=")",e.a)}function GC(n){var e,t,i,r;for(r=0,t=0,i=n.length;t<i;t++)e=(zn(t,n.length),n.charCodeAt(t)),e<64&&(r=lf(r,Ks(1,e)));return r}function T8e(n,e,t){var i,r;for(i=vi(t,mr),r=0;Ec(i,0)!=0&&r<e;r++)i=nr(i,vi(n[r],mr)),n[r]=Se(i),i=db(i,32);return Se(i)}function xk(n,e){var t,i,r,c;for(c=ru(n.e.Dh(),e),t=u(n.g,124),r=0;r<n.i;++r)if(i=t[r],c.am(i.Lk()))return!1;return!0}function wx(n,e){var t,i,r;return n.f>0?(n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=BHn(n,r,i,e),t!=-1):!1}function IKn(n,e){var t,i;n.a=nr(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d+=e,t=e-n.f,i=n.e+t,n.f=i-n.e-t,n.e=i}function VY(n,e){switch(e){case 3:Sb(n,0);return;case 4:Pb(n,0);return;case 5:eu(n,0);return;case 6:tu(n,0);return}mY(n,e)}function $b(n,e){switch(e.g){case 1:return Mp(n.j,(Au(),$on));case 2:return Mp(n.j,(Au(),Ron));default:return Ln(),Ln(),sr}}function WY(n){gb();var e;switch(e=n.Pc(),e.length){case 0:return qF;case 1:return new VN(Pe(e[0]));default:return new ID(q5e(e))}}function OKn(n,e){n.Xj();try{n.d.bd(n.e++,e),n.f=n.d.j,n.g=-1}catch(t){throw t=Ot(t),L(t,77)?T(new Ko):T(t)}}function gx(){gx=R,MU=new Tvn,Gdn=new Cvn,zdn=new Svn,Xdn=new Pvn,Vdn=new Ivn,Wdn=new Ovn,Jdn=new Avn,Qdn=new Lvn,Ydn=new Nvn}function zC(n,e){mX();var t,i;return t=O7((BE(),BE(),M8)),i=null,e==t&&(i=u(Dc(oun,n),624)),i||(i=new WIn(n),e==t&&Lr(oun,n,i)),i}function AKn(n){c0();var e;return(n.q?n.q:(Ln(),Ln(),Wh))._b((cn(),lw))?e=u(v(n,lw),203):e=u(v(Hi(n),U8),203),e}function r0(n,e){var t,i;return i=null,kt(n,(cn(),yO))&&(t=u(v(n,yO),96),t.pf(e)&&(i=t.of(e))),i==null&&(i=v(Hi(n),e)),i}function LKn(n,e){var t,i,r;return L(e,44)?(t=u(e,44),i=t.ld(),r=t0(n.Rc(),i),sh(r,t.md())&&(r!=null||n.Rc()._b(i))):!1}function gf(n,e){var t,i,r;return n.f>0&&(n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=Nnn(n,r,i,e),t)?t.md():null}function Xc(n,e,t){var i,r,c;return n.Pj()?(i=n.i,c=n.Qj(),Ak(n,i,e),r=n.Ij(3,null,e,i,c),t?t.nj(r):t=r):Ak(n,n.i,e),t}function C8e(n,e,t){var i,r;return i=new ml(n.e,4,10,(r=e.c,L(r,90)?u(r,29):(An(),Os)),null,f1(n,e),!1),t?t.nj(i):t=i,t}function S8e(n,e,t){var i,r;return i=new ml(n.e,3,10,null,(r=e.c,L(r,90)?u(r,29):(An(),Os)),f1(n,e),!1),t?t.nj(i):t=i,t}function NKn(n){Kw();var e;return e=new rr(u(n.e.of((He(),_2)),8)),n.B.Hc((io(),Fv))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function ra(n){dh();var e,t;return t=Se(n),e=Se(G1(n,32)),e!=0?new _An(t,e):t>10||t<0?new gl(1,t):kQn[t]}function Rk(n,e){var t;return Vr(n)&&Vr(e)&&(t=n%e,Cy<t&&t<vd)?t:Z1((Xen(Vr(n)?ds(n):n,Vr(e)?ds(e):e,!0),ga))}function k5(n,e){var t;bLe(e),t=u(v(n,(cn(),bO)),283),t&&U(n,bO,O7e(t)),zl(n.c),zl(n.f),HJ(n.d),HJ(u(v(n,mO),214))}function P8e(n){var e,t,i,r;for(i=uEe(n),Yt(i,BZn),r=n.d,r.c.length=0,t=new M(i);t.a<t.c.c.length;)e=u(E(t),465),hi(r,e.b)}function px(n){var e;n.c!=0&&(e=u(sn(n.a,n.b),293),e.b==1?(++n.b,n.b<n.a.c.length&&i9n(u(sn(n.a,n.b),293))):--e.b,--n.c)}function I8e(n){var e;e=n.a;do e=u(fe(new ie(ce(Qt(e).a.Kc(),new En))),18).d.i,e.k==(Vn(),Ti)&&nn(n.e,e);while(e.k==(Vn(),Ti))}function DKn(n){this.e=F(ye,_e,28,n.length,15,1),this.c=F(so,Xh,28,n.length,16,1),this.b=F(so,Xh,28,n.length,16,1),this.f=0}function O8e(n){var e,t;for(n.j=F(Ii,Cr,28,n.p.c.length,15,1),t=new M(n.p);t.a<t.c.c.length;)e=u(E(t),10),n.j[e.p]=e.o.b/n.i}function A8e(n,e){var t,i,r,c;for(c=e.b.b,n.a=new Mt,n.b=F(ye,_e,28,c,15,1),t=0,r=ge(e.b,0);r.b!=r.d.c;)i=u(be(r),39),i.g=t++}function $Kn(n,e,t){var i,r,c,s;for(c=e-n.e,s=t-n.f,r=new M(n.a);r.a<r.c.c.length;)i=u(E(r),172),_k(i,i.s+c,i.t+s);n.e=e,n.f=t}function Kk(n,e){var t,i;for(i=e.length,t=0;t<i;t+=2)xc(n,(zn(t,e.length),e.charCodeAt(t)),(zn(t+1,e.length),e.charCodeAt(t+1)))}function L8e(n,e){e.Ug("Min Size Postprocessing",1),ht(n,(_h(),X0),y.Math.max($(B(z(n,X0))),$(B(z(n,s9))))),e.Vg()}function JY(){JY=R,bdn=new ob(15),uoe=new Di((He(),M1),bdn),soe=new Di(qd,15),ooe=new Di(oU,Y(0)),coe=new Di(x2,U4)}function go(){go=R,iE=new yM("PORTS",0),Gd=new yM("PORT_LABELS",1),tE=new yM("NODE_LABELS",2),Q0=new yM("MINIMUM_SIZE",3)}function XC(){XC=R,Rj=new rN("P1_WIDTH_APPROXIMATION",0),qO=new rN("P2_PACKING",1),Mq=new rN("P3_WHITESPACE_ELIMINATION",2)}function xKn(n){if(n.b==null){for(;n.a.Ob();)if(n.b=n.a.Pb(),!u(n.b,54).Jh())return!0;return n.b=null,!1}else return!0}function d4(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(e,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Bk(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(e,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function N8e(n,e,t,i){var r,c,s;return r=!1,xAe(n.f,t,i)&&(e9e(n.f,n.a[e][t],n.a[e][i]),c=n.a[e],s=c[i],c[i]=c[t],c[t]=s,r=!0),r}function RKn(n,e,t){var i,r,c,s;for(r=u(ee(n.b,t),183),i=0,s=new M(e.j);s.a<s.c.c.length;)c=u(E(s),113),r[c.d.p]&&++i;return i}function QY(n,e,t){var i,r;i=u(Dc(qv,e),122),r=u(Dc(K9,e),122),t?(Lr(qv,n,i),Lr(K9,n,r)):(Lr(K9,n,i),Lr(qv,n,r))}function KKn(n,e){var t,i,r,c;return t=e>>5,e&=31,r=n.d+t+(e==0?0:1),i=F(ye,_e,28,r,15,1),Aye(i,n.a,t,e),c=new Ya(n.e,r,i),V6(c),c}function D8e(n,e){var t,i,r;for(i=new ie(ce(Qt(n).a.Kc(),new En));pe(i);)if(t=u(fe(i),18),r=t.d.i,r.c==e)return!1;return!0}function YY(n,e,t){var i,r,c,s,f;return s=n.k,f=e.k,i=t[s.g][f.g],r=B(r0(n,i)),c=B(r0(e,i)),y.Math.max((Jn(r),r),(Jn(c),c))}function $8e(){return Error.stackTraceLimit>0?(y.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function x8e(n,e){return Cf(),Cf(),Fs(ha),(y.Math.abs(n-e)<=ha||n==e||isNaN(n)&&isNaN(e)?0:n<e?-1:n>e?1:ub(isNaN(n),isNaN(e)))>0}function ZY(n,e){return Cf(),Cf(),Fs(ha),(y.Math.abs(n-e)<=ha||n==e||isNaN(n)&&isNaN(e)?0:n<e?-1:n>e?1:ub(isNaN(n),isNaN(e)))<0}function BKn(n,e){return Cf(),Cf(),Fs(ha),(y.Math.abs(n-e)<=ha||n==e||isNaN(n)&&isNaN(e)?0:n<e?-1:n>e?1:ub(isNaN(n),isNaN(e)))<=0}function mx(n,e){for(var t=0;!e[t]||e[t]=="";)t++;for(var i=e[t++];t<e.length;t++)!e[t]||e[t]==""||(i+=n+e[t]);return i}function FKn(n){var e,t;return e=u(Un(n.a,4),129),e!=null?(t=F(kU,TF,424,e.length,0,1),Oc(e,0,t,0,e.length),t):Ooe}function _Kn(n){var e,t,i,r,c;if(n==null)return null;for(c=new Z,t=z$(n),i=0,r=t.length;i<r;++i)e=t[i],nn(c,Rc(e,!0));return c}function HKn(n){var e,t,i,r,c;if(n==null)return null;for(c=new Z,t=z$(n),i=0,r=t.length;i<r;++i)e=t[i],nn(c,Rc(e,!0));return c}function qKn(n){var e,t,i,r,c;if(n==null)return null;for(c=new Z,t=z$(n),i=0,r=t.length;i<r;++i)e=t[i],nn(c,Rc(e,!0));return c}function UKn(n,e){var t,i,r;if(n.c)Sb(n.c,e);else for(t=e-ao(n),r=new M(n.a);r.a<r.c.c.length;)i=u(E(r),163),UKn(i,ao(i)+t)}function GKn(n,e){var t,i,r;if(n.c)Pb(n.c,e);else for(t=e-Pu(n),r=new M(n.d);r.a<r.c.c.length;)i=u(E(r),163),GKn(i,Pu(i)+t)}function ws(n,e,t){var i,r,c,s;for(c=e+t,Ri(e,c,n.length),s="",r=e;r<c;)i=y.Math.min(r+1e4,c),s+=Y0e(n.slice(r,i)),r=i;return s}function nZ(n){switch(n.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function o1(){o1=R,W_=new f7(tin,0),Osn=new f7(VXn,1),J_=new f7(sB,2),gv=new f7(Ztn,3),wv=new f7("GREEDY_MODEL_ORDER",4)}function lh(){lh=R,k1=new wM(kh,0),Bhn=new wM("NODES_AND_EDGES",1),_H=new wM("PREFER_EDGES",2),HH=new wM("PREFER_NODES",3)}function eZ(n,e,t,i,r,c){this.a=n,this.c=e,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=rT(this.c,this.b,this.a))}function R8e(n,e){var t=n.a,i;e=String(e),t.hasOwnProperty(e)&&(i=t[e]);var r=(F$(),VF)[typeof i],c=r?r(i):dY(typeof i);return c}function b4(n){var e,t,i;if(i=null,e=Eh in n.a,t=!e,t)throw T(new eh("Every element must have an id."));return i=Zp(dl(n,Eh)),i}function xb(n){var e,t;for(t=l_n(n),e=null;n.c==2;)Ze(n),e||(e=(nt(),nt(),new C6(2)),pd(e,t),t=e),t.Jm(l_n(n));return t}function VC(n,e){var t,i,r;return n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=Nnn(n,r,i,e),t?(X$n(n,t),t.md()):null}function zKn(n,e){return n.e>e.e?1:n.e<e.e?-1:n.d>e.d?n.e:n.d<e.d?-e.e:n.e*sY(n.a,e.a,n.d)}function XKn(n){return n>=48&&n<48+y.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function K8e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw T(new Gn("Input edge is not connected to the input port."))}function B8e(n){if(JC(Z4,n))return _n(),uv;if(JC(cF,n))return _n(),pa;throw T(new Gn("Expecting true or false"))}function tZ(n){switch(typeof n){case nK:return t1(n);case htn:return pp(n);case i3:return SSn(n);default:return n==null?0:fb(n)}}function ah(n,e){if(n.a<0)throw T(new Ar("Did not call before(...) or after(...) before calling add(...)."));return JX(n,n.a,e),n}function iZ(n){return $T(),L(n,162)?u(ee(fE,TQn),294).Rg(n):Zc(fE,wo(n))?u(ee(fE,wo(n)),294).Rg(n):null}function iu(n){var e,t;return n.Db&32||(t=(e=u(Un(n,16),29),se(e||n.ii())-se(n.ii())),t!=0&&Xp(n,32,F(ki,Rn,1,t,5,1))),n}function Xp(n,e,t){var i;n.Db&e?t==null?jMe(n,e):(i=Bx(n,e),i==-1?n.Eb=t:$t(cd(n.Eb),i,t)):t!=null&&GCe(n,e,t)}function F8e(n,e,t,i){var r,c;e.c.length!=0&&(r=$Te(t,i),c=xEe(e),Ut(fC(new Cn(null,new On(c,1)),new L3n),new MOn(n,t,r,i)))}function _8e(n,e){var t,i,r,c;return i=n.a.length-1,t=e-n.b&i,c=n.c-e&i,r=n.c-n.b&i,jSn(t<r),t>=c?(B6e(n,e),-1):(K6e(n,e),1)}function WC(n){var e,t,i;if(i=n.Jh(),!i)for(e=0,t=n.Ph();t;t=t.Ph()){if(++e>IK)return t.Qh();if(i=t.Jh(),i||t==n)break}return i}function VKn(n,e){var t;return x(e)===x(n)?!0:!L(e,21)||(t=u(e,21),t.gc()!=n.gc())?!1:n.Ic(t)}function H8e(n,e){return n.e<e.e?-1:n.e>e.e?1:n.f<e.f?-1:n.f>e.f?1:mt(n)-mt(e)}function JC(n,e){return Jn(n),e==null?!1:Sn(n,e)?!0:n.length==e.length&&Sn(n.toLowerCase(),e.toLowerCase())}function Tl(n){var e,t;return Ec(n,-129)>0&&Ec(n,128)<0?(YPn(),e=Se(n)+128,t=gun[e],!t&&(t=gun[e]=new mG(n)),t):new mG(n)}function dd(){dd=R,A0=new lM(kh,0),Oon=new lM("INSIDE_PORT_SIDE_GROUPS",1),P_=new lM("GROUP_MODEL_ORDER",2),I_=new lM(Ztn,3)}function q8e(n){var e;return n.b||xhe(n,(e=$ae(n.e,n.a),!e||!Sn(cF,gf((!e.b&&(e.b=new lo((An(),ar),pc,e)),e.b),"qualified")))),n.c}function U8e(n,e){var t,i;for(t=(zn(e,n.length),n.charCodeAt(e)),i=e+1;i<n.length&&(zn(i,n.length),n.charCodeAt(i)==t);)++i;return i-e}function G8e(n,e){(!e&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,n)}function z8e(n,e,t,i){i==n,u(t.b,68),u(t.b,68),u(i.b,68),u(i.b,68).c.b,GJ(i,e,n)}function X8e(n){var e,t;for(e=new M(n.g);e.a<e.c.c.length;)u(E(e),568);t=new hqn(n.g,$(n.a),n.c),yLe(t),n.g=t.b,n.d=t.a}function WKn(n,e,t){var i,r,c;for(c=new M(t.a);c.a<c.c.c.length;)r=u(E(c),225),i=new LM(u(ee(n.a,r.b),68)),nn(e.a,i),WKn(n,i,r)}function V8e(n,e,t){var i,r,c;return i=u(N(no(n.a),e),89),c=(r=i.c,r||(An(),Zf)),(c.Vh()?ta(n.b,u(c,54)):c)==t?KS(i):Bm(i,t),c}function rZ(n,e,t){e.b=y.Math.max(e.b,-t.a),e.c=y.Math.max(e.c,t.a-n.a),e.d=y.Math.max(e.d,-t.b),e.a=y.Math.max(e.a,t.b-n.b)}function cZ(n,e,t){this.c=n,this.f=new Z,this.e=new Ni,this.j=new uW,this.n=new uW,this.b=e,this.g=new Ho(e.c,e.d,e.b,e.a),this.a=t}function vx(n){var e,t,i,r;for(this.a=new rh,this.d=new ni,this.e=0,t=n,i=0,r=t.length;i<r;++i)e=t[i],!this.f&&(this.f=e),_D(this,e)}function JKn(n){dh(),n.length==0?(this.e=0,this.d=1,this.a=S(C(ye,1),_e,28,15,[0])):(this.e=1,this.d=n.length,this.a=n,V6(this))}function y5(n,e,t){Zyn.call(this),this.a=F(zQn,Ltn,217,(wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])).length,0,1),this.b=n,this.d=e,this.c=t}function W8e(n){var e,t,i,r,c,s;for(s=u(v(n,(W(),st)),12),U(s,yv,n.i.n.b),e=hh(n.e),i=e,r=0,c=i.length;r<c;++r)t=i[r],Oi(t,s)}function J8e(n){var e,t,i,r,c,s;for(t=u(v(n,(W(),st)),12),U(t,yv,n.i.n.b),e=hh(n.g),r=e,c=0,s=r.length;c<s;++c)i=r[c],Zi(i,t)}function Q8e(n,e){DD();var t,i;for(i=new ie(ce(Ml(n).a.Kc(),new En));pe(i);)if(t=u(fe(i),18),t.d.i==e||t.c.i==e)return t;return null}function QKn(n,e){var t,i;return t=e.qi(n.a),t&&(i=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),Qe)),i!=null)?i:e.xe()}function Y8e(n,e){var t,i;return t=e.qi(n.a),t&&(i=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),Qe)),i!=null)?i:e.xe()}function Z8e(n,e){var t,i;return t=jc(n.a.c.p,e.a.c.p),t!=0?t:(i=jc(n.a.d.i.p,e.a.d.i.p),i!=0?i:jc(e.a.d.p,n.a.d.p))}function n9e(n,e){var t,i,r,c;for(i=0,r=e.gc();i<r;++i)t=e.Tl(i),L(t,102)&&u(t,19).Bb&kc&&(c=e.Ul(i),c!=null&&OR(n,u(c,58)))}function YKn(n,e){var t,i,r;if(nn(mI,n),e.Fc(n),t=u(ee(p_,n),21),t)for(r=t.Kc();r.Ob();)i=u(r.Pb(),27),qr(mI,i,0)!=-1||YKn(i,e)}function e9e(n,e,t){var i,r;eR(n.e,e,t,(en(),Wn)),eR(n.i,e,t,Zn),n.a&&(r=u(v(e,(W(),st)),12),i=u(v(t,st),12),FD(n.g,r,i))}function ZKn(n,e,t){var i,r,c;i=e.c.p,c=e.p,n.b[i][c]=new zOn(n,e),t&&(n.a[i][c]=new x7n(e),r=u(v(e,(W(),uw)),10),r&&In(n.d,r,e))}function t9e(n,e,t){var i,r,c,s;return c=e.j,s=t.j,c!=s?c.g-s.g:(i=n.f[e.p],r=n.f[t.p],i==0&&r==0?0:i==0?-1:r==0?1:bt(i,r))}function i9e(){var n;return cI!=0&&(n=Date.now(),n-hQn>2e3&&(hQn=n,uI=y.setTimeout(_he,10))),cI++==0?(i4e((hz(),uun)),!0):!1}function r9e(n,e,t){var i;(LQn?(o8e(n),!0):NQn||$Qn?(lm(),!0):DQn&&(lm(),!1))&&(i=new lPn(e),i.b=t,aje(n,i))}function kx(n,e){var t;t=!n.A.Hc((go(),Gd))||n.q==(Ai(),qc),n.u.Hc((zu(),Rl))?t?XLe(n,e):UGn(n,e):n.u.Hc(Aa)&&(t?dLe(n,e):czn(n,e))}function nBn(n){var e;x(z(n,(He(),B2)))===x((jl(),uA))&&(St(n)?(e=u(z(St(n),B2),346),ht(n,B2,e)):ht(n,B2,j9))}function c9e(n){var e,t;return kt(n.d.i,(cn(),Ev))?(e=u(v(n.c.i,Ev),17),t=u(v(n.d.i,Ev),17),jc(e.a,t.a)>0):!1}function eBn(n,e,t){return new Ho(y.Math.min(n.a,e.a)-t/2,y.Math.min(n.b,e.b)-t/2,y.Math.abs(n.a-e.a)+t,y.Math.abs(n.b-e.b)+t)}function tBn(n){var e;this.d=new Z,this.j=new Ni,this.g=new Ni,e=n.g.b,this.f=u(v(Hi(e),(cn(),Lo)),88),this.e=$(B(nS(e,q0)))}function iBn(n){this.d=new Z,this.e=new Ql,this.c=F(ye,_e,28,(en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])).length,15,1),this.b=n}function uZ(n,e,t){var i;switch(i=t[n.g][e],n.g){case 1:case 3:return new V(0,i);case 2:case 4:return new V(i,0);default:return null}}function rBn(n,e,t){var i,r;r=u(z7(e.f),205);try{r.rf(n,t),fOn(e.f,r)}catch(c){throw c=Ot(c),L(c,103)?(i=c,T(i)):T(c)}}function cBn(n,e,t){var i,r,c,s,f,h;return i=null,f=Jen(Gm(),e),c=null,f&&(r=null,h=Ven(f,t),s=null,h!=null&&(s=n.qf(f,h)),r=s,c=r),i=c,i}function yx(n,e,t,i){var r;if(r=n.length,e>=r)return r;for(e=e>0?e:0;e<r&&!B$((zn(e,n.length),n.charCodeAt(e)),t,i);e++);return e}function Rf(n,e){var t,i;for(i=n.c.length,e.length<i&&(e=HE(new Array(i),e)),t=0;t<i;++t)$t(e,t,n.c[t]);return e.length>i&&$t(e,i,null),e}function uBn(n,e){var t,i;for(i=n.a.length,e.length<i&&(e=HE(new Array(i),e)),t=0;t<i;++t)$t(e,t,n.a[t]);return e.length>i&&$t(e,i,null),e}function w4(n,e){var t,i;if(++n.j,e!=null&&(t=(i=n.a.Cb,L(i,99)?u(i,99).th():null),hMe(e,t))){Xp(n.a,4,t);return}Xp(n.a,4,u(e,129))}function u9e(n){var e;if(n==null)return null;if(e=lTe(Rc(n,!0)),e==null)throw T(new kL("Invalid hexBinary value: '"+n+"'"));return e}function QC(n,e,t){var i;e.a.length>0&&(nn(n.b,new SPn(e.a,t)),i=e.a.length,0<i?e.a=qo(e.a,0,0):0>i&&(e.a+=ICn(F(fs,gh,28,-i,15,1))))}function oBn(n,e,t){var i,r,c;if(!t[e.d])for(t[e.d]=!0,r=new M(xg(e));r.a<r.c.c.length;)i=u(E(r),218),c=HC(i,e),oBn(n,c,t)}function s1(n,e,t){var i,r,c;return r=u(ee(n.e,e),400),r?(c=dV(r,t),ACn(n,r),c):(i=new HV(n,e,t),Ve(n.e,e,i),iAn(i),null)}function o9e(n,e,t,i){var r,c,s;return r=new ml(n.e,1,13,(s=e.c,s||(An(),Zf)),(c=t.c,c||(An(),Zf)),f1(n,e),!1),i?i.nj(r):i=r,i}function jx(){return VS(),S(C(vYn,1),G,164,0,[pYn,gYn,mYn,sYn,oYn,fYn,aYn,lYn,hYn,wYn,bYn,dYn,cYn,rYn,uYn,tYn,eYn,iYn,ZQn,YQn,nYn,h_])}function g4(n){switch(n.g){case 4:return new V(0,-1);case 1:return new V(1,0);case 2:return new V(-1,0);default:return new V(0,1)}}function Ex(n){switch(n.g){case 1:return ci(),us;case 4:return ci(),Kr;case 2:return ci(),Xr;case 3:return ci(),Wf}return ci(),Jf}function s9e(n){var e;switch(e=n.hj(null),e){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function pf(){pf=R,xn=new g7("PARENTS",0),pi=new g7("NODES",1),Ih=new g7("EDGES",2),Fd=new g7("PORTS",3),E1=new g7("LABELS",4)}function f9e(n,e,t){var i;switch(i=t.q.getFullYear()-la+la,i<0&&(i=-i),e){case 1:n.a+=i;break;case 2:Kh(n,i%100,2);break;default:Kh(n,i,e)}}function ge(n,e){var t,i;if(zw(e,n.b),e>=n.b>>1)for(i=n.c,t=n.b;t>e;--t)i=i.b;else for(i=n.a.a,t=0;t<e;++t)i=i.a;return new hPn(n,e,i)}function YC(){YC=R,u_=new _z("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),$un=new _z("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function sBn(n){this.b=new Z,this.e=new Z,this.d=n,this.a=!om(ut(new Cn(null,new wb(new Lf(n.b))),new Y3(new mpn))).Bd((Va(),v3))}function fBn(n,e){var t,i,r,c;for(t=0,r=new M(e.a);r.a<r.c.c.length;)i=u(E(r),10),c=i.o.a+i.d.c+i.d.b+n.j,t=y.Math.max(t,c);return t}function hBn(n,e){var t,i,r;r=e.d.i,i=r.k,!(i==(Vn(),Xt)||i==Gf)&&(t=new ie(ce(Qt(r).a.Kc(),new En)),pe(t)&&Ve(n.k,e,u(fe(t),18)))}function h9e(n,e){return kl(),bt((n.a.b==0?new V(n.c.e.a,n.c.e.b):u(gm(n.a),8)).b,(e.a.b==0?new V(e.c.e.a,e.c.e.b):u(gm(e.a),8)).b)}function l9e(n,e){return kl(),bt((n.a.b==0?new V(n.c.e.a,n.c.e.b):u(gm(n.a),8)).a,(e.a.b==0?new V(e.c.e.a,e.c.e.b):u(gm(e.a),8)).a)}function a9e(n,e){return kl(),bt((n.a.b==0?new V(n.b.e.a,n.b.e.b):u($s(n.a),8)).a,(e.a.b==0?new V(e.b.e.a,e.b.e.b):u($s(e.a),8)).a)}function d9e(n,e){return kl(),bt((n.a.b==0?new V(n.b.e.a,n.b.e.b):u($s(n.a),8)).b,(e.a.b==0?new V(e.b.e.a,e.b.e.b):u($s(e.a),8)).b)}function Kg(){Kg=R,Ia=new m7("DISTRIBUTED",0),nE=new m7("JUSTIFIED",1),ldn=new m7("BEGIN",2),E9=new m7(H4,3),adn=new m7("END",4)}function Mx(n,e){var t,i,r;return i=$n(n.Dh(),e),t=e-n.ji(),t<0?(r=n.Ih(i),r>=0?n.Wh(r):hR(n,i)):t<0?hR(n,i):u(i,69).wk().Bk(n,n.hi(),t)}function lBn(n){var e,t,i;for(i=(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),n.o),t=i.c.Kc();t.e!=t.i.gc();)e=u(t.Yj(),44),e.md();return ik(i)}function rn(n){var e;if(L(n.a,4)){if(e=iZ(n.a),e==null)throw T(new Ar(DVn+n.b+"'. "+NVn+(ll(hE),hE.k)+lcn));return e}else return n.a}function b9e(n,e){var t,i;if(n.j.length!=e.j.length)return!1;for(t=0,i=n.j.length;t<i;t++)if(!Sn(n.j[t],e.j[t]))return!1;return!0}function ue(n){var e;try{return e=n.i.Xb(n.e),n.Xj(),n.g=n.e++,e}catch(t){throw t=Ot(t),L(t,77)?(n.Xj(),T(new nc)):T(t)}}function Tx(n){var e;try{return e=n.c.Vi(n.e),n.Xj(),n.g=n.e++,e}catch(t){throw t=Ot(t),L(t,77)?(n.Xj(),T(new nc)):T(t)}}function ZC(n){var e,t,i,r;for(r=0,t=0,i=n.length;t<i;t++)e=(zn(t,n.length),n.charCodeAt(t)),e>=64&&e<128&&(r=lf(r,Ks(1,e-64)));return r}function nS(n,e){var t,i;return i=null,kt(n,(He(),D3))&&(t=u(v(n,D3),96),t.pf(e)&&(i=t.of(e))),i==null&&Hi(n)&&(i=v(Hi(n),e)),i}function w9e(n,e){var t;return t=u(v(n,(cn(),Rr)),75),yN(e,NZn)?t?vo(t):(t=new Tu,U(n,Rr,t)):t&&U(n,Rr,null),t}function j5(){j5=R,hon=(He(),Han),w_=jan,LYn=x2,fon=M1,xYn=(aS(),Hun),$Yn=Fun,RYn=Uun,DYn=Bun,NYn=(Q$(),uon),b_=IYn,son=OYn,pI=AYn}function eS(n){switch(Nz(),this.c=new Z,this.d=n,n.g){case 0:case 2:this.a=_W(Ion),this.b=Pt;break;case 3:case 1:this.a=Ion,this.b=li}}function g9e(n){var e;Ep(u(v(n,(cn(),_t)),101))&&(e=n.b,nHn((Nn(0,e.c.length),u(e.c[0],30))),nHn(u(sn(e,e.c.length-1),30)))}function p9e(n,e){e.Ug("Self-Loop post-processing",1),Ut(ut(ut(rc(new Cn(null,new On(n.b,16)),new o2n),new s2n),new f2n),new h2n),e.Vg()}function aBn(n,e,t){var i,r;if(n.c)eu(n.c,n.c.i+e),tu(n.c,n.c.j+t);else for(r=new M(n.b);r.a<r.c.c.length;)i=u(E(r),163),aBn(i,e,t)}function m9e(n){var e;if(n==null)return null;if(e=iNe(Rc(n,!0)),e==null)throw T(new kL("Invalid base64Binary value: '"+n+"'"));return e}function Zo(n,e){var t;t=n.fd(e);try{return t.Pb()}catch(i){throw i=Ot(i),L(i,112)?T(new Or("Can't get element "+e)):T(i)}}function dBn(n,e){var t,i,r;for(t=n.o,r=u(u(ot(n.r,e),21),87).Kc();r.Ob();)i=u(r.Pb(),117),i.e.a=y7e(i,t.a),i.e.b=t.b*$(B(i.b.of(bI)))}function v9e(n,e){var t,i,r;for(r=new Gc(e.gc()),i=e.Kc();i.Ob();)t=u(i.Pb(),292),t.c==t.f?j4(n,t,t.c):Hje(n,t)||Bn(r.c,t);return r}function bBn(n){var e;return e=new R1,e.a+="n",n.k!=(Vn(),Xt)&&Be(Be((e.a+="(",e),PN(n.k).toLowerCase()),")"),Be((e.a+="_",e),Hk(n)),e.a}function k9e(n,e){var t,i,r,c;return r=n.k,t=$(B(v(n,(W(),ow)))),c=e.k,i=$(B(v(e,ow))),c!=(Vn(),Zt)?-1:r!=Zt?1:t==i?0:t<i?-1:1}function y9e(n,e){var t,i;return t=u(u(ee(n.g,e.a),42).a,68),i=u(u(ee(n.g,e.b),42).a,68),Q1(e.a,e.b)-Q1(e.a,AX(t.b))-Q1(e.b,AX(i.b))}function wBn(n,e){var t;switch(t=u(Mr(n.b,e),127).n,e.g){case 1:n.t>=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function E5(){E5=R,Lhn=new l7(yrn,0),BH=new l7(sB,1),FH=new l7("LINEAR_SEGMENTS",2),X8=new l7("BRANDES_KOEPF",3),V8=new l7(sVn,4)}function M5(){M5=R,sj=new fM(eP,0),wI=new fM(HK,1),gI=new fM(qK,2),fj=new fM(UK,3),sj.a=!1,wI.a=!0,gI.a=!1,fj.a=!0}function Vp(){Vp=R,cj=new sM(eP,0),rj=new sM(HK,1),uj=new sM(qK,2),oj=new sM(UK,3),cj.a=!1,rj.a=!0,uj.a=!1,oj.a=!0}function Wp(n,e,t,i){var r;return t>=0?n.Sh(e,t,i):(n.Ph()&&(i=(r=n.Fh(),r>=0?n.Ah(i):n.Ph().Th(n,-1-r,null,i))),n.Ch(e,t,i))}function oZ(n,e){switch(e){case 7:!n.e&&(n.e=new Dn(Vt,n,7,4)),me(n.e);return;case 8:!n.d&&(n.d=new Dn(Vt,n,8,5)),me(n.d);return}VY(n,e)}function ht(n,e,t){return t==null?(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),VC(n.o,e)):(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),Gk(n.o,e,t)),n}function gBn(n,e){Ln();var t,i,r,c;for(t=n,c=e,L(n,21)&&!L(e,21)&&(t=e,c=n),r=t.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function j9e(n,e,t,i){if(e.a<i.a)return!0;if(e.a==i.a){if(e.b<i.b)return!0;if(e.b==i.b&&n.b>t.b)return!0}return!1}function Cx(n,e){return Si(n)?!!iQn[e]:n.Sm?!!n.Sm[e]:$w(n)?!!tQn[e]:Dw(n)?!!eQn[e]:!1}function E9e(n){var e;e=n.a;do e=u(fe(new ie(ce(ji(e).a.Kc(),new En))),18).c.i,e.k==(Vn(),Ti)&&n.b.Fc(e);while(e.k==(Vn(),Ti));n.b=Qo(n.b)}function pBn(n,e){var t,i,r;for(r=n,i=new ie(ce(ji(e).a.Kc(),new En));pe(i);)t=u(fe(i),18),t.c.i.c&&(r=y.Math.max(r,t.c.i.c.p));return r}function M9e(n,e){var t,i,r;for(r=0,i=u(u(ot(n.r,e),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r+=t.d.d+t.b.Mf().b+t.d.a,i.Ob()&&(r+=n.w);return r}function T9e(n,e){var t,i,r;for(r=0,i=u(u(ot(n.r,e),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r+=t.d.b+t.b.Mf().a+t.d.c,i.Ob()&&(r+=n.w);return r}function mBn(n){var e,t,i,r;if(i=0,r=a0(n),r.c.length==0)return 1;for(t=new M(r);t.a<t.c.c.length;)e=u(E(t),27),i+=mBn(e);return i}function C9e(n){var e,t,i;for(i=n.c.a,n.p=(Pe(i),new _u(i)),t=new M(i);t.a<t.c.c.length;)e=u(E(t),10),e.p=fEe(e).a;Ln(),Yt(n.p,new Xpn)}function S9e(n,e,t){var i,r,c,s;return i=n.dd(e),i!=-1&&(n.Pj()?(c=n.Qj(),s=eT(n,i),r=n.Ij(4,s,null,i,c),t?t.nj(r):t=r):eT(n,i)),t}function cr(n,e,t){var i,r,c,s;return i=n.dd(e),i!=-1&&(n.Pj()?(c=n.Qj(),s=Jp(n,i),r=n.Ij(4,s,null,i,c),t?t.nj(r):t=r):Jp(n,i)),t}function P9e(n,e,t,i){var r,c,s;t.Xh(e)&&(dr(),a$(e)?(r=u(t.Mh(e),160),n9e(n,r)):(c=(s=e,s?u(i,54).gi(s):null),c&&Ofe(t.Mh(e),c)))}function tS(n,e,t,i){var r,c,s;return c=$n(n.Dh(),e),r=e-n.ji(),r<0?(s=n.Ih(c),s>=0?n.Lh(s,t,!0):Fb(n,c,t)):u(c,69).wk().yk(n,n.hi(),r,t,i)}function I9e(n,e,t,i){var r,c;c=e.pf((He(),F2))?u(e.of(F2),21):n.j,r=d5e(c),r!=(VS(),h_)&&(t&&!nZ(r)||ann(aTe(n,r,i),e))}function O9e(n){switch(n.g){case 1:return Lb(),ij;case 3:return Lb(),tj;case 2:return Lb(),a_;case 4:return Lb(),l_;default:return null}}function A9e(n,e,t){if(n.e)switch(n.b){case 1:yge(n.c,e,t);break;case 0:jge(n.c,e,t)}else BLn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}function vBn(n){var e,t;if(n==null)return null;for(t=F(Qh,J,199,n.length,0,2),e=0;e<t.length;e++)t[e]=u(I3e(n[e],n[e].length),199);return t}function iS(n){var e;if(W$(n))return lT(n),n.ul()&&(e=A5(n.e,n.b,n.c,n.a,n.j),n.j=e),n.g=n.a,++n.a,++n.c,n.i=0,n.j;throw T(new nc)}function L9e(n,e){var t,i,r,c;return c=n.o,t=n.p,c<t?c*=c:t*=t,i=c+t,c=e.o,t=e.p,c<t?c*=c:t*=t,r=c+t,i<r?-1:i==r?0:1}function f1(n,e){var t,i,r;if(r=nFn(n,e),r>=0)return r;if(n.ol()){for(i=0;i<n.i;++i)if(t=n.pl(u(n.g[i],58)),x(t)===x(e))return i}return-1}function Bg(n,e,t){var i,r;if(r=n.gc(),e>=r)throw T(new Fw(e,r));if(n.Si()&&(i=n.dd(t),i>=0&&i!=e))throw T(new Gn(Xy));return n.Xi(e,t)}function sZ(n,e){if(this.a=u(Pe(n),253),this.b=u(Pe(e),253),n.Ed(e)>0||n==(dL(),_F)||e==(bL(),HF))throw T(new Gn("Invalid range: "+HLn(n,e)))}function kBn(n){var e,t;for(this.b=new Z,this.c=n,this.a=!1,t=new M(n.a);t.a<t.c.c.length;)e=u(E(t),10),this.a=this.a|e.k==(Vn(),Xt)}function N9e(n,e){var t,i,r;for(t=sb(new za,n),r=new M(e);r.a<r.c.c.length;)i=u(E(r),125),qs(Ns(Ls(Ds(As(new hs,0),0),t),i));return t}function yBn(n,e,t){t.Ug("Compound graph preprocessor",1),n.a=new jb,FGn(n,e,null),SOe(n,e),QTe(n),U(e,(W(),Zsn),n.a),n.a=null,Hu(n.b),t.Vg()}function jBn(n,e,t){var i,r,c;for(r=new ie(ce((e?ji(n):Qt(n)).a.Kc(),new En));pe(r);)i=u(fe(r),18),c=e?i.c.i:i.d.i,c.k==(Vn(),Sc)&&$i(c,t)}function D9e(n,e){var t,i,r;for(e.Ug("Untreeify",1),t=u(v(n,(pt(),vln)),15),r=t.Kc();r.Ob();)i=u(r.Pb(),65),Re(i.b.d,i),Re(i.c.b,i);e.Vg()}function $9e(n){var e,t,i;for(i=u(ot(n.a,(o0(),zI)),15).Kc();i.Ob();)t=u(i.Pb(),105),e=yZ(t),Mm(n,t,e[0],(Ob(),iw),0),Mm(n,t,e[1],rw,1)}function x9e(n){var e,t,i;for(i=u(ot(n.a,(o0(),XI)),15).Kc();i.Ob();)t=u(i.Pb(),105),e=yZ(t),Mm(n,t,e[0],(Ob(),iw),0),Mm(n,t,e[1],rw,1)}function c0(){c0=R,CO=new bM(kh,0),RH=new bM("PORT_POSITION",1),I2=new bM("NODE_SIZE_WHERE_SPACE_PERMITS",2),P2=new bM("NODE_SIZE",3)}function rS(){rS=R,Tq=new cN("INTERACTIVE_NODE_REORDERER",0),Sq=new cN("MIN_SIZE_PRE_PROCESSOR",1),Cq=new cN("MIN_SIZE_POST_PROCESSOR",2)}function Bh(){Bh=R,zq=new p6("AUTOMATIC",0),Hj=new p6(s3,1),qj=new p6(f3,2),eA=new p6("TOP",3),ZO=new p6(Dtn,4),nA=new p6(H4,5)}function fZ(n,e,t,i){C4();var r,c;for(r=0,c=0;c<t;c++)r=nr(er(vi(e[c],mr),vi(i,mr)),vi(Se(r),mr)),n[c]=Se(r),r=G1(r,32);return Se(r)}function hZ(n,e,t){var i,r;for(r=0,i=0;i<f_;i++)r=y.Math.max(r,Z$(n.a[e.g][i],t));return e==(wf(),Wc)&&n.b&&(r=y.Math.max(r,n.b.b)),r}function cS(n,e){var t,i;if(tV(e>0),(e&-e)==e)return wi(e*to(n,31)*4656612873077393e-25);do t=to(n,31),i=t%e;while(t-i+(e-1)<0);return wi(i)}function R9e(n,e,t){switch(t.g){case 1:n.a=e.a/2,n.b=0;break;case 2:n.a=e.a,n.b=e.b/2;break;case 3:n.a=e.a/2,n.b=e.b;break;case 4:n.a=0,n.b=e.b/2}}function Fk(n,e,t,i){var r,c;for(r=e;r<n.c.length;r++)if(c=(Nn(r,n.c.length),u(n.c[r],12)),t.Mb(c))Bn(i.c,c);else return r;return n.c.length}function Sx(n){switch(n.g){case 0:return null;case 1:return new Exn;case 2:return new rz;default:throw T(new Gn(GB+(n.f!=null?n.f:""+n.g)))}}function _k(n,e,t){var i,r;for(Vve(n,e-n.s,t-n.t),r=new M(n.n);r.a<r.c.c.length;)i=u(E(r),209),ffe(i,i.e+e-n.s),hfe(i,i.f+t-n.t);n.s=e,n.t=t}function K9e(n){var e,t,i,r,c;for(t=0,r=new M(n.a);r.a<r.c.c.length;)i=u(E(r),125),i.d=t++;return e=Xye(n),c=null,e.c.length>1&&(c=N9e(n,e)),c}function EBn(n){var e;return e=$(B(z(n,(He(),Jj))))*y.Math.sqrt((!n.a&&(n.a=new q(Ye,n,10,11)),n.a).i),new V(e,e/$(B(z(n,rA))))}function Px(n){var e;return n.f&&n.f.Vh()&&(e=u(n.f,54),n.f=u(ta(n,e),84),n.f!=e&&n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,9,8,e,n.f))),n.f}function Ix(n){var e;return n.i&&n.i.Vh()&&(e=u(n.i,54),n.i=u(ta(n,e),84),n.i!=e&&n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,9,7,e,n.i))),n.i}function br(n){var e;return n.b&&n.b.Db&64&&(e=n.b,n.b=u(ta(n,e),19),n.b!=e&&n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,9,21,e,n.b))),n.b}function uS(n,e){var t,i,r;n.d==null?(++n.e,++n.f):(i=e.Bi(),uCe(n,n.f+1),r=(i&et)%n.d.length,t=n.d[r],!t&&(t=n.d[r]=n.dk()),t.Fc(e),++n.f)}function lZ(n,e,t){var i;return e.tk()?!1:e.Ik()!=-2?(i=e.ik(),i==null?t==null:ct(i,t)):e.qk()==n.e.Dh()&&t==null}function oS(){var n;Mo(16,$zn),n=oxn(16),this.b=F(UF,Ey,302,n,0,1),this.c=F(UF,Ey,302,n,0,1),this.a=null,this.e=null,this.i=0,this.f=n-1,this.g=0}function Cl(n){pV.call(this),this.k=(Vn(),Xt),this.j=(Mo(6,m0),new Gc(6)),this.b=(Mo(2,m0),new Gc(2)),this.d=new sL,this.f=new YG,this.a=n}function B9e(n){var e,t;n.c.length<=1||(e=Pqn(n,(en(),ae)),b_n(n,u(e.a,17).a,u(e.b,17).a),t=Pqn(n,Wn),b_n(n,u(t.a,17).a,u(t.b,17).a))}function F9e(n,e,t){var i,r;for(r=n.a.b,i=r.c.length;i<t;i++)ab(r,r.c.length,new Nc(n.a));$i(e,(Nn(t-1,r.c.length),u(r.c[t-1],30))),n.b[e.p]=t}function MBn(n,e){var t,i,r;for(n.b[e.g]=1,i=ge(e.d,0);i.b!=i.d.c;)t=u(be(i),65),r=t.c,n.b[r.g]==1?Re(n.a,t):n.b[r.g]==2?n.b[r.g]=1:MBn(n,r)}function TBn(n,e,t,i){var r,c,s;for(r=u(ot(i?n.a:n.b,e),21),s=r.Kc();s.Ob();)if(c=u(s.Pb(),27),NS(n,t,c))return!0;return!1}function Ox(n){var e,t;for(t=new ne(n);t.e!=t.i.gc();)if(e=u(ue(t),89),e.e||(!e.d&&(e.d=new ti(jr,e,1)),e.d).i!=0)return!0;return!1}function Ax(n){var e,t;for(t=new ne(n);t.e!=t.i.gc();)if(e=u(ue(t),89),e.e||(!e.d&&(e.d=new ti(jr,e,1)),e.d).i!=0)return!0;return!1}function _9e(n){var e,t,i;for(e=0,i=new M(n.c.a);i.a<i.c.c.length;)t=u(E(i),10),e+=wl(new ie(ce(Qt(t).a.Kc(),new En)));return e/n.c.a.c.length}function Lx(){Lx=R,nan=(ER(),J1n),Z1n=new ob(8),new Di((He(),M1),Z1n),new Di(qd,8),hue=V1n,Q1n=tue,Y1n=iue,fue=new Di(Gj,(_n(),!1))}function H9e(n,e,t){var i;t.Ug("Shrinking tree compaction",1),on(un(v(e,(Wm(),I8))))?(J4e(n,e.f),JDn(e.f,(i=e.c,i))):JDn(e.f,e.c),t.Vg()}function aZ(n,e,t,i){switch(e){case 7:return!n.e&&(n.e=new Dn(Vt,n,7,4)),n.e;case 8:return!n.d&&(n.d=new Dn(Vt,n,8,5)),n.d}return $Y(n,e,t,i)}function Nx(n){var e;return n.a&&n.a.Vh()&&(e=u(n.a,54),n.a=u(ta(n,e),142),n.a!=e&&n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,9,5,e,n.a))),n.a}function bd(n){return n<48||n>102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function Dx(n,e){if(n==null)throw T(new fp("null key in entry: null="+e));if(e==null)throw T(new fp("null value in entry: "+n+"=null"))}function q9e(n,e){for(var t,i;n.Ob();)if(!e.Ob()||(t=n.Pb(),i=e.Pb(),!(x(t)===x(i)||t!=null&&ct(t,i))))return!1;return!e.Ob()}function CBn(n,e){var t;return t=S(C(Ii,1),Cr,28,15,[Z$(n.a[0],e),Z$(n.a[1],e),Z$(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function SBn(n,e){var t;return t=S(C(Ii,1),Cr,28,15,[$C(n.a[0],e),$C(n.a[1],e),$C(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function dZ(n,e,t){Ep(u(v(e,(cn(),_t)),101))||(SJ(n,e,h1(e,t)),SJ(n,e,h1(e,(en(),ae))),SJ(n,e,h1(e,Xn)),Ln(),Yt(e.j,new N7n(n)))}function PBn(n){var e,t;for(n.c||sAe(n),t=new Tu,e=new M(n.a),E(e);e.a<e.c.c.length;)Re(t,u(E(e),418).a);return oe(t.b!=0),Xo(t,t.c.b),t}function U9e(n,e,t){var i,r,c,s,f;for(f=n.r+e,n.r+=e,n.d+=t,i=t/n.n.c.length,r=0,s=new M(n.n);s.a<s.c.c.length;)c=u(E(s),209),iTe(c,f,i,r),++r}function G9e(n){var e,t,i;for(n.b.a.$b(),n.a=F(aI,Rn,60,n.c.c.a.b.c.length,0,1),e=0,i=new M(n.c.c.a.b);i.a<i.c.c.length;)t=u(E(i),60),t.f=e++}function z9e(n){var e,t,i;for(n.b.a.$b(),n.a=F(M_,Rn,86,n.c.a.a.b.c.length,0,1),e=0,i=new M(n.c.a.a.b);i.a<i.c.c.length;)t=u(E(i),86),t.i=e++}function IBn(n){var e;if(e=x6e(n),!pe(n))throw T(new Or("position (0) must be less than the number of elements that remained ("+e+")"));return fe(n)}function X9e(n,e){var t;return n.a||(t=F(Ii,Cr,28,0,15,1),lg(n.b.a,new v9n(t)),Pyn(t,I$n(pE.prototype.Me,pE,[])),n.a=new uPn(t,n.d)),WT(n.a,e)}function OBn(n,e,t){var i;try{return Fg(n,e+n.j,t+n.k)}catch(r){throw r=Ot(r),L(r,77)?(i=r,T(new Or(i.g+iP+e+ur+t+")."))):T(r)}}function V9e(n,e,t){var i;try{return NBn(n,e+n.j,t+n.k)}catch(r){throw r=Ot(r),L(r,77)?(i=r,T(new Or(i.g+iP+e+ur+t+")."))):T(r)}}function W9e(n,e,t){var i;try{return DBn(n,e+n.j,t+n.k)}catch(r){throw r=Ot(r),L(r,77)?(i=r,T(new Or(i.g+iP+e+ur+t+")."))):T(r)}}function ABn(n){switch(n.g){case 1:return en(),Wn;case 4:return en(),Xn;case 3:return en(),Zn;case 2:return en(),ae;default:return en(),sc}}function J9e(n,e,t){e.k==(Vn(),Xt)&&t.k==Ti&&(n.d=ix(e,(en(),ae)),n.b=ix(e,Xn)),t.k==Xt&&e.k==Ti&&(n.d=ix(t,(en(),Xn)),n.b=ix(t,ae))}function $x(n,e){var t,i,r;for(r=uc(n,e),i=r.Kc();i.Ob();)if(t=u(i.Pb(),12),v(t,(W(),Xu))!=null||O6(new Lf(t.b)))return!0;return!1}function Q9e(n,e,t){t.Ug("Linear segments node placement",1),n.b=u(v(e,(W(),E2)),312),RNe(n,e),dOe(n,e),AOe(n,e),bNe(n),n.a=null,n.b=null,t.Vg()}function bZ(n,e){return eu(e,n.e+n.d+(n.c.c.length==0?0:n.b)),tu(e,n.f),n.a=y.Math.max(n.a,e.f),n.d+=e.g+(n.c.c.length==0?0:n.b),nn(n.c,e),!0}function Y9e(n,e,t){var i,r,c,s;for(s=0,i=t/n.a.c.length,c=new M(n.a);c.a<c.c.c.length;)r=u(E(c),172),_k(r,r.s,r.t+s*i),U9e(r,n.d-r.r+e,i),++s}function Z9e(n,e){var t,i,r,c,s,f;for(r=e.length-1,s=0,f=0,i=0;i<=r;i++)c=e[i],t=pje(r,i)*gY(1-n,r-i)*gY(n,i),s+=c.a*t,f+=c.b*t;return new V(s,f)}function LBn(n,e){var t,i,r,c,s;for(t=e.gc(),n._i(n.i+t),c=e.Kc(),s=n.i,n.i+=t,i=s;i<n.i;++i)r=c.Pb(),P6(n,i,n.Zi(i,r)),n.Mi(i,r),n.Ni();return t!=0}function n7e(n,e,t){var i,r,c;return n.Pj()?(i=n.Ej(),c=n.Qj(),++n.j,n.qj(i,n.Zi(i,e)),r=n.Ij(3,null,e,i,c),t?t.nj(r):t=r):ISn(n,n.Ej(),e),t}function e7e(n,e,t){var i,r,c;return i=u(N(Pc(n.a),e),89),c=(r=i.c,L(r,90)?u(r,29):(An(),Os)),(c.Db&64?ta(n.b,c):c)==t?KS(i):Bm(i,t),c}function t7e(n){var e;return n==null?null:new q1((e=Rc(n,!0),e.length>0&&(zn(0,e.length),e.charCodeAt(0)==43)?(zn(1,e.length+1),e.substr(1)):e))}function i7e(n){var e;return n==null?null:new q1((e=Rc(n,!0),e.length>0&&(zn(0,e.length),e.charCodeAt(0)==43)?(zn(1,e.length+1),e.substr(1)):e))}function wZ(n,e,t,i,r,c,s,f){var h,l;i&&(h=i.a[0],h&&wZ(n,e,t,h,r,c,s,f),qx(n,t,i.d,r,c,s,f)&&e.Fc(i),l=i.a[1],l&&wZ(n,e,t,l,r,c,s,f))}function Fg(n,e,t){try{return cb(M$(n,e,t),1)}catch(i){throw i=Ot(i),L(i,333)?T(new Or(GK+n.o+"*"+n.p+zK+e+ur+t+XK)):T(i)}}function NBn(n,e,t){try{return cb(M$(n,e,t),0)}catch(i){throw i=Ot(i),L(i,333)?T(new Or(GK+n.o+"*"+n.p+zK+e+ur+t+XK)):T(i)}}function DBn(n,e,t){try{return cb(M$(n,e,t),2)}catch(i){throw i=Ot(i),L(i,333)?T(new Or(GK+n.o+"*"+n.p+zK+e+ur+t+XK)):T(i)}}function $Bn(n,e){if(n.g==-1)throw T(new Mu);n.Xj();try{n.d.hd(n.g,e),n.f=n.d.j}catch(t){throw t=Ot(t),L(t,77)?T(new Ko):T(t)}}function r7e(n){var e,t,i,r,c;for(i=new M(n.b);i.a<i.c.c.length;)for(t=u(E(i),30),e=0,c=new M(t.a);c.a<c.c.c.length;)r=u(E(c),10),r.p=e++}function T5(n,e){var t,i,r,c;for(c=n.gc(),e.length<c&&(e=HE(new Array(c),e)),r=e,i=n.Kc(),t=0;t<c;++t)$t(r,t,i.Pb());return e.length>c&&$t(e,c,null),e}function c7e(n,e){var t,i;if(i=n.gc(),e==null){for(t=0;t<i;t++)if(n.Xb(t)==null)return t}else for(t=0;t<i;t++)if(ct(e,n.Xb(t)))return t;return-1}function xx(n,e){var t,i,r;return t=e.ld(),r=e.md(),i=n.xc(t),!(!(x(r)===x(i)||r!=null&&ct(r,i))||i==null&&!n._b(t))}function u7e(n,e){var t,i,r;return e<=22?(t=n.l&(1<<e)-1,i=r=0):e<=44?(t=n.l,i=n.m&(1<<e-22)-1,r=0):(t=n.l,i=n.m,r=n.h&(1<<e-44)-1),Yc(t,i,r)}function o7e(n,e){switch(e.g){case 1:return n.f.n.d+n.t;case 3:return n.f.n.a+n.t;case 2:return n.f.n.c+n.s;case 4:return n.f.n.b+n.s;default:return 0}}function s7e(n,e){var t,i;switch(i=e.c,t=e.a,n.b.g){case 0:t.d=n.e-i.a-i.d;break;case 1:t.d+=n.e;break;case 2:t.c=n.e-i.a-i.d;break;case 3:t.c=n.e+i.d}}function gZ(n,e,t,i){var r,c;this.a=e,this.c=i,r=n.a,zse(this,new V(-r.c,-r.d)),it(this.b,t),c=i/2,e.a?A6(this.b,0,c):A6(this.b,c,0),nn(n.c,this)}function xBn(n,e,t,i){var r;this.c=n,this.d=e,r=new Mt,xt(r,t,r.c.b,r.c),this.a=r,this.b=u(v(i,(lc(),pw)),88),this.e=$(B(v(i,Aln))),Ezn(this)}function sS(){sS=R,jq=new mM(kh,0),e1n=new mM(WXn,1),t1n=new mM("EDGE_LENGTH_BY_POSITION",2),n1n=new mM("CROSSING_MINIMIZATION_BY_POSITION",3)}function Rx(n,e){var t,i;if(t=u(Ng(n.g,e),27),t)return t;if(i=u(Ng(n.j,e),123),i)return i;throw T(new eh("Referenced shape does not exist: "+e))}function pZ(n,e){var t,i;if(L(e,253)){i=u(e,253);try{return t=n.Ed(i),t==0}catch(r){if(r=Ot(r),L(r,212))return!1;throw T(r)}}return!1}function f7e(n,e){if(n.c==e)return n.d;if(n.d==e)return n.c;throw T(new Gn("Node 'one' must be either source or target of edge 'edge'."))}function h7e(n,e){if(n.c.i==e)return n.d.i;if(n.d.i==e)return n.c.i;throw T(new Gn("Node "+e+" is neither source nor target of edge "+n))}function l7e(n,e,t){t.Ug("Self-Loop ordering",1),Ut(_r(ut(ut(rc(new Cn(null,new On(e.b,16)),new t2n),new i2n),new r2n),new c2n),new c7n(n)),t.Vg()}function a7e(n,e){var t;switch(e.g){case 2:case 4:t=n.a,n.c.d.n.b<t.d.n.b&&(t=n.c),Vl(n,e,(xf(),R_),t);break;case 1:case 3:Vl(n,e,(xf(),j3),null)}}function Kx(n,e,t,i,r,c){var s,f,h,l,a;for(s=ake(e,t,c),f=t==(en(),Xn)||t==Wn?-1:1,l=n[t.g],a=0;a<l.length;a++)h=l[a],h>0&&(h+=r),l[a]=s,s+=f*(h+i)}function RBn(n){var e,t,i;for(i=n.f,n.n=F(Ii,Cr,28,i,15,1),n.d=F(Ii,Cr,28,i,15,1),e=0;e<i;e++)t=u(sn(n.c.b,e),30),n.n[e]=fBn(n,t),n.d[e]=eqn(n,t)}function Bx(n,e){var t,i,r;for(r=0,i=2;i<e;i<<=1)n.Db&i&&++r;if(r==0){for(t=e<<=1;t<=128;t<<=1)if(n.Db&t)return 0;return-1}else return r}function KBn(n,e){var t,i,r,c,s;for(s=ru(n.e.Dh(),e),c=null,t=u(n.g,124),r=0;r<n.i;++r)i=t[r],s.am(i.Lk())&&(!c&&(c=new jE),ve(c,i));c&&uzn(n,c)}function BBn(n){var e,t,i;if(!n)return null;if(n.dc())return"";for(i=new Hl,t=n.Kc();t.Ob();)e=t.Pb(),Er(i,Ae(e)),i.a+=" ";return bN(i,i.a.length-1)}function FBn(n,e){var t=new Array(e),i;switch(n){case 14:case 15:i=0;break;case 16:i=!1;break;default:return t}for(var r=0;r<e;++r)t[r]=i;return t}function Rb(n){var e,t,i;for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),60),e.c.$b();hl(n.d)?i=n.a.c:i=n.a.d,nu(i,new O9n(n)),n.c.df(n),vqn(n)}function _Bn(n){var e,t,i,r;for(t=new M(n.e.c);t.a<t.c.c.length;){for(e=u(E(t),289),r=new M(e.b);r.a<r.c.c.length;)i=u(E(r),453),_en(i);W_n(e)}}function fS(n){var e,t,i,r,c;for(i=0,c=0,r=0,t=new M(n.a);t.a<t.c.c.length;)e=u(E(t),172),c=y.Math.max(c,e.r),i+=e.d+(r>0?n.c:0),++r;n.b=i,n.d=c}function HBn(n,e){var t;return t=S(C(Ii,1),Cr,28,15,[hZ(n,(wf(),bc),e),hZ(n,Wc,e),hZ(n,wc,e)]),n.f&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function d7e(n,e,t){var i;try{xS(n,e+n.j,t+n.k,!1,!0)}catch(r){throw r=Ot(r),L(r,77)?(i=r,T(new Or(i.g+iP+e+ur+t+")."))):T(r)}}function b7e(n,e,t){var i;try{xS(n,e+n.j,t+n.k,!0,!1)}catch(r){throw r=Ot(r),L(r,77)?(i=r,T(new Or(i.g+iP+e+ur+t+")."))):T(r)}}function qBn(n){var e;kt(n,(cn(),hw))&&(e=u(v(n,hw),21),e.Hc((l0(),Qs))?(e.Mc(Qs),e.Fc(Ys)):e.Hc(Ys)&&(e.Mc(Ys),e.Fc(Qs)))}function UBn(n){var e;kt(n,(cn(),hw))&&(e=u(v(n,hw),21),e.Hc((l0(),nf))?(e.Mc(nf),e.Fc(Ts)):e.Hc(Ts)&&(e.Mc(Ts),e.Fc(nf)))}function Fx(n,e,t,i){var r,c,s,f;return n.a==null&&gje(n,e),s=e.b.j.c.length,c=t.d.p,f=i.d.p,r=f-1,r<0&&(r=s-1),c<=r?n.a[r]-n.a[c]:n.a[s-1]-n.a[c]+n.a[r]}function w7e(n){var e,t;if(!n.b)for(n.b=BT(u(n.f,27).kh().i),t=new ne(u(n.f,27).kh());t.e!=t.i.gc();)e=u(ue(t),135),nn(n.b,new pL(e));return n.b}function g7e(n){var e,t;if(!n.e)for(n.e=BT(mD(u(n.f,27)).i),t=new ne(mD(u(n.f,27)));t.e!=t.i.gc();)e=u(ue(t),123),nn(n.e,new Rkn(e));return n.e}function GBn(n){var e,t;if(!n.a)for(n.a=BT(CT(u(n.f,27)).i),t=new ne(CT(u(n.f,27)));t.e!=t.i.gc();)e=u(ue(t),27),nn(n.a,new TN(n,e));return n.a}function Kb(n){var e;if(!n.C&&(n.D!=null||n.B!=null))if(e=iLe(n),e)n.hl(e);else try{n.hl(null)}catch(t){if(t=Ot(t),!L(t,63))throw T(t)}return n.C}function p7e(n){switch(n.q.g){case 5:wFn(n,(en(),Xn)),wFn(n,ae);break;case 4:mGn(n,(en(),Xn)),mGn(n,ae);break;default:k_n(n,(en(),Xn)),k_n(n,ae)}}function m7e(n){switch(n.q.g){case 5:gFn(n,(en(),Zn)),gFn(n,Wn);break;case 4:vGn(n,(en(),Zn)),vGn(n,Wn);break;default:y_n(n,(en(),Zn)),y_n(n,Wn)}}function _g(n,e){var t,i,r;for(r=new Ni,i=n.Kc();i.Ob();)t=u(i.Pb(),36),S4(t,r.a,0),r.a+=t.f.a+e,r.b=y.Math.max(r.b,t.f.b);return r.b>0&&(r.b+=e),r}function hS(n,e){var t,i,r;for(r=new Ni,i=n.Kc();i.Ob();)t=u(i.Pb(),36),S4(t,0,r.b),r.b+=t.f.b+e,r.a=y.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=e),r}function zBn(n){var e,t,i;for(i=et,t=new M(n.a);t.a<t.c.c.length;)e=u(E(t),10),kt(e,(W(),dt))&&(i=y.Math.min(i,u(v(e,dt),17).a));return i}function XBn(n,e){var t,i;if(e.length==0)return 0;for(t=pD(n.a,e[0],(en(),Wn)),t+=pD(n.a,e[e.length-1],Zn),i=0;i<e.length;i++)t+=eje(n,i,e);return t}function VBn(){x5(),this.c=new Z,this.i=new Z,this.e=new rh,this.f=new rh,this.g=new rh,this.j=new Z,this.a=new Z,this.b=new de,this.k=new de}function _x(n,e){var t,i;return n.Db>>16==6?n.Cb.Th(n,5,Ef,e):(i=br(u($n((t=u(Un(n,16),29),t||n.ii()),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function v7e(n){Om();var e=n.e;if(e&&e.stack){var t=e.stack,i=e+`
`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(`
`)}return[]}function k7e(n){var e;return e=(J$n(),wQn),e[n>>>28]|e[n>>24&15]<<4|e[n>>20&15]<<8|e[n>>16&15]<<12|e[n>>12&15]<<16|e[n>>8&15]<<20|e[n>>4&15]<<24|e[n&15]<<28}function WBn(n){var e,t,i;n.b==n.c&&(i=n.a.length,t=WQ(y.Math.max(8,i))<<1,n.b!=0?(e=xs(n.a,t),lxn(n,e,i),n.a=e,n.b=0):Sw(n.a,t),n.c=i)}function y7e(n,e){var t;return t=n.b,t.pf((He(),oo))?t.ag()==(en(),Wn)?-t.Mf().a-$(B(t.of(oo))):e+$(B(t.of(oo))):t.ag()==(en(),Wn)?-t.Mf().a:e}function Hk(n){var e;return n.b.c.length!=0&&u(sn(n.b,0),72).a?u(sn(n.b,0),72).a:(e=vD(n),e??""+(n.c?qr(n.c.a,n,0):-1))}function lS(n){var e;return n.f.c.length!=0&&u(sn(n.f,0),72).a?u(sn(n.f,0),72).a:(e=vD(n),e??""+(n.i?qr(n.i.j,n,0):-1))}function j7e(n,e){var t,i;if(e<0||e>=n.gc())return null;for(t=e;t<n.gc();++t)if(i=u(n.Xb(t),131),t==n.gc()-1||!i.o)return new bi(Y(t),i);return null}function E7e(n,e,t){var i,r,c,s,f;for(c=n.c,f=t?e:n,i=t?n:e,r=f.p+1;r<i.p;++r)if(s=u(sn(c.a,r),10),!(s.k==(Vn(),Gf)||Q7e(s)))return!1;return!0}function mZ(n){var e,t,i,r,c;for(c=0,r=li,i=0,t=new M(n.a);t.a<t.c.c.length;)e=u(E(t),172),c+=e.r+(i>0?n.c:0),r=y.Math.max(r,e.d),++i;n.e=c,n.b=r}function M7e(n){var e,t;if(!n.b)for(n.b=BT(u(n.f,123).kh().i),t=new ne(u(n.f,123).kh());t.e!=t.i.gc();)e=u(ue(t),135),nn(n.b,new pL(e));return n.b}function T7e(n,e){var t,i,r;if(e.dc())return pm(),pm(),lE;for(t=new LSn(n,e.gc()),r=new ne(n);r.e!=r.i.gc();)i=ue(r),e.Hc(i)&&ve(t,i);return t}function vZ(n,e,t,i){return e==0?i?(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),n.o):(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),ik(n.o)):tS(n,e,t,i)}function Hx(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e<t;++e)C7(N(n.rb,e));if(n.vb)for(e=0,t=n.vb.i;e<t;++e)C7(N(n.vb,e));R6((Lu(),zi),n),n.Bb|=1}function Et(n,e,t,i,r,c,s,f,h,l,a,d,g,p){return I_n(n,e,i,null,r,c,s,f,h,l,g,!0,p),AY(n,a),L(n.Cb,90)&&h0(Zu(u(n.Cb,90)),2),t&&OQ(n,t),LY(n,d),n}function C7e(n){var e,t;if(n==null)return null;t=0;try{t=So(n,Wi,et)&ui}catch(i){if(i=Ot(i),L(i,130))e=iC(n),t=e[0];else throw T(i)}return mk(t)}function S7e(n){var e,t;if(n==null)return null;t=0;try{t=So(n,Wi,et)&ui}catch(i){if(i=Ot(i),L(i,130))e=iC(n),t=e[0];else throw T(i)}return mk(t)}function P7e(n,e){var t,i,r;return r=n.h-e.h,r<0||(t=n.l-e.l,i=n.m-e.m+(t>>22),r+=i>>22,r<0)?!1:(n.l=t&ro,n.m=i&ro,n.h=r&Ol,!0)}function qx(n,e,t,i,r,c,s){var f,h;return!(e.Te()&&(h=n.a.Ne(t,i),h<0||!r&&h==0)||e.Ue()&&(f=n.a.Ne(t,c),f>0||!s&&f==0))}function I7e(n,e){r4();var t;if(t=n.j.g-e.j.g,t!=0)return 0;switch(n.j.g){case 2:return fx(e,jsn)-fx(n,jsn);case 4:return fx(n,ysn)-fx(e,ysn)}return 0}function O7e(n){switch(n.g){case 0:return Y_;case 1:return Z_;case 2:return nH;case 3:return eH;case 4:return JI;case 5:return tH;default:return null}}function $r(n,e,t){var i,r;return i=(r=new lL,ad(r,e),zc(r,t),ve((!n.c&&(n.c=new q(vw,n,12,10)),n.c),r),r),e1(i,0),Zw(i,1),u1(i,!0),c1(i,!0),i}function Jp(n,e){var t,i;if(e>=n.i)throw T(new aN(e,n.i));return++n.j,t=n.g[e],i=n.i-e-1,i>0&&Oc(n.g,e+1,n.g,e,i),$t(n.g,--n.i,null),n.Qi(e,t),n.Ni(),t}function JBn(n,e){var t,i;return n.Db>>16==17?n.Cb.Th(n,21,Ss,e):(i=br(u($n((t=u(Un(n,16),29),t||n.ii()),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function A7e(n){var e,t,i,r;for(Ln(),Yt(n.c,n.a),r=new M(n.c);r.a<r.c.c.length;)for(i=E(r),t=new M(n.b);t.a<t.c.c.length;)e=u(E(t),693),e.bf(i)}function L7e(n){var e,t,i,r;for(Ln(),Yt(n.c,n.a),r=new M(n.c);r.a<r.c.c.length;)for(i=E(r),t=new M(n.b);t.a<t.c.c.length;)e=u(E(t),382),e.bf(i)}function N7e(n){var e,t,i,r,c;for(r=et,c=null,i=new M(n.d);i.a<i.c.c.length;)t=u(E(i),218),t.d.j^t.e.j&&(e=t.e.e-t.d.e-t.a,e<r&&(r=e,c=t));return c}function kZ(){kZ=R,hZn=new Tn(Vtn,(_n(),!1)),oZn=new Tn(Wtn,100),kon=(n5(),j_),sZn=new Tn(Jtn,kon),fZn=new Tn(Qtn,vh),lZn=new Tn(Ytn,Y(et))}function QBn(n,e,t){var i,r,c,s,f,h,l,a;for(l=0,r=n.a[e],c=0,s=r.length;c<s;++c)for(i=r[c],a=b5(i,t),h=a.Kc();h.Ob();)f=u(h.Pb(),12),Ve(n.f,f,Y(l++))}function D7e(n,e,t){var i,r,c,s;if(t)for(r=t.a.length,i=new Qa(r),s=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);s.Ob();)c=u(s.Pb(),17),In(n,e,Zp(Jw(t,c.a)))}function $7e(n,e,t){var i,r,c,s;if(t)for(r=t.a.length,i=new Qa(r),s=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);s.Ob();)c=u(s.Pb(),17),In(n,e,Zp(Jw(t,c.a)))}function yZ(n){oa();var e;return e=u(T5(Cp(n.k),F(lr,Tc,64,2,0,1)),126),xm(e,0,e.length,null),e[0]==(en(),Xn)&&e[1]==Wn&&($t(e,0,Wn),$t(e,1,Xn)),e}function YBn(n,e,t){var i,r,c;return r=ECe(n,e,t),c=hen(n,r),u$(n.b),FD(n,e,t),Ln(),Yt(r,new q7n(n)),i=hen(n,r),u$(n.b),FD(n,t,e),new bi(Y(c),Y(i))}function ZBn(){ZBn=R,Die=Fe(new ii,(Vi(),zr),(tr(),A8)),AO=new Lt("linearSegments.inputPrio",Y(0)),LO=new Lt("linearSegments.outputPrio",Y(0))}function Qp(){Qp=R,NO=new gM("P1_TREEIFICATION",0),n9=new gM("P2_NODE_ORDERING",1),e9=new gM("P3_NODE_PLACEMENT",2),t9=new gM("P4_EDGE_ROUTING",3)}function x7e(n){var e,t,i,r;for(t=0,e=0,r=new ne(n);r.e!=r.i.gc();)i=u(ue(r),27),t=y.Math.max(i.g+i.i,t),e=y.Math.max(i.f+i.j,e);return new V(t,e)}function R7e(n,e){var t,i,r,c;for(c=0,i=new M(n);i.a<i.c.c.length;)t=u(E(i),27),c+=y.Math.pow(t.g*t.f-e,2);return r=y.Math.sqrt(c/(n.c.length-1)),r}function Co(){Co=R,Zj=new kM("UNKNOWN",0),nl=new kM("ABOVE",1),Pa=new kM("BELOW",2),Yj=new kM("INLINE",3),new Lt("org.eclipse.elk.labelSide",Zj)}function nFn(n,e){var t;if(n.Yi()&&e!=null){for(t=0;t<n.i;++t)if(ct(e,n.g[t]))return t}else for(t=0;t<n.i;++t)if(x(n.g[t])===x(e))return t;return-1}function K7e(n,e,t){var i,r;return e.c==(gr(),Jc)&&t.c==Vu?-1:e.c==Vu&&t.c==Jc?1:(i=_Rn(e.a,n.a),r=_Rn(t.a,n.a),e.c==Jc?r-i:i-r)}function u0(n,e,t){if(t&&(e<0||e>t.a.c.length))throw T(new Gn("index must be >= 0 and <= layer node count"));n.c&&du(n.c.a,n),n.c=t,t&&ab(t.a,e,n)}function eFn(n,e){var t,i,r;for(i=new ie(ce(Ml(n).a.Kc(),new En));pe(i);)return t=u(fe(i),18),r=u(e.Kb(t),10),new TE(Pe(r.n.b+r.o.b/2));return Qv(),Qv(),FF}function tFn(n,e){this.c=new de,this.a=n,this.b=e,this.d=u(v(n,(W(),E2)),312),x(v(n,(cn(),uhn)))===x((ok(),QI))?this.e=new Qyn:this.e=new Jyn}function C5(n,e){var t,i;return i=null,n.pf((He(),D3))&&(t=u(n.of(D3),96),t.pf(e)&&(i=t.of(e))),i==null&&n.Tf()&&(i=n.Tf().of(e)),i==null&&(i=rn(e)),i}function Ux(n,e){var t,i;t=n.fd(e);try{return i=t.Pb(),t.Qb(),i}catch(r){throw r=Ot(r),L(r,112)?T(new Or("Can't remove element "+e)):T(r)}}function B7e(n,e){var t,i,r;if(i=new WE,r=new YQ(i.q.getFullYear()-la,i.q.getMonth(),i.q.getDate()),t=JIe(n,e,r),t==0||t<e.length)throw T(new Gn(e));return r}function jZ(n,e){var t,i,r;for(Jn(e),tV(e!=n),r=n.b.c.length,i=e.Kc();i.Ob();)t=i.Pb(),nn(n.b,Jn(t));return r!=n.b.c.length?(oY(n,0),!0):!1}function qk(){qk=R,Mon=(He(),Xj),new Di(Qq,(_n(),!0)),dZn=Hd,bZn=_2,wZn=Sa,aZn=F2,Con=Vj,gZn=W0,Eon=(kZ(),hZn),yon=sZn,jon=fZn,Ton=lZn,EI=oZn}function F7e(n,e){if(e==n.c)return n.d;if(e==n.d)return n.c;throw T(new Gn("'port' must be either the source port or target port of the edge."))}function _7e(n,e,t){var i,r;switch(r=n.o,i=n.d,e.g){case 1:return-i.d-t;case 3:return r.b+i.a+t;case 2:return r.a+i.c+t;case 4:return-i.b-t;default:return 0}}function EZ(n,e,t,i){var r,c,s,f;for($i(e,u(i.Xb(0),30)),f=i.kd(1,i.gc()),c=u(t.Kb(e),20).Kc();c.Ob();)r=u(c.Pb(),18),s=r.c.i==e?r.d.i:r.c.i,EZ(n,s,t,f)}function iFn(n){var e;return e=new de,kt(n,(W(),wH))?u(v(n,wH),85):(Ut(ut(new Cn(null,new On(n.j,16)),new S2n),new h7n(e)),U(n,wH,e),e)}function rFn(n,e){var t,i,r,c,s;for(i=0,r=0,t=0,s=new M(n);s.a<s.c.c.length;)c=u(E(s),186),i=y.Math.max(i,c.e),r+=c.b+(t>0?e:0),++t;return new V(i,r)}function MZ(n,e){var t,i;return n.Db>>16==6?n.Cb.Th(n,6,Vt,e):(i=br(u($n((t=u(Un(n,16),29),t||(Mc(),bA)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function TZ(n,e){var t,i;return n.Db>>16==7?n.Cb.Th(n,1,uE,e):(i=br(u($n((t=u(Un(n,16),29),t||(Mc(),Pdn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function CZ(n,e){var t,i;return n.Db>>16==9?n.Cb.Th(n,9,Ye,e):(i=br(u($n((t=u(Un(n,16),29),t||(Mc(),Odn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function cFn(n,e){var t,i;return n.Db>>16==5?n.Cb.Th(n,9,EA,e):(i=br(u($n((t=u(Un(n,16),29),t||(An(),P1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function uFn(n,e){var t,i;return n.Db>>16==7?n.Cb.Th(n,6,Ef,e):(i=br(u($n((t=u(Un(n,16),29),t||(An(),O1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function SZ(n,e){var t,i;return n.Db>>16==3?n.Cb.Th(n,0,sE,e):(i=br(u($n((t=u(Un(n,16),29),t||(An(),S1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function oFn(){this.a=new avn,this.g=new oS,this.j=new oS,this.b=new de,this.d=new oS,this.i=new oS,this.k=new de,this.c=new de,this.e=new de,this.f=new de}function H7e(n,e,t){var i,r,c;for(t<0&&(t=0),c=n.i,r=t;r<c;r++)if(i=N(n,r),e==null){if(i==null)return r}else if(x(e)===x(i)||ct(e,i))return r;return-1}function q7e(n,e){var t,i;return t=e.qi(n.a),t?(i=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),nI)),Sn(Qy,i)?R6(n,jo(e.qk())):i):null}function p4(n,e){var t,i;if(e){if(e==n)return!0;for(t=0,i=u(e,54).Ph();i&&i!=e;i=i.Ph()){if(++t>IK)return p4(n,i);if(i==n)return!0}}return!1}function U7e(n){switch(BM(),n.q.g){case 5:U_n(n,(en(),Xn)),U_n(n,ae);break;case 4:GHn(n,(en(),Xn)),GHn(n,ae);break;default:VGn(n,(en(),Xn)),VGn(n,ae)}}function G7e(n){switch(BM(),n.q.g){case 5:fHn(n,(en(),Zn)),fHn(n,Wn);break;case 4:dBn(n,(en(),Zn)),dBn(n,Wn);break;default:WGn(n,(en(),Zn)),WGn(n,Wn)}}function z7e(n){var e,t;e=u(v(n,(Us(),nZn)),17),e?(t=e.a,t==0?U(n,(Y1(),jI),new dx):U(n,(Y1(),jI),new qT(t))):U(n,(Y1(),jI),new qT(1))}function X7e(n,e){var t;switch(t=n.i,e.g){case 1:return-(n.n.b+n.o.b);case 2:return n.n.a-t.o.a;case 3:return n.n.b-t.o.b;case 4:return-(n.n.a+n.o.a)}return 0}function V7e(n,e){switch(n.g){case 0:return e==(Yo(),ja)?HI:qI;case 1:return e==(Yo(),ja)?HI:bj;case 2:return e==(Yo(),ja)?bj:qI;default:return bj}}function Uk(n,e){var t,i,r;for(du(n.a,e),n.e-=e.r+(n.a.c.length==0?0:n.c),r=Drn,i=new M(n.a);i.a<i.c.c.length;)t=u(E(i),172),r=y.Math.max(r,t.d);n.b=r}function PZ(n,e){var t,i;return n.Db>>16==3?n.Cb.Th(n,12,Ye,e):(i=br(u($n((t=u(Un(n,16),29),t||(Mc(),Sdn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function IZ(n,e){var t,i;return n.Db>>16==11?n.Cb.Th(n,10,Ye,e):(i=br(u($n((t=u(Un(n,16),29),t||(Mc(),Idn)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function sFn(n,e){var t,i;return n.Db>>16==10?n.Cb.Th(n,11,Ss,e):(i=br(u($n((t=u(Un(n,16),29),t||(An(),I1)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function fFn(n,e){var t,i;return n.Db>>16==10?n.Cb.Th(n,12,Ps,e):(i=br(u($n((t=u(Un(n,16),29),t||(An(),ig)),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function gs(n){var e;return!(n.Bb&1)&&n.r&&n.r.Vh()&&(e=u(n.r,54),n.r=u(ta(n,e),142),n.r!=e&&n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,9,8,e,n.r))),n.r}function Gx(n,e,t){var i;return i=S(C(Ii,1),Cr,28,15,[enn(n,(wf(),bc),e,t),enn(n,Wc,e,t),enn(n,wc,e,t)]),n.f&&(i[0]=y.Math.max(i[0],i[2]),i[2]=i[0]),i}function W7e(n,e){var t,i,r;if(r=v9e(n,e),r.c.length!=0)for(Yt(r,new Pgn),t=r.c.length,i=0;i<t;i++)j4(n,(Nn(i,r.c.length),u(r.c[i],292)),mSe(n,r,i))}function J7e(n){var e,t,i,r;for(r=u(ot(n.a,(o0(),UI)),15).Kc();r.Ob();)for(i=u(r.Pb(),105),t=Cp(i.k).Kc();t.Ob();)e=u(t.Pb(),64),Mm(n,i,e,(Ob(),ka),1)}function Q7e(n){var e,t;if(n.k==(Vn(),Ti)){for(t=new ie(ce(Ml(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),18),!fr(e)&&n.c==xZ(e,n).c)return!0}return!1}function Y7e(n){var e,t;if(n.k==(Vn(),Ti)){for(t=new ie(ce(Ml(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),18),!fr(e)&&e.c.i.c==e.d.i.c)return!0}return!1}function Z7e(n,e){var t,i,r,c,s;if(e)for(r=e.a.length,t=new Qa(r),s=(t.b-t.a)*t.c<0?(_1(),Ra):new U1(t);s.Ob();)c=u(s.Pb(),17),i=Lm(e,c.a),i&&KHn(n,i)}function nke(){$z();var n,e;for(_Ne((z1(),Hn)),ANe(Hn),Hx(Hn),Udn=(An(),Zf),e=new M(Zdn);e.a<e.c.c.length;)n=u(E(e),248),N4(n,Zf,null);return!0}function OZ(n,e){var t,i,r,c,s,f,h,l;return h=n.h>>19,l=e.h>>19,h!=l?l-h:(r=n.h,f=e.h,r!=f?r-f:(i=n.m,s=e.m,i!=s?i-s:(t=n.l,c=e.l,t-c)))}function aS(){aS=R,Gun=(DS(),s_),Uun=new Tn(Ptn,Gun),qun=(cC(),o_),Hun=new Tn(Itn,qun),_un=(YC(),u_),Fun=new Tn(Otn,_un),Bun=new Tn(Atn,(_n(),!0))}function S5(n,e,t){var i,r;i=e*t,L(n.g,154)?(r=xp(n),r.f.d?r.f.a||(n.d.a+=i+_f):(n.d.d-=i+_f,n.d.a+=i+_f)):L(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function hFn(n,e,t){var i,r,c,s,f;for(r=n[t.g],f=new M(e.d);f.a<f.c.c.length;)s=u(E(f),105),c=s.i,c&&c.i==t&&(i=s.d[t.g],r[i]=y.Math.max(r[i],c.j.b))}function eke(n,e){var t,i,r,c,s;for(i=0,r=0,t=0,s=new M(e.d);s.a<s.c.c.length;)c=u(E(s),315),fS(c),i=y.Math.max(i,c.b),r+=c.d+(t>0?n.b:0),++t;e.b=i,e.e=r}function lFn(n){var e,t,i;if(i=n.b,tMn(n.i,i.length)){for(t=i.length*2,n.b=F(UF,Ey,302,t,0,1),n.c=F(UF,Ey,302,t,0,1),n.f=t-1,n.i=0,e=n.a;e;e=e.c)Zk(n,e,e);++n.g}}function tke(n,e,t,i){var r,c,s,f;for(r=0;r<e.o;r++)for(c=r-e.j+t,s=0;s<e.p;s++)f=s-e.k+i,Fg(e,r,s)?W9e(n,c,f)||d7e(n,c,f):DBn(e,r,s)&&(OBn(n,c,f)||b7e(n,c,f))}function P5(n,e){return n.b.a=y.Math.min(n.b.a,e.c),n.b.b=y.Math.min(n.b.b,e.d),n.a.a=y.Math.max(n.a.a,e.c),n.a.b=y.Math.max(n.a.b,e.d),Bn(n.c,e),!0}function ike(n,e,t){var i;i=e.c.i,i.k==(Vn(),Ti)?(U(n,(W(),yf),u(v(i,yf),12)),U(n,Es,u(v(i,Es),12))):(U(n,(W(),yf),e.c),U(n,Es,t.d))}function m4(n,e,t){Vg();var i,r,c,s,f,h;return s=e/2,c=t/2,i=y.Math.abs(n.a),r=y.Math.abs(n.b),f=1,h=1,i>s&&(f=s/i),r>c&&(h=c/r),ch(n,y.Math.min(f,h)),n}function rke(){FS();var n,e;try{if(e=u(FZ((F1(),Is),ev),2113),e)return e}catch(t){if(t=Ot(t),L(t,103))n=t,IW((Oe(),n));else throw T(t)}return new svn}function cke(){FS();var n,e;try{if(e=u(FZ((F1(),Is),ks),2040),e)return e}catch(t){if(t=Ot(t),L(t,103))n=t,IW((Oe(),n));else throw T(t)}return new Dvn}function uke(){yDn();var n,e;try{if(e=u(FZ((F1(),Is),Pd),2122),e)return e}catch(t){if(t=Ot(t),L(t,103))n=t,IW((Oe(),n));else throw T(t)}return new S6n}function oke(n,e,t){var i,r;return r=n.e,n.e=e,n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,4,r,e),t?t.nj(i):t=i),r!=e&&(e?t=N4(n,TS(n,e),t):t=N4(n,n.a,t)),t}function aFn(){WE.call(this),this.e=-1,this.a=!1,this.p=Wi,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=Wi}function ske(n,e){var t,i,r;if(i=n.b.d.d,n.a||(i+=n.b.d.a),r=e.b.d.d,e.a||(r+=e.b.d.a),t=bt(i,r),t==0){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}function fke(n,e){var t,i,r;if(i=n.b.b.d,n.a||(i+=n.b.b.a),r=e.b.b.d,e.a||(r+=e.b.b.a),t=bt(i,r),t==0){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}function hke(n,e){var t,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=e.b.g.d,e.a||(r+=e.b.g.a),t=bt(i,r),t==0){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}function AZ(){AZ=R,mZn=Iu(Fe(Fe(Fe(new ii,(Vi(),Fc),(tr(),osn)),Fc,ssn),zr,fsn),zr,Jon),kZn=Fe(Fe(new ii,Fc,qon),Fc,Qon),vZn=Iu(new ii,zr,Zon)}function lke(n){var e,t,i,r,c;for(e=u(v(n,(W(),R8)),85),c=n.n,i=e.Cc().Kc();i.Ob();)t=u(i.Pb(),314),r=t.i,r.c+=c.a,r.d+=c.b,t.c?Lqn(t):Nqn(t);U(n,R8,null)}function ake(n,e,t){var i,r;switch(r=n.b,i=r.d,e.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function dke(n,e,t){var i,r;for(t.Ug("Interactive node placement",1),n.a=u(v(e,(W(),E2)),312),r=new M(e.b);r.a<r.c.c.length;)i=u(E(r),30),cSe(n,i);t.Vg()}function bke(n){var e,t,i,r,c;if(i=0,r=i2,n.b)for(e=0;e<360;e++)t=e*.017453292519943295,Sen(n,n.d,0,0,Md,t),c=n.b.Dg(n.d),c<r&&(i=t,r=c);Sen(n,n.d,0,0,Md,i)}function wke(n,e){var t,i,r,c;for(c=new de,e.e=null,e.f=null,i=new M(e.i);i.a<i.c.c.length;)t=u(E(i),68),r=u(ee(n.g,t.a),42),t.a=wT(t.b),Ve(c,t.a,r);n.g=c}function gke(n,e,t){var i,r,c,s,f,h;for(r=e-n.e,c=r/n.d.c.length,s=0,h=new M(n.d);h.a<h.c.c.length;)f=u(E(h),315),i=n.b-f.b+t,$Kn(f,f.e+s*c,f.f),Y9e(f,c,i),++s}function dFn(n){var e;if(n.f._j(),n.b!=-1){if(++n.b,e=n.f.d[n.a],n.b<e.i)return;++n.a}for(;n.a<n.f.d.length;++n.a)if(e=n.f.d[n.a],e&&e.i!=0){n.b=0;return}n.b=-1}function pke(n,e){var t,i,r;for(r=e.c.length,t=vEe(n,r==0?"":(Nn(0,e.c.length),Ae(e.c[0]))),i=1;i<r&&t;++i)t=u(t,54).Zh((Nn(i,e.c.length),Ae(e.c[i])));return t}function bFn(n,e){var t,i;for(i=new M(e);i.a<i.c.c.length;)t=u(E(i),10),n.c[t.c.p][t.p].a=fW(n.i),n.c[t.c.p][t.p].d=$(n.c[t.c.p][t.p].a),n.c[t.c.p][t.p].b=1}function mke(n,e){var t,i,r,c;for(c=0,i=new M(n);i.a<i.c.c.length;)t=u(E(i),163),c+=y.Math.pow(Pu(t)*ao(t)-e,2);return r=y.Math.sqrt(c/(n.c.length-1)),r}function wFn(n,e){var t,i,r,c;for(c=0,r=u(u(ot(n.r,e),21),87).Kc();r.Ob();)i=u(r.Pb(),117),c=y.Math.max(c,i.e.a+i.b.Mf().a);t=u(Mr(n.b,e),127),t.n.b=0,t.a.a=c}function gFn(n,e){var t,i,r,c;for(t=0,c=u(u(ot(n.r,e),21),87).Kc();c.Ob();)r=u(c.Pb(),117),t=y.Math.max(t,r.e.b+r.b.Mf().b);i=u(Mr(n.b,e),127),i.n.d=0,i.a.b=t}function pFn(n,e,t,i){var r,c,s;return c=nPe(n,e,t,i),s=men(n,c),eR(n,e,t,i),u$(n.b),Ln(),Yt(c,new U7n(n)),r=men(n,c),eR(n,t,e,i),u$(n.b),new bi(Y(s),Y(r))}function vke(n,e){var t;e.Ug("Delaunay triangulation",1),t=new Z,nu(n.i,new Ckn(t)),on(un(v(n,(Wm(),I8)))),n.e?Ki(n.e,azn(t)):n.e=azn(t),e.Vg()}function kke(n,e,t){var i,r;for(j7(n,n.j+e,n.k+t),r=new ne((!n.a&&(n.a=new ti(xo,n,5)),n.a));r.e!=r.i.gc();)i=u(ue(r),377),gN(i,i.a+e,i.b+t);y7(n,n.b+e,n.c+t)}function LZ(n,e,t,i){switch(t){case 7:return!n.e&&(n.e=new Dn(Vt,n,7,4)),Xc(n.e,e,i);case 8:return!n.d&&(n.d=new Dn(Vt,n,8,5)),Xc(n.d,e,i)}return Yx(n,e,t,i)}function NZ(n,e,t,i){switch(t){case 7:return!n.e&&(n.e=new Dn(Vt,n,7,4)),cr(n.e,e,i);case 8:return!n.d&&(n.d=new Dn(Vt,n,8,5)),cr(n.d,e,i)}return $$(n,e,t,i)}function yke(n,e,t){var i,r,c,s,f;if(t)for(c=t.a.length,i=new Qa(c),f=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);f.Ob();)s=u(f.Pb(),17),r=Lm(t,s.a),r&&q_n(n,r,e)}function Gk(n,e,t){var i,r,c,s,f;return n._j(),c=e==null?0:mt(e),n.f>0&&(s=(c&et)%n.d.length,r=Nnn(n,s,c,e),r)?(f=r.nd(t),f):(i=n.ck(c,e,t),n.c.Fc(i),null)}function DZ(n,e){var t,i,r,c;switch(r1(n,e).Kl()){case 3:case 2:{for(t=Jg(e),r=0,c=t.i;r<c;++r)if(i=u(N(t,r),35),vb(Nr(n,i))==5)return i;break}}return null}function jke(n){var e,t,i,r,c;if(tMn(n.f,n.b.length))for(i=F(sQn,Ey,227,n.b.length*2,0,1),n.b=i,r=i.length-1,t=n.a;t!=n;t=t._d())c=u(t,227),e=c.d&r,c.a=i[e],i[e]=c}function Eke(n){var e,t;return t=u(v(n,(W(),Hc)),21),e=AM(Jie),t.Hc((pr(),v2))&&To(e,Zie),t.Hc(x8)&&To(e,nre),t.Hc(mv)&&To(e,Qie),t.Hc(vv)&&To(e,Yie),e}function $Z(n){if(n<0)throw T(new Gn("The input must be positive"));return n<uan.length?id(uan[n]):y.Math.sqrt(Md*n)*(Z6e(n,n)/gY(2.718281828459045,n))}function v4(n,e){var t;if(n.Yi()&&e!=null){for(t=0;t<n.i;++t)if(ct(e,n.g[t]))return!0}else for(t=0;t<n.i;++t)if(x(n.g[t])===x(e))return!0;return!1}function Mke(n,e){if(e==null){for(;n.a.Ob();)if(u(n.a.Pb(),44).md()==null)return!0}else for(;n.a.Ob();)if(ct(e,u(n.a.Pb(),44).md()))return!0;return!1}function Tke(n,e){var t,i,r;return e===n?!0:L(e,678)?(r=u(e,2046),VKn((i=n.g,i||(n.g=new zA(n))),(t=r.g,t||(r.g=new zA(r))))):!1}function Cke(n){var e,t,i,r;for(e="gA",t="vz",r=y.Math.min(n.length,5),i=r-1;i>=0;i--)if(Sn(n[i].d,e)||Sn(n[i].d,t)){n.length>=i+1&&n.splice(0,i+1);break}return n}function zk(n,e){var t;return Vr(n)&&Vr(e)&&(t=n/e,Cy<t&&t<vd)?t<0?y.Math.ceil(t):y.Math.floor(t):Z1(Xen(Vr(n)?ds(n):n,Vr(e)?ds(e):e,!1))}function xZ(n,e){if(e==n.c.i)return n.d.i;if(e==n.d.i)return n.c.i;throw T(new Gn("'node' must either be the source node or target node of the edge."))}function Ske(n){var e,t,i,r;if(r=u(v(n,(W(),Ysn)),36),r){for(i=new Ni,e=Hi(n.c.i);e!=r;)t=e.e,e=Hi(t),hb(it(it(i,t.n),e.c),e.d.b,e.d.d);return i}return KZn}function Pke(n){var e;e=u(v(n,(W(),sw)),337),Ut(rc(new Cn(null,new On(e.d,16)),new l2n),new r7n(n)),Ut(ut(new Cn(null,new On(e.d,16)),new a2n),new u7n(n))}function zx(n,e){var t,i,r,c;for(r=e?Qt(n):ji(n),i=new ie(ce(r.a.Kc(),new En));pe(i);)if(t=u(fe(i),18),c=xZ(t,n),c.k==(Vn(),Ti)&&c.c!=n.c)return c;return null}function Ike(n){var e,t,i;for(t=new M(n.p);t.a<t.c.c.length;)e=u(E(t),10),e.k==(Vn(),Xt)&&(i=e.o.b,n.i=y.Math.min(n.i,i),n.g=y.Math.max(n.g,i))}function mFn(n,e,t){var i,r,c;for(c=new M(e);c.a<c.c.c.length;)i=u(E(c),10),n.c[i.c.p][i.p].e=!1;for(r=new M(e);r.a<r.c.c.length;)i=u(E(r),10),Zen(n,i,t)}function Xx(n,e,t){var i,r;i=Rg(e.j,t.s,t.c)+Rg(t.e,e.s,e.c),r=Rg(t.j,e.s,e.c)+Rg(e.e,t.s,t.c),i==r?i>0&&(n.b+=2,n.a+=i):(n.b+=1,n.a+=y.Math.min(i,r))}function vFn(n){var e;e=u(v(u(Zo(n.b,0),39),(lc(),Pln)),107),U(n,(pt(),Av),new V(0,0)),lUn(new ek,n,e.b+e.c-$(B(v(n,iq))),e.d+e.a-$(B(v(n,rq))))}function kFn(n,e){var t,i;if(i=!1,Si(e)&&(i=!0,Op(n,new qw(Ae(e)))),i||L(e,242)&&(i=!0,Op(n,(t=PV(u(e,242)),new CE(t)))),!i)throw T(new vL(Ocn))}function Oke(n,e,t,i){var r,c,s;return r=new ml(n.e,1,10,(s=e.c,L(s,90)?u(s,29):(An(),Os)),(c=t.c,L(c,90)?u(c,29):(An(),Os)),f1(n,e),!1),i?i.nj(r):i=r,i}function RZ(n){var e,t;switch(u(v(Hi(n),(cn(),Zfn)),429).g){case 0:return e=n.n,t=n.o,new V(e.a+t.a/2,e.b+t.b/2);case 1:return new rr(n.n);default:return null}}function Xk(){Xk=R,YI=new w6(kh,0),Ksn=new w6("LEFTUP",1),Fsn=new w6("RIGHTUP",2),Rsn=new w6("LEFTDOWN",3),Bsn=new w6("RIGHTDOWN",4),iH=new w6("BALANCED",5)}function Ake(n,e,t){var i,r,c;if(i=bt(n.a[e.p],n.a[t.p]),i==0){if(r=u(v(e,(W(),C3)),15),c=u(v(t,C3),15),r.Hc(t))return-1;if(c.Hc(e))return 1}return i}function Lke(n){switch(n.g){case 1:return new qmn;case 2:return new Umn;case 3:return new Hmn;case 0:return null;default:throw T(new Gn(GB+(n.f!=null?n.f:""+n.g)))}}function KZ(n,e,t){switch(e){case 1:!n.n&&(n.n=new q(Sr,n,1,7)),me(n.n),!n.n&&(n.n=new q(Sr,n,1,7)),Bt(n.n,u(t,16));return;case 2:zm(n,Ae(t));return}rY(n,e,t)}function BZ(n,e,t){switch(e){case 3:Sb(n,$(B(t)));return;case 4:Pb(n,$(B(t)));return;case 5:eu(n,$(B(t)));return;case 6:tu(n,$(B(t)));return}KZ(n,e,t)}function dS(n,e,t){var i,r,c;c=(i=new lL,i),r=Kf(c,e,null),r&&r.oj(),zc(c,t),ve((!n.c&&(n.c=new q(vw,n,12,10)),n.c),c),e1(c,0),Zw(c,1),u1(c,!0),c1(c,!0)}function FZ(n,e){var t,i,r;return t=h6(n.i,e),L(t,241)?(r=u(t,241),r.zi()==null,r.wi()):L(t,507)?(i=u(t,2037),r=i.b,r):null}function Nke(n,e,t,i){var r,c;return Pe(e),Pe(t),c=u(N6(n.d,e),17),XDn(!!c,"Row %s not in %s",e,n.e),r=u(N6(n.b,t),17),XDn(!!r,"Column %s not in %s",t,n.c),rRn(n,c.a,r.a,i)}function yFn(n,e,t,i,r,c,s){var f,h,l,a,d;if(a=r[c],l=c==s-1,f=l?i:0,d=FBn(f,a),i!=10&&S(C(n,s-c),e[c],t[c],f,d),!l)for(++c,h=0;h<a;++h)d[h]=yFn(n,e,t,i,r,c,s);return d}function I5(n){if(n.g==-1)throw T(new Mu);n.Xj();try{n.i.gd(n.g),n.f=n.i.j,n.g<n.e&&--n.e,n.g=-1}catch(e){throw e=Ot(e),L(e,77)?T(new Ko):T(e)}}function Dke(n){var e,t,i,r;for(r=-1,i=0,t=new M(n);t.a<t.c.c.length;){if(e=u(E(t),249),e.c==(gr(),Vu)){r=i==0?0:i-1;break}else i==n.c.length-1&&(r=i);i+=1}return r}function $ke(n){var e,t,i,r;for(r=0,e=0,i=new M(n.c);i.a<i.c.c.length;)t=u(E(i),27),eu(t,n.e+r),tu(t,n.f),r+=t.g+n.b,e=y.Math.max(e,t.f+n.b);n.d=r-n.b,n.a=e-n.b}function Hg(n){var e,t,i;for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),60),i=e.d.c,e.d.c=e.d.d,e.d.d=i,i=e.d.b,e.d.b=e.d.a,e.d.a=i,i=e.b.a,e.b.a=e.b.b,e.b.b=i;ien(n)}function qg(n){var e,t,i;for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),86),i=e.g.c,e.g.c=e.g.d,e.g.d=i,i=e.g.b,e.g.b=e.g.a,e.g.a=i,i=e.e.a,e.e.a=e.e.b,e.e.b=i;IS(n)}function xke(n){var e,t,i,r,c;for(c=Cp(n.k),t=(en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])),i=0,r=t.length;i<r;++i)if(e=t[i],e!=sc&&!c.Hc(e))return e;return null}function Vx(n,e){var t,i;return i=u(x1e(t4(ut(new Cn(null,new On(e.j,16)),new Dpn))),12),i&&(t=u(sn(i.e,0),18),t)?u(v(t,(W(),dt)),17).a:zme(n.b)}function Rke(n,e){var t,i,r,c;for(c=new M(e.a);c.a<c.c.c.length;)for(r=u(E(c),10),Zv(n.d),i=new ie(ce(Qt(r).a.Kc(),new En));pe(i);)t=u(fe(i),18),vHn(n,r,t.d.i)}function Kke(n,e){var t,i;for(du(n.b,e),i=new M(n.n);i.a<i.c.c.length;)if(t=u(E(i),209),qr(t.c,e,0)!=-1){du(t.c,e),$ke(t),t.c.c.length==0&&du(n.n,t);break}ZUn(n)}function jFn(n,e){var t,i,r,c,s;for(s=n.f,r=0,c=0,i=new M(n.a);i.a<i.c.c.length;)t=u(E(i),172),_k(t,n.e,s),ck(t,e),c=y.Math.max(c,t.r),s+=t.d+n.c,r=s;n.d=c,n.b=r}function EFn(n){var e,t;return t=ry(n),Nm(t)?null:(e=(Pe(t),u(IBn(new ie(ce(t.a.Kc(),new En))),74)),Gr(u(N((!e.b&&(e.b=new Dn(he,e,4,7)),e.b),0),84)))}function bS(n){var e;return n.o||(e=n.uk(),e?n.o=new $W(n,n,null):n.al()?n.o=new aV(n,null):vb(Nr((Lu(),zi),n))==1?n.o=new XLn(n):n.o=new LN(n,null)),n.o}function Bke(n,e,t,i){var r,c,s,f,h;t.Xh(e)&&(r=(s=e,s?u(i,54).gi(s):null),r&&(h=t.Mh(e),f=e.t,f>1||f==-1?(c=u(h,15),r.Wb(g8e(n,c))):r.Wb(OR(n,u(h,58)))))}function Fke(n,e,t,i){AEn();var r=BF;function c(){for(var s=0;s<r.length;s++)r[s]()}if(n)try{Ose(c)()}catch(s){n(e,s)}else Ose(c)()}function _ke(n,e){var t,i,r,c;for(r=(c=new qa(n.b).a.vc().Kc(),new PE(c));r.a.Ob();)if(i=(t=u(r.a.Pb(),44),u(t.ld(),34)),kX(e,u(i,17))<0)return!1;return!0}function Hke(n,e){var t,i,r,c;for(r=(c=new qa(n.b).a.vc().Kc(),new PE(c));r.a.Ob();)if(i=(t=u(r.a.Pb(),44),u(t.ld(),34)),kX(e,u(i,17))>0)return!1;return!0}function qke(n){var e,t,i,r,c;for(i=new sd(new Ua(n.b).a);i.b;)t=Ab(i),e=u(t.ld(),10),c=u(u(t.md(),42).a,10),r=u(u(t.md(),42).b,8),it(ff(e.n),it(Fi(c.n),r))}function Uke(n){switch(u(v(n.b,(cn(),zfn)),387).g){case 1:Ut(_r(rc(new Cn(null,new On(n.d,16)),new kpn),new ypn),new jpn);break;case 2:BSe(n);break;case 0:pEe(n)}}function Gke(n,e,t){var i,r,c;for(i=t,!i&&(i=new op),i.Ug("Layout",n.a.c.length),c=new M(n.a);c.a<c.c.c.length;){if(r=u(E(c),47),i.$g())return;r.Kf(e,i.eh(1))}i.Vg()}function wd(){wd=R,Wq=new m6("V_TOP",0),p9=new m6("V_CENTER",1),g9=new m6("V_BOTTOM",2),Vq=new m6("H_LEFT",3),b9=new m6("H_CENTER",4),w9=new m6("H_RIGHT",5)}function _Z(n){var e;return n.Db&64?UC(n):(e=new ls(UC(n)),e.a+=" (abstract: ",ql(e,(n.Bb&256)!=0),e.a+=", interface: ",ql(e,(n.Bb&512)!=0),e.a+=")",e.a)}function zke(n){var e;n.c==null&&(e=x(n.b)===x(run)?null:n.b,n.d=e==null?gu:EIn(e)?P1e($On(e)):Si(e)?wtn:Xa(wo(e)),n.a=n.a+": "+(EIn(e)?Cae($On(e)):e+""),n.c="("+n.d+") "+n.a)}function Xke(){function n(){try{return new Map().entries().next().done}catch{return!1}}return typeof Map===eK&&Map.prototype.entries&&n()?Map:NLe()}function Vke(n,e){var t,i,r,c;for(c=new xi(n.e,0),t=0;c.b<c.d.gc();){if(i=$((oe(c.b<c.d.gc()),B(c.d.Xb(c.c=c.b++)))),r=i-e,r>_B)return t;r>-1e-6&&++t}return t}function HZ(n,e){var t;e!=n.b?(t=null,n.b&&(t=OT(n.b,n,-4,t)),e&&(t=Wp(e,n,-4,t)),t=QRn(n,e,t),t&&t.oj()):n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,3,e,e))}function MFn(n,e){var t;e!=n.f?(t=null,n.f&&(t=OT(n.f,n,-1,t)),e&&(t=Wp(e,n,-1,t)),t=JRn(n,e,t),t&&t.oj()):n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,0,e,e))}function Wke(n,e,t,i){var r,c,s,f;return fo(n.e)&&(r=e.Lk(),f=e.md(),c=t.md(),s=W1(n,1,r,f,c,r.Jk()?O4(n,r,c,L(r,102)&&(u(r,19).Bb&hr)!=0):-1,!0),i?i.nj(s):i=s),i}function TFn(n){var e,t,i;if(n==null)return null;if(t=u(n,15),t.dc())return"";for(i=new Hl,e=t.Kc();e.Ob();)Er(i,(at(),Ae(e.Pb()))),i.a+=" ";return bN(i,i.a.length-1)}function CFn(n){var e,t,i;if(n==null)return null;if(t=u(n,15),t.dc())return"";for(i=new Hl,e=t.Kc();e.Ob();)Er(i,(at(),Ae(e.Pb()))),i.a+=" ";return bN(i,i.a.length-1)}function Jke(n,e,t){var i,r;return i=n.c[e.c.p][e.p],r=n.c[t.c.p][t.p],i.a!=null&&r.a!=null?tD(i.a,r.a):i.a!=null?-1:r.a!=null?1:0}function Qke(n,e,t){return t.Ug("Tree layout",1),H7(n.b),hf(n.b,(Qp(),NO),NO),hf(n.b,n9,n9),hf(n.b,e9,e9),hf(n.b,t9,t9),n.a=wy(n.b,e),Gke(n,e,t.eh(1)),t.Vg(),e}function Yke(n,e){var t,i,r,c,s,f;if(e)for(c=e.a.length,t=new Qa(c),f=(t.b-t.a)*t.c<0?(_1(),Ra):new U1(t);f.Ob();)s=u(f.Pb(),17),r=Lm(e,s.a),i=new Xkn(n),uge(i.a,r)}function Zke(n,e){var t,i,r,c,s,f;if(e)for(c=e.a.length,t=new Qa(c),f=(t.b-t.a)*t.c<0?(_1(),Ra):new U1(t);f.Ob();)s=u(f.Pb(),17),r=Lm(e,s.a),i=new Kkn(n),cge(i.a,r)}function nye(n){var e;if(n!=null&&n.length>0&&Xi(n,n.length-1)==33)try{return e=$Hn(qo(n,0,n.length-1)),e.e==null}catch(t){if(t=Ot(t),!L(t,33))throw T(t)}return!1}function eye(n,e,t){var i,r,c;switch(i=Hi(e),r=FC(i),c=new Ic,ic(c,e),t.g){case 1:gi(c,$k(zp(r)));break;case 2:gi(c,zp(r))}return U(c,(cn(),F0),B(v(n,F0))),c}function qZ(n){var e,t;return e=u(fe(new ie(ce(ji(n.a).a.Kc(),new En))),18),t=u(fe(new ie(ce(Qt(n.a).a.Kc(),new En))),18),on(un(v(e,(W(),zf))))||on(un(v(t,zf)))}function o0(){o0=R,wj=new s7("ONE_SIDE",0),zI=new s7("TWO_SIDES_CORNER",1),XI=new s7("TWO_SIDES_OPPOSING",2),GI=new s7("THREE_SIDES",3),UI=new s7("FOUR_SIDES",4)}function SFn(n,e){var t,i,r,c;for(c=new Z,r=0,i=e.Kc();i.Ob();){for(t=Y(u(i.Pb(),17).a+r);t.a<n.f&&!Gwe(n,t.a);)t=Y(t.a+1),++r;if(t.a>=n.f)break;Bn(c.c,t)}return c}function tye(n,e){var t,i,r,c,s;for(c=new M(e.a);c.a<c.c.c.length;)for(r=u(E(c),10),i=new ie(ce(ji(r).a.Kc(),new En));pe(i);)t=u(fe(i),18),s=t.c.i.p,n.n[s]=n.n[s]-1}function iye(n){var e,t;for(t=new M(n.e.b);t.a<t.c.c.length;)e=u(E(t),30),YAe(n,e);Ut(ut(rc(rc(new Cn(null,new On(n.e.b,16)),new h3n),new g3n),new p3n),new rkn(n))}function UZ(n,e){return e?n.mj(e)?!1:n.i?n.i.nj(e):L(e,152)?(n.i=u(e,152),!0):(n.i=new wvn,n.i.nj(e)):!1}function PFn(n,e,t){var i,r,c;return i=e.Lk(),c=e.md(),r=i.Jk()?W1(n,3,i,null,c,O4(n,i,c,L(i,102)&&(u(i,19).Bb&hr)!=0),!0):W1(n,1,i,i.ik(),c,-1,!0),t?t.nj(r):t=r,t}function rye(n){if(n=Rc(n,!0),Sn(Z4,n)||Sn("1",n))return _n(),uv;if(Sn(cF,n)||Sn("0",n))return _n(),pa;throw T(new kL("Invalid boolean value: '"+n+"'"))}function GZ(n,e,t){var i,r,c;for(r=n.vc().Kc();r.Ob();)if(i=u(r.Pb(),44),c=i.ld(),x(e)===x(c)||e!=null&&ct(e,c))return t&&(i=new uM(i.ld(),i.md()),r.Qb()),i;return null}function cye(n){Kw();var e,t,i;n.B.Hc((io(),sA))&&(i=n.f.i,e=new PT(n.a.c),t=new up,t.b=e.c-i.c,t.d=e.d-i.d,t.c=i.c+i.b-(e.c+e.b),t.a=i.d+i.a-(e.d+e.a),n.e.$f(t))}function IFn(n,e,t,i){var r,c,s;for(s=y.Math.min(t,_Un(u(n.b,68),e,t,i)),c=new M(n.a);c.a<c.c.c.length;)r=u(E(c),225),r!=e&&(s=y.Math.min(s,IFn(r,e,s,i)));return s}function zZ(n){var e,t,i,r;for(r=F(Qh,J,199,n.b.c.length,0,2),i=new xi(n.b,0);i.b<i.d.gc();)e=(oe(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),30)),t=i.b-1,r[t]=Q7(e.a);return r}function XZ(n,e,t){var i,r,c;i=u(Df(n.a,t),34),i!=null&&(c=u(Df(n.b,i),67),i0(c,t,!0)),r=u(Df(n.b,e),67),r||(r=new Mt,s1(n.b,e,r)),xt(r,t,r.c.b,r.c),s1(n.a,t,e)}function Wx(n,e,t,i,r){var c,s,f,h;for(s=Ehe(mz(DV(O9e(t)),i),_7e(n,t,r)),h=h1(n,t).Kc();h.Ob();)f=u(h.Pb(),12),e[f.p]&&(c=e[f.p].i,nn(s.d,new ZN(c,TY(s,c))));UY(s)}function VZ(n,e){this.f=new de,this.b=new de,this.j=new de,this.a=n,this.c=e,this.c>0&&QBn(this,this.c-1,(en(),Zn)),this.c<this.a.length-1&&QBn(this,this.c+1,(en(),Wn))}function uye(n,e){var t,i,r,c,s;for(c=new M(e.d);c.a<c.c.c.length;)for(r=u(E(c),105),s=u(ee(n.c,r),118).o,i=new dp(r.b);i.a<i.c.a.length;)t=u(Y6(i),64),JJ(r,t,s)}function WZ(n){n.length>0&&n[0].length>0&&(this.c=on(un(v(Hi(n[0][0]),(W(),efn))))),this.a=F(jie,J,2117,n.length,0,2),this.b=F(Eie,J,2118,n.length,0,2),this.d=new GRn}function oye(n){return n.c.length==0?!1:(Nn(0,n.c.length),u(n.c[0],18)).c.i.k==(Vn(),Ti)?!0:Ag(_r(new Cn(null,new On(n,16)),new e3n),new t3n)}function OFn(n,e){var t,i,r,c,s,f,h;for(f=a0(e),c=e.f,h=e.g,s=y.Math.sqrt(c*c+h*h),r=0,i=new M(f);i.a<i.c.c.length;)t=u(E(i),27),r+=OFn(n,t);return y.Math.max(r,s)}function Ai(){Ai=R,Oa=new k6(Y5,0),Qf=new k6("FREE",1),Bv=new k6("FIXED_SIDE",2),Ud=new k6("FIXED_ORDER",3),tl=new k6("FIXED_RATIO",4),qc=new k6("FIXED_POS",5)}function sye(n,e){var t,i,r;if(t=e.qi(n.a),t){for(r=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),ys)),i=1;i<(Lu(),ibn).length;++i)if(Sn(ibn[i],r))return i}return 0}function fye(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],pl(c,""+e);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function hye(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],pl(c,""+e);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function AFn(n){var e,t,i;for(i=new fd(ur,"{","}"),t=n.vc().Kc();t.Ob();)e=u(t.Pb(),44),pl(i,KLn(n,e.ld())+"="+KLn(n,e.md()));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function lye(n){for(var e,t,i,r;!n6(n.o);)t=u(Pp(n.o),42),i=u(t.a,125),e=u(t.b,218),r=HC(e,i),e.e==i?(KM(r.g,e),i.e=r.e+e.a):(KM(r.b,e),i.e=r.e-e.a),nn(n.e.a,i)}function JZ(n,e){var t,i,r;for(t=null,r=u(e.Kb(n),20).Kc();r.Ob();)if(i=u(r.Pb(),18),!t)t=i.c.i==n?i.d.i:i.c.i;else if((i.c.i==n?i.d.i:i.c.i)!=t)return!1;return!0}function LFn(n,e){var t,i,r,c,s;for(t=JHn(n,!1,e),r=new M(t);r.a<r.c.c.length;)i=u(E(r),132),i.d==0?($D(i,null),xD(i,null)):(c=i.a,s=i.b,$D(i,s),xD(i,c))}function aye(n){var e,t;return e=new ii,To(e,ire),t=u(v(n,(W(),Hc)),21),t.Hc((pr(),x8))&&To(e,ore),t.Hc(mv)&&To(e,rre),t.Hc(v2)&&To(e,ure),t.Hc(vv)&&To(e,cre),e}function QZ(n,e,t){var i,r,c,s,f;for(s8e(n),r=(n.k==null&&(n.k=F(zF,J,82,0,0,1)),n.k),c=0,s=r.length;c<s;++c)i=r[c],QZ(i);f=n.f,f&&QZ(f)}function dye(n){var e,t,i,r;for(nAe(n),t=new ie(ce(Ml(n).a.Kc(),new En));pe(t);)e=u(fe(t),18),i=e.c.i==n,r=i?e.d:e.c,i?Oi(e,null):Zi(e,null),U(e,(W(),cfn),r),SMe(n,r.i)}function bye(n,e,t,i){var r,c;switch(c=e.i,r=t[c.g][n.d[c.g]],c.g){case 1:r-=i+e.j.b,e.g.b=r;break;case 3:r+=i,e.g.b=r;break;case 4:r-=i+e.j.a,e.g.a=r;break;case 2:r+=i,e.g.a=r}}function wye(n){var e,t,i;for(t=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));t.e!=t.i.gc();)if(e=u(ue(t),27),i=ry(e),!pe(new ie(ce(i.a.Kc(),new En))))return e;return null}function wS(){wS=R,gq=new d7("OVERLAP_REMOVAL",0),dq=new d7(mVn,1),pq=new d7("ROTATION",2),bq=new d7("GRAPH_SIZE_CALCULATION",3),wq=new d7("OUTGOING_EDGE_ANGLES",4)}function gye(){var n;return Soe?u(M4((F1(),Is),ev),2115):(n=u(L(Dc((F1(),Is),ev),569)?Dc(Is,ev):new jHn,569),Soe=!0,KAe(n),eDe(n),Hx(n),Lr(Is,ev,n),n)}function Jx(n,e,t){var i,r;if(n.j==0)return t;if(r=u(H$n(n,e,t),76),i=t.Lk(),!i.rk()||!n.a.am(i))throw T(new ec("Invalid entry feature '"+i.qk().zb+"."+i.xe()+"'"));return r}function pye(n,e){var t,i,r,c,s,f,h,l;for(f=n.a,h=0,l=f.length;h<l;++h)for(s=f[h],i=s,r=0,c=i.length;r<c;++r)if(t=i[r],x(e)===x(t)||e!=null&&ct(e,t))return!0;return!1}function mye(n){var e,t,i;return Ec(n,0)>=0?(t=zk(n,QS),i=Rk(n,QS)):(e=G1(n,1),t=zk(e,5e8),i=Rk(e,5e8),i=nr(Ks(i,1),vi(n,1))),lf(Ks(i,32),vi(t,mr))}function NFn(n,e,t){var i,r;switch(i=(oe(e.b!=0),u(Xo(e,e.a.a),8)),t.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return r=ge(e,0),_7(r,i),e}function DFn(n,e,t,i){var r,c,s,f,h;switch(h=n.b,c=e.d,s=c.j,f=uZ(s,h.d[s.g],t),r=it(Fi(c.n),c.a),c.j.g){case 1:case 3:f.a+=r.a;break;case 2:case 4:f.b+=r.b}xt(i,f,i.c.b,i.c)}function vye(n,e,t){var i,r,c,s;for(s=qr(n.e,e,0),c=new WG,c.b=t,i=new xi(n.e,s);i.b<i.d.gc();)r=(oe(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),10)),r.p=t,nn(c.e,r),bo(i);return c}function kye(n,e,t,i){var r,c,s,f,h;for(r=null,c=0,f=new M(e);f.a<f.c.c.length;)s=u(E(f),27),h=s.i+s.g,n<s.j+s.f+i&&(r?t.i-h<t.i-c&&(r=s):r=s,c=r.i+r.g);return r?c+i:0}function yye(n,e,t,i){var r,c,s,f,h;for(c=null,r=0,f=new M(e);f.a<f.c.c.length;)s=u(E(f),27),h=s.j+s.f,n<s.i+s.g+i&&(c?t.j-h<t.j-r&&(c=s):c=s,r=c.j+c.f);return c?r+i:0}function jye(n){var e,t,i;for(e=!1,i=n.b.c.length,t=0;t<i;t++)eY(u(sn(n.b,t),443))?!e&&t+1<i&&eY(u(sn(n.b,t+1),443))&&(e=!0,u(sn(n.b,t),443).a=!0):e=!1}function Eye(n,e,t,i,r){var c,s;for(c=0,s=0;s<r;s++)c=nr(c,bs(vi(e[s],mr),vi(i[s],mr))),n[s]=Se(c),c=db(c,32);for(;s<t;s++)c=nr(c,vi(e[s],mr)),n[s]=Se(c),c=db(c,32)}function Mye(n,e){C4();var t,i;for(i=(dh(),sI),t=n;e>1;e>>=1)e&1&&(i=Og(i,t)),t.d==1?t=Og(t,t):t=new JKn(pUn(t.a,t.d,F(ye,_e,28,t.d<<1,15,1)));return i=Og(i,t),i}function YZ(){YZ=R;var n,e,t,i;for(Aun=F(Ii,Cr,28,25,15,1),Lun=F(Ii,Cr,28,33,15,1),i=152587890625e-16,e=32;e>=0;e--)Lun[e]=i,i*=.5;for(t=1,n=24;n>=0;n--)Aun[n]=t,t*=.5}function Tye(n){var e,t;if(on(un(z(n,(cn(),B0))))){for(t=new ie(ce(Sl(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),74),Bb(e)&&on(un(z(e,Dd))))return!0}return!1}function $Fn(n,e){var t,i,r;fi(n.f,e)&&(e.b=n,i=e.c,qr(n.j,i,0)!=-1||nn(n.j,i),r=e.d,qr(n.j,r,0)!=-1||nn(n.j,r),t=e.a.b,t.c.length!=0&&(!n.i&&(n.i=new tBn(n)),Ove(n.i,t)))}function Cye(n){var e,t,i,r,c;return t=n.c.d,i=t.j,r=n.d.d,c=r.j,i==c?t.p<r.p?0:1:BC(i)==c?0:CY(i)==c?1:(e=n.b,Su(e.b,BC(i))?0:1)}function gd(n){var e;this.d=new de,this.c=n.c,this.e=n.d,this.b=n.b,this.f=new fIn(n.e),this.a=n.a,n.f?this.g=n.f:this.g=(e=u(of(kA),9),new _o(e,u(xs(e,e.length),9),0))}function gS(n,e){var t,i,r,c,s,f;r=n,s=J6(r,"layoutOptions"),!s&&(s=J6(r,wWn)),s&&(f=s,i=null,f&&(i=(c=P$(f,F(fn,J,2,0,6,1)),new PL(f,c))),i&&(t=new jTn(f,e),qi(i,t)))}function Gr(n){if(L(n,207))return u(n,27);if(L(n,193))return Pf(u(n,123));throw T(n?new Fl("Only support nodes and ports."):new fp(MWn))}function Sye(n,e,t,i){return(e>=0&&Sn(n.substr(e,3),"GMT")||e>=0&&Sn(n.substr(e,3),"UTC"))&&(t[0]=e+3),Oen(n,t,i)}function Pye(n,e){var t,i,r,c,s;for(c=n.g.a,s=n.g.b,i=new M(n.d);i.a<i.c.c.length;)t=u(E(i),72),r=t.n,r.a=c,n.i==(en(),Xn)?r.b=s+n.j.b-t.o.b:r.b=s,it(r,e),c+=t.o.a+n.e}function xFn(n,e,t){if(n.b)throw T(new Ar("The task is already done."));return n.p!=null?!1:(n.p=e,n.r=t,n.k&&(n.o=(fl(),er(vc(Date.now()),d1))),!0)}function ZZ(n){var e,t,i,r,c,s,f;return f=new sp,t=n.Pg(),r=t!=null,r&&ym(f,Eh,n.Pg()),i=n.xe(),c=i!=null,c&&ym(f,Qe,n.xe()),e=n.Og(),s=e!=null,s&&ym(f,"description",n.Og()),f}function RFn(n,e,t){var i,r,c;return c=n.q,n.q=e,n.Db&4&&!(n.Db&1)&&(r=new Mi(n,1,9,c,e),t?t.nj(r):t=r),e?(i=e.c,i!=n.r&&(t=n.Yk(i,t))):n.r&&(t=n.Yk(null,t)),t}function Iye(n,e,t){var i,r,c,s,f;for(t=(f=e,Wp(f,n.e,-1-n.c,t)),s=BW(n.a),c=(i=new sd(new Ua(s.a).a),new DE(i));c.a.b;)r=u(Ab(c.a).ld(),89),t=N4(r,TS(r,n.a),t);return t}function Oye(n,e,t){var i,r,c,s,f;for(t=(f=e,OT(f,n.e,-1-n.c,t)),s=BW(n.a),c=(i=new sd(new Ua(s.a).a),new DE(i));c.a.b;)r=u(Ab(c.a).ld(),89),t=N4(r,TS(r,n.a),t);return t}function Aye(n,e,t,i){var r,c,s;if(i==0)Oc(e,0,n,t,n.length-t);else for(s=32-i,n[n.length-1]=0,c=n.length-1;c>t;c--)n[c]|=e[c-t-1]>>>s,n[c-1]=e[c-t-1]<<i;for(r=0;r<t;r++)n[r]=0}function Lye(n){var e,t,i,r,c;for(e=0,t=0,c=n.Kc();c.Ob();)i=u(c.Pb(),117),e=y.Math.max(e,i.d.b),t=y.Math.max(t,i.d.c);for(r=n.Kc();r.Ob();)i=u(r.Pb(),117),i.d.b=e,i.d.c=t}function Nye(n){var e,t,i,r,c;for(t=0,e=0,c=n.Kc();c.Ob();)i=u(c.Pb(),117),t=y.Math.max(t,i.d.d),e=y.Math.max(e,i.d.a);for(r=n.Kc();r.Ob();)i=u(r.Pb(),117),i.d.d=t,i.d.a=e}function Qx(n,e,t,i,r){var c,s;c=u(Wr(ut(e.Oc(),new apn),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),Qk(c),s=u(od(n.b,t,i),15),r==0?s.cd(0,c):s.Gc(c)}function Dye(n,e,t){t.Ug("Grow Tree",1),n.b=e.f,on(un(v(e,(Wm(),I8))))?(n.c=new vE,OAn(n,null)):n.c=new vE,n.a=!1,cqn(n,e.f),U(e,ron,(_n(),!!n.a)),t.Vg()}function nnn(n){var e,t,i,r;for(e=null,r=new M(n.Rf());r.a<r.c.c.length;)i=u(E(r),187),t=new Ho(i.Lf().a,i.Lf().b,i.Mf().a,i.Mf().b),e?O5(e,t):e=t;return!e&&(e=new mp),e}function Yx(n,e,t,i){var r,c;return t==1?(!n.n&&(n.n=new q(Sr,n,1,7)),Xc(n.n,e,i)):(c=u($n((r=u(Un(n,16),29),r||n.ii()),t),69),c.wk().zk(n,iu(n),t-se(n.ii()),e,i))}function Zx(n,e,t){var i,r,c,s,f;for(i=t.gc(),n._i(n.i+i),f=n.i-e,f>0&&Oc(n.g,e,n.g,e+i,f),s=t.Kc(),n.i+=i,r=0;r<i;++r)c=s.Pb(),P6(n,e,n.Zi(e,c)),n.Mi(e,c),n.Ni(),++e;return i!=0}function Kf(n,e,t){var i;return e!=n.q?(n.q&&(t=OT(n.q,n,-10,t)),e&&(t=Wp(e,n,-10,t)),t=RFn(n,e,t)):n.Db&4&&!(n.Db&1)&&(i=new Mi(n,1,9,e,e),t?t.nj(i):t=i),t}function nR(n,e,t,i){return OV((t&wh)==0,"flatMap does not support SUBSIZED characteristic"),OV((t&4)==0,"flatMap does not support SORTED characteristic"),Pe(n),Pe(e),new MLn(n,e,t,i)}function $ye(n,e){SW(e,"Cannot suppress a null exception."),x7(e!=n,"Exception can not suppress itself."),!n.i&&(n.k==null?n.k=S(C(zF,1),J,82,0,[e]):n.k[n.k.length]=e)}function xye(n,e){var t;if(t=nCn(n.b.ag(),e.b.ag()),t!=0)return t;switch(n.b.ag().g){case 1:case 2:return jc(n.b.Nf(),e.b.Nf());case 3:case 4:return jc(e.b.Nf(),n.b.Nf())}return 0}function Rye(n){var e,t,i;for(i=n.e.c.length,n.a=Wa(ye,[J,_e],[53,28],15,[i,i],2),t=new M(n.c);t.a<t.c.c.length;)e=u(E(t),289),n.a[e.c.a][e.d.a]+=u(v(e,(Us(),k3)),17).a}function Kye(n,e){var t,i,r,c,s;if(n==null)return null;for(s=F(fs,gh,28,2*e,15,1),i=0,r=0;i<e;++i)t=n[i]>>4&15,c=n[i]&15,s[r++]=Adn[t],s[r++]=Adn[c];return ws(s,0,s.length)}function wu(n){var e,t;return n>=hr?(e=Sy+(n-hr>>10&1023)&ui,t=56320+(n-hr&1023)&ui,String.fromCharCode(e)+(""+String.fromCharCode(t))):String.fromCharCode(n&ui)}function Bye(n,e){Kw();var t,i,r,c;return r=u(u(ot(n.r,e),21),87),r.gc()>=2?(i=u(r.Kc().Pb(),117),t=n.u.Hc((zu(),C9)),c=n.u.Hc(R3),!i.a&&!t&&(r.gc()==2||c)):!1}function KFn(n,e,t,i,r){var c,s,f;for(c=Mqn(n,e,t,i,r),f=!1;!c;)ES(n,r,!0),f=!0,c=Mqn(n,e,t,i,r);f&&ES(n,r,!1),s=K$(r),s.c.length!=0&&(n.d&&n.d.Gg(s),KFn(n,r,t,i,s))}function pS(){pS=R,lU=new v6(kh,0),edn=new v6("DIRECTED",1),idn=new v6("UNDIRECTED",2),Zan=new v6("ASSOCIATION",3),tdn=new v6("GENERALIZATION",4),ndn=new v6("DEPENDENCY",5)}function Fye(n,e){var t;if(!Pf(n))throw T(new Ar(eWn));switch(t=Pf(n),e.g){case 1:return-(n.j+n.f);case 2:return n.i-t.g;case 3:return n.j-t.f;case 4:return-(n.i+n.g)}return 0}function _ye(n,e,t){var i,r,c;return i=e.Lk(),c=e.md(),r=i.Jk()?W1(n,4,i,c,null,O4(n,i,c,L(i,102)&&(u(i,19).Bb&hr)!=0),!0):W1(n,i.tk()?2:1,i,c,i.ik(),-1,!0),t?t.nj(r):t=r,t}function k4(n,e){var t,i;for(Jn(e),i=n.b.c.length,nn(n.b,e);i>0;){if(t=i,i=(i-1)/2|0,n.a.Ne(sn(n.b,i),e)<=0)return Go(n.b,t,e),!0;Go(n.b,t,sn(n.b,i))}return Go(n.b,i,e),!0}function enn(n,e,t,i){var r,c;if(r=0,t)r=$C(n.a[t.g][e.g],i);else for(c=0;c<dI;c++)r=y.Math.max(r,$C(n.a[c][e.g],i));return e==(wf(),Wc)&&n.b&&(r=y.Math.max(r,n.b.a)),r}function Hye(n,e){var t,i,r,c,s,f;return r=n.i,c=e.i,!r||!c||r.i!=c.i||r.i==(en(),Zn)||r.i==(en(),Wn)?!1:(s=r.g.a,t=s+r.j.a,f=c.g.a,i=f+c.j.a,s<=i&&t>=f)}function BFn(n){switch(n.g){case 0:return new r4n;case 1:return new c4n;default:throw T(new Gn("No implementation is available for the width approximator "+(n.f!=null?n.f:""+n.g)))}}function tnn(n,e,t,i){var r;if(r=!1,Si(i)&&(r=!0,ym(e,t,Ae(i))),r||Dw(i)&&(r=!0,tnn(n,e,t,i)),r||L(i,242)&&(r=!0,nd(e,t,u(i,242))),!r)throw T(new vL(Ocn))}function qye(n,e){var t,i,r;if(t=e.qi(n.a),t&&(r=gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),vs),r!=null)){for(i=1;i<(Lu(),ebn).length;++i)if(Sn(ebn[i],r))return i}return 0}function Uye(n,e){var t,i,r;if(t=e.qi(n.a),t&&(r=gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),vs),r!=null)){for(i=1;i<(Lu(),tbn).length;++i)if(Sn(tbn[i],r))return i}return 0}function FFn(n,e){var t,i,r,c;if(Jn(e),c=n.a.gc(),c<e.gc())for(t=n.a.ec().Kc();t.Ob();)i=t.Pb(),e.Hc(i)&&t.Qb();else for(r=e.Kc();r.Ob();)i=r.Pb(),n.a.Bc(i)!=null;return c!=n.a.gc()}function _Fn(n){var e,t;switch(t=Fi(cc(S(C(Ei,1),J,8,0,[n.i.n,n.n,n.a]))),e=n.i.d,n.j.g){case 1:t.b-=e.d;break;case 2:t.a+=e.c;break;case 3:t.b+=e.a;break;case 4:t.a-=e.b}return t}function Gye(n){var e;for(e=(Hp(),u(fe(new ie(ce(ji(n).a.Kc(),new En))),18).c.i);e.k==(Vn(),Ti);)U(e,(W(),yj),(_n(),!0)),e=u(fe(new ie(ce(ji(e).a.Kc(),new En))),18).c.i}function eR(n,e,t,i){var r,c,s,f;for(f=b5(e,i),s=f.Kc();s.Ob();)r=u(s.Pb(),12),n.d[r.p]=n.d[r.p]+n.c[t.p];for(f=b5(t,i),c=f.Kc();c.Ob();)r=u(c.Pb(),12),n.d[r.p]=n.d[r.p]-n.c[e.p]}function inn(n,e,t){var i,r;for(r=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));r.e!=r.i.gc();)i=u(ue(r),27),Bo(i,i.i+e,i.j+t);qi((!n.b&&(n.b=new q(Vt,n,12,3)),n.b),new lTn(e,t))}function zye(n,e,t,i){var r,c;for(c=e,r=c.d==null||n.a.Ne(t.d,c.d)>0?1:0;c.a[r]!=t;)c=c.a[r],r=n.a.Ne(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function Xye(n){var e,t,i,r;for(e=new Z,t=F(so,Xh,28,n.a.c.length,16,1),MW(t,t.length),r=new M(n.a);r.a<r.c.c.length;)i=u(E(r),125),t[i.d]||(Bn(e.c,i),oBn(n,i,t));return e}function HFn(n,e){var t,i,r,c,s;for(r=e==1?C_:T_,i=r.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),88),s=u(ot(n.f.c,t),21).Kc();s.Ob();)c=u(s.Pb(),42),du(n.b.b,c.b),du(n.b.a,u(c.b,86).d)}function Vye(n,e){var t;e.Ug("Hierarchical port position processing",1),t=n.b,t.c.length>0&&dUn((Nn(0,t.c.length),u(t.c[0],30)),n),t.c.length>1&&dUn(u(sn(t,t.c.length-1),30),n),e.Vg()}function Wye(n){zu();var e,t;return e=yt(Rl,S(C(oA,1),G,279,0,[Aa])),!(vk(LT(e,n))>1||(t=yt(C9,S(C(oA,1),G,279,0,[T9,R3])),vk(LT(t,n))>1))}function rnn(n,e){var t;t=Dc((F1(),Is),n),L(t,507)?Lr(Is,n,new LTn(this,e)):Lr(Is,n,this),tR(this,e),e==(um(),qdn)?(this.wb=u(this,2038),u(e,2040)):this.wb=(z1(),Hn)}function Jye(n){var e,t,i;if(n==null)return null;for(e=null,t=0;t<O9.length;++t)try{return bMn(O9[t],n)}catch(r){if(r=Ot(r),L(r,33))i=r,e=i;else throw T(r)}throw T(new eC(e))}function qFn(){qFn=R,EQn=S(C(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),MQn=S(C(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function UFn(n){var e,t,i;e=Sn(typeof e,xK)?null:new Wbn,e&&(lm(),t=(i=900,i>=d1?"error":i>=900?"warn":i>=800?"info":"log"),ZIn(t,n.a),n.b&&cen(e,t,n.b,"Exception: ",!0))}function v(n,e){var t,i;return i=(!n.q&&(n.q=new de),ee(n.q,e)),i??(t=e.Sg(),L(t,4)&&(t==null?(!n.q&&(n.q=new de),Kp(n.q,e)):(!n.q&&(n.q=new de),Ve(n.q,e,t))),t)}function Vi(){Vi=R,Vs=new o7("P1_CYCLE_BREAKING",0),Jh=new o7("P2_LAYERING",1),Ac=new o7("P3_NODE_ORDERING",2),Fc=new o7("P4_NODE_PLACEMENT",3),zr=new o7("P5_EDGE_ROUTING",4)}function Qye(n,e){e5();var t;if(n.c==e.c){if(n.b==e.b||rve(n.b,e.b)){if(t=Ile(n.b)?1:-1,n.a&&!e.a)return t;if(!n.a&&e.a)return-t}return jc(n.b.g,e.b.g)}else return bt(n.c,e.c)}function GFn(n,e){var t,i,r;if(unn(n,e))return!0;for(i=new M(e);i.a<i.c.c.length;)if(t=u(E(i),27),r=EFn(t),NS(n,t,r)||XRn(n,t)-n.g<=n.a)return!0;return!1}function Vk(){Vk=R,QO=(ER(),J1n),qq=sue,Hq=oue,q1n=rue,_q=uue,H1n=new ob(8),Qce=new Di((He(),M1),H1n),Yce=new Di(qd,8),Zce=V1n,F1n=nue,_1n=eue,Jce=new Di(Gj,(_n(),!1))}function mS(){mS=R,dan=new ob(15),Tue=new Di((He(),M1),dan),Cue=new Di(qd,15),ban=new Di(Wj,Y(0)),han=Lue,Eue=Hd,Mue=Sa,fan=new Di(x2,$Vn),lan=Xj,aan=_2,Xq=Oue,jue=Uj}function Fh(n){if((!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i!=1||(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i!=1)throw T(new Gn(mF));return Gr(u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84))}function zFn(n){if((!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i!=1||(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i!=1)throw T(new Gn(mF));return Ek(u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84))}function XFn(n){if((!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i!=1||(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i!=1)throw T(new Gn(mF));return Ek(u(N((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84))}function ca(n){if((!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i!=1||(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i!=1)throw T(new Gn(mF));return Gr(u(N((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84))}function cnn(n,e,t){var i,r,c;if(++n.j,r=n.Ej(),e>=r||e<0)throw T(new Or(vF+e+Cd+r));if(t>=r||t<0)throw T(new Or(kF+t+Cd+r));return e!=t?i=(c=n.Cj(t),n.qj(e,c),c):i=n.xj(t),i}function VFn(n){var e,t,i;if(i=n,n)for(e=0,t=n.Eh();t;t=t.Eh()){if(++e>IK)return VFn(t);if(i=t,t==n)throw T(new Ar("There is a cycle in the containment hierarchy of "+n))}return i}function ua(n){var e,t,i;for(i=new fd(ur,"[","]"),t=n.Kc();t.Ob();)e=t.Pb(),pl(i,x(e)===x(n)?"(this Collection)":e==null?gu:Jr(e));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function unn(n,e){var t,i;if(i=!1,e.gc()<2)return!1;for(t=0;t<e.gc();t++)t<e.gc()-1?i=i|NS(n,u(e.Xb(t),27),u(e.Xb(t+1),27)):i=i|NS(n,u(e.Xb(t),27),u(e.Xb(0),27));return i}function WFn(n,e){var t;e!=n.a?(t=null,n.a&&(t=u(n.a,54).Th(n,4,Ef,t)),e&&(t=u(e,54).Rh(n,4,Ef,t)),t=pY(n,e,t),t&&t.oj()):n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,1,e,e))}function onn(n,e){var t;e!=n.e?(n.e&&RNn(BW(n.e),n),e&&(!e.b&&(e.b=new NE(new aL)),XSn(e.b,n)),t=oke(n,e,null),t&&t.oj()):n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,4,e,e))}function Yye(n,e){var t;t=e.o,hl(n.f)?(n.j.a=y.Math.max(n.j.a,t.a),n.j.b+=t.b,n.d.c.length>1&&(n.j.b+=n.e)):(n.j.a+=t.a,n.j.b=y.Math.max(n.j.b,t.b),n.d.c.length>1&&(n.j.a+=n.e))}function oa(){oa=R,une=S(C(lr,1),Tc,64,0,[(en(),Xn),Zn,ae]),cne=S(C(lr,1),Tc,64,0,[Zn,ae,Wn]),one=S(C(lr,1),Tc,64,0,[ae,Wn,Xn]),sne=S(C(lr,1),Tc,64,0,[Wn,Xn,Zn])}function Zye(n,e,t,i){var r,c,s,f,h,l,a;if(s=n.c.d,f=n.d.d,s.j!=f.j)for(a=n.b,r=s.j,h=null;r!=f.j;)h=e==0?BC(r):CY(r),c=uZ(r,a.d[r.g],t),l=uZ(h,a.d[h.g],t),Re(i,it(c,l)),r=h}function nje(n,e,t,i){var r,c,s,f,h;return s=YBn(n.a,e,t),f=u(s.a,17).a,c=u(s.b,17).a,i&&(h=u(v(e,(W(),Xu)),10),r=u(v(t,Xu),10),h&&r&&(BLn(n.b,h,r),f+=n.b.i,c+=n.b.e)),f>c}function JFn(n){var e,t,i,r,c,s,f,h,l;for(this.a=vBn(n),this.b=new Z,t=n,i=0,r=t.length;i<r;++i)for(e=t[i],c=new Z,nn(this.b,c),f=e,h=0,l=f.length;h<l;++h)s=f[h],nn(c,new _u(s.j))}function eje(n,e,t){var i,r,c;return c=0,i=t[e],e<t.length-1&&(r=t[e+1],n.b[e]?(c=YNe(n.d,i,r),c+=pD(n.a,i,(en(),Zn)),c+=pD(n.a,r,Wn)):c=Nme(n.a,i,r)),n.c[e]&&(c+=rme(n.a,i)),c}function tje(n,e,t,i,r){var c,s,f,h;for(h=null,f=new M(i);f.a<f.c.c.length;)if(s=u(E(f),452),s!=t&&qr(s.e,r,0)!=-1){h=s;break}c=JD(r),Zi(c,t.b),Oi(c,h.b),In(n.a,r,new GM(c,e,t.f))}function ije(n){var e,t,i,r;if(vg(u(v(n.b,(cn(),Lo)),88)))return 0;for(e=0,i=new M(n.a);i.a<i.c.c.length;)t=u(E(i),10),t.k==(Vn(),Xt)&&(r=t.o.a,e=y.Math.max(e,r));return e}function QFn(n){for(;n.g.c!=0&&n.d.c!=0;)AN(n.g).c>AN(n.d).c?(n.i+=n.g.c,px(n.d)):AN(n.d).c>AN(n.g).c?(n.e+=n.d.c,px(n.g)):(n.i+=oIn(n.g),n.e+=oIn(n.d),px(n.g),px(n.d))}function rje(n,e,t){var i,r,c,s;for(c=e.q,s=e.r,new ed((af(),Ma),e,c,1),new ed(Ma,c,s,1),r=new M(t);r.a<r.c.c.length;)i=u(E(r),118),i!=c&&i!=e&&i!=s&&(Uen(n.a,i,e),Uen(n.a,i,s))}function YFn(n,e,t,i){n.a.d=y.Math.min(e,t),n.a.a=y.Math.max(e,i)-n.a.d,e<t?(n.b=.5*(e+t),n.g=HB*n.b+.9*e,n.f=HB*n.b+.9*t):(n.b=.5*(e+i),n.g=HB*n.b+.9*i,n.f=HB*n.b+.9*e)}function cje(n){var e,t,i,r;if(n.b!=0){for(e=new Mt,r=ge(n,0);r.b!=r.d.c;)i=u(be(r),39),Ki(e,R$(i)),t=i.e,t.a=u(v(i,(pt(),Dj)),17).a,t.b=u(v(i,$j),17).a;return e}return new Mt}function uje(n){switch(u(v(n,(cn(),ou)),171).g){case 1:U(n,ou,(Yo(),F8));break;case 2:U(n,ou,(Yo(),x0));break;case 3:U(n,ou,(Yo(),B8));break;case 4:U(n,ou,(Yo(),ja))}}function oje(n,e,t){var i;t.Ug("Self-Loop routing",1),i=$5e(e),PM(v(e,(JT(),d9))),Ut(_r(ut(ut(rc(new Cn(null,new On(e.b,16)),new p2n),new m2n),new v2n),new k2n),new SMn(n,i)),t.Vg()}function y4(){y4=R,D8=new g6(kh,0),qsn=new g6(s3,1),zsn=new g6(f3,2),Gsn=new g6("LEFT_RIGHT_CONSTRAINT_LOCKING",3),Usn=new g6("LEFT_RIGHT_CONNECTION_LOCKING",4),Hsn=new g6(WXn,5)}function ZFn(n,e,t){var i,r,c,s,f,h,l;f=t.a/2,c=t.b/2,i=y.Math.abs(e.a-n.a),r=y.Math.abs(e.b-n.b),h=1,l=1,i>f&&(h=f/i),r>c&&(l=c/r),s=y.Math.min(h,l),n.a+=s*(e.a-n.a),n.b+=s*(e.b-n.b)}function sje(n,e,t,i,r){var c,s;for(s=!1,c=u(sn(t.b,0),27);RIe(n,e,c,i,r)&&(s=!0,Kke(t,c),t.b.c.length!=0);)c=u(sn(t.b,0),27);return t.b.c.length==0&&Uk(t.j,t),s&&fS(e.q),s}function fje(n,e){Vg();var t,i,r,c;if(e.b<2)return!1;for(c=ge(e,0),t=u(be(c),8),i=t;c.b!=c.d.c;){if(r=u(be(c),8),mR(n,i,r))return!0;i=r}return!!mR(n,i,t)}function snn(n,e,t,i){var r,c;return t==0?(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),qM(n.o,e,i)):(c=u($n((r=u(Un(n,16),29),r||n.ii()),t),69),c.wk().Ak(n,iu(n),t-se(n.ii()),e,i))}function tR(n,e){var t;e!=n.sb?(t=null,n.sb&&(t=u(n.sb,54).Th(n,1,I9,t)),e&&(t=u(e,54).Rh(n,1,I9,t)),t=kY(n,e,t),t&&t.oj()):n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,4,e,e))}function hje(n,e){var t,i,r,c;if(e)r=yl(e,"x"),t=new Ukn(n),Fm(t.a,(Jn(r),r)),c=yl(e,"y"),i=new Gkn(n),Hm(i.a,(Jn(c),c));else throw T(new eh("All edge sections need an end point."))}function lje(n,e){var t,i,r,c;if(e)r=yl(e,"x"),t=new _kn(n),_m(t.a,(Jn(r),r)),c=yl(e,"y"),i=new Hkn(n),qm(i.a,(Jn(c),c));else throw T(new eh("All edge sections need a start point."))}function aje(n,e){var t,i,r,c,s,f,h;for(i=CRn(n),c=0,f=i.length;c<f;++c)UFn(e);for(h=!Uf&&n.e?Uf?null:n.d:null;h;){for(t=CRn(h),r=0,s=t.length;r<s;++r)UFn(e);h=!Uf&&h.e?Uf?null:h.d:null}}function n_n(n,e){var t,i;i=u(v(e,(cn(),_t)),101),U(e,(W(),ufn),i),t=e.e,t&&(Ut(new Cn(null,new On(t.a,16)),new IG(n)),Ut(rc(new Cn(null,new On(t.b,16)),new FU),new OG(n)))}function Vn(){Vn=R,Xt=new a6("NORMAL",0),Ti=new a6("LONG_EDGE",1),Zt=new a6("EXTERNAL_PORT",2),_c=new a6("NORTH_SOUTH_PORT",3),Sc=new a6("LABEL",4),Gf=new a6("BREAKING_POINT",5)}function dje(n){var e,t,i,r;if(e=!1,kt(n,(W(),R8)))for(t=u(v(n,R8),85),r=new M(n.j);r.a<r.c.c.length;)i=u(E(r),12),jTe(i)&&(e||($Ee(Hi(n)),e=!0),P8e(u(t.xc(i),314)))}function bje(n){var e,t,i,r,c,s,f,h,l;return l=ZZ(n),t=n.e,c=t!=null,c&&ym(l,FP,n.e),f=n.k,s=!!f,s&&ym(l,"type",PN(n.k)),i=Z9(n.j),r=!i,r&&(h=new _a,bf(l,pF,h),e=new lyn(h),qi(n.j,e)),l}function wje(n){var e,t,i,r;for(r=X1((Mo(n.gc(),"size"),new fg),123),i=!0,t=Ja(n).Kc();t.Ob();)e=u(t.Pb(),44),i||(r.a+=ur),i=!1,Lc(X1(Lc(r,e.ld()),61),e.md());return(r.a+="}",r).a}function e_n(n,e){var t,i,r;return e&=63,e<22?(t=n.l<<e,i=n.m<<e|n.l>>22-e,r=n.h<<e|n.m>>22-e):e<44?(t=0,i=n.l<<e-22,r=n.m<<e-22|n.l>>44-e):(t=0,i=0,r=n.l<<e-44),Yc(t&ro,i&ro,r&Ol)}function s0(n){if(lun==null&&(lun=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!lun.test(n))throw T(new th(zb+n+'"'));return parseFloat(n)}function t_n(n,e){var t,i,r,c,s;for(r=e==1?C_:T_,i=r.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),88),s=u(ot(n.f.c,t),21).Kc();s.Ob();)c=u(s.Pb(),42),nn(n.b.b,u(c.b,86)),nn(n.b.a,u(c.b,86).d)}function gje(n,e){var t,i,r,c;for(c=e.b.j,n.a=F(ye,_e,28,c.c.length,15,1),r=0,i=0;i<c.c.length;i++)t=(Nn(i,c.c.length),u(c.c[i],12)),t.e.c.length==0&&t.g.c.length==0?r+=1:r+=3,n.a[i]=r}function vS(){vS=R,Z_=new b6("ALWAYS_UP",0),Y_=new b6("ALWAYS_DOWN",1),eH=new b6("DIRECTION_UP",2),nH=new b6("DIRECTION_DOWN",3),tH=new b6("SMART_UP",4),JI=new b6("SMART_DOWN",5)}function pje(n,e){if(n<0||e<0)throw T(new Gn("k and n must be positive"));if(e>n)throw T(new Gn("k must be smaller than n"));return e==0||e==n?1:n==0?0:$Z(n)/($Z(e)*$Z(n-e))}function fnn(n,e){var t,i,r,c;for(t=new TX(n);t.g==null&&!t.c?iJ(t):t.g==null||t.i!=0&&u(t.g[t.i-1],51).Ob();)if(c=u(MS(t),58),L(c,167))for(i=u(c,167),r=0;r<e.length;r++)e[r].Kg(i)}function iR(n){var e;return n.Db&64?ox(n):(e=new ls(ox(n)),e.a+=" (height: ",hg(e,n.f),e.a+=", width: ",hg(e,n.g),e.a+=", x: ",hg(e,n.i),e.a+=", y: ",hg(e,n.j),e.a+=")",e.a)}function mje(n){var e,t,i,r,c,s,f;for(e=new Ql,i=n,r=0,c=i.length;r<c;++r)if(t=i[r],s=Pe(t.ld()),f=s1(e,s,Pe(t.md())),f!=null)throw T(new Gn("duplicate key: "+s));this.b=(Ln(),new eL(e))}function vje(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],pl(c,String.fromCharCode(e));return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function hnn(){hnn=R,lon=(uC(),vI),BYn=new Tn(cP,lon),Y(1),KYn=new Tn(Gtn,Y(300)),Y(0),HYn=new Tn(ztn,Y(0)),qYn=new Tn(ZK,vh),FYn=new Tn(nB,5),UYn=vI,_Yn=m_}function kje(n,e){var t;if(e!=null&&!n.c.Hk().fk(e))throw t=L(e,58)?u(e,58).Dh().zb:Xa(wo(e)),T(new tm(wa+n.c.xe()+"'s type '"+n.c.Hk().xe()+"' does not permit a value of type '"+t+"'"))}function yje(n,e,t){var i,r;for(r=new xi(n.b,0);r.b<r.d.gc();)i=(oe(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),72)),x(v(i,(W(),rfn)))===x(e)&&(gnn(i.n,Hi(n.c.i),t),bo(r),nn(e.b,i))}function i_n(n){var e,t;return t=y.Math.sqrt((n.k==null&&(n.k=$Q(n,new _pn)),$(n.k)/(n.b*(n.g==null&&(n.g=jxn(n,new XU)),$(n.g))))),e=Se(vc(y.Math.round(t))),e=y.Math.min(e,n.f),e}function jje(){var n,e,t;for(e=0,n=0;n<1;n++){if(t=Knn((zn(n,1),"X".charCodeAt(n))),t==0)throw T(new Ne((zn(n,2),"Unknown Option: "+"X".substr(n))));e|=t}return e}function Ic(){Au(),pV.call(this),this.j=(en(),sc),this.a=new Ni,new sL,this.f=(Mo(2,m0),new Gc(2)),this.e=(Mo(4,m0),new Gc(4)),this.g=(Mo(4,m0),new Gc(4)),this.b=new IMn(this.e,this.g)}function Eje(n,e){var t,i;return!(on(un(v(e,(W(),zf))))||(i=e.c.i,n==(Yo(),B8)&&i.k==(Vn(),Sc))||(t=u(v(i,(cn(),ou)),171),t==ja))}function Mje(n,e){var t,i;return!(on(un(v(e,(W(),zf))))||(i=e.d.i,n==(Yo(),F8)&&i.k==(Vn(),Sc))||(t=u(v(i,(cn(),ou)),171),t==x0))}function Tje(n,e){var t,i,r,c,s,f,h;for(s=n.d,h=n.o,f=new Ho(-s.b,-s.d,s.b+h.a+s.c,s.d+h.b+s.a),i=e,r=0,c=i.length;r<c;++r)t=i[r],t&&O5(f,t.i);s.b=-f.c,s.d=-f.d,s.c=f.b-s.b-h.a,s.a=f.a-s.d-h.b}function Cje(n,e){if(e.a)switch(u(v(e.b,(W(),ufn)),101).g){case 0:case 1:Uke(e);case 2:Ut(new Cn(null,new On(e.d,16)),new qU),PMe(n.a,e)}else Ut(new Cn(null,new On(e.d,16)),new qU)}function Wk(){Wk=R,x1n=new w7("CENTER_DISTANCE",0),Bq=new w7("CIRCLE_UNDERLAP",1),K1n=new w7("RECTANGLE_UNDERLAP",2),Fq=new w7("INVERTED_OVERLAP",3),R1n=new w7("MINIMUM_ROOT_DISTANCE",4)}function Sje(n){aen();var e,t,i,r,c;if(n==null)return null;for(i=n.length,r=i*2,e=F(fs,gh,28,r,15,1),t=0;t<i;t++)c=n[t],c<0&&(c+=256),e[t*2]=PA[c>>4],e[t*2+1]=PA[c&15];return ws(e,0,e.length)}function Pje(n){kT();var e,t,i;switch(i=n.c.length,i){case 0:return rQn;case 1:return e=u(K_n(new M(n)),44),ywe(e.ld(),e.md());default:return t=u(Rf(n,F(Id,WS,44,n.c.length,0,1)),173),new sz(t)}}function Ije(n){var e,t,i,r,c,s;for(e=new Mg,t=new Mg,J1(e,n),J1(t,n);t.b!=t.c;)for(r=u(Pp(t),36),s=new M(r.a);s.a<s.c.c.length;)c=u(E(s),10),c.e&&(i=c.e,J1(e,i),J1(t,i));return e}function h1(n,e){switch(e.g){case 1:return Mp(n.j,(Au(),xon));case 2:return Mp(n.j,(Au(),Don));case 3:return Mp(n.j,(Au(),Kon));case 4:return Mp(n.j,(Au(),Bon));default:return Ln(),Ln(),sr}}function Oje(n,e){var t,i,r;t=bwe(e,n.e),i=u(ee(n.g.f,t),17).a,r=n.a.c.length-1,n.a.c.length!=0&&u(sn(n.a,r),293).c==i?(++u(sn(n.a,r),293).a,++u(sn(n.a,r),293).b):nn(n.a,new fSn(i))}function Aje(n,e,t){var i,r;return i=XSe(n,e,t),i!=0?i:kt(e,(W(),dt))&&kt(t,dt)?(r=jc(u(v(e,dt),17).a,u(v(t,dt),17).a),r<0?fy(n,e,t):r>0&&fy(n,t,e),r):pMe(n,e,t)}function sa(){sa=R,fce=(He(),N3),hce=qd,cce=Hd,uce=_2,oce=Sa,rce=F2,Vln=Vj,sce=W0,vq=(jen(),Xre),kq=Vre,Jln=Yre,yq=ece,Qln=Zre,Yln=nce,Wln=Wre,_O=Jre,HO=Qre,xj=tce,Zln=ice,Xln=zre}function r_n(n,e){var t,i,r,c,s;if(n.e<=e||Z2e(n,n.g,e))return n.g;for(c=n.r,i=n.g,s=n.r,r=(c-i)/2+i;i+1<c;)t=q5(n,r,!1),t.b<=r&&t.a<=e?(s=r,c=r):i=r,r=(c-i)/2+i;return s}function Lje(n,e,t){var i;i=Cqn(n,e,!0),xFn(t,"Recursive Graph Layout",i),fnn(e,S(C(ran,1),Rn,536,0,[new y8n])),Nf(e,(He(),q2))||fnn(e,S(C(ran,1),Rn,536,0,[new T4n])),ftn(n,e,null,t),c_n(t)}function c_n(n){var e;if(n.p==null)throw T(new Ar("The task has not begun yet."));n.b||(n.k&&(e=(fl(),er(vc(Date.now()),d1)),n.q=id(bs(e,n.o))*1e-9),n.c<n.r&&jQ(n,n.r-n.c),n.b=!0)}function Jk(n){var e,t,i;for(i=new Tu,Re(i,new V(n.j,n.k)),t=new ne((!n.a&&(n.a=new ti(xo,n,5)),n.a));t.e!=t.i.gc();)e=u(ue(t),377),Re(i,new V(e.a,e.b));return Re(i,new V(n.b,n.c)),i}function Nje(n,e,t,i,r){var c,s,f,h,l,a;if(r)for(h=r.a.length,c=new Qa(h),a=(c.b-c.a)*c.c<0?(_1(),Ra):new U1(c);a.Ob();)l=u(a.Pb(),17),f=Lm(r,l.a),s=new OOn(n,e,t,i),eIe(s.a,s.b,s.c,s.d,f)}function lnn(n,e){var t;if(x(n)===x(e))return!0;if(L(e,21)){t=u(e,21);try{return n.gc()==t.gc()&&n.Ic(t)}catch(i){if(i=Ot(i),L(i,169)||L(i,212))return!1;throw T(i)}}return!1}function rR(n,e,t,i,r,c){switch(this.c=n,e.g){case 2:if(n.a.Ne(r,t)<0)throw T(new Gn(Etn+r+Wzn+t));break;case 1:n.a.Ne(r,r);break;case 3:n.a.Ne(t,t)}this.f=e,this.b=t,this.a=i,this.e=r,this.d=c}function ann(n,e){var t;nn(n.d,e),t=e.Mf(),n.c?(n.e.a=y.Math.max(n.e.a,t.a),n.e.b+=t.b,n.d.c.length>1&&(n.e.b+=n.a)):(n.e.a+=t.a,n.e.b=y.Math.max(n.e.b,t.b),n.d.c.length>1&&(n.e.a+=n.a))}function Dje(n){var e,t,i,r;switch(r=n.i,e=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(n.g.b.o.a-i.a)/2;break;case 1:t.a=e.d.n.a+e.d.a.a;break;case 2:t.a=e.d.n.a+e.d.a.a-i.a;break;case 3:t.b=e.d.n.b+e.d.a.b}}function $je(n,e,t){var i,r,c;for(r=new ie(ce(Ml(t).a.Kc(),new En));pe(r);)i=u(fe(r),18),!fr(i)&&!(!fr(i)&&i.c.i.c==i.d.i.c)&&(c=WHn(n,i,t,new Yyn),c.c.length>1&&Bn(e.c,c))}function u_n(n,e,t,i,r){if(i<e||r<t)throw T(new Gn("The highx must be bigger then lowx and the highy must be bigger then lowy"));return n.a<e?n.a=e:n.a>i&&(n.a=i),n.b<t?n.b=t:n.b>r&&(n.b=r),n}function xje(n){if(L(n,143))return dCe(u(n,143));if(L(n,233))return i8e(u(n,233));if(L(n,23))return bje(u(n,23));throw T(new Gn(Acn+ua(new Fu(S(C(ki,1),Rn,1,5,[n])))))}function Rje(n,e,t,i,r){var c,s,f;for(c=!0,s=0;s<i;s++)c=c&t[s]==0;if(r==0)Oc(t,i,n,0,e),s=e;else{for(f=32-r,c=c&t[s]<<f==0,s=0;s<e-1;s++)n[s]=t[s+i]>>>r|t[s+i+1]<<f;n[s]=t[s+i]>>>r,++s}return c}function dnn(n,e,t,i){var r,c,s;if(e.k==(Vn(),Ti)){for(c=new ie(ce(ji(e).a.Kc(),new En));pe(c);)if(r=u(fe(c),18),s=r.c.i.k,s==Ti&&n.c.a[r.c.i.c.p]==i&&n.c.a[e.c.p]==t)return!0}return!1}function Kje(n,e){var t,i,r,c;return e&=63,t=n.h&Ol,e<22?(c=t>>>e,r=n.m>>e|t<<22-e,i=n.l>>e|n.m<<22-e):e<44?(c=0,r=t>>>e-22,i=n.m>>e-22|n.h<<44-e):(c=0,r=0,i=t>>>e-44),Yc(i&ro,r&ro,c&Ol)}function o_n(n,e,t,i){var r;this.b=i,this.e=n==(Ib(),Q8),r=e[t],this.d=Wa(so,[J,Xh],[183,28],16,[r.length,r.length],2),this.a=Wa(ye,[J,_e],[53,28],15,[r.length,r.length],2),this.c=new VZ(e,t)}function Bje(n){var e,t,i;for(n.k=new uJ((en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])).length,n.j.c.length),i=new M(n.j);i.a<i.c.c.length;)t=u(E(i),113),e=t.d.j,In(n.k,e,t);n.e=ZTe(Cp(n.k))}function s_n(n,e){var t,i,r;fi(n.d,e),t=new F3n,Ve(n.c,e,t),t.f=tx(e.c),t.a=tx(e.d),t.d=(x5(),r=e.c.i.k,r==(Vn(),Xt)||r==Gf),t.e=(i=e.d.i.k,i==Xt||i==Gf),t.b=e.c.j==(en(),Wn),t.c=e.d.j==Zn}function Fje(n){var e,t,i,r,c;for(c=et,r=et,i=new M(xg(n));i.a<i.c.c.length;)t=u(E(i),218),e=t.e.e-t.d.e,t.e==n&&e<r?r=e:e<c&&(c=e);return r==et&&(r=-1),c==et&&(c=-1),new bi(Y(r),Y(c))}function _je(n,e){var t,i,r;return r=i2,i=(M5(),sj),r=y.Math.abs(n.b),t=y.Math.abs(e.f-n.b),t<r&&(r=t,i=gI),t=y.Math.abs(n.a),t<r&&(r=t,i=fj),t=y.Math.abs(e.g-n.a),t<r&&(r=t,i=wI),i}function Hje(n,e){var t,i,r,c;for(t=e.a.o.a,c=new Jl(Hi(e.a).b,e.c,e.f+1),r=new Gv(c);r.b<r.d.gc();)if(i=(oe(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),30)),i.c.a>=t)return j4(n,e,i.p),!0;return!1}function Ug(n,e,t,i){var r,c,s,f,h,l;for(s=t.length,c=0,r=-1,l=n$n((zn(e,n.length+1),n.substr(e)),(xN(),Iun)),f=0;f<s;++f)h=t[f].length,h>c&&a0e(l,n$n(t[f],Iun))&&(r=f,c=h);return r>=0&&(i[0]=e+c),r}function f_n(n){var e;return n.Db&64?iR(n):(e=new mo(kcn),!n.a||Be(Be((e.a+=' "',e),n.a),'"'),Be(eb(Be(eb(Be(eb(Be(eb((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function h_n(n,e,t){var i,r,c,s,f;for(f=ru(n.e.Dh(),e),r=u(n.g,124),i=0,s=0;s<n.i;++s)if(c=r[s],f.am(c.Lk())){if(i==t)return d0(n,s),dr(),u(e,69).xk()?c:c.md();++i}throw T(new Or(w8+t+Cd+i))}function l_n(n){var e,t,i;if(e=n.c,e==2||e==7||e==1)return nt(),nt(),B9;for(i=ctn(n),t=null;(e=n.c)!=2&&e!=7&&e!=1;)t||(t=(nt(),nt(),new C6(1)),pd(t,i),i=t),pd(t,ctn(n));return i}function qje(n,e,t){return n<0||n>t?jnn(n,t,"start index"):e<0||e>t?jnn(e,t,"end index"):R5("end index (%s) must not be less than start index (%s)",S(C(ki,1),Rn,1,5,[Y(e),Y(n)]))}function a_n(n,e){var t,i,r,c;for(i=0,r=n.length;i<r;i++){c=n[i];try{c[1]?c[0].Um()&&(e=Vwe(e,c)):c[0].Um()}catch(s){if(s=Ot(s),L(s,82))t=s,_E(),xge(L(t,485)?u(t,485).ke():t);else throw T(s)}}return e}function j4(n,e,t){var i,r,c;for(t!=e.c+e.b.gc()&&fOe(e.a,Tve(e,t-e.c)),c=e.a.c.p,n.a[c]=y.Math.max(n.a[c],e.a.o.a),r=u(v(e.a,(W(),K8)),15).Kc();r.Ob();)i=u(r.Pb(),72),U(i,$_,(_n(),!0))}function Uje(n,e){var t,i,r;r=yCe(e),U(e,(W(),aH),r),r&&(i=et,wr(n.f,r)&&(i=u(Fr(wr(n.f,r)),17).a),t=u(sn(e.g,0),18),on(un(v(t,zf)))||Ve(n,r,Y(y.Math.min(u(v(t,dt),17).a,i))))}function d_n(n,e,t){var i,r,c,s,f;for(e.p=-1,f=$b(e,(gr(),Jc)).Kc();f.Ob();)for(s=u(f.Pb(),12),r=new M(s.g);r.a<r.c.c.length;)i=u(E(r),18),c=i.d.i,e!=c&&(c.p<0?t.Fc(i):c.p>0&&d_n(n,c,t));e.p=0}function ln(n){var e;this.c=new Mt,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=(e=u(of(Zh),9),new _o(e,u(xs(e,e.length),9),0)),this.g=n.f}function Gje(n){var e,t,i,r;for(e=X1(Be(new mo("Predicates."),"and"),40),t=!0,r=new Gv(n);r.b<r.d.gc();)i=(oe(r.b<r.d.gc()),r.d.Xb(r.c=r.b++)),t||(e.a+=","),e.a+=""+i,t=!1;return(e.a+=")",e).a}function b_n(n,e,t){var i,r,c;if(!(t<=e+2))for(r=(t-e)/2|0,i=0;i<r;++i)c=(Nn(e+i,n.c.length),u(n.c[e+i],12)),Go(n,e+i,(Nn(t-i-1,n.c.length),u(n.c[t-i-1],12))),Nn(t-i-1,n.c.length),n.c[t-i-1]=c}function zje(n,e,t){var i,r,c,s,f,h,l,a;c=n.d.p,f=c.e,h=c.r,n.g=new L7(h),s=n.d.o.c.p,i=s>0?f[s-1]:F(Qh,b1,10,0,0,1),r=f[s],l=s<f.length-1?f[s+1]:F(Qh,b1,10,0,0,1),a=e==t-1,a?LD(n.g,r,l):LD(n.g,i,r)}function w_n(n){var e;this.j=new Z,this.f=new ni,this.b=(e=u(of(lr),9),new _o(e,u(xs(e,e.length),9),0)),this.d=F(ye,_e,28,(en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])).length,15,1),this.g=n}function g_n(n,e){var t,i,r;if(e.c.length!=0){for(t=GFn(n,e),r=!1;!t;)ES(n,e,!0),r=!0,t=GFn(n,e);r&&ES(n,e,!1),i=K$(e),n.b&&n.b.Gg(i),n.a=XRn(n,(Nn(0,e.c.length),u(e.c[0],27))),g_n(n,i)}}function cR(n,e){var t,i,r;if(i=$n(n.Dh(),e),t=e-n.ji(),t<0)if(i)if(i.rk())r=n.Ih(i),r>=0?n.ki(r):Cnn(n,i);else throw T(new Gn(wa+i.xe()+a8));else throw T(new Gn(aWn+e+dWn));else Wo(n,t,i)}function bnn(n){var e,t;if(t=null,e=!1,L(n,211)&&(e=!0,t=u(n,211).a),e||L(n,263)&&(e=!0,t=""+u(n,263).a),e||L(n,492)&&(e=!0,t=""+u(n,492).a),!e)throw T(new vL(Ocn));return t}function wnn(n,e,t){var i,r,c,s,f,h;for(h=ru(n.e.Dh(),e),i=0,f=n.i,r=u(n.g,124),s=0;s<n.i;++s)if(c=r[s],h.am(c.Lk())){if(t==i)return s;++i,f=s+1}if(t==i)return f;throw T(new Or(w8+t+Cd+i))}function Xje(n,e){var t,i,r,c;if(n.f.c.length==0)return null;for(c=new mp,i=new M(n.f);i.a<i.c.c.length;)t=u(E(i),72),r=t.o,c.b=y.Math.max(c.b,r.a),c.a+=r.b;return c.a+=(n.f.c.length-1)*e,c}function Vje(n){var e,t,i,r;for(t=new Mt,Ki(t,n.o),i=new QG;t.b!=0;)e=u(t.b==0?null:(oe(t.b!=0),Xo(t,t.a.a)),515),r=ezn(n,e,!0),r&&nn(i.a,e);for(;i.a.c.length!=0;)e=u(DRn(i),515),ezn(n,e,!1)}function l1(){l1=R,can=new wp(Y5,0),yi=new wp("BOOLEAN",1),Zr=new wp("INT",2),$2=new wp("STRING",3),Qi=new wp("DOUBLE",4),It=new wp("ENUM",5),L3=new wp("ENUMSET",6),Vf=new wp("OBJECT",7)}function O5(n,e){var t,i,r,c,s;i=y.Math.min(n.c,e.c),c=y.Math.min(n.d,e.d),r=y.Math.max(n.c+n.b,e.c+e.b),s=y.Math.max(n.d+n.a,e.d+e.a),r<i&&(t=i,i=r,r=t),s<c&&(t=c,c=s,s=t),APn(n,i,c,r-i,s-c)}function p_n(n,e){var t,i;if(n.f){for(;e.Ob();)if(t=u(e.Pb(),76),i=t.Lk(),L(i,102)&&u(i,19).Bb&kc&&(!n.e||i.pk()!=_v||i.Lj()!=0)&&t.md()!=null)return e.Ub(),!0;return!1}else return e.Ob()}function m_n(n,e){var t,i;if(n.f){for(;e.Sb();)if(t=u(e.Ub(),76),i=t.Lk(),L(i,102)&&u(i,19).Bb&kc&&(!n.e||i.pk()!=_v||i.Lj()!=0)&&t.md()!=null)return e.Pb(),!0;return!1}else return e.Sb()}function Lu(){Lu=R,tbn=S(C(fn,1),J,2,6,[Gcn,Jy,YP,IJn,ZP,PF,FP]),ebn=S(C(fn,1),J,2,6,[Gcn,"empty",Jy,Wy,"elementOnly"]),ibn=S(C(fn,1),J,2,6,[Gcn,"preserve","replace",vf]),zi=new NPn}function gnn(n,e,t){var i,r,c;if(e!=t){i=e;do it(n,i.c),r=i.e,r&&(c=i.d,hb(n,c.b,c.d),it(n,r.n),i=Hi(r));while(r);i=t;do mi(n,i.c),r=i.e,r&&(c=i.d,A6(n,c.b,c.d),mi(n,r.n),i=Hi(r));while(r)}}function uR(n,e,t,i){var r,c,s,f,h;if(i.f.c+i.i.c==0)for(s=n.a[n.c],f=0,h=s.length;f<h;++f)c=s[f],Ve(i,c,new Oxn(n,c,t));return r=u(Fr(wr(i.f,e)),677),r.b=0,r.c=r.f,r.c==0||i9n(u(sn(r.a,r.b),293)),r}function Yp(){Yp=R,dv=new d6("MEDIAN_LAYER",0),L8=new d6("TAIL_LAYER",1),av=new d6("HEAD_LAYER",2),D0=new d6("SPACE_EFFICIENT_LAYER",3),p2=new d6("WIDEST_LAYER",4),g2=new d6("CENTER_LAYER",5)}function pnn(n){var e,t,i,r;for(n.e=0,r=ge(n.f,0);r.b!=r.d.c;)i=u(be(r),10),i.p>=n.d.b.c.length&&(e=new Nc(n.d),e.p=i.p-1,nn(n.d.b,e),t=new Nc(n.d),t.p=i.p,nn(n.d.b,t)),$i(i,u(sn(n.d.b,i.p),30))}function mnn(n,e,t){var i,r,c;if(!n.b[e.g]){for(n.b[e.g]=!0,i=t,!i&&(i=new ek),Re(i.b,e),c=n.a[e.g].Kc();c.Ob();)r=u(c.Pb(),65),r.b!=e&&mnn(n,r.b,i),r.c!=e&&mnn(n,r.c,i),Re(i.a,r);return i}return null}function Wje(n){switch(n.g){case 0:case 1:case 2:return en(),Xn;case 3:case 4:case 5:return en(),ae;case 6:case 7:case 8:return en(),Wn;case 9:case 10:case 11:return en(),Zn;default:return en(),sc}}function Jje(n,e){var t;return n.c.length==0?!1:(t=AKn((Nn(0,n.c.length),u(n.c[0],18)).c.i),ko(),t==(c0(),I2)||t==P2?!0:Ag(_r(new Cn(null,new On(n,16)),new i3n),new Q7n(e)))}function oR(n,e){if(L(e,207))return Ule(n,u(e,27));if(L(e,193))return Gle(n,u(e,123));if(L(e,451))return qle(n,u(e,166));throw T(new Gn(Acn+ua(new Fu(S(C(ki,1),Rn,1,5,[e])))))}function v_n(n,e,t){var i,r;if(this.f=n,i=u(ee(n.b,e),260),r=i?i.a:0,xJ(t,r),t>=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++<r;)e$n(this);else for(this.c=i?i.b:null;t-- >0;)uQ(this);this.b=e,this.a=null}function Qje(n,e){var t,i;e.a?ACe(n,e):(t=u(OL(n.b,e.b),60),t&&t==n.a[e.b.f]&&t.a&&t.a!=e.b.a&&t.c.Fc(e.b),i=u(IL(n.b,e.b),60),i&&n.a[i.f]==e.b&&i.a&&i.a!=e.b.a&&e.b.c.Fc(i),EN(n.b,e.b))}function k_n(n,e){var t,i;if(t=u(Mr(n.b,e),127),u(u(ot(n.r,e),21),87).dc()){t.n.b=0,t.n.c=0;return}t.n.b=n.C.b,t.n.c=n.C.c,n.A.Hc((go(),Gd))&&Xqn(n,e),i=T9e(n,e),kR(n,e)==(Kg(),Ia)&&(i+=2*n.w),t.a.a=i}function y_n(n,e){var t,i;if(t=u(Mr(n.b,e),127),u(u(ot(n.r,e),21),87).dc()){t.n.d=0,t.n.a=0;return}t.n.d=n.C.d,t.n.a=n.C.a,n.A.Hc((go(),Gd))&&Vqn(n,e),i=M9e(n,e),kR(n,e)==(Kg(),Ia)&&(i+=2*n.w),t.a.b=i}function Yje(n,e){var t,i,r,c;for(c=new Z,i=new M(e);i.a<i.c.c.length;)t=u(E(i),68),nn(c,new Uz(t,!0)),nn(c,new Uz(t,!1));r=new WOn(n),r.a.a.$b(),hLn(c,n.b,new Fu(S(C(RQn,1),Rn,693,0,[r])))}function j_n(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;return h=n.a,p=n.b,l=e.a,m=e.b,a=t.a,k=t.b,d=i.a,j=i.b,c=h*m-p*l,s=a*j-k*d,r=(h-l)*(k-j)-(p-m)*(a-d),f=(c*(a-d)-s*(h-l))/r,g=(c*(k-j)-s*(p-m))/r,new V(f,g)}function Zje(n,e){var t,i,r;e.Ug("End label pre-processing",1),t=$(B(v(n,(cn(),C2)))),i=$(B(v(n,q0))),r=vg(u(v(n,Lo),88)),Ut(rc(new Cn(null,new On(n.b,16)),new R0n),new gPn(t,i,r)),e.Vg()}function vnn(n,e){var t,i,r;if(!n.d[e.p]){for(n.d[e.p]=!0,n.a[e.p]=!0,i=new ie(ce(Qt(e).a.Kc(),new En));pe(i);)t=u(fe(i),18),!fr(t)&&(r=t.d.i,n.a[r.p]?nn(n.b,t):vnn(n,r));n.a[e.p]=!1}}function E_n(n,e,t){var i;switch(i=0,u(v(e,(cn(),ou)),171).g){case 2:i=2*-t+n.a,++n.a;break;case 1:i=-t;break;case 3:i=t;break;case 4:i=2*t+n.b,++n.b}return kt(e,(W(),dt))&&(i+=u(v(e,dt),17).a),i}function M_n(n,e,t){var i,r,c;for(t.zc(e,n),nn(n.n,e),c=n.p.zg(e),e.j==n.p.Ag()?vKn(n.e,c):vKn(n.j,c),pT(n),r=$h(Eo(S(C(Ao,1),Rn,20,0,[new nm(e),new ip(e)])));pe(r);)i=u(fe(r),12),t._b(i)||M_n(n,i,t)}function nEe(n,e,t){var i,r,c;for(t.Ug("Processor set neighbors",1),n.a=e.b.b==0?1:e.b.b,r=null,i=ge(e.b,0);!r&&i.b!=i.d.c;)c=u(be(i),39),on(un(v(c,(pt(),Ca))))&&(r=c);r&&Iqn(n,new sl(r),t),t.Vg()}function knn(n){var e,t,i;return t=u(z(n,(He(),Hd)),21),t.Hc((go(),Q0))?(i=u(z(n,Sa),21),e=new rr(u(z(n,_2),8)),i.Hc((io(),Fv))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new Ni}function ynn(n){var e,t,i;if(!n.b){for(i=new jvn,t=new yp(H5(n));t.e!=t.i.gc();)e=u(Tx(t),19),e.Bb&kc&&ve(i,e);e0(i),n.b=new pg((u(N(H((z1(),Hn).o),8),19),i.i),i.g),Zu(n).b&=-9}return n.b}function f0(n){var e,t,i;for(t=n.length,i=0;i<t&&(zn(i,n.length),n.charCodeAt(i)<=32);)++i;for(e=t;e>i&&(zn(e-1,n.length),n.charCodeAt(e-1)<=32);)--e;return i>0||e<t?(Ri(i,e,n.length),n.substr(i,e-i)):n}function eEe(n,e){var t,i,r,c,s,f,h,l;h=u(T5(Cp(e.k),F(lr,Tc,64,2,0,1)),126),l=e.g,t=NLn(e,h[0]),r=LLn(e,h[1]),i=Fx(n,l,t,r),c=NLn(e,h[1]),f=LLn(e,h[0]),s=Fx(n,l,c,f),i<=s?(e.a=t,e.c=r):(e.a=c,e.c=f)}function Qk(n){var e;Ln();var t,i,r,c,s,f;if(L(n,59))for(c=0,r=n.gc()-1;c<r;++c,--r)e=n.Xb(c),n.hd(c,n.Xb(r)),n.hd(r,e);else for(t=n.ed(),s=n.fd(n.gc());t.Tb()<s.Vb();)i=t.Pb(),f=s.Ub(),t.Wb(f),s.Wb(i)}function kS(n,e){var t,i,r,c,s,f;for(f=0,c=new Mg,J1(c,e);c.b!=c.c;)for(s=u(Pp(c),219),f+=XBn(s.d,s.e),r=new M(s.b);r.a<r.c.c.length;)i=u(E(r),36),t=u(sn(n.b,i.p),219),t.s||(f+=kS(n,t));return f}function T_n(n,e,t,i,r){var c,s,f,h,l;if(e)for(f=e.Kc();f.Ob();)for(s=u(f.Pb(),10),l=gen(s,(gr(),Jc),t).Kc();l.Ob();)h=u(l.Pb(),12),c=u(Fr(wr(r.f,h)),118),c||(c=new kk(n.d),Bn(i.c,c),M_n(c,h,r))}function C_n(n,e,t){var i,r;Gxn(this),e==(Eb(),Ta)?fi(this.r,n.c):fi(this.w,n.c),t==Ta?fi(this.r,n.d):fi(this.w,n.d),s_n(this,n),i=tx(n.c),r=tx(n.d),YFn(this,i,r,r),this.o=(x5(),y.Math.abs(i-r)<.2)}function S_n(n,e,t){var i,r,c,s,f,h;if(f=u(Un(n.a,8),2035),f!=null)for(r=f,c=0,s=r.length;c<s;++c)null.Um();i=t,n.a.Db&1||(h=new eOn(n,t,e),i.dj(h)),L(i,686)?u(i,686).fj(n.a):i.cj()==n.a&&i.ej(null)}function tEe(){var n;return kse?u(M4((F1(),Is),Pd),2044):(LLe(),n=u(L(Dc((F1(),Is),Pd),594)?Dc(Is,Pd):new aOn,594),kse=!0,mNe(n),ZNe(n),Ve((Dz(),Hdn),n,new P6n),Hx(n),Lr(Is,Pd,n),n)}function iEe(n,e,t,i){var r;return r=Ug(n,t,S(C(fn,1),J,2,6,[vK,kK,yK,jK,EK,MK,TK]),e),r<0&&(r=Ug(n,t,S(C(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),r<0?!1:(i.d=r,!0)}function rEe(n,e,t,i){var r;return r=Ug(n,t,S(C(fn,1),J,2,6,[vK,kK,yK,jK,EK,MK,TK]),e),r<0&&(r=Ug(n,t,S(C(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),r<0?!1:(i.d=r,!0)}function Vc(n,e,t){var i,r,c,s;if(s=n.b.Ce(e),r=(i=n.a.get(s),i??F(ki,Rn,1,0,5,1)),r.length==0)n.a.set(s,r);else if(c=RRn(n,e,r),c)return c.nd(t);return $t(r,r.length,new uM(e,t)),++n.c,++n.b.g,null}function cEe(n){var e,t,i;for(pTe(n),i=new Z,t=new M(n.a.a.b);t.a<t.c.c.length;)e=u(E(t),86),nn(i,new Xz(e,!0)),nn(i,new Xz(e,!1));z9e(n.c),J7(i,n.b,new Fu(S(C(lj,1),Rn,382,0,[n.c]))),OMe(n)}function Yk(n,e){var t,i,r;for(r=new Z,i=new M(n.c.a.b);i.a<i.c.c.length;)t=u(E(i),60),e.Lb(t)&&(nn(r,new Fz(t,!0)),nn(r,new Fz(t,!1)));G9e(n.e),hLn(r,n.d,new Fu(S(C(RQn,1),Rn,693,0,[n.e])))}function uEe(n){var e,t,i,r;for(t=new de,r=new M(n.d);r.a<r.c.c.length;)i=u(E(r),187),e=u(i.of((W(),T3)),18),wr(t.f,e)||Ve(t,e,new HOn(e)),nn(u(Fr(wr(t.f,e)),465).b,i);return new _u(new ol(t))}function oEe(n,e){var t,i,r,c,s;for(i=new aLn(n.j.c.length),t=null,c=new M(n.j);c.a<c.c.c.length;)r=u(E(c),12),r.j!=t&&(i.b==i.c||qHn(i,t,e),MJ(i),t=r.j),s=THn(r),s&&mJ(i,s);i.b==i.c||qHn(i,t,e)}function sEe(n,e){var t,i,r;for(i=new xi(n.b,0);i.b<i.d.gc();)t=(oe(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),72)),r=u(v(t,(cn(),Sh)),278),r==($f(),J0)&&(bo(i),nn(e.b,t),kt(t,(W(),T3))||U(t,T3,n))}function fEe(n){var e,t,i,r,c;for(e=wl(new ie(ce(Qt(n).a.Kc(),new En))),r=new ie(ce(ji(n).a.Kc(),new En));pe(r);)i=u(fe(r),18),t=i.c.i,c=wl(new ie(ce(Qt(t).a.Kc(),new En))),e=y.Math.max(e,c);return Y(e)}function P_n(n,e,t){var i,r,c;i=u(z(n,(He(),Uj)),21),r=0,c=0,e.a>t.a&&(i.Hc((wd(),b9))?r=(e.a-t.a)/2:i.Hc(w9)&&(r=e.a-t.a)),e.b>t.b&&(i.Hc((wd(),p9))?c=(e.b-t.b)/2:i.Hc(g9)&&(c=e.b-t.b)),inn(n,r,c)}function I_n(n,e,t,i,r,c,s,f,h,l,a,d,g){L(n.Cb,90)&&h0(Zu(u(n.Cb,90)),4),zc(n,t),n.f=s,f4(n,f),l4(n,h),s4(n,l),h4(n,a),u1(n,d),a4(n,g),c1(n,!0),e1(n,r),n.Zk(c),ad(n,e),i!=null&&(n.i=null,kC(n,i))}function jnn(n,e,t){if(n<0)return R5(Czn,S(C(ki,1),Rn,1,5,[t,Y(n)]));if(e<0)throw T(new Gn(Szn+e));return R5("%s (%s) must not be greater than size (%s)",S(C(ki,1),Rn,1,5,[t,Y(n),Y(e)]))}function Enn(n,e,t,i,r,c){var s,f,h,l;if(s=i-t,s<7){z5e(e,t,i,c);return}if(h=t+r,f=i+r,l=h+(f-h>>1),Enn(e,n,h,l,-r,c),Enn(e,n,l,f,-r,c),c.Ne(n[l-1],n[l])<=0){for(;t<i;)$t(e,t++,n[h++]);return}n5e(n,h,l,f,e,t,i,c)}function hEe(n,e){var t,i,r,c,s,f,h;for(h=e.d,r=e.b.j,f=new M(h);f.a<f.c.c.length;)for(s=u(E(f),105),c=F(so,Xh,28,r.c.length,16,1),Ve(n.b,s,c),t=s.a.d.p-1,i=s.c.d.p;t!=i;)t=(t+1)%r.c.length,c[t]=!0}function lEe(n,e){if(vQ(),kt(n,(W(),dt))&&kt(e,dt))return jc(u(v(n,dt),17).a,u(v(e,dt),17).a);throw T(new hp("The BF model order layer assigner requires all real nodes to have a model order."))}function aEe(n,e){if(kQ(),kt(n,(W(),dt))&&kt(e,dt))return jc(u(v(n,dt),17).a,u(v(e,dt),17).a);throw T(new hp("The DF model order layer assigner requires all real nodes to have a model order."))}function dEe(n,e){for(n.r=new kk(n.p),cfe(n.r,n),Ki(n.r.j,n.j),vo(n.j),Re(n.j,e),Re(n.r.e,e),pT(n),pT(n.r);n.f.c.length!=0;)ECn(u(sn(n.f,0),132));for(;n.k.c.length!=0;)ECn(u(sn(n.k,0),132));return n.r}function sR(n,e,t){var i,r,c;if(r=$n(n.Dh(),e),i=e-n.ji(),i<0)if(r)if(r.rk())c=n.Ih(r),c>=0?n.bi(c,t):Znn(n,r,t);else throw T(new Gn(wa+r.xe()+a8));else throw T(new Gn(aWn+e+dWn));else Jo(n,i,r,t)}function O_n(n){var e,t;if(n.f){for(;n.n>0;){if(e=u(n.k.Xb(n.n-1),76),t=e.Lk(),L(t,102)&&u(t,19).Bb&kc&&(!n.e||t.pk()!=_v||t.Lj()!=0)&&e.md()!=null)return!0;--n.n}return!1}else return n.n>0}function A_n(n){var e,t,i,r;if(t=u(n,54)._h(),t)try{if(i=null,e=M4((F1(),Is),gUn(r8e(t))),e&&(r=e.ai(),r&&(i=r.Fl(che(t.e)))),i&&i!=n)return A_n(i)}catch(c){if(c=Ot(c),!L(c,63))throw T(c)}return n}function bEe(n,e,t){var i,r,c;t.Ug("Remove overlaps",1),t.dh(e,Nrn),i=u(z(e,(Cg(),L2)),27),n.f=i,n.a=Sx(u(z(e,(sa(),xj)),299)),r=B(z(e,(He(),qd))),gG(n,(Jn(r),r)),c=a0(i),KGn(n,e,c,t),t.dh(e,LP)}function wEe(n){var e,t,i;if(on(un(z(n,(He(),zj))))){for(i=new Z,t=new ie(ce(Sl(n).a.Kc(),new En));pe(t);)e=u(fe(t),74),Bb(e)&&on(un(z(e,Zq)))&&Bn(i.c,e);return i}else return Ln(),Ln(),sr}function L_n(n){if(!n)return Ajn(),dQn;var e=n.valueOf?n.valueOf():n;if(e!==n){var t=VF[typeof e];return t?t(e):dY(typeof e)}else return n instanceof Array||n instanceof y.Array?new hG(n):new q9(n)}function N_n(n,e,t){var i,r,c;switch(c=n.o,i=u(Mr(n.p,t),252),r=i.i,r.b=ey(i),r.a=ny(i),r.b=y.Math.max(r.b,c.a),r.b>c.a&&!e&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}NR(i),DR(i)}function D_n(n,e,t){var i,r,c;switch(c=n.o,i=u(Mr(n.p,t),252),r=i.i,r.b=ey(i),r.a=ny(i),r.a=y.Math.max(r.a,c.b),r.a>c.b&&!e&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}NR(i),DR(i)}function gEe(n,e){var t,i,r,c,s;if(!e.dc()){if(r=u(e.Xb(0),131),e.gc()==1){lqn(n,r,r,1,0,e);return}for(t=1;t<e.gc();)(r.j||!r.o)&&(c=j7e(e,t),c&&(i=u(c.a,17).a,s=u(c.b,131),lqn(n,r,s,t,i,e),t=i+1,r=s))}}function pEe(n){var e,t,i,r,c,s;for(s=new _u(n.d),Yt(s,new vpn),e=(LS(),S(C(Esn,1),G,276,0,[F_,q_,B_,z_,H_,__,G_,U_])),t=0,c=new M(s);c.a<c.c.c.length;)r=u(E(c),105),i=e[t%e.length],gMe(r,i),++t}function mEe(n,e){Vg();var t,i,r,c;if(e.b<2)return!1;for(c=ge(e,0),t=u(be(c),8),i=t;c.b!=c.d.c;){if(r=u(be(c),8),!(Vm(n,i)&&Vm(n,r)))return!1;i=r}return!!(Vm(n,i)&&Vm(n,t))}function Mnn(n,e){var t,i,r,c,s,f,h,l,a,d;return a=null,d=n,s=yl(d,"x"),t=new Wkn(e),Jme(t.a,s),f=yl(d,"y"),i=new Jkn(e),Qme(i.a,f),h=yl(d,dF),r=new Qkn(e),Yme(r.a,h),l=yl(d,aF),c=new Ykn(e),a=(Zme(c.a,l),l),a}function h0(n,e){Uqn(n,e),n.b&1&&(n.a.a=null),n.b&2&&(n.a.f=null),n.b&4&&(n.a.g=null,n.a.i=null),n.b&16&&(n.a.d=null,n.a.e=null),n.b&8&&(n.a.b=null),n.b&32&&(n.a.j=null,n.a.c=null)}function vEe(n,e){var t,i,r;if(r=0,e.length>0)try{r=So(e,Wi,et)}catch(c){throw c=Ot(c),L(c,130)?(i=c,T(new eC(i))):T(c)}return t=(!n.a&&(n.a=new iL(n)),n.a),r<t.i&&r>=0?u(N(t,r),58):null}function kEe(n,e){if(n<0)return R5(Czn,S(C(ki,1),Rn,1,5,["index",Y(n)]));if(e<0)throw T(new Gn(Szn+e));return R5("%s (%s) must be less than size (%s)",S(C(ki,1),Rn,1,5,["index",Y(n),Y(e)]))}function yEe(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],c.a?Be(c.a,c.b):c.a=new mo(c.d),M6(c.a,""+e);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function jEe(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],c.a?Be(c.a,c.b):c.a=new mo(c.d),M6(c.a,""+e);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function EEe(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],c.a?Be(c.a,c.b):c.a=new mo(c.d),M6(c.a,""+e);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function MEe(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],c.a?Be(c.a,c.b):c.a=new mo(c.d),M6(c.a,""+e);return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function $_n(n,e){var t,i,r,c,s,f;for(t=n.b.c.length,r=sn(n.b,e);e*2+1<t&&(i=(c=2*e+1,s=c+1,f=c,s<t&&n.a.Ne(sn(n.b,s),sn(n.b,c))<0&&(f=s),f),!(n.a.Ne(r,sn(n.b,i))<0));)Go(n.b,e,sn(n.b,i)),e=i;Go(n.b,e,r)}function fR(n,e,t){var i,r;return i=t.d,r=t.e,n.g[i.d]<=n.i[e.d]&&n.i[e.d]<=n.i[i.d]&&n.g[r.d]<=n.i[e.d]&&n.i[e.d]<=n.i[r.d]?!(n.i[i.d]<n.i[r.d]):n.i[i.d]<n.i[r.d]}function TEe(n,e){var t;if(t=u(v(e,(cn(),H8)),322),t!=n)throw T(new hp("The hierarchy aware processor "+t+" in child node "+e+" is only allowed if the root node specifies the same hierarchical processor."))}function CEe(n,e){var t,i,r,c,s;for(i=(!e.s&&(e.s=new q(ku,e,21,17)),e.s),c=null,r=0,s=i.i;r<s;++r)switch(t=u(N(i,r),179),vb(Nr(n,t))){case 2:case 3:!c&&(c=new Z),Bn(c.c,t)}return c||(Ln(),Ln(),sr)}function x_n(n,e,t){var i,r,c,s,f,h;for(h=Pt,c=new M(nqn(n.b));c.a<c.c.c.length;)for(r=u(E(c),177),f=new M(nqn(e.b));f.a<f.c.c.length;)s=u(E(f),177),i=Wve(r.a,r.b,s.a,s.b,t),h=y.Math.min(h,i);return h}function gi(n,e){if(!e)throw T(new rp);if(n.j=e,!n.d)switch(n.j.g){case 1:n.a.a=n.o.a/2,n.a.b=0;break;case 2:n.a.a=n.o.a,n.a.b=n.o.b/2;break;case 3:n.a.a=n.o.a/2,n.a.b=n.o.b;break;case 4:n.a.a=0,n.a.b=n.o.b/2}}function SEe(n,e){var t,i,r;return L(e.g,10)&&u(e.g,10).k==(Vn(),Zt)?Pt:(r=xp(e),r?y.Math.max(0,n.b/2-.5):(t=Ig(e),t?(i=$(B(r0(t,(cn(),bw)))),y.Math.max(0,i/2-.5)):Pt))}function PEe(n,e){var t,i,r;return L(e.g,10)&&u(e.g,10).k==(Vn(),Zt)?Pt:(r=xp(e),r?y.Math.max(0,n.b/2-.5):(t=Ig(e),t?(i=$(B(r0(t,(cn(),bw)))),y.Math.max(0,i/2-.5)):Pt))}function IEe(n,e){Rs();var t,i,r,c,s,f;for(t=null,s=e.Kc();s.Ob();)c=u(s.Pb(),131),!c.o&&(i=f1e(c.a),r=wwe(c.a),f=new _5(i,r,null,u(c.d.a.ec().Kc().Pb(),18)),nn(f.c,c.a),Bn(n.c,f),t&&nn(t.d,f),t=f)}function OEe(n){var e,t,i,r,c,s;for(s=b5(n.d,n.e),c=s.Kc();c.Ob();)for(r=u(c.Pb(),12),i=n.e==(en(),Wn)?r.e:r.g,t=new M(i);t.a<t.c.c.length;)e=u(E(t),18),!fr(e)&&e.c.i.c!=e.d.i.c&&(Oje(n,e),++n.f,++n.c)}function R_n(n,e){var t,i;if(e.dc())return Ln(),Ln(),sr;for(i=new Z,nn(i,Y(Wi)),t=1;t<n.f;++t)n.a==null&&qqn(n),n.a[t]&&nn(i,Y(t));return i.c.length==1?(Ln(),Ln(),sr):(nn(i,Y(et)),FIe(e,i))}function AEe(n,e){var t,i,r,c,s,f,h;s=e.c.i.k!=(Vn(),Xt),h=s?e.d:e.c,t=F7e(e,h).i,r=u(ee(n.k,h),125),i=n.i[t.p].a,ePn(h.i)<(t.c?qr(t.c.a,t,0):-1)?(c=r,f=i):(c=i,f=r),qs(Ns(Ls(Ds(As(new hs,0),4),c),f))}function LEe(n,e,t){var i,r,c,s,f,h;if(t)for(r=t.a.length,i=new Qa(r),f=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);f.Ob();)s=u(f.Pb(),17),h=Rx(n,Zp(Jw(t,s.a))),h&&(c=(!e.b&&(e.b=new Dn(he,e,4,7)),e.b),ve(c,h))}function NEe(n,e,t){var i,r,c,s,f,h;if(t)for(r=t.a.length,i=new Qa(r),f=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);f.Ob();)s=u(f.Pb(),17),h=Rx(n,Zp(Jw(t,s.a))),h&&(c=(!e.c&&(e.c=new Dn(he,e,5,8)),e.c),ve(c,h))}function Zk(n,e,t){var i,r;i=e.a&n.f,e.b=n.b[i],n.b[i]=e,r=e.f&n.f,e.d=n.c[r],n.c[r]=e,t?(e.e=t.e,e.e?e.e.c=e:n.a=e,e.c=t.c,e.c?e.c.e=e:n.e=e):(e.e=n.e,e.c=null,n.e?n.e.c=e:n.a=e,n.e=e),++n.i,++n.g}function K_n(n){var e,t,i;if(e=n.Pb(),!n.Ob())return e;for(i=Lc(Be(new R1,"expected one element but was: <"),e),t=0;t<4&&n.Ob();t++)Lc((i.a+=ur,i),n.Pb());throw n.Ob()&&(i.a+=", ..."),i.a+=">",T(new Gn(i.a))}function DEe(n){var e,t;return t=-n.a,e=S(C(fs,1),gh,28,15,[43,48,48,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&ui,e[2]=e[2]+(t/60|0)%10&ui,e[3]=e[3]+(t%60/10|0)&ui,e[4]=e[4]+t%10&ui,ws(e,0,e.length)}function Tnn(n){var e,t,i,r;for(n.g=new v5(u(Pe(lr),296)),i=0,t=(en(),Xn),e=0;e<n.j.c.length;e++)r=u(sn(n.j,e),12),r.j!=t&&(i!=e&&Ip(n.g,t,new bi(Y(i),Y(e))),t=r.j,i=e);Ip(n.g,t,new bi(Y(i),Y(e)))}function $Ee(n){var e,t,i,r,c,s,f;for(i=0,t=new M(n.b);t.a<t.c.c.length;)for(e=u(E(t),30),c=new M(e.a);c.a<c.c.c.length;)for(r=u(E(c),10),r.p=i++,f=new M(r.j);f.a<f.c.c.length;)s=u(E(f),12),s.p=i++}function Cnn(n,e){var t,i,r;if(r=Qg((Lu(),zi),n.Dh(),e),r)dr(),u(r,69).xk()||(r=$p(Nr(zi,r))),i=(t=n.Ih(r),u(t>=0?n.Lh(t,!0,!0):Fb(n,r,!0),160)),u(i,220).Zl(e);else throw T(new Gn(wa+e.xe()+a8))}function Snn(n){var e,t;return n>-0x800000000000&&n<0x800000000000?n==0?0:(e=n<0,e&&(n=-n),t=wi(y.Math.floor(y.Math.log(n)/.6931471805599453)),(!e||n!=y.Math.pow(2,t))&&++t,t):Jxn(vc(n))}function xEe(n){var e,t,i,r,c,s,f;for(c=new rh,t=new M(n);t.a<t.c.c.length;)e=u(E(t),132),s=e.a,f=e.b,!(c.a._b(s)||c.a._b(f))&&(r=s,i=f,s.e.b+s.j.b>2&&f.e.b+f.j.b<=2&&(r=f,i=s),c.a.zc(r,c),r.q=i);return c}function REe(n,e,t){t.Ug("Eades radial",1),t.dh(e,LP),n.d=u(z(e,(Cg(),L2)),27),n.c=$(B(z(e,(sa(),HO)))),n.e=Sx(u(z(e,xj),299)),n.a=a8e(u(z(e,Zln),434)),n.b=Lke(u(z(e,Wln),354)),bke(n),t.dh(e,LP)}function KEe(n,e){if(e.Ug("Target Width Setter",1),Nf(n,(Bf(),Lq)))ht(n,(_h(),X0),B(z(n,Lq)));else throw T(new _l("A target width has to be set if the TargetWidthWidthApproximator should be used."));e.Vg()}function B_n(n,e){var t,i,r;return i=new Cl(n),Ur(i,e),U(i,(W(),cO),e),U(i,(cn(),_t),(Ai(),qc)),U(i,Ch,(Bh(),nA)),Ha(i,(Vn(),Zt)),t=new Ic,ic(t,i),gi(t,(en(),Wn)),r=new Ic,ic(r,i),gi(r,Zn),i}function F_n(n){switch(n.g){case 0:return new gL((Ib(),Oj));case 1:return new t8n;case 2:return new i8n;default:throw T(new Gn("No implementation is available for the crossing minimizer "+(n.f!=null?n.f:""+n.g)))}}function __n(n,e){var t,i,r,c,s;for(n.c[e.p]=!0,nn(n.a,e),s=new M(e.j);s.a<s.c.c.length;)for(c=u(E(s),12),i=new Lf(c.b);tc(i.a)||tc(i.b);)t=u(tc(i.a)?E(i.a):E(i.b),18),r=K8e(c,t).i,n.c[r.p]||__n(n,r)}function H_n(n){var e,t,i,r,c,s,f;for(s=0,t=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));t.e!=t.i.gc();)e=u(ue(t),27),f=e.g,r=e.f,i=y.Math.sqrt(f*f+r*r),s=y.Math.max(i,s),c=H_n(e),s=y.Math.max(c,s);return s}function zu(){zu=R,Aa=new y6("OUTSIDE",0),Rl=new y6("INSIDE",1),eE=new y6("NEXT_TO_PORT_IF_POSSIBLE",2),C9=new y6("ALWAYS_SAME_SIDE",3),T9=new y6("ALWAYS_OTHER_SAME_SIDE",4),R3=new y6("SPACE_EFFICIENT",5)}function q_n(n,e,t){var i,r,c,s,f,h;return i=_pe(n,(r=(B1(),c=new Jv,c),t&&PS(r,t),r),e),zm(i,bl(e,Eh)),gS(e,i),YMe(e,i),Mnn(e,i),s=e,f=Tb(s,"ports"),h=new TTn(n,i),xTe(h.a,h.b,f),_$(n,e,i),Uve(n,e,i),i}function BEe(n){var e,t;return t=-n.a,e=S(C(fs,1),gh,28,15,[43,48,48,58,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&ui,e[2]=e[2]+(t/60|0)%10&ui,e[4]=e[4]+(t%60/10|0)&ui,e[5]=e[5]+t%10&ui,ws(e,0,e.length)}function FEe(n){var e;return e=S(C(fs,1),gh,28,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(e[3]=43,n=-n),e[4]=e[4]+((n/60|0)/10|0)&ui,e[5]=e[5]+(n/60|0)%10&ui,e[7]=e[7]+(n%60/10|0)&ui,e[8]=e[8]+n%10&ui,ws(e,0,e.length)}function _Ee(n){var e,t,i,r,c;if(n==null)return gu;for(c=new fd(ur,"[","]"),t=n,i=0,r=t.length;i<r;++i)e=t[i],c.a?Be(c.a,c.b):c.a=new mo(c.d),M6(c.a,""+B6(e));return c.a?c.e.length==0?c.a.a:c.a.a+(""+c.e):c.c}function Pnn(n,e){var t,i,r;for(r=et,i=new M(xg(e));i.a<i.c.c.length;)t=u(E(i),218),t.f&&!n.c[t.c]&&(n.c[t.c]=!0,r=y.Math.min(r,Pnn(n,HC(t,e))));return n.i[e.d]=n.j,n.g[e.d]=y.Math.min(r,n.j++),n.g[e.d]}function U_n(n,e){var t,i,r;for(r=u(u(ot(n.r,e),21),87).Kc();r.Ob();)i=u(r.Pb(),117),i.e.b=(t=i.b,t.pf((He(),oo))?t.ag()==(en(),Xn)?-t.Mf().b-$(B(t.of(oo))):$(B(t.of(oo))):t.ag()==(en(),Xn)?-t.Mf().b:0)}function HEe(n){var e,t,i,r,c,s,f;for(t=SX(n.e),c=ch(A6(Fi(CX(n.e)),n.d*n.a,n.c*n.b),-.5),e=t.a-c.a,r=t.b-c.b,f=0;f<n.c;f++){for(i=e,s=0;s<n.d;s++)t8e(n.e,new Ho(i,r,n.a,n.b))&&xS(n,s,f,!1,!0),i+=n.a;r+=n.b}}function Inn(n){var e,t,i,r,c;e=n.a,t=n.b,r=n.c,i=new V(t.e.a+t.f.a/2,t.e.b+t.f.b/2),c=new V(r.e.a+r.f.a/2,r.e.b+r.f.b/2),xt(e,i,e.a,e.a.a),xt(e,c,e.c.b,e.c),ZFn(i,u(Zo(e,1),8),n.b.f),ZFn(c,u(Zo(e,e.b-2),8),n.c.f)}function Zp(n){var e,t;if(t=!1,L(n,211))return t=!0,u(n,211).a;if(!t&&L(n,263)&&(e=u(n,263).a%1==0,e))return t=!0,Y(Tle(u(n,263).a));throw T(new eh("Id must be a string or an integer: '"+n+"'."))}function qEe(n,e){var t,i,r,c,s,f;for(c=null,r=new AIn((!n.a&&(n.a=new iL(n)),n.a));Dnn(r);)if(t=u(MS(r),58),i=(s=t.Dh(),f=(Jg(s),s.o),!f||!t.Xh(f)?null:EV(x$(f),t.Mh(f))),i!=null&&Sn(i,e)){c=t;break}return c}function G_n(n,e,t){var i,r,c,s,f;if(Mo(t,"occurrences"),t==0)return f=u(t0(Lp(n.a),e),16),f?f.gc():0;if(s=u(t0(Lp(n.a),e),16),!s)return 0;if(c=s.gc(),t>=c)s.$b();else for(r=s.Kc(),i=0;i<t;i++)r.Pb(),r.Qb();return c}function UEe(n,e,t){var i,r,c,s;return Mo(t,"oldCount"),Mo(0,"newCount"),i=u(t0(Lp(n.a),e),16),(i?i.gc():0)==t?(Mo(0,"count"),r=(c=u(t0(Lp(n.a),e),16),c?c.gc():0),s=-r,s>0?dz():s<0&&G_n(n,e,-s),!0):!1}function ny(n){var e,t,i,r,c,s,f;if(f=0,n.b==0){for(s=CBn(n,!0),e=0,i=s,r=0,c=i.length;r<c;++r)t=i[r],t>0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}else f=qjn(O$(Uw(ut(jW(n.a),new swn),new fwn)));return f>0?f+n.n.d+n.n.a:0}function ey(n){var e,t,i,r,c,s,f;if(f=0,n.b==0)f=qjn(O$(Uw(ut(jW(n.a),new uwn),new own)));else{for(s=SBn(n,!0),e=0,i=s,r=0,c=i.length;r<c;++r)t=i[r],t>0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}return f>0?f+n.n.b+n.n.c:0}function GEe(n){var e,t;if(n.c.length!=2)throw T(new Ar("Order only allowed for two paths."));e=(Nn(0,n.c.length),u(n.c[0],18)),t=(Nn(1,n.c.length),u(n.c[1],18)),e.d.i!=t.c.i&&(n.c.length=0,Bn(n.c,t),Bn(n.c,e))}function z_n(n,e,t){var i;for(kg(t,e.g,e.f),Bo(t,e.i,e.j),i=0;i<(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i;i++)z_n(n,u(N((!e.a&&(e.a=new q(Ye,e,10,11)),e.a),i),27),u(N((!t.a&&(t.a=new q(Ye,t,10,11)),t.a),i),27))}function zEe(n,e){var t,i,r,c;for(c=u(Mr(n.b,e),127),t=c.a,r=u(u(ot(n.r,e),21),87).Kc();r.Ob();)i=u(r.Pb(),117),i.c&&(t.a=y.Math.max(t.a,ZV(i.c)));if(t.a>0)switch(e.g){case 2:c.n.c=n.s;break;case 4:c.n.b=n.s}}function XEe(n,e){var t,i,r;return t=u(v(e,(Us(),k3)),17).a-u(v(n,k3),17).a,t==0?(i=mi(Fi(u(v(n,(Y1(),hj)),8)),u(v(n,O8),8)),r=mi(Fi(u(v(e,hj),8)),u(v(e,O8),8)),bt(i.a*i.b,r.a*r.b)):t}function VEe(n,e){var t,i,r;return t=u(v(e,(lc(),RO)),17).a-u(v(n,RO),17).a,t==0?(i=mi(Fi(u(v(n,(pt(),Nj)),8)),u(v(n,Av),8)),r=mi(Fi(u(v(e,Nj),8)),u(v(e,Av),8)),bt(i.a*i.b,r.a*r.b)):t}function X_n(n){var e,t;return t=new R1,t.a+="e_",e=_ve(n),e!=null&&(t.a+=""+e),n.c&&n.d&&(Be((t.a+=" ",t),lS(n.c)),Be(Lc((t.a+="[",t),n.c.i),"]"),Be((t.a+=iB,t),lS(n.d)),Be(Lc((t.a+="[",t),n.d.i),"]")),t.a}function V_n(n){switch(n.g){case 0:return new a8n;case 1:return new d8n;case 2:return new h8n;case 3:return new f8n;default:throw T(new Gn("No implementation is available for the layout phase "+(n.f!=null?n.f:""+n.g)))}}function Onn(n,e,t,i,r){var c;switch(c=0,r.g){case 1:c=y.Math.max(0,e.b+n.b-(t.b+i));break;case 3:c=y.Math.max(0,-n.b-i);break;case 2:c=y.Math.max(0,-n.a-i);break;case 4:c=y.Math.max(0,e.a+n.a-(t.a+i))}return c}function WEe(n,e,t){var i,r,c,s,f;if(t)for(r=t.a.length,i=new Qa(r),f=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);f.Ob();)s=u(f.Pb(),17),c=Lm(t,s.a),Mcn in c.a||pF in c.a?fPe(n,c,e):PNe(n,c,e),S1e(u(ee(n.b,b4(c)),74))}function Ann(n){var e,t;switch(n.b){case-1:return!0;case 0:return t=n.t,t>1||t==-1?(n.b=-1,!0):(e=gs(n),e&&(dr(),e.lk()==bJn)?(n.b=-1,!0):(n.b=1,!1));default:case 1:return!1}}function Lnn(n,e){var t,i,r,c;if(Ze(n),n.c!=0||n.a!=123)throw T(new Ne($e((Oe(),xWn))));if(c=e==112,i=n.d,t=bm(n.i,125,i),t<0)throw T(new Ne($e((Oe(),RWn))));return r=qo(n.i,i,t),n.d=t+1,pDn(r,c,(n.e&512)==512)}function W_n(n){var e,t,i,r,c,s,f;if(i=n.a.c.length,i>0)for(s=n.c.d,f=n.d.d,r=ch(mi(new V(f.a,f.b),s),1/(i+1)),c=new V(s.a,s.b),t=new M(n.a);t.a<t.c.c.length;)e=u(E(t),250),e.d.a=c.a+r.a,e.d.b=c.b+r.b,it(c,r)}function JEe(n,e){var t,i,r;if(!e)j$(n,null),Um(n,null);else if(e.i&4)for(i="[]",t=e.c;;t=t.c){if(!(t.i&4)){r=lz((ll(t),t.o+i)),j$(n,r),Um(n,r);break}i+="[]"}else r=lz((ll(e),e.o)),j$(n,r),Um(n,r);n.hl(e)}function A5(n,e,t,i,r){var c,s,f,h;return h=ON(n,u(r,58)),x(h)!==x(r)?(f=u(n.g[t],76),c=Rh(e,h),P6(n,t,Jx(n,t,c)),fo(n.e)&&(s=W1(n,9,c.Lk(),r,h,i,!1),UZ(s,new ml(n.e,9,n.c,f,c,i,!1)),h$(s)),h):r}function QEe(n,e,t){var i,r,c,s,f,h;for(i=u(ot(n.c,e),15),r=u(ot(n.c,t),15),c=i.fd(i.gc()),s=r.fd(r.gc());c.Sb()&&s.Sb();)if(f=u(c.Ub(),17),h=u(s.Ub(),17),f!=h)return jc(f.a,h.a);return!c.Ob()&&!s.Ob()?0:c.Ob()?1:-1}function YEe(n){var e,t,i,r,c,s,f;for(f=Lh(n.c.length),r=new M(n);r.a<r.c.c.length;){for(i=u(E(r),10),s=new ni,c=Qt(i),t=new ie(ce(c.a.Kc(),new En));pe(t);)e=u(fe(t),18),e.c.i==e.d.i||fi(s,e.d.i);Bn(f.c,s)}return f}function J_n(n,e){var t,i,r;try{return r=hpe(n.a,e),r}catch(c){if(c=Ot(c),L(c,33)){try{if(i=So(e,Wi,et),t=of(n.a),i>=0&&i<t.length)return t[i]}catch(s){if(s=Ot(s),!L(s,130))throw T(s)}return null}else throw T(c)}}function hR(n,e){var t,i,r;if(r=Qg((Lu(),zi),n.Dh(),e),r)return dr(),u(r,69).xk()||(r=$p(Nr(zi,r))),i=(t=n.Ih(r),u(t>=0?n.Lh(t,!0,!0):Fb(n,r,!0),160)),u(i,220).Wl(e);throw T(new Gn(wa+e.xe()+sF))}function ZEe(){$z();var n;return Yoe?u(M4((F1(),Is),ks),2038):(Ge(Id,new v6n),VAe(),n=u(L(Dc((F1(),Is),ks),560)?Dc(Is,ks):new lOn,560),Yoe=!0,WNe(n),tDe(n),Ve((Dz(),Hdn),n,new $vn),Lr(Is,ks,n),n)}function nMe(n,e){var t,i,r,c;n.j=-1,fo(n.e)?(t=n.i,c=n.i!=0,nk(n,e),i=new ml(n.e,3,n.c,null,e,t,c),r=e.zl(n.e,n.c,null),r=PFn(n,e,r),r?(r.nj(i),r.oj()):rt(n.e,i)):(nk(n,e),r=e.zl(n.e,n.c,null),r&&r.oj())}function yS(n,e){var t,i,r;if(r=0,i=e[0],i>=n.length)return-1;for(t=(zn(i,n.length),n.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=n.length));)t=(zn(i,n.length),n.charCodeAt(i));return i>e[0]?e[0]=i:r=-1,r}function eMe(n){var e,t,i,r,c;return r=u(n.a,17).a,c=u(n.b,17).a,t=r,i=c,e=y.Math.max(y.Math.abs(r),y.Math.abs(c)),r<=0&&r==c?(t=0,i=c-1):r==-e&&c!=e?(t=c,i=r,c>=0&&++t):(t=-c,i=r),new bi(Y(t),Y(i))}function tMe(n,e,t,i){var r,c,s,f,h,l;for(r=0;r<e.o;r++)for(c=r-e.j+t,s=0;s<e.p;s++)if(f=s-e.k+i,h=c,l=f,h+=n.j,l+=n.k,h>=0&&l>=0&&h<n.o&&l<n.p&&(!NBn(e,r,s)&&OBn(n,c,f)||Fg(e,r,s)&&!V9e(n,c,f)))return!0;return!1}function iMe(n,e,t){var i,r,c,s,f;s=n.c,f=n.d,c=cc(S(C(Ei,1),J,8,0,[s.i.n,s.n,s.a])).b,r=(c+cc(S(C(Ei,1),J,8,0,[f.i.n,f.n,f.a])).b)/2,i=null,s.j==(en(),Zn)?i=new V(e+s.i.c.c.a+t,r):i=new V(e-t,r),wm(n.a,0,i)}function Bb(n){var e,t,i,r;for(e=null,i=$h(Eo(S(C(Ao,1),Rn,20,0,[(!n.b&&(n.b=new Dn(he,n,4,7)),n.b),(!n.c&&(n.c=new Dn(he,n,5,8)),n.c)])));pe(i);)if(t=u(fe(i),84),r=Gr(t),!e)e=r;else if(e!=r)return!1;return!0}function lR(n,e,t){var i;if(++n.j,e>=n.i)throw T(new Or(vF+e+Cd+n.i));if(t>=n.i)throw T(new Or(kF+t+Cd+n.i));return i=n.g[t],e!=t&&(e<t?Oc(n.g,e,n.g,e+1,t-e):Oc(n.g,t+1,n.g,t,e-t),$t(n.g,e,i),n.Pi(e,i,t),n.Ni()),i}function In(n,e,t){var i;if(i=u(n.c.xc(e),16),i)return i.Fc(t)?(++n.d,!0):!1;if(i=n.ic(e),i.Fc(t))return++n.d,n.c.zc(e,i),!0;throw T(new NJ("New Collection violated the Collection spec"))}function ty(n){var e,t,i;return n<0?0:n==0?32:(i=-(n>>16),e=i>>16&16,t=16-e,n=n>>e,i=n-256,e=i>>16&8,t+=e,n<<=e,i=n-v0,e=i>>16&4,t+=e,n<<=e,i=n-wh,e=i>>16&2,t+=e,n<<=e,i=n>>14,e=i&~(i>>1),t+2-e)}function rMe(n){Np();var e,t,i,r;for(mI=new Z,p_=new de,g_=new Z,e=(!n.a&&(n.a=new q(Ye,n,10,11)),n.a),VLe(e),r=new ne(e);r.e!=r.i.gc();)i=u(ue(r),27),qr(mI,i,0)==-1&&(t=new Z,nn(g_,t),YKn(i,t));return g_}function cMe(n,e,t){var i,r,c,s;n.a=t.b.d,L(e,326)?(r=Xg(u(e,74),!1,!1),c=Jk(r),i=new x9n(n),qi(c,i),ay(c,r),e.of((He(),mw))!=null&&qi(u(e.of(mw),75),i)):(s=u(e,422),s.rh(s.nh()+n.a.a),s.sh(s.oh()+n.a.b))}function uMe(n,e){var t,i,r;for(r=new Z,i=ge(e.a,0);i.b!=i.d.c;)t=u(be(i),65),t.c.g==n.g&&x(v(t.b,(lc(),Ph)))!==x(v(t.c,Ph))&&!Ag(new Cn(null,new On(r,16)),new fkn(t))&&Bn(r.c,t);return Yt(r,new q3n),r}function Q_n(n,e,t){var i,r,c,s;return L(e,153)&&L(t,153)?(c=u(e,153),s=u(t,153),n.a[c.a][s.a]+n.a[s.a][c.a]):L(e,250)&&L(t,250)&&(i=u(e,250),r=u(t,250),i.a==r.a)?u(v(r.a,(Us(),k3)),17).a:0}function Y_n(n,e){var t,i,r,c,s,f,h,l;for(l=$(B(v(e,(cn(),G8)))),h=n[0].n.a+n[0].o.a+n[0].d.c+l,f=1;f<n.length;f++)i=n[f].n,r=n[f].o,t=n[f].d,c=i.a-t.b-h,c<0&&(i.a-=c),s=e.f,s.a=y.Math.max(s.a,i.a+r.a),h=i.a+r.a+t.c+l}function oMe(n,e){var t,i,r,c,s,f;return i=u(u(ee(n.g,e.a),42).a,68),r=u(u(ee(n.g,e.b),42).a,68),c=i.b,s=r.b,t=NOe(c,s),t>=0?t:(f=U6(mi(new V(s.c+s.b/2,s.d+s.a/2),new V(c.c+c.b/2,c.d+c.a/2))),-(MUn(c,s)-1)*f)}function sMe(n,e,t){var i;Ut(new Cn(null,(!t.a&&(t.a=new q(Tt,t,6,6)),new On(t.a,16))),new aTn(n,e)),Ut(new Cn(null,(!t.n&&(t.n=new q(Sr,t,1,7)),new On(t.n,16))),new dTn(n,e)),i=u(z(t,(He(),mw)),75),i&&xQ(i,n,e)}function Fb(n,e,t){var i,r,c;if(c=Qg((Lu(),zi),n.Dh(),e),c)return dr(),u(c,69).xk()||(c=$p(Nr(zi,c))),r=(i=n.Ih(c),u(i>=0?n.Lh(i,!0,!0):Fb(n,c,!0),160)),u(r,220).Sl(e,t);throw T(new Gn(wa+e.xe()+sF))}function Nnn(n,e,t,i){var r,c,s,f,h;if(r=n.d[e],r){if(c=r.g,h=r.i,i!=null){for(f=0;f<h;++f)if(s=u(c[f],136),s.Bi()==t&&ct(i,s.ld()))return s}else for(f=0;f<h;++f)if(s=u(c[f],136),x(s.ld())===x(i))return s}return null}function fMe(n,e){var t,i,r,c,s;for(i=(!e.s&&(e.s=new q(ku,e,21,17)),e.s),c=null,r=0,s=i.i;r<s;++r)switch(t=u(N(i,r),179),vb(Nr(n,t))){case 4:case 5:case 6:{!c&&(c=new Z),Bn(c.c,t);break}}return c||(Ln(),Ln(),sr)}function iy(n,e){var t;if(e<0)throw T(new FE("Negative exponent"));if(e==0)return sI;if(e==1||BY(n,sI)||BY(n,C8))return n;if(!MHn(n,0)){for(t=1;!MHn(n,t);)++t;return Og(m8e(t*e),iy(LJ(n,t),e))}return Mye(n,e)}function hMe(n,e){var t,i,r;if(x(n)===x(e))return!0;if(n==null||e==null||n.length!=e.length)return!1;for(t=0;t<n.length;++t)if(i=n[t],r=e[t],!(x(i)===x(r)||i!=null&&ct(i,r)))return!1;return!0}function Z_n(n){Lz();var e,t,i;for(this.b=MZn,this.c=(ci(),Jf),this.f=(fMn(),EZn),this.a=n,vz(this,new Zwn),IS(this),i=new M(n.b);i.a<i.c.c.length;)t=u(E(i),86),t.d||(e=new vx(S(C(M_,1),Rn,86,0,[t])),nn(n.a,e))}function lMe(n,e,t){var i,r,c,s,f,h;if(!n||n.c.length==0)return null;for(c=new eAn(e,!t),r=new M(n);r.a<r.c.c.length;)i=u(E(r),72),ann(c,(r6(),new OE(i)));return s=c.i,s.a=(h=c.n,c.e.b+h.d+h.a),s.b=(f=c.n,c.e.a+f.b+f.c),c}function nHn(n){var e,t,i,r,c,s,f;for(f=Q7(n.a),jX(f,new ngn),t=null,r=f,c=0,s=r.length;c<s&&(i=r[c],i.k==(Vn(),Zt));++c)e=u(v(i,(W(),gc)),64),!(e!=(en(),Wn)&&e!=Zn)&&(t&&u(v(t,C3),15).Fc(i),t=i)}function aMe(n,e,t){var i,r,c,s,f,h,l;h=(Nn(e,n.c.length),u(n.c[e],339)),Yl(n,e),h.b/2>=t&&(i=e,l=(h.c+h.a)/2,s=l-t,h.c<=l-t&&(r=new FN(h.c,s),ab(n,i++,r)),f=l+t,f<=h.a&&(c=new FN(f,h.a),zw(i,n.c.length),l6(n.c,i,c)))}function eHn(n,e,t){var i,r,c,s,f,h;if(!e.dc()){for(r=new Mt,h=e.Kc();h.Ob();)for(f=u(h.Pb(),39),Ve(n.a,Y(f.g),Y(t)),s=(i=ge(new sl(f).a.d,0),new sg(i));Q9(s.a);)c=u(be(s.a),65).c,xt(r,c,r.c.b,r.c);eHn(n,r,t+1)}}function Dnn(n){var e;if(!n.c&&n.g==null)n.d=n.bj(n.f),ve(n,n.d),e=n.d;else{if(n.g==null)return!0;if(n.i==0)return!1;e=u(n.g[n.i-1],51)}return e==n.b&&null.Vm>=null.Um()?(MS(n),Dnn(n)):e.Ob()}function tHn(n){if(this.a=n,n.c.i.k==(Vn(),Zt))this.c=n.c,this.d=u(v(n.c.i,(W(),gc)),64);else if(n.d.i.k==Zt)this.c=n.d,this.d=u(v(n.d.i,(W(),gc)),64);else throw T(new Gn("Edge "+n+" is not an external edge."))}function iHn(n,e){var t,i,r;r=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,3,r,n.b)),e?e!=n&&(zc(n,e.zb),v$(n,e.d),t=(i=e.c,i??e.zb),y$(n,t==null||Sn(t,e.zb)?null:t)):(zc(n,null),v$(n,0),y$(n,null))}function rHn(n,e){var t;this.e=(gb(),Pe(n),gb(),WY(n)),this.c=(Pe(e),WY(e)),KX(this.e.Rd().dc()==this.c.Rd().dc()),this.d=mKn(this.e),this.b=mKn(this.c),t=Wa(ki,[J,Rn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=t,R4e(this)}function cHn(n){!cun&&(cun=uNe());var e=n.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(t){return h2e(t)});return'"'+e+'"'}function $nn(n,e,t,i,r,c){var s,f,h,l,a;if(r!=0)for(x(n)===x(t)&&(n=n.slice(e,e+r),e=0),h=t,f=e,l=e+r;f<l;)s=y.Math.min(f+1e4,l),r=s-f,a=n.slice(f,s),a.splice(0,0,i,c?r:0),Array.prototype.splice.apply(h,a),f=s,i+=r}function uHn(n){WW();var e,t;for(this.b=BQn,this.c=_Qn,this.g=(sMn(),KQn),this.d=(ci(),Jf),this.a=n,ien(this),t=new M(n.b);t.a<t.c.c.length;)e=u(E(t),60),!e.a&&ZCn(G$n(new zG,S(C(aI,1),Rn,60,0,[e])),n),e.e=new PT(e.d)}function dMe(n){var e,t,i,r,c,s;for(r=n.e.c.length,i=F(rs,k0,15,r,0,1),s=new M(n.e);s.a<s.c.c.length;)c=u(E(s),153),i[c.a]=new Mt;for(t=new M(n.c);t.a<t.c.c.length;)e=u(E(t),289),i[e.c.a].Fc(e),i[e.d.a].Fc(e);return i}function bMe(n,e){var t,i,r,c,s;if(t=u(Un(n.a,4),129),s=t==null?0:t.length,e>=s)throw T(new Fw(e,s));return r=t[e],s==1?i=null:(i=F(kU,TF,424,s-1,0,1),Oc(t,0,i,0,e),c=s-e-1,c>0&&Oc(t,e+1,i,e,c)),w4(n,i),S_n(n,e,r),r}function oHn(n){var e,t;if(n.f){for(;n.n<n.o;){if(e=u(n.j?n.j.$i(n.n):n.k.Xb(n.n),76),t=e.Lk(),L(t,102)&&u(t,19).Bb&kc&&(!n.e||t.pk()!=_v||t.Lj()!=0)&&e.md()!=null)return!0;++n.n}return!1}else return n.n<n.o}function n3(){n3=R,F3=u(N(H((Ez(),yc).qb),6),35),B3=u(N(H(yc.qb),3),35),CU=u(N(H(yc.qb),4),35),SU=u(N(H(yc.qb),5),19),bS(F3),bS(B3),bS(CU),bS(SU),tse=new Fu(S(C(ku,1),f2,179,0,[F3,B3]))}function sHn(n,e){var t;this.d=new Wv,this.b=e,this.e=new rr(e.Lf()),t=n.u.Hc((zu(),eE)),n.u.Hc(Rl)?n.D?this.a=t&&!e.bg():this.a=!0:n.u.Hc(Aa)?t?this.a=!(e.Uf().Kc().Ob()||e.Wf().Kc().Ob()):this.a=!1:this.a=!1}function fHn(n,e){var t,i,r,c;for(t=n.o.a,c=u(u(ot(n.r,e),21),87).Kc();c.Ob();)r=u(c.Pb(),117),r.e.a=(i=r.b,i.pf((He(),oo))?i.ag()==(en(),Wn)?-i.Mf().a-$(B(i.of(oo))):t+$(B(i.of(oo))):i.ag()==(en(),Wn)?-i.Mf().a:t)}function hHn(n,e){var t,i,r,c;t=u(v(n,(cn(),Lo)),88),c=u(z(e,Mv),64),r=u(v(n,_t),101),r!=(Ai(),Qf)&&r!=Oa?c==(en(),sc)&&(c=xen(e,t),c==sc&&(c=zp(t))):(i=hGn(e),i>0?c=zp(t):c=$k(zp(t))),ht(e,Mv,c)}function wMe(n,e){var t;e.Ug("Partition preprocessing",1),t=u(Wr(ut(rc(ut(new Cn(null,new On(n.a,16)),new Ggn),new zgn),new Xgn),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),Ut(t.Oc(),new Vgn),e.Vg()}function gMe(n,e){var t,i,r,c,s;for(s=n.j,e.a!=e.b&&Yt(s,new Mpn),r=s.c.length/2|0,i=0;i<r;i++)c=(Nn(i,s.c.length),u(s.c[i],113)),c.c&&gi(c.d,e.a);for(t=r;t<s.c.length;t++)c=(Nn(t,s.c.length),u(s.c[t],113)),c.c&&gi(c.d,e.b)}function pMe(n,e,t){var i,r,c;return i=n.c[e.c.p][e.p],r=n.c[t.c.p][t.p],i.a!=null&&r.a!=null?(c=tD(i.a,r.a),c<0?fy(n,e,t):c>0&&fy(n,t,e),c):i.a!=null?(fy(n,e,t),-1):r.a!=null?(fy(n,t,e),1):0}function mMe(n,e){var t,i,r,c,s;for(r=e.b.b,n.a=F(rs,k0,15,r,0,1),n.b=F(so,Xh,28,r,16,1),s=ge(e.b,0);s.b!=s.d.c;)c=u(be(s),39),n.a[c.g]=new Mt;for(i=ge(e.a,0);i.b!=i.d.c;)t=u(be(i),65),n.a[t.b.g].Fc(t),n.a[t.c.g].Fc(t)}function lHn(n,e){var t,i,r,c;n.Pj()?(t=n.Ej(),c=n.Qj(),++n.j,n.qj(t,n.Zi(t,e)),i=n.Ij(3,null,e,t,c),n.Mj()?(r=n.Nj(e,null),r?(r.nj(i),r.oj()):n.Jj(i)):n.Jj(i)):(nOn(n,e),n.Mj()&&(r=n.Nj(e,null),r&&r.oj()))}function xnn(n,e,t){var i,r,c;n.Pj()?(c=n.Qj(),Ak(n,e,t),i=n.Ij(3,null,t,e,c),n.Mj()?(r=n.Nj(t,null),n.Tj()&&(r=n.Uj(t,r)),r?(r.nj(i),r.oj()):n.Jj(i)):n.Jj(i)):(Ak(n,e,t),n.Mj()&&(r=n.Nj(t,null),r&&r.oj()))}function jS(n,e){var t,i,r,c,s;for(s=ru(n.e.Dh(),e),r=new jE,t=u(n.g,124),c=n.i;--c>=0;)i=t[c],s.am(i.Lk())&&ve(r,i);!uzn(n,r)&&fo(n.e)&&em(n,e.Jk()?W1(n,6,e,(Ln(),sr),null,-1,!1):W1(n,e.tk()?2:1,e,null,null,-1,!1))}function vMe(n,e){var t,i,r,c,s;return n.a==(y4(),D8)?!0:(c=e.a.c,t=e.a.c+e.a.b,!(e.j&&(i=e.A,s=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>s)||e.q&&(i=e.C,s=i.c.c.a-i.o.a/2,r=i.n.a-t,r>s)))}function aHn(n){DD();var e,t,i,r,c,s,f;for(t=new Ql,r=new M(n.e.b);r.a<r.c.c.length;)for(i=u(E(r),30),s=new M(i.a);s.a<s.c.c.length;)c=u(E(s),10),f=n.g[c.p],e=u(Df(t,f),15),e||(e=new Z,s1(t,f,e)),e.Fc(c);return t}function dHn(n){var e;return n.Db&64?Hs(n):(e=new ls(Hs(n)),e.a+=" (startX: ",hg(e,n.j),e.a+=", startY: ",hg(e,n.k),e.a+=", endX: ",hg(e,n.b),e.a+=", endY: ",hg(e,n.c),e.a+=", identifier: ",Er(e,n.d),e.a+=")",e.a)}function Rnn(n){var e;return n.Db&64?w5(n):(e=new ls(w5(n)),e.a+=" (ordered: ",ql(e,(n.Bb&256)!=0),e.a+=", unique: ",ql(e,(n.Bb&512)!=0),e.a+=", lowerBound: ",CL(e,n.s),e.a+=", upperBound: ",CL(e,n.t),e.a+=")",e.a)}function bHn(n,e,t,i,r,c,s,f){var h;return L(n.Cb,90)&&h0(Zu(u(n.Cb,90)),4),zc(n,t),n.f=i,f4(n,r),l4(n,c),s4(n,s),h4(n,!1),u1(n,!0),a4(n,f),c1(n,!0),e1(n,0),n.b=0,Zw(n,1),h=Kf(n,e,null),h&&h.oj(),sx(n,!1),n}function wHn(n,e){var t,i,r,c;return t=u(Dc(n.a,e),525),t||(i=new VD(e),r=(UT(),Uf?null:i.c),c=qo(r,0,y.Math.max(0,xM(r,wu(46)))),Jae(i,wHn(n,c)),(Uf?null:i.c).length==0&&TSn(i,new xU),Lr(n.a,Uf?null:i.c,i),i)}function kMe(n,e){var t;n.b=e,n.g=new Z,t=MMe(n.b),n.e=t,n.f=t,n.c=on(un(v(n.b,(aS(),Bun)))),n.a=B(v(n.b,(He(),x2))),n.a==null&&(n.a=1),$(n.a)>1?n.e*=$(n.a):n.f/=$(n.a),_6e(n),X8e(n),USe(n),U(n.b,(j5(),pI),n.g)}function gHn(n,e,t){var i,r,c,s,f,h;for(i=0,h=t,e||(i=t*(n.c.length-1),h*=-1),c=new M(n);c.a<c.c.c.length;){for(r=u(E(c),10),U(r,(cn(),Ch),(Bh(),nA)),r.o.a=i,f=h1(r,(en(),Zn)).Kc();f.Ob();)s=u(f.Pb(),12),s.n.a=i;i+=h}}function e3(n,e,t){var i,r,c,s,f,h;return f=n.pl(t),f!=t?(s=n.g[e],h=f,P6(n,e,n.Zi(e,h)),c=s,n.Ri(e,h,c),n.al()&&(i=t,r=n.Oj(i,null),!u(f,54).Ph()&&(r=n.Nj(h,r)),r&&r.oj()),fo(n.e)&&em(n,n.Ij(9,t,f,e,!1)),f):t}function yMe(n,e){var t,i,r,c;for(i=new M(n.a.a);i.a<i.c.c.length;)t=u(E(i),194),t.g=!0;for(c=new M(n.a.b);c.a<c.c.c.length;)r=u(E(c),86),r.k=on(un(n.e.Kb(new bi(r,e)))),r.d.g=r.d.g&on(un(n.e.Kb(new bi(r,e))));return n}function pHn(n,e){var t,i;if(n.c.length!=0){if(n.c.length==2)t3((Nn(0,n.c.length),u(n.c[0],10)),(Co(),nl)),t3((Nn(1,n.c.length),u(n.c[1],10)),Pa);else for(i=new M(n);i.a<i.c.c.length;)t=u(E(i),10),t3(t,e);n.c.length=0}}function mHn(n){var e,t,i,r,c;if(t=(e=u(of(lr),9),new _o(e,u(xs(e,e.length),9),0)),c=u(v(n,(W(),Xu)),10),c)for(r=new M(c.j);r.a<r.c.c.length;)i=u(E(r),12),x(v(i,st))===x(n)&&O6(new Lf(i.b))&&_s(t,i.j);return t}function vHn(n,e,t){var i,r,c,s,f;if(!n.d[t.p]){for(r=new ie(ce(Qt(t).a.Kc(),new En));pe(r);){for(i=u(fe(r),18),f=i.d.i,s=new ie(ce(ji(f).a.Kc(),new En));pe(s);)c=u(fe(s),18),c.c.i==e&&(n.a[c.p]=!0);vHn(n,e,f)}n.d[t.p]=!0}}function jMe(n,e){var t,i,r,c,s,f,h;if(i=aKn(n.Db&254),i==1)n.Eb=null;else if(c=cd(n.Eb),i==2)r=Bx(n,e),n.Eb=c[r==0?1:0];else{for(s=F(ki,Rn,1,i-1,5,1),t=2,f=0,h=0;t<=128;t<<=1)t==e?++f:n.Db&t&&(s[h++]=c[f++]);n.Eb=s}n.Db&=~e}function Knn(n){var e;switch(e=0,n){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=Gs}return e}function EMe(n,e,t,i,r){var c,s,f,h;if(x(n)===x(e)&&i==r){pUn(n,i,t);return}for(f=0;f<i;f++){for(s=0,c=n[f],h=0;h<r;h++)s=nr(nr(er(vi(c,mr),vi(e[h],mr)),vi(t[f+h],mr)),vi(Se(s),mr)),t[f+h]=Se(s),s=G1(s,32);t[f+r]=Se(s)}}function MMe(n){var e,t,i,r,c,s,f,h,l,a,d;for(a=0,l=0,r=n.a,f=r.a.gc(),i=r.a.ec().Kc();i.Ob();)t=u(i.Pb(),567),e=(t.b&&xR(t),t.a),d=e.a,s=e.b,a+=d+s,l+=d*s;return h=y.Math.sqrt(400*f*l-4*l+a*a)+a,c=2*(100*f-1),c==0?h:h/c}function kHn(n,e){e.b!=0&&(isNaN(n.s)?n.s=$((oe(e.b!=0),B(e.a.a.c))):n.s=y.Math.min(n.s,$((oe(e.b!=0),B(e.a.a.c)))),isNaN(n.c)?n.c=$((oe(e.b!=0),B(e.c.b.c))):n.c=y.Math.max(n.c,$((oe(e.b!=0),B(e.c.b.c)))))}function L5(n){var e,t,i,r;for(e=null,i=$h(Eo(S(C(Ao,1),Rn,20,0,[(!n.b&&(n.b=new Dn(he,n,4,7)),n.b),(!n.c&&(n.c=new Dn(he,n,5,8)),n.c)])));pe(i);)if(t=u(fe(i),84),r=Gr(t),!e)e=St(r);else if(e!=St(r))return!0;return!1}function aR(n,e){var t,i,r,c;n.Pj()?(t=n.i,c=n.Qj(),nk(n,e),i=n.Ij(3,null,e,t,c),n.Mj()?(r=n.Nj(e,null),n.Tj()&&(r=n.Uj(e,r)),r?(r.nj(i),r.oj()):n.Jj(i)):n.Jj(i)):(nk(n,e),n.Mj()&&(r=n.Nj(e,null),r&&r.oj()))}function TMe(n,e){var t,i,r,c;if(c=B7(n.a,e.b),!c)throw T(new Ar("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=n.a.a.ec().Kc();i.Ob();)if(t=u(i.Pb(),68),i6e(e.b,t))Dhe(n.b.a,e.b,t),r=!0;else if(r)break}function CMe(n){var e;if(!n.a)throw T(new Ar("IDataType class expected for layout option "+n.f));if(e=l3e(n.a),e==null)throw T(new Ar("Couldn't create new instance of property '"+n.f+"'. "+NVn+(ll(hE),hE.k)+lcn));return u(e,423)}function dR(n){var e,t,i,r,c;return c=n.Ph(),c&&c.Vh()&&(r=ta(n,c),r!=c)?(t=n.Fh(),i=(e=n.Fh(),e>=0?n.Ah(null):n.Ph().Th(n,-1-e,null,null)),n.Bh(u(r,54),t),i&&i.oj(),n.vh()&&n.wh()&&t>-1&&rt(n,new Mi(n,9,t,c,r)),r):c}function Bnn(n,e){var t,i,r,c,s;for(c=n.b.Ce(e),i=(t=n.a.get(c),t??F(ki,Rn,1,0,5,1)),s=0;s<i.length;s++)if(r=i[s],n.b.Be(e,r.ld()))return i.length==1?(i.length=0,Pae(n.a,c)):i.splice(s,1),--n.c,++n.b.g,r.md();return null}function yHn(n){var e,t,i,r,c,s,f,h;for(s=0,c=n.f.e,i=0;i<c.c.length;++i)for(f=(Nn(i,c.c.length),u(c.c[i],153)),r=i+1;r<c.c.length;++r)h=(Nn(r,c.c.length),u(c.c[r],153)),t=Q1(f.d,h.d),e=t-n.a[f.a][h.a],s+=n.i[f.a][h.a]*e*e;return s}function SMe(n,e){var t;if(!kt(e,(cn(),ou))&&(t=V7e(u(v(e,vsn),371),u(v(n,ou),171)),U(e,vsn,t),!pe(new ie(ce(Ml(e).a.Kc(),new En)))))switch(t.g){case 1:U(e,ou,(Yo(),B8));break;case 2:U(e,ou,(Yo(),F8))}}function PMe(n,e){var t;_Se(n),n.a=(t=new ML,Ut(new Cn(null,new On(e.d,16)),new M7n(t)),t),iPe(n,u(v(e.b,(cn(),EH)),349)),$9e(n),$Me(n),J7e(n),x9e(n),WOe(n,e),Ut(rc(new Cn(null,uLn(L0e(n.b).a)),new opn),new spn),e.a=!1,n.a=null}function Fnn(){Fnn=R,bre=new Tn(Trn,(_n(),!1)),wre=new Tn(Crn,7),Y(0),vre=new Tn(Srn,Y(0)),pre=new Tn(Prn,Y(-1)),jln=(a5(),lq),kre=new Tn(Irn,jln),kln=(l5(),Lj),gre=new Tn(Orn,kln),yln=(RT(),aq),mre=new Tn(Arn,yln)}function jHn(){rnn.call(this,ev,(B1(),voe)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function E4(){E4=R,mU=new gp(JXn,0),mA=new gp("INSIDE_SELF_LOOPS",1),vA=new gp("MULTI_EDGES",2),pA=new gp("EDGE_LABELS",3),pU=new gp("PORTS",4),gA=new gp("COMPOUND",5),wA=new gp("CLUSTERS",6),gU=new gp("DISCONNECTED",7)}function EHn(n,e,t){var i,r,c;n.Pj()?(c=n.Qj(),++n.j,n.qj(e,n.Zi(e,t)),i=n.Ij(3,null,t,e,c),n.Mj()?(r=n.Nj(t,null),r?(r.nj(i),r.oj()):n.Jj(i)):n.Jj(i)):(++n.j,n.qj(e,n.Zi(e,t)),n.Mj()&&(r=n.Nj(t,null),r&&r.oj()))}function MHn(n,e){var t,i,r;if(e==0)return(n.a[0]&1)!=0;if(e<0)throw T(new FE("Negative bit address"));if(r=e>>5,r>=n.d)return n.e<0;if(t=n.a[r],e=1<<(e&31),n.e<0){if(i=Ixn(n),r<i)return!1;i==r?t=-t:t=~t}return(t&e)!=0}function IMe(n,e,t,i){var r;u(t.b,68),u(t.b,68),u(i.b,68),u(i.b,68),r=mi(Fi(u(t.b,68).c),u(i.b,68).c),WM(r,x_n(u(t.b,68),u(i.b,68),r)),u(i.b,68),u(i.b,68),u(i.b,68).c.a+r.a,u(i.b,68).c.b+r.b,u(i.b,68),nu(i.a,new xV(n,e,i))}function _nn(n,e){var t,i,r,c,s,f,h;if(c=e.e,c){for(t=dR(c),i=u(n.g,689),s=0;s<n.i;++s)if(h=i[s],Nx(h)==t&&(r=(!h.d&&(h.d=new ti(jr,h,1)),h.d),f=u(t.Mh(SR(c,c.Cb,c.Db>>16)),15).dd(c),f<r.i))return _nn(n,u(N(r,f),89))}return e}function b(n,e,t){var i=rI,r,c=i[n],s=c instanceof Array?c[0]:null;c&&!s?o=c:(o=(r=e&&e.prototype,!r&&(r=rI[e]),w2e(r)),o.Sm=t,!e&&(o.Tm=Q2),i[n]=o);for(var f=3;f<arguments.length;++f)arguments[f].prototype=o;s&&(o.Rm=s)}function pe(n){for(var e;!u(Pe(n.a),51).Ob();){if(n.d=k6e(n),!n.d)return!1;if(n.a=u(n.d.Pb(),51),L(n.a,37)){if(e=u(n.a,37),n.a=e.a,!n.b&&(n.b=new Mg),J1(n.b,n.d),e.b)for(;!n6(e.b);)J1(n.b,u(b0e(e.b),51));n.d=e.d}}return!0}function Hnn(n,e){var t,i,r,c;for(r=1,e.j=!0,c=null,i=new M(xg(e));i.a<i.c.c.length;)t=u(E(i),218),n.c[t.c]||(n.c[t.c]=!0,c=HC(t,e),t.f?r+=Hnn(n,c):!c.j&&t.a==t.e.e-t.d.e&&(t.f=!0,fi(n.p,t),r+=Hnn(n,c)));return r}function OMe(n){var e,t,i;for(t=new M(n.a.a.b);t.a<t.c.c.length;)e=u(E(t),86),i=(Jn(0),0),i>0&&(!(hl(n.a.c)&&e.n.d)&&!(vg(n.a.c)&&e.n.b)&&(e.g.d+=y.Math.max(0,i/2-.5)),!(hl(n.a.c)&&e.n.a)&&!(vg(n.a.c)&&e.n.c)&&(e.g.a-=i-1))}function THn(n){var e,t,i,r,c;if(r=new Z,c=kUn(n,r),e=u(v(n,(W(),Xu)),10),e)for(i=new M(e.j);i.a<i.c.c.length;)t=u(E(i),12),x(v(t,st))===x(n)&&(c=y.Math.max(c,kUn(t,r)));return r.c.length==0||U(n,y2,c),c!=-1?r:null}function CHn(n,e,t){var i,r,c,s,f,h;c=u(sn(e.e,0),18).c,i=c.i,r=i.k,h=u(sn(t.g,0),18).d,s=h.i,f=s.k,r==(Vn(),Ti)?U(n,(W(),yf),u(v(i,yf),12)):U(n,(W(),yf),c),f==Ti?U(n,(W(),Es),u(v(s,Es),12)):U(n,(W(),Es),h)}function qnn(n){var e,t,i;this.c=n,i=u(v(n,(cn(),Lo)),88),e=$(B(v(n,oO))),t=$(B(v(n,mhn))),i==(ci(),Kr)||i==Xr||i==Jf?this.b=e*t:this.b=1/(e*t),this.j=$(B(v(n,S2))),this.e=$(B(v(n,bw))),this.f=n.b.c.length}function Unn(n,e){var t,i,r,c,s;return e&=63,t=n.h,i=(t&Ty)!=0,i&&(t|=-1048576),e<22?(s=t>>e,c=n.m>>e|t<<22-e,r=n.l>>e|n.m<<22-e):e<44?(s=i?Ol:0,c=t>>e-22,r=n.m>>e-22|t<<44-e):(s=i?Ol:0,c=i?ro:0,r=t>>e-44),Yc(r&ro,c&ro,s&Ol)}function bR(n){var e,t,i,r,c,s;for(this.c=new Z,this.d=n,i=Pt,r=Pt,e=li,t=li,s=ge(n,0);s.b!=s.d.c;)c=u(be(s),8),i=y.Math.min(i,c.a),r=y.Math.min(r,c.b),e=y.Math.max(e,c.a),t=y.Math.max(t,c.b);this.a=new Ho(i,r,e-i,t-r)}function SHn(n,e){var t,i,r,c,s,f;for(c=new M(n.b);c.a<c.c.c.length;)for(r=u(E(c),30),f=new M(r.a);f.a<f.c.c.length;)for(s=u(E(f),10),s.k==(Vn(),Sc)&&t3(s,e),i=new ie(ce(Qt(s).a.Kc(),new En));pe(i);)t=u(fe(i),18),nRn(t,e)}function AMe(n,e){var t,i,r;for(e.Ug("Layer constraint preprocessing",1),t=new Z,r=new xi(n.a,0);r.b<r.d.gc();)i=(oe(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),10)),r6e(i)&&(dye(i),Bn(t.c,i),bo(r));t.c.length==0||U(n,(W(),hH),t),e.Vg()}function LMe(n){var e,t;for(n.e=F(ye,_e,28,n.p.c.length,15,1),n.k=F(ye,_e,28,n.p.c.length,15,1),t=new M(n.p);t.a<t.c.c.length;)e=u(E(t),10),n.e[e.p]=wl(new ie(ce(ji(e).a.Kc(),new En))),n.k[e.p]=wl(new ie(ce(Qt(e).a.Kc(),new En)))}function NMe(n){var e,t,i,r,c,s;for(r=0,n.q=new Z,e=new ni,s=new M(n.p);s.a<s.c.c.length;){for(c=u(E(s),10),c.p=r,i=new ie(ce(Qt(c).a.Kc(),new En));pe(i);)t=u(fe(i),18),fi(e,t.d.i);e.a.Bc(c)!=null,nn(n.q,new $6(e)),e.a.$b(),++r}}function PHn(n,e){var t,i,r,c,s,f,h,l,a;if(n.a.f>0&&L(e,44)&&(n.a._j(),l=u(e,44),h=l.ld(),c=h==null?0:mt(h),s=lV(n.a,c),t=n.a.d[s],t)){for(i=u(t.g,379),a=t.i,f=0;f<a;++f)if(r=i[f],r.Bi()==c&&r.Fb(l))return PHn(n,l),!0}return!1}function DMe(n){var e,t,i,r,c,s,f;if(e=n.qi(ks),e&&(f=Ae(gf((!e.b&&(e.b=new lo((An(),ar),pc,e)),e.b),"settingDelegates")),f!=null)){for(t=new Z,r=w0(f,"\\w+"),c=0,s=r.length;c<s;++c)i=r[c],Bn(t.c,i);return t}return Ln(),Ln(),sr}function $Me(n){var e,t,i,r;for(r=u(ot(n.a,(o0(),GI)),15).Kc();r.Ob();)i=u(r.Pb(),105),t=(e=Cp(i.k),e.Hc((en(),Xn))?e.Hc(Zn)?e.Hc(ae)?e.Hc(Wn)?null:une:sne:one:cne),Mm(n,i,t[0],(Ob(),iw),0),Mm(n,i,t[1],ka,1),Mm(n,i,t[2],rw,1)}function xMe(n,e){var t,i;t=gPe(e),iSe(n,e,t),LFn(n.a,u(v(Hi(e.b),(W(),P3)),234)),KPe(n),uye(n,e),i=F(ye,_e,28,e.b.j.c.length,15,1),VR(n,e,(en(),Xn),i,t),VR(n,e,Zn,i,t),VR(n,e,ae,i,t),VR(n,e,Wn,i,t),n.a=null,n.c=null,n.b=null}function Gnn(n,e,t){switch(e){case 7:!n.e&&(n.e=new Dn(Vt,n,7,4)),me(n.e),!n.e&&(n.e=new Dn(Vt,n,7,4)),Bt(n.e,u(t,16));return;case 8:!n.d&&(n.d=new Dn(Vt,n,8,5)),me(n.d),!n.d&&(n.d=new Dn(Vt,n,8,5)),Bt(n.d,u(t,16));return}BZ(n,e,t)}function znn(n,e){var t,i,r,c,s;if(x(e)===x(n))return!0;if(!L(e,15)||(s=u(e,15),n.gc()!=s.gc()))return!1;for(c=s.Kc(),i=n.Kc();i.Ob();)if(t=i.Pb(),r=c.Pb(),!(x(t)===x(r)||t!=null&&ct(t,r)))return!1;return!0}function RMe(n,e){var t,i,r,c;for(c=u(Wr(rc(rc(new Cn(null,new On(e.b,16)),new hgn),new lgn),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),c.Jc(new agn),t=0,r=c.Kc();r.Ob();)i=u(r.Pb(),12),i.p==-1&&Xnn(n,i,t++)}function IHn(n){switch(n.g){case 0:return new u8n;case 1:return new r8n;case 2:return new c8n;case 3:return new WMn;case 4:return new wIn;default:throw T(new Gn("No implementation is available for the node placer "+(n.f!=null?n.f:""+n.g)))}}function OHn(n){switch(n.g){case 0:return new lW;case 1:return new z5n;case 2:return new G5n;case 3:return new q5n;case 4:return new BTn;default:throw T(new Gn("No implementation is available for the cycle breaker "+(n.f!=null?n.f:""+n.g)))}}function KMe(n,e){var t,i,r,c,s;i=new Mt,xt(i,e,i.c.b,i.c);do for(t=(oe(i.b!=0),u(Xo(i,i.a.a),39)),n.b[t.g]=1,c=ge(t.d,0);c.b!=c.d.c;)r=u(be(c),65),s=r.c,n.b[s.g]==1?Re(n.a,r):n.b[s.g]==2?n.b[s.g]=1:xt(i,s,i.c.b,i.c);while(i.b!=0)}function BMe(n,e,t){var i;i=null,e&&(i=e.d),P5(n,new am(e.n.a-i.b+t.a,e.n.b-i.d+t.b)),P5(n,new am(e.n.a-i.b+t.a,e.n.b+e.o.b+i.a+t.b)),P5(n,new am(e.n.a+e.o.a+i.c+t.a,e.n.b-i.d+t.b)),P5(n,new am(e.n.a+e.o.a+i.c+t.a,e.n.b+e.o.b+i.a+t.b))}function Xnn(n,e,t){var i,r,c;for(e.p=t,c=$h(Eo(S(C(Ao,1),Rn,20,0,[new nm(e),new ip(e)])));pe(c);)i=u(fe(c),12),i.p==-1&&Xnn(n,i,t);if(e.i.k==(Vn(),Ti))for(r=new M(e.i.j);r.a<r.c.c.length;)i=u(E(r),12),i!=e&&i.p==-1&&Xnn(n,i,t)}function FMe(n,e){var t,i,r,c,s,f;for(i=new Ql,s=HT(new Fu(n.g)),c=s.a.ec().Kc();c.Ob();){if(r=u(c.Pb(),10),!r){e.bh("There are no classes in a balanced layout.");break}f=n.j[r.p],t=u(Df(i,f),15),t||(t=new Z,s1(i,f,t)),t.Fc(r)}return i}function AHn(n){var e,t,i,r,c;if(r=u(Wr(rJ(oJ(n)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),i=i2,r.gc()>=2)for(t=r.Kc(),e=B(t.Pb());t.Ob();)c=e,e=B(t.Pb()),i=y.Math.min(i,(Jn(e),e-(Jn(c),c)));return i}function _Me(n,e){var t,i,r;for(r=new Z,i=ge(e.a,0);i.b!=i.d.c;)t=u(be(i),65),t.b.g==n.g&&!Sn(t.b.c,OP)&&x(v(t.b,(lc(),Ph)))!==x(v(t.c,Ph))&&!Ag(new Cn(null,new On(r,16)),new hkn(t))&&Bn(r.c,t);return Yt(r,new X3n),r}function HMe(n,e){var t,i,r;if(x(e)===x(Pe(n)))return!0;if(!L(e,15)||(i=u(e,15),r=n.gc(),r!=i.gc()))return!1;if(L(i,59)){for(t=0;t<r;t++)if(!sh(n.Xb(t),i.Xb(t)))return!1;return!0}else return q9e(n.Kc(),i.Kc())}function qMe(n,e,t,i,r,c){var s,f,h,l;for(f=!om(ut(n.Oc(),new Y3(new Tgn))).Bd((Va(),v3)),s=n,c==(ci(),us)&&(s=Qo(s)),l=s.Kc();l.Ob();)h=u(l.Pb(),72),h.n.a=e.a,f?h.n.b=e.b+(i.b-h.o.b)/2:r?h.n.b=e.b:h.n.b=e.b+i.b-h.o.b,e.a+=h.o.a+t}function UMe(n,e){var t,i,r,c,s;for(e.Ug("Port side processing",1),s=new M(n.a);s.a<s.c.c.length;)r=u(E(s),10),GUn(r);for(i=new M(n.b);i.a<i.c.c.length;)for(t=u(E(i),30),c=new M(t.a);c.a<c.c.c.length;)r=u(E(c),10),GUn(r);e.Vg()}function GMe(n,e,t){var i,r,c,s,f,h,l;if(t)for(c=t.a.length,i=new Qa(c),f=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);f.Ob();)s=u(f.Pb(),17),h=Lm(t,s.a),h&&(l=A4e(bl(h,wF),e),Ve(n.f,l,h),r=Eh in h.a,r&&zm(l,bl(h,Eh)),gS(h,l),Mnn(h,l))}function zMe(n,e,t){var i,r,c,s,f;if(f=t,!f&&(f=JV(new op,0)),f.Ug(IXn,1),SGn(n.c,e),s=JAe(n.a,e),s.gc()==1)sGn(u(s.Xb(0),36),f);else for(c=1/s.gc(),r=s.Kc();r.Ob();){if(i=u(r.Pb(),36),t.$g())return;sGn(i,f.eh(c))}she(n.a,s,e),MSe(e),f.Vg()}function LHn(n,e,t){var i,r,c,s,f;if(r=n.f,!r&&(r=u(n.a.a.ec().Kc().Pb(),60)),S5(r,e,t),n.a.a.gc()!=1)for(i=e*t,s=n.a.a.ec().Kc();s.Ob();)c=u(s.Pb(),60),c!=r&&(f=xp(c),f.f.d?(c.d.d+=i+_f,c.d.a-=i+_f):f.f.a&&(c.d.a-=i+_f))}function wR(n,e,t,i,r){var c,s,f,h,l,a,d,g,p;return s=t-n,f=i-e,c=y.Math.atan2(s,f),h=c+QK,l=c-QK,a=r*y.Math.sin(h)+n,g=r*y.Math.cos(h)+e,d=r*y.Math.sin(l)+n,p=r*y.Math.cos(l)+e,Af(S(C(Ei,1),J,8,0,[new V(a,g),new V(d,p)]))}function XMe(n,e,t,i){var r,c,s,f,h,l,a,d;r=t,a=e,c=a;do c=n.a[c.p],f=(d=n.g[c.p],$(n.p[d.p])+$(n.d[c.p])-c.d.d),h=X4e(c,i),h&&(s=(l=n.g[h.p],$(n.p[l.p])+$(n.d[h.p])+h.o.b+h.d.a),r=y.Math.min(r,f-(s+jg(n.k,c,h))));while(a!=c);return r}function VMe(n,e,t,i){var r,c,s,f,h,l,a,d;r=t,a=e,c=a;do c=n.a[c.p],s=(d=n.g[c.p],$(n.p[d.p])+$(n.d[c.p])+c.o.b+c.d.a),h=Zve(c,i),h&&(f=(l=n.g[h.p],$(n.p[l.p])+$(n.d[h.p])-h.d.d),r=y.Math.min(r,f-(s+jg(n.k,c,h))));while(a!=c);return r}function NHn(n,e){var t;if(e.Ug("Equal Whitespace Eliminator",1),Nf(n,(_h(),GO)))t5e(u(z(n,GO),15),$(B(z(n,Nv))),(t=$(B(z(n,u9))),$(B(z(n,(Bf(),h9)))),t));else throw T(new _l("The graph does not contain rows."));e.Vg()}function z(n,e){var t,i;return i=(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),gf(n.o,e)),i??(t=e.Sg(),L(t,4)&&(t==null?(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),VC(n.o,e)):(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),Gk(n.o,e,t))),t)}function l0(){l0=R,Qs=new bg("H_LEFT",0),xl=new bg("H_CENTER",1),Ys=new bg("H_RIGHT",2),nf=new bg("V_TOP",3),el=new bg("V_CENTER",4),Ts=new bg("V_BOTTOM",5),No=new bg("INSIDE",6),Zs=new bg("OUTSIDE",7),Ms=new bg("H_PRIORITY",8)}function WMe(n,e){var t,i,r,c,s,f,h;if(!e.f)throw T(new Gn("The input edge is not a tree edge."));for(c=null,r=et,i=new M(n.d);i.a<i.c.c.length;)t=u(E(i),218),f=t.d,h=t.e,fR(n,f,e)&&!fR(n,h,e)&&(s=h.e-f.e-t.a,s<r&&(r=s,c=t));return c}function JMe(n){var e,t,i,r,c,s;if(!(n.f.e.c.length<=1)){e=0,r=yHn(n),t=Pt;do{for(e>0&&(r=t),s=new M(n.f.e);s.a<s.c.c.length;)c=u(E(s),153),!on(un(v(c,(qk(),Eon))))&&(i=fIe(n,c),it(ff(c.d),i));t=yHn(n)}while(!D0e(n,e++,r,t))}}function QMe(n,e){var t,i,r,c,s;for(c=n.g.a,s=n.g.b,i=new M(n.d);i.a<i.c.c.length;)t=u(E(i),72),r=t.n,n.a==(xf(),hv)||n.i==(en(),Zn)?r.a=c:n.a==lv||n.i==(en(),Wn)?r.a=c+n.j.a-t.o.a:r.a=c+(n.j.a-t.o.a)/2,r.b=s,it(r,e),s+=t.o.b+n.e}function YMe(n,e){var t,i,r,c,s,f,h,l,a,d;l=n,h=J6(l,"individualSpacings"),h&&(i=Nf(e,(He(),D3)),s=!i,s&&(r=new _A,ht(e,D3,r)),f=u(z(e,D3),385),d=h,c=null,d&&(c=(a=P$(d,F(fn,J,2,0,6,1)),new PL(d,a))),c&&(t=new ETn(d,f),qi(c,t)))}function ZMe(n,e){var t,i,r,c,s,f,h,l,a,d,g;return h=null,d=n,a=null,(jWn in d.a||EWn in d.a||BP in d.a)&&(l=null,g=GQ(e),s=J6(d,jWn),t=new Vkn(g),b8e(t.a,s),f=J6(d,EWn),i=new ryn(g),w8e(i.a,f),c=Tb(d,BP),r=new oyn(g),l=(Zke(r.a,c),c),a=l),h=a,h}function nTe(n,e){var t,i,r;if(e===n)return!0;if(L(e,552)){if(r=u(e,849),n.a.d!=r.a.d||Sg(n).gc()!=Sg(r).gc())return!1;for(i=Sg(r).Kc();i.Ob();)if(t=u(i.Pb(),425),DAn(n,t.a.ld())!=u(t.a.md(),16).gc())return!1;return!0}return!1}function eTe(n){var e,t,i,r;return i=u(n.a,17).a,r=u(n.b,17).a,e=i,t=r,i==0&&r==0?t-=1:i==-1&&r<=0?(e=0,t-=2):i<=0&&r>0?(e-=1,t-=1):i>=0&&r<0?(e+=1,t+=1):i>0&&r>=0?(e-=1,t+=1):(e+=1,t-=1),new bi(Y(e),Y(t))}function tTe(n,e){return n.c<e.c?-1:n.c>e.c?1:n.b<e.b?-1:n.b>e.b?1:n.a!=e.a?mt(n.a)-mt(e.a):n.d==(Q6(),Z8)&&e.d==Y8?-1:n.d==Y8&&e.d==Z8?1:0}function DHn(n,e){var t,i,r,c,s;return c=e.a,c.c.i==e.b?s=c.d:s=c.c,c.c.i==e.b?i=c.c:i=c.d,r=M8e(n.a,s,i),r>0&&r<i2?(t=XMe(n.a,i.i,r,n.c),P$n(n.a,i.i,-t),t>0):r<0&&-r<i2?(t=VMe(n.a,i.i,-r,n.c),P$n(n.a,i.i,t),t>0):!1}function iTe(n,e,t,i){var r,c,s,f,h,l,a,d;for(r=(e-n.d)/n.c.c.length,c=0,n.a+=t,n.d=e,d=new M(n.c);d.a<d.c.c.length;)a=u(E(d),27),l=a.g,h=a.f,eu(a,a.i+c*r),tu(a,a.j+i*t),Pb(a,a.g+r),Sb(a,n.a),++c,f=a.g,s=a.f,P_n(a,new V(f,s),new V(l,h))}function rTe(n){var e,t,i,r,c,s,f;if(n==null)return null;for(f=n.length,r=(f+1)/2|0,s=F(Ru,s2,28,r,15,1),f%2!=0&&(s[--r]=wen((zn(f-1,n.length),n.charCodeAt(f-1)))),t=0,i=0;t<r;++t)e=wen(Xi(n,i++)),c=wen(Xi(n,i++)),s[t]=(e<<4|c)<<24>>24;return s}function cTe(n){if(n.ze()){var e=n.c;e.Ae()?n.o="["+e.n:e.ze()?n.o="["+e.xe():n.o="[L"+e.xe()+";",n.b=e.we()+"[]",n.k=e.ye()+"[]";return}var t=n.j,i=n.d;i=i.split("/"),n.o=mx(".",[t,mx("$",i)]),n.b=mx(".",[t,mx(".",i)]),n.k=i[i.length-1]}function uTe(n,e){var t,i,r,c,s;for(s=null,c=new M(n.e.a);c.a<c.c.c.length;)if(r=u(E(c),125),r.b.a.c.length==r.g.a.c.length){for(i=r.e,s=Fje(r),t=r.e-u(s.a,17).a+1;t<r.e+u(s.b,17).a;t++)e[t]<e[i]&&(i=t);e[i]<e[r.e]&&(--e[r.e],++e[i],r.e=i)}}function gR(n){var e,t,i,r,c,s,f,h;for(r=Pt,i=li,t=new M(n.e.b);t.a<t.c.c.length;)for(e=u(E(t),30),s=new M(e.a);s.a<s.c.c.length;)c=u(E(s),10),h=$(n.p[c.p]),f=h+$(n.b[n.g[c.p].p]),r=y.Math.min(r,h),i=y.Math.max(i,f);return i-r}function $Hn(n){UR();var e,t,i,r;return i=ih(n,wu(35)),e=i==-1?n:(Ri(0,i,n.length),n.substr(0,i)),t=i==-1?null:(zn(i+1,n.length+1),n.substr(i+1)),r=j3e(_dn,e),r?t!=null&&(r=IRn(r,(Jn(t),t))):(r=qNe(e),$3e(_dn,e,r),t!=null&&(r=IRn(r,t))),r}function Vnn(n,e,t,i){var r,c,s,f,h;for(r=Men(n,e),f=0,h=r.gc();f<h;++f)if(c=u(r.Xb(f),179),Sn(i,Pm(Nr(n,c)))){if(s=q7(Nr(n,c)),t==null){if(s==null)return c}else if(Sn(t,s))return c}return null}function Wnn(n,e,t,i){var r,c,s,f,h;for(r=PR(n,e),f=0,h=r.gc();f<h;++f)if(c=u(r.Xb(f),179),Sn(i,Pm(Nr(n,c)))){if(s=q7(Nr(n,c)),t==null){if(s==null)return c}else if(Sn(t,s))return c}return null}function oTe(n,e,t){var i,r,c,s,f,h;if(s=new jE,f=ru(n.e.Dh(),e),i=u(n.g,124),dr(),u(e,69).xk())for(c=0;c<n.i;++c)r=i[c],f.am(r.Lk())&&ve(s,r);else for(c=0;c<n.i;++c)r=i[c],f.am(r.Lk())&&(h=r.md(),ve(s,t?A5(n,e,c,s.i,h):h));return kJ(s)}function xHn(n){var e,t,i,r,c,s,f;if(n&&(e=n.qi(ks),e&&(s=Ae(gf((!e.b&&(e.b=new lo((An(),ar),pc,e)),e.b),"conversionDelegates")),s!=null))){for(f=new Z,i=w0(s,"\\w+"),r=0,c=i.length;r<c;++r)t=i[r],Bn(f.c,t);return f}return Ln(),Ln(),sr}function RHn(n,e){var t,i,r,c,s,f,h,l;for(s=e==1?C_:T_,c=s.a.ec().Kc();c.Ob();)for(r=u(c.Pb(),88),h=u(ot(n.f.c,r),21).Kc();h.Ob();)switch(f=u(h.Pb(),42),i=u(f.b,86),l=u(f.a,194),t=l.c,r.g){case 2:case 1:i.g.d+=t;break;case 4:case 3:i.g.c+=t}}function sTe(n,e){var t,i,r,c,s;for(t=new v5(bv),r=(Yp(),S(C(bv,1),G,232,0,[dv,L8,av,D0,p2,g2])),c=0,s=r.length;c<s;++c)i=r[c],wV(t,i,new Z);return Ut(_r(ut(rc(new Cn(null,new On(n.b,16)),new Cgn),new Sgn),new t7n(e)),new i7n(t)),t}function ES(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=e.Kc();c.Ob();)r=u(c.Pb(),27),a=r.i+r.g/2,g=r.j+r.f/2,h=n.f,s=h.i+h.g/2,f=h.j+h.f/2,l=a-s,d=g-f,i=y.Math.sqrt(l*l+d*d),l*=n.e/i,d*=n.e/i,t?(a-=l,g-=d):(a+=l,g+=d),eu(r,a-r.g/2),tu(r,g-r.f/2)}function Gg(n){var e,t,i;if(!n.c&&n.b!=null){for(e=n.b.length-4;e>=0;e-=2)for(t=0;t<=e;t+=2)(n.b[t]>n.b[t+2]||n.b[t]===n.b[t+2]&&n.b[t+1]>n.b[t+3])&&(i=n.b[t+2],n.b[t+2]=n.b[t],n.b[t]=i,i=n.b[t+3],n.b[t+3]=n.b[t+1],n.b[t+1]=i);n.c=!0}}function fTe(n,e){var t,i,r,c,s,f,h,l,a;for(l=-1,a=0,s=n,f=0,h=s.length;f<h;++f){for(c=s[f],t=new LPn(l==-1?n[0]:n[l],e,(d5(),TO)),i=0;i<c.length;i++)for(r=i+1;r<c.length;r++)kt(c[i],(W(),dt))&&kt(c[r],dt)&&dzn(t,c[i],c[r])>0&&++a;++l}return a}function Hs(n){var e,t;return t=new mo(Xa(n.Rm)),t.a+="@",Be(t,(e=mt(n)>>>0,e.toString(16))),n.Vh()?(t.a+=" (eProxyURI: ",Lc(t,n._h()),n.Kh()&&(t.a+=" eClass: ",Lc(t,n.Kh())),t.a+=")"):n.Kh()&&(t.a+=" (eClass: ",Lc(t,n.Kh()),t.a+=")"),t.a}function N5(n){var e,t,i,r;if(n.e)throw T(new Ar((ll(c_),RK+c_.k+KK)));for(n.d==(ci(),Jf)&&US(n,Kr),t=new M(n.a.a);t.a<t.c.c.length;)e=u(E(t),316),e.g=e.i;for(r=new M(n.a.b);r.a<r.c.c.length;)i=u(E(r),60),i.i=li;return n.b.cf(n),n}function hTe(n,e){var t,i,r,c,s;if(e<2*n.b)throw T(new Gn("The knot vector must have at least two time the dimension elements."));for(n.f=1,r=0;r<n.b;r++)nn(n.e,0);for(s=e+1-2*n.b,t=s,c=1;c<s;c++)nn(n.e,c/t);if(n.d)for(i=0;i<n.b;i++)nn(n.e,1)}function KHn(n,e){var t,i,r,c,s,f,h,l,a;if(l=e,a=u(pC(dD(n.i),l),27),!a)throw r=bl(l,Eh),f="Unable to find elk node for json object '"+r,h=f+"' Panic!",T(new eh(h));c=Tb(l,"edges"),t=new wTn(n,a),WEe(t.a,t.b,c),s=Tb(l,gF),i=new Fkn(n),Z7e(i.a,s)}function BHn(n,e,t,i){var r,c,s,f,h;if(i!=null){if(r=n.d[e],r){for(c=r.g,h=r.i,f=0;f<h;++f)if(s=u(c[f],136),s.Bi()==t&&ct(i,s.ld()))return f}}else if(r=n.d[e],r){for(c=r.g,h=r.i,f=0;f<h;++f)if(s=u(c[f],136),x(s.ld())===x(i))return f}return-1}function M4(n,e){var t,i,r;return t=e==null?Fr(wr(n.f,null)):h6(n.i,e),L(t,241)?(r=u(t,241),r.zi()==null,r):L(t,507)?(i=u(t,2037),r=i.a,r&&(r.yb==null||(e==null?Vc(n.f,null,r):Nb(n.i,e,r))),r):null}function lTe(n){aen();var e,t,i,r,c,s,f;if(n==null||(r=n.length,r%2!=0))return null;for(e=iC(n),c=r/2|0,t=F(Ru,s2,28,c,15,1),i=0;i<c;i++){if(s=R9[e[i*2]],s==-1||(f=R9[e[i*2+1]],f==-1))return null;t[i]=(s<<4|f)<<24>>24}return t}function aTe(n,e,t){var i,r,c;if(r=u(Mr(n.i,e),314),!r)if(r=new v$n(n.d,e,t),Ip(n.i,e,r),nZ(e))g1e(n.a,e.c,e.b,r);else switch(c=Wje(e),i=u(Mr(n.p,c),252),c.g){case 1:case 3:r.j=!0,mL(i,e.b,r);break;case 4:case 2:r.k=!0,mL(i,e.c,r)}return r}function dTe(n,e){var t,i,r,c,s,f,h,l,a;for(h=Lh(n.c-n.b&n.a.length-1),l=null,a=null,c=new z6(n);c.a!=c.b;)r=u(xC(c),10),t=(f=u(v(r,(W(),yf)),12),f?f.i:null),i=(s=u(v(r,Es),12),s?s.i:null),(l!=t||a!=i)&&(pHn(h,e),l=t,a=i),Bn(h.c,r);pHn(h,e)}function bTe(n,e,t,i){var r,c,s,f,h,l;if(f=new jE,h=ru(n.e.Dh(),e),r=u(n.g,124),dr(),u(e,69).xk())for(s=0;s<n.i;++s)c=r[s],h.am(c.Lk())&&ve(f,c);else for(s=0;s<n.i;++s)c=r[s],h.am(c.Lk())&&(l=c.md(),ve(f,i?A5(n,e,s,f.i,l):l));return XY(f,t)}function FHn(n,e){var t,i,r,c,s,f,h,l;if(r=n.b[e.p],r>=0)return r;for(c=1,f=new M(e.j);f.a<f.c.c.length;)for(s=u(E(f),12),i=new M(s.g);i.a<i.c.c.length;)t=u(E(i),18),l=t.d.i,e!=l&&(h=FHn(n,l),c=y.Math.max(c,h+1));return f8e(n,e,c),c}function _Hn(n,e){var t,i,r,c,s,f,h,l;if(r=n.b[e.p],r>=0)return r;for(c=1,f=new M(e.j);f.a<f.c.c.length;)for(s=u(E(f),12),i=new M(s.e);i.a<i.c.c.length;)t=u(E(i),18),l=t.c.i,e!=l&&(h=_Hn(n,l),c=y.Math.max(c,h+1));return F9e(n,e,c),c}function HHn(n,e,t){var i,r,c;for(i=1;i<n.c.length;i++){for(c=(Nn(i,n.c.length),u(n.c[i],10)),r=i;r>0&&e.Ne((Nn(r-1,n.c.length),u(n.c[r-1],10)),c)>0;)Go(n,r,(Nn(r-1,n.c.length),u(n.c[r-1],10))),--r;Nn(r,n.c.length),n.c[r]=c}t.a=new de,t.b=new de}function wTe(n,e,t){var i,r,c,s,f,h,l,a;for(a=(i=u(e.e&&e.e(),9),new _o(i,u(xs(i,i.length),9),0)),h=w0(t,"[\\[\\]\\s,]+"),c=h,s=0,f=c.length;s<f;++s)if(r=c[s],f0(r).length!=0){if(l=J_n(n,r),l==null)return null;_s(a,u(l,22))}return a}function gTe(n){var e,t,i,r;for(r=n.length,e=null,i=0;i<r;i++)t=(zn(i,n.length),n.charCodeAt(i)),ih(".*+?{[()|\\^$",wu(t))>=0?(e||(e=new e6,i>0&&Er(e,(Ri(0,i,n.length),n.substr(0,i)))),e.a+="\\",Tm(e,t&ui)):e&&Tm(e,t&ui);return e?e.a:n}function pTe(n){var e,t,i;for(t=new M(n.a.a.b);t.a<t.c.c.length;)e=u(E(t),86),i=(Jn(0),0),i>0&&(!(hl(n.a.c)&&e.n.d)&&!(vg(n.a.c)&&e.n.b)&&(e.g.d-=y.Math.max(0,i/2-.5)),!(hl(n.a.c)&&e.n.a)&&!(vg(n.a.c)&&e.n.c)&&(e.g.a+=y.Math.max(0,i-1)))}function qHn(n,e,t){var i,r;if((n.c-n.b&n.a.length-1)==2)e==(en(),Xn)||e==Zn?(sC(u(f5(n),15),(Co(),nl)),sC(u(f5(n),15),Pa)):(sC(u(f5(n),15),(Co(),Pa)),sC(u(f5(n),15),nl));else for(r=new z6(n);r.a!=r.b;)i=u(xC(r),15),sC(i,t)}function mTe(n,e){var t,i,r,c,s,f,h;for(r=km(new DG(n)),f=new xi(r,r.c.length),c=km(new DG(e)),h=new xi(c,c.c.length),s=null;f.b>0&&h.b>0&&(t=(oe(f.b>0),u(f.a.Xb(f.c=--f.b),27)),i=(oe(h.b>0),u(h.a.Xb(h.c=--h.b),27)),t==i);)s=t;return s}function UHn(n,e,t){var i,r,c,s;UAn(n,e)>UAn(n,t)?(i=uc(t,(en(),Zn)),n.d=i.dc()?0:zN(u(i.Xb(0),12)),s=uc(e,Wn),n.b=s.dc()?0:zN(u(s.Xb(0),12))):(r=uc(t,(en(),Wn)),n.d=r.dc()?0:zN(u(r.Xb(0),12)),c=uc(e,Zn),n.b=c.dc()?0:zN(u(c.Xb(0),12)))}function GHn(n,e){var t,i,r,c;for(t=n.o.a,c=u(u(ot(n.r,e),21),87).Kc();c.Ob();)r=u(c.Pb(),117),r.e.a=t*$(B(r.b.of(bI))),r.e.b=(i=r.b,i.pf((He(),oo))?i.ag()==(en(),Xn)?-i.Mf().b-$(B(i.of(oo))):$(B(i.of(oo))):i.ag()==(en(),Xn)?-i.Mf().b:0)}function vTe(n,e){var t,i,r,c;for(e.Ug("Self-Loop pre-processing",1),i=new M(n.a);i.a<i.c.c.length;)t=u(E(i),10),c8e(t)&&(r=(c=new iBn(t),U(t,(W(),sw),c),qPe(c),c),Ut(_r(rc(new Cn(null,new On(r.d,16)),new b2n),new w2n),new g2n),xCe(r));e.Vg()}function kTe(n){var e,t,i,r,c,s,f,h;e=!0,r=null,c=null;n:for(h=new M(n.a);h.a<h.c.c.length;)for(f=u(E(h),10),i=new ie(ce(ji(f).a.Kc(),new En));pe(i);){if(t=u(fe(i),18),r&&r!=f){e=!1;break n}if(r=f,s=t.c.i,c&&c!=s){e=!1;break n}c=s}return e}function yTe(n,e,t){var i,r,c,s,f,h;for(c=-1,f=-1,s=0;s<e.c.length&&(r=(Nn(s,e.c.length),u(e.c[s],339)),!(r.c>n.c));s++)r.a>=n.s&&(c<0&&(c=s),f=s);return h=(n.s+n.c)/2,c>=0&&(i=oPe(n,e,c,f),h=cle((Nn(i,e.c.length),u(e.c[i],339))),aMe(e,i,t)),h}function Te(n,e,t){var i,r,c,s,f,h,l;for(s=(c=new nG,c),PQ(s,(Jn(e),e)),l=(!s.b&&(s.b=new lo((An(),ar),pc,s)),s.b),h=1;h<t.length;h+=2)Gk(l,t[h-1],t[h]);for(i=(!n.Ab&&(n.Ab=new q(Ue,n,0,3)),n.Ab),f=0;f<0;++f)r=R0e(u(N(i,i.i-1),598)),i=r;ve(i,s)}function zHn(n,e,t){var i,r,c;for(jae.call(this,new Z),this.a=e,this.b=t,this.e=n,i=(n.b&&xR(n),n.a),this.d=jOn(i.a,this.a),this.c=jOn(i.b,this.b),g5e(this,this.d,this.c),HEe(this),c=this.e.e.a.ec().Kc();c.Ob();)r=u(c.Pb(),272),r.c.c.length>0&&iAe(this,r)}function Jnn(n,e,t,i,r,c){var s,f,h;if(!r[e.a]){for(r[e.a]=!0,s=i,!s&&(s=new zT),nn(s.e,e),h=c[e.a].Kc();h.Ob();)f=u(h.Pb(),289),!(f.d==t||f.c==t)&&(f.c!=e&&Jnn(n,f.c,e,s,r,c),f.d!=e&&Jnn(n,f.d,e,s,r,c),nn(s.c,f),hi(s.d,f.b));return s}return null}function jTe(n){var e,t,i,r,c,s,f;for(e=0,r=new M(n.e);r.a<r.c.c.length;)i=u(E(r),18),t=Ag(new Cn(null,new On(i.b,16)),new U0n),t&&++e;for(s=new M(n.g);s.a<s.c.c.length;)c=u(E(s),18),f=Ag(new Cn(null,new On(c.b,16)),new G0n),f&&++e;return e>=2}function ETe(n,e,t,i,r){var c,s,f,h,l,a;for(c=n.c.d.j,s=u(Zo(t,0),8),a=1;a<t.b;a++)l=u(Zo(t,a),8),xt(i,s,i.c.b,i.c),f=ch(it(new rr(s),l),.5),h=ch(new KD(cY(c)),r),it(f,h),xt(i,f,i.c.b,i.c),s=l,c=e==0?BC(c):CY(c);Re(i,(oe(t.b!=0),u(t.c.b.c,8)))}function MTe(n){l0();var e,t,i;return t=yt(No,S(C(yr,1),G,95,0,[Zs])),!(vk(LT(t,n))>1||(e=yt(Qs,S(C(yr,1),G,95,0,[xl,Ys])),vk(LT(e,n))>1)||(i=yt(nf,S(C(yr,1),G,95,0,[el,Ts])),vk(LT(i,n))>1))}function Qnn(n,e,t){var i,r,c;for(c=new M(n.t);c.a<c.c.c.length;)i=u(E(c),274),i.b.s<0&&i.c>0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Re(e,i.b));for(r=new M(n.i);r.a<r.c.c.length;)i=u(E(r),274),i.a.s<0&&i.c>0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Re(t,i.a))}function MS(n){var e,t,i,r,c;if(n.g==null&&(n.d=n.bj(n.f),ve(n,n.d),n.c))return c=n.f,c;if(e=u(n.g[n.i-1],51),r=e.Pb(),n.e=e,t=n.bj(r),t.Ob())n.d=t,ve(n,t);else for(n.d=null;!e.Ob()&&($t(n.g,--n.i,null),n.i!=0);)i=u(n.g[n.i-1],51),e=i;return r}function TTe(n,e){var t,i,r,c,s,f;if(i=e,r=i.Lk(),Pl(n.e,r)){if(r.Si()&&_T(n,r,i.md()))return!1}else for(f=ru(n.e.Dh(),r),t=u(n.g,124),c=0;c<n.i;++c)if(s=t[c],f.am(s.Lk()))return ct(s,i)?!1:(u(Bg(n,c,e),76),!0);return ve(n,e)}function CTe(n,e,t,i){var r,c,s,f;for(r=new Cl(n),Ha(r,(Vn(),Sc)),U(r,(W(),st),e),U(r,K8,i),U(r,(cn(),_t),(Ai(),qc)),U(r,yf,e.c),U(r,Es,e.d),kqn(e,r),f=y.Math.floor(t/2),s=new M(r.j);s.a<s.c.c.length;)c=u(E(s),12),c.n.b=f;return r}function XHn(n){var e,t,i,r,c,s,f;for(e=0,i=new M(n.a);i.a<i.c.c.length;)for(t=u(E(i),10),c=new ie(ce(Qt(t).a.Kc(),new En));pe(c);)r=u(fe(c),18),n==r.d.i.c&&r.c.j==(en(),Wn)&&(s=Of(r.c).b,f=Of(r.d).b,e=y.Math.max(e,y.Math.abs(f-s)));return e}function VHn(n,e,t){var i,r,c,s,f;for(t.Ug("ELK Force",1),on(un(z(e,(Us(),won))))||NT((i=new z9((Aw(),new Pw(e))),i)),f=sRn(e),z7e(f),b6e(n,u(v(f,bon),432)),s=FUn(n.a,f),c=s.Kc();c.Ob();)r=u(c.Pb(),235),pIe(n.b,r,t.eh(1/s.gc()));f=nzn(s),hzn(f),t.Vg()}function Ynn(n,e,t){switch(t.g){case 1:return new V(e.a,y.Math.min(n.d.b,e.b));case 2:return new V(y.Math.max(n.c.a,e.a),e.b);case 3:return new V(e.a,y.Math.max(n.c.b,e.b));case 4:return new V(y.Math.min(e.a,n.d.a),e.b)}return new V(e.a,e.b)}function ry(n){var e,t,i;for(e=Lh(1+(!n.c&&(n.c=new q(Qu,n,9,9)),n.c).i),nn(e,(!n.d&&(n.d=new Dn(Vt,n,8,5)),n.d)),i=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));i.e!=i.i.gc();)t=u(ue(i),123),nn(e,(!t.d&&(t.d=new Dn(Vt,t,8,5)),t.d));return Pe(e),new T6(e)}function Sl(n){var e,t,i;for(e=Lh(1+(!n.c&&(n.c=new q(Qu,n,9,9)),n.c).i),nn(e,(!n.e&&(n.e=new Dn(Vt,n,7,4)),n.e)),i=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));i.e!=i.i.gc();)t=u(ue(i),123),nn(e,(!t.e&&(t.e=new Dn(Vt,t,7,4)),t.e));return Pe(e),new T6(e)}function STe(n){var e,t,i,r;if(n==null)return null;if(i=Rc(n,!0),r=Zy.length,Sn(i.substr(i.length-r,r),Zy)){if(t=i.length,t==4){if(e=(zn(0,i.length),i.charCodeAt(0)),e==43)return obn;if(e==45)return mse}else if(t==3)return obn}return s0(i)}function PTe(n,e){var t,i,r,c,s;if(e.Ug("Breaking Point Processor",1),lLe(n),on(un(v(n,(cn(),Ehn))))){for(r=new M(n.b);r.a<r.c.c.length;)for(i=u(E(r),30),t=0,s=new M(i.a);s.a<s.c.c.length;)c=u(E(s),10),c.p=t++;uOe(n),aqn(n,!0),aqn(n,!1)}e.Vg()}function ITe(n,e,t,i){var r,c,s,f,h,l,a,d,g;for(d=i?(en(),Wn):(en(),Zn),r=!1,h=e[t],l=0,a=h.length;l<a;++l)f=h[l],!Ep(u(v(f,(cn(),_t)),101))&&(s=f.e,g=!uc(f,d).dc()&&!!s,g&&(c=zZ(s),n.b=new VZ(c,i?0:c.length-1)),r=r|gSe(n,f,d,g));return r}function WHn(n,e,t,i){var r,c,s;if(s=xZ(e,t),Bn(i.c,e),n.j[s.p]==-1||n.j[s.p]==2||n.a[e.p])return i;for(n.j[s.p]=-1,c=new ie(ce(Ml(s).a.Kc(),new En));pe(c);)if(r=u(fe(c),18),!(!(!fr(r)&&!(!fr(r)&&r.c.i.c==r.d.i.c))||r==e))return WHn(n,r,s,i);return i}function OTe(n){var e,t,i,r;for(e=0,t=0,r=new M(n.j);r.a<r.c.c.length;)if(i=u(E(r),12),e=Se(nr(e,KNn(ut(new Cn(null,new On(i.e,16)),new b3n)))),t=Se(nr(t,KNn(ut(new Cn(null,new On(i.g,16)),new w3n)))),e>1||t>1)return 2;return e+t==1?2:0}function to(n,e){var t,i,r,c,s,f;return c=n.a*NK+n.b*1502,f=n.b*NK+11,t=y.Math.floor(f*Iy),c+=t,f-=t*ytn,c%=ytn,n.a=c,n.b=f,e<=24?y.Math.floor(n.a*Aun[e]):(r=n.a*(1<<e-24),s=y.Math.floor(n.b*Lun[e]),i=r+s,i>=2147483648&&(i-=4294967296),i)}function JHn(n,e,t){var i,r,c,s,f,h,l;for(c=new Z,l=new Mt,s=new Mt,XIe(n,l,s,e),TAe(n,l,s,e,t),h=new M(n);h.a<h.c.c.length;)for(f=u(E(h),118),r=new M(f.k);r.a<r.c.c.length;)i=u(E(r),132),(!e||i.c==(af(),Ma))&&f.g>i.b.g&&Bn(c.c,i);return c}function ATe(n,e,t){var i,r,c,s,f,h;for(f=n.c,s=(t.q?t.q:(Ln(),Ln(),Wh)).vc().Kc();s.Ob();)c=u(s.Pb(),44),i=!om(ut(new Cn(null,new On(f,16)),new Y3(new cTn(e,c)))).Bd((Va(),v3)),i&&(h=c.md(),L(h,4)&&(r=iZ(h),r!=null&&(h=r)),e.qf(u(c.ld(),149),h))}function LTe(n,e,t){var i,r;if(H7(n.b),hf(n.b,(Dk(),XO),(u6(),_j)),hf(n.b,VO,e.g),hf(n.b,WO,e.a),n.a=wy(n.b,e),t.Ug("Compaction by shrinking a tree",n.a.c.length),e.i.c.length>1)for(r=new M(n.a);r.a<r.c.c.length;)i=u(E(r),47),i.Kf(e,t.eh(1));t.Vg()}function Znn(n,e,t){var i,r,c;if(c=Qg((Lu(),zi),n.Dh(),e),c){if(dr(),!u(c,69).xk()&&(c=$p(Nr(zi,c)),!c))throw T(new Gn(wa+e.xe()+a8));r=(i=n.Ih(c),u(i>=0?n.Lh(i,!0,!0):Fb(n,c,!0),160)),u(r,220).Xl(e,t)}else throw T(new Gn(wa+e.xe()+a8))}function TS(n,e){var t,i,r,c,s;if(e){for(c=L(n.Cb,90)||L(n.Cb,102),s=!c&&L(n.Cb,331),i=new ne((!e.a&&(e.a=new x6(e,jr,e)),e.a));i.e!=i.i.gc();)if(t=u(ue(i),89),r=KS(t),c?L(r,90):s?L(r,156):r)return r;return c?(An(),Os):(An(),Zf)}else return null}function NTe(n,e){var t,i,r,c;for(e.Ug("Resize child graph to fit parent.",1),i=new M(n.b);i.a<i.c.c.length;)t=u(E(i),30),hi(n.a,t.a),t.a.c.length=0;for(c=new M(n.a);c.a<c.c.c.length;)r=u(E(c),10),$i(r,null);n.b.c.length=0,ZCe(n),n.e&&JPe(n.e,n),e.Vg()}function DTe(n,e){var t,i,r,c,s;for(e.Ug("Edge joining",1),t=on(un(v(n,(cn(),AH)))),r=new M(n.b);r.a<r.c.c.length;)for(i=u(E(r),30),s=new xi(i.a,0);s.b<s.d.gc();)c=(oe(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),10)),c.k==(Vn(),Ti)&&(XR(c,t),bo(s));e.Vg()}function $Te(n,e){var t,i,r,c,s;for(t=new Z,r=rc(new Cn(null,new On(n,16)),new N3n),c=rc(new Cn(null,new On(n,16)),new D3n),s=Gme(fme(Uw(bCe(S(C(dDe,1),Rn,848,0,[r,c])),new $3n))),i=1;i<s.length;i++)s[i]-s[i-1]>=2*e&&nn(t,new FN(s[i-1]+e,s[i]-e));return t}function xTe(n,e,t){var i,r,c,s,f,h,l,a;if(t)for(c=t.a.length,i=new Qa(c),f=(i.b-i.a)*i.c<0?(_1(),Ra):new U1(i);f.Ob();)s=u(f.Pb(),17),r=Lm(t,s.a),r&&(h=a3e(n,(l=(B1(),a=new ZG,a),e&&nen(l,e),l),r),zm(h,bl(r,Eh)),gS(r,h),Mnn(r,h),_$(n,r,h))}function CS(n){var e,t,i,r,c,s;if(!n.j){if(s=new Evn,e=N9,c=e.a.zc(n,e),c==null){for(i=new ne(Hr(n));i.e!=i.i.gc();)t=u(ue(i),29),r=CS(t),Bt(s,r),ve(s,t);e.a.Bc(n)!=null}e0(s),n.j=new pg((u(N(H((z1(),Hn).o),11),19),s.i),s.g),Zu(n).b&=-33}return n.j}function RTe(n){var e,t,i,r;if(n==null)return null;if(i=Rc(n,!0),r=Zy.length,Sn(i.substr(i.length-r,r),Zy)){if(t=i.length,t==4){if(e=(zn(0,i.length),i.charCodeAt(0)),e==43)return sbn;if(e==45)return vse}else if(t==3)return sbn}return new HG(i)}function KTe(n){var e,t,i;return t=n.l,t&t-1||(i=n.m,i&i-1)||(e=n.h,e&e-1)||e==0&&i==0&&t==0?-1:e==0&&i==0&&t!=0?mQ(t):e==0&&i!=0&&t==0?mQ(i)+22:e!=0&&i==0&&t==0?mQ(e)+44:-1}function zg(n,e){var t,i,r,c,s;for(r=e.a&n.f,c=null,i=n.b[r];;i=i.b){if(i==e){c?c.b=e.b:n.b[r]=e.b;break}c=i}for(s=e.f&n.f,c=null,t=n.c[s];;t=t.d){if(t==e){c?c.d=e.d:n.c[s]=e.d;break}c=t}e.e?e.e.c=e.c:n.a=e.c,e.c?e.c.e=e.e:n.e=e.e,--n.i,++n.g}function BTe(n,e){var t;e.d?e.d.b=e.b:n.a=e.b,e.b?e.b.d=e.d:n.e=e.d,!e.e&&!e.c?(t=u(as(u(Kp(n.b,e.a),260)),260),t.a=0,++n.c):(t=u(as(u(ee(n.b,e.a),260)),260),--t.a,e.e?e.e.c=e.c:t.b=u(as(e.c),511),e.c?e.c.e=e.e:t.c=u(as(e.e),511)),--n.d}function FTe(n){var e,t,i,r,c,s,f,h,l,a;for(t=n.o,e=n.p,s=et,r=Wi,f=et,c=Wi,l=0;l<t;++l)for(a=0;a<e;++a)Fg(n,l,a)&&(s=y.Math.min(s,l),r=y.Math.max(r,l),f=y.Math.min(f,a),c=y.Math.max(c,a));return h=r-s+1,i=c-f+1,new TOn(Y(s),Y(f),Y(h),Y(i))}function pR(n,e){var t,i,r,c;for(c=new xi(n,0),t=(oe(c.b<c.d.gc()),u(c.d.Xb(c.c=c.b++),148));c.b<c.d.gc();)i=(oe(c.b<c.d.gc()),u(c.d.Xb(c.c=c.b++),148)),r=new qV(i.c,t.d,e),oe(c.b>0),c.a.Xb(c.c=--c.b),Bw(c,r),oe(c.b<c.d.gc()),c.d.Xb(c.c=c.b++),r.a=!1,t=i}function QHn(n){var e,t,i,r,c,s;for(r=u(v(n,(W(),tO)),12),s=new M(n.j);s.a<s.c.c.length;){for(c=u(E(s),12),i=new M(c.g);i.a<i.c.c.length;)return e=u(E(i),18),Oi(e,r),c;for(t=new M(c.e);t.a<t.c.c.length;)return e=u(E(t),18),Zi(e,r),c}return null}function YHn(n,e,t){var i,r,c,s,f,h;for(h=u(xw(n.a,e),17).a,t?XZ(n.a,Y(h+1),e):XZ(n.a,Y(h-1),e),s=new rh,r=new ie(ce((t?Qt(e):ji(e)).a.Kc(),new En));pe(r);)i=u(fe(r),18),t?c=i.d.i:c=i.c.i,x(xw(n.a,c))===x(xw(n.a,e))&&(f=s.a.zc(c,s),f==null);return s}function _Te(n,e,t){var i,r;i=vc(t.q.getTime()),Ec(i,0)<0?(r=d1-Se(Rk(n1(i),d1)),r==d1&&(r=0)):r=Se(Rk(i,d1)),e==1?(r=y.Math.min((r+50)/100|0,9),X1(n,48+r&ui)):e==2?(r=y.Math.min((r+5)/10|0,99),Kh(n,r,2)):(Kh(n,r,3),e>3&&Kh(n,0,e-3))}function HTe(n){var e,t,i,r;return x(v(n,(cn(),K0)))===x((jl(),T1))?!n.e&&x(v(n,Ej))!==x((Ym(),pj)):(i=u(v(n,kH),298),r=on(un(v(n,yH)))||x(v(n,H8))===x((i5(),gj)),e=u(v(n,Ffn),17).a,t=n.a.c.length,!r&&i!=(Ym(),pj)&&(e==0||e>t))}function qTe(n){var e,t;for(t=0;t<n.c.length&&!(qPn((Nn(t,n.c.length),u(n.c[t],113)))>0);t++);if(t>0&&t<n.c.length-1)return t;for(e=0;e<n.c.length&&!(qPn((Nn(e,n.c.length),u(n.c[e],113)))>0);e++);return e>0&&t<n.c.length-1?e:n.c.length/2|0}function ZHn(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=6&&e){if(p4(n,e))throw T(new Gn(d8+dHn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?MZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,6,i)),i=sV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,6,e,e))}function SS(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=3&&e){if(p4(n,e))throw T(new Gn(d8+nGn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?PZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,12,i)),i=fV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,3,e,e))}function nen(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=9&&e){if(p4(n,e))throw T(new Gn(d8+Yqn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?CZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,9,i)),i=hV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,9,e,e))}function T4(n){var e,t,i,r,c;if(i=gs(n),c=n.j,c==null&&i)return n.Jk()?null:i.ik();if(L(i,156)){if(t=i.jk(),t&&(r=t.wi(),r!=n.i)){if(e=u(i,156),e.nk())try{n.g=r.ti(e,c)}catch(s){if(s=Ot(s),L(s,82))n.g=null;else throw T(s)}n.i=r}return n.g}return null}function nqn(n){var e;return e=new Z,nn(e,new bp(new V(n.c,n.d),new V(n.c+n.b,n.d))),nn(e,new bp(new V(n.c,n.d),new V(n.c,n.d+n.a))),nn(e,new bp(new V(n.c+n.b,n.d+n.a),new V(n.c+n.b,n.d))),nn(e,new bp(new V(n.c+n.b,n.d+n.a),new V(n.c,n.d+n.a))),e}function UTe(n){var e,t,i;if(n==null)return gu;try{return Jr(n)}catch(r){if(r=Ot(r),L(r,103))return e=r,i=Xa(wo(n))+"@"+(t=(fl(),tZ(n)>>>0),t.toString(16)),r9e(qve(),(lm(),"Exception during lenientFormat for "+i),e),"<"+i+" threw "+Xa(e.Rm)+">";throw T(r)}}function GTe(n,e,t){var i,r,c;for(c=e.a.ec().Kc();c.Ob();)r=u(c.Pb(),74),i=u(ee(n.b,r),272),!i&&(St(Fh(r))==St(ca(r))?LCe(n,r,t):Fh(r)==St(ca(r))?ee(n.c,r)==null&&ee(n.b,ca(r))!=null&&LGn(n,r,t,!1):ee(n.d,r)==null&&ee(n.b,Fh(r))!=null&&LGn(n,r,t,!0))}function zTe(n,e){var t,i,r,c,s,f,h;for(r=n.Kc();r.Ob();)for(i=u(r.Pb(),10),f=new Ic,ic(f,i),gi(f,(en(),Zn)),U(f,(W(),uO),(_n(),!0)),s=e.Kc();s.Ob();)c=u(s.Pb(),10),h=new Ic,ic(h,c),gi(h,Wn),U(h,uO,!0),t=new yb,U(t,uO,!0),Zi(t,f),Oi(t,h)}function XTe(n,e,t,i){var r,c,s,f;r=RKn(n,e,t),c=RKn(n,t,e),s=u(ee(n.c,e),118),f=u(ee(n.c,t),118),r<c?new ed((af(),z0),s,f,c-r):c<r?new ed((af(),z0),f,s,r-c):(r!=0||!(!e.i||!t.i)&&i[e.i.c][t.i.c])&&(new ed((af(),z0),s,f,0),new ed(z0,f,s,0))}function eqn(n,e){var t,i,r,c,s,f,h;for(r=0,s=new M(e.a);s.a<s.c.c.length;)for(c=u(E(s),10),r+=c.o.b+c.d.a+c.d.d+n.e,i=new ie(ce(ji(c).a.Kc(),new En));pe(i);)t=u(fe(i),18),t.c.i.k==(Vn(),_c)&&(h=t.c.i,f=u(v(h,(W(),st)),10),r+=f.o.b+f.d.a+f.d.d);return r}function D5(){D5=R,D2=new b7("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),A3=new b7("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),a9=new b7("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),l9=new b7("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),Fj=new b7("WHOLE_DRAWING",4)}function VTe(n,e){if(L(e,207))return m5e(n,u(e,27));if(L(e,193))return T5e(n,u(e,123));if(L(e,366))return wge(n,u(e,135));if(L(e,326))return LIe(n,u(e,74));if(e)return null;throw T(new Gn(Acn+ua(new Fu(S(C(ki,1),Rn,1,5,[e])))))}function WTe(n){var e,t,i,r,c,s,f;for(c=new Mt,r=new M(n.d.a);r.a<r.c.c.length;)i=u(E(r),125),i.b.a.c.length==0&&xt(c,i,c.c.b,c.c);if(c.b>1)for(e=sb((t=new za,++n.b,t),n.d),f=ge(c,0);f.b!=f.d.c;)s=u(be(f),125),qs(Ns(Ls(Ds(As(new hs,1),0),e),s))}function JTe(n,e,t){var i,r,c,s,f;for(t.Ug("Breaking Point Removing",1),n.a=u(v(e,(cn(),$l)),223),c=new M(e.b);c.a<c.c.c.length;)for(r=u(E(c),30),f=new M(Mb(r.a));f.a<f.c.c.length;)s=u(E(f),10),i$n(s)&&(i=u(v(s,(W(),cw)),313),!i.d&&GGn(n,i));t.Vg()}function PS(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=11&&e){if(p4(n,e))throw T(new Gn(d8+ken(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?IZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=Wp(e,n,10,i)),i=vV(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,11,e,e))}function QTe(n){var e,t,i,r;for(i=new sd(new Ua(n.b).a);i.b;)t=Ab(i),r=u(t.ld(),12),e=u(t.md(),10),U(e,(W(),st),r),U(r,Xu,e),U(r,kj,(_n(),!0)),gi(r,u(v(e,gc),64)),v(e,gc),U(r.i,(cn(),_t),(Ai(),Bv)),u(v(Hi(r.i),Hc),21).Fc((pr(),kv))}function YTe(n,e,t){var i,r,c,s,f,h;if(c=0,s=0,n.c)for(h=new M(n.d.i.j);h.a<h.c.c.length;)f=u(E(h),12),c+=f.e.c.length;else c=1;if(n.d)for(h=new M(n.c.i.j);h.a<h.c.c.length;)f=u(E(h),12),s+=f.g.c.length;else s=1;return r=wi(K7(s-c)),i=(t+e)/2+(t-e)*(.4*r),i}function ZTe(n){o0();var e,t;if(n.Hc((en(),sc)))throw T(new Gn("Port sides must not contain UNDEFINED"));switch(n.gc()){case 1:return wj;case 2:return e=n.Hc(Zn)&&n.Hc(Wn),t=n.Hc(Xn)&&n.Hc(ae),e||t?XI:zI;case 3:return GI;case 4:return UI;default:return null}}function mR(n,e,t){return Vg(),Vm(n,e)&&Vm(n,t)?!1:WR(new V(n.c,n.d),new V(n.c+n.b,n.d),e,t)||WR(new V(n.c+n.b,n.d),new V(n.c+n.b,n.d+n.a),e,t)||WR(new V(n.c+n.b,n.d+n.a),new V(n.c,n.d+n.a),e,t)||WR(new V(n.c,n.d+n.a),new V(n.c,n.d),e,t)}function een(n,e){var t,i,r,c;if(!n.dc()){for(t=0,i=n.gc();t<i;++t)if(c=Ae(n.Xb(t)),c==null?e==null:Sn(c.substr(0,3),"!##")?e!=null&&(r=e.length,!Sn(c.substr(c.length-r,r),e)||c.length!=e.length+3)&&!Sn(Pd,e):Sn(c,OF)&&!Sn(Pd,e)||Sn(c,e))return!0}return!1}function nCe(n,e,t,i){var r,c,s,f,h,l;for(s=n.j.c.length,h=F(gDe,Ltn,314,s,0,1),f=0;f<s;f++)c=u(sn(n.j,f),12),c.p=f,h[f]=lMe(THn(c),t,i);for(TCe(n,h,t,e,i),l=new de,r=0;r<h.length;r++)h[r]&&Ve(l,u(sn(n.j,r),12),h[r]);l.f.c+l.i.c!=0&&(U(n,(W(),R8),l),Tje(n,h))}function eCe(n,e){var t,i,r,c,s,f;for(e.Ug("Partition postprocessing",1),i=new M(n.b);i.a<i.c.c.length;)for(t=u(E(i),30),c=new M(t.a);c.a<c.c.c.length;)for(r=u(E(c),10),f=new M(r.j);f.a<f.c.c.length;)s=u(E(f),12),on(un(v(s,(W(),uO))))&&_6(f);e.Vg()}function tCe(n,e,t){var i,r,c;for(r=new M(n.a.b);r.a<r.c.c.length;)if(i=u(E(r),60),c=Ig(i),c&&c.k==(Vn(),Zt))switch(u(v(c,(W(),gc)),64).g){case 4:c.n.a=e.a;break;case 2:c.n.a=t.a-(c.o.a+c.d.c);break;case 1:c.n.b=e.b;break;case 3:c.n.b=t.b-(c.o.b+c.d.a)}}function iCe(n,e,t){var i,r,c;for(t.Ug("Processor determine the height for each level",1),n.a=e.b.b==0?1:e.b.b,r=null,i=ge(e.b,0);!r&&i.b!=i.d.c;)c=u(be(i),39),on(un(v(c,(pt(),Ca))))&&(r=c);r&&UUn(n,Af(S(C(DO,1),AP,39,0,[r])),t,u(v(e,(lc(),pw)),88)),t.Vg()}function rCe(n){var e,t,i,r,c,s;for(i=(B1(),c=new Jv,c),cy(i,n),t=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));t.e!=t.i.gc();)e=u(ue(t),27),s=(r=new Jv,r),PS(s,i),kg(s,e.g,e.f),zm(s,e.k),Bo(s,e.i,e.j),ve((!i.a&&(i.a=new q(Ye,i,10,11)),i.a),s),cy(s,e);return i}function cCe(n,e,t){var i,r,c,s,f;return r=u(z(e,(mS(),ban)),17),!r&&(r=Y(0)),c=u(z(t,ban),17),!c&&(c=Y(0)),r.a>c.a?-1:r.a<c.a?1:n.a&&(i=bt(e.j,t.j),i!=0||(i=bt(e.i,t.i),i!=0))?i:(s=e.g*e.f,f=t.g*t.f,bt(s,f))}function uCe(n,e){var t,i,r,c,s,f,h,l,a,d;if(++n.e,h=n.d==null?0:n.d.length,e>h){for(a=n.d,n.d=F(Ndn,Fcn,66,2*h+4,0,1),c=0;c<h;++c)if(l=a[c],l)for(i=l.g,d=l.i,f=0;f<d;++f)r=u(i[f],136),s=lV(n,r.Bi()),t=n.d[s],!t&&(t=n.d[s]=n.dk()),t.Fc(r);return!0}else return!1}function oCe(n,e,t){var i,r,c,s,f,h;if(r=t,c=r.Lk(),Pl(n.e,c)){if(c.Si()){for(i=u(n.g,124),s=0;s<n.i;++s)if(f=i[s],ct(f,r)&&s!=e)throw T(new Gn(Xy))}}else for(h=ru(n.e.Dh(),c),i=u(n.g,124),s=0;s<n.i;++s)if(f=i[s],h.am(f.Lk()))throw T(new Gn(Yy));p5(n,e,t)}function tqn(n,e){var t,i,r,c,s,f;for(t=u(v(e,(W(),Dl)),21),s=u(ot((YR(),wt),t),21),f=u(ot(qe,t),21),c=s.Kc();c.Ob();)if(i=u(c.Pb(),21),!u(ot(n.b,i),15).dc())return!1;for(r=f.Kc();r.Ob();)if(i=u(r.Pb(),21),!u(ot(n.b,i),15).dc())return!1;return!0}function ten(n,e){var t,i,r,c,s,f,h,l,a;if(n.a.c.length==1)return r_n(u(sn(n.a,0),172),e);for(s=i5e(n),h=0,l=n.d,c=s,a=n.d,f=(l-c)/2+c;c+1<l;){for(h=0,i=new M(n.a);i.a<i.c.c.length;)t=u(E(i),172),h+=(r=q5(t,f,!1),r.a);h<e?(a=f,l=f):c=f,f=(l-c)/2+c}return a}function cy(n,e){var t,i,r,c,s;if(!e)return n;if(L(e,342))for(r=u(e,342),c=(!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),n.o),i=r.gh().c.Kc();i.e!=i.i.gc();)t=u(i.Yj(),44),s=t.md(),Gk(c,u(t.ld(),149),s);else!n.o&&(n.o=new Ou((Mc(),il),C1,n,0)),fxn(n.o,e.nf());return n}function sCe(n){var e,t,i,r,c;return isNaN(n)?(Km(),hun):n<-9223372036854776e3?(Km(),bQn):n>=9223372036854776e3?(Km(),sun):(r=!1,n<0&&(r=!0,n=-n),i=0,n>=vd&&(i=wi(n/vd),n-=i*vd),t=0,n>=o3&&(t=wi(n/o3),n-=t*o3),e=wi(n),c=Yc(e,t,i),r&&H$(c),c)}function fCe(n){var e,t,i,r,c;if(c=new Z,nu(n.b,new S9n(c)),n.b.c.length=0,c.c.length!=0){for(e=(Nn(0,c.c.length),u(c.c[0],82)),t=1,i=c.c.length;t<i;++t)r=(Nn(t,c.c.length),u(c.c[t],82)),r!=e&&$ye(e,r);if(L(e,63))throw T(u(e,63));if(L(e,295))throw T(u(e,295))}}function hCe(n,e){var t,i,r,c;for(t=!e||!n.u.Hc((zu(),Rl)),c=0,r=new M(n.e.Xf());r.a<r.c.c.length;){if(i=u(E(r),852),i.ag()==(en(),sc))throw T(new Gn("Label and node size calculator can only be used with ports that have port sides assigned."));i.Qf(c++),Y6e(n,i,t)}}function ien(n){var e,t,i,r,c;for(t=new M(n.a.a);t.a<t.c.c.length;){for(e=u(E(t),316),e.j=null,c=e.a.a.ec().Kc();c.Ob();)i=u(c.Pb(),60),ff(i.b),(!e.j||i.d.c<e.j.d.c)&&(e.j=i);for(r=e.a.a.ec().Kc();r.Ob();)i=u(r.Pb(),60),i.b.a=i.d.c-e.j.d.c,i.b.b=i.d.d-e.j.d.d}return n}function IS(n){var e,t,i,r,c;for(t=new M(n.a.a);t.a<t.c.c.length;){for(e=u(E(t),194),e.f=null,c=e.a.a.ec().Kc();c.Ob();)i=u(c.Pb(),86),ff(i.e),(!e.f||i.g.c<e.f.g.c)&&(e.f=i);for(r=e.a.a.ec().Kc();r.Ob();)i=u(r.Pb(),86),i.e.a=i.g.c-e.f.g.c,i.e.b=i.g.d-e.f.g.d}return n}function lCe(n){var e,t,i;return t=u(n.a,17).a,i=u(n.b,17).a,e=y.Math.max(y.Math.abs(t),y.Math.abs(i)),t<e&&i==-e?new bi(Y(t+1),Y(i)):t==e&&i<e?new bi(Y(t),Y(i+1)):t>=-e&&i==e?new bi(Y(t-1),Y(i)):new bi(Y(t),Y(i-1))}function iqn(){return tr(),S(C(yDe,1),G,81,0,[Won,zon,b2,N_,bsn,OI,FI,N0,asn,isn,hsn,L0,dsn,nsn,wsn,Fon,DI,D_,PI,RI,psn,xI,_on,lsn,msn,KI,gsn,II,Qon,ssn,osn,_I,Uon,SI,LI,qon,fv,csn,esn,fsn,A8,Xon,Gon,usn,tsn,NI,BI,Hon,$I,rsn,AI,Yon,Jon,dj,CI,Zon,Von])}function aCe(n,e,t){n.d=0,n.b=0,e.k==(Vn(),_c)&&t.k==_c&&u(v(e,(W(),st)),10)==u(v(t,st),10)&&(s$(e).j==(en(),Xn)?UHn(n,e,t):UHn(n,t,e)),e.k==_c&&t.k==Ti?s$(e).j==(en(),Xn)?n.d=1:n.b=1:t.k==_c&&e.k==Ti&&(s$(t).j==(en(),Xn)?n.b=1:n.d=1),J9e(n,e,t)}function dCe(n){var e,t,i,r,c,s,f,h,l,a,d;return d=ZZ(n),e=n.a,h=e!=null,h&&ym(d,"category",n.a),r=Z9(new qa(n.d)),s=!r,s&&(l=new _a,bf(d,"knownOptions",l),t=new syn(l),qi(new qa(n.d),t)),c=Z9(n.g),f=!c,f&&(a=new _a,bf(d,"supportedFeatures",a),i=new fyn(a),qi(n.g,i)),d}function bCe(n){var e,t,i,r,c,s,f,h,l;for(i=!1,e=336,t=0,c=new GSn(n.length),f=n,h=0,l=f.length;h<l;++h)s=f[h],i=i|(ia(s),!1),r=(V1(s),s.a),nn(c.a,Pe(r)),e&=r.yd(),t=L6e(t,r.zd());return u(u(FIn(new Cn(null,nR(new On((gb(),WY(c.a)),16),new D1,e,t)),new n9n(n)),687),848)}function wCe(n,e){var t;n.d&&(e.c!=n.e.c||cve(n.e.b,e.b))&&(nn(n.f,n.d),n.a=n.d.c+n.d.b,n.d=null,n.e=null),Ole(e.b)?n.c=e:n.b=e,(e.b==(Zm(),tw)&&!e.a||e.b==I0&&e.a||e.b==d2&&e.a||e.b==O0&&!e.a)&&n.c&&n.b&&(t=new Ho(n.a,n.c.d,e.c-n.a,n.b.d-n.c.d),n.d=t,n.e=e)}function $5(n){var e;if(mjn.call(this),this.i=new y4n,this.g=n,this.f=u(n.e&&n.e(),9).length,this.f==0)throw T(new Gn("There must be at least one phase in the phase enumeration."));this.c=(e=u(of(this.g),9),new _o(e,u(xs(e,e.length),9),0)),this.a=new ii,this.b=new de}function ren(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=7&&e){if(p4(n,e))throw T(new Gn(d8+f_n(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?TZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=u(e,54).Rh(n,1,uE,i)),i=aW(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,7,e,e))}function rqn(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=3&&e){if(p4(n,e))throw T(new Gn(d8+oKn(n)));i=null,n.Cb&&(i=(t=n.Db>>16,t>=0?SZ(n,i):n.Cb.Th(n,-1-t,null,i))),e&&(i=u(e,54).Rh(n,0,sE,i)),i=dW(n,e,i),i&&i.oj()}else n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,3,e,e))}function vR(n,e){C4();var t,i,r,c,s,f,h,l,a;return e.d>n.d&&(f=n,n=e,e=f),e.d<63?tSe(n,e):(s=(n.d&-2)<<4,l=LJ(n,s),a=LJ(e,s),i=BR(n,Rp(l,s)),r=BR(e,Rp(a,s)),h=vR(l,a),t=vR(i,r),c=vR(BR(l,i),BR(r,a)),c=zR(zR(c,h),t),c=Rp(c,s),h=Rp(h,s<<1),zR(zR(h,c),t))}function a1(){a1=R,$H=new dg(sVn,0),Chn=new dg("LONGEST_PATH",1),Shn=new dg("LONGEST_PATH_SOURCE",2),DH=new dg("COFFMAN_GRAHAM",3),Thn=new dg(sB,4),Phn=new dg("STRETCH_WIDTH",5),MO=new dg("MIN_WIDTH",6),Pv=new dg("BF_MODEL_ORDER",7),Iv=new dg("DF_MODEL_ORDER",8)}function gCe(n,e,t){var i,r,c,s,f;for(s=b5(n,t),f=F(Qh,b1,10,e.length,0,1),i=0,c=s.Kc();c.Ob();)r=u(c.Pb(),12),on(un(v(r,(W(),kj))))&&(f[i++]=u(v(r,Xu),10));if(i<e.length)throw T(new Ar("Expected "+e.length+" hierarchical ports, but found only "+i+"."));return f}function pCe(n,e){var t,i,r,c,s,f;if(!n.tb){for(c=(!n.rb&&(n.rb=new Hw(n,Mf,n)),n.rb),f=new ap(c.i),r=new ne(c);r.e!=r.i.gc();)i=u(ue(r),142),s=i.xe(),t=u(s==null?Vc(f.f,null,i):Nb(f.i,s,i),142),t&&(s==null?Vc(f.f,null,t):Nb(f.i,s,t));n.tb=f}return u(Dc(n.tb,e),142)}function uy(n,e){var t,i,r,c,s;if((n.i==null&&bh(n),n.i).length,!n.p){for(s=new ap((3*n.g.i/2|0)+1),r=new yp(n.g);r.e!=r.i.gc();)i=u(Tx(r),179),c=i.xe(),t=u(c==null?Vc(s.f,null,i):Nb(s.i,c,i),179),t&&(c==null?Vc(s.f,null,t):Nb(s.i,c,t));n.p=s}return u(Dc(n.p,e),179)}function cen(n,e,t,i,r){var c,s,f,h,l;for(G8e(i+IT(t,t.ie()),r),ZIn(e,l8e(t)),c=t.f,c&&cen(n,e,c,"Caused by: ",!1),f=(t.k==null&&(t.k=F(zF,J,82,0,0,1)),t.k),h=0,l=f.length;h<l;++h)s=f[h],cen(n,e,s,"Suppressed: ",!1);console.groupEnd!=null&&console.groupEnd.call(console)}function oy(n,e,t,i){var r,c,s,f,h;for(h=e.e,f=h.length,s=e.q.ug(h,t?0:f-1,t),r=h[t?0:f-1],s=s|Gqn(n,r,t,i),c=t?1:f-2;t?c<f:c>=0;c+=t?1:-1)s=s|e.c.lg(h,c,t,i&&!on(un(v(e.j,(W(),ya))))&&!on(un(v(e.j,(W(),j2))))),s=s|e.q.ug(h,c,t),s=s|Gqn(n,h[c],t,i);return fi(n.c,e),s}function OS(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(a=ELn(n.j),d=0,g=a.length;d<g;++d){if(l=a[d],t==(gr(),Vu)||t==W8)for(h=hh(l.g),r=h,c=0,s=r.length;c<s;++c)i=r[c],Mje(e,i)&&Hb(i,!0);if(t==Jc||t==W8)for(f=hh(l.e),r=f,c=0,s=r.length;c<s;++c)i=r[c],Eje(e,i)&&Hb(i,!0)}}function mCe(n){var e,t;switch(e=null,t=null,xke(n).g){case 1:e=(en(),Zn),t=Wn;break;case 2:e=(en(),ae),t=Xn;break;case 3:e=(en(),Wn),t=Zn;break;case 4:e=(en(),Xn),t=ae}bG(n,u(ho(Sp(u(ot(n.k,e),15).Oc(),w2)),113)),dG(n,u(ho(_w(u(ot(n.k,t),15).Oc(),w2)),113))}function vCe(n){var e,t,i,r,c,s;if(r=u(sn(n.j,0),12),r.e.c.length+r.g.c.length==0)n.n.a=0;else{for(s=0,i=$h(Eo(S(C(Ao,1),Rn,20,0,[new nm(r),new ip(r)])));pe(i);)t=u(fe(i),12),s+=t.i.n.a+t.n.a+t.a.a;e=u(v(n,(cn(),aw)),8),c=e?e.a:0,n.n.a=s/(r.e.c.length+r.g.c.length)-c}}function cqn(n,e){var t,i,r;for(i=new M(e.a);i.a<i.c.c.length;)t=u(E(i),225),YN(u(t.b,68),mi(Fi(u(e.b,68).c),u(e.b,68).a)),r=MUn(u(e.b,68).b,u(t.b,68).b),r>1&&(n.a=!0),Wwe(u(t.b,68),it(Fi(u(e.b,68).c),ch(mi(Fi(u(t.b,68).a),u(e.b,68).a),r))),OAn(n,e),cqn(n,t)}function uqn(n){var e,t,i,r,c,s,f;for(c=new M(n.a.a);c.a<c.c.c.length;)i=u(E(c),194),i.e=0,i.d.a.$b();for(r=new M(n.a.a);r.a<r.c.c.length;)for(i=u(E(r),194),t=i.a.a.ec().Kc();t.Ob();)for(e=u(t.Pb(),86),f=e.f.Kc();f.Ob();)s=u(f.Pb(),86),s.d!=i&&(fi(i.d,s),++s.d.e)}function kCe(n){var e,t,i,r,c,s,f,h;for(h=n.j.c.length,t=0,e=h,r=2*h,f=new M(n.j);f.a<f.c.c.length;)switch(s=u(E(f),12),s.j.g){case 2:case 4:s.p=-1;break;case 1:case 3:i=s.e.c.length,c=s.g.c.length,i>0&&c>0?s.p=e++:i>0?s.p=t++:c>0?s.p=r++:s.p=t++}Ln(),Yt(n.j,new Fgn)}function yCe(n){var e,t;t=null,e=u(sn(n.g,0),18);do{if(t=e.d.i,kt(t,(W(),Es)))return u(v(t,Es),12).i;if(t.k!=(Vn(),Xt)&&pe(new ie(ce(Qt(t).a.Kc(),new En))))e=u(fe(new ie(ce(Qt(t).a.Kc(),new En))),18);else if(t.k!=Xt)return null}while(t&&t.k!=(Vn(),Xt));return t}function jCe(n,e){var t,i,r,c,s,f,h,l,a;for(f=e.j,s=e.g,h=u(sn(f,f.c.length-1),113),a=(Nn(0,f.c.length),u(f.c[0],113)),l=Fx(n,s,h,a),c=1;c<f.c.length;c++)t=(Nn(c-1,f.c.length),u(f.c[c-1],113)),r=(Nn(c,f.c.length),u(f.c[c],113)),i=Fx(n,s,t,r),i>l&&(h=t,a=r,l=i);e.a=a,e.c=h}function ECe(n,e,t){var i,r,c,s,f,h,l;for(l=new Ul(new z7n(n)),s=S(C(RZn,1),LXn,12,0,[e,t]),f=0,h=s.length;f<h;++f)for(c=s[f],l.a.zc(c,(_n(),pa))==null,r=new Lf(c.b);tc(r.a)||tc(r.b);)i=u(tc(r.a)?E(r.a):E(r.b),18),i.c==i.d||B7(l,c==i.c?i.d:i.c);return Pe(l),new _u(l)}function qs(n){if(!n.a.d||!n.a.e)throw T(new Ar((ll(GQn),GQn.k+" must have a source and target "+(ll(eon),eon.k)+" specified.")));if(n.a.d==n.a.e)throw T(new Ar("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return KM(n.a.d.g,n.a),KM(n.a.e.b,n.a),n.a}function MCe(n,e){var t,i,r,c,s,f,h;for(e.Ug("Constraints Postprocessor",1),s=0,c=new M(n.b);c.a<c.c.c.length;){for(r=u(E(c),30),h=0,f=!1,i=new M(r.a);i.a<i.c.c.length;)t=u(E(i),10),t.k==(Vn(),Xt)&&(f=!0,U(t,(cn(),gO),Y(s)),U(t,aO,Y(h)),++h);f&&++s}e.Vg()}function oqn(n,e,t){var i,r,c,s,f,h;if(i=0,e.b!=0&&t.b!=0){c=ge(e,0),s=ge(t,0),f=$(B(be(c))),h=$(B(be(s))),r=!0;do{if(f>h-n.b&&f<h+n.b)return-1;f>h-n.a&&f<h+n.a&&++i,f<=h&&c.b!=c.d.c?f=$(B(be(c))):h<=f&&s.b!=s.d.c?h=$(B(be(s))):r=!1}while(r)}return i}function sqn(n,e){var t,i;return H7(n.a),hf(n.a,(yC(),BO),BO),hf(n.a,N2,N2),i=new ii,Fe(i,N2,(wS(),gq)),x(z(e,(sa(),kq)))!==x((Pk(),FO))&&Fe(i,N2,dq),on(un(z(e,Jln)))&&Fe(i,N2,pq),Fe(i,N2,bq),on(un(z(e,Yln)))&&Iu(i,N2,wq),EX(n.a,i),t=wy(n.a,e),t}function TCe(n,e,t,i,r){var c,s,f,h;for(h=(c=u(of(lr),9),new _o(c,u(xs(c,c.length),9),0)),f=new M(n.j);f.a<f.c.c.length;)s=u(E(f),12),e[s.p]&&(QLe(s,e[s.p],i),_s(h,s.j));r?(Wx(n,e,(en(),Zn),2*t,i),Wx(n,e,Wn,2*t,i)):(Wx(n,e,(en(),Xn),2*t,i),Wx(n,e,ae,2*t,i))}function CCe(n){var e,t;for(t=new ie(ce(Qt(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),18),e.d.i.k!=(Vn(),Sc))throw T(new _l(oB+Hk(n)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function SCe(n,e,t){var i,r,c,s,f;for(t.Ug("Longest path layering",1),n.a=e,f=n.a.a,n.b=F(ye,_e,28,f.c.length,15,1),i=0,s=new M(f);s.a<s.c.c.length;)r=u(E(s),10),r.p=i,n.b[i]=-1,++i;for(c=new M(f);c.a<c.c.c.length;)r=u(E(c),10),FHn(n,r);f.c.length=0,n.a=null,n.b=null,t.Vg()}function PCe(n,e,t,i){var r,c,s,f,h,l,a,d,g;for(h=0,a=new M(n.a);a.a<a.c.c.length;){for(l=u(E(a),10),f=0,c=new ie(ce(ji(l).a.Kc(),new En));pe(c);)r=u(fe(c),18),d=Of(r.c).b,g=Of(r.d).b,f=y.Math.max(f,y.Math.abs(g-d));h=y.Math.max(h,f)}return s=i*y.Math.min(1,e/t)*h,s}function ICe(n,e){var t,i,r,c,s;for(s=u(v(e,(lc(),Oln)),433),c=ge(e.b,0);c.b!=c.d.c;)if(r=u(be(c),39),n.b[r.g]==0){switch(s.g){case 0:MBn(n,r);break;case 1:KMe(n,r)}n.b[r.g]=2}for(i=ge(n.a,0);i.b!=i.d.c;)t=u(be(i),65),i0(t.b.d,t,!0),i0(t.c.b,t,!0);U(e,(pt(),vln),n.a)}function uen(n){var e;return e=new e6,n&256&&(e.a+="F"),n&128&&(e.a+="H"),n&512&&(e.a+="X"),n&2&&(e.a+="i"),n&8&&(e.a+="m"),n&4&&(e.a+="s"),n&32&&(e.a+="u"),n&64&&(e.a+="w"),n&16&&(e.a+="x"),n&Gs&&(e.a+=","),lz(e.a)}function OCe(n,e){var t,i,r,c,s,f;e.Ug(PVn,1),r=u(z(n,(Bf(),f9)),107),c=(!n.a&&(n.a=new q(Ye,n,10,11)),n.a),s=x7e(c),f=y.Math.max(s.a,$(B(z(n,(_h(),s9))))-(r.b+r.c)),i=y.Math.max(s.b,$(B(z(n,UO)))-(r.d+r.a)),t=i-s.b,ht(n,u9,t),ht(n,Nv,f),ht(n,o9,i+t),e.Vg()}function ru(n,e){dr();var t,i,r,c;return e?e==(at(),pse)||(e==cse||e==zd||e==rse)&&n!=ubn?new etn(n,e):(i=u(e,692),t=i.$k(),t||(Pm(Nr((Lu(),zi),e)),t=i.$k()),c=(!t.i&&(t.i=new de),t.i),r=u(Fr(wr(c.f,n)),2041),!r&&Ve(c,n,r=new etn(n,e)),r):ese}function ACe(n,e){var t,i;if(i=B7(n.b,e.b),!i)throw T(new Ar("Invalid hitboxes for scanline constraint calculation."));(Zxn(e.b,u(Ghe(n.b,e.b),60))||Zxn(e.b,u(Uhe(n.b,e.b),60)))&&fl(),n.a[e.b.f]=u(OL(n.b,e.b),60),t=u(IL(n.b,e.b),60),t&&(n.a[t.f]=e.b)}function LCe(n,e,t){var i,r,c,s,f,h,l,a,d;for(c=Xg(e,!1,!1),l=Jk(c),d=$(B(z(e,(j5(),w_)))),r=mzn(l,d+n.a),a=new bR(r),Ur(a,e),Ve(n.b,e,a),Bn(t.c,a),h=(!e.n&&(e.n=new q(Sr,e,1,7)),e.n),f=new ne(h);f.e!=f.i.gc();)s=u(ue(f),135),i=sy(n,s,!0,0,0),Bn(t.c,i);return a}function NCe(n,e){var t,i,r,c,s,f,h;for(r=new Z,t=0;t<=n.j;t++)i=new Nc(e),i.p=n.j-t,Bn(r.c,i);for(f=new M(n.p);f.a<f.c.c.length;)s=u(E(f),10),$i(s,u(sn(r,n.j-n.g[s.p]),30));for(c=new M(r);c.a<c.c.c.length;)h=u(E(c),30),h.a.c.length==0&&_6(c);e.b.c.length=0,hi(e.b,r)}function DCe(n,e){var t,i,r,c,s,f,h,l,a;for(h=u(v(n,(W(),st)),12),l=cc(S(C(Ei,1),J,8,0,[h.i.n,h.n,h.a])).a,a=n.i.n.b,t=hh(n.e),r=t,c=0,s=r.length;c<s;++c)i=r[c],Oi(i,h),ir(i.a,new V(l,a)),e&&(f=u(v(i,(cn(),Rr)),75),f||(f=new Tu,U(i,Rr,f)),Re(f,new V(l,a)))}function $Ce(n,e){var t,i,r,c,s,f,h,l,a;for(r=u(v(n,(W(),st)),12),l=cc(S(C(Ei,1),J,8,0,[r.i.n,r.n,r.a])).a,a=n.i.n.b,t=hh(n.g),s=t,f=0,h=s.length;f<h;++f)c=s[f],Zi(c,r),gg(c.a,new V(l,a)),e&&(i=u(v(c,(cn(),Rr)),75),i||(i=new Tu,U(c,Rr,i)),Re(i,new V(l,a)))}function xCe(n){var e,t,i,r,c,s,f,h,l;if(i=n.b,c=i.e,s=Ep(u(v(i,(cn(),_t)),101)),t=!!c&&u(v(c,(W(),Hc)),21).Hc((pr(),cs)),!(s||t))for(l=(f=new ol(n.e).a.vc().Kc(),new Cw(f));l.a.Ob();)h=(e=u(l.a.Pb(),44),u(e.md(),113)),h.a&&(r=h.d,ic(r,null),h.c=!0,n.a=!0)}function RCe(n,e){var t,i,r,c;for(e.Ug("Semi-Interactive Crossing Minimization Processor",1),t=!1,r=new M(n.b);r.a<r.c.c.length;)i=u(E(r),30),c=Lk(fC(ut(ut(new Cn(null,new On(i.a,16)),new j2n),new E2n),new M2n),new T2n),t=t|c.a!=null;t&&U(n,(W(),efn),(_n(),!0)),e.Vg()}function KCe(n,e){var t,i,r,c,s,f;for(n.b=new Z,n.d=u(v(e,(W(),P3)),234),n.e=ype(n.d),c=new Mt,r=Af(S(C(DZn,1),OXn,36,0,[e])),s=0;s<r.c.length;)i=(Nn(s,r.c.length),u(r.c[s],36)),i.p=s++,t=new EGn(i,n.a,n.b),hi(r,t.b),nn(n.b,t),t.s&&(f=ge(c,0),_7(f,t));return n.c=new ni,c}function BCe(n,e){var t,i,r,c,s,f;for(s=u(u(ot(n.r,e),21),87).Kc();s.Ob();)c=u(s.Pb(),117),t=c.c?ZV(c.c):0,t>0?c.a?(f=c.b.Mf().a,t>f&&(r=(t-f)/2,c.d.b=r,c.d.c=r)):c.d.c=n.s+t:K6(n.u)&&(i=nnn(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}function FCe(n,e){var t,i,r,c,s;s=new Z,t=e;do c=u(ee(n.b,t),131),c.B=t.c,c.D=t.d,Bn(s.c,c),t=u(ee(n.k,t),18);while(t);return i=(Nn(0,s.c.length),u(s.c[0],131)),i.j=!0,i.A=u(i.d.a.ec().Kc().Pb(),18).c.i,r=u(sn(s,s.c.length-1),131),r.q=!0,r.C=u(r.d.a.ec().Kc().Pb(),18).d.i,s}function _Ce(n){var e,t;if(e=u(n.a,17).a,t=u(n.b,17).a,e>=0){if(e==t)return new bi(Y(-e-1),Y(-e-1));if(e==-t)return new bi(Y(-e),Y(t+1))}return y.Math.abs(e)>y.Math.abs(t)?e<0?new bi(Y(-e),Y(t)):new bi(Y(-e),Y(t+1)):new bi(Y(e+1),Y(t))}function HCe(n){var e,t;t=u(v(n,(cn(),ou)),171),e=u(v(n,(W(),Ad)),311),t==(Yo(),ja)?(U(n,ou,jj),U(n,Ad,(vl(),k2))):t==x0?(U(n,ou,jj),U(n,Ad,(vl(),E3))):e==(vl(),k2)?(U(n,ou,ja),U(n,Ad,mj)):e==E3&&(U(n,ou,x0),U(n,Ad,mj))}function AS(){AS=R,Aj=new C3n,Jie=Fe(new ii,(Vi(),Ac),(tr(),PI)),Zie=Iu(Fe(new ii,Ac,xI),zr,$I),nre=ah(ah(s6(Iu(Fe(new ii,Vs,FI),zr,BI),Fc),KI),_I),Qie=Iu(Fe(Fe(Fe(new ii,Jh,OI),Fc,LI),Fc,fv),zr,AI),Yie=Iu(Fe(Fe(new ii,Fc,fv),Fc,SI),zr,CI)}function x5(){x5=R,ire=Fe(Iu(new ii,(Vi(),zr),(tr(),Yon)),Ac,PI),ore=ah(ah(s6(Iu(Fe(new ii,Vs,FI),zr,BI),Fc),KI),_I),rre=Iu(Fe(Fe(Fe(new ii,Jh,OI),Fc,LI),Fc,fv),zr,AI),ure=Fe(Fe(new ii,Ac,xI),zr,$I),cre=Iu(Fe(Fe(new ii,Fc,fv),Fc,SI),zr,CI)}function qCe(n,e,t,i,r){var c,s;(!fr(e)&&e.c.i.c==e.d.i.c||!sxn(cc(S(C(Ei,1),J,8,0,[r.i.n,r.n,r.a])),t))&&!fr(e)&&(e.c==r?wm(e.a,0,new rr(t)):Re(e.a,new rr(t)),i&&!sf(n.a,t)&&(s=u(v(e,(cn(),Rr)),75),s||(s=new Tu,U(e,Rr,s)),c=new rr(t),xt(s,c,s.c.b,s.c),fi(n.a,c)))}function fqn(n,e){var t,i,r,c;for(c=Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))),t=c&n.b.length-1,r=null,i=n.b[t];i;r=i,i=i.a)if(i.d==c&&sh(i.i,e))return r?r.a=i.a:n.b[t]=i.a,Bjn(u(as(i.c),604),u(as(i.f),604)),V9(u(as(i.b),227),u(as(i.e),227)),--n.f,++n.e,!0;return!1}function UCe(n){var e,t;for(t=new ie(ce(ji(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),18),e.c.i.k!=(Vn(),Sc))throw T(new _l(oB+Hk(n)+"' 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 GCe(n,e,t){var i,r,c,s,f,h,l;if(r=aKn(n.Db&254),r==0)n.Eb=t;else{if(r==1)f=F(ki,Rn,1,2,5,1),c=Bx(n,e),c==0?(f[0]=t,f[1]=n.Eb):(f[0]=n.Eb,f[1]=t);else for(f=F(ki,Rn,1,r+1,5,1),s=cd(n.Eb),i=2,h=0,l=0;i<=128;i<<=1)i==e?f[l++]=t:n.Db&i&&(f[l++]=s[h++]);n.Eb=f}n.Db|=e}function hqn(n,e,t){var i,r,c,s;for(this.b=new Z,r=0,i=0,s=new M(n);s.a<s.c.c.length;)c=u(E(s),176),t&&YIe(c),nn(this.b,c),r+=c.o,i+=c.p;this.b.c.length>0&&(c=u(sn(this.b,0),176),r+=c.o,i+=c.p),r*=2,i*=2,e>1?r=wi(y.Math.ceil(r*e)):i=wi(y.Math.ceil(i/e)),this.a=new zY(r,i)}function lqn(n,e,t,i,r,c){var s,f,h,l,a,d,g,p,m,k,j,P;for(a=i,e.j&&e.o?(p=u(ee(n.f,e.A),60),k=p.d.c+p.d.b,--a):k=e.a.c+e.a.b,d=r,t.q&&t.o?(p=u(ee(n.f,t.C),60),l=p.d.c,++d):l=t.a.c,j=l-k,h=y.Math.max(2,d-a),f=j/h,m=k+f,g=a;g<d;++g)s=u(c.Xb(g),131),P=s.a.b,s.a.c=m-P/2,m+=f}function aqn(n,e){var t,i,r,c,s,f,h,l,a,d,g;r=e?new Rpn:new Kpn,c=!1;do for(c=!1,l=e?Qo(n.b):n.b,h=l.Kc();h.Ob();)for(f=u(h.Pb(),30),g=Mb(f.a),e||Qo(g),d=new M(g);d.a<d.c.c.length;)a=u(E(d),10),r.Mb(a)&&(i=a,t=u(v(a,(W(),cw)),313),s=e?t.b:t.k,c=Kqn(i,s,e,!1));while(c)}function oen(n,e,t,i,r,c){var s,f,h,l,a,d;for(l=t.c.length,c&&(n.c=F(ye,_e,28,e.length,15,1)),s=r?0:e.length-1;r?s<e.length:s>=0;s+=r?1:-1){for(f=e[s],h=i==(en(),Zn)?r?uc(f,i):Qo(uc(f,i)):r?Qo(uc(f,i)):uc(f,i),c&&(n.c[f.p]=h.gc()),d=h.Kc();d.Ob();)a=u(d.Pb(),12),n.d[a.p]=l++;hi(t,h)}}function dqn(n,e,t){var i,r,c,s,f,h,l,a;for(c=$(B(n.b.Kc().Pb())),l=$(B(Hve(e.b))),i=ch(Fi(n.a),l-t),r=ch(Fi(e.a),t-c),a=it(i,r),ch(a,1/(l-c)),this.a=a,this.b=new Z,f=!0,s=n.b.Kc(),s.Pb();s.Ob();)h=$(B(s.Pb())),f&&h-t>_B&&(this.b.Fc(t),f=!1),this.b.Fc(h);f&&this.b.Fc(t)}function zCe(n){var e,t,i,r;if(hPe(n,n.n),n.d.c.length>0){for(Zv(n.c);Hnn(n,u(E(new M(n.e.a)),125))<n.e.a.c.length;){for(e=N7e(n),r=e.e.e-e.d.e-e.a,e.e.j&&(r=-r),i=new M(n.e.a);i.a<i.c.c.length;)t=u(E(i),125),t.j&&(t.e+=r);Zv(n.c)}Zv(n.c),Pnn(n,u(E(new M(n.e.a)),125)),pGn(n)}}function XCe(n,e){qp();var t,i;if(t=WD(Gm(),e.Pg()),t){if(i=t.j,L(n,207))return k2e(u(n,27))?Su(i,(pf(),pi))||Su(i,xn):Su(i,(pf(),pi));if(L(n,326))return Su(i,(pf(),Ih));if(L(n,193))return Su(i,(pf(),Fd));if(L(n,366))return Su(i,(pf(),E1))}return!0}function VCe(n,e,t){var i,r,c,s,f,h;if(r=t,c=r.Lk(),Pl(n.e,c)){if(c.Si()){for(i=u(n.g,124),s=0;s<n.i;++s)if(f=i[s],ct(f,r)&&s!=e)throw T(new Gn(Xy))}}else for(h=ru(n.e.Dh(),c),i=u(n.g,124),s=0;s<n.i;++s)if(f=i[s],h.am(f.Lk())&&s!=e)throw T(new Gn(Yy));return u(Bg(n,e,t),76)}function bqn(n,e){if(e instanceof Object)try{if(e.__java$exception=n,navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&$doc.documentMode<9)return;var t=n;Object.defineProperties(e,{cause:{get:function(){var i=t.he();return i&&i.fe()}},suppressed:{get:function(){return t.ge()}}})}catch{}}function wqn(n,e){var t,i,r,c,s;if(i=e>>5,e&=31,i>=n.d)return n.e<0?(dh(),vQn):(dh(),C8);if(c=n.d-i,r=F(ye,_e,28,c+1,15,1),Rje(r,c,n.a,i,e),n.e<0){for(t=0;t<i&&n.a[t]==0;t++);if(t<i||e>0&&n.a[t]<<32-e){for(t=0;t<c&&r[t]==-1;t++)r[t]=0;t==c&&++c,++r[t]}}return s=new Ya(n.e,c,r),V6(s),s}function gqn(n){var e,t,i,r;return r=Pf(n),t=new D9n(r),i=new $9n(r),e=new Z,hi(e,(!n.d&&(n.d=new Dn(Vt,n,8,5)),n.d)),hi(e,(!n.e&&(n.e=new Dn(Vt,n,7,4)),n.e)),u(Wr(_r(ut(new Cn(null,new On(e,16)),t),i),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[(Gu(),S0),Yr]))),21)}function WCe(n,e){var t;switch(t=u(v(n,(cn(),bO)),283),e.Ug("Label side selection ("+t+")",1),t.g){case 0:SHn(n,(Co(),nl));break;case 1:SHn(n,(Co(),Pa));break;case 2:zUn(n,(Co(),nl));break;case 3:zUn(n,(Co(),Pa));break;case 4:Tqn(n,(Co(),nl));break;case 5:Tqn(n,(Co(),Pa))}e.Vg()}function Pl(n,e){dr();var t,i,r;return e.Jk()?!0:e.Ik()==-2?e==(n3(),F3)||e==B3||e==CU||e==SU?!0:(r=n.Dh(),At(r,e)>=0?!1:(t=Qg((Lu(),zi),r,e),t?(i=t.Ik(),(i>1||i==-1)&&vb(Nr(zi,t))!=3):!0)):!1}function JCe(n,e,t,i){var r,c,s,f,h;return f=Gr(u(N((!e.b&&(e.b=new Dn(he,e,4,7)),e.b),0),84)),h=Gr(u(N((!e.c&&(e.c=new Dn(he,e,5,8)),e.c),0),84)),St(f)==St(h)||Yw(h,f)?null:(s=X7(e),s==t?i:(c=u(ee(n.a,s),10),c&&(r=c.e,r)?r:null))}function QCe(n,e,t){var i,r,c,s,f;for(t.Ug("Longest path to source layering",1),n.a=e,f=n.a.a,n.b=F(ye,_e,28,f.c.length,15,1),i=0,s=new M(f);s.a<s.c.c.length;)r=u(E(s),10),r.p=i,n.b[i]=-1,++i;for(c=new M(f);c.a<c.c.c.length;)r=u(E(c),10),_Hn(n,r);f.c.length=0,n.a=null,n.b=null,t.Vg()}function sen(n,e,t){var i,r,c,s,f,h;if(i=Ihe(t,n.length),s=n[i],c=zjn(t,s.length),s[c].k==(Vn(),Zt))for(h=e.j,r=0;r<h.c.length;r++)f=(Nn(r,h.c.length),u(h.c[r],12)),(t?f.j==(en(),Zn):f.j==(en(),Wn))&&on(un(v(f,(W(),kj))))&&(Go(h,r,u(v(s[c],(W(),st)),12)),c+=t?1:-1)}function YCe(n,e){var t,i,r,c,s,f,h,l;e.Ug("Greedy Width Approximator",1),t=$(B(z(n,(Bf(),zO)))),h=u(z(n,f9),107),c=u(z(n,E1n),394),s=on(un(z(n,j1n))),f=$(B(z(n,h9))),l=(!n.a&&(n.a=new q(Ye,n,10,11)),n.a),LQ(l),r=new mPn(t,c,s),i=sPe(r,l,f,h),ht(n,(_h(),X0),i.c),e.Vg()}function pqn(n){if(n.g==null)switch(n.p){case 0:n.g=y2e(n)?(_n(),uv):(_n(),pa);break;case 1:n.g=lk(b3e(n));break;case 2:n.g=mk(ape(n));break;case 3:n.g=X0e(n);break;case 4:n.g=new G9(z0e(n));break;case 6:n.g=Tl(J0e(n));break;case 5:n.g=Y(c2e(n));break;case 7:n.g=o4(p3e(n))}return n.g}function fen(n){if(n.n==null)switch(n.p){case 0:n.n=j2e(n)?(_n(),uv):(_n(),pa);break;case 1:n.n=lk(w3e(n));break;case 2:n.n=mk(dpe(n));break;case 3:n.n=V0e(n);break;case 4:n.n=new G9(W0e(n));break;case 6:n.n=Tl(Q0e(n));break;case 5:n.n=Y(u2e(n));break;case 7:n.n=o4(g3e(n))}return n.n}function mqn(n,e,t,i){var r,c,s,f,h;if(f=(dr(),u(e,69).xk()),Pl(n.e,e)){if(e.Si()&&BS(n,e,i,L(e,102)&&(u(e,19).Bb&hr)!=0))throw T(new Gn(Xy))}else for(h=ru(n.e.Dh(),e),r=u(n.g,124),s=0;s<n.i;++s)if(c=r[s],h.am(c.Lk()))throw T(new Gn(Yy));p5(n,wnn(n,e,t),f?u(i,76):Rh(e,i))}function vqn(n){var e,t,i,r,c,s,f;for(c=new M(n.a.a);c.a<c.c.c.length;)i=u(E(c),316),i.g=0,i.i=0,i.e.a.$b();for(r=new M(n.a.a);r.a<r.c.c.length;)for(i=u(E(r),316),t=i.a.a.ec().Kc();t.Ob();)for(e=u(t.Pb(),60),f=e.c.Kc();f.Ob();)s=u(f.Pb(),60),s.a!=i&&(fi(i.e,s),++s.a.g,++s.a.i)}function ZCe(n){var e,t,i,r,c;r=u(v(n,(cn(),xd)),21),c=u(v(n,kO),21),t=new V(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),e=new rr(t),r.Hc((go(),Q0))&&(i=u(v(n,jv),8),c.Hc((io(),Fv))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),e.a=y.Math.max(t.a,i.a),e.b=y.Math.max(t.b,i.b)),eOe(n,t,e)}function nSe(n,e){var t,i,r;e.a?(B7(n.b,e.b),n.a[e.b.i]=u(OL(n.b,e.b),86),t=u(IL(n.b,e.b),86),t&&(n.a[t.i]=e.b)):(i=u(OL(n.b,e.b),86),i&&i==n.a[e.b.i]&&i.d&&i.d!=e.b.d&&i.f.Fc(e.b),r=u(IL(n.b,e.b),86),r&&n.a[r.i]==e.b&&r.d&&r.d!=e.b.d&&e.b.f.Fc(r),EN(n.b,e.b))}function kqn(n,e){var t,i,r,c,s,f;return c=n.d,f=$(B(v(n,(cn(),m1)))),f<0&&(f=0,U(n,m1,f)),e.o.b=f,s=y.Math.floor(f/2),i=new Ic,gi(i,(en(),Wn)),ic(i,e),i.n.b=s,r=new Ic,gi(r,Zn),ic(r,e),r.n.b=s,Oi(n,i),t=new yb,Ur(t,n),U(t,Rr,null),Zi(t,r),Oi(t,c),bIe(e,n,t),sEe(n,t),t}function eSe(n){var e,t;return t=u(v(n,(W(),Hc)),21),e=new ii,t.Hc((pr(),$8))&&(To(e,zie),To(e,eln)),(t.Hc(kv)||on(un(v(n,(cn(),TH)))))&&(To(e,eln),t.Hc(v2)&&To(e,Vie)),t.Hc(cs)&&To(e,Gie),t.Hc(x8)&&To(e,Wie),t.Hc(nO)&&To(e,Xie),t.Hc(mv)&&To(e,qie),t.Hc(vv)&&To(e,Uie),e}function tSe(n,e){var t,i,r,c,s,f,h,l,a,d,g;return i=n.d,c=e.d,f=i+c,h=n.e!=e.e?-1:1,f==2?(a=er(vi(n.a[0],mr),vi(e.a[0],mr)),g=Se(a),d=Se(G1(a,32)),d==0?new gl(h,g):new Ya(h,2,S(C(ye,1),_e,28,15,[g,d]))):(t=n.a,r=e.a,s=F(ye,_e,28,f,15,1),e5e(t,i,r,c,s),l=new Ya(h,f,s),V6(l),l)}function yqn(n,e,t,i){var r,c;if(e){if(r=n.a.Ne(t.d,e.d),r==0)return i.d=dV(e,t.e),i.b=!0,e;c=r<0?0:1,e.a[c]=yqn(n,e.a[c],t,i),Iw(e.a[c])&&(Iw(e.a[1-c])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):Iw(e.a[c].a[c])?e=jC(e,1-c):Iw(e.a[c].a[1-c])&&(e=sLn(e,1-c)))}else return t;return e}function jqn(n,e,t){var i,r,c,s;r=n.i,i=n.n,DJ(n,(wf(),bc),r.c+i.b,t),DJ(n,wc,r.c+r.b-i.c-t[2],t),s=r.b-i.b-i.c,t[0]>0&&(t[0]+=n.d,s-=t[0]),t[2]>0&&(t[2]+=n.d,s-=t[2]),c=y.Math.max(0,s),t[1]=y.Math.max(t[1],s),DJ(n,Wc,r.c+i.b+t[0]-(t[1]-s)/2,t),e==Wc&&(n.c.b=c,n.c.c=r.c+i.b+(c-s)/2)}function Eqn(){this.c=F(Ii,Cr,28,(en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])).length,15,1),this.b=F(Ii,Cr,28,S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn]).length,15,1),this.a=F(Ii,Cr,28,S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn]).length,15,1),Rz(this.c,Pt),Rz(this.b,li),Rz(this.a,li)}function xc(n,e,t){var i,r,c,s;if(e<=t?(r=e,c=t):(r=t,c=e),i=0,n.b==null)n.b=F(ye,_e,28,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r){n.b[i-1]=c;return}s=F(ye,_e,28,i+2,15,1),Oc(n.b,0,s,0,i),n.b=s,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||Gg(n)}}function iSe(n,e,t){var i,r,c,s,f,h,l;for(l=e.d,n.a=new Gc(l.c.length),n.c=new de,f=new M(l);f.a<f.c.c.length;)s=u(E(f),105),c=new kk(null),nn(n.a,c),Ve(n.c,s,c);for(n.b=new de,hEe(n,e),i=0;i<l.c.length-1;i++)for(h=u(sn(e.d,i),105),r=i+1;r<l.c.length;r++)XTe(n,h,u(sn(e.d,r),105),t)}function a0(n){var e,t,i,r,c;for(r=new Z,e=new $6((!n.a&&(n.a=new q(Ye,n,10,11)),n.a)),i=new ie(ce(Sl(n).a.Kc(),new En));pe(i);)t=u(fe(i),74),L(N((!t.b&&(t.b=new Dn(he,t,4,7)),t.b),0),193)||(c=Gr(u(N((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84)),e.a._b(c)||Bn(r.c,c));return r}function rSe(n,e,t){var i,r,c;if(n.e=t,n.d=0,n.b=0,n.f=1,n.i=e,(n.e&16)==16&&(n.i=bPe(n.i)),n.j=n.i.length,Ze(n),c=xb(n),n.d!=n.j)throw T(new Ne($e((Oe(),SWn))));if(n.g){for(i=0;i<n.g.a.c.length;i++)if(r=u(mb(n.g,i),592),n.f<=r.a)throw T(new Ne($e((Oe(),PWn))));n.g.a.c.length=0}return c}function cSe(n,e){var t,i,r,c,s,f,h;for(t=li,f=(Vn(),Xt),r=new M(e.a);r.a<r.c.c.length;)i=u(E(r),10),c=i.k,c!=Xt&&(s=B(v(i,(W(),ifn))),s==null?(t=y.Math.max(t,0),i.n.b=t+XX(n.a,c,f)):i.n.b=(Jn(s),s)),h=XX(n.a,c,f),i.n.b<t+h+i.d.d&&(i.n.b=t+h+i.d.d),t=i.n.b+i.o.b+i.d.a,f=c}function Mqn(n,e,t,i,r){var c,s,f,h,l,a;if(n.d&&n.d.Gg(r),c=u(r.Xb(0),27),TBn(n,t,c,!1)||(s=u(r.Xb(r.gc()-1),27),TBn(n,i,s,!0))||unn(n,r))return!0;for(a=r.Kc();a.Ob();)for(l=u(a.Pb(),27),h=e.Kc();h.Ob();)if(f=u(h.Pb(),27),NS(n,l,f))return!0;return!1}function uSe(n,e,t){var i,r,c,s,f,h,l,a,d,g;g=e.c.length,d=(l=n.Ih(t),u(l>=0?n.Lh(l,!1,!0):Fb(n,t,!1),61));n:for(c=d.Kc();c.Ob();){for(r=u(c.Pb(),58),a=0;a<g;++a)if(s=(Nn(a,e.c.length),u(e.c[a],76)),h=s.md(),f=s.Lk(),i=r.Nh(f,!1),h==null?i!=null:!ct(h,i))continue n;return r}return null}function oSe(n,e){var t,i,r,c,s,f,h;for(e.Ug("Comment post-processing",1),c=new M(n.b);c.a<c.c.c.length;){for(r=u(E(c),30),i=new Z,f=new M(r.a);f.a<f.c.c.length;)s=u(E(f),10),h=u(v(s,(W(),I3)),15),t=u(v(s,M3),15),(h||t)&&(MLe(s,h,t),h&&hi(i,h),t&&hi(i,t));hi(r.a,i)}e.Vg()}function sSe(n,e,t,i){var r,c,s,f;for(r=u(h1(e,(en(),Wn)).Kc().Pb(),12),c=u(h1(e,Zn).Kc().Pb(),12),f=new M(n.j);f.a<f.c.c.length;){for(s=u(E(f),12);s.e.c.length!=0;)Oi(u(sn(s.e,0),18),r);for(;s.g.c.length!=0;)Zi(u(sn(s.g,0),18),c)}t||U(e,(W(),yf),null),i||U(e,(W(),Es),null)}function Xg(n,e,t){var i,r;if((!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i==0)return GQ(n);if(i=u(N((!n.a&&(n.a=new q(Tt,n,6,6)),n.a),0),166),e&&(me((!i.a&&(i.a=new ti(xo,i,5)),i.a)),_m(i,0),qm(i,0),Fm(i,0),Hm(i,0)),t)for(r=(!n.a&&(n.a=new q(Tt,n,6,6)),n.a);r.i>1;)d0(r,r.i-1);return i}function Tqn(n,e){var t,i,r,c,s,f,h;for(t=new Mg,c=new M(n.b);c.a<c.c.c.length;){for(r=u(E(c),30),h=!0,i=0,f=new M(r.a);f.a<f.c.c.length;)switch(s=u(E(f),10),s.k.g){case 4:++i;case 1:mJ(t,s);break;case 0:oEe(s,e);default:t.b==t.c||wUn(t,i,h,!1,e),h=!1,i=0}t.b==t.c||wUn(t,i,h,!0,e)}}function hen(n,e){var t,i,r,c,s,f;for(t=0,f=new M(e);f.a<f.c.c.length;){for(s=u(E(f),12),fY(n.b,n.d[s.p]),r=new Lf(s.b);tc(r.a)||tc(r.b);)i=u(tc(r.a)?E(r.a):E(r.b),18),c=Cz(n,s==i.c?i.d:i.c),c>n.d[s.p]&&(t+=CJ(n.b,c),J1(n.a,Y(c)));for(;!n6(n.a);)cQ(n.b,u(Pp(n.a),17).a)}return t}function fSe(n){var e,t,i,r,c,s,f,h,l;for(n.a=new mV,l=0,r=0,i=new M(n.i.b);i.a<i.c.c.length;){for(e=u(E(i),30),e.p=r,h=new M(e.a);h.a<h.c.c.length;)f=u(E(h),10),f.p=l,++l;++r}for(c=n.r==(ps(),ww),s=c?XZn:zZn,t=new M(n.i.b);t.a<t.c.c.length;)e=u(E(t),30),Yt(e.a,s),s4e(n.a,Y(e.p),e.a)}function Cqn(n,e,t){var i,r,c,s;for(c=(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i,r=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));r.e!=r.i.gc();)i=u(ue(r),27),(!i.a&&(i.a=new q(Ye,i,10,11)),i.a).i==0||(c+=Cqn(n,i,!1));if(t)for(s=St(e);s;)c+=(!s.a&&(s.a=new q(Ye,s,10,11)),s.a).i,s=St(s);return c}function d0(n,e){var t,i,r,c;return n.Pj()?(i=null,r=n.Qj(),n.Tj()&&(i=n.Vj(n.$i(e),null)),t=n.Ij(4,c=Jp(n,e),null,e,r),n.Mj()&&c!=null&&(i=n.Oj(c,i)),i?(i.nj(t),i.oj()):n.Jj(t),c):(c=Jp(n,e),n.Mj()&&c!=null&&(i=n.Oj(c,null),i&&i.oj()),c)}function hSe(n){var e,t,i,r,c,s,f,h,l,a;for(l=n.a,e=new ni,h=0,i=new M(n.d);i.a<i.c.c.length;){for(t=u(E(i),226),a=0,ud(t.b,new pwn),s=ge(t.b,0);s.b!=s.d.c;)c=u(be(s),226),e.a._b(c)&&(r=t.c,f=c.c,a<f.d+f.a+l&&a+r.a+l>f.d&&(a=f.d+f.a+l));t.c.d=a,e.a.zc(t,e),h=y.Math.max(h,t.c.d+t.c.a)}return h}function pr(){pr=R,ZI=new Lw("COMMENTS",0),cs=new Lw("EXTERNAL_PORTS",1),$8=new Lw("HYPEREDGES",2),nO=new Lw("HYPERNODES",3),kv=new Lw("NON_FREE_PORTS",4),v2=new Lw("NORTH_SOUTH_PORTS",5),x8=new Lw(JXn,6),mv=new Lw("CENTER_LABELS",7),vv=new Lw("END_LABELS",8),eO=new Lw("PARTITIONS",9)}function lSe(n,e,t,i,r){return i<0?(i=Ug(n,r,S(C(fn,1),J,2,6,[sK,fK,hK,lK,c3,aK,dK,bK,wK,gK,pK,mK]),e),i<0&&(i=Ug(n,r,S(C(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function aSe(n,e,t,i,r){return i<0?(i=Ug(n,r,S(C(fn,1),J,2,6,[sK,fK,hK,lK,c3,aK,dK,bK,wK,gK,pK,mK]),e),i<0&&(i=Ug(n,r,S(C(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function dSe(n,e,t,i,r,c){var s,f,h,l;if(f=32,i<0){if(e[0]>=n.length||(f=Xi(n,e[0]),f!=43&&f!=45)||(++e[0],i=yS(n,e),i<0))return!1;f==45&&(i=-i)}return f==32&&e[0]-t==2&&r.b==2&&(h=new WE,l=h.q.getFullYear()-la+la-80,s=l%100,c.a=i==s,i+=(l/100|0)*100+(i<s?100:0)),c.p=i,!0}function Sqn(n,e){var t,i,r,c,s;St(n)&&(s=u(v(e,(cn(),xd)),181),x(z(n,_t))===x((Ai(),Oa))&&ht(n,_t,Qf),i=(Aw(),new Pw(St(n))),c=new TN(St(n)?new Pw(St(n)):null,n),r=HGn(i,c,!1,!0),_s(s,(go(),Q0)),t=u(v(e,jv),8),t.a=y.Math.max(r.a,t.a),t.b=y.Math.max(r.b,t.b))}function bSe(n,e,t){var i,r,c,s,f,h;for(s=u(v(n,(W(),hH)),15).Kc();s.Ob();){switch(c=u(s.Pb(),10),u(v(c,(cn(),ou)),171).g){case 2:$i(c,e);break;case 4:$i(c,t)}for(r=new ie(ce(Ml(c).a.Kc(),new En));pe(r);)i=u(fe(r),18),!(i.c&&i.d)&&(f=!i.d,h=u(v(i,cfn),12),f?Oi(i,h):Zi(i,h))}}function LS(){LS=R,F_=new Ap(eP,0,(en(),Xn),Xn),q_=new Ap(qK,1,ae,ae),B_=new Ap(HK,2,Zn,Zn),z_=new Ap(UK,3,Wn,Wn),H_=new Ap("NORTH_WEST_CORNER",4,Wn,Xn),__=new Ap("NORTH_EAST_CORNER",5,Xn,Zn),G_=new Ap("SOUTH_WEST_CORNER",6,ae,Wn),U_=new Ap("SOUTH_EAST_CORNER",7,Zn,ae)}function wSe(n){var e,t,i,r,c,s;for(c=new ni,e=new $6((!n.a&&(n.a=new q(Ye,n,10,11)),n.a)),r=new ie(ce(Sl(n).a.Kc(),new En));pe(r);)i=u(fe(r),74),L(N((!i.b&&(i.b=new Dn(he,i,4,7)),i.b),0),193)||(s=Gr(u(N((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84)),e.a._b(s)||(t=c.a.zc(s,c),t==null));return c}function Vg(){Vg=R,uan=S(C(Ka,1),PK,28,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),y.Math.pow(2,-65)}function C4(){C4=R;var n,e;for(m3=F(l2,J,92,32,0,1),S8=F(l2,J,92,32,0,1),n=1,e=0;e<=18;e++)m3[e]=(dh(),Ec(n,0)>=0?ra(n):H6(ra(n1(n)))),S8[e]=CM(Ks(n,e),0)?ra(Ks(n,e)):H6(ra(n1(Ks(n,e)))),n=er(n,5);for(;e<S8.length;e++)m3[e]=Og(m3[e-1],m3[1]),S8[e]=Og(S8[e-1],(dh(),QF))}function Pqn(n,e){var t,i,r,c,s;if(n.c.length==0)return new bi(Y(0),Y(0));for(t=(Nn(0,n.c.length),u(n.c[0],12)).j,s=0,c=e.g,i=e.g+1;s<n.c.length-1&&t.g<c;)++s,t=(Nn(s,n.c.length),u(n.c[s],12)).j;for(r=s;r<n.c.length-1&&t.g<i;)++r,t=(Nn(s,n.c.length),u(n.c[s],12)).j;return new bi(Y(s),Y(r))}function gSe(n,e,t,i){var r,c,s,f,h,l,a;h=uc(e,t),(t==(en(),ae)||t==Wn)&&(h=Qo(h)),s=!1;do for(r=!1,c=0;c<h.gc()-1;c++)l=u(h.Xb(c),12),f=u(h.Xb(c+1),12),nje(n,l,f,i)&&(s=!0,FD(n.a,u(h.Xb(c),12),u(h.Xb(c+1),12)),a=u(h.Xb(c+1),12),h.hd(c+1,u(h.Xb(c),12)),h.hd(c,a),r=!0);while(r);return s}function pSe(n,e,t){var i,r,c,s;for(t.Ug(aVn,1),r=u(Wr(ut(new Cn(null,new On(e.b,16)),new hmn),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),eHn(n,r,0),s=ge(e.b,0);s.b!=s.d.c;)c=u(be(s),39),i=ee(n.a,Y(c.g))!=null?u(ee(n.a,Y(c.g)),17).a:0,U(c,(lc(),Ph),Y(i));t.Vg()}function NS(n,e,t){var i,r,c,s,f,h,l,a;return f=e.i-n.g/2,h=t.i-n.g/2,l=e.j-n.g/2,a=t.j-n.g/2,c=e.g+n.g,s=t.g+n.g,i=e.f+n.g,r=t.f+n.g,f<h+s&&h<f&&l<a+r&&a<l||h<f+c&&f<h&&a<l+i&&l<a||f<h+s&&h<f&&l<a&&a<l+i?!0:h<f+c&&f<h&&l<a+r&&a<l}function mSe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=e.c.length,s=(Nn(t,e.c.length),u(e.c[t],292)),f=s.a.o.a,d=s.c,g=0,l=s.c;l<=s.f;l++){if(f<=n.a[l])return l;for(a=n.a[l],h=null,r=t+1;r<c;r++)i=(Nn(r,e.c.length),u(e.c[r],292)),i.c<=l&&i.f>=l&&(h=i);h&&(a=y.Math.max(a,h.a.o.a)),a>g&&(d=l,g=a)}return d}function vSe(n){var e,t,i,r,c,s,f;for(c=new Ul(u(Pe(new vwn),50)),f=li,t=new M(n.d);t.a<t.c.c.length;){for(e=u(E(t),226),f=e.c.c;c.a.gc()!=0&&(s=u(c.a.Tc(),226),s.c.c+s.c.b<f);)c.a.Bc(s)!=null;for(r=c.a.ec().Kc();r.Ob();)i=u(r.Pb(),226),Re(i.b,e),Re(e.b,i);c.a.zc(e,(_n(),pa))==null}}function Iqn(n,e,t){var i,r,c,s,f;if(!Nm(e)){for(f=t.eh((L(e,16)?u(e,16).gc():wl(e.Kc()))/n.a|0),f.Ug(dVn,1),s=new amn,c=null,r=e.Kc();r.Ob();)i=u(r.Pb(),39),s=Eo(S(C(Ao,1),Rn,20,0,[s,new sl(i)])),c&&(U(c,(pt(),dre),i),U(i,cq,c),n$(i)==n$(c)&&(U(c,uq,i),U(i,$O,c))),c=i;f.Vg(),Iqn(n,s,t)}}function kSe(n,e){var t,i,r;if(e==null){for(i=(!n.a&&(n.a=new q(Kl,n,9,5)),new ne(n.a));i.e!=i.i.gc();)if(t=u(ue(i),694),r=t.c,(r??t.zb)==null)return t}else for(i=(!n.a&&(n.a=new q(Kl,n,9,5)),new ne(n.a));i.e!=i.i.gc();)if(t=u(ue(i),694),Sn(e,(r=t.c,r??t.zb)))return t;return null}function kR(n,e){var t;switch(t=null,e.g){case 1:n.e.pf((He(),tU))&&(t=u(n.e.of(tU),256));break;case 3:n.e.pf((He(),iU))&&(t=u(n.e.of(iU),256));break;case 2:n.e.pf((He(),eU))&&(t=u(n.e.of(eU),256));break;case 4:n.e.pf((He(),rU))&&(t=u(n.e.of(rU),256))}return!t&&(t=u(n.e.of((He(),$an)),256)),t}function Oqn(n,e,t){var i,r,c,s,f,h;for(r=t,c=0,f=new M(e);f.a<f.c.c.length;)s=u(E(f),27),ht(s,(sa(),_O),Y(r++)),h=a0(s),i=y.Math.atan2(s.j+s.f/2,s.i+s.g/2),i+=i<0?Md:0,i<.7853981633974483||i>jVn?Yt(h,n.b):i<=jVn&&i>EVn?Yt(h,n.d):i<=EVn&&i>MVn?Yt(h,n.c):i<=MVn&&Yt(h,n.a),c=Oqn(n,h,c);return r}function Aqn(n,e,t,i){var r,c,s,f,h,l;for(r=(i.c+i.a)/2,vo(e.j),Re(e.j,r),vo(t.e),Re(t.e,r),l=new Yjn,f=new M(n.f);f.a<f.c.c.length;)c=u(E(f),132),h=c.a,Xx(l,e,h),Xx(l,t,h);for(s=new M(n.k);s.a<s.c.c.length;)c=u(E(s),132),h=c.b,Xx(l,e,h),Xx(l,t,h);return l.b+=2,l.a+=KOn(e,n.q),l.a+=KOn(n.q,t),l}function ySe(n,e,t){var i;t.Ug("Processor arrange node",1),on(un(v(e,(lc(),Mln)))),i=u(ho(t4(ut(new Cn(null,new On(e.b,16)),new Amn))),39),n.a=u(v(e,Nln),353),n.a==(a5(),hq)||n.a==KO?qGn(n,new Fu(S(C(DO,1),AP,39,0,[i])),t.eh(1)):n.a==fq&&pzn(n,new Fu(S(C(DO,1),AP,39,0,[i])),t.eh(1)),t.Vg()}function Bf(){Bf=R,zO=new Di((He(),x2),1.3),$ce=new Di(V0,(_n(),!1)),v1n=new ob(15),f9=new Di(M1,v1n),h9=new Di(qd,15),Ace=Uj,Dce=Hd,xce=_2,Rce=Sa,Nce=F2,g1n=Vj,Kce=W0,E1n=(Een(),Pce),j1n=Sce,Lq=Oce,M1n=Ice,m1n=Mce,Aq=Ece,p1n=jce,y1n=Cce,w1n=Xj,Lce=nU,Kj=kce,b1n=vce,Bj=yce,k1n=Tce}function Lqn(n){var e,t,i,r,c,s,f;for(t=n.i,e=n.n,f=t.d,n.f==(bu(),va)?f+=(t.a-n.e.b)/2:n.f==Xs&&(f+=t.a-n.e.b),r=new M(n.d);r.a<r.c.c.length;){switch(i=u(E(r),187),s=i.Mf(),c=new Ni,c.b=f,f+=s.b+n.a,n.b.g){case 0:c.a=t.c+e.b;break;case 1:c.a=t.c+e.b+(t.b-s.a)/2;break;case 2:c.a=t.c+t.b-e.c-s.a}i.Of(c)}}function Nqn(n){var e,t,i,r,c,s,f;for(t=n.i,e=n.n,f=t.c,n.b==(Uu(),ma)?f+=(t.b-n.e.a)/2:n.b==zs&&(f+=t.b-n.e.a),r=new M(n.d);r.a<r.c.c.length;){switch(i=u(E(r),187),s=i.Mf(),c=new Ni,c.a=f,f+=s.a+n.a,n.f.g){case 0:c.b=t.d+e.d;break;case 1:c.b=t.d+e.d+(t.a-s.b)/2;break;case 2:c.b=t.d+t.a-e.a-s.b}i.Of(c)}}function jSe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;a=t.a.c,s=t.a.c+t.a.b,c=u(ee(t.c,e),467),p=c.f,m=c.a,h=new V(a,p),d=new V(s,m),r=a,t.p||(r+=n.c),r+=t.F+t.v*n.b,l=new V(r,p),g=new V(r,m),t5(e.a,S(C(Ei,1),J,8,0,[h,l])),f=t.d.a.gc()>1,f&&(i=new V(r,t.b),Re(e.a,i)),t5(e.a,S(C(Ei,1),J,8,0,[g,d]))}function len(n,e,t){var i,r;for(e<n.d.b.c.length?(n.b=u(sn(n.d.b,e),30),n.a=u(sn(n.d.b,e-1),30),n.c=e):(n.a=new Nc(n.d),n.a.p=e-1,nn(n.d.b,n.a),n.b=new Nc(n.d),n.b.p=e,nn(n.d.b,n.b),n.c=e),$i(t,n.b),r=new ie(ce(ji(t).a.Kc(),new En));pe(r);)i=u(fe(r),18),!i.c.i.c&&i.c.i.k==(Vn(),Sc)&&$i(i.c.i,n.a)}function Dqn(n){ib(n,new gd(nb(Qd(Zd(Yd(new Fa,KP),"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 X4n))),Q(n,KP,Xb,bdn),Q(n,KP,y0,15),Q(n,KP,uP,Y(0)),Q(n,KP,l3,U4)}function aen(){aen=R;var n,e,t,i,r,c;for(R9=F(Ru,s2,28,255,15,1),PA=F(fs,gh,28,16,15,1),e=0;e<255;e++)R9[e]=-1;for(t=57;t>=48;t--)R9[t]=t-48<<24>>24;for(i=70;i>=65;i--)R9[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)R9[r]=r-97+10<<24>>24;for(c=0;c<10;c++)PA[c]=48+c&ui;for(n=10;n<=15;n++)PA[n]=65+n-10&ui}function ESe(n,e){e.Ug("Process graph bounds",1),U(n,(pt(),iq),a7(A$(Uw(new Cn(null,new On(n.b,16)),new imn)))),U(n,rq,a7(A$(Uw(new Cn(null,new On(n.b,16)),new rmn)))),U(n,pln,a7(O$(Uw(new Cn(null,new On(n.b,16)),new cmn)))),U(n,mln,a7(O$(Uw(new Cn(null,new On(n.b,16)),new umn)))),e.Vg()}function MSe(n){var e,t,i,r,c;r=u(v(n,(cn(),xd)),21),c=u(v(n,kO),21),t=new V(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),e=new rr(t),r.Hc((go(),Q0))&&(i=u(v(n,jv),8),c.Hc((io(),Fv))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),e.a=y.Math.max(t.a,i.a),e.b=y.Math.max(t.b,i.b)),on(un(v(n,SH)))||nOe(n,t,e)}function TSe(n,e){var t,i,r,c;for(c=uc(e,(en(),ae)).Kc();c.Ob();)i=u(c.Pb(),12),t=u(v(i,(W(),Xu)),10),t&&qs(Ns(Ls(Ds(As(new hs,0),.1),n.i[e.p].d),n.i[t.p].a));for(r=uc(e,Xn).Kc();r.Ob();)i=u(r.Pb(),12),t=u(v(i,(W(),Xu)),10),t&&qs(Ns(Ls(Ds(As(new hs,0),.1),n.i[t.p].d),n.i[e.p].a))}function yR(n){var e,t,i,r,c,s;if(!n.c){if(s=new vvn,e=N9,c=e.a.zc(n,e),c==null){for(i=new ne(Pc(n));i.e!=i.i.gc();)t=u(ue(i),89),r=KS(t),L(r,90)&&Bt(s,yR(u(r,29))),ve(s,t);e.a.Bc(n)!=null,e.a.gc()==0}k8e(s),e0(s),n.c=new pg((u(N(H((z1(),Hn).o),15),19),s.i),s.g),Zu(n).b&=-33}return n.c}function den(n){var e;if(n.c!=10)throw T(new Ne($e((Oe(),qP))));switch(e=n.a,e){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw T(new Ne($e((Oe(),is))))}return e}function $qn(n){var e,t,i,r,c;if(n.l==0&&n.m==0&&n.h==0)return"0";if(n.h==Ty&&n.m==0&&n.l==0)return"-9223372036854775808";if(n.h>>19)return"-"+$qn(e4(n));for(t=n,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=QD(QS),t=Xen(t,r,!0),e=""+rEn(ga),!(t.l==0&&t.m==0&&t.h==0))for(c=9-e.length;c>0;c--)e="0"+e;i=e+i}return i}function CSe(n){var e,t,i,r,c,s,f;for(e=!1,t=0,r=new M(n.d.b);r.a<r.c.c.length;)for(i=u(E(r),30),i.p=t++,s=new M(i.a);s.a<s.c.c.length;)c=u(E(s),10),!e&&!Nm(Ml(c))&&(e=!0);f=yt((ci(),Jf),S(C(k9,1),G,88,0,[Kr,Xr])),e||(_s(f,us),_s(f,Wf)),n.a=new p$n(f),Hu(n.f),Hu(n.b),Hu(n.e),Hu(n.g)}function SSe(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",e=Object.create(null);if(e[n]!==void 0)return!1;var t=Object.getOwnPropertyNames(e);return!(t.length!=0||(e[n]=42,e[n]!==42)||Object.getOwnPropertyNames(e).length==0)}function PSe(n,e,t){var i,r,c,s,f,h,l,a,d;for(i=t.c,r=t.d,f=Of(e.c),h=Of(e.d),i==e.c?(f=Ynn(n,f,r),h=_Fn(e.d)):(f=_Fn(e.c),h=Ynn(n,h,r)),l=new UE(e.a),xt(l,f,l.a,l.a.a),xt(l,h,l.c.b,l.c),s=e.c==i,d=new Fyn,c=0;c<l.b-1;++c)a=new bi(u(Zo(l,c),8),u(Zo(l,c+1),8)),s&&c==0||!s&&c==l.b-2?d.b=a:nn(d.a,a);return d}function ISe(n,e){var t,i,r,c;if(c=n.j.g-e.j.g,c!=0)return c;if(t=u(v(n,(cn(),v1)),17),i=u(v(e,v1),17),t&&i&&(r=t.a-i.a,r!=0))return r;switch(n.j.g){case 1:return bt(n.n.a,e.n.a);case 2:return bt(n.n.b,e.n.b);case 3:return bt(e.n.a,n.n.a);case 4:return bt(e.n.b,n.n.b);default:throw T(new Ar(nin))}}function ben(n,e,t,i){var r,c,s,f,h;if(wl((N7(),new ie(ce(Ml(e).a.Kc(),new En))))>=n.a||!JZ(e,t))return-1;if(Nm(u(i.Kb(e),20)))return 1;for(r=0,s=u(i.Kb(e),20).Kc();s.Ob();)if(c=u(s.Pb(),18),h=c.c.i==e?c.d.i:c.c.i,f=ben(n,h,t,i),f==-1||(r=y.Math.max(r,f),r>n.c-1))return-1;return r+1}function xqn(n,e){var t,i,r,c,s,f;if(x(e)===x(n))return!0;if(!L(e,15)||(i=u(e,15),f=n.gc(),i.gc()!=f))return!1;if(s=i.Kc(),n.Yi()){for(t=0;t<f;++t)if(r=n.Vi(t),c=s.Pb(),r==null?c!=null:!ct(r,c))return!1}else for(t=0;t<f;++t)if(r=n.Vi(t),c=s.Pb(),x(r)!==x(c))return!1;return!0}function Rqn(n,e){var t,i,r,c,s,f;if(n.f>0){if(n._j(),e!=null){for(c=0;c<n.d.length;++c)if(t=n.d[c],t){for(i=u(t.g,379),f=t.i,s=0;s<f;++s)if(r=i[s],ct(e,r.md()))return!0}}else for(c=0;c<n.d.length;++c)if(t=n.d[c],t){for(i=u(t.g,379),f=t.i,s=0;s<f;++s)if(r=i[s],x(e)===x(r.md()))return!0}}return!1}function OSe(n,e){var t,i,r;return t=e.qi(n.a),t&&(r=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),"affiliation")),r!=null)?(i=xM(r,wu(35)),i==-1?rx(n,R6(n,jo(e.qk())),r):i==0?rx(n,null,(zn(1,r.length+1),r.substr(1))):rx(n,(Ri(0,i,r.length),r.substr(0,i)),(zn(i+1,r.length+1),r.substr(i+1)))):null}function ASe(n,e,t){var i,r,c,s;t.Ug("Orthogonally routing hierarchical port edges",1),n.a=0,i=COe(e),AAe(e,i),wAe(n,e,i),ALe(e),r=u(v(e,(cn(),_t)),101),c=e.b,BGn((Nn(0,c.c.length),u(c.c[0],30)),r,e),BGn(u(sn(c,c.c.length-1),30),r,e),s=e.b,WUn((Nn(0,s.c.length),u(s.c[0],30))),WUn(u(sn(s,s.c.length-1),30)),t.Vg()}function wen(n){switch(n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw T(new th("Invalid hexadecimal"))}}function DS(){DS=R,Zun=new ag("SPIRAL",0),Wun=new ag("LINE_BY_LINE",1),Jun=new ag("MANHATTAN",2),Vun=new ag("JITTER",3),s_=new ag("QUADRANTS_LINE_BY_LINE",4),Yun=new ag("QUADRANTS_MANHATTAN",5),Qun=new ag("QUADRANTS_JITTER",6),Xun=new ag("COMBINE_LINE_BY_LINE_MANHATTAN",7),zun=new ag("COMBINE_JITTER_MANHATTAN",8)}function Kqn(n,e,t,i){var r,c,s,f,h,l;for(h=zx(n,t),l=zx(e,t),r=!1;h&&l&&(i||E7e(h,l,t));)s=zx(h,t),f=zx(l,t),sk(e),sk(n),c=h.c,XR(h,!1),XR(l,!1),t?(u0(e,l.p,c),e.p=l.p,u0(n,h.p+1,c),n.p=h.p):(u0(n,h.p,c),n.p=h.p,u0(e,l.p+1,c),e.p=l.p),$i(h,null),$i(l,null),h=s,l=f,r=!0;return r}function Bqn(n){switch(n.g){case 0:return new Q5n;case 1:return new W5n;case 3:return new aMn;case 4:return new zpn;case 5:return new FSn;case 6:return new J5n;case 2:return new V5n;case 7:return new H5n;case 8:return new U5n;default:throw T(new Gn("No implementation is available for the layerer "+(n.f!=null?n.f:""+n.g)))}}function LSe(n,e,t,i){var r,c,s,f,h;for(r=!1,c=!1,f=new M(i.j);f.a<f.c.c.length;)s=u(E(f),12),x(v(s,(W(),st)))===x(t)&&(s.g.c.length==0?s.e.c.length==0||(r=!0):c=!0);return h=0,r&&r^c?h=t.j==(en(),Xn)?-n.e[i.c.p][i.p]:e-n.e[i.c.p][i.p]:c&&r^c?h=n.e[i.c.p][i.p]+1:r&&c&&(h=t.j==(en(),Xn)?0:e/2),h}function jR(n,e,t,i,r,c,s,f){var h,l,a;for(h=0,e!=null&&(h^=t1(e.toLowerCase())),t!=null&&(h^=t1(t)),i!=null&&(h^=t1(i)),s!=null&&(h^=t1(s)),f!=null&&(h^=t1(f)),l=0,a=c.length;l<a;l++)h^=t1(c[l]);n?h|=256:h&=-257,r?h|=16:h&=-17,this.f=h,this.i=e==null?null:(Jn(e),e),this.a=t,this.d=i,this.j=c,this.g=s,this.e=f}function gen(n,e,t){var i,r;switch(r=null,e.g){case 1:r=(Au(),$on);break;case 2:r=(Au(),Ron)}switch(i=null,t.g){case 1:i=(Au(),xon);break;case 2:i=(Au(),Don);break;case 3:i=(Au(),Kon);break;case 4:i=(Au(),Bon)}return r&&i?Mp(n.j,new C8n(new Fu(S(C(cDe,1),Rn,178,0,[u(Pe(r),178),u(Pe(i),178)])))):(Ln(),Ln(),sr)}function NSe(n){var e,t,i;switch(e=u(v(n,(cn(),jv)),8),U(n,jv,new V(e.b,e.a)),u(v(n,Ch),255).g){case 1:U(n,Ch,(Bh(),eA));break;case 2:U(n,Ch,(Bh(),ZO));break;case 3:U(n,Ch,(Bh(),Hj));break;case 4:U(n,Ch,(Bh(),qj))}(n.q?n.q:(Ln(),Ln(),Wh))._b(H0)&&(t=u(v(n,H0),8),i=t.a,t.a=t.b,t.b=i)}function Fqn(n,e,t,i,r,c){if(this.b=t,this.d=r,n>=e.length)throw T(new Or("Greedy SwitchDecider: Free layer not in graph."));this.c=e[n],this.e=new L7(i),C$(this.e,this.c,(en(),Wn)),this.i=new L7(i),C$(this.i,this.c,Zn),this.f=new iIn(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Vn(),Zt),this.a&&zje(this,n,e.length)}function _qn(n,e){var t,i,r,c,s,f;c=!n.B.Hc((io(),rE)),s=n.B.Hc(aU),n.a=new CKn(s,c,n.c),n.n&&XW(n.a.n,n.n),mL(n.g,(wf(),Wc),n.a),e||(i=new y5(1,c,n.c),i.n.a=n.k,Ip(n.p,(en(),Xn),i),r=new y5(1,c,n.c),r.n.d=n.k,Ip(n.p,ae,r),f=new y5(0,c,n.c),f.n.c=n.k,Ip(n.p,Wn,f),t=new y5(0,c,n.c),t.n.b=n.k,Ip(n.p,Zn,t))}function DSe(n){var e,t,i;switch(e=u(v(n.d,(cn(),$l)),223),e.g){case 2:t=jNe(n);break;case 3:t=(i=new Z,Ut(ut(_r(rc(rc(new Cn(null,new On(n.d.b,16)),new tpn),new ipn),new rpn),new q2n),new j7n(i)),i);break;default:throw T(new Ar("Compaction not supported for "+e+" edges."))}UOe(n,t),qi(new qa(n.g),new k7n(n))}function $Se(n,e){var t,i,r,c,s,f,h;if(e.Ug("Process directions",1),t=u(v(n,(lc(),pw)),88),t!=(ci(),Wf))for(r=ge(n.b,0);r.b!=r.d.c;){switch(i=u(be(r),39),f=u(v(i,(pt(),Dj)),17).a,h=u(v(i,$j),17).a,t.g){case 4:h*=-1;break;case 1:c=f,f=h,h=c;break;case 2:s=f,f=-h,h=s}U(i,Dj,Y(f)),U(i,$j,Y(h))}e.Vg()}function xSe(n,e){var t;return t=new xA,e&&Ur(t,u(ee(n.a,uE),96)),L(e,422)&&Ur(t,u(ee(n.a,oE),96)),L(e,366)?(Ur(t,u(ee(n.a,Sr),96)),t):(L(e,84)&&Ur(t,u(ee(n.a,he),96)),L(e,207)?(Ur(t,u(ee(n.a,Ye),96)),t):L(e,193)?(Ur(t,u(ee(n.a,Qu),96)),t):(L(e,326)&&Ur(t,u(ee(n.a,Vt),96)),t))}function RSe(n){var e,t,i,r,c,s,f,h;for(h=new kNn,f=new M(n.a);f.a<f.c.c.length;)if(s=u(E(f),10),s.k!=(Vn(),Zt)){for(BMe(h,s,new Ni),c=new ie(ce(Qt(s).a.Kc(),new En));pe(c);)if(r=u(fe(c),18),!(r.c.i.k==Zt||r.d.i.k==Zt))for(i=ge(r.a,0);i.b!=i.d.c;)t=u(be(i),8),e=t,P5(h,new am(e.a,e.b))}return h}function ER(){ER=R,J1n=new lt(YB),W1n=(u6(),_j),V1n=new Tn(eF,W1n),X1n=(Mk(),YO),sue=new Tn(ccn,X1n),z1n=(Wk(),Bq),oue=new Tn(ucn,z1n),rue=new Tn(ZB,null),G1n=(tk(),JO),uue=new Tn(nF,G1n),U1n=(nM(),xq),nue=new Tn(ocn,U1n),eue=new Tn(scn,(_n(),!1)),tue=new Tn(fcn,Y(64)),iue=new Tn(hcn,!0),cue=Kq}function Hqn(n,e){var t,i,r,c,s,f,h,l,a,d;for(n.p=1,r=n.c,d=new rh,a=$b(n,(gr(),Jc)).Kc();a.Ob();)for(l=u(a.Pb(),12),i=new M(l.g);i.a<i.c.c.length;)t=u(E(i),18),h=t.d.i,n!=h&&(c=h.c,c.p<=r.p&&(s=r.p+1,s==e.b.c.length?(f=new Nc(e),f.p=s,nn(e.b,f),$i(h,f)):(f=u(sn(e.b,s),30),$i(h,f)),d.a.zc(h,d)));return d}function KSe(n,e){var t,i;if(t=u(v(n,(pt(),nq)),15),!t||t.gc()<1)return null;if(t.gc()==1)return u(t.Xb(0),39);switch(i=null,e.g){case 2:i=u(ho(Sp(t.Oc(),new nmn)),39);break;case 1:i=u(ho(_w(t.Oc(),new J3n)),39);break;case 4:i=u(ho(Sp(t.Oc(),new Q3n)),39);break;case 3:i=u(ho(_w(t.Oc(),new Y3n)),39)}return i}function qqn(n){var e,t,i,r,c,s;if(n.a==null)if(n.a=F(so,Xh,28,n.c.b.c.length,16,1),n.a[0]=!1,kt(n.c,(cn(),NH)))for(i=u(v(n.c,NH),15),t=i.Kc();t.Ob();)e=u(t.Pb(),17).a,e>0&&e<n.a.length&&(n.a[e]=!1);else for(s=new M(n.c.b),s.a<s.c.c.length&&E(s),r=1;s.a<s.c.c.length;)c=u(E(s),30),n.a[r++]=kTe(c)}function _h(){_h=R,u9=new lt("additionalHeight"),o9=new lt("drawingHeight"),Nv=new lt("drawingWidth"),UO=new lt("minHeight"),s9=new lt("minWidth"),GO=new lt("rows"),X0=new lt("targetWidth"),Iq=new Lt("minRowIncrease",0),pce=new Lt("maxRowIncrease",0),Pq=new Lt("minRowDecrease",0),gce=new Lt("maxRowDecrease",0)}function Uqn(n,e){var t,i,r,c;switch(r=n.b,e){case 1:{n.b|=1,n.b|=4,n.b|=8;break}case 2:{n.b|=2,n.b|=4,n.b|=8;break}case 4:{n.b|=1,n.b|=2,n.b|=4,n.b|=8;break}case 3:{n.b|=16,n.b|=8;break}case 0:{n.b|=32,n.b|=16,n.b|=8,n.b|=1,n.b|=2,n.b|=4;break}}if(n.b!=r&&n.c)for(i=new ne(n.c);i.e!=i.i.gc();)c=u(ue(i),481),t=Zu(c),h0(t,e)}function Gqn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m;for(r=!1,s=e,f=0,h=s.length;f<h;++f)c=s[f],on((_n(),!!c.e))&&!u(sn(n.b,c.e.p),219).s&&(r=r|(l=c.e,a=u(sn(n.b,l.p),219),d=a.e,g=zjn(t,d.length),p=d[g][0],p.k==(Vn(),Zt)?d[g]=gCe(c,d[g],t?(en(),Wn):(en(),Zn)):a.c.mg(d,t),m=oy(n,a,t,i),sen(a.e,a.o,t),m));return r}function zqn(n,e){var t,i,r,c,s;for(c=(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i,r=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));r.e!=r.i.gc();)i=u(ue(r),27),x(z(i,(He(),B2)))!==x((jl(),j9))&&(s=u(z(e,q2),143),t=u(z(i,q2),143),(s==t||s&&PJ(s,t))&&(!i.a&&(i.a=new q(Ye,i,10,11)),i.a).i!=0&&(c+=zqn(n,i)));return c}function BSe(n){var e,t,i,r,c,s,f;for(i=0,f=0,s=new M(n.d);s.a<s.c.c.length;)c=u(E(s),105),r=u(Wr(ut(new Cn(null,new On(c.j,16)),new UU),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),t=null,i<=f?(t=(en(),Xn),i+=r.gc()):f<i&&(t=(en(),ae),f+=r.gc()),e=t,Ut(_r(r.Oc(),new Epn),new T7n(e))}function FSe(n){var e,t,i,r,c;for(c=new Gc(n.a.c.length),r=new M(n.a);r.a<r.c.c.length;){switch(i=u(E(r),10),t=u(v(i,(cn(),ou)),171),e=null,t.g){case 1:case 2:e=(hd(),m2);break;case 3:case 4:e=(hd(),pv)}e?(U(i,(W(),rO),(hd(),m2)),e==pv?OS(i,t,(gr(),Vu)):e==m2&&OS(i,t,(gr(),Jc))):Bn(c.c,i)}return c}function _Se(n){var e,t,i,r,c,s,f,h;for(n.b=new rHn(new Fu((en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn]))),new Fu((Ob(),S(C(K_,1),G,372,0,[rw,ka,iw])))),s=S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn]),f=0,h=s.length;f<h;++f)for(c=s[f],t=S(C(K_,1),G,372,0,[rw,ka,iw]),i=0,r=t.length;i<r;++i)e=t[i],Nke(n.b,c,e,new Z)}function Xqn(n,e){var t,i,r,c,s,f,h,l,a,d;if(s=u(u(ot(n.r,e),21),87),f=n.u.Hc((zu(),Aa)),t=n.u.Hc(C9),i=n.u.Hc(T9),l=n.u.Hc(R3),d=n.B.Hc((io(),lA)),a=!t&&!i&&(l||s.gc()==2),BCe(n,e),r=null,h=null,f){for(c=s.Kc(),r=u(c.Pb(),117),h=r;c.Ob();)h=u(c.Pb(),117);r.d.b=0,h.d.c=0,a&&!r.a&&(r.d.c=0)}d&&(Lye(s),f&&(r.d.b=0,h.d.c=0))}function Vqn(n,e){var t,i,r,c,s,f,h,l,a,d;if(s=u(u(ot(n.r,e),21),87),f=n.u.Hc((zu(),Aa)),t=n.u.Hc(C9),i=n.u.Hc(T9),h=n.u.Hc(R3),d=n.B.Hc((io(),lA)),l=!t&&!i&&(h||s.gc()==2),oIe(n,e),a=null,r=null,f){for(c=s.Kc(),a=u(c.Pb(),117),r=a;c.Ob();)r=u(c.Pb(),117);a.d.d=0,r.d.a=0,l&&!a.a&&(a.d.a=0)}d&&(Nye(s),f&&(a.d.d=0,r.d.a=0))}function Wqn(n,e,t){var i,r,c,s,f,h,l,a;if(r=e.k,e.p>=0)return!1;if(e.p=t.b,nn(t.e,e),r==(Vn(),Ti)||r==_c){for(s=new M(e.j);s.a<s.c.c.length;)for(c=u(E(s),12),a=(i=new M(new ip(c).a.g),new LG(i));tc(a.a);)if(l=u(E(a.a),18).d,f=l.i,h=f.k,e.c!=f.c&&(h==Ti||h==_c)&&Wqn(n,f,t))return!0}return!0}function $S(n){var e;return n.Db&64?Rnn(n):(e=new ls(Rnn(n)),e.a+=" (changeable: ",ql(e,(n.Bb&Gs)!=0),e.a+=", volatile: ",ql(e,(n.Bb&C0)!=0),e.a+=", transient: ",ql(e,(n.Bb&v0)!=0),e.a+=", defaultValueLiteral: ",Er(e,n.j),e.a+=", unsettable: ",ql(e,(n.Bb&$u)!=0),e.a+=", derived: ",ql(e,(n.Bb&wh)!=0),e.a+=")",e.a)}function HSe(n,e){var t,i,r,c,s;return r=e.qi(n.a),r&&(i=(!r.b&&(r.b=new lo((An(),ar),pc,r)),r.b),t=Ae(gf(i,Ji)),t!=null&&(c=t.lastIndexOf("#"),s=c==-1?eV(n,e.jk(),t):c==0?uk(n,null,(zn(1,t.length+1),t.substr(1))):uk(n,(Ri(0,c,t.length),t.substr(0,c)),(zn(c+1,t.length+1),t.substr(c+1))),L(s,156)))?u(s,156):null}function qSe(n,e){var t,i,r,c,s;return i=e.qi(n.a),i&&(t=(!i.b&&(i.b=new lo((An(),ar),pc,i)),i.b),c=Ae(gf(t,IF)),c!=null&&(r=c.lastIndexOf("#"),s=r==-1?eV(n,e.jk(),c):r==0?uk(n,null,(zn(1,c.length+1),c.substr(1))):uk(n,(Ri(0,r,c.length),c.substr(0,r)),(zn(r+1,c.length+1),c.substr(r+1))),L(s,156)))?u(s,156):null}function USe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(r=FTe(n.d),s=u(v(n.b,(j5(),fon)),107),f=s.b+s.c,h=s.d+s.a,a=r.d.a*n.e+f,l=r.b.a*n.f+h,Xse(n.b,new V(a,l)),g=new M(n.g);g.a<g.c.c.length;)d=u(E(g),568),e=d.g-r.a.a,t=d.i-r.c.a,i=it(iae(new V(e,t),d.a,d.b),ch(A6(Fi(CX(d.e)),d.d*d.a,d.c*d.b),-.5)),c=SX(d.e),The(d.e,mi(i,c))}function GSe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(e.Ug("Restoring reversed edges",1),h=new M(n.b);h.a<h.c.c.length;)for(f=u(E(h),30),a=new M(f.a);a.a<a.c.c.length;)for(l=u(E(a),10),g=new M(l.j);g.a<g.c.c.length;)for(d=u(E(g),12),s=hh(d.g),i=s,r=0,c=i.length;r<c;++r)t=i[r],on(un(v(t,(W(),zf))))&&Hb(t,!1);e.Vg()}function zSe(n,e,t,i){var r,c,s,f,h;for(h=F(Ii,J,109,(en(),S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn])).length,0,2),c=S(C(lr,1),Tc,64,0,[sc,Xn,Zn,ae,Wn]),s=0,f=c.length;s<f;++s)r=c[s],h[r.g]=F(Ii,Cr,28,n.c[r.g],15,1);return hFn(h,n,Xn),hFn(h,n,ae),Kx(h,n,Xn,e,t,i),Kx(h,n,Zn,e,t,i),Kx(h,n,ae,e,t,i),Kx(h,n,Wn,e,t,i),h}function XSe(n,e,t){if(Zc(n.a,e)){if(sf(u(ee(n.a,e),49),t))return 1}else Ve(n.a,e,new ni);if(Zc(n.a,t)){if(sf(u(ee(n.a,t),49),e))return-1}else Ve(n.a,t,new ni);if(Zc(n.b,e)){if(sf(u(ee(n.b,e),49),t))return-1}else Ve(n.b,e,new ni);if(Zc(n.b,t)){if(sf(u(ee(n.b,t),49),e))return 1}else Ve(n.b,t,new ni);return 0}function VSe(n){var e,t,i,r,c,s;n.q==(Ai(),tl)||n.q==qc||(r=n.f.n.d+ZM(u(Mr(n.b,(en(),Xn)),127))+n.c,e=n.f.n.a+ZM(u(Mr(n.b,ae),127))+n.c,i=u(Mr(n.b,Zn),127),s=u(Mr(n.b,Wn),127),c=y.Math.max(0,i.n.d-r),c=y.Math.max(c,s.n.d-r),t=y.Math.max(0,i.n.a-e),t=y.Math.max(t,s.n.a-e),i.n.d=c,s.n.d=c,i.n.a=t,s.n.a=t)}function pen(n,e,t,i){var r,c,s,f,h,l;if(t==null){for(r=u(n.g,124),f=0;f<n.i;++f)if(s=r[f],s.Lk()==e)return cr(n,s,i)}return c=(dr(),u(e,69).xk()?u(t,76):Rh(e,t)),fo(n.e)?(l=!xk(n,e),i=Xc(n,c,i),h=e.Jk()?W1(n,3,e,null,t,O4(n,e,t,L(e,102)&&(u(e,19).Bb&hr)!=0),l):W1(n,1,e,e.ik(),t,-1,l),i?i.nj(h):i=h):i=Xc(n,c,i),i}function Jqn(){this.b=new Ql,this.d=new Ql,this.e=new Ql,this.c=new Ql,this.a=new de,this.f=new de,Pg(Ei,new M4n,new C4n),Pg(oan,new R4n,new K4n),Pg(Lon,new B4n,new F4n),Pg(Non,new _4n,new H4n),Pg(boe,new q4n,new U4n),Pg(uDe,new S4n,new P4n),Pg(fDe,new I4n,new O4n),Pg(oDe,new A4n,new L4n),Pg(sDe,new N4n,new D4n),Pg(aDe,new $4n,new x4n)}function R5(n,e){var t,i,r,c,s;for(n=n==null?gu:(Jn(n),n),r=0;r<e.length;r++)e[r]=UTe(e[r]);for(t=new fg,s=0,i=0;i<e.length&&(c=n.indexOf("%s",s),c!=-1);)t.a+=""+qo(n==null?gu:(Jn(n),n),s,c),Lc(t,e[i++]),s=c+2;if(lLn(t,n,s,n.length),i<e.length){for(t.a+=" [",Lc(t,e[i++]);i<e.length;)t.a+=ur,Lc(t,e[i++]);t.a+="]"}return t.a}function men(n,e){var t,i,r,c,s,f,h;for(t=0,h=new M(e);h.a<h.c.c.length;){for(f=u(E(h),12),fY(n.b,n.d[f.p]),s=0,r=new Lf(f.b);tc(r.a)||tc(r.b);)i=u(tc(r.a)?E(r.a):E(r.b),18),sOn(i)?(c=Cz(n,f==i.c?i.d:i.c),c>n.d[f.p]&&(t+=CJ(n.b,c),J1(n.a,Y(c)))):++s;for(t+=n.b.d*s;!n6(n.a);)cQ(n.b,u(Pp(n.a),17).a)}return t}function Qqn(n){var e,t,i,r,c,s;return c=0,e=gs(n),e.kk()&&(c|=4),n.Bb&$u&&(c|=2),L(n,102)?(t=u(n,19),r=br(t),t.Bb&kc&&(c|=32),r&&(se(Gw(r)),c|=8,s=r.t,(s>1||s==-1)&&(c|=16),r.Bb&kc&&(c|=64)),t.Bb&hr&&(c|=C0),c|=Gs):L(e,468)?c|=512:(i=e.kk(),i&&i.i&1&&(c|=256)),n.Bb&512&&(c|=128),c}function WSe(n,e){var t;return n.f==TU?(t=vb(Nr((Lu(),zi),e)),n.e?t==4&&e!=(n3(),F3)&&e!=(n3(),B3)&&e!=(n3(),CU)&&e!=(n3(),SU):t==2):n.d&&(n.d.Hc(e)||n.d.Hc($p(Nr((Lu(),zi),e)))||n.d.Hc(Qg((Lu(),zi),n.b,e)))?!0:n.f&&een((Lu(),n.f),q7(Nr(zi,e)))?(t=vb(Nr(zi,e)),n.e?t==4:t==2):!1}function JSe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;for(g=-1,p=0,l=n,a=0,d=l.length;a<d;++a){for(h=l[a],c=h,s=0,f=c.length;s<f;++s)for(r=c[s],e=new TLn(g==-1?n[0]:n[g],u(v(Hi(r),(cn(),Yh)),284),iFn(r),on(un(v(Hi(r),mH)))),t=0;t<r.j.c.length;t++)for(i=t+1;i<r.j.c.length;i++)SIn(e,u(sn(r.j,t),12),u(sn(r.j,i),12))>0&&++p;++g}return p}function QSe(n,e,t,i){var r,c,s,f,h,l,a,d;return s=u(z(t,(He(),N3)),8),h=s.a,a=s.b+n,r=y.Math.atan2(a,h),r<0&&(r+=Md),r+=e,r>Md&&(r-=Md),f=u(z(i,N3),8),l=f.a,d=f.b+n,c=y.Math.atan2(d,l),c<0&&(c+=Md),c+=e,c>Md&&(c-=Md),Cf(),Fs(1e-10),y.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:r<c?-1:r>c?1:ub(isNaN(r),isNaN(c))}function MR(n){var e,t,i,r,c,s,f;for(f=new de,i=new M(n.a.b);i.a<i.c.c.length;)e=u(E(i),60),Ve(f,e,new Z);for(r=new M(n.a.b);r.a<r.c.c.length;)for(e=u(E(r),60),e.i=li,s=e.c.Kc();s.Ob();)c=u(s.Pb(),60),u(Fr(wr(f.f,c)),15).Fc(e);for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),60),e.c.$b(),e.c=u(Fr(wr(f.f,e)),15);vqn(n)}function TR(n){var e,t,i,r,c,s,f;for(f=new de,i=new M(n.a.b);i.a<i.c.c.length;)e=u(E(i),86),Ve(f,e,new Z);for(r=new M(n.a.b);r.a<r.c.c.length;)for(e=u(E(r),86),e.o=li,s=e.f.Kc();s.Ob();)c=u(s.Pb(),86),u(Fr(wr(f.f,c)),15).Fc(e);for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),86),e.f.$b(),e.f=u(Fr(wr(f.f,e)),15);uqn(n)}function YSe(n,e,t,i){var r,c;for(tke(n,e,t,i),Vse(e,n.j-e.j+t),Wse(e,n.k-e.k+i),c=new M(e.f);c.a<c.c.c.length;)switch(r=u(E(c),334),r.a.g){case 0:n4(n,e.g+r.b.a,0,e.g+r.c.a,e.i-1);break;case 1:n4(n,e.g+e.o,e.i+r.b.a,n.o-1,e.i+r.c.a);break;case 2:n4(n,e.g+r.b.a,e.i+e.p,e.g+r.c.a,n.p-1);break;default:n4(n,0,e.i+r.b.a,e.g-1,e.i+r.c.a)}}function ZSe(n,e){var t,i,r,c,s,f,h,l;for(c=new Z,e.b.c.length=0,t=u(Wr(oJ(new Cn(null,new On(new qa(n.a.b),1))),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),r=t.Kc();r.Ob();)if(i=u(r.Pb(),17),s=vJ(n.a,i),s.b!=0)for(f=new Nc(e),Bn(c.c,f),f.p=i.a,l=ge(s,0);l.b!=l.d.c;)h=u(be(l),10),$i(h,f);hi(e.b,c)}function xS(n,e,t,i,r){var c,s,f;try{if(e>=n.o)throw T(new JG);f=e>>5,s=e&31,c=Ks(1,Se(Ks(s,1))),r?n.n[t][f]=lf(n.n[t][f],c):n.n[t][f]=vi(n.n[t][f],XV(c)),c=Ks(c,1),i?n.n[t][f]=lf(n.n[t][f],c):n.n[t][f]=vi(n.n[t][f],XV(c))}catch(h){throw h=Ot(h),L(h,333)?T(new Or(GK+n.o+"*"+n.p+zK+e+ur+t+XK)):T(h)}}function nPe(n,e,t,i){var r,c,s,f,h,l,a,d,g;for(g=new Ul(new G7n(n)),f=S(C(Qh,1),b1,10,0,[e,t]),h=0,l=f.length;h<l;++h)for(s=f[h],d=b5(s,i).Kc();d.Ob();)for(a=u(d.Pb(),12),c=new Lf(a.b);tc(c.a)||tc(c.b);)r=u(tc(c.a)?E(c.a):E(c.b),18),fr(r)||(g.a.zc(a,(_n(),pa))==null,sOn(r)&&B7(g,a==r.c?r.d:r.c));return Pe(g),new _u(g)}function ven(n,e,t,i){var r,c,s;e&&(c=$(B(v(e,(pt(),j1))))+i,s=t+$(B(v(e,xO)))/2,U(e,Dj,Y(Se(vc(y.Math.round(c))))),U(e,$j,Y(Se(vc(y.Math.round(s))))),e.d.b==0||ven(n,u(NM((r=ge(new sl(e).a.d,0),new sg(r))),39),t+$(B(v(e,xO)))+n.b,i+$(B(v(e,Lv)))),v(e,uq)!=null&&ven(n,u(v(e,uq),39),t,i))}function ePe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(h=Hi(e.a),r=$(B(v(h,(cn(),Kd))))*2,a=$(B(v(h,S2))),l=y.Math.max(r,a),c=F(Ii,Cr,28,e.f-e.c+1,15,1),i=-l,t=0,f=e.b.Kc();f.Ob();)s=u(f.Pb(),10),i+=n.a[s.c.p]+l,c[t++]=i;for(i+=n.a[e.a.c.p]+l,c[t++]=i,g=new M(e.e);g.a<g.c.c.length;)d=u(E(g),10),i+=n.a[d.c.p]+l,c[t++]=i;return c}function tPe(n,e){var t,i,r,c;if(c=u(z(n,(He(),H2)),64).g-u(z(e,H2),64).g,c!=0)return c;if(t=u(z(n,cU),17),i=u(z(e,cU),17),t&&i&&(r=t.a-i.a,r!=0))return r;switch(u(z(n,H2),64).g){case 1:return bt(n.i,e.i);case 2:return bt(n.j,e.j);case 3:return bt(e.i,n.i);case 4:return bt(e.j,n.j);default:throw T(new Ar(nin))}}function ken(n){var e,t,i;return n.Db&64?iR(n):(e=new mo(ycn),t=n.k,t?Be(Be((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new q(Sr,n,1,7)),n.n.i>0&&(i=(!n.n&&(n.n=new q(Sr,n,1,7)),u(N(n.n,0),135)).a,!i||Be(Be((e.a+=' "',e),i),'"'))),Be(eb(Be(eb(Be(eb(Be(eb((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function Yqn(n){var e,t,i;return n.Db&64?iR(n):(e=new mo(jcn),t=n.k,t?Be(Be((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new q(Sr,n,1,7)),n.n.i>0&&(i=(!n.n&&(n.n=new q(Sr,n,1,7)),u(N(n.n,0),135)).a,!i||Be(Be((e.a+=' "',e),i),'"'))),Be(eb(Be(eb(Be(eb(Be(eb((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function iPe(n,e){var t,i,r,c,s;for(e==(h5(),zH)&&Qk(u(ot(n.a,(o0(),wj)),15)),r=u(ot(n.a,(o0(),wj)),15).Kc();r.Ob();)switch(i=u(r.Pb(),105),t=u(sn(i.j,0),113).d.j,c=new _u(i.j),Yt(c,new lpn),e.g){case 2:Qx(n,c,t,(Ob(),ka),1);break;case 1:case 0:s=qTe(c),Qx(n,new Jl(c,0,s),t,(Ob(),ka),0),Qx(n,new Jl(c,s,c.c.length),t,ka,1)}}function CR(n,e){var t,i,r,c,s,f,h;if(e==null||e.length==0)return null;if(r=u(Dc(n.a,e),143),!r){for(i=(f=new ol(n.b).a.vc().Kc(),new Cw(f));i.a.Ob();)if(t=(c=u(i.a.Pb(),44),u(c.md(),143)),s=t.c,h=e.length,Sn(s.substr(s.length-h,h),e)&&(e.length==s.length||Xi(s,s.length-e.length-1)==46)){if(r)return null;r=t}r&&Lr(n.a,e,r)}return r}function rPe(n,e){var t,i,r,c;return t=new Twn,i=u(Wr(_r(new Cn(null,new On(n.f,16)),t),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[(Gu(),S0),Yr]))),21),r=i.gc(),i=u(Wr(_r(new Cn(null,new On(e.f,16)),t),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[S0,Yr]))),21),c=i.gc(),r<c?-1:r==c?0:1}function Zqn(n){var e,t,i;kt(n,(cn(),hw))&&(i=u(v(n,hw),21),!i.dc()&&(t=(e=u(of(yr),9),new _o(e,u(xs(e,e.length),9),0)),i.Hc((l0(),No))?_s(t,No):_s(t,Zs),i.Hc(Ms)||_s(t,Ms),i.Hc(Qs)?_s(t,nf):i.Hc(xl)?_s(t,el):i.Hc(Ys)&&_s(t,Ts),i.Hc(nf)?_s(t,Qs):i.Hc(el)?_s(t,xl):i.Hc(Ts)&&_s(t,Ys),U(n,hw,t)))}function cPe(n){var e,t,i,r,c,s,f;for(r=u(v(n,(W(),uw)),10),i=n.j,t=(Nn(0,i.c.length),u(i.c[0],12)),s=new M(r.j);s.a<s.c.c.length;)if(c=u(E(s),12),x(c)===x(v(t,st))){c.j==(en(),Xn)&&n.p>r.p?(gi(c,ae),c.d&&(f=c.o.b,e=c.a.b,c.a.b=f-e)):c.j==ae&&r.p>n.p&&(gi(c,Xn),c.d&&(f=c.o.b,e=c.a.b,c.a.b=-(f-e)));break}return r}function sy(n,e,t,i,r){var c,s,f,h,l,a,d;if(!(L(e,207)||L(e,366)||L(e,193)))throw T(new Gn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return s=n.a/2,h=e.i+i-s,a=e.j+r-s,l=h+e.g+n.a,d=a+e.f+n.a,c=new Tu,Re(c,new V(h,a)),Re(c,new V(h,d)),Re(c,new V(l,d)),Re(c,new V(l,a)),f=new bR(c),Ur(f,e),t&&Ve(n.b,e,f),f}function S4(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=new V(e,t),a=new M(n.a);a.a<a.c.c.length;)for(l=u(E(a),10),it(l.n,c),g=new M(l.j);g.a<g.c.c.length;)for(d=u(E(g),12),r=new M(d.g);r.a<r.c.c.length;)for(i=u(E(r),18),n0(i.a,c),s=u(v(i,(cn(),Rr)),75),s&&n0(s,c),h=new M(i.b);h.a<h.c.c.length;)f=u(E(h),72),it(f.n,c)}function uPe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=new V(e,t),a=new M(n.a);a.a<a.c.c.length;)for(l=u(E(a),10),it(l.n,c),g=new M(l.j);g.a<g.c.c.length;)for(d=u(E(g),12),r=new M(d.g);r.a<r.c.c.length;)for(i=u(E(r),18),n0(i.a,c),s=u(v(i,(cn(),Rr)),75),s&&n0(s,c),h=new M(i.b);h.a<h.c.c.length;)f=u(E(h),72),it(f.n,c)}function nUn(n){if((!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i==0)throw T(new hp("Edges must have a source."));if((!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i==0)throw T(new hp("Edges must have a target."));if(!n.b&&(n.b=new Dn(he,n,4,7)),!(n.b.i<=1&&(!n.c&&(n.c=new Dn(he,n,5,8)),n.c.i<=1)))throw T(new hp("Hyperedges are not supported."))}function yen(n,e){var t,i,r,c,s,f,h,l,a,d;for(d=0,c=new Mg,J1(c,e);c.b!=c.c;)for(h=u(Pp(c),219),l=0,a=u(v(e.j,(cn(),Yh)),284),s=$(B(v(e.j,hO))),f=$(B(v(e.j,Kfn))),a!=(lh(),k1)&&(l+=s*fTe(h.e,a),l+=f*JSe(h.e)),d+=XBn(h.d,h.e)+l,r=new M(h.b);r.a<r.c.c.length;)i=u(E(r),36),t=u(sn(n.b,i.p),219),t.s||(d+=kS(n,t));return d}function dh(){dh=R;var n;for(sI=new gl(1,1),QF=new gl(1,10),C8=new gl(0,0),vQn=new gl(-1,1),kQn=S(C(l2,1),J,92,0,[C8,sI,new gl(1,2),new gl(1,3),new gl(1,4),new gl(1,5),new gl(1,6),new gl(1,7),new gl(1,8),new gl(1,9),QF]),fI=F(l2,J,92,32,0,1),n=0;n<fI.length;n++)fI[n]=CM(Ks(1,n),0)?ra(Ks(1,n)):H6(ra(n1(Ks(1,n))))}function eUn(n,e,t,i,r,c,s){if(n.c=i.Lf().a,n.d=i.Lf().b,r&&(n.c+=r.Lf().a,n.d+=r.Lf().b),n.b=e.Mf().a,n.a=e.Mf().b,!r)t?n.c-=s+e.Mf().a:n.c+=i.Mf().a+s;else switch(r.ag().g){case 0:case 2:n.c+=r.Mf().a+s+c.a+s;break;case 4:n.c-=s+c.a+s+e.Mf().a;break;case 1:n.c+=r.Mf().a+s,n.d-=s+c.b+s+e.Mf().b;break;case 3:n.c+=r.Mf().a+s,n.d+=r.Mf().b+s+c.b+s}}function tUn(n,e){var t,i;for(this.b=new Z,this.e=new Z,this.a=n,this.d=e,E9e(this),I8e(this),this.b.dc()?this.c=n.c.p:this.c=u(this.b.Xb(0),10).c.p,this.e.c.length==0?this.f=n.c.p:this.f=u(sn(this.e,this.e.c.length-1),10).c.p,i=u(v(n,(W(),K8)),15).Kc();i.Ob();)if(t=u(i.Pb(),72),kt(t,(cn(),dO))){this.d=u(v(t,dO),232);break}}function P4(n,e,t){var i,r,c,s,f,h,l,a;for(i=u(ee(n.a,e),49),c=u(ee(n.a,t),49),r=u(ee(n.e,e),49),s=u(ee(n.e,t),49),i.a.zc(t,i),s.a.zc(e,s),a=c.a.ec().Kc();a.Ob();)l=u(a.Pb(),10),i.a.zc(l,i),fi(u(ee(n.e,l),49),e),Ki(u(ee(n.e,l),49),r);for(h=r.a.ec().Kc();h.Ob();)f=u(h.Pb(),10),s.a.zc(f,s),fi(u(ee(n.a,f),49),t),Ki(u(ee(n.a,f),49),c)}function fy(n,e,t){var i,r,c,s,f,h,l,a;for(i=u(ee(n.a,e),49),c=u(ee(n.a,t),49),r=u(ee(n.b,e),49),s=u(ee(n.b,t),49),i.a.zc(t,i),s.a.zc(e,s),a=c.a.ec().Kc();a.Ob();)l=u(a.Pb(),10),i.a.zc(l,i),fi(u(ee(n.b,l),49),e),Ki(u(ee(n.b,l),49),r);for(h=r.a.ec().Kc();h.Ob();)f=u(h.Pb(),10),s.a.zc(f,s),fi(u(ee(n.a,f),49),t),Ki(u(ee(n.a,f),49),c)}function ns(n,e,t){var i,r,c,s,f,h,l,a;for(i=u(ee(n.a,e),49),c=u(ee(n.a,t),49),r=u(ee(n.d,e),49),s=u(ee(n.d,t),49),i.a.zc(t,i),s.a.zc(e,s),a=c.a.ec().Kc();a.Ob();)l=u(a.Pb(),12),i.a.zc(l,i),fi(u(ee(n.d,l),49),e),Ki(u(ee(n.d,l),49),r);for(h=r.a.ec().Kc();h.Ob();)f=u(h.Pb(),12),s.a.zc(f,s),fi(u(ee(n.a,f),49),t),Ki(u(ee(n.a,f),49),c)}function oPe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m;if(c=t,t<i)for(g=(p=new kk(n.p),m=new kk(n.p),Ki(p.e,n.e),p.q=n.q,p.r=m,pT(p),Ki(m.j,n.j),m.r=p,pT(m),new bi(p,m)),d=u(g.a,118),a=u(g.b,118),r=(Nn(c,e.c.length),u(e.c[c],339)),s=Aqn(n,d,a,r),l=t+1;l<=i;l++)f=(Nn(l,e.c.length),u(e.c[l],339)),h=Aqn(n,d,a,f),j9e(f,h,r,s)&&(r=f,s=h,c=l);return c}function sPe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m;for(s=u(N(e,0),27),eu(s,0),tu(s,0),g=new Z,Bn(g.c,s),f=s,c=new eW(n.a,s.g,s.f,(D5(),Fj)),p=1;p<e.i;p++)m=u(N(e,p),27),h=RR(n,D2,m,f,c,g,t),l=RR(n,A3,m,f,c,g,t),a=RR(n,a9,m,f,c,g,t),d=RR(n,l9,m,f,c,g,t),r=ROe(n,h,l,a,d,m,f,i),eu(m,r.d),tu(m,r.e),lfe(r,Fj),c=r,f=m,Bn(g.c,m);return c}function fPe(n,e,t){var i,r,c,s,f,h,l,a,d,g;if(a=null,g=e,d=ULn(n,DLn(t),g),zm(d,bl(g,Eh)),s=Tb(g,Mcn),i=new gTn(n,d),LEe(i.a,i.b,s),f=Tb(g,pF),r=new pTn(n,d),NEe(r.a,r.b,f),(!d.b&&(d.b=new Dn(he,d,4,7)),d.b).i==0||(!d.c&&(d.c=new Dn(he,d,5,8)),d.c).i==0)throw c=bl(g,Eh),h=vWn+c,l=h+tv,T(new eh(l));return gS(g,d),dNe(n,g,d),a=_$(n,g,d),a}function hPe(n,e){var t,i,r,c,s,f,h;for(r=F(ye,_e,28,n.e.a.c.length,15,1),s=new M(n.e.a);s.a<s.c.c.length;)c=u(E(s),125),r[c.d]+=c.b.a.c.length;for(f=$7(e);f.b!=0;)for(c=u(f.b==0?null:(oe(f.b!=0),Xo(f,f.a.a)),125),i=Fp(new M(c.g.a));i.Ob();)t=u(i.Pb(),218),h=t.e,h.e=y.Math.max(h.e,c.e+t.a),--r[h.d],r[h.d]==0&&xt(f,h,f.c.b,f.c)}function iUn(n){var e,t,i,r,c,s,f,h,l,a,d;for(t=Wi,r=et,f=new M(n.e.a);f.a<f.c.c.length;)c=u(E(f),125),r=y.Math.min(r,c.e),t=y.Math.max(t,c.e);for(e=F(ye,_e,28,t-r+1,15,1),s=new M(n.e.a);s.a<s.c.c.length;)c=u(E(s),125),c.e-=r,++e[c.e];if(i=0,n.k!=null)for(l=n.k,a=0,d=l.length;a<d&&(h=l[a],e[i++]+=h,e.length!=i);++a);return e}function lPe(n,e){var t,i,r,c,s,f;if(e.Ug("Edge routing",1),r=u(v(n,(lc(),oq)),392),r==(l5(),ZH))Ome(n);else if(r==Lj)for(u(ho(t4(ut(new Cn(null,new On(n.b,16)),new z3n))),39),c=$(B(v(n,Aln))),s=$(B(v(n,Cln))),f=u(v(n,pw),88),gNe(n,f,c),XNe(n,f,c,s),QNe(n,f,c,s),i=ge(n.a,0);i.b!=i.d.c;)t=u(be(i),65),t.a.b<2&&Inn(t);e.Vg()}function rUn(n){switch(n.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return u(fen(n),17).a==n.o;case 1:case 2:{if(n.o==-2)return!1;switch(n.p){case 0:case 1:case 2:case 6:case 5:case 7:return cb(n.k,n.f);case 3:case 4:return n.j==n.e;default:return n.n==null?n.g==null:ct(n.n,n.g)}}default:return!1}}function aPe(n,e){var t,i,r;switch(e.Ug("Breaking Point Insertion",1),i=new qnn(n),u(v(n,(cn(),LH)),351).g){case 2:r=new VU;break;case 0:r=new GU;break;default:r=new WU}if(t=r.og(n,i),on(un(v(n,jhn)))&&(t=eAe(n,t)),!r.pg()&&kt(n,jO))switch(u(v(n,jO),352).g){case 2:t=R_n(i,t);break;case 1:t=SFn(i,t)}if(t.dc()){e.Vg();return}yNe(n,t),e.Vg()}function cUn(n,e,t){var i,r,c,s,f,h,l,a,d;for(c=new Gc(e.c.length),l=new M(e);l.a<l.c.c.length;)s=u(E(l),10),nn(c,n.b[s.c.p][s.p]);for(JOe(n,c,t),d=null;d=_Ae(c);)OIe(n,u(d.a,239),u(d.b,239),c);for(e.c.length=0,r=new M(c);r.a<r.c.c.length;)for(i=u(E(r),239),f=i.d,h=0,a=f.length;h<a;++h)s=f[h],Bn(e.c,s),n.a[s.c.p][s.p].a=Sf(i.g,i.d[0]).a}function uUn(n){ib(n,new gd(nb(Qd(Zd(Yd(new Fa,h8),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new z4n))),Q(n,h8,Xb,fdn),Q(n,h8,CP,rn(y9)),Q(n,h8,bcn,rn(cdn)),Q(n,h8,r2,rn(udn)),Q(n,h8,d3,rn(sdn)),Q(n,h8,G4,rn(odn))}function RS(n,e,t){var i,r,c,s,f;if(i=Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))),f=Se(er(Uh,xh(Se(er(t==null?0:mt(t),Gh)),15))),c=r5(n,e,i),c&&f==c.f&&sh(t,c.i))return t;if(s=c5(n,t,f),s)throw T(new Gn("value already present: "+t));return r=new vT(e,i,t,f),c?(zg(n,c),Zk(n,r,c),c.e=null,c.c=null,c.i):(Zk(n,r,null),lFn(n),null)}function dPe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;a=t.a.c,s=t.a.c+t.a.b,c=u(ee(t.c,e),467),p=c.f,m=c.a,c.b?h=new V(s,p):h=new V(a,p),c.c?d=new V(a,m):d=new V(s,m),r=a,t.p||(r+=n.c),r+=t.F+t.v*n.b,l=new V(r,p),g=new V(r,m),t5(e.a,S(C(Ei,1),J,8,0,[h,l])),f=t.d.a.gc()>1,f&&(i=new V(r,t.b),Re(e.a,i)),t5(e.a,S(C(Ei,1),J,8,0,[g,d]))}function ps(){ps=R,SO=new Nw(kh,0),Sj=new Nw("NIKOLOV",1),Pj=new Nw("NIKOLOV_PIXEL",2),$hn=new Nw("NIKOLOV_IMPROVED",3),xhn=new Nw("NIKOLOV_IMPROVED_PIXEL",4),Dhn=new Nw("DUMMYNODE_PERCENTAGE",5),Rhn=new Nw("NODECOUNT_PERCENTAGE",6),PO=new Nw("NO_BOUNDARY",7),ww=new Nw("MODEL_ORDER_LEFT_TO_RIGHT",8),U0=new Nw("MODEL_ORDER_RIGHT_TO_LEFT",9)}function bPe(n){var e,t,i,r,c;for(i=n.length,e=new e6,c=0;c<i;)if(t=Xi(n,c++),!(t==9||t==10||t==12||t==13||t==32)){if(t==35){for(;c<i&&(t=Xi(n,c++),!(t==13||t==10)););continue}t==92&&c<i?(r=(zn(c,n.length),n.charCodeAt(c)))==35||r==9||r==10||r==12||r==13||r==32?(Tm(e,r&ui),++c):(e.a+="\\",Tm(e,r&ui),++c):Tm(e,t&ui)}return e.a}function jen(){jen=R,zre=new Tn(Rrn,(_n(),!1)),Jre=new Tn(Krn,Y(0)),Qre=new Tn(Brn,0),Yre=new Tn(NP,!1),qln=(Pk(),FO),Vre=new Tn(zB,qln),Y(0),Xre=new Tn(XB,Y(1)),Gln=(SC(),Eq),tce=new Tn(Frn,Gln),zln=(ZT(),mq),ice=new Tn(_rn,zln),Uln=(sS(),jq),Wre=new Tn(Hrn,Uln),ece=new Tn(VB,0),Zre=new Tn(WB,!1),nce=new Tn(qrn,!1)}function wPe(n,e){var t,i,r;for(i=new M(e);i.a<i.c.c.length;)if(t=u(E(i),27),In(n.a,t,t),In(n.b,t,t),r=a0(t),r.c.length!=0)for(n.d&&n.d.Gg(r),In(n.a,t,(Nn(0,r.c.length),u(r.c[0],27))),In(n.b,t,u(sn(r,r.c.length-1),27));K$(r).c.length!=0;)r=K$(r),n.d&&n.d.Gg(r),In(n.a,t,(Nn(0,r.c.length),u(r.c[0],27))),In(n.b,t,u(sn(r,r.c.length-1),27))}function SR(n,e,t){var i,r,c,s,f,h;if(e)if(t<=-1){if(i=$n(e.Dh(),-1-t),L(i,102))return u(i,19);for(s=u(e.Mh(i),160),f=0,h=s.gc();f<h;++f)if(x(s.Ul(f))===x(n)&&(r=s.Tl(f),L(r,102)&&(c=u(r,19),c.Bb&kc)))return c;throw T(new Ar("The containment feature could not be located"))}else return br(u($n(n.Dh(),t),19));else return null}function gPe(n){var e,t,i,r,c,s,f,h,l,a;for(t=0,f=new M(n.d);f.a<f.c.c.length;)s=u(E(f),105),s.i&&(s.i.c=t++);for(e=Wa(so,[J,Xh],[183,28],16,[t,t],2),a=n.d,r=0;r<a.c.length;r++)if(h=(Nn(r,a.c.length),u(a.c[r],105)),h.i)for(c=r+1;c<a.c.length;c++)l=(Nn(c,a.c.length),u(a.c[c],105)),l.i&&(i=Hye(h,l),e[h.i.c][l.i.c]=i,e[l.i.c][h.i.c]=i);return e}function Een(){Een=R,Tce=new Tn(zrn,(_n(),!1)),Y(-1),vce=new Tn(Xrn,Y(-1)),Y(-1),kce=new Tn(Vrn,Y(-1)),yce=new Tn(Wrn,!1),d1n=(GT(),Nq),Ice=new Tn(Jrn,d1n),Oce=new Tn(Qrn,-1),a1n=(_C(),Oq),Pce=new Tn(Yrn,a1n),Sce=new Tn(Zrn,!0),l1n=(nC(),Dq),Mce=new Tn(ncn,l1n),Ece=new Tn(ecn,!1),Y(1),jce=new Tn(tcn,Y(1)),Cce=new lt(icn)}function K5(){K5=R,YH=new rb("ROOT_PROC",0),uln=new rb("FAN_PROC",1),hln=new rb("LEVEL_PROC",2),lln=new rb("NEIGHBORS_PROC",3),fln=new rb("LEVEL_HEIGHT",4),cln=new rb("DIRECTION_PROC",5),aln=new rb("NODE_POSITION_PROC",6),iln=new rb("COMPACTION_PROC",7),sln=new rb("LEVEL_COORDS",8),oln=new rb("GRAPH_BOUNDS_PROC",9),rln=new rb("DETREEIFYING_PROC",10)}function Men(n,e){var t,i,r,c,s,f,h,l,a,d;for(d=Hr(e),l=null,r=!1,f=0,a=Pc(d.a).i;f<a;++f)s=u(gy(d,f,(c=u(N(Pc(d.a),f),89),h=c.c,L(h,90)?u(h,29):(An(),Os))),29),t=Men(n,s),t.dc()||(l?(r||(r=!0,l=new oT(l)),l.Gc(t)):l=t);return i=CEe(n,e),i.dc()?l||(Ln(),Ln(),sr):l?(r||(l=new oT(l)),l.Gc(i),l):i}function PR(n,e){var t,i,r,c,s,f,h,l,a,d;for(d=Hr(e),l=null,i=!1,f=0,a=Pc(d.a).i;f<a;++f)c=u(gy(d,f,(r=u(N(Pc(d.a),f),89),h=r.c,L(h,90)?u(h,29):(An(),Os))),29),t=PR(n,c),t.dc()||(l?(i||(i=!0,l=new oT(l)),l.Gc(t)):l=t);return s=fMe(n,e),s.dc()?l||(Ln(),Ln(),sr):l?(i||(l=new oT(l)),l.Gc(s),l):s}function pPe(n){var e,t,i,r;i=n.o,Kw(),n.A.dc()||ct(n.A,ton)?r=i.a:(r=ey(n.f),n.A.Hc((go(),tE))&&!n.B.Hc((io(),P9))&&(r=y.Math.max(r,ey(u(Mr(n.p,(en(),Xn)),252))),r=y.Math.max(r,ey(u(Mr(n.p,ae),252)))),e=Rxn(n),e&&(r=y.Math.max(r,e.a))),on(un(n.e.Tf().of((He(),V0))))?i.a=y.Math.max(i.a,r):i.a=r,t=n.f.i,t.c=0,t.b=r,NR(n.f)}function hy(n,e,t){var i,r,c,s,f,h;if(L(e,76))return cr(n,e,t);for(f=null,c=null,i=u(n.g,124),s=0;s<n.i;++s)if(r=i[s],ct(e,r.md())&&(c=r.Lk(),L(c,102)&&u(c,19).Bb&kc)){f=r;break}return f&&(fo(n.e)&&(h=c.Jk()?W1(n,4,c,e,null,O4(n,c,e,L(c,102)&&(u(c,19).Bb&hr)!=0),!0):W1(n,c.tk()?2:1,c,e,c.ik(),-1,!0),t?t.nj(h):t=h),t=hy(n,f,t)),t}function mPe(n,e,t){var i,r,c,s;if(s=ru(n.e.Dh(),e),i=u(n.g,124),dr(),u(e,69).xk()){for(c=0;c<n.i;++c)if(r=i[c],s.am(r.Lk())&&ct(r,t))return d0(n,c),!0}else if(t!=null){for(c=0;c<n.i;++c)if(r=i[c],s.am(r.Lk())&&ct(t,r.md()))return d0(n,c),!0}else for(c=0;c<n.i;++c)if(r=i[c],s.am(r.Lk())&&r.md()==null)return d0(n,c),!0;return!1}function vPe(n,e){var t,i,r,c,s;if(e.Ug("Node and Port Label Placement and Node Sizing",1),aCn((r6(),new kD(n,!0,!0,new jgn))),u(v(n,(W(),Hc)),21).Hc((pr(),cs)))for(c=u(v(n,(cn(),_0)),21),r=c.Hc((zu(),eE)),s=on(un(v(n,ahn))),i=new M(n.b);i.a<i.c.c.length;)t=u(E(i),30),Ut(ut(new Cn(null,new On(t.a,16)),new Egn),new pPn(c,r,s));e.Vg()}function kPe(n,e){var t,i,r,c,s;for(n.c==null||n.c.length<e.c.length?n.c=F(so,Xh,28,e.c.length,16,1):Zv(n.c),n.a=new Z,i=0,s=new M(e);s.a<s.c.c.length;)r=u(E(s),10),r.p=i++;for(t=new Mt,c=new M(e);c.a<c.c.c.length;)r=u(E(c),10),n.c[r.p]||(__n(n,r),t.b==0||(oe(t.b!=0),u(t.a.a.c,15)).gc()<n.a.c.length?gg(t,n.a):ir(t,n.a),n.a=new Z);return t}function oUn(n){ib(n,new gd(nb(Qd(Zd(Yd(new Fa,Q4),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new d4n))),Q(n,Q4,YB,rn(nan)),Q(n,Q4,Xb,Z1n),Q(n,Q4,y0,8),Q(n,Q4,eF,rn(hue)),Q(n,Q4,fcn,rn(Q1n)),Q(n,Q4,hcn,rn(Y1n)),Q(n,Q4,qy,(_n(),!1))}function yPe(n,e){var t,i,r,c,s,f,h;if(t=e.qi(n.a),t&&(h=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),zcn)),h!=null)){for(i=new Z,c=w0(h,"\\w"),s=0,f=c.length;s<f;++s)r=c[s],Sn(r,"##other")?nn(i,"!##"+R6(n,jo(e.qk()))):Sn(r,"##local")?i.c.push(null):Sn(r,Qy)?nn(i,R6(n,jo(e.qk()))):Bn(i.c,r);return i}return Ln(),Ln(),sr}function sUn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p;for(s=hb(e.c,t,i),d=new M(e.a);d.a<d.c.c.length;){for(a=u(E(d),10),it(a.n,s),p=new M(a.j);p.a<p.c.c.length;)for(g=u(E(p),12),c=new M(g.g);c.a<c.c.c.length;)for(r=u(E(c),18),n0(r.a,s),f=u(v(r,(cn(),Rr)),75),f&&n0(f,s),l=new M(r.b);l.a<l.c.c.length;)h=u(E(l),72),it(h.n,s);nn(n.a,a),a.a=n}}function ly(n){var e,t,i,r,c,s,f,h;if(n.d)throw T(new Ar((ll(S_),RK+S_.k+KK)));for(n.c==(ci(),Jf)&&Yg(n,Kr),t=new M(n.a.a);t.a<t.c.c.length;)e=u(E(t),194),e.e=0;for(s=new M(n.a.b);s.a<s.c.c.length;)for(c=u(E(s),86),c.o=li,r=c.f.Kc();r.Ob();)i=u(r.Pb(),86),++i.d.e;for(kLe(n),h=new M(n.a.b);h.a<h.c.c.length;)f=u(E(h),86),f.k=!0;return n}function jPe(n,e){var t,i,r,c,s,f,h,l;for(f=new w_n(n),t=new Mt,xt(t,e,t.c.b,t.c);t.b!=0;){for(i=u(t.b==0?null:(oe(t.b!=0),Xo(t,t.a.a)),113),i.d.p=1,s=new M(i.e);s.a<s.c.c.length;)r=u(E(s),340),$Fn(f,r),l=r.d,l.d.p==0&&xt(t,l,t.c.b,t.c);for(c=new M(i.b);c.a<c.c.c.length;)r=u(E(c),340),$Fn(f,r),h=r.c,h.d.p==0&&xt(t,h,t.c.b,t.c)}return f}function fUn(n){var e,t,i,r,c;if(i=$(B(z(n,(He(),Rue)))),i!=1)for(kg(n,i*n.g,i*n.f),t=Mle(iwe((!n.c&&(n.c=new q(Qu,n,9,9)),n.c),new tvn)),c=$h(Eo(S(C(Ao,1),Rn,20,0,[(!n.n&&(n.n=new q(Sr,n,1,7)),n.n),(!n.c&&(n.c=new q(Qu,n,9,9)),n.c),t])));pe(c);)r=u(fe(c),422),r.qh(i*r.nh(),i*r.oh()),r.ph(i*r.mh(),i*r.lh()),e=u(r.of(Ran),8),e&&(e.a*=i,e.b*=i)}function Ten(n,e,t){var i,r,c,s,f;if(s=(dr(),u(e,69).xk()),Pl(n.e,e)){if(e.Si()&&BS(n,e,t,L(e,102)&&(u(e,19).Bb&hr)!=0))return!1}else for(f=ru(n.e.Dh(),e),i=u(n.g,124),c=0;c<n.i;++c)if(r=i[c],f.am(r.Lk()))return(s?ct(r,t):t==null?r.md()==null:ct(t,r.md()))?!1:(u(Bg(n,c,s?u(t,76):Rh(e,t)),76),!0);return ve(n,s?u(t,76):Rh(e,t))}function EPe(n,e,t,i,r){var c,s,f,h,l,a,d,g;for(s=new M(n.b);s.a<s.c.c.length;)for(c=u(E(s),30),g=Q7(c.a),l=g,a=0,d=l.length;a<d;++a)switch(h=l[a],u(v(h,(cn(),ou)),171).g){case 1:UCe(h),$i(h,e),jBn(h,!0,i);break;case 3:CCe(h),$i(h,t),jBn(h,!1,r)}for(f=new xi(n.b,0);f.b<f.d.gc();)(oe(f.b<f.d.gc()),u(f.d.Xb(f.c=f.b++),30)).a.c.length==0&&bo(f)}function MPe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(p=e.length,h=p,zn(0,e.length),e.charCodeAt(0)==45?(d=-1,g=1,--p):(d=1,g=0),c=(KR(),jQn)[10],r=p/c|0,j=p%c,j!=0&&++r,f=F(ye,_e,28,r,15,1),t=yQn[8],s=0,m=g+(j==0?c:j),k=g;k<h;k=m,m=k+c)i=So((Ri(k,m,e.length),e.substr(k,m-k)),Wi,et),l=(C4(),fZ(f,f,s,t)),l+=T8e(f,s,i),f[s++]=l;a=s,n.e=d,n.d=a,n.a=f,V6(n)}function TPe(n,e){var t,i,r,c;return t=new Iwn,i=u(Wr(_r(new Cn(null,new On(n.f,16)),t),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[(Gu(),S0),Yr]))),21),r=i.gc(),i=u(Wr(_r(new Cn(null,new On(e.f,16)),t),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[S0,Yr]))),21),c=i.gc(),r=r==1?1:0,c=c==1?1:0,r<c?-1:r==c?0:1}function CPe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(f=n.i,r=on(un(v(f,(cn(),B0)))),a=0,i=0,l=new M(n.g);l.a<l.c.c.length;)h=u(E(l),18),s=fr(h),c=s&&r&&on(un(v(h,Dd))),g=h.d.i,s&&c?++i:s&&!c?++a:Hi(g).e==f?++i:++a;for(t=new M(n.e);t.a<t.c.c.length;)e=u(E(t),18),s=fr(e),c=s&&r&&on(un(v(e,Dd))),d=e.c.i,s&&c?++a:s&&!c?++i:Hi(d).e==f?++a:++i;return a-i}function Wg(n,e,t,i){this.e=n,this.k=u(v(n,(W(),E2)),312),this.g=F(Qh,b1,10,e,0,1),this.b=F(si,J,345,e,7,1),this.a=F(Qh,b1,10,e,0,1),this.d=F(si,J,345,e,7,1),this.j=F(Qh,b1,10,e,0,1),this.i=F(si,J,345,e,7,1),this.p=F(si,J,345,e,7,1),this.n=F(zt,J,484,e,8,1),u7(this.n,(_n(),!1)),this.f=F(zt,J,484,e,8,1),u7(this.f,!0),this.o=t,this.c=i}function hUn(n,e){var t,i,r,c,s,f;if(!e.dc())if(u(e.Xb(0),292).d==(Yp(),D0))W7e(n,e);else for(i=e.Kc();i.Ob();){switch(t=u(i.Pb(),292),t.d.g){case 5:j4(n,t,n8e(n,t));break;case 0:j4(n,t,(s=t.f-t.c+1,f=(s-1)/2|0,t.c+f));break;case 4:j4(n,t,o4e(n,t));break;case 2:SKn(t),j4(n,t,(c=qZ(t),c?t.c:t.f));break;case 1:SKn(t),j4(n,t,(r=qZ(t),r?t.f:t.c))}Gye(t.a)}}function Cen(n,e,t,i){var r,c,s;return s=new UEn(e,t),n.a?i?(r=u(as(u(ee(n.b,e),260)),260),++r.a,s.d=i.d,s.e=i.e,s.b=i,s.c=i,i.e?i.e.c=s:r.b=s,i.d?i.d.b=s:n.a=s,i.d=s,i.e=s):(u(as(n.e),511).b=s,s.d=n.e,n.e=s,r=u(ee(n.b,e),260),r?(++r.a,c=r.c,c.c=s,s.e=c,r.c=s):(Ve(n.b,e,r=new JW(s)),++n.c)):(n.a=n.e=s,Ve(n.b,e,new JW(s)),++n.c),++n.d,s}function IR(n,e){var t,i,r,c,s;if(e.Ug("Network simplex",1),n.e.a.c.length<1){e.Vg();return}for(c=new M(n.e.a);c.a<c.c.c.length;)r=u(E(c),125),r.e=0;for(s=n.e.a.c.length>=40,s&&wIe(n),MOe(n),zCe(n),t=gKn(n),i=0;t&&i<n.f;)APe(n,t,WMe(n,t)),t=gKn(n),++i;s&&lye(n),n.a?uTe(n,iUn(n)):iUn(n),n.b=null,n.d=null,n.p=null,n.c=null,n.g=null,n.i=null,n.n=null,n.o=null,e.Vg()}function SPe(n,e){var t,i,r,c,s,f,h;if(!e.e){for(e.e=!0,i=e.d.a.ec().Kc();i.Ob();){if(t=u(i.Pb(),18),e.o&&e.d.a.gc()<=1){s=e.a.c,f=e.a.c+e.a.b,h=new V(s+(f-s)/2,e.b),Re(u(e.d.a.ec().Kc().Pb(),18).a,h);continue}if(r=u(ee(e.c,t),467),r.b||r.c){dPe(n,t,e);continue}c=n.d==(u4(),J8)&&(r.d||r.e)&&vMe(n,e)&&e.d.a.gc()<=1,c?nLe(t,e):jSe(n,t,e)}e.k&&qi(e.d,new Q0n)}}function Sen(n,e,t,i,r,c){var s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(g=c,f=(i+r)/2+g,j=t*y.Math.cos(f),P=t*y.Math.sin(f),O=j-e.g/2,A=P-e.f/2,eu(e,O),tu(e,A),d=n.a.Eg(e),k=2*y.Math.acos(t/t+n.c),k<r-i?(p=k/d,s=(i+r-k)/2):(p=(r-i)/d,s=i),m=a0(e),n.e&&(n.e.Fg(n.d),n.e.Gg(m)),l=new M(m);l.a<l.c.c.length;)h=u(E(l),27),a=n.a.Eg(h),Sen(n,h,t+n.c,s,s+p*a,c),s+=p*a}function PPe(n,e,t){var i;switch(i=t.q.getMonth(),e){case 5:Be(n,S(C(fn,1),J,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:Be(n,S(C(fn,1),J,2,6,[sK,fK,hK,lK,c3,aK,dK,bK,wK,gK,pK,mK])[i]);break;case 3:Be(n,S(C(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:Kh(n,i+1,e)}}function IPe(n,e,t,i){var r,c,s,f,h,l,a,d,g;for(h=new V(t,i),mi(h,u(v(e,(Y1(),O8)),8)),g=new M(e.e);g.a<g.c.c.length;)d=u(E(g),153),it(d.d,h),nn(n.e,d);for(f=new M(e.c);f.a<f.c.c.length;){for(s=u(E(f),289),c=new M(s.a);c.a<c.c.c.length;)r=u(E(c),250),it(r.d,h);nn(n.c,s)}for(a=new M(e.d);a.a<a.c.c.length;)l=u(E(a),453),it(l.d,h),nn(n.d,l)}function Pen(n,e){var t,i,r,c,s,f,h,l;for(h=new M(e.j);h.a<h.c.c.length;)for(f=u(E(h),12),r=new Lf(f.b);tc(r.a)||tc(r.b);)i=u(tc(r.a)?E(r.a):E(r.b),18),t=i.c==f?i.d:i.c,c=t.i,e!=c&&(l=u(v(i,(cn(),Tv)),17).a,l<0&&(l=0),s=c.p,n.b[s]==0&&(i.d==t?(n.a[s]-=l+1,n.a[s]<=0&&n.c[s]>0&&Re(n.f,c)):(n.c[s]-=l+1,n.c[s]<=0&&n.a[s]>0&&Re(n.e,c))))}function lUn(n,e,t,i){var r,c,s,f,h,l,a;for(h=new V(t,i),mi(h,u(v(e,(pt(),Av)),8)),a=ge(e.b,0);a.b!=a.d.c;)l=u(be(a),39),it(l.e,h),Re(n.b,l);for(f=u(Wr(rJ(new Cn(null,new On(e.a,16))),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15).Kc();f.Ob();){for(s=u(f.Pb(),65),c=ge(s.a,0);c.b!=c.d.c;)r=u(be(c),8),r.a+=h.a,r.b+=h.b;Re(n.a,s)}}function Ien(n,e){var t,i,r,c;if(0<(L(n,16)?u(n,16).gc():wl(n.Kc()))){if(r=e,1<r){for(--r,c=new U3n,i=n.Kc();i.Ob();)t=u(i.Pb(),39),c=Eo(S(C(Ao,1),Rn,20,0,[c,new sl(t)]));return Ien(c,r)}if(r<0){for(c=new G3n,i=n.Kc();i.Ob();)t=u(i.Pb(),39),c=Eo(S(C(Ao,1),Rn,20,0,[c,new sl(t)]));if(0<(L(c,16)?u(c,16).gc():wl(c.Kc())))return Ien(c,r)}}return u(NM(n.Kc()),39)}function OPe(n,e,t){var i,r,c,s;for(t.Ug("Processor order nodes",2),n.b=$(B(v(e,(lc(),sq)))),n.a=u(v(e,pw),88),n.a==(ci(),Jf)&&(n.a=Wf,U(e,pw,n.a)),r=new Mt,s=ge(e.b,0);s.b!=s.d.c;)c=u(be(s),39),on(un(v(c,(pt(),Ca))))&&xt(r,c,r.c.b,r.c);i=(oe(r.b!=0),u(r.a.a.c,39)),oGn(n,i),t.fh(1),ven(n,i,0-$(B(v(i,(pt(),xO))))/2,0),t.fh(1),t.Vg()}function io(){io=R,Fv=new wg("DEFAULT_MINIMUM_SIZE",0),cE=new wg("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),sA=new wg("COMPUTE_PADDING",2),P9=new wg("OUTSIDE_NODE_LABELS_OVERHANG",3),fA=new wg("PORTS_OVERHANG",4),lA=new wg("UNIFORM_PORT_SPACING",5),hA=new wg("SPACE_EFFICIENT_PORT_LABELS",6),aU=new wg("FORCE_TABULAR_NODE_LABELS",7),rE=new wg("ASYMMETRICAL",8)}function OR(n,e){var t,i,r,c,s,f,h,l;if(e){if(t=(c=e.Dh(),c?jo(c).wi().si(c):null),t){for(s1(n,e,t),r=e.Dh(),h=0,l=(r.i==null&&bh(r),r.i).length;h<l;++h)f=(i=(r.i==null&&bh(r),r.i),h>=0&&h<i.length?i[h]:null),f.rk()&&!f.sk()&&(L(f,331)?P9e(n,u(f,35),e,t):(s=u(f,19),s.Bb&kc&&Bke(n,s,e,t)));e.Vh()&&u(t,54).ei(u(e,54)._h())}return t}else return null}function APe(n,e,t){var i,r,c;if(!e.f)throw T(new Gn("Given leave edge is no tree edge."));if(t.f)throw T(new Gn("Given enter edge is a tree edge already."));for(e.f=!1,NX(n.p,e),t.f=!0,fi(n.p,t),i=t.e.e-t.d.e-t.a,fR(n,t.e,e)||(i=-i),c=new M(n.e.a);c.a<c.c.c.length;)r=u(E(c),125),fR(n,r,e)||(r.e+=i);n.j=1,Zv(n.c),Pnn(n,u(E(new M(n.e.a)),125)),pGn(n)}function aUn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p;if(j4e(n,e,t),c=e[t],p=i?(en(),Wn):(en(),Zn),T1e(e.length,t,i)){for(r=e[i?t-1:t+1],FJ(n,r,i?(gr(),Jc):(gr(),Vu)),h=c,a=0,g=h.length;a<g;++a)s=h[a],dZ(n,s,p);for(FJ(n,c,i?(gr(),Vu):(gr(),Jc)),f=r,l=0,d=f.length;l<d;++l)s=f[l],s.e||dZ(n,s,$k(p))}else for(f=c,l=0,d=f.length;l<d;++l)s=f[l],dZ(n,s,p);return!1}function LPe(n,e,t,i,r){var c,s,f,h,l,a,d;for(Ln(),Yt(n,new Q4n),f=new xi(n,0),d=new Z,c=0;f.b<f.d.gc();)s=(oe(f.b<f.d.gc()),u(f.d.Xb(f.c=f.b++),163)),d.c.length!=0&&Pu(s)*ao(s)>c*2?(a=new hC(d),l=Pu(s)/ao(s),h=QR(a,e,new up,t,i,r,l),it(ff(a.e),h),d.c.length=0,c=0,Bn(d.c,a),Bn(d.c,s),c=Pu(a)*ao(a)+Pu(s)*ao(s)):(Bn(d.c,s),c+=Pu(s)*ao(s));return d}function dUn(n,e){var t,i,r,c,s,f;if(f=u(v(e,(cn(),_t)),101),f==(Ai(),tl)||f==qc)for(r=new V(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,s=new M(n.a);s.a<s.c.c.length;)c=u(E(s),10),c.k==(Vn(),Zt)&&(t=u(v(c,(W(),gc)),64),!(t!=(en(),Zn)&&t!=Wn)&&(i=$(B(v(c,ow))),f==tl&&(i*=r),c.n.b=i-u(v(c,aw),8).b,OC(c,!1,!0)))}function NPe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;if(fo(n.e)){if(e!=t&&(r=u(n.g,124),p=r[t],s=p.Lk(),Pl(n.e,s))){for(m=ru(n.e.Dh(),s),h=-1,f=-1,i=0,l=0,d=e>t?e:t;l<=d;++l)l==t?f=i++:(c=r[l],a=m.am(c.Lk()),l==e&&(h=l==d&&!a?i-1:i),a&&++i);return g=u(m5(n,e,t),76),f!=h&&em(n,new rk(n.e,7,s,Y(f),p.md(),h)),g}}else return u(lR(n,e,t),76);return u(m5(n,e,t),76)}function DPe(n,e){var t,i,r,c,s,f,h;for(e.Ug("Port order processing",1),h=u(v(n,(cn(),dhn)),430),i=new M(n.b);i.a<i.c.c.length;)for(t=u(E(i),30),c=new M(t.a);c.a<c.c.c.length;)r=u(E(c),10),s=u(v(r,_t),101),f=r.j,s==(Ai(),Ud)||s==tl||s==qc?(Ln(),Yt(f,ksn)):s!=Qf&&s!=Oa&&(Ln(),Yt(f,JZn),B9e(f),h==(ak(),UH)&&Yt(f,WZn)),r.i=!0,Tnn(r);e.Vg()}function $Pe(n){var e,t,i,r,c,s,f,h;for(h=new de,e=new oL,s=n.Kc();s.Ob();)r=u(s.Pb(),10),f=sb(i7(new za,r),e),Vc(h.f,r,f);for(c=n.Kc();c.Ob();)for(r=u(c.Pb(),10),i=new ie(ce(Qt(r).a.Kc(),new En));pe(i);)t=u(fe(i),18),!fr(t)&&qs(Ns(Ls(As(Ds(new hs,y.Math.max(1,u(v(t,(cn(),bhn)),17).a)),1),u(ee(h,t.c.i),125)),u(ee(h,t.d.i),125)));return e}function bUn(){bUn=R,zie=Fe(new ii,(Vi(),Fc),(tr(),csn)),eln=Fe(new ii,Ac,PI),Vie=Iu(Fe(new ii,Ac,xI),zr,$I),Gie=Iu(Fe(Fe(new ii,Ac,nsn),Fc,esn),zr,tsn),Wie=ah(ah(s6(Iu(Fe(new ii,Vs,FI),zr,BI),Fc),KI),_I),Xie=Iu(new ii,zr,usn),qie=Iu(Fe(Fe(Fe(new ii,Jh,OI),Fc,LI),Fc,fv),zr,AI),Uie=Iu(Fe(Fe(new ii,Fc,fv),Fc,SI),zr,CI)}function xPe(n,e,t,i,r,c){var s,f,h,l,a,d,g;for(l=gRn(e)-gRn(n),s=e_n(e,l),h=Yc(0,0,0);l>=0&&(f=P7e(n,s),!(f&&(l<22?h.l|=1<<l:l<44?h.m|=1<<l-22:h.h|=1<<l-44,n.l==0&&n.m==0&&n.h==0)));)a=s.m,d=s.h,g=s.l,s.h=d>>>1,s.m=a>>>1|(d&1)<<21,s.l=g>>>1|(a&1)<<21,--l;return t&&H$(h),c&&(i?(ga=e4(n),r&&(ga=Qxn(ga,(Km(),fun)))):ga=Yc(n.l,n.m,n.h)),h}function RPe(n,e){var t,i,r,c,s,f,h,l,a,d;for(l=n.e[e.c.p][e.p]+1,h=e.c.a.c.length+1,f=new M(n.a);f.a<f.c.c.length;){for(s=u(E(f),12),d=0,c=0,r=$h(Eo(S(C(Ao,1),Rn,20,0,[new nm(s),new ip(s)])));pe(r);)i=u(fe(r),12),i.i.c==e.c&&(d+=p1e(n,i.i)+1,++c);t=d/c,a=s.j,a==(en(),Zn)?t<l?n.f[s.p]=n.c-t:n.f[s.p]=n.b+(h-t):a==Wn&&(t<l?n.f[s.p]=n.b+t:n.f[s.p]=n.c-(h-t))}}function So(n,e,t){var i,r,c,s,f;if(n==null)throw T(new th(gu));for(c=n.length,s=c>0&&(zn(0,n.length),n.charCodeAt(0)==45||(zn(0,n.length),n.charCodeAt(0)==43))?1:0,i=s;i<c;i++)if(XKn((zn(i,n.length),n.charCodeAt(i)))==-1)throw T(new th(zb+n+'"'));if(f=parseInt(n,10),r=f<e,isNaN(f))throw T(new th(zb+n+'"'));if(r||f>t)throw T(new th(zb+n+'"'));return f}function KPe(n){var e,t,i,r,c,s,f;for(s=new Mt,c=new M(n.a);c.a<c.c.c.length;)r=u(E(c),118),JA(r,r.f.c.length),SE(r,r.k.c.length),r.i==0&&(r.o=0,xt(s,r,s.c.b,s.c));for(;s.b!=0;)for(r=u(s.b==0?null:(oe(s.b!=0),Xo(s,s.a.a)),118),i=r.o+1,t=new M(r.f);t.a<t.c.c.length;)e=u(E(t),132),f=e.a,wG(f,y.Math.max(f.o,i)),SE(f,f.i-1),f.i==0&&xt(s,f,s.c.b,s.c)}function BPe(n){var e,t,i,r,c,s,f,h;for(s=new M(n);s.a<s.c.c.length;){for(c=u(E(s),74),i=Gr(u(N((!c.b&&(c.b=new Dn(he,c,4,7)),c.b),0),84)),f=i.i,h=i.j,r=u(N((!c.a&&(c.a=new q(Tt,c,6,6)),c.a),0),166),j7(r,r.j+f,r.k+h),y7(r,r.b+f,r.c+h),t=new ne((!r.a&&(r.a=new ti(xo,r,5)),r.a));t.e!=t.i.gc();)e=u(ue(t),377),gN(e,e.a+f,e.b+h);xQ(u(z(c,(He(),mw)),75),f,h)}}function I4(n){var e;switch(n){case 100:return Zg(E8,!0);case 68:return Zg(E8,!1);case 119:return Zg(NF,!0);case 87:return Zg(NF,!1);case 115:return Zg(DF,!0);case 83:return Zg(DF,!1);case 99:return Zg($F,!0);case 67:return Zg($F,!1);case 105:return Zg(xF,!0);case 73:return Zg(xF,!1);default:throw T(new ec((e=n,zJn+e.toString(16))))}}function FPe(n){var e,t,i,r,c;switch(r=u(sn(n.a,0),10),e=new Cl(n),nn(n.a,e),e.o.a=y.Math.max(1,r.o.a),e.o.b=y.Math.max(1,r.o.b),e.n.a=r.n.a,e.n.b=r.n.b,u(v(r,(W(),gc)),64).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return i=new Ic,ic(i,e),t=new yb,c=u(sn(r.j,0),12),Zi(t,c),Oi(t,i),it(ff(i.n),c.n),it(ff(i.a),c.a),e}function wUn(n,e,t,i,r){t&&(!i||(n.c-n.b&n.a.length-1)>1)&&e==1&&u(n.a[n.b],10).k==(Vn(),Sc)?t3(u(n.a[n.b],10),(Co(),nl)):i&&(!t||(n.c-n.b&n.a.length-1)>1)&&e==1&&u(n.a[n.c-1&n.a.length-1],10).k==(Vn(),Sc)?t3(u(n.a[n.c-1&n.a.length-1],10),(Co(),Pa)):(n.c-n.b&n.a.length-1)==2?(t3(u(f5(n),10),(Co(),nl)),t3(u(f5(n),10),Pa)):dTe(n,r),MJ(n)}function _Pe(n,e,t){var i,r,c,s,f;for(c=0,r=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));r.e!=r.i.gc();)i=u(ue(r),27),s="",(!i.n&&(i.n=new q(Sr,i,1,7)),i.n).i==0||(s=u(N((!i.n&&(i.n=new q(Sr,i,1,7)),i.n),0),135).a),f=new q$(c++,e,s),Ur(f,i),U(f,(pt(),r9),i),f.e.b=i.j+i.f/2,f.f.a=y.Math.max(i.g,1),f.e.a=i.i+i.g/2,f.f.b=y.Math.max(i.f,1),Re(e.b,f),Vc(t.f,i,f)}function HPe(n){var e,t,i,r,c;i=u(v(n,(W(),st)),27),c=u(z(i,(cn(),xd)),181).Hc((go(),Gd)),n.e||(r=u(v(n,Hc),21),e=new V(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),r.Hc((pr(),cs))?(ht(i,_t,(Ai(),qc)),qb(i,e.a,e.b,!1,!0)):on(un(z(i,SH)))||qb(i,e.a,e.b,!0,!0)),c?ht(i,xd,yn(Gd)):ht(i,xd,(t=u(of(S9),9),new _o(t,u(xs(t,t.length),9),0)))}function Oen(n,e,t){var i,r,c,s;if(e[0]>=n.length)return t.o=0,!0;switch(Xi(n,e[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++e[0],c=e[0],s=yS(n,e),s==0&&e[0]==c)return!1;if(e[0]<n.length&&Xi(n,e[0])==58){if(i=s*60,++e[0],c=e[0],s=yS(n,e),s==0&&e[0]==c)return!1;i+=s}else i=s,i<24&&e[0]-c<=2?i*=60:i=i%100+(i/100|0)*60;return i*=r,t.o=-i,!0}function qPe(n){var e,t,i,r,c,s,f,h,l;for(s=new Z,i=new ie(ce(Qt(n.b).a.Kc(),new En));pe(i);)t=u(fe(i),18),fr(t)&&nn(s,new $Nn(t,mDn(n,t.c),mDn(n,t.d)));for(l=(c=new ol(n.e).a.vc().Kc(),new Cw(c));l.a.Ob();)f=(e=u(l.a.Pb(),44),u(e.md(),113)),f.d.p=0;for(h=(r=new ol(n.e).a.vc().Kc(),new Cw(r));h.a.Ob();)f=(e=u(h.a.Pb(),44),u(e.md(),113)),f.d.p==0&&nn(n.d,jPe(n,f))}function UPe(n){var e,t,i,r,c,s,f;for(c=Pf(n),r=new ne((!n.e&&(n.e=new Dn(Vt,n,7,4)),n.e));r.e!=r.i.gc();)if(i=u(ue(r),74),f=Gr(u(N((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84)),!Yw(f,c))return!0;for(t=new ne((!n.d&&(n.d=new Dn(Vt,n,8,5)),n.d));t.e!=t.i.gc();)if(e=u(ue(t),74),s=Gr(u(N((!e.b&&(e.b=new Dn(he,e,4,7)),e.b),0),84)),!Yw(s,c))return!0;return!1}function GPe(n,e){var t,i,r,c,s,f,h,l,a;for(s=new M(e.b);s.a<s.c.c.length;)for(c=u(E(s),30),l=new M(c.a);l.a<l.c.c.length;){for(h=u(E(l),10),a=new Z,f=0,i=new ie(ce(ji(h).a.Kc(),new En));pe(i);)t=u(fe(i),18),!(fr(t)||!fr(t)&&t.c.i.c==t.d.i.c)&&(r=u(v(t,(cn(),O3)),17).a,r>f&&(f=r,a.c.length=0),r==f&&nn(a,new bi(t.c.i,t)));Ln(),Yt(a,n.c),ab(n.b,h.p,a)}}function zPe(n,e){var t,i,r,c,s,f,h,l,a;for(s=new M(e.b);s.a<s.c.c.length;)for(c=u(E(s),30),l=new M(c.a);l.a<l.c.c.length;){for(h=u(E(l),10),a=new Z,f=0,i=new ie(ce(Qt(h).a.Kc(),new En));pe(i);)t=u(fe(i),18),!(fr(t)||!fr(t)&&t.c.i.c==t.d.i.c)&&(r=u(v(t,(cn(),O3)),17).a,r>f&&(f=r,a.c.length=0),r==f&&nn(a,new bi(t.d.i,t)));Ln(),Yt(a,n.c),ab(n.f,h.p,a)}}function XPe(n,e){var t,i,r,c,s,f,h,l;if(l=un(v(e,(lc(),Ore))),l==null||(Jn(l),l)){for(mMe(n,e),r=new Z,h=ge(e.b,0);h.b!=h.d.c;)s=u(be(h),39),t=mnn(n,s,null),t&&(Ur(t,e),Bn(r.c,t));if(n.a=null,n.b=null,r.c.length>1)for(i=new M(r);i.a<i.c.c.length;)for(t=u(E(i),121),c=0,f=ge(t.b,0);f.b!=f.d.c;)s=u(be(f),39),s.g=c++;return r}return Af(S(C(TDe,1),jXn,121,0,[e]))}function VPe(n){var e,t,i,r,c,s,f,h;for(h=new Tu,e=ge(n,0),f=null,t=u(be(e),8),r=u(be(e),8);e.b!=e.d.c;)f=t,t=r,r=u(be(e),8),c=j$n(mi(new V(f.a,f.b),t)),s=j$n(mi(new V(r.a,r.b),t)),i=10,i=y.Math.min(i,y.Math.abs(c.a+c.b)/2),i=y.Math.min(i,y.Math.abs(s.a+s.b)/2),c.a=K7(c.a)*i,c.b=K7(c.b)*i,s.a=K7(s.a)*i,s.b=K7(s.b)*i,Re(h,it(c,t)),Re(h,it(s,t));return h}function WPe(n,e,t){var i,r,c,s,f,h;if(t.Ug("Minimize Crossings "+n.a,1),i=e.b.c.length==0||!om(ut(new Cn(null,new On(e.b,16)),new Y3(new Wpn))).Bd((Va(),v3)),h=e.b.c.length==1&&u(sn(e.b,0),30).a.c.length==1,c=x(v(e,(cn(),K0)))===x((jl(),T1)),i||h&&!c){t.Vg();return}r=KCe(n,e),s=(f=u(Zo(r,0),219),f.c.kg()?f.c.eg()?new F7n(n):new _7n(n):new B7n(n)),C6e(r,s),r5e(n),t.Vg()}function Po(n,e,t,i){var r,c,s,f,h;return s=n.Ph(),h=n.Jh(),r=null,h?e&&!(SR(n,e,t).Bb&hr)?(i=cr(h.El(),n,i),n.di(null),r=e.Qh()):h=null:(s&&(h=s.Qh()),e&&(r=e.Qh())),h!=r&&h&&h.Il(n),f=n.Fh(),n.Bh(e,t),h!=r&&r&&r.Hl(n),n.vh()&&n.wh()&&(s&&f>=0&&f!=t&&(c=new Mi(n,1,f,s,null),i?i.nj(c):i=c),t>=0&&(c=new Mi(n,1,t,f==t?s:null,e),i?i.nj(c):i=c)),i}function gUn(n){var e,t,i;if(n.b==null){if(i=new Hl,n.i!=null&&(Er(i,n.i),i.a+=":"),n.f&256){for(n.f&256&&n.a!=null&&(lge(n.i)||(i.a+="//"),Er(i,n.a)),n.d!=null&&(i.a+="/",Er(i,n.d)),n.f&16&&(i.a+="/"),e=0,t=n.j.length;e<t;e++)e!=0&&(i.a+="/"),Er(i,n.j[e]);n.g!=null&&(i.a+="?",Er(i,n.g))}else Er(i,n.a);n.e!=null&&(i.a+="#",Er(i,n.e)),n.b=i.a}return n.b}function JPe(n,e){var t,i,r,c,s,f;for(r=new M(e.a);r.a<r.c.c.length;)i=u(E(r),10),c=v(i,(W(),st)),L(c,12)&&(s=u(c,12),f=DUn(e,i,s.o.a,s.o.b),s.n.a=f.a,s.n.b=f.b,gi(s,u(v(i,gc),64)));t=new V(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),u(v(e,(W(),Hc)),21).Hc((pr(),cs))?(U(n,(cn(),_t),(Ai(),qc)),u(v(Hi(n),Hc),21).Fc(kv),jGn(n,t,!1)):jGn(n,t,!0)}function QPe(n,e,t,i,r){var c,s,f,h;c=new Cl(n),Ha(c,(Vn(),_c)),U(c,(cn(),_t),(Ai(),qc)),U(c,(W(),st),e.c.i),s=new Ic,U(s,st,e.c),gi(s,r),ic(s,c),U(e.c,Xu,c),f=new Cl(n),Ha(f,_c),U(f,_t,qc),U(f,st,e.d.i),h=new Ic,U(h,st,e.d),gi(h,r),ic(h,f),U(e.d,Xu,f),Zi(e,s),Oi(e,h),zw(0,t.c.length),l6(t.c,0,c),Bn(i.c,f),U(c,iO,Y(1)),U(f,iO,Y(1))}function YPe(n,e,t,i){var r,c,s,f,h;if(h=Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))),r=Se(er(Uh,xh(Se(er(t==null?0:mt(t),Gh)),15))),f=c5(n,e,h),s=r5(n,t,r),f&&r==f.a&&sh(t,f.g))return t;if(s&&!i)throw T(new Gn("key already present: "+t));return f&&zg(n,f),s&&zg(n,s),c=new vT(t,r,e,h),Zk(n,c,s),s&&(s.e=null,s.c=null),f&&(f.e=null,f.c=null),lFn(n),f?f.g:null}function pUn(n,e,t){var i,r,c,s,f;for(c=0;c<e;c++){for(i=0,f=c+1;f<e;f++)i=nr(nr(er(vi(n[c],mr),vi(n[f],mr)),vi(t[c+f],mr)),vi(Se(i),mr)),t[c+f]=Se(i),i=G1(i,32);t[c+e]=Se(i)}for(hve(t,t,e<<1),i=0,r=0,s=0;r<e;++r,s++)i=nr(nr(er(vi(n[r],mr),vi(n[r],mr)),vi(t[s],mr)),vi(Se(i),mr)),t[s]=Se(i),i=G1(i,32),++s,i=nr(i,vi(t[s],mr)),t[s]=Se(i),i=G1(i,32);return t}function mUn(n,e,t){var i,r,c,s,f,h,l,a;if(!Nm(e)){for(h=$(B(r0(t.c,(cn(),G8)))),l=u(r0(t.c,Cj),140),!l&&(l=new Wv),i=t.a,r=null,f=e.Kc();f.Ob();)s=u(f.Pb(),12),a=0,r?(a=h,a+=r.o.b):a=l.d,c=sb(i7(new za,s),n.f),Ve(n.k,s,c),qs(Ns(Ls(As(Ds(new hs,0),wi(y.Math.ceil(a))),i),c)),r=s,i=c;qs(Ns(Ls(As(Ds(new hs,0),wi(y.Math.ceil(l.a+r.o.b))),i),t.d))}}function ZPe(n,e,t,i,r,c,s,f){var h,l,a,d,g,p;return p=!1,g=c-t.s,a=t.t-e.f+(l=q5(t,g,!1),l.a),i.g+f>g?!1:(d=(h=q5(i,g,!1),h.a),a+f+d<=e.b&&(ck(t,c-t.s),t.c=!0,ck(i,c-t.s),_k(i,t.s,t.t+t.d+f),i.k=!0,BQ(t.q,i),p=!0,r&&(wC(e,i),i.j=e,n.c.length>s&&(Uk((Nn(s,n.c.length),u(n.c[s],186)),i),(Nn(s,n.c.length),u(n.c[s],186)).a.c.length==0&&Yl(n,s)))),p)}function nIe(n,e){var t,i,r,c,s,f;if(e.Ug("Partition midprocessing",1),r=new jb,Ut(ut(new Cn(null,new On(n.a,16)),new Hgn),new f7n(r)),r.d!=0){for(f=u(Wr(oJ((c=r.i,new Cn(null,(c||(r.i=new Tg(r,r.c))).Nc()))),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),i=f.Kc(),t=u(i.Pb(),17);i.Ob();)s=u(i.Pb(),17),zTe(u(ot(r,t),21),u(ot(r,s),21)),t=s;e.Vg()}}function vUn(n,e,t){var i,r,c,s,f,h,l,a;if(e.p==0){for(e.p=1,s=t,s||(r=new Z,c=(i=u(of(lr),9),new _o(i,u(xs(i,i.length),9),0)),s=new bi(r,c)),u(s.a,15).Fc(e),e.k==(Vn(),Zt)&&u(s.b,21).Fc(u(v(e,(W(),gc)),64)),h=new M(e.j);h.a<h.c.c.length;)for(f=u(E(h),12),a=$h(Eo(S(C(Ao,1),Rn,20,0,[new nm(f),new ip(f)])));pe(a);)l=u(fe(a),12),vUn(n,l.i,s);return s}return null}function B5(n,e){var t,i,r,c,s;if(n.Ab){if(n.Ab){if(s=n.Ab.i,s>0){if(r=u(n.Ab.g,2033),e==null){for(c=0;c<s;++c)if(t=r[c],t.d==null)return t}else for(c=0;c<s;++c)if(t=r[c],Sn(e,t.d))return t}}else if(e==null){for(i=new ne(n.Ab);i.e!=i.i.gc();)if(t=u(ue(i),598),t.d==null)return t}else for(i=new ne(n.Ab);i.e!=i.i.gc();)if(t=u(ue(i),598),Sn(e,t.d))return t}return null}function eIe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;p=d3e(n,GQ(e),r),IQ(p,bl(r,Eh)),Wt=null,m=r,k=J6(m,mWn),j=new Bkn(p),lje(j.a,k),P=J6(m,"endPoint"),O=new qkn(p),hje(O.a,P),A=Tb(m,BP),D=new zkn(p),Yke(D.a,A),d=bl(r,Scn),c=new mTn(n,p),Rae(c.a,c.b,d),g=bl(r,Ccn),s=new vTn(n,p),Kae(s.a,s.b,g),l=Tb(r,Icn),f=new kTn(t,p),D7e(f.b,f.a,l),a=Tb(r,Pcn),h=new yTn(i,p),$7e(h.b,h.a,a)}function Aen(n,e,t){var i,r,c,s,f;switch(f=null,e.g){case 1:for(r=new M(n.j);r.a<r.c.c.length;)if(i=u(E(r),12),on(un(v(i,(W(),lH)))))return i;f=new Ic,U(f,(W(),lH),(_n(),!0));break;case 2:for(s=new M(n.j);s.a<s.c.c.length;)if(c=u(E(s),12),on(un(v(c,(W(),dH)))))return c;f=new Ic,U(f,(W(),dH),(_n(),!0))}return f&&(ic(f,n),gi(f,t),R9e(f.n,n.o,t)),f}function kUn(n,e){var t,i,r,c,s,f;for(f=-1,s=new Mt,i=new Lf(n.b);tc(i.a)||tc(i.b);){for(t=u(tc(i.a)?E(i.a):E(i.b),18),f=y.Math.max(f,$(B(v(t,(cn(),m1))))),t.c==n?Ut(ut(new Cn(null,new On(t.b,16)),new K0n),new W9n(s)):Ut(ut(new Cn(null,new On(t.b,16)),new B0n),new J9n(s)),c=ge(s,0);c.b!=c.d.c;)r=u(be(c),72),kt(r,(W(),T3))||U(r,T3,t);hi(e,s),vo(s)}return f}function _b(n,e,t,i,r){var c,s,f,h,l;f=r?i.b:i.a,!sf(n.a,i)&&(l=f>t.s&&f<t.c,h=!1,t.e.b!=0&&t.j.b!=0&&(h=h|(y.Math.abs(f-$(B(gm(t.e))))<vh&&y.Math.abs(f-$(B(gm(t.j))))<vh),h=h|(y.Math.abs(f-$(B($s(t.e))))<vh&&y.Math.abs(f-$(B($s(t.j))))<vh)),(l||h)&&(s=u(v(e,(cn(),Rr)),75),s||(s=new Tu,U(e,Rr,s)),c=new rr(i),xt(s,c,s.c.b,s.c),fi(n.a,c)))}function tIe(n,e,t,i){var r,c,s,f,h,l,a;if(tMe(n,e,t,i))return!0;for(s=new M(e.f);s.a<s.c.c.length;){switch(c=u(E(s),334),f=!1,h=n.j-e.j+t,l=h+e.o,a=n.k-e.k+i,r=a+e.p,c.a.g){case 0:f=X$(n,h+c.b.a,0,h+c.c.a,a-1);break;case 1:f=X$(n,l,a+c.b.a,n.o-1,a+c.c.a);break;case 2:f=X$(n,h+c.b.a,r,h+c.c.a,n.p-1);break;default:f=X$(n,0,a+c.b.a,h-1,a+c.c.a)}if(f)return!0}return!1}function iIe(n,e,t){var i,r,c,s,f,h,l,a,d;for(t.Ug("Processor set coordinates",1),n.a=e.b.b==0?1:e.b.b,l=null,i=ge(e.b,0);!l&&i.b!=i.d.c;)d=u(be(i),39),on(un(v(d,(pt(),Ca))))&&(l=d,h=d.e,h.a=u(v(d,Dj),17).a,h.b=u(v(d,$j),17).a);f=R$(l),a=1;do f=cje((r=f,t.eh(a),r)),a=f.b/n.a|0;while(f.b!=0);for(s=ge(e.b,0);s.b!=s.d.c;)c=u(be(s),39),mi(c.e,new V(c.f.a/2,c.f.b/2));t.Vg()}function rIe(n,e,t){var i,r,c,s,f,h,l,a;for(t.Ug(aVn,1),Hu(n.b),Hu(n.a),f=null,c=ge(e.b,0);!f&&c.b!=c.d.c;)l=u(be(c),39),on(un(v(l,(pt(),Ca))))&&(f=l);for(h=new Mt,xt(h,f,h.c.b,h.c),JGn(n,h),a=ge(e.b,0);a.b!=a.d.c;)l=u(be(a),39),s=Ae(v(l,(pt(),i9))),r=Dc(n.b,s)!=null?u(Dc(n.b,s),17).a:0,U(l,tq,Y(r)),i=1+(Dc(n.a,s)!=null?u(Dc(n.a,s),17).a:0),U(l,gln,Y(i));t.Vg()}function yUn(n){ib(n,new gd(nb(Qd(Zd(Yd(new Fa,Qb),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new G4n))),Q(n,Qb,Xb,dan),Q(n,Qb,y0,15),Q(n,Qb,Ny,Y(0)),Q(n,Qb,acn,rn(han)),Q(n,Qb,r2,rn(Eue)),Q(n,Qb,a3,rn(Mue)),Q(n,Qb,l3,$Vn),Q(n,Qb,e8,rn(lan)),Q(n,Qb,d3,rn(aan)),Q(n,Qb,dcn,rn(Xq)),Q(n,Qb,TP,rn(jue))}function jUn(n,e){var t,i,r,c,s,f,h,l,a;if(r=n.i,s=r.o.a,c=r.o.b,s<=0&&c<=0)return en(),sc;switch(l=n.n.a,a=n.n.b,f=n.o.a,t=n.o.b,e.g){case 2:case 1:if(l<0)return en(),Wn;if(l+f>s)return en(),Zn;break;case 4:case 3:if(a<0)return en(),Xn;if(a+t>c)return en(),ae}return h=(l+f/2)/s,i=(a+t/2)/c,h+i<=1&&h-i<=0?(en(),Wn):h+i>=1&&h-i>=0?(en(),Zn):i<.5?(en(),Xn):(en(),ae)}function cIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(t=!1,a=$(B(v(e,(cn(),bw)))),m=ha*a,r=new M(e.b);r.a<r.c.c.length;)for(i=u(E(r),30),l=new M(i.a),c=u(E(l),10),d=vW(n.a[c.p]);l.a<l.c.c.length;)f=u(E(l),10),g=vW(n.a[f.p]),d!=g&&(p=jg(n.b,c,f),s=c.n.b+c.o.b+c.d.a+d.a+p,h=f.n.b-f.d.d+g.a,s>h+m&&(k=d.g+g.g,g.a=(g.g*g.a+d.g*d.a)/k,g.g=k,d.f=g,t=!0)),c=f,d=g;return t}function EUn(n,e,t,i,r,c,s){var f,h,l,a,d,g;for(g=new mp,l=e.Kc();l.Ob();)for(f=u(l.Pb(),853),d=new M(f.Rf());d.a<d.c.c.length;)a=u(E(d),187),x(a.of((He(),Yq)))===x(($f(),Rv))&&(eUn(g,a,!1,i,r,c,s),O5(n,g));for(h=t.Kc();h.Ob();)for(f=u(h.Pb(),853),d=new M(f.Rf());d.a<d.c.c.length;)a=u(E(d),187),x(a.of((He(),Yq)))===x(($f(),J0))&&(eUn(g,a,!0,i,r,c,s),O5(n,g))}function uIe(n,e,t){var i,r,c,s,f,h,l;for(s=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));s.e!=s.i.gc();)for(c=u(ue(s),27),r=new ie(ce(Sl(c).a.Kc(),new En));pe(r);)i=u(fe(r),74),!L5(i)&&!L5(i)&&!Bb(i)&&(h=u(Fr(wr(t.f,c)),39),l=u(ee(t,Gr(u(N((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84))),39),h&&l&&(f=new VW(h,l),U(f,(pt(),r9),i),Ur(f,i),Re(h.d,f),Re(l.b,f),Re(e.a,f)))}function oIe(n,e){var t,i,r,c,s,f,h,l;for(h=u(u(ot(n.r,e),21),87).Kc();h.Ob();)f=u(h.Pb(),117),r=f.c?HPn(f.c):0,r>0?f.a?(l=f.b.Mf().b,r>l&&(n.v||f.c.d.c.length==1?(s=(r-l)/2,f.d.d=s,f.d.a=s):(t=u(sn(f.c.d,0),187).Mf().b,i=(t-l)/2,f.d.d=y.Math.max(0,i),f.d.a=r-i-l))):f.d.a=n.t+r:K6(n.u)&&(c=nnn(f.b),c.d<0&&(f.d.d=-c.d),c.d+c.a>f.b.Mf().b&&(f.d.a=c.d+c.a-f.b.Mf().b))}function Us(){Us=R,k3=new Di((He(),Wj),Y(1)),yI=new Di(qd,80),tZn=new Di(qan,5),zYn=new Di(x2,U4),nZn=new Di(oU,Y(1)),eZn=new Di(sU,(_n(),!0)),gon=new ob(50),YYn=new Di(M1,gon),don=Xj,pon=m9,XYn=new Di(Qq,!1),won=Vj,JYn=V0,QYn=Sa,WYn=Hd,VYn=F2,ZYn=W0,bon=(hnn(),BYn),k_=qYn,kI=KYn,v_=FYn,mon=HYn,cZn=v9,uZn=cA,rZn=Jj,iZn=rA,von=(Gp(),Y0),new Di($3,von)}function sIe(n,e){var t;switch(dk(n)){case 6:return Si(e);case 7:return $w(e);case 8:return Dw(e);case 3:return Array.isArray(e)&&(t=dk(e),!(t>=14&&t<=16));case 11:return e!=null&&typeof e===eK;case 12:return e!=null&&(typeof e===my||typeof e==eK);case 0:return Cx(e,n.__elementTypeId$);case 2:return uD(e)&&e.Tm!==Q2;case 1:return uD(e)&&e.Tm!==Q2||Cx(e,n.__elementTypeId$);default:return!0}}function MUn(n,e){var t,i,r,c;return i=y.Math.min(y.Math.abs(n.c-(e.c+e.b)),y.Math.abs(n.c+n.b-e.c)),c=y.Math.min(y.Math.abs(n.d-(e.d+e.a)),y.Math.abs(n.d+n.a-e.d)),t=y.Math.abs(n.c+n.b/2-(e.c+e.b/2)),t>n.b/2+e.b/2||(r=y.Math.abs(n.d+n.a/2-(e.d+e.a/2)),r>n.a/2+e.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:y.Math.min(i/t,c/r)+1}function fIe(n,e){var t,i,r,c,s,f,h;for(c=0,f=0,h=0,r=new M(n.f.e);r.a<r.c.c.length;)i=u(E(r),153),e!=i&&(s=n.i[e.a][i.a],c+=s,t=Q1(e.d,i.d),t>0&&n.d!=(n5(),E_)&&(f+=s*(i.d.a+n.a[e.a][i.a]*(e.d.a-i.d.a)/t)),t>0&&n.d!=(n5(),y_)&&(h+=s*(i.d.b+n.a[e.a][i.a]*(e.d.b-i.d.b)/t)));switch(n.d.g){case 1:return new V(f/c,e.d.b);case 2:return new V(e.d.a,h/c);default:return new V(f/c,h/c)}}function TUn(n){var e,t,i,r,c,s;for(t=(!n.a&&(n.a=new ti(xo,n,5)),n.a).i+2,s=new Gc(t),nn(s,new V(n.j,n.k)),Ut(new Cn(null,(!n.a&&(n.a=new ti(xo,n,5)),new On(n.a,16))),new $kn(s)),nn(s,new V(n.b,n.c)),e=1;e<s.c.length-1;)i=(Nn(e-1,s.c.length),u(s.c[e-1],8)),r=(Nn(e,s.c.length),u(s.c[e],8)),c=(Nn(e+1,s.c.length),u(s.c[e+1],8)),i.a==r.a&&r.a==c.a||i.b==r.b&&r.b==c.b?Yl(s,e):++e;return s}function CUn(n,e){r4();var t,i,r,c,s;if(s=u(v(n.i,(cn(),_t)),101),c=n.j.g-e.j.g,c!=0||!(s==(Ai(),Ud)||s==tl||s==qc))return 0;if(s==(Ai(),Ud)&&(t=u(v(n,v1),17),i=u(v(e,v1),17),t&&i&&(r=t.a-i.a,r!=0)))return r;switch(n.j.g){case 1:return bt(n.n.a,e.n.a);case 2:return bt(n.n.b,e.n.b);case 3:return bt(e.n.a,n.n.a);case 4:return bt(e.n.b,n.n.b);default:throw T(new Ar(nin))}}function SUn(n,e){var t,i,r,c,s,f,h;for(t=nSn(oMn(cMn(uMn(new XG,e),new PT(e.e)),ZZn),n.a),e.j.c.length==0||DDn(u(sn(e.j,0),60).a,t),h=new rL,Ve(n.e,t,h),s=new ni,f=new ni,c=new M(e.k);c.a<c.c.c.length;)r=u(E(c),18),fi(s,r.c),fi(f,r.d);i=s.a.gc()-f.a.gc(),i<0?(Tk(h,!0,(ci(),Kr)),Tk(h,!1,Xr)):i>0&&(Tk(h,!1,(ci(),Kr)),Tk(h,!0,Xr)),nu(e.g,new KMn(n,t)),Ve(n.g,e,t)}function PUn(){PUn=R;var n;for(pun=S(C(ye,1),_e,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),WF=F(ye,_e,28,37,15,1),gQn=S(C(ye,1),_e,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),mun=F(Ka,PK,28,37,14,1),n=2;n<=36;n++)WF[n]=wi(y.Math.pow(n,pun[n])),mun[n]=zk(jy,WF[n])}function hIe(n){var e;if((!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i!=1)throw T(new Gn(tWn+(!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i));return e=new Tu,Ek(u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84))&&Ki(e,gzn(n,Ek(u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84)),!1)),Ek(u(N((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84))&&Ki(e,gzn(n,Ek(u(N((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84)),!0)),e}function IUn(n,e){var t,i,r,c,s;for(e.d?r=n.a.c==(fh(),gw)?ji(e.b):Qt(e.b):r=n.a.c==(fh(),y1)?ji(e.b):Qt(e.b),c=!1,i=new ie(ce(r.a.Kc(),new En));pe(i);)if(t=u(fe(i),18),s=on(n.a.f[n.a.g[e.b.p].p]),!(!s&&!fr(t)&&t.c.i.c==t.d.i.c)&&!(on(n.a.n[n.a.g[e.b.p].p])||on(n.a.n[n.a.g[e.b.p].p]))&&(c=!0,sf(n.b,n.a.g[h7e(t,e.b).p])))return e.c=!0,e.a=t,e;return e.c=c,e.a=null,e}function Len(n,e,t){var i,r,c,s,f,h,l;if(i=t.gc(),i==0)return!1;if(n.Pj())if(h=n.Qj(),HY(n,e,t),s=i==1?n.Ij(3,null,t.Kc().Pb(),e,h):n.Ij(5,null,t,e,h),n.Mj()){for(f=i<100?null:new K1(i),c=e+i,r=e;r<c;++r)l=n.xj(r),f=n.Nj(l,f),f=f;f?(f.nj(s),f.oj()):n.Jj(s)}else n.Jj(s);else if(HY(n,e,t),n.Mj()){for(f=i<100?null:new K1(i),c=e+i,r=e;r<c;++r)f=n.Nj(n.xj(r),f);f&&f.oj()}return!0}function OUn(n,e,t){var i,r,c,s,f;return n.Pj()?(r=null,c=n.Qj(),i=n.Ij(1,f=(s=n.Dj(e,n.Zi(e,t)),s),t,e,c),n.Mj()&&!(n.Yi()&&f?ct(f,t):x(f)===x(t))&&(f&&(r=n.Oj(f,r)),r=n.Nj(t,r)),r?(r.nj(i),r.oj()):n.Jj(i),f):(f=(s=n.Dj(e,n.Zi(e,t)),s),n.Mj()&&!(n.Yi()&&f?ct(f,t):x(f)===x(t))&&(r=null,f&&(r=n.Oj(f,null)),r=n.Nj(t,r),r&&r.oj()),f)}function Nen(n,e){var t,i,r,c,s,f,h,l,a;if(n.e=e,n.f=u(v(e,(Y1(),jI)),234),Rye(e),n.d=y.Math.max(e.e.c.length*16+e.c.c.length,256),!on(un(v(e,(Us(),don)))))for(a=n.e.e.c.length,h=new M(e.e);h.a<h.c.c.length;)f=u(E(h),153),l=f.d,l.a=fW(n.f)*a,l.b=fW(n.f)*a;for(t=e.b,c=new M(e.c);c.a<c.c.c.length;)if(r=u(E(c),289),i=u(v(r,mon),17).a,i>0){for(s=0;s<i;s++)nn(t,new qIn(r));W_n(r)}}function AUn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m;if(g=new qw(n.Zg()),bf(e,Qe,g),t&&!n.Xg().a.dc())for(a=new _a,bf(e,"logs",a),f=0,m=new W3(n.Xg().b.Kc());m.b.Ob();)p=Ae(m.b.Pb()),d=new qw(p),Jw(a,f),qD(a,f,d),++f;if(i&&(l=new CE(n.Wg()),bf(e,"executionTime",l)),!n.Yg().a.dc())for(s=new _a,bf(e,gF,s),f=0,c=new W3(n.Yg().b.Kc());c.b.Ob();)r=u(c.b.Pb(),871),h=new sp,Jw(s,f),qD(s,f,h),AUn(r,h,t,i),++f}function Den(){Den=R,AL(),Ise=new S5n,S(C(K3,2),J,381,0,[S(C(K3,1),iI,600,0,[new Y9(xJn)])]),S(C(K3,2),J,381,0,[S(C(K3,1),iI,600,0,[new Y9(Jcn)])]),S(C(K3,2),J,381,0,[S(C(K3,1),iI,600,0,[new Y9(RJn)]),S(C(K3,1),iI,600,0,[new Y9(Jcn)])]),new q1("-1"),S(C(K3,2),J,381,0,[S(C(K3,1),iI,600,0,[new Y9("\\c+")])]),new q1("0"),new q1("0"),new q1("1"),new q1("0"),new q1(qJn)}function lIe(n,e){var t,i,r,c,s,f,h,l,a,d;for(e.Ug("Hypernodes processing",1),r=new M(n.b);r.a<r.c.c.length;)for(i=u(E(r),30),f=new M(i.a);f.a<f.c.c.length;)if(s=u(E(f),10),on(un(v(s,(cn(),wO))))&&s.j.c.length<=2){for(d=0,a=0,t=0,c=0,l=new M(s.j);l.a<l.c.c.length;)switch(h=u(E(l),12),h.j.g){case 1:++d;break;case 2:++a;break;case 3:++t;break;case 4:++c}d==0&&t==0&&wNe(n,s,c<=a)}e.Vg()}function aIe(n,e,t,i,r){var c,s,f,h,l,a,d;for(s=new M(e);s.a<s.c.c.length;){if(c=u(E(s),18),h=c.c,t.a._b(h))l=(Eb(),Ta);else if(i.a._b(h))l=(Eb(),O2);else throw T(new Gn("Source port must be in one of the port sets."));if(a=c.d,t.a._b(a))d=(Eb(),Ta);else if(i.a._b(a))d=(Eb(),O2);else throw T(new Gn("Target port must be in one of the port sets."));f=new C_n(c,l,d),Ve(n.b,c,f),Bn(r.c,f)}}function KS(n){var e,t;return n.c&&n.c.Vh()&&(t=u(n.c,54),n.c=u(ta(n,t),142),n.c!=t&&(n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,9,2,t,n.c)),L(n.Cb,411)?n.Db>>16==-15&&n.Cb.Yh()&&h$(new c$(n.Cb,9,13,t,n.c,f1(no(u(n.Cb,62)),n))):L(n.Cb,90)&&n.Db>>16==-23&&n.Cb.Yh()&&(e=n.c,L(e,90)||(e=(An(),Os)),L(t,90)||(t=(An(),Os)),h$(new c$(n.Cb,9,10,t,e,f1(Pc(u(n.Cb,29)),n)))))),n.c}function dIe(n,e,t){var i,r,c,s,f,h,l,a,d;for(t.Ug("Hyperedge merging",1),RMe(n,e),h=new xi(e.b,0);h.b<h.d.gc();)if(f=(oe(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),30)),a=f.a,a.c.length!=0)for(i=null,r=null,c=null,s=null,l=0;l<a.c.length;l++)i=(Nn(l,a.c.length),u(a.c[l],10)),r=i.k,r==(Vn(),Ti)&&s==Ti&&(d=sOe(i,c),d.a&&(sSe(i,c,d.b,d.c),Nn(l,a.c.length),Sz(a.c,l,1),--l,i=c,r=s)),c=i,s=r;t.Vg()}function LUn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;if(e==t)return!0;if(e=_nn(n,e),t=_nn(n,t),i=Nx(e),i){if(a=Nx(t),a!=i)return a?(h=i.mk(),m=a.mk(),h==m&&h!=null):!1;if(s=(!e.d&&(e.d=new ti(jr,e,1)),e.d),c=s.i,g=(!t.d&&(t.d=new ti(jr,t,1)),t.d),c==g.i){for(l=0;l<c;++l)if(r=u(N(s,l),89),d=u(N(g,l),89),!LUn(n,r,d))return!1}return!0}else return f=e.e,p=t.e,f==p}function NUn(n,e,t,i){var r,c,s,f,h,l,a,d;if(Pl(n.e,e)){for(d=ru(n.e.Dh(),e),c=u(n.g,124),a=null,h=-1,f=-1,r=0,l=0;l<n.i;++l)s=c[l],d.am(s.Lk())&&(r==t&&(h=l),r==i&&(f=l,a=s.md()),++r);if(h==-1)throw T(new Or(vF+t+Cd+r));if(f==-1)throw T(new Or(kF+i+Cd+r));return m5(n,h,f),fo(n.e)&&em(n,W1(n,7,e,Y(i),a,t,!0)),a}else throw T(new Gn("The feature must be many-valued to support move"))}function DUn(n,e,t,i){var r,c,s,f,h;switch(h=new rr(e.n),h.a+=e.o.a/2,h.b+=e.o.b/2,f=$(B(v(e,(cn(),F0)))),c=n.f,s=n.d,r=n.c,u(v(e,(W(),gc)),64).g){case 1:h.a+=s.b+r.a-t/2,h.b=-i-f,e.n.b=-(s.d+f+r.b);break;case 2:h.a=c.a+s.b+s.c+f,h.b+=s.d+r.b-i/2,e.n.a=c.a+s.c+f-r.a;break;case 3:h.a+=s.b+r.a-t/2,h.b=c.b+s.d+s.a+f,e.n.b=c.b+s.a+f-r.b;break;case 4:h.a=-t-f,h.b+=s.d+r.b-i/2,e.n.a=-(s.b+f+r.a)}return h}function $Un(n){var e,t,i,r,c,s;return i=new yQ,Ur(i,n),x(v(i,(cn(),Lo)))===x((ci(),Jf))&&U(i,Lo,FC(i)),v(i,(JT(),d9))==null&&(s=u(VFn(n),167),U(i,d9,PM(s.of(d9)))),U(i,(W(),st),n),U(i,Hc,(e=u(of(rH),9),new _o(e,u(xs(e,e.length),9),0))),r=aLe((St(n)&&(Aw(),new Pw(St(n))),Aw(),new TN(St(n)?new Pw(St(n)):null,n)),Xr),c=u(v(i,shn),107),t=i.d,aAn(t,c),aAn(t,r),i}function bIe(n,e,t){var i,r;i=e.c.i,r=t.d.i,i.k==(Vn(),Ti)?(U(n,(W(),yf),u(v(i,yf),12)),U(n,Es,u(v(i,Es),12)),U(n,$0,un(v(i,$0)))):i.k==Sc?(U(n,(W(),yf),u(v(i,yf),12)),U(n,Es,u(v(i,Es),12)),U(n,$0,(_n(),!0))):r.k==Sc?(U(n,(W(),yf),u(v(r,yf),12)),U(n,Es,u(v(r,Es),12)),U(n,$0,(_n(),!0))):(U(n,(W(),yf),e.c),U(n,Es,t.d))}function wIe(n){var e,t,i,r,c,s,f;for(n.o=new Mg,i=new Mt,s=new M(n.e.a);s.a<s.c.c.length;)c=u(E(s),125),xg(c).c.length==1&&xt(i,c,i.c.b,i.c);for(;i.b!=0;)c=u(i.b==0?null:(oe(i.b!=0),Xo(i,i.a.a)),125),xg(c).c.length!=0&&(e=u(sn(xg(c),0),218),t=c.g.a.c.length>0,f=HC(e,c),zX(t?f.b:f.g,e),xg(f).c.length==1&&xt(i,f,i.c.b,i.c),r=new bi(c,e),J1(n.o,r),du(n.e.a,c))}function xUn(n,e){var t,i,r,c,s,f,h;return i=y.Math.abs(wT(n.b).a-wT(e.b).a),f=y.Math.abs(wT(n.b).b-wT(e.b).b),r=0,h=0,t=1,s=1,i>n.b.b/2+e.b.b/2&&(r=y.Math.min(y.Math.abs(n.b.c-(e.b.c+e.b.b)),y.Math.abs(n.b.c+n.b.b-e.b.c)),t=1-r/i),f>n.b.a/2+e.b.a/2&&(h=y.Math.min(y.Math.abs(n.b.d-(e.b.d+e.b.a)),y.Math.abs(n.b.d+n.b.a-e.b.d)),s=1-h/f),c=y.Math.min(t,s),(1-c)*y.Math.sqrt(i*i+f*f)}function gIe(n){var e,t,i,r;for(JR(n,n.e,n.f,(Eb(),Ta),!0,n.c,n.i),JR(n,n.e,n.f,Ta,!1,n.c,n.i),JR(n,n.e,n.f,O2,!0,n.c,n.i),JR(n,n.e,n.f,O2,!1,n.c,n.i),aIe(n,n.c,n.e,n.f,n.i),i=new xi(n.i,0);i.b<i.d.gc();)for(e=(oe(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),131)),r=new xi(n.i,i.b);r.b<r.d.gc();)t=(oe(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),131)),tAe(e,t);TNe(n.i,u(v(n.d,(W(),P3)),234)),BAe(n.i)}function AR(n,e){var t,i;if(e!=null){if(i=Kb(n),i)if(i.i&1){if(i==so)return Dw(e);if(i==ye)return L(e,17);if(i==cg)return L(e,161);if(i==Ru)return L(e,222);if(i==fs)return L(e,180);if(i==Ii)return $w(e);if(i==V2)return L(e,191);if(i==Ka)return L(e,168)}else return tM(),t=u(ee(yA,i),57),!t||t.fk(e);else if(L(e,58))return n.dl(u(e,58))}return!1}function $en(){$en=R;var n,e,t,i,r,c,s,f,h;for(nh=F(Ru,s2,28,255,15,1),A1=F(fs,gh,28,64,15,1),e=0;e<255;e++)nh[e]=-1;for(t=90;t>=65;t--)nh[t]=t-65<<24>>24;for(i=122;i>=97;i--)nh[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)nh[r]=r-48+52<<24>>24;for(nh[43]=62,nh[47]=63,c=0;c<=25;c++)A1[c]=65+c&ui;for(s=26,h=0;s<=51;++s,h++)A1[s]=97+h&ui;for(n=52,f=0;n<=61;++n,f++)A1[n]=48+f&ui;A1[62]=43,A1[63]=47}function RUn(n,e){var t,i,r,c,s,f;return r=DQ(n),f=DQ(e),r==f?n.e==e.e&&n.a<54&&e.a<54?n.f<e.f?-1:n.f>e.f?1:0:(i=n.e-e.e,t=(n.d>0?n.d:y.Math.floor((n.a-1)*Uzn)+1)-(e.d>0?e.d:y.Math.floor((e.a-1)*Uzn)+1),t>i+1?r:t<i-1?-r:(c=(!n.c&&(n.c=W7(vc(n.f))),n.c),s=(!e.c&&(e.c=W7(vc(e.f))),e.c),i<0?c=Og(c,VUn(-i)):i>0&&(s=Og(s,VUn(i))),zKn(c,s))):r<f?-1:1}function pIe(n,e,t){var i,r,c,s,f,h,l,a;for(t.Ug(MXn,1),n.vf(e),c=0;n.xf(c)&&!t.$g();){for(n.wf(),a=$h(Eo(S(C(Ao,1),Rn,20,0,[e.e,e.d,e.b])));pe(a);)for(h=u(fe(a),309),f=$h(Eo(S(C(Ao,1),Rn,20,0,[e.e,e.d,e.b])));pe(f);)s=u(fe(f),309),s!=h&&(r=n.uf(s,h),r&&it(h.c,r));for(l=$h(Eo(S(C(Ao,1),Rn,20,0,[e.e,e.d,e.b])));pe(l);)h=u(fe(l),309),i=h.c,u_n(i,-n.d,-n.d,n.d,n.d),it(h.d,i),i.a=0,i.b=0;++c}t.Vg()}function mIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(n.dc())return new Ni;for(l=0,d=0,r=n.Kc();r.Ob();)i=u(r.Pb(),36),c=i.f,l=y.Math.max(l,c.a),d+=c.a*c.b;for(l=y.Math.max(l,y.Math.sqrt(d)*$(B(v(u(n.Kc().Pb(),36),(cn(),oO))))),g=0,p=0,h=0,t=e,f=n.Kc();f.Ob();)s=u(f.Pb(),36),a=s.f,g+a.a>l&&(g=0,p+=h+e,h=0),S4(s,g,p),t=y.Math.max(t,g+a.a),h=y.Math.max(h,a.b),g+=a.a+e;return new V(t+e,p+h+e)}function xen(n,e){var t,i,r,c,s,f,h;if(!Pf(n))throw T(new Ar(eWn));if(i=Pf(n),c=i.g,r=i.f,c<=0&&r<=0)return en(),sc;switch(f=n.i,h=n.j,e.g){case 2:case 1:if(f<0)return en(),Wn;if(f+n.g>c)return en(),Zn;break;case 4:case 3:if(h<0)return en(),Xn;if(h+n.f>r)return en(),ae}return s=(f+n.g/2)/c,t=(h+n.f/2)/r,s+t<=1&&s-t<=0?(en(),Wn):s+t>=1&&s-t>=0?(en(),Zn):t<.5?(en(),Xn):(en(),ae)}function vIe(n,e,t,i,r){var c,s;if(c=nr(vi(e[0],mr),vi(i[0],mr)),n[0]=Se(c),c=db(c,32),t>=r){for(s=1;s<r;s++)c=nr(c,nr(vi(e[s],mr),vi(i[s],mr))),n[s]=Se(c),c=db(c,32);for(;s<t;s++)c=nr(c,vi(e[s],mr)),n[s]=Se(c),c=db(c,32)}else{for(s=1;s<t;s++)c=nr(c,nr(vi(e[s],mr),vi(i[s],mr))),n[s]=Se(c),c=db(c,32);for(;s<r;s++)c=nr(c,vi(i[s],mr)),n[s]=Se(c),c=db(c,32)}Ec(c,0)!=0&&(n[s]=Se(c))}function b0(n){nt();var e,t,i,r,c,s;if(n.e!=4&&n.e!=5)throw T(new Gn("Token#complementRanges(): must be RANGE: "+n.e));for(c=n,Gg(c),U5(c),i=c.b.length+2,c.b[0]==0&&(i-=2),t=c.b[c.b.length-1],t==rv&&(i-=2),r=new yo(4),r.b=F(ye,_e,28,i,15,1),s=0,c.b[0]>0&&(r.b[s++]=0,r.b[s++]=c.b[0]-1),e=1;e<c.b.length-2;e+=2)r.b[s++]=c.b[e]+1,r.b[s++]=c.b[e+1]-1;return t!=rv&&(r.b[s++]=t+1,r.b[s]=rv),r.a=!0,r}function kIe(n,e){var t,i,r,c,s,f,h,l,a;for(e.Ug("Layer constraint edge reversal",1),s=new M(n.b);s.a<s.c.c.length;){for(c=u(E(s),30),a=-1,t=new Z,l=Q7(c.a),r=0;r<l.length;r++)i=u(v(l[r],(W(),Ad)),311),a==-1?i!=(vl(),k2)&&(a=r):i==(vl(),k2)&&($i(l[r],null),u0(l[r],a++,c)),i==(vl(),E3)&&Bn(t.c,l[r]);for(h=new M(t);h.a<h.c.c.length;)f=u(E(h),10),$i(f,null),$i(f,c)}e.Vg()}function LR(n,e,t){var i,r,c,s,f,h,l,a;if(i=t.gc(),i==0)return!1;if(n.Pj())if(l=n.Qj(),Zx(n,e,t),s=i==1?n.Ij(3,null,t.Kc().Pb(),e,l):n.Ij(5,null,t,e,l),n.Mj()){for(f=i<100?null:new K1(i),c=e+i,r=e;r<c;++r)a=n.g[r],f=n.Nj(a,f),f=n.Uj(a,f);f?(f.nj(s),f.oj()):n.Jj(s)}else n.Jj(s);else if(Zx(n,e,t),n.Mj()){for(f=i<100?null:new K1(i),c=e+i,r=e;r<c;++r)h=n.g[r],f=n.Nj(h,f);f&&f.oj()}return!0}function yIe(n,e){var t,i,r,c,s,f,h,l,a;for(e.Ug("Hierarchical port dummy size processing",1),h=new Z,a=new Z,i=$(B(v(n,(cn(),T2)))),t=i*2,c=new M(n.b);c.a<c.c.c.length;){for(r=u(E(c),30),h.c.length=0,a.c.length=0,f=new M(r.a);f.a<f.c.c.length;)s=u(E(f),10),s.k==(Vn(),Zt)&&(l=u(v(s,(W(),gc)),64),l==(en(),Xn)?Bn(h.c,s):l==ae&&Bn(a.c,s));gHn(h,!0,t),gHn(a,!1,t)}e.Vg()}function Ren(n,e,t,i){var r,c,s,f,h;for(s=new M(n.k);s.a<s.c.c.length;)r=u(E(s),132),(!i||r.c==(af(),Ma))&&(h=r.b,h.g<0&&r.d>0&&(JA(h,h.d-r.d),r.c==(af(),Ma)&&ife(h,h.a-r.d),h.d<=0&&h.i>0&&xt(e,h,e.c.b,e.c)));for(c=new M(n.f);c.a<c.c.c.length;)r=u(E(c),132),(!i||r.c==(af(),Ma))&&(f=r.a,f.g<0&&r.d>0&&(SE(f,f.i-r.d),r.c==(af(),Ma)&&rfe(f,f.b-r.d),f.i<=0&&f.d>0&&xt(t,f,t.c.b,t.c)))}function jIe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p;for(Ln(),Yt(n,new W4n),s=$7(n),p=new Z,g=new Z,f=null,h=0;s.b!=0;)c=u(s.b==0?null:(oe(s.b!=0),Xo(s,s.a.a)),163),!f||Pu(f)*ao(f)/2<Pu(c)*ao(c)?(f=c,Bn(p.c,c)):(h+=Pu(c)*ao(c),Bn(g.c,c),g.c.length>1&&(h>Pu(f)*ao(f)/2||s.b==0)&&(d=new hC(g),a=Pu(f)/ao(f),l=QR(d,e,new up,t,i,r,a),it(ff(d.e),l),f=d,Bn(p.c,d),h=0,g.c.length=0));return hi(p,g),p}function Oc(n,e,t,i,r){fl();var c,s,f,h,l,a,d;if(SW(n,"src"),SW(t,"dest"),d=wo(n),h=wo(t),zV((d.i&4)!=0,"srcType is not an array"),zV((h.i&4)!=0,"destType is not an array"),a=d.c,s=h.c,zV(a.i&1?a==s:(s.i&1)==0,"Array types don't match"),s6e(n,e,t,i,r),!(a.i&1)&&d!=h)if(l=cd(n),c=cd(t),x(n)===x(t)&&e<i)for(e+=r,f=i+r;f-- >i;)$t(c,f,l[--e]);else for(f=i+r;i<f;)$t(c,i++,l[e++]);else $nn(n,e,t,i,r,!0)}function KUn(n,e){var t,i,r,c,s,f,h,l,a;switch(e.Ug("Box layout",2),r=J9(B(z(n,(mS(),Cue)))),c=u(z(n,Tue),107),t=on(un(z(n,han))),i=on(un(z(n,lan))),u(z(n,Xq),320).g){case 0:s=(a=new _u((!n.a&&(n.a=new q(Ye,n,10,11)),n.a)),Ln(),Yt(a,new Lkn(i)),a),f=knn(n),h=B(z(n,fan)),(h==null||(Jn(h),h<=0))&&(h=1.3),l=nNe(s,r,c,f.a,f.b,t,(Jn(h),h)),qb(n,l.a,l.b,!1,!0);break;default:zOe(n,r,c,t)}e.Vg()}function EIe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m;for(g=Vke(n,t),h=0;h<e;h++){for(Bw(r,t),p=new Z,m=(oe(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),418)),a=g+h;a<n.b;a++)f=m,m=(oe(i.b<i.d.gc()),u(i.d.Xb(i.c=i.b++),418)),nn(p,new dqn(f,m,t));for(d=g+h;d<n.b;d++)oe(i.b>0),i.a.Xb(i.c=--i.b),d>g+h&&bo(i);for(s=new M(p);s.a<s.c.c.length;)c=u(E(s),418),Bw(i,c);if(h<e-1)for(l=g+h;l<n.b;l++)oe(i.b>0),i.a.Xb(i.c=--i.b)}}function MIe(){nt();var n,e,t,i,r,c;if(IU)return IU;for(n=new yo(4),g0(n,fa(RF,!0)),z5(n,fa("M",!0)),z5(n,fa("C",!0)),c=new yo(4),i=0;i<11;i++)xc(c,i,i);return e=new yo(4),g0(e,fa("M",!0)),xc(e,4448,4607),xc(e,65438,65439),r=new C6(2),pd(r,n),pd(r,B9),t=new C6(2),t.Jm(cT(c,fa("L",!0))),t.Jm(e),t=new Xw(3,t),t=new CW(r,t),IU=t,IU}function w0(n,e){var t,i,r,c,s,f,h,l;for(t=new RegExp(e,"g"),h=F(fn,J,2,0,6,1),i=0,l=n,c=null;;)if(f=t.exec(l),f==null||l==""){h[i]=l;break}else s=f.index,h[i]=(Ri(0,s,l.length),l.substr(0,s)),l=qo(l,s+f[0].length,l.length),t.lastIndex=0,c==l&&(h[i]=(Ri(0,1,l.length),l.substr(0,1)),l=(zn(1,l.length+1),l.substr(1))),c=l,++i;if(n.length>0){for(r=h.length;r>0&&h[r-1]=="";)--r;r<h.length&&(h.length=r)}return h}function lc(){lc=R,Iln=new ob(20),Pln=new Di((He(),M1),Iln),sq=new Di(qd,20),Aln=new Di(Uan,3),yre=new Di(x2,U4),RO=new Di(Wj,Y(1)),Ore=new Di(sU,(_n(),!0)),Mln=Gj,Tln=(ci(),Jf),pw=new Di(_d,Tln),jre=Xj,Ere=nU,Tre=Hd,Cre=V0,Sre=_2,Pre=Sa,Mre=F2,Sln=Vj,Ire=W0,Nln=(Fnn(),kre),Oln=mre,Nre=v9,Dre=cA,Lre=Jj,Are=rA,Lln=(Gp(),Y0),new Di($3,Lln),A2=pre,oq=gre,Ph=vre,Eln=bre,Cln=wre}function TIe(n){var e,t;if(e=Ae(z(n,(He(),Dv))),!xxn(e,n)&&!Nf(n,q2)&&((!n.a&&(n.a=new q(Ye,n,10,11)),n.a).i!=0||on(un(z(n,zj)))))if(e==null||f0(e).length==0){if(!xxn(Yn,n))throw t=Be(Be(new mo("Unable to load default layout algorithm "),Yn)," for unconfigured node "),GS(n,t),T(new _l(t.a))}else throw t=Be(Be(new mo("Layout algorithm '"),e),"' not found for "),GS(n,t),T(new _l(t.a))}function NR(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;if(t=n.i,e=n.n,n.b==0)for(p=t.c+e.b,g=t.b-e.b-e.c,s=n.a,h=0,a=s.length;h<a;++h)r=s[h],fT(r,p,g);else i=SBn(n,!1),fT(n.a[0],t.c+e.b,i[0]),fT(n.a[2],t.c+t.b-e.c-i[2],i[2]),d=t.b-e.b-e.c,i[0]>0&&(d-=i[0]+n.c,i[0]+=n.c),i[2]>0&&(d-=i[2]+n.c),i[1]=y.Math.max(i[1],d),fT(n.a[1],t.c+e.b+i[0]-(i[1]-d)/2,i[1]);for(c=n.a,f=0,l=c.length;f<l;++f)r=c[f],L(r,336)&&u(r,336).lf()}function CIe(n){var e,t,i,r,c,s,f,h,l,a,d;for(d=new E3n,d.d=0,s=new M(n.b);s.a<s.c.c.length;)c=u(E(s),30),d.d+=c.a.c.length;for(i=0,r=0,d.a=F(ye,_e,28,n.b.c.length,15,1),l=0,a=0,d.e=F(ye,_e,28,d.d,15,1),t=new M(n.b);t.a<t.c.c.length;)for(e=u(E(t),30),e.p=i++,d.a[e.p]=r++,a=0,h=new M(e.a);h.a<h.c.c.length;)f=u(E(h),10),f.p=l++,d.e[f.p]=a++;return d.c=new ckn(d),d.b=Lh(d.d),GPe(d,n),d.f=Lh(d.d),zPe(d,n),d}function BUn(n,e){var t,i,r,c;for(c=u(sn(n.n,n.n.c.length-1),209).d,n.p=y.Math.min(n.p,e.g),n.r=y.Math.max(n.r,c),n.g=y.Math.max(n.g,e.g+(n.b.c.length==1?0:n.i)),n.o=y.Math.min(n.o,e.f),n.e+=e.f+(n.b.c.length==1?0:n.i),n.f=y.Math.max(n.f,e.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,i=new M(n.n);i.a<i.c.c.length;)t=u(E(i),209),r+=t.a;n.d=r,n.a=n.e/n.b.c.length-n.i*((n.b.c.length-1)/n.b.c.length),mZ(n.j)}function FUn(n,e){var t,i,r,c,s,f,h,l,a,d;if(a=un(v(e,(Us(),eZn))),a==null||(Jn(a),a)){for(d=F(so,Xh,28,e.e.c.length,16,1),s=dMe(e),r=new Mt,l=new M(e.e);l.a<l.c.c.length;)f=u(E(l),153),t=Jnn(n,f,null,null,d,s),t&&(Ur(t,e),xt(r,t,r.c.b,r.c));if(r.b>1)for(i=ge(r,0);i.b!=i.d.c;)for(t=u(be(i),235),c=0,h=new M(t.e);h.a<h.c.c.length;)f=u(E(h),153),f.a=c++;return r}return Af(S(C(mDe,1),jXn,235,0,[e]))}function bh(n){var e,t,i,r,c,s,f;if(!n.g){if(f=new qA,e=N9,s=e.a.zc(n,e),s==null){for(i=new ne(Hr(n));i.e!=i.i.gc();)t=u(ue(i),29),Bt(f,bh(t));e.a.Bc(n)!=null,e.a.gc()==0}for(r=f.i,c=(!n.s&&(n.s=new q(ku,n,21,17)),new ne(n.s));c.e!=c.i.gc();++r)afe(u(ue(c),461),r);Bt(f,(!n.s&&(n.s=new q(ku,n,21,17)),n.s)),e0(f),n.g=new dRn(n,f),n.i=u(f.g,254),n.i==null&&(n.i=jU),n.p=null,Zu(n).b&=-5}return n.g}function SIe(n,e){var t,i,r,c,s,f,h,l,a;if(t=e.qi(n.a),t&&(h=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),"memberTypes")),h!=null)){for(l=new Z,c=w0(h,"\\w"),s=0,f=c.length;s<f;++s)r=c[s],i=r.lastIndexOf("#"),a=i==-1?eV(n,e.jk(),r):i==0?uk(n,null,(zn(1,r.length+1),r.substr(1))):uk(n,(Ri(0,i,r.length),r.substr(0,i)),(zn(i+1,r.length+1),r.substr(i+1))),L(a,156)&&nn(l,u(a,156));return l}return Ln(),Ln(),sr}function DR(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m;if(i=n.i,t=n.n,n.b==0)e=CBn(n,!1),hT(n.a[0],i.d+t.d,e[0]),hT(n.a[2],i.d+i.a-t.a-e[2],e[2]),g=i.a-t.d-t.a,d=g,e[0]>0&&(e[0]+=n.c,d-=e[0]),e[2]>0&&(d-=e[2]+n.c),e[1]=y.Math.max(e[1],d),hT(n.a[1],i.d+t.d+e[0]-(e[1]-d)/2,e[1]);else for(m=i.d+t.d,p=i.a-t.d-t.a,s=n.a,h=0,a=s.length;h<a;++h)r=s[h],hT(r,m,p);for(c=n.a,f=0,l=c.length;f<l;++f)r=c[f],L(r,336)&&u(r,336).mf()}function PIe(n){var e,t,i,r,c,s,f,h,l,a;for(a=F(ye,_e,28,n.b.c.length+1,15,1),l=new ni,i=0,c=new M(n.b);c.a<c.c.c.length;){for(r=u(E(c),30),a[i++]=l.a.gc(),h=new M(r.a);h.a<h.c.c.length;)for(s=u(E(h),10),t=new ie(ce(Qt(s).a.Kc(),new En));pe(t);)e=u(fe(t),18),l.a.zc(e,l);for(f=new M(r.a);f.a<f.c.c.length;)for(s=u(E(f),10),t=new ie(ce(ji(s).a.Kc(),new En));pe(t);)e=u(fe(t),18),l.a.Bc(e)!=null}return a}function BS(n,e,t,i){var r,c,s,f,h;if(h=ru(n.e.Dh(),e),r=u(n.g,124),dr(),u(e,69).xk()){for(s=0;s<n.i;++s)if(c=r[s],h.am(c.Lk())&&ct(c,t))return!0}else if(t!=null){for(f=0;f<n.i;++f)if(c=r[f],h.am(c.Lk())&&ct(t,c.md()))return!0;if(i){for(s=0;s<n.i;++s)if(c=r[s],h.am(c.Lk())&&x(t)===x(ON(n,u(c.md(),58))))return!0}}else for(s=0;s<n.i;++s)if(c=r[s],h.am(c.Lk())&&c.md()==null)return!1;return!1}function IIe(n,e){var t,i,r,c,s,f;if(t=e.qi(n.a),t&&(f=Ae(gf((!t.b&&(t.b=new lo((An(),ar),pc,t)),t.b),FP)),f!=null))switch(r=xM(f,wu(35)),i=e.qk(),r==-1?(s=R6(n,jo(i)),c=f):r==0?(s=null,c=(zn(1,f.length+1),f.substr(1))):(s=(Ri(0,r,f.length),f.substr(0,r)),c=(zn(r+1,f.length+1),f.substr(r+1))),vb(Nr(n,e))){case 2:case 3:return f6e(n,i,s,c);case 0:case 4:case 5:case 6:return h6e(n,i,s,c)}return null}function _Un(n,e,t,i){var r,c,s,f;for(f=t,s=new M(e.a);s.a<s.c.c.length;){if(c=u(E(s),225),r=u(c.b,68),Db(n.b.c,r.b.c+r.b.b)<=0&&Db(r.b.c,n.b.c+n.b.b)<=0&&Db(n.b.d,r.b.d+r.b.a)<=0&&Db(r.b.d,n.b.d+n.b.a)<=0){if(Db(r.b.c,n.b.c+n.b.b)==0&&i.a<0||Db(r.b.c+r.b.b,n.b.c)==0&&i.a>0||Db(r.b.d,n.b.d+n.b.a)==0&&i.b<0||Db(r.b.d+r.b.a,n.b.d)==0&&i.b>0){f=0;break}}else f=y.Math.min(f,x_n(n,r,i));f=y.Math.min(f,_Un(n,c,f,i))}return f}function ay(n,e){var t,i,r,c,s,f,h;if(n.b<2)throw T(new Gn("The vector chain must contain at least a source and a target point."));for(r=(oe(n.b!=0),u(n.a.a.c,8)),j7(e,r.a,r.b),h=new kp((!e.a&&(e.a=new ti(xo,e,5)),e.a)),s=ge(n,1);s.a<n.b-1;)f=u(be(s),8),h.e!=h.i.gc()?t=u(ue(h),377):(t=(B1(),i=new kE,i),OKn(h,t)),gN(t,f.a,f.b);for(;h.e!=h.i.gc();)ue(h),I5(h);c=(oe(n.b!=0),u(n.c.b.c,8)),y7(e,c.a,c.b)}function HUn(n,e,t,i){var r,c,s,f,h,l;if(l=ru(n.e.Dh(),e),s=u(n.g,124),Pl(n.e,e)){if(e.Si()&&(c=O4(n,e,i,L(e,102)&&(u(e,19).Bb&hr)!=0),c>=0&&c!=t))throw T(new Gn(Xy));for(r=0,h=0;h<n.i;++h)if(f=s[h],l.am(f.Lk())){if(r==t)return u(Bg(n,h,(dr(),u(e,69).xk()?u(i,76):Rh(e,i))),76);++r}throw T(new Or(w8+t+Cd+r))}else{for(h=0;h<n.i;++h)if(f=s[h],l.am(f.Lk()))return dr(),u(e,69).xk()?f:f.md();return null}}function qUn(n,e){var t,i,r,c,s,f,h,l,a;for(t=0,r=new M((Nn(0,n.c.length),u(n.c[0],105)).g.b.j);r.a<r.c.c.length;)i=u(E(r),12),i.p=t++;for(e==(en(),Xn)?Yt(n,new Tpn):Yt(n,new Cpn),f=0,a=n.c.length-1;f<a;)s=(Nn(f,n.c.length),u(n.c[f],105)),l=(Nn(a,n.c.length),u(n.c[a],105)),c=e==Xn?s.c:s.a,h=e==Xn?l.a:l.c,Vl(s,e,(xf(),lv),c),Vl(l,e,hv,h),++f,--a;f==a&&Vl((Nn(f,n.c.length),u(n.c[f],105)),e,(xf(),j3),null)}function OIe(n,e,t,i){var r,c,s,f,h,l;for(s=new kGn(n,e,t),h=new xi(i,0),r=!1;h.b<h.d.gc();)f=(oe(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),239)),f==e||f==t?bo(h):!r&&$(Sf(f.g,f.d[0]).a)>$(Sf(s.g,s.d[0]).a)?(oe(h.b>0),h.a.Xb(h.c=--h.b),Bw(h,s),r=!0):f.e&&f.e.gc()>0&&(c=(!f.e&&(f.e=new Z),f.e).Mc(e),l=(!f.e&&(f.e=new Z),f.e).Mc(t),(c||l)&&((!f.e&&(f.e=new Z),f.e).Fc(s),++s.c));r||Bn(i.c,s)}function AIe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;return d=n.a.i+n.a.g/2,g=n.a.i+n.a.g/2,m=e.i+e.g/2,j=e.j+e.f/2,f=new V(m,j),l=u(z(e,(He(),N3)),8),l.a=l.a+d,l.b=l.b+g,c=(f.b-l.b)/(f.a-l.a),i=f.b-c*f.a,k=t.i+t.g/2,P=t.j+t.f/2,h=new V(k,P),a=u(z(t,N3),8),a.a=a.a+d,a.b=a.b+g,s=(h.b-a.b)/(h.a-a.a),r=h.b-s*h.a,p=(i-r)/(s-c),l.a<p&&f.a<p||p<l.a&&p<f.a?!1:!(a.a<p&&h.a<p||p<a.a&&p<h.a)}function LIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(g=u(ee(n.c,e),190),!g)throw T(new eh("Edge did not exist in input."));return l=b4(g),c=Z9((!e.a&&(e.a=new q(Tt,e,6,6)),e.a)),f=!c,f&&(p=new _a,t=new vPn(n,l,p),yle((!e.a&&(e.a=new q(Tt,e,6,6)),e.a),t),bf(g,Tcn,p)),r=Nf(e,(He(),mw)),r&&(a=u(z(e,mw),75),s=!a||uOn(a),h=!s,h&&(d=new _a,i=new tyn(d),qi(a,i),bf(g,"junctionPoints",d))),ym(g,"container",X7(e).k),null}function UUn(n,e,t,i){var r,c,s,f,h,l;if(!Nm(e)){if(l=t.eh((L(e,16)?u(e,16).gc():wl(e.Kc()))/n.a|0),l.Ug(dVn,1),h=new fmn,f=0,i==(ci(),Kr)||i==Xr)for(s=e.Kc();s.Ob();)r=u(s.Pb(),39),h=Eo(S(C(Ao,1),Rn,20,0,[h,new sl(r)])),f<r.f.a&&(f=r.f.a);else for(s=e.Kc();s.Ob();)r=u(s.Pb(),39),h=Eo(S(C(Ao,1),Rn,20,0,[h,new sl(r)])),f<r.f.b&&(f=r.f.b);for(c=e.Kc();c.Ob();)r=u(c.Pb(),39),U(r,(pt(),xO),f);l.Vg(),UUn(n,h,t,i)}}function Ken(n,e,t){var i,r,c,s,f,h,l,a;this.a=n,this.b=e,this.c=t,this.e=Af(S(C(wDe,1),Rn,177,0,[new bp(n,e),new bp(e,t),new bp(t,n)])),this.f=Af(S(C(Ei,1),J,8,0,[n,e,t])),this.d=(i=mi(Fi(this.b),this.a),r=mi(Fi(this.c),this.a),c=mi(Fi(this.c),this.b),s=i.a*(this.a.a+this.b.a)+i.b*(this.a.b+this.b.b),f=r.a*(this.a.a+this.c.a)+r.b*(this.a.b+this.c.b),h=2*(i.a*c.b-i.b*c.a),l=(r.b*s-i.b*f)/h,a=(i.a*f-r.a*s)/h,new V(l,a))}function Hb(n,e){var t,i,r,c,s,f;for(c=n.c,s=n.d,Zi(n,null),Oi(n,null),e&&on(un(v(s,(W(),lH))))?Zi(n,Aen(s.i,(gr(),Jc),(en(),Zn))):Zi(n,s),e&&on(un(v(c,(W(),dH))))?Oi(n,Aen(c.i,(gr(),Vu),(en(),Wn))):Oi(n,c),i=new M(n.b);i.a<i.c.c.length;)t=u(E(i),72),r=u(v(t,(cn(),Sh)),278),r==($f(),Rv)?U(t,Sh,J0):r==J0&&U(t,Sh,Rv);f=on(un(v(n,(W(),zf)))),U(n,zf,(_n(),!f)),n.a=Sk(n.a)}function NIe(n,e){var t,i,r,c,s;return t=g4(u(v(e,(lc(),pw)),88)),n.b.b==0?null:(s=u(Wr(_r(new Cn(null,new On(n.b,16)),new V3n),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),c=u(Wr(ut(new Cn(null,new On(e.b,16)),new okn(s)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),15),r=B(ho(_w(_r(c.Oc(),new skn(t)),(kb(),kb(),YF)))),i=u(ho(t4(ut(c.Oc(),new ZMn(t,r)))),39),i)}function DIe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;t=sb(new za,n.f),l=n.i[e.c.i.p],p=n.i[e.d.i.p],h=e.c,g=e.d,f=h.a.b,d=g.a.b,l.b||(f+=h.n.b),p.b||(d+=g.n.b),a=wi(y.Math.max(0,f-d)),s=wi(y.Math.max(0,d-f)),m=(k=y.Math.max(1,u(v(e,(cn(),O3)),17).a),j=EJ(e.c.i.k,e.d.i.k),k*j),r=qs(Ns(Ls(As(Ds(new hs,m),s),t),u(ee(n.k,e.c),125))),c=qs(Ns(Ls(As(Ds(new hs,m),a),t),u(ee(n.k,e.d),125))),i=new HMn(r,c),n.c[e.p]=i}function $Ie(n,e,t){var i,r,c,s,f,h;for(i=0,c=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));c.e!=c.i.gc();)r=u(ue(c),27),s="",(!r.n&&(r.n=new q(Sr,r,1,7)),r.n).i==0||(s=u(N((!r.n&&(r.n=new q(Sr,r,1,7)),r.n),0),135).a),f=new mCn(s),Ur(f,r),U(f,(Y1(),y3),r),f.a=i++,f.d.a=r.i+r.g/2,f.d.b=r.j+r.f/2,f.e.a=y.Math.max(r.g,1),f.e.b=y.Math.max(r.f,1),nn(e.e,f),Vc(t.f,r,f),h=u(z(r,(Us(),pon)),101),h==(Ai(),Oa)&&(h=Qf)}function xIe(n,e){var t,i,r,c,s,f,h;e.Ug("Layer constraint postprocessing",1),h=n.b,h.c.length!=0&&(i=(Nn(0,h.c.length),u(h.c[0],30)),s=u(sn(h,h.c.length-1),30),t=new Nc(n),c=new Nc(n),EPe(n,i,s,t,c),t.a.c.length==0||(zw(0,h.c.length),l6(h.c,0,t)),c.a.c.length==0||Bn(h.c,c)),kt(n,(W(),hH))&&(r=new Nc(n),f=new Nc(n),bSe(n,r,f),r.a.c.length==0||(zw(0,h.c.length),l6(h.c,0,r)),f.a.c.length==0||Bn(h.c,f)),e.Vg()}function dy(n){var e,t,i;switch(n){case 91:case 93:case 45:case 94:case 44:case 92:i="\\"+String.fromCharCode(n&ui);break;case 12:i="\\f";break;case 10:i="\\n";break;case 13:i="\\r";break;case 9:i="\\t";break;case 27:i="\\e";break;default:n<32?(t=(e=n>>>0,"0"+e.toString(16)),i="\\x"+qo(t,t.length-2,t.length)):n>=hr?(t=(e=n>>>0,"0"+e.toString(16)),i="\\v"+qo(t,t.length-6,t.length)):i=""+String.fromCharCode(n&ui)}return i}function GUn(n){var e,t,i;if(mg(u(v(n,(cn(),_t)),101)))for(t=new M(n.j);t.a<t.c.c.length;)e=u(E(t),12),e.j==(en(),sc)&&(i=u(v(e,(W(),Xu)),10),i?gi(e,u(v(i,gc),64)):e.e.c.length-e.g.c.length<0?gi(e,Zn):gi(e,Wn));else{for(t=new M(n.j);t.a<t.c.c.length;)e=u(E(t),12),i=u(v(e,(W(),Xu)),10),i?gi(e,u(v(i,gc),64)):e.e.c.length-e.g.c.length<0?gi(e,(en(),Zn)):gi(e,(en(),Wn));U(n,_t,(Ai(),Bv))}}function Ben(n){var e,t,i,r,c,s;for(this.e=new Z,this.a=new Z,t=n.b-1;t<3;t++)wm(n,0,u(Zo(n,0),8));if(n.b<4)throw T(new Gn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,hTe(this,n.b+this.b-1),s=new Z,c=new M(this.e),e=0;e<this.b-1;e++)nn(s,B(E(c)));for(r=ge(n,0);r.b!=r.d.c;)i=u(be(r),8),nn(s,B(E(c))),nn(this.a,new tAn(i,s)),Nn(0,s.c.length),s.c.splice(0,1)}function zUn(n,e){var t,i,r,c,s,f,h,l,a;for(c=new M(n.b);c.a<c.c.c.length;)for(r=u(E(c),30),f=new M(r.a);f.a<f.c.c.length;)for(s=u(E(f),10),s.k==(Vn(),Sc)&&(h=(l=u(fe(new ie(ce(ji(s).a.Kc(),new En))),18),a=u(fe(new ie(ce(Qt(s).a.Kc(),new En))),18),!on(un(v(l,(W(),zf))))||!on(un(v(a,zf)))?e:oRn(e)),t3(s,h)),i=new ie(ce(Qt(s).a.Kc(),new En));pe(i);)t=u(fe(i),18),h=on(un(v(t,(W(),zf))))?oRn(e):e,nRn(t,h)}function RIe(n,e,t,i,r){var c,s,f;if(t.f>=e.o&&t.f<=e.f||e.a*.5<=t.f&&e.a*1.5>=t.f){if(s=u(sn(e.n,e.n.c.length-1),209),s.e+s.d+t.g+r<=i&&(c=u(sn(e.n,e.n.c.length-1),209),c.f-n.f+t.f<=n.b||n.a.c.length==1))return DY(e,t),!0;if(e.s+t.g<=i&&(e.t+e.d+t.f+r<=n.b||n.a.c.length==1))return nn(e.b,t),f=u(sn(e.n,e.n.c.length-1),209),nn(e.n,new DT(e.s,f.f+f.a+e.i,e.i)),bZ(u(sn(e.n,e.n.c.length-1),209),t),BUn(e,t),!0}return!1}function XUn(n,e,t){var i,r,c,s;return n.Pj()?(r=null,c=n.Qj(),i=n.Ij(1,s=d$(n,e,t),t,e,c),n.Mj()&&!(n.Yi()&&s!=null?ct(s,t):x(s)===x(t))?(s!=null&&(r=n.Oj(s,r)),r=n.Nj(t,r),n.Tj()&&(r=n.Wj(s,t,r)),r?(r.nj(i),r.oj()):n.Jj(i)):(n.Tj()&&(r=n.Wj(s,t,r)),r?(r.nj(i),r.oj()):n.Jj(i)),s):(s=d$(n,e,t),n.Mj()&&!(n.Yi()&&s!=null?ct(s,t):x(s)===x(t))&&(r=null,s!=null&&(r=n.Oj(s,null)),r=n.Nj(t,r),r&&r.oj()),s)}function KIe(n,e){var t,i,r,c,s;if(e.Ug("Path-Like Graph Wrapping",1),n.b.c.length==0){e.Vg();return}if(r=new qnn(n),s=(r.i==null&&(r.i=$Q(r,new zU)),$(r.i)*r.f),t=s/(r.i==null&&(r.i=$Q(r,new zU)),$(r.i)),r.b>t){e.Vg();return}switch(u(v(n,(cn(),LH)),351).g){case 2:c=new VU;break;case 0:c=new GU;break;default:c=new WU}if(i=c.og(n,r),!c.pg())switch(u(v(n,jO),352).g){case 2:i=R_n(r,i);break;case 1:i=SFn(r,i)}DOe(n,r,i),e.Vg()}function F5(n,e){var t,i,r,c,s,f,h,l;e%=24,n.q.getHours()!=e&&(i=new y.Date(n.q.getTime()),i.setDate(i.getDate()+1),f=n.q.getTimezoneOffset()-i.getTimezoneOffset(),f>0&&(h=f/60|0,l=f%60,r=n.q.getDate(),t=n.q.getHours(),t+h>=24&&++r,c=new y.Date(n.q.getFullYear(),n.q.getMonth(),r,e+h,n.q.getMinutes()+l,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),s=n.q.getTime(),n.q.setTime(s+36e5),n.q.getHours()!=e&&n.q.setTime(s)}function BIe(n,e){var t,i,r,c;if(Y2e(n.d,n.e),n.c.a.$b(),$(B(v(e.j,(cn(),hO))))!=0||$(B(v(e.j,hO)))!=0)for(t=i2,x(v(e.j,Yh))!==x((lh(),k1))&&U(e.j,(W(),ya),(_n(),!0)),c=u(v(e.j,z8),17).a,r=0;r<c&&(i=ZIe(n,e),!(i<t&&(t=i,pxn(n),t==0)));r++);else for(t=et,x(v(e.j,Yh))!==x((lh(),k1))&&U(e.j,(W(),ya),(_n(),!0)),c=u(v(e.j,z8),17).a,r=0;r<c&&(i=YUn(n,e),!(i<t&&(t=i,pxn(n),t==0)));r++);}function FIe(n,e){var t,i,r,c,s,f,h,l;for(s=new Z,f=0,t=0,h=0;f<e.c.length-1&&t<n.gc();){for(i=u(n.Xb(t),17).a+h;(Nn(f+1,e.c.length),u(e.c[f+1],17)).a<i;)++f;for(l=0,c=i-(Nn(f,e.c.length),u(e.c[f],17)).a,r=(Nn(f+1,e.c.length),u(e.c[f+1],17)).a-i,c>r&&++l,nn(s,(Nn(f+l,e.c.length),u(e.c[f+l],17))),h+=(Nn(f+l,e.c.length),u(e.c[f+l],17)).a-i,++t;t<n.gc()&&u(n.Xb(t),17).a+h<=(Nn(f+l,e.c.length),u(e.c[f+l],17)).a;)++t;f+=1+l}return s}function _Ie(n,e){var t,i,r,c,s;for(s=new ie(ce(ji(e).a.Kc(),new En));pe(s);)if(c=u(fe(s),18),n.f.b==0?(r=c.c.i.k==(Vn(),Xt)&&!!c.c.i.c&&c.c.i.c.p==n.c,pe(new ie(ce(ji(c.c.i).a.Kc(),new En)))?(t=u(fe(new ie(ce(ji(c.c.i).a.Kc(),new En))),18).c.i.c,i=c.c.i.k==Sc&&!!t&&t.p==n.c):i=!1):(r=c.c.i.k==(Vn(),Xt)&&c.c.i.p==n.c,i=c.c.i.k==Sc&&u(fe(new ie(ce(ji(c.c.i).a.Kc(),new En))),18).c.i.p==n.c),r||i)return!0;return!1}function HIe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(g=new Z,P=HT(i),j=e*n.a,d=0,m=0,c=new ni,s=new ni,f=new Z,O=0,A=0,p=0,k=0,l=0,a=0;P.a.gc()!=0;)h=x5e(P,r,s),h&&(P.a.Bc(h)!=null,Bn(f.c,h),c.a.zc(h,c),m=n.f[h.p],O+=n.e[h.p]-m*n.b,d=n.c[h.p],A+=d*n.b,a+=m*n.b,k+=n.e[h.p]),(!h||P.a.gc()==0||O>=j&&n.e[h.p]>m*n.b||A>=t*j)&&(Bn(g.c,f),f=new Z,Ki(s,c),c.a.$b(),l-=a,p=y.Math.max(p,l*n.b+k),l+=A,O=A,A=0,a=0,k=0);return new bi(p,g)}function $R(n){var e,t,i,r,c,s,f;if(!n.d){if(f=new yvn,e=N9,c=e.a.zc(n,e),c==null){for(i=new ne(Hr(n));i.e!=i.i.gc();)t=u(ue(i),29),Bt(f,$R(t));e.a.Bc(n)!=null,e.a.gc()==0}for(s=f.i,r=(!n.q&&(n.q=new q(Ps,n,11,10)),new ne(n.q));r.e!=r.i.gc();++s)u(ue(r),411);Bt(f,(!n.q&&(n.q=new q(Ps,n,11,10)),n.q)),e0(f),n.d=new pg((u(N(H((z1(),Hn).o),9),19),f.i),f.g),n.e=u(f.g,688),n.e==null&&(n.e=Joe),Zu(n).b&=-17}return n.d}function O4(n,e,t,i){var r,c,s,f,h,l;if(l=ru(n.e.Dh(),e),h=0,r=u(n.g,124),dr(),u(e,69).xk()){for(s=0;s<n.i;++s)if(c=r[s],l.am(c.Lk())){if(ct(c,t))return h;++h}}else if(t!=null){for(f=0;f<n.i;++f)if(c=r[f],l.am(c.Lk())){if(ct(t,c.md()))return h;++h}if(i){for(h=0,s=0;s<n.i;++s)if(c=r[s],l.am(c.Lk())){if(x(t)===x(ON(n,u(c.md(),58))))return h;++h}}}else for(s=0;s<n.i;++s)if(c=r[s],l.am(c.Lk())){if(c.md()==null)return h;++h}return-1}function qIe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k;if(t.Xh(e)&&(a=(p=e,p?u(i,54).gi(p):null),a))if(k=t.Nh(e,n.a),m=e.t,m>1||m==-1)if(d=u(k,71),g=u(a,71),d.dc())g.$b();else for(s=!!br(e),c=0,f=n.a?d.Kc():d.Ii();f.Ob();)l=u(f.Pb(),58),r=u(Df(n,l),58),r?(s?(h=g.dd(r),h==-1?g.Gi(c,r):c!=h&&g.Ui(c,r)):g.Gi(c,r),++c):n.b&&!s&&(g.Gi(c,l),++c);else k==null?a.Wb(null):(r=Df(n,k),r==null?n.b&&!br(e)&&a.Wb(k):a.Wb(r))}function UIe(n,e){var t,i,r,c,s,f,h,l;for(t=new ugn,r=new ie(ce(ji(e).a.Kc(),new En));pe(r);)if(i=u(fe(r),18),!fr(i)&&(f=i.c.i,JZ(f,TI))){if(l=ben(n,f,TI,MI),l==-1)continue;t.b=y.Math.max(t.b,l),!t.a&&(t.a=new Z),nn(t.a,f)}for(s=new ie(ce(Qt(e).a.Kc(),new En));pe(s);)if(c=u(fe(s),18),!fr(c)&&(h=c.d.i,JZ(h,MI))){if(l=ben(n,h,MI,TI),l==-1)continue;t.d=y.Math.max(t.d,l),!t.c&&(t.c=new Z),nn(t.c,h)}return t}function GIe(n,e,t,i){var r,c,s,f,h,l,a;if(t.d.i!=e.i){for(r=new Cl(n),Ha(r,(Vn(),Ti)),U(r,(W(),st),t),U(r,(cn(),_t),(Ai(),qc)),Bn(i.c,r),s=new Ic,ic(s,r),gi(s,(en(),Wn)),f=new Ic,ic(f,r),gi(f,Zn),a=t.d,Oi(t,s),c=new yb,Ur(c,t),U(c,Rr,null),Zi(c,f),Oi(c,a),l=new xi(t.b,0);l.b<l.d.gc();)h=(oe(l.b<l.d.gc()),u(l.d.Xb(l.c=l.b++),72)),x(v(h,Sh))===x(($f(),J0))&&(U(h,T3,t),bo(l),nn(c.b,h));CHn(r,s,f)}}function zIe(n,e,t,i){var r,c,s,f,h,l,a;if(t.c.i!=e.i)for(r=new Cl(n),Ha(r,(Vn(),Ti)),U(r,(W(),st),t),U(r,(cn(),_t),(Ai(),qc)),Bn(i.c,r),s=new Ic,ic(s,r),gi(s,(en(),Wn)),f=new Ic,ic(f,r),gi(f,Zn),Oi(t,s),c=new yb,Ur(c,t),U(c,Rr,null),Zi(c,f),Oi(c,e),CHn(r,s,f),l=new xi(t.b,0);l.b<l.d.gc();)h=(oe(l.b<l.d.gc()),u(l.d.Xb(l.c=l.b++),72)),a=u(v(h,Sh),278),a==($f(),J0)&&(kt(h,T3)||U(h,T3,t),bo(l),nn(c.b,h))}function VUn(n){C4();var e,t,i,r;if(e=wi(n),n<S8.length)return S8[e];if(n<=50)return iy((dh(),QF),e);if(n<=d1)return Rp(iy(m3[1],e),e);if(n>1e6)throw T(new FE("power of ten too big"));if(n<=et)return Rp(iy(m3[1],e),e);for(i=iy(m3[1],et),r=i,t=vc(n-et),e=wi(n%et);Ec(t,et)>0;)r=Og(r,i),t=bs(t,et);for(r=Og(r,iy(m3[1],e)),r=Rp(r,et),t=vc(n-et);Ec(t,et)>0;)r=Rp(r,et),t=bs(t,et);return r=Rp(r,e),r}function WUn(n){var e,t,i,r,c,s,f,h,l,a;for(h=new M(n.a);h.a<h.c.c.length;)if(f=u(E(h),10),f.k==(Vn(),Zt)&&(r=u(v(f,(W(),gc)),64),r==(en(),Zn)||r==Wn))for(i=new ie(ce(Ml(f).a.Kc(),new En));pe(i);)t=u(fe(i),18),e=t.a,e.b!=0&&(l=t.c,l.i==f&&(c=(oe(e.b!=0),u(e.a.a.c,8)),c.b=cc(S(C(Ei,1),J,8,0,[l.i.n,l.n,l.a])).b),a=t.d,a.i==f&&(s=(oe(e.b!=0),u(e.c.b.c,8)),s.b=cc(S(C(Ei,1),J,8,0,[a.i.n,a.n,a.a])).b))}function _5(n,e,t,i){var r,c,s;if(this.j=new Z,this.k=new Z,this.b=new Z,this.c=new Z,this.e=new mp,this.i=new Tu,this.f=new rL,this.d=new Z,this.g=new Z,nn(this.b,n),nn(this.b,e),this.e.c=y.Math.min(n.a,e.a),this.e.d=y.Math.min(n.b,e.b),this.e.b=y.Math.abs(n.a-e.a),this.e.a=y.Math.abs(n.b-e.b),r=u(v(i,(cn(),Rr)),75),r)for(s=ge(r,0);s.b!=s.d.c;)c=u(be(s),8),hQ(c.a,n.a)&&Re(this.i,c);t&&nn(this.j,t),nn(this.k,i)}function XIe(n,e,t,i){var r,c,s,f,h,l,a;for(f=-1,a=new M(n);a.a<a.c.c.length;)l=u(E(a),118),l.g=f--,r=Se(KT(jT(ut(new Cn(null,new On(l.f,16)),new S3n),new P3n)).d),c=Se(KT(jT(ut(new Cn(null,new On(l.k,16)),new I3n),new O3n)).d),s=r,h=c,i||(s=Se(KT(jT(new Cn(null,new On(l.f,16)),new A3n)).d),h=Se(KT(jT(new Cn(null,new On(l.k,16)),new T3n)).d)),l.d=s,l.a=r,l.i=h,l.b=c,h==0?xt(t,l,t.c.b,t.c):s==0&&xt(e,l,e.c.b,e.c)}function t3(n,e){var t,i,r,c,s,f;if(n.k==(Vn(),Sc)&&(t=n.k==Sc&&!om(ut(u(v(n,(W(),K8)),15).Oc(),new Y3(new HU))).Bd((Va(),v3))?(Co(),Yj):e,U(n,(W(),S3),t),t!=(Co(),Pa)))for(i=u(v(n,st),18),f=$(B(v(i,(cn(),m1)))),s=0,t==nl?s=n.o.b-y.Math.ceil(f/2):t==Yj&&(s=y.Math.ceil(n.o.b-$(B(v(Hi(n),C2)))-f)/2,n.o.b-=$(B(v(Hi(n),C2))),n.o.b-=f),c=new M(n.j);c.a<c.c.c.length;)r=u(E(c),12),r.n.b=s}function JUn(n,e,t){var i,r,c,s,f,h,l,a,d;for(r=!0,s=new M(n.b);s.a<s.c.c.length;){for(c=u(E(s),30),l=li,a=null,h=new M(c.a);h.a<h.c.c.length;)if(f=u(E(h),10),d=$(e.p[f.p])+$(e.d[f.p])-f.d.d,i=$(e.p[f.p])+$(e.d[f.p])+f.o.b+f.d.a,d>l&&i>l)a=f,l=$(e.p[f.p])+$(e.d[f.p])+f.o.b+f.d.a;else{r=!1,t._g()&&t.bh("bk node placement breaks on "+f+" which should have been after "+a);break}if(!r)break}return t._g()&&t.bh(e+" is feasible: "+r),r}function Fen(n,e,t,i){var r,c,s,f,h,l,a,d,g;if(c=new Cl(n),Ha(c,(Vn(),_c)),U(c,(cn(),_t),(Ai(),qc)),r=0,e){for(s=new Ic,U(s,(W(),st),e),U(c,st,e.i),gi(s,(en(),Wn)),ic(s,c),g=hh(e.e),l=g,a=0,d=l.length;a<d;++a)h=l[a],Oi(h,s);U(e,Xu,c),++r}if(t){for(f=new Ic,U(c,(W(),st),t.i),U(f,st,t),gi(f,(en(),Zn)),ic(f,c),g=hh(t.g),l=g,a=0,d=l.length;a<d;++a)h=l[a],Zi(h,f);U(t,Xu,c),++r}return U(c,(W(),iO),Y(r)),Bn(i.c,c),c}function VIe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;for(t=(l=new ol(n.c.b).a.vc().Kc(),new Cw(l));t.a.Ob();)e=(f=u(t.a.Pb(),44),u(f.md(),143)),r=e.a,r==null&&(r=""),i=kae(n.c,r),!i&&r.length==0&&(i=s5e(n)),i&&!i0(i.c,e,!1)&&Re(i.c,e);for(s=ge(n.a,0);s.b!=s.d.c;)c=u(be(s),486),a=WD(n.c,c.a),p=WD(n.c,c.b),a&&p&&Re(a.c,new bi(p,c.c));for(vo(n.a),g=ge(n.b,0);g.b!=g.d.c;)d=u(be(g),486),e=vae(n.c,d.a),h=WD(n.c,d.b),e&&h&&Yhe(e,h,d.c);vo(n.b)}function WIe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;c=new q9(n),s=new oFn,r=(Z7(s.g),Z7(s.j),Hu(s.b),Z7(s.d),Z7(s.i),Hu(s.k),Hu(s.c),Hu(s.e),p=q_n(s,c,null),KHn(s,c),p),e&&(l=new q9(e),f=rOe(l),fnn(r,S(C(ran,1),Rn,536,0,[f]))),g=!1,d=!1,t&&(l=new q9(t),HP in l.a&&(g=dl(l,HP).qe().a),CWn in l.a&&(d=dl(l,CWn).qe().a)),a=nEn(q$n(new op,g),d),Lje(new m4n,r,a),HP in c.a&&bf(c,HP,null),(g||d)&&(h=new sp,AUn(a,h,g,d),bf(c,HP,h)),i=new Zkn(s),g6e(new TX(r),i)}function JIe(n,e,t){var i,r,c,s,f,h,l,a,d;for(s=new aFn,l=S(C(ye,1),_e,28,15,[0]),r=-1,c=0,i=0,h=0;h<n.b.c.length;++h)if(a=u(sn(n.b,h),443),a.b>0){if(r<0&&a.a&&(r=h,c=l[0],i=0),r>=0){if(f=a.b,h==r&&(f-=i++,f==0))return 0;if(!ZGn(e,l,a,f,s)){h=r-1,l[0]=c;continue}}else if(r=-1,!ZGn(e,l,a,0,s))return 0}else{if(r=-1,Xi(a.c,0)==32){if(d=l[0],ZDn(e,l),l[0]>d)continue}else if(Nge(e,a.c,l[0])){l[0]+=a.c.length;continue}return 0}return $Le(s,t)?l[0]:0}function QIe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(a=new aT(new R9n(t)),f=F(so,Xh,28,n.f.e.c.length,16,1),MW(f,f.length),t[e.a]=0,l=new M(n.f.e);l.a<l.c.c.length;)h=u(E(l),153),h.a!=e.a&&(t[h.a]=et),Tp(k4(a,h),F4);for(;a.b.c.length!=0;)for(d=u(w$(a),153),f[d.a]=!0,c=VCn(new SL(n.b,d),0);c.c;)r=u(uQ(c),289),g=f7e(r,d),!f[g.a]&&(kt(r,(qk(),EI))?s=$(B(v(r,EI))):s=n.c,i=t[d.a]+s,i<t[g.a]&&(t[g.a]=i,hxn(a,g),Tp(k4(a,g),F4)))}function YIe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m;for(s=n.o,i=F(ye,_e,28,s,15,1),r=F(ye,_e,28,s,15,1),t=n.p,e=F(ye,_e,28,t,15,1),c=F(ye,_e,28,t,15,1),l=0;l<s;l++){for(d=0;d<t&&!Fg(n,l,d);)++d;i[l]=d}for(a=0;a<s;a++){for(d=t-1;d>=0&&!Fg(n,a,d);)--d;r[a]=d}for(p=0;p<t;p++){for(f=0;f<s&&!Fg(n,f,p);)++f;e[p]=f}for(m=0;m<t;m++){for(f=s-1;f>=0&&!Fg(n,f,m);)--f;c[m]=f}for(h=0;h<s;h++)for(g=0;g<t;g++)h<c[g]&&h>e[g]&&g<r[h]&&g>i[h]&&xS(n,h,g,!1,!0)}function _en(n){var e,t,i,r,c,s,f,h;t=on(un(v(n,(Us(),XYn)))),c=n.a.c.d,f=n.a.d.d,t?(s=ch(mi(new V(f.a,f.b),c),.5),h=ch(Fi(n.e),.5),e=mi(it(new V(c.a,c.b),s),h),QX(n.d,e)):(r=$(B(v(n.a,tZn))),i=n.d,c.a>=f.a?c.b>=f.b?(i.a=f.a+(c.a-f.a)/2+r,i.b=f.b+(c.b-f.b)/2-r-n.e.b):(i.a=f.a+(c.a-f.a)/2+r,i.b=c.b+(f.b-c.b)/2+r):c.b>=f.b?(i.a=c.a+(f.a-c.a)/2+r,i.b=f.b+(c.b-f.b)/2+r):(i.a=c.a+(f.a-c.a)/2+r,i.b=c.b+(f.b-c.b)/2-r-n.e.b))}function H5(n){var e,t,i,r,c,s,f,h;if(!n.f){if(h=new eG,f=new eG,e=N9,s=e.a.zc(n,e),s==null){for(c=new ne(Hr(n));c.e!=c.i.gc();)r=u(ue(c),29),Bt(h,H5(r));e.a.Bc(n)!=null,e.a.gc()==0}for(i=(!n.s&&(n.s=new q(ku,n,21,17)),new ne(n.s));i.e!=i.i.gc();)t=u(ue(i),179),L(t,102)&&ve(f,u(t,19));e0(f),n.r=new FPn(n,(u(N(H((z1(),Hn).o),6),19),f.i),f.g),Bt(h,n.r),e0(h),n.f=new pg((u(N(H(Hn.o),5),19),h.i),h.g),Zu(n).b&=-3}return n.f}function QUn(n){ib(n,new gd(nb(Qd(Zd(Yd(new Fa,jd),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Rwn))),Q(n,jd,WK,rn(hon)),Q(n,jd,JK,rn(w_)),Q(n,jd,l3,rn(LYn)),Q(n,jd,Xb,rn(fon)),Q(n,jd,Itn,rn(xYn)),Q(n,jd,Otn,rn($Yn)),Q(n,jd,Ptn,rn(RYn)),Q(n,jd,Atn,rn(DYn)),Q(n,jd,Ktn,rn(NYn)),Q(n,jd,Btn,rn(b_)),Q(n,jd,Ftn,rn(son)),Q(n,jd,_tn,rn(pI))}function FS(){FS=R,Adn=S(C(fs,1),gh,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Coe=new RegExp(`[
\r\f]+`);try{O9=S(C(NDe,1),Rn,2114,0,[new X9((mX(),zC("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",O7((BE(),BE(),M8))))),new X9(zC("yyyy-MM-dd'T'HH:mm:ss'.'SSS",O7(M8))),new X9(zC("yyyy-MM-dd'T'HH:mm:ss",O7(M8))),new X9(zC("yyyy-MM-dd'T'HH:mm",O7(M8))),new X9(zC("yyyy-MM-dd",O7(M8)))])}catch(n){if(n=Ot(n),!L(n,82))throw T(n)}}function ZIe(n,e){var t,i,r,c;if(r=to(n.d,1)!=0,i=yen(n,e),i==0&&on(un(v(e.j,(W(),ya)))))return 0;!on(un(v(e.j,(W(),ya))))&&!on(un(v(e.j,j2)))||x(v(e.j,(cn(),Yh)))===x((lh(),k1))?e.c.mg(e.e,r):r=on(un(v(e.j,ya))),oy(n,e,r,!0),on(un(v(e.j,j2)))&&U(e.j,j2,(_n(),!1)),on(un(v(e.j,ya)))&&(U(e.j,ya,(_n(),!1)),U(e.j,j2,!0)),t=yen(n,e);do{if(NQ(n),t==0)return 0;r=!r,c=t,oy(n,e,r,!1),t=yen(n,e)}while(c>t);return c}function YUn(n,e){var t,i,r,c;if(r=to(n.d,1)!=0,i=kS(n,e),i==0&&on(un(v(e.j,(W(),ya)))))return 0;!on(un(v(e.j,(W(),ya))))&&!on(un(v(e.j,j2)))||x(v(e.j,(cn(),Yh)))===x((lh(),k1))?e.c.mg(e.e,r):r=on(un(v(e.j,ya))),oy(n,e,r,!0),on(un(v(e.j,j2)))&&U(e.j,j2,(_n(),!1)),on(un(v(e.j,ya)))&&(U(e.j,ya,(_n(),!1)),U(e.j,j2,!0)),t=kS(n,e);do{if(NQ(n),t==0)return 0;r=!r,c=t,oy(n,e,r,!1),t=kS(n,e)}while(c>t);return c}function Hen(n,e,t,i){var r,c,s,f,h,l,a,d,g;return h=mi(new V(t.a,t.b),n),l=h.a*e.b-h.b*e.a,a=e.a*i.b-e.b*i.a,d=(h.a*i.b-h.b*i.a)/a,g=l/a,a==0?l==0?(r=it(new V(t.a,t.b),ch(new V(i.a,i.b),.5)),c=Q1(n,r),s=Q1(it(new V(n.a,n.b),e),r),f=y.Math.sqrt(i.a*i.a+i.b*i.b)*.5,c<s&&c<=f?new V(n.a,n.b):s<=f?it(new V(n.a,n.b),e):null):null:d>=0&&d<=1&&g>=0&&g<=1?it(new V(n.a,n.b),ch(new V(e.a,e.b),d)):null}function nOe(n,e,t){var i,r,c,s,f;if(i=u(v(n,(cn(),vH)),21),t.a>e.a&&(i.Hc((wd(),b9))?n.c.a+=(t.a-e.a)/2:i.Hc(w9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((wd(),p9))?n.c.b+=(t.b-e.b)/2:i.Hc(g9)&&(n.c.b+=t.b-e.b)),u(v(n,(W(),Hc)),21).Hc((pr(),cs))&&(t.a>e.a||t.b>e.b))for(f=new M(n.a);f.a<f.c.c.length;)s=u(E(f),10),s.k==(Vn(),Zt)&&(r=u(v(s,gc),64),r==(en(),Zn)?s.n.a+=t.a-e.a:r==ae&&(s.n.b+=t.b-e.b));c=n.d,n.f.a=t.a-c.b-c.c,n.f.b=t.b-c.d-c.a}function eOe(n,e,t){var i,r,c,s,f;if(i=u(v(n,(cn(),vH)),21),t.a>e.a&&(i.Hc((wd(),b9))?n.c.a+=(t.a-e.a)/2:i.Hc(w9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((wd(),p9))?n.c.b+=(t.b-e.b)/2:i.Hc(g9)&&(n.c.b+=t.b-e.b)),u(v(n,(W(),Hc)),21).Hc((pr(),cs))&&(t.a>e.a||t.b>e.b))for(s=new M(n.a);s.a<s.c.c.length;)c=u(E(s),10),c.k==(Vn(),Zt)&&(r=u(v(c,gc),64),r==(en(),Zn)?c.n.a+=t.a-e.a:r==ae&&(c.n.b+=t.b-e.b));f=n.d,n.f.a=t.a-f.b-f.c,n.f.b=t.b-f.d-f.a}function tOe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(e=aHn(n),a=(f=new qa(e).a.vc().Kc(),new PE(f));a.a.Ob();){for(l=(r=u(a.a.Pb(),44),u(r.ld(),10)),d=0,g=0,d=l.d.d,g=l.o.b+l.d.a,n.d[l.p]=0,t=l;(c=n.a[t.p])!=l;)i=Q8e(t,c),h=0,n.c==(fh(),y1)?h=i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:h=i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,s=$(n.d[t.p])+h,n.d[c.p]=s,d=y.Math.max(d,c.d.d-s),g=y.Math.max(g,s+c.o.b+c.d.a),t=c;t=l;do n.d[t.p]=$(n.d[t.p])+d,t=n.a[t.p];while(t!=l);n.b[l.p]=d+g}}function q5(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=0,s=n.t,r=0,i=0,h=0,g=0,d=0,t&&(n.n.c.length=0,nn(n.n,new DT(n.s,n.t,n.i))),f=0,a=new M(n.b);a.a<a.c.c.length;)l=u(E(a),27),c+l.g+(f>0?n.i:0)>e&&h>0&&(c=0,s+=h+n.i,r=y.Math.max(r,g),i+=h+n.i,h=0,g=0,t&&(++d,nn(n.n,new DT(n.s,s,n.i))),f=0),g+=l.g+(f>0?n.i:0),h=y.Math.max(h,l.f),t&&bZ(u(sn(n.n,d),209),l),c+=l.g+(f>0?n.i:0),++f;return r=y.Math.max(r,g),i+=h,t&&(n.r=r,n.d=i,mZ(n.j)),new Ho(n.s,n.t,r,i)}function xR(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(n.b=!1,d=Pt,h=li,g=Pt,l=li,i=n.e.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),272),r=t.a,d=y.Math.min(d,r.c),h=y.Math.max(h,r.c+r.b),g=y.Math.min(g,r.d),l=y.Math.max(l,r.d+r.a),s=new M(t.c);s.a<s.c.c.length;)c=u(E(s),407),e=c.a,e.a?(a=r.d+c.b.b,f=a+c.c,g=y.Math.min(g,a),l=y.Math.max(l,f)):(a=r.c+c.b.a,f=a+c.c,d=y.Math.min(d,a),h=y.Math.max(h,f));n.a=new V(h-d,l-g),n.c=new V(d+n.d.a,g+n.d.b)}function Jg(n){var e,t,i,r,c,s,f,h;if(!n.a){if(n.o=null,h=new myn(n),e=new kvn,t=N9,f=t.a.zc(n,t),f==null){for(s=new ne(Hr(n));s.e!=s.i.gc();)c=u(ue(s),29),Bt(h,Jg(c));t.a.Bc(n)!=null,t.a.gc()==0}for(r=(!n.s&&(n.s=new q(ku,n,21,17)),new ne(n.s));r.e!=r.i.gc();)i=u(ue(r),179),L(i,331)&&ve(e,u(i,35));e0(e),n.k=new _Pn(n,(u(N(H((z1(),Hn).o),7),19),e.i),e.g),Bt(h,n.k),e0(h),n.a=new pg((u(N(H(Hn.o),4),19),h.i),h.g),Zu(n).b&=-2}return n.a}function qen(n,e,t,i){var r,c,s,f,h,l,a;if(a=ru(n.e.Dh(),e),r=0,c=u(n.g,124),h=null,dr(),u(e,69).xk()){for(f=0;f<n.i;++f)if(s=c[f],a.am(s.Lk())){if(ct(s,t)){h=s;break}++r}}else if(t!=null){for(f=0;f<n.i;++f)if(s=c[f],a.am(s.Lk())){if(ct(t,s.md())){h=s;break}++r}}else for(f=0;f<n.i;++f)if(s=c[f],a.am(s.Lk())){if(s.md()==null){h=s;break}++r}return h&&(fo(n.e)&&(l=e.Jk()?new GD(n.e,4,e,t,null,r,!0):W1(n,e.tk()?2:1,e,t,e.ik(),-1,!0),i?i.nj(l):i=l),i=hy(n,h,i)),i}function RR(n,e,t,i,r,c,s){var f,h,l,a,d,g,p,m,k;switch(m=0,k=0,h=r.c,f=r.b,a=t.f,p=t.g,e.g){case 0:m=i.i+i.g+s,n.c?k=yye(m,c,i,s):k=i.j,g=y.Math.max(h,m+p),l=y.Math.max(f,k+a);break;case 1:k=i.j+i.f+s,n.c?m=kye(k,c,i,s):m=i.i,g=y.Math.max(h,m+p),l=y.Math.max(f,k+a);break;case 2:m=h+s,k=0,g=h+s+p,l=y.Math.max(f,a);break;case 3:m=0,k=f+s,g=y.Math.max(h,p),l=f+s+a;break;default:throw T(new Gn("IllegalPlacementOption."))}return d=new eZ(n.a,g,l,e,m,k),d}function iOe(n){var e,t,i,r,c,s,f,h,l,a,d,g;if(f=n.d,d=u(v(n,(W(),I3)),15),e=u(v(n,M3),15),!(!d&&!e)){if(c=$(B(r0(n,(cn(),PH)))),s=$(B(r0(n,whn))),g=0,d){for(l=0,r=d.Kc();r.Ob();)i=u(r.Pb(),10),l=y.Math.max(l,i.o.b),g+=i.o.a;g+=c*(d.gc()-1),f.d+=l+s}if(t=0,e){for(l=0,r=e.Kc();r.Ob();)i=u(r.Pb(),10),l=y.Math.max(l,i.o.b),t+=i.o.a;t+=c*(e.gc()-1),f.a+=l+s}h=y.Math.max(g,t),h>n.o.a&&(a=(h-n.o.a)/2,f.b=y.Math.max(f.b,a),f.c=y.Math.max(f.c,a))}}function rOe(n){var e,t,i,r,c,s,f,h;for(c=new zAn,$le(c,(qp(),due)),i=(r=P$(n,F(fn,J,2,0,6,1)),new Gv(new Fu(new PL(n,r).b)));i.b<i.d.gc();)t=(oe(i.b<i.d.gc()),Ae(i.d.Xb(i.c=i.b++))),s=Jen(Na,t),s&&(e=dl(n,t),e.te()?f=e.te().a:e.qe()?f=""+e.qe().a:e.re()?f=""+e.re().a:f=e.Ib(),h=Ven(s,f),h!=null&&((Su(s.j,(pf(),pi))||Su(s.j,xn))&&Ck(g$(c,Ye),s,h),Su(s.j,Ih)&&Ck(g$(c,Vt),s,h),Su(s.j,Fd)&&Ck(g$(c,Qu),s,h),Su(s.j,E1)&&Ck(g$(c,Sr),s,h)));return c}function by(n,e,t){var i,r,c,s,f,h,l,a;if(r=u(n.g,124),Pl(n.e,e))return dr(),u(e,69).xk()?new nT(e,n):new k7(e,n);for(l=ru(n.e.Dh(),e),i=0,f=0;f<n.i;++f){if(c=r[f],s=c.Lk(),l.am(s)){if(dr(),u(e,69).xk())return c;if(s==(n3(),F3)||s==B3){for(h=new mo(Jr(c.md()));++f<n.i;)c=r[f],s=c.Lk(),(s==F3||s==B3)&&Be(h,Jr(c.md()));return MV(u(e.Hk(),156),h.a)}else return a=c.md(),a!=null&&t&&L(e,102)&&u(e,19).Bb&hr&&(a=A5(n,e,f,i,a)),a}++i}return e.ik()}function _S(n,e,t,i){var r,c,s,f,h,l;if(h=ru(n.e.Dh(),e),c=u(n.g,124),Pl(n.e,e)){for(r=0,f=0;f<n.i;++f)if(s=c[f],h.am(s.Lk())){if(r==t)return dr(),u(e,69).xk()?s:(l=s.md(),l!=null&&i&&L(e,102)&&u(e,19).Bb&hr&&(l=A5(n,e,f,r,l)),l);++r}throw T(new Or(w8+t+Cd+r))}else{for(r=0,f=0;f<n.i;++f){if(s=c[f],h.am(s.Lk()))return dr(),u(e,69).xk()?s:(l=s.md(),l!=null&&i&&L(e,102)&&u(e,19).Bb&hr&&(l=A5(n,e,f,r,l)),l);++r}return e.ik()}}function KR(){KR=R,yQn=S(C(ye,1),_e,28,15,[Wi,1162261467,X5,1220703125,362797056,1977326743,X5,387420489,QS,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,X5,1291467969,1544804416,1838265625,60466176]),jQn=S(C(ye,1),_e,28,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function BR(n,e){var t,i,r,c,s,f,h,l,a,d;if(s=n.e,h=e.e,h==0)return n;if(s==0)return e.e==0?e:new Ya(-e.e,e.d,e.a);if(c=n.d,f=e.d,c+f==2)return t=vi(n.a[0],mr),i=vi(e.a[0],mr),s<0&&(t=n1(t)),h<0&&(i=n1(i)),dh(),CM(bs(t,i),0)?ra(bs(t,i)):H6(ra(n1(bs(t,i))));if(r=c!=f?c>f?1:-1:sY(n.a,e.a,c),r==-1)d=-h,a=s==h?ZD(e.a,f,n.a,c):e$(e.a,f,n.a,c);else if(d=s,s==h){if(r==0)return dh(),C8;a=ZD(n.a,c,e.a,f)}else a=e$(n.a,c,e.a,f);return l=new Ya(d,a.length,a),V6(l),l}function cOe(n,e){var t,i,r,c;if(c=$Un(e),!e.c&&(e.c=new q(Qu,e,9,9)),Ut(new Cn(null,(!e.c&&(e.c=new q(Qu,e,9,9)),new On(e.c,16))),new _9n(c)),r=u(v(c,(W(),Hc)),21),QAe(e,r),r.Hc((pr(),cs)))for(i=new ne((!e.c&&(e.c=new q(Qu,e,9,9)),e.c));i.e!=i.i.gc();)t=u(ue(i),123),CLe(n,e,c,t);return u(z(e,(cn(),xd)),181).gc()!=0&&Sqn(e,c),on(un(v(c,hhn)))&&r.Fc(eO),kt(c,Mj)&&$jn(new GY($(B(v(c,Mj)))),c),x(z(e,K0))===x((jl(),T1))?JNe(n,e,c):DNe(n,e,c),c}function uOe(n){var e,t,i,r,c,s,f,h;for(r=new M(n.b);r.a<r.c.c.length;)for(i=u(E(r),30),s=new M(Mb(i.a));s.a<s.c.c.length;)if(c=u(E(s),10),r$n(c)&&(t=u(v(c,(W(),cw)),313),!t.g&&t.d))for(e=t,h=t.d;h;)Kqn(h.i,h.k,!1,!0),sk(e.a),sk(h.i),sk(h.k),sk(h.b),Oi(h.c,e.c.d),Oi(e.c,null),$i(e.a,null),$i(h.i,null),$i(h.k,null),$i(h.b,null),f=new yJ(e.i,h.a,e.e,h.j,h.f),f.k=e.k,f.n=e.n,f.b=e.b,f.c=h.c,f.g=e.g,f.d=h.d,U(e.i,cw,f),U(h.a,cw,f),h=h.d,e=f}function Rc(n,e){var t,i,r,c,s,f,h;if(n==null)return null;if(c=n.length,c==0)return"";for(h=F(fs,gh,28,c,15,1),Ri(0,c,n.length),Ri(0,c,h.length),HIn(n,0,c,h,0),t=null,f=e,r=0,s=0;r<c;r++)i=h[r],Tzn(),i<=32&&I[i]&2?f?(!t&&(t=new ls(n)),G1e(t,r-s++)):(f=e,i!=32&&(!t&&(t=new ls(n)),N$(t,r-s,r-s+1," "))):f=!1;return f?t?(c=t.a.length,c>0?qo(t.a,0,c-1):""):(Ri(0,c-1,n.length),n.substr(0,c-1)):t?t.a:n}function oOe(n,e){var t,i,r,c,s,f,h;for(e.Ug("Sort By Input Model "+v(n,(cn(),Yh)),1),r=0,i=new M(n.b);i.a<i.c.c.length;){for(t=u(E(i),30),h=r==0?0:r-1,f=u(sn(n.b,h),30),s=new M(t.a);s.a<s.c.c.length;)c=u(E(s),10),x(v(c,_t))!==x((Ai(),Ud))&&x(v(c,_t))!==x(qc)&&(Ln(),Yt(c.j,new qRn(f,u(v(n,Yh),284),iFn(c),on(un(v(n,mH))))),e.bh("Node "+c+" ports: "+c.j));Ln(),Yt(t.a,new bxn(f,u(v(n,Yh),284),u(v(n,Bfn),390))),e.bh("Layer "+r+": "+t),++r}e.Vg()}function g0(n,e){var t,i,r,c,s;if(s=u(e,138),Gg(n),Gg(s),s.b!=null){if(n.c=!0,n.b==null){n.b=F(ye,_e,28,s.b.length,15,1),Oc(s.b,0,n.b,0,s.b.length);return}for(c=F(ye,_e,28,n.b.length+s.b.length,15,1),t=0,i=0,r=0;t<n.b.length||i<s.b.length;)t>=n.b.length?(c[r++]=s.b[i++],c[r++]=s.b[i++]):i>=s.b.length?(c[r++]=n.b[t++],c[r++]=n.b[t++]):s.b[i]<n.b[t]||s.b[i]===n.b[t]&&s.b[i+1]<n.b[t+1]?(c[r++]=s.b[i++],c[r++]=s.b[i++]):(c[r++]=n.b[t++],c[r++]=n.b[t++]);n.b=c}}function sOe(n,e){var t,i,r,c,s,f,h,l,a,d;return t=on(un(v(n,(W(),$0)))),f=on(un(v(e,$0))),i=u(v(n,yf),12),h=u(v(e,yf),12),r=u(v(n,Es),12),l=u(v(e,Es),12),a=!!i&&i==h,d=!!r&&r==l,!t&&!f?new NV(u(E(new M(n.j)),12).p==u(E(new M(e.j)),12).p,a,d):(c=(!on(un(v(n,$0)))||on(un(v(n,yj))))&&(!on(un(v(e,$0)))||on(un(v(e,yj)))),s=(!on(un(v(n,$0)))||!on(un(v(n,yj))))&&(!on(un(v(e,$0)))||!on(un(v(e,yj)))),new NV(a&&c||d&&s,a,d))}function ZUn(n){var e,t,i,r,c,s,f,h;for(i=0,t=0,h=new Mt,e=0,f=new M(n.n);f.a<f.c.c.length;)s=u(E(f),209),s.c.c.length==0?xt(h,s,h.c.b,h.c):(i=y.Math.max(i,s.d),t+=s.a+(e>0?n.i:0)),++e;for(PY(n.n,h),n.d=t,n.r=i,n.g=0,n.f=0,n.e=0,n.o=Pt,n.p=Pt,c=new M(n.b);c.a<c.c.c.length;)r=u(E(c),27),n.p=y.Math.min(n.p,r.g),n.g=y.Math.max(n.g,r.g),n.f=y.Math.max(n.f,r.f),n.o=y.Math.min(n.o,r.f),n.e+=r.f+n.i;n.a=n.e/n.b.c.length-n.i*((n.b.c.length-1)/n.b.c.length),mZ(n.j)}function nGn(n){var e,t,i,r;return n.Db&64?ox(n):(e=new mo(vcn),i=n.k,i?Be(Be((e.a+=' "',e),i),'"'):(!n.n&&(n.n=new q(Sr,n,1,7)),n.n.i>0&&(r=(!n.n&&(n.n=new q(Sr,n,1,7)),u(N(n.n,0),135)).a,!r||Be(Be((e.a+=' "',e),r),'"'))),t=(!n.b&&(n.b=new Dn(he,n,4,7)),!(n.b.i<=1&&(!n.c&&(n.c=new Dn(he,n,5,8)),n.c.i<=1))),t?e.a+=" [":e.a+=" ",Be(e,RX(new yL,new ne(n.b))),t&&(e.a+="]"),e.a+=iB,t&&(e.a+="["),Be(e,RX(new yL,new ne(n.c))),t&&(e.a+="]"),e.a)}function fOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;for(_=n.c,X=e.c,t=qr(_.a,n,0),i=qr(X.a,e,0),A=u($b(n,(gr(),Vu)).Kc().Pb(),12),kn=u($b(n,Jc).Kc().Pb(),12),D=u($b(e,Vu).Kc().Pb(),12),Fn=u($b(e,Jc).Kc().Pb(),12),P=hh(A.e),tn=hh(kn.g),O=hh(D.e),jn=hh(Fn.g),u0(n,i,X),s=O,a=0,m=s.length;a<m;++a)r=s[a],Oi(r,A);for(f=jn,d=0,k=f.length;d<k;++d)r=f[d],Zi(r,kn);for(u0(e,t,_),h=P,g=0,j=h.length;g<j;++g)r=h[g],Oi(r,D);for(c=tn,l=0,p=c.length;l<p;++l)r=c[l],Zi(r,Fn)}function hOe(n){var e,t,i,r,c,s,f;for(s=u(z(n,(Cg(),L2)),27),i=new ne((!s.e&&(s.e=new Dn(Vt,s,7,4)),s.e));i.e!=i.i.gc();)t=u(ue(i),74),f=new V(u(N((!t.a&&(t.a=new q(Tt,t,6,6)),t.a),0),166).j,u(N((!t.a&&(t.a=new q(Tt,t,6,6)),t.a),0),166).k),c=new V(u(N((!t.a&&(t.a=new q(Tt,t,6,6)),t.a),0),166).b,u(N((!t.a&&(t.a=new q(Tt,t,6,6)),t.a),0),166).c),r=new V(c.a-f.a,c.b-f.b),e=y.Math.atan2(r.b,r.a),u(N((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84).qf((sa(),yq),e)}function lOe(n,e){var t,i,r,c,s,f,h,l,a;for(e.Ug("Interactive Node Reorderer",1),a=(!n.a&&(n.a=new q(Ye,n,10,11)),n.a),f=new Z,r=new ne(a);r.e!=r.i.gc();)t=u(ue(r),27),Nf(t,(Bf(),Kj))&&Bn(f.c,t);for(c=new M(f);c.a<c.c.c.length;)t=u(E(c),27),rC(a,t);for(Ln(),Yt(f,new n4n),s=new M(f);s.a<s.c.c.length;)t=u(E(s),27),l=u(z(t,(Bf(),Kj)),17).a,l=y.Math.min(l,a.i),p5(a,l,t);for(h=0,i=new ne(a);i.e!=i.i.gc();)t=u(ue(i),27),ht(t,(Bf(),b1n),Y(h)),++h;e.Vg()}function Uen(n,e,t){var i,r,c,s,f,h,l,a;return y.Math.abs(e.s-e.c)<vh||y.Math.abs(t.s-t.c)<vh?0:(i=oqn(n,e.j,t.e),r=oqn(n,t.j,e.e),c=i==-1||r==-1,s=0,c?(i==-1&&(new ed((af(),Ma),t,e,1),++s),r==-1&&(new ed((af(),Ma),e,t,1),++s)):(f=Rg(e.j,t.s,t.c),f+=Rg(t.e,e.s,e.c),h=Rg(t.j,e.s,e.c),h+=Rg(e.e,t.s,t.c),l=i+16*f,a=r+16*h,l<a?new ed((af(),z0),e,t,a-l):l>a?new ed((af(),z0),t,e,l-a):l>0&&a>0&&(new ed((af(),z0),e,t,0),new ed(z0,t,e,0))),s)}function aOe(n,e,t){var i,r,c;for(n.a=new Z,c=ge(e.b,0);c.b!=c.d.c;){for(r=u(be(c),39);u(v(r,(lc(),Ph)),17).a>n.a.c.length-1;)nn(n.a,new bi(i2,Mrn));i=u(v(r,Ph),17).a,t==(ci(),Kr)||t==Xr?(r.e.a<$(B(u(sn(n.a,i),42).a))&&QA(u(sn(n.a,i),42),r.e.a),r.e.a+r.f.a>$(B(u(sn(n.a,i),42).b))&&YA(u(sn(n.a,i),42),r.e.a+r.f.a)):(r.e.b<$(B(u(sn(n.a,i),42).a))&&QA(u(sn(n.a,i),42),r.e.b),r.e.b+r.f.b>$(B(u(sn(n.a,i),42).b))&&YA(u(sn(n.a,i),42),r.e.b+r.f.b))}}function eGn(n,e,t,i){var r,c,s,f,h,l,a;if(c=FC(i),f=on(un(v(i,(cn(),rhn)))),(f||on(un(v(n,wO))))&&!mg(u(v(n,_t),101)))r=zp(c),h=Aen(n,t,t==(gr(),Jc)?r:$k(r));else switch(h=new Ic,ic(h,n),e?(a=h.n,a.a=e.a-n.n.a,a.b=e.b-n.n.b,u_n(a,0,0,n.o.a,n.o.b),gi(h,jUn(h,c))):(r=zp(c),gi(h,t==(gr(),Jc)?r:$k(r))),s=u(v(i,(W(),Hc)),21),l=h.j,c.g){case 2:case 1:(l==(en(),Xn)||l==ae)&&s.Fc((pr(),v2));break;case 4:case 3:(l==(en(),Zn)||l==Wn)&&s.Fc((pr(),v2))}return h}function tGn(n,e){var t,i,r,c,s,f;for(s=new sd(new Ua(n.f.b).a);s.b;){if(c=Ab(s),r=u(c.ld(),602),e==1){if(r.Af()!=(ci(),us)&&r.Af()!=Wf)continue}else if(r.Af()!=(ci(),Kr)&&r.Af()!=Xr)continue;switch(i=u(u(c.md(),42).b,86),f=u(u(c.md(),42).a,194),t=f.c,r.Af().g){case 2:i.g.c=n.e.a,i.g.b=y.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=y.Math.max(1,i.g.b-t);break;case 4:i.g.d=n.e.b,i.g.a=y.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=y.Math.max(1,i.g.a-t)}}}function dOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(f=F(ye,_e,28,e.b.c.length,15,1),l=F(A_,G,273,e.b.c.length,0,1),h=F(Qh,b1,10,e.b.c.length,0,1),d=n.a,g=0,p=d.length;g<p;++g){for(a=d[g],k=0,s=new M(a.e);s.a<s.c.c.length;)r=u(E(s),10),i=yX(r.c),++f[i],m=$(B(v(e,(cn(),Ws)))),f[i]>0&&h[i]&&(m=jg(n.b,h[i],r)),k=y.Math.max(k,r.c.c.b+m);for(c=new M(a.e);c.a<c.c.c.length;)r=u(E(c),10),r.n.b=k+r.d.d,t=r.c,t.c.b=k+r.d.d+r.o.b+r.d.a,l[qr(t.b.b,t,0)]=r.k,h[qr(t.b.b,t,0)]=r}}function iGn(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(i=new ie(ce(Sl(e).a.Kc(),new En));pe(i);)t=u(fe(i),74),L(N((!t.b&&(t.b=new Dn(he,t,4,7)),t.b),0),193)||(h=Gr(u(N((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84)),L5(t)||(s=e.i+e.g/2,f=e.j+e.f/2,a=h.i+h.g/2,d=h.j+h.f/2,g=new Ni,g.a=a-s,g.b=d-f,c=new V(g.a,g.b),m4(c,e.g,e.f),g.a-=c.a,g.b-=c.b,s=a-g.a,f=d-g.b,l=new V(g.a,g.b),m4(l,h.g,h.f),g.a-=l.a,g.b-=l.b,a=s+g.a,d=f+g.b,r=Xg(t,!0,!0),_m(r,s),qm(r,f),Fm(r,a),Hm(r,d),iGn(n,h)))}function rGn(n){ib(n,new gd(nb(Qd(Zd(Yd(new Fa,Wb),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new a4n))),Q(n,Wb,YB,rn(QO)),Q(n,Wb,ccn,rn(qq)),Q(n,Wb,ucn,rn(Hq)),Q(n,Wb,ZB,rn(q1n)),Q(n,Wb,nF,rn(_q)),Q(n,Wb,Xb,H1n),Q(n,Wb,y0,8),Q(n,Wb,eF,rn(Zce)),Q(n,Wb,ocn,rn(F1n)),Q(n,Wb,scn,rn(_1n)),Q(n,Wb,qy,(_n(),!1))}function bOe(n,e){var t,i,r,c,s,f,h,l,a,d;for(e.Ug("Simple node placement",1),d=u(v(n,(W(),E2)),312),f=0,c=new M(n.b);c.a<c.c.c.length;){for(i=u(E(c),30),s=i.c,s.b=0,t=null,l=new M(i.a);l.a<l.c.c.length;)h=u(E(l),10),t&&(s.b+=YY(h,t,d.c)),s.b+=h.d.d+h.o.b+h.d.a,t=h;f=y.Math.max(f,s.b)}for(r=new M(n.b);r.a<r.c.c.length;)for(i=u(E(r),30),s=i.c,a=(f-s.b)/2,t=null,l=new M(i.a);l.a<l.c.c.length;)h=u(E(l),10),t&&(a+=YY(h,t,d.c)),a+=h.d.d,h.n.b=a,a+=h.o.b+h.d.a,t=h;e.Vg()}function wOe(n,e){var t,i,r,c;for(E4e(e.b.j),Ut(_r(new Cn(null,new On(e.d,16)),new Opn),new Apn),c=new M(e.d);c.a<c.c.c.length;){switch(r=u(E(c),105),r.e.g){case 0:t=u(sn(r.j,0),113).d.j,bG(r,u(ho(Sp(u(ot(r.k,t),15).Oc(),w2)),113)),dG(r,u(ho(_w(u(ot(r.k,t),15).Oc(),w2)),113));break;case 1:i=yZ(r),bG(r,u(ho(Sp(u(ot(r.k,i[0]),15).Oc(),w2)),113)),dG(r,u(ho(_w(u(ot(r.k,i[1]),15).Oc(),w2)),113));break;case 2:eEe(n,r);break;case 3:mCe(r);break;case 4:jCe(n,r)}M4e(r)}n.a=null}function FR(n,e,t){var i,r,c,s,f,h,l,a;return i=n.a.o==(If(),Xf)?Pt:li,f=IUn(n,new JMn(e,t)),!f.a&&f.c?(Re(n.d,f),i):f.a?(r=f.a.c,h=f.a.d,t?(l=n.a.c==(fh(),gw)?h:r,c=n.a.c==gw?r:h,s=n.a.g[c.i.p],a=$(n.a.p[s.p])+$(n.a.d[c.i.p])+c.n.b+c.a.b-$(n.a.d[l.i.p])-l.n.b-l.a.b):(l=n.a.c==(fh(),y1)?h:r,c=n.a.c==y1?r:h,a=$(n.a.p[n.a.g[c.i.p].p])+$(n.a.d[c.i.p])+c.n.b+c.a.b-$(n.a.d[l.i.p])-l.n.b-l.a.b),n.a.n[n.a.g[r.i.p].p]=(_n(),!0),n.a.n[n.a.g[h.i.p].p]=!0,a):i}function gOe(n,e,t,i){var r,c,s,f,h,l,a,d;if(i.gc()==0)return!1;if(h=(dr(),u(e,69).xk()),s=h?i:new Cb(i.gc()),Pl(n.e,e)){if(e.Si())for(a=i.Kc();a.Ob();)l=a.Pb(),BS(n,e,l,L(e,102)&&(u(e,19).Bb&hr)!=0)||(c=Rh(e,l),s.Fc(c));else if(!h)for(a=i.Kc();a.Ob();)l=a.Pb(),c=Rh(e,l),s.Fc(c)}else{for(d=ru(n.e.Dh(),e),r=u(n.g,124),f=0;f<n.i;++f)if(c=r[f],d.am(c.Lk()))throw T(new Gn(Yy));if(i.gc()>1)throw T(new Gn(Yy));h||(c=Rh(e,i.Kc().Pb()),s.Fc(c))}return VQ(n,wnn(n,e,t),s)}function HS(n,e,t){var i,r,c,s,f,h,l,a;if(Pl(n.e,e))h=(dr(),u(e,69).xk()?new nT(e,n):new k7(e,n)),jS(h.c,h.b),S6(h,u(t,16));else{for(a=ru(n.e.Dh(),e),i=u(n.g,124),s=0;s<n.i;++s)if(r=i[s],c=r.Lk(),a.am(c)){if(c==(n3(),F3)||c==B3){for(l=lZ(n,e,t),f=s,l?d0(n,s):++s;s<n.i;)r=i[s],c=r.Lk(),c==F3||c==B3?d0(n,s):++s;l||u(Bg(n,f,Rh(e,t)),76)}else lZ(n,e,t)?d0(n,s):u(Bg(n,s,(dr(),u(e,69).xk()?u(t,76):Rh(e,t))),76);return}lZ(n,e,t)||ve(n,(dr(),u(e,69).xk()?u(t,76):Rh(e,t)))}}function cGn(n,e,t){var i,r,c,s,f,h,l,a;return ct(t,n.b)||(n.b=t,c=new Awn,s=u(Wr(_r(new Cn(null,new On(t.f,16)),c),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[(Gu(),S0),Yr]))),21),n.e=!0,n.f=!0,n.c=!0,n.d=!0,r=s.Hc((Vp(),cj)),i=s.Hc(uj),r&&!i&&(n.f=!1),!r&&i&&(n.d=!1),r=s.Hc(rj),i=s.Hc(oj),r&&!i&&(n.c=!1),!r&&i&&(n.e=!1)),a=u(n.a.Ve(e,t),42),h=u(a.a,17).a,l=u(a.b,17).a,f=!1,h<0?n.c||(f=!0):n.e||(f=!0),l<0?n.d||(f=!0):n.f||(f=!0),f?cGn(n,a,t):a}function pOe(n){var e,t,i,r;r=n.o,Kw(),n.A.dc()||ct(n.A,ton)?e=r.b:(e=ny(n.f),n.A.Hc((go(),tE))&&!n.B.Hc((io(),P9))&&(e=y.Math.max(e,ny(u(Mr(n.p,(en(),Zn)),252))),e=y.Math.max(e,ny(u(Mr(n.p,Wn),252)))),t=Rxn(n),t&&(e=y.Math.max(e,t.b)),n.A.Hc(iE)&&(n.q==(Ai(),tl)||n.q==qc)&&(e=y.Math.max(e,ZM(u(Mr(n.b,(en(),Zn)),127))),e=y.Math.max(e,ZM(u(Mr(n.b,Wn),127))))),on(un(n.e.Tf().of((He(),V0))))?r.b=y.Math.max(r.b,e):r.b=e,i=n.f.i,i.d=0,i.a=e,DR(n.f)}function uGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(d=0;d<e.length;d++){for(f=n.Kc();f.Ob();)c=u(f.Pb(),230),c.hg(d,e);for(g=0;g<e[d].length;g++){for(h=n.Kc();h.Ob();)c=u(h.Pb(),230),c.ig(d,g,e);for(k=e[d][g].j,p=0;p<k.c.length;p++){for(l=n.Kc();l.Ob();)c=u(l.Pb(),230),c.jg(d,g,p,e);for(m=(Nn(p,k.c.length),u(k.c[p],12)),t=0,r=new Lf(m.b);tc(r.a)||tc(r.b);)for(i=u(tc(r.a)?E(r.a):E(r.b),18),a=n.Kc();a.Ob();)c=u(a.Pb(),230),c.gg(d,g,p,t++,i,e)}}}for(s=n.Kc();s.Ob();)c=u(s.Pb(),230),c.fg()}function mOe(n,e){var t,i,r,c,s,f,h;for(n.b=$(B(v(e,(cn(),T2)))),n.c=$(B(v(e,Kd))),n.d=u(v(e,MH),350),n.a=u(v(e,fO),282),r7e(e),f=u(Wr(ut(ut(rc(rc(new Cn(null,new On(e.b,16)),new X0n),new V0n),new W0n),new J0n),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),r=f.Kc();r.Ob();)t=u(r.Pb(),18),s=u(v(t,(W(),Ld)),15),s.Jc(new Q9n(n)),U(t,Ld,null);for(i=f.Kc();i.Ob();)t=u(i.Pb(),18),h=u(v(t,(W(),ofn)),18),c=u(v(t,M2),15),LNe(n,c,h),U(t,M2,null)}function _R(n,e){var t,i,r,c,s,f,h;if(n.a){if(f=n.a.xe(),h=null,f!=null?e.a+=""+f:(s=n.a.mk(),s!=null&&(c=ih(s,wu(91)),c!=-1?(h=(zn(c,s.length+1),s.substr(c)),e.a+=""+qo(s==null?gu:(Jn(s),s),0,c)):e.a+=""+s)),n.d&&n.d.i!=0){for(r=!0,e.a+="<",i=new ne(n.d);i.e!=i.i.gc();)t=u(ue(i),89),r?r=!1:e.a+=ur,_R(t,e);e.a+=">"}h!=null&&(e.a+=""+h)}else n.e?(f=n.e.zb,f!=null&&(e.a+=""+f)):(e.a+="?",n.b?(e.a+=" super ",_R(n.b,e)):n.f&&(e.a+=" extends ",_R(n.f,e)))}function vOe(n){n.b=null,n.a=null,n.o=null,n.q=null,n.v=null,n.w=null,n.B=null,n.p=null,n.Q=null,n.R=null,n.S=null,n.T=null,n.U=null,n.V=null,n.W=null,n.bb=null,n.eb=null,n.ab=null,n.H=null,n.db=null,n.c=null,n.d=null,n.f=null,n.n=null,n.r=null,n.s=null,n.u=null,n.G=null,n.J=null,n.e=null,n.j=null,n.i=null,n.g=null,n.k=null,n.t=null,n.F=null,n.I=null,n.L=null,n.M=null,n.O=null,n.P=null,n.$=null,n.N=null,n.Z=null,n.cb=null,n.K=null,n.D=null,n.A=null,n.C=null,n._=null,n.fb=null,n.X=null,n.Y=null,n.gb=!1,n.hb=!1}function kOe(n){var e,t,i,r;if(i=ZR((!n.c&&(n.c=W7(vc(n.f))),n.c),0),n.e==0||n.a==0&&n.f!=-1&&n.e<0)return i;if(e=DQ(n)<0?1:0,t=n.e,r=(i.length+1+y.Math.abs(wi(n.e)),new fg),e==1&&(r.a+="-"),n.e>0)if(t-=i.length-e,t>=0){for(r.a+="0.";t>Od.length;t-=Od.length)JPn(r,Od);DSn(r,Od,wi(t)),Be(r,(zn(e,i.length+1),i.substr(e)))}else t=e-t,Be(r,qo(i,e,wi(t))),r.a+=".",Be(r,NW(i,wi(t)));else{for(Be(r,(zn(e,i.length+1),i.substr(e)));t<-Od.length;t+=Od.length)JPn(r,Od);DSn(r,Od,wi(-t))}return r.a}function HR(n){var e,t,i,r,c,s,f,h,l;return!(n.k!=(Vn(),Xt)||n.j.c.length<=1||(c=u(v(n,(cn(),_t)),101),c==(Ai(),qc))||(r=(c0(),(n.q?n.q:(Ln(),Ln(),Wh))._b(lw)?i=u(v(n,lw),203):i=u(v(Hi(n),U8),203),i),r==CO)||!(r==I2||r==P2)&&(s=$(B(r0(n,G8))),e=u(v(n,Cj),140),!e&&(e=new gV(s,s,s,s)),l=uc(n,(en(),Wn)),h=e.d+e.a+(l.gc()-1)*s,h>n.o.b||(t=uc(n,Zn),f=e.d+e.a+(t.gc()-1)*s,f>n.o.b)))}function yOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;e.Ug("Orthogonal edge routing",1),l=$(B(v(n,(cn(),S2)))),t=$(B(v(n,T2))),i=$(B(v(n,Kd))),g=new lD(0,t),j=0,s=new xi(n.b,0),f=null,a=null,h=null,d=null;do a=s.b<s.d.gc()?(oe(s.b<s.d.gc()),u(s.d.Xb(s.c=s.b++),30)):null,d=a?a.a:null,f&&(zen(f,j),j+=f.c.a),k=f?j+i:j,m=Qen(g,n,h,d,k),r=!f||SM(h,(AS(),Aj)),c=!a||SM(d,(AS(),Aj)),m>0?(p=(m-1)*t,f&&(p+=i),a&&(p+=i),p<l&&!r&&!c&&(p=l),j+=p):!r&&!c&&(j+=l),f=a,h=d;while(a);n.f.a=j,e.Vg()}function qS(n,e){var t,i,r,c,s,f,h,l,a,d;if(a=null,n.d&&(a=u(Dc(n.d,e),142)),!a){if(c=n.a.vi(),d=c.i,!n.d||i6(n.d)!=d){for(h=new de,n.d&&u5(h,n.d),l=h.f.c+h.i.c,f=l;f<d;++f)i=u(N(c,f),142),r=r1(n.e,i).xe(),t=u(r==null?Vc(h.f,null,i):Nb(h.i,r,i),142),t&&t!=i&&(r==null?Vc(h.f,null,t):Nb(h.i,r,t));if(h.f.c+h.i.c!=d)for(s=0;s<l;++s)i=u(N(c,s),142),r=r1(n.e,i).xe(),t=u(r==null?Vc(h.f,null,i):Nb(h.i,r,i),142),t&&t!=i&&(r==null?Vc(h.f,null,t):Nb(h.i,r,t));n.d=h}a=u(Dc(n.d,e),142)}return a}function qR(n,e,t,i,r,c,s){var f,h,l,a,d,g,p;return d=on(un(v(e,(cn(),chn)))),g=null,c==(gr(),Vu)&&i.c.i==t?g=i.c:c==Jc&&i.d.i==t&&(g=i.d),l=s,!l||!d||g?(a=(en(),sc),g?a=g.j:mg(u(v(t,_t),101))&&(a=c==Vu?Wn:Zn),h=jOe(n,e,t,c,a,i),f=JD((Hi(t),i)),c==Vu?(Zi(f,u(sn(h.j,0),12)),Oi(f,r)):(Zi(f,r),Oi(f,u(sn(h.j,0),12))),l=new lKn(i,f,h,u(v(h,(W(),st)),12),c,!g)):(nn(l.e,i),p=y.Math.max($(B(v(l.d,m1))),$(B(v(i,m1)))),U(l.d,m1,p)),In(n.a,i,new GM(l.d,e,c)),l}function UR(){UR=R;var n;_dn=new ojn,$oe=F(fn,J,2,0,6,1),Noe=lf(Up(33,58),Up(1,26)),Doe=lf(Up(97,122),Up(65,90)),xdn=Up(48,57),Aoe=lf(Noe,0),Loe=lf(Doe,xdn),Rdn=lf(lf(0,Up(1,6)),Up(33,38)),Kdn=lf(lf(xdn,Up(65,70)),Up(97,102)),xoe=lf(Aoe,ZC("-_.!~*'()")),Roe=lf(Loe,GC("-_.!~*'()")),ZC(eJn),GC(eJn),lf(xoe,ZC(";:@&=+$,")),lf(Roe,GC(";:@&=+$,")),Bdn=ZC(":/?#"),Fdn=GC(":/?#"),A9=ZC("/?#"),L9=GC("/?#"),n=new ni,n.a.zc("jar",n),n.a.zc("zip",n),n.a.zc("archive",n),jA=(Ln(),new im(n))}function jOe(n,e,t,i,r,c){var s,f,h,l,a,d;return s=null,l=i==(gr(),Vu)?c.c:c.d,h=FC(e),l.i==t?(s=u(ee(n.b,l),10),s||(s=py(l,u(v(t,(cn(),_t)),101),r,CPe(l),null,l.n,l.o,h,e),U(s,(W(),st),l),Ve(n.b,l,s))):(s=py((a=new xA,d=$(B(v(e,(cn(),Ws))))/2,Ck(a,F0,d),a),u(v(t,_t),101),r,i==Vu?-1:1,null,new Ni,new V(0,0),h,e),f=eye(s,t,i),U(s,(W(),st),f),Ve(n.b,f,s)),u(v(e,(W(),Hc)),21).Fc((pr(),cs)),mg(u(v(e,(cn(),_t)),101))?U(e,_t,(Ai(),Bv)):U(e,_t,(Ai(),Qf)),s}function A4(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;f=0,m=0,h=AT(n.g,n.g.length),c=n.e,s=n.j,i=n.b,r=n.c;do{for(p=0,a=new M(n.q);a.a<a.c.c.length;)l=u(E(a),10),g=CGn(n,l),t=!0,(n.r==(ps(),Sj)||n.r==Pj)&&(t=on(un(g.b))),u(g.a,17).a<0&&t?(++p,h=AT(n.g,n.g.length),n.e=n.e+u(g.a,17).a,m+=c-n.e,c=n.e+u(g.a,17).a,s=n.j,i=Mb(n.b),r=Mb(n.c)):(n.g=AT(h,h.length),n.e=c,n.b=(Pe(i),i?new _u(i):km(new M(i))),n.c=(Pe(r),r?new _u(r):km(new M(r))),n.j=s);++f,d=p!=0&&on(un(e.Kb(new bi(Y(m),Y(f)))))}while(d)}function EOe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn;return s=n.f,g=e.f,f=s==(D5(),A3)||s==l9,p=g==A3||g==l9,h=s==D2||s==a9,m=g==D2||g==a9,l=s==D2||s==A3,k=g==D2||g==A3,f&&p?n.f==l9?n:e:h&&m?n.f==a9?n:e:l&&k?(s==D2?(d=n,a=e):(d=e,a=n),c=(j=t.j+t.f,P=d.e+i.f,O=y.Math.max(j,P),A=O-y.Math.min(t.j,d.e),D=d.d+i.g-t.i,D*A),r=(_=t.i+t.g,X=a.d+i.g,tn=y.Math.max(_,X),jn=tn-y.Math.min(t.i,a.d),kn=a.e+i.f-t.j,jn*kn),c<=r?n.f==D2?n:e:n.f==A3?n:e):n}function oGn(n,e){var t,i,r,c,s,f,h,l,a,d;if(U(e,(pt(),Lv),0),h=u(v(e,$O),39),e.d.b==0)h?(a=$(B(v(h,j1)))+n.b+IY(n,h,e),U(e,j1,a)):U(e,j1,0);else{for(i=(c=ge(new sl(e).a.d,0),new sg(c));Q9(i.a);)t=u(be(i.a),65).c,oGn(n,t);f=u(NM((s=ge(new sl(e).a.d,0),new sg(s))),39),d=u(O1e((r=ge(new sl(e).a.d,0),new sg(r))),39),l=($(B(v(d,j1)))+$(B(v(f,j1))))/2,h?(a=$(B(v(h,j1)))+n.b+IY(n,h,e),U(e,j1,a),U(e,Lv,$(B(v(e,j1)))-l),$Ae(n,e)):U(e,j1,l)}}function MOe(n){var e,t,i,r,c,s,f,h,l,a,d;for(a=n.e.a.c.length,s=new M(n.e.a);s.a<s.c.c.length;)c=u(E(s),125),c.j=!1;for(n.i=F(ye,_e,28,a,15,1),n.g=F(ye,_e,28,a,15,1),n.n=new Z,r=0,d=new Z,h=new M(n.e.a);h.a<h.c.c.length;)f=u(E(h),125),f.d=r++,f.b.a.c.length==0&&nn(n.n,f),hi(d,f.g);for(e=0,i=new M(d);i.a<i.c.c.length;)t=u(E(i),218),t.c=e++,t.f=!1;l=d.c.length,n.b==null||n.b.length<l?(n.b=F(Ii,Cr,28,l,15,1),n.c=F(so,Xh,28,l,16,1)):Zv(n.c),n.d=d,n.p=new MN(Qw(n.d.c.length)),n.j=1}function TOe(n,e){var t,i,r,c,s,f,h,l,a;if(!(e.e.c.length<=1)){for(n.f=e,n.d=u(v(n.f,(qk(),yon)),391),n.g=u(v(n.f,Ton),17).a,n.e=$(B(v(n.f,jon))),n.c=$(B(v(n.f,EI))),KIn(n.b),r=new M(n.f.c);r.a<r.c.c.length;)i=u(E(r),289),Cen(n.b,i.c,i,null),Cen(n.b,i.d,i,null);for(f=n.f.e.c.length,n.a=Wa(Ii,[J,Cr],[109,28],15,[f,f],2),l=new M(n.f.e);l.a<l.c.c.length;)h=u(E(l),153),QIe(n,h,n.a[h.a]);for(n.i=Wa(Ii,[J,Cr],[109,28],15,[f,f],2),c=0;c<f;++c)for(s=0;s<f;++s)t=n.a[c][s],a=1/(t*t),n.i[c][s]=a}}function sGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(f=e.ah(),f||e.Ug(MXn,1),t=u(v(n,(W(),bH)),15),s=1/t.gc(),e._g())for(e.bh("ELK Layered uses the following "+t.gc()+" modules:"),p=0,g=t.Kc();g.Ob();)a=u(g.Pb(),47),i=(p<10?"0":"")+p++,e.bh(" Slot "+i+": "+Xa(wo(a)));for(d=t.Kc();d.Ob();){if(a=u(d.Pb(),47),e.$g())return;a.Kf(n,e.eh(s))}for(c=new M(n.b);c.a<c.c.c.length;)r=u(E(c),30),hi(n.a,r.a),r.a.c.length=0;for(l=new M(n.a);l.a<l.c.c.length;)h=u(E(l),10),$i(h,null);n.b.c.length=0,f||e.Vg()}function COe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;if(l=new Z,!kt(n,(W(),fH)))return l;for(i=u(v(n,fH),15).Kc();i.Ob();)e=u(i.Pb(),10),qOe(e,n),Bn(l.c,e);for(c=new M(n.b);c.a<c.c.c.length;)for(r=u(E(c),30),f=new M(r.a);f.a<f.c.c.length;)s=u(E(f),10),s.k==(Vn(),Zt)&&(h=u(v(s,cO),10),h&&(a=new Ic,ic(a,s),d=u(v(s,gc),64),gi(a,d),g=u(sn(h.j,0),12),p=new yb,Zi(p,a),Oi(p,g)));for(t=new M(l);t.a<t.c.c.length;)e=u(E(t),10),$i(e,u(sn(n.b,n.b.c.length-1),30));return l}function fGn(n,e,t){var i,r,c,s,f,h,l,a,d;for(d=new Z,a=new lJ(0,t),c=0,wC(a,new U$(0,0,a,t)),r=0,l=new ne(n);l.e!=l.i.gc();)h=u(ue(l),27),i=u(sn(a.a,a.a.c.length-1),172),f=r+h.g+(u(sn(a.a,0),172).b.c.length==0?0:t),(f>e||on(un(z(h,(Bf(),Bj)))))&&(r=0,c+=a.b+t,Bn(d.c,a),a=new lJ(c,t),i=new U$(0,a.f,a,t),wC(a,i),r=0),i.b.c.length==0||!on(un(z(St(h),(Bf(),Aq))))&&(h.f>=i.o&&h.f<=i.f||i.a*.5<=h.f&&i.a*1.5>=h.f)?DY(i,h):(s=new U$(i.s+i.r+t,a.f,a,t),wC(a,s),DY(s,h)),r=h.i+h.g;return Bn(d.c,a),d}function U5(n){var e,t,i,r;if(!(n.b==null||n.b.length<=2)&&!n.a){for(e=0,r=0;r<n.b.length;){for(e!=r?(n.b[e]=n.b[r++],n.b[e+1]=n.b[r++]):r+=2,t=n.b[e+1];r<n.b.length&&!(t+1<n.b[r]);)if(t+1==n.b[r])n.b[e+1]=n.b[r+1],t=n.b[e+1],r+=2;else if(t>=n.b[r+1])r+=2;else if(t<n.b[r+1])n.b[e+1]=n.b[r+1],t=n.b[e+1],r+=2;else throw T(new ec("Token#compactRanges(): Internel Error: ["+n.b[e]+","+n.b[e+1]+"] ["+n.b[r]+","+n.b[r+1]+"]"));e+=2}e!=n.b.length&&(i=F(ye,_e,28,e,15,1),Oc(n.b,0,i,0,e),n.b=i),n.a=!0}}function SOe(n,e){var t,i,r,c,s,f,h;for(s=Cp(n.a).Kc();s.Ob();){if(c=u(s.Pb(),18),c.b.c.length>0)for(i=new _u(u(ot(n.a,c),21)),Ln(),Yt(i,new AG(e)),r=new xi(c.b,0);r.b<r.d.gc();){switch(t=(oe(r.b<r.d.gc()),u(r.d.Xb(r.c=r.b++),72)),f=-1,u(v(t,(cn(),Sh)),278).g){case 1:f=i.c.length-1;break;case 0:f=Dke(i);break;case 2:f=0}f!=-1&&(h=(Nn(f,i.c.length),u(i.c[f],249)),nn(h.b.b,t),u(v(Hi(h.b.c.i),(W(),Hc)),21).Fc((pr(),vv)),u(v(Hi(h.b.c.i),Hc),21).Fc(mv),bo(r),U(t,rfn,c))}Zi(c,null),Oi(c,null)}}function POe(n,e){var t,i,r,c;return t=new ywn,i=u(Wr(_r(new Cn(null,new On(n.f,16)),t),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[(Gu(),S0),Yr]))),21),r=i.gc(),r=r==2?1:0,r==1&&cb(Rk(u(Wr(ut(i.Lc(),new jwn),Axn(Tl(0),new RU)),168).a,2),0)&&(r=0),i=u(Wr(_r(new Cn(null,new On(e.f,16)),t),Ww(new Y2,new Z2,new np,new ep,S(C(xr,1),G,108,0,[S0,Yr]))),21),c=i.gc(),c=c==2?1:0,c==1&&cb(Rk(u(Wr(ut(i.Lc(),new Ewn),Axn(Tl(0),new RU)),168).a,2),0)&&(c=0),r<c?-1:r==c?0:1}function hGn(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(e=Pf(n),c=on(un(z(e,(cn(),B0)))),a=0,r=0,l=new ne((!n.e&&(n.e=new Dn(Vt,n,7,4)),n.e));l.e!=l.i.gc();)h=u(ue(l),74),f=Bb(h),s=f&&c&&on(un(z(h,Dd))),g=Gr(u(N((!h.c&&(h.c=new Dn(he,h,5,8)),h.c),0),84)),f&&s?++r:f&&!s?++a:St(g)==e||g==e?++r:++a;for(i=new ne((!n.d&&(n.d=new Dn(Vt,n,8,5)),n.d));i.e!=i.i.gc();)t=u(ue(i),74),f=Bb(t),s=f&&c&&on(un(z(t,Dd))),d=Gr(u(N((!t.b&&(t.b=new Dn(he,t,4,7)),t.b),0),84)),f&&s?++a:f&&!s?++r:St(d)==e||d==e?++a:++r;return a-r}function IOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(e.Ug("Edge splitting",1),n.b.c.length<=2){e.Vg();return}for(c=new xi(n.b,0),s=(oe(c.b<c.d.gc()),u(c.d.Xb(c.c=c.b++),30));c.b<c.d.gc();)for(r=s,s=(oe(c.b<c.d.gc()),u(c.d.Xb(c.c=c.b++),30)),h=new M(r.a);h.a<h.c.c.length;)for(f=u(E(h),10),a=new M(f.j);a.a<a.c.c.length;)for(l=u(E(a),12),i=new M(l.g);i.a<i.c.c.length;)t=u(E(i),18),g=t.d,d=g.i.c,d!=r&&d!=s&&kqn(t,(p=new Cl(n),Ha(p,(Vn(),Ti)),U(p,(W(),st),t),U(p,(cn(),_t),(Ai(),qc)),$i(p,s),p));e.Vg()}function OOe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(a=new Z,g=new ni,s=e.b,r=0;r<s.c.length;r++){for(l=(Nn(r,s.c.length),u(s.c[r],30)).a,a.c.length=0,c=0;c<l.c.length;c++)f=n.a[r][c],f.p=c,f.k==(Vn(),_c)&&Bn(a.c,f),Go(u(sn(e.b,r),30).a,c,f),f.j.c.length=0,hi(f.j,u(u(sn(n.b,r),15).Xb(c),16)),Ep(u(v(f,(cn(),_t)),101))||U(f,_t,(Ai(),Ud));for(i=new M(a);i.a<i.c.c.length;)t=u(E(i),10),d=cPe(t),g.a.zc(d,g),g.a.zc(t,g)}for(h=g.a.ec().Kc();h.Ob();)f=u(h.Pb(),10),Ln(),Yt(f.j,(r4(),ksn)),f.i=!0,Tnn(f)}function lGn(n){var e,t,i,r,c;return n.g!=null?n.g:n.a<32?(n.g=WLe(vc(n.f),wi(n.e)),n.g):(r=ZR((!n.c&&(n.c=W7(vc(n.f))),n.c),0),n.e==0?r:(e=(!n.c&&(n.c=W7(vc(n.f))),n.c).e<0?2:1,t=r.length,i=-n.e+t-e,c=new R1,c.a+=""+r,n.e>0&&i>=-6?i>=0?E7(c,t-wi(n.e),"."):(N$(c,e-1,e-1,"0."),E7(c,e+1,ws(Od,0,-wi(i)-1))):(t-e>=1&&(E7(c,e,"."),++t),E7(c,t,"E"),i>0&&E7(c,++t,"+"),E7(c,++t,""+B6(vc(i)))),n.g=c.a,n.g))}function AOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn;i=$(B(v(e,(cn(),ohn)))),_=u(v(e,z8),17).a,g=4,r=3,X=20/_,p=!1,h=0,s=et;do{for(c=h!=1,d=h!=0,tn=0,j=n.a,O=0,D=j.length;O<D;++O)m=j[O],m.f=null,mLe(n,m,c,d,i),tn+=y.Math.abs(m.a);do f=cIe(n,e);while(f);for(k=n.a,P=0,A=k.length;P<A;++P)if(m=k[P],t=vW(m).a,t!=0)for(a=new M(m.e);a.a<a.c.c.length;)l=u(E(a),10),l.n.b+=t;h==0||h==1?(--g,g<=0&&(tn<s||-g>_)?(h=2,s=et):h==0?(h=1,s=tn):(h=0,s=tn)):(p=tn>=s||s-tn<X,s=tn,p&&--r)}while(!(p&&r<=0))}function GR(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;for(m=new de,c=n.a.ec().Kc();c.Ob();)i=u(c.Pb(),177),Ve(m,i,t.af(i));for(s=(Pe(n),n?new _u(n):km(n.a.ec().Kc())),Yt(s,new I9n(m)),f=HT(s),h=new LM(e),p=new de,Vc(p.f,e,h);f.a.gc()!=0;){for(l=null,a=null,d=null,r=f.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),177),$(B(Fr(wr(m.f,i))))<=Pt){if(Zc(p,i.a)&&!Zc(p,i.b)){a=i.b,d=i.a,l=i;break}if(Zc(p,i.b)&&!Zc(p,i.a)){a=i.a,d=i.b,l=i;break}}if(!l)break;g=new LM(a),nn(u(Fr(wr(p.f,d)),225).a,g),Vc(p.f,a,g),f.a.Bc(l)!=null}return h}function LOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;for(t.Ug("Depth-first cycle removal",1),d=e.a,a=d.c.length,n.c=new Z,n.d=F(so,Xh,28,a,16,1),n.a=F(so,Xh,28,a,16,1),n.b=new Z,s=0,l=new M(d);l.a<l.c.c.length;)h=u(E(l),10),h.p=s,Nm(ji(h))&&nn(n.c,h),++s;for(p=new M(n.c);p.a<p.c.c.length;)g=u(E(p),10),vnn(n,g);for(c=0;c<a;c++)n.d[c]||(f=(Nn(c,d.c.length),u(d.c[c],10)),vnn(n,f));for(r=new M(n.b);r.a<r.c.c.length;)i=u(E(r),18),Hb(i,!0),U(e,(W(),vj),(_n(),!0));n.c=null,n.d=null,n.a=null,n.b=null,t.Vg()}function NOe(n,e){Vg();var t,i,r,c,s,f;return c=e.c-(n.c+n.b),r=n.c-(e.c+e.b),s=n.d-(e.d+e.a),t=e.d-(n.d+n.a),i=y.Math.max(r,c),f=y.Math.max(s,t),Cf(),Fs(jh),(y.Math.abs(i)<=jh||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:ub(isNaN(i),isNaN(0)))>=0^(Fs(jh),(y.Math.abs(f)<=jh||f==0||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:ub(isNaN(f),isNaN(0)))>=0)?y.Math.max(f,i):(Fs(jh),(y.Math.abs(i)<=jh||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:ub(isNaN(i),isNaN(0)))>0?y.Math.sqrt(f*f+i*i):-y.Math.sqrt(f*f+i*i))}function pd(n,e){var t,i,r,c,s,f;if(e){if(!n.a&&(n.a=new RE),n.e==2){xE(n.a,e);return}if(e.e==1){for(r=0;r<e.Pm();r++)pd(n,e.Lm(r));return}if(f=n.a.a.c.length,f==0){xE(n.a,e);return}if(s=u(mb(n.a,f-1),122),!((s.e==0||s.e==10)&&(e.e==0||e.e==10))){xE(n.a,e);return}c=e.e==0?2:e.Mm().length,s.e==0?(t=new e6,i=s.Km(),i>=hr?Er(t,NY(i)):Tm(t,i&ui),s=new OD(10,null,0),w0e(n.a,s,f-1)):(t=(s.Mm().length+c,new e6),Er(t,s.Mm())),e.e==0?(i=e.Km(),i>=hr?Er(t,NY(i)):Tm(t,i&ui)):Er(t,e.Mm()),u(s,530).b=t.a}}function DOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(!t.dc()){for(f=0,g=0,i=t.Kc(),m=u(i.Pb(),17).a;f<e.f;){if(f==m&&(g=0,i.Ob()?m=u(i.Pb(),17).a:m=e.f+1),f!=g){for(j=u(sn(n.b,f),30),p=u(sn(n.b,g),30),k=Mb(j.a),d=new M(k);d.a<d.c.c.length;)if(a=u(E(d),10),u0(a,p.a.c.length,p),g==0)for(s=Mb(ji(a)),c=new M(s);c.a<c.c.c.length;)r=u(E(c),18),Hb(r,!0),U(n,(W(),vj),(_n(),!0)),gGn(n,r,1)}++g,++f}for(h=new xi(n.b,0);h.b<h.d.gc();)l=(oe(h.b<h.d.gc()),u(h.d.Xb(h.c=h.b++),30)),l.a.c.length==0&&bo(h)}}function $Oe(n,e,t){var i,r,c;if(r=u(v(e,(cn(),fO)),282),r!=(y4(),D8)){switch(t.Ug("Horizontal Compaction",1),n.a=e,c=new GDn,i=new uHn((c.d=e,c.c=u(v(c.d,$l),223),CSe(c),NAe(c),DSe(c),c.a)),yhe(i,n.b),u(v(e,Rfn),431).g){case 1:Ujn(i,new gxn(n.a));break;default:Ujn(i,(WW(),FQn))}switch(r.g){case 1:N5(i);break;case 2:N5(US(i,(ci(),Xr)));break;case 3:N5(Gjn(US(N5(i),(ci(),Xr)),new H2n));break;case 4:N5(Gjn(US(N5(i),(ci(),Xr)),new w7n(c)));break;case 5:N5(khe(i,QZn))}US(i,(ci(),Kr)),i.e=!0,sLe(c),t.Vg()}}function xOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(s=e.b,a=s.o,h=s.d,i=$(B(nS(s,(cn(),Ws)))),r=$(B(nS(s,C2))),l=$(B(nS(s,OH))),f=new sL,GV(f,h.d,h.c,h.a,h.b),g=zSe(e,i,r,l),P=new M(e.d);P.a<P.c.c.length;){for(j=u(E(P),105),m=j.f.a.ec().Kc();m.Ob();)p=u(m.Pb(),340),c=p.a,d=Cye(p),t=(O=new Tu,DFn(p,p.c,g,O),Zye(p,d,g,O),DFn(p,p.d,g,O),O),t=n.ng(p,d,t),vo(c.a),Ki(c.a,t),Ut(new Cn(null,new On(t,16)),new BMn(a,f));k=j.i,k&&(bye(j,k,g,r),A=new rr(k.g),rZ(a,f,A),it(A,k.j),rZ(a,f,A))}GV(h,f.d,f.c,f.a,f.b)}function ROe(n,e,t,i,r,c,s,f){var h,l,a,d;switch(h=Af(S(C(PDe,1),Rn,238,0,[e,t,i,r])),d=null,n.b.g){case 1:d=Af(S(C(T1n,1),Rn,535,0,[new FA,new KA,new BA]));break;case 0:d=Af(S(C(T1n,1),Rn,535,0,[new BA,new KA,new FA]));break;case 2:d=Af(S(C(T1n,1),Rn,535,0,[new KA,new FA,new BA]))}for(a=new M(d);a.a<a.c.c.length;)l=u(E(a),535),h.c.length>1&&(h=l.Hg(h,n.a,f));return h.c.length==1?u(sn(h,h.c.length-1),238):h.c.length==2?EOe((Nn(0,h.c.length),u(h.c[0],238)),(Nn(1,h.c.length),u(h.c[1],238)),s,c):null}function KOe(n,e,t){var i,r,c,s,f,h,l;for(t.Ug("Find roots",1),n.a.c.length=0,r=ge(e.b,0);r.b!=r.d.c;)i=u(be(r),39),i.b.b==0&&(U(i,(pt(),Ca),(_n(),!0)),nn(n.a,i));switch(n.a.c.length){case 0:c=new q$(0,e,"DUMMY_ROOT"),U(c,(pt(),Ca),(_n(),!0)),U(c,eq,!0),Re(e.b,c);break;case 1:break;default:for(s=new q$(0,e,OP),h=new M(n.a);h.a<h.c.c.length;)f=u(E(h),39),l=new VW(s,f),U(l,(pt(),eq),(_n(),!0)),Re(s.a.a,l),Re(s.d,l),Re(f.b,l),U(f,Ca,!1);U(s,(pt(),Ca),(_n(),!0)),U(s,eq,!0),Re(e.b,s)}t.Vg()}function aGn(n){var e,t,i,r,c,s;for(nu(n.a,new Lwn),t=new M(n.a);t.a<t.c.c.length;)e=u(E(t),225),i=mi(Fi(u(n.b,68).c),u(e.b,68).c),TYn?(s=u(n.b,68).b,c=u(e.b,68).b,y.Math.abs(i.a)>=y.Math.abs(i.b)?(i.b=0,c.d+c.a>s.d&&c.d<s.d+s.a&&WM(i,y.Math.max(s.c-(c.c+c.b),c.c-(s.c+s.b)))):(i.a=0,c.c+c.b>s.c&&c.c<s.c+s.b&&WM(i,y.Math.max(s.d-(c.d+c.a),c.d-(s.d+s.a))))):WM(i,xUn(u(n.b,68),u(e.b,68))),r=y.Math.sqrt(i.a*i.a+i.b*i.b),r=IFn(P8,e,r,i),WM(i,r),YN(u(e.b,68),i),nu(e.a,new PG(i)),u(P8.b,68),GJ(P8,ion,e)}function BOe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m;for(n.f=new oL,l=0,r=0,s=new M(n.e.b);s.a<s.c.c.length;)for(c=u(E(s),30),h=new M(c.a);h.a<h.c.c.length;){for(f=u(E(h),10),f.p=l++,i=new ie(ce(Qt(f).a.Kc(),new En));pe(i);)t=u(fe(i),18),t.p=r++;for(e=HR(f),g=new M(f.j);g.a<g.c.c.length;)d=u(E(g),12),e&&(m=d.a.b,m!=y.Math.floor(m)&&(a=m-id(vc(y.Math.round(m))),d.a.b-=a)),p=d.n.b+d.a.b,p!=y.Math.floor(p)&&(a=p-id(vc(y.Math.round(p))),d.n.b-=a)}n.g=l,n.b=r,n.i=F(MDe,Rn,412,l,0,1),n.c=F(EDe,Rn,655,r,0,1),n.d.a.$b()}function me(n){var e,t,i,r,c,s,f,h,l;if(n.Pj())if(h=n.Qj(),n.i>0){if(e=new bX(n.i,n.g),t=n.i,c=t<100?null:new K1(t),n.Tj())for(i=0;i<n.i;++i)s=n.g[i],c=n.Vj(s,c);if(Z6(n),r=t==1?n.Ij(4,N(e,0),null,0,h):n.Ij(6,e,null,-1,h),n.Mj()){for(i=new yp(e);i.e!=i.i.gc();)c=n.Oj(Tx(i),c);c?(c.nj(r),c.oj()):n.Jj(r)}else c?(c.nj(r),c.oj()):n.Jj(r)}else Z6(n),n.Jj(n.Ij(6,(Ln(),sr),null,-1,h));else if(n.Mj())if(n.i>0){for(f=n.g,l=n.i,Z6(n),c=l<100?null:new K1(l),i=0;i<l;++i)s=f[i],c=n.Oj(s,c);c&&c.oj()}else Z6(n);else Z6(n)}function Gen(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(Gxn(this),t==(Eb(),Ta)?fi(this.r,n):fi(this.w,n),a=Pt,l=li,s=e.a.ec().Kc();s.Ob();)r=u(s.Pb(),42),f=u(r.a,464),i=u(r.b,18),h=i.c,h==n&&(h=i.d),f==Ta?fi(this.r,h):fi(this.w,h),g=(en(),mu).Hc(h.j)?$(B(v(h,(W(),yv)))):cc(S(C(Ei,1),J,8,0,[h.i.n,h.n,h.a])).b,a=y.Math.min(a,g),l=y.Math.max(l,g);for(d=(en(),mu).Hc(n.j)?$(B(v(n,(W(),yv)))):cc(S(C(Ei,1),J,8,0,[n.i.n,n.n,n.a])).b,YFn(this,d,a,l),c=e.a.ec().Kc();c.Ob();)r=u(c.Pb(),42),s_n(this,u(r.b,18));this.o=!1}function FOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te;return t=n.l&8191,i=n.l>>13|(n.m&15)<<9,r=n.m>>4&8191,c=n.m>>17|(n.h&255)<<5,s=(n.h&1048320)>>8,f=e.l&8191,h=e.l>>13|(e.m&15)<<9,l=e.m>>4&8191,a=e.m>>17|(e.h&255)<<5,d=(e.h&1048320)>>8,jn=t*f,kn=i*f,Fn=r*f,Kn=c*f,te=s*f,h!=0&&(kn+=t*h,Fn+=i*h,Kn+=r*h,te+=c*h),l!=0&&(Fn+=t*l,Kn+=i*l,te+=r*l),a!=0&&(Kn+=t*a,te+=i*a),d!=0&&(te+=t*d),p=jn&ro,m=(kn&511)<<13,g=p+m,j=jn>>22,P=kn>>9,O=(Fn&262143)<<4,A=(Kn&31)<<17,k=j+P+O+A,_=Fn>>18,X=Kn>>5,tn=(te&4095)<<8,D=_+X+tn,k+=g>>22,g&=ro,D+=k>>22,k&=ro,D&=Ol,Yc(g,k,D)}function dGn(n){var e,t,i,r,c,s,f;if(f=u(sn(n.j,0),12),f.g.c.length!=0&&f.e.c.length!=0)throw T(new Ar("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(f.g.c.length!=0){for(c=Pt,t=new M(f.g);t.a<t.c.c.length;)e=u(E(t),18),s=e.d.i,i=u(v(s,(cn(),pO)),140),c=y.Math.min(c,s.n.a-i.b);return new TE(Pe(c))}if(f.e.c.length!=0){for(r=li,t=new M(f.e);t.a<t.c.c.length;)e=u(E(t),18),s=e.c.i,i=u(v(s,(cn(),pO)),140),r=y.Math.max(r,s.n.a+s.o.a+i.c);return new TE(Pe(r))}return Qv(),Qv(),FF}function bGn(n,e){var t,i,r,c,s,f,h;if(n.ol()){if(n.i>4)if(n.fk(e)){if(n.al()){if(r=u(e,54),i=r.Eh(),h=i==n.e&&(n.ml()?r.yh(r.Fh(),n.il())==n.jl():-1-r.Fh()==n.Lj()),n.nl()&&!h&&!i&&r.Jh()){for(c=0;c<n.i;++c)if(t=n.pl(u(n.g[c],58)),x(t)===x(e))return!0}return h}else if(n.ml()&&!n.ll()){if(s=u(e,58).Mh(br(u(n.Lk(),19))),x(s)===x(n.e))return!0;if(s==null||!u(s,58).Vh())return!1}}else return!1;if(f=v4(n,e),n.nl()&&!f){for(c=0;c<n.i;++c)if(r=n.pl(u(n.g[c],58)),x(r)===x(e))return!0}return f}else return v4(n,e)}function _Oe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(t.Ug("Interactive cycle breaking",1),d=new Z,p=new M(e.a);p.a<p.c.c.length;)for(g=u(E(p),10),g.p=1,m=RZ(g).a,a=$b(g,(gr(),Jc)).Kc();a.Ob();)for(l=u(a.Pb(),12),c=new M(l.g);c.a<c.c.c.length;)i=u(E(c),18),k=i.d.i,k!=g&&(j=RZ(k).a,j<m&&Bn(d.c,i));for(s=new M(d);s.a<s.c.c.length;)i=u(E(s),18),Hb(i,!0);for(d.c.length=0,h=new M(e.a);h.a<h.c.c.length;)f=u(E(h),10),f.p>0&&d_n(n,f,d);for(r=new M(d);r.a<r.c.c.length;)i=u(E(r),18),Hb(i,!0);d.c.length=0,t.Vg()}function HOe(n,e){var t,i,r,c,s,f,h,l,a;for(t=0,a=new Z,f=new M(e);f.a<f.c.c.length;){switch(s=u(E(f),12),fY(n.b,n.d[s.p]),a.c.length=0,s.i.k.g){case 0:i=u(v(s,(W(),Xu)),10),nu(i.j,new X7n(a));break;case 1:t1e(t4(ut(new Cn(null,new On(s.i.j,16)),new V7n(s))),new W7n(a));break;case 3:r=u(v(s,(W(),st)),12),nn(a,new bi(r,Y(s.e.c.length+s.g.c.length)))}for(l=new M(a);l.a<l.c.c.length;)h=u(E(l),42),c=Cz(n,u(h.a,12)),c>n.d[s.p]&&(t+=CJ(n.b,c)*u(h.b,17).a,J1(n.a,Y(c)));for(;!n6(n.a);)cQ(n.b,u(Pp(n.a),17).a)}return t}function qOe(n,e){var t,i,r,c,s,f,h,l,a,d;if(a=u(v(n,(W(),gc)),64),i=u(sn(n.j,0),12),a==(en(),Xn)?gi(i,ae):a==ae&&gi(i,Xn),u(v(e,(cn(),xd)),181).Hc((go(),Gd))){if(h=$(B(v(n,Cv))),l=$(B(v(n,Sv))),s=$(B(v(n,q0))),f=u(v(e,_0),21),f.Hc((zu(),Rl)))for(t=l,d=n.o.a/2-i.n.a,c=new M(i.f);c.a<c.c.c.length;)r=u(E(c),72),r.n.b=t,r.n.a=d-r.o.a/2,t+=r.o.b+s;else if(f.Hc(Aa))for(c=new M(i.f);c.a<c.c.c.length;)r=u(E(c),72),r.n.a=h+n.o.a-i.n.a;wpe(new IE((r6(),new kD(e,!1,!1,new _U))),new zM(null,n,!1))}}function UOe(n,e){var t,i,r,c,s,f,h,l,a;if(e.c.length!=0){for(Ln(),QN(e.c,e.c.length,null),r=new M(e),i=u(E(r),154);r.a<r.c.c.length;)t=u(E(r),154),hQ(i.e.c,t.e.c)&&!(ZY(CSn(i.e).b,t.e.d)||ZY(CSn(t.e).b,i.e.d))?i=(hi(i.k,t.k),hi(i.b,t.b),hi(i.c,t.c),Ki(i.i,t.i),hi(i.d,t.d),hi(i.j,t.j),c=y.Math.min(i.e.c,t.e.c),s=y.Math.min(i.e.d,t.e.d),f=y.Math.max(i.e.c+i.e.b,t.e.c+t.e.b),h=f-c,l=y.Math.max(i.e.d+i.e.a,t.e.d+t.e.a),a=l-s,APn(i.e,c,s,h,a),bpe(i.f,t.f),!i.a&&(i.a=t.a),hi(i.g,t.g),nn(i.g,t),i):(SUn(n,i),i=t);SUn(n,i)}}function GOe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_;for(h=new Z,c=new M(e.a);c.a<c.c.c.length;)for(r=u(E(c),10),f=new M(r.j);f.a<f.c.c.length;){for(s=u(E(f),12),a=null,A=hh(s.g),D=0,_=A.length;D<_;++D)O=A[D],Jm(O.d.i,t)||(P=qR(n,e,t,O,O.c,(gr(),Jc),a),P!=a&&Bn(h.c,P),P.c&&(a=P));for(l=null,m=hh(s.e),k=0,j=m.length;k<j;++k)p=m[k],Jm(p.c.i,t)||(P=qR(n,e,t,p,p.d,(gr(),Vu),l),P!=l&&Bn(h.c,P),P.c&&(l=P))}for(g=new M(h);g.a<g.c.c.length;)d=u(E(g),452),qr(e.a,d.a,0)!=-1||nn(e.a,d.a),d.c&&Bn(i.c,d)}function zOe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;for(d=new rr(u(z(n,(mS(),aan)),8)),d.a=y.Math.max(d.a-t.b-t.c,0),d.b=y.Math.max(d.b-t.d-t.a,0),r=B(z(n,fan)),(r==null||(Jn(r),r<=0))&&(r=1.3),f=new Z,m=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));m.e!=m.i.gc();)p=u(ue(m),27),s=new pSn(p),Bn(f.c,s);switch(g=u(z(n,Xq),320),g.g){case 3:j=LPe(f,e,d.a,d.b,(l=i,Jn(r),l));break;case 1:j=jIe(f,e,d.a,d.b,(a=i,Jn(r),a));break;default:j=VOe(f,e,d.a,d.b,(h=i,Jn(r),h))}c=new hC(j),k=QR(c,e,t,d.a,d.b,i,(Jn(r),r)),qb(n,k.a,k.b,!1,!0)}function XOe(n,e,t,i){var r,c,s,f,h,l;if(f=n.j,f==(en(),sc)&&e!=(Ai(),Qf)&&e!=(Ai(),Oa)&&(f=jUn(n,t),gi(n,f),!(n.q?n.q:(Ln(),Ln(),Wh))._b((cn(),F0))&&f!=sc&&(n.n.a!=0||n.n.b!=0)&&U(n,F0,X7e(n,f))),e==(Ai(),tl)){switch(l=0,f.g){case 1:case 3:c=n.i.o.a,c>0&&(l=n.n.a/c);break;case 2:case 4:r=n.i.o.b,r>0&&(l=n.n.b/r)}U(n,(W(),ow),l)}if(h=n.o,s=n.a,i)s.a=i.a,s.b=i.b,n.d=!0;else if(e!=Qf&&e!=Oa&&f!=sc)switch(f.g){case 1:s.a=h.a/2;break;case 2:s.a=h.a,s.b=h.b/2;break;case 3:s.a=h.a/2,s.b=h.b;break;case 4:s.b=h.b/2}else s.a=h.a/2,s.b=h.b/2}function G5(n){var e,t,i,r,c,s,f,h,l,a;if(n.Pj())if(a=n.Ej(),h=n.Qj(),a>0)if(e=new KQ(n.pj()),t=a,c=t<100?null:new K1(t),P7(n,t,e.g),r=t==1?n.Ij(4,N(e,0),null,0,h):n.Ij(6,e,null,-1,h),n.Mj()){for(i=new ne(e);i.e!=i.i.gc();)c=n.Oj(ue(i),c);c?(c.nj(r),c.oj()):n.Jj(r)}else c?(c.nj(r),c.oj()):n.Jj(r);else P7(n,n.Ej(),n.Fj()),n.Jj(n.Ij(6,(Ln(),sr),null,-1,h));else if(n.Mj())if(a=n.Ej(),a>0){for(f=n.Fj(),l=a,P7(n,a,f),c=l<100?null:new K1(l),i=0;i<l;++i)s=f[i],c=n.Oj(s,c);c&&c.oj()}else P7(n,n.Ej(),n.Fj());else P7(n,n.Ej(),n.Fj())}function VOe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j;for(f=F(Ii,Cr,28,n.c.length,15,1),g=new aT(new J4n),jZ(g,n),l=0,k=new Z;g.b.c.length!=0;)if(s=u(g.b.c.length==0?null:sn(g.b,0),163),l>1&&Pu(s)*ao(s)/2>f[0]){for(c=0;c<k.c.length-1&&Pu(s)*ao(s)/2>f[c];)++c;m=new Jl(k,0,c+1),d=new hC(m),a=Pu(s)/ao(s),h=QR(d,e,new up,t,i,r,a),it(ff(d.e),h),Tp(k4(g,d),F4),p=new Jl(k,c+1,k.c.length),jZ(g,p),k.c.length=0,l=0,dIn(f,f.length,0)}else j=g.b.c.length==0?null:sn(g.b,0),j!=null&&T$(g,0),l>0&&(f[l]=f[l-1]),f[l]+=Pu(s)*ao(s),++l,Bn(k.c,s);return k}function WOe(n,e){var t,i,r,c;t=e.b,c=new _u(t.j),r=0,i=t.j,i.c.length=0,bb(u(od(n.b,(en(),Xn),(Ob(),rw)),15),t),r=Fk(c,r,new dpn,i),bb(u(od(n.b,Xn,ka),15),t),r=Fk(c,r,new upn,i),bb(u(od(n.b,Xn,iw),15),t),bb(u(od(n.b,Zn,rw),15),t),bb(u(od(n.b,Zn,ka),15),t),r=Fk(c,r,new bpn,i),bb(u(od(n.b,Zn,iw),15),t),bb(u(od(n.b,ae,rw),15),t),r=Fk(c,r,new wpn,i),bb(u(od(n.b,ae,ka),15),t),r=Fk(c,r,new gpn,i),bb(u(od(n.b,ae,iw),15),t),bb(u(od(n.b,Wn,rw),15),t),r=Fk(c,r,new fpn,i),bb(u(od(n.b,Wn,ka),15),t),bb(u(od(n.b,Wn,iw),15),t)}function JOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;for(f=new M(e);f.a<f.c.c.length;)c=u(E(f),239),c.e=null,c.c=0;for(h=null,s=new M(e);s.a<s.c.c.length;)if(c=u(E(s),239),d=c.d[0],!(t&&d.k!=(Vn(),Xt))){for(p=u(v(d,(W(),C3)),15).Kc();p.Ob();)g=u(p.Pb(),10),(!t||g.k==(Vn(),Xt))&&((!c.e&&(c.e=new Z),c.e).Fc(n.b[g.c.p][g.p]),++n.b[g.c.p][g.p].c);if(!t&&d.k==(Vn(),Xt)){if(h)for(a=u(ot(n.d,h),21).Kc();a.Ob();)for(l=u(a.Pb(),10),r=u(ot(n.d,d),21).Kc();r.Ob();)i=u(r.Pb(),10),ewe(n.b[l.c.p][l.p]).Fc(n.b[i.c.p][i.p]),++n.b[i.c.p][i.p].c;h=d}}}function QOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(t.Ug("Model order cycle breaking",1),n.a=0,n.b=0,p=new Z,a=e.a.c.length,l=new M(e.a);l.a<l.c.c.length;)h=u(E(l),10),kt(h,(W(),dt))&&(a=y.Math.max(a,u(v(h,dt),17).a+1));for(k=new M(e.a);k.a<k.c.c.length;)for(m=u(E(k),10),s=E_n(n,m,a),g=$b(m,(gr(),Jc)).Kc();g.Ob();)for(d=u(g.Pb(),12),c=new M(d.g);c.a<c.c.c.length;)i=u(E(c),18),j=i.d.i,f=E_n(n,j,a),f<s&&Bn(p.c,i);for(r=new M(p);r.a<r.c.c.length;)i=u(E(r),18),Hb(i,!0),U(e,(W(),vj),(_n(),!0));p.c.length=0,t.Vg()}function wGn(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(s=e.d,f=t.d;s.a-f.a==0&&s.b-f.b==0;)h=!1,L(e,250)&&L(t,250)&&!h?(l=u(e,250).a,a=mi(new rr(pQ(l)),gQ(l)),i=2,r=new V(a.a/y.Math.sqrt(a.a*a.a+a.b*a.b)*i,-a.b/y.Math.sqrt(a.a*a.a+a.b*a.b)*i),it(s,r),d=u(t,250).a,g=mi(new rr(pQ(d)),gQ(d)),i=a==g?-2:2,c=new V(g.a/y.Math.sqrt(g.a*g.a+g.b*g.b)*i,-(g.b/y.Math.sqrt(g.a*g.a+g.b*g.b))*i),it(s,c),h=!0):(s.a+=to(n,26)*V5+to(n,27)*W5-.5,s.b+=to(n,26)*V5+to(n,27)*W5-.5,f.a+=to(n,26)*V5+to(n,27)*W5-.5,f.b+=to(n,26)*V5+to(n,27)*W5-.5)}function YOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(l=Ije(e),k=u(v(e,(cn(),H8)),322),qi(l,new K9n(k)),j=u(v(e,Ej),298),qi(l,new B9n(j)),m=0,a=new Z,c=new z6(l);c.a!=c.b;)r=u(xC(c),36),SGn(n.c,r),g=u(v(r,(W(),bH)),15),m+=g.gc(),i=g.Kc(),nn(a,new bi(r,i));for(t.Ug("Recursive hierarchical layout",m),p=u(u(sn(a,a.c.length-1),42).b,51);p.Ob();)for(h=new M(a);h.a<h.c.c.length;)for(f=u(E(h),42),g=u(f.b,51),s=u(f.a,36);g.Ob();)if(d=u(g.Pb(),47),L(d,514)){if(s.e)break;d.Kf(s,t.eh(1));break}else d.Kf(s,t.eh(1));t.Vg()}function ZOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(e.Ug("Layer size calculation",1),a=Pt,l=li,r=!1,f=new M(n.b);f.a<f.c.c.length;)if(s=u(E(f),30),h=s.c,h.a=0,h.b=0,s.a.c.length!=0){for(r=!0,g=new M(s.a);g.a<g.c.c.length;)d=u(E(g),10),m=d.o,p=d.d,h.a=y.Math.max(h.a,m.a+p.b+p.c);i=u(sn(s.a,0),10),k=i.n.b-i.d.d,i.k==(Vn(),Zt)&&(k-=u(v(n,(cn(),Cj)),140).d),c=u(sn(s.a,s.a.c.length-1),10),t=c.n.b+c.o.b+c.d.a,c.k==Zt&&(t+=u(v(n,(cn(),Cj)),140).a),h.b=t-k,a=y.Math.min(a,k),l=y.Math.max(l,t)}r||(a=0,l=0),n.f.b=l-a,n.c.b-=a,e.Vg()}function zen(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;for(c=0,s=0,l=new M(n.a);l.a<l.c.c.length;)f=u(E(l),10),c=y.Math.max(c,f.d.b),s=y.Math.max(s,f.d.c);for(h=new M(n.a);h.a<h.c.c.length;){switch(f=u(E(h),10),t=u(v(f,(cn(),Ch)),255),t.g){case 1:m=0;break;case 2:m=1;break;case 5:m=.5;break;default:for(i=0,d=0,p=new M(f.j);p.a<p.c.c.length;)g=u(E(p),12),g.e.c.length==0||++i,g.g.c.length==0||++d;i+d==0?m=.5:m=d/(i+d)}j=n.c,a=f.o.a,P=(j.a-a)*m,m>.5?P-=s*2*(m-.5):m<.5&&(P+=c*2*(.5-m)),r=f.d.b,P<r&&(P=r),k=f.d.c,P>j.a-k-a&&(P=j.a-k-a),f.n.a=e+P}}function nAe(n){var e,t,i,r,c;if(i=u(v(n,(cn(),ou)),171),i==(Yo(),ja)){for(t=new ie(ce(ji(n).a.Kc(),new En));pe(t);)if(e=u(fe(t),18),!SNn(e))throw T(new _l(oB+Hk(n)+"' 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(i==x0){for(c=new ie(ce(Qt(n).a.Kc(),new En));pe(c);)if(r=u(fe(c),18),!SNn(r))throw T(new _l(oB+Hk(n)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function wy(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;if(n.e&&n.c.c<n.f)throw T(new Ar("Expected "+n.f+" phases to be configured; only found "+n.c.c));for(a=u(of(n.g),9),p=Lh(n.f),c=a,f=0,l=c.length;f<l;++f)i=c[f],d=u(hk(n,i.g),188),d?nn(p,u(yKn(n,d),106)):p.c.push(null);for(m=new ii,Ut(ut(_r(ut(new Cn(null,new On(p,16)),new v4n),new Ikn(e)),new k4n),new Okn(m)),To(m,n.a),t=new Z,r=a,s=0,h=r.length;s<h;++s)i=r[s],hi(t,tRn(n,ST(u(hk(m,i.g),20)))),g=u(sn(p,i.g),106),g&&Bn(t.c,g);return hi(t,tRn(n,ST(u(hk(m,a[a.length-1].g+1),20)))),t}function eAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;for(g=new Z,r=new Z,k=null,f=e.Kc();f.Ob();)s=u(f.Pb(),17),c=new R7n(s.a),Bn(r.c,c),k&&(c.d=k,k.e=c),k=c;for(A=PIe(n),a=0;a<r.c.length;++a){for(p=null,j=_J((Nn(0,r.c.length),u(r.c[0],661))),t=null,i=Pt,d=1;d<n.b.c.length;++d)P=j?y.Math.abs(j.b-d):y.Math.abs(d-p.b)+1,m=p?y.Math.abs(d-p.b):P+1,m<P?(l=p,h=m):(l=j,h=P),O=(D=$(B(v(n,(cn(),yhn)))),A[d]+y.Math.pow(h,D)),O<i&&(i=O,t=l,t.c=d),j&&d==j.b&&(p=j,j=h0e(j));t&&(nn(g,Y(t.c)),t.a=!0,M5e(t))}return Ln(),QN(g.c,g.c.length,null),g}function Xen(n,e,t){var i,r,c,s,f,h;if(e.l==0&&e.m==0&&e.h==0)throw T(new FE("divide by zero"));if(n.l==0&&n.m==0&&n.h==0)return t&&(ga=Yc(0,0,0)),Yc(0,0,0);if(e.h==Ty&&e.m==0&&e.l==0)return W5e(n,t);if(h=!1,e.h>>19&&(e=e4(e),h=!h),s=KTe(e),c=!1,r=!1,i=!1,n.h==Ty&&n.m==0&&n.l==0)if(r=!0,c=!0,s==-1)n=ZTn((Km(),sun)),i=!0,h=!h;else return f=Unn(n,s),h&&H$(f),t&&(ga=Yc(0,0,0)),f;else n.h>>19&&(c=!0,n=e4(n),i=!0,h=!h);return s!=-1?d6e(n,s,h,c,t):OZ(n,e)<0?(t&&(c?ga=e4(n):ga=Yc(n.l,n.m,n.h)),Yc(0,0,0)):xPe(i?n:Yc(n.l,n.m,n.h),e,h,c,r,t)}function zR(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;if(s=n.e,h=e.e,s==0)return e;if(h==0)return n;if(c=n.d,f=e.d,c+f==2)return t=vi(n.a[0],mr),i=vi(e.a[0],mr),s==h?(a=nr(t,i),m=Se(a),p=Se(G1(a,32)),p==0?new gl(s,m):new Ya(s,2,S(C(ye,1),_e,28,15,[m,p]))):(dh(),CM(s<0?bs(i,t):bs(t,i),0)?ra(s<0?bs(i,t):bs(t,i)):H6(ra(n1(s<0?bs(i,t):bs(t,i)))));if(s==h)g=s,d=c>=f?e$(n.a,c,e.a,f):e$(e.a,f,n.a,c);else{if(r=c!=f?c>f?1:-1:sY(n.a,e.a,c),r==0)return dh(),C8;r==1?(g=s,d=ZD(n.a,c,e.a,f)):(g=h,d=ZD(e.a,f,n.a,c))}return l=new Ya(g,d.length,d),V6(l),l}function tAe(n,e){var t,i,r,c,s,f,h;if(!(n.g>e.f||e.g>n.f)){for(t=0,i=0,s=n.w.a.ec().Kc();s.Ob();)r=u(s.Pb(),12),nx(cc(S(C(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++t;for(f=n.r.a.ec().Kc();f.Ob();)r=u(f.Pb(),12),nx(cc(S(C(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--t;for(h=e.w.a.ec().Kc();h.Ob();)r=u(h.Pb(),12),nx(cc(S(C(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=e.r.a.ec().Kc();c.Ob();)r=u(c.Pb(),12),nx(cc(S(C(Ei,1),J,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;t<i?new XT(n,e,i-t):i<t?new XT(e,n,t-i):(new XT(e,n,0),new XT(n,e,0))}}function iAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;for(l=e.c,r=SX(n.e),d=ch(A6(Fi(CX(n.e)),n.d*n.a,n.c*n.b),-.5),t=r.a-d.a,i=r.b-d.b,s=e.a,t=s.c-t,i=s.d-i,h=new M(l);h.a<h.c.c.length;){switch(f=u(E(h),407),g=f.b,p=t+g.a,j=i+g.b,m=wi(p/n.a),P=wi(j/n.b),c=f.a,c.g){case 0:a=(Vp(),cj);break;case 1:a=(Vp(),rj);break;case 2:a=(Vp(),uj);break;default:a=(Vp(),oj)}c.a?(O=wi((j+f.c)/n.b),nn(n.f,new AV(a,Y(P),Y(O))),c==(M5(),fj)?n4(n,0,P,m,O):n4(n,m,P,n.d-1,O)):(k=wi((p+f.c)/n.a),nn(n.f,new AV(a,Y(m),Y(k))),c==(M5(),sj)?n4(n,m,0,k,P):n4(n,m,P,k,n.c-1))}}function rAe(n){var e,t,i,r,c,s,f,h,l,a;for(e=new qA,t=new qA,l=Sn(Wy,(r=B5(n.b,Ke),r?Ae(gf((!r.b&&(r.b=new lo((An(),ar),pc,r)),r.b),vs)):null)),h=0;h<n.i;++h)f=u(n.g[h],179),L(f,102)?(s=u(f,19),s.Bb&kc?(!(s.Bb&wh)||!l&&(c=B5(s,Ke),(c?Ae(gf((!c.b&&(c.b=new lo((An(),ar),pc,c)),c.b),FP)):null)==null))&&ve(e,s):(a=br(s),a&&a.Bb&kc||(!(s.Bb&wh)||!l&&(i=B5(s,Ke),(i?Ae(gf((!i.b&&(i.b=new lo((An(),ar),pc,i)),i.b),FP)):null)==null))&&ve(t,s))):(dr(),u(f,69).xk()&&(f.sk()||(ve(e,f),ve(t,f))));e0(e),e0(t),n.a=u(e.g,254),u(t.g,254)}function Qg(n,e,t){var i,r,c,s,f,h,l,a,d;if(At(e,t)>=0)return t;switch(vb(Nr(n,t))){case 2:{if(Sn("",r1(n,t.qk()).xe())){if(h=q7(Nr(n,t)),f=Pm(Nr(n,t)),a=Vnn(n,e,h,f),a)return a;for(r=Men(n,e),s=0,d=r.gc();s<d;++s)if(a=u(r.Xb(s),179),een(sD(Nr(n,a)),h))return a}return null}case 4:{if(Sn("",r1(n,t.qk()).xe())){for(i=t;i;i=gpe(Nr(n,i)))if(l=q7(Nr(n,i)),f=Pm(Nr(n,i)),a=Wnn(n,e,l,f),a)return a;if(h=q7(Nr(n,t)),Sn(Pd,h))return DZ(n,e);for(c=PR(n,e),s=0,d=c.gc();s<d;++s)if(a=u(c.Xb(s),179),een(sD(Nr(n,a)),h))return a}return null}default:return null}}function cAe(n,e,t){var i,r,c,s,f,h,l,a;if(t.gc()==0)return!1;if(f=(dr(),u(e,69).xk()),c=f?t:new Cb(t.gc()),Pl(n.e,e)){if(e.Si())for(l=t.Kc();l.Ob();)h=l.Pb(),BS(n,e,h,L(e,102)&&(u(e,19).Bb&hr)!=0)||(r=Rh(e,h),c.Hc(r)||c.Fc(r));else if(!f)for(l=t.Kc();l.Ob();)h=l.Pb(),r=Rh(e,h),c.Fc(r)}else{if(t.gc()>1)throw T(new Gn(Yy));for(a=ru(n.e.Dh(),e),i=u(n.g,124),s=0;s<n.i;++s)if(r=i[s],a.am(r.Lk())){if(t.Hc(f?r:r.md()))return!1;for(l=t.Kc();l.Ob();)h=l.Pb(),u(Bg(n,s,f?u(h,76):Rh(e,h)),76);return!0}f||(r=Rh(e,t.Kc().Pb()),c.Fc(r))}return Bt(n,c)}function uAe(n,e){var t,i,r,c,s,f,h,l,a;for(a=new Mt,f=(l=new ol(n.c).a.vc().Kc(),new Cw(l));f.a.Ob();)c=(r=u(f.a.Pb(),44),u(r.md(),466)),c.b==0&&xt(a,c,a.c.b,a.c);for(;a.b!=0;)for(c=u(a.b==0?null:(oe(a.b!=0),Xo(a,a.a.a)),466),c.a==null&&(c.a=0),i=new M(c.d);i.a<i.c.c.length;)t=u(E(i),663),t.b.a==null?t.b.a=$(c.a)+t.a:e.o==(If(),Bd)?t.b.a=y.Math.min($(t.b.a),$(c.a)+t.a):t.b.a=y.Math.max($(t.b.a),$(c.a)+t.a),--t.b.b,t.b.b==0&&Re(a,t.b);for(s=(h=new ol(n.c).a.vc().Kc(),new Cw(h));s.a.Ob();)c=(r=u(s.a.Pb(),44),u(r.md(),466)),e.i[c.c.p]=c.a}function oAe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m;for(a=t+e.c.c.a,p=new M(e.j);p.a<p.c.c.length;){if(g=u(E(p),12),r=cc(S(C(Ei,1),J,8,0,[g.i.n,g.n,g.a])),e.k==(Vn(),_c)&&(f=u(v(g,(W(),st)),12),r.a=cc(S(C(Ei,1),J,8,0,[f.i.n,f.n,f.a])).a,e.n.a=r.a),s=new V(0,r.b),g.j==(en(),Zn))s.a=a;else if(g.j==Wn)s.a=t;else continue;if(m=y.Math.abs(r.a-s.a),!(m<=i&&!Y7e(e)))for(c=g.g.c.length+g.e.c.length>1,l=new Lf(g.b);tc(l.a)||tc(l.b);)h=u(tc(l.a)?E(l.a):E(l.b),18),d=h.c==g?h.d:h.c,y.Math.abs(cc(S(C(Ei,1),J,8,0,[d.i.n,d.n,d.a])).b-s.b)>1&&qCe(n,h,s,c,g)}}function sAe(n){var e,t,i,r,c,s;if(r=new xi(n.e,0),i=new xi(n.a,0),n.d)for(t=0;t<n.b;t++)oe(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);else for(t=0;t<n.b-1;t++)oe(r.b<r.d.gc()),r.d.Xb(r.c=r.b++),bo(r);for(e=$((oe(r.b<r.d.gc()),B(r.d.Xb(r.c=r.b++))));n.f-e>_B;){for(c=e,s=0;y.Math.abs(e-c)<_B;)++s,e=$((oe(r.b<r.d.gc()),B(r.d.Xb(r.c=r.b++)))),oe(i.b<i.d.gc()),i.d.Xb(i.c=i.b++);s<n.b&&(oe(r.b>0),r.a.Xb(r.c=--r.b),EIe(n,n.b-s,c,i,r),oe(r.b<r.d.gc()),r.d.Xb(r.c=r.b++)),oe(i.b>0),i.a.Xb(i.c=--i.b)}if(!n.d)for(t=0;t<n.b-1;t++)oe(r.b<r.d.gc()),r.d.Xb(r.c=r.b++),bo(r);n.d=!0,n.c=!0}function at(){at=R,ubn=(Ez(),yc).b,cse=u(N(H(yc.b),0),35),zd=u(N(H(yc.b),1),35),rse=u(N(H(yc.b),2),35),G2=yc.bb,u(N(H(yc.bb),0),35),u(N(H(yc.bb),1),35),z2=yc.fb,D9=u(N(H(yc.fb),0),35),u(N(H(yc.fb),1),35),u(N(H(yc.fb),2),19),jw=yc.qb,pse=u(N(H(yc.qb),0),35),u(N(H(yc.qb),1),19),u(N(H(yc.qb),2),19),wE=u(N(H(yc.qb),3),35),gE=u(N(H(yc.qb),4),35),x9=u(N(H(yc.qb),6),35),$9=u(N(H(yc.qb),5),19),use=yc.j,ose=yc.k,sse=yc.q,fse=yc.w,hse=yc.B,lse=yc.A,ase=yc.C,dse=yc.D,bse=yc._,wse=yc.cb,gse=yc.hb}function fAe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;n.c=0,n.b=0,i=2*e.c.a.c.length+1;n:for(d=t.Kc();d.Ob();){if(a=u(d.Pb(),12),f=a.j==(en(),Xn)||a.j==ae,p=0,f){if(g=u(v(a,(W(),Xu)),10),!g)continue;p+=LSe(n,i,a,g)}else{for(l=new M(a.g);l.a<l.c.c.length;)if(h=u(E(l),18),r=h.d,r.i.c==e.c){nn(n.a,a);continue n}else p+=n.g[r.p];for(s=new M(a.e);s.a<s.c.c.length;)if(c=u(E(s),18),r=c.c,r.i.c==e.c){nn(n.a,a);continue n}else p-=n.g[r.p]}a.e.c.length+a.g.c.length>0?(n.f[a.p]=p/(a.e.c.length+a.g.c.length),n.c=y.Math.min(n.c,n.f[a.p]),n.b=y.Math.max(n.b,n.f[a.p])):f&&(n.f[a.p]=p)}}function hAe(n){n.b=null,n.bb=null,n.fb=null,n.qb=null,n.a=null,n.c=null,n.d=null,n.e=null,n.f=null,n.n=null,n.M=null,n.L=null,n.Q=null,n.R=null,n.K=null,n.db=null,n.eb=null,n.g=null,n.i=null,n.j=null,n.k=null,n.gb=null,n.o=null,n.p=null,n.q=null,n.r=null,n.$=null,n.ib=null,n.S=null,n.T=null,n.t=null,n.s=null,n.u=null,n.v=null,n.w=null,n.B=null,n.A=null,n.C=null,n.D=null,n.F=null,n.G=null,n.H=null,n.I=null,n.J=null,n.P=null,n.Z=null,n.U=null,n.V=null,n.W=null,n.X=null,n.Y=null,n._=null,n.ab=null,n.cb=null,n.hb=null,n.nb=null,n.lb=null,n.mb=null,n.ob=null,n.pb=null,n.jb=null,n.kb=null,n.N=!1,n.O=!1}function lAe(n,e,t){var i,r,c,s;for(t.Ug("Graph transformation ("+n.a+")",1),s=Mb(e.a),c=new M(e.b);c.a<c.c.c.length;)r=u(E(c),30),hi(s,r.a);if(i=u(v(e,(cn(),Hfn)),428),i==(bk(),WI))switch(u(v(e,Lo),88).g){case 2:W6(e,s);break;case 3:k5(e,s);break;case 4:n.a==(Xm(),aj)?(k5(e,s),HD(e,s)):(HD(e,s),k5(e,s))}else if(n.a==(Xm(),aj))switch(u(v(e,Lo),88).g){case 2:W6(e,s),HD(e,s);break;case 3:k5(e,s),W6(e,s);break;case 4:W6(e,s),k5(e,s)}else switch(u(v(e,Lo),88).g){case 2:W6(e,s),HD(e,s);break;case 3:W6(e,s),k5(e,s);break;case 4:k5(e,s),W6(e,s)}t.Vg()}function aAe(n){var e,t,i,r,c,s,f,h;for(c=new M(n.a.b);c.a<c.c.c.length;)r=u(E(c),86),r.b.c=r.g.c,r.b.d=r.g.d;for(h=new V(Pt,Pt),e=new V(li,li),i=new M(n.a.b);i.a<i.c.c.length;)t=u(E(i),86),h.a=y.Math.min(h.a,t.g.c),h.b=y.Math.min(h.b,t.g.d),e.a=y.Math.max(e.a,t.g.c+t.g.b),e.b=y.Math.max(e.b,t.g.d+t.g.a);for(f=gT(n.c).a.nc();f.Ob();)s=u(f.Pb(),42),t=u(s.b,86),h.a=y.Math.min(h.a,t.g.c),h.b=y.Math.min(h.b,t.g.d),e.a=y.Math.max(e.a,t.g.c+t.g.b),e.b=y.Math.max(e.b,t.g.d+t.g.a);n.d=_M(new V(h.a,h.b)),n.e=mi(new V(e.a,e.b),h),n.a.a.c.length=0,n.a.b.c.length=0}function dAe(n){e5();var e,t,i,r,c,s,f;for(f=new _yn,t=new M(n);t.a<t.c.c.length;)e=u(E(t),148),(!f.b||e.c>=f.b.c)&&(f.b=e),(!f.c||e.c<=f.c.c)&&(f.d=f.c,f.c=e),(!f.e||e.d>=f.e.d)&&(f.e=e),(!f.f||e.d<=f.f.d)&&(f.f=e);return i=new eS((Zm(),tw)),J7(n,OZn,new Fu(S(C(lj,1),Rn,382,0,[i]))),s=new eS(O0),J7(n,IZn,new Fu(S(C(lj,1),Rn,382,0,[s]))),r=new eS(I0),J7(n,PZn,new Fu(S(C(lj,1),Rn,382,0,[r]))),c=new eS(d2),J7(n,SZn,new Fu(S(C(lj,1),Rn,382,0,[c]))),pR(i.c,tw),pR(r.c,I0),pR(c.c,d2),pR(s.c,O0),f.a.c.length=0,hi(f.a,i.c),hi(f.a,Qo(r.c)),hi(f.a,c.c),hi(f.a,Qo(s.c)),f}function bAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;for(e.Ug(PVn,1),p=$(B(z(n,(_h(),X0)))),s=$(B(z(n,(Bf(),h9)))),f=u(z(n,f9),107),LQ((!n.a&&(n.a=new q(Ye,n,10,11)),n.a)),a=fGn((!n.a&&(n.a=new q(Ye,n,10,11)),n.a),p,s),!n.a&&(n.a=new q(Ye,n,10,11)),l=new M(a);l.a<l.c.c.length;)for(h=u(E(l),186),r=new M(h.a);r.a<r.c.c.length;)i=u(E(r),172),g=new eJ(i.s,i.t,$(B(z(n,h9)))),BQ(g,i),nn(h.d,g);d=rFn(a,s),m=y.Math.max(d.a,$(B(z(n,s9)))-(f.b+f.c)),c=y.Math.max(d.b,$(B(z(n,UO)))-(f.d+f.a)),t=c-d.b,ht(n,u9,t),ht(n,Nv,m),ht(n,o9,c+t),ht(n,GO,a),e.Vg()}function wAe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k;for(l=new rh,a=new rh,m=new rh,k=new rh,h=$(B(v(e,(cn(),bw)))),c=$(B(v(e,Ws))),f=new M(t);f.a<f.c.c.length;)if(s=u(E(f),10),d=u(v(s,(W(),gc)),64),d==(en(),Xn))for(a.a.zc(s,a),r=new ie(ce(ji(s).a.Kc(),new En));pe(r);)i=u(fe(r),18),fi(l,i.c.i);else if(d==ae)for(k.a.zc(s,k),r=new ie(ce(ji(s).a.Kc(),new En));pe(r);)i=u(fe(r),18),fi(m,i.c.i);l.a.gc()!=0&&(g=new lD(2,c),p=Qen(g,e,l,a,-h-e.c.b),p>0&&(n.a=h+(p-1)*c,e.c.b+=n.a,e.f.b+=n.a)),m.a.gc()!=0&&(g=new lD(1,c),p=Qen(g,e,m,k,e.f.b+h-e.c.b),p>0&&(e.f.b+=h+(p-1)*c))}function gGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;for(a=$(B(v(n,(cn(),dw)))),i=$(B(v(n,phn))),g=new _A,U(g,dw,a+i),l=e,P=l.d,k=l.c.i,O=l.d.i,j=yX(k.c),A=yX(O.c),r=new Z,d=j;d<=A;d++)f=new Cl(n),Ha(f,(Vn(),Ti)),U(f,(W(),st),l),U(f,_t,(Ai(),qc)),U(f,yO,g),p=u(sn(n.b,d),30),d==j?u0(f,p.a.c.length-t,p):$i(f,p),D=$(B(v(l,m1))),D<0&&(D=0,U(l,m1,D)),f.o.b=D,m=y.Math.floor(D/2),s=new Ic,gi(s,(en(),Wn)),ic(s,f),s.n.b=m,h=new Ic,gi(h,Zn),ic(h,f),h.n.b=m,Oi(l,s),c=new yb,Ur(c,l),U(c,Rr,null),Zi(c,h),Oi(c,P),ike(f,l,c),Bn(r.c,c),l=c;return r}function XR(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(h=u(h1(n,(en(),Wn)).Kc().Pb(),12).e,p=u(h1(n,Zn).Kc().Pb(),12).g,f=h.c.length,A=Of(u(sn(n.j,0),12));f-- >0;){for(k=(Nn(0,h.c.length),u(h.c[0],18)),r=(Nn(0,p.c.length),u(p.c[0],18)),O=r.d.e,c=qr(O,r,0),Kpe(k,r.d,c),Zi(r,null),Oi(r,null),m=k.a,e&&Re(m,new rr(A)),i=ge(r.a,0);i.b!=i.d.c;)t=u(be(i),8),Re(m,new rr(t));for(P=k.b,g=new M(r.b);g.a<g.c.c.length;)d=u(E(g),72),Bn(P.c,d);if(j=u(v(k,(cn(),Rr)),75),s=u(v(r,Rr),75),s)for(j||(j=new Tu,U(k,Rr,j)),a=ge(s,0);a.b!=a.d.c;)l=u(be(a),8),Re(j,new rr(l))}}function gAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;if(k=e.b.c.length,!(k<3)){for(p=F(ye,_e,28,k,15,1),d=0,a=new M(e.b);a.a<a.c.c.length;)l=u(E(a),30),p[d++]=l.a.c.length;for(g=new xi(e.b,2),i=1;i<k-1;i++)for(t=(oe(g.b<g.d.gc()),u(g.d.Xb(g.c=g.b++),30)),m=new M(t.a),c=0,f=0,h=0;h<p[i+1];h++)if(A=u(E(m),10),h==p[i+1]-1||dnn(n,A,i+1,i)){for(s=p[i]-1,dnn(n,A,i+1,i)&&(s=n.c.e[u(u(u(sn(n.c.b,A.p),15).Xb(0),42).a,10).p]);f<=h;){if(O=u(sn(t.a,f),10),!dnn(n,O,i+1,i))for(P=u(sn(n.c.b,O.p),15).Kc();P.Ob();)j=u(P.Pb(),42),r=n.c.e[u(j.a,10).p],(r<c||r>s)&&fi(n.b,u(j.b,18));++f}c=s}}}function Ven(n,e){var t;if(e==null||Sn(e,gu)||e.length==0&&n.k!=(l1(),L3))return null;switch(n.k.g){case 1:return JC(e,Z4)?(_n(),uv):JC(e,cF)?(_n(),pa):null;case 2:try{return Y(So(e,Wi,et))}catch(i){if(i=Ot(i),L(i,130))return null;throw T(i)}case 4:try{return s0(e)}catch(i){if(i=Ot(i),L(i,130))return null;throw T(i)}case 3:return e;case 5:return xRn(n),J_n(n,e);case 6:return xRn(n),wTe(n,n.a,e);case 7:try{return t=CMe(n),t.cg(e),t}catch(i){if(i=Ot(i),L(i,33))return null;throw T(i)}default:throw T(new Ar("Invalid type set for this layout option."))}}function Wen(n){var e;switch(n.d){case 1:{if(n.Sj())return n.o!=-2;break}case 2:{if(n.Sj())return n.o==-2;break}case 3:case 5:case 4:case 6:case 7:return n.o>-2;default:return!1}switch(e=n.Rj(),n.p){case 0:return e!=null&&on(un(e))!=j6(n.k,0);case 1:return e!=null&&u(e,222).a!=Se(n.k)<<24>>24;case 2:return e!=null&&u(e,180).a!=(Se(n.k)&ui);case 6:return e!=null&&j6(u(e,168).a,n.k);case 5:return e!=null&&u(e,17).a!=Se(n.k);case 7:return e!=null&&u(e,191).a!=Se(n.k)<<16>>16;case 3:return e!=null&&$(B(e))!=n.j;case 4:return e!=null&&u(e,161).a!=n.j;default:return e==null?n.n!=null:!ct(e,n.n)}}function gy(n,e,t){var i,r,c,s;return n.ol()&&n.nl()&&(s=cD(n,u(t,58)),x(s)!==x(t))?(n.xj(e),n.Dj(e,vDn(n,e,s)),n.al()&&(c=(r=u(t,54),n.ml()?n.kl()?r.Th(n.b,br(u($n(au(n.b),n.Lj()),19)).n,u($n(au(n.b),n.Lj()).Hk(),29).kk(),null):r.Th(n.b,At(r.Dh(),br(u($n(au(n.b),n.Lj()),19))),null,null):r.Th(n.b,-1-n.Lj(),null,null)),!u(s,54).Ph()&&(c=(i=u(s,54),n.ml()?n.kl()?i.Rh(n.b,br(u($n(au(n.b),n.Lj()),19)).n,u($n(au(n.b),n.Lj()).Hk(),29).kk(),c):i.Rh(n.b,At(i.Dh(),br(u($n(au(n.b),n.Lj()),19))),null,c):i.Rh(n.b,-1-n.Lj(),null,c))),c&&c.oj()),fo(n.b)&&n.Jj(n.Ij(9,t,s,e,!1)),s):t}function pGn(n){var e,t,i,r,c,s,f,h,l,a;for(i=new Z,s=new M(n.e.a);s.a<s.c.c.length;){for(r=u(E(s),125),a=0,r.k.c.length=0,t=new M(xg(r));t.a<t.c.c.length;)e=u(E(t),218),e.f&&(nn(r.k,e),++a);a==1&&Bn(i.c,r)}for(c=new M(i);c.a<c.c.c.length;)for(r=u(E(c),125);r.k.c.length==1;){for(l=u(E(new M(r.k)),218),n.b[l.c]=l.g,f=l.d,h=l.e,t=new M(xg(r));t.a<t.c.c.length;)e=u(E(t),218),ct(e,l)||(e.f?f==e.d||h==e.e?n.b[l.c]-=n.b[e.c]-e.g:n.b[l.c]+=n.b[e.c]-e.g:r==f?e.d==r?n.b[l.c]+=e.g:n.b[l.c]-=e.g:e.d==r?n.b[l.c]-=e.g:n.b[l.c]+=e.g);du(f.k,l),du(h.k,l),f==r?r=l.e:r=l.d}}function mGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(t=u(Mr(n.b,e),127),h=u(u(ot(n.r,e),21),87),h.dc()){t.n.b=0,t.n.c=0;return}for(l=n.u.Hc((zu(),Rl)),s=0,f=h.Kc(),a=null,d=0,g=0;f.Ob();)i=u(f.Pb(),117),r=$(B(i.b.of((BM(),bI)))),c=i.b.Mf().a,n.A.Hc((go(),Gd))&&Xqn(n,e),a?(p=g+a.d.c+n.w+i.d.b,s=y.Math.max(s,(Cf(),Fs(_f),y.Math.abs(d-r)<=_f||d==r||isNaN(d)&&isNaN(r)?0:p/(r-d)))):n.C&&n.C.b>0&&(s=y.Math.max(s,yxn(n.C.b+i.d.b,r))),a=i,d=r,g=c;n.C&&n.C.c>0&&(p=g+n.C.c,l&&(p+=a.d.c),s=y.Math.max(s,(Cf(),Fs(_f),y.Math.abs(d-1)<=_f||d==1||isNaN(d)&&isNaN(1)?0:p/(1-d)))),t.n.b=0,t.a.a=s}function vGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(t=u(Mr(n.b,e),127),h=u(u(ot(n.r,e),21),87),h.dc()){t.n.d=0,t.n.a=0;return}for(l=n.u.Hc((zu(),Rl)),s=0,n.A.Hc((go(),Gd))&&Vqn(n,e),f=h.Kc(),a=null,g=0,d=0;f.Ob();)i=u(f.Pb(),117),c=$(B(i.b.of((BM(),bI)))),r=i.b.Mf().b,a?(p=d+a.d.a+n.w+i.d.d,s=y.Math.max(s,(Cf(),Fs(_f),y.Math.abs(g-c)<=_f||g==c||isNaN(g)&&isNaN(c)?0:p/(c-g)))):n.C&&n.C.d>0&&(s=y.Math.max(s,yxn(n.C.d+i.d.d,c))),a=i,g=c,d=r;n.C&&n.C.a>0&&(p=d+n.C.a,l&&(p+=a.d.a),s=y.Math.max(s,(Cf(),Fs(_f),y.Math.abs(g-1)<=_f||g==1||isNaN(g)&&isNaN(1)?0:p/(1-g)))),t.n.d=0,t.a.b=s}function pAe(n,e,t,i,r,c,s,f){var h,l,a,d,g,p,m,k,j,P;if(m=!1,l=ten(t.q,e.f+e.b-t.q.f),p=i.f>e.b&&f,P=r-(t.q.e+l-s),d=(h=q5(i,P,!1),h.a),p&&d>i.f)return!1;if(p){for(g=0,j=new M(e.d);j.a<j.c.c.length;)k=u(E(j),315),g+=ten(k,i.f)+s;P=r-g}return P<i.g||(a=c==n.c.length-1&&P>=(Nn(c,n.c.length),u(n.c[c],186)).e,!p&&d>e.b&&!a)?!1:((a||p||d<=e.b)&&(a&&d>e.b?(t.d=d,ck(t,r_n(t,d))):(jFn(t.q,l),t.c=!0),ck(i,r-(t.s+t.r)),_k(i,t.q.e+t.q.d,e.f),wC(e,i),n.c.length>c&&(Uk((Nn(c,n.c.length),u(n.c[c],186)),i),(Nn(c,n.c.length),u(n.c[c],186)).a.c.length==0&&Yl(n,c)),m=!0),m)}function kGn(n,e,t){var i,r,c,s,f,h;for(this.g=n,f=e.d.length,h=t.d.length,this.d=F(Qh,b1,10,f+h,0,1),s=0;s<f;s++)this.d[s]=e.d[s];for(c=0;c<h;c++)this.d[f+c]=t.d[c];if(e.e){if(this.e=$7(e.e),this.e.Mc(t),t.e)for(r=t.e.Kc();r.Ob();)i=u(r.Pb(),239),i!=e&&(this.e.Hc(i)?--i.c:this.e.Fc(i))}else t.e&&(this.e=$7(t.e),this.e.Mc(e));this.f=e.f+t.f,this.a=e.a+t.a,this.a>0?m$(this,this.f/this.a):Sf(e.g,e.d[0]).a!=null&&Sf(t.g,t.d[0]).a!=null?m$(this,($(Sf(e.g,e.d[0]).a)+$(Sf(t.g,t.d[0]).a))/2):Sf(e.g,e.d[0]).a!=null?m$(this,Sf(e.g,e.d[0]).a):Sf(t.g,t.d[0]).a!=null&&m$(this,Sf(t.g,t.d[0]).a)}function mAe(n,e){var t,i,r,c,s,f,h,l,a,d;for(n.a=new YIn(n6e(k9)),i=new M(e.a);i.a<i.c.c.length;){for(t=u(E(i),855),f=new vx(S(C(M_,1),Rn,86,0,[])),nn(n.a.a,f),l=new M(t.d);l.a<l.c.c.length;)h=u(E(l),116),a=new WX(n,h),Yen(a,u(v(t.c,(W(),Dl)),21)),Zc(n.g,t)||(Ve(n.g,t,new V(h.c,h.d)),Ve(n.f,t,a)),nn(n.a.b,a),_D(f,a);for(s=new M(t.b);s.a<s.c.c.length;)c=u(E(s),602),a=new WX(n,c.Df()),Ve(n.b,c,new bi(f,a)),Yen(a,u(v(t.c,(W(),Dl)),21)),c.Bf()&&(d=new cZ(n,c.Bf(),1),Yen(d,u(v(t.c,Dl),21)),r=new vx(S(C(M_,1),Rn,86,0,[])),_D(r,d),In(n.c,c.Af(),new bi(f,d)))}return n.a}function yGn(n){var e;this.a=n,e=(Vn(),S(C(A_,1),G,273,0,[Xt,Ti,Zt,_c,Sc,Gf])).length,this.b=Wa(Gq,[J,krn],[601,149],0,[e,e],2),this.c=Wa(Gq,[J,krn],[601,149],0,[e,e],2),PD(this,Xt,(cn(),bw),S2),s5(this,Xt,Ti,dw,Kd),U7(this,Xt,_c,dw),U7(this,Xt,Zt,dw),s5(this,Xt,Sc,bw,S2),PD(this,Ti,Ws,T2),U7(this,Ti,_c,Ws),U7(this,Ti,Zt,Ws),s5(this,Ti,Sc,dw,Kd),lCn(this,_c,Ws),U7(this,_c,Zt,Ws),U7(this,_c,Sc,IH),lCn(this,Zt,G8),s5(this,Zt,Sc,Sv,Cv),PD(this,Sc,Ws,Ws),PD(this,Gf,Ws,T2),s5(this,Gf,Xt,dw,Kd),s5(this,Gf,Sc,dw,Kd),s5(this,Gf,Ti,dw,Kd)}function vAe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(s=t.Lk(),L(s,102)&&u(s,19).Bb&hr&&(g=u(t.md(),54),k=ta(n.e,g),k!=g)){if(a=Rh(s,k),P6(n,e,Jx(n,e,a)),d=null,fo(n.e)&&(i=Qg((Lu(),zi),n.e.Dh(),s),i!=$n(n.e.Dh(),n.c))){for(j=ru(n.e.Dh(),s),f=0,c=u(n.g,124),h=0;h<e;++h)r=c[h],j.am(r.Lk())&&++f;d=new GD(n.e,9,i,g,k,f,!1),d.nj(new ml(n.e,9,n.c,t,a,e,!1))}return m=u(s,19),p=br(m),p?(d=g.Th(n.e,At(g.Dh(),p),null,d),d=u(k,54).Rh(n.e,At(k.Dh(),p),null,d)):m.Bb&kc&&(l=-1-At(n.e.Dh(),m),d=g.Th(n.e,l,null,null),!u(k,54).Ph()&&(d=u(k,54).Rh(n.e,l,null,d))),d&&d.oj(),a}return t}function kAe(n){var e,t,i;for(Dg(Na,S(C(a2,1),Rn,134,0,[new iG])),t=new hG(n),i=0;i<t.a.length;++i)e=Jw(t,i).te().a,Sn(e,"layered")?Dg(Na,S(C(a2,1),Rn,134,0,[new n8n])):Sn(e,"force")?Dg(Na,S(C(a2,1),Rn,134,0,[new N5n])):Sn(e,"stress")?Dg(Na,S(C(a2,1),Rn,134,0,[new $5n])):Sn(e,"mrtree")?Dg(Na,S(C(a2,1),Rn,134,0,[new s8n])):Sn(e,"radial")?Dg(Na,S(C(a2,1),Rn,134,0,[new b8n])):Sn(e,"disco")?Dg(Na,S(C(a2,1),Rn,134,0,[new O5n,new A5n])):Sn(e,"sporeOverlap")||Sn(e,"sporeCompaction")?Dg(Na,S(C(a2,1),Rn,134,0,[new v8n])):Sn(e,"rectpacking")&&Dg(Na,S(C(a2,1),Rn,134,0,[new g8n]))}function jGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;if(g=new rr(n.o),P=e.a/g.a,f=e.b/g.b,k=e.a-g.a,c=e.b-g.b,t)for(r=x(v(n,(cn(),_t)))===x((Ai(),qc)),m=new M(n.j);m.a<m.c.c.length;)switch(p=u(E(m),12),p.j.g){case 1:r||(p.n.a*=P);break;case 2:p.n.a+=k,r||(p.n.b*=f);break;case 3:r||(p.n.a*=P),p.n.b+=c;break;case 4:r||(p.n.b*=f)}for(l=new M(n.b);l.a<l.c.c.length;)h=u(E(l),72),a=h.n.a+h.o.a/2,d=h.n.b+h.o.b/2,j=a/g.a,s=d/g.b,j+s>=1&&(j-s>0&&d>=0?(h.n.a+=k,h.n.b+=c*s):j-s<0&&a>=0&&(h.n.a+=k*j,h.n.b+=c));n.o.a=e.a,n.o.b=e.b,U(n,(cn(),xd),(go(),i=u(of(S9),9),new _o(i,u(xs(i,i.length),9),0)))}function yAe(n,e,t,i,r,c){var s;if(!(e==null||!lx(e,Bdn,Fdn)))throw T(new Gn("invalid scheme: "+e));if(!n&&!(t!=null&&ih(t,wu(35))==-1&&t.length>0&&(zn(0,t.length),t.charCodeAt(0)!=47)))throw T(new Gn("invalid opaquePart: "+t));if(n&&!(e!=null&&t7(jA,e.toLowerCase()))&&!(t==null||!lx(t,A9,L9)))throw T(new Gn(tJn+t));if(n&&e!=null&&t7(jA,e.toLowerCase())&&!nye(t))throw T(new Gn(tJn+t));if(!u8e(i))throw T(new Gn("invalid device: "+i));if(!U6e(r))throw s=r==null?"invalid segments: null":"invalid segment: "+F6e(r),T(new Gn(s));if(!(c==null||ih(c,wu(35))==-1))throw T(new Gn("invalid query: "+c))}function jAe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;if(t.Ug("Network simplex layering",1),n.b=e,P=u(v(e,(cn(),z8)),17).a*4,j=n.b.a,j.c.length<1){t.Vg();return}for(c=kPe(n,j),k=null,r=ge(c,0);r.b!=r.d.c;){for(i=u(be(r),15),f=P*wi(y.Math.sqrt(i.gc())),s=$Pe(i),IR(gz(jhe(pz(KN(s),f),k),!0),t.eh(1)),g=n.b.b,m=new M(s.a);m.a<m.c.c.length;){for(p=u(E(m),125);g.c.length<=p.e;)ab(g,g.c.length,new Nc(n.b));a=u(p.f,10),$i(a,u(sn(g,p.e),30))}if(c.b>1)for(k=F(ye,_e,28,n.b.b.c.length,15,1),d=0,l=new M(n.b.b);l.a<l.c.c.length;)h=u(E(l),30),k[d++]=h.a.c.length}j.c.length=0,n.a=null,n.b=null,n.c=null,t.Vg()}function EAe(n,e){var t,i,r,c,s,f,h,l,a,d;for(a=new Z,d=new Mg,c=null,r=0,i=0;i<e.length;++i)switch(t=e[i],I6e(c,t)&&(r=xY(n,d,a,OO,r)),kt(t,(W(),uw))&&(c=u(v(t,uw),10)),t.k.g){case 0:for(h=MX(Mp(uc(t,(en(),Xn)),new JU));E$(h);)s=u(eQ(h),12),n.d[s.p]=r++,Bn(a.c,s);for(r=xY(n,d,a,OO,r),l=MX(Mp(uc(t,ae),new JU));E$(l);)s=u(eQ(l),12),n.d[s.p]=r++,Bn(a.c,s);break;case 3:uc(t,nln).dc()||(s=u(uc(t,nln).Xb(0),12),n.d[s.p]=r++,Bn(a.c,s)),uc(t,OO).dc()||J1(d,t);break;case 1:for(f=uc(t,(en(),Wn)).Kc();f.Ob();)s=u(f.Pb(),12),n.d[s.p]=r++,Bn(a.c,s);uc(t,Zn).Jc(new _Mn(d,t))}return xY(n,d,a,OO,r),a}function Jen(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;if(e==null||e.length==0)return null;if(c=u(Dc(n.f,e),23),!c){for(r=(p=new ol(n.d).a.vc().Kc(),new Cw(p));r.a.Ob();)if(t=(s=u(r.a.Pb(),44),u(s.md(),23)),f=t.f,m=e.length,Sn(f.substr(f.length-m,m),e)&&(e.length==f.length||Xi(f,f.length-e.length-1)==46)){if(c)return null;c=t}if(!c){for(i=(g=new ol(n.d).a.vc().Kc(),new Cw(g));i.a.Ob();)if(t=(s=u(i.a.Pb(),44),u(s.md(),23)),d=t.g,d!=null){for(h=d,l=0,a=h.length;l<a;++l)if(f=h[l],m=e.length,Sn(f.substr(f.length-m,m),e)&&(e.length==f.length||Xi(f,f.length-e.length-1)==46)){if(c)return null;c=t}}}c&&Lr(n.f,e,c)}return c}function MAe(n,e){var t,i,r,c,s;for(t=new fg,s=!1,c=0;c<e.length;c++){if(i=(zn(c,e.length),e.charCodeAt(c)),i==32){for(QC(n,t,0),t.a+=" ",QC(n,t,0);c+1<e.length&&(zn(c+1,e.length),e.charCodeAt(c+1)==32);)++c;continue}if(s){i==39?c+1<e.length&&(zn(c+1,e.length),e.charCodeAt(c+1)==39)?(t.a+=String.fromCharCode(i),++c):s=!1:t.a+=String.fromCharCode(i);continue}if(ih("GyMLdkHmsSEcDahKzZv",wu(i))>0){QC(n,t,0),t.a+=String.fromCharCode(i),r=U8e(e,c),QC(n,t,r),c+=r-1;continue}i==39?c+1<e.length&&(zn(c+1,e.length),e.charCodeAt(c+1)==39)?(t.a+="'",++c):s=!0:t.a+=String.fromCharCode(i)}QC(n,t,0),jye(n)}function TAe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(A=CPn(n),h=new Z,c=n.c.length,l=c-1,a=c+1;A.a.gc()!=0;){for(;t.b!=0;)P=(oe(t.b!=0),u(Xo(t,t.a.a),118)),A.a.Bc(P)!=null,P.g=l--,Ren(P,e,t,i);for(;e.b!=0;)O=(oe(e.b!=0),u(Xo(e,e.a.a),118)),A.a.Bc(O)!=null,O.g=a++,Ren(O,e,t,i);for(f=Wi,k=A.a.ec().Kc();k.Ob();){if(m=u(k.Pb(),118),!i&&m.b>0&&m.a<=0){h.c.length=0,Bn(h.c,m);break}p=m.i-m.d,p>=f&&(p>f&&(h.c.length=0,f=p),Bn(h.c,m))}h.c.length!=0&&(s=u(sn(h,cS(r,h.c.length)),118),A.a.Bc(s)!=null,s.g=a++,Ren(s,e,t,i),h.c.length=0)}for(j=n.c.length+1,g=new M(n);g.a<g.c.c.length;)d=u(E(g),118),d.g<c&&(d.g=d.g+j)}function EGn(n,e,t){var i,r,c,s;this.j=n,this.e=zZ(n),this.o=this.j.e,this.i=!!this.o,this.p=this.i?u(sn(t,Hi(this.o).p),219):null,r=u(v(n,(W(),Hc)),21),this.g=r.Hc((pr(),cs)),this.b=new Z,this.d=new DKn(this.e),s=u(v(this.j,P3),234),this.q=Sve(e,s,this.e),this.k=new MAn(this),c=Af(S(C(nne,1),Rn,230,0,[this,this.d,this.k,this.q])),e==(Ib(),Oj)&&!on(un(v(n,(cn(),fw))))?(i=new WZ(this.e),Bn(c.c,i),this.c=new gJ(i,s,u(this.q,413))):e==Oj&&on(un(v(n,(cn(),fw))))?(i=new WZ(this.e),Bn(c.c,i),this.c=new wxn(i,s,u(this.q,413))):this.c=new FMn(e,this),nn(c,this.c),uGn(c,this.e),this.s=aNe(this.k)}function CAe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j;for(c=new Z,l=new M(i);l.a<l.c.c.length;)if(f=u(E(l),452),s=null,f.f==(gr(),Jc))for(m=new M(f.e);m.a<m.c.c.length;)p=u(E(m),18),j=p.d.i,Hi(j)==e?M$n(n,e,f,p,f.b,p.d):!t||Jm(j,t)?tje(n,e,f,i,p):(g=qR(n,e,t,p,f.b,Jc,s),g!=s&&Bn(c.c,g),g.c&&(s=g));else for(d=new M(f.e);d.a<d.c.c.length;)if(a=u(E(d),18),k=a.c.i,Hi(k)==e)M$n(n,e,f,a,a.c,f.b);else{if(!t||Jm(k,t))continue;g=qR(n,e,t,a,f.b,Vu,s),g!=s&&Bn(c.c,g),g.c&&(s=g)}for(h=new M(c);h.a<h.c.c.length;)f=u(E(h),452),qr(e.a,f.a,0)!=-1||nn(e.a,f.a),f.c&&Bn(r.c,f)}function MGn(n){var e,t,i,r,c,s,f;for(e=0,c=new M(n.b.a);c.a<c.c.c.length;)i=u(E(c),194),i.b=0,i.c=0;for(t_n(n,0),ax(n,n.g),IS(n.c),az(n.c),t=(ci(),Kr),ly(nN(Yg(ly(nN(Yg(ly(Yg(n.c,t)),wKn(t)))),t))),Yg(n.c,Kr),ux(n,n.g),HFn(n,0),tGn(n,0),RHn(n,1),t_n(n,1),ax(n,n.d),IS(n.c),s=new M(n.b.a);s.a<s.c.c.length;)i=u(E(s),194),e+=y.Math.abs(i.c);for(f=new M(n.b.a);f.a<f.c.c.length;)i=u(E(f),194),i.b=0,i.c=0;for(t=us,ly(nN(Yg(ly(nN(Yg(ly(az(Yg(n.c,t))),wKn(t)))),t))),Yg(n.c,Kr),ux(n,n.d),HFn(n,1),tGn(n,1),RHn(n,0),az(n.c),r=new M(n.b.a);r.a<r.c.c.length;)i=u(E(r),194),e+=y.Math.abs(i.c);return e}function SAe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(on(un(v(t,(cn(),B0)))))for(f=new M(t.j);f.a<f.c.c.length;)for(s=u(E(f),12),g=hh(s.g),l=g,a=0,d=l.length;a<d;++a)h=l[a],c=h.d.i==t,r=c&&on(un(v(h,Dd))),r&&(m=h.c,p=u(ee(n.b,m),10),p||(p=py(m,(Ai(),Qf),m.j,-1,null,null,m.o,u(v(e,Lo),88),e),U(p,(W(),st),m),Ve(n.b,m,p),nn(e.a,p)),j=h.d,k=u(ee(n.b,j),10),k||(k=py(j,(Ai(),Qf),j.j,1,null,null,j.o,u(v(e,Lo),88),e),U(k,(W(),st),j),Ve(n.b,j,k),nn(e.a,k)),i=JD(h),Zi(i,u(sn(p.j,0),12)),Oi(i,u(sn(k.j,0),12)),In(n.a,h,new GM(i,e,(gr(),Jc))),u(v(e,(W(),Hc)),21).Fc((pr(),cs)))}function PAe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(r=new M(n.a.b);r.a<r.c.c.length;)for(t=u(E(r),30),h=new M(t.a);h.a<h.c.c.length;)f=u(E(h),10),e.j[f.p]=f,e.i[f.p]=e.o==(If(),Xf)?li:Pt;for(Hu(n.c),s=n.a.b,e.c==(fh(),y1)&&(s=Qo(s)),Ope(n.e,e,n.b),u7(e.p,null),c=s.Kc();c.Ob();)for(t=u(c.Pb(),30),l=t.a,e.o==(If(),Xf)&&(l=Qo(l)),g=l.Kc();g.Ob();)d=u(g.Pb(),10),e.g[d.p]==d&&ozn(n,d,e);for(uAe(n,e),i=s.Kc();i.Ob();)for(t=u(i.Pb(),30),g=new M(t.a);g.a<g.c.c.length;)d=u(E(g),10),e.p[d.p]=e.p[e.g[d.p].p],d==e.g[d.p]&&(a=$(e.i[e.j[d.p].p]),(e.o==(If(),Xf)&&a>li||e.o==Bd&&a<Pt)&&(e.p[d.p]=$(e.p[d.p])+a));n.e.xg()}function IAe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;for(t.Ug("Label dummy switching",1),i=u(v(e,(cn(),dO)),232),vve(e),r=sTe(e,i),n.a=F(Ii,Cr,28,e.b.c.length,15,1),f=(Yp(),S(C(bv,1),G,232,0,[dv,L8,av,D0,p2,g2])),a=0,p=f.length;a<p;++a)if(c=f[a],(c==p2||c==g2||c==D0)&&!u(Su(r.a,c)?r.b[c.g]:null,15).dc()){Mve(n,e);break}for(h=S(C(bv,1),G,232,0,[dv,L8,av,D0,p2,g2]),d=0,m=h.length;d<m;++d)c=h[d],c==p2||c==g2||c==D0||hUn(n,u(Su(r.a,c)?r.b[c.g]:null,15));for(s=S(C(bv,1),G,232,0,[dv,L8,av,D0,p2,g2]),l=0,g=s.length;l<g;++l)c=s[l],(c==p2||c==g2||c==D0)&&hUn(n,u(Su(r.a,c)?r.b[c.g]:null,15));n.a=null,t.Vg()}function TGn(n,e){var t,i,r,c,s,f,h,l,a;if(l=e,!(l.b==null||n.b==null)){for(Gg(n),U5(n),Gg(l),U5(l),t=F(ye,_e,28,n.b.length+l.b.length,15,1),a=0,i=0,s=0;i<n.b.length&&s<l.b.length;)if(r=n.b[i],c=n.b[i+1],f=l.b[s],h=l.b[s+1],c<f)i+=2;else if(c>=f&&r<=h)f<=r&&c<=h?(t[a++]=r,t[a++]=c,i+=2):f<=r?(t[a++]=r,t[a++]=h,n.b[i]=h+1,s+=2):c<=h?(t[a++]=f,t[a++]=c,i+=2):(t[a++]=f,t[a++]=h,n.b[i]=h+1);else if(h<r)s+=2;else throw T(new ec("Token#intersectRanges(): Internal Error: ["+n.b[i]+","+n.b[i+1]+"] & ["+l.b[s]+","+l.b[s+1]+"]"));for(;i<n.b.length;)t[a++]=n.b[i++],t[a++]=n.b[i++];n.b=F(ye,_e,28,a,15,1),Oc(t,0,n.b,0,a)}}function OAe(n){var e,t,i,r,c,s,f;for(e=new Z,n.g=new Z,n.d=new Z,s=new sd(new Ua(n.f.b).a);s.b;)c=Ab(s),nn(e,u(u(c.md(),42).b,86)),hl(u(c.ld(),602).Af())?nn(n.d,u(c.md(),42)):nn(n.g,u(c.md(),42));for(ax(n,n.d),ax(n,n.g),n.c=new Z_n(n.b),Mhe(n.c,(Az(),jZn)),ux(n,n.d),ux(n,n.g),hi(e,n.c.a.b),n.e=new V(Pt,Pt),n.a=new V(li,li),i=new M(e);i.a<i.c.c.length;)t=u(E(i),86),n.e.a=y.Math.min(n.e.a,t.g.c),n.e.b=y.Math.min(n.e.b,t.g.d),n.a.a=y.Math.max(n.a.a,t.g.c+t.g.b),n.a.b=y.Math.max(n.a.b,t.g.d+t.g.a);vz(n.c,new Jwn),f=0;do r=MGn(n),++f;while((f<2||r>ha)&&f<10);vz(n.c,new Qwn),MGn(n),p0e(n.c),aAe(n.f)}function AAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(t=u(v(n,(cn(),_t)),101),s=n.f,c=n.d,f=s.a+c.b+c.c,h=0-c.d-n.c.b,a=s.b+c.d+c.a-n.c.b,l=new Z,d=new Z,r=new M(e);r.a<r.c.c.length;){switch(i=u(E(r),10),t.g){case 1:case 2:case 3:vCe(i);break;case 4:g=u(v(i,aw),8),p=g?g.a:0,i.n.a=f*$(B(v(i,(W(),ow))))-p,OC(i,!0,!1);break;case 5:m=u(v(i,aw),8),k=m?m.a:0,i.n.a=$(B(v(i,(W(),ow))))-k,OC(i,!0,!1),s.a=y.Math.max(s.a,i.n.a+i.o.a/2)}switch(u(v(i,(W(),gc)),64).g){case 1:i.n.b=h,Bn(l.c,i);break;case 3:i.n.b=a,Bn(d.c,i)}}switch(t.g){case 1:case 2:rKn(l,n),rKn(d,n);break;case 3:cKn(l,n),cKn(d,n)}}function LAe(n,e){var t,i,r,c,s,f,h,l,a,d,g;switch(n.k.g){case 1:if(i=u(v(n,(W(),st)),18),t=u(v(i,tfn),75),t?on(un(v(i,zf)))&&(t=Sk(t)):t=new Tu,l=u(v(n,yf),12),l){if(a=cc(S(C(Ei,1),J,8,0,[l.i.n,l.n,l.a])),e<=a.a)return a.b;xt(t,a,t.a,t.a.a)}if(d=u(v(n,Es),12),d){if(g=cc(S(C(Ei,1),J,8,0,[d.i.n,d.n,d.a])),g.a<=e)return g.b;xt(t,g,t.c.b,t.c)}if(t.b>=2){for(h=ge(t,0),s=u(be(h),8),f=u(be(h),8);f.a<e&&h.b!=h.d.c;)s=f,f=u(be(h),8);return s.b+(e-s.a)/(f.a-s.a)*(f.b-s.b)}break;case 3:switch(c=u(v(u(sn(n.j,0),12),(W(),st)),12),r=c.i,c.j.g){case 1:return r.n.b;case 3:return r.n.b+r.o.b}}return RZ(n).b}function NAe(n){var e,t,i,r,c,s,f,h,l,a,d;for(s=new M(n.d.b);s.a<s.c.c.length;)for(c=u(E(s),30),h=new M(c.a);h.a<h.c.c.length;){if(f=u(E(h),10),on(un(v(f,(cn(),_8))))&&!Nm(Ml(f))){i=u(Cge(Ml(f)),18),a=i.c.i,a==f&&(a=i.d.i),d=new bi(a,mi(Fi(f.n),a.n)),Ve(n.b,f,d);continue}r=new Ho(f.n.a-f.d.b,f.n.b-f.d.d,f.o.a+f.d.b+f.d.c,f.o.b+f.d.d+f.d.a),e=nSn(oMn(cMn(uMn(new XG,f),r),YZn),n.a),ZCn(Jhe(G$n(new zG,S(C(aI,1),Rn,60,0,[e])),e),n.a),l=new rL,Ve(n.e,e,l),t=wl(new ie(ce(ji(f).a.Kc(),new En)))-wl(new ie(ce(Qt(f).a.Kc(),new En))),t<0?Tk(l,!0,(ci(),Kr)):t>0&&Tk(l,!0,(ci(),Xr)),f.k==(Vn(),Zt)&&oOn(l),Ve(n.f,f,e)}}function DAe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;for(r=u(v(n,(pt(),r9)),27),l=et,a=et,f=Wi,h=Wi,A=ge(n.b,0);A.b!=A.d.c;)P=u(be(A),39),p=P.e,m=P.f,l=y.Math.min(l,p.a-m.a/2),a=y.Math.min(a,p.b-m.b/2),f=y.Math.max(f,p.a+m.a/2),h=y.Math.max(h,p.b+m.b/2);for(g=u(z(r,(lc(),Pln)),107),O=ge(n.b,0);O.b!=O.d.c;)P=u(be(O),39),d=v(P,r9),L(d,207)&&(c=u(d,27),Bo(c,P.e.a,P.e.b),cy(c,P));for(j=ge(n.a,0);j.b!=j.d.c;)k=u(be(j),65),i=u(v(k,r9),74),i&&(e=k.a,t=Xg(i,!0,!0),ay(e,t));D=f-l+(g.b+g.c),s=h-a+(g.d+g.a),on(un(z(r,(He(),V0))))||qb(r,D,s,!1,!1),ht(r,K2,D-(g.b+g.c)),ht(r,R2,s-(g.d+g.a))}function CGn(n,e){var t,i,r,c,s,f,h,l,a,d;for(h=!0,r=0,l=n.g[e.p],a=e.o.b+n.o,t=n.d[e.p][2],Go(n.b,l,Y(u(sn(n.b,l),17).a-1+t)),Go(n.c,l,$(B(sn(n.c,l)))-a+t*n.f),++l,l>=n.j?(++n.j,nn(n.b,Y(1)),nn(n.c,a)):(i=n.d[e.p][1],Go(n.b,l,Y(u(sn(n.b,l),17).a+1-i)),Go(n.c,l,$(B(sn(n.c,l)))+a-i*n.f)),(n.r==(ps(),Sj)&&(u(sn(n.b,l),17).a>n.k||u(sn(n.b,l-1),17).a>n.k)||n.r==Pj&&($(B(sn(n.c,l)))>n.n||$(B(sn(n.c,l-1)))>n.n))&&(h=!1),s=new ie(ce(ji(e).a.Kc(),new En));pe(s);)c=u(fe(s),18),f=c.c.i,n.g[f.p]==l&&(d=CGn(n,f),r=r+u(d.a,17).a,h=h&&on(un(d.b)));return n.g[e.p]=l,r=r+n.d[e.p][0],new bi(Y(r),(_n(),!!h))}function SGn(n,e){var t,i,r,c,s;t=$(B(v(e,(cn(),Ws)))),t<2&&U(e,Ws,2),i=u(v(e,Lo),88),i==(ci(),Jf)&&U(e,Lo,FC(e)),r=u(v(e,Ute),17),r.a==0?U(e,(W(),P3),new dx):U(e,(W(),P3),new qT(r.a)),c=un(v(e,q8)),c==null&&U(e,q8,(_n(),x(v(e,$l))===x((El(),Kv)))),Ut(new Cn(null,new On(e.a,16)),new IG(n)),Ut(rc(new Cn(null,new On(e.b,16)),new FU),new OG(n)),s=new yGn(e),U(e,(W(),E2),s),H7(n.a),hf(n.a,(Vi(),Vs),u(v(e,Nd),188)),hf(n.a,Jh,u(v(e,$d),188)),hf(n.a,Ac,u(v(e,H8),188)),hf(n.a,Fc,u(v(e,vO),188)),hf(n.a,zr,Dve(u(v(e,$l),223))),EX(n.a,INe(e)),U(e,bH,wy(n.a,e))}function Qen(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P;for(d=new de,s=new Z,T_n(n,t,n.d.Ag(),s,d),T_n(n,i,n.d.Bg(),s,d),n.b=.2*(k=AHn(rc(new Cn(null,new On(s,16)),new x3n)),j=AHn(rc(new Cn(null,new On(s,16)),new R3n)),y.Math.min(k,j)),c=0,f=0;f<s.c.length-1;f++)for(h=(Nn(f,s.c.length),u(s.c[f],118)),m=f+1;m<s.c.length;m++)c+=Uen(n,h,(Nn(m,s.c.length),u(s.c[m],118)));for(g=u(v(e,(W(),P3)),234),c>=2&&(P=JHn(s,!0,g),!n.e&&(n.e=new ukn(n)),F8e(n.e,P,s,n.b)),LFn(s,g),FAe(s),p=-1,a=new M(s);a.a<a.c.c.length;)l=u(E(a),118),!(y.Math.abs(l.s-l.c)<vh)&&(p=y.Math.max(p,l.o),n.d.yg(l,r,n.c));return n.d.a.a.$b(),p+1}function $Ae(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;for(d=u(NM((s=ge(new sl(e).a.d,0),new sg(s))),39),m=d?u(v(d,(pt(),cq)),39):null,r=1;d&&m;){for(h=0,D=0,t=d,i=m,f=0;f<r;f++)t=n$(t),i=n$(i),D+=$(B(v(t,(pt(),Lv)))),h+=$(B(v(i,Lv)));if(A=$(B(v(m,(pt(),j1)))),O=$(B(v(d,j1))),g=IY(n,d,m),p=A+h+n.b+g-O-D,0<p){for(l=e,a=0;l&&l!=i;)++a,l=u(v(l,$O),39);if(l)for(P=p/a,l=e;l!=i;)j=$(B(v(l,j1)))+p,U(l,j1,j),k=$(B(v(l,Lv)))+p,U(l,Lv,k),p-=P,l=u(v(l,$O),39);else return}++r,d.d.b==0?d=Ien(new sl(e),r):d=u(NM((c=ge(new sl(d).a.d,0),new sg(c))),39),m=d?u(v(d,cq),39):null}}function xAe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;return g=n.c[e],p=n.c[t],m=u(v(g,(W(),C3)),15),!!m&&m.gc()!=0&&m.Hc(p)||(k=g.k!=(Vn(),Ti)&&p.k!=Ti,j=u(v(g,uw),10),P=u(v(p,uw),10),O=j!=P,A=!!j&&j!=g||!!P&&P!=p,D=$x(g,(en(),Xn)),_=$x(p,ae),A=A|($x(g,ae)||$x(p,Xn)),X=A&&O||D||_,k&&X)||g.k==(Vn(),_c)&&p.k==Xt||p.k==(Vn(),_c)&&g.k==Xt?!1:(a=n.c[e],c=n.c[t],r=pFn(n.e,a,c,(en(),Wn)),h=pFn(n.i,a,c,Zn),aCe(n.f,a,c),l=ARn(n.b,a,c)+u(r.a,17).a+u(h.a,17).a+n.f.d,f=ARn(n.b,c,a)+u(r.b,17).a+u(h.b,17).a+n.f.b,n.a&&(d=u(v(a,st),12),s=u(v(c,st),12),i=YBn(n.g,d,s),l+=u(i.a,17).a,f+=u(i.b,17).a),l>f)}function PGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;for(l=Pt,a=Pt,f=li,h=li,g=new M(e.i);g.a<g.c.c.length;)d=u(E(g),68),r=u(u(ee(n.g,d.a),42).b,27),Bo(r,d.b.c,d.b.d),l=y.Math.min(l,r.i),a=y.Math.min(a,r.j),f=y.Math.max(f,r.i+r.g),h=y.Math.max(h,r.j+r.f);for(p=u(z(n.c,(Vk(),Qce)),107),qb(n.c,f-l+(p.b+p.c),h-a+(p.d+p.a),!0,!0),inn(n.c,-l+p.b,-a+p.d),i=new ne(DOn(n.c));i.e!=i.i.gc();)t=u(ue(i),74),s=Xg(t,!0,!0),m=Fh(t),j=ca(t),k=new V(m.i+m.g/2,m.j+m.f/2),c=new V(j.i+j.g/2,j.j+j.f/2),P=mi(new V(c.a,c.b),k),m4(P,m.g,m.f),it(k,P),O=mi(new V(k.a,k.b),c),m4(O,j.g,j.f),it(c,O),j7(s,k.a,k.b),y7(s,c.a,c.b)}function RAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;for(e.Ug("Label dummy removal",1),i=$(B(v(n,(cn(),C2)))),r=$(B(v(n,q0))),l=u(v(n,Lo),88),h=new M(n.b);h.a<h.c.c.length;)for(f=u(E(h),30),d=new xi(f.a,0);d.b<d.d.gc();)a=(oe(d.b<d.d.gc()),u(d.d.Xb(d.c=d.b++),10)),a.k==(Vn(),Sc)&&(g=u(v(a,(W(),st)),18),m=$(B(v(g,m1))),s=x(v(a,S3))===x((Co(),Pa)),t=new rr(a.n),s&&(t.b+=m+i),c=new V(a.o.a,a.o.b+(a.k==Sc&&!om(ut(u(v(a,K8),15).Oc(),new Y3(new HU))).Bd((Va(),v3))?0:-m-i)),p=u(v(a,K8),15),l==(ci(),us)||l==Wf?qMe(p,t,r,c,s,l):Q6e(p,t,r,c),hi(g.b,p),XR(a,x(v(n,$l))===x((El(),Qj))),bo(d));e.Vg()}function KAe(n){n.q||(n.q=!0,n.p=hc(n,0),n.a=hc(n,1),jt(n.a,0),n.f=hc(n,2),jt(n.f,1),Rt(n.f,2),n.n=hc(n,3),Rt(n.n,3),Rt(n.n,4),Rt(n.n,5),Rt(n.n,6),n.g=hc(n,4),jt(n.g,7),Rt(n.g,8),n.c=hc(n,5),jt(n.c,7),jt(n.c,8),n.i=hc(n,6),jt(n.i,9),jt(n.i,10),jt(n.i,11),jt(n.i,12),Rt(n.i,13),n.j=hc(n,7),jt(n.j,9),n.d=hc(n,8),jt(n.d,3),jt(n.d,4),jt(n.d,5),jt(n.d,6),Rt(n.d,7),Rt(n.d,8),Rt(n.d,9),Rt(n.d,10),n.b=hc(n,9),Rt(n.b,0),Rt(n.b,1),n.e=hc(n,10),Rt(n.e,1),Rt(n.e,2),Rt(n.e,3),Rt(n.e,4),jt(n.e,5),jt(n.e,6),jt(n.e,7),jt(n.e,8),jt(n.e,9),jt(n.e,10),Rt(n.e,11),n.k=hc(n,11),Rt(n.k,0),Rt(n.k,1),n.o=Je(n,12),n.s=Je(n,13))}function Yen(n,e){e.dc()&&Nh(n.j,!0,!0,!0,!0),ct(e,(en(),ef))&&Nh(n.j,!0,!0,!0,!1),ct(e,os)&&Nh(n.j,!1,!0,!0,!0),ct(e,Do)&&Nh(n.j,!0,!0,!1,!0),ct(e,Cs)&&Nh(n.j,!0,!1,!0,!0),ct(e,Wu)&&Nh(n.j,!1,!0,!0,!1),ct(e,ss)&&Nh(n.j,!1,!0,!1,!0),ct(e,$o)&&Nh(n.j,!0,!1,!1,!0),ct(e,tf)&&Nh(n.j,!0,!1,!0,!1),ct(e,mu)&&Nh(n.j,!0,!0,!0,!0),ct(e,su)&&Nh(n.j,!0,!0,!0,!0),ct(e,mu)&&Nh(n.j,!0,!0,!0,!0),ct(e,pu)&&Nh(n.j,!0,!0,!0,!0),ct(e,vu)&&Nh(n.j,!0,!0,!0,!0),ct(e,Ju)&&Nh(n.j,!0,!0,!0,!0),ct(e,Uc)&&Nh(n.j,!0,!0,!0,!0)}function IGn(n,e,t){var i,r,c,s,f,h,l,a,d;if(n.a!=e.jk())throw T(new Gn(nv+e.xe()+Yb));if(i=r1((Lu(),zi),e).Jl(),i)return i.jk().wi().ri(i,t);if(s=r1(zi,e).Ll(),s){if(t==null)return null;if(f=u(t,15),f.dc())return"";for(d=new Hl,c=f.Kc();c.Ob();)r=c.Pb(),Er(d,s.jk().wi().ri(s,r)),d.a+=" ";return bN(d,d.a.length-1)}if(a=r1(zi,e).Ml(),!a.dc()){for(l=a.Kc();l.Ob();)if(h=u(l.Pb(),156),h.fk(t))try{if(d=h.jk().wi().ri(h,t),d!=null)return d}catch(g){if(g=Ot(g),!L(g,103))throw T(g)}throw T(new Gn("Invalid value: '"+t+"' for datatype :"+e.xe()))}return u(e,847).ok(),t==null?null:L(t,180)?""+u(t,180).a:wo(t)==oI?MCn(O9[0],u(t,206)):Jr(t)}function BAe(n){var e,t,i,r,c,s,f,h,l,a;for(l=new Mt,f=new Mt,c=new M(n);c.a<c.c.c.length;)i=u(E(c),131),i.v=0,i.n=i.i.c.length,i.u=i.t.c.length,i.n==0&&xt(l,i,l.c.b,l.c),i.u==0&&i.r.a.gc()==0&&xt(f,i,f.c.b,f.c);for(s=-1;l.b!=0;)for(i=u(Ux(l,0),131),t=new M(i.t);t.a<t.c.c.length;)e=u(E(t),274),a=e.b,a.v=y.Math.max(a.v,i.v+1),s=y.Math.max(s,a.v),--a.n,a.n==0&&xt(l,a,l.c.b,l.c);if(s>-1){for(r=ge(f,0);r.b!=r.d.c;)i=u(be(r),131),i.v=s;for(;f.b!=0;)for(i=u(Ux(f,0),131),t=new M(i.i);t.a<t.c.c.length;)e=u(E(t),274),h=e.a,h.r.a.gc()==0&&(h.v=y.Math.min(h.v,i.v-1),--h.u,h.u==0&&xt(f,h,f.c.b,f.c))}}function FAe(n){var e,t,i,r,c,s,f,h,l,a;for(l=new Z,f=new Z,s=new M(n);s.a<s.c.c.length;)r=u(E(s),118),JA(r,r.f.c.length),SE(r,r.k.c.length),r.d==0&&Bn(l.c,r),r.i==0&&r.e.b==0&&Bn(f.c,r);for(i=-1;l.c.length!=0;)for(r=u(Yl(l,0),118),t=new M(r.k);t.a<t.c.c.length;)e=u(E(t),132),a=e.b,wG(a,y.Math.max(a.o,r.o+1)),i=y.Math.max(i,a.o),JA(a,a.d-1),a.d==0&&Bn(l.c,a);if(i>-1){for(c=new M(f);c.a<c.c.c.length;)r=u(E(c),118),r.o=i;for(;f.c.length!=0;)for(r=u(Yl(f,0),118),t=new M(r.f);t.a<t.c.c.length;)e=u(E(t),132),h=e.a,!(h.e.b>0)&&(wG(h,y.Math.min(h.o,r.o-1)),SE(h,h.i-1),h.i==0&&Bn(f.c,h))}}function OGn(n,e,t,i,r){var c,s,f,h;return h=Pt,s=!1,f=Hen(n,mi(new V(e.a,e.b),n),it(new V(t.a,t.b),r),mi(new V(i.a,i.b),t)),c=!!f&&!(y.Math.abs(f.a-n.a)<=Jb&&y.Math.abs(f.b-n.b)<=Jb||y.Math.abs(f.a-e.a)<=Jb&&y.Math.abs(f.b-e.b)<=Jb),f=Hen(n,mi(new V(e.a,e.b),n),t,r),f&&((y.Math.abs(f.a-n.a)<=Jb&&y.Math.abs(f.b-n.b)<=Jb)==(y.Math.abs(f.a-e.a)<=Jb&&y.Math.abs(f.b-e.b)<=Jb)||c?h=y.Math.min(h,U6(mi(f,t))):s=!0),f=Hen(n,mi(new V(e.a,e.b),n),i,r),f&&(s||(y.Math.abs(f.a-n.a)<=Jb&&y.Math.abs(f.b-n.b)<=Jb)==(y.Math.abs(f.a-e.a)<=Jb&&y.Math.abs(f.b-e.b)<=Jb)||c)&&(h=y.Math.min(h,U6(mi(f,i)))),h}function AGn(n){ib(n,new gd(qE(nb(Qd(Zd(Yd(new Fa,aa),PXn),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new zwn),cu))),Q(n,aa,e8,rn(Mon)),Q(n,aa,oP,(_n(),!0)),Q(n,aa,r2,rn(dZn)),Q(n,aa,d3,rn(bZn)),Q(n,aa,a3,rn(wZn)),Q(n,aa,z4,rn(aZn)),Q(n,aa,t8,rn(Con)),Q(n,aa,X4,rn(gZn)),Q(n,aa,Vtn,rn(Eon)),Q(n,aa,Jtn,rn(yon)),Q(n,aa,Qtn,rn(jon)),Q(n,aa,Ytn,rn(Ton)),Q(n,aa,Wtn,rn(EI))}function _Ae(n){var e,t,i,r,c,s,f,h;for(e=null,i=new M(n);i.a<i.c.c.length;)t=u(E(i),239),$(Sf(t.g,t.d[0]).a),t.b=null,t.e&&t.e.gc()>0&&t.c==0&&(!e&&(e=new Z),Bn(e.c,t));if(e)for(;e.c.length!=0;){if(t=u(Yl(e,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new Z),new M(t.b));c.a<c.c.c.length;)if(r=u(E(c),239),J9(Sf(r.g,r.d[0]).a)==J9(Sf(t.g,t.d[0]).a)){if(qr(n,r,0)>qr(n,t,0))return new bi(r,t)}else if($(Sf(r.g,r.d[0]).a)>$(Sf(t.g,t.d[0]).a))return new bi(r,t)}for(f=(!t.e&&(t.e=new Z),t.e).Kc();f.Ob();)s=u(f.Pb(),239),h=(!s.b&&(s.b=new Z),s.b),zw(0,h.c.length),l6(h.c,0,t),s.c==h.c.length&&Bn(e.c,s)}return null}function HAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;for(e.Ug("Interactive crossing minimization",1),s=0,c=new M(n.b);c.a<c.c.c.length;)i=u(E(c),30),i.p=s++;for(g=zZ(n),j=new yz(g.length),uGn(new Fu(S(C(nne,1),Rn,230,0,[j])),g),k=0,s=0,r=new M(n.b);r.a<r.c.c.length;){for(i=u(E(r),30),t=0,d=0,a=new M(i.a);a.a<a.c.c.length;)for(h=u(E(a),10),h.n.a>0&&(t+=h.n.a+h.o.a/2,++d),m=new M(h.j);m.a<m.c.c.length;)p=u(E(m),12),p.p=k++;for(d>0&&(t/=d),P=F(Ii,Cr,28,i.a.c.length,15,1),f=0,l=new M(i.a);l.a<l.c.c.length;)h=u(E(l),10),h.p=f++,P[h.p]=LAe(h,t),h.k==(Vn(),Ti)&&U(h,(W(),ifn),P[h.p]);Ln(),Yt(i.a,new K7n(P)),aUn(j,g,s,!0),++s}e.Vg()}function z5(n,e){var t,i,r,c,s,f,h,l,a;if(e.e==5){TGn(n,e);return}if(l=e,!(l.b==null||n.b==null)){for(Gg(n),U5(n),Gg(l),U5(l),t=F(ye,_e,28,n.b.length+l.b.length,15,1),a=0,i=0,s=0;i<n.b.length&&s<l.b.length;)if(r=n.b[i],c=n.b[i+1],f=l.b[s],h=l.b[s+1],c<f)t[a++]=n.b[i++],t[a++]=n.b[i++];else if(c>=f&&r<=h)f<=r&&c<=h?i+=2:f<=r?(n.b[i]=h+1,s+=2):c<=h?(t[a++]=r,t[a++]=f-1,i+=2):(t[a++]=r,t[a++]=f-1,n.b[i]=h+1,s+=2);else if(h<r)s+=2;else throw T(new ec("Token#subtractRanges(): Internal Error: ["+n.b[i]+","+n.b[i+1]+"] - ["+l.b[s]+","+l.b[s+1]+"]"));for(;i<n.b.length;)t[a++]=n.b[i++],t[a++]=n.b[i++];n.b=F(ye,_e,28,a,15,1),Oc(t,0,n.b,0,a)}}function LGn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(f=Xg(e,!1,!1),P=Jk(f),i&&(P=Sk(P)),A=$(B(z(e,(j5(),w_)))),j=(oe(P.b!=0),u(P.a.a.c,8)),d=u(Zo(P,1),8),P.b>2?(a=new Z,hi(a,new Jl(P,1,P.b)),c=mzn(a,A+n.a),O=new bR(c),Ur(O,e),Bn(t.c,O)):i?O=u(ee(n.b,Fh(e)),272):O=u(ee(n.b,ca(e)),272),h=Fh(e),i&&(h=ca(e)),s=_je(j,h),l=A+n.a,s.a?(l+=y.Math.abs(j.b-d.b),k=new V(d.a,(d.b+j.b)/2)):(l+=y.Math.abs(j.a-d.a),k=new V((d.a+j.a)/2,d.b)),i?Ve(n.d,e,new gZ(O,s,k,l)):Ve(n.c,e,new gZ(O,s,k,l)),Ve(n.b,e,O),m=(!e.n&&(e.n=new q(Sr,e,1,7)),e.n),p=new ne(m);p.e!=p.i.gc();)g=u(ue(p),135),r=sy(n,g,!0,0,0),Bn(t.c,r)}function qAe(n){var e,t,i,r,c,s,f;if(!n.A.dc()){if(n.A.Hc((go(),iE))&&(u(Mr(n.b,(en(),Xn)),127).k=!0,u(Mr(n.b,ae),127).k=!0,e=n.q!=(Ai(),tl)&&n.q!=qc,aG(u(Mr(n.b,Zn),127),e),aG(u(Mr(n.b,Wn),127),e),aG(n.g,e),n.A.Hc(Gd)&&(u(Mr(n.b,Xn),127).j=!0,u(Mr(n.b,ae),127).j=!0,u(Mr(n.b,Zn),127).k=!0,u(Mr(n.b,Wn),127).k=!0,n.g.k=!0)),n.A.Hc(tE))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,f=n.B.Hc((io(),P9)),r=jx(),c=0,s=r.length;c<s;++c)i=r[c],t=u(Mr(n.i,i),314),t&&(nZ(i)?(t.j=!0,t.k=!0):(t.j=!f,t.k=!f));n.A.Hc(Q0)&&n.B.Hc((io(),cE))&&(n.g.j=!0,n.g.j=!0,n.a.j||(n.a.j=!0,n.a.k=!0,n.a.e=!0))}}function UAe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;for(i=new M(n.e.b);i.a<i.c.c.length;)for(t=u(E(i),30),c=new M(t.a);c.a<c.c.c.length;)if(r=u(E(c),10),p=n.i[r.p],l=p.a.e,h=p.d.e,r.n.b=l,P=h-l-r.o.b,e=HR(r),g=(c0(),(r.q?r.q:(Ln(),Ln(),Wh))._b((cn(),lw))?d=u(v(r,lw),203):d=u(v(Hi(r),U8),203),d),e&&(g==I2||g==P2)&&(r.o.b+=P),e&&(g==RH||g==I2||g==P2)){for(k=new M(r.j);k.a<k.c.c.length;)m=u(E(k),12),(en(),su).Hc(m.j)&&(a=u(ee(n.k,m),125),m.n.b=a.e-l);for(f=new M(r.b);f.a<f.c.c.length;)s=u(E(f),72),j=u(v(r,hw),21),j.Hc((l0(),Ts))?s.n.b+=P:j.Hc(el)&&(s.n.b+=P/2);(g==I2||g==P2)&&uc(r,(en(),ae)).Jc(new nkn(P))}}function GAe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(l=new Z,h=new M(e.a);h.a<h.c.c.length;)for(s=u(E(h),10),g=uc(s,(en(),Zn)).Kc();g.Ob();)for(d=u(g.Pb(),12),r=new M(d.g);r.a<r.c.c.length;)i=u(E(r),18),!(!fr(i)&&i.c.i.c==i.d.i.c||fr(i)||i.d.i.c!=t)&&Bn(l.c,i);for(f=Qo(t.a).Kc();f.Ob();)for(s=u(f.Pb(),10),g=uc(s,(en(),Wn)).Kc();g.Ob();)for(d=u(g.Pb(),12),r=new M(d.e);r.a<r.c.c.length;)if(i=u(E(r),18),!(!fr(i)&&i.c.i.c==i.d.i.c||fr(i)||i.c.i.c!=e)&&l.c.length!=0){for(a=new xi(l,l.c.length),c=(oe(a.b>0),u(a.a.Xb(a.c=--a.b),18));c!=i&&a.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,c=(oe(a.b>0),u(a.a.Xb(a.c=--a.b),18));a.b>0&&bo(a)}}function NGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;if(!n.b)return!1;for(s=null,g=null,h=new r$(null,null),r=1,h.a[1]=n.b,d=h;d.a[r];)l=r,f=g,g=d,d=d.a[r],i=n.a.Ne(e,d.d),r=i<0?0:1,i==0&&(!t.c||mc(d.e,t.d))&&(s=d),!(d&&d.b)&&!Iw(d.a[r])&&(Iw(d.a[1-r])?g=g.a[l]=jC(d,r):Iw(d.a[1-r])||(p=g.a[1-l],p&&(!Iw(p.a[1-l])&&!Iw(p.a[l])?(g.b=!1,p.b=!0,d.b=!0):(c=f.a[1]==g?1:0,Iw(p.a[l])?f.a[c]=sLn(g,l):Iw(p.a[1-l])&&(f.a[c]=jC(g,l)),d.b=f.a[c].b=!0,f.a[c].a[0].b=!1,f.a[c].a[1].b=!1))));return s&&(t.b=!0,t.d=s.e,d!=s&&(a=new r$(d.d,d.e),zye(n,h,s,a),g==s&&(g=a)),g.a[g.a[1]==d?1:0]=d.a[d.a[0]?0:1],--n.c),n.b=h.a[1],n.b&&(n.b.b=!1),t.b}function zAe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(r=new M(n.a.a.b);r.a<r.c.c.length;)for(i=u(E(r),60),h=i.c.Kc();h.Ob();)f=u(h.Pb(),60),i.a!=f.a&&(hl(n.a.d)?d=n.a.g.ff(i,f):d=n.a.g.gf(i,f),c=i.b.a+i.d.b+d-f.b.a,c=y.Math.ceil(c),c=y.Math.max(0,c),tQ(i,f)?(s=sb(new za,n.d),l=wi(y.Math.ceil(f.b.a-i.b.a)),e=l-(f.b.a-i.b.a),a=xp(i).a,t=i,a||(a=xp(f).a,e=-e,t=f),a&&(t.b.a-=e,a.n.a-=e),qs(Ns(Ls(Ds(As(new hs,y.Math.max(0,l)),1),s),n.c[i.a.d])),qs(Ns(Ls(Ds(As(new hs,y.Math.max(0,-l)),1),s),n.c[f.a.d]))):(g=1,(L(i.g,154)&&L(f.g,10)||L(f.g,154)&&L(i.g,10))&&(g=2),qs(Ns(Ls(Ds(As(new hs,wi(c)),g),n.c[i.a.d]),n.c[f.a.d]))))}function DGn(n,e,t){var i,r,c,s,f,h,l,a,d,g;if(t)for(i=-1,a=new xi(e,0);a.b<a.d.gc();){if(f=(oe(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),10)),d=n.c[f.c.p][f.p].a,d==null){for(s=i+1,c=new xi(e,a.b);c.b<c.d.gc();)if(g=m1e(n,(oe(c.b<c.d.gc()),u(c.d.Xb(c.c=c.b++),10))).a,g!=null){s=(Jn(g),g);break}d=(i+s)/2,n.c[f.c.p][f.p].a=d,n.c[f.c.p][f.p].d=(Jn(d),d),n.c[f.c.p][f.p].b=1}i=(Jn(d),d)}else{for(r=0,l=new M(e);l.a<l.c.c.length;)f=u(E(l),10),n.c[f.c.p][f.p].a!=null&&(r=y.Math.max(r,$(n.c[f.c.p][f.p].a)));for(r+=2,h=new M(e);h.a<h.c.c.length;)f=u(E(h),10),n.c[f.c.p][f.p].a==null&&(d=to(n.i,24)*Iy*r-1,n.c[f.c.p][f.p].a=d,n.c[f.c.p][f.p].d=d,n.c[f.c.p][f.p].b=1)}}function XAe(n,e,t){var i,r,c,s,f,h,l,a,d;for(!t&&(t=t6e(e.q.getTimezoneOffset())),r=(e.q.getTimezoneOffset()-t.a)*6e4,f=new oV(nr(vc(e.q.getTime()),r)),h=f,f.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,h=new oV(nr(vc(e.q.getTime()),r))),a=new fg,l=n.a.length,c=0;c<l;)if(i=Xi(n.a,c),i>=97&&i<=122||i>=65&&i<=90){for(s=c+1;s<l&&Xi(n.a,s)==i;++s);zNe(a,i,s-c,f,h,t),c=s}else if(i==39){if(++c,c<l&&Xi(n.a,c)==39){a.a+="'",++c;continue}for(d=!1;!d;){for(s=c;s<l&&Xi(n.a,s)!=39;)++s;if(s>=l)throw T(new Gn("Missing trailing '"));s+1<l&&Xi(n.a,s+1)==39?++s:d=!0,Be(a,qo(n.a,c,s)),c=s+1}}else a.a+=String.fromCharCode(i),++c;return a.a}function VAe(){Ge(ng,new zvn),Ge(Ue,new i6n),Ge(Ss,new b6n),Ge(Mf,new k6n),Ge(yU,new y6n),Ge(EA,new j6n),Ge(Kl,new E6n),Ge(I9,new M6n),Ge(sE,new xvn),Ge(wU,new Rvn),Ge(La,new Kvn),Ge(Ps,new Bvn),Ge(Ef,new Fvn),Ge(vw,new _vn),Ge(eg,new Hvn),Ge(ku,new qvn),Ge(Z0,new Uvn),Ge(pc,new Gvn),Ge(jr,new Xvn),Ge(fu,new Vvn),Ge(zt,new Wvn),Ge(C(Ru,1),new Jvn),Ge(p3,new Qvn),Ge(T8,new Yvn),Ge(oI,new Zvn),Ge(pbn,new n6n),Ge(si,new e6n),Ge(Ldn,new t6n),Ge($dn,new r6n),Ge(rbn,new c6n),Ge(MA,new u6n),Ge(ov,new o6n),Ge(Gi,new s6n),Ge(eun,new f6n),Ge(nw,new h6n),Ge(tun,new l6n),Ge(nbn,new a6n),Ge(mbn,new d6n),Ge(ew,new w6n),Ge(fn,new g6n),Ge(Ddn,new p6n),Ge(vbn,new m6n)}function $Gn(n,e){var t,i,r,c,s,f,h,l,a;if(n==null)return gu;if(h=e.a.zc(n,e),h!=null)return"[...]";for(t=new fd(ur,"[","]"),r=n,c=0,s=r.length;c<s;++c)i=r[c],i!=null&&wo(i).i&4?Array.isArray(i)&&(a=dk(i),!(a>=14&&a<=16))?e.a._b(i)?(t.a?Be(t.a,t.b):t.a=new mo(t.d),M6(t.a,"[...]")):(f=cd(i),l=new $6(e),pl(t,$Gn(f,l))):L(i,183)?pl(t,MEe(u(i,183))):L(i,195)?pl(t,fye(u(i,195))):L(i,201)?pl(t,vje(u(i,201))):L(i,2111)?pl(t,hye(u(i,2111))):L(i,53)?pl(t,EEe(u(i,53))):L(i,376)?pl(t,_Ee(u(i,376))):L(i,846)?pl(t,jEe(u(i,846))):L(i,109)&&pl(t,yEe(u(i,109))):pl(t,i==null?gu:Jr(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function L4(n,e){var t,i,r,c;c=n.F,e==null?(n.F=null,c4(n,null)):(n.F=(Jn(e),e),i=ih(e,wu(60)),i!=-1?(r=(Ri(0,i,e.length),e.substr(0,i)),ih(e,wu(46))==-1&&!Sn(r,i3)&&!Sn(r,g8)&&!Sn(r,GP)&&!Sn(r,p8)&&!Sn(r,m8)&&!Sn(r,v8)&&!Sn(r,k8)&&!Sn(r,y8)&&(r=wJn),t=xM(e,wu(62)),t!=-1&&(r+=""+(zn(t+1,e.length+1),e.substr(t+1))),c4(n,r)):(r=e,ih(e,wu(46))==-1&&(i=ih(e,wu(91)),i!=-1&&(r=(Ri(0,i,e.length),e.substr(0,i))),!Sn(r,i3)&&!Sn(r,g8)&&!Sn(r,GP)&&!Sn(r,p8)&&!Sn(r,m8)&&!Sn(r,v8)&&!Sn(r,k8)&&!Sn(r,y8)?(r=wJn,i!=-1&&(r+=""+(zn(i,e.length+1),e.substr(i)))):r=e),c4(n,r),r==e&&(n.F=n.D))),n.Db&4&&!(n.Db&1)&&rt(n,new Mi(n,1,5,c,e))}function xGn(n,e){var t,i,r,c,s,f,h,l,a,d;if(h=e.length-1,f=(zn(h,e.length),e.charCodeAt(h)),f==93){if(s=ih(e,wu(91)),s>=0)return r=Q5e(n,(Ri(1,s,e.length),e.substr(1,s-1))),a=(Ri(s+1,h,e.length),e.substr(s+1,h-(s+1))),ENe(n,a,r)}else{if(t=-1,dun==null&&(dun=new RegExp("\\d")),dun.test(String.fromCharCode(f))&&(t=TV(e,wu(46),h-1),t>=0)){i=u(YD(n,E$n(n,(Ri(1,t,e.length),e.substr(1,t-1))),!1),61),l=0;try{l=So((zn(t+1,e.length+1),e.substr(t+1)),Wi,et)}catch(g){throw g=Ot(g),L(g,130)?(c=g,T(new eC(c))):T(g)}if(l<i.gc())return d=i.Xb(l),L(d,76)&&(d=u(d,76).md()),u(d,58)}if(t<0)return u(YD(n,E$n(n,(zn(1,e.length+1),e.substr(1))),!1),58)}return null}function WAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(e.Ug("Label dummy insertions",1),d=new Z,s=$(B(v(n,(cn(),C2)))),l=$(B(v(n,q0))),a=u(v(n,Lo),88),p=new M(n.a);p.a<p.c.c.length;)for(g=u(E(p),10),c=new ie(ce(Qt(g).a.Kc(),new En));pe(c);)if(r=u(fe(c),18),r.c.i!=r.d.i&&yN(r.b,qZn)){for(k=g4e(r),m=Lh(r.b.c.length),t=CTe(n,r,k,m),Bn(d.c,t),i=t.o,f=new xi(r.b,0);f.b<f.d.gc();)h=(oe(f.b<f.d.gc()),u(f.d.Xb(f.c=f.b++),72)),x(v(h,Sh))===x(($f(),xv))&&(a==(ci(),us)||a==Wf?(i.a+=h.o.a+l,i.b=y.Math.max(i.b,h.o.b)):(i.a=y.Math.max(i.a,h.o.a),i.b+=h.o.b+l),Bn(m.c,h),bo(f));a==(ci(),us)||a==Wf?(i.a-=l,i.b+=s+k):i.b+=s-l+k}hi(n.a,d),e.Vg()}function JAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;if(n.c=n.e,m=un(v(e,(cn(),Gte))),p=m==null||(Jn(m),m),c=u(v(e,(W(),Hc)),21).Hc((pr(),cs)),r=u(v(e,_t),101),t=!(r==(Ai(),Ud)||r==tl||r==qc),p&&(t||!c)){for(d=new M(e.a);d.a<d.c.c.length;)l=u(E(d),10),l.p=0;for(g=new Z,a=new M(e.a);a.a<a.c.c.length;)if(l=u(E(a),10),i=vUn(n,l,null),i){for(h=new yQ,Ur(h,e),U(h,Dl,u(i.b,21)),XW(h.d,e.d),U(h,jv,null),f=u(i.a,15).Kc();f.Ob();)s=u(f.Pb(),10),nn(h.a,s),s.a=h;g.Fc(h)}c&&(x(v(e,R0))===x((dd(),P_))?n.c=n.b:x(v(e,R0))===x(I_)?n.c=n.d:n.c=n.a)}else g=new Fu(S(C(DZn,1),OXn,36,0,[e]));return x(v(e,R0))!==x((dd(),A0))&&(Ln(),g.jd(new f0n)),g}function N4(n,e,t){var i,r,c,s,f,h,l;if(l=n.c,!e&&(e=Udn),n.c=e,n.Db&4&&!(n.Db&1)&&(h=new Mi(n,1,2,l,n.c),t?t.nj(h):t=h),l!=e){if(L(n.Cb,291))n.Db>>16==-10?t=u(n.Cb,291).Yk(e,t):n.Db>>16==-15&&(!e&&(e=(An(),Zf)),!l&&(l=(An(),Zf)),n.Cb.Yh()&&(h=new ml(n.Cb,1,13,l,e,f1(no(u(n.Cb,62)),n),!1),t?t.nj(h):t=h));else if(L(n.Cb,90))n.Db>>16==-23&&(L(e,90)||(e=(An(),Os)),L(l,90)||(l=(An(),Os)),n.Cb.Yh()&&(h=new ml(n.Cb,1,10,l,e,f1(Pc(u(n.Cb,29)),n),!1),t?t.nj(h):t=h));else if(L(n.Cb,456))for(f=u(n.Cb,850),s=(!f.b&&(f.b=new NE(new aL)),f.b),c=(i=new sd(new Ua(s.a).a),new DE(i));c.a.b;)r=u(Ab(c.a).ld(),89),t=N4(r,TS(r,f),t)}return t}function QAe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(s=on(un(z(n,(cn(),B0)))),g=u(z(n,_0),21),h=!1,l=!1,d=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));d.e!=d.i.gc()&&(!h||!l);){for(c=u(ue(d),123),f=0,r=$h(Eo(S(C(Ao,1),Rn,20,0,[(!c.d&&(c.d=new Dn(Vt,c,8,5)),c.d),(!c.e&&(c.e=new Dn(Vt,c,7,4)),c.e)])));pe(r)&&(i=u(fe(r),74),a=s&&Bb(i)&&on(un(z(i,Dd))),t=bGn((!i.b&&(i.b=new Dn(he,i,4,7)),i.b),c)?n==St(Gr(u(N((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84))):n==St(Gr(u(N((!i.b&&(i.b=new Dn(he,i,4,7)),i.b),0),84))),!((a||t)&&(++f,f>1))););(f>0||g.Hc((zu(),Rl))&&(!c.n&&(c.n=new q(Sr,c,1,7)),c.n).i>0)&&(h=!0),f>1&&(l=!0)}h&&e.Fc((pr(),cs)),l&&e.Fc((pr(),$8))}function RGn(n){var e,t,i,r,c,s,f,h,l,a,d,g;if(g=u(z(n,(He(),Hd)),21),g.dc())return null;if(f=0,s=0,g.Hc((go(),iE))){for(a=u(z(n,m9),101),i=2,t=2,r=2,c=2,e=St(n)?u(z(St(n),_d),88):u(z(n,_d),88),l=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));l.e!=l.i.gc();)if(h=u(ue(l),123),d=u(z(h,H2),64),d==(en(),sc)&&(d=xen(h,e),ht(h,H2,d)),a==(Ai(),qc))switch(d.g){case 1:i=y.Math.max(i,h.i+h.g);break;case 2:t=y.Math.max(t,h.j+h.f);break;case 3:r=y.Math.max(r,h.i+h.g);break;case 4:c=y.Math.max(c,h.j+h.f)}else switch(d.g){case 1:i+=h.g+2;break;case 2:t+=h.f+2;break;case 3:r+=h.g+2;break;case 4:c+=h.f+2}f=y.Math.max(i,r),s=y.Math.max(t,c)}return qb(n,f,s,!0,!0)}function VR(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;for(O=u(Wr(fC(ut(new Cn(null,new On(e.d,16)),new C7n(t)),new S7n(t)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),d=et,a=Wi,h=new M(e.b.j);h.a<h.c.c.length;)f=u(E(h),12),f.j==t&&(d=y.Math.min(d,f.p),a=y.Math.max(a,f.p));if(d==et)for(s=0;s<O.gc();s++)JJ(u(O.Xb(s),105),t,s);else for(A=F(ye,_e,28,r.length,15,1),Xwe(A,A.length),P=O.Kc();P.Ob();){for(j=u(P.Pb(),105),c=u(ee(n.b,j),183),l=0,k=d;k<=a;k++)c[k]&&(l=y.Math.max(l,i[k]));if(j.i){for(p=j.i.c,D=new ni,g=0;g<r.length;g++)r[p][g]&&fi(D,Y(A[g]));for(;sf(D,Y(l));)++l}for(JJ(j,t,l),m=d;m<=a;m++)c[m]&&(i[m]=l+1);j.i&&(A[j.i.c]=l)}}function YAe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(r=null,i=new M(e.a);i.a<i.c.c.length;)t=u(E(i),10),HR(t)?c=(f=sb(i7(new za,t),n.f),h=sb(i7(new za,t),n.f),l=new GW(t,!0,f,h),a=t.o.b,d=(c0(),(t.q?t.q:(Ln(),Ln(),Wh))._b((cn(),lw))?g=u(v(t,lw),203):g=u(v(Hi(t),U8),203),g),p=1e4,d==P2&&(p=1),m=qs(Ns(Ls(As(Ds(new hs,p),wi(y.Math.ceil(a))),f),h)),d==I2&&fi(n.d,m),mUn(n,Qo(uc(t,(en(),Wn))),l),mUn(n,uc(t,Zn),l),l):c=(k=sb(i7(new za,t),n.f),Ut(ut(new Cn(null,new On(t.j,16)),new r3n),new qMn(n,k)),new GW(t,!1,k,k)),n.i[t.p]=c,r&&(s=r.c.d.a+jg(n.n,r.c,t)+t.d.d,r.b||(s+=r.c.o.b),qs(Ns(Ls(Ds(As(new hs,wi(y.Math.ceil(s))),0),r.d),c.a))),r=c}function ZAe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p;for(c=new tHn(e),d=PSe(n,e,c),p=y.Math.max($(B(v(e,(cn(),m1)))),1),a=new M(d.a);a.a<a.c.c.length;)l=u(E(a),42),h=eBn(u(l.a,8),u(l.b,8),p),Wt=!0,Wt=Wt&lb(t,new V(h.c,h.d)),Wt=Wt&lb(t,hb(new V(h.c,h.d),h.b,0)),Wt=Wt&lb(t,hb(new V(h.c,h.d),0,h.a)),Wt&lb(t,hb(new V(h.c,h.d),h.b,h.a));switch(g=c.d,f=eBn(u(d.b.a,8),u(d.b.b,8),p),g==(en(),Wn)||g==Zn?(i.c[g.g]=y.Math.min(i.c[g.g],f.d),i.b[g.g]=y.Math.max(i.b[g.g],f.d+f.a)):(i.c[g.g]=y.Math.min(i.c[g.g],f.c),i.b[g.g]=y.Math.max(i.b[g.g],f.c+f.b)),r=li,s=c.c.i.d,g.g){case 4:r=s.c;break;case 2:r=s.b;break;case 1:r=s.a;break;case 3:r=s.d}return i.a[g.g]=y.Math.max(i.a[g.g],r),c}function nLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;f=u(ee(e.c,n),467),O=e.a.c,h=e.a.c+e.a.b,kn=f.f,Fn=f.a,s=kn<Fn,k=new V(O,kn),A=new V(h,Fn),r=(O+h)/2,j=new V(r,kn),D=new V(r,Fn),c=YTe(n,kn,Fn),X=Of(e.B),tn=new V(r,c),jn=Of(e.D),t=u6e(S(C(Ei,1),J,8,0,[X,tn,jn])),p=!1,P=e.B.i,P&&P.c&&f.d&&(l=s&&P.p<P.c.a.c.length-1||!s&&P.p>0,l?l&&(g=P.p,s?++g:--g,d=u(sn(P.c.a,g),10),i=uRn(d),p=!(mR(i,X,t[0])||OIn(i,X,t[0]))):p=!0),m=!1,_=e.D.i,_&&_.c&&f.e&&(a=s&&_.p>0||!s&&_.p<_.c.a.c.length-1,a?(g=_.p,s?--g:++g,d=u(sn(_.c.a,g),10),i=uRn(d),m=!(mR(i,t[0],jn)||OIn(i,t[0],jn))):m=!0),p&&m&&Re(n.a,tn),p||t5(n.a,S(C(Ei,1),J,8,0,[k,j])),m||t5(n.a,S(C(Ei,1),J,8,0,[D,A]))}function eLe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;for(p=e.c.length,g=0,d=new M(n.b);d.a<d.c.c.length;)if(a=u(E(d),30),P=a.a,P.c.length!=0){for(j=new M(P),l=0,O=null,r=u(E(j),10),c=null;r;){if(c=u(sn(e,r.p),261),c.c>=0){for(h=null,f=new xi(a.a,l+1);f.b<f.d.gc()&&(s=(oe(f.b<f.d.gc()),u(f.d.Xb(f.c=f.b++),10)),h=u(sn(e,s.p),261),!(h.d==c.d&&h.c<c.c));)h=null;h&&(O&&(Go(i,r.p,Y(u(sn(i,r.p),17).a-1)),u(sn(t,O.p),15).Mc(c)),c=vye(c,r,p++),Bn(e.c,c),nn(t,new Z),O?(u(sn(t,O.p),15).Fc(c),nn(i,Y(1))):nn(i,Y(0)))}m=null,j.a<j.c.c.length&&(m=u(E(j),10),k=u(sn(e,m.p),261),u(sn(t,r.p),15).Fc(k),Go(i,m.p,Y(u(sn(i,m.p),17).a+1))),c.d=g,c.c=l++,O=r,r=m}++g}}function tLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;if(c=u(v(n,(W(),st)),74),!!c){for(i=n.a,r=new rr(t),it(r,Ske(n)),Jm(n.d.i,n.c.i)?(g=n.c,d=cc(S(C(Ei,1),J,8,0,[g.n,g.a])),mi(d,t)):d=Of(n.c),xt(i,d,i.a,i.a.a),p=Of(n.d),v(n,gH)!=null&&it(p,u(v(n,gH),8)),xt(i,p,i.c.b,i.c),n0(i,r),s=Xg(c,!0,!0),mC(s,u(N((!c.b&&(c.b=new Dn(he,c,4,7)),c.b),0),84)),vC(s,u(N((!c.c&&(c.c=new Dn(he,c,5,8)),c.c),0),84)),ay(i,s),a=new M(n.b);a.a<a.c.c.length;)l=u(E(a),72),f=u(v(l,st),135),Pb(f,l.o.a),Sb(f,l.o.b),Bo(f,l.n.a+r.a,l.n.b+r.b),ht(f,(Hp(),$_),un(v(l,$_)));h=u(v(n,(cn(),Rr)),75),h?(n0(h,r),ht(c,Rr,h)):ht(c,Rr,null),e==(El(),x3)?ht(c,$l,x3):ht(c,$l,null)}}function KGn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn;if(t.c.length!=0){for(m=new Z,p=new M(t);p.a<p.c.c.length;)g=u(E(p),27),nn(m,new V(g.i,g.j));for(i.dh(e,"Before removing overlaps");unn(n,t);)ES(n,t,!1);if(i.dh(e,"After removing overlaps"),f=0,h=0,r=null,t.c.length!=0&&(r=(Nn(0,t.c.length),u(t.c[0],27)),f=r.i-(Nn(0,m.c.length),u(m.c[0],8)).a,h=r.j-(Nn(0,m.c.length),u(m.c[0],8)).b),s=y.Math.sqrt(f*f+h*h),d=V6e(t),c=1,d.a.gc()!=0){for(a=d.a.ec().Kc();a.Ob();)l=u(a.Pb(),27),k=n.f,j=k.i+k.g/2,P=k.j+k.f/2,O=l.i+l.g/2,A=l.j+l.f/2,D=O-j,_=A-P,X=y.Math.sqrt(D*D+_*_),tn=D/X,jn=_/X,eu(l,l.i+tn*s),tu(l,l.j+jn*s);i.dh(e,"Child movement "+c),++c}n.a&&n.a.Gg(new _u(d)),KGn(n,e,new _u(d),i)}}function WR(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;return h=n,a=mi(new V(e.a,e.b),n),l=t,d=mi(new V(i.a,i.b),t),g=h.a,j=h.b,m=l.a,O=l.b,p=a.a,P=a.b,k=d.a,A=d.b,r=k*P-p*A,Cf(),Fs(jh),y.Math.abs(0-r)<=jh||r==0||isNaN(0)&&isNaN(r)?!1:(s=1/r*((g-m)*P-(j-O)*p),f=1/r*-(-(g-m)*A+(j-O)*k),c=(Fs(jh),(y.Math.abs(0-s)<=jh||s==0||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:ub(isNaN(0),isNaN(s)))<0&&(Fs(jh),(y.Math.abs(s-1)<=jh||s==1||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:ub(isNaN(s),isNaN(1)))<0)&&(Fs(jh),(y.Math.abs(0-f)<=jh||f==0||isNaN(0)&&isNaN(f)?0:0<f?-1:0>f?1:ub(isNaN(0),isNaN(f)))<0)&&(Fs(jh),(y.Math.abs(f-1)<=jh||f==1||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:ub(isNaN(f),isNaN(1)))<0)),c)}function iLe(n){var e,t,i,r;if(t=n.D!=null?n.D:n.B,e=ih(t,wu(91)),e!=-1){i=(Ri(0,e,t.length),t.substr(0,e)),r=new Hl;do r.a+="[";while((e=bm(t,91,++e))!=-1);Sn(i,i3)?r.a+="Z":Sn(i,g8)?r.a+="B":Sn(i,GP)?r.a+="C":Sn(i,p8)?r.a+="D":Sn(i,m8)?r.a+="F":Sn(i,v8)?r.a+="I":Sn(i,k8)?r.a+="J":Sn(i,y8)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(c){if(c=Ot(c),!L(c,63))throw T(c)}}else if(ih(t,wu(46))==-1){if(Sn(t,i3))return so;if(Sn(t,g8))return Ru;if(Sn(t,GP))return fs;if(Sn(t,p8))return Ii;if(Sn(t,m8))return cg;if(Sn(t,v8))return ye;if(Sn(t,k8))return Ka;if(Sn(t,y8))return V2}return null}function rLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn;for(n.e=e,f=rMe(e),X=new Z,i=new M(f);i.a<i.c.c.length;){for(t=u(E(i),15),tn=new Z,Bn(X.c,tn),h=new ni,m=t.Kc();m.Ob();){for(p=u(m.Pb(),27),c=sy(n,p,!0,0,0),Bn(tn.c,c),k=p.i,j=p.j,g=(!p.n&&(p.n=new q(Sr,p,1,7)),p.n),d=new ne(g);d.e!=d.i.gc();)l=u(ue(d),135),r=sy(n,l,!1,k,j),Bn(tn.c,r);for(_=(!p.c&&(p.c=new q(Qu,p,9,9)),p.c),O=new ne(_);O.e!=O.i.gc();)for(P=u(ue(O),123),s=sy(n,P,!1,k,j),Bn(tn.c,s),A=P.i+k,D=P.j+j,g=(!P.n&&(P.n=new q(Sr,P,1,7)),P.n),a=new ne(g);a.e!=a.i.gc();)l=u(ue(a),135),r=sy(n,l,!1,A,D),Bn(tn.c,r);Ki(h,ST(Eo(S(C(Ao,1),Rn,20,0,[Sl(p),ry(p)]))))}GTe(n,h,tn)}return n.f=new Xjn(X),Ur(n.f,e),n.f}function cLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;for(d=new DW(new SG(n));d.c!=d.d.a.d;)for(a=VDn(d),f=u(a.d,58),e=u(a.e,58),s=f.Dh(),k=0,D=(s.i==null&&bh(s),s.i).length;k<D;++k)if(l=(c=(s.i==null&&bh(s),s.i),k>=0&&k<c.length?c[k]:null),l.rk()&&!l.sk()){if(L(l,102))h=u(l,19),!(h.Bb&kc)&&(X=br(h),!(X&&X.Bb&kc))&&qIe(n,h,f,e);else if(dr(),u(l,69).xk()&&(t=(_=l,u(_?u(e,54).gi(_):null,160)),t))for(p=u(f.Mh(l),160),i=t.gc(),j=0,m=p.gc();j<m;++j)if(g=p.Tl(j),L(g,102)){if(A=p.Ul(j),r=Df(n,A),r==null&&A!=null){if(O=u(g,19),!n.b||O.Bb&kc||br(O))continue;r=A}if(!t.Ol(g,r)){for(P=0;P<i;++P)if(t.Tl(P)==g&&x(t.Ul(P))===x(r)){t.Ti(t.gc()-1,P),--i;break}}}else t.Ol(p.Tl(j),p.Ul(j))}}function uLe(n,e,t){var i;if(t.Ug("StretchWidth layering",1),e.a.c.length==0){t.Vg();return}for(n.c=e,n.t=0,n.u=0,n.i=Pt,n.g=li,n.d=$(B(v(e,(cn(),Ws)))),C9e(n),NMe(n),LMe(n),Ike(n),O8e(n),n.i=y.Math.max(1,n.i),n.g=y.Math.max(1,n.g),n.d=n.d/n.i,n.f=n.g/n.i,n.s=_9e(n),i=new Nc(n.c),nn(n.c.b,i),n.r=Mb(n.p),n.n=AT(n.k,n.k.length);n.r.c.length!=0;)n.o=W6e(n),!n.o||fRn(n)&&n.b.a.gc()!=0?(tye(n,i),i=new Nc(n.c),nn(n.c.b,i),Ki(n.a,n.b),n.b.a.$b(),n.t=n.u,n.u=0):fRn(n)?(n.c.b.c.length=0,i=new Nc(n.c),nn(n.c.b,i),n.t=0,n.u=0,n.b.a.$b(),n.a.a.$b(),++n.f,n.r=Mb(n.p),n.n=AT(n.k,n.k.length)):($i(n.o,i),du(n.r,n.o),fi(n.b,n.o),n.t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p],n.u+=n.e[n.o.p]*n.d);e.a.c.length=0,Qk(e.b),t.Vg()}function oLe(n){var e,t,i,r,c,s,f,h,l,a,d;for(n.j=F(ye,_e,28,n.g,15,1),n.o=new Z,Ut(rc(new Cn(null,new On(n.e.b,16)),new l3n),new ekn(n)),n.a=F(so,Xh,28,n.b,16,1),Lk(new Cn(null,new On(n.e.b,16)),new ikn(n)),i=(d=new Z,Ut(ut(rc(new Cn(null,new On(n.e.b,16)),new d3n),new tkn(n)),new UMn(n,d)),d),h=new M(i);h.a<h.c.c.length;)if(f=u(E(h),515),!(f.c.length<=1)){if(f.c.length==2){GEe(f),HR((Nn(0,f.c.length),u(f.c[0],18)).d.i)||nn(n.o,f);continue}if(!(oye(f)||Jje(f,new a3n)))for(l=new M(f),r=null;l.a<l.c.c.length;)e=u(E(l),18),t=n.c[e.p],!r||l.a>=l.c.c.length?a=EJ((Vn(),Xt),Ti):a=EJ((Vn(),Ti),Ti),a*=2,c=t.a.g,t.a.g=y.Math.max(c,c+(a-c)),s=t.b.g,t.b.g=y.Math.max(s,s+(a-s)),r=e}}function sLe(n){var e,t,i,r;for(Ut(ut(new Cn(null,new On(n.a.b,16)),new z2n),new X2n),qke(n),Ut(ut(new Cn(null,new On(n.a.b,16)),new V2n),new W2n),n.c==(El(),x3)&&(Ut(ut(rc(new Cn(null,new On(new qa(n.f),1)),new J2n),new Q2n),new v7n(n)),Ut(ut(_r(rc(rc(new Cn(null,new On(n.d.b,16)),new Y2n),new Z2n),new npn),new epn),new y7n(n))),r=new V(Pt,Pt),e=new V(li,li),i=new M(n.a.b);i.a<i.c.c.length;)t=u(E(i),60),r.a=y.Math.min(r.a,t.d.c),r.b=y.Math.min(r.b,t.d.d),e.a=y.Math.max(e.a,t.d.c+t.d.b),e.b=y.Math.max(e.b,t.d.d+t.d.a);it(ff(n.d.c),_M(new V(r.a,r.b))),it(ff(n.d.f),mi(new V(e.a,e.b),r)),tCe(n,r,e),Hu(n.f),Hu(n.b),Hu(n.g),Hu(n.e),n.a.a.c.length=0,n.a.b.c.length=0,n.a=null,n.d=null}function US(n,e){var t;if(n.e)throw T(new Ar((ll(c_),RK+c_.k+KK)));if(!dle(n.a,e))throw T(new ec(tXn+e+iXn));if(e==n.d)return n;switch(t=n.d,n.d=e,t.g){case 0:switch(e.g){case 2:Rb(n);break;case 1:na(n),Rb(n);break;case 4:Hg(n),Rb(n);break;case 3:Hg(n),na(n),Rb(n)}break;case 2:switch(e.g){case 1:na(n),MR(n);break;case 4:Hg(n),Rb(n);break;case 3:Hg(n),na(n),Rb(n)}break;case 1:switch(e.g){case 2:na(n),MR(n);break;case 4:na(n),Hg(n),Rb(n);break;case 3:na(n),Hg(n),na(n),Rb(n)}break;case 4:switch(e.g){case 2:Hg(n),Rb(n);break;case 1:Hg(n),na(n),Rb(n);break;case 3:na(n),MR(n)}break;case 3:switch(e.g){case 2:na(n),Hg(n),Rb(n);break;case 1:na(n),Hg(n),na(n),Rb(n);break;case 4:na(n),MR(n)}}return n}function Yg(n,e){var t;if(n.d)throw T(new Ar((ll(S_),RK+S_.k+KK)));if(!ale(n.a,e))throw T(new ec(tXn+e+iXn));if(e==n.c)return n;switch(t=n.c,n.c=e,t.g){case 0:switch(e.g){case 2:ld(n);break;case 1:ea(n),ld(n);break;case 4:qg(n),ld(n);break;case 3:qg(n),ea(n),ld(n)}break;case 2:switch(e.g){case 1:ea(n),TR(n);break;case 4:qg(n),ld(n);break;case 3:qg(n),ea(n),ld(n)}break;case 1:switch(e.g){case 2:ea(n),TR(n);break;case 4:ea(n),qg(n),ld(n);break;case 3:ea(n),qg(n),ea(n),ld(n)}break;case 4:switch(e.g){case 2:qg(n),ld(n);break;case 1:qg(n),ea(n),ld(n);break;case 3:ea(n),TR(n)}break;case 3:switch(e.g){case 2:ea(n),qg(n),ld(n);break;case 1:ea(n),qg(n),ea(n),ld(n);break;case 4:ea(n),TR(n)}}return n}function GS(n,e){var t,i,r,c,s,f,h,l;if(L(n.Eh(),167)?(GS(u(n.Eh(),167),e),e.a+=" > "):e.a+="Root ",t=n.Dh().zb,Sn(t.substr(0,3),"Elk")?Be(e,(zn(3,t.length+1),t.substr(3))):e.a+=""+t,r=n.jh(),r){Be((e.a+=" ",e),r);return}if(L(n,366)&&(l=u(n,135).a,l)){Be((e.a+=" ",e),l);return}for(s=new ne(n.kh());s.e!=s.i.gc();)if(c=u(ue(s),135),l=c.a,l){Be((e.a+=" ",e),l);return}if(L(n,326)&&(i=u(n,74),!i.b&&(i.b=new Dn(he,i,4,7)),i.b.i!=0&&(!i.c&&(i.c=new Dn(he,i,5,8)),i.c.i!=0))){for(e.a+=" (",f=new kp((!i.b&&(i.b=new Dn(he,i,4,7)),i.b));f.e!=f.i.gc();)f.e>0&&(e.a+=ur),GS(u(ue(f),167),e);for(e.a+=iB,h=new kp((!i.c&&(i.c=new Dn(he,i,5,8)),i.c));h.e!=h.i.gc();)h.e>0&&(e.a+=ur),GS(u(ue(h),167),e);e.a+=")"}}function fLe(n,e,t){var i,r,c,s,f,h,l,a;for(h=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));h.e!=h.i.gc();)for(f=u(ue(h),27),r=new ie(ce(Sl(f).a.Kc(),new En));pe(r);){if(i=u(fe(r),74),!i.b&&(i.b=new Dn(he,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new Dn(he,i,5,8)),i.c.i<=1)))throw T(new hp("Graph must not contain hyperedges."));if(!L5(i)&&f!=Gr(u(N((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84)))for(l=new KSn,Ur(l,i),U(l,(Y1(),y3),i),Jse(l,u(Fr(wr(t.f,f)),153)),Zse(l,u(ee(t,Gr(u(N((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84))),153)),nn(e.c,l),s=new ne((!i.n&&(i.n=new q(Sr,i,1,7)),i.n));s.e!=s.i.gc();)c=u(ue(s),135),a=new FLn(l,c.a),Ur(a,c),U(a,y3,c),a.e.a=y.Math.max(c.g,1),a.e.b=y.Math.max(c.f,1),_en(a),nn(e.d,a)}}function hLe(n,e,t){var i,r,c,s,f,h,l,a,d,g;switch(t.Ug("Node promotion heuristic",1),n.i=e,n.r=u(v(e,(cn(),Ea)),243),n.r!=(ps(),ww)&&n.r!=U0?RLe(n):fSe(n),a=u(v(n.i,ihn),17).a,c=new Rgn,n.r.g){case 2:case 1:A4(n,c);break;case 3:for(n.r=PO,A4(n,c),h=0,f=new M(n.b);f.a<f.c.c.length;)s=u(E(f),17),h=y.Math.max(h,s.a);h>n.k&&(n.r=Sj,A4(n,c));break;case 4:for(n.r=PO,A4(n,c),l=0,r=new M(n.c);r.a<r.c.c.length;)i=B(E(r)),l=y.Math.max(l,(Jn(i),i));l>n.n&&(n.r=Pj,A4(n,c));break;case 6:g=wi(y.Math.ceil(n.g.length*a/100)),A4(n,new o7n(g));break;case 5:d=wi(y.Math.ceil(n.e*a/100)),A4(n,new s7n(d));break;case 8:yzn(n,!0);break;case 9:yzn(n,!1);break;default:A4(n,c)}n.r!=ww&&n.r!=U0?NCe(n,e):ZSe(n,e),t.Vg()}function lLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(d=n.b,a=new xi(d,0),Bw(a,new Nc(n)),O=!1,s=1;a.b<a.d.gc();){for(l=(oe(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),30)),k=(Nn(s,d.c.length),u(d.c[s],30)),j=Mb(l.a),P=j.c.length,m=new M(j);m.a<m.c.c.length;)g=u(E(m),10),$i(g,k);if(O){for(p=Qo(j).Kc();p.Ob();)for(g=u(p.Pb(),10),c=new M(Mb(ji(g)));c.a<c.c.c.length;)r=u(E(c),18),Hb(r,!0),U(n,(W(),vj),(_n(),!0)),i=gGn(n,r,P),t=u(v(g,cw),313),A=u(sn(i,i.c.length-1),18),t.k=A.c.i,t.n=A,t.b=r.d.i,t.c=r;O=!1}else j.c.length!=0&&(e=(Nn(0,j.c.length),u(j.c[0],10)),e.k==(Vn(),Gf)&&(O=!0,s=-1));++s}for(f=new xi(n.b,0);f.b<f.d.gc();)h=(oe(f.b<f.d.gc()),u(f.d.Xb(f.c=f.b++),30)),h.a.c.length==0&&bo(f)}function aLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(d=new ntn(n),a2e(d,!(e==(ci(),us)||e==Wf)),a=d.a,g=new up,r=(wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])),s=0,h=r.length;s<h;++s)t=r[s],l=jN(a,bc,t),l&&(g.d=y.Math.max(g.d,l.jf()));for(i=S(C(P0,1),G,237,0,[bc,Wc,wc]),c=0,f=i.length;c<f;++c)t=i[c],l=jN(a,wc,t),l&&(g.a=y.Math.max(g.a,l.jf()));for(k=S(C(P0,1),G,237,0,[bc,Wc,wc]),P=0,A=k.length;P<A;++P)p=k[P],l=jN(a,p,bc),l&&(g.b=y.Math.max(g.b,l.kf()));for(m=S(C(P0,1),G,237,0,[bc,Wc,wc]),j=0,O=m.length;j<O;++j)p=m[j],l=jN(a,p,wc),l&&(g.c=y.Math.max(g.c,l.kf()));return g.d>0&&(g.d+=a.n.d,g.d+=a.d),g.a>0&&(g.a+=a.n.a,g.a+=a.d),g.b>0&&(g.b+=a.n.b,g.b+=a.d),g.c>0&&(g.c+=a.n.c,g.c+=a.d),g}function BGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m;for(g=t.d,d=t.c,c=new V(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),s=c.b,l=new M(n.a);l.a<l.c.c.length;)if(f=u(E(l),10),f.k==(Vn(),Zt)){switch(i=u(v(f,(W(),gc)),64),r=u(v(f,nfn),8),a=f.n,i.g){case 2:a.a=t.f.a+g.c-d.a;break;case 4:a.a=-d.a-g.b}switch(m=0,i.g){case 2:case 4:e==(Ai(),tl)?(p=$(B(v(f,ow))),a.b=c.b*p-u(v(f,(cn(),aw)),8).b,m=a.b+r.b,OC(f,!1,!0)):e==qc&&(a.b=$(B(v(f,ow)))-u(v(f,(cn(),aw)),8).b,m=a.b+r.b,OC(f,!1,!0))}s=y.Math.max(s,m)}for(t.f.b+=s-c.b,h=new M(n.a);h.a<h.c.c.length;)if(f=u(E(h),10),f.k==(Vn(),Zt))switch(i=u(v(f,(W(),gc)),64),a=f.n,i.g){case 1:a.b=-d.b-g.d;break;case 3:a.b=t.f.b+g.a-d.b}}function dLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;if(a=u(u(ot(n.r,e),21),87),a.gc()<=2||e==(en(),Zn)||e==(en(),Wn)){czn(n,e);return}for(k=n.u.Hc((zu(),R3)),t=e==(en(),Xn)?(Lb(),ij):(Lb(),tj),P=e==Xn?(bu(),Xs):(bu(),kf),i=mz(DV(t),n.s),j=e==Xn?Pt:li,l=a.Kc();l.Ob();)f=u(l.Pb(),117),!(!f.c||f.c.d.c.length<=0)&&(m=f.b.Mf(),p=f.e,d=f.c,g=d.i,g.b=(c=d.n,d.e.a+c.b+c.c),g.a=(s=d.n,d.e.b+s.d+s.a),k?(g.c=p.a-(r=d.n,d.e.a+r.b+r.c)-n.s,k=!1):g.c=p.a+m.a+n.s,G7(P,Ntn),d.f=P,df(d,(Uu(),zs)),nn(i.d,new ZN(g,TY(i,g))),j=e==Xn?y.Math.min(j,p.b):y.Math.max(j,p.b+f.b.Mf().b));for(j+=e==Xn?-n.t:n.t,UY((i.e=j,i)),h=a.Kc();h.Ob();)f=u(h.Pb(),117),!(!f.c||f.c.d.c.length<=0)&&(g=f.c.i,g.c-=f.e.a,g.d-=f.e.b)}function FGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(r=new Z,k=new M(e.a);k.a<k.c.c.length;)if(m=u(E(k),10),p=m.e,p&&(i=FGn(n,p,m),hi(r,i),SAe(n,p,m),u(v(p,(W(),Hc)),21).Hc((pr(),cs))))for(O=u(v(m,(cn(),_t)),101),g=u(v(m,_0),181).Hc((zu(),Rl)),P=new M(m.j);P.a<P.c.c.length;)for(j=u(E(P),12),c=u(ee(n.b,j),10),c||(c=py(j,O,j.j,-(j.e.c.length-j.g.c.length),null,new Ni,j.o,u(v(p,Lo),88),p),U(c,st,j),Ve(n.b,j,c),nn(p.a,c)),s=u(sn(c.j,0),12),a=new M(j.f);a.a<a.c.c.length;)l=u(E(a),72),f=new Qjn,f.o.a=l.o.a,f.o.b=l.o.b,nn(s.f,f),g||(A=j.j,d=0,K6(u(v(m,_0),21))&&(d=Onn(l.n,l.o,j.o,0,A)),O==(Ai(),Qf)||(en(),su).Hc(A)?f.o.a=d:f.o.b=d);return h=new Z,CAe(n,e,t,r,h),t&&GOe(n,e,t,h),h}function Zen(n,e,t){var i,r,c,s,f,h,l,a,d;if(!n.c[e.c.p][e.p].e){for(n.c[e.c.p][e.p].e=!0,n.c[e.c.p][e.p].b=0,n.c[e.c.p][e.p].d=0,n.c[e.c.p][e.p].a=null,a=new M(e.j);a.a<a.c.c.length;)for(l=u(E(a),12),d=t?new nm(l):new ip(l),h=d.Kc();h.Ob();)f=u(h.Pb(),12),s=f.i,s.c==e.c?s!=e&&(Zen(n,s,t),n.c[e.c.p][e.p].b+=n.c[s.c.p][s.p].b,n.c[e.c.p][e.p].d+=n.c[s.c.p][s.p].d):(n.c[e.c.p][e.p].d+=n.g[f.p],++n.c[e.c.p][e.p].b);if(c=u(v(e,(W(),Jsn)),15),c)for(r=c.Kc();r.Ob();)i=u(r.Pb(),10),e.c==i.c&&(Zen(n,i,t),n.c[e.c.p][e.p].b+=n.c[i.c.p][i.p].b,n.c[e.c.p][e.p].d+=n.c[i.c.p][i.p].d);n.c[e.c.p][e.p].b>0&&(n.c[e.c.p][e.p].d+=to(n.i,24)*Iy*.07000000029802322-.03500000014901161,n.c[e.c.p][e.p].a=n.c[e.c.p][e.p].d/n.c[e.c.p][e.p].b)}}function bLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(m=new M(n);m.a<m.c.c.length;){for(p=u(E(m),10),zl(p.n),zl(p.o),HJ(p.f),Zqn(p),NSe(p),j=new M(p.j);j.a<j.c.c.length;){for(k=u(E(j),12),zl(k.n),zl(k.a),zl(k.o),gi(k,ABn(k.j)),c=u(v(k,(cn(),v1)),17),c&&U(k,v1,Y(-c.a)),r=new M(k.g);r.a<r.c.c.length;){for(i=u(E(r),18),t=ge(i.a,0);t.b!=t.d.c;)e=u(be(t),8),zl(e);if(h=u(v(i,Rr),75),h)for(f=ge(h,0);f.b!=f.d.c;)s=u(be(f),8),zl(s);for(d=new M(i.b);d.a<d.c.c.length;)l=u(E(d),72),zl(l.n),zl(l.o)}for(g=new M(k.f);g.a<g.c.c.length;)l=u(E(g),72),zl(l.n),zl(l.o)}for(p.k==(Vn(),Zt)&&(U(p,(W(),gc),ABn(u(v(p,gc),64))),HCe(p)),a=new M(p.b);a.a<a.c.c.length;)l=u(E(a),72),Zqn(l),zl(l.o),zl(l.n)}}function wLe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te;Fn=ee(n.e,i),Fn==null&&(Fn=new sp,p=u(Fn,190),O=e+"_s",A=O+r,g=new qw(A),bf(p,Eh,g)),kn=u(Fn,190),Op(t,kn),te=new sp,nd(te,"x",i.j),nd(te,"y",i.k),bf(kn,mWn,te),tn=new sp,nd(tn,"x",i.b),nd(tn,"y",i.c),bf(kn,"endPoint",tn),d=Z9((!i.a&&(i.a=new ti(xo,i,5)),i.a)),m=!d,m&&(X=new _a,c=new nyn(X),qi((!i.a&&(i.a=new ti(xo,i,5)),i.a),c),bf(kn,BP,X)),h=Px(i),D=!!h,D&&tnn(n.a,kn,Scn,oR(n,Px(i))),P=Ix(i),_=!!P,_&&tnn(n.a,kn,Ccn,oR(n,Ix(i))),l=(!i.e&&(i.e=new Dn(Tt,i,10,9)),i.e).i==0,k=!l,k&&(jn=new _a,s=new CTn(n,jn),qi((!i.e&&(i.e=new Dn(Tt,i,10,9)),i.e),s),bf(kn,Icn,jn)),a=(!i.g&&(i.g=new Dn(Tt,i,9,10)),i.g).i==0,j=!a,j&&(Kn=new _a,f=new STn(n,Kn),qi((!i.g&&(i.g=new Dn(Tt,i,9,10)),i.g),f),bf(kn,Pcn,Kn))}function gLe(n){Kw();var e,t,i,r,c,s,f;for(i=n.f.n,s=OW(n.r).a.nc();s.Ob();){if(c=u(s.Pb(),117),r=0,c.b.pf((He(),oo))&&(r=$(B(c.b.of(oo))),r<0))switch(c.b.ag().g){case 1:i.d=y.Math.max(i.d,-r);break;case 3:i.a=y.Math.max(i.a,-r);break;case 2:i.c=y.Math.max(i.c,-r);break;case 4:i.b=y.Math.max(i.b,-r)}if(K6(n.u))switch(e=yve(c.b,r),f=!u(n.e.of(Sa),181).Hc((io(),rE)),t=!1,c.b.ag().g){case 1:t=e>i.d,i.d=y.Math.max(i.d,e),f&&t&&(i.d=y.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=e>i.a,i.a=y.Math.max(i.a,e),f&&t&&(i.a=y.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=e>i.c,i.c=y.Math.max(i.c,e),f&&t&&(i.c=y.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=e>i.b,i.b=y.Math.max(i.b,e),f&&t&&(i.b=y.Math.max(i.b,i.c),i.c=i.b+r)}}}function _Gn(n,e){var t,i,r,c,s,f,h,l,a;return l="",e.length==0?n.ne(ptn,uK,-1,-1):(a=f0(e),Sn(a.substr(0,3),"at ")&&(a=(zn(3,a.length+1),a.substr(3))),a=a.replace(/\[.*?\]/g,""),s=a.indexOf("("),s==-1?(s=a.indexOf("@"),s==-1?(l=a,a=""):(l=f0((zn(s+1,a.length+1),a.substr(s+1))),a=f0((Ri(0,s,a.length),a.substr(0,s))))):(t=a.indexOf(")",s),l=(Ri(s+1,t,a.length),a.substr(s+1,t-(s+1))),a=f0((Ri(0,s,a.length),a.substr(0,s)))),s=ih(a,wu(46)),s!=-1&&(a=(zn(s+1,a.length+1),a.substr(s+1))),(a.length==0||Sn(a,"Anonymous function"))&&(a=uK),f=xM(l,wu(58)),r=TV(l,wu(58),f-1),h=-1,i=-1,c=ptn,f!=-1&&r!=-1&&(c=(Ri(0,r,l.length),l.substr(0,r)),h=iSn((Ri(r+1,f,l.length),l.substr(r+1,f-(r+1)))),i=iSn((zn(f+1,l.length+1),l.substr(f+1)))),n.ne(c,a,h,i))}function pLe(n){var e,t,i,r,c,s,f,h,l,a,d;for(l=new M(n);l.a<l.c.c.length;){switch(h=u(E(l),10),s=u(v(h,(cn(),ou)),171),c=null,s.g){case 1:case 2:c=(hd(),m2);break;case 3:case 4:c=(hd(),pv)}if(c)U(h,(W(),rO),(hd(),m2)),c==pv?OS(h,s,(gr(),Vu)):c==m2&&OS(h,s,(gr(),Jc));else if(mg(u(v(h,_t),101))&&h.j.c.length!=0){for(e=!0,d=new M(h.j);d.a<d.c.c.length;){if(a=u(E(d),12),!(a.j==(en(),Zn)&&a.e.c.length-a.g.c.length>0||a.j==Wn&&a.e.c.length-a.g.c.length<0)){e=!1;break}for(r=new M(a.g);r.a<r.c.c.length;)if(t=u(E(r),18),f=u(v(t.d.i,ou),171),f==(Yo(),F8)||f==x0){e=!1;break}for(i=new M(a.e);i.a<i.c.c.length;)if(t=u(E(i),18),f=u(v(t.c.i,ou),171),f==(Yo(),B8)||f==ja){e=!1;break}}e&&OS(h,s,(gr(),W8))}}}function mLe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;for(X=0,p=0,d=new M(e.e);d.a<d.c.c.length;){for(a=u(E(d),10),g=0,f=0,h=t?u(v(a,AO),17).a:Wi,P=i?u(v(a,LO),17).a:Wi,l=y.Math.max(h,P),A=new M(a.j);A.a<A.c.c.length;){if(O=u(E(A),12),D=a.n.b+O.n.b+O.a.b,i)for(s=new M(O.g);s.a<s.c.c.length;)c=u(E(s),18),k=c.d,m=k.i,e!=n.a[m.p]&&(j=y.Math.max(u(v(m,AO),17).a,u(v(m,LO),17).a),_=u(v(c,(cn(),O3)),17).a,_>=l&&_>=j&&(g+=m.n.b+k.n.b+k.a.b-D,++f));if(t)for(s=new M(O.e);s.a<s.c.c.length;)c=u(E(s),18),k=c.c,m=k.i,e!=n.a[m.p]&&(j=y.Math.max(u(v(m,AO),17).a,u(v(m,LO),17).a),_=u(v(c,(cn(),O3)),17).a,_>=l&&_>=j&&(g+=m.n.b+k.n.b+k.a.b-D,++f))}f>0&&(X+=g/f,++p)}p>0?(e.a=r*X/p,e.g=p):(e.a=0,e.g=0)}function vLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn;for(c=n.f.b,g=c.a,a=c.b,m=n.e.g,p=n.e.f,kg(n.e,c.a,c.b),X=g/m,tn=a/p,l=new ne(yT(n.e));l.e!=l.i.gc();)h=u(ue(l),135),eu(h,h.i*X),tu(h,h.j*tn);for(O=new ne(mD(n.e));O.e!=O.i.gc();)P=u(ue(O),123),D=P.i,_=P.j,D>0&&eu(P,D*X),_>0&&tu(P,_*tn);for(o5(n.b,new qwn),e=new Z,f=new sd(new Ua(n.c).a);f.b;)s=Ab(f),i=u(s.ld(),74),t=u(s.md(),407).a,r=Xg(i,!1,!1),d=NFn(Fh(i),Jk(r),t),ay(d,r),A=zFn(i),A&&qr(e,A,0)==-1&&(Bn(e.c,A),yOn(A,(oe(d.b!=0),u(d.a.a.c,8)),t));for(j=new sd(new Ua(n.d).a);j.b;)k=Ab(j),i=u(k.ld(),74),t=u(k.md(),407).a,r=Xg(i,!1,!1),d=NFn(ca(i),Sk(Jk(r)),t),d=Sk(d),ay(d,r),A=XFn(i),A&&qr(e,A,0)==-1&&(Bn(e.c,A),yOn(A,(oe(d.b!=0),u(d.c.b.c,8)),t))}function HGn(n,e,t,i){var r,c,s,f,h;return f=new ntn(e),hCe(f,i),r=!0,n&&n.pf((He(),_d))&&(c=u(n.of((He(),_d)),88),r=c==(ci(),Jf)||c==Kr||c==Xr),_qn(f,!1),nu(f.e.Rf(),new LV(f,!1,r)),AD(f,f.f,(wf(),bc),(en(),Xn)),AD(f,f.f,wc,ae),AD(f,f.g,bc,Wn),AD(f,f.g,wc,Zn),wBn(f,Xn),wBn(f,ae),mOn(f,Zn),mOn(f,Wn),Kw(),s=f.A.Hc((go(),Q0))&&f.B.Hc((io(),cE))?NKn(f):null,s&&vhe(f.a,s),gLe(f),p7e(f),m7e(f),qAe(f),pPe(f),U7e(f),kx(f,Xn),kx(f,ae),VSe(f),pOe(f),t&&(Y5e(f),G7e(f),kx(f,Zn),kx(f,Wn),h=f.B.Hc((io(),P9)),N_n(f,h,Xn),N_n(f,h,ae),D_n(f,h,Zn),D_n(f,h,Wn),Ut(new Cn(null,new On(new ol(f.i),0)),new awn),Ut(ut(new Cn(null,OW(f.r).a.oc()),new dwn),new bwn),cye(f),f.e.Pf(f.o),Ut(new Cn(null,OW(f.r).a.oc()),new wwn)),f.o}function kLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(l=Pt,i=new M(n.a.b);i.a<i.c.c.length;)e=u(E(i),86),l=y.Math.min(l,e.d.f.g.c+e.e.a);for(p=new Mt,s=new M(n.a.a);s.a<s.c.c.length;)c=u(E(s),194),c.i=l,c.e==0&&xt(p,c,p.c.b,p.c);for(;p.b!=0;){for(c=u(p.b==0?null:(oe(p.b!=0),Xo(p,p.a.a)),194),r=c.f.g.c,g=c.a.a.ec().Kc();g.Ob();)a=u(g.Pb(),86),k=c.i+a.e.a,a.d.g||a.g.c<k?a.o=k:a.o=a.g.c;for(r-=c.f.o,c.b+=r,n.c==(ci(),Xr)||n.c==Wf?c.c+=r:c.c-=r,d=c.a.a.ec().Kc();d.Ob();)for(a=u(d.Pb(),86),h=a.f.Kc();h.Ob();)f=u(h.Pb(),86),hl(n.c)?m=n.f.yf(a,f):m=n.f.zf(a,f),f.d.i=y.Math.max(f.d.i,a.o+a.g.b+m-f.e.a),f.k||(f.d.i=y.Math.max(f.d.i,f.g.c-f.e.a)),--f.d.e,f.d.e==0&&Re(p,f.d)}for(t=new M(n.a.b);t.a<t.c.c.length;)e=u(E(t),86),e.g.c=e.o}function yLe(n){var e,t,i,r,c,s,f,h;switch(f=n.b,e=n.a,u(v(n,(aS(),Hun)),435).g){case 0:Yt(f,new Ce(new Cwn));break;case 1:default:Yt(f,new Ce(new Swn))}switch(u(v(n,Fun),436).g){case 1:Yt(f,new KU),Yt(f,new Pwn),Yt(f,new kwn);break;case 0:default:Yt(f,new KU),Yt(f,new Mwn)}switch(u(v(n,Uun),257).g){case 0:h=new Own;break;case 1:h=new $A;break;case 2:h=new mE;break;case 3:h=new DA;break;case 5:h=new Z3(new mE);break;case 4:h=new Z3(new $A);break;case 7:h=new qz(new Z3(new $A),new Z3(new mE));break;case 8:h=new qz(new Z3(new DA),new Z3(new mE));break;case 6:default:h=new Z3(new DA)}for(s=new M(f);s.a<s.c.c.length;){for(c=u(E(s),176),i=0,r=0,t=new bi(Y(i),Y(r));tIe(e,c,i,r);)t=u(h.Ve(t,c),42),i=u(t.a,17).a,r=u(t.b,17).a;YSe(e,c,i,r)}}function qGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;for(t.Ug(pVn,1),g=(pt(),tq),n.a==(a5(),KO)&&(g=gln),a=0,Ln(),e.jd(new tL(g)),c=e.gc(),f=e.fd(e.gc()),l=!0;l&&f.Sb();)O=u(f.Ub(),39),u(v(O,g),17).a==0?--c:l=!1;if(X=e.kd(0,c),s=new $N(X),X=e.kd(c,e.gc()),h=new $N(X),s.b==0)for(k=ge(h,0);k.b!=k.d.c;)m=u(be(k),39),U(m,c9,Y(a++));else for(d=s.b,_=ge(s,0);_.b!=_.d.c;){for(D=u(be(_),39),U(D,c9,Y(a++)),i=R$(D),qGn(n,i,t.eh(1/d|0)),ud(i,_W(new tL(c9))),p=new Mt,A=ge(i,0);A.b!=A.d.c;)for(O=u(be(A),39),P=ge(D.d,0);P.b!=P.d.c;)j=u(be(P),65),j.c==O&&xt(p,j,p.c.b,p.c);for(vo(D.d),Ki(D.d,p),f=ge(h,h.b),r=D.d.b,l=!0;0<r&&l&&f.Sb();)O=u(f.Ub(),39),u(v(O,g),17).a==0?(U(O,c9,Y(a++)),--r,f.Qb()):l=!1}t.Vg()}function jLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;for(d=$(B(z(n,(sa(),yq)))),on(un(z(n,Qln)))&&(a=u(z(n,(Cg(),L2)),27),c=u(N(HW(u(N((!a.e&&(a.e=new Dn(Vt,a,7,4)),a.e),(!a.e&&(a.e=new Dn(Vt,a,7,4)),a.e).i-1),74)),0),27),i=u(N(HW(u(N((!a.e&&(a.e=new Dn(Vt,a,7,4)),a.e),0),74)),0),27),s=new V(c.i+c.g/2,c.j+c.f/2),r=new V(i.i+i.g/2,i.j+i.f/2),t=d,t<=0&&(t+=Md),g=y.Math.acos((s.a*r.a+s.b*r.b)/(y.Math.sqrt(s.a*s.a+s.b*s.b)*y.Math.sqrt(r.a*r.a+r.b*r.b))),g<=0&&(g+=Md),e=y.Math.atan2(s.b,s.a),e<=0&&(e+=Md),d=Ern-(e-t+g/2)),h=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));h.e!=h.i.gc();)f=u(ue(h),27),l=new V(f.i+f.g/2,f.j+f.f/2),p=l.a*y.Math.cos(d)-l.b*y.Math.sin(d),l.b=l.a*y.Math.sin(d)+l.b*y.Math.cos(d),l.a=p,Bo(f,l.a-f.g/2,l.b-f.f/2)}function ELe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(e.Ug("Inverted port preprocessing",1),a=n.b,l=new xi(a,0),t=null,A=new Z;l.b<l.d.gc();){for(O=t,t=(oe(l.b<l.d.gc()),u(l.d.Xb(l.c=l.b++),30)),p=new M(A);p.a<p.c.c.length;)d=u(E(p),10),$i(d,O);for(A.c.length=0,m=new M(t.a);m.a<m.c.c.length;)if(d=u(E(m),10),d.k==(Vn(),Xt)&&mg(u(v(d,(cn(),_t)),101))){for(P=gen(d,(gr(),Vu),(en(),Zn)).Kc();P.Ob();)for(k=u(P.Pb(),12),h=k.e,f=u(Rf(h,F(O_,rB,18,h.c.length,0,1)),482),r=f,c=0,s=r.length;c<s;++c)i=r[c],zIe(n,k,i,A);for(j=gen(d,Jc,Wn).Kc();j.Ob();)for(k=u(j.Pb(),12),h=k.g,f=u(Rf(h,F(O_,rB,18,h.c.length,0,1)),482),r=f,c=0,s=r.length;c<s;++c)i=r[c],GIe(n,k,i,A)}}for(g=new M(A);g.a<g.c.c.length;)d=u(E(g),10),$i(d,t);e.Vg()}function JR(n,e,t,i,r,c,s){var f,h,l,a,d,g,p,m,k,j,P,O,A;for(g=null,i==(Eb(),Ta)?g=e:i==O2&&(g=t),k=g.a.ec().Kc();k.Ob();){for(m=u(k.Pb(),12),j=cc(S(C(Ei,1),J,8,0,[m.i.n,m.n,m.a])).b,A=new ni,f=new ni,l=new Lf(m.b);tc(l.a)||tc(l.b);)if(h=u(tc(l.a)?E(l.a):E(l.b),18),on(un(v(h,(W(),zf))))==r&&qr(c,h,0)!=-1){if(h.d==m?P=h.c:P=h.d,O=cc(S(C(Ei,1),J,8,0,[P.i.n,P.n,P.a])).b,y.Math.abs(O-j)<.2)continue;O<j?e.a._b(P)?fi(A,new bi(Ta,h)):fi(A,new bi(O2,h)):e.a._b(P)?fi(f,new bi(Ta,h)):fi(f,new bi(O2,h))}if(A.a.gc()>1)for(p=new Gen(m,A,i),qi(A,new QMn(n,p)),Bn(s.c,p),d=A.a.ec().Kc();d.Ob();)a=u(d.Pb(),42),du(c,a.b);if(f.a.gc()>1)for(p=new Gen(m,f,i),qi(f,new YMn(n,p)),Bn(s.c,p),d=f.a.ec().Kc();d.Ob();)a=u(d.Pb(),42),du(c,a.b)}}function MLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;if(k=n.n,j=n.o,g=n.d,d=$(B(r0(n,(cn(),PH)))),e){for(a=d*(e.gc()-1),p=0,h=e.Kc();h.Ob();)s=u(h.Pb(),10),a+=s.o.a,p=y.Math.max(p,s.o.b);for(P=k.a-(a-j.a)/2,c=k.b-g.d+p,i=j.a/(e.gc()+1),r=i,f=e.Kc();f.Ob();)s=u(f.Pb(),10),s.n.a=P,s.n.b=c-s.o.b,P+=s.o.a+d,l=QHn(s),l.n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,m=u(v(s,(W(),tO)),12),m.e.c.length+m.g.c.length==1&&(m.n.a=r-m.a.a,m.n.b=0,ic(m,n)),r+=i}if(t){for(a=d*(t.gc()-1),p=0,h=t.Kc();h.Ob();)s=u(h.Pb(),10),a+=s.o.a,p=y.Math.max(p,s.o.b);for(P=k.a-(a-j.a)/2,c=k.b+j.b+g.a-p,i=j.a/(t.gc()+1),r=i,f=t.Kc();f.Ob();)s=u(f.Pb(),10),s.n.a=P,s.n.b=c,P+=s.o.a+d,l=QHn(s),l.n.a=s.o.a/2-l.a.a,l.n.b=0,m=u(v(s,(W(),tO)),12),m.e.c.length+m.g.c.length==1&&(m.n.a=r-m.a.a,m.n.b=j.b,ic(m,n)),r+=i}}function TLe(n,e){var t,i,r,c,s,f;if(u(v(e,(W(),Hc)),21).Hc((pr(),cs))){for(f=new M(e.a);f.a<f.c.c.length;)c=u(E(f),10),c.k==(Vn(),Xt)&&(r=u(v(c,(cn(),pO)),140),n.c=y.Math.min(n.c,c.n.a-r.b),n.a=y.Math.max(n.a,c.n.a+c.o.a+r.c),n.d=y.Math.min(n.d,c.n.b-r.d),n.b=y.Math.max(n.b,c.n.b+c.o.b+r.a));for(s=new M(e.a);s.a<s.c.c.length;)if(c=u(E(s),10),c.k!=(Vn(),Xt))switch(c.k.g){case 2:if(i=u(v(c,(cn(),ou)),171),i==(Yo(),ja)){c.n.a=n.c-10,eFn(c,new pgn).Jb(new Y9n(c));break}if(i==x0){c.n.a=n.a+10,eFn(c,new mgn).Jb(new Z9n(c));break}if(t=u(v(c,Ad),311),t==(vl(),k2)){dGn(c).Jb(new n7n(c)),c.n.b=n.d-10;break}if(t==E3){dGn(c).Jb(new e7n(c)),c.n.b=n.b+10;break}break;default:throw T(new Gn("The node type "+c.k+" is not supported by the "+kDe))}}}function CLe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;for(h=new V(i.i+i.g/2,i.j+i.f/2),p=hGn(i),m=u(z(e,(cn(),_t)),101),j=u(z(i,Mv),64),ITn(lBn(i),F0)||(i.i==0&&i.j==0?k=0:k=Fye(i,j),ht(i,F0,k)),l=new V(e.g,e.f),r=py(i,m,j,p,l,h,new V(i.g,i.f),u(v(t,Lo),88),t),U(r,(W(),st),i),c=u(sn(r.j,0),12),nfe(c,UPe(i)),U(r,_0,(zu(),yn(Aa))),d=u(z(e,_0),181).Hc(Rl),f=new ne((!i.n&&(i.n=new q(Sr,i,1,7)),i.n));f.e!=f.i.gc();)if(s=u(ue(f),135),!on(un(z(s,Rd)))&&s.a&&(g=ex(s),nn(c.f,g),!d))switch(a=0,K6(u(z(e,_0),21))&&(a=Onn(new V(s.i,s.j),new V(s.g,s.f),new V(i.g,i.f),0,j)),j.g){case 2:case 4:g.o.a=a;break;case 1:case 3:g.o.b=a}U(r,Cv,B(z(St(e),Cv))),U(r,Sv,B(z(St(e),Sv))),U(r,q0,B(z(St(e),q0))),nn(t.a,r),Ve(n.a,i,r)}function SLe(n,e,t,i,r,c){var s,f,h,l,a,d;for(l=new Ic,Ur(l,e),gi(l,u(z(e,(cn(),Mv)),64)),U(l,(W(),st),e),ic(l,t),d=l.o,d.a=e.g,d.b=e.f,a=l.n,a.a=e.i,a.b=e.j,Ve(n.a,e,l),s=Ag(_r(rc(new Cn(null,(!e.e&&(e.e=new Dn(Vt,e,7,4)),new On(e.e,16))),new j0n),new k0n),new q9n(e)),s||(s=Ag(_r(rc(new Cn(null,(!e.d&&(e.d=new Dn(Vt,e,8,5)),new On(e.d,16))),new E0n),new y0n),new U9n(e))),s||(s=Ag(new Cn(null,(!e.e&&(e.e=new Dn(Vt,e,7,4)),new On(e.e,16))),new M0n)),U(l,kj,(_n(),!!s)),XOe(l,c,r,u(z(e,aw),8)),h=new ne((!e.n&&(e.n=new q(Sr,e,1,7)),e.n));h.e!=h.i.gc();)f=u(ue(h),135),!on(un(z(f,Rd)))&&f.a&&nn(l.f,ex(f));switch(r.g){case 2:case 1:(l.j==(en(),Xn)||l.j==ae)&&i.Fc((pr(),v2));break;case 4:case 3:(l.j==(en(),Zn)||l.j==Wn)&&i.Fc((pr(),v2))}return l}function PLe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;for(A=0,m=0,p=0,g=1,O=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));O.e!=O.i.gc();)j=u(ue(O),27),g+=wl(new ie(ce(Sl(j).a.Kc(),new En))),jn=j.g,m=y.Math.max(m,jn),d=j.f,p=y.Math.max(p,d),A+=jn*d;for(k=(!n.a&&(n.a=new q(Ye,n,10,11)),n.a).i,s=A+2*i*i*g*k,c=y.Math.sqrt(s),h=y.Math.max(c*t,m),f=y.Math.max(c/t,p),P=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));P.e!=P.i.gc();)j=u(ue(P),27),kn=r.b+(to(e,26)*V5+to(e,27)*W5)*(h-j.g),Fn=r.b+(to(e,26)*V5+to(e,27)*W5)*(f-j.f),eu(j,kn),tu(j,Fn);for(tn=h+(r.b+r.c),X=f+(r.d+r.a),_=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));_.e!=_.i.gc();)for(D=u(ue(_),27),a=new ie(ce(Sl(D).a.Kc(),new En));pe(a);)l=u(fe(a),74),L5(l)||NNe(l,e,tn,X);tn+=r.b+r.c,X+=r.d+r.a,qb(n,tn,X,!1,!0)}function ntn(n){var e;if(this.r=oge(new hwn,new lwn),this.b=new v5(u(Pe(lr),296)),this.p=new v5(u(Pe(lr),296)),this.i=new v5(u(Pe(vYn),296)),this.e=n,this.o=new rr(n.Mf()),this.D=n.Yf()||on(un(n.of((He(),zj)))),this.A=u(n.of((He(),Hd)),21),this.B=u(n.of(Sa),21),this.q=u(n.of(m9),101),this.u=u(n.of(W0),21),!Wye(this.u))throw T(new _l("Invalid port label placement: "+this.u));if(this.v=on(un(n.of(Fan))),this.j=u(n.of(F2),21),!MTe(this.j))throw T(new _l("Invalid node label placement: "+this.j));this.n=u(C5(n,San),107),this.k=$(B(C5(n,iA))),this.d=$(B(C5(n,Gan))),this.w=$(B(C5(n,Jan))),this.s=$(B(C5(n,zan))),this.t=$(B(C5(n,Xan))),this.C=u(C5(n,Van),140),this.c=2*this.d,e=!this.B.Hc((io(),rE)),this.f=new y5(0,e,0),this.g=new y5(1,e,0),mL(this.f,(wf(),Wc),this.g)}function ILe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;for(e.Ug("Comment pre-processing",1),t=0,h=new M(n.a);h.a<h.c.c.length;)if(f=u(E(h),10),on(un(v(f,(cn(),_8))))){for(++t,r=0,i=null,l=null,m=new M(f.j);m.a<m.c.c.length;)g=u(E(m),12),r+=g.e.c.length+g.g.c.length,g.e.c.length==1&&(i=u(sn(g.e,0),18),l=i.c),g.g.c.length==1&&(i=u(sn(g.g,0),18),l=i.d);if(r==1&&l.e.c.length+l.g.c.length==1&&!on(un(v(l.i,_8))))oNe(f,i,l,l.i),_6(h);else{for(P=new Z,p=new M(f.j);p.a<p.c.c.length;){for(g=u(E(p),12),d=new M(g.g);d.a<d.c.c.length;)a=u(E(d),18),a.d.g.c.length==0||Bn(P.c,a);for(s=new M(g.e);s.a<s.c.c.length;)c=u(E(s),18),c.c.e.c.length==0||Bn(P.c,c)}for(j=new M(P);j.a<j.c.c.length;)k=u(E(j),18),Hb(k,!0)}}e._g()&&e.bh("Found "+t+" comment boxes"),e.Vg()}function etn(n,e){$Pn();var t,i,r,c,s,f,h;if(this.a=new LX(this),this.b=n,this.c=e,this.f=sD(Nr((Lu(),zi),e)),this.f.dc())if((f=DZ(zi,n))==e)for(this.e=!0,this.d=new Z,this.f=new lvn,this.f.Fc(Pd),u(qS(fk(zi,jo(n)),""),29)==n&&this.f.Fc(R6(zi,jo(n))),r=PR(zi,n).Kc();r.Ob();)switch(i=u(r.Pb(),179),vb(Nr(zi,i))){case 4:{this.d.Fc(i);break}case 5:{this.f.Gc(sD(Nr(zi,i)));break}}else if(dr(),u(e,69).xk())for(this.e=!0,this.f=null,this.d=new Z,s=0,h=(n.i==null&&bh(n),n.i).length;s<h;++s)for(i=(t=(n.i==null&&bh(n),n.i),s>=0&&s<t.length?t[s]:null),c=$p(Nr(zi,i));c;c=$p(Nr(zi,c)))c==e&&this.d.Fc(i);else vb(Nr(zi,e))==1&&f?(this.f=null,this.d=(n3(),tse)):(this.f=null,this.e=!0,this.d=(Ln(),new nL(e)));else this.e=vb(Nr(zi,e))==5,this.f.Fb(TU)&&(this.f=TU)}function UGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;for(t=0,i=o7e(n,e),g=n.s,p=n.t,l=u(u(ot(n.r,e),21),87).Kc();l.Ob();)if(h=u(l.Pb(),117),!(!h.c||h.c.d.c.length<=0)){switch(m=h.b.Mf(),f=h.b.pf((He(),oo))?$(B(h.b.of(oo))):0,a=h.c,d=a.i,d.b=(s=a.n,a.e.a+s.b+s.c),d.a=(c=a.n,a.e.b+c.d+c.a),e.g){case 1:d.c=h.a?(m.a-d.b)/2:m.a+g,d.d=m.b+f+i,df(a,(Uu(),ma)),uh(a,(bu(),kf));break;case 3:d.c=h.a?(m.a-d.b)/2:m.a+g,d.d=-f-i-d.a,df(a,(Uu(),ma)),uh(a,(bu(),Xs));break;case 2:d.c=-f-i-d.b,h.a?(r=n.v?d.a:u(sn(a.d,0),187).Mf().b,d.d=(m.b-r)/2):d.d=m.b+p,df(a,(Uu(),zs)),uh(a,(bu(),va));break;case 4:d.c=m.a+f+i,h.a?(r=n.v?d.a:u(sn(a.d,0),187).Mf().b,d.d=(m.b-r)/2):d.d=m.b+p,df(a,(Uu(),Th)),uh(a,(bu(),va))}(e==(en(),Xn)||e==ae)&&(t=y.Math.max(t,d.a))}t>0&&(u(Mr(n.b,e),127).a.b=t)}function OLe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k;if(g=$(B(v(n,(cn(),Cv)))),p=$(B(v(n,Sv))),d=$(B(v(n,q0))),f=n.o,c=u(sn(n.j,0),12),s=c.n,k=Xje(c,d),!!k){if(e.Hc((zu(),Rl)))switch(u(v(n,(W(),gc)),64).g){case 1:k.c=(f.a-k.b)/2-s.a,k.d=p;break;case 3:k.c=(f.a-k.b)/2-s.a,k.d=-p-k.a;break;case 2:t&&c.e.c.length==0&&c.g.c.length==0?(a=i?k.a:u(sn(c.f,0),72).o.b,k.d=(f.b-a)/2-s.b):k.d=f.b+p-s.b,k.c=-g-k.b;break;case 4:t&&c.e.c.length==0&&c.g.c.length==0?(a=i?k.a:u(sn(c.f,0),72).o.b,k.d=(f.b-a)/2-s.b):k.d=f.b+p-s.b,k.c=g}else if(e.Hc(Aa))switch(u(v(n,(W(),gc)),64).g){case 1:case 3:k.c=s.a+g;break;case 2:case 4:t&&!c.c?(a=i?k.a:u(sn(c.f,0),72).o.b,k.d=(f.b-a)/2-s.b):k.d=s.b+p}for(r=k.d,l=new M(c.f);l.a<l.c.c.length;)h=u(E(l),72),m=h.n,m.a=k.c,m.b=r,r+=h.o.b+d}}function ALe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn;for(X=new Z,m=new M(n.b);m.a<m.c.c.length;)for(p=u(E(m),30),P=new M(p.a);P.a<P.c.c.length;)if(k=u(E(P),10),k.k==(Vn(),Zt)&&kt(k,(W(),cO))){for(O=null,D=null,A=null,kn=new M(k.j);kn.a<kn.c.c.length;)switch(jn=u(E(kn),12),jn.j.g){case 4:O=jn;break;case 2:D=jn;break;default:A=jn}for(_=u(sn(A.g,0),18),a=new UE(_.a),l=new rr(A.n),it(l,k.n),d=ge(a,0),_7(d,l),tn=Sk(_.a),g=new rr(A.n),it(g,k.n),xt(tn,g,tn.c.b,tn.c),Fn=u(v(k,cO),10),Kn=u(sn(Fn.j,0),12),h=u(Rf(O.e,F(O_,rB,18,0,0,1)),482),i=h,c=0,f=i.length;c<f;++c)e=i[c],Oi(e,Kn),J$(e.a,e.a.b,a);for(h=hh(D.g),t=h,r=0,s=t.length;r<s;++r)e=t[r],Zi(e,Kn),J$(e.a,0,tn);Zi(_,null),Oi(_,null),Bn(X.c,k)}for(j=new M(X);j.a<j.c.c.length;)k=u(E(j),10),$i(k,null)}function LLe(){Ge(dE,new F6n),Ge(SA,new Q6n),Ge(bE,new s5n),Ge(cbn,new v5n),Ge(fn,new E5n),Ge(C(Ru,1),new M5n),Ge(zt,new T5n),Ge(p3,new C5n),Ge(fn,new I6n),Ge(fn,new O6n),Ge(fn,new A6n),Ge(si,new L6n),Ge(fn,new N6n),Ge(rs,new D6n),Ge(rs,new $6n),Ge(fn,new x6n),Ge(ov,new K6n),Ge(fn,new B6n),Ge(fn,new _6n),Ge(fn,new H6n),Ge(fn,new q6n),Ge(fn,new U6n),Ge(C(Ru,1),new G6n),Ge(fn,new z6n),Ge(fn,new X6n),Ge(rs,new V6n),Ge(rs,new W6n),Ge(fn,new J6n),Ge(Gi,new Y6n),Ge(fn,new Z6n),Ge(nw,new n5n),Ge(fn,new e5n),Ge(fn,new t5n),Ge(fn,new i5n),Ge(fn,new r5n),Ge(rs,new c5n),Ge(rs,new u5n),Ge(fn,new o5n),Ge(fn,new f5n),Ge(fn,new h5n),Ge(fn,new l5n),Ge(fn,new a5n),Ge(fn,new d5n),Ge(ew,new b5n),Ge(fn,new w5n),Ge(fn,new g5n),Ge(fn,new p5n),Ge(ew,new m5n),Ge(nw,new k5n),Ge(fn,new y5n),Ge(Gi,new j5n)}function GGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;switch(a=new Tu,n.a.g){case 3:g=u(v(e.e,(W(),Ld)),15),p=u(v(e.j,Ld),15),m=u(v(e.f,Ld),15),t=u(v(e.e,M2),15),i=u(v(e.j,M2),15),r=u(v(e.f,M2),15),s=new Z,hi(s,g),p.Jc(new Fpn),hi(s,Qo(p)),hi(s,m),c=new Z,hi(c,t),hi(c,Qo(i)),hi(c,r),U(e.f,Ld,s),U(e.f,M2,c),U(e.f,ofn,e.f),U(e.e,Ld,null),U(e.e,M2,null),U(e.j,Ld,null),U(e.j,M2,null);break;case 1:Ki(a,e.e.a),Re(a,e.i.n),Ki(a,Qo(e.j.a)),Re(a,e.a.n),Ki(a,e.f.a);break;default:Ki(a,e.e.a),Ki(a,Qo(e.j.a)),Ki(a,e.f.a)}vo(e.f.a),Ki(e.f.a,a),Zi(e.f,e.e.c),f=u(v(e.e,(cn(),Rr)),75),l=u(v(e.j,Rr),75),h=u(v(e.f,Rr),75),(f||l||h)&&(d=new Tu,PW(d,h),PW(d,l),PW(d,f),U(e.f,Rr,d)),Zi(e.j,null),Oi(e.j,null),Zi(e.e,null),Oi(e.e,null),$i(e.a,null),$i(e.i,null),e.g&&GGn(n,e.g)}function zGn(){zGn=R;var n,e,t;for(new Nk(1,0),new Nk(10,0),new Nk(0,0),mQn=F(JF,J,247,11,0,1),Od=F(fs,gh,28,100,15,1),yun=S(C(Ii,1),Cr,28,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),jun=F(ye,_e,28,yun.length,15,1),Eun=S(C(Ii,1),Cr,28,15,[1,10,100,d1,1e4,IK,1e6,1e7,1e8,QS,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),Mun=F(ye,_e,28,Eun.length,15,1),Tun=F(JF,J,247,11,0,1),n=0;n<Tun.length;n++)mQn[n]=new Nk(n,0),Tun[n]=new Nk(0,n),Od[n]=48;for(;n<Od.length;n++)Od[n]=48;for(t=0;t<jun.length;t++)jun[t]=Snn(yun[t]);for(e=0;e<Mun.length;e++)Mun[e]=Snn(Eun[e]);C4()}function NLe(){function n(){this.obj=this.createObject()}return n.prototype.createObject=function(e){return Object.create(null)},n.prototype.get=function(e){return this.obj[e]},n.prototype.set=function(e,t){this.obj[e]=t},n.prototype[LK]=function(e){delete this.obj[e]},n.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},n.prototype.entries=function(){var e=this.keys(),t=this,i=0;return{next:function(){if(i>=e.length)return{done:!0};var r=e[i++];return{value:[r,t.get(r)],done:!1}}}},SSe()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(e){return this.obj[":"+e]},n.prototype.set=function(e,t){this.obj[":"+e]=t},n.prototype[LK]=function(e){delete this.obj[":"+e]},n.prototype.keys=function(){var e=[];for(var t in this.obj)t.charCodeAt(0)==58&&e.push(t.substring(1));return e}),n}function pt(){pt=R,r9=new lt(Xtn),new Lt("DEPTH",Y(0)),tq=new Lt("FAN",Y(0)),gln=new Lt(bVn,Y(0)),Ca=new Lt("ROOT",(_n(),!1)),cq=new Lt("LEFTNEIGHBOR",null),dre=new Lt("RIGHTNEIGHBOR",null),$O=new Lt("LEFTSIBLING",null),uq=new Lt("RIGHTSIBLING",null),eq=new Lt("DUMMY",!1),new Lt("LEVEL",Y(0)),vln=new Lt("REMOVABLE_EDGES",new Mt),Dj=new Lt("XCOOR",Y(0)),$j=new Lt("YCOOR",Y(0)),xO=new Lt("LEVELHEIGHT",0),jf=new Lt("LEVELMIN",0),Js=new Lt("LEVELMAX",0),iq=new Lt("GRAPH_XMIN",0),rq=new Lt("GRAPH_YMIN",0),pln=new Lt("GRAPH_XMAX",0),mln=new Lt("GRAPH_YMAX",0),wln=new Lt("COMPACT_LEVEL_ASCENSION",!1),nq=new Lt("COMPACT_CONSTRAINTS",new Z),i9=new Lt("ID",""),c9=new Lt("POSITION",Y(0)),j1=new Lt("PRELIM",0),Lv=new Lt("MODIFIER",0),Av=new lt(CXn),Nj=new lt(SXn)}function DLe(n){$en();var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(n==null)return null;if(d=n.length*8,d==0)return"";for(f=d%24,p=d/24|0,g=f!=0?p+1:p,c=null,c=F(fs,gh,28,g*4,15,1),l=0,a=0,e=0,t=0,i=0,s=0,r=0,h=0;h<p;h++)e=n[r++],t=n[r++],i=n[r++],a=(t&15)<<24>>24,l=(e&3)<<24>>24,m=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,k=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,j=i&-128?(i>>6^252)<<24>>24:i>>6<<24>>24,c[s++]=A1[m],c[s++]=A1[k|l<<4],c[s++]=A1[a<<2|j],c[s++]=A1[i&63];return f==8?(e=n[r],l=(e&3)<<24>>24,m=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,c[s++]=A1[m],c[s++]=A1[l<<4],c[s++]=61,c[s++]=61):f==16&&(e=n[r],t=n[r+1],a=(t&15)<<24>>24,l=(e&3)<<24>>24,m=e&-128?(e>>2^192)<<24>>24:e>>2<<24>>24,k=t&-128?(t>>4^240)<<24>>24:t>>4<<24>>24,c[s++]=A1[m],c[s++]=A1[k|l<<4],c[s++]=A1[a<<2],c[s++]=61),ws(c,0,c.length)}function $Le(n,e){var t,i,r,c,s,f,h;if(n.e==0&&n.p>0&&(n.p=-(n.p-1)),n.p>Wi&&jJ(e,n.p-la),s=e.q.getDate(),V7(e,1),n.k>=0&&E2e(e,n.k),n.c>=0?V7(e,n.c):n.k>=0?(h=new YQ(e.q.getFullYear()-la,e.q.getMonth(),35),i=35-h.q.getDate(),V7(e,y.Math.min(i,s))):V7(e,s),n.f<0&&(n.f=e.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),b1e(e,n.f==24&&n.g?0:n.f),n.j>=0&&cme(e,n.j),n.n>=0&&pme(e,n.n),n.i>=0&&JTn(e,nr(er(zk(vc(e.q.getTime()),d1),d1),n.i)),n.a&&(r=new WE,jJ(r,r.q.getFullYear()-la-80),DL(vc(e.q.getTime()),vc(r.q.getTime()))&&jJ(e,r.q.getFullYear()-la+100)),n.d>=0){if(n.c==-1)t=(7+n.d-e.q.getDay())%7,t>3&&(t-=7),f=e.q.getMonth(),V7(e,e.q.getDate()+t),e.q.getMonth()!=f&&V7(e,e.q.getDate()+(t>0?-7:7));else if(e.q.getDay()!=n.d)return!1}return n.o>Wi&&(c=e.q.getTimezoneOffset(),JTn(e,nr(vc(e.q.getTime()),(n.o-c)*60*d1))),!0}function XGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;if(r=v(e,(W(),st)),!!L(r,207)){for(m=u(r,27),k=e.e,g=new rr(e.c),c=e.d,g.a+=c.b,g.b+=c.d,D=u(z(m,(cn(),kO)),181),Su(D,(io(),sA))&&(p=u(z(m,shn),107),Use(p,c.a),Yse(p,c.d),Gse(p,c.b),Qse(p,c.c)),t=new Z,a=new M(e.a);a.a<a.c.c.length;)for(h=u(E(a),10),L(v(h,st),207)?_Le(h,g):L(v(h,st),193)&&!k&&(i=u(v(h,st),123),O=DUn(e,h,i.g,i.f),Bo(i,O.a,O.b)),P=new M(h.j);P.a<P.c.c.length;)j=u(E(P),12),Ut(ut(new Cn(null,new On(j.g,16)),new G9n(h)),new z9n(t));if(k)for(P=new M(k.j);P.a<P.c.c.length;)j=u(E(P),12),Ut(ut(new Cn(null,new On(j.g,16)),new X9n(k)),new V9n(t));for(A=u(z(m,$l),223),f=new M(t);f.a<f.c.c.length;)s=u(E(f),18),tLe(s,A,g);for(HPe(e),l=new M(e.a);l.a<l.c.c.length;)h=u(E(l),10),d=h.e,d&&XGn(n,d)}}function VGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p;if(!u(u(ot(n.r,e),21),87).dc()){if(s=u(Mr(n.b,e),127),h=s.i,f=s.n,a=kR(n,e),i=h.b-f.b-f.c,r=s.a.a,c=h.c+f.b,p=n.w,(a==(Kg(),Ia)||a==nE)&&u(u(ot(n.r,e),21),87).gc()==1&&(r=a==Ia?r-2*n.w:r,a=E9),i<r&&!n.B.Hc((io(),fA)))a==Ia?(p+=(i-r)/(u(u(ot(n.r,e),21),87).gc()+1),c+=p):p+=(i-r)/(u(u(ot(n.r,e),21),87).gc()-1);else switch(i<r&&(r=a==Ia?r-2*n.w:r,a=E9),a.g){case 3:c+=(i-r)/2;break;case 4:c+=i-r;break;case 0:t=(i-r)/(u(u(ot(n.r,e),21),87).gc()+1),p+=y.Math.max(0,t),c+=p;break;case 1:t=(i-r)/(u(u(ot(n.r,e),21),87).gc()-1),p+=y.Math.max(0,t)}for(g=u(u(ot(n.r,e),21),87).Kc();g.Ob();)d=u(g.Pb(),117),d.e.a=c+d.d.b,d.e.b=(l=d.b,l.pf((He(),oo))?l.ag()==(en(),Xn)?-l.Mf().b-$(B(l.of(oo))):$(B(l.of(oo))):l.ag()==(en(),Xn)?-l.Mf().b:0),c+=d.d.b+d.b.Mf().a+d.d.c+p}}function WGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m;if(!u(u(ot(n.r,e),21),87).dc()){if(s=u(Mr(n.b,e),127),h=s.i,f=s.n,d=kR(n,e),i=h.a-f.d-f.a,r=s.a.b,c=h.d+f.d,m=n.w,l=n.o.a,(d==(Kg(),Ia)||d==nE)&&u(u(ot(n.r,e),21),87).gc()==1&&(r=d==Ia?r-2*n.w:r,d=E9),i<r&&!n.B.Hc((io(),fA)))d==Ia?(m+=(i-r)/(u(u(ot(n.r,e),21),87).gc()+1),c+=m):m+=(i-r)/(u(u(ot(n.r,e),21),87).gc()-1);else switch(i<r&&(r=d==Ia?r-2*n.w:r,d=E9),d.g){case 3:c+=(i-r)/2;break;case 4:c+=i-r;break;case 0:t=(i-r)/(u(u(ot(n.r,e),21),87).gc()+1),m+=y.Math.max(0,t),c+=m;break;case 1:t=(i-r)/(u(u(ot(n.r,e),21),87).gc()-1),m+=y.Math.max(0,t)}for(p=u(u(ot(n.r,e),21),87).Kc();p.Ob();)g=u(p.Pb(),117),g.e.a=(a=g.b,a.pf((He(),oo))?a.ag()==(en(),Wn)?-a.Mf().a-$(B(a.of(oo))):l+$(B(a.of(oo))):a.ag()==(en(),Wn)?-a.Mf().a:l),g.e.b=c+g.d.d,c+=g.d.d+g.b.Mf().b+g.d.a+m}}function xLe(n,e){var t,i,r,c,s;for(e.Ug("Processor determine the coords for each level",1),i=new Z,s=ge(n.b,0);s.b!=s.d.c;){for(r=u(be(s),39);u(v(r,(lc(),Ph)),17).a>i.c.length-1;)nn(i,new bi(i2,Mrn));t=u(v(r,Ph),17).a,hl(u(v(n,pw),88))?(r.e.a<$(B((Nn(t,i.c.length),u(i.c[t],42)).a))&&QA((Nn(t,i.c.length),u(i.c[t],42)),r.e.a),r.e.a+r.f.a>$(B((Nn(t,i.c.length),u(i.c[t],42)).b))&&YA((Nn(t,i.c.length),u(i.c[t],42)),r.e.a+r.f.a)):(r.e.b<$(B((Nn(t,i.c.length),u(i.c[t],42)).a))&&QA((Nn(t,i.c.length),u(i.c[t],42)),r.e.b),r.e.b+r.f.b>$(B((Nn(t,i.c.length),u(i.c[t],42)).b))&&YA((Nn(t,i.c.length),u(i.c[t],42)),r.e.b+r.f.b))}for(c=ge(n.b,0);c.b!=c.d.c;)r=u(be(c),39),t=u(v(r,(lc(),Ph)),17).a,U(r,(pt(),jf),B((Nn(t,i.c.length),u(i.c[t],42)).a)),U(r,Js,B((Nn(t,i.c.length),u(i.c[t],42)).b));e.Vg()}function RLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(n.o=$(B(v(n.i,(cn(),bw)))),n.f=$(B(v(n.i,Kd))),n.j=n.i.b.c.length,f=n.j-1,g=0,n.k=0,n.n=0,n.b=Af(F(Gi,J,17,n.j,0,1)),n.c=Af(F(si,J,345,n.j,7,1)),s=new M(n.i.b);s.a<s.c.c.length;){for(r=u(E(s),30),r.p=f,d=new M(r.a);d.a<d.c.c.length;)a=u(E(d),10),a.p=g,++g;--f}for(n.g=F(ye,_e,28,g,15,1),n.d=Wa(ye,[J,_e],[53,28],15,[g,3],2),n.p=new Z,n.q=new Z,e=0,n.e=0,c=new M(n.i.b);c.a<c.c.c.length;){for(r=u(E(c),30),f=r.p,i=0,k=0,h=r.a.c.length,l=0,d=new M(r.a);d.a<d.c.c.length;)a=u(E(d),10),g=a.p,n.g[g]=a.c.p,l+=a.o.b+n.o,t=wl(new ie(ce(ji(a).a.Kc(),new En))),m=wl(new ie(ce(Qt(a).a.Kc(),new En))),n.d[g][0]=m-t,n.d[g][1]=t,n.d[g][2]=m,i+=t,k+=m,t>0&&nn(n.q,a),nn(n.p,a);e-=i,p=h+e,l+=e*n.f,Go(n.b,f,Y(p)),Go(n.c,f,l),n.k=y.Math.max(n.k,p),n.n=y.Math.max(n.n,l),n.e+=e,e+=k}}function en(){en=R;var n;sc=new v7(Y5,0),Xn=new v7(eP,1),Zn=new v7(HK,2),ae=new v7(qK,3),Wn=new v7(UK,4),Yf=(Ln(),new im((n=u(of(lr),9),new _o(n,u(xs(n,n.length),9),0)))),ef=i1(yt(Xn,S(C(lr,1),Tc,64,0,[]))),os=i1(yt(Zn,S(C(lr,1),Tc,64,0,[]))),Do=i1(yt(ae,S(C(lr,1),Tc,64,0,[]))),Cs=i1(yt(Wn,S(C(lr,1),Tc,64,0,[]))),mu=i1(yt(Xn,S(C(lr,1),Tc,64,0,[ae]))),su=i1(yt(Zn,S(C(lr,1),Tc,64,0,[Wn]))),tf=i1(yt(Xn,S(C(lr,1),Tc,64,0,[Wn]))),Wu=i1(yt(Xn,S(C(lr,1),Tc,64,0,[Zn]))),$o=i1(yt(ae,S(C(lr,1),Tc,64,0,[Wn]))),ss=i1(yt(Zn,S(C(lr,1),Tc,64,0,[ae]))),Ju=i1(yt(Xn,S(C(lr,1),Tc,64,0,[Zn,Wn]))),pu=i1(yt(Zn,S(C(lr,1),Tc,64,0,[ae,Wn]))),vu=i1(yt(Xn,S(C(lr,1),Tc,64,0,[ae,Wn]))),xu=i1(yt(Xn,S(C(lr,1),Tc,64,0,[Zn,ae]))),Uc=i1(yt(Xn,S(C(lr,1),Tc,64,0,[Zn,ae,Wn])))}function KLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn;for(e.Ug(XXn,1),k=new Z,X=new Z,l=new M(n.b);l.a<l.c.c.length;)for(h=u(E(l),30),P=-1,m=Q7(h.a),d=m,g=0,p=d.length;g<p;++g)if(a=d[g],++P,!!(a.k==(Vn(),Xt)&&mg(u(v(a,(cn(),_t)),101)))){for(Ep(u(v(a,(cn(),_t)),101))||kCe(a),U(a,(W(),uw),a),k.c.length=0,X.c.length=0,t=new Z,D=new Mt,S$(D,h1(a,(en(),Xn))),fzn(n,D,k,X,t),f=P,tn=a,c=new M(k);c.a<c.c.c.length;)i=u(E(c),10),u0(i,f,h),++P,U(i,uw,a),s=u(sn(i.j,0),12),j=u(v(s,st),12),on(un(v(j,pH)))||u(v(i,C3),15).Fc(tn);for(vo(D),A=h1(a,ae).Kc();A.Ob();)O=u(A.Pb(),12),xt(D,O,D.a,D.a.a);for(fzn(n,D,X,null,t),_=a,r=new M(X);r.a<r.c.c.length;)i=u(E(r),10),u0(i,++P,h),U(i,uw,a),s=u(sn(i.j,0),12),j=u(v(s,st),12),on(un(v(j,pH)))||u(v(_,C3),15).Fc(i);t.c.length==0||U(a,Jsn,t)}e.Vg()}function JGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;if(e.b!=0){for(p=new Mt,f=null,m=null,i=wi(y.Math.floor(y.Math.log(e.b)*y.Math.LOG10E)+1),h=0,A=ge(e,0);A.b!=A.d.c;)for(P=u(be(A),39),x(m)!==x(v(P,(pt(),i9)))&&(m=Ae(v(P,i9)),h=0),m!=null?f=m+qAn(h++,i):f=qAn(h++,i),U(P,i9,f),j=(r=ge(new sl(P).a.d,0),new sg(r));Q9(j.a);)k=u(be(j.a),65).c,xt(p,k,p.c.b,p.c),U(k,i9,f);for(g=new de,s=0;s<f.length-i;s++)for(O=ge(e,0);O.b!=O.d.c;)P=u(be(O),39),l=qo(Ae(v(P,(pt(),i9))),0,s+1),t=(l==null?Fr(wr(g.f,null)):h6(g.i,l))!=null?u(l==null?Fr(wr(g.f,null)):h6(g.i,l),17).a+1:1,Lr(g,l,Y(t));for(d=new sd(new Ua(g).a);d.b;)a=Ab(d),c=Y(ee(n.a,a.ld())!=null?u(ee(n.a,a.ld()),17).a:0),Lr(n.a,Ae(a.ld()),Y(u(a.md(),17).a+c.a)),c=u(ee(n.b,a.ld()),17),(!c||c.a<u(a.md(),17).a)&&Lr(n.b,Ae(a.ld()),u(a.md(),17));JGn(n,p)}}function BLe(n){var e,t,i,r,c,s,f,h,l,a,d,g;for(t=null,h=null,r=u(v(n.b,(cn(),EH)),349),r==(h5(),Ij)&&(t=new Z,h=new Z),f=new M(n.d);f.a<f.c.c.length;)if(s=u(E(f),105),c=s.i,!!c)switch(s.e.g){case 0:e=u(Y6(new dp(s.b)),64),r==Ij&&e==(en(),Xn)?Bn(t.c,s):r==Ij&&e==(en(),ae)?Bn(h.c,s):a7e(s,e);break;case 1:l=s.a.d.j,a=s.c.d.j,l==(en(),Xn)?Vl(s,Xn,(xf(),hv),s.a):a==Xn?Vl(s,Xn,(xf(),lv),s.c):l==ae?Vl(s,ae,(xf(),lv),s.a):a==ae&&Vl(s,ae,(xf(),hv),s.c);break;case 2:case 3:i=s.b,Su(i,(en(),Xn))?Su(i,ae)?Su(i,Wn)?Su(i,Zn)||Vl(s,Xn,(xf(),lv),s.c):Vl(s,Xn,(xf(),hv),s.a):Vl(s,Xn,(xf(),j3),null):Vl(s,ae,(xf(),j3),null);break;case 4:d=s.a.d.j,g=s.a.d.j,d==(en(),Xn)||g==Xn?Vl(s,ae,(xf(),j3),null):Vl(s,Xn,(xf(),j3),null)}t&&(t.c.length==0||qUn(t,(en(),Xn)),h.c.length==0||qUn(h,(en(),ae)))}function FLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;for(t.Ug("Breadth first model order layering",1),n.a=e,j=new Z,k=new M(n.a.a);k.a<k.c.c.length;)p=u(E(k),10),p.k==(Vn(),Xt)&&Bn(j.c,p);for(Ln(),Yt(j,new Upn),h=!0,r=new Nc(n.a),i=null,nn(n.a.b,r),m=new M(j);m.a<m.c.c.length;)if(p=u(E(m),10),h)$i(p,r),h=!1;else{for(f=new ie(ce(ji(p).a.Kc(),new En));pe(f);)c=u(fe(f),18),(c.c.i.k==(Vn(),Xt)&&c.c.i.c==r||c.c.i.k==Sc&&u(fe(new ie(ce(ji(c.c.i).a.Kc(),new En))),18).c.i.c==r)&&(i=new Nc(n.a),nn(n.a.b,i),r=new Nc(n.a),nn(n.a.b,r));for(s=new ie(ce(ji(p).a.Kc(),new En));pe(s);)c=u(fe(s),18),c.c.i.k==(Vn(),Sc)&&!c.c.i.c&&$i(c.c.i,i);$i(p,r)}for(n.a.a.c.length=0,P=new Z,d=new M(n.a.b);d.a<d.c.c.length;)l=u(E(d),30),l.a.c.length==0&&Bn(P.c,l);for(PY(n.a.b,P),g=0,a=new M(n.a.b);a.a<a.c.c.length;)l=u(E(a),30),l.p=g,++g;t.Vg()}function _Le(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k;for(i=u(v(n,(W(),st)),27),m=u(v(n,(cn(),aO)),17).a,c=u(v(n,gO),17).a,ht(i,aO,Y(m)),ht(i,gO,Y(c)),eu(i,n.n.a+e.a),tu(i,n.n.b+e.b),(u(z(i,xd),181).gc()!=0||n.e||x(v(Hi(n),vO))===x((E5(),V8))&&uCn((c0(),(n.q?n.q:(Ln(),Ln(),Wh))._b(lw)?g=u(v(n,lw),203):g=u(v(Hi(n),U8),203),g)))&&(Pb(i,n.o.a),Sb(i,n.o.b)),d=new M(n.j);d.a<d.c.c.length;)l=u(E(d),12),k=v(l,st),L(k,193)&&(r=u(k,123),Bo(r,l.n.a,l.n.b),ht(r,Mv,l.j));for(p=u(v(n,hw),181).gc()!=0,h=new M(n.b);h.a<h.c.c.length;)s=u(E(h),72),(p||u(v(s,hw),181).gc()!=0)&&(t=u(v(s,st),135),kg(t,s.o.a,s.o.b),Bo(t,s.n.a,s.n.b));if(!K6(u(v(n,_0),21)))for(a=new M(n.j);a.a<a.c.c.length;)for(l=u(E(a),12),f=new M(l.f);f.a<f.c.c.length;)s=u(E(f),72),t=u(v(s,st),135),Pb(t,s.o.a),Sb(t,s.o.b),Bo(t,s.n.a,s.n.b)}function HLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn;for(e.Ug("Calculate Graph Size",1),e.dh(n,Nrn),d=i2,g=i2,l=Drn,a=Drn,k=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));k.e!=k.i.gc();)p=u(ue(k),27),O=p.i,A=p.j,kn=p.g,f=p.f,h=u(z(p,(He(),$v)),140),d=y.Math.min(d,O-h.b),g=y.Math.min(g,A-h.d),l=y.Math.max(l,O+kn+h.c),a=y.Math.max(a,A+f+h.a);for(P=u(z(n,(He(),M1)),107),j=new V(d-P.b,g-P.d),jn=l-d+(P.b+P.c),s=a-g+(P.d+P.a),on(un(z(n,(sa(),Xln))))&&(D=u(z(n,(Cg(),L2)),27),_=u(z(D,$v),140),X=D.i+D.g/2+(_.b+_.c)/2-j.a,tn=D.j+D.f/2+(_.d+_.a)/2-j.b,r=jn-X,c=s-tn,r<jn/2?(t=r-X,jn+=t,j.a-=t):(t=X-r,jn+=t),c<s/2?(i=c-tn,s+=i,j.b-=i):(i=tn-c,s+=i)),m=new ne((!n.a&&(n.a=new q(Ye,n,10,11)),n.a));m.e!=m.i.gc();)p=u(ue(m),27),eu(p,p.i-j.a),tu(p,p.j-j.b);on(un(z(n,V0)))||(Pb(n,jn),Sb(n,s)),ht(n,K2,jn-(P.b+P.c)),ht(n,R2,s-(P.d+P.a)),e.dh(n,LP)}function qLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p;if(n.e.a.$b(),n.f.a.$b(),n.c.c.length=0,n.i.c.length=0,n.g.a.$b(),e)for(s=new M(e.a);s.a<s.c.c.length;)for(c=u(E(s),10),d=h1(c,(en(),Zn)).Kc();d.Ob();)for(a=u(d.Pb(),12),fi(n.e,a),r=new M(a.g);r.a<r.c.c.length;)i=u(E(r),18),!fr(i)&&(nn(n.c,i),hBn(n,i),f=i.c.i.k,(f==(Vn(),Xt)||f==_c||f==Zt||f==Gf)&&nn(n.j,i),p=i.d,g=p.i.c,g==t?fi(n.f,p):g==e?fi(n.e,p):du(n.c,i));if(t)for(s=new M(t.a);s.a<s.c.c.length;){for(c=u(E(s),10),l=new M(c.j);l.a<l.c.c.length;)for(h=u(E(l),12),r=new M(h.g);r.a<r.c.c.length;)i=u(E(r),18),fr(i)&&fi(n.g,i);for(d=h1(c,(en(),Wn)).Kc();d.Ob();)for(a=u(d.Pb(),12),fi(n.f,a),r=new M(a.g);r.a<r.c.c.length;)i=u(E(r),18),!fr(i)&&(nn(n.c,i),hBn(n,i),f=i.c.i.k,(f==(Vn(),Xt)||f==_c||f==Zt||f==Gf)&&nn(n.j,i),p=i.d,g=p.i.c,g==t?fi(n.f,p):g==e?fi(n.e,p):du(n.c,i))}}function ULe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;for(t.Ug("Polyline edge routing",1),j=$(B(v(e,(cn(),Gfn)))),p=$(B(v(e,S2))),r=$(B(v(e,T2))),i=y.Math.min(1,r/p),A=0,h=0,e.b.c.length!=0&&(D=XHn(u(sn(e.b,0),30)),A=.4*i*D),f=new xi(e.b,0);f.b<f.d.gc();){for(s=(oe(f.b<f.d.gc()),u(f.d.Xb(f.c=f.b++),30)),c=SM(s,Aj),c&&A>0&&(A-=p),zen(s,A),a=0,g=new M(s.a);g.a<g.c.c.length;){for(d=u(E(g),10),l=0,k=new ie(ce(Qt(d).a.Kc(),new En));pe(k);)m=u(fe(k),18),P=Of(m.c).b,O=Of(m.d).b,s==m.d.i.c&&!fr(m)&&(iMe(m,A,.4*i*y.Math.abs(P-O)),m.c.j==(en(),Wn)&&(P=0,O=0)),l=y.Math.max(l,y.Math.abs(O-P));switch(d.k.g){case 0:case 4:case 1:case 3:case 5:oAe(n,d,A,j)}a=y.Math.max(a,l)}f.b<f.d.gc()&&(D=XHn((oe(f.b<f.d.gc()),u(f.d.Xb(f.c=f.b++),30))),a=y.Math.max(a,D),oe(f.b>0),f.a.Xb(f.c=--f.b)),h=.4*i*a,!c&&f.b<f.d.gc()&&(h+=p),A+=s.c.a+h}n.a.a.$b(),e.f.a=A,t.Vg()}function GLe(n){var e,t,i,r,c;switch(G7(n,TWn),(!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i+(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i){case 0:throw T(new Gn("The edge must have at least one source or target."));case 1:return(!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i==0?St(Gr(u(N((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84))):St(Gr(u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84)))}if((!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i==1&&(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i==1){if(r=Gr(u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84)),c=Gr(u(N((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84)),St(r)==St(c))return St(r);if(r==St(c))return r;if(c==St(r))return c}for(i=$h(Eo(S(C(Ao,1),Rn,20,0,[(!n.b&&(n.b=new Dn(he,n,4,7)),n.b),(!n.c&&(n.c=new Dn(he,n,5,8)),n.c)]))),e=Gr(u(fe(i),84));pe(i);)if(t=Gr(u(fe(i),84)),t!=e&&!Yw(t,e)){if(St(t)==St(e))e=St(t);else if(e=mTe(e,t),!e)return null}return e}function ttn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;if(g=e.length,g>0&&(h=(zn(0,e.length),e.charCodeAt(0)),h!=64)){if(h==37&&(d=e.lastIndexOf("%"),l=!1,d!=0&&(d==g-1||(l=(zn(d+1,e.length),e.charCodeAt(d+1)==46))))){if(s=(Ri(1,d,e.length),e.substr(1,d-1)),A=Sn("%",s)?null:itn(s),i=0,l)try{i=So((zn(d+2,e.length+1),e.substr(d+2)),Wi,et)}catch(D){throw D=Ot(D),L(D,130)?(f=D,T(new eC(f))):T(D)}for(j=AQ(n.Gh());j.Ob();)if(m=IC(j),L(m,519)&&(r=u(m,598),O=r.d,(A==null?O==null:Sn(A,O))&&i--==0))return r;return null}if(a=e.lastIndexOf("."),p=a==-1?e:(Ri(0,a,e.length),e.substr(0,a)),t=0,a!=-1)try{t=So((zn(a+1,e.length+1),e.substr(a+1)),Wi,et)}catch(D){if(D=Ot(D),L(D,130))p=e;else throw T(D)}for(p=Sn("%",p)?null:itn(p),k=AQ(n.Gh());k.Ob();)if(m=IC(k),L(m,197)&&(c=u(m,197),P=c.xe(),(p==null?P==null:Sn(p,P))&&t--==0))return c;return null}return xGn(n,e)}function zLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;for(a=new de,h=new jb,i=new M(n.a.a.b);i.a<i.c.c.length;)if(e=u(E(i),60),l=Ig(e),l)Vc(a.f,l,e);else if(O=xp(e),O)for(c=new M(O.k);c.a<c.c.c.length;)r=u(E(c),18),In(h,r,e);for(t=new M(n.a.a.b);t.a<t.c.c.length;)if(e=u(E(t),60),l=Ig(e),l){for(f=new ie(ce(Qt(l).a.Kc(),new En));pe(f);)if(s=u(fe(f),18),!fr(s)&&(m=s.c,P=s.d,!((en(),mu).Hc(s.c.j)&&mu.Hc(s.d.j)))){if(k=u(ee(a,s.d.i),60),qs(Ns(Ls(Ds(As(new hs,0),100),n.c[e.a.d]),n.c[k.a.d])),m.j==Wn&&PIn((Au(),m))){for(g=u(ot(h,s),21).Kc();g.Ob();)if(d=u(g.Pb(),60),d.d.c<e.d.c){if(p=n.c[d.a.d],j=n.c[e.a.d],p==j)continue;qs(Ns(Ls(Ds(As(new hs,1),100),p),j))}}if(P.j==Zn&&IIn((Au(),P))){for(g=u(ot(h,s),21).Kc();g.Ob();)if(d=u(g.Pb(),60),d.d.c>e.d.c){if(p=n.c[e.a.d],j=n.c[d.a.d],p==j)continue;qs(Ns(Ls(Ds(As(new hs,1),100),p),j))}}}}}function XLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;if(g=u(u(ot(n.r,e),21),87),e==(en(),Zn)||e==Wn){UGn(n,e);return}for(c=e==Xn?(Lb(),tj):(Lb(),ij),D=e==Xn?(bu(),kf):(bu(),Xs),t=u(Mr(n.b,e),127),i=t.i,r=i.c+Lg(S(C(Ii,1),Cr,28,15,[t.n.b,n.C.b,n.k])),P=i.c+i.b-Lg(S(C(Ii,1),Cr,28,15,[t.n.c,n.C.c,n.k])),s=mz(DV(c),n.t),O=e==Xn?li:Pt,d=g.Kc();d.Ob();)l=u(d.Pb(),117),!(!l.c||l.c.d.c.length<=0)&&(j=l.b.Mf(),k=l.e,p=l.c,m=p.i,m.b=(h=p.n,p.e.a+h.b+h.c),m.a=(f=p.n,p.e.b+f.d+f.a),G7(D,Ntn),p.f=D,df(p,(Uu(),zs)),m.c=k.a-(m.b-j.a)/2,_=y.Math.min(r,k.a),X=y.Math.max(P,k.a+j.a),m.c<_?m.c=_:m.c+m.b>X&&(m.c=X-m.b),nn(s.d,new ZN(m,TY(s,m))),O=e==Xn?y.Math.max(O,k.b+l.b.Mf().b):y.Math.min(O,k.b));for(O+=e==Xn?n.t:-n.t,A=UY((s.e=O,s)),A>0&&(u(Mr(n.b,e),127).a.b=A),a=g.Kc();a.Ob();)l=u(a.Pb(),117),!(!l.c||l.c.d.c.length<=0)&&(m=l.c.i,m.c-=l.e.a,m.d-=l.e.b)}function VLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;for(e=new de,h=new ne(n);h.e!=h.i.gc();){for(f=u(ue(h),27),t=new ni,Ve(p_,f,t),p=new Kwn,r=u(Wr(new Cn(null,new wb(new ie(ce(ry(f).a.Kc(),new En)))),aIn(p,qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)])))),85),z$n(t,u(r.xc((_n(),!0)),16),new Bwn),i=u(Wr(ut(u(r.xc(!1),15).Lc(),new Fwn),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),15),s=i.Kc();s.Ob();)c=u(s.Pb(),74),g=zFn(c),g&&(l=u(Fr(wr(e.f,g)),21),l||(l=gqn(g),Vc(e.f,g,l)),Ki(t,l));for(r=u(Wr(new Cn(null,new wb(new ie(ce(Sl(f).a.Kc(),new En)))),aIn(p,qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr])))),85),z$n(t,u(r.xc(!0),16),new _wn),i=u(Wr(ut(u(r.xc(!1),15).Lc(),new Hwn),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),15),d=i.Kc();d.Ob();)a=u(d.Pb(),74),g=XFn(a),g&&(l=u(Fr(wr(e.f,g)),21),l||(l=gqn(g),Vc(e.f,g,l)),Ki(t,l))}}function WLe(n,e){KR();var t,i,r,c,s,f,h,l,a,d,g,p,m,k;if(h=Ec(n,0)<0,h&&(n=n1(n)),Ec(n,0)==0)switch(e){case 0:return"0";case 1:return B4;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 p=new R1,e<0?p.a+="0E+":p.a+="0E",p.a+=e==Wi?"2147483648":""+-e,p.a}a=18,d=F(fs,gh,28,a+1,15,1),t=a,k=n;do l=k,k=zk(k,10),d[--t]=Se(nr(48,bs(l,er(k,10))))&ui;while(Ec(k,0)!=0);if(r=bs(bs(bs(a,t),e),1),e==0)return h&&(d[--t]=45),ws(d,t,a-t);if(e>0&&Ec(r,-6)>=0){if(Ec(r,0)>=0){for(c=t+Se(r),f=a-1;f>=c;f--)d[f+1]=d[f];return d[++c]=46,h&&(d[--t]=45),ws(d,t,a-t+1)}for(s=2;DL(s,nr(n1(r),1));s++)d[--t]=48;return d[--t]=46,d[--t]=48,h&&(d[--t]=45),ws(d,t,a-t)}return m=t+1,i=a,g=new fg,h&&(g.a+="-"),i-m>=1?(X1(g,d[t]),g.a+=".",g.a+=ws(d,t+1,a-t-1)):g.a+=ws(d,t,a-t),g.a+="E",Ec(r,0)>0&&(g.a+="+"),g.a+=""+B6(r),g.a}function qb(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;if(j=new V(n.g,n.f),k=knn(n),k.a=y.Math.max(k.a,e),k.b=y.Math.max(k.b,t),X=k.a/j.a,a=k.b/j.b,D=k.a-j.a,h=k.b-j.b,i)for(s=St(n)?u(z(St(n),(He(),_d)),88):u(z(n,(He(),_d)),88),f=x(z(n,(He(),m9)))===x((Ai(),qc)),O=new ne((!n.c&&(n.c=new q(Qu,n,9,9)),n.c));O.e!=O.i.gc();)switch(P=u(ue(O),123),A=u(z(P,H2),64),A==(en(),sc)&&(A=xen(P,s),ht(P,H2,A)),A.g){case 1:f||eu(P,P.i*X);break;case 2:eu(P,P.i+D),f||tu(P,P.j*a);break;case 3:f||eu(P,P.i*X),tu(P,P.j+h);break;case 4:f||tu(P,P.j*a)}if(kg(n,k.a,k.b),r)for(g=new ne((!n.n&&(n.n=new q(Sr,n,1,7)),n.n));g.e!=g.i.gc();)d=u(ue(g),135),p=d.i+d.g/2,m=d.j+d.f/2,_=p/j.a,l=m/j.b,_+l>=1&&(_-l>0&&m>=0?(eu(d,d.i+D),tu(d,d.j+h*l)):_-l<0&&p>=0&&(eu(d,d.i+D*_),tu(d,d.j+h)));return ht(n,(He(),Hd),(go(),c=u(of(S9),9),new _o(c,u(xs(c,c.length),9),0))),new V(X,a)}function QGn(n){ib(n,new gd(qE(nb(Qd(Zd(Yd(new Fa,es),"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 Xmn),es))),Q(n,es,CP,rn(fce)),Q(n,es,y0,rn(hce)),Q(n,es,r2,rn(cce)),Q(n,es,d3,rn(uce)),Q(n,es,a3,rn(oce)),Q(n,es,z4,rn(rce)),Q(n,es,t8,rn(Vln)),Q(n,es,X4,rn(sce)),Q(n,es,XB,rn(vq)),Q(n,es,zB,rn(kq)),Q(n,es,NP,rn(Jln)),Q(n,es,VB,rn(yq)),Q(n,es,WB,rn(Qln)),Q(n,es,qrn,rn(Yln)),Q(n,es,Hrn,rn(Wln)),Q(n,es,Krn,rn(_O)),Q(n,es,Brn,rn(HO)),Q(n,es,Frn,rn(xj)),Q(n,es,_rn,rn(Zln)),Q(n,es,Rrn,rn(Xln))}function zS(n){var e,t,i,r,c,s,f,h,l,a,d;if(n==null)throw T(new th(gu));if(l=n,c=n.length,h=!1,c>0&&(e=(zn(0,n.length),n.charCodeAt(0)),(e==45||e==43)&&(n=(zn(1,n.length+1),n.substr(1)),--c,h=e==45)),c==0)throw T(new th(zb+l+'"'));for(;n.length>0&&(zn(0,n.length),n.charCodeAt(0)==48);)n=(zn(1,n.length+1),n.substr(1)),--c;if(c>(PUn(),gQn)[10])throw T(new th(zb+l+'"'));for(r=0;r<c;r++)if(XKn((zn(r,n.length),n.charCodeAt(r)))==-1)throw T(new th(zb+l+'"'));for(d=0,s=pun[10],a=WF[10],f=n1(mun[10]),t=!0,i=c%s,i>0&&(d=-parseInt((Ri(0,i,n.length),n.substr(0,i)),10),n=(zn(i,n.length+1),n.substr(i)),c-=i,t=!1);c>=s;){if(i=parseInt((Ri(0,s,n.length),n.substr(0,s)),10),n=(zn(s,n.length+1),n.substr(s)),c-=s,t)t=!1;else{if(Ec(d,f)<0)throw T(new th(zb+l+'"'));d=er(d,a)}d=bs(d,i)}if(Ec(d,0)>0)throw T(new th(zb+l+'"'));if(!h&&(d=n1(d),Ec(d,0)<0))throw T(new th(zb+l+'"'));return d}function itn(n){UR();var e,t,i,r,c,s,f,h;if(n==null)return null;if(r=ih(n,wu(37)),r<0)return n;for(h=new mo((Ri(0,r,n.length),n.substr(0,r))),e=F(Ru,s2,28,4,15,1),f=0,i=0,s=n.length;r<s;r++)if(zn(r,n.length),n.charCodeAt(r)==37&&n.length>r+2&&B$((zn(r+1,n.length),n.charCodeAt(r+1)),Rdn,Kdn)&&B$((zn(r+2,n.length),n.charCodeAt(r+2)),Rdn,Kdn))if(t=gwe((zn(r+1,n.length),n.charCodeAt(r+1)),(zn(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?e[f++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(e[f++]=t<<24>>24,i=2):(t&240)==224?(e[f++]=t<<24>>24,i=3):(t&248)==240&&(e[f++]=t<<24>>24,i=4)),i>0){if(f==i){switch(f){case 2:{X1(h,((e[0]&31)<<6|e[1]&63)&ui);break}case 3:{X1(h,((e[0]&15)<<12|(e[1]&63)<<6|e[2]&63)&ui);break}}f=0,i=0}}else{for(c=0;c<f;++c)X1(h,e[c]&ui);f=0,h.a+=String.fromCharCode(t)}else{for(c=0;c<f;++c)X1(h,e[c]&ui);f=0,X1(h,(zn(r,n.length),n.charCodeAt(r)))}return h.a}function YGn(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m;if(p=St(Gr(u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84))),m=St(Gr(u(N((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84))),d=p==m,f=new Ni,e=u(z(n,(DC(),cdn)),75),e&&e.b>=2){if((!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i==0)t=(B1(),r=new yE,r),ve((!n.a&&(n.a=new q(Tt,n,6,6)),n.a),t);else if((!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i>1)for(g=new kp((!n.a&&(n.a=new q(Tt,n,6,6)),n.a));g.e!=g.i.gc();)I5(g);ay(e,u(N((!n.a&&(n.a=new q(Tt,n,6,6)),n.a),0),166))}if(d)for(i=new ne((!n.a&&(n.a=new q(Tt,n,6,6)),n.a));i.e!=i.i.gc();)for(t=u(ue(i),166),l=new ne((!t.a&&(t.a=new ti(xo,t,5)),t.a));l.e!=l.i.gc();)h=u(ue(l),377),f.a=y.Math.max(f.a,h.a),f.b=y.Math.max(f.b,h.b);for(s=new ne((!n.n&&(n.n=new q(Sr,n,1,7)),n.n));s.e!=s.i.gc();)c=u(ue(s),135),a=u(z(c,y9),8),a&&Bo(c,a.a,a.b),d&&(f.a=y.Math.max(f.a,c.i+c.g),f.b=y.Math.max(f.b,c.j+c.f));return f}function ZGn(n,e,t,i,r){var c,s,f;if(ZDn(n,e),s=e[0],c=Xi(t.c,0),f=-1,eY(t))if(i>0){if(s+i>n.length)return!1;f=yS((Ri(0,s+i,n.length),n.substr(0,s+i)),e)}else f=yS(n,e);switch(c){case 71:return f=Ug(n,s,S(C(fn,1),J,2,6,[Kzn,Bzn]),e),r.e=f,!0;case 77:return lSe(n,e,r,f,s);case 76:return aSe(n,e,r,f,s);case 69:return iEe(n,e,s,r);case 99:return rEe(n,e,s,r);case 97:return f=Ug(n,s,S(C(fn,1),J,2,6,["AM","PM"]),e),r.b=f,!0;case 121:return dSe(n,e,s,f,t,r);case 100:return f<=0?!1:(r.c=f,!0);case 83:return f<0?!1:v8e(f,s,e[0],r);case 104:f==12&&(f=0);case 75:case 72:return f<0?!1:(r.f=f,r.g=!1,!0);case 107:return f<0?!1:(r.f=f,r.g=!0,!0);case 109:return f<0?!1:(r.j=f,!0);case 115:return f<0?!1:(r.n=f,!0);case 90:if(s<n.length&&(zn(s,n.length),n.charCodeAt(s)==90))return++e[0],r.o=0,!0;case 122:case 118:return Sye(n,s,e,r);default:return!1}}function JLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn;for(A=e.c.length,r=new Wg(n.a,t,null,null),jn=F(Ii,Cr,28,A,15,1),k=F(Ii,Cr,28,A,15,1),m=F(Ii,Cr,28,A,15,1),j=0,f=0;f<A;f++)k[f]=et,m[f]=Wi;for(h=0;h<A;h++)for(i=(Nn(h,e.c.length),u(e.c[h],185)),jn[h]=gR(i),jn[j]>jn[h]&&(j=h),d=new M(n.a.b);d.a<d.c.c.length;)for(a=u(E(d),30),O=new M(a.a);O.a<O.c.c.length;)P=u(E(O),10),X=$(i.p[P.p])+$(i.d[P.p]),k[h]=y.Math.min(k[h],X),m[h]=y.Math.max(m[h],X+P.o.b);for(tn=F(Ii,Cr,28,A,15,1),l=0;l<A;l++)(Nn(l,e.c.length),u(e.c[l],185)).o==(If(),Bd)?tn[l]=k[j]-k[l]:tn[l]=m[j]-m[l];for(c=F(Ii,Cr,28,A,15,1),p=new M(n.a.b);p.a<p.c.c.length;)for(g=u(E(p),30),_=new M(g.a);_.a<_.c.c.length;){for(D=u(E(_),10),s=0;s<A;s++)c[s]=$((Nn(s,e.c.length),u(e.c[s],185)).p[D.p])+$((Nn(s,e.c.length),u(e.c[s],185)).d[D.p])+tn[s];Pyn(c,I$n(pE.prototype.Me,pE,[])),r.p[D.p]=(c[1]+c[2])/2,r.d[D.p]=0}return r}function QLe(n,e,t){var i,r,c,s,f;switch(i=e.i,c=n.i.o,r=n.i.d,f=n.n,s=cc(S(C(Ei,1),J,8,0,[f,n.a])),n.j.g){case 1:uh(e,(bu(),Xs)),i.d=-r.d-t-i.a,u(u(sn(e.d,0),187).of((W(),S3)),290)==(Co(),nl)?(df(e,(Uu(),zs)),i.c=s.a-$(B(v(n,y2)))-t-i.b):(df(e,(Uu(),Th)),i.c=s.a+$(B(v(n,y2)))+t);break;case 2:df(e,(Uu(),Th)),i.c=c.a+r.c+t,u(u(sn(e.d,0),187).of((W(),S3)),290)==(Co(),nl)?(uh(e,(bu(),Xs)),i.d=s.b-$(B(v(n,y2)))-t-i.a):(uh(e,(bu(),kf)),i.d=s.b+$(B(v(n,y2)))+t);break;case 3:uh(e,(bu(),kf)),i.d=c.b+r.a+t,u(u(sn(e.d,0),187).of((W(),S3)),290)==(Co(),nl)?(df(e,(Uu(),zs)),i.c=s.a-$(B(v(n,y2)))-t-i.b):(df(e,(Uu(),Th)),i.c=s.a+$(B(v(n,y2)))+t);break;case 4:df(e,(Uu(),zs)),i.c=-r.b-t-i.b,u(u(sn(e.d,0),187).of((W(),S3)),290)==(Co(),nl)?(uh(e,(bu(),Xs)),i.d=s.b-$(B(v(n,y2)))-t-i.a):(uh(e,(bu(),kf)),i.d=s.b+$(B(v(n,y2)))+t)}}function YLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k;for(t.Ug(kVn,1),!e.a&&(e.a=new q(Ye,e,10,11)),i=$(B(z(e,(Bf(),zO)))),a=$(B(z(e,h9))),g=u(z(e,f9),107),p=new lX(i,a),c=vzn(p,e,g),T$n(e,p),f=u(z(e,p1n),17).a;f>1;){if(r=rCe(e),d=c.g,m=u(z(e,f9),107),k=$(B(z(e,zO))),(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i>1&&$(B(z(e,(_h(),Iq))))!=Pt&&(c.c+(m.b+m.c))/(c.b+(m.d+m.a))<k?ht(r,(_h(),X0),$(B(z(e,X0)))+$(B(z(e,Iq)))):(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i>1&&$(B(z(e,(_h(),Pq))))!=Pt&&(c.c+(m.b+m.c))/(c.b+(m.d+m.a))>k&&ht(r,(_h(),X0),y.Math.max($(B(z(e,s9))),$(B(z(r,X0)))-$(B(z(e,Pq))))),p=new lX(i,a),h=vzn(p,r,g),l=h.g,l>=d&&l==l){for(s=0;s<(!r.a&&(r.a=new q(Ye,r,10,11)),r.a).i;s++)z_n(n,u(N((!r.a&&(r.a=new q(Ye,r,10,11)),r.a),s),27),u(N((!e.a&&(e.a=new q(Ye,e,10,11)),e.a),s),27));T$n(e,p),s2e(c,h.c),o2e(c,h.b)}--f}ht(e,(_h(),o9),c.b),ht(e,Nv,c.c),t.Vg()}function ZLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;for(e.Ug("Interactive node layering",1),t=new Z,g=new M(n.a);g.a<g.c.c.length;){for(a=u(E(g),10),h=a.n.a,f=h+a.o.a,f=y.Math.max(h+1,f),O=new xi(t,0),i=null;O.b<O.d.gc();)if(j=(oe(O.b<O.d.gc()),u(O.d.Xb(O.c=O.b++),578)),j.c>=f){oe(O.b>0),O.a.Xb(O.c=--O.b);break}else j.a>h&&(i?(hi(i.b,j.b),i.a=y.Math.max(i.a,j.a),bo(O)):(nn(j.b,a),j.c=y.Math.min(j.c,h),j.a=y.Math.max(j.a,f),i=j));i||(i=new Xyn,i.c=h,i.a=f,Bw(O,i),nn(i.b,a))}for(s=n.b,l=0,P=new M(t);P.a<P.c.c.length;)for(j=u(E(P),578),r=new Nc(n),r.p=l++,Bn(s.c,r),p=new M(j.b);p.a<p.c.c.length;)a=u(E(p),10),$i(a,r),a.p=0;for(d=new M(n.a);d.a<d.c.c.length;)if(a=u(E(d),10),a.p==0)for(k=Hqn(a,n);k.a.gc()!=0;)m=u(k.a.ec().Kc().Pb(),10),k.a.Bc(m)!=null,Ki(k,Hqn(m,n));for(c=new xi(s,0);c.b<c.d.gc();)(oe(c.b<c.d.gc()),u(c.d.Xb(c.c=c.b++),30)).a.c.length==0&&bo(c);n.a.c.length=0,e.Vg()}function nNe(n,e,t,i,r,c,s){var f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt;for(p=0,Fn=0,h=new M(n);h.a<h.c.c.length;)f=u(E(h),27),RGn(f),p=y.Math.max(p,f.g),Fn+=f.g*f.f;for(m=Fn/n.c.length,kn=R7e(n,m),Fn+=n.c.length*kn,p=y.Math.max(p,y.Math.sqrt(Fn*s))+t.b,xe=t.b,Nt=t.d,g=0,a=t.b+t.c,jn=new Mt,Re(jn,Y(0)),X=new Mt,l=new xi(n,0);l.b<l.d.gc();)f=(oe(l.b<l.d.gc()),u(l.d.Xb(l.c=l.b++),27)),te=f.g,d=f.f,xe+te>p&&(c&&(ir(X,g),ir(jn,Y(l.b-1))),xe=t.b,Nt+=g+e,g=0,a=y.Math.max(a,t.b+t.c+te)),eu(f,xe),tu(f,Nt),a=y.Math.max(a,xe+te+t.c),g=y.Math.max(g,d),xe+=te+e;if(a=y.Math.max(a,i),Kn=Nt+g+t.a,Kn<r&&(g+=r-Kn,Kn=r),c)for(xe=t.b,l=new xi(n,0),ir(jn,Y(n.c.length)),tn=ge(jn,0),P=u(be(tn),17).a,ir(X,g),_=ge(X,0),D=0;l.b<l.d.gc();)l.b==P&&(xe=t.b,D=$(B(be(_))),P=u(be(tn),17).a),f=(oe(l.b<l.d.gc()),u(l.d.Xb(l.c=l.b++),27)),O=f.f,Sb(f,D),k=D,l.b==P&&(j=a-xe-t.c,A=f.g,Pb(f,j),P_n(f,new V(j,k),new V(A,O))),xe+=f.g+e;return new V(a,Kn)}function eNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn;for(e.Ug("Compound graph postprocessor",1),t=on(un(v(n,(cn(),AH)))),f=u(v(n,(W(),Zsn)),229),a=new ni,P=f.ec().Kc();P.Ob();){for(j=u(P.Pb(),18),s=new _u(f.cc(j)),Ln(),Yt(s,new AG(n)),_=lve((Nn(0,s.c.length),u(s.c[0],249))),tn=Mxn(u(sn(s,s.c.length-1),249)),A=_.i,Jm(tn.i,A)?O=A.e:O=Hi(A),d=w9e(j,s),vo(j.a),g=null,c=new M(s);c.a<c.c.c.length;)r=u(E(c),249),k=new Ni,gnn(k,r.a,O),p=r.b,i=new Tu,J$(i,0,p.a),n0(i,k),D=new rr(Of(p.c)),X=new rr(Of(p.d)),it(D,k),it(X,k),g&&(i.b==0?m=X:m=(oe(i.b!=0),u(i.a.a.c,8)),jn=y.Math.abs(g.a-m.a)>vh,kn=y.Math.abs(g.b-m.b)>vh,(!t&&jn&&kn||t&&(jn||kn))&&Re(j.a,D)),Ki(j.a,i),i.b==0?g=D:g=(oe(i.b!=0),u(i.c.b.c,8)),Bve(p,d,k),Mxn(r)==tn&&(Hi(tn.i)!=r.a&&(k=new Ni,gnn(k,Hi(tn.i),O)),U(j,gH,k)),yje(p,j,O),a.a.zc(p,a);Zi(j,_),Oi(j,tn)}for(l=a.a.ec().Kc();l.Ob();)h=u(l.Pb(),18),Zi(h,null),Oi(h,null);e.Vg()}function tNe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(r=u(v(n,(lc(),pw)),88),a=r==(ci(),Kr)||r==Xr?Wf:Xr,t=u(Wr(ut(new Cn(null,new On(n.b,16)),new Z3n),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),h=u(Wr(_r(t.Oc(),new bkn(e)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),15),h.Gc(u(Wr(_r(t.Oc(),new wkn(e)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),16)),h.jd(new gkn(a)),g=new Ul(new pkn(r)),i=new de,f=h.Kc();f.Ob();)s=u(f.Pb(),240),l=u(s.a,39),on(un(s.c))?(g.a.zc(l,(_n(),pa))==null,new Q3(g.a.Zc(l,!1)).a.gc()>0&&Ve(i,l,u(new Q3(g.a.Zc(l,!1)).a.Vc(),39)),new Q3(g.a.ad(l,!0)).a.gc()>1&&Ve(i,PKn(g,l),l)):(new Q3(g.a.Zc(l,!1)).a.gc()>0&&(c=u(new Q3(g.a.Zc(l,!1)).a.Vc(),39),x(c)===x(Fr(wr(i.f,l)))&&u(v(l,(pt(),nq)),15).Fc(c)),new Q3(g.a.ad(l,!0)).a.gc()>1&&(d=PKn(g,l),x(Fr(wr(i.f,d)))===x(l)&&u(v(d,(pt(),nq)),15).Fc(l)),g.a.Bc(l)!=null)}function nzn(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;if(n.gc()==1)return u(n.Xb(0),235);if(n.gc()<=0)return new zT;for(r=n.Kc();r.Ob();){for(t=u(r.Pb(),235),m=0,a=et,d=et,h=Wi,l=Wi,p=new M(t.e);p.a<p.c.c.length;)g=u(E(p),153),m+=u(v(g,(Us(),k3)),17).a,a=y.Math.min(a,g.d.a-g.e.a/2),d=y.Math.min(d,g.d.b-g.e.b/2),h=y.Math.max(h,g.d.a+g.e.a/2),l=y.Math.max(l,g.d.b+g.e.b/2);U(t,(Us(),k3),Y(m)),U(t,(Y1(),O8),new V(a,d)),U(t,hj,new V(h,l))}for(Ln(),n.jd(new Uwn),k=new zT,Ur(k,u(n.Xb(0),96)),f=0,O=0,c=n.Kc();c.Ob();)t=u(c.Pb(),235),j=mi(Fi(u(v(t,(Y1(),hj)),8)),u(v(t,O8),8)),f=y.Math.max(f,j.a),O+=j.a*j.b;for(f=y.Math.max(f,y.Math.sqrt(O)*$(B(v(k,(Us(),zYn))))),P=$(B(v(k,yI))),A=0,D=0,s=0,e=P,i=n.Kc();i.Ob();)t=u(i.Pb(),235),j=mi(Fi(u(v(t,(Y1(),hj)),8)),u(v(t,O8),8)),A+j.a>f&&(A=0,D+=s+P,s=0),IPe(k,t,A,D),e=y.Math.max(e,A+j.a),s=y.Math.max(s,j.b),A+=j.a+P;return k}function iNe(n){$en();var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(n==null||(c=iC(n),m=A5e(c),m%4!=0))return null;if(k=m/4|0,k==0)return F(Ru,s2,28,0,15,1);for(d=null,e=0,t=0,i=0,r=0,s=0,f=0,h=0,l=0,p=0,g=0,a=0,d=F(Ru,s2,28,k*3,15,1);p<k-1;p++){if(!n7(s=c[a++])||!n7(f=c[a++])||!n7(h=c[a++])||!n7(l=c[a++]))return null;e=nh[s],t=nh[f],i=nh[h],r=nh[l],d[g++]=(e<<2|t>>4)<<24>>24,d[g++]=((t&15)<<4|i>>2&15)<<24>>24,d[g++]=(i<<6|r)<<24>>24}return!n7(s=c[a++])||!n7(f=c[a++])?null:(e=nh[s],t=nh[f],h=c[a++],l=c[a++],nh[h]==-1||nh[l]==-1?h==61&&l==61?t&15?null:(j=F(Ru,s2,28,p*3+1,15,1),Oc(d,0,j,0,p*3),j[g]=(e<<2|t>>4)<<24>>24,j):h!=61&&l==61?(i=nh[h],i&3?null:(j=F(Ru,s2,28,p*3+2,15,1),Oc(d,0,j,0,p*3),j[g++]=(e<<2|t>>4)<<24>>24,j[g]=((t&15)<<4|i>>2&15)<<24>>24,j)):null:(i=nh[h],r=nh[l],d[g++]=(e<<2|t>>4)<<24>>24,d[g++]=((t&15)<<4|i>>2&15)<<24>>24,d[g++]=(i<<6|r)<<24>>24,d))}function rNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_;for(e.Ug(XXn,1),m=u(v(n,(cn(),$l)),223),r=new M(n.b);r.a<r.c.c.length;)for(i=u(E(r),30),l=Q7(i.a),s=l,f=0,h=s.length;f<h;++f)if(c=s[f],c.k==(Vn(),_c)){if(m==(El(),x3))for(d=new M(c.j);d.a<d.c.c.length;)a=u(E(d),12),a.e.c.length==0||W8e(a),a.g.c.length==0||J8e(a);else if(L(v(c,(W(),st)),18))j=u(v(c,st),18),P=u(h1(c,(en(),Wn)).Kc().Pb(),12),O=u(h1(c,Zn).Kc().Pb(),12),A=u(v(P,st),12),D=u(v(O,st),12),Zi(j,D),Oi(j,A),_=new rr(O.i.n),_.a=cc(S(C(Ei,1),J,8,0,[D.i.n,D.n,D.a])).a,Re(j.a,_),_=new rr(P.i.n),_.a=cc(S(C(Ei,1),J,8,0,[A.i.n,A.n,A.a])).a,Re(j.a,_);else{if(c.j.c.length>=2){for(k=!0,g=new M(c.j),t=u(E(g),12),p=null;g.a<g.c.c.length;)if(p=t,t=u(E(g),12),!ct(v(p,st),v(t,st))){k=!1;break}}else k=!1;for(d=new M(c.j);d.a<d.c.c.length;)a=u(E(d),12),a.e.c.length==0||DCe(a,k),a.g.c.length==0||$Ce(a,k)}$i(c,null)}e.Vg()}function cNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_;for(f=new M(n.a.b);f.a<f.c.c.length;)for(c=u(E(f),30),A=new M(c.a);A.a<A.c.c.length;)O=u(E(A),10),e.g[O.p]=O,e.a[O.p]=O,e.d[O.p]=0;for(h=n.a.b,e.c==(fh(),y1)&&(h=Qo(h)),s=h.Kc();s.Ob();)for(c=u(s.Pb(),30),p=-1,g=c.a,e.o==(If(),Xf)&&(p=et,g=Qo(g)),_=g.Kc();_.Ob();)if(D=u(_.Pb(),10),d=null,e.c==y1?d=u(sn(n.b.f,D.p),15):d=u(sn(n.b.b,D.p),15),d.gc()>0)if(i=d.gc(),l=wi(y.Math.floor((i+1)/2))-1,r=wi(y.Math.ceil((i+1)/2))-1,e.o==Xf)for(a=r;a>=l;a--)e.a[D.p]==D&&(k=u(d.Xb(a),42),m=u(k.a,10),!sf(t,k.b)&&p>n.b.e[m.p]&&(e.a[m.p]=D,e.g[D.p]=e.g[m.p],e.a[D.p]=e.g[D.p],e.f[e.g[D.p].p]=(_n(),!!(on(e.f[e.g[D.p].p])&D.k==(Vn(),Ti))),p=n.b.e[m.p]));else for(a=l;a<=r;a++)e.a[D.p]==D&&(P=u(d.Xb(a),42),j=u(P.a,10),!sf(t,P.b)&&p<n.b.e[j.p]&&(e.a[j.p]=D,e.g[D.p]=e.g[j.p],e.a[D.p]=e.g[D.p],e.f[e.g[D.p].p]=(_n(),!!(on(e.f[e.g[D.p].p])&D.k==(Vn(),Ti))),p=n.b.e[j.p]))}function ezn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn;return A=n.c[(Nn(0,e.c.length),u(e.c[0],18)).p],tn=n.c[(Nn(1,e.c.length),u(e.c[1],18)).p],A.a.e.e-A.a.a-(A.b.e.e-A.b.a)==0&&tn.a.e.e-tn.a.a-(tn.b.e.e-tn.b.a)==0||(P=A.b.e.f,!L(P,10))?!1:(j=u(P,10),_=n.i[j.p],X=j.c?qr(j.c.a,j,0):-1,c=Pt,X>0&&(r=u(sn(j.c.a,X-1),10),s=n.i[r.p],jn=y.Math.ceil(jg(n.n,r,j)),c=_.a.e-j.d.d-(s.a.e+r.o.b+r.d.a)-jn),l=Pt,X<j.c.a.c.length-1&&(h=u(sn(j.c.a,X+1),10),a=n.i[h.p],jn=y.Math.ceil(jg(n.n,h,j)),l=a.a.e-h.d.d-(_.a.e+j.o.b+j.d.a)-jn),t&&(Cf(),Fs(jh),y.Math.abs(c-l)<=jh||c==l||isNaN(c)&&isNaN(l))?!0:(i=fD(A.a),f=-fD(A.b),d=-fD(tn.a),O=fD(tn.b),k=A.a.e.e-A.a.a-(A.b.e.e-A.b.a)>0&&tn.a.e.e-tn.a.a-(tn.b.e.e-tn.b.a)<0,m=A.a.e.e-A.a.a-(A.b.e.e-A.b.a)<0&&tn.a.e.e-tn.a.a-(tn.b.e.e-tn.b.a)>0,p=A.a.e.e+A.b.a<tn.b.e.e+tn.a.a,g=A.a.e.e+A.b.a>tn.b.e.e+tn.a.a,D=0,!k&&!m&&(g?c+d>0?D=d:l-i>0&&(D=i):p&&(c+f>0?D=f:l-O>0&&(D=O))),_.a.e+=D,_.b&&(_.d.e+=D),!1))}function tzn(n,e,t){var i,r,c,s,f,h,l,a,d,g;if(i=new Ho(e.Lf().a,e.Lf().b,e.Mf().a,e.Mf().b),r=new mp,n.c)for(s=new M(e.Rf());s.a<s.c.c.length;)c=u(E(s),187),r.c=c.Lf().a+e.Lf().a,r.d=c.Lf().b+e.Lf().b,r.b=c.Mf().a,r.a=c.Mf().b,O5(i,r);for(l=new M(e.Xf());l.a<l.c.c.length;){if(h=u(E(l),852),a=h.Lf().a+e.Lf().a,d=h.Lf().b+e.Lf().b,n.e&&(r.c=a,r.d=d,r.b=h.Mf().a,r.a=h.Mf().b,O5(i,r)),n.d)for(s=new M(h.Rf());s.a<s.c.c.length;)c=u(E(s),187),r.c=c.Lf().a+a,r.d=c.Lf().b+d,r.b=c.Mf().a,r.a=c.Mf().b,O5(i,r);if(n.b){if(g=new V(-t,-t),u(e.of((He(),W0)),181).Hc((zu(),Aa)))for(s=new M(h.Rf());s.a<s.c.c.length;)c=u(E(s),187),g.a+=c.Mf().a+t,g.b+=c.Mf().b+t;g.a=y.Math.max(g.a,0),g.b=y.Math.max(g.b,0),EUn(i,h.Wf(),h.Uf(),e,h,g,t)}}n.b&&EUn(i,e.Wf(),e.Uf(),e,null,null,t),f=new qN(e.Vf()),f.d=y.Math.max(0,e.Lf().b-i.d),f.a=y.Math.max(0,i.d+i.a-(e.Lf().b+e.Mf().b)),f.b=y.Math.max(0,e.Lf().a-i.c),f.c=y.Math.max(0,i.c+i.b-(e.Lf().a+e.Mf().a)),e.Zf(f)}function uNe(){var n=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return n[34]='\\"',n[92]="\\\\",n[173]="\\u00ad",n[1536]="\\u0600",n[1537]="\\u0601",n[1538]="\\u0602",n[1539]="\\u0603",n[1757]="\\u06dd",n[1807]="\\u070f",n[6068]="\\u17b4",n[6069]="\\u17b5",n[8203]="\\u200b",n[8204]="\\u200c",n[8205]="\\u200d",n[8206]="\\u200e",n[8207]="\\u200f",n[8232]="\\u2028",n[8233]="\\u2029",n[8234]="\\u202a",n[8235]="\\u202b",n[8236]="\\u202c",n[8237]="\\u202d",n[8238]="\\u202e",n[8288]="\\u2060",n[8289]="\\u2061",n[8290]="\\u2062",n[8291]="\\u2063",n[8292]="\\u2064",n[8298]="\\u206a",n[8299]="\\u206b",n[8300]="\\u206c",n[8301]="\\u206d",n[8302]="\\u206e",n[8303]="\\u206f",n[65279]="\\ufeff",n[65529]="\\ufff9",n[65530]="\\ufffa",n[65531]="\\ufffb",n}function izn(n){ib(n,new gd(kz(qE(nb(Qd(Zd(Yd(new Fa,cu),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new Vwn),cu),yt((E4(),vA),S(C(kA,1),G,245,0,[pA]))))),Q(n,cu,Ny,Y(1)),Q(n,cu,y0,80),Q(n,cu,eB,5),Q(n,cu,l3,U4),Q(n,cu,uP,Y(1)),Q(n,cu,n8,(_n(),!0)),Q(n,cu,Xb,gon),Q(n,cu,e8,rn(don)),Q(n,cu,tB,rn(pon)),Q(n,cu,oP,!1),Q(n,cu,t8,rn(won)),Q(n,cu,G4,rn(JYn)),Q(n,cu,a3,rn(QYn)),Q(n,cu,r2,rn(WYn)),Q(n,cu,z4,rn(VYn)),Q(n,cu,X4,rn(ZYn)),Q(n,cu,cP,rn(bon)),Q(n,cu,ZK,rn(k_)),Q(n,cu,Gtn,rn(kI)),Q(n,cu,nB,rn(v_)),Q(n,cu,ztn,rn(mon)),Q(n,cu,Dy,rn(cZn)),Q(n,cu,$y,rn(uZn)),Q(n,cu,xy,rn(rZn)),Q(n,cu,Ry,rn(iZn)),Q(n,cu,Vb,von)}function fa(n,e){nt();var t,i,r,c,s,f,h,l,a,d,g,p,m;if(i6(qv)==0){for(d=F(DDe,J,122,yse.length,0,1),s=0;s<d.length;s++)d[s]=new yo(4);for(i=new e6,c=0;c<fbn.length;c++){if(a=new yo(4),c<84?(f=c*2,p=(zn(f,KF.length),KF.charCodeAt(f)),g=(zn(f+1,KF.length),KF.charCodeAt(f+1)),xc(a,p,g)):(f=(c-84)*2,xc(a,hbn[f],hbn[f+1])),h=fbn[c],Sn(h,"Specials")&&xc(a,65520,65533),Sn(h,WJn)&&(xc(a,983040,1048573),xc(a,1048576,1114109)),Lr(qv,h,a),Lr(K9,h,b0(a)),l=i.a.length,0<l?i.a=qo(i.a,0,0):0>l&&(i.a+=ICn(F(fs,gh,28,-l,15,1))),i.a+="Is",ih(h,wu(32))>=0)for(r=0;r<h.length;r++)zn(r,h.length),h.charCodeAt(r)!=32&&Tm(i,(zn(r,h.length),h.charCodeAt(r)));else i.a+=""+h;QY(i.a,h,!0)}QY(RF,"Cn",!1),QY(Zcn,"Cn",!0),t=new yo(4),xc(t,0,rv),Lr(qv,"ALL",t),Lr(K9,"ALL",b0(t)),!rg&&(rg=new de),Lr(rg,RF,RF),!rg&&(rg=new de),Lr(rg,Zcn,Zcn),!rg&&(rg=new de),Lr(rg,"ALL","ALL")}return m=u(Dc(e?qv:K9,n),138),m}function rzn(n){ib(n,new gd(kz(qE(nb(Qd(Zd(Yd(new Fa,uu),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new wmn),gVn),yn((E4(),gU))))),Q(n,uu,Xb,Iln),Q(n,uu,y0,20),Q(n,uu,$B,3),Q(n,uu,l3,U4),Q(n,uu,Ny,Y(1)),Q(n,uu,n8,(_n(),!0)),Q(n,uu,qy,rn(Mln)),Q(n,uu,xB,Tln),Q(n,uu,e8,rn(jre)),Q(n,uu,SP,rn(Ere)),Q(n,uu,r2,rn(Tre)),Q(n,uu,G4,rn(Cre)),Q(n,uu,d3,rn(Sre)),Q(n,uu,a3,rn(Pre)),Q(n,uu,z4,rn(Mre)),Q(n,uu,t8,rn(Sln)),Q(n,uu,X4,rn(Ire)),Q(n,uu,Irn,rn(Nln)),Q(n,uu,Arn,rn(Oln)),Q(n,uu,Dy,rn(Nre)),Q(n,uu,$y,rn(Dre)),Q(n,uu,xy,rn(Lre)),Q(n,uu,Ry,rn(Are)),Q(n,uu,Vb,Lln),Q(n,uu,Prn,rn(A2)),Q(n,uu,Orn,rn(oq)),Q(n,uu,Srn,rn(Ph)),Q(n,uu,Trn,rn(Eln)),Q(n,uu,Crn,rn(Cln))}function czn(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(l=u(u(ot(n.r,e),21),87),s=Bye(n,e),t=n.u.Hc((zu(),T9)),h=l.Kc();h.Ob();)if(f=u(h.Pb(),117),!(!f.c||f.c.d.c.length<=0)){switch(g=f.b.Mf(),a=f.c,d=a.i,d.b=(c=a.n,a.e.a+c.b+c.c),d.a=(r=a.n,a.e.b+r.d+r.a),e.g){case 1:f.a?(d.c=(g.a-d.b)/2,df(a,(Uu(),ma))):s||t?(d.c=-d.b-n.s,df(a,(Uu(),zs))):(d.c=g.a+n.s,df(a,(Uu(),Th))),d.d=-d.a-n.t,uh(a,(bu(),Xs));break;case 3:f.a?(d.c=(g.a-d.b)/2,df(a,(Uu(),ma))):s||t?(d.c=-d.b-n.s,df(a,(Uu(),zs))):(d.c=g.a+n.s,df(a,(Uu(),Th))),d.d=g.b+n.t,uh(a,(bu(),kf));break;case 2:f.a?(i=n.v?d.a:u(sn(a.d,0),187).Mf().b,d.d=(g.b-i)/2,uh(a,(bu(),va))):s||t?(d.d=-d.a-n.t,uh(a,(bu(),Xs))):(d.d=g.b+n.t,uh(a,(bu(),kf))),d.c=g.a+n.s,df(a,(Uu(),Th));break;case 4:f.a?(i=n.v?d.a:u(sn(a.d,0),187).Mf().b,d.d=(g.b-i)/2,uh(a,(bu(),va))):s||t?(d.d=-d.a-n.t,uh(a,(bu(),Xs))):(d.d=g.b+n.t,uh(a,(bu(),kf))),d.c=-d.b-n.s,df(a,(Uu(),zs))}s=!1}}function oNe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;if(g=!1,d=!1,mg(u(v(i,(cn(),_t)),101))){s=!1,f=!1;n:for(m=new M(i.j);m.a<m.c.c.length;)for(p=u(E(m),12),j=$h(Eo(S(C(Ao,1),Rn,20,0,[new nm(p),new ip(p)])));pe(j);)if(k=u(fe(j),12),!on(un(v(k.i,_8)))){if(p.j==(en(),Xn)){s=!0;break n}if(p.j==ae){f=!0;break n}}g=f&&!s,d=s&&!f}if(!g&&!d&&i.b.c.length!=0){for(a=0,l=new M(i.b);l.a<l.c.c.length;)h=u(E(l),72),a+=h.n.b+h.o.b/2;a/=i.b.c.length,O=a>=i.o.b/2}else O=!d;O?(P=u(v(i,(W(),I3)),15),P?g?c=P:(r=u(v(i,M3),15),r?P.gc()<=r.gc()?c=P:c=r:(c=new Z,U(i,M3,c))):(c=new Z,U(i,I3,c))):(r=u(v(i,(W(),M3)),15),r?d?c=r:(P=u(v(i,I3),15),P?r.gc()<=P.gc()?c=r:c=P:(c=new Z,U(i,I3,c))):(c=new Z,U(i,M3,c))),c.Fc(n),U(n,(W(),tO),t),e.d==t?(Oi(e,null),t.e.c.length+t.g.c.length==0&&ic(t,null),j6e(t)):(Zi(e,null),t.e.c.length+t.g.c.length==0&&ic(t,null)),vo(e.a)}function sNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt;for(t.Ug("MinWidth layering",1),p=e.b,tn=e.a,Nt=u(v(e,(cn(),ehn)),17).a,f=u(v(e,thn),17).a,n.b=$(B(v(e,Ws))),n.d=Pt,D=new M(tn);D.a<D.c.c.length;)O=u(E(D),10),O.k==(Vn(),Xt)&&(Fn=O.o.b,n.d=y.Math.min(n.d,Fn));for(n.d=y.Math.max(1,n.d),jn=tn.c.length,n.c=F(ye,_e,28,jn,15,1),n.f=F(ye,_e,28,jn,15,1),n.e=F(Ii,Cr,28,jn,15,1),l=0,n.a=0,_=new M(tn);_.a<_.c.c.length;)O=u(E(_),10),O.p=l++,n.c[O.p]=BRn(ji(O)),n.f[O.p]=BRn(Qt(O)),n.e[O.p]=O.o.b/n.d,n.a+=n.e[O.p];for(n.b/=n.d,n.a/=jn,X=YEe(tn),Yt(tn,_W(new L7n(n))),k=Pt,m=et,s=null,xe=Nt,te=Nt,c=f,r=f,Nt<0&&(xe=u(Zhn.a.Id(),17).a,te=u(Zhn.b.Id(),17).a),f<0&&(c=u(Yhn.a.Id(),17).a,r=u(Yhn.b.Id(),17).a),Kn=xe;Kn<=te;Kn++)for(i=c;i<=r;i++)kn=HIe(n,Kn,i,tn,X),P=$(B(kn.a)),g=u(kn.b,15),j=g.gc(),(P<k||P==k&&j<m)&&(k=P,m=j,s=g);for(d=s.Kc();d.Ob();){for(a=u(d.Pb(),15),h=new Nc(e),A=a.Kc();A.Ob();)O=u(A.Pb(),10),$i(O,h);Bn(p.c,h)}Qk(p),tn.c.length=0,t.Vg()}function fNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te;if(t.Ug("Spline edge routing",1),e.b.c.length==0){e.f.a=0,t.Vg();return}O=$(B(v(e,(cn(),S2)))),f=$(B(v(e,Kd))),s=$(B(v(e,T2))),P=u(v(e,MH),350),jn=P==(u4(),J8),tn=$(B(v(e,Xfn))),n.d=e,n.j.c.length=0,n.a.c.length=0,Hu(n.k),h=u(sn(e.b,0),30),a=SM(h.a,(AS(),Aj)),m=u(sn(e.b,e.b.c.length-1),30),d=SM(m.a,Aj),k=new M(e.b),j=null,te=0;do{for(A=k.a<k.c.c.length?u(E(k),30):null,qLe(n,j,A),gIe(n),kn=ghe(ave(jT(ut(new Cn(null,new On(n.i,16)),new K3n),new B3n))),Kn=0,D=te,g=!j||a&&j==h,p=!A||d&&A==m,kn>0?(l=0,j&&(l+=f),l+=(kn-1)*s,A&&(l+=f),jn&&A&&(l=y.Math.max(l,PCe(A,s,O,tn))),l<O&&!g&&!p&&(Kn=(O-l)/2,l=O),D+=l):!g&&!p&&(D+=O),A&&zen(A,D),X=new M(n.i);X.a<X.c.c.length;)_=u(E(X),131),_.a.c=te,_.a.b=D-te,_.F=Kn,_.p=!j;hi(n.a,n.i),te=D,A&&(te+=A.c.a),j=A,g=p}while(A);for(r=new M(n.j);r.a<r.c.c.length;)i=u(E(r),18),c=eve(n,i),U(i,(W(),M2),c),Fn=FCe(n,i),U(i,Ld,Fn);e.f.a=te,n.d=null,t.Vg()}function hNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;for(n.b=e,n.a=u(v(e,(cn(),Wfn)),17).a,n.c=u(v(e,Qfn),17).a,n.c==0&&(n.c=et),j=new xi(e.b,0);j.b<j.d.gc();){for(k=(oe(j.b<j.d.gc()),u(j.d.Xb(j.c=j.b++),30)),f=new Z,a=-1,D=-1,A=new M(k.a);A.a<A.c.c.length;)O=u(E(A),10),wl((N7(),new ie(ce(Ml(O).a.Kc(),new En))))>=n.a&&(i=UIe(n,O),a=y.Math.max(a,i.b),D=y.Math.max(D,i.d),nn(f,new bi(O,i)));for(jn=new Z,l=0;l<a;++l)ab(jn,0,(oe(j.b>0),j.a.Xb(j.c=--j.b),kn=new Nc(n.b),Bw(j,kn),oe(j.b<j.d.gc()),j.d.Xb(j.c=j.b++),kn));for(s=new M(f);s.a<s.c.c.length;)if(r=u(E(s),42),p=u(r.b,580).a,!!p)for(g=new M(p);g.a<g.c.c.length;)d=u(E(g),10),EZ(n,d,MI,jn);for(t=new Z,h=0;h<D;++h)nn(t,(Fn=new Nc(n.b),Bw(j,Fn),Fn));for(c=new M(f);c.a<c.c.c.length;)if(r=u(E(c),42),tn=u(r.b,580).c,!!tn)for(X=new M(tn);X.a<X.c.c.length;)_=u(E(X),10),EZ(n,_,TI,t)}for(P=new xi(e.b,0);P.b<P.d.gc();)m=(oe(P.b<P.d.gc()),u(P.d.Xb(P.c=P.b++),30)),m.a.c.length==0&&bo(P)}function uzn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;if(k=n.i!=0,A=!1,P=null,fo(n.e)){if(a=e.gc(),a>0){for(g=a<100?null:new K1(a),l=new KQ(e),m=l.g,P=F(ye,_e,28,a,15,1),i=0,D=new Cb(a),r=0;r<n.i;++r){f=n.g[r],p=f;n:for(O=0;O<2;++O){for(h=a;--h>=0;)if(p!=null?ct(p,m[h]):x(p)===x(m[h])){P.length<=i&&(j=P,P=F(ye,_e,28,2*P.length,15,1),Oc(j,0,P,0,i)),P[i++]=r,ve(D,m[h]);break n}if(p=p,x(p)===x(f))break}}if(l=D,m=D.g,a=i,i>P.length&&(j=P,P=F(ye,_e,28,i,15,1),Oc(j,0,P,0,i)),i>0){for(A=!0,c=0;c<i;++c)p=m[c],g=sPn(n,u(p,76),g);for(s=i;--s>=0;)Jp(n,P[s]);if(i!=a){for(r=a;--r>=i;)Jp(l,r);j=P,P=F(ye,_e,28,i,15,1),Oc(j,0,P,0,i)}e=l}}}else for(e=T7e(n,e),r=n.i;--r>=0;)e.Hc(n.g[r])&&(Jp(n,r),A=!0);if(A){if(P!=null){for(t=e.gc(),d=t==1?X6(n,4,e.Kc().Pb(),null,P[0],k):X6(n,6,e,P,P[0],k),g=t<100?null:new K1(t),r=e.Kc();r.Ob();)p=r.Pb(),g=SV(n,u(p,76),g);g?(g.nj(d),g.oj()):rt(n.e,d)}else{for(g=Aae(e.gc()),r=e.Kc();r.Ob();)p=r.Pb(),g=SV(n,u(p,76),g);g&&g.oj()}return!0}else return!1}function lNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(t=new kBn(e),t.a||FPe(e),l=RSe(e),h=new jb,j=new Eqn,k=new M(e.a);k.a<k.c.c.length;)for(m=u(E(k),10),r=new ie(ce(Qt(m).a.Kc(),new En));pe(r);)i=u(fe(r),18),(i.c.i.k==(Vn(),Zt)||i.d.i.k==Zt)&&(a=ZAe(n,i,l,j),In(h,Ex(a.d),a.a));for(s=new Z,A=u(v(t.c,(W(),Dl)),21).Kc();A.Ob();){switch(O=u(A.Pb(),64),p=j.c[O.g],g=j.b[O.g],f=j.a[O.g],c=null,P=null,O.g){case 4:c=new Ho(n.d.a,p,l.b.a-n.d.a,g-p),P=new Ho(n.d.a,p,f,g-p),lb(l,new V(c.c+c.b,c.d)),lb(l,new V(c.c+c.b,c.d+c.a));break;case 2:c=new Ho(l.a.a,p,n.c.a-l.a.a,g-p),P=new Ho(n.c.a-f,p,f,g-p),lb(l,new V(c.c,c.d)),lb(l,new V(c.c,c.d+c.a));break;case 1:c=new Ho(p,n.d.b,g-p,l.b.b-n.d.b),P=new Ho(p,n.d.b,g-p,f),lb(l,new V(c.c,c.d+c.a)),lb(l,new V(c.c+c.b,c.d+c.a));break;case 3:c=new Ho(p,l.a.b,g-p,n.c.b-l.a.b),P=new Ho(p,n.c.b-f,g-p,f),lb(l,new V(c.c,c.d)),lb(l,new V(c.c+c.b,c.d))}c&&(d=new Uyn,d.d=O,d.b=c,d.c=P,d.a=ST(u(ot(h,Ex(O)),21)),Bn(s.c,d))}return hi(t.b,s),t.d=H6e(dAe(l)),t}function ozn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k;if(t.p[e.p]==null){f=!0,t.p[e.p]=0,s=e,k=t.o==(If(),Bd)?li:Pt;do r=n.b.e[s.p],c=s.c.a.c.length,t.o==Bd&&r>0||t.o==Xf&&r<c-1?(h=null,l=null,t.o==Xf?h=u(sn(s.c.a,r+1),10):h=u(sn(s.c.a,r-1),10),l=t.g[h.p],ozn(n,l,t),k=n.e.wg(k,e,s),t.j[e.p]==e&&(t.j[e.p]=t.j[l.p]),t.j[e.p]==t.j[l.p]?(m=jg(n.d,s,h),t.o==Xf?(i=$(t.p[e.p]),d=$(t.p[l.p])+$(t.d[h.p])-h.d.d-m-s.d.a-s.o.b-$(t.d[s.p]),f?(f=!1,t.p[e.p]=y.Math.min(d,k)):t.p[e.p]=y.Math.min(i,y.Math.min(d,k))):(i=$(t.p[e.p]),d=$(t.p[l.p])+$(t.d[h.p])+h.o.b+h.d.a+m+s.d.d-$(t.d[s.p]),f?(f=!1,t.p[e.p]=y.Math.max(d,k)):t.p[e.p]=y.Math.max(i,y.Math.max(d,k)))):(m=$(B(v(n.a,(cn(),bw)))),p=axn(n,t.j[e.p]),a=axn(n,t.j[l.p]),t.o==Xf?(g=$(t.p[e.p])+$(t.d[s.p])+s.o.b+s.d.a+m-($(t.p[l.p])+$(t.d[h.p])-h.d.d),BAn(p,a,g)):(g=$(t.p[e.p])+$(t.d[s.p])-s.d.d-$(t.p[l.p])-$(t.d[h.p])-h.o.b-h.d.a-m,BAn(p,a,g)))):k=n.e.wg(k,e,s),s=t.a[s.p];while(s!=e);qfe(n.e,e)}}function aNe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn;if(t=$(B(v(n.a.j,(cn(),_fn)))),t<-1||!n.a.i||Ep(u(v(n.a.o,_t),101))||uc(n.a.o,(en(),Zn)).gc()<2&&uc(n.a.o,Wn).gc()<2)return!0;if(n.a.c.kg())return!1;for(_=0,D=0,A=new Z,h=n.a.e,l=0,a=h.length;l<a;++l){for(f=h[l],g=f,p=0,k=g.length;p<k;++p){if(d=g[p],d.k==(Vn(),_c)){Bn(A.c,d);continue}for(i=n.b[d.c.p][d.p],d.k==Zt?(i.b=1,u(v(d,(W(),st)),12).j==(en(),Zn)&&(D+=i.a)):(kn=uc(d,(en(),Wn)),kn.dc()||!yN(kn,new Ypn)?i.c=1:(r=uc(d,Zn),(r.dc()||!yN(r,new Qpn))&&(_+=i.a))),s=new ie(ce(Qt(d).a.Kc(),new En));pe(s);)c=u(fe(s),18),_+=i.c,D+=i.b,jn=c.d.i,WJ(n,i,jn);for(P=Eo(S(C(Ao,1),Rn,20,0,[uc(d,(en(),Xn)),uc(d,ae)])),tn=new ie(new HX(P.a.length,P.a));pe(tn);)X=u(fe(tn),12),O=u(v(X,(W(),Xu)),10),O&&(_+=i.c,D+=i.b,WJ(n,i,O))}for(m=new M(A);m.a<m.c.c.length;)for(d=u(E(m),10),i=n.b[d.c.p][d.p],s=new ie(ce(Qt(d).a.Kc(),new En));pe(s);)c=u(fe(s),18),_+=i.c,D+=i.b,jn=c.d.i,WJ(n,i,jn);A.c.length=0}return e=_+D,j=e==0?Pt:(_-D)/e,j>=t}function dNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te;for(A=e,O=new jb,D=new jb,a=Tb(A,Tcn),i=new IOn(n,t,O,D),Nje(i.a,i.b,i.c,i.d,a),h=(tn=O.i,tn||(O.i=new Tg(O,O.c))),kn=h.Kc();kn.Ob();)for(jn=u(kn.Pb(),166),r=u(ot(O,jn),21),k=r.Kc();k.Ob();)if(m=k.Pb(),_=u(Ng(n.d,m),166),_)f=(!jn.e&&(jn.e=new Dn(Tt,jn,10,9)),jn.e),ve(f,_);else throw s=bl(A,Eh),g=kWn+m+yWn+s,p=g+tv,T(new eh(p));for(l=(X=D.i,X||(D.i=new Tg(D,D.c))),Kn=l.Kc();Kn.Ob();)for(Fn=u(Kn.Pb(),166),c=u(ot(D,Fn),21),P=c.Kc();P.Ob();)if(j=P.Pb(),_=u(Ng(n.d,j),166),_)d=(!Fn.g&&(Fn.g=new Dn(Tt,Fn,9,10)),Fn.g),ve(d,_);else throw s=bl(A,Eh),g=kWn+j+yWn+s,p=g+tv,T(new eh(p));!t.b&&(t.b=new Dn(he,t,4,7)),t.b.i!=0&&(!t.c&&(t.c=new Dn(he,t,5,8)),t.c.i!=0)&&(!t.b&&(t.b=new Dn(he,t,4,7)),t.b.i<=1&&(!t.c&&(t.c=new Dn(he,t,5,8)),t.c.i<=1))&&(!t.a&&(t.a=new q(Tt,t,6,6)),t.a).i==1&&(te=u(N((!t.a&&(t.a=new q(Tt,t,6,6)),t.a),0),166),!Px(te)&&!Ix(te)&&(mC(te,u(N((!t.b&&(t.b=new Dn(he,t,4,7)),t.b),0),84)),vC(te,u(N((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84))))}function bNe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;for(A=n.a,D=0,_=A.length;D<_;++D){for(O=A[D],l=et,a=et,m=new M(O.e);m.a<m.c.c.length;)g=u(E(m),10),s=g.c?qr(g.c.a,g,0):-1,s>0?(d=u(sn(g.c.a,s-1),10),jn=jg(n.b,g,d),j=g.n.b-g.d.d-(d.n.b+d.o.b+d.d.a+jn)):j=g.n.b-g.d.d,l=y.Math.min(j,l),s<g.c.a.c.length-1?(d=u(sn(g.c.a,s+1),10),jn=jg(n.b,g,d),P=d.n.b-d.d.d-(g.n.b+g.o.b+g.d.a+jn)):P=2*g.n.b,a=y.Math.min(P,a);for(h=et,c=!1,r=u(sn(O.e,0),10),Fn=new M(r.j);Fn.a<Fn.c.c.length;)for(kn=u(E(Fn),12),k=r.n.b+kn.n.b+kn.a.b,i=new M(kn.e);i.a<i.c.c.length;)t=u(E(i),18),X=t.c,e=X.i.n.b+X.n.b+X.a.b-k,y.Math.abs(e)<y.Math.abs(h)&&y.Math.abs(e)<(e<0?l:a)&&(h=e,c=!0);for(f=u(sn(O.e,O.e.c.length-1),10),tn=new M(f.j);tn.a<tn.c.c.length;)for(X=u(E(tn),12),k=f.n.b+X.n.b+X.a.b,i=new M(X.g);i.a<i.c.c.length;)t=u(E(i),18),kn=t.d,e=kn.i.n.b+kn.n.b+kn.a.b-k,y.Math.abs(e)<y.Math.abs(h)&&y.Math.abs(e)<(e<0?l:a)&&(h=e,c=!0);if(c&&h!=0)for(p=new M(O.e);p.a<p.c.c.length;)g=u(E(p),10),g.n.b+=h}}function wNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;if(i=new Z,r=et,c=et,s=et,t)for(r=n.f.a,k=new M(e.j);k.a<k.c.c.length;)for(m=u(E(k),12),h=new M(m.g);h.a<h.c.c.length;)f=u(E(h),18),f.a.b!=0&&(a=u(gm(f.a),8),a.a<r&&(c=r-a.a,s=et,i.c.length=0,r=a.a),a.a<=r&&(Bn(i.c,f),f.a.b>1&&(s=y.Math.min(s,y.Math.abs(u(Zo(f.a,1),8).b-a.b)))));else for(k=new M(e.j);k.a<k.c.c.length;)for(m=u(E(k),12),h=new M(m.e);h.a<h.c.c.length;)f=u(E(h),18),f.a.b!=0&&(g=u($s(f.a),8),g.a>r&&(c=g.a-r,s=et,i.c.length=0,r=g.a),g.a>=r&&(Bn(i.c,f),f.a.b>1&&(s=y.Math.min(s,y.Math.abs(u(Zo(f.a,f.a.b-2),8).b-g.b)))));if(i.c.length!=0&&c>e.o.a/2&&s>e.o.b/2){for(p=new Ic,ic(p,e),gi(p,(en(),Xn)),p.n.a=e.o.a/2,P=new Ic,ic(P,e),gi(P,ae),P.n.a=e.o.a/2,P.n.b=e.o.b,h=new M(i);h.a<h.c.c.length;)f=u(E(h),18),t?(l=u(UN(f.a),8),j=f.a.b==0?Of(f.d):u(gm(f.a),8),j.b>=l.b?Zi(f,P):Zi(f,p)):(l=u(cwe(f.a),8),j=f.a.b==0?Of(f.c):u($s(f.a),8),j.b>=l.b?Oi(f,P):Oi(f,p)),d=u(v(f,(cn(),Rr)),75),d&&i0(d,l,!0);e.n.a=r-e.o.a/2}}function gNe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(f=ge(n.b,0);f.b!=f.d.c;)if(s=u(be(f),39),!Sn(s.c,OP))for(l=_Me(s,n),e==(ci(),Kr)||e==Xr?Yt(l,new Mmn):Yt(l,new Tmn),h=l.c.length,i=0;i<h;i++)a=(Nn(i,l.c.length),u(l.c[i],65)).c,Sn(a.c,"n11"),!(on(un(v(s,(pt(),wln))))&&!MRn((Nn(i,l.c.length),u(l.c[i],65)),n))&&(r=h==1?.5:(i+1)/(h+1),e==Kr?(c=$(B(v(s,jf))),g=s.e.b+s.f.b*r,gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(y.Math.min(c,s.e.a-t),g)),gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(s.e.a,g))):e==Xr?(c=$(B(v(s,Js)))+t,g=s.e.b+s.f.b*r,gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(c,g)),gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(s.e.a+s.f.a,g))):e==us?(c=$(B(v(s,jf))),d=s.e.a+s.f.a*r,gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(d,y.Math.min(s.e.b-t,c))),gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(d,s.e.b))):(c=$(B(v(s,Js)))+t,d=s.e.a+s.f.a*r,gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(d,c)),gg((Nn(i,l.c.length),u(l.c[i],65)).a,new V(d,s.e.b+s.f.b))))}function py(n,e,t,i,r,c,s,f,h){var l,a,d,g,p,m,k;switch(p=t,a=new Cl(h),Ha(a,(Vn(),Zt)),U(a,(W(),nfn),s),U(a,(cn(),_t),(Ai(),qc)),k=$(B(n.of(F0))),U(a,F0,k),d=new Ic,ic(d,a),e!=Qf&&e!=Oa||(i>=0?p=zp(f):p=$k(zp(f)),n.qf(Mv,p)),l=new Ni,g=!1,n.pf(aw)?(QX(l,u(n.of(aw),8)),g=!0):C1e(l,s.a/2,s.b/2),p.g){case 4:U(a,ou,(Yo(),ja)),U(a,rO,(hd(),m2)),a.o.b=s.b,k<0&&(a.o.a=-k),gi(d,(en(),Zn)),g||(l.a=s.a),l.a-=s.a;break;case 2:U(a,ou,(Yo(),x0)),U(a,rO,(hd(),pv)),a.o.b=s.b,k<0&&(a.o.a=-k),gi(d,(en(),Wn)),g||(l.a=0);break;case 1:U(a,Ad,(vl(),k2)),a.o.a=s.a,k<0&&(a.o.b=-k),gi(d,(en(),ae)),g||(l.b=s.b),l.b-=s.b;break;case 3:U(a,Ad,(vl(),E3)),a.o.a=s.a,k<0&&(a.o.b=-k),gi(d,(en(),Xn)),g||(l.b=0)}if(QX(d.n,l),U(a,aw,l),e==Ud||e==tl||e==qc){if(m=0,e==Ud&&n.pf(v1))switch(p.g){case 1:case 2:m=u(n.of(v1),17).a;break;case 3:case 4:m=-u(n.of(v1),17).a}else switch(p.g){case 4:case 2:m=c.b,e==tl&&(m/=r.b);break;case 1:case 3:m=c.a,e==tl&&(m/=r.a)}U(a,ow,m)}return U(a,gc,p),a}function pNe(){jz();function n(i){var r=this;this.dispatch=function(c){var s=c.data;switch(s.cmd){case"algorithms":var f=qY((Ln(),new J3(new ol(Na.b))));i.postMessage({id:s.id,data:f});break;case"categories":var h=qY((Ln(),new J3(new ol(Na.c))));i.postMessage({id:s.id,data:h});break;case"options":var l=qY((Ln(),new J3(new ol(Na.d))));i.postMessage({id:s.id,data:l});break;case"register":kAe(s.algorithms),i.postMessage({id:s.id});break;case"layout":WIe(s.graph,s.layoutOptions||{},s.options||{}),i.postMessage({id:s.id,data:s.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(s){i.postMessage({id:c.data.id,error:s})}}}function e(i){var r=this;this.dispatcher=new n({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===xK&&typeof self!==xK){var t=new n(self);self.onmessage=t.saveDispatch}else typeof gt!==xK&>.exports&&(Object.defineProperty(Pr,"__esModule",{value:!0}),gt.exports={default:e,Worker:e})}function szn(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(a=new Cl(t),Ur(a,e),U(a,(W(),st),e),a.o.a=e.g,a.o.b=e.f,a.n.a=e.i,a.n.b=e.j,nn(t.a,a),Ve(n.a,e,a),((!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i!=0||on(un(z(e,(cn(),B0)))))&&U(a,Qsn,(_n(),!0)),l=u(v(t,Hc),21),d=u(v(a,(cn(),_t)),101),d==(Ai(),Oa)?U(a,_t,Qf):d!=Qf&&l.Fc((pr(),kv)),g=0,i=u(v(t,Lo),88),h=new ne((!e.c&&(e.c=new q(Qu,e,9,9)),e.c));h.e!=h.i.gc();)f=u(ue(h),123),r=St(e),(x(z(r,Yh))!==x((lh(),k1))||x(z(r,Nd))===x((o1(),gv))||x(z(r,Nd))===x((o1(),wv))||on(un(z(r,fw)))||x(z(r,R0))!==x((dd(),A0))||x(z(r,Ea))===x((ps(),ww))||x(z(r,Ea))===x((ps(),U0))||x(z(r,$d))===x((a1(),Pv))||x(z(r,$d))===x((a1(),Iv)))&&!on(un(z(e,lO)))&&ht(f,dt,Y(g++)),on(un(z(f,Rd)))||SLe(n,f,a,l,i,d);for(s=new ne((!e.n&&(e.n=new q(Sr,e,1,7)),e.n));s.e!=s.i.gc();)c=u(ue(s),135),!on(un(z(c,Rd)))&&c.a&&nn(a.b,ex(c));return on(un(v(a,_8)))&&l.Fc((pr(),ZI)),on(un(v(a,wO)))&&(l.Fc((pr(),nO)),l.Fc($8),U(a,_t,Qf)),a}function QR(n,e,t,i,r,c,s){var f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt;for(k=0,Fn=0,l=new M(n.b);l.a<l.c.c.length;)h=u(E(l),163),h.c&&RGn(h.c),k=y.Math.max(k,Pu(h)),Fn+=Pu(h)*ao(h);for(j=Fn/n.b.c.length,kn=mke(n.b,j),Fn+=n.b.c.length*kn,k=y.Math.max(k,y.Math.sqrt(Fn*s))+t.b,xe=t.b,Nt=t.d,p=0,d=t.b+t.c,jn=new Mt,Re(jn,Y(0)),X=new Mt,a=new xi(n.b,0),m=null,f=new Z;a.b<a.d.gc();)h=(oe(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),163)),te=Pu(h),g=ao(h),xe+te>k&&(c&&(ir(X,p),ir(jn,Y(a.b-1)),nn(n.d,m),f.c.length=0),xe=t.b,Nt+=p+e,p=0,d=y.Math.max(d,t.b+t.c+te)),Bn(f.c,h),aBn(h,xe,Nt),d=y.Math.max(d,xe+te+t.c),p=y.Math.max(p,g),xe+=te+e,m=h;if(hi(n.a,f),nn(n.d,u(sn(f,f.c.length-1),163)),d=y.Math.max(d,i),Kn=Nt+p+t.a,Kn<r&&(p+=r-Kn,Kn=r),c)for(xe=t.b,a=new xi(n.b,0),ir(jn,Y(n.b.c.length)),tn=ge(jn,0),O=u(be(tn),17).a,ir(X,p),_=ge(X,0),D=0;a.b<a.d.gc();)a.b==O&&(xe=t.b,D=$(B(be(_))),O=u(be(tn),17).a),h=(oe(a.b<a.d.gc()),u(a.d.Xb(a.c=a.b++),163)),UKn(h,D),a.b==O&&(P=d-xe-t.c,A=Pu(h),GKn(h,P),pKn(h,(P-A)/2,0)),xe+=Pu(h)+e;return new V(d,Kn)}function mNe(n){n.N||(n.N=!0,n.b=hc(n,0),Rt(n.b,0),Rt(n.b,1),Rt(n.b,2),n.bb=hc(n,1),Rt(n.bb,0),Rt(n.bb,1),n.fb=hc(n,2),Rt(n.fb,3),Rt(n.fb,4),jt(n.fb,5),n.qb=hc(n,3),Rt(n.qb,0),jt(n.qb,1),jt(n.qb,2),Rt(n.qb,3),Rt(n.qb,4),jt(n.qb,5),Rt(n.qb,6),n.a=Je(n,4),n.c=Je(n,5),n.d=Je(n,6),n.e=Je(n,7),n.f=Je(n,8),n.g=Je(n,9),n.i=Je(n,10),n.j=Je(n,11),n.k=Je(n,12),n.n=Je(n,13),n.o=Je(n,14),n.p=Je(n,15),n.q=Je(n,16),n.s=Je(n,17),n.r=Je(n,18),n.t=Je(n,19),n.u=Je(n,20),n.v=Je(n,21),n.w=Je(n,22),n.B=Je(n,23),n.A=Je(n,24),n.C=Je(n,25),n.D=Je(n,26),n.F=Je(n,27),n.G=Je(n,28),n.H=Je(n,29),n.J=Je(n,30),n.I=Je(n,31),n.K=Je(n,32),n.M=Je(n,33),n.L=Je(n,34),n.P=Je(n,35),n.Q=Je(n,36),n.R=Je(n,37),n.S=Je(n,38),n.T=Je(n,39),n.U=Je(n,40),n.V=Je(n,41),n.X=Je(n,42),n.W=Je(n,43),n.Y=Je(n,44),n.Z=Je(n,45),n.$=Je(n,46),n._=Je(n,47),n.ab=Je(n,48),n.cb=Je(n,49),n.db=Je(n,50),n.eb=Je(n,51),n.gb=Je(n,52),n.hb=Je(n,53),n.ib=Je(n,54),n.jb=Je(n,55),n.kb=Je(n,56),n.lb=Je(n,57),n.mb=Je(n,58),n.nb=Je(n,59),n.ob=Je(n,60),n.pb=Je(n,61))}function vNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;if(O=0,e.f.a==0)for(j=new M(n);j.a<j.c.c.length;)m=u(E(j),10),O=y.Math.max(O,m.n.a+m.o.a+m.d.c);else O=e.f.a-e.c.a;for(O-=e.c.a,k=new M(n);k.a<k.c.c.length;){switch(m=u(E(k),10),Vv(m.n,O-m.o.a),VV(m.f),qBn(m),(m.q?m.q:(Ln(),Ln(),Wh))._b((cn(),H0))&&Vv(u(v(m,H0),8),O-m.o.a),u(v(m,Ch),255).g){case 1:U(m,Ch,(Bh(),qj));break;case 2:U(m,Ch,(Bh(),Hj))}for(P=m.o,D=new M(m.j);D.a<D.c.c.length;){for(A=u(E(D),12),Vv(A.n,P.a-A.o.a),Vv(A.a,A.o.a),gi(A,Txn(A.j)),s=u(v(A,v1),17),s&&U(A,v1,Y(-s.a)),c=new M(A.g);c.a<c.c.c.length;){for(r=u(E(c),18),i=ge(r.a,0);i.b!=i.d.c;)t=u(be(i),8),t.a=O-t.a;if(l=u(v(r,Rr),75),l)for(h=ge(l,0);h.b!=h.d.c;)f=u(be(h),8),f.a=O-f.a;for(g=new M(r.b);g.a<g.c.c.length;)a=u(E(g),72),Vv(a.n,O-a.o.a)}for(p=new M(A.f);p.a<p.c.c.length;)a=u(E(p),72),Vv(a.n,A.o.a-a.o.a)}for(m.k==(Vn(),Zt)&&(U(m,(W(),gc),Txn(u(v(m,gc),64))),uje(m)),d=new M(m.b);d.a<d.c.c.length;)a=u(E(d),72),qBn(a),Vv(a.n,P.a-a.o.a)}}function kNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;if(O=0,e.f.b==0)for(j=new M(n);j.a<j.c.c.length;)m=u(E(j),10),O=y.Math.max(O,m.n.b+m.o.b+m.d.a);else O=e.f.b-e.c.b;for(O-=e.c.b,k=new M(n);k.a<k.c.c.length;){switch(m=u(E(k),10),Xv(m.n,O-m.o.b),WV(m.f),UBn(m),(m.q?m.q:(Ln(),Ln(),Wh))._b((cn(),H0))&&Xv(u(v(m,H0),8),O-m.o.b),u(v(m,Ch),255).g){case 3:U(m,Ch,(Bh(),ZO));break;case 4:U(m,Ch,(Bh(),eA))}for(P=m.o,D=new M(m.j);D.a<D.c.c.length;){for(A=u(E(D),12),Xv(A.n,P.b-A.o.b),Xv(A.a,A.o.b),gi(A,Cxn(A.j)),s=u(v(A,v1),17),s&&U(A,v1,Y(-s.a)),c=new M(A.g);c.a<c.c.c.length;){for(r=u(E(c),18),i=ge(r.a,0);i.b!=i.d.c;)t=u(be(i),8),t.b=O-t.b;if(l=u(v(r,Rr),75),l)for(h=ge(l,0);h.b!=h.d.c;)f=u(be(h),8),f.b=O-f.b;for(g=new M(r.b);g.a<g.c.c.length;)a=u(E(g),72),Xv(a.n,O-a.o.b)}for(p=new M(A.f);p.a<p.c.c.length;)a=u(E(p),72),Xv(a.n,A.o.b-a.o.b)}for(m.k==(Vn(),Zt)&&(U(m,(W(),gc),Cxn(u(v(m,gc),64))),y5e(m)),d=new M(m.b);d.a<d.c.c.length;)a=u(E(d),72),UBn(a),Xv(a.n,P.b-a.o.b)}}function yNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe;for(O=new xi(n.b,0),a=e.Kc(),m=0,l=u(a.Pb(),17).a,_=0,t=new ni,tn=new rh;O.b<O.d.gc();){for(P=(oe(O.b<O.d.gc()),u(O.d.Xb(O.c=O.b++),30)),D=new M(P.a);D.a<D.c.c.length;){for(A=u(E(D),10),p=new ie(ce(Qt(A).a.Kc(),new En));pe(p);)d=u(fe(p),18),tn.a.zc(d,tn);for(g=new ie(ce(ji(A).a.Kc(),new En));pe(g);)d=u(fe(g),18),tn.a.Bc(d)!=null}if(m+1==l){for(r=new Nc(n),Bw(O,r),c=new Nc(n),Bw(O,c),kn=tn.a.ec().Kc();kn.Ob();)jn=u(kn.Pb(),18),t.a._b(jn)||(++_,t.a.zc(jn,t)),s=new Cl(n),U(s,(cn(),_t),(Ai(),Bv)),$i(s,r),Ha(s,(Vn(),Gf)),k=new Ic,ic(k,s),gi(k,(en(),Wn)),Fn=new Ic,ic(Fn,s),gi(Fn,Zn),i=new Cl(n),U(i,_t,Bv),$i(i,c),Ha(i,Gf),j=new Ic,ic(j,i),gi(j,Wn),Kn=new Ic,ic(Kn,i),gi(Kn,Zn),X=new yb,Zi(X,jn.c),Oi(X,k),U(X,(W(),dt),u(v(jn,dt),17)),xe=new yb,Zi(xe,Fn),Oi(xe,j),U(xe,dt,u(v(jn,dt),17)),Zi(jn,Kn),f=new yJ(s,i,X,xe,jn),U(s,cw,f),U(i,cw,f),te=X.c.i,te.k==Gf&&(h=u(v(te,cw),313),h.d=f,f.g=h);if(a.Ob())l=u(a.Pb(),17).a;else break}++m}return Y(_)}function jNe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(k=new Z,g=new M(n.d.b);g.a<g.c.c.length;)for(d=u(E(g),30),m=new M(d.a);m.a<m.c.c.length;){for(p=u(E(m),10),r=u(ee(n.f,p),60),h=new ie(ce(Qt(p).a.Kc(),new En));pe(h);)if(s=u(fe(h),18),i=ge(s.a,0),l=!0,a=null,i.b!=i.d.c){for(e=u(be(i),8),t=null,s.c.j==(en(),Xn)&&(j=new _5(e,new V(e.a,r.d.d),r,s),j.f.a=!0,j.a=s.c,Bn(k.c,j)),s.c.j==ae&&(j=new _5(e,new V(e.a,r.d.d+r.d.a),r,s),j.f.d=!0,j.a=s.c,Bn(k.c,j));i.b!=i.d.c;)t=u(be(i),8),hQ(e.b,t.b)||(a=new _5(e,t,null,s),Bn(k.c,a),l&&(l=!1,t.b<r.d.d?a.f.a=!0:t.b>r.d.d+r.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))),i.b!=i.d.c&&(e=t);a&&(c=u(ee(n.f,s.d.i),60),e.b<c.d.d?a.f.a=!0:e.b>c.d.d+c.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))}for(f=new ie(ce(ji(p).a.Kc(),new En));pe(f);)s=u(fe(f),18),s.a.b!=0&&(e=u($s(s.a),8),s.d.j==(en(),Xn)&&(j=new _5(e,new V(e.a,r.d.d),r,s),j.f.a=!0,j.a=s.d,Bn(k.c,j)),s.d.j==ae&&(j=new _5(e,new V(e.a,r.d.d+r.d.a),r,s),j.f.d=!0,j.a=s.d,Bn(k.c,j)))}return k}function ENe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(h=new Z,d=e.length,s=nY(t),l=0;l<d;++l){switch(a=qX(e,wu(61),l),i=v5e(s,(Ri(l,a,e.length),e.substr(l,a-l))),r=x$(i),c=r.jk().wi(),Xi(e,++a)){case 39:{f=bm(e,39,++a),nn(h,new MM(i,jD((Ri(a,f,e.length),e.substr(a,f-a)),c,r))),l=f+1;break}case 34:{f=bm(e,34,++a),nn(h,new MM(i,jD((Ri(a,f,e.length),e.substr(a,f-a)),c,r))),l=f+1;break}case 91:{g=new Z,nn(h,new MM(i,g));n:for(;;){switch(Xi(e,++a)){case 39:{f=bm(e,39,++a),nn(g,jD((Ri(a,f,e.length),e.substr(a,f-a)),c,r)),a=f+1;break}case 34:{f=bm(e,34,++a),nn(g,jD((Ri(a,f,e.length),e.substr(a,f-a)),c,r)),a=f+1;break}case 110:{if(++a,e.indexOf("ull",a)==a)g.c.push(null);else throw T(new ec(lWn));a+=3;break}}if(a<d)switch(zn(a,e.length),e.charCodeAt(a)){case 44:break;case 93:break n;default:throw T(new ec("Expecting , or ]"))}else break}l=a+1;break}case 110:{if(++a,e.indexOf("ull",a)==a)nn(h,new MM(i,null));else throw T(new ec(lWn));l=a+3;break}}if(l<d){if(zn(l,e.length),e.charCodeAt(l)!=44)throw T(new ec("Expecting ,"))}else break}return uSe(n,h,t)}function MNe(n){var e,t,i,r,c;switch(e=n.c,c=null,e){case 6:return n.Em();case 13:return n.Fm();case 23:return n.wm();case 22:return n.Bm();case 18:return n.ym();case 8:Ze(n),c=(nt(),lbn);break;case 9:return n.em(!0);case 19:return n.fm();case 10:switch(n.a){case 100:case 68:case 119:case 87:case 115:case 83:return c=n.dm(n.a),Ze(n),c;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:t=n.cm(),t<hr?c=(nt(),nt(),new Dh(0,t)):c=yIn(NY(t));break;case 99:return n.om();case 67:return n.jm();case 105:return n.rm();case 73:return n.km();case 103:return n.pm();case 88:return n.lm();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n.gm();case 80:case 112:if(c=Lnn(n,n.a),!c)throw T(new Ne($e((Oe(),EF))));break;default:c=DPn(n.a)}Ze(n);break;case 0:if(n.a==93||n.a==123||n.a==125)throw T(new Ne($e((Oe(),Dcn))));c=DPn(n.a),i=n.a,Ze(n),(i&64512)==Sy&&n.c==0&&(n.a&64512)==56320&&(r=F(fs,gh,28,2,15,1),r[0]=i&ui,r[1]=n.a&ui,c=rD(yIn(ws(r,0,r.length)),0),Ze(n));break;default:throw T(new Ne($e((Oe(),Dcn))))}return c}function TNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn;for(kn=new Mt,X=new Mt,j=-1,h=new M(n);h.a<h.c.c.length;){for(s=u(E(h),131),s.s=j--,a=0,A=0,c=new M(s.t);c.a<c.c.c.length;)i=u(E(c),274),A+=i.c;for(r=new M(s.i);r.a<r.c.c.length;)i=u(E(r),274),a+=i.c;s.n=a,s.u=A,A==0?xt(X,s,X.c.b,X.c):a==0&&xt(kn,s,kn.c.b,kn.c)}for(Kn=HT(n),d=n.c.length,k=d+1,P=d-1,p=new Z;Kn.a.gc()!=0;){for(;X.b!=0;)_=(oe(X.b!=0),u(Xo(X,X.a.a),131)),Kn.a.Bc(_)!=null,_.s=P--,Qnn(_,kn,X);for(;kn.b!=0;)tn=(oe(kn.b!=0),u(Xo(kn,kn.a.a),131)),Kn.a.Bc(tn)!=null,tn.s=k++,Qnn(tn,kn,X);for(m=Wi,l=Kn.a.ec().Kc();l.Ob();)s=u(l.Pb(),131),O=s.u-s.n,O>=m&&(O>m&&(p.c.length=0,m=O),Bn(p.c,s));p.c.length!=0&&(g=u(sn(p,cS(e,p.c.length)),131),Kn.a.Bc(g)!=null,g.s=k++,Qnn(g,kn,X),p.c.length=0)}for(D=n.c.length+1,f=new M(n);f.a<f.c.c.length;)s=u(E(f),131),s.s<d&&(s.s+=D);for(jn=new M(n);jn.a<jn.c.c.length;)for(tn=u(E(jn),131),t=new xi(tn.t,0);t.b<t.d.gc();)i=(oe(t.b<t.d.gc()),u(t.d.Xb(t.c=t.b++),274)),Fn=i.b,tn.s>Fn.s&&(bo(t),du(Fn.i,i),i.c>0&&(i.a=Fn,nn(Fn.t,i),i.b=tn,nn(tn.i,i)))}function fzn(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn;for(k=new Gc(e.b),D=new Gc(e.b),g=new Gc(e.b),jn=new Gc(e.b),j=new Gc(e.b),tn=ge(e,0);tn.b!=tn.d.c;)for(_=u(be(tn),12),f=new M(_.g);f.a<f.c.c.length;)if(c=u(E(f),18),c.c.i==c.d.i){if(_.j==c.d.j){Bn(jn.c,c);continue}else if(_.j==(en(),Xn)&&c.d.j==ae){Bn(j.c,c);continue}}for(h=new M(j);h.a<h.c.c.length;)c=u(E(h),18),QPe(n,c,t,i,(en(),Zn));for(s=new M(jn);s.a<s.c.c.length;)c=u(E(s),18),kn=new Cl(n),Ha(kn,(Vn(),_c)),U(kn,(cn(),_t),(Ai(),qc)),U(kn,(W(),st),c),Fn=new Ic,U(Fn,st,c.d),gi(Fn,(en(),Wn)),ic(Fn,kn),Kn=new Ic,U(Kn,st,c.c),gi(Kn,Zn),ic(Kn,kn),U(c.c,Xu,kn),U(c.d,Xu,kn),Zi(c,null),Oi(c,null),Bn(t.c,kn),U(kn,iO,Y(2));for(X=ge(e,0);X.b!=X.d.c;)_=u(be(X),12),l=_.e.c.length>0,P=_.g.c.length>0,l&&P?Bn(g.c,_):l?Bn(k.c,_):P&&Bn(D.c,_);for(m=new M(k);m.a<m.c.c.length;)p=u(E(m),12),nn(r,Fen(n,p,null,t));for(A=new M(D);A.a<A.c.c.length;)O=u(E(A),12),nn(r,Fen(n,null,O,t));for(d=new M(g);d.a<d.c.c.length;)a=u(E(d),12),nn(r,Fen(n,a,a,t))}function rtn(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(g=Pt,p=Pt,a=0,d=0,h=new Z,f=new ne((!n.b&&(n.b=new q(Vt,n,12,3)),n.b));f.e!=f.i.gc();)c=u(ue(f),74),h=Eo(S(C(Ao,1),Rn,20,0,[h,(!c.n&&(c.n=new q(Sr,c,1,7)),c.n)]));for(A=$h(Eo(S(C(Ao,1),Rn,20,0,[(!n.n&&(n.n=new q(Sr,n,1,7)),n.n),(!n.a&&(n.a=new q(Ye,n,10,11)),n.a),h])));pe(A);)O=u(fe(A),422),l=u(O.of((He(),$v)),140),g>O.nh()-l.b&&(g=O.nh()-l.b),p>O.oh()-l.d&&(p=O.oh()-l.d),a<O.nh()+O.mh()+l.c&&(a=O.nh()+O.mh()+l.c),d<O.oh()+O.lh()+l.a&&(d=O.oh()+O.lh()+l.a);for(s=new ne((!n.b&&(n.b=new q(Vt,n,12,3)),n.b));s.e!=s.i.gc();)for(c=u(ue(s),74),P=new ne((!c.a&&(c.a=new q(Tt,c,6,6)),c.a));P.e!=P.i.gc();)for(j=u(ue(P),166),m=j.j,i=j.b,k=j.k,r=j.c,g=y.Math.min(g,m),g=y.Math.min(g,i),a=y.Math.max(a,m),a=y.Math.max(a,i),p=y.Math.min(p,k),p=y.Math.min(p,r),d=y.Math.max(d,k),d=y.Math.max(d,r),t=new ne((!j.a&&(j.a=new ti(xo,j,5)),j.a));t.e!=t.i.gc();)e=u(ue(t),377),g=y.Math.min(g,e.a),a=y.Math.max(a,e.a),p=y.Math.min(p,e.b),d=y.Math.max(d,e.b);ht(n,(He(),K2),a-g),ht(n,R2,d-p)}function CNe(n,e,t){var i,r,c,s,f,h,l,a,d;if(t.Ug("Network simplex node placement",1),n.e=e,n.n=u(v(e,(W(),E2)),312),BOe(n),iye(n),Ut(rc(new Cn(null,new On(n.e.b,16)),new c3n),new Z7n(n)),Ut(ut(rc(ut(rc(new Cn(null,new On(n.e.b,16)),new m3n),new v3n),new k3n),new y3n),new Y7n(n)),on(un(v(n.e,(cn(),q8))))&&(s=t.eh(1),s.Ug("Straight Edges Pre-Processing",1),oLe(n),s.Vg()),K9e(n.f),c=u(v(e,z8),17).a*n.f.a.c.length,IR(gz(pz(KN(n.f),c),!1),t.eh(1)),n.d.a.gc()!=0){for(s=t.eh(1),s.Ug("Flexible Where Space Processing",1),f=u(ho(Sp(_r(new Cn(null,new On(n.f.a,16)),new u3n),new Zpn)),17).a,h=u(ho(_w(_r(new Cn(null,new On(n.f.a,16)),new o3n),new n3n)),17).a,l=h-f,a=sb(new za,n.f),d=sb(new za,n.f),qs(Ns(Ls(As(Ds(new hs,2e4),l),a),d)),Ut(ut(ut(jW(n.i),new s3n),new f3n),new EOn(f,a,l,d)),r=n.d.a.ec().Kc();r.Ob();)i=u(r.Pb(),218),i.g=1;IR(gz(pz(KN(n.f),c),!1),s.eh(1)),s.Vg()}on(un(v(e,q8)))&&(s=t.eh(1),s.Ug("Straight Edges Post-Processing",1),Vje(n),s.Vg()),UAe(n),n.e=null,n.f=null,n.i=null,n.c=null,Hu(n.k),n.j=null,n.a=null,n.o=null,n.d.a.$b(),t.Vg()}function SNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;for(t.Ug("Depth first model order layering",1),n.d=e,j=new Z,k=new M(n.d.a);k.a<k.c.c.length;)p=u(E(k),10),p.k==(Vn(),Xt)&&Bn(j.c,p);for(Ln(),Yt(j,new Gpn),s=!0,n.b=new Nc(n.d),n.a=null,nn(n.d.b,n.b),n.b.p=0,n.c=0,n.f=new Mt,m=new M(j);m.a<m.c.c.length;)if(p=u(E(m),10),s)$i(p,n.b),s=!1;else if(_Ie(n,p))if(g=n.c,g=pBn(g,p),i=g+2,a=g-n.c,n.f.b==0)len(n,i,p);else if(a>0){for(A=ge(n.f,0);A.b!=A.d.c;)O=u(be(A),10),O.p+=g-n.e;pnn(n),vo(n.f),len(n,i,p)}else{for(Re(n.f,p),p.p=i,n.e=y.Math.max(n.e,i),c=new ie(ce(ji(p).a.Kc(),new En));pe(c);)r=u(fe(c),18),!r.c.i.c&&r.c.i.k==(Vn(),Sc)&&(Re(n.f,r.c.i),r.c.i.p=i-1);n.c=i}else pnn(n),vo(n.f),i=0,pe(new ie(ce(ji(p).a.Kc(),new En)))?(g=0,g=pBn(g,p),i=g+2,len(n,i,p)):(Re(n.f,p),p.p=0,n.e=y.Math.max(n.e,0),n.b=u(sn(n.d.b,0),30),n.c=0);for(n.f.b==0||pnn(n),n.d.a.c.length=0,P=new Z,l=new M(n.d.b);l.a<l.c.c.length;)f=u(E(l),30),f.a.c.length==0&&Bn(P.c,f);for(PY(n.d.b,P),d=0,h=new M(n.d.b);h.a<h.c.c.length;)f=u(E(h),30),f.p=d,++d;t.Vg()}function PNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt,Yu,Br;if(Fn=null,te=e,Kn=ULn(n,DLn(t),te),zm(Kn,bl(te,Eh)),xe=u(Ng(n.g,Zp(dl(te,lF))),27),g=dl(te,"sourcePort"),i=null,g&&(i=Zp(g)),Nt=u(Ng(n.j,i),123),!xe)throw f=b4(te),m="An edge must have a source node (edge id: '"+f,k=m+tv,T(new eh(k));if(Nt&&!sh(Pf(Nt),xe))throw h=bl(te,Eh),j="The source port of an edge must be a port of the edge's source node (edge id: '"+h,P=j+tv,T(new eh(P));if(jn=(!Kn.b&&(Kn.b=new Dn(he,Kn,4,7)),Kn.b),c=null,Nt?c=Nt:c=xe,ve(jn,c),Yu=u(Ng(n.g,Zp(dl(te,Lcn))),27),p=dl(te,"targetPort"),r=null,p&&(r=Zp(p)),Br=u(Ng(n.j,r),123),!Yu)throw d=b4(te),O="An edge must have a target node (edge id: '"+d,A=O+tv,T(new eh(A));if(Br&&!sh(Pf(Br),Yu))throw l=bl(te,Eh),D="The target port of an edge must be a port of the edge's target node (edge id: '"+l,_=D+tv,T(new eh(_));if(kn=(!Kn.c&&(Kn.c=new Dn(he,Kn,5,8)),Kn.c),s=null,Br?s=Br:s=Yu,ve(kn,s),(!Kn.b&&(Kn.b=new Dn(he,Kn,4,7)),Kn.b).i==0||(!Kn.c&&(Kn.c=new Dn(he,Kn,5,8)),Kn.c).i==0)throw a=bl(te,Eh),X=vWn+a,tn=X+tv,T(new eh(tn));return gS(te,Kn),ZMe(te,Kn),Fn=_$(n,te,Kn),Fn}function hzn(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt;for(p=u(v(n,(Y1(),y3)),27),A=et,D=et,P=Wi,O=Wi,X=new M(n.e);X.a<X.c.c.length;)_=u(E(X),153),Kn=_.d,te=_.e,A=y.Math.min(A,Kn.a-te.a/2),D=y.Math.min(D,Kn.b-te.b/2),P=y.Math.max(P,Kn.a+te.a/2),O=y.Math.max(O,Kn.b+te.b/2);for(t=new M(n.b);t.a<t.c.c.length;)e=u(E(t),250),Kn=e.d,te=e.e,A=y.Math.min(A,Kn.a-te.a/2),D=y.Math.min(D,Kn.b-te.b/2),P=y.Math.max(P,Kn.a+te.a/2),O=y.Math.max(O,Kn.b+te.b/2);for(Fn=u(z(p,(Us(),YYn)),107),kn=new V(Fn.b-A,Fn.d-D),l=new M(n.e);l.a<l.c.c.length;)h=u(E(l),153),jn=v(h,y3),L(jn,207)&&(k=u(jn,27),tn=it(new rr(h.d),kn),Bo(k,tn.a-k.g/2,tn.b-k.f/2));for(c=new M(n.c);c.a<c.c.c.length;)r=u(E(c),289),d=u(v(r,y3),74),g=Xg(d,!0,!0),xe=new rr(gQ(r)),it(xe,kn),j7(g,xe.a,xe.b),nu(r.a,new CMn(kn,g)),i=new rr(pQ(r)),it(i,kn),y7(g,i.a,i.b);for(f=new M(n.d);f.a<f.c.c.length;)s=u(E(f),453),m=u(v(s,y3),135),j=it(new rr(s.d),kn),Bo(m,j.a,j.b);Nt=P-A+(Fn.b+Fn.c),a=O-D+(Fn.d+Fn.a),on(un(z(p,(He(),V0))))||qb(p,Nt,a,!1,!0),ht(p,K2,Nt-(Fn.b+Fn.c)),ht(p,R2,a-(Fn.d+Fn.a))}function lzn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;return d=mIe(lu(n,(en(),Yf)),e),m=_g(lu(n,ef),e),D=_g(lu(n,Do),e),jn=hS(lu(n,Cs),e),g=hS(lu(n,os),e),O=_g(lu(n,tf),e),k=_g(lu(n,Wu),e),X=_g(lu(n,$o),e),_=_g(lu(n,ss),e),kn=hS(lu(n,su),e),P=_g(lu(n,mu),e),A=_g(lu(n,Ju),e),tn=_g(lu(n,pu),e),Fn=hS(lu(n,vu),e),p=hS(lu(n,xu),e),j=_g(lu(n,Uc),e),t=Lg(S(C(Ii,1),Cr,28,15,[O.a,jn.a,X.a,Fn.a])),i=Lg(S(C(Ii,1),Cr,28,15,[m.a,d.a,D.a,j.a])),r=P.a,c=Lg(S(C(Ii,1),Cr,28,15,[k.a,g.a,_.a,p.a])),l=Lg(S(C(Ii,1),Cr,28,15,[O.b,m.b,k.b,A.b])),h=Lg(S(C(Ii,1),Cr,28,15,[jn.b,d.b,g.b,j.b])),a=kn.b,f=Lg(S(C(Ii,1),Cr,28,15,[X.b,D.b,_.b,tn.b])),Zl(lu(n,Yf),t+r,l+a),Zl(lu(n,Uc),t+r,l+a),Zl(lu(n,ef),t+r,0),Zl(lu(n,Do),t+r,l+a+h),Zl(lu(n,Cs),0,l+a),Zl(lu(n,os),t+r+i,l+a),Zl(lu(n,Wu),t+r+i,0),Zl(lu(n,$o),0,l+a+h),Zl(lu(n,ss),t+r+i,l+a+h),Zl(lu(n,su),0,l),Zl(lu(n,mu),t,0),Zl(lu(n,pu),0,l+a+h),Zl(lu(n,xu),t+r+i,0),s=new Ni,s.a=Lg(S(C(Ii,1),Cr,28,15,[t+i+r+c,kn.a,A.a,tn.a])),s.b=Lg(S(C(Ii,1),Cr,28,15,[l+h+a+f,P.b,Fn.b,p.b])),s}function azn(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;for(O=new V(Pt,Pt),e=new V(li,li),jn=new M(n);jn.a<jn.c.c.length;)tn=u(E(jn),8),O.a=y.Math.min(O.a,tn.a),O.b=y.Math.min(O.b,tn.b),e.a=y.Math.max(e.a,tn.a),e.b=y.Math.max(e.b,tn.b);for(g=new V(e.a-O.a,e.b-O.b),l=new V(O.a-50,O.b-g.a-50),a=new V(O.a-50,e.b+g.a+50),d=new V(e.a+g.b/2+50,O.b+g.b/2),p=new Ken(l,a,d),X=new ni,c=new Z,t=new Z,X.a.zc(p,X),Fn=new M(n);Fn.a<Fn.c.c.length;){for(kn=u(E(Fn),8),c.c.length=0,_=X.a.ec().Kc();_.Ob();)A=u(_.Pb(),317),i=A.d,Q1(i,A.a),Db(Q1(A.d,kn),Q1(A.d,A.a))<0&&Bn(c.c,A);for(t.c.length=0,D=new M(c);D.a<D.c.c.length;)for(A=u(E(D),317),j=new M(A.e);j.a<j.c.c.length;){for(m=u(E(j),177),s=!0,h=new M(c);h.a<h.c.c.length;)f=u(E(h),317),f!=A&&(mc(m,sn(f.e,0))||mc(m,sn(f.e,1))||mc(m,sn(f.e,2)))&&(s=!1);s&&Bn(t.c,m)}for(FFn(X,c),qi(X,new Jbn),k=new M(t);k.a<k.c.c.length;)m=u(E(k),177),fi(X,new Ken(kn,m.a,m.b))}for(P=new ni,qi(X,new P9n(P)),r=P.a.ec().Kc();r.Ob();)m=u(r.Pb(),177),(tC(p,m.a)||tC(p,m.b))&&r.Qb();return qi(P,new Qbn),P}function Mc(){Mc=R,tEn(),Moe=Ci.a,u(N(H(Ci.a),0),19),joe=Ci.f,u(N(H(Ci.f),0),19),u(N(H(Ci.f),1),35),Eoe=Ci.n,u(N(H(Ci.n),0),35),u(N(H(Ci.n),1),35),u(N(H(Ci.n),2),35),u(N(H(Ci.n),3),35),Pdn=Ci.g,u(N(H(Ci.g),0),19),u(N(H(Ci.g),1),35),yoe=Ci.c,u(N(H(Ci.c),0),19),u(N(H(Ci.c),1),19),Idn=Ci.i,u(N(H(Ci.i),0),19),u(N(H(Ci.i),1),19),u(N(H(Ci.i),2),19),u(N(H(Ci.i),3),19),u(N(H(Ci.i),4),35),Odn=Ci.j,u(N(H(Ci.j),0),19),Sdn=Ci.d,u(N(H(Ci.d),0),19),u(N(H(Ci.d),1),19),u(N(H(Ci.d),2),19),u(N(H(Ci.d),3),19),u(N(H(Ci.d),4),35),u(N(H(Ci.d),5),35),u(N(H(Ci.d),6),35),u(N(H(Ci.d),7),35),koe=Ci.b,u(N(H(Ci.b),0),35),u(N(H(Ci.b),1),35),bA=Ci.e,u(N(H(Ci.e),0),35),u(N(H(Ci.e),1),35),u(N(H(Ci.e),2),35),u(N(H(Ci.e),3),35),u(N(H(Ci.e),4),19),u(N(H(Ci.e),5),19),u(N(H(Ci.e),6),19),u(N(H(Ci.e),7),19),u(N(H(Ci.e),8),19),u(N(H(Ci.e),9),19),u(N(H(Ci.e),10),35),il=Ci.k,u(N(H(Ci.k),0),35),u(N(H(Ci.k),1),35)}function ctn(n){var e,t,i,r,c;switch(e=n.c,e){case 11:return n.vm();case 12:return n.xm();case 14:return n.zm();case 15:return n.Cm();case 16:return n.Am();case 17:return n.Dm();case 21:return Ze(n),nt(),nt(),B9;case 10:switch(n.a){case 65:return n.hm();case 90:return n.mm();case 122:return n.tm();case 98:return n.nm();case 66:return n.im();case 60:return n.sm();case 62:return n.qm()}}switch(c=MNe(n),e=n.c,e){case 3:return n.Im(c);case 4:return n.Gm(c);case 5:return n.Hm(c);case 0:if(n.a==123&&n.d<n.j){if(r=n.d,i=0,t=-1,(e=Xi(n.i,r++))>=48&&e<=57){for(i=e-48;r<n.j&&(e=Xi(n.i,r++))>=48&&e<=57;)if(i=i*10+e-48,i<0)throw T(new Ne($e((Oe(),Kcn))))}else throw T(new Ne($e((Oe(),XWn))));if(t=i,e==44){if(r>=n.j)throw T(new Ne($e((Oe(),WWn))));if((e=Xi(n.i,r++))>=48&&e<=57){for(t=e-48;r<n.j&&(e=Xi(n.i,r++))>=48&&e<=57;)if(t=t*10+e-48,t<0)throw T(new Ne($e((Oe(),Kcn))));if(i>t)throw T(new Ne($e((Oe(),JWn))))}else t=-1}if(e!=125)throw T(new Ne($e((Oe(),VWn))));n.bm(r)?(c=(nt(),nt(),new Xw(9,c)),n.d=r+1):(c=(nt(),nt(),new Xw(3,c)),n.d=r),c.Om(i),c.Nm(t),Ze(n)}}return c}function INe(n){var e,t,i,r,c;switch(t=u(v(n,(W(),Hc)),21),e=AM(mZn),r=u(v(n,(cn(),K0)),346),r==(jl(),T1)&&To(e,vZn),on(un(v(n,TH)))?Fe(e,(Vi(),Vs),(tr(),D_)):Fe(e,(Vi(),Ac),(tr(),D_)),v(n,(JT(),d9))!=null&&To(e,kZn),(on(un(v(n,Yfn)))||on(un(v(n,Vfn))))&&Iu(e,(Vi(),zr),(tr(),Xon)),u(v(n,Lo),88).g){case 2:case 3:case 4:Iu(Fe(e,(Vi(),Vs),(tr(),Won)),zr,Von)}switch(t.Hc((pr(),ZI))&&Iu(Fe(Fe(e,(Vi(),Vs),(tr(),zon)),Fc,Uon),zr,Gon),x(v(n,Ea))!==x((ps(),SO))&&Fe(e,(Vi(),Ac),(tr(),hsn)),t.Hc(eO)&&(Fe(e,(Vi(),Vs),(tr(),bsn)),Fe(e,Jh,asn),Fe(e,Ac,dsn)),x(v(n,fO))!==x((y4(),D8))&&x(v(n,$l))!==x((El(),Qj))&&Iu(e,(Vi(),zr),(tr(),rsn)),on(un(v(n,Jfn)))&&Fe(e,(Vi(),Ac),(tr(),isn)),on(un(v(n,yH)))&&Fe(e,(Vi(),Ac),(tr(),wsn)),HTe(n)&&(x(v(n,K0))===x(T1)?i=u(v(n,Ej),298):i=u(v(n,kH),298),c=i==(Ym(),cH)?(tr(),lsn):(tr(),msn),Fe(e,(Vi(),Fc),c)),u(v(n,Mhn),388).g){case 1:Fe(e,(Vi(),Fc),(tr(),gsn));break;case 2:Iu(Fe(Fe(e,(Vi(),Ac),(tr(),Fon)),Fc,_on),zr,Hon)}return x(v(n,Yh))!==x((lh(),k1))&&Fe(e,(Vi(),Ac),(tr(),psn)),e}function dzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A;if(Zc(n.a,e)){if(sf(u(ee(n.a,e),49),t))return 1}else Ve(n.a,e,new ni);if(Zc(n.a,t)){if(sf(u(ee(n.a,t),49),e))return-1}else Ve(n.a,t,new ni);if(Zc(n.e,e)){if(sf(u(ee(n.e,e),49),t))return-1}else Ve(n.e,e,new ni);if(Zc(n.e,t)){if(sf(u(ee(n.a,t),49),e))return 1}else Ve(n.e,t,new ni);if(n.c==(lh(),_H)||!kt(e,(W(),dt))||!kt(t,(W(),dt))){for(d=null,l=new M(e.j);l.a<l.c.c.length;)f=u(E(l),12),f.e.c.length==0||u(sn(f.e,0),18).c.i.c!=e.c&&(d=u(sn(f.e,0),18).c);for(p=null,h=new M(t.j);h.a<h.c.c.length;)f=u(E(h),12),f.e.c.length==0||u(sn(f.e,0),18).c.i.c!=t.c&&(p=u(sn(f.e,0),18).c);if(d&&p){if(a=d.i,g=p.i,a&&a==g){for(k=new M(a.j);k.a<k.c.c.length;){if(m=u(E(k),12),m==d)return P4(n,t,e),-1;if(m==p)return P4(n,e,t),1}return jc(Vx(n,e),Vx(n,t))}for(P=n.d,O=0,A=P.length;O<A;++O){if(j=P[O],j==a)return P4(n,t,e),-1;if(j==g)return P4(n,e,t),1}}if(!kt(e,(W(),dt))||!kt(t,dt))return r=Vx(n,e),s=Vx(n,t),r>s?P4(n,e,t):P4(n,t,e),r<s?-1:r>s?1:0}return i=u(v(e,(W(),dt)),17).a,c=u(v(t,dt),17).a,i>c?P4(n,e,t):P4(n,t,e),i<c?-1:i>c?1:0}function Ub(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(t==null)return null;if(n.a!=e.jk())throw T(new Gn(nv+e.xe()+Yb));if(L(e,468)){if(j=kSe(u(e,685),t),!j)throw T(new Gn(fF+t+"' is not a valid enumerator of '"+e.xe()+"'"));return j}switch(r1((Lu(),zi),e).Nl()){case 2:{t=Rc(t,!1);break}case 3:{t=Rc(t,!0);break}}if(i=r1(zi,e).Jl(),i)return i.jk().wi().ti(i,t);if(g=r1(zi,e).Ll(),g){for(j=new Z,l=z$(t),a=0,d=l.length;a<d;++a)h=l[a],nn(j,g.jk().wi().ti(g,h));return j}if(k=r1(zi,e).Ml(),!k.dc()){for(m=k.Kc();m.Ob();){p=u(m.Pb(),156);try{if(j=p.jk().wi().ti(p,t),j!=null)return j}catch(P){if(P=Ot(P),!L(P,63))throw T(P)}}throw T(new Gn(fF+t+"' does not match any member types of the union datatype '"+e.xe()+"'"))}if(u(e,847).ok(),r=R6e(e.kk()),!r)return null;if(r==T8){s=0;try{s=So(t,Wi,et)&ui}catch(P){if(P=Ot(P),L(P,130))c=iC(t),s=c[0];else throw T(P)}return mk(s)}if(r==oI){for(f=0;f<O9.length;++f)try{return bMn(O9[f],t)}catch(P){if(P=Ot(P),!L(P,33))throw T(P)}throw T(new Gn(fF+t+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw T(new Gn(fF+t+"' is invalid. "))}function YR(){YR=R,wt=new jb,In(wt,(en(),Yf),Uc),In(wt,Cs,Uc),In(wt,Cs,vu),In(wt,os,xu),In(wt,os,Uc),In(wt,ef,Uc),In(wt,ef,Ju),In(wt,Do,pu),In(wt,Do,Uc),In(wt,mu,su),In(wt,mu,Uc),In(wt,mu,Ju),In(wt,mu,pu),In(wt,su,mu),In(wt,su,vu),In(wt,su,xu),In(wt,su,Uc),In(wt,tf,tf),In(wt,tf,Ju),In(wt,tf,vu),In(wt,Wu,Wu),In(wt,Wu,Ju),In(wt,Wu,xu),In(wt,$o,$o),In(wt,$o,pu),In(wt,$o,vu),In(wt,ss,ss),In(wt,ss,pu),In(wt,ss,xu),In(wt,Ju,ef),In(wt,Ju,mu),In(wt,Ju,tf),In(wt,Ju,Wu),In(wt,Ju,Uc),In(wt,Ju,Ju),In(wt,Ju,vu),In(wt,Ju,xu),In(wt,pu,Do),In(wt,pu,mu),In(wt,pu,$o),In(wt,pu,ss),In(wt,pu,pu),In(wt,pu,vu),In(wt,pu,xu),In(wt,pu,Uc),In(wt,vu,Cs),In(wt,vu,su),In(wt,vu,tf),In(wt,vu,$o),In(wt,vu,Ju),In(wt,vu,pu),In(wt,vu,vu),In(wt,vu,Uc),In(wt,xu,os),In(wt,xu,su),In(wt,xu,Wu),In(wt,xu,ss),In(wt,xu,Ju),In(wt,xu,pu),In(wt,xu,xu),In(wt,xu,Uc),In(wt,Uc,Yf),In(wt,Uc,Cs),In(wt,Uc,os),In(wt,Uc,ef),In(wt,Uc,Do),In(wt,Uc,mu),In(wt,Uc,su),In(wt,Uc,Ju),In(wt,Uc,pu),In(wt,Uc,vu),In(wt,Uc,xu),In(wt,Uc,Uc)}function utn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn;for(n.d=new V(Pt,Pt),n.c=new V(li,li),g=e.Kc();g.Ob();)for(a=u(g.Pb(),36),A=new M(a.a);A.a<A.c.c.length;)O=u(E(A),10),n.d.a=y.Math.min(n.d.a,O.n.a-O.d.b),n.d.b=y.Math.min(n.d.b,O.n.b-O.d.d),n.c.a=y.Math.max(n.c.a,O.n.a+O.o.a+O.d.c),n.c.b=y.Math.max(n.c.b,O.n.b+O.o.b+O.d.a);for(f=new Byn,d=e.Kc();d.Ob();)a=u(d.Pb(),36),i=lNe(n,a),nn(f.a,i),i.a=i.a|!u(v(i.c,(W(),Dl)),21).dc();for(n.b=(Y$(),jn=new Wwn,jn.f=new txn(t),jn.b=mAe(jn.f,f),jn),OAe((m=n.b,new op,m)),n.e=new Ni,n.a=n.b.f.e,s=new M(f.a);s.a<s.c.c.length;)for(r=u(E(s),855),D=l2e(n.b,r),uPe(r.c,D.a,D.b),j=new M(r.c.a);j.a<j.c.c.length;)k=u(E(j),10),k.k==(Vn(),Zt)&&(P=Ynn(n,k.n,u(v(k,(W(),gc)),64)),it(ff(k.n),P));for(c=new M(f.a);c.a<c.c.c.length;)for(r=u(E(c),855),l=new M(P5e(r));l.a<l.c.c.length;)for(h=u(E(l),18),tn=new UE(h.a),wm(tn,0,Of(h.c)),Re(tn,Of(h.d)),p=null,X=ge(tn,0);X.b!=X.d.c;){if(_=u(be(X),8),!p){p=_;continue}sQ(p.a,_.a)?(n.e.a=y.Math.min(n.e.a,p.a),n.a.a=y.Math.max(n.a.a,p.a)):sQ(p.b,_.b)&&(n.e.b=y.Math.min(n.e.b,p.b),n.a.b=y.Math.max(n.a.b,p.b)),p=_}_M(n.e),it(n.a,n.e)}function ONe(n,e){var t,i,r,c,s,f,h,l;if(t=0,s=0,c=e.length,f=null,l=new fg,s<c&&(zn(s,e.length),e.charCodeAt(s)==43)&&(++s,++t,s<c&&(zn(s,e.length),e.charCodeAt(s)==43||(zn(s,e.length),e.charCodeAt(s)==45))))throw T(new th(zb+e+'"'));for(;s<c&&(zn(s,e.length),e.charCodeAt(s)!=46)&&(zn(s,e.length),e.charCodeAt(s)!=101)&&(zn(s,e.length),e.charCodeAt(s)!=69);)++s;if(l.a+=""+qo(e==null?gu:(Jn(e),e),t,s),s<c&&(zn(s,e.length),e.charCodeAt(s)==46)){for(++s,t=s;s<c&&(zn(s,e.length),e.charCodeAt(s)!=101)&&(zn(s,e.length),e.charCodeAt(s)!=69);)++s;n.e=s-t,l.a+=""+qo(e==null?gu:(Jn(e),e),t,s)}else n.e=0;if(s<c&&(zn(s,e.length),e.charCodeAt(s)==101||(zn(s,e.length),e.charCodeAt(s)==69))&&(++s,t=s,s<c&&(zn(s,e.length),e.charCodeAt(s)==43)&&(++s,s<c&&(zn(s,e.length),e.charCodeAt(s)!=45)&&++t),f=(Ri(t,c,e.length),e.substr(t,c-t)),n.e=n.e-So(f,Wi,et),n.e!=wi(n.e)))throw T(new th("Scale out of range."));if(h=l.a,h.length<16){if(n.f=(Cun==null&&(Cun=new RegExp("^[+-]?\\d*$","i")),Cun.test(h)?parseInt(h,10):NaN),isNaN(n.f))throw T(new th(zb+e+'"'));n.a=Snn(n.f)}else a5e(n,new q1(h));for(n.d=l.a.length,r=0;r<l.a.length&&(i=Xi(l.a,r),!(i!=45&&i!=48));++r)--n.d;n.d==0&&(n.d=1)}function ANe(n){Te(n.b,ks,S(C(fn,1),J,2,6,[Zb,"ConsistentTransient"])),Te(n.a,ks,S(C(fn,1),J,2,6,[Zb,"WellFormedSourceURI"])),Te(n.o,ks,S(C(fn,1),J,2,6,[Zb,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),Te(n.p,ks,S(C(fn,1),J,2,6,[Zb,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),Te(n.v,ks,S(C(fn,1),J,2,6,[Zb,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),Te(n.R,ks,S(C(fn,1),J,2,6,[Zb,"WellFormedName"])),Te(n.T,ks,S(C(fn,1),J,2,6,[Zb,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),Te(n.U,ks,S(C(fn,1),J,2,6,[Zb,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),Te(n.W,ks,S(C(fn,1),J,2,6,[Zb,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),Te(n.bb,ks,S(C(fn,1),J,2,6,[Zb,"ValidDefaultValueLiteral"])),Te(n.eb,ks,S(C(fn,1),J,2,6,[Zb,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),Te(n.H,ks,S(C(fn,1),J,2,6,[Zb,"ConsistentType ConsistentBounds ConsistentArguments"]))}function LNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn;if(!e.dc()){if(r=new Tu,f=t||u(e.Xb(0),18),m=f.c,x5(),g=m.i.k,!(g==(Vn(),Xt)||g==_c||g==Zt||g==Gf))throw T(new Gn("The target node of the edge must be a normal node or a northSouthPort."));for(ir(r,cc(S(C(Ei,1),J,8,0,[m.i.n,m.n,m.a]))),(en(),mu).Hc(m.j)&&(j=$(B(v(m,(W(),yv)))),d=new V(cc(S(C(Ei,1),J,8,0,[m.i.n,m.n,m.a])).a,j),xt(r,d,r.c.b,r.c)),a=null,i=!1,h=e.Kc();h.Ob();)s=u(h.Pb(),18),c=s.a,c.b!=0&&(i?(l=ch(it(a,(oe(c.b!=0),u(c.a.a.c,8))),.5),xt(r,l,r.c.b,r.c),i=!1):i=!0,a=Fi((oe(c.b!=0),u(c.c.b.c,8))),Ki(r,c),vo(c));k=f.d,mu.Hc(k.j)&&(j=$(B(v(k,(W(),yv)))),d=new V(cc(S(C(Ei,1),J,8,0,[k.i.n,k.n,k.a])).a,j),xt(r,d,r.c.b,r.c)),ir(r,cc(S(C(Ei,1),J,8,0,[k.i.n,k.n,k.a]))),n.d==(u4(),VH)&&(P=(oe(r.b!=0),u(r.a.a.c,8)),O=u(Zo(r,1),8),A=new KD(cY(m.j)),A.a*=5,A.b*=5,D=mi(new V(O.a,O.b),P),_=new V(ND(A.a,D.a),ND(A.b,D.b)),it(_,P),X=ge(r,1),_7(X,_),tn=(oe(r.b!=0),u(r.c.b.c,8)),jn=u(Zo(r,r.b-2),8),A=new KD(cY(k.j)),A.a*=5,A.b*=5,D=mi(new V(jn.a,jn.b),tn),kn=new V(ND(A.a,D.a),ND(A.b,D.b)),it(kn,tn),wm(r,r.b-1,kn)),p=new Ben(r),Ki(f.a,PBn(p))}}function NNe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt,Yu,Br,Ro,W2,L1,rf,cf;if(A=u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84),_=A.nh(),X=A.oh(),D=A.mh()/2,k=A.lh()/2,L(A,193)&&(O=u(A,123),_+=Pf(O).i,_+=Pf(O).i),_+=D,X+=k,Kn=u(N((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84),xe=Kn.nh(),Nt=Kn.oh(),te=Kn.mh()/2,tn=Kn.lh()/2,L(Kn,193)&&(Fn=u(Kn,123),xe+=Pf(Fn).i,xe+=Pf(Fn).i),xe+=te,Nt+=tn,(!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i==0)f=(B1(),l=new yE,l),ve((!n.a&&(n.a=new q(Tt,n,6,6)),n.a),f);else if((!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i>1)for(m=new kp((!n.a&&(n.a=new q(Tt,n,6,6)),n.a));m.e!=m.i.gc();)I5(m);for(s=u(N((!n.a&&(n.a=new q(Tt,n,6,6)),n.a),0),166),j=xe,xe>_+D?j=_+D:xe<_-D&&(j=_-D),P=Nt,Nt>X+k?P=X+k:Nt<X-k&&(P=X-k),j>_-D&&j<_+D&&P>X-k&&P<X+k&&(j=_+D),_m(s,j),qm(s,P),jn=_,_>xe+te?jn=xe+te:_<xe-te&&(jn=xe-te),kn=X,X>Nt+tn?kn=Nt+tn:X<Nt-tn&&(kn=Nt-tn),jn>xe-te&&jn<xe+te&&kn>Nt-tn&&kn<Nt+tn&&(kn=Nt+tn),Fm(s,jn),Hm(s,kn),me((!s.a&&(s.a=new ti(xo,s,5)),s.a)),c=cS(e,5),A==Kn&&++c,Ro=jn-j,rf=kn-P,Yu=y.Math.sqrt(Ro*Ro+rf*rf),d=Yu*.20000000298023224,W2=Ro/(c+1),cf=rf/(c+1),Br=j,L1=P,a=0;a<c;a++)Br+=W2,L1+=cf,g=Br+to(e,24)*Iy*d-d/2,g<0?g=1:g>t&&(g=t-1),p=L1+to(e,24)*Iy*d-d/2,p<0?p=1:p>i&&(p=i-1),r=(B1(),h=new kE,h),aC(r,g),lC(r,p),ve((!s.a&&(s.a=new ti(xo,s,5)),s.a),r)}function bzn(n){ib(n,new gd(nb(Qd(Zd(Yd(new Fa,co),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new i4n))),Q(n,co,l3,1.3),Q(n,co,G4,(_n(),!1)),Q(n,co,Xb,v1n),Q(n,co,y0,15),Q(n,co,TP,rn(Ace)),Q(n,co,r2,rn(Dce)),Q(n,co,d3,rn(xce)),Q(n,co,a3,rn(Rce)),Q(n,co,z4,rn(Nce)),Q(n,co,t8,rn(g1n)),Q(n,co,X4,rn(Kce)),Q(n,co,Yrn,rn(E1n)),Q(n,co,Zrn,rn(j1n)),Q(n,co,Qrn,rn(Lq)),Q(n,co,Jrn,rn(M1n)),Q(n,co,ncn,rn(m1n)),Q(n,co,ecn,rn(Aq)),Q(n,co,tcn,rn(p1n)),Q(n,co,icn,rn(y1n)),Q(n,co,e8,rn(w1n)),Q(n,co,SP,rn(Lce)),Q(n,co,Vrn,rn(Kj)),Q(n,co,Xrn,rn(b1n)),Q(n,co,Wrn,rn(Bj)),Q(n,co,zrn,rn(k1n))}function ZR(n,e){KR();var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe;if(jn=n.e,m=n.d,r=n.a,jn==0)switch(e){case 0:return"0";case 1:return B4;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 X=new R1,e<0?X.a+="0E+":X.a+="0E",X.a+=-e,X.a}if(A=m*10+1+7,D=F(fs,gh,28,A+1,15,1),t=A,m==1)if(f=r[0],f<0){xe=vi(f,mr);do k=xe,xe=zk(xe,10),D[--t]=48+Se(bs(k,er(xe,10)))&ui;while(Ec(xe,0)!=0)}else{xe=f;do k=xe,xe=xe/10|0,D[--t]=48+(k-xe*10)&ui;while(xe!=0)}else{Fn=F(ye,_e,28,m,15,1),te=m,Oc(r,0,Fn,0,te);n:for(;;){for(tn=0,l=te-1;l>=0;l--)Kn=nr(Ks(tn,32),vi(Fn[l],mr)),P=mye(Kn),Fn[l]=Se(P),tn=Se(db(P,32));O=Se(tn),j=t;do D[--t]=48+O%10&ui;while((O=O/10|0)!=0&&t!=0);for(i=9-j+t,h=0;h<i&&t>0;h++)D[--t]=48;for(d=te-1;Fn[d]==0;d--)if(d==0)break n;te=d+1}for(;D[t]==48;)++t}if(p=jn<0,s=A-t-e-1,e==0)return p&&(D[--t]=45),ws(D,t,A-t);if(e>0&&s>=-6){if(s>=0){for(a=t+s,g=A-1;g>=a;g--)D[g+1]=D[g];return D[++a]=46,p&&(D[--t]=45),ws(D,t,A-t+1)}for(d=2;d<-s+1;d++)D[--t]=48;return D[--t]=46,D[--t]=48,p&&(D[--t]=45),ws(D,t,A-t)}return kn=t+1,c=A,_=new fg,p&&(_.a+="-"),c-kn>=1?(X1(_,D[t]),_.a+=".",_.a+=ws(D,t+1,A-t-1)):_.a+=ws(D,t,A-t),_.a+="E",s>0&&(_.a+="+"),_.a+=""+s,_.a}function wzn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;switch(n.c=e,n.g=new de,t=(Aw(),new Pw(n.c)),i=new IE(t),FY(i),A=Ae(z(n.c,(Vk(),q1n))),h=u(z(n.c,Hq),324),_=u(z(n.c,qq),437),s=u(z(n.c,F1n),489),D=u(z(n.c,_q),438),n.j=$(B(z(n.c,Yce))),f=n.a,h.g){case 0:f=n.a;break;case 1:f=n.b;break;case 2:f=n.i;break;case 3:f=n.e;break;case 4:f=n.f;break;default:throw T(new Gn(xP+(h.f!=null?h.f:""+h.g)))}if(n.d=new oAn(f,_,s),U(n.d,(Wm(),I8),un(z(n.c,Jce))),n.d.c=on(un(z(n.c,_1n))),CT(n.c).i==0)return n.d;for(d=new ne(CT(n.c));d.e!=d.i.gc();){for(a=u(ue(d),27),p=a.g/2,g=a.f/2,X=new V(a.i+p,a.j+g);Zc(n.g,X);)hb(X,(y.Math.random()-.5)*vh,(y.Math.random()-.5)*vh);k=u(z(a,(He(),$v)),140),j=new yAn(X,new Ho(X.a-p-n.j/2-k.b,X.b-g-n.j/2-k.d,a.g+n.j+(k.b+k.c),a.f+n.j+(k.d+k.a))),nn(n.d.i,j),Ve(n.g,X,new bi(j,a))}switch(D.g){case 0:if(A==null)n.d.d=u(sn(n.d.i,0),68);else for(O=new M(n.d.i);O.a<O.c.c.length;)j=u(E(O),68),m=u(u(ee(n.g,j.a),42).b,27).jh(),m!=null&&Sn(m,A)&&(n.d.d=j);break;case 1:for(r=new V(n.c.g,n.c.f),r.a*=.5,r.b*=.5,hb(r,n.c.i,n.c.j),c=Pt,P=new M(n.d.i);P.a<P.c.c.length;)j=u(E(P),68),l=Q1(j.a,r),l<c&&(c=l,n.d.d=j);break;default:throw T(new Gn(xP+(D.f!=null?D.f:""+D.g)))}return n.d}function DNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(g=0,r=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));r.e!=r.i.gc();)i=u(ue(r),27),on(un(z(i,(cn(),Rd))))||(a=St(i),(x(z(a,Yh))!==x((lh(),k1))||x(z(a,Nd))===x((o1(),gv))||x(z(a,Nd))===x((o1(),wv))||on(un(z(a,fw)))||x(z(a,R0))!==x((dd(),A0))||x(z(a,Ea))===x((ps(),ww))||x(z(a,Ea))===x((ps(),U0))||x(z(a,$d))===x((a1(),Pv))||x(z(a,$d))===x((a1(),Iv)))&&!on(un(z(i,lO)))&&(ht(i,(W(),dt),Y(g)),++g),szn(n,i,t));for(g=0,l=new ne((!e.b&&(e.b=new q(Vt,e,12,3)),e.b));l.e!=l.i.gc();)f=u(ue(l),74),(x(z(e,(cn(),Yh)))!==x((lh(),k1))||x(z(e,Nd))===x((o1(),gv))||x(z(e,Nd))===x((o1(),wv))||on(un(z(e,fw)))||x(z(e,R0))!==x((dd(),A0))||x(z(e,Ea))===x((ps(),ww))||x(z(e,Ea))===x((ps(),U0))||x(z(e,$d))===x((a1(),Pv))||x(z(e,$d))===x((a1(),Iv)))&&(ht(f,(W(),dt),Y(g)),++g),k=Fh(f),j=ca(f),d=on(un(z(k,B0))),m=!on(un(z(f,Rd))),p=d&&Bb(f)&&on(un(z(f,Dd))),c=St(k)==e&&St(k)==St(j),s=(St(k)==e&&j==e)^(St(j)==e&&k==e),m&&!p&&(s||c)&&otn(n,f,e,t);if(St(e))for(h=new ne(DOn(St(e)));h.e!=h.i.gc();)f=u(ue(h),74),k=Fh(f),k==e&&Bb(f)&&(p=on(un(z(k,(cn(),B0))))&&on(un(z(f,Dd))),p&&otn(n,f,e,t))}function $Ne(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt,Yu,Br,Ro;for(t.Ug("Greedy cycle removal",1),A=e.a,Ro=A.c.length,n.a=F(ye,_e,28,Ro,15,1),n.c=F(ye,_e,28,Ro,15,1),n.b=F(ye,_e,28,Ro,15,1),l=0,P=new M(A);P.a<P.c.c.length;){for(k=u(E(P),10),k.p=l,kn=new M(k.j);kn.a<kn.c.c.length;){for(X=u(E(kn),12),f=new M(X.e);f.a<f.c.c.length;)i=u(E(f),18),i.c.i!=k&&(te=u(v(i,(cn(),Tv)),17).a,n.a[l]+=te>0?te+1:1);for(s=new M(X.g);s.a<s.c.c.length;)i=u(E(s),18),i.d.i!=k&&(te=u(v(i,(cn(),Tv)),17).a,n.c[l]+=te>0?te+1:1)}n.c[l]==0?Re(n.e,k):n.a[l]==0&&Re(n.f,k),++l}for(m=-1,p=1,d=new Z,n.d=u(v(e,(W(),P3)),234);Ro>0;){for(;n.e.b!=0;)Nt=u(UN(n.e),10),n.b[Nt.p]=m--,Pen(n,Nt),--Ro;for(;n.f.b!=0;)Yu=u(UN(n.f),10),n.b[Yu.p]=p++,Pen(n,Yu),--Ro;if(Ro>0){for(g=Wi,O=new M(A);O.a<O.c.c.length;)k=u(E(O),10),n.b[k.p]==0&&(D=n.c[k.p]-n.a[k.p],D>=g&&(D>g&&(d.c.length=0,g=D),Bn(d.c,k)));a=n.sg(d),n.b[a.p]=p++,Pen(n,a),--Ro}}for(xe=A.c.length+1,l=0;l<A.c.length;l++)n.b[l]<0&&(n.b[l]+=xe);for(j=new M(A);j.a<j.c.c.length;)for(k=u(E(j),10),Kn=ELn(k.j),tn=Kn,jn=0,Fn=tn.length;jn<Fn;++jn)for(X=tn[jn],_=hh(X.g),r=_,c=0,h=r.length;c<h;++c)i=r[c],Br=i.d.i.p,n.b[k.p]>n.b[Br]&&(Hb(i,!0),U(e,vj,(_n(),!0)));n.a=null,n.c=null,n.b=null,vo(n.f),vo(n.e),t.Vg()}function gzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;for(_=u(N((!n.a&&(n.a=new q(Tt,n,6,6)),n.a),0),166),a=new Tu,D=new de,X=TUn(_),Vc(D.f,_,X),g=new de,i=new Mt,m=$h(Eo(S(C(Ao,1),Rn,20,0,[(!e.d&&(e.d=new Dn(Vt,e,8,5)),e.d),(!e.e&&(e.e=new Dn(Vt,e,7,4)),e.e)])));pe(m);){if(p=u(fe(m),74),(!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i!=1)throw T(new Gn(tWn+(!n.a&&(n.a=new q(Tt,n,6,6)),n.a).i));p!=n&&(j=u(N((!p.a&&(p.a=new q(Tt,p,6,6)),p.a),0),166),xt(i,j,i.c.b,i.c),k=u(Fr(wr(D.f,j)),13),k||(k=TUn(j),Vc(D.f,j,k)),d=t?mi(new rr(u(sn(X,X.c.length-1),8)),u(sn(k,k.c.length-1),8)):mi(new rr((Nn(0,X.c.length),u(X.c[0],8))),(Nn(0,k.c.length),u(k.c[0],8))),Vc(g.f,j,d))}if(i.b!=0)for(P=u(sn(X,t?X.c.length-1:0),8),l=1;l<X.c.length;l++){for(O=u(sn(X,t?X.c.length-1-l:l),8),r=ge(i,0);r.b!=r.d.c;)j=u(be(r),166),k=u(Fr(wr(D.f,j)),13),k.c.length<=l?p$(r):(A=it(new rr(u(sn(k,t?k.c.length-1-l:l),8)),u(Fr(wr(g.f,j)),8)),(O.a!=A.a||O.b!=A.b)&&(c=O.a-P.a,f=O.b-P.b,s=A.a-P.a,h=A.b-P.b,s*f==h*c&&(c==0||isNaN(c)?c:c<0?-1:1)==(s==0||isNaN(s)?s:s<0?-1:1)&&(f==0||isNaN(f)?f:f<0?-1:1)==(h==0||isNaN(h)?h:h<0?-1:1)?(y.Math.abs(c)<y.Math.abs(s)||y.Math.abs(f)<y.Math.abs(h))&&xt(a,O,a.c.b,a.c):l>1&&xt(a,P,a.c.b,a.c),p$(r)));P=O}return a}function pzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;for(t.Ug(pVn,1),Fn=u(Wr(ut(new Cn(null,new On(e,16)),new Lmn),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),a=u(Wr(ut(new Cn(null,new On(e,16)),new vkn(e)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),15),m=u(Wr(ut(new Cn(null,new On(e,16)),new mkn(e)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),15),k=F(DO,AP,39,e.gc(),0,1),s=0;s<a.gc();s++)r=u(a.Xb(s),39),kn=u(v(r,(lc(),A2)),17).a,kn>=0&&kn<a.gc()&&!k[kn]&&(k[kn]=r,a.gd(s),--s);for(f=0;f<a.gc();f++)for(r=u(a.Xb(f),39),kn=u(v(r,(lc(),A2)),17).a,g=0;;g++){if(p=kn+g,p<k.length&&p>=0&&!k[p]){k[p]=r,a.gd(f),--f;break}if(p=kn-g,p<k.length&&p>=0&&!k[p]){k[p]=r,a.gd(f),--f;break}}for(m.jd(new Nmn),h=k.length-1;h>=0;h--)!k[h]&&!m.dc()&&(k[h]=u(m.Xb(0),39),m.gd(0));for(l=0;l<k.length;l++)!k[l]&&!Fn.dc()&&(k[l]=u(Fn.Xb(0),39),Fn.gd(0));for(c=0;c<k.length;c++)U(k[c],(pt(),c9),Y(c));for(d=u(E8e(ut(new Cn(null,new On(e,16)),new Dmn)),534),X=d,tn=0,jn=X.length;tn<jn;++tn){for(_=X[tn],i=R$(_),pzn(n,i,t.eh(1/d.length|0)),Ln(),ud(i,new tL((pt(),c9))),j=new Mt,D=ge(i,0);D.b!=D.d.c;)for(A=u(be(D),39),O=ge(_.d,0);O.b!=O.d.c;)P=u(be(O),65),P.c==A&&xt(j,P,j.c.b,j.c);vo(_.d),Ki(_.d,j)}t.Vg()}function mzn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;for(i=new Z,f=new Z,j=e/2,p=n.gc(),r=u(n.Xb(0),8),P=u(n.Xb(1),8),m=wR(r.a,r.b,P.a,P.b,j),nn(i,(Nn(0,m.c.length),u(m.c[0],8))),nn(f,(Nn(1,m.c.length),u(m.c[1],8))),l=2;l<p;l++)k=r,r=P,P=u(n.Xb(l),8),m=wR(r.a,r.b,k.a,k.b,j),nn(i,(Nn(1,m.c.length),u(m.c[1],8))),nn(f,(Nn(0,m.c.length),u(m.c[0],8))),m=wR(r.a,r.b,P.a,P.b,j),nn(i,(Nn(0,m.c.length),u(m.c[0],8))),nn(f,(Nn(1,m.c.length),u(m.c[1],8)));for(m=wR(P.a,P.b,r.a,r.b,j),nn(i,(Nn(1,m.c.length),u(m.c[1],8))),nn(f,(Nn(0,m.c.length),u(m.c[0],8))),t=new Tu,s=new Z,Re(t,(Nn(0,i.c.length),u(i.c[0],8))),a=1;a<i.c.length-2;a+=2)c=(Nn(a,i.c.length),u(i.c[a],8)),g=j_n((Nn(a-1,i.c.length),u(i.c[a-1],8)),c,(Nn(a+1,i.c.length),u(i.c[a+1],8)),(Nn(a+2,i.c.length),u(i.c[a+2],8))),!isFinite(g.a)||!isFinite(g.b)?xt(t,c,t.c.b,t.c):xt(t,g,t.c.b,t.c);for(Re(t,u(sn(i,i.c.length-1),8)),nn(s,(Nn(0,f.c.length),u(f.c[0],8))),d=1;d<f.c.length-2;d+=2)c=(Nn(d,f.c.length),u(f.c[d],8)),g=j_n((Nn(d-1,f.c.length),u(f.c[d-1],8)),c,(Nn(d+1,f.c.length),u(f.c[d+1],8)),(Nn(d+2,f.c.length),u(f.c[d+2],8))),!isFinite(g.a)||!isFinite(g.b)?Bn(s.c,c):Bn(s.c,g);for(nn(s,u(sn(f,f.c.length-1),8)),h=s.c.length-1;h>=0;h--)Re(t,(Nn(h,s.c.length),u(s.c[h],8)));return t}function vzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;for(A=$(B(z(e,(_h(),X0)))),p=$(B(z(e,s9))),g=$(B(z(e,UO))),LQ((!e.a&&(e.a=new q(Ye,e,10,11)),e.a)),P=fGn((!e.a&&(e.a=new q(Ye,e,10,11)),e.a),A,n.b),j=0;j<P.c.length;j++)if(h=(Nn(j,P.c.length),u(P.c[j],186)),j!=0&&(m=(Nn(j-1,P.c.length),u(P.c[j-1],186)),FRn(h,m.f+m.b+n.b)),k=KNe(j,P,A,n.b,on(un(z(e,(Bf(),Aq))))),on(un(k.b))){for(c=new M(h.a);c.a<c.c.c.length;)r=u(E(c),172),r.c=!1,r.k=!1,ZUn(r);h.d=new Z,h.e=A,--j}else if(eke(n,h),j+1<P.c.length&&(n.e=y.Math.max(h.e+n.b+u(sn((Nn(j+1,P.c.length),u(P.c[j+1],186)).a,0),172).r-A,n.c),n.f=y.Math.min(h.e+n.b+u(sn((Nn(j+1,P.c.length),u(P.c[j+1],186)).a,0),172).r-A,n.d),h.d.c.length!=0&&(n.c=y.Math.max(n.c,u(sn(h.d,h.d.c.length-1),315).d+(h.d.c.length<=1?0:n.b)),n.d=y.Math.min(n.c,u(sn(h.d,h.d.c.length-1),315).d+(h.d.c.length<=1?0:n.b)))),P.c.length==1)for(d=u(sn(h.d,h.d.c.length-1),315),a=u(sn(d.a,d.a.c.length-1),172),f=new M(a.n);f.a<f.c.c.length;)s=u(E(f),209),n.c=y.Math.max(n.c,a.r-s.d),n.d=y.Math.min(n.d,a.r-s.d),n.e=y.Math.max(n.e,s.d+n.b),n.f=y.Math.min(n.f,s.d+n.b);return O=rFn(P,n.b),D=y.Math.max(O.a,p-(t.b+t.c)),l=y.Math.max(O.b,g-(t.d+t.a)),i=l-O.b,ht(e,u9,i),ht(e,GO,P),new eW(n.a,D,O.b+i,(D5(),Fj))}function xNe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te;if(tn=u(v(n,(cn(),_t)),101),tn!=(Ai(),Qf)&&tn!=Oa){for(m=n.b,p=m.c.length,a=new Gc((Mo(p+2,cK),oC(nr(nr(5,p+2),(p+2)/10|0)))),k=new Gc((Mo(p+2,cK),oC(nr(nr(5,p+2),(p+2)/10|0)))),nn(a,new de),nn(a,new de),nn(k,new Z),nn(k,new Z),X=new Z,e=0;e<p;e++)for(t=(Nn(e,m.c.length),u(m.c[e],30)),jn=(Nn(e,a.c.length),u(a.c[e],85)),j=new de,Bn(a.c,j),Fn=(Nn(e,k.c.length),u(k.c[e],15)),O=new Z,Bn(k.c,O),r=new M(t.a);r.a<r.c.c.length;){if(i=u(E(r),10),MY(i)){Bn(X.c,i);continue}for(l=new ie(ce(ji(i).a.Kc(),new En));pe(l);)f=u(fe(l),18),Kn=f.c.i,MY(Kn)&&(kn=u(jn.xc(v(Kn,(W(),st))),10),kn||(kn=B_n(n,Kn),jn.zc(v(Kn,st),kn),Fn.Fc(kn)),Zi(f,u(sn(kn.j,1),12)));for(h=new ie(ce(Qt(i).a.Kc(),new En));pe(h);)f=u(fe(h),18),te=f.d.i,MY(te)&&(P=u(ee(j,v(te,(W(),st))),10),P||(P=B_n(n,te),Ve(j,v(te,st),P),Bn(O.c,P)),Oi(f,u(sn(P.j,0),12)))}for(d=0;d<k.c.length;d++)if(A=(Nn(d,k.c.length),u(k.c[d],15)),!A.dc())for(g=null,d==0?(g=new Nc(n),zw(0,m.c.length),l6(m.c,0,g)):d==a.c.length-1?(g=new Nc(n),Bn(m.c,g)):g=(Nn(d-1,m.c.length),u(m.c[d-1],30)),s=A.Kc();s.Ob();)c=u(s.Pb(),10),$i(c,g);for(_=new M(X);_.a<_.c.c.length;)D=u(E(_),10),$i(D,null);U(n,(W(),fH),X)}}function RNe(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt,Yu,Br;for(Nt=new Z,m=new M(e.b);m.a<m.c.c.length;)for(g=u(E(m),30),_=new M(g.a);_.a<_.c.c.length;){for(D=u(E(_),10),D.p=-1,d=Wi,jn=Wi,Fn=new M(D.j);Fn.a<Fn.c.c.length;){for(kn=u(E(Fn),12),r=new M(kn.e);r.a<r.c.c.length;)t=u(E(r),18),Kn=u(v(t,(cn(),O3)),17).a,d=y.Math.max(d,Kn);for(i=new M(kn.g);i.a<i.c.c.length;)t=u(E(i),18),Kn=u(v(t,(cn(),O3)),17).a,jn=y.Math.max(jn,Kn)}U(D,AO,Y(d)),U(D,LO,Y(jn))}for(P=0,p=new M(e.b);p.a<p.c.c.length;)for(g=u(E(p),30),_=new M(g.a);_.a<_.c.c.length;)D=u(E(_),10),D.p<0&&(xe=new WG,xe.b=P++,Wqn(n,D,xe),Bn(Nt.c,xe));for(tn=Lh(Nt.c.length),a=Lh(Nt.c.length),s=0;s<Nt.c.length;s++)nn(tn,new Z),nn(a,Y(0));for(eLe(e,Nt,tn,a),Yu=u(Rf(Nt,F($ie,hVn,261,Nt.c.length,0,1)),854),X=u(Rf(tn,F(rs,k0,15,tn.c.length,0,1)),198),l=F(ye,_e,28,a.c.length,15,1),f=0;f<l.length;f++)l[f]=(Nn(f,a.c.length),u(a.c[f],17)).a;for(O=0,A=new Z,h=0;h<Yu.length;h++)l[h]==0&&Bn(A.c,Yu[h]);for(j=F(ye,_e,28,Yu.length,15,1);A.c.length!=0;)for(xe=u(Yl(A,0),261),j[xe.b]=O++;!X[xe.b].dc();)Br=u(X[xe.b].gd(0),261),--l[Br.b],l[Br.b]==0&&Bn(A.c,Br);for(n.a=F($ie,hVn,261,Yu.length,0,1),c=0;c<Yu.length;c++)for(k=Yu[c],te=j[c],n.a[te]=k,k.b=te,_=new M(k.e);_.a<_.c.c.length;)D=u(E(_),10),D.p=te;return n.a}function KNe(n,e,t,i,r){var c,s,f,h,l,a,d,g,p,m,k,j,P;for(k=!1,h=!1,g=n+1,m=(Nn(n,e.c.length),u(e.c[n],186)),f=m.a,l=null,s=0;s<m.a.c.length;s++)if(c=(Nn(s,f.c.length),u(f.c[s],172)),!c.c){if(c.b.c.length==0){fl(),Uk(m,c),--s,k=!0;continue}if(c.k||(l&&fS(l),l=new eJ(l?l.e+l.d+i:0,m.f,i),_k(c,l.e+l.d,m.f),nn(m.d,l),BQ(l,c),c.k=!0),a=null,a=(P=null,s<m.a.c.length-1?P=u(sn(m.a,s+1),172):g<e.c.length&&(Nn(g,e.c.length),u(e.c[g],186)).a.c.length!=0&&(P=u(sn((Nn(g,e.c.length),u(e.c[g],186)).a,0),172)),P),j=!1,a&&(j=!ct(a.j,m)),a){if(a.b.c.length!=0&&!on(un(u(sn(a.b,0),27).of((Bf(),Bj)))))ck(c,t-c.s),fS(c.q),k=k|sje(m,c,a,t,i);else{Uk(m,a);break}if(a.b.c.length==0)for(e.c.length>g&&Uk((Nn(g,e.c.length),u(e.c[g],186)),a),a=null;e.c.length>g&&(Nn(g,e.c.length),u(e.c[g],186)).a.c.length==0;)du(e,(Nn(g,e.c.length),e.c[g]));if(!a){--s;continue}if(!on(un(u(sn(a.b,0),27).of((Bf(),Bj))))&&ZPe(e,m,c,a,j,t,g,i)){k=!0;continue}if(j){if(p=m.b,d=a.f,!on(un(u(sn(a.b,0),27).of(Bj)))&&pAe(e,m,c,a,t,g,i,r)){if(k=!0,p<d){h=!0,a.j=m;break}continue}else if(bY(m,c)){c.c=!0,k=!0;continue}}else if(bY(m,c)){c.c=!0,k=!0;continue}if(k)continue}if(bY(m,c)){c.c=!0,k=!0,a&&(a.k=!1);continue}else fS(c.q)}return new bi((_n(),!!k),!!h)}function cn(){cn=R,PH=(He(),Kue),whn=Bue,Tj=Han,Ws=Fue,C2=qan,dw=Uan,q0=Gan,Cv=zan,Sv=Xan,IH=iA,bw=qd,OH=_ue,G8=Jan,yO=D3,Mj=(stn(),ete),T2=tte,Kd=ite,S2=rte,qte=new Di(Wj,Y(0)),Tv=Yee,bhn=Zee,O3=nte,Mhn=Cte,phn=ote,mhn=hte,LH=pte,vhn=dte,khn=wte,jO=Ote,NH=Ste,jhn=jte,yhn=kte,Ehn=Mte,lw=zee,U8=Xee,MH=hee,Xfn=aee,Vte=v9,Wte=cA,Xte=Jj,zte=rA,ghn=(Gp(),Y0),new Di($3,ghn),fhn=new ob(12),shn=new Di(M1,fhn),Ufn=(El(),Kv),$l=new Di(kan,Ufn),F0=new Di(oo,0),Ute=new Di(oU,Y(1)),oO=new Di(x2,U4),Rd=tA,_t=m9,Mv=H2,xte=Gj,Ch=Pue,K0=B2,Gte=new Di(sU,(_n(),!0)),B0=zj,Dd=Zq,xd=Hd,kO=Sa,SH=V0,qfn=(ci(),Jf),Lo=new Di(_d,qfn),hw=F2,mO=San,_0=W0,Hte=uU,ahn=Fan,lhn=(Kg(),nE),new Di($an,lhn),Bte=tU,Fte=iU,_te=rU,Kte=eU,AH=ute,$d=Dee,Ea=Nee,z8=cte,ou=Cee,Nd=tee,H8=eee,fw=Fne,Ffn=_ne,kH=Gne,Ej=Hne,yH=Zne,rhn=$ee,chn=xee,Zfn=kee,vO=Jee,CH=Bee,TH=wee,ohn=Uee,zfn=see,EH=fee,vH=Uj,uhn=Ree,fO=Lne,Rfn=Ane,sO=One,Jfn=mee,Wfn=pee,Qfn=vee,jv=_2,Rr=mw,m1=jan,Sh=Yq,jH=Qq,_fn=Xne,v1=cU,_8=Aue,wO=Nue,aw=Ran,hhn=Due,Ev=$ue,ehn=Pee,thn=Oee,H0=N3,pH=Ine,ihn=Lee,bO=cee,dO=ree,pO=$v,nhn=Eee,q8=_ee,Cj=Van,Hfn=iee,dhn=Qee,Gfn=uee,Nte=Wne,Dte=Jne,Rte=Tee,$te=Qne,Yfn=nU,gO=See,aO=Yne,Yh=Bne,Bfn=xne,hO=Dne,Kfn=$ne,lO=Rne,R0=Nne,mH=Kne,Vfn=gee}function Ze(n){var e,t,i;if(n.d>=n.j){n.a=-1,n.c=1;return}if(e=Xi(n.i,n.d++),n.a=e,n.b==1){switch(e){case 92:if(i=10,n.d>=n.j)throw T(new Ne($e((Oe(),qP))));n.a=Xi(n.i,n.d++);break;case 45:(n.e&512)==512&&n.d<n.j&&Xi(n.i,n.d)==91?(++n.d,i=24):i=0;break;case 91:if((n.e&512)!=512&&n.d<n.j&&Xi(n.i,n.d)==58){++n.d,i=20;break}default:(e&64512)==Sy&&n.d<n.j&&(t=Xi(n.i,n.d),(t&64512)==56320&&(n.a=hr+(e-Sy<<10)+t-56320,++n.d)),i=0}n.c=i;return}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,n.d>=n.j||Xi(n.i,n.d)!=63)break;if(++n.d>=n.j)throw T(new Ne($e((Oe(),jF))));switch(e=Xi(n.i,n.d++),e){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(n.d>=n.j)throw T(new Ne($e((Oe(),jF))));if(e=Xi(n.i,n.d++),e==61)i=16;else if(e==33)i=17;else throw T(new Ne($e((Oe(),IWn))));break;case 35:for(;n.d<n.j&&(e=Xi(n.i,n.d++),e!=41););if(e!=41)throw T(new Ne($e((Oe(),OWn))));i=21;break;default:if(e==45||97<=e&&e<=122||65<=e&&e<=90){--n.d,i=22;break}else if(e==40){i=23;break}throw T(new Ne($e((Oe(),jF))))}break;case 92:if(i=10,n.d>=n.j)throw T(new Ne($e((Oe(),qP))));n.a=Xi(n.i,n.d++);break;default:i=0}n.c=i}function BNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j;if(t.Ug("Process compaction",1),!!on(un(v(e,(lc(),Eln))))){for(r=u(v(e,pw),88),p=$(B(v(e,sq))),aOe(n,e,r),tNe(e,p/2/2),m=e.b,ud(m,new lkn(r)),l=ge(m,0);l.b!=l.d.c;)if(h=u(be(l),39),!on(un(v(h,(pt(),Ca))))){if(i=KSe(h,r),k=NIe(h,e),d=0,g=0,i)switch(j=i.e,r.g){case 2:d=j.a-p-h.f.a,k.e.a-p-h.f.a<d&&(d=k.e.a-p-h.f.a),g=d+h.f.a;break;case 1:d=j.a+i.f.a+p,k.e.a+p>d&&(d=k.e.a+k.f.a+p),g=d+h.f.a;break;case 4:d=j.b-p-h.f.b,k.e.b-p-h.f.b<d&&(d=k.e.b-p-h.f.b),g=d+h.f.b;break;case 3:d=j.b+i.f.b+p,k.e.b+p>d&&(d=k.e.b+k.f.b+p),g=d+h.f.b}else if(k)switch(r.g){case 2:d=k.e.a-p-h.f.a,g=d+h.f.a;break;case 1:d=k.e.a+k.f.a+p,g=d+h.f.a;break;case 4:d=k.e.b-p-h.f.b,g=d+h.f.b;break;case 3:d=k.e.b+k.f.b+p,g=d+h.f.b}x(v(e,oq))===x((l5(),Lj))?(c=d,s=g,f=t4(ut(new Cn(null,new On(n.a,16)),new nTn(c,s))),f.a!=null?r==(ci(),Kr)||r==Xr?h.e.a=d:h.e.b=d:(r==(ci(),Kr)||r==us?f=t4(ut(O$n(new Cn(null,new On(n.a,16))),new akn(c))):f=t4(ut(O$n(new Cn(null,new On(n.a,16))),new dkn(c))),f.a!=null&&(r==Kr||r==Xr?h.e.a=$(B((oe(f.a!=null),u(f.a,42)).a)):h.e.b=$(B((oe(f.a!=null),u(f.a,42)).a)))),f.a!=null&&(a=qr(n.a,(oe(f.a!=null),f.a),0),a>0&&a!=u(v(h,Ph),17).a&&(U(h,wln,(_n(),!0)),U(h,Ph,Y(a))))):r==(ci(),Kr)||r==Xr?h.e.a=d:h.e.b=d}t.Vg()}}function kzn(n){var e,t,i,r,c,s,f,h,l;for(n.b=1,Ze(n),e=null,n.c==0&&n.a==94?(Ze(n),e=(nt(),nt(),new yo(4)),xc(e,0,rv),f=new yo(4)):f=(nt(),nt(),new yo(4)),r=!0;(l=n.c)!=1;){if(l==0&&n.a==93&&!r){e&&(z5(e,f),f=e);break}if(t=n.a,i=!1,l==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:g0(f,I4(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(g0(f,I4(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(h=Lnn(n,t),!h)throw T(new Ne($e((Oe(),EF))));g0(f,h),i=!0;break;default:t=den(n)}else if(l==24&&!r){if(e&&(z5(e,f),f=e),c=kzn(n),z5(f,c),n.c!=0||n.a!=93)throw T(new Ne($e((Oe(),BWn))));break}if(Ze(n),!i){if(l==0){if(t==91)throw T(new Ne($e((Oe(),xcn))));if(t==93)throw T(new Ne($e((Oe(),Rcn))));if(t==45&&!r&&n.a!=93)throw T(new Ne($e((Oe(),MF))))}if(n.c!=0||n.a!=45||t==45&&r)xc(f,t,t);else{if(Ze(n),(l=n.c)==1)throw T(new Ne($e((Oe(),UP))));if(l==0&&n.a==93)xc(f,t,t),xc(f,45,45);else{if(l==0&&n.a==93||l==24)throw T(new Ne($e((Oe(),MF))));if(s=n.a,l==0){if(s==91)throw T(new Ne($e((Oe(),xcn))));if(s==93)throw T(new Ne($e((Oe(),Rcn))));if(s==45)throw T(new Ne($e((Oe(),MF))))}else l==10&&(s=den(n));if(Ze(n),t>s)throw T(new Ne($e((Oe(),HWn))));xc(f,t,s)}}}r=!1}if(n.c==1)throw T(new Ne($e((Oe(),UP))));return Gg(f),U5(f),n.b=0,Ze(n),f}function FNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_;if(t.Ug("Coffman-Graham Layering",1),e.a.c.length==0){t.Vg();return}for(_=u(v(e,(cn(),nhn)),17).a,h=0,s=0,g=new M(e.a);g.a<g.c.c.length;)for(d=u(E(g),10),d.p=h++,c=new ie(ce(Qt(d).a.Kc(),new En));pe(c);)r=u(fe(c),18),r.p=s++;for(n.d=F(so,Xh,28,h,16,1),n.a=F(so,Xh,28,s,16,1),n.b=F(ye,_e,28,h,15,1),n.e=F(ye,_e,28,h,15,1),n.f=F(ye,_e,28,h,15,1),gC(n.c),Rke(n,e),m=new aT(new O7n(n)),D=new M(e.a);D.a<D.c.c.length;){for(O=u(E(D),10),c=new ie(ce(ji(O).a.Kc(),new En));pe(c);)r=u(fe(c),18),n.a[r.p]||++n.b[O.p];n.b[O.p]==0&&Tp(k4(m,O),F4)}for(f=0;m.b.c.length!=0;)for(O=u(w$(m),10),n.f[O.p]=f++,c=new ie(ce(Qt(O).a.Kc(),new En));pe(c);)r=u(fe(c),18),!n.a[r.p]&&(j=r.d.i,--n.b[j.p],In(n.c,j,Y(n.f[O.p])),n.b[j.p]==0&&Tp(k4(m,j),F4));for(p=new aT(new A7n(n)),A=new M(e.a);A.a<A.c.c.length;){for(O=u(E(A),10),c=new ie(ce(Qt(O).a.Kc(),new En));pe(c);)r=u(fe(c),18),n.a[r.p]||++n.e[O.p];n.e[O.p]==0&&Tp(k4(p,O),F4)}for(a=new Z,i=pOn(e,a);p.b.c.length!=0;)for(P=u(w$(p),10),(i.a.c.length>=_||!D8e(P,i))&&(i=pOn(e,a)),$i(P,i),c=new ie(ce(ji(P).a.Kc(),new En));pe(c);)r=u(fe(c),18),!n.a[r.p]&&(k=r.c.i,--n.e[k.p],n.e[k.p]==0&&Tp(k4(p,k),F4));for(l=a.c.length-1;l>=0;--l)nn(e.b,(Nn(l,a.c.length),u(a.c[l],30)));e.a.c.length=0,t.Vg()}function yzn(n,e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;D=!1;do for(D=!1,c=e?new qa(n.a.b).a.gc()-2:1;e?c>=0:c<new qa(n.a.b).a.gc();c+=e?-1:1)for(r=vJ(n.a,Y(c)),p=0;p<r.b;p++)if(d=u(Zo(r,p),10),!!kt(d,(W(),dt))&&!(_ke(n.a,Y(c))&&n.r==(ps(),ww)||Hke(n.a,Y(c))&&n.r==(ps(),U0))){for(A=!0,P=0;P<r.b;P++)j=u(Zo(r,P),10),kt(j,dt)&&(e&&u(v(d,dt),17).a<u(v(j,dt),17).a||!e&&u(v(d,dt),17).a>u(v(j,dt),17).a)&&(A=!1);if(A){for(h=e?c+1:c-1,f=vJ(n.a,Y(h)),s=!1,O=!0,i=!1,a=ge(f,0);a.b!=a.d.c;)l=u(be(a),10),kt(l,dt)?l.p!=d.p&&(s=s|(e?u(v(l,dt),17).a<u(v(d,dt),17).a:u(v(l,dt),17).a>u(v(d,dt),17).a),O=!1):!s&&O&&l.k==(Vn(),Sc)&&(i=!0,e?g=u(fe(new ie(ce(ji(l).a.Kc(),new En))),18).c.i:g=u(fe(new ie(ce(Qt(l).a.Kc(),new En))),18).d.i,g==d&&(e?t=u(fe(new ie(ce(Qt(l).a.Kc(),new En))),18).d.i:t=u(fe(new ie(ce(ji(l).a.Kc(),new En))),18).c.i,(e?u(xw(n.a,t),17).a-u(xw(n.a,g),17).a:u(xw(n.a,g),17).a-u(xw(n.a,t),17).a)<=2&&(O=!1)));if(i&&O&&(e?t=u(fe(new ie(ce(Qt(d).a.Kc(),new En))),18).d.i:t=u(fe(new ie(ce(ji(d).a.Kc(),new En))),18).c.i,(e?u(xw(n.a,t),17).a-u(xw(n.a,d),17).a:u(xw(n.a,d),17).a-u(xw(n.a,t),17).a)<=2&&t.k==(Vn(),Xt)&&(O=!1)),s||O){for(k=YHn(n,d,e);k.a.gc()!=0;)m=u(k.a.ec().Kc().Pb(),10),k.a.Bc(m)!=null,Ki(k,YHn(n,m,e));--p,D=!0}}}while(D)}function _Ne(n){Te(n.c,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#decimal"])),Te(n.d,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#integer"])),Te(n.e,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#boolean"])),Te(n.f,Ke,S(C(fn,1),J,2,6,[Ji,"EBoolean",Qe,"EBoolean:Object"])),Te(n.i,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#byte"])),Te(n.g,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Te(n.j,Ke,S(C(fn,1),J,2,6,[Ji,"EByte",Qe,"EByte:Object"])),Te(n.n,Ke,S(C(fn,1),J,2,6,[Ji,"EChar",Qe,"EChar:Object"])),Te(n.t,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#double"])),Te(n.u,Ke,S(C(fn,1),J,2,6,[Ji,"EDouble",Qe,"EDouble:Object"])),Te(n.F,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#float"])),Te(n.G,Ke,S(C(fn,1),J,2,6,[Ji,"EFloat",Qe,"EFloat:Object"])),Te(n.I,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#int"])),Te(n.J,Ke,S(C(fn,1),J,2,6,[Ji,"EInt",Qe,"EInt:Object"])),Te(n.N,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#long"])),Te(n.O,Ke,S(C(fn,1),J,2,6,[Ji,"ELong",Qe,"ELong:Object"])),Te(n.Z,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#short"])),Te(n.$,Ke,S(C(fn,1),J,2,6,[Ji,"EShort",Qe,"EShort:Object"])),Te(n._,Ke,S(C(fn,1),J,2,6,[Ji,"http://www.w3.org/2001/XMLSchema#string"]))}function HNe(n,e,t,i,r,c,s){var f,h,l,a,d,g,p,m;return g=u(i.a,17).a,p=u(i.b,17).a,d=n.b,m=n.c,f=0,a=0,e==(ci(),Kr)||e==Xr?(a=a7(hKn(Uw(_r(new Cn(null,new On(t.b,16)),new $mn),new pmn))),d.e.b+d.f.b/2>a?(l=++p,f=$(B(ho(_w(_r(new Cn(null,new On(t.b,16)),new iTn(r,l)),new mmn))))):(h=++g,f=$(B(ho(Sp(_r(new Cn(null,new On(t.b,16)),new rTn(r,h)),new vmn)))))):(a=a7(hKn(Uw(_r(new Cn(null,new On(t.b,16)),new Emn),new gmn))),d.e.a+d.f.a/2>a?(l=++p,f=$(B(ho(_w(_r(new Cn(null,new On(t.b,16)),new eTn(r,l)),new kmn))))):(h=++g,f=$(B(ho(Sp(_r(new Cn(null,new On(t.b,16)),new tTn(r,h)),new ymn)))))),e==Kr?(ir(n.a,new V($(B(v(d,(pt(),jf))))-r,f)),ir(n.a,new V(m.e.a+m.f.a+r+c,f)),ir(n.a,new V(m.e.a+m.f.a+r+c,m.e.b+m.f.b/2)),ir(n.a,new V(m.e.a+m.f.a,m.e.b+m.f.b/2))):e==Xr?(ir(n.a,new V($(B(v(d,(pt(),Js))))+r,d.e.b+d.f.b/2)),ir(n.a,new V(d.e.a+d.f.a+r,f)),ir(n.a,new V(m.e.a-r-c,f)),ir(n.a,new V(m.e.a-r-c,m.e.b+m.f.b/2)),ir(n.a,new V(m.e.a,m.e.b+m.f.b/2))):e==us?(ir(n.a,new V(f,$(B(v(d,(pt(),jf))))-r)),ir(n.a,new V(f,m.e.b+m.f.b+r+c)),ir(n.a,new V(m.e.a+m.f.a/2,m.e.b+m.f.b+r+c)),ir(n.a,new V(m.e.a+m.f.a/2,m.e.b+m.f.b+r))):(n.a.b==0||(u($s(n.a),8).b=$(B(v(d,(pt(),Js))))+r*u(s.b,17).a),ir(n.a,new V(f,$(B(v(d,(pt(),Js))))+r*u(s.b,17).a)),ir(n.a,new V(f,m.e.b-r*u(s.a,17).a-c))),new bi(Y(g),Y(p))}function qNe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p;if(s=!0,d=null,i=null,r=null,e=!1,p=$oe,l=null,c=null,f=0,h=yx(n,f,Bdn,Fdn),h<n.length&&(zn(h,n.length),n.charCodeAt(h)==58)&&(d=(Ri(f,h,n.length),n.substr(f,h-f)),f=h+1),t=d!=null&&t7(jA,d.toLowerCase()),t){if(h=n.lastIndexOf("!/"),h==-1)throw T(new Gn("no archive separator"));s=!0,i=qo(n,f,++h),f=h}else f>=0&&Sn(n.substr(f,2),"//")?(f+=2,h=yx(n,f,A9,L9),i=(Ri(f,h,n.length),n.substr(f,h-f)),f=h):d!=null&&(f==n.length||(zn(f,n.length),n.charCodeAt(f)!=47))&&(s=!1,h=qX(n,wu(35),f),h==-1&&(h=n.length),i=(Ri(f,h,n.length),n.substr(f,h-f)),f=h);if(!t&&f<n.length&&(zn(f,n.length),n.charCodeAt(f)==47)&&(h=yx(n,f+1,A9,L9),a=(Ri(f+1,h,n.length),n.substr(f+1,h-(f+1))),a.length>0&&Xi(a,a.length-1)==58&&(r=a,f=h)),f<n.length&&(zn(f,n.length),n.charCodeAt(f)==47)&&(++f,e=!0),f<n.length&&(zn(f,n.length),n.charCodeAt(f)!=63)&&(zn(f,n.length),n.charCodeAt(f)!=35)){for(g=new Z;f<n.length&&(zn(f,n.length),n.charCodeAt(f)!=63)&&(zn(f,n.length),n.charCodeAt(f)!=35);)h=yx(n,f,A9,L9),nn(g,(Ri(f,h,n.length),n.substr(f,h-f))),f=h,f<n.length&&(zn(f,n.length),n.charCodeAt(f)==47)&&(q6e(n,++f)||g.c.push(""));p=F(fn,J,2,g.c.length,6,1),Rf(g,p)}return f<n.length&&(zn(f,n.length),n.charCodeAt(f)==63)&&(h=bm(n,35,++f),h==-1&&(h=n.length),l=(Ri(f,h,n.length),n.substr(f,h-f)),f=h),f<n.length&&(c=NW(n,++f)),yAe(s,d,i,r,p,l),new jR(s,d,i,r,e,p,l,c)}function jzn(){jzn=R,YR(),qe=new jb,In(qe,(en(),ef),Yf),In(qe,Cs,Yf),In(qe,Wu,Yf),In(qe,tf,Yf),In(qe,vu,Yf),In(qe,Ju,Yf),In(qe,tf,ef),In(qe,Yf,os),In(qe,ef,os),In(qe,Cs,os),In(qe,Wu,os),In(qe,mu,os),In(qe,tf,os),In(qe,vu,os),In(qe,Ju,os),In(qe,su,os),In(qe,Yf,Do),In(qe,ef,Do),In(qe,os,Do),In(qe,Cs,Do),In(qe,Wu,Do),In(qe,mu,Do),In(qe,tf,Do),In(qe,su,Do),In(qe,$o,Do),In(qe,vu,Do),In(qe,xu,Do),In(qe,Ju,Do),In(qe,ef,Cs),In(qe,Wu,Cs),In(qe,tf,Cs),In(qe,Ju,Cs),In(qe,ef,Wu),In(qe,Cs,Wu),In(qe,tf,Wu),In(qe,Wu,Wu),In(qe,vu,Wu),In(qe,Yf,ss),In(qe,ef,ss),In(qe,os,ss),In(qe,Do,ss),In(qe,Cs,ss),In(qe,Wu,ss),In(qe,mu,ss),In(qe,tf,ss),In(qe,$o,ss),In(qe,su,ss),In(qe,Ju,ss),In(qe,vu,ss),In(qe,Uc,ss),In(qe,Yf,$o),In(qe,ef,$o),In(qe,os,$o),In(qe,Cs,$o),In(qe,Wu,$o),In(qe,mu,$o),In(qe,tf,$o),In(qe,su,$o),In(qe,Ju,$o),In(qe,xu,$o),In(qe,Uc,$o),In(qe,ef,su),In(qe,Cs,su),In(qe,Wu,su),In(qe,tf,su),In(qe,$o,su),In(qe,Ju,su),In(qe,vu,su),In(qe,Yf,pu),In(qe,ef,pu),In(qe,os,pu),In(qe,Cs,pu),In(qe,Wu,pu),In(qe,mu,pu),In(qe,tf,pu),In(qe,su,pu),In(qe,Ju,pu),In(qe,ef,vu),In(qe,os,vu),In(qe,Do,vu),In(qe,Wu,vu),In(qe,Yf,xu),In(qe,ef,xu),In(qe,Do,xu),In(qe,Cs,xu),In(qe,Wu,xu),In(qe,mu,xu),In(qe,tf,xu),In(qe,tf,Uc),In(qe,Wu,Uc),In(qe,su,Yf),In(qe,su,Cs),In(qe,su,os),In(qe,mu,Yf),In(qe,mu,ef),In(qe,mu,Do)}function UNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X;switch(t.Ug("Brandes & Koepf node placement",1),n.a=e,n.c=CIe(e),i=u(v(e,(cn(),CH)),281),p=on(un(v(e,q8))),n.d=i==(Xk(),YI)&&!p||i==iH,gAe(n,e),_=null,X=null,P=null,O=null,j=(Mo(4,m0),new Gc(4)),u(v(e,CH),281).g){case 3:P=new Wg(e,n.c.d,(If(),Bd),(fh(),y1)),Bn(j.c,P);break;case 1:O=new Wg(e,n.c.d,(If(),Xf),(fh(),y1)),Bn(j.c,O);break;case 4:_=new Wg(e,n.c.d,(If(),Bd),(fh(),gw)),Bn(j.c,_);break;case 2:X=new Wg(e,n.c.d,(If(),Xf),(fh(),gw)),Bn(j.c,X);break;default:P=new Wg(e,n.c.d,(If(),Bd),(fh(),y1)),O=new Wg(e,n.c.d,Xf,y1),_=new Wg(e,n.c.d,Bd,gw),X=new Wg(e,n.c.d,Xf,gw),Bn(j.c,_),Bn(j.c,X),Bn(j.c,P),Bn(j.c,O)}for(r=new GMn(e,n.c),f=new M(j);f.a<f.c.c.length;)c=u(E(f),185),cNe(r,c,n.b),tOe(c);for(g=new tFn(e,n.c),h=new M(j);h.a<h.c.c.length;)c=u(E(h),185),PAe(g,c);if(t._g())for(l=new M(j);l.a<l.c.c.length;)c=u(E(l),185),t.bh(c+" size is "+gR(c));if(d=null,n.d&&(a=JLe(n,j,n.c.d),JUn(e,a,t)&&(d=a)),!d)for(l=new M(j);l.a<l.c.c.length;)c=u(E(l),185),JUn(e,c,t)&&(!d||gR(d)>gR(c))&&(d=c);for(!d&&(d=(Nn(0,j.c.length),u(j.c[0],185))),k=new M(e.b);k.a<k.c.c.length;)for(m=u(E(k),30),D=new M(m.a);D.a<D.c.c.length;)A=u(E(D),10),A.n.b=$(d.p[A.p])+$(d.d[A.p]);for(t._g()&&(t.bh("Chosen node placement: "+d),t.bh("Blocks: "+aHn(d)),t.bh("Classes: "+FMe(d,t)),t.bh("Marked edges: "+n.b)),s=new M(j);s.a<s.c.c.length;)c=u(E(s),185),c.g=null,c.b=null,c.a=null,c.d=null,c.j=null,c.i=null,c.p=null;e3e(n.c),n.b.a.$b(),t.Vg()}function GNe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te;if(n.c.length==1)return vFn((Nn(0,n.c.length),u(n.c[0],121))),Nn(0,n.c.length),u(n.c[0],121);if(n.c.length<=0)return new ek;for(h=new M(n);h.a<h.c.c.length;){for(s=u(E(h),121),O=0,m=et,k=et,g=Wi,p=Wi,P=ge(s.b,0);P.b!=P.d.c;)j=u(be(P),39),O+=u(v(j,(lc(),RO)),17).a,m=y.Math.min(m,j.e.a),k=y.Math.min(k,j.e.b),g=y.Math.max(g,j.e.a+j.f.a),p=y.Math.max(p,j.e.b+j.f.b);U(s,(lc(),RO),Y(O)),U(s,(pt(),Av),new V(m,k)),U(s,Nj,new V(g,p))}for(Ln(),Yt(n,new H3n),_=new ek,Ur(_,(Nn(0,n.c.length),u(n.c[0],96))),d=0,Fn=0,l=new M(n);l.a<l.c.c.length;)s=u(E(l),121),X=mi(Fi(u(v(s,(pt(),Nj)),8)),u(v(s,Av),8)),d=y.Math.max(d,X.a),Fn+=X.a*X.b;for(d=y.Math.max(d,y.Math.sqrt(Fn)*$(B(v(_,(lc(),yre))))),tn=$(B(v(_,sq))),Kn=0,te=0,a=0,e=tn,f=new M(n);f.a<f.c.c.length;)s=u(E(f),121),X=mi(Fi(u(v(s,(pt(),Nj)),8)),u(v(s,Av),8)),Kn+X.a>d&&(Kn=0,te+=a+tn,a=0),lUn(_,s,Kn,te),e=y.Math.max(e,Kn+X.a),a=y.Math.max(a,X.b),Kn+=X.a+tn;for(D=new de,t=new de,kn=new M(n);kn.a<kn.c.c.length;)for(jn=u(E(kn),121),i=on(un(v(jn,(He(),Gj)))),A=jn.q?jn.q:Wh,c=A.vc().Kc();c.Ob();)r=u(c.Pb(),44),Zc(D,r.ld())?x(u(r.ld(),149).Sg())!==x(r.md())&&(i&&Zc(t,r.ld())?(fl(),""+u(r.ld(),149).Pg()):(Ve(D,u(r.ld(),149),r.md()),U(_,u(r.ld(),149),r.md()),i&&Ve(t,u(r.ld(),149),r.md()))):(Ve(D,u(r.ld(),149),r.md()),U(_,u(r.ld(),149),r.md()));return vFn(_),_}function XS(n,e){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new qOn(n.b,n.a,e,n.c);case 1:return new DM(n.a,e,At(e.Dh(),n.c));case 43:return new $Cn(n.a,e,At(e.Dh(),n.c));case 3:return new ti(n.a,e,At(e.Dh(),n.c));case 45:return new Cu(n.a,e,At(e.Dh(),n.c));case 41:return new Ou(u(gs(n.c),29),n.a,e,At(e.Dh(),n.c));case 50:return new ixn(u(gs(n.c),29),n.a,e,At(e.Dh(),n.c));case 5:return new kV(n.a,e,At(e.Dh(),n.c),n.d.n);case 47:return new VSn(n.a,e,At(e.Dh(),n.c),n.d.n);case 7:return new q(n.a,e,At(e.Dh(),n.c),n.d.n);case 49:return new jp(n.a,e,At(e.Dh(),n.c),n.d.n);case 9:return new DCn(n.a,e,At(e.Dh(),n.c));case 11:return new NCn(n.a,e,At(e.Dh(),n.c));case 13:return new DX(n.a,e,At(e.Dh(),n.c));case 15:return new JM(n.a,e,At(e.Dh(),n.c));case 17:return new xCn(n.a,e,At(e.Dh(),n.c));case 19:return new Eg(n.a,e,At(e.Dh(),n.c));case 21:return new $X(n.a,e,At(e.Dh(),n.c));case 23:return new R7(n.a,e,At(e.Dh(),n.c));case 25:return new QSn(n.a,e,At(e.Dh(),n.c),n.d.n);case 27:return new Dn(n.a,e,At(e.Dh(),n.c),n.d.n);case 29:return new JSn(n.a,e,At(e.Dh(),n.c),n.d.n);case 31:return new WSn(n.a,e,At(e.Dh(),n.c),n.d.n);case 33:return new jV(n.a,e,At(e.Dh(),n.c),n.d.n);case 35:return new yV(n.a,e,At(e.Dh(),n.c),n.d.n);case 37:return new DN(n.a,e,At(e.Dh(),n.c),n.d.n);case 39:return new dT(n.a,e,At(e.Dh(),n.c),n.d.n);case 40:return new Ft(e,At(e.Dh(),n.c));default:throw T(new ec("Unknown feature style: "+n.e))}}function Ezn(n){var e,t,i,r,c,s,f,h;for(c=0,r=n.a.b,h=ge(n.a,0);h.b!=h.d.c;){if(f=u(be(h),240),s=(c+1)/(r+1),!n.c&&!n.d)return;n.c&&!n.d?(n.g=!0,n.b==(ci(),Kr)?(i=n.c.e.b+n.c.f.b+n.e*(c+1),e=new V($(B(v(n.c,(pt(),Js))))+n.e,i),t=new V($(B(v(n.c,jf)))-n.e,i)):n.b==Xr?(i=n.c.e.b+n.c.f.b+n.e*(c+1),e=new V($(B(v(n.c,(pt(),jf))))-n.e,i),t=new V($(B(v(n.c,Js)))+n.e,i)):n.b==us?(i=n.c.e.a+n.c.f.a+n.e*(c+1),e=new V(i,$(B(v(n.c,(pt(),Js))))+n.e),t=new V(i,$(B(v(n.c,jf)))-n.e)):(i=n.c.e.a+n.c.f.a+n.e*(c+1),e=new V(i,$(B(v(n.c,(pt(),jf))))-n.e),t=new V(i,$(B(v(n.c,Js)))+n.e))):n.c&&n.d?n.b==(ci(),Kr)?(i=n.d.e.b*s+(n.c.e.b+n.c.f.b)*(1-s),e=new V($(B(v(n.c,(pt(),Js))))+n.e,i),t=new V($(B(v(n.c,jf)))-n.e,i)):n.b==Xr?(i=n.d.e.b*s+(n.c.e.b+n.c.f.b)*(1-s),e=new V($(B(v(n.c,(pt(),jf))))-n.e,i),t=new V($(B(v(n.c,Js)))+n.e,i)):n.b==us?(i=n.d.e.a*s+(n.c.e.a+n.c.f.a)*(1-s),e=new V(i,$(B(v(n.c,(pt(),Js))))+n.e),t=new V(i,$(B(v(n.c,jf)))-n.e)):(i=n.d.e.a*s+(n.c.e.a+n.c.f.a)*(1-s),e=new V(i,$(B(v(n.c,(pt(),jf))))-n.e),t=new V(i,$(B(v(n.c,Js)))+n.e)):(n.f=!0,n.b==(ci(),Kr)?(i=n.d.e.b-n.e*(c+1),e=new V($(B(v(n.d,(pt(),Js))))+n.e,i),t=new V($(B(v(n.d,jf)))-n.e,i)):n.b==Xr?(i=n.d.e.b-n.e*(c+1),e=new V($(B(v(n.d,(pt(),jf))))-n.e,i),t=new V($(B(v(n.d,Js)))+n.e,i)):n.b==us?(i=n.d.e.a-n.e*(c+1),e=new V(i,$(B(v(n.d,(pt(),Js))))+n.e),t=new V(i,$(B(v(n.d,jf)))-n.e)):(i=n.d.e.a-n.e*(c+1),e=new V(i,$(B(v(n.d,(pt(),jf))))-n.e),t=new V(i,$(B(v(n.d,Js)))+n.e))),u(f.a,8).a=e.a,u(f.a,8).b=e.b,f.b.a=t.a,f.b.b=t.b,++c}}function zNe(n,e,t,i,r,c){var s,f,h,l,a,d,g,p,m,k,j,P;switch(e){case 71:f=i.q.getFullYear()-la>=-1900?1:0,t>=4?Be(n,S(C(fn,1),J,2,6,[Kzn,Bzn])[f]):Be(n,S(C(fn,1),J,2,6,["BC","AD"])[f]);break;case 121:f9e(n,t,i);break;case 77:PPe(n,t,i);break;case 107:h=r.q.getHours(),h==0?Kh(n,24,t):Kh(n,h,t);break;case 83:_Te(n,t,r);break;case 69:a=i.q.getDay(),t==5?Be(n,S(C(fn,1),J,2,6,["S","M","T","W","T","F","S"])[a]):t==4?Be(n,S(C(fn,1),J,2,6,[vK,kK,yK,jK,EK,MK,TK])[a]):Be(n,S(C(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[a]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Be(n,S(C(fn,1),J,2,6,["AM","PM"])[1]):Be(n,S(C(fn,1),J,2,6,["AM","PM"])[0]);break;case 104:d=r.q.getHours()%12,d==0?Kh(n,12,t):Kh(n,d,t);break;case 75:g=r.q.getHours()%12,Kh(n,g,t);break;case 72:p=r.q.getHours(),Kh(n,p,t);break;case 99:m=i.q.getDay(),t==5?Be(n,S(C(fn,1),J,2,6,["S","M","T","W","T","F","S"])[m]):t==4?Be(n,S(C(fn,1),J,2,6,[vK,kK,yK,jK,EK,MK,TK])[m]):t==3?Be(n,S(C(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[m]):Kh(n,m,1);break;case 76:k=i.q.getMonth(),t==5?Be(n,S(C(fn,1),J,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[k]):t==4?Be(n,S(C(fn,1),J,2,6,[sK,fK,hK,lK,c3,aK,dK,bK,wK,gK,pK,mK])[k]):t==3?Be(n,S(C(fn,1),J,2,6,["Jan","Feb","Mar","Apr",c3,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[k]):Kh(n,k+1,t);break;case 81:j=i.q.getMonth()/3|0,t<4?Be(n,S(C(fn,1),J,2,6,["Q1","Q2","Q3","Q4"])[j]):Be(n,S(C(fn,1),J,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[j]);break;case 100:P=i.q.getDate(),Kh(n,P,t);break;case 109:l=r.q.getMinutes(),Kh(n,l,t);break;case 115:s=r.q.getSeconds(),Kh(n,s,t);break;case 122:t<4?Be(n,c.c[0]):Be(n,c.c[1]);break;case 118:Be(n,c.b);break;case 90:t<3?Be(n,DEe(c)):t==3?Be(n,BEe(c)):Be(n,FEe(c.a));break;default:return!1}return!0}function otn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe;if(nUn(e),h=u(N((!e.b&&(e.b=new Dn(he,e,4,7)),e.b),0),84),a=u(N((!e.c&&(e.c=new Dn(he,e,5,8)),e.c),0),84),f=Gr(h),l=Gr(a),s=(!e.a&&(e.a=new q(Tt,e,6,6)),e.a).i==0?null:u(N((!e.a&&(e.a=new q(Tt,e,6,6)),e.a),0),166),tn=u(ee(n.a,f),10),Kn=u(ee(n.a,l),10),jn=null,te=null,L(h,193)&&(X=u(ee(n.a,h),304),L(X,12)?jn=u(X,12):L(X,10)&&(tn=u(X,10),jn=u(sn(tn.j,0),12))),L(a,193)&&(Fn=u(ee(n.a,a),304),L(Fn,12)?te=u(Fn,12):L(Fn,10)&&(Kn=u(Fn,10),te=u(sn(Kn.j,0),12))),!tn||!Kn)throw T(new hp("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(k=new yb,Ur(k,e),U(k,(W(),st),e),U(k,(cn(),Rr),null),p=u(v(i,Hc),21),tn==Kn&&p.Fc((pr(),x8)),jn||(_=(gr(),Jc),kn=null,s&&mg(u(v(tn,_t),101))&&(kn=new V(s.j,s.k),qLn(kn,X7(e)),pNn(kn,t),Yw(l,f)&&(_=Vu,it(kn,tn.n))),jn=eGn(tn,kn,_,i)),te||(_=(gr(),Vu),xe=null,s&&mg(u(v(Kn,_t),101))&&(xe=new V(s.b,s.c),qLn(xe,X7(e)),pNn(xe,t)),te=eGn(Kn,xe,_,Hi(Kn))),Zi(k,jn),Oi(k,te),(jn.e.c.length>1||jn.g.c.length>1||te.e.c.length>1||te.g.c.length>1)&&p.Fc((pr(),$8)),g=new ne((!e.n&&(e.n=new q(Sr,e,1,7)),e.n));g.e!=g.i.gc();)if(d=u(ue(g),135),!on(un(z(d,Rd)))&&d.a)switch(j=ex(d),nn(k.b,j),u(v(j,Sh),278).g){case 1:case 2:p.Fc((pr(),vv));break;case 0:p.Fc((pr(),mv)),U(j,Sh,($f(),xv))}if(c=u(v(i,H8),322),P=u(v(i,vO),323),r=c==(i5(),gj)||P==(E5(),BH),s&&(!s.a&&(s.a=new ti(xo,s,5)),s.a).i!=0&&r){for(O=Jk(s),m=new Tu,D=ge(O,0);D.b!=D.d.c;)A=u(be(D),8),Re(m,new rr(A));U(k,tfn,m)}return k}function XNe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt;for(kn=0,Fn=0,tn=new de,_=u(ho(_w(_r(new Cn(null,new On(n.b,16)),new jmn),new Omn)),17).a+1,jn=F(ye,_e,28,_,15,1),j=F(ye,_e,28,_,15,1),k=0;k<_;k++)jn[k]=0,j[k]=0;for(h=u(Wr(rJ(new Cn(null,new On(n.a,16))),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),a=h.Kc();a.Ob();)if(l=u(a.Pb(),65),te=u(v(l.b,(lc(),Ph)),17).a,Nt=u(v(l.c,Ph),17).a,D=Nt-te,D>1)for(f=te+1;f<Nt;f++){if(d=f,X=u(Wr(ut(new Cn(null,new On(n.b,16)),new kkn(d)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[Yr]))),15),m=0,e==(ci(),Kr)||e==Xr){for(X.jd(new Pmn),m=0;m<X.gc()&&(P=(f-te)/(Nt-te),!(u(X.Xb(m),39).e.b>l.b.e.b*(1-P)+l.c.e.b*P));m++);if(X.gc()>0&&(xe=l.a.b==0?Fi(l.b.e):u($s(l.a),8),A=it(Fi(u(X.Xb(X.gc()-1),39).e),u(X.Xb(X.gc()-1),39).f),g=it(Fi(u(X.Xb(0),39).e),u(X.Xb(0),39).f),m>=X.gc()-1&&xe.b>A.b&&l.c.e.b>A.b||m<=0&&xe.b<g.a&&l.c.e.b<g.b))continue}else{for(X.jd(new Imn),m=0;m<X.gc()&&(P=(f-te)/(Nt-te),!(u(X.Xb(m),39).e.a>l.b.e.a*(1-P)+l.c.e.a*P));m++);if(X.gc()>0&&(xe=l.a.b==0?Fi(l.b.e):u($s(l.a),8),A=it(Fi(u(X.Xb(X.gc()-1),39).e),u(X.Xb(X.gc()-1),39).f),g=it(Fi(u(X.Xb(0),39).e),u(X.Xb(0),39).f),m>=X.gc()-1&&xe.a>A.a&&l.c.e.a>A.a||m<=0&&xe.a<g.a&&l.c.e.a<g.a))continue}r=new Ni,c=new Ni,Re(l.a,r),Re(l.a,c),s=new _N(r,c,l),O=lf(Ks(f,32),vi(m,mr)),Zc(tn,Tl(O))?(p=u(ee(tn,Tl(O)),675),Re(p.a,s),hl(p.b)?ud(p.a,new xmn):ud(p.a,new Rmn),Ezn(p)):(p=new xBn(m==0?null:u(X.Xb(m-1),39),m==X.gc()?null:u(X.Xb(m),39),s,n),Ve(tn,Tl(O),p)),e==Kr||e==Xr?(p.f&&p.d.e.b<=$(B(v(n,(pt(),rq))))&&++kn,p.g&&p.c.e.b+p.c.f.b>=$(B(v(n,(pt(),mln))))&&++Fn):(p.f&&p.d.e.a<=$(B(v(n,(pt(),iq))))&&++kn,p.g&&p.c.e.a+p.c.f.a>=$(B(v(n,(pt(),pln))))&&++Fn)}else D==0?Inn(l):D<0&&(++jn[te],++j[Nt],Kn=HNe(l,e,n,new bi(Y(kn),Y(Fn)),t,i,new bi(Y(j[Nt]),Y(jn[te]))),kn=u(Kn.a,17).a,Fn=u(Kn.b,17).a)}function VNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;if(i=e,h=t,n.b&&i.j==(en(),Wn)&&h.j==(en(),Wn)&&(O=i,i=h,h=O),Zc(n.a,i)){if(sf(u(ee(n.a,i),49),h))return 1}else Ve(n.a,i,new ni);if(Zc(n.a,h)){if(sf(u(ee(n.a,h),49),i))return-1}else Ve(n.a,h,new ni);if(Zc(n.d,i)){if(sf(u(ee(n.d,i),49),h))return-1}else Ve(n.d,i,new ni);if(Zc(n.d,h)){if(sf(u(ee(n.a,h),49),i))return 1}else Ve(n.d,h,new ni);if(i.j!=h.j)return P=xle(i.j,h.j),P==-1?ns(n,h,i):ns(n,i,h),P;if(i.e.c.length!=0&&h.e.c.length!=0){if(n.b&&(P=KRn(i,h),P!=0))return P==-1?ns(n,h,i):P==1&&ns(n,i,h),P;if(c=u(sn(i.e,0),18).c.i,a=u(sn(h.e,0),18).c.i,c==a)return r=u(v(u(sn(i.e,0),18),(W(),dt)),17).a,l=u(v(u(sn(h.e,0),18),dt),17).a,r>l?ns(n,i,h):ns(n,h,i),r<l?-1:r>l?1:0;for(m=n.c,k=0,j=m.length;k<j;++k){if(p=m[k],p==c)return ns(n,i,h),1;if(p==a)return ns(n,h,i),-1}}return i.g.c.length!=0&&h.g.c.length!=0?(f=u(v(i,(W(),aH)),10),g=u(v(h,aH),10),n.e==(lh(),HH)&&f&&g&&kt(f,dt)&&kt(g,dt)?(r=u(v(f,dt),17).a,l=u(v(g,dt),17).a,r>l?ns(n,i,h):ns(n,h,i),r<l?-1:r>l?1:0):n.b&&(P=KRn(i,h),P!=0)?(P==-1?ns(n,h,i):P==1&&ns(n,i,h),P):(s=0,d=0,kt(u(sn(i.g,0),18),dt)&&(s=u(v(u(sn(i.g,0),18),dt),17).a),kt(u(sn(h.g,0),18),dt)&&(d=u(v(u(sn(i.g,0),18),dt),17).a),f&&f==g?on(un(v(u(sn(i.g,0),18),zf)))&&!on(un(v(u(sn(h.g,0),18),zf)))?(ns(n,i,h),1):!on(un(v(u(sn(i.g,0),18),zf)))&&on(un(v(u(sn(h.g,0),18),zf)))?(ns(n,h,i),-1):(s>d?ns(n,i,h):ns(n,h,i),s<d?-1:s>d?1:0):(n.f&&(n.f._b(f)&&(s=u(n.f.xc(f),17).a),n.f._b(g)&&(d=u(n.f.xc(g),17).a)),s>d?ns(n,i,h):ns(n,h,i),s<d?-1:s>d?1:0))):i.e.c.length!=0&&h.g.c.length!=0?(ns(n,i,h),1):i.g.c.length!=0&&h.e.c.length!=0?(ns(n,h,i),-1):kt(i,(W(),dt))&&kt(h,dt)?(r=u(v(i,dt),17).a,l=u(v(h,dt),17).a,r>l?ns(n,i,h):ns(n,h,i),r<l?-1:r>l?1:0):(ns(n,h,i),-1)}function WNe(n){n.gb||(n.gb=!0,n.b=hc(n,0),Rt(n.b,18),jt(n.b,19),n.a=hc(n,1),Rt(n.a,1),jt(n.a,2),jt(n.a,3),jt(n.a,4),jt(n.a,5),n.o=hc(n,2),Rt(n.o,8),Rt(n.o,9),jt(n.o,10),jt(n.o,11),jt(n.o,12),jt(n.o,13),jt(n.o,14),jt(n.o,15),jt(n.o,16),jt(n.o,17),jt(n.o,18),jt(n.o,19),jt(n.o,20),jt(n.o,21),jt(n.o,22),jt(n.o,23),Dr(n.o),Dr(n.o),Dr(n.o),Dr(n.o),Dr(n.o),Dr(n.o),Dr(n.o),Dr(n.o),Dr(n.o),Dr(n.o),n.p=hc(n,3),Rt(n.p,2),Rt(n.p,3),Rt(n.p,4),Rt(n.p,5),jt(n.p,6),jt(n.p,7),Dr(n.p),Dr(n.p),n.q=hc(n,4),Rt(n.q,8),n.v=hc(n,5),jt(n.v,9),Dr(n.v),Dr(n.v),Dr(n.v),n.w=hc(n,6),Rt(n.w,2),Rt(n.w,3),Rt(n.w,4),jt(n.w,5),n.B=hc(n,7),jt(n.B,1),Dr(n.B),Dr(n.B),Dr(n.B),n.Q=hc(n,8),jt(n.Q,0),Dr(n.Q),n.R=hc(n,9),Rt(n.R,1),n.S=hc(n,10),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),Dr(n.S),n.T=hc(n,11),jt(n.T,10),jt(n.T,11),jt(n.T,12),jt(n.T,13),jt(n.T,14),Dr(n.T),Dr(n.T),n.U=hc(n,12),Rt(n.U,2),Rt(n.U,3),jt(n.U,4),jt(n.U,5),jt(n.U,6),jt(n.U,7),Dr(n.U),n.V=hc(n,13),jt(n.V,10),n.W=hc(n,14),Rt(n.W,18),Rt(n.W,19),Rt(n.W,20),jt(n.W,21),jt(n.W,22),jt(n.W,23),n.bb=hc(n,15),Rt(n.bb,10),Rt(n.bb,11),Rt(n.bb,12),Rt(n.bb,13),Rt(n.bb,14),Rt(n.bb,15),Rt(n.bb,16),jt(n.bb,17),Dr(n.bb),Dr(n.bb),n.eb=hc(n,16),Rt(n.eb,2),Rt(n.eb,3),Rt(n.eb,4),Rt(n.eb,5),Rt(n.eb,6),Rt(n.eb,7),jt(n.eb,8),jt(n.eb,9),n.ab=hc(n,17),Rt(n.ab,0),Rt(n.ab,1),n.H=hc(n,18),jt(n.H,0),jt(n.H,1),jt(n.H,2),jt(n.H,3),jt(n.H,4),jt(n.H,5),Dr(n.H),n.db=hc(n,19),jt(n.db,2),n.c=Je(n,20),n.d=Je(n,21),n.e=Je(n,22),n.f=Je(n,23),n.i=Je(n,24),n.g=Je(n,25),n.j=Je(n,26),n.k=Je(n,27),n.n=Je(n,28),n.r=Je(n,29),n.s=Je(n,30),n.t=Je(n,31),n.u=Je(n,32),n.fb=Je(n,33),n.A=Je(n,34),n.C=Je(n,35),n.D=Je(n,36),n.F=Je(n,37),n.G=Je(n,38),n.I=Je(n,39),n.J=Je(n,40),n.L=Je(n,41),n.M=Je(n,42),n.N=Je(n,43),n.O=Je(n,44),n.P=Je(n,45),n.X=Je(n,46),n.Y=Je(n,47),n.Z=Je(n,48),n.$=Je(n,49),n._=Je(n,50),n.cb=Je(n,51),n.K=Je(n,52))}function JNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te;for(s=new Mt,X=u(v(t,(cn(),Lo)),88),k=0,Ki(s,(!e.a&&(e.a=new q(Ye,e,10,11)),e.a));s.b!=0;)a=u(s.b==0?null:(oe(s.b!=0),Xo(s,s.a.a)),27),l=St(a),(x(z(l,Yh))!==x((lh(),k1))||x(z(l,Nd))===x((o1(),gv))||x(z(l,Nd))===x((o1(),wv))||on(un(z(l,fw)))||x(z(l,R0))!==x((dd(),A0))||x(z(l,Ea))===x((ps(),ww))||x(z(l,Ea))===x((ps(),U0))||x(z(l,$d))===x((a1(),Pv))||x(z(l,$d))===x((a1(),Iv)))&&!on(un(z(a,lO)))&&ht(a,(W(),dt),Y(k++)),P=!on(un(z(a,Rd))),P&&(g=(!a.a&&(a.a=new q(Ye,a,10,11)),a.a).i!=0,m=Tye(a),p=x(z(a,K0))===x((jl(),T1)),te=!Nf(a,(He(),Dv))||TNn(Ae(z(a,Dv))),D=null,te&&p&&(g||m)&&(D=$Un(a),U(D,Lo,X),kt(D,Mj)&&$jn(new GY($(B(v(D,Mj)))),D),u(z(a,xd),181).gc()!=0&&(d=D,Ut(new Cn(null,(!a.c&&(a.c=new q(Qu,a,9,9)),new On(a.c,16))),new H9n(d)),Sqn(a,D))),tn=t,jn=u(ee(n.a,St(a)),10),jn&&(tn=jn.e),A=szn(n,a,tn),D&&(A.e=D,D.e=A,Ki(s,(!a.a&&(a.a=new q(Ye,a,10,11)),a.a))));for(k=0,xt(s,e,s.c.b,s.c);s.b!=0;){for(c=u(s.b==0?null:(oe(s.b!=0),Xo(s,s.a.a)),27),h=new ne((!c.b&&(c.b=new q(Vt,c,12,3)),c.b));h.e!=h.i.gc();)f=u(ue(h),74),nUn(f),(x(z(e,Yh))!==x((lh(),k1))||x(z(e,Nd))===x((o1(),gv))||x(z(e,Nd))===x((o1(),wv))||on(un(z(e,fw)))||x(z(e,R0))!==x((dd(),A0))||x(z(e,Ea))===x((ps(),ww))||x(z(e,Ea))===x((ps(),U0))||x(z(e,$d))===x((a1(),Pv))||x(z(e,$d))===x((a1(),Iv)))&&ht(f,(W(),dt),Y(k++)),Fn=Gr(u(N((!f.b&&(f.b=new Dn(he,f,4,7)),f.b),0),84)),Kn=Gr(u(N((!f.c&&(f.c=new Dn(he,f,5,8)),f.c),0),84)),!(on(un(z(f,Rd)))||on(un(z(Fn,Rd)))||on(un(z(Kn,Rd))))&&(j=Bb(f)&&on(un(z(Fn,B0)))&&on(un(z(f,Dd))),_=c,j||Yw(Kn,Fn)?_=Fn:Yw(Fn,Kn)&&(_=Kn),tn=t,jn=u(ee(n.a,_),10),jn&&(tn=jn.e),O=otn(n,f,_,tn),U(O,(W(),Ysn),JCe(n,f,e,t)));if(p=x(z(c,K0))===x((jl(),T1)),p)for(r=new ne((!c.a&&(c.a=new q(Ye,c,10,11)),c.a));r.e!=r.i.gc();)i=u(ue(r),27),te=!Nf(i,(He(),Dv))||TNn(Ae(z(i,Dv))),kn=x(z(i,K0))===x(T1),te&&kn&&xt(s,i,s.c.b,s.c)}}function W(){W=R;var n,e;st=new lt(Xtn),Ysn=new lt("coordinateOrigin"),bH=new lt("processors"),Qsn=new Lt("compoundNode",(_n(),!1)),kj=new Lt("insideConnections",!1),tfn=new lt("originalBendpoints"),ifn=new lt("originalDummyNodePosition"),rfn=new lt("originalLabelEdge"),K8=new lt("representedLabels"),R8=new lt("endLabels"),T3=new lt("endLabel.origin"),S3=new Lt("labelSide",(Co(),Zj)),y2=new Lt("maxEdgeThickness",0),zf=new Lt("reversed",!1),P3=new lt(TXn),yf=new Lt("longEdgeSource",null),Es=new Lt("longEdgeTarget",null),$0=new Lt("longEdgeHasLabelDummies",!1),yj=new Lt("longEdgeBeforeLabelDummy",!1),rO=new Lt("edgeConstraint",(hd(),Q_)),uw=new lt("inLayerLayoutUnit"),Ad=new Lt("inLayerConstraint",(vl(),mj)),C3=new Lt("inLayerSuccessorConstraint",new Z),efn=new Lt("inLayerSuccessorConstraintBetweenNonDummies",!1),Xu=new lt("portDummy"),iO=new Lt("crossingHint",Y(0)),Hc=new Lt("graphProperties",(e=u(of(rH),9),new _o(e,u(xs(e,e.length),9),0))),gc=new Lt("externalPortSide",(en(),sc)),nfn=new Lt("externalPortSize",new Ni),fH=new lt("externalPortReplacedDummies"),cO=new lt("externalPortReplacedDummy"),Dl=new Lt("externalPortConnections",(n=u(of(lr),9),new _o(n,u(xs(n,n.length),9),0))),ow=new Lt(gXn,0),Jsn=new lt("barycenterAssociates"),I3=new lt("TopSideComments"),M3=new lt("BottomSideComments"),tO=new lt("CommentConnectionPort"),lH=new Lt("inputCollect",!1),dH=new Lt("outputCollect",!1),vj=new Lt("cyclic",!1),Zsn=new lt("crossHierarchyMap"),gH=new lt("targetOffset"),new Lt("splineLabelSize",new Ni),E2=new lt("spacings"),uO=new Lt("partitionConstraint",!1),cw=new lt("breakingPoint.info"),ofn=new lt("splines.survivingEdge"),Ld=new lt("splines.route.start"),M2=new lt("splines.edgeChain"),ufn=new lt("originalPortConstraints"),sw=new lt("selfLoopHolder"),yv=new lt("splines.nsPortY"),dt=new lt("modelOrder"),aH=new lt("longEdgeTargetNode"),ya=new Lt(QXn,!1),j2=new Lt(QXn,!1),hH=new lt("layerConstraints.hiddenNodes"),cfn=new lt("layerConstraints.opposidePort"),wH=new lt("targetNode.modelOrder")}function QNe(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m;for(d=ge(n.b,0);d.b!=d.d.c;)if(a=u(be(d),39),!Sn(a.c,OP))for(c=u(Wr(new Cn(null,new On(uMe(a,n),16)),qu(new ju,new yu,new Eu,S(C(xr,1),G,108,0,[(Gu(),Yr)]))),15),e==(ci(),Kr)||e==Xr?c.jd(new Cmn):c.jd(new Smn),m=c.gc(),r=0;r<m;r++)s=m==1?.5:(1+r)/(m+1),e==Kr?(l=$(B(v(a,(pt(),Js)))),a.e.a+a.f.a+i<l?ir(u(c.Xb(r),65).a,new V(l+t,a.e.b+a.f.b*s)):u(c.Xb(r),65).a.b>0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(h-p)/(y.Math.abs(f-g)/40)>50&&(p>h?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a+i/5.3,a.e.b+a.f.b*s-i/2)):ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a+i/5.3,a.e.b+a.f.b*s+i/2)))),ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a,a.e.b+a.f.b*s))):e==Xr?(l=$(B(v(a,(pt(),jf)))),a.e.a-i>l?ir(u(c.Xb(r),65).a,new V(l-t,a.e.b+a.f.b*s)):u(c.Xb(r),65).a.b>0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(h-p)/(y.Math.abs(f-g)/40)>50&&(p>h?ir(u(c.Xb(r),65).a,new V(a.e.a-i/5.3,a.e.b+a.f.b*s-i/2)):ir(u(c.Xb(r),65).a,new V(a.e.a-i/5.3,a.e.b+a.f.b*s+i/2)))),ir(u(c.Xb(r),65).a,new V(a.e.a,a.e.b+a.f.b*s))):e==us?(l=$(B(v(a,(pt(),Js)))),a.e.b+a.f.b+i<l?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,l+t)):u(c.Xb(r),65).a.b>0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(f-g)/(y.Math.abs(h-p)/40)>50&&(g>f?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s-i/2,a.e.b+i/5.3+a.f.b)):ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s+i/2,a.e.b+i/5.3+a.f.b)))),ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,a.e.b+a.f.b))):(l=$(B(v(a,(pt(),jf)))),MRn(u(c.Xb(r),65),n)?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,u($s(u(c.Xb(r),65).a),8).b)):a.e.b-i>l?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,l-t)):u(c.Xb(r),65).a.b>0&&(f=u($s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u($s(u(c.Xb(r),65).a),8).b,p=a.e.b+a.f.b/2,i>0&&y.Math.abs(f-g)/(y.Math.abs(h-p)/40)>50&&(g>f?ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s-i/2,a.e.b-i/5.3)):ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s+i/2,a.e.b-i/5.3)))),ir(u(c.Xb(r),65).a,new V(a.e.a+a.f.a*s,a.e.b)))}function He(){He=R;var n,e;Dv=new lt(xVn),q2=new lt(RVn),wan=(Bh(),zq),Pue=new Tn(ern,wan),x2=new Tn(l3,null),Iue=new lt(bcn),pan=(wd(),yt(Wq,S(C(Jq,1),G,297,0,[Vq]))),Uj=new Tn(TP,pan),Gj=new Tn(qy,(_n(),!1)),man=(ci(),Jf),_d=new Tn(xB,man),yan=(El(),fU),kan=new Tn(Hy,yan),Lue=new Tn(acn,!1),Man=(jl(),uA),B2=new Tn(MP,Man),Nan=new ob(12),M1=new Tn(Xb,Nan),Xj=new Tn(e8,!1),nU=new Tn(SP,!1),Vj=new Tn(t8,!1),Kan=(Ai(),Oa),m9=new Tn(tB,Kan),N3=new lt(CP),Wj=new lt(Ny),oU=new lt(uP),sU=new lt(n8),Tan=new Tu,mw=new Tn(arn,Tan),Aue=new Tn(wrn,!1),Nue=new Tn(grn,!1),Can=new Wv,$v=new Tn(mrn,Can),tA=new Tn(Zin,!1),Rue=new Tn(KVn,1),K2=new lt(BVn),R2=new lt(FVn),v9=new Tn(Dy,!1),new Tn(_Vn,!0),Y(0),new Tn(HVn,Y(100)),new Tn(qVn,!1),Y(0),new Tn(UVn,Y(4e3)),Y(0),new Tn(GVn,Y(400)),new Tn(zVn,!1),new Tn(XVn,!1),new Tn(VVn,!0),new Tn(WVn,!1),gan=(qC(),dU),Oue=new Tn(dcn,gan),Kue=new Tn(Hin,10),Bue=new Tn(qin,10),Han=new Tn(WK,20),Fue=new Tn(Uin,10),qan=new Tn(eB,2),Uan=new Tn($B,10),Gan=new Tn(Gin,0),iA=new Tn(Vin,5),zan=new Tn(zin,1),Xan=new Tn(Xin,1),qd=new Tn(y0,20),_ue=new Tn(Win,10),Jan=new Tn(Jin,10),D3=new lt(Qin),Wan=new eCn,Van=new Tn(vrn,Wan),$ue=new lt(KB),Dan=!1,Due=new Tn(RB,Dan),Pan=new ob(5),San=new Tn(rrn,Pan),Ian=(l0(),e=u(of(yr),9),new _o(e,u(xs(e,e.length),9),0)),F2=new Tn(z4,Ian),xan=(Kg(),Ia),$an=new Tn(orn,xan),tU=new lt(srn),iU=new lt(frn),rU=new lt(hrn),eU=new lt(lrn),Oan=(n=u(of(S9),9),new _o(n,u(xs(n,n.length),9),0)),Hd=new Tn(r2,Oan),Lan=yn((io(),Fv)),Sa=new Tn(a3,Lan),Aan=new V(0,0),_2=new Tn(d3,Aan),V0=new Tn(G4,!1),van=($f(),xv),Yq=new Tn(drn,van),Qq=new Tn(oP,!1),Y(1),new Tn(JVn,null),Ran=new lt(prn),cU=new lt(brn),_an=(en(),sc),H2=new Tn(nrn,_an),oo=new lt(Yin),Ban=(zu(),yn(Aa)),W0=new Tn(X4,Ban),uU=new Tn(crn,!1),Fan=new Tn(urn,!0),cA=new Tn($y,1),Qan=new Tn(wcn,null),Jj=new Tn(xy,150),rA=new Tn(Ry,1.414),$3=new Tn(Vb,null),Hue=new Tn(gcn,1),zj=new Tn(trn,!1),Zq=new Tn(irn,!1),jan=new Tn(JK,1),Ean=(pS(),lU),new Tn(QVn,Ean),xue=!0,Uue=(Gp(),Y0),Gue=Y0,que=Y0}function tr(){tr=R,Won=new ei("DIRECTION_PREPROCESSOR",0),zon=new ei("COMMENT_PREPROCESSOR",1),b2=new ei("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),N_=new ei("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),bsn=new ei("PARTITION_PREPROCESSOR",4),OI=new ei("LABEL_DUMMY_INSERTER",5),FI=new ei("SELF_LOOP_PREPROCESSOR",6),N0=new ei("LAYER_CONSTRAINT_PREPROCESSOR",7),asn=new ei("PARTITION_MIDPROCESSOR",8),isn=new ei("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),hsn=new ei("NODE_PROMOTION",10),L0=new ei("LAYER_CONSTRAINT_POSTPROCESSOR",11),dsn=new ei("PARTITION_POSTPROCESSOR",12),nsn=new ei("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),wsn=new ei("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Fon=new ei("BREAKING_POINT_INSERTER",15),DI=new ei("LONG_EDGE_SPLITTER",16),D_=new ei("PORT_SIDE_PROCESSOR",17),PI=new ei("INVERTED_PORT_PROCESSOR",18),RI=new ei("PORT_LIST_SORTER",19),psn=new ei("SORT_BY_INPUT_ORDER_OF_MODEL",20),xI=new ei("NORTH_SOUTH_PORT_PREPROCESSOR",21),_on=new ei("BREAKING_POINT_PROCESSOR",22),lsn=new ei(qXn,23),msn=new ei(UXn,24),KI=new ei("SELF_LOOP_PORT_RESTORER",25),gsn=new ei("SINGLE_EDGE_GRAPH_WRAPPER",26),II=new ei("IN_LAYER_CONSTRAINT_PROCESSOR",27),Qon=new ei("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),ssn=new ei("LABEL_AND_NODE_SIZE_PROCESSOR",29),osn=new ei("INNERMOST_NODE_MARGIN_CALCULATOR",30),_I=new ei("SELF_LOOP_ROUTER",31),Uon=new ei("COMMENT_NODE_MARGIN_CALCULATOR",32),SI=new ei("END_LABEL_PREPROCESSOR",33),LI=new ei("LABEL_DUMMY_SWITCHER",34),qon=new ei("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),fv=new ei("LABEL_SIDE_SELECTOR",36),csn=new ei("HYPEREDGE_DUMMY_MERGER",37),esn=new ei("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),fsn=new ei("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),A8=new ei("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),Xon=new ei("CONSTRAINTS_POSTPROCESSOR",41),Gon=new ei("COMMENT_POSTPROCESSOR",42),usn=new ei("HYPERNODE_PROCESSOR",43),tsn=new ei("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),NI=new ei("LONG_EDGE_JOINER",45),BI=new ei("SELF_LOOP_POSTPROCESSOR",46),Hon=new ei("BREAKING_POINT_REMOVER",47),$I=new ei("NORTH_SOUTH_PORT_POSTPROCESSOR",48),rsn=new ei("HORIZONTAL_COMPACTOR",49),AI=new ei("LABEL_DUMMY_REMOVER",50),Yon=new ei("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),Jon=new ei("END_LABEL_SORTER",52),dj=new ei("REVERSED_EDGE_RESTORER",53),CI=new ei("END_LABEL_POSTPROCESSOR",54),Zon=new ei("HIERARCHICAL_NODE_RESIZER",55),Von=new ei("DIRECTION_POSTPROCESSOR",56)}function stn(){stn=R,mfn=(bk(),WI),iee=new Tn(iin,mfn),wee=new Tn(rin,(_n(),!1)),Mfn=(FT(),sH),kee=new Tn(lP,Mfn),$ee=new Tn(cin,!1),xee=new Tn(uin,!0),Ine=new Tn(oin,!1),Lfn=(ak(),qH),Qee=new Tn(sin,Lfn),Y(1),cte=new Tn(fin,Y(7)),ute=new Tn(hin,!1),gee=new Tn(lin,!1),pfn=(o1(),W_),tee=new Tn(fB,pfn),Sfn=(a1(),$H),Dee=new Tn(_y,Sfn),Tfn=(Yo(),jj),Cee=new Tn(ain,Tfn),Y(-1),Tee=new Tn(din,null),Y(-1),See=new Tn(bin,Y(-1)),Y(-1),Pee=new Tn(hB,Y(4)),Y(-1),Oee=new Tn(lB,Y(2)),Cfn=(ps(),SO),Nee=new Tn(aB,Cfn),Y(0),Lee=new Tn(dB,Y(0)),Eee=new Tn(bB,Y(et)),gfn=(i5(),N8),eee=new Tn(c8,gfn),Fne=new Tn(win,!1),Xne=new Tn(wB,.1),Zne=new Tn(gB,!1),Wne=new Tn(gin,null),Jne=new Tn(pin,null),Y(-1),Qne=new Tn(min,null),Y(-1),Yne=new Tn(vin,Y(-1)),Y(0),_ne=new Tn(kin,Y(40)),wfn=(Ym(),uH),Gne=new Tn(pB,wfn),bfn=pj,Hne=new Tn(aP,bfn),Afn=(E5(),X8),Jee=new Tn(c2,Afn),_ee=new lt(dP),Pfn=(ok(),QI),Ree=new Tn(mB,Pfn),Ifn=(Xk(),YI),Bee=new Tn(vB,Ifn),Uee=new Tn(kB,.3),zee=new lt(yB),Ofn=(c0(),CO),Xee=new Tn(jB,Ofn),yfn=(PC(),GH),see=new Tn(yin,yfn),jfn=(h5(),XH),fee=new Tn(jin,jfn),Efn=(u4(),J8),hee=new Tn(bP,Efn),aee=new Tn(wP,.2),uee=new Tn(EB,2),ete=new Tn(Ein,null),ite=new Tn(Min,10),tte=new Tn(Tin,10),rte=new Tn(Cin,20),Y(0),Yee=new Tn(Sin,Y(0)),Y(0),Zee=new Tn(Pin,Y(0)),Y(0),nte=new Tn(Iin,Y(0)),One=new Tn(MB,!1),hfn=(y4(),D8),Lne=new Tn(Oin,hfn),ffn=(QT(),X_),Ane=new Tn(Ain,ffn),mee=new Tn(gP,!1),Y(0),pee=new Tn(TB,Y(16)),Y(0),vee=new Tn(CB,Y(5)),$fn=(LC(),JH),Cte=new Tn(Al,$fn),ote=new Tn(pP,10),hte=new Tn(mP,1),Dfn=(bC(),VI),pte=new Tn(u8,Dfn),dte=new lt(SB),Nfn=Y(1),Y(0),wte=new Tn(PB,Nfn),xfn=(dC(),WH),Ote=new Tn(vP,xfn),Ste=new lt(kP),jte=new Tn(yP,!0),kte=new Tn(jP,2),Mte=new Tn(IB,!0),kfn=(vS(),JI),cee=new Tn(Lin,kfn),vfn=(Yp(),dv),ree=new Tn(Nin,vfn),dfn=(lh(),k1),Bne=new Tn(EP,dfn),Kne=new Tn(Din,!1),Rne=new Tn($in,!1),lfn=(dd(),A0),Nne=new Tn(OB,lfn),afn=(d5(),xH),xne=new Tn(xin,afn),Dne=new Tn(AB,0),$ne=new Tn(LB,0),jee=J_,yee=gj,Iee=MO,Aee=MO,Mee=DH,Vne=(jl(),T1),nee=N8,zne=N8,qne=N8,Une=T1,Hee=V8,qee=X8,Kee=X8,Fee=X8,Gee=FH,Wee=V8,Vee=V8,lee=(El(),x3),dee=x3,bee=J8,oee=Qj,ste=Ov,fte=G0,lte=Ov,ate=G0,mte=Ov,vte=G0,bte=V_,gte=VI,Ate=Ov,Lte=G0,Pte=Ov,Ite=G0,Ete=G0,yte=G0,Tte=G0}function YNe(n,e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt,Yu,Br,Ro,W2,L1,rf,cf,Xd,H3,Ba,q3,Oh,cl,Ew,U3,J2,Ah,Vd,Bl,Lse,kbn,Mw,F9,OU,G3,_9,ug,H9,AU,Nse;for(kbn=0,xe=e,Br=0,L1=xe.length;Br<L1;++Br)for(Kn=xe[Br],cl=new M(Kn.j);cl.a<cl.c.c.length;){for(Oh=u(E(cl),12),U3=0,f=new M(Oh.g);f.a<f.c.c.length;)s=u(E(f),18),Kn.c!=s.d.i.c&&++U3;U3>0&&(n.a[Oh.p]=kbn++)}for(_9=0,Nt=t,Ro=0,rf=Nt.length;Ro<rf;++Ro){for(Kn=Nt[Ro],cf=0,cl=new M(Kn.j);cl.a<cl.c.c.length&&(Oh=u(E(cl),12),Oh.j==(en(),Xn));)for(f=new M(Oh.e);f.a<f.c.c.length;)if(s=u(E(f),18),Kn.c!=s.c.i.c){++cf;break}for(H3=0,J2=new xi(Kn.j,Kn.j.c.length);J2.b>0;){for(Oh=(oe(J2.b>0),u(J2.a.Xb(J2.c=--J2.b),12)),U3=0,f=new M(Oh.e);f.a<f.c.c.length;)s=u(E(f),18),Kn.c!=s.c.i.c&&++U3;U3>0&&(Oh.j==(en(),Xn)?(n.a[Oh.p]=_9,++_9):(n.a[Oh.p]=_9+cf+H3,++H3))}_9+=H3}for(Ew=new de,m=new rh,te=e,Yu=0,W2=te.length;Yu<W2;++Yu)for(Kn=te[Yu],OU=new M(Kn.j);OU.a<OU.c.c.length;)for(F9=u(E(OU),12),f=new M(F9.g);f.a<f.c.c.length;)if(s=u(E(f),18),H9=s.d,Kn.c!=H9.i.c)if(Mw=u(Fr(wr(Ew.f,F9)),477),ug=u(Fr(wr(Ew.f,H9)),477),!Mw&&!ug)p=new USn,m.a.zc(p,m),nn(p.a,s),nn(p.d,F9),Vc(Ew.f,F9,p),nn(p.d,H9),Vc(Ew.f,H9,p);else if(!Mw)nn(ug.a,s),nn(ug.d,F9),Vc(Ew.f,F9,ug);else if(!ug)nn(Mw.a,s),nn(Mw.d,H9),Vc(Ew.f,H9,Mw);else if(Mw==ug)nn(Mw.a,s);else{for(nn(Mw.a,s),q3=new M(ug.d);q3.a<q3.c.c.length;)Ba=u(E(q3),12),Vc(Ew.f,Ba,Mw);hi(Mw.a,ug.a),hi(Mw.d,ug.d),m.a.Bc(ug)!=null}for(k=u(T5(m,F(jDe,{3:1,4:1,5:1,2045:1},477,m.a.gc(),0,1)),2045),Fn=e[0].c,Lse=t[0].c,a=k,d=0,g=a.length;d<g;++d)for(l=a[d],l.e=kbn,l.f=_9,cl=new M(l.d);cl.a<cl.c.c.length;)Oh=u(E(cl),12),Ah=n.a[Oh.p],Oh.i.c==Fn?(Ah<l.e&&(l.e=Ah),Ah>l.b&&(l.b=Ah)):Oh.i.c==Lse&&(Ah<l.f&&(l.f=Ah),Ah>l.c&&(l.c=Ah));for(xm(k,0,k.length,null),G3=F(ye,_e,28,k.length,15,1),i=F(ye,_e,28,_9+1,15,1),P=0;P<k.length;P++)G3[P]=k[P].f,i[G3[P]]=1;for(c=0,O=0;O<i.length;O++)i[O]==1?i[O]=c:--c;for(Vd=0,A=0;A<G3.length;A++)G3[A]+=i[G3[A]],Vd=y.Math.max(Vd,G3[A]+1);for(h=1;h<Vd;)h*=2;for(Nse=2*h-1,h-=1,AU=F(ye,_e,28,Nse,15,1),r=0,jn=0;jn<G3.length;jn++)for(tn=G3[jn]+h,++AU[tn];tn>0;)tn%2>0&&(r+=AU[tn+1]),tn=(tn-1)/2|0,++AU[tn];for(kn=F(Oie,Rn,374,k.length*2,0,1),D=0;D<k.length;D++)kn[2*D]=new ET(k[D],k[D].e,k[D].b,(Q6(),Z8)),kn[2*D+1]=new ET(k[D],k[D].b,k[D].e,Y8);for(xm(kn,0,kn.length,null),Xd=0,_=0;_<kn.length;_++)switch(kn[_].d.g){case 0:++Xd;break;case 1:--Xd,r+=Xd}for(Bl=F(Oie,Rn,374,k.length*2,0,1),X=0;X<k.length;X++)Bl[2*X]=new ET(k[X],k[X].f,k[X].c,(Q6(),Z8)),Bl[2*X+1]=new ET(k[X],k[X].c,k[X].f,Y8);for(xm(Bl,0,Bl.length,null),Xd=0,j=0;j<Bl.length;j++)switch(Bl[j].d.g){case 0:++Xd;break;case 1:--Xd,r+=Xd}return r}function nt(){nt=R,B9=new Wd(7),abn=new Dh(8,94),new Dh(8,64),dbn=new Dh(8,36),Ese=new Dh(8,65),Mse=new Dh(8,122),Tse=new Dh(8,90),Sse=new Dh(8,98),jse=new Dh(8,66),Cse=new Dh(8,60),Pse=new Dh(8,62),lbn=new Wd(11),IA=new yo(4),xc(IA,48,57),Uv=new yo(4),xc(Uv,48,57),xc(Uv,65,90),xc(Uv,95,95),xc(Uv,97,122),_3=new yo(4),xc(_3,9,9),xc(_3,10,10),xc(_3,12,12),xc(_3,13,13),xc(_3,32,32),bbn=b0(IA),gbn=b0(Uv),wbn=b0(_3),qv=new de,K9=new de,yse=S(C(fn,1),J,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),fbn=S(C(fn,1),J,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",WJn,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),hbn=S(C(ye,1),_e,28,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function VS(){VS=R,pYn=new Vo("OUT_T_L",0,(Uu(),Th),(bu(),Xs),(wf(),bc),bc,S(C(js,1),Rn,21,0,[yt((l0(),Zs),S(C(yr,1),G,95,0,[nf,Qs]))])),gYn=new Vo("OUT_T_C",1,ma,Xs,bc,Wc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[nf,xl])),yt(Zs,S(C(yr,1),G,95,0,[nf,xl,Ms]))])),mYn=new Vo("OUT_T_R",2,zs,Xs,bc,wc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[nf,Ys]))])),sYn=new Vo("OUT_B_L",3,Th,kf,wc,bc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Ts,Qs]))])),oYn=new Vo("OUT_B_C",4,ma,kf,wc,Wc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Ts,xl])),yt(Zs,S(C(yr,1),G,95,0,[Ts,xl,Ms]))])),fYn=new Vo("OUT_B_R",5,zs,kf,wc,wc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Ts,Ys]))])),aYn=new Vo("OUT_L_T",6,zs,kf,bc,bc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Qs,nf,Ms]))])),lYn=new Vo("OUT_L_C",7,zs,va,Wc,bc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Qs,el])),yt(Zs,S(C(yr,1),G,95,0,[Qs,el,Ms]))])),hYn=new Vo("OUT_L_B",8,zs,Xs,wc,bc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Qs,Ts,Ms]))])),wYn=new Vo("OUT_R_T",9,Th,kf,bc,wc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Ys,nf,Ms]))])),bYn=new Vo("OUT_R_C",10,Th,va,Wc,wc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Ys,el])),yt(Zs,S(C(yr,1),G,95,0,[Ys,el,Ms]))])),dYn=new Vo("OUT_R_B",11,Th,Xs,wc,wc,S(C(js,1),Rn,21,0,[yt(Zs,S(C(yr,1),G,95,0,[Ys,Ts,Ms]))])),cYn=new Vo("IN_T_L",12,Th,kf,bc,bc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[nf,Qs])),yt(No,S(C(yr,1),G,95,0,[nf,Qs,Ms]))])),rYn=new Vo("IN_T_C",13,ma,kf,bc,Wc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[nf,xl])),yt(No,S(C(yr,1),G,95,0,[nf,xl,Ms]))])),uYn=new Vo("IN_T_R",14,zs,kf,bc,wc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[nf,Ys])),yt(No,S(C(yr,1),G,95,0,[nf,Ys,Ms]))])),tYn=new Vo("IN_C_L",15,Th,va,Wc,bc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[el,Qs])),yt(No,S(C(yr,1),G,95,0,[el,Qs,Ms]))])),eYn=new Vo("IN_C_C",16,ma,va,Wc,Wc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[el,xl])),yt(No,S(C(yr,1),G,95,0,[el,xl,Ms]))])),iYn=new Vo("IN_C_R",17,zs,va,Wc,wc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[el,Ys])),yt(No,S(C(yr,1),G,95,0,[el,Ys,Ms]))])),ZQn=new Vo("IN_B_L",18,Th,Xs,wc,bc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[Ts,Qs])),yt(No,S(C(yr,1),G,95,0,[Ts,Qs,Ms]))])),YQn=new Vo("IN_B_C",19,ma,Xs,wc,Wc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[Ts,xl])),yt(No,S(C(yr,1),G,95,0,[Ts,xl,Ms]))])),nYn=new Vo("IN_B_R",20,zs,Xs,wc,wc,S(C(js,1),Rn,21,0,[yt(No,S(C(yr,1),G,95,0,[Ts,Ys])),yt(No,S(C(yr,1),G,95,0,[Ts,Ys,Ms]))])),h_=new Vo(Y5,21,null,null,null,null,S(C(js,1),Rn,21,0,[]))}function An(){An=R,tg=(z1(),Hn).b,u(N(H(Hn.b),0),35),u(N(H(Hn.b),1),19),S1=Hn.a,u(N(H(Hn.a),0),35),u(N(H(Hn.a),1),19),u(N(H(Hn.a),2),19),u(N(H(Hn.a),3),19),u(N(H(Hn.a),4),19),Da=Hn.o,u(N(H(Hn.o),0),35),u(N(H(Hn.o),1),35),_oe=u(N(H(Hn.o),2),19),u(N(H(Hn.o),3),19),u(N(H(Hn.o),4),19),u(N(H(Hn.o),5),19),u(N(H(Hn.o),6),19),u(N(H(Hn.o),7),19),u(N(H(Hn.o),8),19),u(N(H(Hn.o),9),19),u(N(H(Hn.o),10),19),u(N(H(Hn.o),11),19),u(N(H(Hn.o),12),19),u(N(H(Hn.o),13),19),u(N(H(Hn.o),14),19),u(N(H(Hn.o),15),19),u(N(ft(Hn.o),0),62),u(N(ft(Hn.o),1),62),u(N(ft(Hn.o),2),62),u(N(ft(Hn.o),3),62),u(N(ft(Hn.o),4),62),u(N(ft(Hn.o),5),62),u(N(ft(Hn.o),6),62),u(N(ft(Hn.o),7),62),u(N(ft(Hn.o),8),62),u(N(ft(Hn.o),9),62),Foe=Hn.p,u(N(H(Hn.p),0),35),u(N(H(Hn.p),1),35),u(N(H(Hn.p),2),35),u(N(H(Hn.p),3),35),u(N(H(Hn.p),4),19),u(N(H(Hn.p),5),19),u(N(ft(Hn.p),0),62),u(N(ft(Hn.p),1),62),Hoe=Hn.q,u(N(H(Hn.q),0),35),$a=Hn.v,u(N(H(Hn.v),0),19),u(N(ft(Hn.v),0),62),u(N(ft(Hn.v),1),62),u(N(ft(Hn.v),2),62),P1=Hn.w,u(N(H(Hn.w),0),35),u(N(H(Hn.w),1),35),u(N(H(Hn.w),2),35),u(N(H(Hn.w),3),19),xa=Hn.B,u(N(H(Hn.B),0),19),u(N(ft(Hn.B),0),62),u(N(ft(Hn.B),1),62),u(N(ft(Hn.B),2),62),qoe=Hn.Q,u(N(H(Hn.Q),0),19),u(N(ft(Hn.Q),0),62),Uoe=Hn.R,u(N(H(Hn.R),0),35),Os=Hn.S,u(N(ft(Hn.S),0),62),u(N(ft(Hn.S),1),62),u(N(ft(Hn.S),2),62),u(N(ft(Hn.S),3),62),u(N(ft(Hn.S),4),62),u(N(ft(Hn.S),5),62),u(N(ft(Hn.S),6),62),u(N(ft(Hn.S),7),62),u(N(ft(Hn.S),8),62),u(N(ft(Hn.S),9),62),u(N(ft(Hn.S),10),62),u(N(ft(Hn.S),11),62),u(N(ft(Hn.S),12),62),u(N(ft(Hn.S),13),62),u(N(ft(Hn.S),14),62),I1=Hn.T,u(N(H(Hn.T),0),19),u(N(H(Hn.T),2),19),Goe=u(N(H(Hn.T),3),19),u(N(H(Hn.T),4),19),u(N(ft(Hn.T),0),62),u(N(ft(Hn.T),1),62),u(N(H(Hn.T),1),19),O1=Hn.U,u(N(H(Hn.U),0),35),u(N(H(Hn.U),1),35),u(N(H(Hn.U),2),19),u(N(H(Hn.U),3),19),u(N(H(Hn.U),4),19),u(N(H(Hn.U),5),19),u(N(ft(Hn.U),0),62),ig=Hn.V,u(N(H(Hn.V),0),19),U2=Hn.W,u(N(H(Hn.W),0),35),u(N(H(Hn.W),1),35),u(N(H(Hn.W),2),35),u(N(H(Hn.W),3),19),u(N(H(Hn.W),4),19),u(N(H(Hn.W),5),19),zoe=Hn.bb,u(N(H(Hn.bb),0),35),u(N(H(Hn.bb),1),35),u(N(H(Hn.bb),2),35),u(N(H(Hn.bb),3),35),u(N(H(Hn.bb),4),35),u(N(H(Hn.bb),5),35),u(N(H(Hn.bb),6),35),u(N(H(Hn.bb),7),19),u(N(ft(Hn.bb),0),62),u(N(ft(Hn.bb),1),62),Xoe=Hn.eb,u(N(H(Hn.eb),0),35),u(N(H(Hn.eb),1),35),u(N(H(Hn.eb),2),35),u(N(H(Hn.eb),3),35),u(N(H(Hn.eb),4),35),u(N(H(Hn.eb),5),35),u(N(H(Hn.eb),6),19),u(N(H(Hn.eb),7),19),ar=Hn.ab,u(N(H(Hn.ab),0),35),u(N(H(Hn.ab),1),35),kw=Hn.H,u(N(H(Hn.H),0),19),u(N(H(Hn.H),1),19),u(N(H(Hn.H),2),19),u(N(H(Hn.H),3),19),u(N(H(Hn.H),4),19),u(N(H(Hn.H),5),19),u(N(ft(Hn.H),0),62),yw=Hn.db,u(N(H(Hn.db),0),19),Zf=Hn.M}function ZNe(n){var e;n.O||(n.O=!0,zc(n,"type"),MC(n,"ecore.xml.type"),TC(n,Pd),e=u(M4((F1(),Is),Pd),2044),ve(Hr(n.fb),n.b),fc(n.b,dE,"AnyType",!1,!1,!0),Gt(u(N(H(n.b),0),35),n.wb.D,Wy,null,0,-1,dE,!1,!1,!0,!1,!1,!1),Gt(u(N(H(n.b),1),35),n.wb.D,"any",null,0,-1,dE,!0,!0,!0,!1,!1,!0),Gt(u(N(H(n.b),2),35),n.wb.D,"anyAttribute",null,0,-1,dE,!1,!1,!0,!1,!1,!1),fc(n.bb,SA,OJn,!1,!1,!0),Gt(u(N(H(n.bb),0),35),n.gb,"data",null,0,1,SA,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.bb),1),35),n.gb,Lcn,null,1,1,SA,!1,!1,!0,!1,!0,!1),fc(n.fb,bE,AJn,!1,!1,!0),Gt(u(N(H(n.fb),0),35),e.gb,"rawValue",null,0,1,bE,!0,!0,!0,!1,!0,!0),Gt(u(N(H(n.fb),1),35),e.a,b8,null,0,1,bE,!0,!0,!0,!1,!0,!0),Et(u(N(H(n.fb),2),19),n.wb.q,null,"instanceType",1,1,bE,!1,!1,!0,!1,!1,!1,!1),fc(n.qb,cbn,LJn,!1,!1,!0),Gt(u(N(H(n.qb),0),35),n.wb.D,Wy,null,0,-1,null,!1,!1,!0,!1,!1,!1),Et(u(N(H(n.qb),1),19),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.qb),2),19),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Gt(u(N(H(n.qb),3),35),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),Gt(u(N(H(n.qb),4),35),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Et(u(N(H(n.qb),5),19),n.bb,null,GJn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),Gt(u(N(H(n.qb),6),35),n.gb,wF,null,0,-2,null,!0,!0,!0,!1,!1,!0),We(n.a,ki,"AnySimpleType",!0),We(n.c,fn,"AnyURI",!0),We(n.d,C(Ru,1),"Base64Binary",!0),We(n.e,so,"Boolean",!0),We(n.f,zt,"BooleanObject",!0),We(n.g,Ru,"Byte",!0),We(n.i,p3,"ByteObject",!0),We(n.j,fn,"Date",!0),We(n.k,fn,"DateTime",!0),We(n.n,JF,"Decimal",!0),We(n.o,Ii,"Double",!0),We(n.p,si,"DoubleObject",!0),We(n.q,fn,"Duration",!0),We(n.s,rs,"ENTITIES",!0),We(n.r,rs,"ENTITIESBase",!0),We(n.t,fn,Vcn,!0),We(n.u,cg,"Float",!0),We(n.v,ov,"FloatObject",!0),We(n.w,fn,"GDay",!0),We(n.B,fn,"GMonth",!0),We(n.A,fn,"GMonthDay",!0),We(n.C,fn,"GYear",!0),We(n.D,fn,"GYearMonth",!0),We(n.F,C(Ru,1),"HexBinary",!0),We(n.G,fn,"ID",!0),We(n.H,fn,"IDREF",!0),We(n.J,rs,"IDREFS",!0),We(n.I,rs,"IDREFSBase",!0),We(n.K,ye,"Int",!0),We(n.M,l2,"Integer",!0),We(n.L,Gi,"IntObject",!0),We(n.P,fn,"Language",!0),We(n.Q,Ka,"Long",!0),We(n.R,nw,"LongObject",!0),We(n.S,fn,"Name",!0),We(n.T,fn,tI,!0),We(n.U,l2,"NegativeInteger",!0),We(n.V,fn,Qcn,!0),We(n.X,rs,"NMTOKENS",!0),We(n.W,rs,"NMTOKENSBase",!0),We(n.Y,l2,"NonNegativeInteger",!0),We(n.Z,l2,"NonPositiveInteger",!0),We(n.$,fn,"NormalizedString",!0),We(n._,fn,"NOTATION",!0),We(n.ab,fn,"PositiveInteger",!0),We(n.cb,fn,"QName",!0),We(n.db,V2,"Short",!0),We(n.eb,ew,"ShortObject",!0),We(n.gb,fn,wtn,!0),We(n.hb,fn,"Time",!0),We(n.ib,fn,"Token",!0),We(n.jb,V2,"UnsignedByte",!0),We(n.kb,ew,"UnsignedByteObject",!0),We(n.lb,Ka,"UnsignedInt",!0),We(n.mb,nw,"UnsignedIntObject",!0),We(n.nb,l2,"UnsignedLong",!0),We(n.ob,ye,"UnsignedShort",!0),We(n.pb,Gi,"UnsignedShortObject",!0),wY(n,Pd),nDe(n))}function ftn(n,e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn,Kn,te,xe,Nt,Yu,Br,Ro,W2,L1,rf,cf,Xd,H3,Ba,q3,Oh,cl,Ew,U3,J2,Ah,Vd,Bl;if(i.$g()||on(un(z(e,(He(),tA)))))return Ln(),Ln(),sr;if(tn=(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i!=0,kn=wEe(e),jn=!kn.dc(),tn||jn){if(r=u(z(e,q2),143),!r)throw T(new _l("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(J2=aX(r,(E4(),mA)),nBn(e),!tn&&jn&&!J2)return Ln(),Ln(),sr;if(A=new Z,x(z(e,B2))===x((jl(),T1))&&(aX(r,gA)||aX(r,wA))){if(on(un(z(e,v9))))throw T(new _l("Topdown layout cannot be used together with hierarchy handling."));for(W2=zqn(n,e),L1=new Mt,Ki(L1,(!e.a&&(e.a=new q(Ye,e,10,11)),e.a));L1.b!=0;)Br=u(L1.b==0?null:(oe(L1.b!=0),Xo(L1,L1.a.a)),27),nBn(Br),U3=x(z(Br,B2))===x(j9),U3||Nf(Br,Dv)&&!PJ(r,z(Br,q2))?(j=ftn(n,Br,t,i),hi(A,j),ht(Br,B2,j9),fUn(Br)):Ki(L1,(!Br.a&&(Br.a=new q(Ye,Br,10,11)),Br.a))}else{if(W2=(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i,on(un(z(e,v9)))){if(Ah=i.eh(1),Ah.Ug(AVn,1),z(e,$3)==null)throw T(new _l(e.k+" has not been assigned a top-down node type."));if(u(z(e,$3),280)==(Gp(),Y0)||u(z(e,$3),280)==aA)for(O=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));O.e!=O.i.gc();)P=u(ue(O),27),Yu=u(z(P,q2),143),(!P.a&&(P.a=new q(Ye,P,10,11)),P.a).i>0&&z7(Yu.f),z(P,Qan)!=null&&(f=u(z(P,Qan),347),Ew=f.Tg(P),kg(P,y.Math.max(P.g,Ew.a),y.Math.max(P.f,Ew.b)));if(rf=u(z(e,M1),107),p=e.g-(rf.b+rf.c),g=e.f-(rf.d+rf.a),Ah.bh("Available Child Area: ("+p+"|"+g+")"),ht(e,x2,p/g),rBn(e,r,i.eh(W2)),u(z(e,$3),280)==aA&&(rtn(e),kg(e,rf.b+$(B(z(e,K2)))+rf.c,rf.d+$(B(z(e,R2)))+rf.a)),Ah.bh("Executed layout algorithm: "+Ae(z(e,Dv))+" on node "+e.k),u(z(e,$3),280)==Y0){if(p<0||g<0)throw T(new _l("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+e.k));for(Nf(e,K2)||Nf(e,R2)||rtn(e),k=$(B(z(e,K2))),m=$(B(z(e,R2))),Ah.bh("Desired Child Area: ("+k+"|"+m+")"),Xd=p/k,H3=g/m,cf=y.Math.min(Xd,y.Math.min(H3,$(B(z(e,Hue))))),ht(e,cA,cf),Ah.bh(e.k+" -- Local Scale Factor (X|Y): ("+Xd+"|"+H3+")"),D=u(z(e,Uj),21),c=0,s=0,cf<Xd&&(D.Hc((wd(),b9))?c=(p/2-k*cf/2)/cf:D.Hc(w9)&&(c=(p-k*cf)/cf)),cf<H3&&(D.Hc((wd(),p9))?s=(g/2-m*cf/2)/cf:D.Hc(g9)&&(s=(g-m*cf)/cf)),Vd=c+(rf.b/cf-rf.b),Bl=s+(rf.d/cf-rf.d),Ah.bh("Shift: ("+Vd+"|"+Bl+")"),Ro=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));Ro.e!=Ro.i.gc();)Br=u(ue(Ro),27),eu(Br,Br.i+Vd),tu(Br,Br.j+Bl);for(X=new ne((!e.b&&(e.b=new q(Vt,e,12,3)),e.b));X.e!=X.i.gc();){for(_=u(ue(X),74),q3=new ne((!_.a&&(_.a=new q(Tt,_,6,6)),_.a));q3.e!=q3.i.gc();)for(Ba=u(ue(q3),166),j7(Ba,Ba.j+Vd,Ba.k+Bl),y7(Ba,Ba.b+Vd,Ba.c+Bl),l=new ne((!Ba.a&&(Ba.a=new ti(xo,Ba,5)),Ba.a));l.e!=l.i.gc();)h=u(ue(l),377),gN(h,h.a+Vd,h.b+Bl);for(Nt=new ne((!_.n&&(_.n=new q(Sr,_,1,7)),_.n));Nt.e!=Nt.i.gc();)xe=u(ue(Nt),135),Bo(xe,xe.i+Vd,xe.j+Bl);for(te=u(z(_,mw),75),Kn=ge(te,0);Kn.b!=Kn.d.c;)Fn=u(be(Kn),8),Fn.a+=Vd,Fn.b+=Bl;ht(_,mw,te)}}Ah.Vg()}for(d=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));d.e!=d.i.gc();)a=u(ue(d),27),j=ftn(n,a,t,i),hi(A,j),fUn(a)}if(i.$g())return Ln(),Ln(),sr;for(cl=new M(A);cl.a<cl.c.c.length;)Oh=u(E(cl),74),ht(Oh,tA,(_n(),!0));return on(un(z(e,v9)))||rBn(e,r,i.eh(W2)),BPe(A),jn&&J2?kn:(Ln(),Ln(),sr)}else return Ln(),Ln(),sr}function Zg(n,e){var t,i;return X2||(X2=new de,Hv=new de,i=(nt(),nt(),new yo(4)),Kk(i,`
\r\r `),Lr(X2,DF,i),Lr(Hv,DF,b0(i)),i=new yo(4),Kk(i,XJn),Lr(X2,E8,i),Lr(Hv,E8,b0(i)),i=new yo(4),Kk(i,XJn),Lr(X2,E8,i),Lr(Hv,E8,b0(i)),i=new yo(4),Kk(i,VJn),g0(i,u(Dc(X2,E8),122)),Lr(X2,NF,i),Lr(Hv,NF,b0(i)),i=new yo(4),Kk(i,"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Lr(X2,$F,i),Lr(Hv,$F,b0(i)),i=new yo(4),Kk(i,VJn),xc(i,95,95),xc(i,58,58),Lr(X2,xF,i),Lr(Hv,xF,b0(i))),t=u(Dc(e?X2:Hv,n),138),t}function Mzn(n){ib(n,new gd(kz(qE(nb(Qd(Zd(Yd(new Fa,Yn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new qpn),Yn),yt((E4(),mU),S(C(kA,1),G,245,0,[mA,vA,pA,pU,gA,wA]))))),Q(n,Yn,Hin,rn(PH)),Q(n,Yn,qin,rn(whn)),Q(n,Yn,WK,rn(Tj)),Q(n,Yn,Uin,rn(Ws)),Q(n,Yn,eB,rn(C2)),Q(n,Yn,$B,rn(dw)),Q(n,Yn,Gin,rn(q0)),Q(n,Yn,zin,rn(Cv)),Q(n,Yn,Xin,rn(Sv)),Q(n,Yn,Vin,rn(IH)),Q(n,Yn,y0,rn(bw)),Q(n,Yn,Win,rn(OH)),Q(n,Yn,Jin,rn(G8)),Q(n,Yn,Qin,rn(yO)),Q(n,Yn,Ein,rn(Mj)),Q(n,Yn,Tin,rn(T2)),Q(n,Yn,Min,rn(Kd)),Q(n,Yn,Cin,rn(S2)),Q(n,Yn,Ny,Y(0)),Q(n,Yn,Sin,rn(Tv)),Q(n,Yn,Pin,rn(bhn)),Q(n,Yn,Iin,rn(O3)),Q(n,Yn,Al,rn(Mhn)),Q(n,Yn,pP,rn(phn)),Q(n,Yn,mP,rn(mhn)),Q(n,Yn,u8,rn(LH)),Q(n,Yn,SB,rn(vhn)),Q(n,Yn,PB,rn(khn)),Q(n,Yn,vP,rn(jO)),Q(n,Yn,kP,rn(NH)),Q(n,Yn,yP,rn(jhn)),Q(n,Yn,jP,rn(yhn)),Q(n,Yn,IB,rn(Ehn)),Q(n,Yn,yB,rn(lw)),Q(n,Yn,jB,rn(U8)),Q(n,Yn,bP,rn(MH)),Q(n,Yn,wP,rn(Xfn)),Q(n,Yn,Dy,rn(Vte)),Q(n,Yn,$y,rn(Wte)),Q(n,Yn,xy,rn(Xte)),Q(n,Yn,Ry,rn(zte)),Q(n,Yn,Vb,ghn),Q(n,Yn,Xb,fhn),Q(n,Yn,Hy,Ufn),Q(n,Yn,Yin,0),Q(n,Yn,uP,Y(1)),Q(n,Yn,l3,U4),Q(n,Yn,Zin,rn(Rd)),Q(n,Yn,tB,rn(_t)),Q(n,Yn,nrn,rn(Mv)),Q(n,Yn,qy,rn(xte)),Q(n,Yn,ern,rn(Ch)),Q(n,Yn,MP,rn(K0)),Q(n,Yn,n8,(_n(),!0)),Q(n,Yn,trn,rn(B0)),Q(n,Yn,irn,rn(Dd)),Q(n,Yn,r2,rn(xd)),Q(n,Yn,a3,rn(kO)),Q(n,Yn,G4,rn(SH)),Q(n,Yn,xB,qfn),Q(n,Yn,z4,rn(hw)),Q(n,Yn,rrn,rn(mO)),Q(n,Yn,X4,rn(_0)),Q(n,Yn,crn,rn(Hte)),Q(n,Yn,urn,rn(ahn)),Q(n,Yn,orn,lhn),Q(n,Yn,srn,rn(Bte)),Q(n,Yn,frn,rn(Fte)),Q(n,Yn,hrn,rn(_te)),Q(n,Yn,lrn,rn(Kte)),Q(n,Yn,hin,rn(AH)),Q(n,Yn,_y,rn($d)),Q(n,Yn,aB,rn(Ea)),Q(n,Yn,fin,rn(z8)),Q(n,Yn,ain,rn(ou)),Q(n,Yn,fB,rn(Nd)),Q(n,Yn,c8,rn(H8)),Q(n,Yn,win,rn(fw)),Q(n,Yn,kin,rn(Ffn)),Q(n,Yn,pB,rn(kH)),Q(n,Yn,aP,rn(Ej)),Q(n,Yn,gB,rn(yH)),Q(n,Yn,cin,rn(rhn)),Q(n,Yn,uin,rn(chn)),Q(n,Yn,lP,rn(Zfn)),Q(n,Yn,c2,rn(vO)),Q(n,Yn,vB,rn(CH)),Q(n,Yn,rin,rn(TH)),Q(n,Yn,kB,rn(ohn)),Q(n,Yn,yin,rn(zfn)),Q(n,Yn,jin,rn(EH)),Q(n,Yn,TP,rn(vH)),Q(n,Yn,mB,rn(uhn)),Q(n,Yn,Oin,rn(fO)),Q(n,Yn,Ain,rn(Rfn)),Q(n,Yn,MB,rn(sO)),Q(n,Yn,gP,rn(Jfn)),Q(n,Yn,TB,rn(Wfn)),Q(n,Yn,CB,rn(Qfn)),Q(n,Yn,d3,rn(jv)),Q(n,Yn,arn,rn(Rr)),Q(n,Yn,JK,rn(m1)),Q(n,Yn,drn,rn(Sh)),Q(n,Yn,oP,rn(jH)),Q(n,Yn,wB,rn(_fn)),Q(n,Yn,brn,rn(v1)),Q(n,Yn,wrn,rn(_8)),Q(n,Yn,grn,rn(wO)),Q(n,Yn,prn,rn(aw)),Q(n,Yn,RB,rn(hhn)),Q(n,Yn,KB,rn(Ev)),Q(n,Yn,hB,rn(ehn)),Q(n,Yn,lB,rn(thn)),Q(n,Yn,CP,rn(H0)),Q(n,Yn,oin,rn(pH)),Q(n,Yn,dB,rn(ihn)),Q(n,Yn,Lin,rn(bO)),Q(n,Yn,Nin,rn(dO)),Q(n,Yn,mrn,rn(pO)),Q(n,Yn,bB,rn(nhn)),Q(n,Yn,dP,rn(q8)),Q(n,Yn,vrn,rn(Cj)),Q(n,Yn,iin,rn(Hfn)),Q(n,Yn,sin,rn(dhn)),Q(n,Yn,EB,rn(Gfn)),Q(n,Yn,gin,rn(Nte)),Q(n,Yn,pin,rn(Dte)),Q(n,Yn,din,rn(Rte)),Q(n,Yn,min,rn($te)),Q(n,Yn,SP,rn(Yfn)),Q(n,Yn,bin,rn(gO)),Q(n,Yn,vin,rn(aO)),Q(n,Yn,EP,rn(Yh)),Q(n,Yn,xin,rn(Bfn)),Q(n,Yn,AB,rn(hO)),Q(n,Yn,LB,rn(Kfn)),Q(n,Yn,$in,rn(lO)),Q(n,Yn,OB,rn(R0)),Q(n,Yn,Din,rn(mH)),Q(n,Yn,lin,rn(Vfn))}function nDe(n){Te(n.a,Ke,S(C(fn,1),J,2,6,[Qe,"anySimpleType"])),Te(n.b,Ke,S(C(fn,1),J,2,6,[Qe,"anyType",vs,Wy])),Te(u(N(H(n.b),0),35),Ke,S(C(fn,1),J,2,6,[vs,PF,Qe,":mixed"])),Te(u(N(H(n.b),1),35),Ke,S(C(fn,1),J,2,6,[vs,PF,zcn,OF,Qe,":1",NJn,"lax"])),Te(u(N(H(n.b),2),35),Ke,S(C(fn,1),J,2,6,[vs,IJn,zcn,OF,Qe,":2",NJn,"lax"])),Te(n.c,Ke,S(C(fn,1),J,2,6,[Qe,"anyURI",ys,vf])),Te(n.d,Ke,S(C(fn,1),J,2,6,[Qe,"base64Binary",ys,vf])),Te(n.e,Ke,S(C(fn,1),J,2,6,[Qe,i3,ys,vf])),Te(n.f,Ke,S(C(fn,1),J,2,6,[Qe,"boolean:Object",Ji,i3])),Te(n.g,Ke,S(C(fn,1),J,2,6,[Qe,g8])),Te(n.i,Ke,S(C(fn,1),J,2,6,[Qe,"byte:Object",Ji,g8])),Te(n.j,Ke,S(C(fn,1),J,2,6,[Qe,"date",ys,vf])),Te(n.k,Ke,S(C(fn,1),J,2,6,[Qe,"dateTime",ys,vf])),Te(n.n,Ke,S(C(fn,1),J,2,6,[Qe,"decimal",ys,vf])),Te(n.o,Ke,S(C(fn,1),J,2,6,[Qe,p8,ys,vf])),Te(n.p,Ke,S(C(fn,1),J,2,6,[Qe,"double:Object",Ji,p8])),Te(n.q,Ke,S(C(fn,1),J,2,6,[Qe,"duration",ys,vf])),Te(n.s,Ke,S(C(fn,1),J,2,6,[Qe,"ENTITIES",Ji,DJn,Xcn,"1"])),Te(n.r,Ke,S(C(fn,1),J,2,6,[Qe,DJn,IF,Vcn])),Te(n.t,Ke,S(C(fn,1),J,2,6,[Qe,Vcn,Ji,tI])),Te(n.u,Ke,S(C(fn,1),J,2,6,[Qe,m8,ys,vf])),Te(n.v,Ke,S(C(fn,1),J,2,6,[Qe,"float:Object",Ji,m8])),Te(n.w,Ke,S(C(fn,1),J,2,6,[Qe,"gDay",ys,vf])),Te(n.B,Ke,S(C(fn,1),J,2,6,[Qe,"gMonth",ys,vf])),Te(n.A,Ke,S(C(fn,1),J,2,6,[Qe,"gMonthDay",ys,vf])),Te(n.C,Ke,S(C(fn,1),J,2,6,[Qe,"gYear",ys,vf])),Te(n.D,Ke,S(C(fn,1),J,2,6,[Qe,"gYearMonth",ys,vf])),Te(n.F,Ke,S(C(fn,1),J,2,6,[Qe,"hexBinary",ys,vf])),Te(n.G,Ke,S(C(fn,1),J,2,6,[Qe,"ID",Ji,tI])),Te(n.H,Ke,S(C(fn,1),J,2,6,[Qe,"IDREF",Ji,tI])),Te(n.J,Ke,S(C(fn,1),J,2,6,[Qe,"IDREFS",Ji,$Jn,Xcn,"1"])),Te(n.I,Ke,S(C(fn,1),J,2,6,[Qe,$Jn,IF,"IDREF"])),Te(n.K,Ke,S(C(fn,1),J,2,6,[Qe,v8])),Te(n.M,Ke,S(C(fn,1),J,2,6,[Qe,Wcn])),Te(n.L,Ke,S(C(fn,1),J,2,6,[Qe,"int:Object",Ji,v8])),Te(n.P,Ke,S(C(fn,1),J,2,6,[Qe,"language",Ji,AF,LF,xJn])),Te(n.Q,Ke,S(C(fn,1),J,2,6,[Qe,k8])),Te(n.R,Ke,S(C(fn,1),J,2,6,[Qe,"long:Object",Ji,k8])),Te(n.S,Ke,S(C(fn,1),J,2,6,[Qe,"Name",Ji,AF,LF,Jcn])),Te(n.T,Ke,S(C(fn,1),J,2,6,[Qe,tI,Ji,"Name",LF,RJn])),Te(n.U,Ke,S(C(fn,1),J,2,6,[Qe,"negativeInteger",Ji,KJn,nj,"-1"])),Te(n.V,Ke,S(C(fn,1),J,2,6,[Qe,Qcn,Ji,AF,LF,"\\c+"])),Te(n.X,Ke,S(C(fn,1),J,2,6,[Qe,"NMTOKENS",Ji,BJn,Xcn,"1"])),Te(n.W,Ke,S(C(fn,1),J,2,6,[Qe,BJn,IF,Qcn])),Te(n.Y,Ke,S(C(fn,1),J,2,6,[Qe,Ycn,Ji,Wcn,ej,"0"])),Te(n.Z,Ke,S(C(fn,1),J,2,6,[Qe,KJn,Ji,Wcn,nj,"0"])),Te(n.$,Ke,S(C(fn,1),J,2,6,[Qe,FJn,Ji,nK,ys,"replace"])),Te(n._,Ke,S(C(fn,1),J,2,6,[Qe,"NOTATION",ys,vf])),Te(n.ab,Ke,S(C(fn,1),J,2,6,[Qe,"positiveInteger",Ji,Ycn,ej,"1"])),Te(n.bb,Ke,S(C(fn,1),J,2,6,[Qe,"processingInstruction_._type",vs,"empty"])),Te(u(N(H(n.bb),0),35),Ke,S(C(fn,1),J,2,6,[vs,YP,Qe,"data"])),Te(u(N(H(n.bb),1),35),Ke,S(C(fn,1),J,2,6,[vs,YP,Qe,Lcn])),Te(n.cb,Ke,S(C(fn,1),J,2,6,[Qe,"QName",ys,vf])),Te(n.db,Ke,S(C(fn,1),J,2,6,[Qe,y8])),Te(n.eb,Ke,S(C(fn,1),J,2,6,[Qe,"short:Object",Ji,y8])),Te(n.fb,Ke,S(C(fn,1),J,2,6,[Qe,"simpleAnyType",vs,Jy])),Te(u(N(H(n.fb),0),35),Ke,S(C(fn,1),J,2,6,[Qe,":3",vs,Jy])),Te(u(N(H(n.fb),1),35),Ke,S(C(fn,1),J,2,6,[Qe,":4",vs,Jy])),Te(u(N(H(n.fb),2),19),Ke,S(C(fn,1),J,2,6,[Qe,":5",vs,Jy])),Te(n.gb,Ke,S(C(fn,1),J,2,6,[Qe,nK,ys,"preserve"])),Te(n.hb,Ke,S(C(fn,1),J,2,6,[Qe,"time",ys,vf])),Te(n.ib,Ke,S(C(fn,1),J,2,6,[Qe,AF,Ji,FJn,ys,vf])),Te(n.jb,Ke,S(C(fn,1),J,2,6,[Qe,_Jn,nj,"255",ej,"0"])),Te(n.kb,Ke,S(C(fn,1),J,2,6,[Qe,"unsignedByte:Object",Ji,_Jn])),Te(n.lb,Ke,S(C(fn,1),J,2,6,[Qe,HJn,nj,"4294967295",ej,"0"])),Te(n.mb,Ke,S(C(fn,1),J,2,6,[Qe,"unsignedInt:Object",Ji,HJn])),Te(n.nb,Ke,S(C(fn,1),J,2,6,[Qe,"unsignedLong",Ji,Ycn,nj,qJn,ej,"0"])),Te(n.ob,Ke,S(C(fn,1),J,2,6,[Qe,UJn,nj,"65535",ej,"0"])),Te(n.pb,Ke,S(C(fn,1),J,2,6,[Qe,"unsignedShort:Object",Ji,UJn])),Te(n.qb,Ke,S(C(fn,1),J,2,6,[Qe,"",vs,Wy])),Te(u(N(H(n.qb),0),35),Ke,S(C(fn,1),J,2,6,[vs,PF,Qe,":mixed"])),Te(u(N(H(n.qb),1),19),Ke,S(C(fn,1),J,2,6,[vs,YP,Qe,"xmlns:prefix"])),Te(u(N(H(n.qb),2),19),Ke,S(C(fn,1),J,2,6,[vs,YP,Qe,"xsi:schemaLocation"])),Te(u(N(H(n.qb),3),35),Ke,S(C(fn,1),J,2,6,[vs,ZP,Qe,"cDATA",nI,Qy])),Te(u(N(H(n.qb),4),35),Ke,S(C(fn,1),J,2,6,[vs,ZP,Qe,"comment",nI,Qy])),Te(u(N(H(n.qb),5),19),Ke,S(C(fn,1),J,2,6,[vs,ZP,Qe,GJn,nI,Qy])),Te(u(N(H(n.qb),6),35),Ke,S(C(fn,1),J,2,6,[vs,ZP,Qe,wF,nI,Qy]))}function $e(n){return Sn("_UI_EMFDiagnostic_marker",n)?"EMF Problem":Sn("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":Sn(SWn,n)?"Wrong character.":Sn(PWn,n)?"Invalid reference number.":Sn(qP,n)?"A character is required after \\.":Sn(jF,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":Sn(IWn,n)?"'(?<' or '(?<!' is expected.":Sn(OWn,n)?"A comment is not terminated.":Sn(Sd,n)?"')' is expected.":Sn(Ncn,n)?"Unexpected end of the pattern in a modifier group.":Sn(AWn,n)?"':' is expected.":Sn(LWn,n)?"Unexpected end of the pattern in a conditional group.":Sn(NWn,n)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":Sn(DWn,n)?"There are more than three choices in a conditional group.":Sn($Wn,n)?"A character in U+0040-U+005f must follow \\c.":Sn(xWn,n)?"A '{' is required before a character category.":Sn(RWn,n)?"A property name is not closed by '}'.":Sn(Dcn,n)?"Unexpected meta character.":Sn(EF,n)?"Unknown property.":Sn($cn,n)?"A POSIX character class must be closed by ':]'.":Sn(UP,n)?"Unexpected end of the pattern in a character class.":Sn(KWn,n)?"Unknown name for a POSIX character class.":Sn("parser.cc.4",n)?"'-' is invalid here.":Sn(BWn,n)?"']' is expected.":Sn(xcn,n)?"'[' is invalid in a character class. Write '\\['.":Sn(Rcn,n)?"']' is invalid in a character class. Write '\\]'.":Sn(MF,n)?"'-' is an invalid character range. Write '\\-'.":Sn(FWn,n)?"'[' is expected.":Sn(_Wn,n)?"')' or '-[' or '+[' or '&[' is expected.":Sn(HWn,n)?"The range end code point is less than the start code point.":Sn(g1,n)?"Invalid Unicode hex notation.":Sn(qWn,n)?"Overflow in a hex notation.":Sn(UWn,n)?"'\\x{' must be closed by '}'.":Sn(GWn,n)?"Invalid Unicode code point.":Sn(zWn,n)?"An anchor must not be here.":Sn(is,n)?"This expression is not supported in the current option setting.":Sn(XWn,n)?"Invalid quantifier. A digit is expected.":Sn(VWn,n)?"Invalid quantifier. Invalid quantity or a '}' is missing.":Sn(WWn,n)?"Invalid quantifier. A digit or '}' is expected.":Sn(JWn,n)?"Invalid quantifier. A min quantity must be <= a max quantity.":Sn(Kcn,n)?"Invalid quantifier. A quantity value overflow.":Sn("_UI_PackageRegistry_extensionpoint",n)?"Ecore Package Registry for Generated Packages":Sn("_UI_DynamicPackageRegistry_extensionpoint",n)?"Ecore Package Registry for Dynamic Packages":Sn("_UI_FactoryRegistry_extensionpoint",n)?"Ecore Factory Override Registry":Sn("_UI_URIExtensionParserRegistry_extensionpoint",n)?"URI Extension Parser Registry":Sn("_UI_URIProtocolParserRegistry_extensionpoint",n)?"URI Protocol Parser Registry":Sn("_UI_URIContentParserRegistry_extensionpoint",n)?"URI Content Parser Registry":Sn("_UI_ContentHandlerRegistry_extensionpoint",n)?"Content Handler Registry":Sn("_UI_URIMappingRegistry_extensionpoint",n)?"URI Converter Mapping Registry":Sn("_UI_PackageRegistryImplementation_extensionpoint",n)?"Ecore Package Registry Implementation":Sn("_UI_ValidationDelegateRegistry_extensionpoint",n)?"Validation Delegate Registry":Sn("_UI_SettingDelegateRegistry_extensionpoint",n)?"Feature Setting Delegate Factory Registry":Sn("_UI_InvocationDelegateRegistry_extensionpoint",n)?"Operation Invocation Delegate Factory Registry":Sn("_UI_EClassInterfaceNotAbstract_diagnostic",n)?"A class that is an interface must also be abstract":Sn("_UI_EClassNoCircularSuperTypes_diagnostic",n)?"A class may not be a super type of itself":Sn("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",n)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":Sn("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",n)?"The opposite of the opposite may not be a reference different from this one":Sn("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",n)?"The opposite must be a feature of the reference's type":Sn("_UI_EReferenceTransientOppositeNotTransient_diagnostic",n)?"The opposite of a transient reference must be transient if it is proxy resolving":Sn("_UI_EReferenceOppositeBothContainment_diagnostic",n)?"The opposite of a containment reference must not be a containment reference":Sn("_UI_EReferenceConsistentUnique_diagnostic",n)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":Sn("_UI_ETypedElementNoType_diagnostic",n)?"The typed element must have a type":Sn("_UI_EAttributeNoDataType_diagnostic",n)?"The generic attribute type must not refer to a class":Sn("_UI_EReferenceNoClass_diagnostic",n)?"The generic reference type must not refer to a data type":Sn("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",n)?"A generic type can't refer to both a type parameter and a classifier":Sn("_UI_EGenericTypeNoClass_diagnostic",n)?"A generic super type must refer to a class":Sn("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",n)?"A generic type in this context must refer to a classifier or a type parameter":Sn("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",n)?"A generic type may have bounds only when used as a type argument":Sn("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",n)?"A generic type must not have both a lower and an upper bound":Sn("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",n)?"A generic type with bounds must not also refer to a type parameter or classifier":Sn("_UI_EGenericTypeNoArguments_diagnostic",n)?"A generic type may have arguments only if it refers to a classifier":Sn("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",n)?"A generic type may only refer to a type parameter that is in scope":n}function eDe(n){var e,t,i,r,c,s,f,h,l,a,d,g,p,m,k;n.r||(n.r=!0,zc(n,"graph"),MC(n,"graph"),TC(n,ev),yk(n.o,"T"),ve(Hr(n.a),n.p),ve(Hr(n.f),n.a),ve(Hr(n.n),n.f),ve(Hr(n.g),n.n),ve(Hr(n.c),n.n),ve(Hr(n.i),n.c),ve(Hr(n.j),n.c),ve(Hr(n.d),n.f),ve(Hr(n.e),n.a),fc(n.p,pDe,pXn,!0,!0,!1),m=$g(n.p,n.p,"setProperty"),k=iRn(m),l=al(n.o),a=(t=(i=new Jd,i),t),ve((!l.d&&(l.d=new ti(jr,l,1)),l.d),a),d=ED(k),HZ(a,d),dS(m,l,Ecn),l=ED(k),dS(m,l,b8),m=$g(n.p,null,"getProperty"),k=iRn(m),l=al(n.o),a=ED(k),ve((!l.d&&(l.d=new ti(jr,l,1)),l.d),a),dS(m,l,Ecn),l=ED(k),p=Kf(m,l,null),p&&p.oj(),m=$g(n.p,n.wb.e,"hasProperty"),l=al(n.o),a=(r=(c=new Jd,c),r),ve((!l.d&&(l.d=new ti(jr,l,1)),l.d),a),dS(m,l,Ecn),m=$g(n.p,n.p,"copyProperties"),$r(m,n.p,lF),m=$g(n.p,null,"getAllProperties"),l=al(n.wb.P),a=al(n.o),ve((!l.d&&(l.d=new ti(jr,l,1)),l.d),a),d=(s=(f=new Jd,f),s),ve((!a.d&&(a.d=new ti(jr,a,1)),a.d),d),a=al(n.wb.M),ve((!l.d&&(l.d=new ti(jr,l,1)),l.d),a),g=Kf(m,l,null),g&&g.oj(),fc(n.a,_v,iWn,!0,!1,!0),Et(u(N(H(n.a),0),19),n.k,null,wWn,0,-1,_v,!1,!1,!0,!0,!1,!1,!1),fc(n.f,uE,cWn,!0,!1,!0),Et(u(N(H(n.f),0),19),n.g,u(N(H(n.g),0),19),"labels",0,-1,uE,!1,!1,!0,!0,!1,!1,!1),Gt(u(N(H(n.f),1),35),n.wb._,gWn,null,0,1,uE,!1,!1,!0,!1,!0,!1),fc(n.n,oE,"ElkShape",!0,!1,!0),Gt(u(N(H(n.n),0),35),n.wb.t,aF,B4,1,1,oE,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.n),1),35),n.wb.t,dF,B4,1,1,oE,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.n),2),35),n.wb.t,"x",B4,1,1,oE,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.n),3),35),n.wb.t,"y",B4,1,1,oE,!1,!1,!0,!1,!0,!1),m=$g(n.n,null,"setDimensions"),$r(m,n.wb.t,dF),$r(m,n.wb.t,aF),m=$g(n.n,null,"setLocation"),$r(m,n.wb.t,"x"),$r(m,n.wb.t,"y"),fc(n.g,Sr,kcn,!1,!1,!0),Et(u(N(H(n.g),0),19),n.f,u(N(H(n.f),0),19),bF,0,1,Sr,!1,!1,!0,!1,!1,!1,!1),Gt(u(N(H(n.g),1),35),n.wb._,wF,"",0,1,Sr,!1,!1,!0,!1,!0,!1),fc(n.c,he,uWn,!0,!1,!0),Et(u(N(H(n.c),0),19),n.d,u(N(H(n.d),1),19),"outgoingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),Et(u(N(H(n.c),1),19),n.d,u(N(H(n.d),2),19),"incomingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),fc(n.i,Ye,ycn,!1,!1,!0),Et(u(N(H(n.i),0),19),n.j,u(N(H(n.j),0),19),"ports",0,-1,Ye,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.i),1),19),n.i,u(N(H(n.i),2),19),gF,0,-1,Ye,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.i),2),19),n.i,u(N(H(n.i),1),19),bF,0,1,Ye,!1,!1,!0,!1,!1,!1,!1),Et(u(N(H(n.i),3),19),n.d,u(N(H(n.d),0),19),"containedEdges",0,-1,Ye,!1,!1,!0,!0,!1,!1,!1),Gt(u(N(H(n.i),4),35),n.wb.e,pWn,null,0,1,Ye,!0,!0,!1,!1,!0,!0),fc(n.j,Qu,jcn,!1,!1,!0),Et(u(N(H(n.j),0),19),n.i,u(N(H(n.i),0),19),bF,0,1,Qu,!1,!1,!0,!1,!1,!1,!1),fc(n.d,Vt,vcn,!1,!1,!0),Et(u(N(H(n.d),0),19),n.i,u(N(H(n.i),3),19),"containingNode",0,1,Vt,!1,!1,!0,!1,!1,!1,!1),Et(u(N(H(n.d),1),19),n.c,u(N(H(n.c),0),19),Mcn,0,-1,Vt,!1,!1,!0,!1,!0,!1,!1),Et(u(N(H(n.d),2),19),n.c,u(N(H(n.c),1),19),pF,0,-1,Vt,!1,!1,!0,!1,!0,!1,!1),Et(u(N(H(n.d),3),19),n.e,u(N(H(n.e),5),19),Tcn,0,-1,Vt,!1,!1,!0,!0,!1,!1,!1),Gt(u(N(H(n.d),4),35),n.wb.e,"hyperedge",null,0,1,Vt,!0,!0,!1,!1,!0,!0),Gt(u(N(H(n.d),5),35),n.wb.e,pWn,null,0,1,Vt,!0,!0,!1,!1,!0,!0),Gt(u(N(H(n.d),6),35),n.wb.e,"selfloop",null,0,1,Vt,!0,!0,!1,!1,!0,!0),Gt(u(N(H(n.d),7),35),n.wb.e,"connected",null,0,1,Vt,!0,!0,!1,!1,!0,!0),fc(n.b,xo,rWn,!1,!1,!0),Gt(u(N(H(n.b),0),35),n.wb.t,"x",B4,1,1,xo,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.b),1),35),n.wb.t,"y",B4,1,1,xo,!1,!1,!0,!1,!0,!1),m=$g(n.b,null,"set"),$r(m,n.wb.t,"x"),$r(m,n.wb.t,"y"),fc(n.e,Tt,oWn,!1,!1,!0),Gt(u(N(H(n.e),0),35),n.wb.t,"startX",null,0,1,Tt,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.e),1),35),n.wb.t,"startY",null,0,1,Tt,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.e),2),35),n.wb.t,"endX",null,0,1,Tt,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.e),3),35),n.wb.t,"endY",null,0,1,Tt,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.e),4),19),n.b,null,BP,0,-1,Tt,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.e),5),19),n.d,u(N(H(n.d),3),19),bF,0,1,Tt,!1,!1,!0,!1,!1,!1,!1),Et(u(N(H(n.e),6),19),n.c,null,Ccn,0,1,Tt,!1,!1,!0,!1,!0,!1,!1),Et(u(N(H(n.e),7),19),n.c,null,Scn,0,1,Tt,!1,!1,!0,!1,!0,!1,!1),Et(u(N(H(n.e),8),19),n.e,u(N(H(n.e),9),19),Pcn,0,-1,Tt,!1,!1,!0,!1,!0,!1,!1),Et(u(N(H(n.e),9),19),n.e,u(N(H(n.e),8),19),Icn,0,-1,Tt,!1,!1,!0,!1,!0,!1,!1),Gt(u(N(H(n.e),10),35),n.wb._,gWn,null,0,1,Tt,!1,!1,!0,!1,!0,!1),m=$g(n.e,null,"setStartLocation"),$r(m,n.wb.t,"x"),$r(m,n.wb.t,"y"),m=$g(n.e,null,"setEndLocation"),$r(m,n.wb.t,"x"),$r(m,n.wb.t,"y"),fc(n.k,Id,"ElkPropertyToValueMapEntry",!1,!1,!1),l=al(n.o),a=(h=(e=new Jd,e),h),ve((!l.d&&(l.d=new ti(jr,l,1)),l.d),a),bHn(u(N(H(n.k),0),35),l,"key",Id,!1,!1,!0,!1),Gt(u(N(H(n.k),1),35),n.s,b8,null,0,1,Id,!1,!1,!0,!1,!0,!1),We(n.o,Gq,"IProperty",!0),We(n.s,ki,"PropertyValue",!0),wY(n,ev))}function Tzn(){Tzn=R,I=F(Ru,s2,28,hr,15,1),I[9]=35,I[10]=19,I[13]=19,I[32]=51,I[33]=49,I[34]=33,K(I,35,38,49),I[38]=1,K(I,39,45,49),K(I,45,47,-71),I[47]=49,K(I,48,58,-71),I[58]=61,I[59]=49,I[60]=1,I[61]=49,I[62]=33,K(I,63,65,49),K(I,65,91,-3),K(I,91,93,33),I[93]=1,I[94]=33,I[95]=-3,I[96]=33,K(I,97,123,-3),K(I,123,183,33),I[183]=-87,K(I,184,192,33),K(I,192,215,-19),I[215]=33,K(I,216,247,-19),I[247]=33,K(I,248,306,-19),K(I,306,308,33),K(I,308,319,-19),K(I,319,321,33),K(I,321,329,-19),I[329]=33,K(I,330,383,-19),I[383]=33,K(I,384,452,-19),K(I,452,461,33),K(I,461,497,-19),K(I,497,500,33),K(I,500,502,-19),K(I,502,506,33),K(I,506,536,-19),K(I,536,592,33),K(I,592,681,-19),K(I,681,699,33),K(I,699,706,-19),K(I,706,720,33),K(I,720,722,-87),K(I,722,768,33),K(I,768,838,-87),K(I,838,864,33),K(I,864,866,-87),K(I,866,902,33),I[902]=-19,I[903]=-87,K(I,904,907,-19),I[907]=33,I[908]=-19,I[909]=33,K(I,910,930,-19),I[930]=33,K(I,931,975,-19),I[975]=33,K(I,976,983,-19),K(I,983,986,33),I[986]=-19,I[987]=33,I[988]=-19,I[989]=33,I[990]=-19,I[991]=33,I[992]=-19,I[993]=33,K(I,994,1012,-19),K(I,1012,1025,33),K(I,1025,1037,-19),I[1037]=33,K(I,1038,1104,-19),I[1104]=33,K(I,1105,1117,-19),I[1117]=33,K(I,1118,1154,-19),I[1154]=33,K(I,1155,1159,-87),K(I,1159,1168,33),K(I,1168,1221,-19),K(I,1221,1223,33),K(I,1223,1225,-19),K(I,1225,1227,33),K(I,1227,1229,-19),K(I,1229,1232,33),K(I,1232,1260,-19),K(I,1260,1262,33),K(I,1262,1270,-19),K(I,1270,1272,33),K(I,1272,1274,-19),K(I,1274,1329,33),K(I,1329,1367,-19),K(I,1367,1369,33),I[1369]=-19,K(I,1370,1377,33),K(I,1377,1415,-19),K(I,1415,1425,33),K(I,1425,1442,-87),I[1442]=33,K(I,1443,1466,-87),I[1466]=33,K(I,1467,1470,-87),I[1470]=33,I[1471]=-87,I[1472]=33,K(I,1473,1475,-87),I[1475]=33,I[1476]=-87,K(I,1477,1488,33),K(I,1488,1515,-19),K(I,1515,1520,33),K(I,1520,1523,-19),K(I,1523,1569,33),K(I,1569,1595,-19),K(I,1595,1600,33),I[1600]=-87,K(I,1601,1611,-19),K(I,1611,1619,-87),K(I,1619,1632,33),K(I,1632,1642,-87),K(I,1642,1648,33),I[1648]=-87,K(I,1649,1720,-19),K(I,1720,1722,33),K(I,1722,1727,-19),I[1727]=33,K(I,1728,1743,-19),I[1743]=33,K(I,1744,1748,-19),I[1748]=33,I[1749]=-19,K(I,1750,1765,-87),K(I,1765,1767,-19),K(I,1767,1769,-87),I[1769]=33,K(I,1770,1774,-87),K(I,1774,1776,33),K(I,1776,1786,-87),K(I,1786,2305,33),K(I,2305,2308,-87),I[2308]=33,K(I,2309,2362,-19),K(I,2362,2364,33),I[2364]=-87,I[2365]=-19,K(I,2366,2382,-87),K(I,2382,2385,33),K(I,2385,2389,-87),K(I,2389,2392,33),K(I,2392,2402,-19),K(I,2402,2404,-87),K(I,2404,2406,33),K(I,2406,2416,-87),K(I,2416,2433,33),K(I,2433,2436,-87),I[2436]=33,K(I,2437,2445,-19),K(I,2445,2447,33),K(I,2447,2449,-19),K(I,2449,2451,33),K(I,2451,2473,-19),I[2473]=33,K(I,2474,2481,-19),I[2481]=33,I[2482]=-19,K(I,2483,2486,33),K(I,2486,2490,-19),K(I,2490,2492,33),I[2492]=-87,I[2493]=33,K(I,2494,2501,-87),K(I,2501,2503,33),K(I,2503,2505,-87),K(I,2505,2507,33),K(I,2507,2510,-87),K(I,2510,2519,33),I[2519]=-87,K(I,2520,2524,33),K(I,2524,2526,-19),I[2526]=33,K(I,2527,2530,-19),K(I,2530,2532,-87),K(I,2532,2534,33),K(I,2534,2544,-87),K(I,2544,2546,-19),K(I,2546,2562,33),I[2562]=-87,K(I,2563,2565,33),K(I,2565,2571,-19),K(I,2571,2575,33),K(I,2575,2577,-19),K(I,2577,2579,33),K(I,2579,2601,-19),I[2601]=33,K(I,2602,2609,-19),I[2609]=33,K(I,2610,2612,-19),I[2612]=33,K(I,2613,2615,-19),I[2615]=33,K(I,2616,2618,-19),K(I,2618,2620,33),I[2620]=-87,I[2621]=33,K(I,2622,2627,-87),K(I,2627,2631,33),K(I,2631,2633,-87),K(I,2633,2635,33),K(I,2635,2638,-87),K(I,2638,2649,33),K(I,2649,2653,-19),I[2653]=33,I[2654]=-19,K(I,2655,2662,33),K(I,2662,2674,-87),K(I,2674,2677,-19),K(I,2677,2689,33),K(I,2689,2692,-87),I[2692]=33,K(I,2693,2700,-19),I[2700]=33,I[2701]=-19,I[2702]=33,K(I,2703,2706,-19),I[2706]=33,K(I,2707,2729,-19),I[2729]=33,K(I,2730,2737,-19),I[2737]=33,K(I,2738,2740,-19),I[2740]=33,K(I,2741,2746,-19),K(I,2746,2748,33),I[2748]=-87,I[2749]=-19,K(I,2750,2758,-87),I[2758]=33,K(I,2759,2762,-87),I[2762]=33,K(I,2763,2766,-87),K(I,2766,2784,33),I[2784]=-19,K(I,2785,2790,33),K(I,2790,2800,-87),K(I,2800,2817,33),K(I,2817,2820,-87),I[2820]=33,K(I,2821,2829,-19),K(I,2829,2831,33),K(I,2831,2833,-19),K(I,2833,2835,33),K(I,2835,2857,-19),I[2857]=33,K(I,2858,2865,-19),I[2865]=33,K(I,2866,2868,-19),K(I,2868,2870,33),K(I,2870,2874,-19),K(I,2874,2876,33),I[2876]=-87,I[2877]=-19,K(I,2878,2884,-87),K(I,2884,2887,33),K(I,2887,2889,-87),K(I,2889,2891,33),K(I,2891,2894,-87),K(I,2894,2902,33),K(I,2902,2904,-87),K(I,2904,2908,33),K(I,2908,2910,-19),I[2910]=33,K(I,2911,2914,-19),K(I,2914,2918,33),K(I,2918,2928,-87),K(I,2928,2946,33),K(I,2946,2948,-87),I[2948]=33,K(I,2949,2955,-19),K(I,2955,2958,33),K(I,2958,2961,-19),I[2961]=33,K(I,2962,2966,-19),K(I,2966,2969,33),K(I,2969,2971,-19),I[2971]=33,I[2972]=-19,I[2973]=33,K(I,2974,2976,-19),K(I,2976,2979,33),K(I,2979,2981,-19),K(I,2981,2984,33),K(I,2984,2987,-19),K(I,2987,2990,33),K(I,2990,2998,-19),I[2998]=33,K(I,2999,3002,-19),K(I,3002,3006,33),K(I,3006,3011,-87),K(I,3011,3014,33),K(I,3014,3017,-87),I[3017]=33,K(I,3018,3022,-87),K(I,3022,3031,33),I[3031]=-87,K(I,3032,3047,33),K(I,3047,3056,-87),K(I,3056,3073,33),K(I,3073,3076,-87),I[3076]=33,K(I,3077,3085,-19),I[3085]=33,K(I,3086,3089,-19),I[3089]=33,K(I,3090,3113,-19),I[3113]=33,K(I,3114,3124,-19),I[3124]=33,K(I,3125,3130,-19),K(I,3130,3134,33),K(I,3134,3141,-87),I[3141]=33,K(I,3142,3145,-87),I[3145]=33,K(I,3146,3150,-87),K(I,3150,3157,33),K(I,3157,3159,-87),K(I,3159,3168,33),K(I,3168,3170,-19),K(I,3170,3174,33),K(I,3174,3184,-87),K(I,3184,3202,33),K(I,3202,3204,-87),I[3204]=33,K(I,3205,3213,-19),I[3213]=33,K(I,3214,3217,-19),I[3217]=33,K(I,3218,3241,-19),I[3241]=33,K(I,3242,3252,-19),I[3252]=33,K(I,3253,3258,-19),K(I,3258,3262,33),K(I,3262,3269,-87),I[3269]=33,K(I,3270,3273,-87),I[3273]=33,K(I,3274,3278,-87),K(I,3278,3285,33),K(I,3285,3287,-87),K(I,3287,3294,33),I[3294]=-19,I[3295]=33,K(I,3296,3298,-19),K(I,3298,3302,33),K(I,3302,3312,-87),K(I,3312,3330,33),K(I,3330,3332,-87),I[3332]=33,K(I,3333,3341,-19),I[3341]=33,K(I,3342,3345,-19),I[3345]=33,K(I,3346,3369,-19),I[3369]=33,K(I,3370,3386,-19),K(I,3386,3390,33),K(I,3390,3396,-87),K(I,3396,3398,33),K(I,3398,3401,-87),I[3401]=33,K(I,3402,3406,-87),K(I,3406,3415,33),I[3415]=-87,K(I,3416,3424,33),K(I,3424,3426,-19),K(I,3426,3430,33),K(I,3430,3440,-87),K(I,3440,3585,33),K(I,3585,3631,-19),I[3631]=33,I[3632]=-19,I[3633]=-87,K(I,3634,3636,-19),K(I,3636,3643,-87),K(I,3643,3648,33),K(I,3648,3654,-19),K(I,3654,3663,-87),I[3663]=33,K(I,3664,3674,-87),K(I,3674,3713,33),K(I,3713,3715,-19),I[3715]=33,I[3716]=-19,K(I,3717,3719,33),K(I,3719,3721,-19),I[3721]=33,I[3722]=-19,K(I,3723,3725,33),I[3725]=-19,K(I,3726,3732,33),K(I,3732,3736,-19),I[3736]=33,K(I,3737,3744,-19),I[3744]=33,K(I,3745,3748,-19),I[3748]=33,I[3749]=-19,I[3750]=33,I[3751]=-19,K(I,3752,3754,33),K(I,3754,3756,-19),I[3756]=33,K(I,3757,3759,-19),I[3759]=33,I[3760]=-19,I[3761]=-87,K(I,3762,3764,-19),K(I,3764,3770,-87),I[3770]=33,K(I,3771,3773,-87),I[3773]=-19,K(I,3774,3776,33),K(I,3776,3781,-19),I[3781]=33,I[3782]=-87,I[3783]=33,K(I,3784,3790,-87),K(I,3790,3792,33),K(I,3792,3802,-87),K(I,3802,3864,33),K(I,3864,3866,-87),K(I,3866,3872,33),K(I,3872,3882,-87),K(I,3882,3893,33),I[3893]=-87,I[3894]=33,I[3895]=-87,I[3896]=33,I[3897]=-87,K(I,3898,3902,33),K(I,3902,3904,-87),K(I,3904,3912,-19),I[3912]=33,K(I,3913,3946,-19),K(I,3946,3953,33),K(I,3953,3973,-87),I[3973]=33,K(I,3974,3980,-87),K(I,3980,3984,33),K(I,3984,3990,-87),I[3990]=33,I[3991]=-87,I[3992]=33,K(I,3993,4014,-87),K(I,4014,4017,33),K(I,4017,4024,-87),I[4024]=33,I[4025]=-87,K(I,4026,4256,33),K(I,4256,4294,-19),K(I,4294,4304,33),K(I,4304,4343,-19),K(I,4343,4352,33),I[4352]=-19,I[4353]=33,K(I,4354,4356,-19),I[4356]=33,K(I,4357,4360,-19),I[4360]=33,I[4361]=-19,I[4362]=33,K(I,4363,4365,-19),I[4365]=33,K(I,4366,4371,-19),K(I,4371,4412,33),I[4412]=-19,I[4413]=33,I[4414]=-19,I[4415]=33,I[4416]=-19,K(I,4417,4428,33),I[4428]=-19,I[4429]=33,I[4430]=-19,I[4431]=33,I[4432]=-19,K(I,4433,4436,33),K(I,4436,4438,-19),K(I,4438,4441,33),I[4441]=-19,K(I,4442,4447,33),K(I,4447,4450,-19),I[4450]=33,I[4451]=-19,I[4452]=33,I[4453]=-19,I[4454]=33,I[4455]=-19,I[4456]=33,I[4457]=-19,K(I,4458,4461,33),K(I,4461,4463,-19),K(I,4463,4466,33),K(I,4466,4468,-19),I[4468]=33,I[4469]=-19,K(I,4470,4510,33),I[4510]=-19,K(I,4511,4520,33),I[4520]=-19,K(I,4521,4523,33),I[4523]=-19,K(I,4524,4526,33),K(I,4526,4528,-19),K(I,4528,4535,33),K(I,4535,4537,-19),I[4537]=33,I[4538]=-19,I[4539]=33,K(I,4540,4547,-19),K(I,4547,4587,33),I[4587]=-19,K(I,4588,4592,33),I[4592]=-19,K(I,4593,4601,33),I[4601]=-19,K(I,4602,7680,33),K(I,7680,7836,-19),K(I,7836,7840,33),K(I,7840,7930,-19),K(I,7930,7936,33),K(I,7936,7958,-19),K(I,7958,7960,33),K(I,7960,7966,-19),K(I,7966,7968,33),K(I,7968,8006,-19),K(I,8006,8008,33),K(I,8008,8014,-19),K(I,8014,8016,33),K(I,8016,8024,-19),I[8024]=33,I[8025]=-19,I[8026]=33,I[8027]=-19,I[8028]=33,I[8029]=-19,I[8030]=33,K(I,8031,8062,-19),K(I,8062,8064,33),K(I,8064,8117,-19),I[8117]=33,K(I,8118,8125,-19),I[8125]=33,I[8126]=-19,K(I,8127,8130,33),K(I,8130,8133,-19),I[8133]=33,K(I,8134,8141,-19),K(I,8141,8144,33),K(I,8144,8148,-19),K(I,8148,8150,33),K(I,8150,8156,-19),K(I,8156,8160,33),K(I,8160,8173,-19),K(I,8173,8178,33),K(I,8178,8181,-19),I[8181]=33,K(I,8182,8189,-19),K(I,8189,8400,33),K(I,8400,8413,-87),K(I,8413,8417,33),I[8417]=-87,K(I,8418,8486,33),I[8486]=-19,K(I,8487,8490,33),K(I,8490,8492,-19),K(I,8492,8494,33),I[8494]=-19,K(I,8495,8576,33),K(I,8576,8579,-19),K(I,8579,12293,33),I[12293]=-87,I[12294]=33,I[12295]=-19,K(I,12296,12321,33),K(I,12321,12330,-19),K(I,12330,12336,-87),I[12336]=33,K(I,12337,12342,-87),K(I,12342,12353,33),K(I,12353,12437,-19),K(I,12437,12441,33),K(I,12441,12443,-87),K(I,12443,12445,33),K(I,12445,12447,-87),K(I,12447,12449,33),K(I,12449,12539,-19),I[12539]=33,K(I,12540,12543,-87),K(I,12543,12549,33),K(I,12549,12589,-19),K(I,12589,19968,33),K(I,19968,40870,-19),K(I,40870,44032,33),K(I,44032,55204,-19),K(I,55204,Sy,33),K(I,57344,65534,33)}function tDe(n){var e,t,i,r,c,s,f;n.hb||(n.hb=!0,zc(n,"ecore"),MC(n,"ecore"),TC(n,ks),yk(n.fb,"E"),yk(n.L,"T"),yk(n.P,"K"),yk(n.P,"V"),yk(n.cb,"E"),ve(Hr(n.b),n.bb),ve(Hr(n.a),n.Q),ve(Hr(n.o),n.p),ve(Hr(n.p),n.R),ve(Hr(n.q),n.p),ve(Hr(n.v),n.q),ve(Hr(n.w),n.R),ve(Hr(n.B),n.Q),ve(Hr(n.R),n.Q),ve(Hr(n.T),n.eb),ve(Hr(n.U),n.R),ve(Hr(n.V),n.eb),ve(Hr(n.W),n.bb),ve(Hr(n.bb),n.eb),ve(Hr(n.eb),n.R),ve(Hr(n.db),n.R),fc(n.b,ng,uJn,!1,!1,!0),Gt(u(N(H(n.b),0),35),n.e,"iD",null,0,1,ng,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.b),1),19),n.q,null,"eAttributeType",1,1,ng,!0,!0,!1,!1,!0,!1,!0),fc(n.a,Ue,iJn,!1,!1,!0),Gt(u(N(H(n.a),0),35),n._,lF,null,0,1,Ue,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.a),1),19),n.ab,null,"details",0,-1,Ue,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.a),2),19),n.Q,u(N(H(n.Q),0),19),"eModelElement",0,1,Ue,!0,!1,!0,!1,!1,!1,!1),Et(u(N(H(n.a),3),19),n.S,null,"contents",0,-1,Ue,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.a),4),19),n.S,null,"references",0,-1,Ue,!1,!1,!0,!1,!0,!1,!1),fc(n.o,Ss,"EClass",!1,!1,!0),Gt(u(N(H(n.o),0),35),n.e,"abstract",null,0,1,Ss,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.o),1),35),n.e,"interface",null,0,1,Ss,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.o),2),19),n.o,null,"eSuperTypes",0,-1,Ss,!1,!1,!0,!1,!0,!0,!1),Et(u(N(H(n.o),3),19),n.T,u(N(H(n.T),0),19),"eOperations",0,-1,Ss,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.o),4),19),n.b,null,"eAllAttributes",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),5),19),n.W,null,"eAllReferences",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),6),19),n.W,null,"eReferences",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),7),19),n.b,null,"eAttributes",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),8),19),n.W,null,"eAllContainments",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),9),19),n.T,null,"eAllOperations",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),10),19),n.bb,null,"eAllStructuralFeatures",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),11),19),n.o,null,"eAllSuperTypes",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.o),12),19),n.b,null,"eIDAttribute",0,1,Ss,!0,!0,!1,!1,!1,!1,!0),Et(u(N(H(n.o),13),19),n.bb,u(N(H(n.bb),7),19),"eStructuralFeatures",0,-1,Ss,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.o),14),19),n.H,null,"eGenericSuperTypes",0,-1,Ss,!1,!1,!0,!0,!1,!0,!1),Et(u(N(H(n.o),15),19),n.H,null,"eAllGenericSuperTypes",0,-1,Ss,!0,!0,!1,!1,!0,!1,!0),f=Tr(u(N(ft(n.o),0),62),n.e,"isSuperTypeOf"),$r(f,n.o,"someClass"),Tr(u(N(ft(n.o),1),62),n.I,"getFeatureCount"),f=Tr(u(N(ft(n.o),2),62),n.bb,mJn),$r(f,n.I,"featureID"),f=Tr(u(N(ft(n.o),3),62),n.I,vJn),$r(f,n.bb,j8),f=Tr(u(N(ft(n.o),4),62),n.bb,mJn),$r(f,n._,"featureName"),Tr(u(N(ft(n.o),5),62),n.I,"getOperationCount"),f=Tr(u(N(ft(n.o),6),62),n.T,"getEOperation"),$r(f,n.I,"operationID"),f=Tr(u(N(ft(n.o),7),62),n.I,kJn),$r(f,n.T,Ucn),f=Tr(u(N(ft(n.o),8),62),n.T,"getOverride"),$r(f,n.T,Ucn),f=Tr(u(N(ft(n.o),9),62),n.H,"getFeatureType"),$r(f,n.bb,j8),fc(n.p,Mf,oJn,!0,!1,!0),Gt(u(N(H(n.p),0),35),n._,"instanceClassName",null,0,1,Mf,!1,!0,!0,!0,!0,!1),e=al(n.L),t=wJ(),ve((!e.d&&(e.d=new ti(jr,e,1)),e.d),t),bHn(u(N(H(n.p),1),35),e,"instanceClass",Mf,!0,!0,!1,!0),Gt(u(N(H(n.p),2),35),n.M,yJn,null,0,1,Mf,!0,!0,!1,!1,!0,!0),Gt(u(N(H(n.p),3),35),n._,"instanceTypeName",null,0,1,Mf,!1,!0,!0,!0,!0,!1),Et(u(N(H(n.p),4),19),n.U,u(N(H(n.U),3),19),"ePackage",0,1,Mf,!0,!1,!1,!1,!0,!1,!1),Et(u(N(H(n.p),5),19),n.db,null,jJn,0,-1,Mf,!1,!1,!0,!0,!0,!1,!1),f=Tr(u(N(ft(n.p),0),62),n.e,EJn),$r(f,n.M,my),Tr(u(N(ft(n.p),1),62),n.I,"getClassifierID"),fc(n.q,yU,"EDataType",!1,!1,!0),Gt(u(N(H(n.q),0),35),n.e,"serializable",Z4,0,1,yU,!1,!1,!0,!1,!0,!1),fc(n.v,EA,"EEnum",!1,!1,!0),Et(u(N(H(n.v),0),19),n.w,u(N(H(n.w),3),19),"eLiterals",0,-1,EA,!1,!1,!0,!0,!1,!1,!1),f=Tr(u(N(ft(n.v),0),62),n.w,MJn),$r(f,n._,Qe),f=Tr(u(N(ft(n.v),1),62),n.w,MJn),$r(f,n.I,b8),f=Tr(u(N(ft(n.v),2),62),n.w,"getEEnumLiteralByLiteral"),$r(f,n._,"literal"),fc(n.w,Kl,sJn,!1,!1,!0),Gt(u(N(H(n.w),0),35),n.I,b8,null,0,1,Kl,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.w),1),35),n.A,"instance",null,0,1,Kl,!0,!1,!0,!1,!0,!1),Gt(u(N(H(n.w),2),35),n._,"literal",null,0,1,Kl,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.w),3),19),n.v,u(N(H(n.v),0),19),"eEnum",0,1,Kl,!0,!1,!1,!1,!1,!1,!1),fc(n.B,I9,"EFactory",!1,!1,!0),Et(u(N(H(n.B),0),19),n.U,u(N(H(n.U),2),19),"ePackage",1,1,I9,!0,!1,!0,!1,!1,!1,!1),f=Tr(u(N(ft(n.B),0),62),n.S,"create"),$r(f,n.o,"eClass"),f=Tr(u(N(ft(n.B),1),62),n.M,"createFromString"),$r(f,n.q,"eDataType"),$r(f,n._,"literalValue"),f=Tr(u(N(ft(n.B),2),62),n._,"convertToString"),$r(f,n.q,"eDataType"),$r(f,n.M,"instanceValue"),fc(n.Q,sE,sWn,!0,!1,!0),Et(u(N(H(n.Q),0),19),n.a,u(N(H(n.a),2),19),"eAnnotations",0,-1,sE,!1,!1,!0,!0,!1,!1,!1),f=Tr(u(N(ft(n.Q),0),62),n.a,"getEAnnotation"),$r(f,n._,lF),fc(n.R,wU,fWn,!0,!1,!0),Gt(u(N(H(n.R),0),35),n._,Qe,null,0,1,wU,!1,!1,!0,!1,!0,!1),fc(n.S,La,"EObject",!1,!1,!0),Tr(u(N(ft(n.S),0),62),n.o,"eClass"),Tr(u(N(ft(n.S),1),62),n.e,"eIsProxy"),Tr(u(N(ft(n.S),2),62),n.X,"eResource"),Tr(u(N(ft(n.S),3),62),n.S,"eContainer"),Tr(u(N(ft(n.S),4),62),n.bb,"eContainingFeature"),Tr(u(N(ft(n.S),5),62),n.W,"eContainmentFeature"),f=Tr(u(N(ft(n.S),6),62),null,"eContents"),e=al(n.fb),t=al(n.S),ve((!e.d&&(e.d=new ti(jr,e,1)),e.d),t),r=Kf(f,e,null),r&&r.oj(),f=Tr(u(N(ft(n.S),7),62),null,"eAllContents"),e=al(n.cb),t=al(n.S),ve((!e.d&&(e.d=new ti(jr,e,1)),e.d),t),c=Kf(f,e,null),c&&c.oj(),f=Tr(u(N(ft(n.S),8),62),null,"eCrossReferences"),e=al(n.fb),t=al(n.S),ve((!e.d&&(e.d=new ti(jr,e,1)),e.d),t),s=Kf(f,e,null),s&&s.oj(),f=Tr(u(N(ft(n.S),9),62),n.M,"eGet"),$r(f,n.bb,j8),f=Tr(u(N(ft(n.S),10),62),n.M,"eGet"),$r(f,n.bb,j8),$r(f,n.e,"resolve"),f=Tr(u(N(ft(n.S),11),62),null,"eSet"),$r(f,n.bb,j8),$r(f,n.M,"newValue"),f=Tr(u(N(ft(n.S),12),62),n.e,"eIsSet"),$r(f,n.bb,j8),f=Tr(u(N(ft(n.S),13),62),null,"eUnset"),$r(f,n.bb,j8),f=Tr(u(N(ft(n.S),14),62),n.M,"eInvoke"),$r(f,n.T,Ucn),e=al(n.fb),t=wJ(),ve((!e.d&&(e.d=new ti(jr,e,1)),e.d),t),dS(f,e,"arguments"),H0e(f,n.K),fc(n.T,Ps,hJn,!1,!1,!0),Et(u(N(H(n.T),0),19),n.o,u(N(H(n.o),3),19),TJn,0,1,Ps,!0,!1,!1,!1,!1,!1,!1),Et(u(N(H(n.T),1),19),n.db,null,jJn,0,-1,Ps,!1,!1,!0,!0,!0,!1,!1),Et(u(N(H(n.T),2),19),n.V,u(N(H(n.V),0),19),"eParameters",0,-1,Ps,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.T),3),19),n.p,null,"eExceptions",0,-1,Ps,!1,!1,!0,!1,!0,!0,!1),Et(u(N(H(n.T),4),19),n.H,null,"eGenericExceptions",0,-1,Ps,!1,!1,!0,!0,!1,!0,!1),Tr(u(N(ft(n.T),0),62),n.I,kJn),f=Tr(u(N(ft(n.T),1),62),n.e,"isOverrideOf"),$r(f,n.T,"someOperation"),fc(n.U,Ef,"EPackage",!1,!1,!0),Gt(u(N(H(n.U),0),35),n._,"nsURI",null,0,1,Ef,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.U),1),35),n._,"nsPrefix",null,0,1,Ef,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.U),2),19),n.B,u(N(H(n.B),0),19),"eFactoryInstance",1,1,Ef,!0,!1,!0,!1,!1,!1,!1),Et(u(N(H(n.U),3),19),n.p,u(N(H(n.p),4),19),"eClassifiers",0,-1,Ef,!1,!1,!0,!0,!0,!1,!1),Et(u(N(H(n.U),4),19),n.U,u(N(H(n.U),5),19),"eSubpackages",0,-1,Ef,!1,!1,!0,!0,!0,!1,!1),Et(u(N(H(n.U),5),19),n.U,u(N(H(n.U),4),19),"eSuperPackage",0,1,Ef,!0,!1,!1,!1,!0,!1,!1),f=Tr(u(N(ft(n.U),0),62),n.p,"getEClassifier"),$r(f,n._,Qe),fc(n.V,vw,lJn,!1,!1,!0),Et(u(N(H(n.V),0),19),n.T,u(N(H(n.T),2),19),"eOperation",0,1,vw,!0,!1,!1,!1,!1,!1,!1),fc(n.W,eg,aJn,!1,!1,!0),Gt(u(N(H(n.W),0),35),n.e,"containment",null,0,1,eg,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.W),1),35),n.e,"container",null,0,1,eg,!0,!0,!1,!1,!0,!0),Gt(u(N(H(n.W),2),35),n.e,"resolveProxies",Z4,0,1,eg,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.W),3),19),n.W,null,"eOpposite",0,1,eg,!1,!1,!0,!1,!0,!1,!1),Et(u(N(H(n.W),4),19),n.o,null,"eReferenceType",1,1,eg,!0,!0,!1,!1,!0,!1,!0),Et(u(N(H(n.W),5),19),n.b,null,"eKeys",0,-1,eg,!1,!1,!0,!1,!0,!1,!1),fc(n.bb,ku,cJn,!0,!1,!0),Gt(u(N(H(n.bb),0),35),n.e,"changeable",Z4,0,1,ku,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.bb),1),35),n.e,"volatile",null,0,1,ku,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.bb),2),35),n.e,"transient",null,0,1,ku,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.bb),3),35),n._,"defaultValueLiteral",null,0,1,ku,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.bb),4),35),n.M,yJn,null,0,1,ku,!0,!0,!1,!1,!0,!0),Gt(u(N(H(n.bb),5),35),n.e,"unsettable",null,0,1,ku,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.bb),6),35),n.e,"derived",null,0,1,ku,!1,!1,!0,!1,!0,!1),Et(u(N(H(n.bb),7),19),n.o,u(N(H(n.o),13),19),TJn,0,1,ku,!0,!1,!1,!1,!1,!1,!1),Tr(u(N(ft(n.bb),0),62),n.I,vJn),f=Tr(u(N(ft(n.bb),1),62),null,"getContainerClass"),e=al(n.L),t=wJ(),ve((!e.d&&(e.d=new ti(jr,e,1)),e.d),t),i=Kf(f,e,null),i&&i.oj(),fc(n.eb,Z0,rJn,!0,!1,!0),Gt(u(N(H(n.eb),0),35),n.e,"ordered",Z4,0,1,Z0,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.eb),1),35),n.e,"unique",Z4,0,1,Z0,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.eb),2),35),n.I,"lowerBound",null,0,1,Z0,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.eb),3),35),n.I,"upperBound","1",0,1,Z0,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.eb),4),35),n.e,"many",null,0,1,Z0,!0,!0,!1,!1,!0,!0),Gt(u(N(H(n.eb),5),35),n.e,"required",null,0,1,Z0,!0,!0,!1,!1,!0,!0),Et(u(N(H(n.eb),6),19),n.p,null,"eType",0,1,Z0,!1,!0,!0,!1,!0,!0,!1),Et(u(N(H(n.eb),7),19),n.H,null,"eGenericType",0,1,Z0,!1,!0,!0,!0,!1,!0,!1),fc(n.ab,Id,"EStringToStringMapEntry",!1,!1,!1),Gt(u(N(H(n.ab),0),35),n._,"key",null,0,1,Id,!1,!1,!0,!1,!0,!1),Gt(u(N(H(n.ab),1),35),n._,b8,null,0,1,Id,!1,!1,!0,!1,!0,!1),fc(n.H,jr,fJn,!1,!1,!0),Et(u(N(H(n.H),0),19),n.H,null,"eUpperBound",0,1,jr,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.H),1),19),n.H,null,"eTypeArguments",0,-1,jr,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.H),2),19),n.p,null,"eRawType",1,1,jr,!0,!1,!1,!1,!0,!1,!0),Et(u(N(H(n.H),3),19),n.H,null,"eLowerBound",0,1,jr,!1,!1,!0,!0,!1,!1,!1),Et(u(N(H(n.H),4),19),n.db,null,"eTypeParameter",0,1,jr,!1,!1,!0,!1,!1,!1,!1),Et(u(N(H(n.H),5),19),n.p,null,"eClassifier",0,1,jr,!1,!1,!0,!1,!0,!1,!1),f=Tr(u(N(ft(n.H),0),62),n.e,EJn),$r(f,n.M,my),fc(n.db,fu,dJn,!1,!1,!0),Et(u(N(H(n.db),0),19),n.H,null,"eBounds",0,-1,fu,!1,!1,!0,!0,!1,!1,!1),We(n.c,JF,"EBigDecimal",!0),We(n.d,l2,"EBigInteger",!0),We(n.e,so,"EBoolean",!0),We(n.f,zt,"EBooleanObject",!0),We(n.i,Ru,"EByte",!0),We(n.g,C(Ru,1),"EByteArray",!0),We(n.j,p3,"EByteObject",!0),We(n.k,fs,"EChar",!0),We(n.n,T8,"ECharacterObject",!0),We(n.r,oI,"EDate",!0),We(n.s,pbn,"EDiagnosticChain",!1),We(n.t,Ii,"EDouble",!0),We(n.u,si,"EDoubleObject",!0),We(n.fb,Ldn,"EEList",!1),We(n.A,$dn,"EEnumerator",!1),We(n.C,rbn,"EFeatureMap",!1),We(n.D,MA,"EFeatureMapEntry",!1),We(n.F,cg,"EFloat",!0),We(n.G,ov,"EFloatObject",!0),We(n.I,ye,"EInt",!0),We(n.J,Gi,"EIntegerObject",!0),We(n.L,eun,"EJavaClass",!0),We(n.M,ki,"EJavaObject",!0),We(n.N,Ka,"ELong",!0),We(n.O,nw,"ELongObject",!0),We(n.P,tun,"EMap",!1),We(n.X,nbn,"EResource",!1),We(n.Y,mbn,"EResourceSet",!1),We(n.Z,V2,"EShort",!0),We(n.$,ew,"EShortObject",!0),We(n._,fn,"EString",!0),We(n.cb,Ddn,"ETreeIterator",!1),We(n.K,vbn,"EInvocationTargetException",!1),wY(n,ks))}var my="object",i3="boolean",htn="number",nK="string",eK="function",et=2147483647,ac="java.lang",vy={3:1},ky="com.google.common.base",ur=", ",Czn="%s (%s) must not be negative",Rn={3:1,4:1,5:1},Szn="negative size: ",ltn="no calls to next() since the last call to remove()",Pzn="Optional.of(",gu="null",D4={204:1,51:1},Mn="com.google.common.collect",$4={204:1,51:1,128:1},md={229:1,3:1},Pi={51:1},le="java.util",Gb={85:1},p0={20:1,31:1,16:1},Ff=2063,Nu={20:1,31:1,16:1,21:1},atn={85:1,139:1,133:1},Izn={20:1,31:1,16:1,21:1,87:1},dtn={20:1,31:1,16:1,277:1,21:1,87:1},Hh={51:1,128:1},tK={358:1,44:1},Ozn="AbstractMapEntry",Azn="expectedValuesPerKey",J={3:1,6:1,4:1,5:1},wh=16384,Io={159:1},re={41:1},yy={202:1},jy={l:4194303,m:4194303,h:524287},iK={253:1,3:1,34:1},Lzn="range unbounded on this side",qh={20:1},Nzn={20:1,16:1},btn={3:1,20:1,31:1,16:1},x4={306:1,3:1,20:1,31:1,16:1,15:1,59:1},WS={3:1,4:1,5:1,173:1},R4={3:1,85:1},rK={20:1,16:1,21:1},r3={3:1,20:1,31:1,16:1,21:1},Dzn={20:1,16:1,21:1,87:1},Uh=461845907,Gh=-862048943,Ey={3:1,6:1,4:1,5:1,173:1},$zn="expectedSize",Gs=1024,X5=1073741824,m0="initialArraySize",G={3:1,6:1,4:1,9:1,5:1},K4={20:1,31:1,56:1,16:1,15:1},cK="arraySize",xzn={20:1,31:1,56:1,16:1,15:1,59:1},Le={46:1},JS={380:1},ha=1e-4,Wi=-2147483648,Rzn="__noinit__",Il={3:1,103:1,63:1,82:1},My="com.google.gwt.core.client.impl",wtn="String",gtn="com.google.gwt.core.client",uK="anonymous",oK="fnStack",ptn="Unknown",gh={201:1,3:1,4:1},d1=1e3,ui=65535,sK="January",fK="February",hK="March",lK="April",c3="May",aK="June",dK="July",bK="August",wK="September",gK="October",pK="November",mK="December",la=1900,_e={53:1,3:1,4:1},Kzn="Before Christ",Bzn="Anno Domini",vK="Sunday",kK="Monday",yK="Tuesday",jK="Wednesday",EK="Thursday",MK="Friday",TK="Saturday",mtn="com.google.gwt.i18n.shared",Fzn="DateTimeFormat",CK="com.google.gwt.i18n.client",_zn="DefaultDateTimeFormatInfo",Hzn={3:1,4:1,34:1,206:1},u3="com.google.gwt.json.client",ro=4194303,Ol=1048575,Ty=524288,o3=4194304,vd=17592186044416,QS=1e9,Cy=-17592186044416,vtn="java.io",SK={3:1,103:1,77:1,63:1,82:1},qzn={3:1,295:1,82:1},zb='For input string: "',Pt=1/0,li=-1/0,v0=4096,PK={3:1,4:1,376:1},Yn="org.eclipse.elk.layered",hr=65536,Sy=55296,Cr={109:1,3:1,4:1},IK=1e5,Uzn=.3010299956639812,mr=4294967295,B4="0.0",OK={44:1},F4="Unable to add element to queue",Gzn={3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1},zzn={3:1,20:1,31:1,56:1,16:1,15:1,59:1},Xzn={20:1,16:1,15:1},AK={3:1,50:1},Py={189:1},n2={3:1,4:1,85:1},ktn={3:1,4:1,20:1,31:1,16:1,49:1,21:1},LK="delete",V5=14901161193847656e-24,W5=11102230246251565e-32,NK=15525485,Iy=5960464477539063e-23,ytn=16777216,YS=16777215,jtn=", length: ",Vzn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1},Etn="subMap: ",Wzn=" less than ",DK={3:1,34:1,22:1,303:1},$K="java.util.function",J5="java.util.logging",Jzn={3:1,4:1,5:1,856:1},xK="undefined",ai="java.util.stream",Mtn={533:1,687:1},ZS="fromIndex: ",Qzn=" > toIndex: ",Ttn=", toIndex: ",Ctn="Index: ",Stn=", Size: ",_4="org.eclipse.elk.alg.common",De={50:1},Yzn="org.eclipse.elk.alg.common.compaction",Zzn="Scanline/EventHandler",zh="org.eclipse.elk.alg.common.compaction.oned",nXn="CNode belongs to another CGroup.",eXn="ISpacingsHandler/1",RK="The ",KK=" instance has been finished already.",tXn="The direction ",iXn=" is not supported by the CGraph instance.",rXn="OneDimensionalCompactor",cXn="OneDimensionalCompactor/lambda$0$Type",uXn="Quadruplet",oXn="ScanlineConstraintCalculator",sXn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",fXn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",hXn="ScanlineConstraintCalculator/Timestamp",lXn="ScanlineConstraintCalculator/lambda$0$Type",ph={178:1,46:1},BK="org.eclipse.elk.alg.common.compaction.options",oc="org.eclipse.elk.core.data",Ptn="org.eclipse.elk.polyomino.traversalStrategy",Itn="org.eclipse.elk.polyomino.lowLevelSort",Otn="org.eclipse.elk.polyomino.highLevelSort",Atn="org.eclipse.elk.polyomino.fill",ms={134:1},FK="polyomino",Q5="org.eclipse.elk.alg.common.networksimplex",Xh={183:1,3:1,4:1},aXn="org.eclipse.elk.alg.common.nodespacing",kd="org.eclipse.elk.alg.common.nodespacing.cellsystem",H4="CENTER",dXn={217:1,336:1},Ltn={3:1,4:1,5:1,603:1},s3="LEFT",f3="RIGHT",Ntn="Vertical alignment cannot be null",Dtn="BOTTOM",nP="org.eclipse.elk.alg.common.nodespacing.internal",Y5="UNDEFINED",_f=.01,Oy="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",bXn="LabelPlacer/lambda$0$Type",wXn="LabelPlacer/lambda$1$Type",gXn="portRatioOrPosition",q4="org.eclipse.elk.alg.common.overlaps",_K="DOWN",mh="org.eclipse.elk.alg.common.polyomino",eP="NORTH",HK="EAST",qK="SOUTH",UK="WEST",tP="org.eclipse.elk.alg.common.polyomino.structures",$tn="Direction",GK="Grid is only of size ",zK=". Requested point (",XK=") is out of bounds.",iP=" Given center based coordinates were (",Ay="org.eclipse.elk.graph.properties",pXn="IPropertyHolder",xtn={3:1,96:1,137:1},h3="org.eclipse.elk.alg.common.spore",mXn="org.eclipse.elk.alg.common.utils",yd={205:1},e2="org.eclipse.elk.core",vXn="Connected Components Compaction",kXn="org.eclipse.elk.alg.disco",rP="org.eclipse.elk.alg.disco.graph",VK="org.eclipse.elk.alg.disco.options",Rtn="CompactionStrategy",Ktn="org.eclipse.elk.disco.componentCompaction.strategy",Btn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",Ftn="org.eclipse.elk.disco.debug.discoGraph",_tn="org.eclipse.elk.disco.debug.discoPolys",yXn="componentCompaction",jd="org.eclipse.elk.disco",WK="org.eclipse.elk.spacing.componentComponent",JK="org.eclipse.elk.edge.thickness",l3="org.eclipse.elk.aspectRatio",Xb="org.eclipse.elk.padding",t2="org.eclipse.elk.alg.disco.transform",QK=1.5707963267948966,i2=17976931348623157e292,k0={3:1,4:1,5:1,198:1},jXn={3:1,6:1,4:1,5:1,100:1,115:1},YK="org.eclipse.elk.alg.force",Htn="ComponentsProcessor",EXn="ComponentsProcessor/1",qtn="ElkGraphImporter/lambda$0$Type",Ly="org.eclipse.elk.alg.force.graph",MXn="Component Layout",Utn="org.eclipse.elk.alg.force.model",cP="org.eclipse.elk.force.model",Gtn="org.eclipse.elk.force.iterations",ztn="org.eclipse.elk.force.repulsivePower",ZK="org.eclipse.elk.force.temperature",vh=.001,nB="org.eclipse.elk.force.repulsion",Z5="org.eclipse.elk.alg.force.options",U4=1.600000023841858,cu="org.eclipse.elk.force",Ny="org.eclipse.elk.priority",y0="org.eclipse.elk.spacing.nodeNode",eB="org.eclipse.elk.spacing.edgeLabel",uP="org.eclipse.elk.randomSeed",n8="org.eclipse.elk.separateConnectedComponents",e8="org.eclipse.elk.interactive",tB="org.eclipse.elk.portConstraints",oP="org.eclipse.elk.edgeLabels.inline",t8="org.eclipse.elk.omitNodeMicroLayout",G4="org.eclipse.elk.nodeSize.fixedGraphSize",a3="org.eclipse.elk.nodeSize.options",r2="org.eclipse.elk.nodeSize.constraints",z4="org.eclipse.elk.nodeLabels.placement",X4="org.eclipse.elk.portLabels.placement",Dy="org.eclipse.elk.topdownLayout",$y="org.eclipse.elk.topdown.scaleFactor",xy="org.eclipse.elk.topdown.hierarchicalNodeWidth",Ry="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",Vb="org.eclipse.elk.topdown.nodeType",Xtn="origin",TXn="random",CXn="boundingBox.upLeft",SXn="boundingBox.lowRight",Vtn="org.eclipse.elk.stress.fixed",Wtn="org.eclipse.elk.stress.desiredEdgeLength",Jtn="org.eclipse.elk.stress.dimension",Qtn="org.eclipse.elk.stress.epsilon",Ytn="org.eclipse.elk.stress.iterationLimit",aa="org.eclipse.elk.stress",PXn="ELK Stress",d3="org.eclipse.elk.nodeSize.minimum",sP="org.eclipse.elk.alg.force.stress",IXn="Layered layout",b3="org.eclipse.elk.alg.layered",Ky="org.eclipse.elk.alg.layered.compaction.components",i8="org.eclipse.elk.alg.layered.compaction.oned",fP="org.eclipse.elk.alg.layered.compaction.oned.algs",Ed="org.eclipse.elk.alg.layered.compaction.recthull",Hf="org.eclipse.elk.alg.layered.components",kh="NONE",Ztn="MODEL_ORDER",Tc={3:1,6:1,4:1,9:1,5:1,126:1},OXn={3:1,6:1,4:1,5:1,150:1,100:1,115:1},hP="org.eclipse.elk.alg.layered.compound",vt={47:1},Kc="org.eclipse.elk.alg.layered.graph",iB=" -> ",AXn="Not supported by LGraph",nin="Port side is undefined",rB={3:1,6:1,4:1,5:1,482:1,150:1,100:1,115:1},b1={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},LXn={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},NXn=`([{"' \r
`,DXn=`)]}"' \r
`,$Xn="The given string contains parts that cannot be parsed as numbers.",By="org.eclipse.elk.core.math",xXn={3:1,4:1,140:1,214:1,423:1},RXn={3:1,4:1,107:1,214:1,423:1},w1="org.eclipse.elk.alg.layered.graph.transform",KXn="ElkGraphImporter",BXn="ElkGraphImporter/lambda$1$Type",FXn="ElkGraphImporter/lambda$2$Type",_Xn="ElkGraphImporter/lambda$4$Type",Qn="org.eclipse.elk.alg.layered.intermediate",HXn="Node margin calculation",qXn="ONE_SIDED_GREEDY_SWITCH",UXn="TWO_SIDED_GREEDY_SWITCH",cB="No implementation is available for the layout processor ",uB="IntermediateProcessorStrategy",oB="Node '",GXn="FIRST_SEPARATE",zXn="LAST_SEPARATE",XXn="Odd port side processing",di="org.eclipse.elk.alg.layered.intermediate.compaction",r8="org.eclipse.elk.alg.layered.intermediate.greedyswitch",Vh="org.eclipse.elk.alg.layered.p3order.counting",Fy={230:1},w3="org.eclipse.elk.alg.layered.intermediate.loops",Oo="org.eclipse.elk.alg.layered.intermediate.loops.ordering",da="org.eclipse.elk.alg.layered.intermediate.loops.routing",ein="org.eclipse.elk.alg.layered.intermediate.preserveorder",yh="org.eclipse.elk.alg.layered.intermediate.wrapping",Cc="org.eclipse.elk.alg.layered.options",sB="INTERACTIVE",tin="GREEDY",VXn="DEPTH_FIRST",WXn="EDGE_LENGTH",JXn="SELF_LOOPS",QXn="firstTryWithInitialOrder",iin="org.eclipse.elk.layered.directionCongruency",rin="org.eclipse.elk.layered.feedbackEdges",lP="org.eclipse.elk.layered.interactiveReferencePoint",cin="org.eclipse.elk.layered.mergeEdges",uin="org.eclipse.elk.layered.mergeHierarchyEdges",oin="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",sin="org.eclipse.elk.layered.portSortingStrategy",fin="org.eclipse.elk.layered.thoroughness",hin="org.eclipse.elk.layered.unnecessaryBendpoints",lin="org.eclipse.elk.layered.generatePositionAndLayerIds",fB="org.eclipse.elk.layered.cycleBreaking.strategy",_y="org.eclipse.elk.layered.layering.strategy",ain="org.eclipse.elk.layered.layering.layerConstraint",din="org.eclipse.elk.layered.layering.layerChoiceConstraint",bin="org.eclipse.elk.layered.layering.layerId",hB="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",lB="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",aB="org.eclipse.elk.layered.layering.nodePromotion.strategy",dB="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",bB="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",c8="org.eclipse.elk.layered.crossingMinimization.strategy",win="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",wB="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",gB="org.eclipse.elk.layered.crossingMinimization.semiInteractive",gin="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",pin="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",min="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",vin="org.eclipse.elk.layered.crossingMinimization.positionId",kin="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",pB="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",aP="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",c2="org.eclipse.elk.layered.nodePlacement.strategy",dP="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",mB="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",vB="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",kB="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",yB="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",jB="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",yin="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",jin="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",bP="org.eclipse.elk.layered.edgeRouting.splines.mode",wP="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",EB="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Ein="org.eclipse.elk.layered.spacing.baseValue",Min="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Tin="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Cin="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Sin="org.eclipse.elk.layered.priority.direction",Pin="org.eclipse.elk.layered.priority.shortness",Iin="org.eclipse.elk.layered.priority.straightness",MB="org.eclipse.elk.layered.compaction.connectedComponents",Oin="org.eclipse.elk.layered.compaction.postCompaction.strategy",Ain="org.eclipse.elk.layered.compaction.postCompaction.constraints",gP="org.eclipse.elk.layered.highDegreeNodes.treatment",TB="org.eclipse.elk.layered.highDegreeNodes.threshold",CB="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Al="org.eclipse.elk.layered.wrapping.strategy",pP="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",mP="org.eclipse.elk.layered.wrapping.correctionFactor",u8="org.eclipse.elk.layered.wrapping.cutting.strategy",SB="org.eclipse.elk.layered.wrapping.cutting.cuts",PB="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",vP="org.eclipse.elk.layered.wrapping.validify.strategy",kP="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",yP="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",jP="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",IB="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Lin="org.eclipse.elk.layered.edgeLabels.sideSelection",Nin="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",EP="org.eclipse.elk.layered.considerModelOrder.strategy",Din="org.eclipse.elk.layered.considerModelOrder.portModelOrder",$in="org.eclipse.elk.layered.considerModelOrder.noModelOrder",OB="org.eclipse.elk.layered.considerModelOrder.components",xin="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",AB="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",LB="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",NB="layering",YXn="layering.minWidth",ZXn="layering.nodePromotion",V4="crossingMinimization",MP="org.eclipse.elk.hierarchyHandling",nVn="crossingMinimization.greedySwitch",eVn="nodePlacement",tVn="nodePlacement.bk",iVn="edgeRouting",Hy="org.eclipse.elk.edgeRouting",qf="spacing",Rin="priority",Kin="compaction",rVn="compaction.postCompaction",cVn="Specifies whether and how post-process compaction is applied.",Bin="highDegreeNodes",Fin="wrapping",uVn="wrapping.cutting",oVn="wrapping.validify",_in="wrapping.multiEdge",DB="edgeLabels",o8="considerModelOrder",Hin="org.eclipse.elk.spacing.commentComment",qin="org.eclipse.elk.spacing.commentNode",Uin="org.eclipse.elk.spacing.edgeEdge",$B="org.eclipse.elk.spacing.edgeNode",Gin="org.eclipse.elk.spacing.labelLabel",zin="org.eclipse.elk.spacing.labelPortHorizontal",Xin="org.eclipse.elk.spacing.labelPortVertical",Vin="org.eclipse.elk.spacing.labelNode",Win="org.eclipse.elk.spacing.nodeSelfLoop",Jin="org.eclipse.elk.spacing.portPort",Qin="org.eclipse.elk.spacing.individual",Yin="org.eclipse.elk.port.borderOffset",Zin="org.eclipse.elk.noLayout",nrn="org.eclipse.elk.port.side",qy="org.eclipse.elk.debugMode",ern="org.eclipse.elk.alignment",trn="org.eclipse.elk.insideSelfLoops.activate",irn="org.eclipse.elk.insideSelfLoops.yo",xB="org.eclipse.elk.direction",rrn="org.eclipse.elk.nodeLabels.padding",crn="org.eclipse.elk.portLabels.nextToPortIfPossible",urn="org.eclipse.elk.portLabels.treatAsGroup",orn="org.eclipse.elk.portAlignment.default",srn="org.eclipse.elk.portAlignment.north",frn="org.eclipse.elk.portAlignment.south",hrn="org.eclipse.elk.portAlignment.west",lrn="org.eclipse.elk.portAlignment.east",TP="org.eclipse.elk.contentAlignment",arn="org.eclipse.elk.junctionPoints",drn="org.eclipse.elk.edgeLabels.placement",brn="org.eclipse.elk.port.index",wrn="org.eclipse.elk.commentBox",grn="org.eclipse.elk.hypernode",prn="org.eclipse.elk.port.anchor",RB="org.eclipse.elk.partitioning.activate",KB="org.eclipse.elk.partitioning.partition",CP="org.eclipse.elk.position",mrn="org.eclipse.elk.margins",vrn="org.eclipse.elk.spacing.portsSurrounding",SP="org.eclipse.elk.interactiveLayout",dc="org.eclipse.elk.core.util",krn={3:1,4:1,5:1,601:1},sVn="NETWORK_SIMPLEX",yrn="SIMPLE",vr={106:1,47:1},PP="org.eclipse.elk.alg.layered.p1cycles",Ll="org.eclipse.elk.alg.layered.p2layers",jrn={413:1,230:1},fVn={846:1,3:1,4:1},Du="org.eclipse.elk.alg.layered.p3order",kr="org.eclipse.elk.alg.layered.p4nodes",hVn={3:1,4:1,5:1,854:1},jh=1e-5,ba="org.eclipse.elk.alg.layered.p4nodes.bk",BB="org.eclipse.elk.alg.layered.p5edges",mf="org.eclipse.elk.alg.layered.p5edges.orthogonal",FB="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",_B=1e-6,j0="org.eclipse.elk.alg.layered.p5edges.splines",HB=.09999999999999998,IP=1e-8,lVn=4.71238898038469,Ern=3.141592653589793,Nl="org.eclipse.elk.alg.mrtree",qB=.10000000149011612,OP="SUPER_ROOT",s8="org.eclipse.elk.alg.mrtree.graph",Mrn=-17976931348623157e292,Bc="org.eclipse.elk.alg.mrtree.intermediate",aVn="Processor compute fanout",AP={3:1,6:1,4:1,5:1,534:1,100:1,115:1},dVn="Set neighbors in level",Uy="org.eclipse.elk.alg.mrtree.options",bVn="DESCENDANTS",Trn="org.eclipse.elk.mrtree.compaction",Crn="org.eclipse.elk.mrtree.edgeEndTextureLength",Srn="org.eclipse.elk.mrtree.treeLevel",Prn="org.eclipse.elk.mrtree.positionConstraint",Irn="org.eclipse.elk.mrtree.weighting",Orn="org.eclipse.elk.mrtree.edgeRoutingMode",Arn="org.eclipse.elk.mrtree.searchOrder",wVn="Position Constraint",uu="org.eclipse.elk.mrtree",gVn="org.eclipse.elk.tree",pVn="Processor arrange level",W4="org.eclipse.elk.alg.mrtree.p2order",po="org.eclipse.elk.alg.mrtree.p4route",Lrn="org.eclipse.elk.alg.radial",Md=6.283185307179586,Nrn="Before",Drn=5e-324,LP="After",$rn="org.eclipse.elk.alg.radial.intermediate",mVn="COMPACTION",UB="org.eclipse.elk.alg.radial.intermediate.compaction",vVn={3:1,4:1,5:1,100:1},xrn="org.eclipse.elk.alg.radial.intermediate.optimization",GB="No implementation is available for the layout option ",f8="org.eclipse.elk.alg.radial.options",Rrn="org.eclipse.elk.radial.centerOnRoot",Krn="org.eclipse.elk.radial.orderId",Brn="org.eclipse.elk.radial.radius",NP="org.eclipse.elk.radial.rotate",zB="org.eclipse.elk.radial.compactor",XB="org.eclipse.elk.radial.compactionStepSize",Frn="org.eclipse.elk.radial.sorter",_rn="org.eclipse.elk.radial.wedgeCriteria",Hrn="org.eclipse.elk.radial.optimizationCriteria",VB="org.eclipse.elk.radial.rotation.targetAngle",WB="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",qrn="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",kVn="Compaction",Urn="rotation",es="org.eclipse.elk.radial",yVn="org.eclipse.elk.alg.radial.p1position.wedge",Grn="org.eclipse.elk.alg.radial.sorting",jVn=5.497787143782138,EVn=3.9269908169872414,MVn=2.356194490192345,TVn="org.eclipse.elk.alg.rectpacking",DP="org.eclipse.elk.alg.rectpacking.intermediate",JB="org.eclipse.elk.alg.rectpacking.options",zrn="org.eclipse.elk.rectpacking.trybox",Xrn="org.eclipse.elk.rectpacking.currentPosition",Vrn="org.eclipse.elk.rectpacking.desiredPosition",Wrn="org.eclipse.elk.rectpacking.inNewRow",Jrn="org.eclipse.elk.rectpacking.widthApproximation.strategy",Qrn="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Yrn="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",Zrn="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",ncn="org.eclipse.elk.rectpacking.packing.strategy",ecn="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",tcn="org.eclipse.elk.rectpacking.packing.compaction.iterations",icn="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",QB="widthApproximation",CVn="Compaction Strategy",SVn="packing.compaction",co="org.eclipse.elk.rectpacking",J4="org.eclipse.elk.alg.rectpacking.p1widthapproximation",$P="org.eclipse.elk.alg.rectpacking.p2packing",PVn="No Compaction",rcn="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",Gy="org.eclipse.elk.alg.rectpacking.util",xP="No implementation available for ",E0="org.eclipse.elk.alg.spore",M0="org.eclipse.elk.alg.spore.options",Wb="org.eclipse.elk.sporeCompaction",YB="org.eclipse.elk.underlyingLayoutAlgorithm",ccn="org.eclipse.elk.processingOrder.treeConstruction",ucn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",ZB="org.eclipse.elk.processingOrder.preferredRoot",nF="org.eclipse.elk.processingOrder.rootSelection",eF="org.eclipse.elk.structure.structureExtractionStrategy",ocn="org.eclipse.elk.compaction.compactionStrategy",scn="org.eclipse.elk.compaction.orthogonal",fcn="org.eclipse.elk.overlapRemoval.maxIterations",hcn="org.eclipse.elk.overlapRemoval.runScanline",tF="processingOrder",IVn="overlapRemoval",Q4="org.eclipse.elk.sporeOverlap",OVn="org.eclipse.elk.alg.spore.p1structure",iF="org.eclipse.elk.alg.spore.p2processingorder",rF="org.eclipse.elk.alg.spore.p3execution",AVn="Topdown Layout",LVn="Invalid index: ",Y4="org.eclipse.elk.core.alg",u2={341:1},T0={294:1},NVn="Make sure its type is registered with the ",lcn=" utility class.",Z4="true",cF="false",DVn="Couldn't clone property '",Jb=.05,uo="org.eclipse.elk.core.options",$Vn=1.2999999523162842,Qb="org.eclipse.elk.box",acn="org.eclipse.elk.expandNodes",dcn="org.eclipse.elk.box.packingMode",xVn="org.eclipse.elk.algorithm",RVn="org.eclipse.elk.resolvedAlgorithm",bcn="org.eclipse.elk.bendPoints",iDe="org.eclipse.elk.labelManager",KVn="org.eclipse.elk.scaleFactor",BVn="org.eclipse.elk.childAreaWidth",FVn="org.eclipse.elk.childAreaHeight",_Vn="org.eclipse.elk.animate",HVn="org.eclipse.elk.animTimeFactor",qVn="org.eclipse.elk.layoutAncestors",UVn="org.eclipse.elk.maxAnimTime",GVn="org.eclipse.elk.minAnimTime",zVn="org.eclipse.elk.progressBar",XVn="org.eclipse.elk.validateGraph",VVn="org.eclipse.elk.validateOptions",WVn="org.eclipse.elk.zoomToFit",rDe="org.eclipse.elk.font.name",JVn="org.eclipse.elk.font.size",wcn="org.eclipse.elk.topdown.sizeApproximator",gcn="org.eclipse.elk.topdown.scaleCap",QVn="org.eclipse.elk.edge.type",YVn="partitioning",ZVn="nodeLabels",RP="portAlignment",uF="nodeSize",oF="port",pcn="portLabels",zy="topdown",nWn="insideSelfLoops",h8="org.eclipse.elk.fixed",KP="org.eclipse.elk.random",mcn={3:1,34:1,22:1,347:1},eWn="port must have a parent node to calculate the port side",tWn="The edge needs to have exactly one edge section. Found: ",l8="org.eclipse.elk.core.util.adapters",ts="org.eclipse.emf.ecore",o2="org.eclipse.elk.graph",iWn="EMapPropertyHolder",rWn="ElkBendPoint",cWn="ElkGraphElement",uWn="ElkConnectableShape",vcn="ElkEdge",oWn="ElkEdgeSection",sWn="EModelElement",fWn="ENamedElement",kcn="ElkLabel",ycn="ElkNode",jcn="ElkPort",hWn={94:1,93:1},g3="org.eclipse.emf.common.notify.impl",wa="The feature '",a8="' is not a valid changeable feature",lWn="Expecting null",sF="' is not a valid feature",aWn="The feature ID",dWn=" is not a valid feature ID",kc=32768,bWn={110:1,94:1,93:1,58:1,54:1,99:1},qn="org.eclipse.emf.ecore.impl",Td="org.eclipse.elk.graph.impl",d8="Recursive containment not allowed for ",nv="The datatype '",Yb="' is not a valid classifier",fF="The value '",s2={195:1,3:1,4:1},hF="The class '",ev="http://www.eclipse.org/elk/ElkGraph",Ecn="property",b8="value",lF="source",wWn="properties",gWn="identifier",aF="height",dF="width",bF="parent",wF="text",gF="children",pWn="hierarchical",Mcn="sources",pF="targets",Tcn="sections",BP="bendPoints",Ccn="outgoingShape",Scn="incomingShape",Pcn="outgoingSections",Icn="incomingSections",or="org.eclipse.emf.common.util",Ocn="Severe implementation error in the Json to ElkGraph importer.",Eh="id",Ui="org.eclipse.elk.graph.json",Acn="Unhandled parameter types: ",mWn="startPoint",vWn="An edge must have at least one source and one target (edge id: '",tv="').",kWn="Referenced edge section does not exist: ",yWn=" (edge id: '",Lcn="target",jWn="sourcePoint",EWn="targetPoint",FP="group",Qe="name",MWn="connectableShape cannot be null",TWn="edge cannot be null",mF="Passed edge is not 'simple'.",_P="org.eclipse.elk.graph.util",Xy="The 'no duplicates' constraint is violated",vF="targetIndex=",Cd=", size=",kF="sourceIndex=",Mh={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},yF={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},HP="logging",CWn="measureExecutionTime",SWn="parser.parse.1",PWn="parser.parse.2",qP="parser.next.1",jF="parser.next.2",IWn="parser.next.3",OWn="parser.next.4",Sd="parser.factor.1",Ncn="parser.factor.2",AWn="parser.factor.3",LWn="parser.factor.4",NWn="parser.factor.5",DWn="parser.factor.6",$Wn="parser.atom.1",xWn="parser.atom.2",RWn="parser.atom.3",Dcn="parser.atom.4",EF="parser.atom.5",$cn="parser.cc.1",UP="parser.cc.2",KWn="parser.cc.3",BWn="parser.cc.5",xcn="parser.cc.6",Rcn="parser.cc.7",MF="parser.cc.8",FWn="parser.ope.1",_Wn="parser.ope.2",HWn="parser.ope.3",g1="parser.descape.1",qWn="parser.descape.2",UWn="parser.descape.3",GWn="parser.descape.4",zWn="parser.descape.5",is="parser.process.1",XWn="parser.quantifier.1",VWn="parser.quantifier.2",WWn="parser.quantifier.3",JWn="parser.quantifier.4",Kcn="parser.quantifier.5",QWn="org.eclipse.emf.common.notify",Bcn={424:1,686:1},YWn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},Vy={378:1,152:1},w8="index=",TF={3:1,4:1,5:1,129:1},ZWn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},Fcn={3:1,6:1,4:1,5:1,198:1},nJn={3:1,4:1,5:1,173:1,379:1},eJn=";/?:@&=+$,",tJn="invalid authority: ",iJn="EAnnotation",rJn="ETypedElement",cJn="EStructuralFeature",uJn="EAttribute",oJn="EClassifier",sJn="EEnumLiteral",fJn="EGenericType",hJn="EOperation",lJn="EParameter",aJn="EReference",dJn="ETypeParameter",Ct="org.eclipse.emf.ecore.util",CF={79:1},_cn={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},bJn="org.eclipse.emf.ecore.util.FeatureMap$Entry",$u=8192,C0=2048,g8="byte",GP="char",p8="double",m8="float",v8="int",k8="long",y8="short",wJn="java.lang.Object",f2={3:1,4:1,5:1,254:1},Hcn={3:1,4:1,5:1,688:1},gJn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Qr={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},Wy="mixed",Ke="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",vs="kind",pJn={3:1,4:1,5:1,689:1},qcn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},zP={20:1,31:1,56:1,16:1,15:1,61:1,71:1},XP={51:1,128:1,287:1},VP={76:1,343:1},WP="The value of type '",JP="' must be of type '",h2=1352,ks="http://www.eclipse.org/emf/2002/Ecore",QP=-32768,Zb="constraints",Ji="baseType",mJn="getEStructuralFeature",vJn="getFeatureID",j8="feature",kJn="getOperationID",Ucn="operation",yJn="defaultValue",jJn="eTypeParameters",EJn="isInstance",MJn="getEEnumLiteral",TJn="eContainingClass",ze={57:1},CJn={3:1,4:1,5:1,124:1},SJn="org.eclipse.emf.ecore.resource",PJn={94:1,93:1,599:1,2034:1},SF="org.eclipse.emf.ecore.resource.impl",Gcn="unspecified",Jy="simple",YP="attribute",IJn="attributeWildcard",ZP="element",PF="elementWildcard",vf="collapse",IF="itemType",nI="namespace",Qy="##targetNamespace",ys="whiteSpace",zcn="wildcards",Pd="http://www.eclipse.org/emf/2003/XMLType",OF="##any",iv="uninitialized",Yy="The multiplicity constraint is violated",eI="org.eclipse.emf.ecore.xml.type",OJn="ProcessingInstruction",AJn="SimpleAnyType",LJn="XMLTypeDocumentRoot",oi="org.eclipse.emf.ecore.xml.type.impl",Zy="INF",NJn="processing",DJn="ENTITIES_._base",Xcn="minLength",Vcn="ENTITY",tI="NCName",$Jn="IDREFS_._base",Wcn="integer",AF="token",LF="pattern",xJn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Jcn="\\i\\c*",RJn="[\\i-[:]][\\c-[:]]*",KJn="nonPositiveInteger",nj="maxInclusive",Qcn="NMTOKEN",BJn="NMTOKENS_._base",Ycn="nonNegativeInteger",ej="minInclusive",FJn="normalizedString",_Jn="unsignedByte",HJn="unsignedInt",qJn="18446744073709551615",UJn="unsignedShort",GJn="processingInstruction",p1="org.eclipse.emf.ecore.xml.type.internal",rv=1114111,zJn="Internal Error: shorthands: \\u",E8="xml:isDigit",NF="xml:isWord",DF="xml:isSpace",$F="xml:isNameChar",xF="xml:isInitialNameChar",XJn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",VJn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",WJn="Private Use",RF="ASSIGNED",KF="\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ\uFEFF\uFEFF",Zcn="UNASSIGNED",cv={3:1,122:1},JJn="org.eclipse.emf.ecore.xml.type.util",iI={3:1,4:1,5:1,381:1},nun="org.eclipse.xtext.xbase.lib",QJn="Cannot add elements to a Range",YJn="Cannot set elements in a Range",ZJn="Cannot remove elements from a Range",nQn="user.agent",o,rI,BF;y.goog=y.goog||{},y.goog.global=y.goog.global||y,rI={},b(1,null,{},Ku),o.Fb=function(e){return QTn(this,e)},o.Gb=function(){return this.Rm},o.Hb=function(){return fb(this)},o.Ib=function(){var e;return Xa(wo(this))+"@"+(e=mt(this)>>>0,e.toString(16))},o.equals=function(n){return this.Fb(n)},o.hashCode=function(){return this.Hb()},o.toString=function(){return this.Ib()};var eQn,tQn,iQn;b(296,1,{296:1,2124:1},JQ),o.ve=function(e){var t;return t=new JQ,t.i=4,e>1?t.c=vAn(this,e-1):t.c=this,t},o.we=function(){return ll(this),this.b},o.xe=function(){return Xa(this)},o.ye=function(){return ll(this),this.k},o.ze=function(){return(this.i&4)!=0},o.Ae=function(){return(this.i&1)!=0},o.Ib=function(){return oQ(this)},o.i=0;var ki=w(ac,"Object",1),eun=w(ac,"Class",296);b(2096,1,vy),w(ky,"Optional",2096),b(1191,2096,vy,qt),o.Fb=function(e){return e===this},o.Hb=function(){return 2040732332},o.Ib=function(){return"Optional.absent()"},o.Jb=function(e){return Pe(e),Qv(),FF};var FF;w(ky,"Absent",1191),b(636,1,{},yL),w(ky,"Joiner",636);var cDe=Dt(ky,"Predicate");b(589,1,{178:1,589:1,3:1,46:1},C8n),o.Mb=function(e){return vRn(this,e)},o.Lb=function(e){return vRn(this,e)},o.Fb=function(e){var t;return L(e,589)?(t=u(e,589),znn(this.a,t.a)):!1},o.Hb=function(){return tY(this.a)+306654252},o.Ib=function(){return Gje(this.a)},w(ky,"Predicates/AndPredicate",589),b(419,2096,{419:1,3:1},TE),o.Fb=function(e){var t;return L(e,419)?(t=u(e,419),ct(this.a,t.a)):!1},o.Hb=function(){return 1502476572+mt(this.a)},o.Ib=function(){return Pzn+this.a+")"},o.Jb=function(e){return new TE(TT(e.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},w(ky,"Present",419),b(204,1,D4),o.Nb=function(e){_i(this,e)},o.Qb=function(){Fjn()},w(Mn,"UnmodifiableIterator",204),b(2076,204,$4),o.Qb=function(){Fjn()},o.Rb=function(e){throw T(new Ie)},o.Wb=function(e){throw T(new Ie)},w(Mn,"UnmodifiableListIterator",2076),b(399,2076,$4),o.Ob=function(){return this.c<this.d},o.Sb=function(){return this.c>0},o.Pb=function(){if(this.c>=this.d)throw T(new nc);return this.Xb(this.c++)},o.Tb=function(){return this.c},o.Ub=function(){if(this.c<=0)throw T(new nc);return this.Xb(--this.c)},o.Vb=function(){return this.c-1},o.c=0,o.d=0,w(Mn,"AbstractIndexedListIterator",399),b(713,204,D4),o.Ob=function(){return E$(this)},o.Pb=function(){return eQ(this)},o.e=1,w(Mn,"AbstractIterator",713),b(2084,1,{229:1}),o.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},o.Fb=function(e){return G$(this,e)},o.Hb=function(){return mt(this.Zb())},o.dc=function(){return this.gc()==0},o.ec=function(){return Cp(this)},o.Ib=function(){return Jr(this.Zb())},w(Mn,"AbstractMultimap",2084),b(742,2084,md),o.$b=function(){gC(this)},o._b=function(e){return cEn(this,e)},o.ac=function(){return new fm(this,this.c)},o.ic=function(e){return this.hc()},o.bc=function(){return new Tg(this,this.c)},o.jc=function(){return this.mc(this.hc())},o.kc=function(){return new Mjn(this)},o.lc=function(){return nR(this.c.vc().Nc(),new Xe,64,this.d)},o.cc=function(e){return ot(this,e)},o.fc=function(e){return Ok(this,e)},o.gc=function(){return this.d},o.mc=function(e){return Ln(),new J3(e)},o.nc=function(){return new Ejn(this)},o.oc=function(){return nR(this.c.Cc().Nc(),new Jt,64,this.d)},o.pc=function(e,t){return new VT(this,e,t,null)},o.d=0,w(Mn,"AbstractMapBasedMultimap",742),b(1696,742,md),o.hc=function(){return new Gc(this.a)},o.jc=function(){return Ln(),Ln(),sr},o.cc=function(e){return u(ot(this,e),15)},o.fc=function(e){return u(Ok(this,e),15)},o.Zb=function(){return Lp(this)},o.Fb=function(e){return G$(this,e)},o.qc=function(e){return u(ot(this,e),15)},o.rc=function(e){return u(Ok(this,e),15)},o.mc=function(e){return CD(u(e,15))},o.pc=function(e,t){return CLn(this,e,u(t,15),null)},w(Mn,"AbstractListMultimap",1696),b(748,1,Pi),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.c.Ob()||this.e.Ob()},o.Pb=function(){var e;return this.e.Ob()||(e=u(this.c.Pb(),44),this.b=e.ld(),this.a=u(e.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},o.Qb=function(){this.e.Qb(),u(as(this.a),16).dc()&&this.c.Qb(),--this.d.d},w(Mn,"AbstractMapBasedMultimap/Itr",748),b(1129,748,Pi,Ejn),o.sc=function(e,t){return t},w(Mn,"AbstractMapBasedMultimap/1",1129),b(1130,1,{},Jt),o.Kb=function(e){return u(e,16).Nc()},w(Mn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),b(1131,748,Pi,Mjn),o.sc=function(e,t){return new tb(e,t)},w(Mn,"AbstractMapBasedMultimap/2",1131);var tun=Dt(le,"Map");b(2065,1,Gb),o.wc=function(e){o5(this,e)},o.yc=function(e,t,i){return hx(this,e,t,i)},o.$b=function(){this.vc().$b()},o.tc=function(e){return xx(this,e)},o._b=function(e){return!!GZ(this,e,!1)},o.uc=function(e){var t,i,r;for(i=this.vc().Kc();i.Ob();)if(t=u(i.Pb(),44),r=t.md(),x(e)===x(r)||e!=null&&ct(e,r))return!0;return!1},o.Fb=function(e){var t,i,r;if(e===this)return!0;if(!L(e,85)||(r=u(e,85),this.gc()!=r.gc()))return!1;for(i=r.vc().Kc();i.Ob();)if(t=u(i.Pb(),44),!this.tc(t))return!1;return!0},o.xc=function(e){return Fr(GZ(this,e,!1))},o.Hb=function(){return zQ(this.vc())},o.dc=function(){return this.gc()==0},o.ec=function(){return new qa(this)},o.zc=function(e,t){throw T(new Fl("Put not supported on this map"))},o.Ac=function(e){u5(this,e)},o.Bc=function(e){return Fr(GZ(this,e,!0))},o.gc=function(){return this.vc().gc()},o.Ib=function(){return AFn(this)},o.Cc=function(){return new ol(this)},w(le,"AbstractMap",2065),b(2085,2065,Gb),o.bc=function(){return new XE(this)},o.vc=function(){return jIn(this)},o.ec=function(){var e;return e=this.g,e||(this.g=this.bc())},o.Cc=function(){var e;return e=this.i,e||(this.i=new WEn(this))},w(Mn,"Maps/ViewCachingAbstractMap",2085),b(402,2085,Gb,fm),o.xc=function(e){return h4e(this,e)},o.Bc=function(e){return N6e(this,e)},o.$b=function(){this.d==this.e.c?this.e.$b():tT(new rW(this))},o._b=function(e){return iKn(this.d,e)},o.Ec=function(){return new S8n(this)},o.Dc=function(){return this.Ec()},o.Fb=function(e){return this===e||ct(this.d,e)},o.Hb=function(){return mt(this.d)},o.ec=function(){return this.e.ec()},o.gc=function(){return this.d.gc()},o.Ib=function(){return Jr(this.d)},w(Mn,"AbstractMapBasedMultimap/AsMap",402);var Ao=Dt(ac,"Iterable");b(31,1,p0),o.Jc=function(e){qi(this,e)},o.Lc=function(){return this.Oc()},o.Nc=function(){return new On(this,0)},o.Oc=function(){return new Cn(null,this.Nc())},o.Fc=function(e){throw T(new Fl("Add not supported on this collection"))},o.Gc=function(e){return Ki(this,e)},o.$b=function(){UW(this)},o.Hc=function(e){return i0(this,e,!1)},o.Ic=function(e){return jk(this,e)},o.dc=function(){return this.gc()==0},o.Mc=function(e){return i0(this,e,!0)},o.Pc=function(){return bW(this)},o.Qc=function(e){return T5(this,e)},o.Ib=function(){return ua(this)},w(le,"AbstractCollection",31);var js=Dt(le,"Set");b(Ff,31,Nu),o.Nc=function(){return new On(this,1)},o.Fb=function(e){return VKn(this,e)},o.Hb=function(){return zQ(this)},w(le,"AbstractSet",Ff),b(2068,Ff,Nu),w(Mn,"Sets/ImprovedAbstractSet",2068),b(2069,2068,Nu),o.$b=function(){this.Rc().$b()},o.Hc=function(e){return LKn(this,e)},o.dc=function(){return this.Rc().dc()},o.Mc=function(e){var t;return this.Hc(e)&&L(e,44)?(t=u(e,44),this.Rc().ec().Mc(t.ld())):!1},o.gc=function(){return this.Rc().gc()},w(Mn,"Maps/EntrySet",2069),b(1127,2069,Nu,S8n),o.Hc=function(e){return vY(this.a.d.vc(),e)},o.Kc=function(){return new rW(this.a)},o.Rc=function(){return this.a},o.Mc=function(e){var t;return vY(this.a.d.vc(),e)?(t=u(as(u(e,44)),44),Y3e(this.a.e,t.ld()),!0):!1},o.Nc=function(){return D7(this.a.d.vc().Nc(),new P8n(this.a))},w(Mn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),b(1128,1,{},P8n),o.Kb=function(e){return MNn(this.a,u(e,44))},w(Mn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),b(746,1,Pi,rW),o.Nb=function(e){_i(this,e)},o.Pb=function(){var e;return e=u(this.b.Pb(),44),this.a=u(e.md(),16),MNn(this.c,e)},o.Ob=function(){return this.b.Ob()},o.Qb=function(){mm(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},w(Mn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),b(542,2068,Nu,XE),o.$b=function(){this.b.$b()},o.Hc=function(e){return this.b._b(e)},o.Jc=function(e){Pe(e),this.b.wc(new G8n(e))},o.dc=function(){return this.b.dc()},o.Kc=function(){return new Yv(this.b.vc().Kc())},o.Mc=function(e){return this.b._b(e)?(this.b.Bc(e),!0):!1},o.gc=function(){return this.b.gc()},w(Mn,"Maps/KeySet",542),b(327,542,Nu,Tg),o.$b=function(){var e;tT((e=this.b.vc().Kc(),new Pz(this,e)))},o.Ic=function(e){return this.b.ec().Ic(e)},o.Fb=function(e){return this===e||ct(this.b.ec(),e)},o.Hb=function(){return mt(this.b.ec())},o.Kc=function(){var e;return e=this.b.vc().Kc(),new Pz(this,e)},o.Mc=function(e){var t,i;return i=0,t=u(this.b.Bc(e),16),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},o.Nc=function(){return this.b.ec().Nc()},w(Mn,"AbstractMapBasedMultimap/KeySet",327),b(747,1,Pi,Pz),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.c.Ob()},o.Pb=function(){return this.a=u(this.c.Pb(),44),this.a.ld()},o.Qb=function(){var e;mm(!!this.a),e=u(this.a.md(),16),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},w(Mn,"AbstractMapBasedMultimap/KeySet/1",747),b(502,402,{85:1,133:1},S7),o.bc=function(){return this.Sc()},o.ec=function(){return this.Uc()},o.Sc=function(){return new e7(this.c,this.Wc())},o.Tc=function(){return this.Wc().Tc()},o.Uc=function(){var e;return e=this.b,e||(this.b=this.Sc())},o.Vc=function(){return this.Wc().Vc()},o.Wc=function(){return u(this.d,133)},w(Mn,"AbstractMapBasedMultimap/SortedAsMap",502),b(446,502,atn,L6),o.bc=function(){return new sm(this.a,u(u(this.d,133),139))},o.Sc=function(){return new sm(this.a,u(u(this.d,133),139))},o.ec=function(){var e;return e=this.b,u(e||(this.b=new sm(this.a,u(u(this.d,133),139))),277)},o.Uc=function(){var e;return e=this.b,u(e||(this.b=new sm(this.a,u(u(this.d,133),139))),277)},o.Wc=function(){return u(u(this.d,133),139)},o.Xc=function(e){return u(u(this.d,133),139).Xc(e)},o.Yc=function(e){return u(u(this.d,133),139).Yc(e)},o.Zc=function(e,t){return new L6(this.a,u(u(this.d,133),139).Zc(e,t))},o.$c=function(e){return u(u(this.d,133),139).$c(e)},o._c=function(e){return u(u(this.d,133),139)._c(e)},o.ad=function(e,t){return new L6(this.a,u(u(this.d,133),139).ad(e,t))},w(Mn,"AbstractMapBasedMultimap/NavigableAsMap",446),b(501,327,Izn,e7),o.Nc=function(){return this.b.ec().Nc()},w(Mn,"AbstractMapBasedMultimap/SortedKeySet",501),b(401,501,dtn,sm),w(Mn,"AbstractMapBasedMultimap/NavigableKeySet",401),b(551,31,p0,VT),o.Fc=function(e){var t,i;return eo(this),i=this.d.dc(),t=this.d.Fc(e),t&&(++this.f.d,i&&A7(this)),t},o.Gc=function(e){var t,i,r;return e.dc()?!1:(r=(eo(this),this.d.gc()),t=this.d.Gc(e),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&A7(this)),t)},o.$b=function(){var e;e=(eo(this),this.d.gc()),e!=0&&(this.d.$b(),this.f.d-=e,sT(this))},o.Hc=function(e){return eo(this),this.d.Hc(e)},o.Ic=function(e){return eo(this),this.d.Ic(e)},o.Fb=function(e){return e===this?!0:(eo(this),ct(this.d,e))},o.Hb=function(){return eo(this),mt(this.d)},o.Kc=function(){return eo(this),new _V(this)},o.Mc=function(e){var t;return eo(this),t=this.d.Mc(e),t&&(--this.f.d,sT(this)),t},o.gc=function(){return RTn(this)},o.Nc=function(){return eo(this),this.d.Nc()},o.Ib=function(){return eo(this),Jr(this.d)},w(Mn,"AbstractMapBasedMultimap/WrappedCollection",551);var rs=Dt(le,"List");b(744,551,{20:1,31:1,16:1,15:1},pW),o.jd=function(e){ud(this,e)},o.Nc=function(){return eo(this),this.d.Nc()},o.bd=function(e,t){var i;eo(this),i=this.d.dc(),u(this.d,15).bd(e,t),++this.a.d,i&&A7(this)},o.cd=function(e,t){var i,r,c;return t.dc()?!1:(c=(eo(this),this.d.gc()),i=u(this.d,15).cd(e,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&A7(this)),i)},o.Xb=function(e){return eo(this),u(this.d,15).Xb(e)},o.dd=function(e){return eo(this),u(this.d,15).dd(e)},o.ed=function(){return eo(this),new dCn(this)},o.fd=function(e){return eo(this),new xOn(this,e)},o.gd=function(e){var t;return eo(this),t=u(this.d,15).gd(e),--this.a.d,sT(this),t},o.hd=function(e,t){return eo(this),u(this.d,15).hd(e,t)},o.kd=function(e,t){return eo(this),CLn(this.a,this.e,u(this.d,15).kd(e,t),this.b?this.b:this)},w(Mn,"AbstractMapBasedMultimap/WrappedList",744),b(1126,744,{20:1,31:1,16:1,15:1,59:1},tSn),w(Mn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),b(628,1,Pi,_V),o.Nb=function(e){_i(this,e)},o.Ob=function(){return Im(this),this.b.Ob()},o.Pb=function(){return Im(this),this.b.Pb()},o.Qb=function(){FCn(this)},w(Mn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),b(745,628,Hh,dCn,xOn),o.Qb=function(){FCn(this)},o.Rb=function(e){var t;t=RTn(this.a)==0,(Im(this),u(this.b,128)).Rb(e),++this.a.a.d,t&&A7(this.a)},o.Sb=function(){return(Im(this),u(this.b,128)).Sb()},o.Tb=function(){return(Im(this),u(this.b,128)).Tb()},o.Ub=function(){return(Im(this),u(this.b,128)).Ub()},o.Vb=function(){return(Im(this),u(this.b,128)).Vb()},o.Wb=function(e){(Im(this),u(this.b,128)).Wb(e)},w(Mn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),b(743,551,Izn,uV),o.Nc=function(){return eo(this),this.d.Nc()},w(Mn,"AbstractMapBasedMultimap/WrappedSortedSet",743),b(1125,743,dtn,sCn),w(Mn,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),b(1124,551,Nu,ESn),o.Nc=function(){return eo(this),this.d.Nc()},w(Mn,"AbstractMapBasedMultimap/WrappedSet",1124),b(1133,1,{},Xe),o.Kb=function(e){return sme(u(e,44))},w(Mn,"AbstractMapBasedMultimap/lambda$1$Type",1133),b(1132,1,{},L8n),o.Kb=function(e){return new tb(this.a,e)},w(Mn,"AbstractMapBasedMultimap/lambda$2$Type",1132);var Id=Dt(le,"Map/Entry");b(358,1,tK),o.Fb=function(e){var t;return L(e,44)?(t=u(e,44),sh(this.ld(),t.ld())&&sh(this.md(),t.md())):!1},o.Hb=function(){var e,t;return e=this.ld(),t=this.md(),(e==null?0:mt(e))^(t==null?0:mt(t))},o.nd=function(e){throw T(new Ie)},o.Ib=function(){return this.ld()+"="+this.md()},w(Mn,Ozn,358),b(2086,31,p0),o.$b=function(){this.od().$b()},o.Hc=function(e){var t;return L(e,44)?(t=u(e,44),Ipe(this.od(),t.ld(),t.md())):!1},o.Mc=function(e){var t;return L(e,44)?(t=u(e,44),oLn(this.od(),t.ld(),t.md())):!1},o.gc=function(){return this.od().d},w(Mn,"Multimaps/Entries",2086),b(749,2086,p0,oG),o.Kc=function(){return this.a.kc()},o.od=function(){return this.a},o.Nc=function(){return this.a.lc()},w(Mn,"AbstractMultimap/Entries",749),b(750,749,Nu,cz),o.Nc=function(){return this.a.lc()},o.Fb=function(e){return lnn(this,e)},o.Hb=function(){return mxn(this)},w(Mn,"AbstractMultimap/EntrySet",750),b(751,31,p0,sG),o.$b=function(){this.a.$b()},o.Hc=function(e){return S6e(this.a,e)},o.Kc=function(){return this.a.nc()},o.gc=function(){return this.a.d},o.Nc=function(){return this.a.oc()},w(Mn,"AbstractMultimap/Values",751),b(2087,31,{849:1,20:1,31:1,16:1}),o.Jc=function(e){Pe(e),Sg(this).Jc(new Q8n(e))},o.Nc=function(){var e;return e=Sg(this).Nc(),nR(e,new Tf,64|e.yd()&1296,this.a.d)},o.Fc=function(e){return dz(),!0},o.Gc=function(e){return Pe(this),Pe(e),L(e,552)?Lpe(u(e,849)):!e.dc()&&b$(this,e.Kc())},o.Hc=function(e){var t;return t=u(t0(Lp(this.a),e),16),(t?t.gc():0)>0},o.Fb=function(e){return nTe(this,e)},o.Hb=function(){return mt(Sg(this))},o.dc=function(){return Sg(this).dc()},o.Mc=function(e){return G_n(this,e,1)>0},o.Ib=function(){return Jr(Sg(this))},w(Mn,"AbstractMultiset",2087),b(2089,2068,Nu),o.$b=function(){gC(this.a.a)},o.Hc=function(e){var t,i;return L(e,503)?(i=u(e,425),u(i.a.md(),16).gc()<=0?!1:(t=DAn(this.a,i.a.ld()),t==u(i.a.md(),16).gc())):!1},o.Mc=function(e){var t,i,r,c;return L(e,503)&&(i=u(e,425),t=i.a.ld(),r=u(i.a.md(),16).gc(),r!=0)?(c=this.a,UEe(c,t,r)):!1},w(Mn,"Multisets/EntrySet",2089),b(1139,2089,Nu,N8n),o.Kc=function(){return new Ijn(jIn(Lp(this.a.a)).Kc())},o.gc=function(){return Lp(this.a.a).gc()},w(Mn,"AbstractMultiset/EntrySet",1139),b(627,742,md),o.hc=function(){return this.pd()},o.jc=function(){return this.qd()},o.cc=function(e){return this.rd(e)},o.fc=function(e){return this.sd(e)},o.Zb=function(){var e;return e=this.f,e||(this.f=this.ac())},o.qd=function(){return Ln(),Ln(),hI},o.Fb=function(e){return G$(this,e)},o.rd=function(e){return u(ot(this,e),21)},o.sd=function(e){return u(Ok(this,e),21)},o.mc=function(e){return Ln(),new im(u(e,21))},o.pc=function(e,t){return new ESn(this,e,u(t,21))},w(Mn,"AbstractSetMultimap",627),b(1723,627,md),o.hc=function(){return new Ul(this.b)},o.pd=function(){return new Ul(this.b)},o.jc=function(){return KW(new Ul(this.b))},o.qd=function(){return KW(new Ul(this.b))},o.cc=function(e){return u(u(ot(this,e),21),87)},o.rd=function(e){return u(u(ot(this,e),21),87)},o.fc=function(e){return u(u(Ok(this,e),21),87)},o.sd=function(e){return u(u(Ok(this,e),21),87)},o.mc=function(e){return L(e,277)?KW(u(e,277)):(Ln(),new GX(u(e,87)))},o.Zb=function(){var e;return e=this.f,e||(this.f=L(this.c,139)?new L6(this,u(this.c,139)):L(this.c,133)?new S7(this,u(this.c,133)):new fm(this,this.c))},o.pc=function(e,t){return L(t,277)?new sCn(this,e,u(t,277)):new uV(this,e,u(t,87))},w(Mn,"AbstractSortedSetMultimap",1723),b(1724,1723,md),o.Zb=function(){var e;return e=this.f,u(u(e||(this.f=L(this.c,139)?new L6(this,u(this.c,139)):L(this.c,133)?new S7(this,u(this.c,133)):new fm(this,this.c)),133),139)},o.ec=function(){var e;return e=this.i,u(u(e||(this.i=L(this.c,139)?new sm(this,u(this.c,139)):L(this.c,133)?new e7(this,u(this.c,133)):new Tg(this,this.c)),87),277)},o.bc=function(){return L(this.c,139)?new sm(this,u(this.c,139)):L(this.c,133)?new e7(this,u(this.c,133)):new Tg(this,this.c)},w(Mn,"AbstractSortedKeySortedSetMultimap",1724),b(2109,1,{2046:1}),o.Fb=function(e){return Tke(this,e)},o.Hb=function(){var e;return zQ((e=this.g,e||(this.g=new zA(this))))},o.Ib=function(){var e;return AFn((e=this.f,e||(this.f=new _X(this))))},w(Mn,"AbstractTable",2109),b(679,Ff,Nu,zA),o.$b=function(){_jn()},o.Hc=function(e){var t,i;return L(e,478)?(t=u(e,697),i=u(t0(zIn(this.a),H1(t.c.e,t.b)),85),!!i&&vY(i.vc(),new tb(H1(t.c.c,t.a),Bp(t.c,t.b,t.a)))):!1},o.Kc=function(){return Ige(this.a)},o.Mc=function(e){var t,i;return L(e,478)?(t=u(e,697),i=u(t0(zIn(this.a),H1(t.c.e,t.b)),85),!!i&&u5e(i.vc(),new tb(H1(t.c.c,t.a),Bp(t.c,t.b,t.a)))):!1},o.gc=function(){return WPn(this.a)},o.Nc=function(){return $pe(this.a)},w(Mn,"AbstractTable/CellSet",679),b(2025,31,p0,$8n),o.$b=function(){_jn()},o.Hc=function(e){return pye(this.a,e)},o.Kc=function(){return Oge(this.a)},o.gc=function(){return WPn(this.a)},o.Nc=function(){return uLn(this.a)},w(Mn,"AbstractTable/Values",2025),b(1697,1696,md),w(Mn,"ArrayListMultimapGwtSerializationDependencies",1697),b(520,1697,md,ML,uJ),o.hc=function(){return new Gc(this.a)},o.a=0,w(Mn,"ArrayListMultimap",520),b(678,2109,{678:1,2046:1,3:1},rHn),w(Mn,"ArrayTable",678),b(2021,399,$4,_Cn),o.Xb=function(e){return new QQ(this.a,e)},w(Mn,"ArrayTable/1",2021),b(2022,1,{},I8n),o.td=function(e){return new QQ(this.a,e)},w(Mn,"ArrayTable/1methodref$getCell$Type",2022),b(2110,1,{697:1}),o.Fb=function(e){var t;return e===this?!0:L(e,478)?(t=u(e,697),sh(H1(this.c.e,this.b),H1(t.c.e,t.b))&&sh(H1(this.c.c,this.a),H1(t.c.c,t.a))&&sh(Bp(this.c,this.b,this.a),Bp(t.c,t.b,t.a))):!1},o.Hb=function(){return Ik(S(C(ki,1),Rn,1,5,[H1(this.c.e,this.b),H1(this.c.c,this.a),Bp(this.c,this.b,this.a)]))},o.Ib=function(){return"("+H1(this.c.e,this.b)+","+H1(this.c.c,this.a)+")="+Bp(this.c,this.b,this.a)},w(Mn,"Tables/AbstractCell",2110),b(478,2110,{478:1,697:1},QQ),o.a=0,o.b=0,o.d=0,w(Mn,"ArrayTable/2",478),b(2024,1,{},O8n),o.td=function(e){return ADn(this.a,e)},w(Mn,"ArrayTable/2methodref$getValue$Type",2024),b(2023,399,$4,HCn),o.Xb=function(e){return ADn(this.a,e)},w(Mn,"ArrayTable/3",2023),b(2077,2065,Gb),o.$b=function(){tT(this.kc())},o.vc=function(){return new U8n(this)},o.lc=function(){return new COn(this.kc(),this.gc())},w(Mn,"Maps/IteratorBasedAbstractMap",2077),b(842,2077,Gb),o.$b=function(){throw T(new Ie)},o._b=function(e){return uEn(this.c,e)},o.kc=function(){return new qCn(this,this.c.b.c.gc())},o.lc=function(){return XN(this.c.b.c.gc(),16,new A8n(this))},o.xc=function(e){var t;return t=u(N6(this.c,e),17),t?this.vd(t.a):null},o.dc=function(){return this.c.b.c.dc()},o.ec=function(){return eD(this.c)},o.zc=function(e,t){var i;if(i=u(N6(this.c,e),17),!i)throw T(new Gn(this.ud()+" "+e+" not in "+eD(this.c)));return this.wd(i.a,t)},o.Bc=function(e){throw T(new Ie)},o.gc=function(){return this.c.b.c.gc()},w(Mn,"ArrayTable/ArrayMap",842),b(2020,1,{},A8n),o.td=function(e){return VIn(this.a,e)},w(Mn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),b(2018,358,tK,LEn),o.ld=function(){return q1e(this.a,this.b)},o.md=function(){return this.a.vd(this.b)},o.nd=function(e){return this.a.wd(this.b,e)},o.b=0,w(Mn,"ArrayTable/ArrayMap/1",2018),b(2019,399,$4,qCn),o.Xb=function(e){return VIn(this.a,e)},w(Mn,"ArrayTable/ArrayMap/2",2019),b(2017,842,Gb,$In),o.ud=function(){return"Column"},o.vd=function(e){return Bp(this.b,this.a,e)},o.wd=function(e,t){return rRn(this.b,this.a,e,t)},o.a=0,w(Mn,"ArrayTable/Row",2017),b(843,842,Gb,_X),o.vd=function(e){return new $In(this.a,e)},o.zc=function(e,t){return u(t,85),hhe()},o.wd=function(e,t){return u(t,85),lhe()},o.ud=function(){return"Row"},w(Mn,"ArrayTable/RowMap",843),b(1157,1,Io,NEn),o.Ad=function(e){return(this.a.yd()&-262&e)!=0},o.yd=function(){return this.a.yd()&-262},o.zd=function(){return this.a.zd()},o.Nb=function(e){this.a.Nb(new $En(e,this.b))},o.Bd=function(e){return this.a.Bd(new DEn(e,this.b))},w(Mn,"CollectSpliterators/1",1157),b(1158,1,re,DEn),o.Cd=function(e){this.a.Cd(this.b.Kb(e))},w(Mn,"CollectSpliterators/1/lambda$0$Type",1158),b(1159,1,re,$En),o.Cd=function(e){this.a.Cd(this.b.Kb(e))},w(Mn,"CollectSpliterators/1/lambda$1$Type",1159),b(1154,1,Io,rPn),o.Ad=function(e){return((16464|this.b)&e)!=0},o.yd=function(){return 16464|this.b},o.zd=function(){return this.a.zd()},o.Nb=function(e){this.a.Qe(new REn(e,this.c))},o.Bd=function(e){return this.a.Re(new xEn(e,this.c))},o.b=0,w(Mn,"CollectSpliterators/1WithCharacteristics",1154),b(1155,1,yy,xEn),o.Dd=function(e){this.a.Cd(this.b.td(e))},w(Mn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),b(1156,1,yy,REn),o.Dd=function(e){this.a.Cd(this.b.td(e))},w(Mn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),b(1150,1,Io),o.Ad=function(e){return(this.a&e)!=0},o.yd=function(){return this.a},o.zd=function(){return this.e&&(this.b=IX(this.b,this.e.zd())),IX(this.b,0)},o.Nb=function(e){this.e&&(this.e.Nb(e),this.e=null),this.c.Nb(new KEn(this,e)),this.b=0},o.Bd=function(e){for(;;){if(this.e&&this.e.Bd(e))return j6(this.b,jy)&&(this.b=bs(this.b,1)),!0;if(this.e=null,!this.c.Bd(new x8n(this)))return!1}},o.a=0,o.b=0,w(Mn,"CollectSpliterators/FlatMapSpliterator",1150),b(1152,1,re,x8n),o.Cd=function(e){_ae(this.a,e)},w(Mn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),b(1153,1,re,KEn),o.Cd=function(e){age(this.a,this.b,e)},w(Mn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),b(1151,1150,Io,MLn),w(Mn,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),b(253,1,iK),o.Fd=function(e){return this.Ed(u(e,253))},o.Ed=function(e){var t;return e==(bL(),HF)?1:e==(dL(),_F)?-1:(t=(QM(),pk(this.a,e.a)),t!=0?t:L(this,526)==L(e,526)?0:L(this,526)?1:-1)},o.Id=function(){return this.a},o.Fb=function(e){return pZ(this,e)},w(Mn,"Cut",253),b(1823,253,iK,jjn),o.Ed=function(e){return e==this?0:1},o.Gd=function(e){throw T(new FG)},o.Hd=function(e){e.a+="+∞)"},o.Id=function(){throw T(new Ar(Lzn))},o.Hb=function(){return fl(),tZ(this)},o.Jd=function(e){return!1},o.Ib=function(){return"+∞"};var _F;w(Mn,"Cut/AboveAll",1823),b(526,253,{253:1,526:1,3:1,34:1},WCn),o.Gd=function(e){Lc((e.a+="(",e),this.a)},o.Hd=function(e){X1(Lc(e,this.a),93)},o.Hb=function(){return~mt(this.a)},o.Jd=function(e){return QM(),pk(this.a,e)<0},o.Ib=function(){return"/"+this.a+"\\"},w(Mn,"Cut/AboveValue",526),b(1822,253,iK,yjn),o.Ed=function(e){return e==this?0:-1},o.Gd=function(e){e.a+="(-∞"},o.Hd=function(e){throw T(new FG)},o.Id=function(){throw T(new Ar(Lzn))},o.Hb=function(){return fl(),tZ(this)},o.Jd=function(e){return!0},o.Ib=function(){return"-∞"};var HF;w(Mn,"Cut/BelowAll",1822),b(1824,253,iK,JCn),o.Gd=function(e){Lc((e.a+="[",e),this.a)},o.Hd=function(e){X1(Lc(e,this.a),41)},o.Hb=function(){return mt(this.a)},o.Jd=function(e){return QM(),pk(this.a,e)<=0},o.Ib=function(){return"\\"+this.a+"/"},w(Mn,"Cut/BelowValue",1824),b(547,1,qh),o.Jc=function(e){qi(this,e)},o.Ib=function(){return S5e(u(TT(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},w(Mn,"FluentIterable",547),b(442,547,qh,T6),o.Kc=function(){return new ie(ce(this.a.Kc(),new En))},w(Mn,"FluentIterable/2",442),b(1059,547,qh,rCn),o.Kc=function(){return $h(this)},w(Mn,"FluentIterable/3",1059),b(724,399,$4,HX),o.Xb=function(e){return this.a[e].Kc()},w(Mn,"FluentIterable/3/1",724),b(2070,1,{}),o.Ib=function(){return Jr(this.Kd().b)},w(Mn,"ForwardingObject",2070),b(2071,2070,Nzn),o.Kd=function(){return this.Ld()},o.Jc=function(e){qi(this,e)},o.Lc=function(){return this.Oc()},o.Nc=function(){return new On(this,0)},o.Oc=function(){return new Cn(null,this.Nc())},o.Fc=function(e){return this.Ld(),sEn()},o.Gc=function(e){return this.Ld(),fEn()},o.$b=function(){this.Ld(),hEn()},o.Hc=function(e){return this.Ld().Hc(e)},o.Ic=function(e){return this.Ld().Ic(e)},o.dc=function(){return this.Ld().b.dc()},o.Kc=function(){return this.Ld().Kc()},o.Mc=function(e){return this.Ld(),lEn()},o.gc=function(){return this.Ld().b.gc()},o.Pc=function(){return this.Ld().Pc()},o.Qc=function(e){return this.Ld().Qc(e)},w(Mn,"ForwardingCollection",2071),b(2078,31,btn),o.Kc=function(){return this.Od()},o.Fc=function(e){throw T(new Ie)},o.Gc=function(e){throw T(new Ie)},o.Md=function(){var e;return e=this.c,e||(this.c=this.Nd())},o.$b=function(){throw T(new Ie)},o.Hc=function(e){return e!=null&&i0(this,e,!1)},o.Nd=function(){switch(this.gc()){case 0:return gb(),gb(),qF;case 1:return gb(),new VN(Pe(this.Od().Pb()));default:return new yW(this,this.Pc())}},o.Mc=function(e){throw T(new Ie)},w(Mn,"ImmutableCollection",2078),b(727,2078,btn,KG),o.Kc=function(){return Fp(this.a.Kc())},o.Hc=function(e){return e!=null&&this.a.Hc(e)},o.Ic=function(e){return this.a.Ic(e)},o.dc=function(){return this.a.dc()},o.Od=function(){return Fp(this.a.Kc())},o.gc=function(){return this.a.gc()},o.Pc=function(){return this.a.Pc()},o.Qc=function(e){return this.a.Qc(e)},o.Ib=function(){return Jr(this.a)},w(Mn,"ForwardingImmutableCollection",727),b(306,2078,x4),o.Kc=function(){return this.Od()},o.ed=function(){return this.Pd(0)},o.fd=function(e){return this.Pd(e)},o.jd=function(e){ud(this,e)},o.Nc=function(){return new On(this,16)},o.kd=function(e,t){return this.Qd(e,t)},o.bd=function(e,t){throw T(new Ie)},o.cd=function(e,t){throw T(new Ie)},o.Md=function(){return this},o.Fb=function(e){return HMe(this,e)},o.Hb=function(){return xve(this)},o.dd=function(e){return e==null?-1:c7e(this,e)},o.Od=function(){return this.Pd(0)},o.Pd=function(e){return CN(this,e)},o.gd=function(e){throw T(new Ie)},o.hd=function(e,t){throw T(new Ie)},o.Qd=function(e,t){var i;return RC((i=new VEn(this),new Jl(i,e,t)))};var qF;w(Mn,"ImmutableList",306),b(2105,306,x4),o.Kc=function(){return Fp(this.Rd().Kc())},o.kd=function(e,t){return RC(this.Rd().kd(e,t))},o.Hc=function(e){return e!=null&&this.Rd().Hc(e)},o.Ic=function(e){return this.Rd().Ic(e)},o.Fb=function(e){return ct(this.Rd(),e)},o.Xb=function(e){return H1(this,e)},o.Hb=function(){return mt(this.Rd())},o.dd=function(e){return this.Rd().dd(e)},o.dc=function(){return this.Rd().dc()},o.Od=function(){return Fp(this.Rd().Kc())},o.gc=function(){return this.Rd().gc()},o.Qd=function(e,t){return RC(this.Rd().kd(e,t))},o.Pc=function(){return this.Rd().Qc(F(ki,Rn,1,this.Rd().gc(),5,1))},o.Qc=function(e){return this.Rd().Qc(e)},o.Ib=function(){return Jr(this.Rd())},w(Mn,"ForwardingImmutableList",2105),b(729,1,R4),o.vc=function(){return Ja(this)},o.wc=function(e){o5(this,e)},o.ec=function(){return eD(this)},o.yc=function(e,t,i){return hx(this,e,t,i)},o.Cc=function(){return this.Vd()},o.$b=function(){throw T(new Ie)},o._b=function(e){return this.xc(e)!=null},o.uc=function(e){return this.Vd().Hc(e)},o.Td=function(){return new Oyn(this)},o.Ud=function(){return new Ayn(this)},o.Fb=function(e){return P6e(this,e)},o.Hb=function(){return Ja(this).Hb()},o.dc=function(){return this.gc()==0},o.zc=function(e,t){return fhe()},o.Bc=function(e){throw T(new Ie)},o.Ib=function(){return wje(this)},o.Vd=function(){return this.e?this.e:this.e=this.Ud()},o.c=null,o.d=null,o.e=null;var rQn;w(Mn,"ImmutableMap",729),b(730,729,R4),o._b=function(e){return uEn(this,e)},o.uc=function(e){return nMn(this.b,e)},o.Sd=function(){return nKn(new D8n(this))},o.Td=function(){return nKn(gOn(this.b))},o.Ud=function(){return oh(),new KG(wOn(this.b))},o.Fb=function(e){return eMn(this.b,e)},o.xc=function(e){return N6(this,e)},o.Hb=function(){return mt(this.b.c)},o.dc=function(){return this.b.c.dc()},o.gc=function(){return this.b.c.gc()},o.Ib=function(){return Jr(this.b.c)},w(Mn,"ForwardingImmutableMap",730),b(2072,2071,rK),o.Kd=function(){return this.Wd()},o.Ld=function(){return this.Wd()},o.Nc=function(){return new On(this,1)},o.Fb=function(e){return e===this||this.Wd().Fb(e)},o.Hb=function(){return this.Wd().Hb()},w(Mn,"ForwardingSet",2072),b(1085,2072,rK,D8n),o.Kd=function(){return Sm(this.a.b)},o.Ld=function(){return Sm(this.a.b)},o.Hc=function(e){if(L(e,44)&&u(e,44).ld()==null)return!1;try{return ZEn(Sm(this.a.b),e)}catch(t){if(t=Ot(t),L(t,212))return!1;throw T(t)}},o.Wd=function(){return Sm(this.a.b)},o.Qc=function(e){var t;return t=nAn(Sm(this.a.b),e),Sm(this.a.b).b.gc()<t.length&&$t(t,Sm(this.a.b).b.gc(),null),t},w(Mn,"ForwardingImmutableMap/1",1085),b(2079,2078,r3),o.Kc=function(){return this.Od()},o.Nc=function(){return new On(this,1)},o.Fb=function(e){return lnn(this,e)},o.Hb=function(){return mxn(this)},w(Mn,"ImmutableSet",2079),b(719,2079,r3),o.Kc=function(){return Fp(new W3(this.a.b.Kc()))},o.Hc=function(e){return e!=null&&t7(this.a,e)},o.Ic=function(e){return QEn(this.a,e)},o.Hb=function(){return mt(this.a.b)},o.dc=function(){return this.a.b.dc()},o.Od=function(){return Fp(new W3(this.a.b.Kc()))},o.gc=function(){return this.a.b.gc()},o.Pc=function(){return this.a.b.Pc()},o.Qc=function(e){return YEn(this.a,e)},o.Ib=function(){return Jr(this.a.b)},w(Mn,"ForwardingImmutableSet",719),b(2073,2072,Dzn),o.Kd=function(){return this.b},o.Ld=function(){return this.b},o.Wd=function(){return this.b},o.Nc=function(){return new rM(this)},w(Mn,"ForwardingSortedSet",2073),b(543,2077,R4,oS),o.Ac=function(e){u5(this,e)},o.Cc=function(){var e;return e=this.d,new vN(e||(this.d=new VA(this)))},o.$b=function(){Z7(this)},o._b=function(e){return!!r5(this,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))))},o.uc=function(e){return y$n(this,e)},o.kc=function(){return new UCn(this,this)},o.wc=function(e){bAn(this,e)},o.xc=function(e){return Ng(this,e)},o.ec=function(){return new kN(this)},o.zc=function(e,t){return RS(this,e,t)},o.Bc=function(e){var t;return t=r5(this,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15)))),t?(zg(this,t),t.e=null,t.c=null,t.i):null},o.gc=function(){return this.i},o.xd=function(){var e;return e=this.d,new vN(e||(this.d=new VA(this)))},o.f=0,o.g=0,o.i=0,w(Mn,"HashBiMap",543),b(544,1,Pi),o.Nb=function(e){_i(this,e)},o.Ob=function(){return SLn(this)},o.Pb=function(){var e;if(!SLn(this))throw T(new nc);return e=u(as(this.c),302),this.c=e.c,this.f=e,--this.d,this.Xd(e)},o.Qb=function(){if(this.e.g!=this.b)throw T(new Ko);if(!this.f)throw T(new Ar(ltn));zg(this.e,this.f),this.b=this.e.g,this.f=null},o.b=0,o.d=0,o.f=null,w(Mn,"HashBiMap/Itr",544),b(1023,544,Pi,UCn),o.Xd=function(e){return new BEn(this,e)},w(Mn,"HashBiMap/1",1023),b(Gs,358,tK,BEn),o.ld=function(){return this.a.g},o.md=function(){return this.a.i},o.nd=function(e){var t,i,r;return i=this.a.i,r=Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))),r==this.a.f&&(x(e)===x(i)||e!=null&&ct(e,i))?e:(eRn(!c5(this.b.a,e,r),e),zg(this.b.a,this.a),t=new vT(this.a.g,this.a.a,e,r),Zk(this.b.a,t,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=t),this.a=t,i)},w(Mn,"HashBiMap/1/MapEntry",Gs),b(246,358,{358:1,246:1,3:1,44:1},tb),o.ld=function(){return this.g},o.md=function(){return this.i},o.nd=function(e){throw T(new Ie)},w(Mn,"ImmutableEntry",246),b(302,246,{358:1,302:1,246:1,3:1,44:1},vT),o.a=0,o.f=0;var UF=w(Mn,"HashBiMap/BiEntry",302);b(619,2077,R4,VA),o.Ac=function(e){u5(this,e)},o.Cc=function(){return new kN(this.a)},o.$b=function(){Z7(this.a)},o._b=function(e){return y$n(this.a,e)},o.kc=function(){return new GCn(this,this.a)},o.wc=function(e){Pe(e),bAn(this.a,new R8n(e))},o.xc=function(e){return pC(this,e)},o.ec=function(){return new vN(this)},o.zc=function(e,t){return YPe(this.a,e,t,!1)},o.Bc=function(e){var t;return t=c5(this.a,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15)))),t?(zg(this.a,t),t.e=null,t.c=null,t.g):null},o.gc=function(){return this.a.i},o.xd=function(){return new kN(this.a)},w(Mn,"HashBiMap/Inverse",619),b(1020,544,Pi,GCn),o.Xd=function(e){return new FEn(this,e)},w(Mn,"HashBiMap/Inverse/1",1020),b(1021,358,tK,FEn),o.ld=function(){return this.a.i},o.md=function(){return this.a.g},o.nd=function(e){var t,i,r;return r=this.a.g,t=Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))),t==this.a.a&&(x(e)===x(r)||e!=null&&ct(e,r))?e:(eRn(!r5(this.b.a.a,e,t),e),zg(this.b.a.a,this.a),i=new vT(e,t,this.a.i,this.a.f),this.a=i,Zk(this.b.a.a,i,null),this.b.b=this.b.a.a.g,r)},w(Mn,"HashBiMap/Inverse/1/InverseEntry",1021),b(620,542,Nu,vN),o.Kc=function(){return new Tjn(this.a.a)},o.Mc=function(e){var t;return t=c5(this.a.a,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15)))),t?(zg(this.a.a,t),!0):!1},w(Mn,"HashBiMap/Inverse/InverseKeySet",620),b(1019,544,Pi,Tjn),o.Xd=function(e){return e.i},w(Mn,"HashBiMap/Inverse/InverseKeySet/1",1019),b(1022,1,{},R8n),o.Yd=function(e,t){_fe(this.a,e,t)},w(Mn,"HashBiMap/Inverse/lambda$0$Type",1022),b(618,542,Nu,kN),o.Kc=function(){return new Cjn(this.a)},o.Mc=function(e){var t;return t=r5(this.a,e,Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15)))),t?(zg(this.a,t),t.e=null,t.c=null,!0):!1},w(Mn,"HashBiMap/KeySet",618),b(1018,544,Pi,Cjn),o.Xd=function(e){return e.g},w(Mn,"HashBiMap/KeySet/1",1018),b(1123,627,md),w(Mn,"HashMultimapGwtSerializationDependencies",1123),b(271,1123,md,jb),o.hc=function(){return new GE(Qw(this.a))},o.pd=function(){return new GE(Qw(this.a))},o.a=2,w(Mn,"HashMultimap",271),b(2097,306,x4),o.Hc=function(e){return this.Zd().Hc(e)},o.dc=function(){return this.Zd().dc()},o.gc=function(){return this.Zd().gc()},w(Mn,"ImmutableAsList",2097),b(2030,730,R4),o.Vd=function(){return oh(),new lp(this.a)},o.Cc=function(){return oh(),new lp(this.a)},o.xd=function(){return oh(),new lp(this.a)},w(Mn,"ImmutableBiMap",2030),b(2075,1,{}),w(Mn,"ImmutableCollection/Builder",2075),b(1035,719,r3,Sjn),w(Mn,"ImmutableEnumSet",1035),b(980,399,$4,tPn),o.Xb=function(e){return this.a.Xb(e)},w(Mn,"ImmutableList/1",980),b(979,2075,{},GSn),w(Mn,"ImmutableList/Builder",979),b(623,204,D4,WA),o.Ob=function(){return this.a.Ob()},o.Pb=function(){return u(this.a.Pb(),44).ld()},w(Mn,"ImmutableMap/1",623),b(1054,1,{},Yi),o.Kb=function(e){return u(e,44).ld()},w(Mn,"ImmutableMap/2methodref$getKey$Type",1054),b(1053,1,{},zSn),w(Mn,"ImmutableMap/Builder",1053),b(2098,2079,r3),o.Md=function(){var e;return e=this.b,e||(this.b=new cL(this))},o.Nd=function(){return new yW(this,T5(this,F(ki,Rn,1,this.gc(),5,1)))},w(Mn,"ImmutableSet/CachingAsList",2098),b(2099,2098,r3),o.Kc=function(){var e;return e=Ja(this.a).Od(),new WA(e)},o.Nd=function(){return new cL(this)},o.Jc=function(e){var t,i;for(Pe(e),i=this.gc(),t=0;t<i;t++)e.Cd(u(Ja(this.a).Md().Xb(t),44).ld())},o.Od=function(){var e;return e=this.b,CN(e||(this.b=new cL(this)),0)},o.Nc=function(){return XN(this.gc(),1296,new B8n(this))},w(Mn,"IndexedImmutableSet",2099),b(1230,2099,r3,Oyn),o.Kc=function(){var e;return e=Ja(this.a).Od(),new WA(e)},o.Hc=function(e){return this.a._b(e)},o.Jc=function(e){Pe(e),o5(this.a,new K8n(e))},o.Od=function(){var e;return e=Ja(this.a).Od(),new WA(e)},o.gc=function(){return this.a.gc()},o.Nc=function(){return D7(Ja(this.a).Nc(),new Yi)},w(Mn,"ImmutableMapKeySet",1230),b(1231,1,{},K8n),o.Yd=function(e,t){oh(),this.a.Cd(e)},w(Mn,"ImmutableMapKeySet/lambda$0$Type",1231),b(1227,2078,btn,Ayn),o.Kc=function(){return new GN(this)},o.Md=function(){var e;return e=Ja(this.a).Md(),new gCn(this,e)},o.Hc=function(e){return e!=null&&Mke(new GN(this),e)},o.Od=function(){return new GN(this)},o.gc=function(){return this.a.gc()},o.Nc=function(){return D7(Ja(this.a).Nc(),new Bi)},w(Mn,"ImmutableMapValues",1227),b(1228,1,{},Bi),o.Kb=function(e){return u(e,44).md()},w(Mn,"ImmutableMapValues/0methodref$getValue$Type",1228),b(637,204,D4,GN),o.Ob=function(){return this.a.Ob()},o.Pb=function(){return u(this.a.Pb(),44).md()},w(Mn,"ImmutableMapValues/1",637),b(1229,2097,x4,gCn),o.Zd=function(){return this.a},o.Xb=function(e){return u(this.b.Xb(e),44).md()},w(Mn,"ImmutableMapValues/2",1229),b(1232,1,{},B8n),o.td=function(e){return JIn(this.a,e)},w(Mn,"IndexedImmutableSet/0methodref$get$Type",1232),b(638,2097,x4,cL),o.Zd=function(){return this.a},o.Xb=function(e){return JIn(this.a,e)},o.gc=function(){return this.a.a.gc()},w(Mn,"IndexedImmutableSet/1",638),b(43,1,{},En),o.Kb=function(e){return u(e,20).Kc()},o.Fb=function(e){return this===e},w(Mn,"Iterables/10",43),b(1055,547,qh,KPn),o.Jc=function(e){Pe(e),this.b.Jc(new _En(this.a,e))},o.Kc=function(){return MX(this)},w(Mn,"Iterables/4",1055),b(1056,1,re,_En),o.Cd=function(e){sle(this.b,this.a,e)},w(Mn,"Iterables/4/lambda$0$Type",1056),b(1057,547,qh,BPn),o.Jc=function(e){Pe(e),qi(this.a,new qEn(e,this.b))},o.Kc=function(){return ce(new ne(this.a),this.b)},w(Mn,"Iterables/5",1057),b(1058,1,re,qEn),o.Cd=function(e){this.a.Cd(cCn(e))},w(Mn,"Iterables/5/lambda$0$Type",1058),b(1087,204,D4,F8n),o.Ob=function(){return this.a.Ob()},o.Pb=function(){return this.a.Pb()},w(Mn,"Iterators/1",1087),b(1088,713,D4,HEn),o.Yb=function(){for(var e;this.b.Ob();)if(e=this.b.Pb(),this.a.Lb(e))return e;return this.e=2,null},w(Mn,"Iterators/5",1088),b(496,1,Pi),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.b.Ob()},o.Pb=function(){return this.$d(this.b.Pb())},o.Qb=function(){this.b.Qb()},w(Mn,"TransformedIterator",496),b(1089,496,Pi,zCn),o.$d=function(e){return this.a.Kb(e)},w(Mn,"Iterators/6",1089),b(732,204,D4,fG),o.Ob=function(){return!this.a},o.Pb=function(){if(this.a)throw T(new nc);return this.a=!0,this.b},o.a=!1,w(Mn,"Iterators/9",732),b(1086,399,$4,hIn),o.Xb=function(e){return this.a[this.b+e]},o.b=0;var cQn;w(Mn,"Iterators/ArrayItr",1086),b(37,1,{37:1,51:1},ie),o.Nb=function(e){_i(this,e)},o.Ob=function(){return pe(this)},o.Pb=function(){return fe(this)},o.Qb=function(){if(!this.c)throw T(new Ar(ltn));this.c.Qb(),this.c=null},w(Mn,"Iterators/ConcatenatedIterator",37),b(22,1,{3:1,34:1,22:1}),o.Fd=function(e){return xjn(this,u(e,22))},o.Fb=function(e){return this===e},o.Hb=function(){return fb(this)},o.Ib=function(){return PN(this)},o.g=0;var ke=w(ac,"Enum",22);b(549,22,{549:1,3:1,34:1,22:1,51:1},SCn),o.Nb=function(e){_i(this,e)},o.Ob=function(){return!1},o.Pb=function(){throw T(new nc)},o.Qb=function(){mm(!1)};var GF,uQn=we(Mn,"Iterators/EmptyModifiableIterator",549,ke,k0e,H1e),oQn;b(1907,627,md),w(Mn,"LinkedHashMultimapGwtSerializationDependencies",1907),b(1908,1907,md,GRn),o.hc=function(){return new MN(Qw(this.b))},o.$b=function(){gC(this),V9(this.a,this.a)},o.pd=function(){return new MN(Qw(this.b))},o.ic=function(e){return new SRn(this,e,this.b)},o.kc=function(){return new LW(this)},o.lc=function(){var e;return new On((e=this.g,u(e||(this.g=new cz(this)),21)),17)},o.ec=function(){var e;return e=this.i,e||(this.i=new Tg(this,this.c))},o.nc=function(){return new oz(new LW(this))},o.oc=function(){var e;return D7(new On((e=this.g,u(e||(this.g=new cz(this)),21)),17),new hu)},o.b=2,w(Mn,"LinkedHashMultimap",1908),b(1911,1,{},hu),o.Kb=function(e){return u(e,44).md()},w(Mn,"LinkedHashMultimap/0methodref$getValue$Type",1911),b(834,1,Pi,LW),o.Nb=function(e){_i(this,e)},o.Pb=function(){return Nve(this)},o.Ob=function(){return this.a!=this.b.a},o.Qb=function(){mm(!!this.c),oLn(this.b,this.c.g,this.c.i),this.c=null},w(Mn,"LinkedHashMultimap/1",834),b(227,246,{358:1,246:1,227:1,604:1,3:1,44:1},FW),o._d=function(){return u(as(this.f),604)},o.ae=function(e){this.c=e},o.be=function(e){this.f=e},o.d=0;var sQn=w(Mn,"LinkedHashMultimap/ValueEntry",227);b(1909,2068,{604:1,20:1,31:1,16:1,21:1},SRn),o.Fc=function(e){var t,i,r,c,s;for(s=Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))),t=s&this.b.length-1,c=this.b[t],i=c;i;i=i.a)if(i.d==s&&sh(i.i,e))return!1;return r=new FW(this.c,e,s,c),Bjn(this.d,r),r.f=this,this.d=r,V9(u(as(this.g.a.b),227),r),V9(r,this.g.a),this.b[t]=r,++this.f,++this.e,jke(this),!0},o.$b=function(){var e,t;for(u7(this.b,null),this.f=0,e=this.a;e!=this;e=e._d())t=u(e,227),V9(u(as(t.b),227),u(as(t.e),227));this.a=this,this.d=this,++this.e},o.Hc=function(e){var t,i;for(i=Se(er(Uh,xh(Se(er(e==null?0:mt(e),Gh)),15))),t=this.b[i&this.b.length-1];t;t=t.a)if(t.d==i&&sh(t.i,e))return!0;return!1},o.Jc=function(e){var t;for(Pe(e),t=this.a;t!=this;t=t._d())e.Cd(u(t,227).i)},o._d=function(){return this.a},o.Kc=function(){return new tOn(this)},o.Mc=function(e){return fqn(this,e)},o.ae=function(e){this.d=e},o.be=function(e){this.a=e},o.gc=function(){return this.f},o.e=0,o.f=0,w(Mn,"LinkedHashMultimap/ValueSet",1909),b(1910,1,Pi,tOn),o.Nb=function(e){_i(this,e)},o.Ob=function(){return tW(this),this.b!=this.c},o.Pb=function(){var e,t;if(tW(this),this.b==this.c)throw T(new nc);return e=u(this.b,227),t=e.i,this.d=e,this.b=u(as(e.f),604),t},o.Qb=function(){tW(this),mm(!!this.d),fqn(this.c,this.d.i),this.a=this.c.e,this.d=null},o.a=0,w(Mn,"LinkedHashMultimap/ValueSet/1",1910),b(780,2084,md,UTn),o.Zb=function(){var e;return e=this.f,e||(this.f=new Bz(this))},o.Fb=function(e){return G$(this,e)},o.cc=function(e){return new SL(this,e)},o.fc=function(e){return UJ(this,e)},o.$b=function(){KIn(this)},o._b=function(e){return JEn(this,e)},o.ac=function(){return new Bz(this)},o.bc=function(){return new H8n(this)},o.qc=function(e){return new SL(this,e)},o.dc=function(){return!this.a},o.rc=function(e){return UJ(this,e)},o.gc=function(){return this.d},o.c=0,o.d=0,w(Mn,"LinkedListMultimap",780),b(56,31,K4),o.jd=function(e){ud(this,e)},o.Nc=function(){return new On(this,16)},o.bd=function(e,t){throw T(new Fl("Add not supported on this list"))},o.Fc=function(e){return this.bd(this.gc(),e),!0},o.cd=function(e,t){var i,r,c;for(Jn(t),i=!1,c=t.Kc();c.Ob();)r=c.Pb(),this.bd(e++,r),i=!0;return i},o.$b=function(){this.ce(0,this.gc())},o.Fb=function(e){return znn(this,e)},o.Hb=function(){return tY(this)},o.dd=function(e){return W$n(this,e)},o.Kc=function(){return new Gv(this)},o.ed=function(){return this.fd(0)},o.fd=function(e){return new xi(this,e)},o.gd=function(e){throw T(new Fl("Remove not supported on this list"))},o.ce=function(e,t){var i,r;for(r=this.fd(e),i=e;i<t;++i)r.Pb(),r.Qb()},o.hd=function(e,t){throw T(new Fl("Set not supported on this list"))},o.kd=function(e,t){return new Jl(this,e,t)},o.j=0,w(le,"AbstractList",56),b(2062,56,K4),o.bd=function(e,t){wm(this,e,t)},o.cd=function(e,t){return PRn(this,e,t)},o.Xb=function(e){return Zo(this,e)},o.Kc=function(){return this.fd(0)},o.gd=function(e){return Ux(this,e)},o.hd=function(e,t){var i,r;i=this.fd(e);try{return r=i.Pb(),i.Wb(t),r}catch(c){throw c=Ot(c),L(c,112)?T(new Or("Can't set element "+e)):T(c)}},w(le,"AbstractSequentialList",2062),b(646,2062,K4,SL),o.fd=function(e){return VCn(this,e)},o.gc=function(){var e;return e=u(ee(this.a.b,this.b),260),e?e.a:0},w(Mn,"LinkedListMultimap/1",646),b(1316,2068,Nu,H8n),o.Hc=function(e){return JEn(this.a,e)},o.Kc=function(){return new dxn(this.a)},o.Mc=function(e){return!UJ(this.a,e).a.dc()},o.gc=function(){return i6(this.a.b)},w(Mn,"LinkedListMultimap/1KeySetImpl",1316),b(1315,1,Pi,dxn),o.Nb=function(e){_i(this,e)},o.Ob=function(){return iW(this),!!this.c},o.Pb=function(){if(iW(this),!this.c)throw T(new nc);this.a=this.c,fi(this.d,this.a.a);do this.c=this.c.b;while(this.c&&!fi(this.d,this.c.a));return this.a.a},o.Qb=function(){iW(this),mm(!!this.a),tT(new f$(this.e,this.a.a)),this.a=null,this.b=this.e.c},o.b=0,w(Mn,"LinkedListMultimap/DistinctKeyIterator",1315),b(260,1,{260:1},JW),o.a=0,w(Mn,"LinkedListMultimap/KeyList",260),b(511,358,{358:1,511:1,44:1},UEn),o.ld=function(){return this.a},o.md=function(){return this.f},o.nd=function(e){var t;return t=this.f,this.f=e,t},w(Mn,"LinkedListMultimap/Node",511),b(566,1,Hh,f$,v_n),o.Nb=function(e){_i(this,e)},o.Rb=function(e){this.e=Cen(this.f,this.b,e,this.c),++this.d,this.a=null},o.Ob=function(){return!!this.c},o.Sb=function(){return!!this.e},o.Pb=function(){return uQ(this)},o.Tb=function(){return this.d},o.Ub=function(){return e$n(this)},o.Vb=function(){return this.d-1},o.Qb=function(){mm(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,BTe(this.f,this.a),this.a=null},o.Wb=function(e){BX(!!this.a),this.a.f=e},o.d=0,w(Mn,"LinkedListMultimap/ValueForKeyIterator",566),b(1031,56,K4),o.bd=function(e,t){this.a.bd(e,t)},o.cd=function(e,t){return this.a.cd(e,t)},o.Hc=function(e){return this.a.Hc(e)},o.Xb=function(e){return this.a.Xb(e)},o.gd=function(e){return this.a.gd(e)},o.hd=function(e,t){return this.a.hd(e,t)},o.gc=function(){return this.a.gc()},w(Mn,"Lists/AbstractListWrapper",1031),b(1032,1031,xzn),w(Mn,"Lists/RandomAccessListWrapper",1032),b(1034,1032,xzn,VEn),o.fd=function(e){return this.a.fd(e)},w(Mn,"Lists/1",1034),b(441,56,{441:1,20:1,31:1,56:1,16:1,15:1},Iz),o.bd=function(e,t){this.a.bd(Em(this,e),t)},o.$b=function(){this.a.$b()},o.Xb=function(e){return this.a.Xb(AW(this,e))},o.Kc=function(){return FAn(this,0)},o.fd=function(e){return FAn(this,e)},o.gd=function(e){return this.a.gd(AW(this,e))},o.ce=function(e,t){(gLn(e,t,this.a.gc()),Qo(this.a.kd(Em(this,t),Em(this,e)))).$b()},o.hd=function(e,t){return this.a.hd(AW(this,e),t)},o.gc=function(){return this.a.gc()},o.kd=function(e,t){return gLn(e,t,this.a.gc()),Qo(this.a.kd(Em(this,t),Em(this,e)))},w(Mn,"Lists/ReverseList",441),b(1030,441,{441:1,20:1,31:1,56:1,16:1,15:1,59:1},Pjn),w(Mn,"Lists/RandomAccessReverseList",1030),b(1033,1,Hh,GEn),o.Nb=function(e){_i(this,e)},o.Rb=function(e){this.c.Rb(e),this.c.Ub(),this.a=!1},o.Ob=function(){return this.c.Sb()},o.Sb=function(){return this.c.Ob()},o.Pb=function(){if(!this.c.Sb())throw T(new nc);return this.a=!0,this.c.Ub()},o.Tb=function(){return Em(this.b,this.c.Tb())},o.Ub=function(){if(!this.c.Ob())throw T(new nc);return this.a=!0,this.c.Pb()},o.Vb=function(){return Em(this.b,this.c.Tb())-1},o.Qb=function(){mm(this.a),this.c.Qb(),this.a=!1},o.Wb=function(e){BX(this.a),this.c.Wb(e)},o.a=!1,w(Mn,"Lists/ReverseList/1",1033),b(440,496,Pi,Yv),o.$d=function(e){return iM(e)},w(Mn,"Maps/1",440),b(712,496,Pi,oz),o.$d=function(e){return u(e,44).md()},w(Mn,"Maps/2",712),b(975,496,Pi,XCn),o.$d=function(e){return new tb(e,YTn(this.a,e))},w(Mn,"Maps/3",975),b(972,2069,Nu,U8n),o.Jc=function(e){zfe(this.a,e)},o.Kc=function(){return this.a.kc()},o.Rc=function(){return this.a},o.Nc=function(){return this.a.lc()},w(Mn,"Maps/IteratorBasedAbstractMap/1",972),b(973,1,{},G8n),o.Yd=function(e,t){this.a.Cd(e)},w(Mn,"Maps/KeySet/lambda$0$Type",973),b(971,31,p0,WEn),o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a.uc(e)},o.Jc=function(e){Pe(e),this.a.wc(new q8n(e))},o.dc=function(){return this.a.dc()},o.Kc=function(){return new oz(this.a.vc().Kc())},o.Mc=function(e){var t,i;try{return i0(this,e,!0)}catch(r){if(r=Ot(r),L(r,48)){for(i=this.a.vc().Kc();i.Ob();)if(t=u(i.Pb(),44),sh(e,t.md()))return this.a.Bc(t.ld()),!0;return!1}else throw T(r)}},o.gc=function(){return this.a.gc()},w(Mn,"Maps/Values",971),b(974,1,{},q8n),o.Yd=function(e,t){this.a.Cd(t)},w(Mn,"Maps/Values/lambda$0$Type",974),b(752,2085,Gb,Bz),o.xc=function(e){return this.a._b(e)?this.a.cc(e):null},o.Bc=function(e){return this.a._b(e)?this.a.fc(e):null},o.$b=function(){this.a.$b()},o._b=function(e){return this.a._b(e)},o.Ec=function(){return new z8n(this)},o.Dc=function(){return this.Ec()},o.dc=function(){return this.a.dc()},o.ec=function(){return this.a.ec()},o.gc=function(){return this.a.ec().gc()},w(Mn,"Multimaps/AsMap",752),b(1134,2069,Nu,z8n),o.Kc=function(){return l1e(this.a.a.ec(),new X8n(this))},o.Rc=function(){return this.a},o.Mc=function(e){var t;return LKn(this,e)?(t=u(as(u(e,44)),44),ehe(this.a,t.ld()),!0):!1},w(Mn,"Multimaps/AsMap/EntrySet",1134),b(1138,1,{},X8n),o.Kb=function(e){return YTn(this,e)},o.Fb=function(e){return this===e},w(Mn,"Multimaps/AsMap/EntrySet/1",1138),b(552,2087,{552:1,849:1,20:1,31:1,16:1},V8n),o.$b=function(){gC(this.a)},o.Hc=function(e){return cEn(this.a,e)},o.Jc=function(e){Pe(e),qi(q6(this.a),new J8n(e))},o.Kc=function(){return new Yv(q6(this.a).a.kc())},o.gc=function(){return this.a.d},o.Nc=function(){return D7(q6(this.a).Nc(),new Qc)},w(Mn,"Multimaps/Keys",552),b(1136,1,{},Qc),o.Kb=function(e){return u(e,44).ld()},w(Mn,"Multimaps/Keys/0methodref$getKey$Type",1136),b(1135,496,Pi,Ijn),o.$d=function(e){return new W8n(u(e,44))},w(Mn,"Multimaps/Keys/1",1135),b(2088,1,{425:1}),o.Fb=function(e){var t;return L(e,503)?(t=u(e,425),u(this.a.md(),16).gc()==u(t.a.md(),16).gc()&&sh(this.a.ld(),t.a.ld())):!1},o.Hb=function(){var e;return e=this.a.ld(),(e==null?0:mt(e))^u(this.a.md(),16).gc()},o.Ib=function(){var e,t;return t=I6(this.a.ld()),e=u(this.a.md(),16).gc(),e==1?t:t+" x "+e},w(Mn,"Multisets/AbstractEntry",2088),b(503,2088,{503:1,425:1},W8n),w(Mn,"Multimaps/Keys/1/1",503),b(1137,1,re,J8n),o.Cd=function(e){this.a.Cd(u(e,44).ld())},w(Mn,"Multimaps/Keys/lambda$1$Type",1137),b(1140,1,re,Bu),o.Cd=function(e){Dwe(u(e,425))},w(Mn,"Multiset/lambda$0$Type",1140),b(753,1,re,Q8n),o.Cd=function(e){v4e(this.a,u(e,425))},w(Mn,"Multiset/lambda$1$Type",753),b(1141,1,{},Ir),w(Mn,"Multisets/0methodref$add$Type",1141),b(754,1,{},Tf),o.Kb=function(e){return Hpe(u(e,425))},w(Mn,"Multisets/lambda$1$Type",754),b(2106,1,vy),w(Mn,"RangeGwtSerializationDependencies",2106),b(521,2106,{178:1,521:1,3:1,46:1},sZ),o.Lb=function(e){return MIn(this,u(e,34))},o.Mb=function(e){return MIn(this,u(e,34))},o.Fb=function(e){var t;return L(e,521)?(t=u(e,521),pZ(this.a,t.a)&&pZ(this.b,t.b)):!1},o.Hb=function(){return this.a.Hb()*31+this.b.Hb()},o.Ib=function(){return HLn(this.a,this.b)},w(Mn,"Range",521),b(654,2097,x4,yW),o.fd=function(e){return CN(this.b,e)},o.Zd=function(){return this.a},o.Xb=function(e){return H1(this.b,e)},o.Pd=function(e){return CN(this.b,e)},w(Mn,"RegularImmutableAsList",654),b(656,2105,x4,ID),o.Rd=function(){return this.a},w(Mn,"RegularImmutableList",656),b(548,730,R4,sz,fz),w(Mn,"RegularImmutableMap",548),b(731,719,r3,xz);var iun;w(Mn,"RegularImmutableSet",731),b(2074,Ff,Nu),o.Kc=function(){return new qW(this.a,this.b)},o.Fc=function(e){throw T(new Ie)},o.Gc=function(e){throw T(new Ie)},o.$b=function(){throw T(new Ie)},o.Mc=function(e){throw T(new Ie)},w(Mn,"Sets/SetView",2074),b(976,2074,Nu,XEn),o.Kc=function(){return new qW(this.a,this.b)},o.Hc=function(e){return JN(this.a,e)&&this.b.Hc(e)},o.Ic=function(e){return jk(this.a,e)&&this.b.Ic(e)},o.dc=function(){return gBn(this.b,this.a)},o.Lc=function(){return ut(new Cn(null,new On(this.a,1)),new Z8n(this.b))},o.gc=function(){return vk(this)},o.Oc=function(){return ut(new Cn(null,new On(this.a,1)),new Y8n(this.b))},w(Mn,"Sets/2",976),b(977,1,Le,Y8n),o.Mb=function(e){return this.a.Hc(e)},w(Mn,"Sets/2/0methodref$contains$Type",977),b(714,713,D4,qW),o.Yb=function(){for(var e;PX(this.a);)if(e=Y6(this.a),this.c.Hc(e))return e;return this.e=2,null},w(Mn,"Sets/2/1",714),b(978,1,Le,Z8n),o.Mb=function(e){return this.a.Hc(e)},w(Mn,"Sets/2/1methodref$contains$Type",978),b(616,2073,{616:1,3:1,20:1,16:1,277:1,21:1,87:1},uAn),o.Kd=function(){return this.b},o.Ld=function(){return this.b},o.Wd=function(){return this.b},o.Jc=function(e){this.a.Jc(e)},o.Lc=function(){return this.a.Lc()},o.Oc=function(){return this.a.Oc()},w(Mn,"Sets/UnmodifiableNavigableSet",616),b(2031,2030,R4,hOn),o.Vd=function(){return oh(),new lp(this.a)},o.Cc=function(){return oh(),new lp(this.a)},o.xd=function(){return oh(),new lp(this.a)},w(Mn,"SingletonImmutableBiMap",2031),b(657,2105,x4,VN),o.Rd=function(){return this.a},w(Mn,"SingletonImmutableList",657),b(363,2079,r3,lp),o.Kc=function(){return new fG(this.a)},o.Hc=function(e){return ct(this.a,e)},o.Od=function(){return new fG(this.a)},o.gc=function(){return 1},w(Mn,"SingletonImmutableSet",363),b(1148,1,{},D1),o.Kb=function(e){return u(e,159)},w(Mn,"Streams/lambda$0$Type",1148),b(1149,1,JS,n9n),o.de=function(){Q3e(this.a)},w(Mn,"Streams/lambda$1$Type",1149),b(1725,1724,md,UOn),o.Zb=function(){var e;return e=this.f,u(u(e||(this.f=L(this.c,139)?new L6(this,u(this.c,139)):L(this.c,133)?new S7(this,u(this.c,133)):new fm(this,this.c)),133),139)},o.hc=function(){return new Ul(this.b)},o.pd=function(){return new Ul(this.b)},o.ec=function(){var e;return e=this.i,u(u(e||(this.i=L(this.c,139)?new sm(this,u(this.c,139)):L(this.c,133)?new e7(this,u(this.c,133)):new Tg(this,this.c)),87),277)},o.ac=function(){return L(this.c,139)?new L6(this,u(this.c,139)):L(this.c,133)?new S7(this,u(this.c,133)):new fm(this,this.c)},o.ic=function(e){return e==null&&this.a.Ne(e,e),new Ul(this.b)},w(Mn,"TreeMultimap",1725),b(82,1,{3:1,82:1}),o.ee=function(e){return new Error(e)},o.fe=function(){return this.e},o.ge=function(){var e,t,i;for(i=(this.k==null&&(this.k=F(zF,J,82,0,0,1)),this.k),t=F(ki,Rn,1,i.length,5,1),e=0;e<i.length;e++)t[e]=i[e].e;return t},o.he=function(){return this.f},o.ie=function(){return this.g},o.je=function(){Qfe(this,Ape(this.ee(IT(this,this.g)))),Lyn(this)},o.Ib=function(){return IT(this,this.ie())},o.e=Rzn,o.i=!1,o.n=!0;var zF=w(ac,"Throwable",82);b(103,82,{3:1,103:1,82:1}),w(ac,"Exception",103),b(63,103,Il,Ga,ec),w(ac,"RuntimeException",63),b(607,63,Il),w(ac,"JsException",607),b(875,607,Il),w(My,"JavaScriptExceptionBase",875),b(485,875,{485:1,3:1,103:1,63:1,82:1},URn),o.ie=function(){return zke(this),this.c},o.ke=function(){return x(this.b)===x(run)?null:this.b};var run;w(gtn,"JavaScriptException",485);var fQn=w(gtn,"JavaScriptObject$",0),cun;b(2047,1,{}),w(gtn,"Scheduler",2047);var cI=0,hQn=0,uI=-1;b(902,2047,{},$1);var uun;w(My,"SchedulerImpl",902);var XF;b(2058,1,{}),w(My,"StackTraceCreator/Collector",2058),b(876,2058,{},og),o.le=function(e){var t={},i=[];e[oK]=i;for(var r=arguments.callee.caller;r;){var c=(Om(),r.name||(r.name=L4e(r.toString())));i.push(c);var s=":"+c,f=t[s];if(f){var h,l;for(h=0,l=f.length;h<l;h++)if(f[h]===r)return}(f||(t[s]=[])).push(r),r=r.caller}},o.me=function(e){var t,i,r,c;for(r=(Om(),e&&e[oK]?e[oK]:[]),i=r.length,c=F(kun,J,319,i,0,1),t=0;t<i;t++)c[t]=new yD(r[t],null,-1);return c},w(My,"StackTraceCreator/CollectorLegacy",876),b(2059,2058,{}),o.le=function(e){},o.ne=function(e,t,i,r){return new yD(t,e+"@"+r,i<0?-1:i)},o.me=function(e){var t,i,r,c,s,f;if(c=v7e(e),s=F(kun,J,319,0,0,1),t=0,r=c.length,r==0)return s;for(f=_Gn(this,c[0]),Sn(f.d,uK)||(s[t++]=f),i=1;i<r;i++)s[t++]=_Gn(this,c[i]);return s},w(My,"StackTraceCreator/CollectorModern",2059),b(877,2059,{},X3),o.ne=function(e,t,i,r){return new yD(t,e,-1)},w(My,"StackTraceCreator/CollectorModernNoSourceMap",877),b(1064,1,{}),w(mtn,Fzn,1064),b(624,1064,{624:1},WIn);var oun;w(CK,Fzn,624),b(2101,1,{}),w(mtn,_zn,2101),b(2102,2101,{}),w(CK,_zn,2102),b(1120,1,{},x1);var M8;w(CK,"LocaleInfo",1120),b(2027,1,{},ul),o.a=0,w(CK,"TimeZone",2027),b(1293,2102,{},Ebn),w("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1293),b(443,1,{443:1},SPn),o.a=!1,o.b=0,w(mtn,"DateTimeFormat/PatternPart",443),b(206,1,Hzn,WE,YQ,oV),o.Fd=function(e){return Cpe(this,u(e,206))},o.Fb=function(e){return L(e,206)&&cb(vc(this.q.getTime()),vc(u(e,206).q.getTime()))},o.Hb=function(){var e;return e=vc(this.q.getTime()),Se(BD(e,G1(e,32)))},o.Ib=function(){var e,t,i;return i=-this.q.getTimezoneOffset(),e=(i>=0?"+":"")+(i/60|0),t=OM(y.Math.abs(i)%60),(qFn(),EQn)[this.q.getDay()]+" "+MQn[this.q.getMonth()]+" "+OM(this.q.getDate())+" "+OM(this.q.getHours())+":"+OM(this.q.getMinutes())+":"+OM(this.q.getSeconds())+" GMT"+e+t+" "+this.q.getFullYear()};var oI=w(le,"Date",206);b(2015,206,Hzn,aFn),o.a=!1,o.b=0,o.c=0,o.d=0,o.e=0,o.f=0,o.g=!1,o.i=0,o.j=0,o.k=0,o.n=0,o.o=0,o.p=0,w("com.google.gwt.i18n.shared.impl","DateRecord",2015),b(2064,1,{}),o.pe=function(){return null},o.qe=function(){return null},o.re=function(){return null},o.se=function(){return null},o.te=function(){return null},w(u3,"JSONValue",2064),b(221,2064,{221:1},_a,hG),o.Fb=function(e){return L(e,221)?sJ(this.a,u(e,221).a):!1},o.oe=function(){return Dfe},o.Hb=function(){return QW(this.a)},o.pe=function(){return this},o.Ib=function(){var e,t,i;for(i=new mo("["),t=0,e=this.a.length;t<e;t++)t>0&&(i.a+=","),Lc(i,Jw(this,t));return i.a+="]",i.a},w(u3,"JSONArray",221),b(492,2064,{492:1},lG),o.oe=function(){return $fe},o.qe=function(){return this},o.Ib=function(){return _n(),""+this.a},o.a=!1;var lQn,aQn;w(u3,"JSONBoolean",492),b(997,63,Il,Ojn),w(u3,"JSONException",997),b(1036,2064,{},Mbn),o.oe=function(){return xfe},o.Ib=function(){return gu};var dQn;w(u3,"JSONNull",1036),b(263,2064,{263:1},CE),o.Fb=function(e){return L(e,263)?this.a==u(e,263).a:!1},o.oe=function(){return Lfe},o.Hb=function(){return pp(this.a)},o.re=function(){return this},o.Ib=function(){return this.a+""},o.a=0,w(u3,"JSONNumber",263),b(190,2064,{190:1},sp,q9),o.Fb=function(e){return L(e,190)?sJ(this.a,u(e,190).a):!1},o.oe=function(){return Nfe},o.Hb=function(){return QW(this.a)},o.se=function(){return this},o.Ib=function(){var e,t,i,r,c,s,f;for(f=new mo("{"),e=!0,s=P$(this,F(fn,J,2,0,6,1)),i=s,r=0,c=i.length;r<c;++r)t=i[r],e?e=!1:f.a+=ur,Be(f,cHn(t)),f.a+=":",Lc(f,dl(this,t));return f.a+="}",f.a},w(u3,"JSONObject",190),b(605,Ff,Nu,PL),o.Hc=function(e){return Si(e)&&whe(this.a,Ae(e))},o.Kc=function(){return new Gv(new Fu(this.b))},o.gc=function(){return this.b.length},w(u3,"JSONObject/1",605);var VF;b(211,2064,{211:1},qw),o.Fb=function(e){return L(e,211)?Sn(this.a,u(e,211).a):!1},o.oe=function(){return Afe},o.Hb=function(){return t1(this.a)},o.te=function(){return this},o.Ib=function(){return cHn(this.a)},w(u3,"JSONString",211);var ga,sun,bQn,fun,hun;b(2060,1,{533:1}),w(vtn,"OutputStream",2060),b(2061,2060,{533:1}),w(vtn,"FilterOutputStream",2061),b(878,2061,{533:1},Tbn),w(vtn,"PrintStream",878),b(427,1,{483:1}),o.Ib=function(){return this.a},w(ac,"AbstractStringBuilder",427),b(538,63,Il,FE),w(ac,"ArithmeticException",538),b(77,63,SK,_G,Or),w(ac,"IndexOutOfBoundsException",77),b(333,77,{3:1,333:1,103:1,77:1,63:1,82:1},JG,wz),w(ac,"ArrayIndexOutOfBoundsException",333),b(537,63,Il,uL,Rjn),w(ac,"ArrayStoreException",537),b(295,82,qzn,vL),w(ac,"Error",295),b(200,295,qzn,FG,NJ),w(ac,"AssertionError",200),eQn={3:1,484:1,34:1};var pa,uv,zt=w(ac,"Boolean",484);b(242,1,{3:1,242:1});var lun;w(ac,"Number",242),b(222,242,{3:1,222:1,34:1,242:1},c9n),o.Fd=function(e){return ahe(this,u(e,222))},o.ue=function(){return this.a},o.Fb=function(e){return L(e,222)&&u(e,222).a==this.a},o.Hb=function(){return this.a},o.Ib=function(){return""+this.a},o.a=0;var p3=w(ac,"Byte",222),aun;b(180,1,{3:1,180:1,34:1},kG),o.Fd=function(e){return dhe(this,u(e,180))},o.Fb=function(e){return L(e,180)&&u(e,180).a==this.a},o.Hb=function(){return this.a},o.Ib=function(){return String.fromCharCode(this.a)},o.a=0;var dun,T8=w(ac,"Character",180),bun;b(212,63,{3:1,212:1,103:1,63:1,82:1},Nyn,tm),w(ac,"ClassCastException",212),tQn={3:1,34:1,345:1,242:1};var si=w(ac,"Double",345);b(161,242,{3:1,34:1,161:1,242:1},G9,HG),o.Fd=function(e){return Sle(this,u(e,161))},o.ue=function(){return this.a},o.Fb=function(e){return L(e,161)&&ZSn(this.a,u(e,161).a)},o.Hb=function(){return wi(this.a)},o.Ib=function(){return""+this.a},o.a=0;var ov=w(ac,"Float",161);b(33,63,{3:1,103:1,33:1,63:1,82:1},W9,Gn,NRn),w(ac,"IllegalArgumentException",33),b(73,63,Il,Mu,Ar),w(ac,"IllegalStateException",73),b(17,242,{3:1,34:1,17:1,242:1},pG),o.Fd=function(e){return kX(this,u(e,17))},o.ue=function(){return this.a},o.Fb=function(e){return L(e,17)&&u(e,17).a==this.a},o.Hb=function(){return this.a},o.Ib=function(){return""+this.a},o.a=0;var Gi=w(ac,"Integer",17),wun,wQn;b(168,242,{3:1,34:1,168:1,242:1},mG),o.Fd=function(e){return Cle(this,u(e,168))},o.ue=function(){return id(this.a)},o.Fb=function(e){return L(e,168)&&cb(u(e,168).a,this.a)},o.Hb=function(){return Tae(this.a)},o.Ib=function(){return""+B6(this.a)},o.a=0;var nw=w(ac,"Long",168),gun;b(2140,1,{}),b(1904,63,Il,Kjn),w(ac,"NegativeArraySizeException",1904),b(169,607,{3:1,103:1,169:1,63:1,82:1},rp,fp),o.ee=function(e){return new TypeError(e)},w(ac,"NullPointerException",169);var pun,WF,gQn,mun;b(130,33,{3:1,103:1,33:1,130:1,63:1,82:1},th),w(ac,"NumberFormatException",130),b(191,242,{3:1,34:1,242:1,191:1},vG),o.Fd=function(e){return bhe(this,u(e,191))},o.ue=function(){return this.a},o.Fb=function(e){return L(e,191)&&u(e,191).a==this.a},o.Hb=function(){return this.a},o.Ib=function(){return""+this.a},o.a=0;var ew=w(ac,"Short",191),vun;b(319,1,{3:1,319:1},yD),o.Fb=function(e){var t;return L(e,319)?(t=u(e,319),this.c==t.c&&this.d==t.d&&this.a==t.a&&this.b==t.b):!1},o.Hb=function(){return Ik(S(C(ki,1),Rn,1,5,[Y(this.c),this.a,this.d,this.b]))},o.Ib=function(){return this.a+"."+this.d+"("+(this.b!=null?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},o.c=0;var kun=w(ac,"StackTraceElement",319);iQn={3:1,483:1,34:1,2:1};var fn=w(ac,wtn,2);b(111,427,{483:1},Hl,e6,ls),w(ac,"StringBuffer",111),b(104,427,{483:1},R1,fg,mo),w(ac,"StringBuilder",104),b(702,77,SK,bz),w(ac,"StringIndexOutOfBoundsException",702),b(2145,1,{});var pQn;b(48,63,{3:1,103:1,63:1,82:1,48:1},Ie,Fl),w(ac,"UnsupportedOperationException",48),b(247,242,{3:1,34:1,242:1,247:1},Nk,Tz),o.Fd=function(e){return RUn(this,u(e,247))},o.ue=function(){return s0(lGn(this))},o.Fb=function(e){var t;return this===e?!0:L(e,247)?(t=u(e,247),this.e==t.e&&RUn(this,t)==0):!1},o.Hb=function(){var e;return this.b!=0?this.b:this.a<54?(e=vc(this.f),this.b=Se(vi(e,-1)),this.b=33*this.b+Se(vi(db(e,32),-1)),this.b=17*this.b+wi(this.e),this.b):(this.b=17*WRn(this.c)+wi(this.e),this.b)},o.Ib=function(){return lGn(this)},o.a=0,o.b=0,o.d=0,o.e=0,o.f=0;var mQn,Od,yun,jun,Eun,Mun,Tun,Cun,JF=w("java.math","BigDecimal",247);b(92,242,{3:1,34:1,242:1,92:1},gl,_An,Ya,JKn,q1),o.Fd=function(e){return zKn(this,u(e,92))},o.ue=function(){return s0(ZR(this,0))},o.Fb=function(e){return BY(this,e)},o.Hb=function(){return WRn(this)},o.Ib=function(){return ZR(this,0)},o.b=-2,o.c=0,o.d=0,o.e=0;var vQn,sI,kQn,QF,fI,C8,l2=w("java.math","BigInteger",92),yQn,jQn,m3,S8;b(497,2065,Gb),o.$b=function(){Hu(this)},o._b=function(e){return Zc(this,e)},o.uc=function(e){return ORn(this,e,this.i)||ORn(this,e,this.f)},o.vc=function(){return new Ua(this)},o.xc=function(e){return ee(this,e)},o.zc=function(e,t){return Ve(this,e,t)},o.Bc=function(e){return Kp(this,e)},o.gc=function(){return i6(this)},o.g=0,w(le,"AbstractHashMap",497),b(267,Ff,Nu,Ua),o.$b=function(){this.a.$b()},o.Hc=function(e){return pLn(this,e)},o.Kc=function(){return new sd(this.a)},o.Mc=function(e){var t;return pLn(this,e)?(t=u(e,44).ld(),this.a.Bc(t),!0):!1},o.gc=function(){return this.a.gc()},w(le,"AbstractHashMap/EntrySet",267),b(268,1,Pi,sd),o.Nb=function(e){_i(this,e)},o.Pb=function(){return Ab(this)},o.Ob=function(){return this.b},o.Qb=function(){zDn(this)},o.b=!1,o.d=0,w(le,"AbstractHashMap/EntrySetIterator",268),b(426,1,Pi,Gv),o.Nb=function(e){_i(this,e)},o.Ob=function(){return LL(this)},o.Pb=function(){return zW(this)},o.Qb=function(){bo(this)},o.b=0,o.c=-1,w(le,"AbstractList/IteratorImpl",426),b(98,426,Hh,xi),o.Qb=function(){bo(this)},o.Rb=function(e){Bw(this,e)},o.Sb=function(){return this.b>0},o.Tb=function(){return this.b},o.Ub=function(){return oe(this.b>0),this.a.Xb(this.c=--this.b)},o.Vb=function(){return this.b-1},o.Wb=function(e){Rw(this.c!=-1),this.a.hd(this.c,e)},w(le,"AbstractList/ListIteratorImpl",98),b(244,56,K4,Jl),o.bd=function(e,t){zw(e,this.b),this.c.bd(this.a+e,t),++this.b},o.Xb=function(e){return Nn(e,this.b),this.c.Xb(this.a+e)},o.gd=function(e){var t;return Nn(e,this.b),t=this.c.gd(this.a+e),--this.b,t},o.hd=function(e,t){return Nn(e,this.b),this.c.hd(this.a+e,t)},o.gc=function(){return this.b},o.a=0,o.b=0,w(le,"AbstractList/SubList",244),b(266,Ff,Nu,qa),o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a._b(e)},o.Kc=function(){var e;return e=this.a.vc().Kc(),new PE(e)},o.Mc=function(e){return this.a._b(e)?(this.a.Bc(e),!0):!1},o.gc=function(){return this.a.gc()},w(le,"AbstractMap/1",266),b(541,1,Pi,PE),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.a.Ob()},o.Pb=function(){var e;return e=u(this.a.Pb(),44),e.ld()},o.Qb=function(){this.a.Qb()},w(le,"AbstractMap/1/1",541),b(231,31,p0,ol),o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a.uc(e)},o.Kc=function(){var e;return e=this.a.vc().Kc(),new Cw(e)},o.gc=function(){return this.a.gc()},w(le,"AbstractMap/2",231),b(300,1,Pi,Cw),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.a.Ob()},o.Pb=function(){var e;return e=u(this.a.Pb(),44),e.md()},o.Qb=function(){this.a.Qb()},w(le,"AbstractMap/2/1",300),b(493,1,{493:1,44:1}),o.Fb=function(e){var t;return L(e,44)?(t=u(e,44),mc(this.d,t.ld())&&mc(this.e,t.md())):!1},o.ld=function(){return this.d},o.md=function(){return this.e},o.Hb=function(){return yg(this.d)^yg(this.e)},o.nd=function(e){return dV(this,e)},o.Ib=function(){return this.d+"="+this.e},w(le,"AbstractMap/AbstractEntry",493),b(397,493,{493:1,397:1,44:1},uM),w(le,"AbstractMap/SimpleEntry",397),b(2082,1,OK),o.Fb=function(e){var t;return L(e,44)?(t=u(e,44),mc(this.ld(),t.ld())&&mc(this.md(),t.md())):!1},o.Hb=function(){return yg(this.ld())^yg(this.md())},o.Ib=function(){return this.ld()+"="+this.md()},w(le,Ozn,2082),b(2090,2065,atn),o.Xc=function(e){return TL(this.Ee(e))},o.tc=function(e){return ENn(this,e)},o._b=function(e){return bV(this,e)},o.vc=function(){return new ZA(this)},o.Tc=function(){return RIn(this.Ge())},o.Yc=function(e){return TL(this.He(e))},o.xc=function(e){var t;return t=e,Fr(this.Fe(t))},o.$c=function(e){return TL(this.Ie(e))},o.ec=function(){return new u9n(this)},o.Vc=function(){return RIn(this.Je())},o._c=function(e){return TL(this.Ke(e))},w(le,"AbstractNavigableMap",2090),b(629,Ff,Nu,ZA),o.Hc=function(e){return L(e,44)&&ENn(this.b,u(e,44))},o.Kc=function(){return this.b.De()},o.Mc=function(e){var t;return L(e,44)?(t=u(e,44),this.b.Le(t)):!1},o.gc=function(){return this.b.gc()},w(le,"AbstractNavigableMap/EntrySet",629),b(1146,Ff,dtn,u9n),o.Nc=function(){return new rM(this)},o.$b=function(){this.a.$b()},o.Hc=function(e){return bV(this.a,e)},o.Kc=function(){var e;return e=this.a.vc().b.De(),new o9n(e)},o.Mc=function(e){return bV(this.a,e)?(this.a.Bc(e),!0):!1},o.gc=function(){return this.a.gc()},w(le,"AbstractNavigableMap/NavigableKeySet",1146),b(1147,1,Pi,o9n),o.Nb=function(e){_i(this,e)},o.Ob=function(){return LL(this.a.a)},o.Pb=function(){var e;return e=uSn(this.a),e.ld()},o.Qb=function(){aPn(this.a)},w(le,"AbstractNavigableMap/NavigableKeySet/1",1147),b(2103,31,p0),o.Fc=function(e){return Tp(k4(this,e),F4),!0},o.Gc=function(e){return Jn(e),x7(e!=this,"Can't add a queue to itself"),Ki(this,e)},o.$b=function(){for(;w$(this)!=null;);},w(le,"AbstractQueue",2103),b(310,31,{4:1,20:1,31:1,16:1},Mg,aLn),o.Fc=function(e){return mJ(this,e),!0},o.$b=function(){MJ(this)},o.Hc=function(e){return Yxn(new z6(this),e)},o.dc=function(){return n6(this)},o.Kc=function(){return new z6(this)},o.Mc=function(e){return p2e(new z6(this),e)},o.gc=function(){return this.c-this.b&this.a.length-1},o.Nc=function(){return new On(this,272)},o.Qc=function(e){var t;return t=this.c-this.b&this.a.length-1,e.length<t&&(e=HE(new Array(t),e)),lxn(this,e,t),e.length>t&&$t(e,t,null),e},o.b=0,o.c=0,w(le,"ArrayDeque",310),b(458,1,Pi,z6),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.a!=this.b},o.Pb=function(){return xC(this)},o.Qb=function(){V$n(this)},o.a=0,o.b=0,o.c=-1,w(le,"ArrayDeque/IteratorImpl",458),b(13,56,Gzn,Z,Gc,_u),o.bd=function(e,t){ab(this,e,t)},o.Fc=function(e){return nn(this,e)},o.cd=function(e,t){return lY(this,e,t)},o.Gc=function(e){return hi(this,e)},o.$b=function(){Sw(this.c,0)},o.Hc=function(e){return qr(this,e,0)!=-1},o.Jc=function(e){nu(this,e)},o.Xb=function(e){return sn(this,e)},o.dd=function(e){return qr(this,e,0)},o.dc=function(){return this.c.length==0},o.Kc=function(){return new M(this)},o.gd=function(e){return Yl(this,e)},o.Mc=function(e){return du(this,e)},o.ce=function(e,t){$An(this,e,t)},o.hd=function(e,t){return Go(this,e,t)},o.gc=function(){return this.c.length},o.jd=function(e){Yt(this,e)},o.Pc=function(){return YM(this.c)},o.Qc=function(e){return Rf(this,e)};var uDe=w(le,"ArrayList",13);b(7,1,Pi,M),o.Nb=function(e){_i(this,e)},o.Ob=function(){return tc(this)},o.Pb=function(){return E(this)},o.Qb=function(){_6(this)},o.a=0,o.b=-1,w(le,"ArrayList/1",7),b(2112,y.Function,{},pE),o.Me=function(e,t){return bt(e,t)},b(151,56,zzn,Fu),o.Hc=function(e){return W$n(this,e)!=-1},o.Jc=function(e){var t,i,r,c;for(Jn(e),i=this.a,r=0,c=i.length;r<c;++r)t=i[r],e.Cd(t)},o.Xb=function(e){return QPn(this,e)},o.hd=function(e,t){var i;return i=(Nn(e,this.a.length),this.a[e]),$t(this.a,e,t),i},o.gc=function(){return this.a.length},o.jd=function(e){QN(this.a,this.a.length,e)},o.Pc=function(){return uBn(this,F(ki,Rn,1,this.a.length,5,1))},o.Qc=function(e){return uBn(this,e)},w(le,"Arrays/ArrayList",151);var sr,Wh,hI;b(953,56,zzn,Cbn),o.Hc=function(e){return!1},o.Xb=function(e){return pX(e)},o.Kc=function(){return Ln(),hm(),sv},o.ed=function(){return Ln(),hm(),sv},o.gc=function(){return 0},w(le,"Collections/EmptyList",953),b(954,1,Hh,Sbn),o.Nb=function(e){_i(this,e)},o.Rb=function(e){throw T(new Ie)},o.Ob=function(){return!1},o.Sb=function(){return!1},o.Pb=function(){throw T(new nc)},o.Tb=function(){return 0},o.Ub=function(){throw T(new nc)},o.Vb=function(){return-1},o.Qb=function(){throw T(new Mu)},o.Wb=function(e){throw T(new Mu)};var sv;w(le,"Collections/EmptyListIterator",954),b(956,2065,R4,Pbn),o._b=function(e){return!1},o.uc=function(e){return!1},o.vc=function(){return Ln(),hI},o.xc=function(e){return null},o.ec=function(){return Ln(),hI},o.gc=function(){return 0},o.Cc=function(){return Ln(),sr},w(le,"Collections/EmptyMap",956),b(955,Ff,r3,Ibn),o.Hc=function(e){return!1},o.Kc=function(){return Ln(),hm(),sv},o.gc=function(){return 0},w(le,"Collections/EmptySet",955),b(608,56,{3:1,20:1,31:1,56:1,16:1,15:1},nL),o.Hc=function(e){return mc(this.a,e)},o.Xb=function(e){return Nn(e,1),this.a},o.gc=function(){return 1},w(le,"Collections/SingletonList",608),b(384,1,Nzn,J3),o.Jc=function(e){qi(this,e)},o.Lc=function(){return new Cn(null,this.Nc())},o.Nc=function(){return new On(this,0)},o.Oc=function(){return new Cn(null,this.Nc())},o.Fc=function(e){return sEn()},o.Gc=function(e){return fEn()},o.$b=function(){hEn()},o.Hc=function(e){return t7(this,e)},o.Ic=function(e){return QEn(this,e)},o.dc=function(){return this.b.dc()},o.Kc=function(){return new W3(this.b.Kc())},o.Mc=function(e){return lEn()},o.gc=function(){return this.b.gc()},o.Pc=function(){return this.b.Pc()},o.Qc=function(e){return YEn(this,e)},o.Ib=function(){return Jr(this.b)},w(le,"Collections/UnmodifiableCollection",384),b(383,1,Pi,W3),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.b.Ob()},o.Pb=function(){return this.b.Pb()},o.Qb=function(){aEn()},w(le,"Collections/UnmodifiableCollectionIterator",383),b(540,384,Xzn,RM),o.Nc=function(){return new On(this,16)},o.bd=function(e,t){throw T(new Ie)},o.cd=function(e,t){throw T(new Ie)},o.Fb=function(e){return ct(this.a,e)},o.Xb=function(e){return this.a.Xb(e)},o.Hb=function(){return mt(this.a)},o.dd=function(e){return this.a.dd(e)},o.dc=function(){return this.a.dc()},o.ed=function(){return new UX(this.a.fd(0))},o.fd=function(e){return new UX(this.a.fd(e))},o.gd=function(e){throw T(new Ie)},o.hd=function(e,t){throw T(new Ie)},o.jd=function(e){throw T(new Ie)},o.kd=function(e,t){return new RM(this.a.kd(e,t))},w(le,"Collections/UnmodifiableList",540),b(705,383,Hh,UX),o.Qb=function(){aEn()},o.Rb=function(e){throw T(new Ie)},o.Sb=function(){return this.a.Sb()},o.Tb=function(){return this.a.Tb()},o.Ub=function(){return this.a.Ub()},o.Vb=function(){return this.a.Vb()},o.Wb=function(e){throw T(new Ie)},w(le,"Collections/UnmodifiableListIterator",705),b(609,1,Gb,eL),o.wc=function(e){o5(this,e)},o.yc=function(e,t,i){return hx(this,e,t,i)},o.$b=function(){throw T(new Ie)},o._b=function(e){return this.c._b(e)},o.uc=function(e){return nMn(this,e)},o.vc=function(){return Sm(this)},o.Fb=function(e){return eMn(this,e)},o.xc=function(e){return this.c.xc(e)},o.Hb=function(){return mt(this.c)},o.dc=function(){return this.c.dc()},o.ec=function(){return gOn(this)},o.zc=function(e,t){throw T(new Ie)},o.Bc=function(e){throw T(new Ie)},o.gc=function(){return this.c.gc()},o.Ib=function(){return Jr(this.c)},o.Cc=function(){return wOn(this)},w(le,"Collections/UnmodifiableMap",609),b(396,384,rK,im),o.Nc=function(){return new On(this,1)},o.Fb=function(e){return ct(this.b,e)},o.Hb=function(){return mt(this.b)},w(le,"Collections/UnmodifiableSet",396),b(957,396,rK,Hjn),o.Hc=function(e){return ZEn(this,e)},o.Ic=function(e){return this.b.Ic(e)},o.Kc=function(){var e;return e=this.b.Kc(),new s9n(e)},o.Pc=function(){var e;return e=this.b.Pc(),VLn(e,e.length),e},o.Qc=function(e){return nAn(this,e)},w(le,"Collections/UnmodifiableMap/UnmodifiableEntrySet",957),b(958,1,Pi,s9n),o.Nb=function(e){_i(this,e)},o.Pb=function(){return new yG(u(this.a.Pb(),44))},o.Ob=function(){return this.a.Ob()},o.Qb=function(){throw T(new Ie)},w(le,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",958),b(703,1,OK,yG),o.Fb=function(e){return this.a.Fb(e)},o.ld=function(){return this.a.ld()},o.md=function(){return this.a.md()},o.Hb=function(){return this.a.Hb()},o.nd=function(e){throw T(new Ie)},o.Ib=function(){return Jr(this.a)},w(le,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",703),b(610,540,{20:1,16:1,15:1,59:1},jL),w(le,"Collections/UnmodifiableRandomAccessList",610),b(704,396,Dzn,GX),o.Nc=function(){return new rM(this)},o.Fb=function(e){return ct(this.a,e)},o.Hb=function(){return mt(this.a)},w(le,"Collections/UnmodifiableSortedSet",704),b(858,1,AK,Obn),o.Ne=function(e,t){var i;return i=zLn(u(e,12),u(t,12)),i!=0?i:CUn(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(le,"Comparator/lambda$0$Type",858);var Sun,YF,Pun;b(769,1,AK,$U),o.Ne=function(e,t){return xwe(u(e,34),u(t,34))},o.Fb=function(e){return this===e},o.Oe=function(){return kb(),Pun},w(le,"Comparators/NaturalOrderComparator",769),b(1226,1,AK,Abn),o.Ne=function(e,t){return $we(u(e,34),u(t,34))},o.Fb=function(e){return this===e},o.Oe=function(){return kb(),YF},w(le,"Comparators/ReverseNaturalOrderComparator",1226),b(52,1,AK,Ce),o.Fb=function(e){return this===e},o.Ne=function(e,t){return this.a.Ne(t,e)},o.Oe=function(){return this.a},w(le,"Comparators/ReversedComparator",52),b(175,63,Il,Ko),w(le,"ConcurrentModificationException",175);var EQn,MQn;b(1948,1,Py,Lbn),o.Pe=function(e){IKn(this,e)},o.Ib=function(){return"DoubleSummaryStatistics[count = "+B6(this.a)+", avg = "+(NL(this.a,0)?KJ(this)/id(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+KJ(this)+"]"},o.a=0,o.b=li,o.c=Pt,o.d=0,o.e=0,o.f=0,w(le,"DoubleSummaryStatistics",1948),b(1868,63,Il,Dyn),w(le,"EmptyStackException",1868),b(460,2065,Gb,v5),o.zc=function(e,t){return wV(this,e,t)},o.$b=function(){iOn(this)},o._b=function(e){return mMn(this,e)},o.uc=function(e){var t,i;for(i=new dp(this.a);i.a<i.c.a.length;)if(t=Y6(i),mc(e,this.b[t.g]))return!0;return!1},o.vc=function(){return new h9n(this)},o.xc=function(e){return Mr(this,e)},o.Bc=function(e){return fJ(this,e)},o.gc=function(){return this.a.c},w(le,"EnumMap",460),b(1340,Ff,Nu,h9n),o.$b=function(){iOn(this.a)},o.Hc=function(e){return mLn(this,e)},o.Kc=function(){return new tIn(this.a)},o.Mc=function(e){var t;return mLn(this,e)?(t=u(e,44).ld(),fJ(this.a,t),!0):!1},o.gc=function(){return this.a.a.c},w(le,"EnumMap/EntrySet",1340),b(1341,1,Pi,tIn),o.Nb=function(e){_i(this,e)},o.Pb=function(){return this.b=Y6(this.a),new kMn(this.c,this.b)},o.Ob=function(){return PX(this.a)},o.Qb=function(){Rw(!!this.b),fJ(this.c,this.b),this.b=null},w(le,"EnumMap/EntrySetIterator",1341),b(1342,2082,OK,kMn),o.ld=function(){return this.a},o.md=function(){return this.b.b[this.a.g]},o.nd=function(e){return YV(this.b.b,this.a.g,e)},w(le,"EnumMap/MapEntry",1342),b(181,Ff,{20:1,31:1,16:1,181:1,21:1});var TQn=w(le,"EnumSet",181);b(162,181,{20:1,31:1,16:1,181:1,162:1,21:1},_o),o.Fc=function(e){return _s(this,u(e,22))},o.Hc=function(e){return JN(this,e)},o.Kc=function(){return new dp(this)},o.Mc=function(e){return lIn(this,e)},o.gc=function(){return this.c},o.c=0,w(le,"EnumSet/EnumSetImpl",162),b(356,1,Pi,dp),o.Nb=function(e){_i(this,e)},o.Pb=function(){return Y6(this)},o.Ob=function(){return PX(this)},o.Qb=function(){Rw(this.b!=-1),$t(this.c.b,this.b,null),--this.c.c,this.b=-1},o.a=-1,o.b=-1,w(le,"EnumSet/EnumSetImpl/IteratorImpl",356),b(45,497,n2,de,ap,KTn),o.Be=function(e,t){return x(e)===x(t)||e!=null&&ct(e,t)},o.Ce=function(e){var t;return e==null?0:(t=mt(e),t|0)},w(le,"HashMap",45),b(49,Ff,ktn,ni,GE,$6),o.Fc=function(e){return fi(this,e)},o.$b=function(){this.a.$b()},o.Hc=function(e){return sf(this,e)},o.dc=function(){return this.a.gc()==0},o.Kc=function(){return this.a.ec().Kc()},o.Mc=function(e){return NX(this,e)},o.gc=function(){return this.a.gc()};var oDe=w(le,"HashSet",49);b(1897,1,yy,Nbn),o.Dd=function(e){Bxn(this,e)},o.Ib=function(){return"IntSummaryStatistics[count = "+B6(this.a)+", avg = "+(NL(this.a,0)?id(this.d)/id(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+B6(this.d)+"]"},o.a=0,o.b=Wi,o.c=et,o.d=0,w(le,"IntSummaryStatistics",1897),b(1062,1,qh,tCn),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new XJ(this)},o.c=0,w(le,"InternalHashCodeMap",1062),b(726,1,Pi,XJ),o.Nb=function(e){_i(this,e)},o.Pb=function(){return this.d=this.a[this.c++],this.d},o.Ob=function(){var e;return this.c<this.a.length?!0:(e=this.b.next(),e.done?!1:(this.a=e.value[1],this.c=0,!0))},o.Qb=function(){Bnn(this.e,this.d.ld()),this.c!=0&&--this.c},o.c=0,o.d=null,w(le,"InternalHashCodeMap/1",726);var CQn;b(1060,1,qh,iCn),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new TJ(this)},o.c=0,o.d=0,w(le,"InternalStringMap",1060),b(725,1,Pi,TJ),o.Nb=function(e){_i(this,e)},o.Pb=function(){return this.c=this.a,this.a=this.b.next(),new fPn(this.d,this.c,this.d.d)},o.Ob=function(){return!this.a.done},o.Qb=function(){Uxn(this.d,this.c.value[0])},w(le,"InternalStringMap/1",725),b(1061,2082,OK,fPn),o.ld=function(){return this.b.value[0]},o.md=function(){return this.a.d!=this.c?h6(this.a,this.b.value[0]):this.b.value[1]},o.nd=function(e){return Nb(this.a,this.b.value[0],e)},o.c=0,w(le,"InternalStringMap/2",1061),b(215,45,n2,Ql,zJ),o.$b=function(){$Sn(this)},o._b=function(e){return vMn(this,e)},o.uc=function(e){var t;for(t=this.d.a;t!=this.d;){if(mc(t.e,e))return!0;t=t.a}return!1},o.vc=function(){return new SG(this)},o.xc=function(e){return Df(this,e)},o.zc=function(e,t){return s1(this,e,t)},o.Bc=function(e){return qDn(this,e)},o.gc=function(){return i6(this.e)},o.c=!1,w(le,"LinkedHashMap",215),b(400,397,{493:1,397:1,400:1,44:1},rSn,HV),w(le,"LinkedHashMap/ChainEntry",400),b(715,Ff,Nu,SG),o.$b=function(){$Sn(this.a)},o.Hc=function(e){return vLn(this,e)},o.Kc=function(){return new DW(this)},o.Mc=function(e){var t;return vLn(this,e)?(t=u(e,44).ld(),qDn(this.a,t),!0):!1},o.gc=function(){return i6(this.a.e)},w(le,"LinkedHashMap/EntrySet",715),b(716,1,Pi,DW),o.Nb=function(e){_i(this,e)},o.Pb=function(){return VDn(this)},o.Ob=function(){return this.c!=this.d.a.d},o.Qb=function(){Rw(!!this.a),RN(this.d.a.e.g,this.b),nW(this.a),Kp(this.d.a.e,this.a.d),this.b=this.d.a.e.g,this.a=null},o.b=0,w(le,"LinkedHashMap/EntrySet/EntryIterator",716),b(174,49,ktn,rh,MN,oW);var sDe=w(le,"LinkedHashSet",174);b(67,2062,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1},Mt,$N),o.Fc=function(e){return Re(this,e)},o.$b=function(){vo(this)},o.fd=function(e){return ge(this,e)},o.gc=function(){return this.b},o.b=0;var fDe=w(le,"LinkedList",67);b(981,1,Hh,hPn),o.Nb=function(e){_i(this,e)},o.Rb=function(e){_7(this,e)},o.Ob=function(){return Q9(this)},o.Sb=function(){return this.b.b!=this.d.a},o.Pb=function(){return be(this)},o.Tb=function(){return this.a},o.Ub=function(){return bLn(this)},o.Vb=function(){return this.a-1},o.Qb=function(){p$(this)},o.Wb=function(e){Rw(!!this.c),this.c.c=e},o.a=0,o.c=null,w(le,"LinkedList/ListIteratorImpl",981),b(617,1,{},AA),w(le,"LinkedList/Node",617),b(2057,1,{});var Iun,SQn;w(le,"Locale",2057),b(873,2057,{},Dbn),o.Ib=function(){return""},w(le,"Locale/1",873),b(874,2057,{},$bn),o.Ib=function(){return"unknown"},w(le,"Locale/4",874),b(112,63,{3:1,103:1,63:1,82:1,112:1},nc,POn),w(le,"NoSuchElementException",112),b(474,1,{474:1},wL),o.Fb=function(e){var t;return e===this?!0:L(e,474)?(t=u(e,474),mc(this.a,t.a)):!1},o.Hb=function(){return yg(this.a)},o.Ib=function(){return this.a!=null?Pzn+I6(this.a)+")":"Optional.empty()"};var Oun;w(le,"Optional",474),b(414,1,{414:1},HTn,SN),o.Fb=function(e){var t;return e===this?!0:L(e,414)?(t=u(e,414),this.a==t.a&&bt(this.b,t.b)==0):!1},o.Hb=function(){return this.a?wi(this.b):0},o.Ib=function(){return this.a?"OptionalDouble.of("+(""+this.b)+")":"OptionalDouble.empty()"},o.a=!1,o.b=0;var ZF;w(le,"OptionalDouble",414),b(524,1,{524:1},qTn,cSn),o.Fb=function(e){var t;return e===this?!0:L(e,524)?(t=u(e,524),this.a==t.a&&jc(this.b,t.b)==0):!1},o.Hb=function(){return this.a?this.b:0},o.Ib=function(){return this.a?"OptionalInt.of("+(""+this.b)+")":"OptionalInt.empty()"},o.a=!1,o.b=0;var PQn;w(le,"OptionalInt",524),b(510,2103,p0,aT),o.Gc=function(e){return jZ(this,e)},o.$b=function(){Sw(this.b.c,0)},o.Hc=function(e){return(e==null?-1:qr(this.b,e,0))!=-1},o.Kc=function(){return new f9n(this)},o.Mc=function(e){return hxn(this,e)},o.gc=function(){return this.b.c.length},o.Nc=function(){return new On(this,256)},o.Pc=function(){return YM(this.b.c)},o.Qc=function(e){return Rf(this.b,e)},w(le,"PriorityQueue",510),b(1296,1,Pi,f9n),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.a<this.c.b.c.length},o.Pb=function(){return oe(this.a<this.c.b.c.length),this.b=this.a++,sn(this.c.b,this.b)},o.Qb=function(){Rw(this.b!=-1),T$(this.c,this.a=this.b),this.b=-1},o.a=0,o.b=-1,w(le,"PriorityQueue/1",1296),b(234,1,{234:1},dx,qT),o.a=0,o.b=0;var Aun,Lun,hDe=0;w(le,"Random",234),b(25,1,Io,On,wb,COn),o.Ad=function(e){return(this.a&e)!=0},o.yd=function(){return this.a},o.zd=function(){return mW(this),this.c},o.Nb=function(e){mW(this),this.d.Nb(e)},o.Bd=function(e){return k$n(this,e)},o.a=0,o.c=0,w(le,"Spliterators/IteratorSpliterator",25),b(494,25,Io,rM),w(le,"SortedSet/1",494),b(611,1,Py,MG),o.Pe=function(e){this.a.Cd(e)},w(le,"Spliterator/OfDouble/0methodref$accept$Type",611),b(612,1,Py,EG),o.Pe=function(e){this.a.Cd(e)},w(le,"Spliterator/OfDouble/1methodref$accept$Type",612),b(613,1,yy,TG),o.Dd=function(e){this.a.Cd(Y(e))},w(le,"Spliterator/OfInt/2methodref$accept$Type",613),b(614,1,yy,CG),o.Dd=function(e){this.a.Cd(Y(e))},w(le,"Spliterator/OfInt/3methodref$accept$Type",614),b(625,1,Io),o.Nb=function(e){Mz(this,e)},o.Ad=function(e){return(this.d&e)!=0},o.yd=function(){return this.d},o.zd=function(){return this.e},o.d=0,o.e=0,w(le,"Spliterators/BaseSpliterator",625),b(736,625,Io),o.Qe=function(e){lg(this,e)},o.Nb=function(e){L(e,189)?lg(this,u(e,189)):lg(this,new EG(e))},o.Bd=function(e){return L(e,189)?this.Re(u(e,189)):this.Re(new MG(e))},w(le,"Spliterators/AbstractDoubleSpliterator",736),b(735,625,Io),o.Qe=function(e){lg(this,e)},o.Nb=function(e){L(e,202)?lg(this,u(e,202)):lg(this,new CG(e))},o.Bd=function(e){return L(e,202)?this.Re(u(e,202)):this.Re(new TG(e))},w(le,"Spliterators/AbstractIntSpliterator",735),b(499,625,Io),w(le,"Spliterators/AbstractSpliterator",499),b(706,1,Io),o.Nb=function(e){Mz(this,e)},o.Ad=function(e){return(this.b&e)!=0},o.yd=function(){return this.b},o.zd=function(){return this.d-this.c},o.b=0,o.c=0,o.d=0,w(le,"Spliterators/BaseArraySpliterator",706),b(960,706,Io,zPn),o.Se=function(e,t){phe(this,u(e,41),t)},o.Nb=function(e){gD(this,e)},o.Bd=function(e){return WT(this,e)},w(le,"Spliterators/ArraySpliterator",960),b(707,706,Io,uPn),o.Se=function(e,t){mhe(this,u(e,189),t)},o.Qe=function(e){gD(this,e)},o.Nb=function(e){L(e,189)?gD(this,u(e,189)):gD(this,new EG(e))},o.Re=function(e){return WT(this,e)},o.Bd=function(e){return L(e,189)?WT(this,u(e,189)):WT(this,new MG(e))},w(le,"Spliterators/DoubleArraySpliterator",707),b(2066,1,Io),o.Nb=function(e){Mz(this,e)},o.Ad=function(e){return(16448&e)!=0},o.yd=function(){return 16448},o.zd=function(){return 0};var IQn;w(le,"Spliterators/EmptySpliterator",2066),b(959,2066,Io,xbn),o.Qe=function(e){uG(e)},o.Nb=function(e){L(e,202)?uG(u(e,202)):uG(new CG(e))},o.Re=function(e){return Kz(e)},o.Bd=function(e){return L(e,202)?Kz(u(e,202)):Kz(new TG(e))},w(le,"Spliterators/EmptySpliterator/OfInt",959),b(588,56,Vzn,RE),o.bd=function(e,t){jm(e,this.a.c.length+1),ab(this.a,e,t)},o.Fc=function(e){return nn(this.a,e)},o.cd=function(e,t){return jm(e,this.a.c.length+1),lY(this.a,e,t)},o.Gc=function(e){return hi(this.a,e)},o.$b=function(){Sw(this.a.c,0)},o.Hc=function(e){return qr(this.a,e,0)!=-1},o.Ic=function(e){return jk(this.a,e)},o.Jc=function(e){nu(this.a,e)},o.Xb=function(e){return jm(e,this.a.c.length),sn(this.a,e)},o.dd=function(e){return qr(this.a,e,0)},o.dc=function(){return this.a.c.length==0},o.Kc=function(){return new M(this.a)},o.gd=function(e){return jm(e,this.a.c.length),Yl(this.a,e)},o.ce=function(e,t){$An(this.a,e,t)},o.hd=function(e,t){return jm(e,this.a.c.length),Go(this.a,e,t)},o.gc=function(){return this.a.c.length},o.jd=function(e){Yt(this.a,e)},o.kd=function(e,t){return new Jl(this.a,e,t)},o.Pc=function(){return YM(this.a.c)},o.Qc=function(e){return Rf(this.a,e)},o.Ib=function(){return ua(this.a)},w(le,"Vector",588),b(824,588,Vzn,QG),w(le,"Stack",824),b(213,1,{213:1},fd),o.Ib=function(){return dLn(this)},w(le,"StringJoiner",213),b(553,2090,{3:1,85:1,139:1,133:1},iMn,iD),o.$b=function(){Djn(this)},o.De=function(){return new kLn(this)},o.vc=function(){return new YCn(this)},o.Ee=function(e){return d4(this,e,!0)},o.Fe=function(e){return TRn(this,e)},o.Ge=function(){return ZJ(this)},o.He=function(e){return Bk(this,e,!0)},o.Ie=function(e){return d4(this,e,!1)},o.Je=function(){return NDn(this)},o.Ke=function(e){return Bk(this,e,!1)},o.Zc=function(e,t){return xAn(this,e,t)},o.zc=function(e,t){return wRn(this,e,t)},o.Bc=function(e){return cAn(this,e)},o.Le=function(e){return qJ(this,e)},o.gc=function(){return this.c},o.ad=function(e,t){return RAn(this,e,t)},o.c=0,w(le,"TreeMap",553),b(554,1,Pi,kLn,I$),o.Nb=function(e){_i(this,e)},o.Pb=function(){return uSn(this)},o.Ob=function(){return LL(this.a)},o.Qb=function(){aPn(this)},w(le,"TreeMap/EntryIterator",554),b(1142,629,Nu,YCn),o.$b=function(){Djn(this.a)},w(le,"TreeMap/EntrySet",1142),b(447,397,{493:1,397:1,44:1,447:1},r$),o.b=!1;var lDe=w(le,"TreeMap/Node",447);b(630,1,{},LA),o.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},o.a=!1,o.b=!1,o.c=!1,w(le,"TreeMap/State",630),b(631,2090,atn,rR),o.De=function(){return new I$(this.c,this.f,this.b,this.a,this.e,this.d)},o.vc=function(){return new ZA(this)},o.Ee=function(e){return VM(this,d4(this.c,e,!0))},o.Fe=function(e){return VM(this,TRn(this.c,e))},o.Ge=function(){var e;return this.f.Te()?this.a?e=d4(this.c,this.b,!0):e=d4(this.c,this.b,!1):e=ZJ(this.c),e&&mT(this,e.d)?e:null},o.He=function(e){return VM(this,Bk(this.c,e,!0))},o.Ie=function(e){return VM(this,d4(this.c,e,!1))},o.Je=function(){var e;return this.f.Ue()?this.d?e=Bk(this.c,this.e,!0):e=Bk(this.c,this.e,!1):e=NDn(this.c),e&&mT(this,e.d)?e:null},o.Ke=function(e){return VM(this,Bk(this.c,e,!1))},o.Zc=function(e,t){if(this.f.Ue()&&this.c.a.Ne(e,this.e)>0)throw T(new Gn(Etn+e+" greater than "+this.e));return this.f.Te()?rAn(this.c,this.b,this.a,e,t):xAn(this.c,e,t)},o.zc=function(e,t){if(!qx(this.c,this.f,e,this.b,this.a,this.e,this.d))throw T(new Gn(e+" outside the range "+this.b+" to "+this.e));return wRn(this.c,e,t)},o.Bc=function(e){var t;return t=e,qx(this.c,this.f,t,this.b,this.a,this.e,this.d)?cAn(this.c,t):null},o.Le=function(e){return mT(this,e.ld())&&qJ(this.c,e)},o.gc=function(){var e,t,i;if(this.f.Te()?this.a?t=d4(this.c,this.b,!0):t=d4(this.c,this.b,!1):t=ZJ(this.c),!(t&&mT(this,t.d)&&t))return 0;for(e=0,i=new I$(this.c,this.f,this.b,this.a,this.e,this.d);LL(i.a);i.b=u(zW(i.a),44))++e;return e},o.ad=function(e,t){if(this.f.Te()&&this.c.a.Ne(e,this.b)<0)throw T(new Gn(Etn+e+Wzn+this.b));return this.f.Ue()?rAn(this.c,e,t,this.e,this.d):RAn(this.c,e,t)},o.a=!1,o.d=!1,w(le,"TreeMap/SubMap",631),b(303,22,DK,cM),o.Te=function(){return!1},o.Ue=function(){return!1};var n_,e_,t_,i_,lI=we(le,"TreeMap/SubMapType",303,ke,Upe,nde);b(1143,303,DK,hCn),o.Ue=function(){return!0},we(le,"TreeMap/SubMapType/1",1143,lI,null,null),b(1144,303,DK,vCn),o.Te=function(){return!0},o.Ue=function(){return!0},we(le,"TreeMap/SubMapType/2",1144,lI,null,null),b(1145,303,DK,fCn),o.Te=function(){return!0},we(le,"TreeMap/SubMapType/3",1145,lI,null,null);var OQn;b(157,Ff,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},qG,Ul,Q3),o.Nc=function(){return new rM(this)},o.Fc=function(e){return B7(this,e)},o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a._b(e)},o.Kc=function(){return this.a.ec().Kc()},o.Mc=function(e){return EN(this,e)},o.gc=function(){return this.a.gc()};var aDe=w(le,"TreeSet",157);b(1082,1,{},l9n),o.Ve=function(e,t){return pae(this.a,e,t)},w($K,"BinaryOperator/lambda$0$Type",1082),b(1083,1,{},a9n),o.Ve=function(e,t){return mae(this.a,e,t)},w($K,"BinaryOperator/lambda$1$Type",1083),b(952,1,{},Rbn),o.Kb=function(e){return e},w($K,"Function/lambda$0$Type",952),b(395,1,Le,Y3),o.Mb=function(e){return!this.a.Mb(e)},w($K,"Predicate/lambda$2$Type",395),b(581,1,{581:1});var AQn=w(J5,"Handler",581);b(2107,1,vy),o.xe=function(){return"DUMMY"},o.Ib=function(){return this.xe()};var Nun;w(J5,"Level",2107),b(1706,2107,vy,Kbn),o.xe=function(){return"INFO"},w(J5,"Level/LevelInfo",1706),b(1843,1,{},Kyn);var r_;w(J5,"LogManager",1843),b(1896,1,vy,lPn),o.b=null,w(J5,"LogRecord",1896),b(525,1,{525:1},VD),o.e=!1;var LQn=!1,NQn=!1,Uf=!1,DQn=!1,$Qn=!1;w(J5,"Logger",525),b(835,581,{581:1},xU),w(J5,"SimpleConsoleLogHandler",835),b(108,22,{3:1,34:1,22:1,108:1},$L);var Dun,Yr,S0,xr=we(ai,"Collector/Characteristics",108,ke,A2e,ede),xQn;b(758,1,{},TW),w(ai,"CollectorImpl",758),b(1074,1,{},Bbn),o.Ve=function(e,t){return l5e(u(e,213),u(t,213))},w(ai,"Collectors/10methodref$merge$Type",1074),b(1075,1,{},Fbn),o.Kb=function(e){return dLn(u(e,213))},w(ai,"Collectors/11methodref$toString$Type",1075),b(1076,1,{},d9n),o.Kb=function(e){return _n(),!!vX(e)},w(ai,"Collectors/12methodref$test$Type",1076),b(144,1,{},yu),o.Yd=function(e,t){u(e,16).Fc(t)},w(ai,"Collectors/20methodref$add$Type",144),b(146,1,{},ju),o.Xe=function(){return new Z},w(ai,"Collectors/21methodref$ctor$Type",146),b(359,1,{},Y2),o.Xe=function(){return new ni},w(ai,"Collectors/23methodref$ctor$Type",359),b(360,1,{},Z2),o.Yd=function(e,t){fi(u(e,49),t)},w(ai,"Collectors/24methodref$add$Type",360),b(1069,1,{},_bn),o.Ve=function(e,t){return rMn(u(e,15),u(t,16))},w(ai,"Collectors/4methodref$addAll$Type",1069),b(1073,1,{},Hbn),o.Yd=function(e,t){pl(u(e,213),u(t,483))},w(ai,"Collectors/9methodref$add$Type",1073),b(1072,1,{},PPn),o.Xe=function(){return new fd(this.a,this.b,this.c)},w(ai,"Collectors/lambda$15$Type",1072),b(1077,1,{},qbn),o.Xe=function(){var e;return e=new Ql,s1(e,(_n(),!1),new Z),s1(e,!0,new Z),e},w(ai,"Collectors/lambda$22$Type",1077),b(1078,1,{},b9n),o.Xe=function(){return S(C(ki,1),Rn,1,5,[this.a])},w(ai,"Collectors/lambda$25$Type",1078),b(1079,1,{},w9n),o.Yd=function(e,t){Rwe(this.a,cd(e))},w(ai,"Collectors/lambda$26$Type",1079),b(1080,1,{},g9n),o.Ve=function(e,t){return l0e(this.a,cd(e),cd(t))},w(ai,"Collectors/lambda$27$Type",1080),b(1081,1,{},Ubn),o.Kb=function(e){return cd(e)[0]},w(ai,"Collectors/lambda$28$Type",1081),b(728,1,{},RU),o.Ve=function(e,t){return cW(e,t)},w(ai,"Collectors/lambda$4$Type",728),b(145,1,{},Eu),o.Ve=function(e,t){return zhe(u(e,16),u(t,16))},w(ai,"Collectors/lambda$42$Type",145),b(361,1,{},np),o.Ve=function(e,t){return Xhe(u(e,49),u(t,49))},w(ai,"Collectors/lambda$50$Type",361),b(362,1,{},ep),o.Kb=function(e){return u(e,49)},w(ai,"Collectors/lambda$51$Type",362),b(1068,1,{},p9n),o.Yd=function(e,t){p6e(this.a,u(e,85),t)},w(ai,"Collectors/lambda$7$Type",1068),b(1070,1,{},Gbn),o.Ve=function(e,t){return Xve(u(e,85),u(t,85),new _bn)},w(ai,"Collectors/lambda$8$Type",1070),b(1071,1,{},m9n),o.Kb=function(e){return U5e(this.a,u(e,85))},w(ai,"Collectors/lambda$9$Type",1071),b(550,1,{}),o.$e=function(){G6(this)},o.d=!1,w(ai,"TerminatableStream",550),b(827,550,Mtn,rV),o.$e=function(){G6(this)},w(ai,"DoubleStreamImpl",827),b(1847,736,Io,IPn),o.Re=function(e){return X9e(this,u(e,189))},o.a=null,w(ai,"DoubleStreamImpl/2",1847),b(1848,1,Py,v9n),o.Pe=function(e){Fle(this.a,e)},w(ai,"DoubleStreamImpl/2/lambda$0$Type",1848),b(1845,1,Py,k9n),o.Pe=function(e){Ble(this.a,e)},w(ai,"DoubleStreamImpl/lambda$0$Type",1845),b(1846,1,Py,y9n),o.Pe=function(e){IKn(this.a,e)},w(ai,"DoubleStreamImpl/lambda$2$Type",1846),b(1397,735,Io,mNn),o.Re=function(e){return Npe(this,u(e,202))},o.a=0,o.b=0,o.c=0,w(ai,"IntStream/5",1397),b(806,550,Mtn,cV),o.$e=function(){G6(this)},o._e=function(){return V1(this),this.a},w(ai,"IntStreamImpl",806),b(807,550,Mtn,Oz),o.$e=function(){G6(this)},o._e=function(){return V1(this),FX(),IQn},w(ai,"IntStreamImpl/Empty",807),b(1687,1,yy,j9n),o.Dd=function(e){Bxn(this.a,e)},w(ai,"IntStreamImpl/lambda$4$Type",1687);var dDe=Dt(ai,"Stream");b(26,550,{533:1,687:1,848:1},Cn),o.$e=function(){G6(this)};var v3;w(ai,"StreamImpl",26),b(1102,499,Io,iPn),o.Bd=function(e){for(;xme(this);){if(this.a.Bd(e))return!0;G6(this.b),this.b=null,this.a=null}return!1},w(ai,"StreamImpl/1",1102),b(1103,1,re,E9n),o.Cd=function(e){fwe(this.a,u(e,848))},w(ai,"StreamImpl/1/lambda$0$Type",1103),b(1104,1,Le,M9n),o.Mb=function(e){return fi(this.a,e)},w(ai,"StreamImpl/1methodref$add$Type",1104),b(1105,499,Io,ROn),o.Bd=function(e){var t;return this.a||(t=new Z,this.b.a.Nb(new T9n(t)),Ln(),Yt(t,this.c),this.a=new On(t,16)),k$n(this.a,e)},o.a=null,w(ai,"StreamImpl/5",1105),b(1106,1,re,T9n),o.Cd=function(e){nn(this.a,e)},w(ai,"StreamImpl/5/2methodref$add$Type",1106),b(737,499,Io,nQ),o.Bd=function(e){for(this.b=!1;!this.b&&this.c.Bd(new yMn(this,e)););return this.b},o.b=!1,w(ai,"StreamImpl/FilterSpliterator",737),b(1096,1,re,yMn),o.Cd=function(e){c0e(this.a,this.b,e)},w(ai,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),b(1091,736,Io,INn),o.Re=function(e){return Bae(this,u(e,189))},w(ai,"StreamImpl/MapToDoubleSpliterator",1091),b(1095,1,re,jMn),o.Cd=function(e){fle(this.a,this.b,e)},w(ai,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),b(1090,735,Io,ONn),o.Re=function(e){return Fae(this,u(e,202))},w(ai,"StreamImpl/MapToIntSpliterator",1090),b(1094,1,re,EMn),o.Cd=function(e){hle(this.a,this.b,e)},w(ai,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),b(734,499,Io,BJ),o.Bd=function(e){return nPn(this,e)},w(ai,"StreamImpl/MapToObjSpliterator",734),b(1093,1,re,MMn),o.Cd=function(e){lle(this.a,this.b,e)},w(ai,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),b(1092,499,Io,cxn),o.Bd=function(e){for(;NL(this.b,0);){if(!this.a.Bd(new zbn))return!1;this.b=bs(this.b,1)}return this.a.Bd(e)},o.b=0,w(ai,"StreamImpl/SkipSpliterator",1092),b(1097,1,re,zbn),o.Cd=function(e){},w(ai,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),b(626,1,re,NA),o.Cd=function(e){e9n(this,e)},w(ai,"StreamImpl/ValueConsumer",626),b(1098,1,re,Xbn),o.Cd=function(e){Va()},w(ai,"StreamImpl/lambda$0$Type",1098),b(1099,1,re,Vbn),o.Cd=function(e){Va()},w(ai,"StreamImpl/lambda$1$Type",1099),b(1100,1,{},C9n),o.Ve=function(e,t){return mde(this.a,e,t)},w(ai,"StreamImpl/lambda$4$Type",1100),b(1101,1,re,TMn),o.Cd=function(e){Mae(this.b,this.a,e)},w(ai,"StreamImpl/lambda$5$Type",1101),b(1107,1,re,S9n),o.Cd=function(e){$ve(this.a,u(e,380))},w(ai,"TerminatableStream/lambda$0$Type",1107),b(2142,1,{}),b(2014,1,{},Wbn),w("javaemul.internal","ConsoleLogger",2014);var bDe=0;b(2134,1,{}),b(1830,1,re,Jbn),o.Cd=function(e){u(e,317)},w(_4,"BowyerWatsonTriangulation/lambda$0$Type",1830),b(1831,1,re,P9n),o.Cd=function(e){Ki(this.a,u(e,317).e)},w(_4,"BowyerWatsonTriangulation/lambda$1$Type",1831),b(1832,1,re,Qbn),o.Cd=function(e){u(e,177)},w(_4,"BowyerWatsonTriangulation/lambda$2$Type",1832),b(1827,1,De,I9n),o.Ne=function(e,t){return m3e(this.a,u(e,177),u(t,177))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(_4,"NaiveMinST/lambda$0$Type",1827),b(506,1,{},z9),w(_4,"NodeMicroLayout",506),b(177,1,{177:1},bp),o.Fb=function(e){var t;return L(e,177)?(t=u(e,177),mc(this.a,t.a)&&mc(this.b,t.b)||mc(this.a,t.b)&&mc(this.b,t.a)):!1},o.Hb=function(){return yg(this.a)+yg(this.b)};var wDe=w(_4,"TEdge",177);b(317,1,{317:1},Ken),o.Fb=function(e){var t;return L(e,317)?(t=u(e,317),tC(this,t.a)&&tC(this,t.b)&&tC(this,t.c)):!1},o.Hb=function(){return yg(this.a)+yg(this.b)+yg(this.c)},w(_4,"TTriangle",317),b(225,1,{225:1},LM),w(_4,"Tree",225),b(1218,1,{},jAn),w(Yzn,"Scanline",1218);var RQn=Dt(Yzn,Zzn);b(1758,1,{},p$n),w(zh,"CGraph",1758),b(316,1,{316:1},TAn),o.b=0,o.c=0,o.d=0,o.g=0,o.i=0,o.k=li,w(zh,"CGroup",316),b(830,1,{},zG),w(zh,"CGroup/CGroupBuilder",830),b(60,1,{60:1},RSn),o.Ib=function(){var e;return this.j?Ae(this.j.Kb(this)):(ll(aI),aI.o+"@"+(e=fb(this)>>>0,e.toString(16)))},o.f=0,o.i=li;var aI=w(zh,"CNode",60);b(829,1,{},XG),w(zh,"CNode/CNodeBuilder",829);var KQn;b(1590,1,{},Ybn),o.ff=function(e,t){return 0},o.gf=function(e,t){return 0},w(zh,eXn,1590),b(1853,1,{},Zbn),o.cf=function(e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j;for(a=Pt,r=new M(e.a.b);r.a<r.c.c.length;)t=u(E(r),60),a=y.Math.min(a,t.a.j.d.c+t.b.a);for(m=new Mt,f=new M(e.a.a);f.a<f.c.c.length;)s=u(E(f),316),s.k=a,s.g==0&&xt(m,s,m.c.b,m.c);for(;m.b!=0;){for(s=u(m.b==0?null:(oe(m.b!=0),Xo(m,m.a.a)),316),c=s.j.d.c,p=s.a.a.ec().Kc();p.Ob();)d=u(p.Pb(),60),j=s.k+d.b.a,!J6e(e,s,e.d)||d.d.c<j?d.i=j:d.i=d.d.c;for(c-=s.j.i,s.b+=c,e.d==(ci(),Xr)||e.d==Wf?s.c+=c:s.c-=c,g=s.a.a.ec().Kc();g.Ob();)for(d=u(g.Pb(),60),l=d.c.Kc();l.Ob();)h=u(l.Pb(),60),hl(e.d)?k=e.g.ff(d,h):k=e.g.gf(d,h),h.a.k=y.Math.max(h.a.k,d.i+d.d.b+k-h.b.a),GOn(e,h,e.d)&&(h.a.k=y.Math.max(h.a.k,h.d.c-h.b.a)),--h.a.g,h.a.g==0&&Re(m,h.a)}for(i=new M(e.a.b);i.a<i.c.c.length;)t=u(E(i),60),t.d.c=t.i},w(zh,"LongestPathCompaction",1853),b(1756,1,{},uHn),o.e=!1;var BQn,FQn,_Qn,c_=w(zh,rXn,1756);b(1757,1,re,O9n),o.Cd=function(e){Qve(this.a,u(e,42))},w(zh,cXn,1757),b(1854,1,{},nwn),o.df=function(e){var t,i,r,c,s,f,h;for(i=new M(e.a.b);i.a<i.c.c.length;)t=u(E(i),60),t.c.$b();for(c=new M(e.a.b);c.a<c.c.c.length;)for(r=u(E(c),60),f=new M(e.a.b);f.a<f.c.c.length;)s=u(E(f),60),r!=s&&(r.a&&r.a==s.a||(hl(e.d)?h=e.g.gf(r,s):h=e.g.ff(r,s),(s.d.c>r.d.c||r.d.c==s.d.c&&r.d.b<s.d.b)&&x8e(s.d.d+s.d.a+h,r.d.d)&&ZY(s.d.d,r.d.d+r.d.a+h)&&r.c.Fc(s)))},w(zh,"QuadraticConstraintCalculation",1854),b(529,1,{529:1},rL),o.a=!1,o.b=!1,o.c=!1,o.d=!1,w(zh,uXn,529),b(817,1,{},hW),o.df=function(e){this.c=e,Yk(this,new iwn)},w(zh,oXn,817),b(1784,1,{693:1},XOn),o.bf=function(e){Qje(this,u(e,472))},w(zh,sXn,1784),b(1785,1,De,ewn),o.Ne=function(e,t){return sge(u(e,60),u(t,60))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(zh,fXn,1785),b(472,1,{472:1},Fz),o.a=!1,w(zh,hXn,472),b(1786,1,De,twn),o.Ne=function(e,t){return ske(u(e,472),u(t,472))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(zh,lXn,1786),b(1787,1,ph,iwn),o.Lb=function(e){return u(e,60),!0},o.Fb=function(e){return this===e},o.Mb=function(e){return u(e,60),!0},w(zh,"ScanlineConstraintCalculator/lambda$1$Type",1787),b(436,22,{3:1,34:1,22:1,436:1},_z);var $un,u_,xun=we(BK,"HighLevelSortingCriterion",436,ke,Rge,tde),HQn;b(435,22,{3:1,34:1,22:1,435:1},Hz);var Run,o_,Kun=we(BK,"LowLevelSortingCriterion",435,ke,Kge,ide),qQn,a2=Dt(oc,"ILayoutMetaDataProvider");b(864,1,ms,O5n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Ptn),FK),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),Gun),(l1(),It)),non),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Itn),FK),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),qun),It),Kun),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Otn),FK),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),_un),It),xun),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Atn),FK),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(_n(),!0)),yi),zt),yn(xn))))};var Bun,Fun,_un,Hun,qun,Uun,Gun;w(BK,"PolyominoOptions",864),b(257,22,{3:1,34:1,22:1,257:1},ag);var zun,Xun,Vun,Wun,Jun,Qun,s_,Yun,Zun,non=we(BK,"TraversalStrategy",257,ke,$4e,rde),UQn;b(218,1,{218:1},rwn),o.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},o.a=1,o.b=0,o.c=0,o.f=!1,o.g=0;var GQn=w(Q5,"NEdge",218);b(182,1,{},hs),w(Q5,"NEdge/NEdgeBuilder",182),b(662,1,{},oL),w(Q5,"NGraph",662),b(125,1,{125:1},NNn),o.c=-1,o.d=0,o.e=0,o.i=-1,o.j=!1;var eon=w(Q5,"NNode",125);b(808,1,Xzn,UG),o.Jc=function(e){qi(this,e)},o.Lc=function(){return new Cn(null,new On(this,16))},o.jd=function(e){ud(this,e)},o.Nc=function(){return new On(this,16)},o.Oc=function(){return new Cn(null,new On(this,16))},o.bd=function(e,t){++this.b,ab(this.a,e,t)},o.Fc=function(e){return KM(this,e)},o.cd=function(e,t){return++this.b,lY(this.a,e,t)},o.Gc=function(e){return++this.b,hi(this.a,e)},o.$b=function(){++this.b,Sw(this.a.c,0)},o.Hc=function(e){return qr(this.a,e,0)!=-1},o.Ic=function(e){return jk(this.a,e)},o.Xb=function(e){return sn(this.a,e)},o.dd=function(e){return qr(this.a,e,0)},o.dc=function(){return this.a.c.length==0},o.Kc=function(){return Fp(new M(this.a))},o.ed=function(){throw T(new Ie)},o.fd=function(e){throw T(new Ie)},o.gd=function(e){return++this.b,Yl(this.a,e)},o.Mc=function(e){return zX(this,e)},o.hd=function(e,t){return++this.b,Go(this.a,e,t)},o.gc=function(){return this.a.c.length},o.kd=function(e,t){return new Jl(this.a,e,t)},o.Pc=function(){return YM(this.a.c)},o.Qc=function(e){return Rf(this.a,e)},o.b=0,w(Q5,"NNode/ChangeAwareArrayList",808),b(275,1,{},za),w(Q5,"NNode/NNodeBuilder",275),b(1695,1,{},cwn),o.a=!1,o.f=et,o.j=0,w(Q5,"NetworkSimplex",1695),b(1314,1,re,A9n),o.Cd=function(e){HGn(this.a,u(e,695),!0,!1)},w(aXn,"NodeLabelAndSizeCalculator/lambda$0$Type",1314),b(565,1,{},IE),o.b=!0,o.c=!0,o.d=!0,o.e=!0,w(aXn,"NodeMarginCalculator",565),b(217,1,{217:1}),o.j=!1,o.k=!1;var zQn=w(kd,"Cell",217);b(127,217,{127:1,217:1},xSn),o.jf=function(){return ZM(this)},o.kf=function(){var e;return e=this.n,this.a.a+e.b+e.c},w(kd,"AtomicCell",127),b(237,22,{3:1,34:1,22:1,237:1},xL);var bc,Wc,wc,P0=we(kd,"ContainerArea",237,ke,D2e,cde),XQn;b(336,217,dXn),w(kd,"ContainerCell",336),b(1538,336,dXn,CKn),o.jf=function(){var e;return e=0,this.e?this.b?e=this.b.b:this.a[1][1]&&(e=this.a[1][1].jf()):e=RY(this,HBn(this,!0)),e>0?e+this.n.d+this.n.a:0},o.kf=function(){var e,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=RY(this,Gx(this,null,!0));else for(t=(wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])),i=0,r=t.length;i<r;++i)e=t[i],c=y.Math.max(c,RY(this,Gx(this,e,!0)));return c>0?c+this.n.b+this.n.c:0},o.lf=function(){var e,t,i,r,c;if(this.g)for(e=Gx(this,null,!1),i=(wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])),r=0,c=i.length;r<c;++r)t=i[r],jqn(this,t,e);else for(i=(wf(),S(C(P0,1),G,237,0,[bc,Wc,wc])),r=0,c=i.length;r<c;++r)t=i[r],e=Gx(this,t,!1),jqn(this,t,e)},o.mf=function(){var e,t,i,r;t=this.i,e=this.n,r=HBn(this,!1),$J(this,(wf(),bc),t.d+e.d,r),$J(this,wc,t.d+t.a-e.a-r[2],r),i=t.a-e.d-e.a,r[0]>0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=y.Math.max(0,i),this.c.d=t.d+e.d+(this.c.a-i)/2,r[1]=y.Math.max(r[1],i),$J(this,Wc,t.d+e.d+r[0]-(r[1]-i)/2,r)},o.b=null,o.d=0,o.e=!1,o.f=!1,o.g=!1;var f_=0,dI=0;w(kd,"GridContainerCell",1538),b(470,22,{3:1,34:1,22:1,470:1},RL);var ma,Th,zs,VQn=we(kd,"HorizontalLabelAlignment",470,ke,N2e,ude),WQn;b(314,217,{217:1,314:1},sAn,v$n,eAn),o.jf=function(){return HPn(this)},o.kf=function(){return ZV(this)},o.a=0,o.c=!1;var gDe=w(kd,"LabelCell",314);b(252,336,{217:1,336:1,252:1},y5),o.jf=function(){return ny(this)},o.kf=function(){return ey(this)},o.lf=function(){NR(this)},o.mf=function(){DR(this)},o.b=0,o.c=0,o.d=!1,w(kd,"StripContainerCell",252),b(1691,1,Le,uwn),o.Mb=function(e){return uhe(u(e,217))},w(kd,"StripContainerCell/lambda$0$Type",1691),b(1692,1,{},own),o.Ye=function(e){return u(e,217).kf()},w(kd,"StripContainerCell/lambda$1$Type",1692),b(1693,1,Le,swn),o.Mb=function(e){return ohe(u(e,217))},w(kd,"StripContainerCell/lambda$2$Type",1693),b(1694,1,{},fwn),o.Ye=function(e){return u(e,217).jf()},w(kd,"StripContainerCell/lambda$3$Type",1694),b(471,22,{3:1,34:1,22:1,471:1},KL);var Xs,va,kf,JQn=we(kd,"VerticalLabelAlignment",471,ke,L2e,ode),QQn;b(800,1,{},ntn),o.c=0,o.d=0,o.k=0,o.s=0,o.t=0,o.v=!1,o.w=0,o.D=!1,w(nP,"NodeContext",800),b(1536,1,De,hwn),o.Ne=function(e,t){return nCn(u(e,64),u(t,64))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(nP,"NodeContext/0methodref$comparePortSides$Type",1536),b(1537,1,De,lwn),o.Ne=function(e,t){return xye(u(e,117),u(t,117))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(nP,"NodeContext/1methodref$comparePortContexts$Type",1537),b(164,22,{3:1,34:1,22:1,164:1},Vo);var YQn,ZQn,nYn,eYn,tYn,iYn,rYn,cYn,uYn,oYn,sYn,fYn,hYn,lYn,aYn,dYn,bYn,wYn,gYn,pYn,mYn,h_,vYn=we(nP,"NodeLabelLocation",164,ke,jx,sde),kYn;b(117,1,{117:1},sHn),o.a=!1,w(nP,"PortContext",117),b(1541,1,re,awn),o.Cd=function(e){vEn(u(e,314))},w(Oy,bXn,1541),b(1542,1,Le,dwn),o.Mb=function(e){return!!u(e,117).c},w(Oy,wXn,1542),b(1543,1,re,bwn),o.Cd=function(e){vEn(u(e,117).c)},w(Oy,"LabelPlacer/lambda$2$Type",1543);var ton;b(1540,1,re,wwn),o.Cd=function(e){Kw(),Bfe(u(e,117))},w(Oy,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),b(801,1,re,LV),o.Cd=function(e){Zhe(this.b,this.c,this.a,u(e,187))},o.a=!1,o.c=!1,w(Oy,"NodeLabelCellCreator/lambda$0$Type",801),b(1539,1,re,L9n),o.Cd=function(e){Hfe(this.a,u(e,187))},w(Oy,"PortContextCreator/lambda$0$Type",1539);var bI;b(1902,1,{},gwn),w(q4,"GreedyRectangleStripOverlapRemover",1902),b(1903,1,De,pwn),o.Ne=function(e,t){return A1e(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(q4,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),b(1849,1,{},Hyn),o.a=5,o.e=0,w(q4,"RectangleStripOverlapRemover",1849),b(1850,1,De,mwn),o.Ne=function(e,t){return L1e(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(q4,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),b(1852,1,De,vwn),o.Ne=function(e,t){return y0e(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(q4,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),b(417,22,{3:1,34:1,22:1,417:1},oM);var tj,l_,a_,ij,yYn=we(q4,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,ke,Xpe,fde),jYn;b(226,1,{226:1},ZN),w(q4,"RectangleStripOverlapRemover/RectangleNode",226),b(1851,1,re,N9n),o.Cd=function(e){s7e(this.a,u(e,226))},w(q4,"RectangleStripOverlapRemover/lambda$1$Type",1851),b(1323,1,De,kwn),o.Ne=function(e,t){return POe(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),b(1326,1,{},ywn),o.Kb=function(e){return u(e,334).a},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),b(1327,1,Le,jwn),o.Mb=function(e){return u(e,332).a},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),b(1328,1,Le,Ewn),o.Mb=function(e){return u(e,332).a},w(mh,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),b(1321,1,De,Mwn),o.Ne=function(e,t){return rPe(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(mh,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),b(1324,1,{},Twn),o.Kb=function(e){return u(e,334).a},w(mh,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),b(781,1,De,KU),o.Ne=function(e,t){return Fve(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(mh,"PolyominoCompactor/MinNumOfExtensionsComparator",781),b(1319,1,De,Cwn),o.Ne=function(e,t){return V4e(u(e,330),u(t,330))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(mh,"PolyominoCompactor/MinPerimeterComparator",1319),b(1320,1,De,Swn),o.Ne=function(e,t){return L9e(u(e,330),u(t,330))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(mh,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),b(1322,1,De,Pwn),o.Ne=function(e,t){return TPe(u(e,176),u(t,176))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(mh,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),b(1325,1,{},Iwn),o.Kb=function(e){return u(e,334).a},w(mh,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),b(782,1,{},qz),o.Ve=function(e,t){return Bpe(this,u(e,42),u(t,176))},w(mh,"SuccessorCombination",782),b(649,1,{},DA),o.Ve=function(e,t){var i;return eMe((i=u(e,42),u(t,176),i))},w(mh,"SuccessorJitter",649),b(648,1,{},$A),o.Ve=function(e,t){var i;return _Ce((i=u(e,42),u(t,176),i))},w(mh,"SuccessorLineByLine",648),b(573,1,{},mE),o.Ve=function(e,t){var i;return eTe((i=u(e,42),u(t,176),i))},w(mh,"SuccessorManhattan",573),b(1344,1,{},Own),o.Ve=function(e,t){var i;return lCe((i=u(e,42),u(t,176),i))},w(mh,"SuccessorMaxNormWindingInMathPosSense",1344),b(409,1,{},Z3),o.Ve=function(e,t){return EW(this,e,t)},o.c=!1,o.d=!1,o.e=!1,o.f=!1,w(mh,"SuccessorQuadrantsGeneric",409),b(1345,1,{},Awn),o.Kb=function(e){return u(e,334).a},w(mh,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),b(332,22,{3:1,34:1,22:1,332:1},sM),o.a=!1;var rj,cj,uj,oj,EYn=we(tP,$tn,332,ke,Gpe,hde),MYn;b(1317,1,{}),o.Ib=function(){var e,t,i,r,c,s;for(i=" ",e=Y(0),c=0;c<this.o;c++)i+=""+e.a,e=Y(MSn(e.a));for(i+=`
`,e=Y(0),s=0;s<this.p;s++){for(i+=""+e.a,e=Y(MSn(e.a)),r=0;r<this.o;r++)t=M$(this,r,s),Ec(t,0)==0?i+="_":Ec(t,1)==0?i+="X":i+="0";i+=`
`}return qo(i,0,i.length-1)},o.o=0,o.p=0,w(tP,"TwoBitGrid",1317),b(330,1317,{330:1},zY),o.j=0,o.k=0,w(tP,"PlanarGrid",330),b(176,330,{330:1,176:1}),o.g=0,o.i=0,w(tP,"Polyomino",176);var pDe=Dt(Ay,pXn);b(137,1,xtn,xA),o.qf=function(e,t){return Ck(this,e,t)},o.nf=function(){return uIn(this)},o.of=function(e){return v(this,e)},o.pf=function(e){return kt(this,e)},w(Ay,"MapPropertyHolder",137),b(1318,137,xtn,hqn),w(tP,"Polyominoes",1318);var TYn=!1,P8,ion;b(1828,1,re,Lwn),o.Cd=function(e){aGn(u(e,225))},w(h3,"DepthFirstCompaction/0methodref$compactTree$Type",1828),b(825,1,re,PG),o.Cd=function(e){q0e(this.a,u(e,225))},w(h3,"DepthFirstCompaction/lambda$1$Type",825),b(1829,1,re,wPn),o.Cd=function(e){z8e(this.a,this.b,this.c,u(e,225))},w(h3,"DepthFirstCompaction/lambda$2$Type",1829);var I8,ron;b(68,1,{68:1},yAn),w(h3,"Node",68),b(1214,1,{},kCn),w(h3,"ScanlineOverlapCheck",1214),b(1215,1,{693:1},WOn),o.bf=function(e){yae(this,u(e,450))},w(h3,"ScanlineOverlapCheck/OverlapsScanlineHandler",1215),b(1216,1,De,Nwn),o.Ne=function(e,t){return I5e(u(e,68),u(t,68))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(h3,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1216),b(450,1,{450:1},Uz),o.a=!1,w(h3,"ScanlineOverlapCheck/Timestamp",450),b(1217,1,De,Dwn),o.Ne=function(e,t){return fke(u(e,450),u(t,450))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(h3,"ScanlineOverlapCheck/lambda$0$Type",1217),b(557,1,{},vE),w(mXn,"SVGImage",557),b(334,1,{334:1},AV),o.Ib=function(){return"("+this.a+ur+this.b+ur+this.c+")"},w(mXn,"UniqueTriple",334),b(205,1,yd),w(e2,"AbstractLayoutProvider",205),b(1114,205,yd,$wn),o.rf=function(e,t){var i,r,c,s;switch(t.Ug(vXn,1),this.a=$(B(z(e,(j5(),hon)))),Nf(e,b_)&&(c=Ae(z(e,b_)),i=CR(Gm(),c),i&&(r=u(z7(i.f),205),r.rf(e,t.eh(1)))),s=new _Ln(this.a),this.b=rLe(s,e),u(z(e,(Q$(),uon)),488).g){case 0:kMe(new xwn,this.b),ht(e,pI,v(this.b,pI));break;default:fl()}vLe(s),ht(e,son,this.b),t.Vg()},o.a=0,w(kXn,"DisCoLayoutProvider",1114),b(1208,1,{},xwn),o.c=!1,o.e=0,o.f=0,w(kXn,"DisCoPolyominoCompactor",1208),b(567,1,{567:1},rIn),o.b=!0,w(rP,"DCComponent",567),b(406,22,{3:1,34:1,22:1,406:1},fM),o.a=!1;var wI,sj,gI,fj,CYn=we(rP,"DCDirection",406,ke,zpe,lde),SYn;b(272,137,{3:1,272:1,96:1,137:1},bR),w(rP,"DCElement",272),b(407,1,{407:1},gZ),o.c=0,w(rP,"DCExtension",407),b(762,137,xtn,Xjn),w(rP,"DCGraph",762),b(488,22,{3:1,34:1,22:1,488:1},dSn);var d_,con=we(VK,Rtn,488,ke,nge,ade),PYn;b(865,1,ms,A5n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Ktn),yXn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),oon),(l1(),It)),con),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Btn),yXn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),$2),fn),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Ftn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),Vf),ki),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,_tn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),Vf),ki),yn(xn)))),QUn((new L5n,e))};var IYn,uon,oon,OYn,AYn;w(VK,"DisCoMetaDataProvider",865),b(1010,1,ms,L5n),o.hf=function(e){QUn(e)};var LYn,b_,NYn,son,pI,w_,fon,DYn,$Yn,xYn,RYn,hon;w(VK,"DisCoOptions",1010),b(1011,1,{},Rwn),o.sf=function(){var e;return e=new $wn,e},o.tf=function(e){},w(VK,"DisCoOptions/DiscoFactory",1011),b(568,176,{330:1,176:1,568:1},zHn),o.a=0,o.b=0,o.c=0,o.d=0,w("org.eclipse.elk.alg.disco.structures","DCPolyomino",568);var g_,p_,mI;b(1286,1,Le,Kwn),o.Mb=function(e){return vX(e)},w(t2,"ElkGraphComponentsProcessor/lambda$0$Type",1286),b(1287,1,{},Bwn),o.Kb=function(e){return Np(),Fh(u(e,74))},w(t2,"ElkGraphComponentsProcessor/lambda$1$Type",1287),b(1288,1,Le,Fwn),o.Mb=function(e){return vwe(u(e,74))},w(t2,"ElkGraphComponentsProcessor/lambda$2$Type",1288),b(1289,1,{},_wn),o.Kb=function(e){return Np(),ca(u(e,74))},w(t2,"ElkGraphComponentsProcessor/lambda$3$Type",1289),b(1290,1,Le,Hwn),o.Mb=function(e){return kwe(u(e,74))},w(t2,"ElkGraphComponentsProcessor/lambda$4$Type",1290),b(1291,1,Le,D9n),o.Mb=function(e){return d2e(this.a,u(e,74))},w(t2,"ElkGraphComponentsProcessor/lambda$5$Type",1291),b(1292,1,{},$9n),o.Kb=function(e){return N0e(this.a,u(e,74))},w(t2,"ElkGraphComponentsProcessor/lambda$6$Type",1292),b(1205,1,{},_Ln),o.a=0,w(t2,"ElkGraphTransformer",1205),b(1206,1,{},qwn),o.Yd=function(e,t){cMe(this,u(e,167),u(t,272))},w(t2,"ElkGraphTransformer/OffsetApplier",1206),b(1207,1,re,x9n),o.Cd=function(e){w1e(this,u(e,8))},w(t2,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1207),b(760,1,{},BU),w(YK,Htn,760),b(1195,1,De,Uwn),o.Ne=function(e,t){return XEe(u(e,235),u(t,235))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(YK,EXn,1195),b(1196,1,re,CMn),o.Cd=function(e){Q2e(this.b,this.a,u(e,250))},w(YK,qtn,1196),b(738,205,yd,GG),o.rf=function(e,t){VHn(this,e,t)},w(YK,"ForceLayoutProvider",738),b(309,137,{3:1,309:1,96:1,137:1}),w(Ly,"FParticle",309),b(250,309,{3:1,250:1,309:1,96:1,137:1},qIn),o.Ib=function(){var e;return this.a?(e=qr(this.a.a,this,0),e>=0?"b"+e+"["+XD(this.a)+"]":"b["+XD(this.a)+"]"):"b_"+fb(this)},w(Ly,"FBendpoint",250),b(289,137,{3:1,289:1,96:1,137:1},KSn),o.Ib=function(){return XD(this)},w(Ly,"FEdge",289),b(235,137,{3:1,235:1,96:1,137:1},zT);var mDe=w(Ly,"FGraph",235);b(453,309,{3:1,453:1,309:1,96:1,137:1},FLn),o.Ib=function(){return this.b==null||this.b.length==0?"l["+XD(this.a)+"]":"l_"+this.b},w(Ly,"FLabel",453),b(153,309,{3:1,153:1,309:1,96:1,137:1},mCn),o.Ib=function(){return hJ(this)},o.a=0,w(Ly,"FNode",153),b(2100,1,{}),o.vf=function(e){Nen(this,e)},o.wf=function(){_Bn(this)},o.d=0,w(Utn,"AbstractForceModel",2100),b(641,2100,{641:1},Kxn),o.uf=function(e,t){var i,r,c,s,f;return wGn(this.f,e,t),c=mi(Fi(t.d),e.d),f=y.Math.sqrt(c.a*c.a+c.b*c.b),r=y.Math.max(0,f-U6(e.e)/2-U6(t.e)/2),i=Q_n(this.e,e,t),i>0?s=-m0e(r,this.c)*i:s=X1e(r,this.b)*u(v(e,(Us(),k3)),17).a,ch(c,s/f),c},o.vf=function(e){Nen(this,e),this.a=u(v(e,(Us(),kI)),17).a,this.c=$(B(v(e,yI))),this.b=$(B(v(e,v_)))},o.xf=function(e){return e<this.a},o.a=0,o.b=0,o.c=0,w(Utn,"EadesModel",641),b(642,2100,{642:1},RPn),o.uf=function(e,t){var i,r,c,s,f;return wGn(this.f,e,t),c=mi(Fi(t.d),e.d),f=y.Math.sqrt(c.a*c.a+c.b*c.b),r=y.Math.max(0,f-U6(e.e)/2-U6(t.e)/2),s=V1e(r,this.a)*u(v(e,(Us(),k3)),17).a,i=Q_n(this.e,e,t),i>0&&(s-=the(r,this.a)*i),ch(c,s*this.b/f),c},o.vf=function(e){var t,i,r,c,s,f,h;for(Nen(this,e),this.b=$(B(v(e,(Us(),k_)))),this.c=this.b/u(v(e,kI),17).a,r=e.e.c.length,s=0,c=0,h=new M(e.e);h.a<h.c.c.length;)f=u(E(h),153),s+=f.e.a,c+=f.e.b;t=s*c,i=$(B(v(e,yI)))*_f,this.a=y.Math.sqrt(t/(2*r))*i},o.wf=function(){_Bn(this),this.b-=this.c},o.xf=function(e){return this.b>0},o.a=0,o.b=0,o.c=0,w(Utn,"FruchtermanReingoldModel",642),b(860,1,ms,N5n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,cP),""),"Force Model"),"Determines the model for force calculation."),lon),(l1(),It)),aon),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Gtn),""),"Iterations"),"The number of iterations on the force model."),Y(300)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ztn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Y(0)),Zr),Gi),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ZK),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),vh),Qi),si),yn(xn)))),ri(e,ZK,cP,UYn),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,nB),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Qi),si),yn(xn)))),ri(e,nB,cP,_Yn),izn((new D5n,e))};var KYn,BYn,lon,FYn,_Yn,HYn,qYn,UYn;w(Z5,"ForceMetaDataProvider",860),b(432,22,{3:1,34:1,22:1,432:1},Gz);var m_,vI,aon=we(Z5,"ForceModelStrategy",432,ke,Bge,dde),GYn;b(d1,1,ms,D5n),o.hf=function(e){izn(e)};var zYn,XYn,don,kI,bon,VYn,WYn,JYn,QYn,won,YYn,gon,pon,ZYn,k3,nZn,v_,mon,eZn,tZn,yI,k_,iZn,rZn,cZn,von,uZn;w(Z5,"ForceOptions",d1),b(1001,1,{},Vwn),o.sf=function(){var e;return e=new GG,e},o.tf=function(e){},w(Z5,"ForceOptions/ForceFactory",1001);var hj,O8,y3,jI;b(861,1,ms,$5n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Vtn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(_n(),!1)),(l1(),yi)),zt),yn((pf(),pi))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Wtn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Qi),si),yt(xn,S(C(Zh,1),G,170,0,[Ih]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Jtn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),kon),It),Son),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Qtn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),vh),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Ytn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Y(et)),Zr),Gi),yn(xn)))),AGn((new x5n,e))};var oZn,sZn,kon,fZn,hZn,lZn;w(Z5,"StressMetaDataProvider",861),b(1004,1,ms,x5n),o.hf=function(e){AGn(e)};var EI,yon,jon,Eon,Mon,Ton,aZn,dZn,bZn,wZn,Con,gZn;w(Z5,"StressOptions",1004),b(1005,1,{},zwn),o.sf=function(){var e;return e=new BSn,e},o.tf=function(e){},w(Z5,"StressOptions/StressFactory",1005),b(1110,205,yd,BSn),o.rf=function(e,t){var i,r,c,s,f;for(t.Ug(PXn,1),on(un(z(e,(qk(),Mon))))?on(un(z(e,Con)))||NT((i=new z9((Aw(),new Pw(e))),i)):VHn(new GG,e,t.eh(1)),c=sRn(e),r=FUn(this.a,c),f=r.Kc();f.Ob();)s=u(f.Pb(),235),!(s.e.c.length<=1)&&(TOe(this.b,s),JMe(this.b),nu(s.d,new Xwn));c=nzn(r),hzn(c),t.Vg()},w(sP,"StressLayoutProvider",1110),b(1111,1,re,Xwn),o.Cd=function(e){_en(u(e,453))},w(sP,"StressLayoutProvider/lambda$0$Type",1111),b(1002,1,{},Ryn),o.c=0,o.e=0,o.g=0,w(sP,"StressMajorization",1002),b(391,22,{3:1,34:1,22:1,391:1},BL);var y_,j_,E_,Son=we(sP,"StressMajorization/Dimension",391,ke,$2e,bde),pZn;b(1003,1,De,R9n),o.Ne=function(e,t){return Hae(this.a,u(e,153),u(t,153))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(sP,"StressMajorization/lambda$0$Type",1003),b(1192,1,{},GAn),w(b3,"ElkLayered",1192),b(1193,1,re,K9n),o.Cd=function(e){TEe(this.a,u(e,36))},w(b3,"ElkLayered/lambda$0$Type",1193),b(1194,1,re,B9n),o.Cd=function(e){qae(this.a,u(e,36))},w(b3,"ElkLayered/lambda$1$Type",1194),b(1281,1,{},PCn);var mZn,vZn,kZn;w(b3,"GraphConfigurator",1281),b(770,1,re,IG),o.Cd=function(e){n_n(this.a,u(e,10))},w(b3,"GraphConfigurator/lambda$0$Type",770),b(771,1,{},FU),o.Kb=function(e){return AZ(),new Cn(null,new On(u(e,30).a,16))},w(b3,"GraphConfigurator/lambda$1$Type",771),b(772,1,re,OG),o.Cd=function(e){n_n(this.a,u(e,10))},w(b3,"GraphConfigurator/lambda$2$Type",772),b(1109,205,yd,qyn),o.rf=function(e,t){var i;i=cOe(new Gyn,e),x(z(e,(cn(),K0)))===x((jl(),T1))?R5e(this.a,i,t):zMe(this.a,i,t),t.$g()||XGn(new R5n,i)},w(b3,"LayeredLayoutProvider",1109),b(367,22,{3:1,34:1,22:1,367:1},o7);var Vs,Jh,Ac,Fc,zr,Pon=we(b3,"LayeredPhases",367,ke,B3e,wde),yZn;b(1717,1,{},txn),o.i=0;var jZn;w(Ky,"ComponentsToCGraphTransformer",1717);var EZn;b(1718,1,{},Gwn),o.yf=function(e,t){return y.Math.min(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},o.zf=function(e,t){return y.Math.min(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},w(Ky,"ComponentsToCGraphTransformer/1",1718),b(86,1,{86:1}),o.i=0,o.k=!0,o.o=li;var M_=w(i8,"CNode",86);b(469,86,{469:1,86:1},WX,cZ),o.Ib=function(){return""},w(Ky,"ComponentsToCGraphTransformer/CRectNode",469),b(1688,1,{},Wwn);var T_,C_;w(Ky,"OneDimensionalComponentsCompaction",1688),b(1689,1,{},Jwn),o.Kb=function(e){return C2e(u(e,42))},o.Fb=function(e){return this===e},w(Ky,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),b(1690,1,{},Qwn),o.Kb=function(e){return B5e(u(e,42))},o.Fb=function(e){return this===e},w(Ky,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),b(1720,1,{},YIn),w(i8,"CGraph",1720),b(194,1,{194:1},vx),o.b=0,o.c=0,o.e=0,o.g=!0,o.i=li,w(i8,"CGroup",194),b(1719,1,{},Ywn),o.yf=function(e,t){return y.Math.max(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},o.zf=function(e,t){return y.Math.max(e.a!=null?$(e.a):e.c.i,t.a!=null?$(t.a):t.c.i)},w(i8,eXn,1719),b(1721,1,{},Z_n),o.d=!1;var MZn,S_=w(i8,rXn,1721);b(1722,1,{},Zwn),o.Kb=function(e){return Lz(),_n(),u(u(e,42).a,86).d.e!=0},o.Fb=function(e){return this===e},w(i8,cXn,1722),b(833,1,{},uW),o.a=!1,o.b=!1,o.c=!1,o.d=!1,w(i8,uXn,833),b(1898,1,{},bIn),w(fP,oXn,1898);var lj=Dt(Ed,Zzn);b(1899,1,{382:1},VOn),o.bf=function(e){nSe(this,u(e,475))},w(fP,sXn,1899),b(la,1,De,n0n),o.Ne=function(e,t){return fge(u(e,86),u(t,86))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(fP,fXn,la),b(475,1,{475:1},Xz),o.a=!1,w(fP,hXn,475),b(1901,1,De,e0n),o.Ne=function(e,t){return hke(u(e,475),u(t,475))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(fP,lXn,1901),b(148,1,{148:1},am,qV),o.Fb=function(e){var t;return e==null||vDe!=wo(e)?!1:(t=u(e,148),mc(this.c,t.c)&&mc(this.d,t.d))},o.Hb=function(){return Ik(S(C(ki,1),Rn,1,5,[this.c,this.d]))},o.Ib=function(){return"("+this.c+ur+this.d+(this.a?"cx":"")+this.b+")"},o.a=!0,o.c=0,o.d=0;var vDe=w(Ed,"Point",148);b(416,22,{3:1,34:1,22:1,416:1},hM);var tw,I0,d2,O0,TZn=we(Ed,"Point/Quadrant",416,ke,Vpe,gde),CZn;b(1708,1,{},_yn),o.b=null,o.c=null,o.d=null,o.e=null,o.f=null;var SZn,PZn,IZn,OZn,AZn;w(Ed,"RectilinearConvexHull",1708),b(583,1,{382:1},eS),o.bf=function(e){Kme(this,u(e,148))},o.b=0;var Ion;w(Ed,"RectilinearConvexHull/MaximalElementsEventHandler",583),b(1710,1,De,t0n),o.Ne=function(e,t){return hge(B(e),B(t))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ed,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),b(1709,1,{382:1},m$n),o.bf=function(e){wCe(this,u(e,148))},o.a=0,o.b=null,o.c=null,o.d=null,o.e=null,w(Ed,"RectilinearConvexHull/RectangleEventHandler",1709),b(1711,1,De,i0n),o.Ne=function(e,t){return mpe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ed,"RectilinearConvexHull/lambda$0$Type",1711),b(1712,1,De,u0n),o.Ne=function(e,t){return vpe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ed,"RectilinearConvexHull/lambda$1$Type",1712),b(1713,1,De,o0n),o.Ne=function(e,t){return ppe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ed,"RectilinearConvexHull/lambda$2$Type",1713),b(1714,1,De,c0n),o.Ne=function(e,t){return kpe(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ed,"RectilinearConvexHull/lambda$3$Type",1714),b(1715,1,De,s0n),o.Ne=function(e,t){return Qye(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ed,"RectilinearConvexHull/lambda$4$Type",1715),b(1716,1,{},EAn),w(Ed,"Scanline",1716),b(2104,1,{}),w(Hf,"AbstractGraphPlacer",2104),b(335,1,{335:1},hSn),o.Ff=function(e){return this.Gf(e)?(In(this.b,u(v(e,(W(),Dl)),21),e),!0):!1},o.Gf=function(e){var t,i,r,c;for(t=u(v(e,(W(),Dl)),21),c=u(ot(wt,t),21),r=c.Kc();r.Ob();)if(i=u(r.Pb(),21),!u(ot(this.b,i),15).dc())return!1;return!0};var wt;w(Hf,"ComponentGroup",335),b(779,2104,{},VG),o.Hf=function(e){var t,i;for(i=new M(this.a);i.a<i.c.c.length;)if(t=u(E(i),335),t.Ff(e))return;nn(this.a,new hSn(e))},o.Ef=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k;if(this.a.c.length=0,t.a.c.length=0,e.dc()){t.f.a=0,t.f.b=0;return}for(f=u(e.Xb(0),36),Ur(t,f),c=e.Kc();c.Ob();)r=u(c.Pb(),36),this.Hf(r);for(k=new Ni,s=$(B(v(f,(cn(),Tj)))),a=new M(this.a);a.a<a.c.c.length;)h=u(E(a),335),d=lzn(h,s),Zl(gT(h.b),k.a,k.b),k.a+=d.a,k.b+=d.b;if(t.f.a=k.a-s,t.f.b=k.b-s,on(un(v(f,sO)))&&x(v(f,$l))===x((El(),Kv))){for(m=e.Kc();m.Ob();)g=u(m.Pb(),36),S4(g,g.c.a,g.c.b);for(i=new RA,utn(i,e,s),p=e.Kc();p.Ob();)g=u(p.Pb(),36),it(ff(g.c),i.e);it(ff(t.f),i.a)}for(l=new M(this.a);l.a<l.c.c.length;)h=u(E(l),335),QJ(t,gT(h.b))},w(Hf,"ComponentGroupGraphPlacer",779),b(1312,779,{},njn),o.Hf=function(e){eKn(this,e)},o.Ef=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D;if(this.a.c.length=0,t.a.c.length=0,e.dc()){t.f.a=0,t.f.b=0;return}for(f=u(e.Xb(0),36),Ur(t,f),c=e.Kc();c.Ob();)r=u(c.Pb(),36),eKn(this,r);for(D=new Ni,A=new Ni,j=new Ni,k=new Ni,s=$(B(v(f,(cn(),Tj)))),a=new M(this.a);a.a<a.c.c.length;){if(h=u(E(a),335),hl(u(v(t,(He(),_d)),88))){for(j.a=D.a,O=new Yv(q6(aD(h.b).a).a.kc());O.b.Ob();)if(P=u(iM(O.b.Pb()),21),P.Hc((en(),Xn))){j.a=A.a;break}}else if(vg(u(v(t,_d),88))){for(j.b=D.b,O=new Yv(q6(aD(h.b).a).a.kc());O.b.Ob();)if(P=u(iM(O.b.Pb()),21),P.Hc((en(),Wn))){j.b=A.b;break}}if(d=lzn(u(h,579),s),Zl(gT(h.b),j.a,j.b),hl(u(v(t,_d),88))){for(A.a=j.a+d.a,k.a=y.Math.max(k.a,A.a),O=new Yv(q6(aD(h.b).a).a.kc());O.b.Ob();)if(P=u(iM(O.b.Pb()),21),P.Hc((en(),ae))){D.a=j.a+d.a;break}A.b=j.b+d.b,j.b=A.b,k.b=y.Math.max(k.b,j.b)}else if(vg(u(v(t,_d),88))){for(A.b=j.b+d.b,k.b=y.Math.max(k.b,A.b),O=new Yv(q6(aD(h.b).a).a.kc());O.b.Ob();)if(P=u(iM(O.b.Pb()),21),P.Hc((en(),Zn))){D.b=j.b+d.b;break}A.a=j.a+d.a,j.a=A.a,k.a=y.Math.max(k.a,j.a)}}if(t.f.a=k.a-s,t.f.b=k.b-s,on(un(v(f,sO)))&&x(v(f,$l))===x((El(),Kv))){for(m=e.Kc();m.Ob();)g=u(m.Pb(),36),S4(g,g.c.a,g.c.b);for(i=new RA,utn(i,e,s),p=e.Kc();p.Ob();)g=u(p.Pb(),36),it(ff(g.c),i.e);it(ff(t.f),i.a)}for(l=new M(this.a);l.a<l.c.c.length;)h=u(E(l),335),QJ(t,gT(h.b))},w(Hf,"ComponentGroupModelOrderGraphPlacer",1312),b(389,22,{3:1,34:1,22:1,389:1},lM);var P_,Oon,I_,A0,Aon=we(Hf,"ComponentOrderingStrategy",389,ke,qpe,pde),LZn;b(659,1,{},RA),w(Hf,"ComponentsCompactor",659),b(1533,13,Gzn,kNn),o.Fc=function(e){return P5(this,u(e,148))},w(Hf,"ComponentsCompactor/Hullpoints",1533),b(1530,1,{855:1},kBn),o.a=!1,w(Hf,"ComponentsCompactor/InternalComponent",1530),b(1529,1,qh,Byn),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new M(this.a)},w(Hf,"ComponentsCompactor/InternalConnectedComponents",1529),b(1532,1,{602:1},tHn),o.Bf=function(){return null},o.Cf=function(){return this.a},o.Af=function(){return Ex(this.d)},o.Df=function(){return this.b},w(Hf,"ComponentsCompactor/InternalExternalExtension",1532),b(1531,1,{602:1},Uyn),o.Cf=function(){return this.a},o.Af=function(){return Ex(this.d)},o.Bf=function(){return this.c},o.Df=function(){return this.b},w(Hf,"ComponentsCompactor/InternalUnionExternalExtension",1531),b(1535,1,{},Eqn),w(Hf,"ComponentsCompactor/OuterSegments",1535),b(1534,1,{},Fyn),w(Hf,"ComponentsCompactor/Segments",1534),b(1282,1,{},DNn),w(Hf,Htn,1282),b(1283,1,De,f0n),o.Ne=function(e,t){return Epe(u(e,36),u(t,36))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Hf,"ComponentsProcessor/lambda$0$Type",1283),b(579,335,{335:1,579:1},vNn),o.Ff=function(e){return uY(this,e)},o.Gf=function(e){return tqn(this,e)};var qe;w(Hf,"ModelOrderComponentGroup",579),b(1310,2104,{},h0n),o.Ef=function(e,t){var i,r,c,s,f,h,l,a,d,g,p;if(e.gc()==1){g=u(e.Xb(0),36),g!=t&&(t.a.c.length=0,sUn(t,g,0,0),Ur(t,g),XW(t.d,g.d),t.f.a=g.f.a,t.f.b=g.f.b);return}else if(e.dc()){t.a.c.length=0,t.f.a=0,t.f.b=0;return}for(this.Jf(e,t),c=u(e.Xb(0),36),t.a.c.length=0,Ur(t,c),a=0,p=0,f=e.Kc();f.Ob();)s=u(f.Pb(),36),d=s.f,a=y.Math.max(a,d.a),p+=d.a*d.b;if(a=y.Math.max(a,y.Math.sqrt(p)*$(B(v(t,(cn(),oO))))),r=$(B(v(t,Tj))),this.If(e,t,a,r),on(un(v(c,sO)))){for(i=new RA,utn(i,e,r),l=e.Kc();l.Ob();)h=u(l.Pb(),36),it(ff(h.c),i.e);it(ff(t.f),i.a)}QJ(t,e)},o.If=function(e,t,i,r){var c,s,f,h,l,a,d,g;for(d=0,g=0,h=0,c=r,f=e.Kc();f.Ob();)s=u(f.Pb(),36),a=s.f,d+a.a>i&&(d=0,g+=h+r,h=0),l=s.c,S4(s,d+l.a,g+l.b),ff(l),c=y.Math.max(c,d+a.a),h=y.Math.max(h,a.b),d+=a.a+r;t.f.a=c,t.f.b=g+h},o.Jf=function(e,t){var i,r,c,s,f;if(x(v(t,(cn(),R0)))===x((dd(),A0))){for(r=e.Kc();r.Ob();){for(i=u(r.Pb(),36),f=0,s=new M(i.a);s.a<s.c.c.length;)c=u(E(s),10),f+=u(v(c,qte),17).a;i.p=f}Ln(),e.jd(new l0n)}},w(Hf,"SimpleRowGraphPlacer",1310),b(1313,1310,{},r0n),o.If=function(e,t,i,r){var c,s,f,h,l,a,d,g,p,m;for(p=0,m=0,h=0,c=r,l=null,g=0,f=e.Kc();f.Ob();)s=u(f.Pb(),36),d=s.f,(p+d.a>i&&!u(v(s,(W(),Dl)),21).Hc((en(),Xn))||l&&u(v(l,(W(),Dl)),21).Hc((en(),Zn))||u(v(s,(W(),Dl)),21).Hc((en(),Wn)))&&(p=g,m+=h+r,h=0),a=s.c,u(v(s,(W(),Dl)),21).Hc((en(),Xn))&&(p=c+r),S4(s,p+a.a,m+a.b),c=y.Math.max(c,p+d.a),u(v(s,Dl),21).Hc(ae)&&(g=y.Math.max(g,p+d.a+r)),ff(a),h=y.Math.max(h,d.b),p+=d.a+r,l=s;t.f.a=c,t.f.b=m+h},o.Jf=function(e,t){},w(Hf,"ModelOrderRowGraphPlacer",1313),b(1311,1,De,l0n),o.Ne=function(e,t){return Rve(u(e,36),u(t,36))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Hf,"SimpleRowGraphPlacer/1",1311);var NZn;b(1280,1,ph,a0n),o.Lb=function(e){var t;return t=u(v(u(e,249).b,(cn(),Rr)),75),!!t&&t.b!=0},o.Fb=function(e){return this===e},o.Mb=function(e){var t;return t=u(v(u(e,249).b,(cn(),Rr)),75),!!t&&t.b!=0},w(hP,"CompoundGraphPostprocessor/1",1280),b(1279,1,vt,zyn),o.Kf=function(e,t){yBn(this,u(e,36),t)},w(hP,"CompoundGraphPreprocessor",1279),b(452,1,{452:1},lKn),o.c=!1,w(hP,"CompoundGraphPreprocessor/ExternalPort",452),b(249,1,{249:1},GM),o.Ib=function(){return PN(this.c)+":"+X_n(this.b)},w(hP,"CrossHierarchyEdge",249),b(777,1,De,AG),o.Ne=function(e,t){return K7e(this,u(e,249),u(t,249))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(hP,"CrossHierarchyEdgeComparator",777),b(304,137,{3:1,304:1,96:1,137:1}),o.p=0,w(Kc,"LGraphElement",304),b(18,304,{3:1,18:1,304:1,96:1,137:1},yb),o.Ib=function(){return X_n(this)};var O_=w(Kc,"LEdge",18);b(36,304,{3:1,20:1,36:1,304:1,96:1,137:1},yQ),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new M(this.b)},o.Ib=function(){return this.b.c.length==0?"G-unlayered"+ua(this.a):this.a.c.length==0?"G-layered"+ua(this.b):"G[layerless"+ua(this.a)+", layers"+ua(this.b)+"]"};var DZn=w(Kc,"LGraph",36),$Zn;b(666,1,{}),o.Lf=function(){return this.e.n},o.of=function(e){return v(this.e,e)},o.Mf=function(){return this.e.o},o.Nf=function(){return this.e.p},o.pf=function(e){return kt(this.e,e)},o.Of=function(e){this.e.n.a=e.a,this.e.n.b=e.b},o.Pf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},o.Qf=function(e){this.e.p=e},w(Kc,"LGraphAdapters/AbstractLShapeAdapter",666),b(473,1,{853:1},zv),o.Rf=function(){var e,t;if(!this.b)for(this.b=Lh(this.a.b.c.length),t=new M(this.a.b);t.a<t.c.c.length;)e=u(E(t),72),nn(this.b,new OE(e));return this.b},o.b=null,w(Kc,"LGraphAdapters/LEdgeAdapter",473),b(665,1,{},kD),o.Sf=function(){var e,t,i,r,c,s;if(!this.b){for(this.b=new Z,r=new M(this.a.b);r.a<r.c.c.length;)for(i=u(E(r),30),s=new M(i.a);s.a<s.c.c.length;)if(c=u(E(s),10),this.c.Mb(c)&&(nn(this.b,new zM(this,c,this.e)),this.d)){if(kt(c,(W(),I3)))for(t=u(v(c,I3),15).Kc();t.Ob();)e=u(t.Pb(),10),nn(this.b,new zM(this,e,!1));if(kt(c,M3))for(t=u(v(c,M3),15).Kc();t.Ob();)e=u(t.Pb(),10),nn(this.b,new zM(this,e,!1))}}return this.b},o.Lf=function(){throw T(new Fl(AXn))},o.of=function(e){return v(this.a,e)},o.Mf=function(){return this.a.f},o.Nf=function(){return this.a.p},o.pf=function(e){return kt(this.a,e)},o.Of=function(e){throw T(new Fl(AXn))},o.Pf=function(e){this.a.f.a=e.a,this.a.f.b=e.b},o.Qf=function(e){this.a.p=e},o.b=null,o.d=!1,o.e=!1,w(Kc,"LGraphAdapters/LGraphAdapter",665),b(585,666,{187:1},OE),w(Kc,"LGraphAdapters/LLabelAdapter",585),b(584,666,{695:1},zM),o.Tf=function(){return this.b},o.Uf=function(){return Ln(),Ln(),sr},o.Rf=function(){var e,t;if(!this.a)for(this.a=Lh(u(this.e,10).b.c.length),t=new M(u(this.e,10).b);t.a<t.c.c.length;)e=u(E(t),72),nn(this.a,new OE(e));return this.a},o.Vf=function(){var e;return e=u(this.e,10).d,new gV(e.d,e.c,e.a,e.b)},o.Wf=function(){return Ln(),Ln(),sr},o.Xf=function(){var e,t;if(!this.c)for(this.c=Lh(u(this.e,10).j.c.length),t=new M(u(this.e,10).j);t.a<t.c.c.length;)e=u(E(t),12),nn(this.c,new $Mn(e,this.d));return this.c},o.Yf=function(){return on(un(v(u(this.e,10),(W(),Qsn))))},o.Zf=function(e){u(this.e,10).d.b=e.b,u(this.e,10).d.d=e.d,u(this.e,10).d.c=e.c,u(this.e,10).d.a=e.a},o.$f=function(e){u(this.e,10).f.b=e.b,u(this.e,10).f.d=e.d,u(this.e,10).f.c=e.c,u(this.e,10).f.a=e.a},o._f=function(){D4e(this,(r6(),$Zn))},o.a=null,o.b=null,o.c=null,o.d=!1,w(Kc,"LGraphAdapters/LNodeAdapter",584),b(1788,666,{852:1},$Mn),o.Uf=function(){var e,t,i,r,c,s,f,h;if(this.d&&u(this.e,12).i.k==(Vn(),_c))return Ln(),Ln(),sr;if(!this.a){for(this.a=new Z,i=new M(u(this.e,12).e);i.a<i.c.c.length;)e=u(E(i),18),nn(this.a,new zv(e));if(this.d&&(r=u(v(u(this.e,12),(W(),Xu)),10),r))for(t=new ie(ce(ji(r).a.Kc(),new En));pe(t);)e=u(fe(t),18),nn(this.a,new zv(e));if(kt(u(this.e,12).i,(W(),sw))&&(f=u(v(u(this.e,12).i,sw),337),h=u(Df(f.e,this.e),113),h))for(s=new M(h.b);s.a<s.c.c.length;)c=u(E(s),340),nn(this.a,new zv(c.a))}return this.a},o.Rf=function(){var e,t;if(!this.b)for(this.b=Lh(u(this.e,12).f.c.length),t=new M(u(this.e,12).f);t.a<t.c.c.length;)e=u(E(t),72),nn(this.b,new OE(e));return this.b},o.Wf=function(){var e,t,i,r,c,s,f,h;if(this.d&&u(this.e,12).i.k==(Vn(),_c))return Ln(),Ln(),sr;if(!this.c){for(this.c=new Z,i=new M(u(this.e,12).g);i.a<i.c.c.length;)e=u(E(i),18),nn(this.c,new zv(e));if(this.d&&(r=u(v(u(this.e,12),(W(),Xu)),10),r))for(t=new ie(ce(Qt(r).a.Kc(),new En));pe(t);)e=u(fe(t),18),nn(this.c,new zv(e));if(kt(u(this.e,12).i,(W(),sw))&&(f=u(v(u(this.e,12).i,sw),337),h=u(Df(f.e,this.e),113),h))for(s=new M(h.e);s.a<s.c.c.length;)c=u(E(s),340),nn(this.c,new zv(c.a))}return this.c},o.ag=function(){return u(this.e,12).j},o.bg=function(){return on(un(v(u(this.e,12),(W(),kj))))},o.a=null,o.b=null,o.c=null,o.d=!1,w(Kc,"LGraphAdapters/LPortAdapter",1788),b(1789,1,De,d0n),o.Ne=function(e,t){return ISe(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Kc,"LGraphAdapters/PortComparator",1789),b(818,1,Le,_U),o.Mb=function(e){return u(e,10),r6(),!0},w(Kc,"LGraphAdapters/lambda$0$Type",818),b(404,304,{3:1,304:1,404:1,96:1,137:1}),w(Kc,"LShape",404),b(72,404,{3:1,304:1,72:1,404:1,96:1,137:1},Qjn,OX),o.Ib=function(){var e;return e=mwe(this),e==null?"label":"l_"+e},w(Kc,"LLabel",72),b(214,1,{3:1,4:1,214:1,423:1}),o.Fb=function(e){var t;return L(e,214)?(t=u(e,214),this.d==t.d&&this.a==t.a&&this.b==t.b&&this.c==t.c):!1},o.Hb=function(){var e,t;return e=pp(this.b)<<16,e|=pp(this.a)&ui,t=pp(this.c)<<16,t|=pp(this.d)&ui,e^t},o.cg=function(e){var t,i,r,c,s,f,h,l,a,d,g;for(s=0;s<e.length&&HRn((zn(s,e.length),e.charCodeAt(s)),NXn);)++s;for(t=e.length;t>0&&HRn((zn(t-1,e.length),e.charCodeAt(t-1)),DXn);)--t;if(s<t){d=w0((Ri(s,t,e.length),e.substr(s,t-s)),",|;");try{for(h=d,l=0,a=h.length;l<a;++l){if(f=h[l],c=w0(f,"="),c.length!=2)throw T(new Gn("Expecting a list of key-value pairs."));r=f0(c[0]),g=s0(f0(c[1])),Sn(r,"top")?this.d=g:Sn(r,"left")?this.b=g:Sn(r,"bottom")?this.a=g:Sn(r,"right")&&(this.c=g)}}catch(p){throw p=Ot(p),L(p,130)?(i=p,T(new Gn($Xn+i))):T(p)}}},o.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},o.a=0,o.b=0,o.c=0,o.d=0,w(By,"Spacing",214),b(140,214,xXn,Wv,eCn,gV,qN);var Lon=w(By,"ElkMargin",140);b(660,140,xXn,sL),w(Kc,"LMargin",660),b(10,404,{3:1,304:1,10:1,404:1,96:1,137:1},Cl),o.Ib=function(){return bBn(this)},o.i=!1;var Qh=w(Kc,"LNode",10);b(273,22,{3:1,34:1,22:1,273:1},a6);var Gf,Zt,Sc,Ti,Xt,_c,A_=we(Kc,"LNode/NodeType",273,ke,Mme,jbe),xZn;b(775,1,Le,HU),o.Mb=function(e){return on(un(v(u(e,72),(cn(),jH))))},w(Kc,"LNode/lambda$0$Type",775),b(107,214,RXn,up,ob,FV);var Non=w(By,"ElkPadding",107);b(778,107,RXn,YG),w(Kc,"LPadding",778),b(12,404,{3:1,304:1,12:1,404:1,96:1,137:1},Ic),o.Ib=function(){var e,t,i;return e=new R1,Be((e.a+="p_",e),lS(this)),this.i&&Be(Lc((e.a+="[",e),this.i),"]"),this.e.c.length==1&&this.g.c.length==0&&u(sn(this.e,0),18).c!=this&&(t=u(sn(this.e,0),18).c,Be((e.a+=" << ",e),lS(t)),Be(Lc((e.a+="[",e),t.i),"]")),this.e.c.length==0&&this.g.c.length==1&&u(sn(this.g,0),18).d!=this&&(i=u(sn(this.g,0),18).d,Be((e.a+=" >> ",e),lS(i)),Be(Lc((e.a+="[",e),i.i),"]")),e.a},o.c=!0,o.d=!1;var Don,$on,xon,Ron,Kon,Bon,RZn=w(Kc,"LPort",12);b(408,1,qh,nm),o.Jc=function(e){qi(this,e)},o.Kc=function(){var e;return e=new M(this.a.e),new F9n(e)},w(Kc,"LPort/1",408),b(1309,1,Pi,F9n),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(E(this.a),18).c},o.Ob=function(){return tc(this.a)},o.Qb=function(){_6(this.a)},w(Kc,"LPort/1/1",1309),b(369,1,qh,ip),o.Jc=function(e){qi(this,e)},o.Kc=function(){var e;return e=new M(this.a.g),new LG(e)},w(Kc,"LPort/2",369),b(776,1,Pi,LG),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(E(this.a),18).d},o.Ob=function(){return tc(this.a)},o.Qb=function(){_6(this.a)},w(Kc,"LPort/2/1",776),b(1302,1,qh,IMn),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new Lf(this)},w(Kc,"LPort/CombineIter",1302),b(208,1,Pi,Lf),o.Nb=function(e){_i(this,e)},o.Qb=function(){oEn()},o.Ob=function(){return O6(this)},o.Pb=function(){return tc(this.a)?E(this.a):E(this.b)},w(Kc,"LPort/CombineIter/1",208),b(1303,1,ph,b0n),o.Lb=function(e){return PIn(e)},o.Fb=function(e){return this===e},o.Mb=function(e){return Au(),u(e,12).g.c.length!=0},w(Kc,"LPort/lambda$0$Type",1303),b(1304,1,ph,w0n),o.Lb=function(e){return IIn(e)},o.Fb=function(e){return this===e},o.Mb=function(e){return Au(),u(e,12).e.c.length!=0},w(Kc,"LPort/lambda$1$Type",1304),b(1305,1,ph,g0n),o.Lb=function(e){return Au(),u(e,12).j==(en(),Xn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Au(),u(e,12).j==(en(),Xn)},w(Kc,"LPort/lambda$2$Type",1305),b(1306,1,ph,p0n),o.Lb=function(e){return Au(),u(e,12).j==(en(),Zn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Au(),u(e,12).j==(en(),Zn)},w(Kc,"LPort/lambda$3$Type",1306),b(1307,1,ph,m0n),o.Lb=function(e){return Au(),u(e,12).j==(en(),ae)},o.Fb=function(e){return this===e},o.Mb=function(e){return Au(),u(e,12).j==(en(),ae)},w(Kc,"LPort/lambda$4$Type",1307),b(1308,1,ph,v0n),o.Lb=function(e){return Au(),u(e,12).j==(en(),Wn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Au(),u(e,12).j==(en(),Wn)},w(Kc,"LPort/lambda$5$Type",1308),b(30,304,{3:1,20:1,304:1,30:1,96:1,137:1},Nc),o.Jc=function(e){qi(this,e)},o.Kc=function(){return new M(this.a)},o.Ib=function(){return"L_"+qr(this.b.b,this,0)+ua(this.a)},w(Kc,"Layer",30),b(1330,1,{},Gyn),w(w1,KXn,1330),b(1334,1,{},k0n),o.Kb=function(e){return Gr(u(e,84))},w(w1,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),b(1337,1,{},y0n),o.Kb=function(e){return Gr(u(e,84))},w(w1,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),b(1331,1,re,_9n),o.Cd=function(e){hHn(this.a,u(e,123))},w(w1,qtn,1331),b(1332,1,re,H9n),o.Cd=function(e){hHn(this.a,u(e,123))},w(w1,BXn,1332),b(1333,1,{},j0n),o.Kb=function(e){return new Cn(null,new On(HW(u(e,74)),16))},w(w1,FXn,1333),b(1335,1,Le,q9n),o.Mb=function(e){return _le(this.a,u(e,27))},w(w1,_Xn,1335),b(1336,1,{},E0n),o.Kb=function(e){return new Cn(null,new On(rge(u(e,74)),16))},w(w1,"ElkGraphImporter/lambda$5$Type",1336),b(1338,1,Le,U9n),o.Mb=function(e){return Hle(this.a,u(e,27))},w(w1,"ElkGraphImporter/lambda$7$Type",1338),b(1339,1,Le,M0n),o.Mb=function(e){return mge(u(e,74))},w(w1,"ElkGraphImporter/lambda$8$Type",1339),b(1297,1,{},R5n);var KZn;w(w1,"ElkGraphLayoutTransferrer",1297),b(1298,1,Le,G9n),o.Mb=function(e){return Oae(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),b(1299,1,re,z9n),o.Cd=function(e){c7(),nn(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),b(1300,1,Le,X9n),o.Mb=function(e){return wae(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),b(1301,1,re,V9n),o.Cd=function(e){c7(),nn(this.a,u(e,18))},w(w1,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),b(819,1,{},mV),w(Qn,"BiLinkedHashMultiMap",819),b(1550,1,vt,T0n),o.Kf=function(e,t){ive(u(e,36),t)},w(Qn,"CommentNodeMarginCalculator",1550),b(1551,1,{},C0n),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"CommentNodeMarginCalculator/lambda$0$Type",1551),b(1552,1,re,S0n),o.Cd=function(e){iOe(u(e,10))},w(Qn,"CommentNodeMarginCalculator/lambda$1$Type",1552),b(1553,1,vt,P0n),o.Kf=function(e,t){oSe(u(e,36),t)},w(Qn,"CommentPostprocessor",1553),b(1554,1,vt,I0n),o.Kf=function(e,t){ILe(u(e,36),t)},w(Qn,"CommentPreprocessor",1554),b(1555,1,vt,O0n),o.Kf=function(e,t){MCe(u(e,36),t)},w(Qn,"ConstraintsPostprocessor",1555),b(1556,1,vt,A0n),o.Kf=function(e,t){Ave(u(e,36),t)},w(Qn,"EdgeAndLayerConstraintEdgeReverser",1556),b(1557,1,vt,L0n),o.Kf=function(e,t){y8e(u(e,36),t)},w(Qn,"EndLabelPostprocessor",1557),b(1558,1,{},N0n),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"EndLabelPostprocessor/lambda$0$Type",1558),b(1559,1,Le,D0n),o.Mb=function(e){return x3e(u(e,10))},w(Qn,"EndLabelPostprocessor/lambda$1$Type",1559),b(1560,1,re,$0n),o.Cd=function(e){lke(u(e,10))},w(Qn,"EndLabelPostprocessor/lambda$2$Type",1560),b(1561,1,vt,x0n),o.Kf=function(e,t){Zje(u(e,36),t)},w(Qn,"EndLabelPreprocessor",1561),b(1562,1,{},R0n),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"EndLabelPreprocessor/lambda$0$Type",1562),b(1563,1,re,gPn),o.Cd=function(e){nle(this.a,this.b,this.c,u(e,10))},o.a=0,o.b=0,o.c=!1,w(Qn,"EndLabelPreprocessor/lambda$1$Type",1563),b(1564,1,Le,K0n),o.Mb=function(e){return x(v(u(e,72),(cn(),Sh)))===x(($f(),Rv))},w(Qn,"EndLabelPreprocessor/lambda$2$Type",1564),b(1565,1,re,W9n),o.Cd=function(e){Re(this.a,u(e,72))},w(Qn,"EndLabelPreprocessor/lambda$3$Type",1565),b(1566,1,Le,B0n),o.Mb=function(e){return x(v(u(e,72),(cn(),Sh)))===x(($f(),J0))},w(Qn,"EndLabelPreprocessor/lambda$4$Type",1566),b(1567,1,re,J9n),o.Cd=function(e){Re(this.a,u(e,72))},w(Qn,"EndLabelPreprocessor/lambda$5$Type",1567),b(1615,1,vt,I5n),o.Kf=function(e,t){k5e(u(e,36),t)};var BZn;w(Qn,"EndLabelSorter",1615),b(1616,1,De,F0n),o.Ne=function(e,t){return Z8e(u(e,465),u(t,465))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"EndLabelSorter/1",1616),b(465,1,{465:1},HOn),w(Qn,"EndLabelSorter/LabelGroup",465),b(1617,1,{},_0n),o.Kb=function(e){return r7(),new Cn(null,new On(u(e,30).a,16))},w(Qn,"EndLabelSorter/lambda$0$Type",1617),b(1618,1,Le,H0n),o.Mb=function(e){return r7(),u(e,10).k==(Vn(),Xt)},w(Qn,"EndLabelSorter/lambda$1$Type",1618),b(1619,1,re,q0n),o.Cd=function(e){dje(u(e,10))},w(Qn,"EndLabelSorter/lambda$2$Type",1619),b(1620,1,Le,U0n),o.Mb=function(e){return r7(),x(v(u(e,72),(cn(),Sh)))===x(($f(),J0))},w(Qn,"EndLabelSorter/lambda$3$Type",1620),b(1621,1,Le,G0n),o.Mb=function(e){return r7(),x(v(u(e,72),(cn(),Sh)))===x(($f(),Rv))},w(Qn,"EndLabelSorter/lambda$4$Type",1621),b(1568,1,vt,z0n),o.Kf=function(e,t){mOe(this,u(e,36))},o.b=0,o.c=0,w(Qn,"FinalSplineBendpointsCalculator",1568),b(1569,1,{},X0n),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),b(1570,1,{},V0n),o.Kb=function(e){return new Cn(null,new wb(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(Qn,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),b(1571,1,Le,W0n),o.Mb=function(e){return!fr(u(e,18))},w(Qn,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),b(1572,1,Le,J0n),o.Mb=function(e){return kt(u(e,18),(W(),Ld))},w(Qn,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),b(1573,1,re,Q9n),o.Cd=function(e){SPe(this.a,u(e,131))},w(Qn,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),b(1574,1,re,Q0n),o.Cd=function(e){Qk(u(e,18).a)},w(Qn,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),b(803,1,vt,NG),o.Kf=function(e,t){lAe(this,u(e,36),t)},w(Qn,"GraphTransformer",803),b(517,22,{3:1,34:1,22:1,517:1},zz);var L_,aj,FZn=we(Qn,"GraphTransformer/Mode",517,ke,Fge,ybe),_Zn;b(1575,1,vt,Y0n),o.Kf=function(e,t){NTe(u(e,36),t)},w(Qn,"HierarchicalNodeResizingProcessor",1575),b(1576,1,vt,Z0n),o.Kf=function(e,t){Y4e(u(e,36),t)},w(Qn,"HierarchicalPortConstraintProcessor",1576),b(1577,1,De,ngn),o.Ne=function(e,t){return k9e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"HierarchicalPortConstraintProcessor/NodeComparator",1577),b(1578,1,vt,egn),o.Kf=function(e,t){yIe(u(e,36),t)},w(Qn,"HierarchicalPortDummySizeProcessor",1578),b(1579,1,vt,tgn),o.Kf=function(e,t){ASe(this,u(e,36),t)},o.a=0,w(Qn,"HierarchicalPortOrthogonalEdgeRouter",1579),b(1580,1,De,ign),o.Ne=function(e,t){return N1e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"HierarchicalPortOrthogonalEdgeRouter/1",1580),b(1581,1,De,rgn),o.Ne=function(e,t){return Bme(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"HierarchicalPortOrthogonalEdgeRouter/2",1581),b(1582,1,vt,cgn),o.Kf=function(e,t){Vye(u(e,36),t)},w(Qn,"HierarchicalPortPositionProcessor",1582),b(1583,1,vt,K5n),o.Kf=function(e,t){hNe(this,u(e,36))},o.a=0,o.c=0;var MI,TI;w(Qn,"HighDegreeNodeLayeringProcessor",1583),b(580,1,{580:1},ugn),o.b=-1,o.d=-1,w(Qn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),b(1584,1,{},ogn),o.Kb=function(e){return N7(),ji(u(e,10))},o.Fb=function(e){return this===e},w(Qn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),b(1585,1,{},sgn),o.Kb=function(e){return N7(),Qt(u(e,10))},o.Fb=function(e){return this===e},w(Qn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),b(1591,1,vt,fgn),o.Kf=function(e,t){dIe(this,u(e,36),t)},w(Qn,"HyperedgeDummyMerger",1591),b(804,1,{},NV),o.a=!1,o.b=!1,o.c=!1,w(Qn,"HyperedgeDummyMerger/MergeState",804),b(1592,1,{},hgn),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"HyperedgeDummyMerger/lambda$0$Type",1592),b(1593,1,{},lgn),o.Kb=function(e){return new Cn(null,new On(u(e,10).j,16))},w(Qn,"HyperedgeDummyMerger/lambda$1$Type",1593),b(1594,1,re,agn),o.Cd=function(e){u(e,12).p=-1},w(Qn,"HyperedgeDummyMerger/lambda$2$Type",1594),b(1595,1,vt,dgn),o.Kf=function(e,t){lIe(u(e,36),t)},w(Qn,"HypernodesProcessor",1595),b(1596,1,vt,bgn),o.Kf=function(e,t){kIe(u(e,36),t)},w(Qn,"InLayerConstraintProcessor",1596),b(1597,1,vt,wgn),o.Kf=function(e,t){dve(u(e,36),t)},w(Qn,"InnermostNodeMarginCalculator",1597),b(1598,1,vt,ggn),o.Kf=function(e,t){TLe(this,u(e,36))},o.a=li,o.b=li,o.c=Pt,o.d=Pt;var kDe=w(Qn,"InteractiveExternalPortPositioner",1598);b(1599,1,{},pgn),o.Kb=function(e){return u(e,18).d.i},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$0$Type",1599),b(1600,1,{},Y9n),o.Kb=function(e){return D1e(this.a,B(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$1$Type",1600),b(1601,1,{},mgn),o.Kb=function(e){return u(e,18).c.i},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$2$Type",1601),b(1602,1,{},Z9n),o.Kb=function(e){return $1e(this.a,B(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$3$Type",1602),b(1603,1,{},n7n),o.Kb=function(e){return Lae(this.a,B(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$4$Type",1603),b(1604,1,{},e7n),o.Kb=function(e){return Nae(this.a,B(e))},o.Fb=function(e){return this===e},w(Qn,"InteractiveExternalPortPositioner/lambda$5$Type",1604),b(81,22,{3:1,34:1,22:1,81:1,196:1},ei),o.dg=function(){switch(this.g){case 15:return new $pn;case 22:return new xpn;case 47:return new Bpn;case 28:case 35:return new Ign;case 32:return new T0n;case 42:return new P0n;case 1:return new I0n;case 41:return new O0n;case 56:return new NG((Xm(),aj));case 0:return new NG((Xm(),L_));case 2:return new A0n;case 54:return new L0n;case 33:return new x0n;case 51:return new z0n;case 55:return new Y0n;case 13:return new Z0n;case 38:return new egn;case 44:return new tgn;case 40:return new cgn;case 9:return new K5n;case 49:return new eSn;case 37:return new fgn;case 43:return new dgn;case 27:return new bgn;case 30:return new wgn;case 3:return new ggn;case 18:return new kgn;case 29:return new ygn;case 5:return new B5n;case 50:return new vgn;case 34:return new F5n;case 36:return new Ogn;case 52:return new I5n;case 11:return new Agn;case 7:return new _5n;case 39:return new Lgn;case 45:return new Ngn;case 16:return new Dgn;case 10:return new XMn;case 48:return new Kgn;case 21:return new Bgn;case 23:return new gL((Ib(),Q8));case 8:return new _gn;case 12:return new qgn;case 4:return new Ugn;case 19:return new X5n;case 17:return new n2n;case 53:return new e2n;case 6:return new d2n;case 25:return new Vyn;case 46:return new u2n;case 31:return new qSn;case 14:return new y2n;case 26:return new Hpn;case 20:return new C2n;case 24:return new gL((Ib(),IO));default:throw T(new Gn(cB+(this.f!=null?this.f:""+this.g)))}};var Fon,_on,Hon,qon,Uon,Gon,zon,Xon,Von,Won,b2,CI,SI,Jon,Qon,Yon,Zon,nsn,esn,tsn,A8,isn,rsn,csn,usn,osn,N_,PI,II,ssn,OI,AI,LI,fv,L0,N0,fsn,NI,DI,hsn,$I,xI,lsn,asn,dsn,bsn,RI,D_,dj,KI,BI,FI,_I,wsn,gsn,psn,msn,yDe=we(Qn,uB,81,ke,iqn,kde),HZn;b(1605,1,vt,kgn),o.Kf=function(e,t){ELe(u(e,36),t)},w(Qn,"InvertedPortProcessor",1605),b(1606,1,vt,ygn),o.Kf=function(e,t){vPe(u(e,36),t)},w(Qn,"LabelAndNodeSizeProcessor",1606),b(1607,1,Le,jgn),o.Mb=function(e){return u(e,10).k==(Vn(),Xt)},w(Qn,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),b(1608,1,Le,Egn),o.Mb=function(e){return u(e,10).k==(Vn(),Zt)},w(Qn,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),b(1609,1,re,pPn),o.Cd=function(e){ele(this.b,this.a,this.c,u(e,10))},o.a=!1,o.c=!1,w(Qn,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),b(1610,1,vt,B5n),o.Kf=function(e,t){WAe(u(e,36),t)};var qZn;w(Qn,"LabelDummyInserter",1610),b(1611,1,ph,Mgn),o.Lb=function(e){return x(v(u(e,72),(cn(),Sh)))===x(($f(),xv))},o.Fb=function(e){return this===e},o.Mb=function(e){return x(v(u(e,72),(cn(),Sh)))===x(($f(),xv))},w(Qn,"LabelDummyInserter/1",1611),b(1612,1,vt,vgn),o.Kf=function(e,t){RAe(u(e,36),t)},w(Qn,"LabelDummyRemover",1612),b(1613,1,Le,Tgn),o.Mb=function(e){return on(un(v(u(e,72),(cn(),jH))))},w(Qn,"LabelDummyRemover/lambda$0$Type",1613),b(1378,1,vt,F5n),o.Kf=function(e,t){IAe(this,u(e,36),t)},o.a=null;var $_;w(Qn,"LabelDummySwitcher",1378),b(292,1,{292:1},tUn),o.c=0,o.d=null,o.f=0,w(Qn,"LabelDummySwitcher/LabelDummyInfo",292),b(1379,1,{},Cgn),o.Kb=function(e){return Hp(),new Cn(null,new On(u(e,30).a,16))},w(Qn,"LabelDummySwitcher/lambda$0$Type",1379),b(1380,1,Le,Sgn),o.Mb=function(e){return Hp(),u(e,10).k==(Vn(),Sc)},w(Qn,"LabelDummySwitcher/lambda$1$Type",1380),b(1381,1,{},t7n),o.Kb=function(e){return gae(this.a,u(e,10))},w(Qn,"LabelDummySwitcher/lambda$2$Type",1381),b(1382,1,re,i7n),o.Cd=function(e){x0e(this.a,u(e,292))},w(Qn,"LabelDummySwitcher/lambda$3$Type",1382),b(1383,1,De,Pgn),o.Ne=function(e,t){return u0e(u(e,292),u(t,292))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"LabelDummySwitcher/lambda$4$Type",1383),b(802,1,vt,Ign),o.Kf=function(e,t){mme(u(e,36),t)},w(Qn,"LabelManagementProcessor",802),b(1614,1,vt,Ogn),o.Kf=function(e,t){WCe(u(e,36),t)},w(Qn,"LabelSideSelector",1614),b(1622,1,vt,Agn),o.Kf=function(e,t){xIe(u(e,36),t)},w(Qn,"LayerConstraintPostprocessor",1622),b(1623,1,vt,_5n),o.Kf=function(e,t){AMe(u(e,36),t)};var vsn;w(Qn,"LayerConstraintPreprocessor",1623),b(371,22,{3:1,34:1,22:1,371:1},aM);var bj,HI,qI,x_,UZn=we(Qn,"LayerConstraintPreprocessor/HiddenNodeConnections",371,ke,Jpe,yde),GZn;b(1624,1,vt,Lgn),o.Kf=function(e,t){ZOe(u(e,36),t)},w(Qn,"LayerSizeAndGraphHeightCalculator",1624),b(1625,1,vt,Ngn),o.Kf=function(e,t){DTe(u(e,36),t)},w(Qn,"LongEdgeJoiner",1625),b(1626,1,vt,Dgn),o.Kf=function(e,t){IOe(u(e,36),t)},w(Qn,"LongEdgeSplitter",1626),b(1627,1,vt,XMn),o.Kf=function(e,t){hLe(this,u(e,36),t)},o.e=0,o.f=0,o.j=0,o.k=0,o.n=0,o.o=0;var zZn,XZn;w(Qn,"NodePromotion",1627),b(1628,1,De,$gn),o.Ne=function(e,t){return E6e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"NodePromotion/1",1628),b(1629,1,De,xgn),o.Ne=function(e,t){return M6e(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"NodePromotion/2",1629),b(1630,1,{},Rgn),o.Kb=function(e){return u(e,42),XM(),_n(),!0},o.Fb=function(e){return this===e},w(Qn,"NodePromotion/lambda$0$Type",1630),b(1631,1,{},o7n),o.Kb=function(e){return v2e(this.a,u(e,42))},o.Fb=function(e){return this===e},o.a=0,w(Qn,"NodePromotion/lambda$1$Type",1631),b(1632,1,{},s7n),o.Kb=function(e){return m2e(this.a,u(e,42))},o.Fb=function(e){return this===e},o.a=0,w(Qn,"NodePromotion/lambda$2$Type",1632),b(1633,1,vt,Kgn),o.Kf=function(e,t){rNe(u(e,36),t)},w(Qn,"NorthSouthPortPostprocessor",1633),b(1634,1,vt,Bgn),o.Kf=function(e,t){KLe(u(e,36),t)},w(Qn,"NorthSouthPortPreprocessor",1634),b(1635,1,De,Fgn),o.Ne=function(e,t){return Kve(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"NorthSouthPortPreprocessor/lambda$0$Type",1635),b(1636,1,vt,_gn),o.Kf=function(e,t){nIe(u(e,36),t)},w(Qn,"PartitionMidprocessor",1636),b(1637,1,Le,Hgn),o.Mb=function(e){return kt(u(e,10),(cn(),Ev))},w(Qn,"PartitionMidprocessor/lambda$0$Type",1637),b(1638,1,re,f7n),o.Cd=function(e){vge(this.a,u(e,10))},w(Qn,"PartitionMidprocessor/lambda$1$Type",1638),b(1639,1,vt,qgn),o.Kf=function(e,t){eCe(u(e,36),t)},w(Qn,"PartitionPostprocessor",1639),b(1640,1,vt,Ugn),o.Kf=function(e,t){wMe(u(e,36),t)},w(Qn,"PartitionPreprocessor",1640),b(1641,1,Le,Ggn),o.Mb=function(e){return kt(u(e,10),(cn(),Ev))},w(Qn,"PartitionPreprocessor/lambda$0$Type",1641),b(1642,1,{},zgn),o.Kb=function(e){return new Cn(null,new wb(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(Qn,"PartitionPreprocessor/lambda$1$Type",1642),b(1643,1,Le,Xgn),o.Mb=function(e){return c9e(u(e,18))},w(Qn,"PartitionPreprocessor/lambda$2$Type",1643),b(1644,1,re,Vgn),o.Cd=function(e){e6e(u(e,18))},w(Qn,"PartitionPreprocessor/lambda$3$Type",1644),b(1645,1,vt,X5n),o.Kf=function(e,t){DPe(u(e,36),t)};var ksn,VZn,WZn,JZn,ysn,jsn;w(Qn,"PortListSorter",1645),b(1648,1,De,Wgn),o.Ne=function(e,t){return zLn(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"PortListSorter/lambda$0$Type",1648),b(1650,1,De,Jgn),o.Ne=function(e,t){return CUn(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"PortListSorter/lambda$1$Type",1650),b(1646,1,{},Qgn),o.Kb=function(e){return r4(),u(e,12).e},w(Qn,"PortListSorter/lambda$2$Type",1646),b(1647,1,{},Ygn),o.Kb=function(e){return r4(),u(e,12).g},w(Qn,"PortListSorter/lambda$3$Type",1647),b(1649,1,De,Zgn),o.Ne=function(e,t){return I7e(u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"PortListSorter/lambda$4$Type",1649),b(1651,1,vt,n2n),o.Kf=function(e,t){UMe(u(e,36),t)},w(Qn,"PortSideProcessor",1651),b(1652,1,vt,e2n),o.Kf=function(e,t){GSe(u(e,36),t)},w(Qn,"ReversedEdgeRestorer",1652),b(1657,1,vt,Vyn),o.Kf=function(e,t){l7e(this,u(e,36),t)},w(Qn,"SelfLoopPortRestorer",1657),b(1658,1,{},t2n),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"SelfLoopPortRestorer/lambda$0$Type",1658),b(1659,1,Le,i2n),o.Mb=function(e){return u(e,10).k==(Vn(),Xt)},w(Qn,"SelfLoopPortRestorer/lambda$1$Type",1659),b(1660,1,Le,r2n),o.Mb=function(e){return kt(u(e,10),(W(),sw))},w(Qn,"SelfLoopPortRestorer/lambda$2$Type",1660),b(1661,1,{},c2n),o.Kb=function(e){return u(v(u(e,10),(W(),sw)),337)},w(Qn,"SelfLoopPortRestorer/lambda$3$Type",1661),b(1662,1,re,c7n),o.Cd=function(e){Cje(this.a,u(e,337))},w(Qn,"SelfLoopPortRestorer/lambda$4$Type",1662),b(805,1,re,qU),o.Cd=function(e){Bje(u(e,105))},w(Qn,"SelfLoopPortRestorer/lambda$5$Type",805),b(1663,1,vt,u2n),o.Kf=function(e,t){p9e(u(e,36),t)},w(Qn,"SelfLoopPostProcessor",1663),b(1664,1,{},o2n),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"SelfLoopPostProcessor/lambda$0$Type",1664),b(1665,1,Le,s2n),o.Mb=function(e){return u(e,10).k==(Vn(),Xt)},w(Qn,"SelfLoopPostProcessor/lambda$1$Type",1665),b(1666,1,Le,f2n),o.Mb=function(e){return kt(u(e,10),(W(),sw))},w(Qn,"SelfLoopPostProcessor/lambda$2$Type",1666),b(1667,1,re,h2n),o.Cd=function(e){Pke(u(e,10))},w(Qn,"SelfLoopPostProcessor/lambda$3$Type",1667),b(1668,1,{},l2n),o.Kb=function(e){return new Cn(null,new On(u(e,105).f,1))},w(Qn,"SelfLoopPostProcessor/lambda$4$Type",1668),b(1669,1,re,r7n),o.Cd=function(e){n3e(this.a,u(e,340))},w(Qn,"SelfLoopPostProcessor/lambda$5$Type",1669),b(1670,1,Le,a2n),o.Mb=function(e){return!!u(e,105).i},w(Qn,"SelfLoopPostProcessor/lambda$6$Type",1670),b(1671,1,re,u7n),o.Cd=function(e){nhe(this.a,u(e,105))},w(Qn,"SelfLoopPostProcessor/lambda$7$Type",1671),b(1653,1,vt,d2n),o.Kf=function(e,t){vTe(u(e,36),t)},w(Qn,"SelfLoopPreProcessor",1653),b(1654,1,{},b2n),o.Kb=function(e){return new Cn(null,new On(u(e,105).f,1))},w(Qn,"SelfLoopPreProcessor/lambda$0$Type",1654),b(1655,1,{},w2n),o.Kb=function(e){return u(e,340).a},w(Qn,"SelfLoopPreProcessor/lambda$1$Type",1655),b(1656,1,re,g2n),o.Cd=function(e){i1e(u(e,18))},w(Qn,"SelfLoopPreProcessor/lambda$2$Type",1656),b(1672,1,vt,qSn),o.Kf=function(e,t){oje(this,u(e,36),t)},w(Qn,"SelfLoopRouter",1672),b(1673,1,{},p2n),o.Kb=function(e){return new Cn(null,new On(u(e,30).a,16))},w(Qn,"SelfLoopRouter/lambda$0$Type",1673),b(1674,1,Le,m2n),o.Mb=function(e){return u(e,10).k==(Vn(),Xt)},w(Qn,"SelfLoopRouter/lambda$1$Type",1674),b(1675,1,Le,v2n),o.Mb=function(e){return kt(u(e,10),(W(),sw))},w(Qn,"SelfLoopRouter/lambda$2$Type",1675),b(1676,1,{},k2n),o.Kb=function(e){return u(v(u(e,10),(W(),sw)),337)},w(Qn,"SelfLoopRouter/lambda$3$Type",1676),b(1677,1,re,SMn),o.Cd=function(e){dge(this.a,this.b,u(e,337))},w(Qn,"SelfLoopRouter/lambda$4$Type",1677),b(1678,1,vt,y2n),o.Kf=function(e,t){RCe(u(e,36),t)},w(Qn,"SemiInteractiveCrossMinProcessor",1678),b(1679,1,Le,j2n),o.Mb=function(e){return u(e,10).k==(Vn(),Xt)},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),b(1680,1,Le,E2n),o.Mb=function(e){return uIn(u(e,10))._b((cn(),H0))},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),b(1681,1,De,M2n),o.Ne=function(e,t){return nve(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),b(1682,1,{},T2n),o.Ve=function(e,t){return kge(u(e,10),u(t,10))},w(Qn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),b(1684,1,vt,C2n),o.Kf=function(e,t){oOe(u(e,36),t)},w(Qn,"SortByInputModelProcessor",1684),b(1685,1,Le,S2n),o.Mb=function(e){return u(e,12).g.c.length!=0},w(Qn,"SortByInputModelProcessor/lambda$0$Type",1685),b(1686,1,re,h7n),o.Cd=function(e){Uje(this.a,u(e,12))},w(Qn,"SortByInputModelProcessor/lambda$1$Type",1686),b(1759,817,{},gxn),o.df=function(e){var t,i,r,c;switch(this.c=e,this.a.g){case 2:t=new Z,Ut(ut(new Cn(null,new On(this.c.a.b,16)),new _2n),new xMn(this,t)),Yk(this,new I2n),nu(t,new O2n),t.c.length=0,Ut(ut(new Cn(null,new On(this.c.a.b,16)),new A2n),new a7n(t)),Yk(this,new L2n),nu(t,new N2n),t.c.length=0,i=pCn(A$(Uw(new Cn(null,new On(this.c.a.b,16)),new d7n(this))),new D2n),Ut(new Cn(null,new On(this.c.a.a,16)),new OMn(i,t)),Yk(this,new x2n),nu(t,new R2n),t.c.length=0;break;case 3:r=new Z,Yk(this,new P2n),c=pCn(A$(Uw(new Cn(null,new On(this.c.a.b,16)),new l7n(this))),new $2n),Ut(ut(new Cn(null,new On(this.c.a.b,16)),new K2n),new LMn(c,r)),Yk(this,new B2n),nu(r,new F2n),r.c.length=0;break;default:throw T(new $yn)}},o.b=0,w(di,"EdgeAwareScanlineConstraintCalculation",1759),b(1760,1,ph,P2n),o.Lb=function(e){return L(u(e,60).g,154)},o.Fb=function(e){return this===e},o.Mb=function(e){return L(u(e,60).g,154)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),b(1761,1,{},l7n),o.Ye=function(e){return SEe(this.a,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),b(1769,1,JS,PMn),o.de=function(){S5(this.a,this.b,-1)},o.b=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),b(1771,1,ph,I2n),o.Lb=function(e){return L(u(e,60).g,154)},o.Fb=function(e){return this===e},o.Mb=function(e){return L(u(e,60).g,154)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),b(1772,1,re,O2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),b(1773,1,Le,A2n),o.Mb=function(e){return L(u(e,60).g,10)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),b(1775,1,re,a7n),o.Cd=function(e){X5e(this.a,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),b(1774,1,JS,NMn),o.de=function(){S5(this.b,this.a,-1)},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),b(1776,1,ph,L2n),o.Lb=function(e){return L(u(e,60).g,10)},o.Fb=function(e){return this===e},o.Mb=function(e){return L(u(e,60).g,10)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),b(1777,1,re,N2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),b(1778,1,{},d7n),o.Ye=function(e){return PEe(this.a,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),b(1779,1,{},D2n),o.We=function(){return 0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),b(1762,1,{},$2n),o.We=function(){return 0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),b(1781,1,re,OMn),o.Cd=function(e){Ywe(this.a,this.b,u(e,316))},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),b(1780,1,JS,AMn),o.de=function(){LHn(this.a,this.b,-1)},o.b=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),b(1782,1,ph,x2n),o.Lb=function(e){return u(e,60),!0},o.Fb=function(e){return this===e},o.Mb=function(e){return u(e,60),!0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),b(1783,1,re,R2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),b(1763,1,Le,K2n),o.Mb=function(e){return L(u(e,60).g,10)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),b(1765,1,re,LMn),o.Cd=function(e){Zwe(this.a,this.b,u(e,60))},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),b(1764,1,JS,DMn),o.de=function(){S5(this.b,this.a,-1)},o.a=0,w(di,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),b(1766,1,ph,B2n),o.Lb=function(e){return u(e,60),!0},o.Fb=function(e){return this===e},o.Mb=function(e){return u(e,60),!0},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),b(1767,1,re,F2n),o.Cd=function(e){u(e,380).de()},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),b(1768,1,Le,_2n),o.Mb=function(e){return L(u(e,60).g,154)},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),b(1770,1,re,xMn),o.Cd=function(e){p4e(this.a,this.b,u(e,60))},w(di,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),b(1586,1,vt,eSn),o.Kf=function(e,t){$Oe(this,u(e,36),t)};var QZn;w(di,"HorizontalGraphCompactor",1586),b(1587,1,{},b7n),o.ff=function(e,t){var i,r,c;return tQ(e,t)||(i=Ig(e),r=Ig(t),i&&i.k==(Vn(),Zt)||r&&r.k==(Vn(),Zt))?0:(c=u(v(this.a.a,(W(),E2)),312),B1e(c,i?i.k:(Vn(),Ti),r?r.k:(Vn(),Ti)))},o.gf=function(e,t){var i,r,c;return tQ(e,t)?1:(i=Ig(e),r=Ig(t),c=u(v(this.a.a,(W(),E2)),312),XX(c,i?i.k:(Vn(),Ti),r?r.k:(Vn(),Ti)))},w(di,"HorizontalGraphCompactor/1",1587),b(1588,1,{},H2n),o.ef=function(e,t){return c6(),e.a.i==0},w(di,"HorizontalGraphCompactor/lambda$0$Type",1588),b(1589,1,{},w7n),o.ef=function(e,t){return Ege(this.a,e,t)},w(di,"HorizontalGraphCompactor/lambda$1$Type",1589),b(1730,1,{},GDn);var YZn,ZZn;w(di,"LGraphToCGraphTransformer",1730),b(1738,1,Le,q2n),o.Mb=function(e){return e!=null},w(di,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),b(1731,1,{},U2n),o.Kb=function(e){return Rs(),Jr(v(u(u(e,60).g,10),(W(),st)))},w(di,"LGraphToCGraphTransformer/lambda$0$Type",1731),b(1732,1,{},G2n),o.Kb=function(e){return Rs(),tKn(u(u(e,60).g,154))},w(di,"LGraphToCGraphTransformer/lambda$1$Type",1732),b(1741,1,Le,z2n),o.Mb=function(e){return Rs(),L(u(e,60).g,10)},w(di,"LGraphToCGraphTransformer/lambda$10$Type",1741),b(1742,1,re,X2n),o.Cd=function(e){Pge(u(e,60))},w(di,"LGraphToCGraphTransformer/lambda$11$Type",1742),b(1743,1,Le,V2n),o.Mb=function(e){return Rs(),L(u(e,60).g,154)},w(di,"LGraphToCGraphTransformer/lambda$12$Type",1743),b(1747,1,re,W2n),o.Cd=function(e){c5e(u(e,60))},w(di,"LGraphToCGraphTransformer/lambda$13$Type",1747),b(1744,1,re,g7n),o.Cd=function(e){Lle(this.a,u(e,8))},o.a=0,w(di,"LGraphToCGraphTransformer/lambda$14$Type",1744),b(1745,1,re,p7n),o.Cd=function(e){Dle(this.a,u(e,116))},o.a=0,w(di,"LGraphToCGraphTransformer/lambda$15$Type",1745),b(1746,1,re,m7n),o.Cd=function(e){Nle(this.a,u(e,8))},o.a=0,w(di,"LGraphToCGraphTransformer/lambda$16$Type",1746),b(1748,1,{},J2n),o.Kb=function(e){return Rs(),new Cn(null,new wb(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(di,"LGraphToCGraphTransformer/lambda$17$Type",1748),b(1749,1,Le,Q2n),o.Mb=function(e){return Rs(),fr(u(e,18))},w(di,"LGraphToCGraphTransformer/lambda$18$Type",1749),b(1750,1,re,v7n),o.Cd=function(e){Wme(this.a,u(e,18))},w(di,"LGraphToCGraphTransformer/lambda$19$Type",1750),b(1734,1,re,k7n),o.Cd=function(e){jpe(this.a,u(e,154))},w(di,"LGraphToCGraphTransformer/lambda$2$Type",1734),b(1751,1,{},Y2n),o.Kb=function(e){return Rs(),new Cn(null,new On(u(e,30).a,16))},w(di,"LGraphToCGraphTransformer/lambda$20$Type",1751),b(1752,1,{},Z2n),o.Kb=function(e){return Rs(),new Cn(null,new wb(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(di,"LGraphToCGraphTransformer/lambda$21$Type",1752),b(1753,1,{},npn),o.Kb=function(e){return Rs(),u(v(u(e,18),(W(),Ld)),15)},w(di,"LGraphToCGraphTransformer/lambda$22$Type",1753),b(1754,1,Le,epn),o.Mb=function(e){return F1e(u(e,15))},w(di,"LGraphToCGraphTransformer/lambda$23$Type",1754),b(1755,1,re,y7n),o.Cd=function(e){gEe(this.a,u(e,15))},w(di,"LGraphToCGraphTransformer/lambda$24$Type",1755),b(1733,1,re,RMn),o.Cd=function(e){v3e(this.a,this.b,u(e,154))},w(di,"LGraphToCGraphTransformer/lambda$3$Type",1733),b(1735,1,{},tpn),o.Kb=function(e){return Rs(),new Cn(null,new On(u(e,30).a,16))},w(di,"LGraphToCGraphTransformer/lambda$4$Type",1735),b(1736,1,{},ipn),o.Kb=function(e){return Rs(),new Cn(null,new wb(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(di,"LGraphToCGraphTransformer/lambda$5$Type",1736),b(1737,1,{},rpn),o.Kb=function(e){return Rs(),u(v(u(e,18),(W(),Ld)),15)},w(di,"LGraphToCGraphTransformer/lambda$6$Type",1737),b(1739,1,re,j7n),o.Cd=function(e){IEe(this.a,u(e,15))},w(di,"LGraphToCGraphTransformer/lambda$8$Type",1739),b(1740,1,re,KMn),o.Cd=function(e){r1e(this.a,this.b,u(e,154))},w(di,"LGraphToCGraphTransformer/lambda$9$Type",1740),b(1729,1,{},cpn),o.cf=function(e){var t,i,r,c,s;for(this.a=e,this.d=new oL,this.c=F(eon,Rn,125,this.a.a.a.c.length,0,1),this.b=0,i=new M(this.a.a.a);i.a<i.c.c.length;)t=u(E(i),316),t.d=this.b,s=sb(i7(new za,t),this.d),this.c[this.b]=s,++this.b;for(zAe(this),zLe(this),WTe(this),IR(KN(this.d),new op),c=new M(this.a.a.b);c.a<c.c.c.length;)r=u(E(c),60),r.d.c=this.c[r.a.d].e+r.b.a},o.b=0,w(di,"NetworkSimplexCompaction",1729),b(154,1,{34:1,154:1},_5),o.Fd=function(e){return u4e(this,u(e,154))},o.Ib=function(){return tKn(this)},w(di,"VerticalSegment",154),b(841,1,{},VZ),o.c=0,o.e=0,o.i=0,w(r8,"BetweenLayerEdgeTwoNodeCrossingsCounter",841),b(677,1,{677:1},Oxn),o.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},o.b=0,o.c=0,o.f=0,w(r8,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",677),b(293,1,{34:1,293:1},fSn),o.Fd=function(e){return jwe(this,u(e,293))},o.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},o.a=0,o.b=0,o.c=0,w(r8,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",293),b(2026,1,{},o_n),o.b=0,o.e=!1,w(r8,"CrossingMatrixFiller",2026);var nne=Dt(Vh,"IInitializable");b(1867,1,Fy,FMn),o.gg=function(e,t,i,r,c,s){},o.ig=function(e,t,i){},o.eg=function(){return this.c!=(Ib(),Q8)},o.fg=function(){this.e=F(ye,_e,28,this.d,15,1)},o.hg=function(e,t){t[e][0].c.p=e},o.jg=function(e,t,i,r){++this.d},o.kg=function(){return!0},o.lg=function(e,t,i,r){return VRn(this,e,t,i),A3e(this,t)},o.mg=function(e,t){var i;return i=Phe(t,e.length),VRn(this,e,i,t),hRn(this,i)},o.d=0,w(r8,"GreedySwitchHeuristic",1867),b(2029,1,{},iIn),o.b=0,o.d=0,w(r8,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",2029),b(2016,1,{},Fqn),o.a=!1,w(r8,"SwitchDecider",2016),b(105,1,{105:1},w_n),o.a=null,o.c=null,o.i=null,w(w3,"SelfHyperLoop",105),b(2013,1,{},tBn),o.c=0,o.e=0,w(w3,"SelfHyperLoopLabels",2013),b(421,22,{3:1,34:1,22:1,421:1},dM);var j3,hv,lv,R_,ene=we(w3,"SelfHyperLoopLabels/Alignment",421,ke,Wpe,jde),tne;b(340,1,{340:1},$Nn),w(w3,"SelfLoopEdge",340),b(337,1,{337:1},iBn),o.a=!1,w(w3,"SelfLoopHolder",337),b(1790,1,Le,ppn),o.Mb=function(e){return fr(u(e,18))},w(w3,"SelfLoopHolder/lambda$0$Type",1790),b(113,1,{113:1},sBn),o.a=!1,o.c=!1,w(w3,"SelfLoopPort",113),b(1855,1,Le,mpn),o.Mb=function(e){return fr(u(e,18))},w(w3,"SelfLoopPort/lambda$0$Type",1855),b(375,22,{3:1,34:1,22:1,375:1},s7);var UI,wj,GI,zI,XI,ine=we(w3,"SelfLoopType",375,ke,F3e,Ede),rne;b(1798,1,{},Y5n);var cne,une,one,sne;w(Oo,"PortRestorer",1798),b(372,22,{3:1,34:1,22:1,372:1},FL);var iw,ka,rw,K_=we(Oo,"PortRestorer/PortSideArea",372,ke,x2e,vde),fne;b(1799,1,{},opn),o.Kb=function(e){return oa(),u(e,15).Oc()},w(Oo,"PortRestorer/lambda$0$Type",1799),b(1800,1,re,spn),o.Cd=function(e){oa(),u(e,113).c=!1},w(Oo,"PortRestorer/lambda$1$Type",1800),b(1809,1,Le,fpn),o.Mb=function(e){return oa(),u(e,12).j==(en(),Wn)},w(Oo,"PortRestorer/lambda$10$Type",1809),b(1810,1,{},hpn),o.Kb=function(e){return oa(),u(e,113).d},w(Oo,"PortRestorer/lambda$11$Type",1810),b(1811,1,re,E7n),o.Cd=function(e){Nhe(this.a,u(e,12))},w(Oo,"PortRestorer/lambda$12$Type",1811),b(1801,1,re,M7n),o.Cd=function(e){W1e(this.a,u(e,105))},w(Oo,"PortRestorer/lambda$2$Type",1801),b(1802,1,De,lpn),o.Ne=function(e,t){return I4e(u(e,113),u(t,113))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Oo,"PortRestorer/lambda$3$Type",1802),b(1803,1,Le,apn),o.Mb=function(e){return oa(),u(e,113).c},w(Oo,"PortRestorer/lambda$4$Type",1803),b(1804,1,Le,dpn),o.Mb=function(e){return kve(u(e,12))},w(Oo,"PortRestorer/lambda$5$Type",1804),b(1805,1,Le,upn),o.Mb=function(e){return oa(),u(e,12).j==(en(),Xn)},w(Oo,"PortRestorer/lambda$6$Type",1805),b(1806,1,Le,bpn),o.Mb=function(e){return oa(),u(e,12).j==(en(),Zn)},w(Oo,"PortRestorer/lambda$7$Type",1806),b(1807,1,Le,wpn),o.Mb=function(e){return Zpe(u(e,12))},w(Oo,"PortRestorer/lambda$8$Type",1807),b(1808,1,Le,gpn),o.Mb=function(e){return oa(),u(e,12).j==(en(),ae)},w(Oo,"PortRestorer/lambda$9$Type",1808),b(276,22,{3:1,34:1,22:1,276:1},Ap);var B_,F_,__,H_,q_,U_,G_,z_,Esn=we(Oo,"PortSideAssigner/Target",276,ke,w4e,Mde),hne;b(1791,1,{},kpn),o.Kb=function(e){return ut(new Cn(null,new On(u(e,105).j,16)),new UU)},w(Oo,"PortSideAssigner/lambda$1$Type",1791),b(1792,1,{},ypn),o.Kb=function(e){return u(e,113).d},w(Oo,"PortSideAssigner/lambda$2$Type",1792),b(1793,1,re,jpn),o.Cd=function(e){gi(u(e,12),(en(),Xn))},w(Oo,"PortSideAssigner/lambda$3$Type",1793),b(1794,1,{},Epn),o.Kb=function(e){return u(e,113).d},w(Oo,"PortSideAssigner/lambda$4$Type",1794),b(1795,1,re,T7n),o.Cd=function(e){Ffe(this.a,u(e,12))},w(Oo,"PortSideAssigner/lambda$5$Type",1795),b(1796,1,De,vpn),o.Ne=function(e,t){return U0e(u(e,105),u(t,105))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Oo,"PortSideAssigner/lambda$6$Type",1796),b(1797,1,De,Mpn),o.Ne=function(e,t){return dwe(u(e,113),u(t,113))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Oo,"PortSideAssigner/lambda$7$Type",1797),b(820,1,Le,UU),o.Mb=function(e){return u(e,113).c},w(Oo,"PortSideAssigner/lambda$8$Type",820),b(2108,1,{}),w(da,"AbstractSelfLoopRouter",2108),b(1816,1,De,Tpn),o.Ne=function(e,t){return Gae(u(e,105),u(t,105))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(da,bXn,1816),b(1817,1,De,Cpn),o.Ne=function(e,t){return Uae(u(e,105),u(t,105))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(da,wXn,1817),b(1856,2108,{},Spn),o.ng=function(e,t,i){return i},w(da,"OrthogonalSelfLoopRouter",1856),b(1858,1,re,BMn),o.Cd=function(e){rZ(this.b,this.a,u(e,8))},w(da,"OrthogonalSelfLoopRouter/lambda$0$Type",1858),b(1857,1856,{},Ppn),o.ng=function(e,t,i){var r,c;return r=e.c.d,wm(i,0,it(Fi(r.n),r.a)),c=e.d.d,Re(i,it(Fi(c.n),c.a)),VPe(i)},w(da,"PolylineSelfLoopRouter",1857),b(1812,1,{},Z5n),o.a=null;var w2;w(da,"RoutingDirector",1812),b(1813,1,De,Ipn),o.Ne=function(e,t){return hwe(u(e,113),u(t,113))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(da,"RoutingDirector/lambda$0$Type",1813),b(1814,1,{},Opn),o.Kb=function(e){return YE(),u(e,105).j},w(da,"RoutingDirector/lambda$1$Type",1814),b(1815,1,re,Apn),o.Cd=function(e){YE(),u(e,15).jd(w2)},w(da,"RoutingDirector/lambda$2$Type",1815),b(1818,1,{},Lpn),w(da,"RoutingSlotAssigner",1818),b(1819,1,Le,C7n),o.Mb=function(e){return wle(this.a,u(e,105))},w(da,"RoutingSlotAssigner/lambda$0$Type",1819),b(1820,1,De,S7n),o.Ne=function(e,t){return Bwe(this.a,u(e,105),u(t,105))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(da,"RoutingSlotAssigner/lambda$1$Type",1820),b(1859,1856,{},Npn),o.ng=function(e,t,i){var r,c,s,f;return r=$(B(nS(e.b.g.b,(cn(),C2)))),f=new lSn(S(C(Ei,1),J,8,0,[(s=e.c.d,it(new rr(s.n),s.a))])),ETe(e,t,i,f,r),Re(f,(c=e.d.d,it(new rr(c.n),c.a))),PBn(new Ben(f))},w(da,"SplineSelfLoopRouter",1859),b(586,1,De,bxn,LPn),o.Ne=function(e,t){return dzn(this,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(ein,"ModelOrderNodeComparator",586),b(1821,1,Le,Dpn),o.Mb=function(e){return u(e,12).e.c.length!=0},w(ein,"ModelOrderNodeComparator/lambda$0$Type",1821),b(821,1,De,qRn,TLn),o.Ne=function(e,t){return SIn(this,e,t)},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},o.b=!1,w(ein,"ModelOrderPortComparator",821),b(815,1,{},GU),o.og=function(e,t){var i,r,c,s;for(c=i_n(t),i=new Z,s=t.f/c,r=1;r<c;++r)nn(i,Y(Se(vc(y.Math.round(r*s)))));return i},o.pg=function(){return!1},w(yh,"ARDCutIndexHeuristic",815),b(1544,1,vt,$pn),o.Kf=function(e,t){aPe(u(e,36),t)},w(yh,"BreakingPointInserter",1544),b(313,1,{313:1},yJ),o.Ib=function(){var e;return e=new R1,e.a+="BPInfo[",e.a+=`
start=`,Lc(e,this.i),e.a+=`
end=`,Lc(e,this.a),e.a+=`
nodeStartEdge=`,Lc(e,this.e),e.a+=`
startEndEdge=`,Lc(e,this.j),e.a+=`
originalEdge=`,Lc(e,this.f),e.a+=`
startInLayerDummy=`,Lc(e,this.k),e.a+=`
startInLayerEdge=`,Lc(e,this.n),e.a+=`
endInLayerDummy=`,Lc(e,this.b),e.a+=`
endInLayerEdge=`,Lc(e,this.c),e.a},w(yh,"BreakingPointInserter/BPInfo",313),b(661,1,{661:1},R7n),o.a=!1,o.b=0,o.c=0,w(yh,"BreakingPointInserter/Cut",661),b(1545,1,vt,xpn),o.Kf=function(e,t){PTe(u(e,36),t)},w(yh,"BreakingPointProcessor",1545),b(1546,1,Le,Rpn),o.Mb=function(e){return i$n(u(e,10))},w(yh,"BreakingPointProcessor/0methodref$isEnd$Type",1546),b(1547,1,Le,Kpn),o.Mb=function(e){return r$n(u(e,10))},w(yh,"BreakingPointProcessor/1methodref$isStart$Type",1547),b(1548,1,vt,Bpn),o.Kf=function(e,t){JTe(this,u(e,36),t)},w(yh,"BreakingPointRemover",1548),b(1549,1,re,Fpn),o.Cd=function(e){u(e,131).k=!0},w(yh,"BreakingPointRemover/lambda$0$Type",1549),b(811,1,{},qnn),o.b=0,o.e=0,o.f=0,o.j=0,w(yh,"GraphStats",811),b(812,1,{},zU),o.Ve=function(e,t){return y.Math.max($(B(e)),$(B(t)))},w(yh,"GraphStats/0methodref$max$Type",812),b(813,1,{},XU),o.Ve=function(e,t){return y.Math.max($(B(e)),$(B(t)))},w(yh,"GraphStats/2methodref$max$Type",813),b(1726,1,{},_pn),o.Ve=function(e,t){return Qbe(B(e),B(t))},w(yh,"GraphStats/lambda$1$Type",1726),b(1727,1,{},P7n),o.Kb=function(e){return fBn(this.a,u(e,30))},w(yh,"GraphStats/lambda$2$Type",1727),b(1728,1,{},I7n),o.Kb=function(e){return eqn(this.a,u(e,30))},w(yh,"GraphStats/lambda$6$Type",1728),b(814,1,{},VU),o.og=function(e,t){var i;return i=u(v(e,(cn(),vhn)),15),i||(Ln(),Ln(),sr)},o.pg=function(){return!1},w(yh,"ICutIndexCalculator/ManualCutIndexCalculator",814),b(816,1,{},WU),o.og=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_;for(_=(t.n==null&&RBn(t),t.n),l=(t.d==null&&RBn(t),t.d),D=F(Ii,Cr,28,_.length,15,1),D[0]=_[0],O=_[0],a=1;a<_.length;a++)D[a]=D[a-1]+_[a],O+=_[a];for(c=i_n(t)-1,f=u(v(e,(cn(),khn)),17).a,r=li,i=new Z,p=y.Math.max(0,c-f);p<=y.Math.min(t.f-1,c+f);p++){if(j=O/(p+1),P=0,d=1,s=new Z,A=li,g=0,h=0,k=l[0],p==0)A=O,h=(t.g==null&&(t.g=jxn(t,new XU)),$(t.g));else{for(;d<t.f;)D[d-1]-P>=j&&(nn(s,Y(d)),A=y.Math.max(A,D[d-1]-g),h+=k,P+=D[d-1]-P,g=D[d-1],k=l[d]),k=y.Math.max(k,l[d]),++d;h+=k}m=y.Math.min(1/A,1/t.b/h),m>r&&(r=m,i=s)}return i},o.pg=function(){return!1},w(yh,"MSDCutIndexHeuristic",816),b(1683,1,vt,Hpn),o.Kf=function(e,t){KIe(u(e,36),t)},w(yh,"SingleEdgeGraphWrapper",1683),b(232,22,{3:1,34:1,22:1,232:1},d6);var g2,av,dv,D0,L8,p2,bv=we(Cc,"CenterEdgeLabelPlacementStrategy",232,ke,Eme,Tde),lne;b(431,22,{3:1,34:1,22:1,431:1},Vz);var Msn,X_,Tsn=we(Cc,"ConstraintCalculationStrategy",431,ke,qge,Cde),ane;b(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},_L),o.dg=function(){return F_n(this)},o.qg=function(){return F_n(this)};var gj,N8,Csn,Ssn=we(Cc,"CrossingMinimizationStrategy",322,ke,R2e,Sde),dne;b(351,22,{3:1,34:1,22:1,351:1},HL);var Psn,V_,VI,Isn=we(Cc,"CuttingStrategy",351,ke,K2e,Pde),bne;b(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},f7),o.dg=function(){return OHn(this)},o.qg=function(){return OHn(this)};var Osn,W_,wv,J_,gv,Asn=we(Cc,"CycleBreakingStrategy",348,ke,_3e,Ide),wne;b(428,22,{3:1,34:1,22:1,428:1},Wz);var WI,Lsn,Nsn=we(Cc,"DirectionCongruency",428,ke,Hge,Ode),gne;b(459,22,{3:1,34:1,22:1,459:1},qL);var pv,Q_,m2,pne=we(Cc,"EdgeConstraint",459,ke,B2e,Rde),mne;b(283,22,{3:1,34:1,22:1,283:1},b6);var Y_,Z_,nH,eH,JI,tH,Dsn=we(Cc,"EdgeLabelSideSelection",283,ke,kme,Kde),vne;b(487,22,{3:1,34:1,22:1,487:1},Jz);var QI,$sn,xsn=we(Cc,"EdgeStraighteningStrategy",487,ke,_ge,Bde),kne;b(281,22,{3:1,34:1,22:1,281:1},w6);var iH,Rsn,Ksn,YI,Bsn,Fsn,_sn=we(Cc,"FixedAlignment",281,ke,yme,xde),yne;b(282,22,{3:1,34:1,22:1,282:1},g6);var Hsn,qsn,Usn,Gsn,D8,zsn,Xsn=we(Cc,"GraphCompactionStrategy",282,ke,jme,Ade),jne;b(259,22,{3:1,34:1,22:1,259:1},Lw);var mv,ZI,vv,cs,$8,nO,kv,v2,eO,x8,rH=we(Cc,"GraphProperties",259,ke,uve,Lde),Ene;b(298,22,{3:1,34:1,22:1,298:1},UL);var pj,cH,uH,oH=we(Cc,"GreedySwitchType",298,ke,F2e,Nde),Mne;b(311,22,{3:1,34:1,22:1,311:1},GL);var E3,mj,k2,Tne=we(Cc,"InLayerConstraint",311,ke,_2e,Dde),Cne;b(429,22,{3:1,34:1,22:1,429:1},Qz);var sH,Vsn,Wsn=we(Cc,"InteractiveReferencePoint",429,ke,Wge,$de),Sne,Jsn,M3,cw,tO,Qsn,Ysn,iO,Zsn,vj,rO,R8,T3,Dl,fH,cO,gc,nfn,ya,Hc,hH,lH,kj,Ad,uw,C3,efn,S3,yj,$0,yf,Es,aH,y2,dt,st,tfn,ifn,rfn,cfn,ufn,dH,uO,Xu,ow,bH,P3,K8,zf,j2,sw,E2,M2,yv,Ld,ofn,wH,gH,I3;b(171,22,{3:1,34:1,22:1,171:1},h7);var B8,ja,F8,x0,jj,sfn=we(Cc,"LayerConstraint",171,ke,q3e,Fde),Pne;b(859,1,ms,n8n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,iin),""),"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."),mfn),(l1(),It)),Nsn),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,rin),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(_n(),!1)),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,lP),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Mfn),It),Wsn),yn(xn)))),ri(e,lP,fB,jee),ri(e,lP,c8,yee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,cin),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,uin),""),"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),yi),zt),yn(xn)))),vn(e,new ln(Lhe(pn(gn(mn(Pn(an(wn(dn(bn(new hn,oin),""),"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),yi),zt),yn(Fd)),S(C(fn,1),J,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,sin),""),"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."),Lfn),It),_hn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,fin),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Y(7)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,hin),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,lin),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,fB),"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)."),pfn),It),Asn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,_y),NB),"Node Layering Strategy"),"Strategy for node layering."),Sfn),It),Ihn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ain),NB),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),Tfn),It),sfn),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,din),NB),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,bin),NB),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,hB),YXn),"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."),Y(4)),Zr),Gi),yn(xn)))),ri(e,hB,_y,Iee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,lB),YXn),"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."),Y(2)),Zr),Gi),yn(xn)))),ri(e,lB,_y,Aee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,aB),ZXn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),Cfn),It),Khn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,dB),ZXn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Y(0)),Zr),Gi),yn(xn)))),ri(e,dB,aB,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,bB),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Y(et)),Zr),Gi),yn(xn)))),ri(e,bB,_y,Mee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,c8),V4),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),gfn),It),Ssn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,win),V4),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,wB),V4),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Qi),si),yn(xn)))),ri(e,wB,MP,Vne),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,gB),V4),"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),yi),zt),yn(xn)))),ri(e,gB,c8,nee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,gin),V4),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),$2),fn),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,pin),V4),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),$2),fn),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,min),V4),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,vin),V4),"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."),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,kin),nVn),"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."),Y(40)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,pB),nVn),"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."),wfn),It),oH),yn(xn)))),ri(e,pB,c8,zne),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,aP),"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."),bfn),It),oH),yn(xn)))),ri(e,aP,c8,qne),ri(e,aP,MP,Une),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,c2),eVn),"Node Placement Strategy"),"Strategy for node placement."),Afn),It),Nhn),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,dP),eVn),"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."),yi),zt),yn(xn)))),ri(e,dP,c2,Hee),ri(e,dP,c2,qee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,mB),tVn),"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."),Pfn),It),xsn),yn(xn)))),ri(e,mB,c2,Kee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,vB),tVn),"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."),Ifn),It),_sn),yn(xn)))),ri(e,vB,c2,Fee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,kB),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Qi),si),yn(xn)))),ri(e,kB,c2,Gee),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,yB),"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."),It),KH),yn(pi)))),ri(e,yB,c2,Wee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,jB),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Ofn),It),KH),yn(xn)))),ri(e,jB,c2,Vee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,yin),iVn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),yfn),It),Uhn),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,jin),iVn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),jfn),It),Ghn),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,bP),"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."),Efn),It),Xhn),yn(xn)))),ri(e,bP,Hy,lee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,wP),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Qi),si),yn(xn)))),ri(e,wP,Hy,dee),ri(e,wP,bP,bee),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,EB),"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),Qi),si),yn(xn)))),ri(e,EB,Hy,oee),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Ein),qf),"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."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Min),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Tin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Cin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Sin),Rin),"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."),Y(0)),Zr),Gi),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Pin),Rin),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Y(0)),Zr),Gi),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Iin),Rin),"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."),Y(0)),Zr),Gi),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,MB),Kin),vXn),"Tries to further compact components (disconnected sub-graphs)."),!1),yi),zt),yn(xn)))),ri(e,MB,n8,!0),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Oin),rVn),"Post Compaction Strategy"),cVn),hfn),It),Xsn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Ain),rVn),"Post Compaction Constraint Calculation"),cVn),ffn),It),Tsn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,gP),Bin),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,TB),Bin),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Y(16)),Zr),Gi),yn(xn)))),ri(e,TB,gP,!0),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,CB),Bin),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Y(5)),Zr),Gi),yn(xn)))),ri(e,CB,gP,!0),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Al),Fin),"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'."),$fn),It),Qhn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,pP),Fin),"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),Qi),si),yn(xn)))),ri(e,pP,Al,ste),ri(e,pP,Al,fte),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,mP),Fin),"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),Qi),si),yn(xn)))),ri(e,mP,Al,lte),ri(e,mP,Al,ate),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,u8),uVn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),Dfn),It),Isn),yn(xn)))),ri(e,u8,Al,mte),ri(e,u8,Al,vte),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,SB),uVn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),Vf),rs),yn(xn)))),ri(e,SB,u8,bte),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,PB),"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."),Nfn),Zr),Gi),yn(xn)))),ri(e,PB,u8,gte),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,vP),oVn),"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."),xfn),It),Jhn),yn(xn)))),ri(e,vP,Al,Ate),ri(e,vP,Al,Lte),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,kP),oVn),"Valid Indices for Wrapping"),null),Vf),rs),yn(xn)))),ri(e,kP,Al,Pte),ri(e,kP,Al,Ite),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,yP),_in),"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),yi),zt),yn(xn)))),ri(e,yP,Al,Ete),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,jP),_in),"Distance Penalty When Improving Cuts"),null),2),Qi),si),yn(xn)))),ri(e,jP,Al,yte),ri(e,jP,yP,!0),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,IB),_in),"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),yi),zt),yn(xn)))),ri(e,IB,Al,Tte),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Lin),DB),"Edge Label Side Selection"),"Method to decide on edge label sides."),kfn),It),Dsn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Nin),DB),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),vfn),It),bv),yt(xn,S(C(Zh,1),G,170,0,[E1]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,EP),o8),"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."),dfn),It),Fhn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Din),o8),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,$in),o8),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),yi),zt),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,OB),o8),"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."),lfn),It),Aon),yn(xn)))),ri(e,OB,n8,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,xin),o8),"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."),afn),It),Ahn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,AB),o8),"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),Qi),si),yn(xn)))),ri(e,AB,EP,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,LB),o8),"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),Qi),si),yn(xn)))),ri(e,LB,EP,null),Mzn((new e8n,e))};var Ine,One,Ane,ffn,Lne,hfn,Nne,lfn,Dne,$ne,xne,afn,Rne,Kne,Bne,dfn,Fne,_ne,Hne,bfn,qne,Une,Gne,wfn,zne,Xne,Vne,Wne,Jne,Qne,Yne,Zne,nee,eee,gfn,tee,pfn,iee,mfn,ree,vfn,cee,kfn,uee,oee,see,yfn,fee,jfn,hee,Efn,lee,aee,dee,bee,wee,gee,pee,mee,vee,kee,Mfn,yee,jee,Eee,Mee,Tee,Cee,Tfn,See,Pee,Iee,Oee,Aee,Lee,Nee,Cfn,Dee,Sfn,$ee,xee,Ree,Pfn,Kee,Bee,Ifn,Fee,_ee,Hee,qee,Uee,Gee,zee,Xee,Ofn,Vee,Wee,Jee,Afn,Qee,Lfn,Yee,Zee,nte,ete,tte,ite,rte,cte,ute,ote,ste,fte,hte,lte,ate,dte,bte,wte,Nfn,gte,pte,Dfn,mte,vte,kte,yte,jte,Ete,Mte,Tte,Cte,$fn,Ste,Pte,Ite,Ote,xfn,Ate,Lte;w(Cc,"LayeredMetaDataProvider",859),b(998,1,ms,e8n),o.hf=function(e){Mzn(e)};var Ch,pH,oO,_8,sO,Rfn,fO,R0,hO,Kfn,Bfn,lO,mH,Yh,vH,fw,Ffn,Ej,kH,_fn,Nte,Dte,$te,aO,yH,H8,Nd,xte,Lo,Hfn,qfn,dO,jH,Sh,bO,$l,Ufn,Gfn,zfn,EH,MH,Xfn,m1,TH,Vfn,K0,Wfn,Jfn,Qfn,wO,B0,Dd,Yfn,Zfn,Rr,nhn,Rte,ou,gO,ehn,thn,ihn,Ea,$d,pO,rhn,chn,mO,hw,uhn,CH,q8,ohn,lw,U8,vO,xd,SH,jv,kO,Rd,shn,fhn,hhn,Ev,lhn,Kte,Bte,Fte,_te,aw,F0,_t,v1,Hte,_0,ahn,Mv,dhn,H0,qte,Tv,bhn,O3,Ute,Gte,Mj,PH,whn,Tj,Ws,T2,C2,dw,Kd,yO,q0,IH,Cv,Sv,bw,S2,OH,Cj,G8,z8,zte,Xte,Vte,ghn,Wte,AH,phn,mhn,vhn,khn,LH,yhn,jhn,Ehn,Mhn,NH,jO;w(Cc,"LayeredOptions",998),b(999,1,{},qpn),o.sf=function(){var e;return e=new qyn,e},o.tf=function(e){},w(Cc,"LayeredOptions/LayeredFactory",999),b(1391,1,{}),o.a=0;var Jte;w(dc,"ElkSpacings/AbstractSpacingsBuilder",1391),b(792,1391,{},GY);var EO,Qte;w(Cc,"LayeredSpacings/LayeredSpacingsBuilder",792),b(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},dg),o.dg=function(){return Bqn(this)},o.qg=function(){return Bqn(this)};var Pv,DH,Iv,Thn,Chn,Shn,MO,$H,Phn,Ihn=we(Cc,"LayeringStrategy",265,ke,x4e,_de),Yte;b(390,22,{3:1,34:1,22:1,390:1},zL);var xH,Ohn,TO,Ahn=we(Cc,"LongEdgeOrderingStrategy",390,ke,H2e,Hde),Zte;b(203,22,{3:1,34:1,22:1,203:1},bM);var P2,I2,CO,RH,KH=we(Cc,"NodeFlexibility",203,ke,Qpe,qde),nie;b(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},l7),o.dg=function(){return IHn(this)},o.qg=function(){return IHn(this)};var X8,BH,FH,V8,Lhn,Nhn=we(Cc,"NodePlacementStrategy",323,ke,H3e,Ude),eie;b(243,22,{3:1,34:1,22:1,243:1},Nw);var Dhn,ww,U0,Sj,$hn,xhn,Pj,Rhn,SO,PO,Khn=we(Cc,"NodePromotionStrategy",243,ke,ove,Gde),tie;b(284,22,{3:1,34:1,22:1,284:1},wM);var Bhn,k1,_H,HH,Fhn=we(Cc,"OrderingStrategy",284,ke,Ype,zde),iie;b(430,22,{3:1,34:1,22:1,430:1},Yz);var qH,UH,_hn=we(Cc,"PortSortingStrategy",430,ke,Uge,Xde),rie;b(462,22,{3:1,34:1,22:1,462:1},XL);var Vu,Jc,W8,cie=we(Cc,"PortType",462,ke,q2e,Vde),uie;b(387,22,{3:1,34:1,22:1,387:1},VL);var Hhn,GH,qhn,Uhn=we(Cc,"SelfLoopDistributionStrategy",387,ke,U2e,Wde),oie;b(349,22,{3:1,34:1,22:1,349:1},WL);var zH,Ij,XH,Ghn=we(Cc,"SelfLoopOrderingStrategy",349,ke,G2e,Jde),sie;b(312,1,{312:1},yGn),w(Cc,"Spacings",312),b(350,22,{3:1,34:1,22:1,350:1},JL);var VH,zhn,J8,Xhn=we(Cc,"SplineRoutingMode",350,ke,z2e,Qde),fie;b(352,22,{3:1,34:1,22:1,352:1},QL);var WH,Vhn,Whn,Jhn=we(Cc,"ValidifyStrategy",352,ke,X2e,Yde),hie;b(388,22,{3:1,34:1,22:1,388:1},YL);var G0,JH,Ov,Qhn=we(Cc,"WrappingStrategy",388,ke,V2e,Zde),lie;b(1398,1,vr,z5n),o.rg=function(e){return u(e,36),aie},o.Kf=function(e,t){LOe(this,u(e,36),t)};var aie;w(PP,"DepthFirstCycleBreaker",1398),b(793,1,vr,lW),o.rg=function(e){return u(e,36),die},o.Kf=function(e,t){$Ne(this,u(e,36),t)},o.sg=function(e){return u(sn(e,cS(this.d,e.c.length)),10)};var die;w(PP,"GreedyCycleBreaker",793),b(1401,793,vr,BTn),o.sg=function(e){var t,i,r,c;for(c=null,t=et,r=new M(e);r.a<r.c.c.length;)i=u(E(r),10),kt(i,(W(),dt))&&u(v(i,dt),17).a<t&&(t=u(v(i,dt),17).a,c=i);return c||u(sn(e,cS(this.d,e.c.length)),10)},w(PP,"GreedyModelOrderCycleBreaker",1401),b(1399,1,vr,G5n),o.rg=function(e){return u(e,36),bie},o.Kf=function(e,t){_Oe(this,u(e,36),t)};var bie;w(PP,"InteractiveCycleBreaker",1399),b(1400,1,vr,q5n),o.rg=function(e){return u(e,36),wie},o.Kf=function(e,t){QOe(this,u(e,36),t)},o.a=0,o.b=0;var wie;w(PP,"ModelOrderCycleBreaker",1400),b(1413,1,vr,H5n),o.rg=function(e){return u(e,36),gie},o.Kf=function(e,t){FLe(this,u(e,36),t)};var gie;w(Ll,"BreadthFirstModelOrderLayerer",1413),b(1414,1,De,Upn),o.Ne=function(e,t){return lEe(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ll,"BreadthFirstModelOrderLayerer/lambda$0$Type",1414),b(1404,1,vr,aMn),o.rg=function(e){return u(e,36),pie},o.Kf=function(e,t){FNe(this,u(e,36),t)};var pie;w(Ll,"CoffmanGrahamLayerer",1404),b(1405,1,De,O7n),o.Ne=function(e,t){return QEe(this.a,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ll,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1405),b(1406,1,De,A7n),o.Ne=function(e,t){return Qwe(this.a,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ll,"CoffmanGrahamLayerer/lambda$1$Type",1406),b(1415,1,vr,U5n),o.rg=function(e){return u(e,36),mie},o.Kf=function(e,t){SNe(this,u(e,36),t)},o.c=0,o.e=0;var mie;w(Ll,"DepthFirstModelOrderLayerer",1415),b(1416,1,De,Gpn),o.Ne=function(e,t){return aEe(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ll,"DepthFirstModelOrderLayerer/lambda$0$Type",1416),b(1407,1,vr,zpn),o.rg=function(e){return u(e,36),Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),N_)),Jh,N0),Ac,L0)},o.Kf=function(e,t){ZLe(u(e,36),t)},w(Ll,"InteractiveLayerer",1407),b(578,1,{578:1},Xyn),o.a=0,o.c=0,w(Ll,"InteractiveLayerer/LayerSpan",578),b(1403,1,vr,W5n),o.rg=function(e){return u(e,36),vie},o.Kf=function(e,t){SCe(this,u(e,36),t)};var vie;w(Ll,"LongestPathLayerer",1403),b(1412,1,vr,V5n),o.rg=function(e){return u(e,36),kie},o.Kf=function(e,t){QCe(this,u(e,36),t)};var kie;w(Ll,"LongestPathSourceLayerer",1412),b(1410,1,vr,J5n),o.rg=function(e){return u(e,36),Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)},o.Kf=function(e,t){sNe(this,u(e,36),t)},o.a=0,o.b=0,o.d=0;var Yhn,Zhn;w(Ll,"MinWidthLayerer",1410),b(1411,1,De,L7n),o.Ne=function(e,t){return Ive(this,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ll,"MinWidthLayerer/MinOutgoingEdgesComparator",1411),b(1402,1,vr,Q5n),o.rg=function(e){return u(e,36),yie},o.Kf=function(e,t){jAe(this,u(e,36),t)};var yie;w(Ll,"NetworkSimplexLayerer",1402),b(1408,1,vr,FSn),o.rg=function(e){return u(e,36),Fe(Fe(Fe(new ii,(Vi(),Vs),(tr(),b2)),Jh,N0),Ac,L0)},o.Kf=function(e,t){uLe(this,u(e,36),t)},o.d=0,o.f=0,o.g=0,o.i=0,o.s=0,o.t=0,o.u=0,w(Ll,"StretchWidthLayerer",1408),b(1409,1,De,Xpn),o.Ne=function(e,t){return ume(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ll,"StretchWidthLayerer/1",1409),b(413,1,jrn),o.gg=function(e,t,i,r,c,s){},o.ug=function(e,t,i){return aUn(this,e,t,i)},o.fg=function(){this.g=F(cg,fVn,28,this.d,15,1),this.f=F(cg,fVn,28,this.d,15,1)},o.hg=function(e,t){this.e[e]=F(ye,_e,28,t[e].length,15,1)},o.ig=function(e,t,i){var r;r=i[e][t],r.p=t,this.e[e][t]=t},o.jg=function(e,t,i,r){u(sn(r[e][t].j,i),12).p=this.d++},o.b=0,o.c=0,o.d=0,w(Du,"AbstractBarycenterPortDistributor",413),b(1698,1,De,N7n),o.Ne=function(e,t){return t9e(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Du,"AbstractBarycenterPortDistributor/lambda$0$Type",1698),b(832,1,Fy,gJ),o.gg=function(e,t,i,r,c,s){},o.ig=function(e,t,i){},o.jg=function(e,t,i,r){},o.eg=function(){return!1},o.fg=function(){this.c=this.e.a,this.g=this.f.g},o.hg=function(e,t){t[e][0].c.p=e},o.kg=function(){return!1},o.vg=function(e,t,i,r){i?bFn(this,e):(mFn(this,e,r),DGn(this,e,t)),e.c.length>1&&(on(un(v(Hi((Nn(0,e.c.length),u(e.c[0],10))),(cn(),fw))))?HHn(e,this.d,u(this,669)):(Ln(),Yt(e,this.d)),Hxn(this.e,e))},o.lg=function(e,t,i,r){var c,s,f,h,l,a,d;for(t!=cIn(i,e.length)&&(s=e[t-(i?1:-1)],FJ(this.f,s,i?(gr(),Jc):(gr(),Vu))),c=e[t][0],d=!r||c.k==(Vn(),Zt),a=Af(e[t]),this.vg(a,d,!1,i),f=0,l=new M(a);l.a<l.c.c.length;)h=u(E(l),10),e[t][f++]=h;return!1},o.mg=function(e,t){var i,r,c,s,f;for(f=cIn(t,e.length),s=Af(e[f]),this.vg(s,!1,!0,t),i=0,c=new M(s);c.a<c.c.c.length;)r=u(E(c),10),e[f][i++]=r;return!1},w(Du,"BarycenterHeuristic",832),b(667,1,{667:1},x7n),o.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},o.b=0,o.d=0,o.e=!1;var jie=w(Du,"BarycenterHeuristic/BarycenterState",667);b(1865,1,De,D7n),o.Ne=function(e,t){return Jke(this.a,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Du,"BarycenterHeuristic/lambda$0$Type",1865),b(831,1,Fy,WZ),o.fg=function(){},o.gg=function(e,t,i,r,c,s){},o.jg=function(e,t,i,r){},o.hg=function(e,t){this.a[e]=F(jie,{3:1,4:1,5:1,2117:1},667,t[e].length,0,1),this.b[e]=F(Eie,{3:1,4:1,5:1,2118:1},239,t[e].length,0,1)},o.ig=function(e,t,i){ZKn(this,i[e][t],!0)},o.c=!1,w(Du,"ForsterConstraintResolver",831),b(239,1,{239:1},zOn,kGn),o.Ib=function(){var e,t;for(t=new R1,t.a+="[",e=0;e<this.d.length;e++)Be(t,bBn(this.d[e])),Sf(this.g,this.d[0]).a!=null&&Be(Be((t.a+="<",t),jle(Sf(this.g,this.d[0]).a)),">"),e<this.d.length-1&&(t.a+=ur);return(t.a+="]",t).a},o.a=0,o.c=0,o.f=0;var Eie=w(Du,"ForsterConstraintResolver/ConstraintGroup",239);b(1860,1,re,$7n),o.Cd=function(e){ZKn(this.a,u(e,10),!1)},w(Du,"ForsterConstraintResolver/lambda$0$Type",1860),b(219,1,{219:1,230:1},EGn),o.gg=function(e,t,i,r,c,s){},o.hg=function(e,t){},o.fg=function(){this.r=F(ye,_e,28,this.n,15,1)},o.ig=function(e,t,i){var r,c;c=i[e][t],r=c.e,r&&nn(this.b,r)},o.jg=function(e,t,i,r){++this.n},o.Ib=function(){return $Gn(this.e,new ni)},o.g=!1,o.i=!1,o.n=0,o.s=!1,w(Du,"GraphInfoHolder",219),b(1905,1,Fy,Vpn),o.gg=function(e,t,i,r,c,s){},o.hg=function(e,t){},o.jg=function(e,t,i,r){},o.ug=function(e,t,i){return i&&t>0?LD(this.a,e[t-1],e[t]):!i&&t<e.length-1?LD(this.a,e[t],e[t+1]):C$(this.a,e[t],i?(en(),Wn):(en(),Zn)),ITe(this,e,t,i)},o.fg=function(){this.d=F(ye,_e,28,this.c,15,1),this.a=new L7(this.d)},o.ig=function(e,t,i){var r;r=i[e][t],this.c+=r.j.c.length},o.c=0,w(Du,"GreedyPortDistributor",1905),b(1421,1,vr,t8n),o.rg=function(e){return X6e(u(e,36))},o.Kf=function(e,t){HAe(u(e,36),t)};var Mie;w(Du,"InteractiveCrossingMinimizer",1421),b(1422,1,De,K7n),o.Ne=function(e,t){return Ake(this,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Du,"InteractiveCrossingMinimizer/1",1422),b(514,1,{514:1,106:1,47:1},gL),o.rg=function(e){var t;return u(e,36),t=AM(Tie),Fe(t,(Vi(),Ac),(tr(),RI)),t},o.Kf=function(e,t){WPe(this,u(e,36),t)},o.e=0;var Tie;w(Du,"LayerSweepCrossingMinimizer",514),b(1418,1,re,B7n),o.Cd=function(e){BIe(this.a,u(e,219))},w(Du,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1418),b(1419,1,re,F7n),o.Cd=function(e){G6e(this.a,u(e,219))},w(Du,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1419),b(1420,1,re,_7n),o.Cd=function(e){YUn(this.a,u(e,219))},w(Du,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1420),b(463,22,{3:1,34:1,22:1,463:1},ZL);var Oj,Q8,IO,Cie=we(Du,"LayerSweepCrossingMinimizer/CrossMinType",463,ke,W2e,nbe),Sie;b(1417,1,Le,Wpn),o.Mb=function(e){return RQ(),u(e,30).a.c.length==0},w(Du,"LayerSweepCrossingMinimizer/lambda$0$Type",1417),b(1862,1,Fy,MAn),o.fg=function(){},o.gg=function(e,t,i,r,c,s){},o.jg=function(e,t,i,r){},o.hg=function(e,t){t[e][0].c.p=e,this.b[e]=F(Pie,{3:1,4:1,5:1,2043:1},668,t[e].length,0,1)},o.ig=function(e,t,i){var r;r=i[e][t],r.p=t,$t(this.b[e],t,new Jpn)},w(Du,"LayerSweepTypeDecider",1862),b(668,1,{668:1},Jpn),o.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},o.a=0,o.b=0,o.c=0;var Pie=w(Du,"LayerSweepTypeDecider/NodeInfo",668);b(1863,1,ph,Qpn),o.Lb=function(e){return O6(new Lf(u(e,12).b))},o.Fb=function(e){return this===e},o.Mb=function(e){return O6(new Lf(u(e,12).b))},w(Du,"LayerSweepTypeDecider/lambda$0$Type",1863),b(1864,1,ph,Ypn),o.Lb=function(e){return O6(new Lf(u(e,12).b))},o.Fb=function(e){return this===e},o.Mb=function(e){return O6(new Lf(u(e,12).b))},w(Du,"LayerSweepTypeDecider/lambda$1$Type",1864),b(1906,413,jrn,Vjn),o.tg=function(e,t,i){var r,c,s,f,h,l,a,d,g;switch(a=this.g,i.g){case 1:{for(r=0,c=0,l=new M(e.j);l.a<l.c.c.length;)f=u(E(l),12),f.e.c.length!=0&&(++r,f.j==(en(),Xn)&&++c);for(s=t+c,g=t+r,h=$b(e,(gr(),Vu)).Kc();h.Ob();)f=u(h.Pb(),12),f.j==(en(),Xn)?(a[f.p]=s,--s):(a[f.p]=g,--g);return r}case 2:{for(d=0,h=$b(e,(gr(),Jc)).Kc();h.Ob();)f=u(h.Pb(),12),++d,a[f.p]=t+d;return d}default:throw T(new W9)}},w(Du,"LayerTotalPortDistributor",1906),b(669,832,{669:1,230:1},wxn),o.vg=function(e,t,i,r){i?bFn(this,e):(mFn(this,e,r),DGn(this,e,t)),e.c.length>1&&(on(un(v(Hi((Nn(0,e.c.length),u(e.c[0],10))),(cn(),fw))))?HHn(e,this.d,this):(Ln(),Yt(e,this.d)),on(un(v(Hi((Nn(0,e.c.length),u(e.c[0],10))),fw)))||Hxn(this.e,e))},w(Du,"ModelOrderBarycenterHeuristic",669),b(1866,1,De,H7n),o.Ne=function(e,t){return Aje(this.a,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Du,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),b(1423,1,vr,i8n),o.rg=function(e){var t;return u(e,36),t=AM(Iie),Fe(t,(Vi(),Ac),(tr(),RI)),t},o.Kf=function(e,t){bge((u(e,36),t))};var Iie;w(Du,"NoCrossingMinimizer",1423),b(809,413,jrn,yz),o.tg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m;switch(g=this.g,i.g){case 1:{for(c=0,s=0,d=new M(e.j);d.a<d.c.c.length;)l=u(E(d),12),l.e.c.length!=0&&(++c,l.j==(en(),Xn)&&++s);for(r=1/(c+1),f=t+s*r,m=t+1-r,a=$b(e,(gr(),Vu)).Kc();a.Ob();)l=u(a.Pb(),12),l.j==(en(),Xn)?(g[l.p]=f,f-=r):(g[l.p]=m,m-=r);break}case 2:{for(h=0,d=new M(e.j);d.a<d.c.c.length;)l=u(E(d),12),l.g.c.length==0||++h;for(r=1/(h+1),p=t+r,a=$b(e,(gr(),Jc)).Kc();a.Ob();)l=u(a.Pb(),12),g[l.p]=p,p+=r;break}default:throw T(new Gn("Port type is undefined"))}return 1},w(Du,"NodeRelativePortDistributor",809),b(822,1,{},xIn,JFn),w(Du,"SweepCopy",822),b(1861,1,Fy,DKn),o.hg=function(e,t){},o.fg=function(){var e;e=F(ye,_e,28,this.f,15,1),this.d=new J7n(e),this.a=new L7(e)},o.gg=function(e,t,i,r,c,s){var f;f=u(sn(s[e][t].j,i),12),c.c==f&&c.c.i.c==c.d.i.c&&++this.e[e]},o.ig=function(e,t,i){var r;r=i[e][t],this.c[e]=this.c[e]|r.k==(Vn(),_c)},o.jg=function(e,t,i,r){var c;c=u(sn(r[e][t].j,i),12),c.p=this.f++,c.g.c.length+c.e.c.length>1&&(c.j==(en(),Zn)?this.b[e]=!0:c.j==Wn&&e>0&&(this.b[e-1]=!0))},o.f=0,w(Vh,"AllCrossingsCounter",1861),b(595,1,{},EC),o.b=0,o.d=0,w(Vh,"BinaryIndexedTree",595),b(532,1,{},L7);var nln,OO;w(Vh,"CrossingsCounter",532),b(1950,1,De,q7n),o.Ne=function(e,t){return Fwe(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Vh,"CrossingsCounter/lambda$0$Type",1950),b(1951,1,De,U7n),o.Ne=function(e,t){return _we(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Vh,"CrossingsCounter/lambda$1$Type",1951),b(1952,1,De,G7n),o.Ne=function(e,t){return Hwe(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Vh,"CrossingsCounter/lambda$2$Type",1952),b(1953,1,De,z7n),o.Ne=function(e,t){return qwe(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Vh,"CrossingsCounter/lambda$3$Type",1953),b(1954,1,re,X7n),o.Cd=function(e){qme(this.a,u(e,12))},w(Vh,"CrossingsCounter/lambda$4$Type",1954),b(1955,1,Le,V7n),o.Mb=function(e){return ble(this.a,u(e,12))},w(Vh,"CrossingsCounter/lambda$5$Type",1955),b(1956,1,re,W7n),o.Cd=function(e){OTn(this,e)},w(Vh,"CrossingsCounter/lambda$6$Type",1956),b(1957,1,re,_Mn),o.Cd=function(e){var t;vm(),J1(this.b,(t=this.a,u(e,12),t))},w(Vh,"CrossingsCounter/lambda$7$Type",1957),b(839,1,ph,JU),o.Lb=function(e){return vm(),kt(u(e,12),(W(),Xu))},o.Fb=function(e){return this===e},o.Mb=function(e){return vm(),kt(u(e,12),(W(),Xu))},w(Vh,"CrossingsCounter/lambda$8$Type",839),b(1949,1,{},J7n),w(Vh,"HyperedgeCrossingsCounter",1949),b(477,1,{34:1,477:1},USn),o.Fd=function(e){return H8e(this,u(e,477))},o.b=0,o.c=0,o.e=0,o.f=0;var jDe=w(Vh,"HyperedgeCrossingsCounter/Hyperedge",477);b(374,1,{34:1,374:1},ET),o.Fd=function(e){return tTe(this,u(e,374))},o.b=0,o.c=0;var Oie=w(Vh,"HyperedgeCrossingsCounter/HyperedgeCorner",374);b(531,22,{3:1,34:1,22:1,531:1},Zz);var Y8,Z8,Aie=we(Vh,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,ke,Gge,ebe),Lie;b(1425,1,vr,r8n),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Nie:null},o.Kf=function(e,t){dke(this,u(e,36),t)};var Nie;w(kr,"InteractiveNodePlacer",1425),b(1426,1,vr,c8n),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Die:null},o.Kf=function(e,t){Q9e(this,u(e,36),t)};var Die,AO,LO;w(kr,"LinearSegmentsNodePlacer",1426),b(261,1,{34:1,261:1},WG),o.Fd=function(e){return Che(this,u(e,261))},o.Fb=function(e){var t;return L(e,261)?(t=u(e,261),this.b==t.b):!1},o.Hb=function(){return this.b},o.Ib=function(){return"ls"+ua(this.e)},o.a=0,o.b=0,o.c=-1,o.d=-1,o.g=0;var $ie=w(kr,"LinearSegmentsNodePlacer/LinearSegment",261);b(1428,1,vr,wIn),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?xie:null},o.Kf=function(e,t){CNe(this,u(e,36),t)},o.b=0,o.g=0;var xie;w(kr,"NetworkSimplexPlacer",1428),b(1447,1,De,Zpn),o.Ne=function(e,t){return jc(u(e,17).a,u(t,17).a)},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(kr,"NetworkSimplexPlacer/0methodref$compare$Type",1447),b(1449,1,De,n3n),o.Ne=function(e,t){return jc(u(e,17).a,u(t,17).a)},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(kr,"NetworkSimplexPlacer/1methodref$compare$Type",1449),b(655,1,{655:1},HMn);var EDe=w(kr,"NetworkSimplexPlacer/EdgeRep",655);b(412,1,{412:1},GW),o.b=!1;var MDe=w(kr,"NetworkSimplexPlacer/NodeRep",412);b(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},Yyn),w(kr,"NetworkSimplexPlacer/Path",515),b(1429,1,{},e3n),o.Kb=function(e){return u(e,18).d.i.k},w(kr,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),b(1430,1,Le,t3n),o.Mb=function(e){return u(e,273)==(Vn(),Ti)},w(kr,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),b(1431,1,{},i3n),o.Kb=function(e){return u(e,18).d.i},w(kr,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),b(1432,1,Le,Q7n),o.Mb=function(e){return PSn(AKn(u(e,10)))},w(kr,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),b(1433,1,Le,r3n),o.Mb=function(e){return Mwe(u(e,12))},w(kr,"NetworkSimplexPlacer/lambda$0$Type",1433),b(1434,1,re,qMn),o.Cd=function(e){c1e(this.a,this.b,u(e,12))},w(kr,"NetworkSimplexPlacer/lambda$1$Type",1434),b(1443,1,re,Y7n),o.Cd=function(e){AEe(this.a,u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$10$Type",1443),b(1444,1,{},c3n),o.Kb=function(e){return ko(),new Cn(null,new On(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$11$Type",1444),b(1445,1,re,Z7n),o.Cd=function(e){TSe(this.a,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$12$Type",1445),b(1446,1,{},u3n),o.Kb=function(e){return ko(),Y(u(e,125).e)},w(kr,"NetworkSimplexPlacer/lambda$13$Type",1446),b(1448,1,{},o3n),o.Kb=function(e){return ko(),Y(u(e,125).e)},w(kr,"NetworkSimplexPlacer/lambda$15$Type",1448),b(1450,1,Le,s3n),o.Mb=function(e){return ko(),u(e,412).c.k==(Vn(),Xt)},w(kr,"NetworkSimplexPlacer/lambda$17$Type",1450),b(1451,1,Le,f3n),o.Mb=function(e){return ko(),u(e,412).c.j.c.length>1},w(kr,"NetworkSimplexPlacer/lambda$18$Type",1451),b(1452,1,re,EOn),o.Cd=function(e){h8e(this.c,this.b,this.d,this.a,u(e,412))},o.c=0,o.d=0,w(kr,"NetworkSimplexPlacer/lambda$19$Type",1452),b(1435,1,{},h3n),o.Kb=function(e){return ko(),new Cn(null,new On(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$2$Type",1435),b(1453,1,re,nkn),o.Cd=function(e){o1e(this.a,u(e,12))},o.a=0,w(kr,"NetworkSimplexPlacer/lambda$20$Type",1453),b(1454,1,{},l3n),o.Kb=function(e){return ko(),new Cn(null,new On(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$21$Type",1454),b(1455,1,re,ekn),o.Cd=function(e){v1e(this.a,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$22$Type",1455),b(1456,1,Le,a3n),o.Mb=function(e){return PSn(e)},w(kr,"NetworkSimplexPlacer/lambda$23$Type",1456),b(1457,1,{},d3n),o.Kb=function(e){return ko(),new Cn(null,new On(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$24$Type",1457),b(1458,1,Le,tkn),o.Mb=function(e){return Ple(this.a,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$25$Type",1458),b(1459,1,re,UMn),o.Cd=function(e){$je(this.a,this.b,u(e,10))},w(kr,"NetworkSimplexPlacer/lambda$26$Type",1459),b(1460,1,Le,b3n),o.Mb=function(e){return ko(),!fr(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$27$Type",1460),b(1461,1,Le,w3n),o.Mb=function(e){return ko(),!fr(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$28$Type",1461),b(1462,1,{},ikn),o.Ve=function(e,t){return u1e(this.a,u(e,30),u(t,30))},w(kr,"NetworkSimplexPlacer/lambda$29$Type",1462),b(1436,1,{},g3n),o.Kb=function(e){return ko(),new Cn(null,new wb(new ie(ce(Qt(u(e,10)).a.Kc(),new En))))},w(kr,"NetworkSimplexPlacer/lambda$3$Type",1436),b(1437,1,Le,p3n),o.Mb=function(e){return ko(),xpe(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$4$Type",1437),b(1438,1,re,rkn),o.Cd=function(e){DIe(this.a,u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$5$Type",1438),b(1439,1,{},m3n),o.Kb=function(e){return ko(),new Cn(null,new On(u(e,30).a,16))},w(kr,"NetworkSimplexPlacer/lambda$6$Type",1439),b(1440,1,Le,v3n),o.Mb=function(e){return ko(),u(e,10).k==(Vn(),Xt)},w(kr,"NetworkSimplexPlacer/lambda$7$Type",1440),b(1441,1,{},k3n),o.Kb=function(e){return ko(),new Cn(null,new wb(new ie(ce(Ml(u(e,10)).a.Kc(),new En))))},w(kr,"NetworkSimplexPlacer/lambda$8$Type",1441),b(1442,1,Le,y3n),o.Mb=function(e){return ko(),Ewe(u(e,18))},w(kr,"NetworkSimplexPlacer/lambda$9$Type",1442),b(1424,1,vr,u8n),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Rie:null},o.Kf=function(e,t){bOe(u(e,36),t)};var Rie;w(kr,"SimpleNodePlacer",1424),b(185,1,{185:1},Wg),o.Ib=function(){var e;return e="",this.c==(fh(),gw)?e+=f3:this.c==y1&&(e+=s3),this.o==(If(),Bd)?e+=_K:this.o==Xf?e+="UP":e+="BALANCED",e},w(ba,"BKAlignedLayout",185),b(523,22,{3:1,34:1,22:1,523:1},nX);var y1,gw,Kie=we(ba,"BKAlignedLayout/HDirection",523,ke,zge,tbe),Bie;b(522,22,{3:1,34:1,22:1,522:1},eX);var Bd,Xf,Fie=we(ba,"BKAlignedLayout/VDirection",522,ke,Xge,ibe),_ie;b(1699,1,{},GMn),w(ba,"BKAligner",1699),b(1702,1,{},tFn),w(ba,"BKCompactor",1702),b(663,1,{663:1},j3n),o.a=0,w(ba,"BKCompactor/ClassEdge",663),b(466,1,{466:1},Wyn),o.a=null,o.b=0,w(ba,"BKCompactor/ClassNode",466),b(1427,1,vr,WMn),o.rg=function(e){return u(v(u(e,36),(W(),Hc)),21).Hc((pr(),cs))?Hie:null},o.Kf=function(e,t){UNe(this,u(e,36),t)},o.d=!1;var Hie;w(ba,"BKNodePlacer",1427),b(1700,1,{},E3n),o.d=0,w(ba,"NeighborhoodInformation",1700),b(1701,1,De,ckn),o.Ne=function(e,t){return m4e(this,u(e,42),u(t,42))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(ba,"NeighborhoodInformation/NeighborComparator",1701),b(823,1,{}),w(ba,"ThresholdStrategy",823),b(1825,823,{},Jyn),o.wg=function(e,t,i){return this.a.o==(If(),Xf)?Pt:li},o.xg=function(){},w(ba,"ThresholdStrategy/NullThresholdStrategy",1825),b(587,1,{587:1},JMn),o.c=!1,o.d=!1,w(ba,"ThresholdStrategy/Postprocessable",587),b(1826,823,{},Qyn),o.wg=function(e,t,i){var r,c,s;return c=t==i,r=this.a.a[i.p]==t,c||r?(s=e,this.a.c==(fh(),gw)?(c&&(s=FR(this,t,!0)),!isNaN(s)&&!isFinite(s)&&r&&(s=FR(this,i,!1))):(c&&(s=FR(this,t,!0)),!isNaN(s)&&!isFinite(s)&&r&&(s=FR(this,i,!1))),s):e},o.xg=function(){for(var e,t,i,r,c;this.d.b!=0;)c=u(f2e(this.d),587),r=IUn(this,c),r.a&&(e=r.a,i=on(this.a.f[this.a.g[c.b.p].p]),!(!i&&!fr(e)&&e.c.i.c==e.d.i.c)&&(t=DHn(this,c),t||Ale(this.e,c)));for(;this.e.a.c.length!=0;)DHn(this,u(DRn(this.e),587))},w(ba,"ThresholdStrategy/SimpleThresholdStrategy",1826),b(645,1,{645:1,188:1,196:1},M3n),o.dg=function(){return qxn(this)},o.qg=function(){return qxn(this)};var QH;w(BB,"EdgeRouterFactory",645),b(1485,1,vr,o8n),o.rg=function(e){return eSe(u(e,36))},o.Kf=function(e,t){yOe(u(e,36),t)};var qie,Uie,Gie,zie,Xie,eln,Vie,Wie;w(BB,"OrthogonalEdgeRouter",1485),b(1478,1,vr,VMn),o.rg=function(e){return Eke(u(e,36))},o.Kf=function(e,t){ULe(this,u(e,36),t)};var Jie,Qie,Yie,Zie,Aj,nre;w(BB,"PolylineEdgeRouter",1478),b(1479,1,ph,C3n),o.Lb=function(e){return HQ(u(e,10))},o.Fb=function(e){return this===e},o.Mb=function(e){return HQ(u(e,10))},w(BB,"PolylineEdgeRouter/1",1479),b(1872,1,Le,S3n),o.Mb=function(e){return u(e,132).c==(af(),Ma)},w(mf,"HyperEdgeCycleDetector/lambda$0$Type",1872),b(1873,1,{},P3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$1$Type",1873),b(1874,1,Le,I3n),o.Mb=function(e){return u(e,132).c==(af(),Ma)},w(mf,"HyperEdgeCycleDetector/lambda$2$Type",1874),b(1875,1,{},O3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$3$Type",1875),b(1876,1,{},A3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$4$Type",1876),b(1877,1,{},T3n),o.Ze=function(e){return u(e,132).d},w(mf,"HyperEdgeCycleDetector/lambda$5$Type",1877),b(118,1,{34:1,118:1},kk),o.Fd=function(e){return She(this,u(e,118))},o.Fb=function(e){var t;return L(e,118)?(t=u(e,118),this.g==t.g):!1},o.Hb=function(){return this.g},o.Ib=function(){var e,t,i,r;for(e=new mo("{"),r=new M(this.n);r.a<r.c.c.length;)i=u(E(r),12),t=Hk(i.i),t==null&&(t="n"+ePn(i.i)),e.a+=""+t,r.a<r.c.c.length&&(e.a+=",");return e.a+="}",e.a},o.a=0,o.b=0,o.c=NaN,o.d=0,o.g=0,o.i=0,o.o=0,o.s=NaN,w(mf,"HyperEdgeSegment",118),b(132,1,{132:1},ed),o.Ib=function(){return this.a+"->"+this.b+" ("+z1e(this.c)+")"},o.d=0,w(mf,"HyperEdgeSegmentDependency",132),b(528,22,{3:1,34:1,22:1,528:1},tX);var Ma,z0,ere=we(mf,"HyperEdgeSegmentDependency/DependencyType",528,ke,Vge,rbe),tre;b(1878,1,{},ukn),w(mf,"HyperEdgeSegmentSplitter",1878),b(1879,1,{},Yjn),o.a=0,o.b=0,w(mf,"HyperEdgeSegmentSplitter/AreaRating",1879),b(339,1,{339:1},FN),o.a=0,o.b=0,o.c=0,w(mf,"HyperEdgeSegmentSplitter/FreeArea",339),b(1880,1,De,L3n),o.Ne=function(e,t){return zae(u(e,118),u(t,118))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(mf,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),b(1881,1,re,MOn),o.Cd=function(e){k3e(this.a,this.d,this.c,this.b,u(e,118))},o.b=0,w(mf,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),b(1882,1,{},N3n),o.Kb=function(e){return new Cn(null,new On(u(e,118).e,16))},w(mf,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),b(1883,1,{},D3n),o.Kb=function(e){return new Cn(null,new On(u(e,118).j,16))},w(mf,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),b(1884,1,{},$3n),o.Ye=function(e){return $(B(e))},w(mf,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),b(664,1,{},lD),o.a=0,o.b=0,o.c=0,w(mf,"OrthogonalRoutingGenerator",664),b(1703,1,{},x3n),o.Kb=function(e){return new Cn(null,new On(u(e,118).e,16))},w(mf,"OrthogonalRoutingGenerator/lambda$0$Type",1703),b(1704,1,{},R3n),o.Kb=function(e){return new Cn(null,new On(u(e,118).j,16))},w(mf,"OrthogonalRoutingGenerator/lambda$1$Type",1704),b(670,1,{}),w(FB,"BaseRoutingDirectionStrategy",670),b(1870,670,{},ejn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;if(!(e.r&&!e.q))for(d=t+e.o*i,a=new M(e.n);a.a<a.c.c.length;)for(l=u(E(a),12),g=cc(S(C(Ei,1),J,8,0,[l.i.n,l.n,l.a])).a,h=new M(l.g);h.a<h.c.c.length;)f=u(E(h),18),fr(f)||(k=f.d,j=cc(S(C(Ei,1),J,8,0,[k.i.n,k.n,k.a])).a,y.Math.abs(g-j)>vh&&(s=d,c=e,r=new V(g,s),Re(f.a,r),_b(this,f,c,r,!1),p=e.r,p&&(m=$(B(Zo(p.e,0))),r=new V(m,s),Re(f.a,r),_b(this,f,c,r,!1),s=t+p.o*i,c=p,r=new V(m,s),Re(f.a,r),_b(this,f,c,r,!1)),r=new V(j,s),Re(f.a,r),_b(this,f,c,r,!1)))},o.zg=function(e){return e.i.n.a+e.n.a+e.a.a},o.Ag=function(){return en(),ae},o.Bg=function(){return en(),Xn},w(FB,"NorthToSouthRoutingStrategy",1870),b(1871,670,{},tjn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;if(!(e.r&&!e.q))for(d=t-e.o*i,a=new M(e.n);a.a<a.c.c.length;)for(l=u(E(a),12),g=cc(S(C(Ei,1),J,8,0,[l.i.n,l.n,l.a])).a,h=new M(l.g);h.a<h.c.c.length;)f=u(E(h),18),fr(f)||(k=f.d,j=cc(S(C(Ei,1),J,8,0,[k.i.n,k.n,k.a])).a,y.Math.abs(g-j)>vh&&(s=d,c=e,r=new V(g,s),Re(f.a,r),_b(this,f,c,r,!1),p=e.r,p&&(m=$(B(Zo(p.e,0))),r=new V(m,s),Re(f.a,r),_b(this,f,c,r,!1),s=t-p.o*i,c=p,r=new V(m,s),Re(f.a,r),_b(this,f,c,r,!1)),r=new V(j,s),Re(f.a,r),_b(this,f,c,r,!1)))},o.zg=function(e){return e.i.n.a+e.n.a+e.a.a},o.Ag=function(){return en(),Xn},o.Bg=function(){return en(),ae},w(FB,"SouthToNorthRoutingStrategy",1871),b(1869,670,{},ijn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,p,m,k,j;if(!(e.r&&!e.q))for(d=t+e.o*i,a=new M(e.n);a.a<a.c.c.length;)for(l=u(E(a),12),g=cc(S(C(Ei,1),J,8,0,[l.i.n,l.n,l.a])).b,h=new M(l.g);h.a<h.c.c.length;)f=u(E(h),18),fr(f)||(k=f.d,j=cc(S(C(Ei,1),J,8,0,[k.i.n,k.n,k.a])).b,y.Math.abs(g-j)>vh&&(s=d,c=e,r=new V(s,g),Re(f.a,r),_b(this,f,c,r,!0),p=e.r,p&&(m=$(B(Zo(p.e,0))),r=new V(s,m),Re(f.a,r),_b(this,f,c,r,!0),s=t+p.o*i,c=p,r=new V(s,m),Re(f.a,r),_b(this,f,c,r,!0)),r=new V(s,j),Re(f.a,r),_b(this,f,c,r,!0)))},o.zg=function(e){return e.i.n.b+e.n.b+e.a.b},o.Ag=function(){return en(),Zn},o.Bg=function(){return en(),Wn},w(FB,"WestToEastRoutingStrategy",1869),b(828,1,{},Ben),o.Ib=function(){return ua(this.a)},o.b=0,o.c=!1,o.d=!1,o.f=0,w(j0,"NubSpline",828),b(418,1,{418:1},dqn,tAn),w(j0,"NubSpline/PolarCP",418),b(1480,1,vr,VBn),o.rg=function(e){return aye(u(e,36))},o.Kf=function(e,t){fNe(this,u(e,36),t)};var ire,rre,cre,ure,ore;w(j0,"SplineEdgeRouter",1480),b(274,1,{274:1},XT),o.Ib=function(){return this.a+" ->("+this.c+") "+this.b},o.c=0,w(j0,"SplineEdgeRouter/Dependency",274),b(464,22,{3:1,34:1,22:1,464:1},iX);var Ta,O2,sre=we(j0,"SplineEdgeRouter/SideToProcess",464,ke,n2e,cbe),fre;b(1481,1,Le,K3n),o.Mb=function(e){return x5(),!u(e,131).o},w(j0,"SplineEdgeRouter/lambda$0$Type",1481),b(1482,1,{},B3n),o.Ze=function(e){return x5(),u(e,131).v+1},w(j0,"SplineEdgeRouter/lambda$1$Type",1482),b(1483,1,re,QMn),o.Cd=function(e){Swe(this.a,this.b,u(e,42))},w(j0,"SplineEdgeRouter/lambda$2$Type",1483),b(1484,1,re,YMn),o.Cd=function(e){Pwe(this.a,this.b,u(e,42))},w(j0,"SplineEdgeRouter/lambda$3$Type",1484),b(131,1,{34:1,131:1},C_n,Gen),o.Fd=function(e){return Ohe(this,u(e,131))},o.b=0,o.e=!1,o.f=0,o.g=0,o.j=!1,o.k=!1,o.n=0,o.o=!1,o.p=!1,o.q=!1,o.s=0,o.u=0,o.v=0,o.F=0,w(j0,"SplineSegment",131),b(467,1,{467:1},F3n),o.a=0,o.b=!1,o.c=!1,o.d=!1,o.e=!1,o.f=0,w(j0,"SplineSegment/EdgeInformation",467),b(1198,1,{},_3n),w(Nl,Htn,1198),b(1199,1,De,H3n),o.Ne=function(e,t){return VEe(u(e,121),u(t,121))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Nl,EXn,1199),b(1197,1,{},bEn),w(Nl,"MrTree",1197),b(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},gM),o.dg=function(){return V_n(this)},o.qg=function(){return V_n(this)};var NO,n9,e9,t9,tln=we(Nl,"TreeLayoutPhases",405,ke,i3e,ube),hre;b(1112,205,yd,HSn),o.rf=function(e,t){var i,r,c,s,f,h,l,a;for(on(un(z(e,(lc(),Sln))))||NT((i=new z9((Aw(),new Pw(e))),i)),f=t.eh(qB),f.Ug("build tGraph",1),h=(l=new ek,Ur(l,e),U(l,(pt(),r9),e),a=new de,_Pe(e,l,a),uIe(e,l,a),l),f.Vg(),f=t.eh(qB),f.Ug("Split graph",1),s=XPe(this.a,h),f.Vg(),c=new M(s);c.a<c.c.c.length;)r=u(E(c),121),Qke(this.b,r,t.eh(.5999999940395355/s.c.length));f=t.eh(qB),f.Ug("Pack components",1),h=GNe(s),f.Vg(),f=t.eh(qB),f.Ug("Apply layout results",1),DAe(h),f.Vg()},w(Nl,"TreeLayoutProvider",1112),b(1894,1,qh,U3n),o.Jc=function(e){qi(this,e)},o.Kc=function(){return Ln(),hm(),sv},w(Nl,"TreeUtil/1",1894),b(1895,1,qh,G3n),o.Jc=function(e){qi(this,e)},o.Kc=function(){return Ln(),hm(),sv},w(Nl,"TreeUtil/2",1895),b(1885,1,Le,z3n),o.Mb=function(e){return on(un(v(u(e,39),(pt(),Ca))))},w(Nl,"TreeUtil/lambda$0$Type",1885),b(1891,1,Le,okn),o.Mb=function(e){return this.a.Hc(u(e,39))},w(Nl,"TreeUtil/lambda$10$Type",1891),b(1892,1,{},skn),o.Kb=function(e){return t3e(this.a,u(e,39))},w(Nl,"TreeUtil/lambda$11$Type",1892),b(1893,1,Le,ZMn),o.Mb=function(e){return n4e(this.a,this.b,u(e,39))},w(Nl,"TreeUtil/lambda$12$Type",1893),b(1886,1,Le,fkn),o.Mb=function(e){return F5e(this.a,u(e,65))},w(Nl,"TreeUtil/lambda$3$Type",1886),b(1887,1,De,q3n),o.Ne=function(e,t){return Xae(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Nl,"TreeUtil/lambda$4$Type",1887),b(1888,1,Le,hkn),o.Mb=function(e){return _5e(this.a,u(e,65))},w(Nl,"TreeUtil/lambda$7$Type",1888),b(1889,1,De,X3n),o.Ne=function(e,t){return Vae(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Nl,"TreeUtil/lambda$8$Type",1889),b(1890,1,{},V3n),o.Kb=function(e){return u(e,65).b},w(Nl,"TreeUtil/lambda$9$Type",1890),b(508,137,{3:1,508:1,96:1,137:1}),o.g=0,w(s8,"TGraphElement",508),b(65,508,{3:1,65:1,508:1,96:1,137:1},VW),o.Ib=function(){return this.b&&this.c?td(this.b)+"->"+td(this.c):"e_"+mt(this)},w(s8,"TEdge",65),b(121,137,{3:1,121:1,96:1,137:1},ek),o.Ib=function(){var e,t,i,r,c;for(c=null,r=ge(this.b,0);r.b!=r.d.c;)i=u(be(r),39),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+`
`;for(t=ge(this.a,0);t.b!=t.d.c;)e=u(be(t),65),c+=(e.b&&e.c?td(e.b)+"->"+td(e.c):"e_"+mt(e))+`
`;return c};var TDe=w(s8,"TGraph",121);b(643,508,{3:1,508:1,643:1,96:1,137:1}),w(s8,"TShape",643),b(39,643,{3:1,508:1,39:1,643:1,96:1,137:1},q$),o.Ib=function(){return td(this)};var DO=w(s8,"TNode",39);b(236,1,qh,sl),o.Jc=function(e){qi(this,e)},o.Kc=function(){var e;return e=ge(this.a.d,0),new sg(e)},w(s8,"TNode/2",236),b(329,1,Pi,sg),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(be(this.a),65).c},o.Ob=function(){return Q9(this.a)},o.Qb=function(){p$(this.a)},w(s8,"TNode/2/1",329),b(1923,1,vt,W3n),o.Kf=function(e,t){BNe(this,u(e,121),t)},w(Bc,"CompactionProcessor",1923),b(1924,1,De,lkn),o.Ne=function(e,t){return Cve(this.a,u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Bc,"CompactionProcessor/lambda$0$Type",1924),b(1925,1,Le,nTn),o.Mb=function(e){return Lge(this.b,this.a,u(e,42))},o.a=0,o.b=0,w(Bc,"CompactionProcessor/lambda$1$Type",1925),b(1934,1,De,J3n),o.Ne=function(e,t){return E0e(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Bc,"CompactionProcessor/lambda$10$Type",1934),b(1935,1,De,Q3n),o.Ne=function(e,t){return R1e(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Bc,"CompactionProcessor/lambda$11$Type",1935),b(1936,1,De,Y3n),o.Ne=function(e,t){return M0e(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Bc,"CompactionProcessor/lambda$12$Type",1936),b(1926,1,Le,akn),o.Mb=function(e){return k1e(this.a,u(e,42))},o.a=0,w(Bc,"CompactionProcessor/lambda$2$Type",1926),b(1927,1,Le,dkn),o.Mb=function(e){return y1e(this.a,u(e,42))},o.a=0,w(Bc,"CompactionProcessor/lambda$3$Type",1927),b(1928,1,Le,Z3n),o.Mb=function(e){return u(e,39).c.indexOf(OP)==-1},w(Bc,"CompactionProcessor/lambda$4$Type",1928),b(1929,1,{},bkn),o.Kb=function(e){return Dpe(this.a,u(e,39))},o.a=0,w(Bc,"CompactionProcessor/lambda$5$Type",1929),b(1930,1,{},wkn),o.Kb=function(e){return Hme(this.a,u(e,39))},o.a=0,w(Bc,"CompactionProcessor/lambda$6$Type",1930),b(1931,1,De,gkn),o.Ne=function(e,t){return Z3e(this.a,u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Bc,"CompactionProcessor/lambda$7$Type",1931),b(1932,1,De,pkn),o.Ne=function(e,t){return nme(this.a,u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Bc,"CompactionProcessor/lambda$8$Type",1932),b(1933,1,De,nmn),o.Ne=function(e,t){return K1e(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Bc,"CompactionProcessor/lambda$9$Type",1933),b(1921,1,vt,emn),o.Kf=function(e,t){$Se(u(e,121),t)},w(Bc,"DirectionProcessor",1921),b(1913,1,vt,_Sn),o.Kf=function(e,t){rIe(this,u(e,121),t)},w(Bc,"FanProcessor",1913),b(1937,1,vt,tmn),o.Kf=function(e,t){ESe(u(e,121),t)},w(Bc,"GraphBoundsProcessor",1937),b(1938,1,{},imn),o.Ye=function(e){return u(e,39).e.a},w(Bc,"GraphBoundsProcessor/lambda$0$Type",1938),b(1939,1,{},rmn),o.Ye=function(e){return u(e,39).e.b},w(Bc,"GraphBoundsProcessor/lambda$1$Type",1939),b(1940,1,{},cmn),o.Ye=function(e){return ile(u(e,39))},w(Bc,"GraphBoundsProcessor/lambda$2$Type",1940),b(1941,1,{},umn),o.Ye=function(e){return tle(u(e,39))},w(Bc,"GraphBoundsProcessor/lambda$3$Type",1941),b(262,22,{3:1,34:1,22:1,262:1,196:1},rb),o.dg=function(){switch(this.g){case 0:return new pjn;case 1:return new _Sn;case 2:return new gjn;case 3:return new lmn;case 4:return new smn;case 8:return new omn;case 5:return new emn;case 6:return new dmn;case 7:return new W3n;case 9:return new tmn;case 10:return new bmn;default:throw T(new Gn(cB+(this.f!=null?this.f:""+this.g)))}};var iln,rln,cln,uln,oln,sln,fln,hln,lln,aln,YH,CDe=we(Bc,uB,262,ke,$xn,obe),lre;b(1920,1,vt,omn),o.Kf=function(e,t){xLe(u(e,121),t)},w(Bc,"LevelCoordinatesProcessor",1920),b(1918,1,vt,smn),o.Kf=function(e,t){iCe(this,u(e,121),t)},o.a=0,w(Bc,"LevelHeightProcessor",1918),b(1919,1,qh,fmn),o.Jc=function(e){qi(this,e)},o.Kc=function(){return Ln(),hm(),sv},w(Bc,"LevelHeightProcessor/1",1919),b(1914,1,vt,gjn),o.Kf=function(e,t){pSe(this,u(e,121),t)},w(Bc,"LevelProcessor",1914),b(1915,1,Le,hmn),o.Mb=function(e){return on(un(v(u(e,39),(pt(),Ca))))},w(Bc,"LevelProcessor/lambda$0$Type",1915),b(1916,1,vt,lmn),o.Kf=function(e,t){nEe(this,u(e,121),t)},o.a=0,w(Bc,"NeighborsProcessor",1916),b(1917,1,qh,amn),o.Jc=function(e){qi(this,e)},o.Kc=function(){return Ln(),hm(),sv},w(Bc,"NeighborsProcessor/1",1917),b(1922,1,vt,dmn),o.Kf=function(e,t){iIe(this,u(e,121),t)},o.a=0,w(Bc,"NodePositionProcessor",1922),b(1912,1,vt,pjn),o.Kf=function(e,t){KOe(this,u(e,121),t)},w(Bc,"RootProcessor",1912),b(1942,1,vt,bmn),o.Kf=function(e,t){D9e(u(e,121),t)},w(Bc,"Untreeifyer",1942),b(392,22,{3:1,34:1,22:1,392:1},eN);var Lj,ZH,dln,bln=we(Uy,"EdgeRoutingMode",392,ke,J2e,sbe),are,Nj,Av,nq,wln,gln,eq,tq,pln,iq,mln,rq,i9,cq,$O,xO,Js,jf,Lv,r9,c9,j1,vln,dre,uq,Ca,Dj,$j;b(862,1,ms,s8n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Trn),""),wVn),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(_n(),!1)),(l1(),yi)),zt),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Crn),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Srn),""),"Tree Level"),"The index for the tree level the node is in"),Y(0)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Prn),""),wVn),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Irn),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),jln),It),Dln),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Orn),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),kln),It),bln),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Arn),""),"Search Order"),"Which search order to use when computing a spanning tree."),yln),It),xln),yn(xn)))),rzn((new l8n,e))};var bre,wre,gre,kln,pre,mre,yln,vre,kre,jln;w(Uy,"MrTreeMetaDataProvider",862),b(1006,1,ms,l8n),o.hf=function(e){rzn(e)};var yre,Eln,Mln,pw,Tln,Cln,oq,jre,Ere,Mre,Tre,Cre,Sre,Pre,Sln,Pln,Iln,Ire,A2,RO,Oln,Ore,Aln,sq,Are,Lre,Nre,Lln,Dre,Ph,Nln;w(Uy,"MrTreeOptions",1006),b(1007,1,{},wmn),o.sf=function(){var e;return e=new HSn,e},o.tf=function(e){},w(Uy,"MrTreeOptions/MrtreeFactory",1007),b(353,22,{3:1,34:1,22:1,353:1},pM);var fq,KO,hq,lq,Dln=we(Uy,"OrderWeighting",353,ke,r3e,fbe),$re;b(433,22,{3:1,34:1,22:1,433:1},rX);var $ln,aq,xln=we(Uy,"TreeifyingOrder",433,ke,Yge,hbe),xre;b(1486,1,vr,a8n),o.rg=function(e){return u(e,121),Rre},o.Kf=function(e,t){bve(this,u(e,121),t)};var Rre;w("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),b(1487,1,vr,d8n),o.rg=function(e){return u(e,121),Kre},o.Kf=function(e,t){ySe(this,u(e,121),t)};var Kre;w(W4,"NodeOrderer",1487),b(1494,1,{},_se),o.td=function(e){return VPn(e)},w(W4,"NodeOrderer/0methodref$lambda$6$Type",1494),b(1488,1,Le,Amn),o.Mb=function(e){return _p(),on(un(v(u(e,39),(pt(),Ca))))},w(W4,"NodeOrderer/lambda$0$Type",1488),b(1489,1,Le,Lmn),o.Mb=function(e){return _p(),u(v(u(e,39),(lc(),A2)),17).a<0},w(W4,"NodeOrderer/lambda$1$Type",1489),b(1490,1,Le,vkn),o.Mb=function(e){return q4e(this.a,u(e,39))},w(W4,"NodeOrderer/lambda$2$Type",1490),b(1491,1,Le,mkn),o.Mb=function(e){return Rpe(this.a,u(e,39))},w(W4,"NodeOrderer/lambda$3$Type",1491),b(1492,1,De,Nmn),o.Ne=function(e,t){return a4e(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(W4,"NodeOrderer/lambda$4$Type",1492),b(1493,1,Le,Dmn),o.Mb=function(e){return _p(),u(v(u(e,39),(pt(),tq)),17).a!=0},w(W4,"NodeOrderer/lambda$5$Type",1493),b(1495,1,vr,h8n),o.rg=function(e){return u(e,121),Bre},o.Kf=function(e,t){OPe(this,u(e,121),t)},o.b=0;var Bre;w("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),b(1496,1,vr,f8n),o.rg=function(e){return u(e,121),Fre},o.Kf=function(e,t){lPe(u(e,121),t)};var Fre,SDe=w(po,"EdgeRouter",1496);b(1498,1,De,Omn),o.Ne=function(e,t){return jc(u(e,17).a,u(t,17).a)},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/0methodref$compare$Type",1498),b(1503,1,{},pmn),o.Ye=function(e){return $(B(e))},w(po,"EdgeRouter/1methodref$doubleValue$Type",1503),b(1505,1,De,mmn),o.Ne=function(e,t){return bt($(B(e)),$(B(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/2methodref$compare$Type",1505),b(1507,1,De,vmn),o.Ne=function(e,t){return bt($(B(e)),$(B(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/3methodref$compare$Type",1507),b(1509,1,{},gmn),o.Ye=function(e){return $(B(e))},w(po,"EdgeRouter/4methodref$doubleValue$Type",1509),b(1511,1,De,kmn),o.Ne=function(e,t){return bt($(B(e)),$(B(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/5methodref$compare$Type",1511),b(1513,1,De,ymn),o.Ne=function(e,t){return bt($(B(e)),$(B(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/6methodref$compare$Type",1513),b(1497,1,{},jmn),o.Kb=function(e){return kl(),u(v(u(e,39),(lc(),Ph)),17)},w(po,"EdgeRouter/lambda$0$Type",1497),b(1508,1,{},Emn),o.Kb=function(e){return Q1e(u(e,39))},w(po,"EdgeRouter/lambda$11$Type",1508),b(1510,1,{},eTn),o.Kb=function(e){return Twe(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$13$Type",1510),b(1512,1,{},tTn),o.Kb=function(e){return Y1e(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$15$Type",1512),b(1514,1,De,Mmn),o.Ne=function(e,t){return h9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/lambda$17$Type",1514),b(1515,1,De,Tmn),o.Ne=function(e,t){return l9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/lambda$18$Type",1515),b(1516,1,De,Cmn),o.Ne=function(e,t){return d9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/lambda$19$Type",1516),b(1499,1,Le,kkn),o.Mb=function(e){return b2e(this.a,u(e,39))},o.a=0,w(po,"EdgeRouter/lambda$2$Type",1499),b(1517,1,De,Smn),o.Ne=function(e,t){return a9e(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/lambda$20$Type",1517),b(1500,1,De,Pmn),o.Ne=function(e,t){return lwe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/lambda$3$Type",1500),b(1501,1,De,Imn),o.Ne=function(e,t){return awe(u(e,39),u(t,39))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"EdgeRouter/lambda$4$Type",1501),b(1502,1,{},$mn),o.Kb=function(e){return Z1e(u(e,39))},w(po,"EdgeRouter/lambda$5$Type",1502),b(1504,1,{},iTn),o.Kb=function(e){return Cwe(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$7$Type",1504),b(1506,1,{},rTn),o.Kb=function(e){return nae(this.b,this.a,u(e,39))},o.a=0,o.b=0,w(po,"EdgeRouter/lambda$9$Type",1506),b(675,1,{675:1},xBn),o.e=0,o.f=!1,o.g=!1,w(po,"MultiLevelEdgeNodeNodeGap",675),b(1943,1,De,xmn),o.Ne=function(e,t){return M2e(u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),b(1944,1,De,Rmn),o.Ne=function(e,t){return T2e(u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(po,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944);var L2;b(500,22,{3:1,34:1,22:1,500:1,188:1,196:1},cX),o.dg=function(){return jKn(this)},o.qg=function(){return jKn(this)};var BO,N2,Rln=we(Lrn,"RadialLayoutPhases",500,ke,e2e,lbe),_re;b(1113,205,yd,dEn),o.rf=function(e,t){var i,r,c,s,f,h;if(i=sqn(this,e),t.Ug("Radial layout",i.c.length),on(un(z(e,(sa(),Vln))))||NT((r=new z9((Aw(),new Pw(e))),r)),h=wye(e),ht(e,(Cg(),L2),h),!h)throw T(new Gn("The given graph is not a tree!"));for(c=$(B(z(e,HO))),c==0&&(c=H_n(e)),ht(e,HO,c),f=new M(sqn(this,e));f.a<f.c.c.length;)s=u(E(f),47),s.Kf(e,t.eh(1));t.Vg()},w(Lrn,"RadialLayoutProvider",1113),b(556,1,De,zE),o.Ne=function(e,t){return QSe(this.a,this.b,u(e,27),u(t,27))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},o.a=0,o.b=0,w(Lrn,"RadialUtil/lambda$0$Type",556),b(1395,1,vt,Kmn),o.Kf=function(e,t){HLe(u(e,27),t)},w($rn,"CalculateGraphSize",1395),b(1396,1,vt,Bmn),o.Kf=function(e,t){hOe(u(e,27))},w($rn,"EdgeAngleCalculator",1396),b(368,22,{3:1,34:1,22:1,368:1,196:1},d7),o.dg=function(){switch(this.g){case 0:return new Gmn;case 1:return new Fmn;case 2:return new zmn;case 3:return new Kmn;case 4:return new Bmn;default:throw T(new Gn(cB+(this.f!=null?this.f:""+this.g)))}};var dq,bq,wq,gq,pq,Hre=we($rn,uB,368,ke,U3e,abe),qre;b(653,1,{}),o.e=1,o.g=0,w(UB,"AbstractRadiusExtensionCompaction",653),b(1834,653,{},sSn),o.Cg=function(e){var t,i,r,c,s,f,h,l,a;for(this.c=u(z(e,(Cg(),L2)),27),sfe(this,this.c),this.d=Sx(u(z(e,(sa(),xj)),299)),l=u(z(e,vq),17),l&&t9n(this,l.a),h=B(z(e,(He(),qd))),gG(this,(Jn(h),h)),a=a0(this.c),this.d&&this.d.Gg(a),wPe(this,a),f=new Fu(S(C(Ye,1),vVn,27,0,[this.c])),i=0;i<2;i++)for(t=0;t<a.c.length;t++)c=new Fu(S(C(Ye,1),vVn,27,0,[(Nn(t,a.c.length),u(a.c[t],27))])),s=t<a.c.length-1?(Nn(t+1,a.c.length),u(a.c[t+1],27)):(Nn(0,a.c.length),u(a.c[0],27)),r=t==0?u(sn(a,a.c.length-1),27):(Nn(t-1,a.c.length),u(a.c[t-1],27)),KFn(this,(Nn(t,a.c.length),u(a.c[t],27),f),r,s,c)},w(UB,"AnnulusWedgeCompaction",1834),b(1393,1,vt,Fmn),o.Kf=function(e,t){sve(u(e,27),t)},w(UB,"GeneralCompactor",1393),b(1833,653,{},_mn),o.Cg=function(e){var t,i,r,c;i=u(z(e,(Cg(),L2)),27),this.f=i,this.b=Sx(u(z(e,(sa(),xj)),299)),c=u(z(e,vq),17),c&&t9n(this,c.a),r=B(z(e,(He(),qd))),gG(this,(Jn(r),r)),t=a0(i),this.b&&this.b.Gg(t),g_n(this,t)},o.a=0,w(UB,"RadialCompaction",1833),b(1842,1,{},Hmn),o.Dg=function(e){var t,i,r,c,s,f;for(this.a=e,t=0,f=a0(e),r=0,s=new M(f);s.a<s.c.c.length;)for(c=u(E(s),27),++r,i=r;i<f.c.length;i++)AIe(this,c,(Nn(i,f.c.length),u(f.c[i],27)))&&(t+=1);return t},w(xrn,"CrossingMinimizationPosition",1842),b(1840,1,{},qmn),o.Dg=function(e){var t,i,r,c,s,f,h,l,a,d,g,p,m;for(r=0,i=new ie(ce(Sl(e).a.Kc(),new En));pe(i);)t=u(fe(i),74),h=Gr(u(N((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84)),a=h.i+h.g/2,d=h.j+h.f/2,c=e.i+e.g/2,s=e.j+e.f/2,g=new Ni,g.a=a-c,g.b=d-s,f=new V(g.a,g.b),m4(f,e.g,e.f),g.a-=f.a,g.b-=f.b,c=a-g.a,s=d-g.b,l=new V(g.a,g.b),m4(l,h.g,h.f),g.a-=l.a,g.b-=l.b,a=c+g.a,d=s+g.b,p=a-c,m=d-s,r+=y.Math.sqrt(p*p+m*m);return r},w(xrn,"EdgeLengthOptimization",1840),b(1841,1,{},Umn),o.Dg=function(e){var t,i,r,c,s,f,h,l,a,d,g;for(r=0,i=new ie(ce(Sl(e).a.Kc(),new En));pe(i);)t=u(fe(i),74),h=Gr(u(N((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84)),l=h.i+h.g/2,a=h.j+h.f/2,c=u(z(h,(He(),N3)),8),s=e.i+c.a+e.g/2,f=e.j+c.b+e.f,d=l-s,g=a-f,r+=y.Math.sqrt(d*d+g*g);return r},w(xrn,"EdgeLengthPositionOptimization",1841),b(1392,653,vt,Gmn),o.Kf=function(e,t){bEe(this,u(e,27),t)},w("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1392),b(1394,1,vt,zmn),o.Kf=function(e,t){s0e(u(e,27),t)},w("org.eclipse.elk.alg.radial.intermediate.rotation","GeneralRotator",1394),b(434,22,{3:1,34:1,22:1,434:1},uX);var Kln,mq,Bln=we(f8,"AnnulusWedgeCriteria",434,ke,Zge,bbe),Ure;b(393,22,{3:1,34:1,22:1,393:1},tN);var FO,Fln,_ln,Hln=we(f8,Rtn,393,ke,rpe,dbe),Gre;b(863,1,ms,b8n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Rrn),""),"Center On Root"),"Centers the layout on the root of the tree i.e. so that the central node is also the center node of the final layout. This introduces additional whitespace."),(_n(),!1)),(l1(),yi)),zt),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Krn),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),Y(0)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Brn),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,NP),""),"Rotate"),"The rotate option determines whether a rotation of the layout should be performed."),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,zB),""),kVn),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),qln),It),Hln),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,XB),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),Y(1)),Zr),Gi),yn(xn)))),ri(e,XB,zB,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Frn),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),Gln),It),u1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,_rn),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),zln),It),Bln),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Hrn),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),Uln),It),i1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,VB),Urn),"Target Angle"),"The angle in radians that the layout should be rotated to after layout."),0),Qi),si),yn(xn)))),ri(e,VB,NP,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,WB),Urn),"Additional Wedge Space"),"If set to true, modifies the target angle by rotating further such that space is left for an edge to pass in between the nodes. This option should only be used in conjunction with top-down layout."),!1),yi),zt),yn(xn)))),ri(e,WB,NP,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,qrn),Urn),"Outgoing Edge Angles"),"Calculate the required angle of connected nodes to leave space for an incoming edge. This option should only be used in conjunction with top-down layout."),!1),yi),zt),yn(xn)))),QGn((new w8n,e))};var zre,Xre,Vre,qln,Wre,Uln,Jre,Qre,Yre,Zre,nce,ece,tce,Gln,ice,zln;w(f8,"RadialMetaDataProvider",863),b(1008,1,ms,w8n),o.hf=function(e){QGn(e)};var Xln,vq,kq,rce,cce,uce,oce,Vln,Wln,_O,sce,fce,HO,Jln,Qln,Yln,yq,xj,hce,Zln;w(f8,"RadialOptions",1008),b(1009,1,{},Xmn),o.sf=function(){var e;return e=new dEn,e},o.tf=function(e){},w(f8,"RadialOptions/RadialFactory",1009),b(354,22,{3:1,34:1,22:1,354:1},mM);var n1n,e1n,t1n,jq,i1n=we(f8,"RadialTranslationStrategy",354,ke,c3e,wbe),lce;b(299,22,{3:1,34:1,22:1,299:1},iN);var r1n,Eq,c1n,u1n=we(f8,"SortingStrategy",299,ke,cpe,gbe),ace;b(1476,1,vr,Vmn),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){REe(this,u(e,27),t)},o.c=0,w("org.eclipse.elk.alg.radial.p1position","EadesRadial",1476),b(1838,1,{},Wmn),o.Eg=function(e){return mBn(e)},w(yVn,"AnnulusWedgeByLeafs",1838),b(1839,1,{},Jmn),o.Eg=function(e){return OFn(this,e)},w(yVn,"AnnulusWedgeByNodeSpace",1839),b(1477,1,vr,Qmn),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){V5e(this,u(e,27),t)},w("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1477),b(826,1,{},rz),o.Fg=function(e){},o.Gg=function(e){Iyn(this,e)},w(Grn,"IDSorter",826),b(1837,1,De,Ymn),o.Ne=function(e,t){return fve(u(e,27),u(t,27))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Grn,"IDSorter/lambda$0$Type",1837),b(1836,1,{},Exn),o.Fg=function(e){wLn(this,e)},o.Gg=function(e){var t;e.dc()||(this.e||(t=sIn(u(e.Xb(0),27)),wLn(this,t)),Iyn(this.e,e))},w(Grn,"PolarCoordinateSorter",1836),b(445,22,{3:1,34:1,22:1,445:1},rN);var Rj,qO,Mq,o1n=we(TVn,"RectPackingLayoutPhases",445,ke,tpe,pbe),dce;b(1118,205,yd,wEn),o.rf=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_;if(t.Ug("Rectangle Packing",1),d=u(z(e,(Bf(),f9)),107),h=on(un(z(e,$ce))),a=$(B(z(e,h9))),D=on(un(z(e,k1n))),k=(!e.a&&(e.a=new q(Ye,e,10,11)),e.a),A=!1,D&&k.i>=3)for(P=u(N(k,0),27),O=u(N(k,1),27),c=0;c+2<k.i;)if(j=P,P=O,O=u(N(k,c+2),27),j.f>=P.f+O.f+a||O.f>=j.f+P.f+a){A=!0;break}else++c;else A=!0;if(!A){for(g=k.i,f=new ne(k);f.e!=f.i.gc();)s=u(ue(f),27),ht(s,(He(),Wj),Y(g)),--g;KUn(e,new op),t.Vg();return}for(i=(H7(this.a),hf(this.a,(XC(),Rj),u(z(e,M1n),188)),hf(this.a,qO,u(z(e,m1n),188)),hf(this.a,Mq,u(z(e,y1n),188)),EX(this.a,(_=new ii,Fe(_,Rj,(rS(),Sq)),Fe(_,qO,Cq),on(un(z(e,w1n)))&&Fe(_,Rj,Tq),_)),wy(this.a,e)),l=1/i.c.length,m=new M(i);m.a<m.c.c.length;){if(p=u(E(m),47),t.$g())return;p.Kf(e,t.eh(l))}Lve(k,d),h||qb(e,$(B(z(e,(_h(),Nv))))+(d.b+d.c),$(B(z(e,o9)))+(d.d+d.a),!1,!0),on(un(z(e,g1n)))||NT((r=new z9((Aw(),new Pw(e))),r)),t.Vg()},w(TVn,"RectPackingLayoutProvider",1118),b(1518,1,vt,Zmn),o.Kf=function(e,t){lOe(u(e,27),t)},w(DP,"InteractiveNodeReorderer",1518),b(1519,1,De,n4n),o.Ne=function(e,t){return m6e(u(e,27),u(t,27))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(DP,"InteractiveNodeReorderer/lambda$0$Type",1519),b(455,22,{3:1,34:1,22:1,455:1,196:1},cN),o.dg=function(){switch(this.g){case 0:return new Zmn;case 1:return new t4n;case 2:return new e4n}return null};var Tq,Cq,Sq,bce=we(DP,uB,455,ke,ipe,mbe),wce;b(1521,1,vt,e4n),o.Kf=function(e,t){L8e(u(e,27),t)},w(DP,"MinSizePostProcessor",1521),b(1520,1,vt,t4n),o.Kf=function(e,t){O6e(u(e,27),t)},w(DP,"MinSizePreProcessor",1520);var u9,o9,Nv,gce,pce,UO,Pq,Iq,s9,GO,X0;b(394,22,{3:1,34:1,22:1,394:1},uN);var s1n,f1n,Oq,h1n=we(JB,"OptimizationGoal",394,ke,epe,vbe),mce;b(867,1,ms,g8n),o.hf=function(e){vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,zrn),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(_n(),!1)),(l1(),yi)),zt),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Xrn),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Vrn),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),Y(-1)),Zr),Gi),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Wrn),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),yi),zt),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Jrn),QB),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),d1n),It),S1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Qrn),QB),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Yrn),QB),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),a1n),It),h1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Zrn),QB),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ncn),"packing"),CVn),"Strategy for finding an initial placement on nodes."),l1n),It),O1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ecn),SVn),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,tcn),SVn),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),Y(1)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,icn),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),It),N1n),yn(xn)))),bzn((new p8n,e))};var vce,kce,yce,jce,Ece,Mce,l1n,Tce,Cce,Sce,Pce,a1n,Ice,d1n,Oce;w(JB,"RectPackingMetaDataProvider",867),b(1016,1,ms,p8n),o.hf=function(e){bzn(e)};var zO,Ace,b1n,Kj,w1n,Lce,Bj,Nce,Dce,$ce,xce,Rce,g1n,p1n,Aq,m1n,f9,v1n,Kce,h9,k1n,y1n,j1n,E1n,M1n,Lq;w(JB,"RectPackingOptions",1016),b(1017,1,{},i4n),o.sf=function(){var e;return e=new wEn,e},o.tf=function(e){},w(JB,"RectPackingOptions/RectpackingFactory",1017),b(1705,1,{},mPn),o.a=0,o.c=!1,w(J4,"AreaApproximation",1705);var T1n=Dt(J4,"BestCandidateFilter");b(673,1,{535:1},KA),o.Hg=function(e,t,i){var r,c,s,f,h,l;for(l=new Z,s=Pt,h=new M(e);h.a<h.c.c.length;)f=u(E(h),238),s=y.Math.min(s,(f.c+(i.b+i.c))*(f.b+(i.d+i.a)));for(c=new M(e);c.a<c.c.c.length;)r=u(E(c),238),(r.c+(i.b+i.c))*(r.b+(i.d+i.a))==s&&Bn(l.c,r);return l},w(J4,"AreaFilter",673),b(674,1,{535:1},BA),o.Hg=function(e,t,i){var r,c,s,f,h,l;for(h=new Z,l=Pt,f=new M(e);f.a<f.c.c.length;)s=u(E(f),238),l=y.Math.min(l,y.Math.abs((s.c+(i.b+i.c))/(s.b+(i.d+i.a))-t));for(c=new M(e);c.a<c.c.c.length;)r=u(E(c),238),y.Math.abs((r.c+(i.b+i.c))/(r.b+(i.d+i.a))-t)==l&&Bn(h.c,r);return h},w(J4,"AspectRatioFilter",674),b(1469,1,vr,r4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){YCe(u(e,27),t)},w(J4,"GreedyWidthApproximator",1469),b(672,1,{535:1},FA),o.Hg=function(e,t,i){var r,c,s,f,h,l;for(l=new Z,s=li,h=new M(e);h.a<h.c.c.length;)f=u(E(h),238),s=y.Math.max(s,rT(f.c+(i.b+i.c),f.b+(i.d+i.a),f.a));for(c=new M(e);c.a<c.c.c.length;)r=u(E(c),238),rT(r.c+(i.b+i.c),r.b+(i.d+i.a),r.a)==s&&Bn(l.c,r);return l},w(J4,"ScaleMeasureFilter",672),b(1470,1,vr,c4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){KEe(u(e,27),t)},w(J4,"TargetWidthWidthApproximator",1470),b(490,22,{3:1,34:1,22:1,490:1,188:1,196:1},oX),o.dg=function(){return BFn(this)},o.qg=function(){return BFn(this)};var Nq,C1n,S1n=we(J4,"WidthApproximationStrategy",490,ke,Jge,kbe),Bce;b(1471,1,vr,u4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){YLe(this,u(e,27),t)},w($P,"Compactor",1471),b(1473,1,vr,o4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){OCe(u(e,27),t)},w($P,"NoPlacement",1473),b(439,22,{3:1,34:1,22:1,439:1,188:1,196:1},oN),o.dg=function(){return ZRn(this)},o.qg=function(){return ZRn(this)};var Dq,P1n,I1n,O1n=we($P,"PackingStrategy",439,ke,npe,Ebe),Fce;b(810,1,{},lX),o.a=0,o.b=0,o.c=0,o.d=Pt,o.e=0,o.f=Pt,w($P,"RowFillingAndCompaction",810),b(1472,1,vr,s4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){bAe(u(e,27),t)},w($P,"SimplePlacement",1472),b(1474,1,vr,f4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){this.Ig(u(e,27),t)},o.Ig=function(e,t){NHn(e,t)},w(rcn,"EqualWhitespaceEliminator",1474),b(1475,1474,vr,h4n),o.Ig=function(e,t){var i,r,c,s,f;t.Ug("To Aspect Ratio Whitesapce Eliminator",1),f=$(B(z(e,(_h(),Nv)))),s=$(B(z(e,o9))),c=$(B(z(e,(Bf(),zO)))),i=$(B(z(e,u9))),r=f/s,r<c?(f=s*c,ht(e,Nv,f)):(i+=f/c-s,ht(e,u9,i),ht(e,o9,s+i)),NHn(e,t),t.Vg()},w(rcn,"ToAspectratioNodeExpander",1475),b(491,22,{3:1,34:1,22:1,491:1,188:1,196:1},sX),o.dg=function(){return Sxn(this)},o.qg=function(){return Sxn(this)};var A1n,L1n,N1n=we(rcn,"WhiteSpaceEliminationStrategy",491,ke,Qge,Mbe),_ce;b(172,1,{172:1},U$),o.a=0,o.c=!1,o.d=0,o.e=0,o.f=0,o.g=0,o.i=0,o.k=!1,o.o=Pt,o.p=Pt,o.r=0,o.s=0,o.t=0,w(Gy,"Block",172),b(209,1,{209:1},DT),o.a=0,o.b=0,o.d=0,o.e=0,o.f=0,w(Gy,"BlockRow",209),b(315,1,{315:1},eJ),o.b=0,o.c=0,o.d=0,o.e=0,o.f=0,w(Gy,"BlockStack",315),b(238,1,{238:1},eW,eZ),o.a=0,o.b=0,o.c=0,o.d=0,o.e=0,o.g=0;var PDe=w(Gy,"DrawingData",238);b(373,22,{3:1,34:1,22:1,373:1},b7);var A3,D2,l9,a9,Fj,Hce=we(Gy,"DrawingDataDescriptor",373,ke,G3e,Tbe),qce;b(186,1,{186:1},lJ),o.b=0,o.c=0,o.e=0,o.f=0,w(Gy,"RectRow",186),b(763,1,{},aY),o.j=0,w(E0,KXn,763),b(1209,1,{},l4n),o.af=function(e){return Q1(e.a,e.b)},w(E0,qtn,1209),b(1210,1,{},ykn),o.af=function(e){return eme(this.a,e)},w(E0,BXn,1210),b(1211,1,{},jkn),o.af=function(e){return y9e(this.a,e)},w(E0,FXn,1211),b(1212,1,{},Ekn),o.af=function(e){return c6e(this.a,e)},w(E0,"ElkGraphImporter/lambda$3$Type",1212),b(1213,1,{},Mkn),o.af=function(e){return oMe(this.a,e)},w(E0,_Xn,1213),b(1115,205,yd,gEn),o.rf=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m;for(Nf(e,(Vk(),QO))&&(m=Ae(z(e,(Lx(),nan))),s=CR(Gm(),m),s&&(f=u(z7(s.f),205),f.rf(e,t.eh(1)))),ht(e,_q,(tk(),JO)),ht(e,Hq,(Wk(),Fq)),ht(e,qq,(Mk(),YO)),h=u(z(e,(Lx(),Q1n)),17).a,t.Ug("Overlap removal",1),on(un(z(e,fue))),l=new ni,a=new Tkn(l),r=new aY,i=wzn(r,e),d=!0,c=0;c<h&&d;){if(on(un(z(e,Y1n)))){if(l.a.$b(),Yje(new kCn(a),i.i),l.a.gc()==0)break;i.e=l}for(H7(this.b),hf(this.b,(Dk(),XO),(u6(),_j)),hf(this.b,VO,i.g),hf(this.b,WO,(eM(),Rq)),this.a=wy(this.b,i),p=new M(this.a);p.a<p.c.c.length;)g=u(E(p),47),g.Kf(i,t.eh(1));wke(r,i),d=on(un(v(i,(Wm(),ron)))),++c}PGn(r,i),t.Vg()},w(E0,"OverlapRemovalLayoutProvider",1115),b(1116,1,{},Tkn),w(E0,"OverlapRemovalLayoutProvider/lambda$0$Type",1116),b(444,22,{3:1,34:1,22:1,444:1},sN);var XO,VO,WO,$q=we(E0,"SPOrEPhases",444,ke,fpe,Sbe),Uce;b(1219,1,{},pEn),w(E0,"ShrinkTree",1219),b(1117,205,yd,vjn),o.rf=function(e,t){var i,r,c,s,f;Nf(e,(Vk(),QO))&&(f=Ae(z(e,QO)),c=CR(Gm(),f),c&&(s=u(z7(c.f),205),s.rf(e,t.eh(1)))),r=new aY,i=wzn(r,e),LTe(this.a,i,t.eh(1)),PGn(r,i)},w(E0,"ShrinkTreeLayoutProvider",1117),b(305,137,{3:1,305:1,96:1,137:1},oAn),o.c=!1,w("org.eclipse.elk.alg.spore.graph","Graph",305),b(489,22,{3:1,34:1,22:1,489:1,188:1,196:1},dMn),o.dg=function(){return jRn(this)},o.qg=function(){return jRn(this)};var xq,D1n=we(M0,Rtn,489,ke,ege,Cbe),Gce;b(558,22,{3:1,34:1,22:1,558:1,188:1,196:1},aSn),o.dg=function(){return new QU},o.qg=function(){return new QU};var Rq,zce=we(M0,"OverlapRemovalStrategy",558,ke,tge,Pbe),Xce;b(438,22,{3:1,34:1,22:1,438:1},fX);var JO,Kq,$1n=we(M0,"RootSelection",438,ke,t2e,Ibe),Vce;b(324,22,{3:1,34:1,22:1,324:1},w7);var x1n,Bq,Fq,R1n,K1n,B1n=we(M0,"SpanningTreeCostFunction",324,ke,z3e,Obe),Wce;b(1014,1,ms,m8n),o.hf=function(e){rGn(e)};var F1n,_1n,Jce,Qce,H1n,q1n,_q,Hq,qq,Yce,Zce,QO;w(M0,"SporeCompactionOptions",1014),b(1015,1,{},a4n),o.sf=function(){var e;return e=new vjn,e},o.tf=function(e){},w(M0,"SporeCompactionOptions/SporeCompactionFactory",1015),b(866,1,ms,v8n),o.hf=function(e){vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,YB),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(l1(),$2)),fn),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,eF),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),W1n),It),ean),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ccn),tF),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),X1n),It),ian),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ucn),tF),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),z1n),It),B1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ZB),tF),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),$2),fn),yn(xn)))),ri(e,ZB,nF,cue),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,nF),tF),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),G1n),It),$1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ocn),Kin),CVn),"This option defines how the compaction is applied."),U1n),It),D1n),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,scn),Kin),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(_n(),!1)),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,fcn),IVn),"Upper limit for iterations of overlap removal"),null),Y(64)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,hcn),IVn),"Whether to run a supplementary scanline overlap check."),null),!0),yi),zt),yn(xn)))),oUn((new k8n,e)),rGn((new m8n,e))};var nue,U1n,eue,tue,iue,rue,cue,uue,G1n,oue,z1n,sue,X1n,V1n,W1n,J1n;w(M0,"SporeMetaDataProvider",866),b(1012,1,ms,k8n),o.hf=function(e){oUn(e)};var fue,Q1n,Y1n,Z1n,hue,nan;w(M0,"SporeOverlapRemovalOptions",1012),b(1013,1,{},d4n),o.sf=function(){var e;return e=new gEn,e},o.tf=function(e){},w(M0,"SporeOverlapRemovalOptions/SporeOverlapFactory",1013),b(539,22,{3:1,34:1,22:1,539:1,188:1,196:1},dOn),o.dg=function(){return ERn(this)},o.qg=function(){return ERn(this)};var _j,ean=we(M0,"StructureExtractionStrategy",539,ke,ige,Abe),lue;b(437,22,{3:1,34:1,22:1,437:1,188:1,196:1},hX),o.dg=function(){return EKn(this)},o.qg=function(){return EKn(this)};var tan,YO,ian=we(M0,"TreeConstructionStrategy",437,ke,i2e,Lbe),aue;b(1463,1,vr,b4n),o.rg=function(e){return u(e,305),new ii},o.Kf=function(e,t){vke(u(e,305),t)},w(OVn,"DelaunayTriangulationPhase",1463),b(1464,1,re,Ckn),o.Cd=function(e){nn(this.a,u(e,68).a)},w(OVn,"DelaunayTriangulationPhase/lambda$0$Type",1464),b(794,1,vr,iz),o.rg=function(e){return u(e,305),new ii},o.Kf=function(e,t){this.Jg(u(e,305),t)},o.Jg=function(e,t){var i,r,c;t.Ug("Minimum spanning tree construction",1),e.d?r=e.d.a:r=u(sn(e.i,0),68).a,on(un(v(e,(Wm(),I8))))?c=GR(e.e,r,(i=e.b,i)):c=GR(e.e,r,e.b),cRn(this,c,e),t.Vg()},w(iF,"MinSTPhase",794),b(1466,794,vr,rjn),o.Jg=function(e,t){var i,r,c,s;t.Ug("Maximum spanning tree construction",1),i=new Skn(e),e.d?c=e.d.c:c=u(sn(e.i,0),68).c,on(un(v(e,(Wm(),I8))))?s=GR(e.e,c,(r=i,r)):s=GR(e.e,c,i),cRn(this,s,e),t.Vg()},w(iF,"MaxSTPhase",1466),b(1467,1,{},Skn),o.af=function(e){return gle(this.a,e)},w(iF,"MaxSTPhase/lambda$0$Type",1467),b(1465,1,re,Pkn),o.Cd=function(e){s1e(this.a,u(e,68))},w(iF,"MinSTPhase/lambda$0$Type",1465),b(796,1,vr,QU),o.rg=function(e){return u(e,305),new ii},o.Kf=function(e,t){Dye(this,u(e,305),t)},o.a=!1,w(rF,"GrowTreePhase",796),b(797,1,re,$V),o.Cd=function(e){Jve(this.a,this.b,this.c,u(e,225))},w(rF,"GrowTreePhase/lambda$0$Type",797),b(1468,1,vr,w4n),o.rg=function(e){return u(e,305),new ii},o.Kf=function(e,t){H9e(this,u(e,305),t)},w(rF,"ShrinkTreeCompactionPhase",1468),b(795,1,re,xV),o.Cd=function(e){IMe(this.a,this.b,this.c,u(e,225))},w(rF,"ShrinkTreeCompactionPhase/lambda$0$Type",795);var ran=Dt(dc,"IGraphElementVisitor");b(872,1,{536:1},zAn),o.Kg=function(e){var t;t=xSe(this,e),Ur(t,u(ee(this.b,e),96)),ATe(this,e,t)};var due,bue;w(e2,"LayoutConfigurator",872);var IDe=Dt(e2,"LayoutConfigurator/IPropertyHolderOptionFilter");b(944,1,{2032:1},g4n),o.Lg=function(e,t){return qp(),!e.pf(t)},w(e2,"LayoutConfigurator/lambda$0$Type",944),b(943,1,{845:1},p4n),o.Mg=function(e,t){return qp(),!e.pf(t)},w(e2,"LayoutConfigurator/lambda$1$Type",943),b(945,1,{2032:1},Hse),o.Lg=function(e,t){return mEn(e,t)},w(e2,"LayoutConfigurator/lambda$2$Type",945),b(946,1,Le,cTn),o.Mb=function(e){return G0e(this.a,this.b,u(e,2032))},w(e2,"LayoutConfigurator/lambda$3$Type",946),b(869,1,{},m4n),w(e2,"RecursiveGraphLayoutEngine",869),b(224,63,Il,$yn,_l),w(e2,"UnsupportedConfigurationException",224),b(370,63,Il,hp),w(e2,"UnsupportedGraphException",370),b(761,1,{}),w(dc,"AbstractRandomListAccessor",761),b(449,761,{},$5),o.Ng=function(){return null},o.d=!0,o.e=!0,o.f=0,w(Y4,"AlgorithmAssembler",449),b(1200,1,Le,v4n),o.Mb=function(e){return!!u(e,106)},w(Y4,"AlgorithmAssembler/lambda$0$Type",1200),b(1201,1,{},Ikn),o.Kb=function(e){return Ahe(this.a,u(e,106))},w(Y4,"AlgorithmAssembler/lambda$1$Type",1201),b(1202,1,Le,k4n),o.Mb=function(e){return!!u(e,80)},w(Y4,"AlgorithmAssembler/lambda$2$Type",1202),b(1203,1,re,Okn),o.Cd=function(e){To(this.a,u(e,80))},w(Y4,"AlgorithmAssembler/lambda$3$Type",1203),b(1204,1,re,uTn),o.Cd=function(e){tae(this.a,this.b,u(e,196))},w(Y4,"AlgorithmAssembler/lambda$4$Type",1204),b(1343,1,De,y4n),o.Ne=function(e,t){return Sge(u(e,196),u(t,196))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Y4,"EnumBasedFactoryComparator",1343),b(80,761,{80:1},ii),o.Ng=function(){return new ni},o.a=0,w(Y4,"LayoutProcessorConfiguration",80),b(1025,1,{536:1},y8n),o.Kg=function(e){o5(gue,new Akn(e))};var wue,gue,pue;w(oc,"DeprecatedLayoutOptionReplacer",1025),b(1026,1,re,j4n),o.Cd=function(e){Rme(u(e,167))},w(oc,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1026),b(1027,1,re,E4n),o.Cd=function(e){j8e(u(e,167))},w(oc,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1027),b(1028,1,{},Akn),o.Yd=function(e,t){eae(this.a,u(e,149),u(t,41))},w(oc,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1028),b(143,1,{701:1,143:1},gd),o.Fb=function(e){return PJ(this,e)},o.Og=function(){return this.b},o.Pg=function(){return this.c},o.xe=function(){return this.e},o.Hb=function(){return t1(this.c)},o.Ib=function(){return"Layout Algorithm: "+this.c};var ODe=w(oc,"LayoutAlgorithmData",143);b(269,1,{},Fa),w(oc,"LayoutAlgorithmData/Builder",269),b(1029,1,{536:1},T4n),o.Kg=function(e){L(e,207)&&!on(un(e.of((He(),tA))))&&TIe(u(e,27))},w(oc,"LayoutAlgorithmResolver",1029),b(233,1,{701:1,233:1},Dp),o.Fb=function(e){return L(e,233)?Sn(this.b,u(e,233).b):!1},o.Og=function(){return this.a},o.Pg=function(){return this.b},o.xe=function(){return this.d},o.Hb=function(){return t1(this.b)},o.Ib=function(){return"Layout Type: "+this.b},w(oc,"LayoutCategoryData",233),b(357,1,{},tp),w(oc,"LayoutCategoryData/Builder",357),b(879,1,{},Jqn);var Uq;w(oc,"LayoutMetaDataService",879),b(880,1,{},QIn),w(oc,"LayoutMetaDataService/Registry",880),b(486,1,{486:1},YU),w(oc,"LayoutMetaDataService/Registry/Triple",486),b(881,1,u2,M4n),o.Qg=function(){return new Ni},w(oc,"LayoutMetaDataService/lambda$0$Type",881),b(882,1,T0,C4n),o.Rg=function(e){return Fi(u(e,8))},w(oc,"LayoutMetaDataService/lambda$1$Type",882),b(891,1,u2,S4n),o.Qg=function(){return new Z},w(oc,"LayoutMetaDataService/lambda$10$Type",891),b(892,1,T0,P4n),o.Rg=function(e){return new _u(u(e,13))},w(oc,"LayoutMetaDataService/lambda$11$Type",892),b(893,1,u2,I4n),o.Qg=function(){return new Mt},w(oc,"LayoutMetaDataService/lambda$12$Type",893),b(894,1,T0,O4n),o.Rg=function(e){return $7(u(e,67))},w(oc,"LayoutMetaDataService/lambda$13$Type",894),b(895,1,u2,A4n),o.Qg=function(){return new ni},w(oc,"LayoutMetaDataService/lambda$14$Type",895),b(896,1,T0,L4n),o.Rg=function(e){return ST(u(e,49))},w(oc,"LayoutMetaDataService/lambda$15$Type",896),b(897,1,u2,N4n),o.Qg=function(){return new rh},w(oc,"LayoutMetaDataService/lambda$16$Type",897),b(898,1,T0,D4n),o.Rg=function(e){return HT(u(e,49))},w(oc,"LayoutMetaDataService/lambda$17$Type",898),b(899,1,u2,$4n),o.Qg=function(){return new qG},w(oc,"LayoutMetaDataService/lambda$18$Type",899),b(900,1,T0,x4n),o.Rg=function(e){return CPn(u(e,157))},w(oc,"LayoutMetaDataService/lambda$19$Type",900),b(883,1,u2,R4n),o.Qg=function(){return new Tu},w(oc,"LayoutMetaDataService/lambda$2$Type",883),b(884,1,T0,K4n),o.Rg=function(e){return new UE(u(e,75))},w(oc,"LayoutMetaDataService/lambda$3$Type",884),b(885,1,u2,B4n),o.Qg=function(){return new Wv},w(oc,"LayoutMetaDataService/lambda$4$Type",885),b(886,1,T0,F4n),o.Rg=function(e){return new qN(u(e,140))},w(oc,"LayoutMetaDataService/lambda$5$Type",886),b(887,1,u2,_4n),o.Qg=function(){return new up},w(oc,"LayoutMetaDataService/lambda$6$Type",887),b(888,1,T0,H4n),o.Rg=function(e){return new FV(u(e,107))},w(oc,"LayoutMetaDataService/lambda$7$Type",888),b(889,1,u2,q4n),o.Qg=function(){return new _A},w(oc,"LayoutMetaDataService/lambda$8$Type",889),b(890,1,T0,U4n),o.Rg=function(e){return new WDn(u(e,385))},w(oc,"LayoutMetaDataService/lambda$9$Type",890);var Gq=Dt(Ay,"IProperty");b(23,1,{34:1,701:1,23:1,149:1},ln),o.Fd=function(e){return j1e(this,u(e,149))},o.Fb=function(e){return L(e,23)?Sn(this.f,u(e,23).f):L(e,149)&&Sn(this.f,u(e,149).Pg())},o.Sg=function(){var e;if(L(this.b,4)){if(e=iZ(this.b),e==null)throw T(new Ar(DVn+this.f+"'. Make sure it's type is registered with the "+(ll(hE),hE.k)+lcn));return e}else return this.b},o.Og=function(){return this.d},o.Pg=function(){return this.f},o.xe=function(){return this.i},o.Hb=function(){return t1(this.f)},o.Ib=function(){return"Layout Option: "+this.f},w(oc,"LayoutOptionData",23),b(24,1,{},hn),w(oc,"LayoutOptionData/Builder",24),b(170,22,{3:1,34:1,22:1,170:1},g7);var Ih,E1,pi,xn,Fd,Zh=we(oc,"LayoutOptionData/Target",170,ke,X3e,Nbe),mue;b(285,22,{3:1,34:1,22:1,285:1},wp);var yi,Qi,It,L3,Zr,Vf,$2,can,vue=we(oc,"LayoutOptionData/Type",285,ke,b4e,Dbe),kue,d9,uan;b(116,1,{116:1},mp,Ho,PT),o.Fb=function(e){var t;return e==null||!L(e,116)?!1:(t=u(e,116),mc(this.c,t.c)&&mc(this.d,t.d)&&mc(this.b,t.b)&&mc(this.a,t.a))},o.Hb=function(){return Ik(S(C(ki,1),Rn,1,5,[this.c,this.d,this.b,this.a]))},o.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},o.a=0,o.b=0,o.c=0,o.d=0,w(By,"ElkRectangle",116),b(8,1,{3:1,4:1,8:1,423:1},Ni,KD,V,rr),o.Fb=function(e){return sxn(this,e)},o.Hb=function(){return pp(this.a)+k7e(pp(this.b))},o.cg=function(e){var t,i,r,c;for(r=0;r<e.length&&zRn((zn(r,e.length),e.charCodeAt(r)),NXn);)++r;for(t=e.length;t>0&&zRn((zn(t-1,e.length),e.charCodeAt(t-1)),DXn);)--t;if(r>=t)throw T(new Gn("The given string does not contain any numbers."));if(c=w0((Ri(r,t,e.length),e.substr(r,t-r)),`,|;|\r|
`),c.length!=2)throw T(new Gn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=s0(f0(c[0])),this.b=s0(f0(c[1]))}catch(s){throw s=Ot(s),L(s,130)?(i=s,T(new Gn($Xn+i))):T(s)}},o.Ib=function(){return"("+this.a+","+this.b+")"},o.a=0,o.b=0;var Ei=w(By,"KVector",8);b(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Tu,UE,lSn),o.Pc=function(){return A6e(this)},o.cg=function(e){var t,i,r,c,s,f;r=w0(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
`),vo(this);try{for(i=0,s=0,c=0,f=0;i<r.length;)r[i]!=null&&f0(r[i]).length>0&&(s%2==0?c=s0(r[i]):f=s0(r[i]),s>0&&s%2!=0&&Re(this,new V(c,f)),++s),++i}catch(h){throw h=Ot(h),L(h,130)?(t=h,T(new Gn("The given string does not match the expected format for vectors."+t))):T(h)}},o.Ib=function(){var e,t,i;for(e=new mo("("),t=ge(this,0);t.b!=t.d.c;)i=u(be(t),8),Be(e,i.a+","+i.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var oan=w(By,"KVectorChain",75);b(255,22,{3:1,34:1,22:1,255:1},p6);var zq,ZO,nA,Hj,qj,eA,san=we(uo,"Alignment",255,ke,Pme,$be),yue;b(991,1,ms,j8n),o.hf=function(e){yUn(e)};var fan,Xq,jue,han,lan,Eue,aan,Mue,Tue,dan,ban,Cue;w(uo,"BoxLayouterOptions",991),b(992,1,{},G4n),o.sf=function(){var e;return e=new V4n,e},o.tf=function(e){},w(uo,"BoxLayouterOptions/BoxFactory",992),b(297,22,{3:1,34:1,22:1,297:1},m6);var b9,Vq,w9,g9,p9,Wq,Jq=we(uo,"ContentAlignment",297,ke,Ime,xbe),Sue;b(699,1,ms,iG),o.hf=function(e){vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,xVn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(l1(),$2)),fn),yn((pf(),xn))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,RVn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Vf),ODe),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,ern),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),wan),It),san),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,l3),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,bcn),""),"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."),Vf),oan),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,TP),""),"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."),pan),L3),Jq),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,qy),""),"Debug Mode"),"Whether additional debug information shall be generated."),(_n(),!1)),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,xB),""),$tn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),man),It),k9),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Hy),""),"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."),yan),It),hU),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,acn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,MP),""),"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`."),Man),It),hdn),yt(xn,S(C(Zh,1),G,170,0,[pi]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Xb),""),"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."),Nan),Vf),Non),yt(xn,S(C(Zh,1),G,170,0,[pi]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,e8),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,SP),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,t8),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,tB),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),Kan),It),ddn),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,CP),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Vf),Ei),yt(pi,S(C(Zh,1),G,170,0,[Fd,E1]))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Ny),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Zr),Gi),yt(pi,S(C(Zh,1),G,170,0,[Ih]))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,uP),""),"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)."),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,n8),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,arn),""),"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."),Tan),Vf),oan),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,wrn),""),"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),yi),zt),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,grn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),yi),zt),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,iDe),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Vf),$De),yt(xn,S(C(Zh,1),G,170,0,[E1]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,mrn),""),"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."),Can),Vf),Lon),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Zin),""),"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),yi),zt),yt(pi,S(C(Zh,1),G,170,0,[Ih,Fd,E1]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,KVn),""),"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),Qi),si),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,BVn),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,FVn),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Dy),""),AVn),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),yi),zt),yn(xn)))),ri(e,Dy,Vb,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,_Vn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,HVn),""),"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'."),Y(100)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,qVn),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,UVn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Y(4e3)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,GVn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Y(400)),Zr),Gi),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,zVn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,XVn),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,VVn),""),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,WVn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,dcn),"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."),gan),It),Edn),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Hin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,qin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,WK),qf),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Uin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,eB),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,$B),qf),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Gin),qf),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Vin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,zin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Xin),qf),"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),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,y0),qf),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Win),qf),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Qi),si),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Jin),qf),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Qi),si),yt(xn,S(C(Zh,1),G,170,0,[pi]))))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Qin),qf),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Vf),boe),yt(pi,S(C(Zh,1),G,170,0,[Ih,Fd,E1]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,vrn),qf),"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."),Wan),Vf),Lon),yn(xn)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,KB),YVn),"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)."),Zr),Gi),yt(xn,S(C(Zh,1),G,170,0,[pi]))))),ri(e,KB,RB,xue),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,RB),YVn),"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."),Dan),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,rrn),ZVn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Pan),Vf),Non),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,z4),ZVn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Ian),L3),yr),yt(pi,S(C(Zh,1),G,170,0,[E1]))))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,orn),RP),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),xan),It),M9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,srn),RP),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),It),M9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,frn),RP),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),It),M9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,hrn),RP),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),It),M9),yn(pi)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,lrn),RP),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),It),M9),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,r2),uF),"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."),Oan),L3),S9),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,a3),uF),"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."),Lan),L3),wdn),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,d3),uF),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Aan),Vf),Ei),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,G4),uF),"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),yi),zt),yn(xn)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,drn),DB),"Edge Label Placement"),"Gives a hint on where to put edge labels."),van),It),Yan),yn(E1)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,oP),DB),"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),yi),zt),yn(E1)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,rDe),"font"),"Font Name"),"Font name used for a label."),$2),fn),yn(E1)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,JVn),"font"),"Font Size"),"Font size used for a label."),Zr),Gi),yn(E1)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,prn),oF),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Vf),Ei),yn(Fd)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,brn),oF),"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."),Zr),Gi),yn(Fd)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,nrn),oF),"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."),_an),It),lr),yn(Fd)))),vn(e,new ln(pn(gn(mn(an(wn(dn(bn(new hn,Yin),oF),"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."),Qi),si),yn(Fd)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,X4),pcn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Ban),L3),oA),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,crn),pcn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),yi),zt),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,urn),pcn),"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),yi),zt),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,$y),zy),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Qi),si),yn(xn)))),ri(e,$y,Vb,Uue),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,wcn),zy),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),It),dA),yn(pi)))),ri(e,wcn,Vb,Gue),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,xy),zy),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Qi),si),yt(xn,S(C(Zh,1),G,170,0,[pi]))))),ri(e,xy,Vb,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Ry),zy),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Qi),si),yt(xn,S(C(Zh,1),G,170,0,[pi]))))),ri(e,Ry,Vb,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,Vb),zy),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),It),pdn),yn(pi)))),ri(e,Vb,G4,null),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,gcn),zy),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Qi),si),yn(xn)))),ri(e,gcn,Vb,que),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,trn),nWn),"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),yi),zt),yn(pi)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,irn),nWn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),yi),zt),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,JK),"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),Qi),si),yn(Ih)))),vn(e,new ln(pn(gn(mn(Pn(an(wn(dn(bn(new hn,QVn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Ean),It),rdn),yn(Ih)))),o6(e,new Dp(t6(cm(rm(new tp,Yn),"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.'))),o6(e,new Dp(t6(cm(rm(new tp,"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.`))),o6(e,new Dp(t6(cm(rm(new tp,cu),"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."))),o6(e,new Dp(t6(cm(rm(new tp,"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."))),o6(e,new Dp(t6(cm(rm(new tp,gVn),"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."))),o6(e,new Dp(t6(cm(rm(new tp,"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."))),o6(e,new Dp(t6(cm(rm(new tp,es),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),uUn((new E8n,e)),yUn((new j8n,e)),Dqn((new M8n,e))};var Dv,Pue,wan,x2,Iue,Oue,gan,R2,K2,Aue,Uj,pan,Gj,_d,man,Qq,Yq,van,kan,yan,jan,Ean,Lue,B2,Man,Nue,zj,Zq,Xj,nU,mw,Tan,$v,Can,San,Pan,F2,Ian,Hd,Oan,V0,_2,Aan,Sa,Lan,tA,Vj,M1,Nan,Due,Dan,$ue,xue,$an,xan,eU,tU,iU,rU,Ran,oo,m9,Kan,cU,uU,W0,Ban,Fan,H2,_an,N3,Wj,oU,q2,Rue,sU,Kue,Bue,Han,Fue,qan,Uan,D3,Gan,iA,zan,Xan,qd,_ue,Van,Wan,Jan,rA,Jj,v9,$3,Hue,que,cA,Uue,Qan,Gue;w(uo,"CoreOptions",699),b(88,22,{3:1,34:1,22:1,88:1},p7);var Wf,Kr,Xr,Jf,us,k9=we(uo,$tn,88,ke,N3e,Rbe),zue;b(278,22,{3:1,34:1,22:1,278:1},fN);var xv,J0,Rv,Yan=we(uo,"EdgeLabelPlacement",278,ke,upe,Kbe),Xue;b(223,22,{3:1,34:1,22:1,223:1},vM);var Kv,Qj,x3,fU,hU=we(uo,"EdgeRouting",223,ke,s3e,Bbe),Vue;b(321,22,{3:1,34:1,22:1,321:1},v6);var Zan,ndn,edn,tdn,lU,idn,rdn=we(uo,"EdgeType",321,ke,Sme,Fbe),Wue;b(989,1,ms,E8n),o.hf=function(e){uUn(e)};var cdn,udn,odn,sdn,Jue,fdn,y9;w(uo,"FixedLayouterOptions",989),b(990,1,{},z4n),o.sf=function(){var e;return e=new ivn,e},o.tf=function(e){},w(uo,"FixedLayouterOptions/FixedFactory",990),b(346,22,{3:1,34:1,22:1,346:1},hN);var T1,uA,j9,hdn=we(uo,"HierarchyHandling",346,ke,spe,_be),Que;b(290,22,{3:1,34:1,22:1,290:1},kM);var nl,Pa,Yj,Zj,Yue=we(uo,"LabelSide",290,ke,o3e,Hbe),Zue;b(95,22,{3:1,34:1,22:1,95:1},bg);var xl,Qs,Ms,Ys,No,Zs,Ts,el,nf,yr=we(uo,"NodeLabelPlacement",95,ke,P4e,qbe),noe;b(256,22,{3:1,34:1,22:1,256:1},m7);var ldn,E9,Ia,adn,nE,M9=we(uo,"PortAlignment",256,ke,V3e,Ube),eoe;b(101,22,{3:1,34:1,22:1,101:1},k6);var Ud,qc,tl,Bv,Qf,Oa,ddn=we(uo,"PortConstraints",101,ke,Cme,Gbe),toe;b(279,22,{3:1,34:1,22:1,279:1},y6);var T9,C9,Rl,eE,Aa,R3,oA=we(uo,"PortLabelPlacement",279,ke,Tme,zbe),ioe;b(64,22,{3:1,34:1,22:1,64:1},v7);var Zn,Xn,os,ss,pu,su,Yf,ef,Wu,xu,Uc,Ju,mu,vu,tf,Do,$o,Cs,ae,sc,Wn,lr=we(uo,"PortSide",64,ke,D3e,Xbe),roe;b(993,1,ms,M8n),o.hf=function(e){Dqn(e)};var coe,uoe,bdn,ooe,soe;w(uo,"RandomLayouterOptions",993),b(994,1,{},X4n),o.sf=function(){var e;return e=new nvn,e},o.tf=function(e){},w(uo,"RandomLayouterOptions/RandomFactory",994),b(386,22,{3:1,34:1,22:1,386:1},yM);var Q0,tE,iE,Gd,S9=we(uo,"SizeConstraint",386,ke,u3e,Vbe),foe;b(264,22,{3:1,34:1,22:1,264:1},wg);var rE,sA,Fv,aU,cE,P9,fA,hA,lA,wdn=we(uo,"SizeOptions",264,ke,F4e,Wbe),hoe;b(280,22,{3:1,34:1,22:1,280:1},lN);var Y0,gdn,aA,pdn=we(uo,"TopdownNodeTypes",280,ke,ope,Jbe),loe;b(347,22,mcn);var mdn,vdn,dA=we(uo,"TopdownSizeApproximator",347,ke,r2e,Ybe);b(987,347,mcn,XPn),o.Tg=function(e){return EBn(e)},we(uo,"TopdownSizeApproximator/1",987,dA,null,null),b(988,347,mcn,LIn),o.Tg=function(e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn,Fn;for(t=u(z(e,(He(),q2)),143),tn=(B1(),m=new Jv,m),cy(tn,e),jn=new de,s=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));s.e!=s.i.gc();)r=u(ue(s),27),A=(p=new Jv,p),PS(A,tn),cy(A,r),Fn=EBn(r),kg(A,y.Math.max(r.g,Fn.a),y.Math.max(r.f,Fn.b)),Vc(jn.f,r,A);for(c=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));c.e!=c.i.gc();)for(r=u(ue(c),27),d=new ne((!r.e&&(r.e=new Dn(Vt,r,7,4)),r.e));d.e!=d.i.gc();)a=u(ue(d),74),_=u(Fr(wr(jn.f,r)),27),X=u(ee(jn,N((!a.c&&(a.c=new Dn(he,a,5,8)),a.c),0)),27),D=(g=new HA,g),ve((!D.b&&(D.b=new Dn(he,D,4,7)),D.b),_),ve((!D.c&&(D.c=new Dn(he,D,5,8)),D.c),X),SS(D,St(_)),cy(D,a);j=u(z7(t.f),205);try{j.rf(tn,new uvn),fOn(t.f,j)}catch(Kn){throw Kn=Ot(Kn),L(Kn,103)?(k=Kn,T(k)):T(Kn)}return Nf(tn,K2)||Nf(tn,R2)||rtn(tn),l=$(B(z(tn,K2))),h=$(B(z(tn,R2))),f=l/h,i=$(B(z(tn,Jj)))*y.Math.sqrt((!tn.a&&(tn.a=new q(Ye,tn,10,11)),tn.a).i),kn=u(z(tn,M1),107),O=kn.b+kn.c+1,P=kn.d+kn.a+1,new V(y.Math.max(O,i),y.Math.max(P,i/f))},we(uo,"TopdownSizeApproximator/2",988,dA,null,null);var aoe;b(344,1,{871:1},op),o.Ug=function(e,t){return xFn(this,e,t)},o.Vg=function(){c_n(this)},o.Wg=function(){return this.q},o.Xg=function(){return this.f?CD(this.f):null},o.Yg=function(){return CD(this.a)},o.Zg=function(){return this.p},o.$g=function(){return!1},o._g=function(){return this.n},o.ah=function(){return this.p!=null&&!this.b},o.bh=function(e){var t;this.n&&(t=e,nn(this.f,t))},o.dh=function(e,t){var i,r;this.n&&e&&Mpe(this,(i=new UIn,r=OR(i,e),cLe(i),r),(NC(),bU))},o.eh=function(e){var t;return this.b?null:(t=f4e(this,this.g),Re(this.a,t),t.i=this,this.d=e,t)},o.fh=function(e){e>0&&!this.b&&jQ(this,e)},o.b=!1,o.c=0,o.d=-1,o.e=null,o.f=null,o.g=-1,o.j=!1,o.k=!1,o.n=!1,o.o=0,o.q=0,o.r=0,w(dc,"BasicProgressMonitor",344),b(717,205,yd,V4n),o.rf=function(e,t){KUn(e,t)},w(dc,"BoxLayoutProvider",717),b(983,1,De,Lkn),o.Ne=function(e,t){return cCe(this,u(e,27),u(t,27))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},o.a=!1,w(dc,"BoxLayoutProvider/1",983),b(163,1,{163:1},hC,pSn),o.Ib=function(){return this.c?ken(this.c):ua(this.b)},w(dc,"BoxLayoutProvider/Group",163),b(320,22,{3:1,34:1,22:1,320:1},jM);var kdn,ydn,jdn,dU,Edn=we(dc,"BoxLayoutProvider/PackingMode",320,ke,f3e,Zbe),doe;b(984,1,De,W4n),o.Ne=function(e,t){return Mge(u(e,163),u(t,163))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(dc,"BoxLayoutProvider/lambda$0$Type",984),b(985,1,De,J4n),o.Ne=function(e,t){return gge(u(e,163),u(t,163))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(dc,"BoxLayoutProvider/lambda$1$Type",985),b(986,1,De,Q4n),o.Ne=function(e,t){return pge(u(e,163),u(t,163))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(dc,"BoxLayoutProvider/lambda$2$Type",986),b(1384,1,{845:1},Y4n),o.Mg=function(e,t){return ZE(),!L(t,167)||mEn((qp(),u(e,167)),t)},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),b(1385,1,re,Nkn),o.Cd=function(e){D6e(this.a,u(e,149))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),b(1386,1,re,evn),o.Cd=function(e){u(e,96),ZE()},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),b(1390,1,re,Dkn),o.Cd=function(e){tve(this.a,u(e,96))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),b(1388,1,Le,sTn),o.Mb=function(e){return w6e(this.a,this.b,u(e,149))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),b(1387,1,Le,fTn),o.Mb=function(e){return J1e(this.a,this.b,u(e,845))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),b(1389,1,re,hTn),o.Cd=function(e){f0e(this.a,this.b,u(e,149))},w(dc,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),b(947,1,{},tvn),o.Kb=function(e){return cCn(e)},o.Fb=function(e){return this===e},w(dc,"ElkUtil/lambda$0$Type",947),b(948,1,re,lTn),o.Cd=function(e){sMe(this.a,this.b,u(e,74))},o.a=0,o.b=0,w(dc,"ElkUtil/lambda$1$Type",948),b(949,1,re,aTn),o.Cd=function(e){Zfe(this.a,this.b,u(e,166))},o.a=0,o.b=0,w(dc,"ElkUtil/lambda$2$Type",949),b(950,1,re,dTn),o.Cd=function(e){Vle(this.a,this.b,u(e,135))},o.a=0,o.b=0,w(dc,"ElkUtil/lambda$3$Type",950),b(951,1,re,$kn),o.Cd=function(e){Owe(this.a,u(e,377))},w(dc,"ElkUtil/lambda$4$Type",951),b(325,1,{34:1,325:1},Ife),o.Fd=function(e){return E1e(this,u(e,242))},o.Fb=function(e){var t;return L(e,325)?(t=u(e,325),this.a==t.a):!1},o.Hb=function(){return wi(this.a)},o.Ib=function(){return this.a+" (exclusive)"},o.a=0,w(dc,"ExclusiveBounds/ExclusiveLowerBound",325),b(1119,205,yd,ivn),o.rf=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O,A,D,_,X,tn,jn,kn;for(t.Ug("Fixed Layout",1),s=u(z(e,(He(),kan)),223),g=0,p=0,A=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));A.e!=A.i.gc();){for(P=u(ue(A),27),kn=u(z(P,(DC(),y9)),8),kn&&(Bo(P,kn.a,kn.b),u(z(P,udn),181).Hc((go(),Q0))&&(m=u(z(P,sdn),8),m.a>0&&m.b>0&&qb(P,m.a,m.b,!0,!0))),g=y.Math.max(g,P.i+P.g),p=y.Math.max(p,P.j+P.f),a=new ne((!P.n&&(P.n=new q(Sr,P,1,7)),P.n));a.e!=a.i.gc();)h=u(ue(a),135),kn=u(z(h,y9),8),kn&&Bo(h,kn.a,kn.b),g=y.Math.max(g,P.i+h.i+h.g),p=y.Math.max(p,P.j+h.j+h.f);for(X=new ne((!P.c&&(P.c=new q(Qu,P,9,9)),P.c));X.e!=X.i.gc();)for(_=u(ue(X),123),kn=u(z(_,y9),8),kn&&Bo(_,kn.a,kn.b),tn=P.i+_.i,jn=P.j+_.j,g=y.Math.max(g,tn+_.g),p=y.Math.max(p,jn+_.f),l=new ne((!_.n&&(_.n=new q(Sr,_,1,7)),_.n));l.e!=l.i.gc();)h=u(ue(l),135),kn=u(z(h,y9),8),kn&&Bo(h,kn.a,kn.b),g=y.Math.max(g,tn+h.i+h.g),p=y.Math.max(p,jn+h.j+h.f);for(c=new ie(ce(Sl(P).a.Kc(),new En));pe(c);)i=u(fe(c),74),d=YGn(i),g=y.Math.max(g,d.a),p=y.Math.max(p,d.b);for(r=new ie(ce(ry(P).a.Kc(),new En));pe(r);)i=u(fe(r),74),St(Fh(i))!=e&&(d=YGn(i),g=y.Math.max(g,d.a),p=y.Math.max(p,d.b))}if(s==(El(),Kv))for(O=new ne((!e.a&&(e.a=new q(Ye,e,10,11)),e.a));O.e!=O.i.gc();)for(P=u(ue(O),27),r=new ie(ce(Sl(P).a.Kc(),new En));pe(r);)i=u(fe(r),74),f=hIe(i),f.b==0?ht(i,mw,null):ht(i,mw,f);on(un(z(e,(DC(),odn))))||(D=u(z(e,Jue),107),j=g+D.b+D.c,k=p+D.d+D.a,qb(e,j,k,!0,!0)),t.Vg()},w(dc,"FixedLayoutProvider",1119),b(385,137,{3:1,423:1,385:1,96:1,137:1},_A,WDn),o.cg=function(e){var t,i,r,c,s,f,h,l,a;if(e)try{for(l=w0(e,";,;"),s=l,f=0,h=s.length;f<h;++f){if(c=s[f],i=w0(c,"\\:"),r=Jen(Gm(),i[0]),!r)throw T(new Gn("Invalid option id: "+i[0]));if(a=Ven(r,i[1]),a==null)throw T(new Gn("Invalid option value: "+i[1]));a==null?(!this.q&&(this.q=new de),Kp(this.q,r)):(!this.q&&(this.q=new de),Ve(this.q,r,a))}}catch(d){throw d=Ot(d),L(d,103)?(t=d,T(new NRn(t))):T(d)}},o.Ib=function(){var e;return e=Ae(Wr(_r((this.q?this.q:(Ln(),Ln(),Wh)).vc().Oc(),new rvn),Ww(new PPn,new Hbn,new Bbn,new Fbn,S(C(xr,1),G,108,0,[])))),e};var boe=w(dc,"IndividualSpacings",385);b(982,1,{},rvn),o.Kb=function(e){return Tge(u(e,44))},w(dc,"IndividualSpacings/lambda$0$Type",982),b(718,1,{},fIn),o.c=0,w(dc,"InstancePool",718),b(1835,1,{},cvn),w(dc,"LoggedGraph",1835),b(415,22,{3:1,34:1,22:1,415:1},EM);var Mdn,bU,Tdn,Cdn,woe=we(dc,"LoggedGraph/Type",415,ke,h3e,nwe),goe;b(1063,1,{871:1},uvn),o.Ug=function(e,t){return!1},o.Vg=function(){},o.Wg=function(){return 0},o.Xg=function(){return null},o.Yg=function(){return null},o.Zg=function(){return null},o.$g=function(){return!1},o._g=function(){return!1},o.ah=function(){return!1},o.bh=function(e){},o.dh=function(e,t){},o.eh=function(e){return this},o.fh=function(e){},w(dc,"NullElkProgressMonitor",1063),b(42,1,{20:1,42:1},bi),o.Jc=function(e){qi(this,e)},o.Fb=function(e){var t,i,r;return L(e,42)?(i=u(e,42),t=this.a==null?i.a==null:ct(this.a,i.a),r=this.b==null?i.b==null:ct(this.b,i.b),t&&r):!1},o.Hb=function(){var e,t,i,r,c,s;return i=this.a==null?0:mt(this.a),e=i&ui,t=i&-65536,s=this.b==null?0:mt(this.b),r=s&ui,c=s&-65536,e^c>>16&ui|t^r<<16},o.Kc=function(){return new xkn(this)},o.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Jr(this.b)+")":this.b==null?"pair("+Jr(this.a)+",null)":"pair("+Jr(this.a)+","+Jr(this.b)+")"},w(dc,"Pair",42),b(995,1,Pi,xkn),o.Nb=function(e){_i(this,e)},o.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},o.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw T(new nc)},o.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),T(new Mu)},o.b=!1,o.c=!1,w(dc,"Pair/1",995),b(454,1,{454:1},TOn),o.Fb=function(e){return mc(this.a,u(e,454).a)&&mc(this.c,u(e,454).c)&&mc(this.d,u(e,454).d)&&mc(this.b,u(e,454).b)},o.Hb=function(){return Ik(S(C(ki,1),Rn,1,5,[this.a,this.c,this.d,this.b]))},o.Ib=function(){return"("+this.a+ur+this.c+ur+this.d+ur+this.b+")"},w(dc,"Quadruple",454),b(1108,205,yd,nvn),o.rf=function(e,t){var i,r,c,s,f;if(t.Ug("Random Layout",1),(!e.a&&(e.a=new q(Ye,e,10,11)),e.a).i==0){t.Vg();return}s=u(z(e,(JY(),ooe)),17),s&&s.a!=0?c=new qT(s.a):c=new dx,i=J9(B(z(e,coe))),f=J9(B(z(e,soe))),r=u(z(e,uoe),107),PLe(e,c,i,f,r),t.Vg()},w(dc,"RandomLayoutProvider",1108),b(240,1,{240:1},_N),o.Fb=function(e){return mc(this.a,u(e,240).a)&&mc(this.b,u(e,240).b)&&mc(this.c,u(e,240).c)},o.Hb=function(){return Ik(S(C(ki,1),Rn,1,5,[this.a,this.b,this.c]))},o.Ib=function(){return"("+this.a+ur+this.b+ur+this.c+")"},w(dc,"Triple",240);var poe;b(562,1,{}),o.Lf=function(){return new V(this.f.i,this.f.j)},o.of=function(e){return ZOn(e,(He(),oo))?z(this.f,moe):z(this.f,e)},o.Mf=function(){return new V(this.f.g,this.f.f)},o.Nf=function(){return this.g},o.pf=function(e){return Nf(this.f,e)},o.Of=function(e){eu(this.f,e.a),tu(this.f,e.b)},o.Pf=function(e){Pb(this.f,e.a),Sb(this.f,e.b)},o.Qf=function(e){this.g=e},o.g=0;var moe;w(l8,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),b(563,1,{853:1},AE),o.Rf=function(){var e,t;if(!this.b)for(this.b=BT(yT(this.a).i),t=new ne(yT(this.a));t.e!=t.i.gc();)e=u(ue(t),135),nn(this.b,new pL(e));return this.b},o.b=null,w(l8,"ElkGraphAdapters/ElkEdgeAdapter",563),b(308,562,{},Pw),o.Sf=function(){return GBn(this)},o.a=null,w(l8,"ElkGraphAdapters/ElkGraphAdapter",308),b(640,562,{187:1},pL),w(l8,"ElkGraphAdapters/ElkLabelAdapter",640),b(639,562,{695:1},TN),o.Rf=function(){return w7e(this)},o.Vf=function(){var e;return e=u(z(this.f,(He(),$v)),140),!e&&(e=new Wv),e},o.Xf=function(){return g7e(this)},o.Zf=function(e){var t;t=new qN(e),ht(this.f,(He(),$v),t)},o.$f=function(e){ht(this.f,(He(),M1),new FV(e))},o.Tf=function(){return this.d},o.Uf=function(){var e,t;if(!this.a)for(this.a=new Z,t=new ie(ce(ry(u(this.f,27)).a.Kc(),new En));pe(t);)e=u(fe(t),74),nn(this.a,new AE(e));return this.a},o.Wf=function(){var e,t;if(!this.c)for(this.c=new Z,t=new ie(ce(Sl(u(this.f,27)).a.Kc(),new En));pe(t);)e=u(fe(t),74),nn(this.c,new AE(e));return this.c},o.Yf=function(){return CT(u(this.f,27)).i!=0||on(un(u(this.f,27).of((He(),zj))))},o._f=function(){Vme(this,(Aw(),poe))},o.a=null,o.b=null,o.c=null,o.d=null,o.e=null,w(l8,"ElkGraphAdapters/ElkNodeAdapter",639),b(1284,562,{852:1},Rkn),o.Rf=function(){return M7e(this)},o.Uf=function(){var e,t;if(!this.a)for(this.a=Lh(u(this.f,123).hh().i),t=new ne(u(this.f,123).hh());t.e!=t.i.gc();)e=u(ue(t),74),nn(this.a,new AE(e));return this.a},o.Wf=function(){var e,t;if(!this.c)for(this.c=Lh(u(this.f,123).ih().i),t=new ne(u(this.f,123).ih());t.e!=t.i.gc();)e=u(ue(t),74),nn(this.c,new AE(e));return this.c},o.ag=function(){return u(u(this.f,123).of((He(),H2)),64)},o.bg=function(){var e,t,i,r,c,s,f,h;for(r=Pf(u(this.f,123)),i=new ne(u(this.f,123).ih());i.e!=i.i.gc();)for(e=u(ue(i),74),h=new ne((!e.c&&(e.c=new Dn(he,e,5,8)),e.c));h.e!=h.i.gc();){if(f=u(ue(h),84),Yw(Gr(f),r))return!0;if(Gr(f)==r&&on(un(z(e,(He(),Zq)))))return!0}for(t=new ne(u(this.f,123).hh());t.e!=t.i.gc();)for(e=u(ue(t),74),s=new ne((!e.b&&(e.b=new Dn(he,e,4,7)),e.b));s.e!=s.i.gc();)if(c=u(ue(s),84),Yw(Gr(c),r))return!0;return!1},o.a=null,o.b=null,o.c=null,w(l8,"ElkGraphAdapters/ElkPortAdapter",1284),b(1285,1,De,Z4n),o.Ne=function(e,t){return tPe(u(e,123),u(t,123))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(l8,"ElkGraphAdapters/PortComparator",1285);var La=Dt(ts,"EObject"),_v=Dt(o2,iWn),xo=Dt(o2,rWn),uE=Dt(o2,cWn),oE=Dt(o2,"ElkShape"),he=Dt(o2,uWn),Vt=Dt(o2,vcn),Tt=Dt(o2,oWn),sE=Dt(ts,sWn),I9=Dt(ts,"EFactory"),voe,wU=Dt(ts,fWn),Ef=Dt(ts,"EPackage"),Ci,koe,yoe,Sdn,bA,joe,Pdn,Idn,Odn,il,Eoe,Moe,Sr=Dt(o2,kcn),Ye=Dt(o2,ycn),Qu=Dt(o2,jcn);b(93,1,hWn),o.th=function(){return this.uh(),null},o.uh=function(){return null},o.vh=function(){return this.uh(),!1},o.wh=function(){return!1},o.xh=function(e){rt(this,e)},w(g3,"BasicNotifierImpl",93),b(99,93,bWn),o.Yh=function(){return fo(this)},o.yh=function(e,t){return e},o.zh=function(){throw T(new Ie)},o.Ah=function(e){var t;return t=br(u($n(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,e)},o.Bh=function(e,t){throw T(new Ie)},o.Ch=function(e,t,i){return Po(this,e,t,i)},o.Dh=function(){var e;return this.zh()&&(e=this.zh().Nk(),e)?e:this.ii()},o.Eh=function(){return dR(this)},o.Fh=function(){throw T(new Ie)},o.Gh=function(){var e,t;return t=this.$h().Ok(),!t&&this.zh().Tk(t=(f6(),e=ZW(bh(this.Dh())),e==null?EU:new M7(this,e))),t},o.Hh=function(e,t){return e},o.Ih=function(e){var t;return t=e.pk(),t?e.Lj():At(this.Dh(),e)},o.Jh=function(){var e;return e=this.zh(),e?e.Qk():null},o.Kh=function(){return this.zh()?this.zh().Nk():null},o.Lh=function(e,t,i){return tS(this,e,t,i)},o.Mh=function(e){return $m(this,e)},o.Nh=function(e,t){return YD(this,e,t)},o.Oh=function(){var e;return e=this.zh(),!!e&&e.Rk()},o.Ph=function(){throw T(new Ie)},o.Qh=function(){return WC(this)},o.Rh=function(e,t,i,r){return Wp(this,e,t,r)},o.Sh=function(e,t,i){var r;return r=u($n(this.Dh(),t),69),r.wk().zk(this,this.hi(),t-this.ji(),e,i)},o.Th=function(e,t,i,r){return OT(this,e,t,r)},o.Uh=function(e,t,i){var r;return r=u($n(this.Dh(),t),69),r.wk().Ak(this,this.hi(),t-this.ji(),e,i)},o.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},o.Wh=function(e){return Mx(this,e)},o.Xh=function(e){return dAn(this,e)},o.Zh=function(e){return xGn(this,e)},o.$h=function(){throw T(new Ie)},o._h=function(){return this.zh()?this.zh().Pk():null},o.ai=function(){return WC(this)},o.bi=function(e,t){sR(this,e,t)},o.ci=function(e){this.$h().Sk(e)},o.di=function(e){this.$h().Vk(e)},o.ei=function(e){this.$h().Uk(e)},o.fi=function(e,t){var i,r,c,s;return s=this.Jh(),s&&e&&(t=cr(s.El(),this,t),s.Il(this)),r=this.Ph(),r&&(SR(this,this.Ph(),this.Fh()).Bb&hr?(c=r.Qh(),c&&(e?!s&&c.Il(this):c.Hl(this))):(t=(i=this.Fh(),i>=0?this.Ah(t):this.Ph().Th(this,-1-i,null,t)),t=this.Ch(null,-1,t))),this.di(e),t},o.gi=function(e){var t,i,r,c,s,f,h,l;if(i=this.Dh(),s=At(i,e),t=this.ji(),s>=t)return u(e,69).wk().Dk(this,this.hi(),s-t);if(s<=-1)if(f=Qg((Lu(),zi),i,e),f){if(dr(),u(f,69).xk()||(f=$p(Nr(zi,f))),c=(r=this.Ih(f),u(r>=0?this.Lh(r,!0,!0):Fb(this,f,!0),160)),l=f.Ik(),l>1||l==-1)return u(u(c,220).Sl(e,!1),79)}else throw T(new Gn(wa+e.xe()+sF));else if(e.Jk())return r=this.Ih(e),u(r>=0?this.Lh(r,!1,!0):Fb(this,e,!1),79);return h=new ATn(this,e),h},o.hi=function(){return rQ(this)},o.ii=function(){return(z1(),Hn).S},o.ji=function(){return se(this.ii())},o.ki=function(e){cR(this,e)},o.Ib=function(){return Hs(this)},w(qn,"BasicEObjectImpl",99);var Toe;b(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),o.li=function(e){var t;return t=iQ(this),t[e]},o.mi=function(e,t){var i;i=iQ(this),$t(i,e,t)},o.ni=function(e){var t;t=iQ(this),$t(t,e,null)},o.th=function(){return u(Un(this,4),129)},o.uh=function(){throw T(new Ie)},o.vh=function(){return(this.Db&4)!=0},o.zh=function(){throw T(new Ie)},o.oi=function(e){Xp(this,2,e)},o.Bh=function(e,t){this.Db=t<<16|this.Db&255,this.oi(e)},o.Dh=function(){return au(this)},o.Fh=function(){return this.Db>>16},o.Gh=function(){var e,t;return f6(),t=ZW(bh((e=u(Un(this,16),29),e||this.ii()))),t==null?EU:new M7(this,t)},o.wh=function(){return(this.Db&1)==0},o.Jh=function(){return u(Un(this,128),2034)},o.Kh=function(){return u(Un(this,16),29)},o.Oh=function(){return(this.Db&32)!=0},o.Ph=function(){return u(Un(this,2),54)},o.Vh=function(){return(this.Db&64)!=0},o.$h=function(){throw T(new Ie)},o._h=function(){return u(Un(this,64),288)},o.ci=function(e){Xp(this,16,e)},o.di=function(e){Xp(this,128,e)},o.ei=function(e){Xp(this,64,e)},o.hi=function(){return iu(this)},o.Db=0,w(qn,"MinimalEObjectImpl",119),b(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.oi=function(e){this.Cb=e},o.Ph=function(){return this.Cb},w(qn,"MinimalEObjectImpl/Container",120),b(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return vZ(this,e,t,i)},o.Uh=function(e,t,i){return snn(this,e,t,i)},o.Wh=function(e){return dJ(this,e)},o.bi=function(e,t){rY(this,e,t)},o.ii=function(){return Mc(),Moe},o.ki=function(e){XQ(this,e)},o.nf=function(){return lBn(this)},o.gh=function(){return!this.o&&(this.o=new Ou((Mc(),il),C1,this,0)),this.o},o.of=function(e){return z(this,e)},o.pf=function(e){return Nf(this,e)},o.qf=function(e,t){return ht(this,e,t)},w(Td,"EMapPropertyHolderImpl",2083),b(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},kE),o.Lh=function(e,t,i){switch(e){case 0:return this.a;case 1:return this.b}return tS(this,e,t,i)},o.Wh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return Mx(this,e)},o.bi=function(e,t){switch(e){case 0:aC(this,$(B(t)));return;case 1:lC(this,$(B(t)));return}sR(this,e,t)},o.ii=function(){return Mc(),koe},o.ki=function(e){switch(e){case 0:aC(this,0);return;case 1:lC(this,0);return}cR(this,e)},o.Ib=function(){var e;return this.Db&64?Hs(this):(e=new ls(Hs(this)),e.a+=" (x: ",hg(e,this.a),e.a+=", y: ",hg(e,this.b),e.a+=")",e.a)},o.a=0,o.b=0,w(Td,"ElkBendPointImpl",572),b(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return SY(this,e,t,i)},o.Sh=function(e,t,i){return Yx(this,e,t,i)},o.Uh=function(e,t,i){return $$(this,e,t,i)},o.Wh=function(e){return _Q(this,e)},o.bi=function(e,t){KZ(this,e,t)},o.ii=function(){return Mc(),joe},o.ki=function(e){mY(this,e)},o.jh=function(){return this.k},o.kh=function(){return yT(this)},o.Ib=function(){return ox(this)},o.k=null,w(Td,"ElkGraphElementImpl",739),b(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return $Y(this,e,t,i)},o.Wh=function(e){return _Y(this,e)},o.bi=function(e,t){BZ(this,e,t)},o.ii=function(){return Mc(),Eoe},o.ki=function(e){VY(this,e)},o.lh=function(){return this.f},o.mh=function(){return this.g},o.nh=function(){return this.i},o.oh=function(){return this.j},o.ph=function(e,t){kg(this,e,t)},o.qh=function(e,t){Bo(this,e,t)},o.rh=function(e){eu(this,e)},o.sh=function(e){tu(this,e)},o.Ib=function(){return iR(this)},o.f=0,o.g=0,o.i=0,o.j=0,w(Td,"ElkShapeImpl",740),b(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return aZ(this,e,t,i)},o.Sh=function(e,t,i){return LZ(this,e,t,i)},o.Uh=function(e,t,i){return NZ(this,e,t,i)},o.Wh=function(e){return iY(this,e)},o.bi=function(e,t){Gnn(this,e,t)},o.ii=function(){return Mc(),yoe},o.ki=function(e){oZ(this,e)},o.hh=function(){return!this.d&&(this.d=new Dn(Vt,this,8,5)),this.d},o.ih=function(){return!this.e&&(this.e=new Dn(Vt,this,7,4)),this.e},w(Td,"ElkConnectableShapeImpl",741),b(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},HA),o.Ah=function(e){return PZ(this,e)},o.Lh=function(e,t,i){switch(e){case 3:return X7(this);case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),this.c;case 6:return!this.a&&(this.a=new q(Tt,this,6,6)),this.a;case 7:return _n(),!this.b&&(this.b=new Dn(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Dn(he,this,5,8)),this.c.i<=1));case 8:return _n(),!!L5(this);case 9:return _n(),!!Bb(this);case 10:return _n(),!this.b&&(this.b=new Dn(he,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Dn(he,this,5,8)),this.c.i!=0)}return SY(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?PZ(this,i):this.Cb.Th(this,-1-r,null,i))),fV(this,u(e,27),i);case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),Xc(this.b,e,i);case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),Xc(this.c,e,i);case 6:return!this.a&&(this.a=new q(Tt,this,6,6)),Xc(this.a,e,i)}return Yx(this,e,t,i)},o.Uh=function(e,t,i){switch(t){case 3:return fV(this,null,i);case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),cr(this.b,e,i);case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),cr(this.c,e,i);case 6:return!this.a&&(this.a=new q(Tt,this,6,6)),cr(this.a,e,i)}return $$(this,e,t,i)},o.Wh=function(e){switch(e){case 3:return!!X7(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new Dn(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Dn(he,this,5,8)),this.c.i<=1));case 8:return L5(this);case 9:return Bb(this);case 10:return!this.b&&(this.b=new Dn(he,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Dn(he,this,5,8)),this.c.i!=0)}return _Q(this,e)},o.bi=function(e,t){switch(e){case 3:SS(this,u(t,27));return;case 4:!this.b&&(this.b=new Dn(he,this,4,7)),me(this.b),!this.b&&(this.b=new Dn(he,this,4,7)),Bt(this.b,u(t,16));return;case 5:!this.c&&(this.c=new Dn(he,this,5,8)),me(this.c),!this.c&&(this.c=new Dn(he,this,5,8)),Bt(this.c,u(t,16));return;case 6:!this.a&&(this.a=new q(Tt,this,6,6)),me(this.a),!this.a&&(this.a=new q(Tt,this,6,6)),Bt(this.a,u(t,16));return}KZ(this,e,t)},o.ii=function(){return Mc(),Sdn},o.ki=function(e){switch(e){case 3:SS(this,null);return;case 4:!this.b&&(this.b=new Dn(he,this,4,7)),me(this.b);return;case 5:!this.c&&(this.c=new Dn(he,this,5,8)),me(this.c);return;case 6:!this.a&&(this.a=new q(Tt,this,6,6)),me(this.a);return}mY(this,e)},o.Ib=function(){return nGn(this)},w(Td,"ElkEdgeImpl",326),b(451,2083,{110:1,342:1,166:1,451:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},yE),o.Ah=function(e){return MZ(this,e)},o.Lh=function(e,t,i){switch(e){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 ti(xo,this,5)),this.a;case 6:return fAn(this);case 7:return t?Ix(this):this.i;case 8:return t?Px(this):this.f;case 9:return!this.g&&(this.g=new Dn(Tt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Dn(Tt,this,10,9)),this.e;case 11:return this.d}return vZ(this,e,t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?MZ(this,i):this.Cb.Th(this,-1-c,null,i))),sV(this,u(e,74),i);case 9:return!this.g&&(this.g=new Dn(Tt,this,9,10)),Xc(this.g,e,i);case 10:return!this.e&&(this.e=new Dn(Tt,this,10,9)),Xc(this.e,e,i)}return s=u($n((r=u(Un(this,16),29),r||(Mc(),bA)),t),69),s.wk().zk(this,iu(this),t-se((Mc(),bA)),e,i)},o.Uh=function(e,t,i){switch(t){case 5:return!this.a&&(this.a=new ti(xo,this,5)),cr(this.a,e,i);case 6:return sV(this,null,i);case 9:return!this.g&&(this.g=new Dn(Tt,this,9,10)),cr(this.g,e,i);case 10:return!this.e&&(this.e=new Dn(Tt,this,10,9)),cr(this.e,e,i)}return snn(this,e,t,i)},o.Wh=function(e){switch(e){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!fAn(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return dJ(this,e)},o.bi=function(e,t){switch(e){case 1:_m(this,$(B(t)));return;case 2:qm(this,$(B(t)));return;case 3:Fm(this,$(B(t)));return;case 4:Hm(this,$(B(t)));return;case 5:!this.a&&(this.a=new ti(xo,this,5)),me(this.a),!this.a&&(this.a=new ti(xo,this,5)),Bt(this.a,u(t,16));return;case 6:ZHn(this,u(t,74));return;case 7:vC(this,u(t,84));return;case 8:mC(this,u(t,84));return;case 9:!this.g&&(this.g=new Dn(Tt,this,9,10)),me(this.g),!this.g&&(this.g=new Dn(Tt,this,9,10)),Bt(this.g,u(t,16));return;case 10:!this.e&&(this.e=new Dn(Tt,this,10,9)),me(this.e),!this.e&&(this.e=new Dn(Tt,this,10,9)),Bt(this.e,u(t,16));return;case 11:IQ(this,Ae(t));return}rY(this,e,t)},o.ii=function(){return Mc(),bA},o.ki=function(e){switch(e){case 1:_m(this,0);return;case 2:qm(this,0);return;case 3:Fm(this,0);return;case 4:Hm(this,0);return;case 5:!this.a&&(this.a=new ti(xo,this,5)),me(this.a);return;case 6:ZHn(this,null);return;case 7:vC(this,null);return;case 8:mC(this,null);return;case 9:!this.g&&(this.g=new Dn(Tt,this,9,10)),me(this.g);return;case 10:!this.e&&(this.e=new Dn(Tt,this,10,9)),me(this.e);return;case 11:IQ(this,null);return}XQ(this,e)},o.Ib=function(){return dHn(this)},o.b=0,o.c=0,o.d=null,o.j=0,o.k=0,w(Td,"ElkEdgeSectionImpl",451),b(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),o.Lh=function(e,t,i){var r;return e==0?(!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab):zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Sh=function(e,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i)):(c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().zk(this,iu(this),t-se(this.ii()),e,i))},o.Uh=function(e,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i)):(c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i))},o.Wh=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.Zh=function(e){return ttn(this,e)},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.di=function(e){Xp(this,128,e)},o.ii=function(){return An(),qoe},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.pi=function(){this.Bb|=1},o.qi=function(e){return B5(this,e)},o.Bb=0,w(qn,"EModelElementImpl",158),b(720,158,{110:1,94:1,93:1,479:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},cG),o.ri=function(e,t){return IGn(this,e,t)},o.si=function(e){var t,i,r,c,s;if(this.a!=jo(e)||e.Bb&256)throw T(new Gn(hF+e.zb+Yb));for(r=Hr(e);Pc(r.a).i!=0;){if(i=u(gy(r,0,(t=u(N(Pc(r.a),0),89),s=t.c,L(s,90)?u(s,29):(An(),Os))),29),Kb(i))return c=jo(i).wi().si(i),u(c,54).ci(e),c;r=Hr(i)}return(e.D!=null?e.D:e.B)=="java.util.Map$Entry"?new GPn(e):new QV(e)},o.ti=function(e,t){return Ub(this,e,t)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.a}return zo(this,e-se((An(),xa)),$n((r=u(Un(this,16),29),r||xa),e),t,i)},o.Sh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 1:return this.a&&(i=u(this.a,54).Th(this,4,Ef,i)),pY(this,u(e,241),i)}return c=u($n((r=u(Un(this,16),29),r||(An(),xa)),t),69),c.wk().zk(this,iu(this),t-se((An(),xa)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 1:return pY(this,null,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),xa)),t),69),c.wk().Ak(this,iu(this),t-se((An(),xa)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Uo(this,e-se((An(),xa)),$n((t=u(Un(this,16),29),t||xa),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:WFn(this,u(t,241));return}Jo(this,e-se((An(),xa)),$n((i=u(Un(this,16),29),i||xa),e),t)},o.ii=function(){return An(),xa},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:WFn(this,null);return}Wo(this,e-se((An(),xa)),$n((t=u(Un(this,16),29),t||xa),e))};var O9,Adn,Coe;w(qn,"EFactoryImpl",720),b(1037,720,{110:1,2113:1,94:1,93:1,479:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},svn),o.ri=function(e,t){switch(e.hk()){case 12:return u(t,149).Pg();case 13:return Jr(t);default:throw T(new Gn(nv+e.xe()+Yb))}},o.si=function(e){var t,i,r,c,s,f,h,l;switch(e.G==-1&&(e.G=(t=jo(e),t?f1(t.vi(),e):-1)),e.G){case 4:return s=new ZU,s;case 6:return f=new Jv,f;case 7:return h=new ZG,h;case 8:return r=new HA,r;case 9:return i=new kE,i;case 10:return c=new yE,c;case 11:return l=new fvn,l;default:throw T(new Gn(hF+e.zb+Yb))}},o.ti=function(e,t){switch(e.hk()){case 13:case 12:return null;default:throw T(new Gn(nv+e.xe()+Yb))}},w(Td,"ElkGraphFactoryImpl",1037),b(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),o.Gh=function(){var e,t;return t=(e=u(Un(this,16),29),ZW(bh(e||this.ii()))),t==null?(f6(),f6(),EU):new bSn(this,t)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.xe()}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:this.ui(Ae(t));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return An(),Uoe},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:this.ui(null);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.xe=function(){return this.zb},o.ui=function(e){zc(this,e)},o.Ib=function(){return w5(this)},o.zb=null,w(qn,"ENamedElementImpl",448),b(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},_On),o.Ah=function(e){return uFn(this,e)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,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 Hw(this,Mf,this)),this.rb;case 6:return!this.vb&&(this.vb=new jp(Ef,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:gAn(this)}return zo(this,e-se((An(),O1)),$n((r=u(Un(this,16),29),r||O1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 4:return this.sb&&(i=u(this.sb,54).Th(this,1,I9,i)),kY(this,u(e,479),i);case 5:return!this.rb&&(this.rb=new Hw(this,Mf,this)),Xc(this.rb,e,i);case 6:return!this.vb&&(this.vb=new jp(Ef,this,6,7)),Xc(this.vb,e,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?uFn(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,7,i)}return s=u($n((r=u(Un(this,16),29),r||(An(),O1)),t),69),s.wk().zk(this,iu(this),t-se((An(),O1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 4:return kY(this,null,i);case 5:return!this.rb&&(this.rb=new Hw(this,Mf,this)),cr(this.rb,e,i);case 6:return!this.vb&&(this.vb=new jp(Ef,this,6,7)),cr(this.vb,e,i);case 7:return Po(this,null,7,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),O1)),t),69),c.wk().Ak(this,iu(this),t-se((An(),O1)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!gAn(this)}return Uo(this,e-se((An(),O1)),$n((t=u(Un(this,16),29),t||O1),e))},o.Zh=function(e){var t;return t=pCe(this,e),t||ttn(this,e)},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Ae(t));return;case 2:TC(this,Ae(t));return;case 3:MC(this,Ae(t));return;case 4:tR(this,u(t,479));return;case 5:!this.rb&&(this.rb=new Hw(this,Mf,this)),me(this.rb),!this.rb&&(this.rb=new Hw(this,Mf,this)),Bt(this.rb,u(t,16));return;case 6:!this.vb&&(this.vb=new jp(Ef,this,6,7)),me(this.vb),!this.vb&&(this.vb=new jp(Ef,this,6,7)),Bt(this.vb,u(t,16));return}Jo(this,e-se((An(),O1)),$n((i=u(Un(this,16),29),i||O1),e),t)},o.ei=function(e){var t,i;if(e&&this.rb)for(i=new ne(this.rb);i.e!=i.i.gc();)t=ue(i),L(t,364)&&(u(t,364).w=null);Xp(this,64,e)},o.ii=function(){return An(),O1},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:TC(this,null);return;case 3:MC(this,null);return;case 4:tR(this,null);return;case 5:!this.rb&&(this.rb=new Hw(this,Mf,this)),me(this.rb);return;case 6:!this.vb&&(this.vb=new jp(Ef,this,6,7)),me(this.vb);return}Wo(this,e-se((An(),O1)),$n((t=u(Un(this,16),29),t||O1),e))},o.pi=function(){Hx(this)},o.vi=function(){return!this.rb&&(this.rb=new Hw(this,Mf,this)),this.rb},o.wi=function(){return this.sb},o.xi=function(){return this.ub},o.yi=function(){return this.xb},o.zi=function(){return this.yb},o.Ai=function(e){this.ub=e},o.Ib=function(){var e;return this.Db&64?w5(this):(e=new ls(w5(this)),e.a+=" (nsURI: ",Er(e,this.yb),e.a+=", nsPrefix: ",Er(e,this.xb),e.a+=")",e.a)},o.xb=null,o.yb=null,w(qn,"EPackageImpl",184),b(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},jHn),o.q=!1,o.r=!1;var Soe=!1;w(Td,"ElkGraphPackageImpl",569),b(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ZU),o.Ah=function(e){return TZ(this,e)},o.Lh=function(e,t,i){switch(e){case 7:return pAn(this);case 8:return this.a}return $Y(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 7:return this.Cb&&(i=(r=this.Db>>16,r>=0?TZ(this,i):this.Cb.Th(this,-1-r,null,i))),aW(this,u(e,167),i)}return Yx(this,e,t,i)},o.Uh=function(e,t,i){return t==7?aW(this,null,i):$$(this,e,t,i)},o.Wh=function(e){switch(e){case 7:return!!pAn(this);case 8:return!Sn("",this.a)}return _Y(this,e)},o.bi=function(e,t){switch(e){case 7:ren(this,u(t,167));return;case 8:MQ(this,Ae(t));return}BZ(this,e,t)},o.ii=function(){return Mc(),Pdn},o.ki=function(e){switch(e){case 7:ren(this,null);return;case 8:MQ(this,"");return}VY(this,e)},o.Ib=function(){return f_n(this)},o.a="",w(Td,"ElkLabelImpl",366),b(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Jv),o.Ah=function(e){return IZ(this,e)},o.Lh=function(e,t,i){switch(e){case 9:return!this.c&&(this.c=new q(Qu,this,9,9)),this.c;case 10:return!this.a&&(this.a=new q(Ye,this,10,11)),this.a;case 11:return St(this);case 12:return!this.b&&(this.b=new q(Vt,this,12,3)),this.b;case 13:return _n(),!this.a&&(this.a=new q(Ye,this,10,11)),this.a.i>0}return aZ(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new q(Qu,this,9,9)),Xc(this.c,e,i);case 10:return!this.a&&(this.a=new q(Ye,this,10,11)),Xc(this.a,e,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?IZ(this,i):this.Cb.Th(this,-1-r,null,i))),vV(this,u(e,27),i);case 12:return!this.b&&(this.b=new q(Vt,this,12,3)),Xc(this.b,e,i)}return LZ(this,e,t,i)},o.Uh=function(e,t,i){switch(t){case 9:return!this.c&&(this.c=new q(Qu,this,9,9)),cr(this.c,e,i);case 10:return!this.a&&(this.a=new q(Ye,this,10,11)),cr(this.a,e,i);case 11:return vV(this,null,i);case 12:return!this.b&&(this.b=new q(Vt,this,12,3)),cr(this.b,e,i)}return NZ(this,e,t,i)},o.Wh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!St(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new q(Ye,this,10,11)),this.a.i>0}return iY(this,e)},o.bi=function(e,t){switch(e){case 9:!this.c&&(this.c=new q(Qu,this,9,9)),me(this.c),!this.c&&(this.c=new q(Qu,this,9,9)),Bt(this.c,u(t,16));return;case 10:!this.a&&(this.a=new q(Ye,this,10,11)),me(this.a),!this.a&&(this.a=new q(Ye,this,10,11)),Bt(this.a,u(t,16));return;case 11:PS(this,u(t,27));return;case 12:!this.b&&(this.b=new q(Vt,this,12,3)),me(this.b),!this.b&&(this.b=new q(Vt,this,12,3)),Bt(this.b,u(t,16));return}Gnn(this,e,t)},o.ii=function(){return Mc(),Idn},o.ki=function(e){switch(e){case 9:!this.c&&(this.c=new q(Qu,this,9,9)),me(this.c);return;case 10:!this.a&&(this.a=new q(Ye,this,10,11)),me(this.a);return;case 11:PS(this,null);return;case 12:!this.b&&(this.b=new q(Vt,this,12,3)),me(this.b);return}oZ(this,e)},o.Ib=function(){return ken(this)},w(Td,"ElkNodeImpl",207),b(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ZG),o.Ah=function(e){return CZ(this,e)},o.Lh=function(e,t,i){return e==9?Pf(this):aZ(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 9:return this.Cb&&(i=(r=this.Db>>16,r>=0?CZ(this,i):this.Cb.Th(this,-1-r,null,i))),hV(this,u(e,27),i)}return LZ(this,e,t,i)},o.Uh=function(e,t,i){return t==9?hV(this,null,i):NZ(this,e,t,i)},o.Wh=function(e){return e==9?!!Pf(this):iY(this,e)},o.bi=function(e,t){switch(e){case 9:nen(this,u(t,27));return}Gnn(this,e,t)},o.ii=function(){return Mc(),Odn},o.ki=function(e){switch(e){case 9:nen(this,null);return}oZ(this,e)},o.Ib=function(){return Yqn(this)},w(Td,"ElkPortImpl",193);var Poe=Dt(or,"BasicEMap/Entry");b(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},fvn),o.Fb=function(e){return this===e},o.ld=function(){return this.b},o.Hb=function(){return fb(this)},o.Di=function(e){TQ(this,u(e,149))},o.Lh=function(e,t,i){switch(e){case 0:return this.b;case 1:return this.c}return tS(this,e,t,i)},o.Wh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return Mx(this,e)},o.bi=function(e,t){switch(e){case 0:TQ(this,u(t,149));return;case 1:EQ(this,t);return}sR(this,e,t)},o.ii=function(){return Mc(),il},o.ki=function(e){switch(e){case 0:TQ(this,null);return;case 1:EQ(this,null);return}cR(this,e)},o.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?mt(e):0),this.a},o.md=function(){return this.c},o.Ci=function(e){this.a=e},o.nd=function(e){var t;return t=this.c,EQ(this,e),t},o.Ib=function(){var e;return this.Db&64?Hs(this):(e=new R1,Be(Be(Be(e,this.b?this.b.Pg():gu),iB),I6(this.c)),e.a)},o.a=-1,o.c=null;var C1=w(Td,"ElkPropertyToValueMapEntryImpl",1122);b(996,1,{},avn),w(Ui,"JsonAdapter",996),b(216,63,Il,eh),w(Ui,"JsonImportException",216),b(868,1,{},oFn),w(Ui,"JsonImporter",868),b(903,1,{},bTn),w(Ui,"JsonImporter/lambda$0$Type",903),b(904,1,{},wTn),w(Ui,"JsonImporter/lambda$1$Type",904),b(912,1,{},Kkn),w(Ui,"JsonImporter/lambda$10$Type",912),b(914,1,{},gTn),w(Ui,"JsonImporter/lambda$11$Type",914),b(915,1,{},pTn),w(Ui,"JsonImporter/lambda$12$Type",915),b(921,1,{},IOn),w(Ui,"JsonImporter/lambda$13$Type",921),b(920,1,{},OOn),w(Ui,"JsonImporter/lambda$14$Type",920),b(916,1,{},mTn),w(Ui,"JsonImporter/lambda$15$Type",916),b(917,1,{},vTn),w(Ui,"JsonImporter/lambda$16$Type",917),b(918,1,{},kTn),w(Ui,"JsonImporter/lambda$17$Type",918),b(919,1,{},yTn),w(Ui,"JsonImporter/lambda$18$Type",919),b(924,1,{},Bkn),w(Ui,"JsonImporter/lambda$19$Type",924),b(905,1,{},Fkn),w(Ui,"JsonImporter/lambda$2$Type",905),b(922,1,{},_kn),w(Ui,"JsonImporter/lambda$20$Type",922),b(923,1,{},Hkn),w(Ui,"JsonImporter/lambda$21$Type",923),b(927,1,{},qkn),w(Ui,"JsonImporter/lambda$22$Type",927),b(925,1,{},Ukn),w(Ui,"JsonImporter/lambda$23$Type",925),b(926,1,{},Gkn),w(Ui,"JsonImporter/lambda$24$Type",926),b(929,1,{},zkn),w(Ui,"JsonImporter/lambda$25$Type",929),b(928,1,{},Xkn),w(Ui,"JsonImporter/lambda$26$Type",928),b(930,1,re,jTn),o.Cd=function(e){Ame(this.b,this.a,Ae(e))},w(Ui,"JsonImporter/lambda$27$Type",930),b(931,1,re,ETn),o.Cd=function(e){Lme(this.b,this.a,Ae(e))},w(Ui,"JsonImporter/lambda$28$Type",931),b(932,1,{},MTn),w(Ui,"JsonImporter/lambda$29$Type",932),b(908,1,{},Vkn),w(Ui,"JsonImporter/lambda$3$Type",908),b(933,1,{},TTn),w(Ui,"JsonImporter/lambda$30$Type",933),b(934,1,{},Wkn),w(Ui,"JsonImporter/lambda$31$Type",934),b(935,1,{},Jkn),w(Ui,"JsonImporter/lambda$32$Type",935),b(936,1,{},Qkn),w(Ui,"JsonImporter/lambda$33$Type",936),b(937,1,{},Ykn),w(Ui,"JsonImporter/lambda$34$Type",937),b(870,1,{},Zkn),w(Ui,"JsonImporter/lambda$35$Type",870),b(941,1,{},vPn),w(Ui,"JsonImporter/lambda$36$Type",941),b(938,1,re,nyn),o.Cd=function(e){R3e(this.a,u(e,377))},w(Ui,"JsonImporter/lambda$37$Type",938),b(939,1,re,CTn),o.Cd=function(e){mle(this.a,this.b,u(e,166))},w(Ui,"JsonImporter/lambda$38$Type",939),b(940,1,re,STn),o.Cd=function(e){vle(this.a,this.b,u(e,166))},w(Ui,"JsonImporter/lambda$39$Type",940),b(906,1,{},eyn),w(Ui,"JsonImporter/lambda$4$Type",906),b(942,1,re,tyn),o.Cd=function(e){K3e(this.a,u(e,8))},w(Ui,"JsonImporter/lambda$40$Type",942),b(907,1,{},iyn),w(Ui,"JsonImporter/lambda$5$Type",907),b(911,1,{},ryn),w(Ui,"JsonImporter/lambda$6$Type",911),b(909,1,{},cyn),w(Ui,"JsonImporter/lambda$7$Type",909),b(910,1,{},uyn),w(Ui,"JsonImporter/lambda$8$Type",910),b(913,1,{},oyn),w(Ui,"JsonImporter/lambda$9$Type",913),b(961,1,re,syn),o.Cd=function(e){Op(this.a,new qw(Ae(e)))},w(Ui,"JsonMetaDataConverter/lambda$0$Type",961),b(962,1,re,fyn),o.Cd=function(e){I0e(this.a,u(e,245))},w(Ui,"JsonMetaDataConverter/lambda$1$Type",962),b(963,1,re,hyn),o.Cd=function(e){P2e(this.a,u(e,143))},w(Ui,"JsonMetaDataConverter/lambda$2$Type",963),b(964,1,re,lyn),o.Cd=function(e){O0e(this.a,u(e,170))},w(Ui,"JsonMetaDataConverter/lambda$3$Type",964),b(245,22,{3:1,34:1,22:1,245:1},gp);var wA,gA,gU,pA,mA,vA,pU,mU,kA=we(Ay,"GraphFeature",245,ke,d4e,twe),Ioe;b(11,1,{34:1,149:1},lt,Lt,Tn,Di),o.Fd=function(e){return M1e(this,u(e,149))},o.Fb=function(e){return ZOn(this,e)},o.Sg=function(){return rn(this)},o.Pg=function(){return this.b},o.Hb=function(){return t1(this.b)},o.Ib=function(){return this.b},w(Ay,"Property",11),b(671,1,De,tL),o.Ne=function(e,t){return D5e(this,u(e,96),u(t,96))},o.Fb=function(e){return this===e},o.Oe=function(){return new Ce(this)},w(Ay,"PropertyHolderComparator",671),b(709,1,Pi,DG),o.Nb=function(e){_i(this,e)},o.Pb=function(){return $me(this)},o.Qb=function(){oEn()},o.Ob=function(){return!!this.a},w(_P,"ElkGraphUtil/AncestorIterator",709);var Ldn=Dt(or,"EList");b(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),o.bd=function(e,t){p5(this,e,t)},o.Fc=function(e){return ve(this,e)},o.cd=function(e,t){return VQ(this,e,t)},o.Gc=function(e){return Bt(this,e)},o.Ii=function(){return new yp(this)},o.Ji=function(){return new T7(this)},o.Ki=function(e){return gk(this,e)},o.Li=function(){return!0},o.Mi=function(e,t){},o.Ni=function(){},o.Oi=function(e,t){t$(this,e,t)},o.Pi=function(e,t,i){},o.Qi=function(e,t){},o.Ri=function(e,t,i){},o.Fb=function(e){return xqn(this,e)},o.Hb=function(){return UQ(this)},o.Si=function(){return!1},o.Kc=function(){return new ne(this)},o.ed=function(){return new kp(this)},o.fd=function(e){var t;if(t=this.gc(),e<0||e>t)throw T(new Fw(e,t));return new oD(this,e)},o.Ui=function(e,t){this.Ti(e,this.dd(t))},o.Mc=function(e){return rC(this,e)},o.Wi=function(e,t){return t},o.hd=function(e,t){return Bg(this,e,t)},o.Ib=function(){return KY(this)},o.Yi=function(){return!0},o.Zi=function(e,t){return i4(this,t)},w(or,"AbstractEList",70),b(66,70,Mh,jE,Cb,KQ),o.Ei=function(e,t){return Zx(this,e,t)},o.Fi=function(e){return LBn(this,e)},o.Gi=function(e,t){Ak(this,e,t)},o.Hi=function(e){nk(this,e)},o.$i=function(e){return YJ(this,e)},o.$b=function(){Z6(this)},o.Hc=function(e){return v4(this,e)},o.Xb=function(e){return N(this,e)},o._i=function(e){var t,i,r;++this.j,i=this.g==null?0:this.g.length,e>i&&(r=this.g,t=i+(i/2|0)+4,t<e&&(t=e),this.g=this.aj(t),r!=null&&Oc(r,0,this.g,0,this.i))},o.dd=function(e){return nFn(this,e)},o.dc=function(){return this.i==0},o.Ti=function(e,t){return lR(this,e,t)},o.aj=function(e){return F(ki,Rn,1,e,5,1)},o.Vi=function(e){return this.g[e]},o.gd=function(e){return Jp(this,e)},o.Xi=function(e,t){return d$(this,e,t)},o.gc=function(){return this.i},o.Pc=function(){return kJ(this)},o.Qc=function(e){return XY(this,e)},o.i=0;var Ndn=w(or,"BasicEList",66),Ddn=Dt(or,"TreeIterator");b(708,66,yF),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.g==null&&!this.c?iJ(this):this.g==null||this.i!=0&&u(this.g[this.i-1],51).Ob()},o.Pb=function(){return MS(this)},o.Qb=function(){if(!this.e)throw T(new Ar("There is no valid object to remove."));this.e.Qb()},o.c=!1,w(or,"AbstractTreeIterator",708),b(700,708,yF,TX),o.bj=function(e){var t;return t=u(e,58).Gh().Kc(),L(t,287)&&u(t,287).wl(new dvn),t},w(_P,"ElkGraphUtil/PropertiesSkippingTreeIterator",700),b(965,1,{},dvn),w(_P,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",965);var fE,vU,hE=w(_P,"ElkReflect",null);b(901,1,T0,bvn),o.Rg=function(e){return $T(),O2e(u(e,181))},w(_P,"ElkReflect/lambda$0$Type",901);var Na;Dt(or,"ResourceLocator"),b(1065,1,{}),w(or,"DelegatingResourceLocator",1065),b(1066,1065,{}),w("org.eclipse.emf.common","EMFPlugin",1066);var kU=Dt(QWn,"Adapter"),ADe=Dt(QWn,"Notification");b(1174,1,Bcn),o.cj=function(){return this.d},o.dj=function(e){},o.ej=function(e){this.d=e},o.fj=function(e){this.d==e&&(this.d=null)},o.d=null,w(g3,"AdapterImpl",1174),b(2093,70,YWn),o.Ei=function(e,t){return HY(this,e,t)},o.Fi=function(e){var t,i,r;if(++this.j,e.dc())return!1;for(t=this.Ej(),r=e.Kc();r.Ob();)i=r.Pb(),this.rj(this.Zi(t,i)),++t;return!0},o.Gi=function(e,t){ISn(this,e,t)},o.Hi=function(e){nOn(this,e)},o.pj=function(){return this.sj()},o.$b=function(){P7(this,this.Ej(),this.Fj())},o.Hc=function(e){return this.uj(e)},o.Ic=function(e){return this.vj(e)},o.qj=function(e,t){this.Bj().Um()},o.rj=function(e){this.Bj().Um()},o.sj=function(){return this.Bj()},o.tj=function(){this.Bj().Um()},o.uj=function(e){return this.Bj().Um()},o.vj=function(e){return this.Bj().Um()},o.wj=function(e){return this.Bj().Um()},o.xj=function(e){return this.Bj().Um()},o.yj=function(){return this.Bj().Um()},o.zj=function(e){return this.Bj().Um()},o.Aj=function(){return this.Bj().Um()},o.Cj=function(e){return this.Bj().Um()},o.Dj=function(e,t){return this.Bj().Um()},o.Ej=function(){return this.Bj().Um()},o.Fj=function(){return this.Bj().Um()},o.Gj=function(e){return this.Bj().Um()},o.Hj=function(){return this.Bj().Um()},o.Fb=function(e){return this.wj(e)},o.Xb=function(e){return this.Wi(e,this.xj(e))},o.Hb=function(){return this.yj()},o.dd=function(e){return this.zj(e)},o.dc=function(){return this.Aj()},o.Ti=function(e,t){return cnn(this,e,t)},o.Vi=function(e){return this.xj(e)},o.gd=function(e){return eT(this,e)},o.Mc=function(e){var t;return t=this.dd(e),t>=0?(this.gd(t),!0):!1},o.Xi=function(e,t){return this.Dj(e,this.Zi(e,t))},o.gc=function(){return this.Ej()},o.Pc=function(){return this.Fj()},o.Qc=function(e){return this.Gj(e)},o.Ib=function(){return this.Hj()},w(or,"DelegatingEList",2093),b(2094,2093,YWn),o.Ei=function(e,t){return Len(this,e,t)},o.Fi=function(e){return this.Ei(this.Ej(),e)},o.Gi=function(e,t){EHn(this,e,t)},o.Hi=function(e){lHn(this,e)},o.Li=function(){return!this.Mj()},o.$b=function(){G5(this)},o.Ij=function(e,t,i,r,c){return new YOn(this,e,t,i,r,c)},o.Jj=function(e){rt(this.jj(),e)},o.Kj=function(){return null},o.Lj=function(){return-1},o.jj=function(){return null},o.Mj=function(){return!1},o.Nj=function(e,t){return t},o.Oj=function(e,t){return t},o.Pj=function(){return!1},o.Qj=function(){return!this.Aj()},o.Ti=function(e,t){var i,r;return this.Pj()?(r=this.Qj(),i=cnn(this,e,t),this.Jj(this.Ij(7,Y(t),i,e,r)),i):cnn(this,e,t)},o.gd=function(e){var t,i,r,c;return this.Pj()?(i=null,r=this.Qj(),t=this.Ij(4,c=eT(this,e),null,e,r),this.Mj()&&c?(i=this.Oj(c,i),i?(i.nj(t),i.oj()):this.Jj(t)):i?(i.nj(t),i.oj()):this.Jj(t),c):(c=eT(this,e),this.Mj()&&c&&(i=this.Oj(c,null),i&&i.oj()),c)},o.Xi=function(e,t){return OUn(this,e,t)},w(g3,"DelegatingNotifyingListImpl",2094),b(152,1,Vy),o.nj=function(e){return UZ(this,e)},o.oj=function(){h$(this)},o.gj=function(){return this.d},o.Kj=function(){return null},o.Rj=function(){return null},o.hj=function(e){return-1},o.ij=function(){return pqn(this)},o.jj=function(){return null},o.kj=function(){return fen(this)},o.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},o.Sj=function(){return!1},o.mj=function(e){var t,i,r,c,s,f,h,l,a,d,g;switch(this.d){case 1:case 2:switch(c=e.gj(),c){case 1:case 2:if(s=e.jj(),x(s)===x(this.jj())&&this.hj(null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0}case 4:{switch(c=e.gj(),c){case 4:{if(s=e.jj(),x(s)===x(this.jj())&&this.hj(null)==e.hj(null))return a=Wen(this),l=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=e.lj(),this.d=6,g=new Cb(2),l<=f?(ve(g,this.n),ve(g,e.kj()),this.g=S(C(ye,1),_e,28,15,[this.o=l,f+1])):(ve(g,e.kj()),ve(g,this.n),this.g=S(C(ye,1),_e,28,15,[this.o=f,l])),this.n=g,a||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=e.gj(),c){case 4:{if(s=e.jj(),x(s)===x(this.jj())&&this.hj(null)==e.hj(null)){for(a=Wen(this),f=e.lj(),d=u(this.g,53),r=F(ye,_e,28,d.length+1,15,1),t=0;t<d.length&&(h=d[t],h<=f);)r[t++]=h,++f;for(i=u(this.n,15),i.bd(t,e.kj()),r[t]=f;++t<r.length;)r[t]=d[t-1];return this.g=r,a||(this.o=-2-r[0]),!0}break}}break}}return!1},o.Ib=function(){var e,t,i,r;switch(r=new ls(Xa(this.Rm)+"@"+(t=mt(this)>>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{CL(r,this.d);break}}if(rUn(this)&&(r.a+=", touch: true"),r.a+=", position: ",CL(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",E6(r,this.jj()),r.a+=", feature: ",E6(r,this.Kj()),r.a+=", oldValue: ",E6(r,fen(this)),r.a+=", newValue: ",this.d==6&&L(this.g,53)){for(i=u(this.g,53),r.a+="[",e=0;e<i.length;)r.a+=i[e],++e<i.length&&(r.a+=ur);r.a+="]"}else E6(r,pqn(this));return r.a+=", isTouch: ",ql(r,rUn(this)),r.a+=", wasSet: ",ql(r,Wen(this)),r.a+=")",r.a},o.d=0,o.e=0,o.f=0,o.j=0,o.k=0,o.o=0,o.p=0,w(g3,"NotificationImpl",152),b(1188,152,Vy,YOn),o.Kj=function(){return this.a.Kj()},o.hj=function(e){return this.a.Lj()},o.jj=function(){return this.a.jj()},w(g3,"DelegatingNotifyingListImpl/1",1188),b(251,66,Mh,wvn,K1),o.Fc=function(e){return TKn(this,u(e,378))},o.nj=function(e){return TKn(this,e)},o.oj=function(){var e,t,i;for(e=0;e<this.i;++e)t=u(this.g[e],378),i=t.jj(),i!=null&&t.gj()!=-1&&u(i,94).xh(t)},o.aj=function(e){return F(ADe,Rn,378,e,0,1)},w(g3,"NotificationChainImpl",251),b(1524,93,hWn),o.uh=function(){return this.e},o.wh=function(){return(this.f&1)!=0},o.f=1,w(g3,"NotifierImpl",1524),b(2091,66,Mh),o.Ei=function(e,t){return LR(this,e,t)},o.Fi=function(e){return this.Ei(this.i,e)},o.Gi=function(e,t){xnn(this,e,t)},o.Hi=function(e){aR(this,e)},o.Li=function(){return!this.Mj()},o.$b=function(){me(this)},o.Ij=function(e,t,i,r,c){return new QOn(this,e,t,i,r,c)},o.Jj=function(e){rt(this.jj(),e)},o.Kj=function(){return null},o.Lj=function(){return-1},o.jj=function(){return null},o.Mj=function(){return!1},o.Tj=function(){return!1},o.Nj=function(e,t){return t},o.Oj=function(e,t){return t},o.Pj=function(){return!1},o.Qj=function(){return this.i!=0},o.Ti=function(e,t){return m5(this,e,t)},o.gd=function(e){return d0(this,e)},o.Xi=function(e,t){return XUn(this,e,t)},o.Uj=function(e,t){return t},o.Vj=function(e,t){return t},o.Wj=function(e,t,i){return i},w(g3,"NotifyingListImpl",2091),b(1187,152,Vy,QOn),o.Kj=function(){return this.a.Kj()},o.hj=function(e){return this.a.Lj()},o.jj=function(){return this.a.jj()},w(g3,"NotifyingListImpl/1",1187),b(966,66,Mh,LSn),o.Hc=function(e){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new $6(this),this.a=this.j),sf(this.b,e)):v4(this,e)},o.Yi=function(){return!0},o.a=0,w(or,"AbstractEList/1",966),b(301,77,SK,Fw),w(or,"AbstractEList/BasicIndexOutOfBoundsException",301),b(40,1,Pi,ne),o.Nb=function(e){_i(this,e)},o.Xj=function(){if(this.i.j!=this.f)throw T(new Ko)},o.Yj=function(){return ue(this)},o.Ob=function(){return this.e!=this.i.gc()},o.Pb=function(){return this.Yj()},o.Qb=function(){I5(this)},o.e=0,o.f=0,o.g=-1,w(or,"AbstractEList/EIterator",40),b(286,40,Hh,kp,oD),o.Qb=function(){I5(this)},o.Rb=function(e){OKn(this,e)},o.Zj=function(){var e;try{return e=this.d.Xb(--this.e),this.Xj(),this.g=this.e,e}catch(t){throw t=Ot(t),L(t,77)?(this.Xj(),T(new nc)):T(t)}},o.$j=function(e){$Bn(this,e)},o.Sb=function(){return this.e!=0},o.Tb=function(){return this.e},o.Ub=function(){return this.Zj()},o.Vb=function(){return this.e-1},o.Wb=function(e){this.$j(e)},w(or,"AbstractEList/EListIterator",286),b(355,40,Pi,yp),o.Yj=function(){return Tx(this)},o.Qb=function(){throw T(new Ie)},w(or,"AbstractEList/NonResolvingEIterator",355),b(398,286,Hh,T7,CV),o.Rb=function(e){throw T(new Ie)},o.Yj=function(){var e;try{return e=this.c.Vi(this.e),this.Xj(),this.g=this.e++,e}catch(t){throw t=Ot(t),L(t,77)?(this.Xj(),T(new nc)):T(t)}},o.Zj=function(){var e;try{return e=this.c.Vi(--this.e),this.Xj(),this.g=this.e,e}catch(t){throw t=Ot(t),L(t,77)?(this.Xj(),T(new nc)):T(t)}},o.Qb=function(){throw T(new Ie)},o.Wb=function(e){throw T(new Ie)},w(or,"AbstractEList/NonResolvingEListIterator",398),b(2080,70,ZWn),o.Ei=function(e,t){var i,r,c,s,f,h,l,a,d,g,p;if(c=t.gc(),c!=0){for(a=u(Un(this.a,4),129),d=a==null?0:a.length,p=d+c,r=V$(this,p),g=d-e,g>0&&Oc(a,e,r,e+c,g),l=t.Kc(),f=0;f<c;++f)h=l.Pb(),i=e+f,mN(r,i,i4(this,h));for(w4(this,r),s=0;s<c;++s)h=r[e],this.Mi(e,h),++e;return!0}else return++this.j,!1},o.Fi=function(e){var t,i,r,c,s,f,h,l,a;if(r=e.gc(),r!=0){for(l=(i=u(Un(this.a,4),129),i==null?0:i.length),a=l+r,t=V$(this,a),h=e.Kc(),s=l;s<a;++s)f=h.Pb(),mN(t,s,i4(this,f));for(w4(this,t),c=l;c<a;++c)f=t[c],this.Mi(c,f);return!0}else return++this.j,!1},o.Gi=function(e,t){var i,r,c,s;r=u(Un(this.a,4),129),c=r==null?0:r.length,i=V$(this,c+1),s=i4(this,t),e!=c&&Oc(r,e,i,e+1,c-e),$t(i,e,s),w4(this,i),this.Mi(e,t)},o.Hi=function(e){var t,i,r;r=(i=u(Un(this.a,4),129),i==null?0:i.length),t=V$(this,r+1),mN(t,r,i4(this,e)),w4(this,t),this.Mi(r,e)},o.Ii=function(){return new jNn(this)},o.Ji=function(){return new DIn(this)},o.Ki=function(e){var t,i;if(i=(t=u(Un(this.a,4),129),t==null?0:t.length),e<0||e>i)throw T(new Fw(e,i));return new kOn(this,e)},o.$b=function(){var e,t;++this.j,e=u(Un(this.a,4),129),t=e==null?0:e.length,w4(this,null),t$(this,t,e)},o.Hc=function(e){var t,i,r,c,s;if(t=u(Un(this.a,4),129),t!=null){if(e!=null){for(r=t,c=0,s=r.length;c<s;++c)if(i=r[c],ct(e,i))return!0}else for(r=t,c=0,s=r.length;c<s;++c)if(i=r[c],x(i)===x(e))return!0}return!1},o.Xb=function(e){var t,i;if(t=u(Un(this.a,4),129),i=t==null?0:t.length,e>=i)throw T(new Fw(e,i));return t[e]},o.dd=function(e){var t,i,r;if(t=u(Un(this.a,4),129),t!=null){if(e!=null){for(i=0,r=t.length;i<r;++i)if(ct(e,t[i]))return i}else for(i=0,r=t.length;i<r;++i)if(x(t[i])===x(e))return i}return-1},o.dc=function(){return u(Un(this.a,4),129)==null},o.Kc=function(){return new yNn(this)},o.ed=function(){return new NIn(this)},o.fd=function(e){var t,i;if(i=(t=u(Un(this.a,4),129),t==null?0:t.length),e<0||e>i)throw T(new Fw(e,i));return new vOn(this,e)},o.Ti=function(e,t){var i,r,c;if(i=FKn(this),c=i==null?0:i.length,e>=c)throw T(new Or(vF+e+Cd+c));if(t>=c)throw T(new Or(kF+t+Cd+c));return r=i[t],e!=t&&(e<t?Oc(i,e,i,e+1,t-e):Oc(i,t+1,i,t,e-t),$t(i,e,r),w4(this,i)),r},o.Vi=function(e){return u(Un(this.a,4),129)[e]},o.gd=function(e){return bMe(this,e)},o.Xi=function(e,t){var i,r;return i=FKn(this),r=i[e],mN(i,e,i4(this,t)),w4(this,i),r},o.gc=function(){var e;return e=u(Un(this.a,4),129),e==null?0:e.length},o.Pc=function(){var e,t,i;return e=u(Un(this.a,4),129),i=e==null?0:e.length,t=F(kU,TF,424,i,0,1),i>0&&Oc(e,0,t,0,i),t},o.Qc=function(e){var t,i,r;return t=u(Un(this.a,4),129),r=t==null?0:t.length,r>0&&(e.length<r&&(i=wk(wo(e).c,r),e=i),Oc(t,0,e,0,r)),e.length>r&&$t(e,r,null),e};var Ooe;w(or,"ArrayDelegatingEList",2080),b(1051,40,Pi,yNn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw T(new Ko)},o.Qb=function(){I5(this),this.a=u(Un(this.b.a,4),129)},w(or,"ArrayDelegatingEList/EIterator",1051),b(722,286,Hh,NIn,vOn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw T(new Ko)},o.$j=function(e){$Bn(this,e),this.a=u(Un(this.b.a,4),129)},o.Qb=function(){I5(this),this.a=u(Un(this.b.a,4),129)},w(or,"ArrayDelegatingEList/EListIterator",722),b(1052,355,Pi,jNn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw T(new Ko)},w(or,"ArrayDelegatingEList/NonResolvingEIterator",1052),b(723,398,Hh,DIn,kOn),o.Xj=function(){if(this.b.j!=this.f||x(u(Un(this.b.a,4),129))!==x(this.a))throw T(new Ko)},w(or,"ArrayDelegatingEList/NonResolvingEListIterator",723),b(615,301,SK,aN),w(or,"BasicEList/BasicIndexOutOfBoundsException",615),b(710,66,Mh,bX),o.bd=function(e,t){throw T(new Ie)},o.Fc=function(e){throw T(new Ie)},o.cd=function(e,t){throw T(new Ie)},o.Gc=function(e){throw T(new Ie)},o.$b=function(){throw T(new Ie)},o._i=function(e){throw T(new Ie)},o.Kc=function(){return this.Ii()},o.ed=function(){return this.Ji()},o.fd=function(e){return this.Ki(e)},o.Ti=function(e,t){throw T(new Ie)},o.Ui=function(e,t){throw T(new Ie)},o.gd=function(e){throw T(new Ie)},o.Mc=function(e){throw T(new Ie)},o.hd=function(e,t){throw T(new Ie)},w(or,"BasicEList/UnmodifiableEList",710),b(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),o.bd=function(e,t){a1e(this,e,u(t,44))},o.Fc=function(e){return cae(this,u(e,44))},o.Jc=function(e){qi(this,e)},o.Xb=function(e){return u(N(this.c,e),136)},o.Ti=function(e,t){return u(this.c.Ti(e,t),44)},o.Ui=function(e,t){d1e(this,e,u(t,44))},o.Lc=function(){return new Cn(null,new On(this,16))},o.gd=function(e){return u(this.c.gd(e),44)},o.hd=function(e,t){return P0e(this,e,u(t,44))},o.jd=function(e){ud(this,e)},o.Nc=function(){return new On(this,16)},o.Oc=function(){return new Cn(null,new On(this,16))},o.cd=function(e,t){return this.c.cd(e,t)},o.Gc=function(e){return this.c.Gc(e)},o.$b=function(){this.c.$b()},o.Hc=function(e){return this.c.Hc(e)},o.Ic=function(e){return jk(this.c,e)},o._j=function(){var e,t,i;if(this.d==null){for(this.d=F(Ndn,Fcn,66,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)e=u(t.Yj(),136),uS(this,e);this.e=i}},o.Fb=function(e){return oPn(this,e)},o.Hb=function(){return UQ(this.c)},o.dd=function(e){return this.c.dd(e)},o.ak=function(){this.c=new ayn(this)},o.dc=function(){return this.f==0},o.Kc=function(){return this.c.Kc()},o.ed=function(){return this.c.ed()},o.fd=function(e){return this.c.fd(e)},o.bk=function(){return ik(this)},o.ck=function(e,t,i){return new kPn(e,t,i)},o.dk=function(){return new gvn},o.Mc=function(e){return X$n(this,e)},o.gc=function(){return this.f},o.kd=function(e,t){return new Jl(this.c,e,t)},o.Pc=function(){return this.c.Pc()},o.Qc=function(e){return this.c.Qc(e)},o.Ib=function(){return KY(this.c)},o.e=0,o.f=0,w(or,"BasicEMap",721),b(1046,66,Mh,ayn),o.Mi=function(e,t){Ufe(this,u(t,136))},o.Pi=function(e,t,i){var r;++(r=this,u(t,136),r).a.e},o.Qi=function(e,t){Gfe(this,u(t,136))},o.Ri=function(e,t,i){U1e(this,u(t,136),u(i,136))},o.Oi=function(e,t){Fxn(this.a)},w(or,"BasicEMap/1",1046),b(1047,66,Mh,gvn),o.aj=function(e){return F(LDe,nJn,621,e,0,1)},w(or,"BasicEMap/2",1047),b(1048,Ff,Nu,dyn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){return wx(this.a,e)},o.Kc=function(){return this.a.f==0?(pm(),lE.a):new Wjn(this.a)},o.Mc=function(e){var t;return t=this.a.f,VC(this.a,e),this.a.f!=t},o.gc=function(){return this.a.f},w(or,"BasicEMap/3",1048),b(1049,31,p0,byn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){return Rqn(this.a,e)},o.Kc=function(){return this.a.f==0?(pm(),lE.a):new Jjn(this.a)},o.gc=function(){return this.a.f},w(or,"BasicEMap/4",1049),b(1050,Ff,Nu,wyn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){var t,i,r,c,s,f,h,l,a;if(this.a.f>0&&L(e,44)&&(this.a._j(),l=u(e,44),h=l.ld(),c=h==null?0:mt(h),s=lV(this.a,c),t=this.a.d[s],t)){for(i=u(t.g,379),a=t.i,f=0;f<a;++f)if(r=i[f],r.Bi()==c&&r.Fb(l))return!0}return!1},o.Kc=function(){return this.a.f==0?(pm(),lE.a):new MD(this.a)},o.Mc=function(e){return PHn(this,e)},o.gc=function(){return this.a.f},w(or,"BasicEMap/5",1050),b(622,1,Pi,MD),o.Nb=function(e){_i(this,e)},o.Ob=function(){return this.b!=-1},o.Pb=function(){var e;if(this.f.e!=this.c)throw T(new Ko);if(this.b==-1)throw T(new nc);return this.d=this.a,this.e=this.b,dFn(this),e=u(this.f.d[this.d].g[this.e],136),this.ek(e)},o.Qb=function(){if(this.f.e!=this.c)throw T(new Ko);if(this.e==-1)throw T(new Mu);this.f.c.Mc(N(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},o.ek=function(e){return e},o.a=0,o.b=-1,o.c=0,o.d=0,o.e=0,w(or,"BasicEMap/BasicEMapIterator",622),b(1044,622,Pi,Wjn),o.ek=function(e){return e.ld()},w(or,"BasicEMap/BasicEMapKeyIterator",1044),b(1045,622,Pi,Jjn),o.ek=function(e){return e.md()},w(or,"BasicEMap/BasicEMapValueIterator",1045),b(1043,1,Gb,gyn),o.wc=function(e){o5(this,e)},o.yc=function(e,t,i){return hx(this,e,t,i)},o.$b=function(){this.a.c.$b()},o._b=function(e){return ITn(this,e)},o.uc=function(e){return Rqn(this.a,e)},o.vc=function(){return dme(this.a)},o.Fb=function(e){return oPn(this.a,e)},o.xc=function(e){return gf(this.a,e)},o.Hb=function(){return UQ(this.a.c)},o.dc=function(){return this.a.f==0},o.ec=function(){return lme(this.a)},o.zc=function(e,t){return Gk(this.a,e,t)},o.Bc=function(e){return VC(this.a,e)},o.gc=function(){return this.a.f},o.Ib=function(){return KY(this.a.c)},o.Cc=function(){return ame(this.a)},w(or,"BasicEMap/DelegatingMap",1043),b(621,1,{44:1,136:1,621:1},kPn),o.Fb=function(e){var t;return L(e,44)?(t=u(e,44),(this.b!=null?ct(this.b,t.ld()):x(this.b)===x(t.ld()))&&(this.c!=null?ct(this.c,t.md()):x(this.c)===x(t.md()))):!1},o.Bi=function(){return this.a},o.ld=function(){return this.b},o.md=function(){return this.c},o.Hb=function(){return this.a^(this.c==null?0:mt(this.c))},o.Ci=function(e){this.a=e},o.Di=function(e){throw T(new Ga)},o.nd=function(e){var t;return t=this.c,this.c=e,t},o.Ib=function(){return this.b+"->"+this.c},o.a=0;var LDe=w(or,"BasicEMap/EntryImpl",621);b(546,1,{},EE),w(or,"BasicEMap/View",546);var lE;b(783,1,{}),o.Fb=function(e){return znn((Ln(),sr),e)},o.Hb=function(){return tY((Ln(),sr))},o.Ib=function(){return ua((Ln(),sr))},w(or,"ECollections/BasicEmptyUnmodifiableEList",783),b(1348,1,Hh,pvn),o.Nb=function(e){_i(this,e)},o.Rb=function(e){throw T(new Ie)},o.Ob=function(){return!1},o.Sb=function(){return!1},o.Pb=function(){throw T(new nc)},o.Tb=function(){return 0},o.Ub=function(){throw T(new nc)},o.Vb=function(){return-1},o.Qb=function(){throw T(new Ie)},o.Wb=function(e){throw T(new Ie)},w(or,"ECollections/BasicEmptyUnmodifiableEList/1",1348),b(1346,783,{20:1,16:1,15:1,61:1},cjn),o.bd=function(e,t){kEn()},o.Fc=function(e){return yEn()},o.cd=function(e,t){return jEn()},o.Gc=function(e){return EEn()},o.$b=function(){MEn()},o.Hc=function(e){return!1},o.Ic=function(e){return!1},o.Jc=function(e){qi(this,e)},o.Xb=function(e){return pX((Ln(),e)),null},o.dd=function(e){return-1},o.dc=function(){return!0},o.Kc=function(){return this.a},o.ed=function(){return this.a},o.fd=function(e){return this.a},o.Ti=function(e,t){return TEn()},o.Ui=function(e,t){CEn()},o.Lc=function(){return new Cn(null,new On(this,16))},o.gd=function(e){return SEn()},o.Mc=function(e){return PEn()},o.hd=function(e,t){return IEn()},o.gc=function(){return 0},o.jd=function(e){ud(this,e)},o.Nc=function(){return new On(this,16)},o.Oc=function(){return new Cn(null,new On(this,16))},o.kd=function(e,t){return Ln(),new Jl(sr,e,t)},o.Pc=function(){return bW((Ln(),sr))},o.Qc=function(e){return Ln(),T5(sr,e)},w(or,"ECollections/EmptyUnmodifiableEList",1346),b(1347,783,{20:1,16:1,15:1,61:1,597:1},ujn),o.bd=function(e,t){kEn()},o.Fc=function(e){return yEn()},o.cd=function(e,t){return jEn()},o.Gc=function(e){return EEn()},o.$b=function(){MEn()},o.Hc=function(e){return!1},o.Ic=function(e){return!1},o.Jc=function(e){qi(this,e)},o.Xb=function(e){return pX((Ln(),e)),null},o.dd=function(e){return-1},o.dc=function(){return!0},o.Kc=function(){return this.a},o.ed=function(){return this.a},o.fd=function(e){return this.a},o.Ti=function(e,t){return TEn()},o.Ui=function(e,t){CEn()},o.Lc=function(){return new Cn(null,new On(this,16))},o.gd=function(e){return SEn()},o.Mc=function(e){return PEn()},o.hd=function(e,t){return IEn()},o.gc=function(){return 0},o.jd=function(e){ud(this,e)},o.Nc=function(){return new On(this,16)},o.Oc=function(){return new Cn(null,new On(this,16))},o.kd=function(e,t){return Ln(),new Jl(sr,e,t)},o.Pc=function(){return bW((Ln(),sr))},o.Qc=function(e){return Ln(),T5(sr,e)},o.bk=function(){return Ln(),Ln(),Wh},w(or,"ECollections/EmptyUnmodifiableEMap",1347);var $dn=Dt(or,"Enumerator"),yA;b(288,1,{288:1},jR),o.Fb=function(e){var t;return this===e?!0:L(e,288)?(t=u(e,288),this.f==t.f&&Uwe(this.i,t.i)&&WN(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&WN(this.d,t.d)&&WN(this.g,t.g)&&WN(this.e,t.e)&&b9e(this,t)):!1},o.Hb=function(){return this.f},o.Ib=function(){return gUn(this)},o.f=0;var Aoe=0,Loe=0,Noe=0,Doe=0,xdn=0,Rdn=0,Kdn=0,Bdn=0,Fdn=0,$oe,A9=0,L9=0,xoe=0,Roe=0,jA,_dn;w(or,"URI",288),b(1121,45,n2,ojn),o.zc=function(e,t){return u(Lr(this,Ae(e),u(t,288)),288)},w(or,"URI/URICache",1121),b(505,66,Mh,lvn,oT),o.Si=function(){return!0},w(or,"UniqueEList",505),b(590,63,Il,eC),w(or,"WrappedException",590);var Ue=Dt(ts,iJn),Z0=Dt(ts,rJn),ku=Dt(ts,cJn),ng=Dt(ts,uJn),Mf=Dt(ts,oJn),Ss=Dt(ts,"EClass"),yU=Dt(ts,"EDataType"),Koe;b(1233,45,n2,sjn),o.xc=function(e){return Si(e)?Dc(this,e):Fr(wr(this.f,e))},w(ts,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var EA=Dt(ts,"EEnum"),Kl=Dt(ts,sJn),jr=Dt(ts,fJn),Ps=Dt(ts,hJn),Is,vw=Dt(ts,lJn),eg=Dt(ts,aJn);b(1042,1,{},hvn),o.Ib=function(){return"NIL"},w(ts,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var Boe;b(1041,45,n2,fjn),o.xc=function(e){return Si(e)?Dc(this,e):Fr(wr(this.f,e))},w(ts,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var fu=Dt(ts,dJn),K3=Dt(ts,"EValidator/PatternMatcher"),Hdn,qdn,Hn,S1,tg,Da,Foe,_oe,Hoe,$a,P1,xa,kw,Zf,qoe,Uoe,Os,I1,Goe,O1,ig,U2,ar,zoe,Xoe,yw,MA=Dt(Ct,"FeatureMap/Entry");b(545,1,{76:1},MM),o.Lk=function(){return this.a},o.md=function(){return this.b},w(qn,"BasicEObjectImpl/1",545),b(1040,1,CF,ATn),o.Fk=function(e){return YD(this.a,this.b,e)},o.Qj=function(){return dAn(this.a,this.b)},o.Wb=function(e){tJ(this.a,this.b,e)},o.Gk=function(){_0e(this.a,this.b)},w(qn,"BasicEObjectImpl/4",1040),b(2081,1,{114:1}),o.Mk=function(e){this.e=e==0?Voe:F(ki,Rn,1,e,5,1)},o.li=function(e){return this.e[e]},o.mi=function(e,t){this.e[e]=t},o.ni=function(e){this.e[e]=null},o.Nk=function(){return this.c},o.Ok=function(){throw T(new Ie)},o.Pk=function(){throw T(new Ie)},o.Qk=function(){return this.d},o.Rk=function(){return this.e!=null},o.Sk=function(e){this.c=e},o.Tk=function(e){throw T(new Ie)},o.Uk=function(e){throw T(new Ie)},o.Vk=function(e){this.d=e};var Voe;w(qn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),b(192,2081,{114:1},uf),o.Ok=function(){return this.a},o.Pk=function(){return this.b},o.Tk=function(e){this.a=e},o.Uk=function(e){this.b=e},w(qn,"BasicEObjectImpl/EPropertiesHolderImpl",192),b(516,99,bWn,ME),o.uh=function(){return this.f},o.zh=function(){return this.k},o.Bh=function(e,t){this.g=e,this.i=t},o.Dh=function(){return this.j&2?this.$h().Nk():this.ii()},o.Fh=function(){return this.i},o.wh=function(){return(this.j&1)!=0},o.Ph=function(){return this.g},o.Vh=function(){return(this.j&4)!=0},o.$h=function(){return!this.k&&(this.k=new uf),this.k},o.ci=function(e){this.$h().Sk(e),e?this.j|=2:this.j&=-3},o.ei=function(e){this.$h().Uk(e),e?this.j|=4:this.j&=-5},o.ii=function(){return(z1(),Hn).S},o.i=0,o.j=1,w(qn,"EObjectImpl",516),b(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},QV),o.li=function(e){return this.e[e]},o.mi=function(e,t){this.e[e]=t},o.ni=function(e){this.e[e]=null},o.Dh=function(){return this.d},o.Ih=function(e){return At(this.d,e)},o.Kh=function(){return this.d},o.Oh=function(){return this.e!=null},o.$h=function(){return!this.k&&(this.k=new mvn),this.k},o.ci=function(e){this.d=e},o.hi=function(){var e;return this.e==null&&(e=se(this.d),this.e=e==0?Woe:F(ki,Rn,1,e,5,1)),this},o.ji=function(){return 0};var Woe;w(qn,"DynamicEObjectImpl",798),b(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},GPn),o.Fb=function(e){return this===e},o.Hb=function(){return fb(this)},o.ci=function(e){this.d=e,this.b=uy(e,"key"),this.c=uy(e,b8)},o.Bi=function(){var e;return this.a==-1&&(e=l$(this,this.b),this.a=e==null?0:mt(e)),this.a},o.ld=function(){return l$(this,this.b)},o.md=function(){return l$(this,this.c)},o.Ci=function(e){this.a=e},o.Di=function(e){tJ(this,this.b,e)},o.nd=function(e){var t;return t=l$(this,this.c),tJ(this,this.c,e),t},o.a=0,w(qn,"DynamicEObjectImpl/BasicEMapEntry",1522),b(1523,1,{114:1},mvn),o.Mk=function(e){throw T(new Ie)},o.li=function(e){throw T(new Ie)},o.mi=function(e,t){throw T(new Ie)},o.ni=function(e){throw T(new Ie)},o.Nk=function(){throw T(new Ie)},o.Ok=function(){return this.a},o.Pk=function(){return this.b},o.Qk=function(){return this.c},o.Rk=function(){throw T(new Ie)},o.Sk=function(e){throw T(new Ie)},o.Tk=function(e){this.a=e},o.Uk=function(e){this.b=e},o.Vk=function(e){this.c=e},w(qn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),b(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},nG),o.Ah=function(e){return SZ(this,e)},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new lo((An(),ar),pc,this)),this.b):(!this.b&&(this.b=new lo((An(),ar),pc,this)),ik(this.b));case 3:return mAn(this);case 4:return!this.a&&(this.a=new ti(La,this,4)),this.a;case 5:return!this.c&&(this.c=new Eg(La,this,5)),this.c}return zo(this,e-se((An(),S1)),$n((r=u(Un(this,16),29),r||S1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?SZ(this,i):this.Cb.Th(this,-1-c,null,i))),dW(this,u(e,155),i)}return s=u($n((r=u(Un(this,16),29),r||(An(),S1)),t),69),s.wk().zk(this,iu(this),t-se((An(),S1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 2:return!this.b&&(this.b=new lo((An(),ar),pc,this)),qM(this.b,e,i);case 3:return dW(this,null,i);case 4:return!this.a&&(this.a=new ti(La,this,4)),cr(this.a,e,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),S1)),t),69),c.wk().Ak(this,iu(this),t-se((An(),S1)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!mAn(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Uo(this,e-se((An(),S1)),$n((t=u(Un(this,16),29),t||S1),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:Awe(this,Ae(t));return;case 2:!this.b&&(this.b=new lo((An(),ar),pc,this)),CC(this.b,t);return;case 3:rqn(this,u(t,155));return;case 4:!this.a&&(this.a=new ti(La,this,4)),me(this.a),!this.a&&(this.a=new ti(La,this,4)),Bt(this.a,u(t,16));return;case 5:!this.c&&(this.c=new Eg(La,this,5)),me(this.c),!this.c&&(this.c=new Eg(La,this,5)),Bt(this.c,u(t,16));return}Jo(this,e-se((An(),S1)),$n((i=u(Un(this,16),29),i||S1),e),t)},o.ii=function(){return An(),S1},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:PQ(this,null);return;case 2:!this.b&&(this.b=new lo((An(),ar),pc,this)),this.b.c.$b();return;case 3:rqn(this,null);return;case 4:!this.a&&(this.a=new ti(La,this,4)),me(this.a);return;case 5:!this.c&&(this.c=new Eg(La,this,5)),me(this.c);return}Wo(this,e-se((An(),S1)),$n((t=u(Un(this,16),29),t||S1),e))},o.Ib=function(){return oKn(this)},o.d=null,w(qn,"EAnnotationImpl",519),b(141,721,_cn,Ou),o.Gi=function(e,t){Wle(this,e,u(t,44))},o.Wk=function(e,t){return Qae(this,u(e,44),t)},o.$i=function(e){return u(u(this.c,71).$i(e),136)},o.Ii=function(){return u(this.c,71).Ii()},o.Ji=function(){return u(this.c,71).Ji()},o.Ki=function(e){return u(this.c,71).Ki(e)},o.Xk=function(e,t){return qM(this,e,t)},o.Fk=function(e){return u(this.c,79).Fk(e)},o.ak=function(){},o.Qj=function(){return u(this.c,79).Qj()},o.ck=function(e,t,i){var r;return r=u(jo(this.b).wi().si(this.b),136),r.Ci(e),r.Di(t),r.nd(i),r},o.dk=function(){return new xG(this)},o.Wb=function(e){CC(this,e)},o.Gk=function(){u(this.c,79).Gk()},w(Ct,"EcoreEMap",141),b(165,141,_cn,lo),o._j=function(){var e,t,i,r,c,s;if(this.d==null){for(s=F(Ndn,Fcn,66,2*this.f+1,0,1),i=this.c.Kc();i.e!=i.i.gc();)t=u(i.Yj(),136),r=t.Bi(),c=(r&et)%s.length,e=s[c],!e&&(e=s[c]=new xG(this)),e.Fc(t);this.d=s}},w(qn,"EAnnotationImpl/1",165),b(291,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,480:1,54:1,99:1,158:1,291:1,119:1,120:1}),o.Lh=function(e,t,i){var r,c;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),!!this.Jk();case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hD(this,i)}return c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i)},o.Wh=function(e){var t,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&pb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&pb(this.q).i==0)}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:this.ui(Ae(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:this.Zk(u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Kf(this,u(t,89),null),r&&r.oj();return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return An(),Xoe},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:this.ui(null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:this.Zk(1);return;case 8:ad(this,null);return;case 9:i=Kf(this,null,null),i&&i.oj();return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.pi=function(){gs(this),this.Bb|=1},o.Hk=function(){return gs(this)},o.Ik=function(){return this.t},o.Jk=function(){var e;return e=this.t,e>1||e==-1},o.Si=function(){return(this.Bb&512)!=0},o.Yk=function(e,t){return yY(this,e,t)},o.Zk=function(e){Zw(this,e)},o.Ib=function(){return Rnn(this)},o.s=0,o.t=1,w(qn,"ETypedElementImpl",291),b(461,291,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,480:1,54:1,99:1,158:1,461:1,291:1,119:1,120:1,692:1}),o.Ah=function(e){return JBn(this,e)},o.Lh=function(e,t,i){var r,c;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),!!this.Jk();case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return _n(),!!(this.Bb&Gs);case 11:return _n(),!!(this.Bb&C0);case 12:return _n(),!!(this.Bb&v0);case 13:return this.j;case 14:return T4(this);case 15:return _n(),!!(this.Bb&$u);case 16:return _n(),!!(this.Bb&wh);case 17:return Gw(this)}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?JBn(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,17,i)}return s=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),s.wk().zk(this,iu(this),t-se(this.ii()),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hD(this,i);case 17:return Po(this,null,17,i)}return c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i)},o.Wh=function(e){var t,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&pb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&pb(this.q).i==0);case 10:return(this.Bb&Gs)==0;case 11:return(this.Bb&C0)!=0;case 12:return(this.Bb&v0)!=0;case 13:return this.j!=null;case 14:return T4(this)!=null;case 15:return(this.Bb&$u)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Gw(this)}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:RD(this,Ae(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:this.Zk(u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Kf(this,u(t,89),null),r&&r.oj();return;case 10:s4(this,on(un(t)));return;case 11:l4(this,on(un(t)));return;case 12:f4(this,on(un(t)));return;case 13:dX(this,Ae(t));return;case 15:h4(this,on(un(t)));return;case 16:a4(this,on(un(t)));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return An(),zoe},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:L(this.Cb,90)&&h0(Zu(u(this.Cb,90)),4),zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:this.Zk(1);return;case 8:ad(this,null);return;case 9:i=Kf(this,null,null),i&&i.oj();return;case 10:s4(this,!0);return;case 11:l4(this,!1);return;case 12:f4(this,!1);return;case 13:this.i=null,kC(this,null);return;case 15:h4(this,!1);return;case 16:a4(this,!1);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.pi=function(){Pm(Nr((Lu(),zi),this)),gs(this),this.Bb|=1},o.pk=function(){return this.f},o.ik=function(){return T4(this)},o.qk=function(){return Gw(this)},o.uk=function(){return null},o.$k=function(){return this.k},o.Lj=function(){return this.n},o.vk=function(){return bS(this)},o.wk=function(){var e,t,i,r,c,s,f,h,l;return this.p||(i=Gw(this),(i.i==null&&bh(i),i.i).length,r=this.uk(),r&&se(Gw(r)),c=gs(this),f=c.kk(),e=f?f.i&1?f==so?zt:f==ye?Gi:f==cg?ov:f==Ii?si:f==Ka?nw:f==V2?ew:f==Ru?p3:T8:f:null,t=T4(this),h=c.ik(),G5e(this),this.Bb&wh&&((s=DZ((Lu(),zi),i))&&s!=this||(s=$p(Nr(zi,this))))?this.p=new NTn(this,s):this.Jk()?this.al()?r?this.Bb&$u?e?this.bl()?this.p=new Za(47,e,this,r):this.p=new Za(5,e,this,r):this.bl()?this.p=new rd(46,this,r):this.p=new rd(4,this,r):e?this.bl()?this.p=new Za(49,e,this,r):this.p=new Za(7,e,this,r):this.bl()?this.p=new rd(48,this,r):this.p=new rd(6,this,r):this.Bb&$u?e?e==Id?this.p=new Xl(50,Poe,this):this.bl()?this.p=new Xl(43,e,this):this.p=new Xl(1,e,this):this.bl()?this.p=new Wl(42,this):this.p=new Wl(0,this):e?e==Id?this.p=new Xl(41,Poe,this):this.bl()?this.p=new Xl(45,e,this):this.p=new Xl(3,e,this):this.bl()?this.p=new Wl(44,this):this.p=new Wl(2,this):L(c,156)?e==MA?this.p=new Wl(40,this):this.Bb&512?this.Bb&$u?e?this.p=new Xl(9,e,this):this.p=new Wl(8,this):e?this.p=new Xl(11,e,this):this.p=new Wl(10,this):this.Bb&$u?e?this.p=new Xl(13,e,this):this.p=new Wl(12,this):e?this.p=new Xl(15,e,this):this.p=new Wl(14,this):r?(l=r.t,l>1||l==-1?this.bl()?this.Bb&$u?e?this.p=new Za(25,e,this,r):this.p=new rd(24,this,r):e?this.p=new Za(27,e,this,r):this.p=new rd(26,this,r):this.Bb&$u?e?this.p=new Za(29,e,this,r):this.p=new rd(28,this,r):e?this.p=new Za(31,e,this,r):this.p=new rd(30,this,r):this.bl()?this.Bb&$u?e?this.p=new Za(33,e,this,r):this.p=new rd(32,this,r):e?this.p=new Za(35,e,this,r):this.p=new rd(34,this,r):this.Bb&$u?e?this.p=new Za(37,e,this,r):this.p=new rd(36,this,r):e?this.p=new Za(39,e,this,r):this.p=new rd(38,this,r)):this.bl()?this.Bb&$u?e?this.p=new Xl(17,e,this):this.p=new Wl(16,this):e?this.p=new Xl(19,e,this):this.p=new Wl(18,this):this.Bb&$u?e?this.p=new Xl(21,e,this):this.p=new Wl(20,this):e?this.p=new Xl(23,e,this):this.p=new Wl(22,this):this._k()?this.bl()?this.p=new yPn(u(c,29),this,r):this.p=new nJ(u(c,29),this,r):L(c,156)?e==MA?this.p=new Wl(40,this):this.Bb&$u?e?this.p=new kIn(t,h,this,(gx(),f==ye?Jdn:f==so?Gdn:f==Ka?Qdn:f==cg?Wdn:f==Ii?Vdn:f==V2?Ydn:f==Ru?zdn:f==fs?Xdn:MU)):this.p=new NOn(u(c,156),t,h,this):e?this.p=new vIn(t,h,this,(gx(),f==ye?Jdn:f==so?Gdn:f==Ka?Qdn:f==cg?Wdn:f==Ii?Vdn:f==V2?Ydn:f==Ru?zdn:f==fs?Xdn:MU)):this.p=new LOn(u(c,156),t,h,this):this.al()?r?this.Bb&$u?this.bl()?this.p=new EPn(u(c,29),this,r):this.p=new BV(u(c,29),this,r):this.bl()?this.p=new jPn(u(c,29),this,r):this.p=new HN(u(c,29),this,r):this.Bb&$u?this.bl()?this.p=new vSn(u(c,29),this):this.p=new ZX(u(c,29),this):this.bl()?this.p=new mSn(u(c,29),this):this.p=new IN(u(c,29),this):this.bl()?r?this.Bb&$u?this.p=new MPn(u(c,29),this,r):this.p=new RV(u(c,29),this,r):this.Bb&$u?this.p=new kSn(u(c,29),this):this.p=new nV(u(c,29),this):r?this.Bb&$u?this.p=new TPn(u(c,29),this,r):this.p=new KV(u(c,29),this,r):this.Bb&$u?this.p=new ySn(u(c,29),this):this.p=new uT(u(c,29),this)),this.p},o.rk=function(){return(this.Bb&Gs)!=0},o._k=function(){return!1},o.al=function(){return!1},o.sk=function(){return(this.Bb&wh)!=0},o.xk=function(){return a$(this)},o.bl=function(){return!1},o.tk=function(){return(this.Bb&$u)!=0},o.cl=function(e){this.k=e},o.ui=function(e){RD(this,e)},o.Ib=function(){return $S(this)},o.e=!1,o.n=0,w(qn,"EStructuralFeatureImpl",461),b(331,461,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,480:1,54:1,99:1,331:1,158:1,461:1,291:1,119:1,120:1,692:1},fL),o.Lh=function(e,t,i){var r,c;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),!!Ann(this);case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return _n(),!!(this.Bb&Gs);case 11:return _n(),!!(this.Bb&C0);case 12:return _n(),!!(this.Bb&v0);case 13:return this.j;case 14:return T4(this);case 15:return _n(),!!(this.Bb&$u);case 16:return _n(),!!(this.Bb&wh);case 17:return Gw(this);case 18:return _n(),!!(this.Bb&kc);case 19:return t?x$(this):xNn(this)}return zo(this,e-se((An(),tg)),$n((r=u(Un(this,16),29),r||tg),e),t,i)},o.Wh=function(e){var t,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return Ann(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&pb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&pb(this.q).i==0);case 10:return(this.Bb&Gs)==0;case 11:return(this.Bb&C0)!=0;case 12:return(this.Bb&v0)!=0;case 13:return this.j!=null;case 14:return T4(this)!=null;case 15:return(this.Bb&$u)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Gw(this);case 18:return(this.Bb&kc)!=0;case 19:return!!xNn(this)}return Uo(this,e-se((An(),tg)),$n((t=u(Un(this,16),29),t||tg),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:RD(this,Ae(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:Zjn(this,u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Kf(this,u(t,89),null),r&&r.oj();return;case 10:s4(this,on(un(t)));return;case 11:l4(this,on(un(t)));return;case 12:f4(this,on(un(t)));return;case 13:dX(this,Ae(t));return;case 15:h4(this,on(un(t)));return;case 16:a4(this,on(un(t)));return;case 18:sx(this,on(un(t)));return}Jo(this,e-se((An(),tg)),$n((i=u(Un(this,16),29),i||tg),e),t)},o.ii=function(){return An(),tg},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:L(this.Cb,90)&&h0(Zu(u(this.Cb,90)),4),zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:this.b=0,Zw(this,1);return;case 8:ad(this,null);return;case 9:i=Kf(this,null,null),i&&i.oj();return;case 10:s4(this,!0);return;case 11:l4(this,!1);return;case 12:f4(this,!1);return;case 13:this.i=null,kC(this,null);return;case 15:h4(this,!1);return;case 16:a4(this,!1);return;case 18:sx(this,!1);return}Wo(this,e-se((An(),tg)),$n((t=u(Un(this,16),29),t||tg),e))},o.pi=function(){x$(this),Pm(Nr((Lu(),zi),this)),gs(this),this.Bb|=1},o.Jk=function(){return Ann(this)},o.Yk=function(e,t){return this.b=0,this.a=null,yY(this,e,t)},o.Zk=function(e){Zjn(this,e)},o.Ib=function(){var e;return this.Db&64?$S(this):(e=new ls($S(this)),e.a+=" (iD: ",ql(e,(this.Bb&kc)!=0),e.a+=")",e.a)},o.b=0,w(qn,"EAttributeImpl",331),b(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),o.dl=function(e){return e.Dh()==this},o.Ah=function(e){return _x(this,e)},o.Bh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Kb(this);case 4:return this.ik();case 5:return this.F;case 6:return t?jo(this):Am(this);case 7:return!this.A&&(this.A=new Cu(fu,this,7)),this.A}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?_x(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,6,i)}return s=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),s.wk().zk(this,iu(this),t-se(this.ii()),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 6:return Po(this,null,6,i);case 7:return!this.A&&(this.A=new Cu(fu,this,7)),cr(this.A,e,i)}return c=u($n((r=u(Un(this,16),29),r||this.ii()),t),69),c.wk().Ak(this,iu(this),t-se(this.ii()),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Kb(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Am(this);case 7:return!!this.A&&this.A.i!=0}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:xT(this,Ae(t));return;case 2:wN(this,Ae(t));return;case 5:L4(this,Ae(t));return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A),!this.A&&(this.A=new Cu(fu,this,7)),Bt(this.A,u(t,16));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return An(),Foe},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:L(this.Cb,184)&&(u(this.Cb,184).tb=null),zc(this,null);return;case 2:c4(this,null),Um(this,this.D);return;case 5:L4(this,null);return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.hk=function(){var e;return this.G==-1&&(this.G=(e=jo(this),e?f1(e.vi(),this):-1)),this.G},o.ik=function(){return null},o.jk=function(){return jo(this)},o.el=function(){return this.v},o.kk=function(){return Kb(this)},o.lk=function(){return this.D!=null?this.D:this.B},o.mk=function(){return this.F},o.fk=function(e){return AR(this,e)},o.fl=function(e){this.v=e},o.gl=function(e){kxn(this,e)},o.hl=function(e){this.C=e},o.ui=function(e){xT(this,e)},o.Ib=function(){return UC(this)},o.C=null,o.D=null,o.G=-1,w(qn,"EClassifierImpl",364),b(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,481:1,119:1,120:1,691:1},rG),o.dl=function(e){return Dae(this,e.Dh())},o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Kb(this);case 4:return null;case 5:return this.F;case 6:return t?jo(this):Am(this);case 7:return!this.A&&(this.A=new Cu(fu,this,7)),this.A;case 8:return _n(),!!(this.Bb&256);case 9:return _n(),!!(this.Bb&512);case 10:return Hr(this);case 11:return!this.q&&(this.q=new q(Ps,this,11,10)),this.q;case 12:return Jg(this);case 13:return H5(this);case 14:return H5(this),this.r;case 15:return Jg(this),this.k;case 16:return ynn(this);case 17:return $R(this);case 18:return bh(this);case 19:return CS(this);case 20:return Jg(this),this.o;case 21:return!this.s&&(this.s=new q(ku,this,21,17)),this.s;case 22:return Pc(this);case 23:return yR(this)}return zo(this,e-se((An(),Da)),$n((r=u(Un(this,16),29),r||Da),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?_x(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,6,i);case 11:return!this.q&&(this.q=new q(Ps,this,11,10)),Xc(this.q,e,i);case 21:return!this.s&&(this.s=new q(ku,this,21,17)),Xc(this.s,e,i)}return s=u($n((r=u(Un(this,16),29),r||(An(),Da)),t),69),s.wk().zk(this,iu(this),t-se((An(),Da)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 6:return Po(this,null,6,i);case 7:return!this.A&&(this.A=new Cu(fu,this,7)),cr(this.A,e,i);case 11:return!this.q&&(this.q=new q(Ps,this,11,10)),cr(this.q,e,i);case 21:return!this.s&&(this.s=new q(ku,this,21,17)),cr(this.s,e,i);case 22:return cr(Pc(this),e,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),Da)),t),69),c.wk().Ak(this,iu(this),t-se((An(),Da)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Kb(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Am(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Pc(this.u.a).i!=0&&!(this.n&&Ox(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return Jg(this).i!=0;case 13:return H5(this).i!=0;case 14:return H5(this),this.r.i!=0;case 15:return Jg(this),this.k.i!=0;case 16:return ynn(this).i!=0;case 17:return $R(this).i!=0;case 18:return bh(this).i!=0;case 19:return CS(this).i!=0;case 20:return Jg(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&Ox(this.n);case 23:return yR(this).i!=0}return Uo(this,e-se((An(),Da)),$n((t=u(Un(this,16),29),t||Da),e))},o.Zh=function(e){var t;return t=this.i==null||this.q&&this.q.i!=0?null:uy(this,e),t||ttn(this,e)},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:xT(this,Ae(t));return;case 2:wN(this,Ae(t));return;case 5:L4(this,Ae(t));return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A),!this.A&&(this.A=new Cu(fu,this,7)),Bt(this.A,u(t,16));return;case 8:jY(this,on(un(t)));return;case 9:EY(this,on(un(t)));return;case 10:G5(Hr(this)),Bt(Hr(this),u(t,16));return;case 11:!this.q&&(this.q=new q(Ps,this,11,10)),me(this.q),!this.q&&(this.q=new q(Ps,this,11,10)),Bt(this.q,u(t,16));return;case 21:!this.s&&(this.s=new q(ku,this,21,17)),me(this.s),!this.s&&(this.s=new q(ku,this,21,17)),Bt(this.s,u(t,16));return;case 22:me(Pc(this)),Bt(Pc(this),u(t,16));return}Jo(this,e-se((An(),Da)),$n((i=u(Un(this,16),29),i||Da),e),t)},o.ii=function(){return An(),Da},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:L(this.Cb,184)&&(u(this.Cb,184).tb=null),zc(this,null);return;case 2:c4(this,null),Um(this,this.D);return;case 5:L4(this,null);return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A);return;case 8:jY(this,!1);return;case 9:EY(this,!1);return;case 10:this.u&&G5(this.u);return;case 11:!this.q&&(this.q=new q(Ps,this,11,10)),me(this.q);return;case 21:!this.s&&(this.s=new q(ku,this,21,17)),me(this.s);return;case 22:this.n&&me(this.n);return}Wo(this,e-se((An(),Da)),$n((t=u(Un(this,16),29),t||Da),e))},o.pi=function(){var e,t;if(Jg(this),H5(this),ynn(this),$R(this),bh(this),CS(this),yR(this),Z6(uwe(Zu(this))),this.s)for(e=0,t=this.s.i;e<t;++e)C7(N(this.s,e));if(this.q)for(e=0,t=this.q.i;e<t;++e)C7(N(this.q,e));r1((Lu(),zi),this).xe(),this.Bb|=1},o.Ib=function(){return _Z(this)},o.k=null,o.r=null;var N9,Joe,jU;w(qn,"EClassImpl",90),b(2092,2091,gJn),o.Ei=function(e,t){return LR(this,e,t)},o.Fi=function(e){return LR(this,this.i,e)},o.Gi=function(e,t){xnn(this,e,t)},o.Hi=function(e){aR(this,e)},o.Wk=function(e,t){return Xc(this,e,t)},o.$i=function(e){return YJ(this,e)},o.Xk=function(e,t){return cr(this,e,t)},o.Xi=function(e,t){return XUn(this,e,t)},o.Ii=function(){return new yp(this)},o.Ji=function(){return new T7(this)},o.Ki=function(e){return gk(this,e)},w(Ct,"NotifyingInternalEListImpl",2092),b(632,2092,Qr),o.Hc=function(e){return bGn(this,e)},o.Ij=function(e,t,i,r,c){return X6(this,e,t,i,r,c)},o.Jj=function(e){em(this,e)},o.Fk=function(e){return this},o.Lk=function(){return $n(this.e.Dh(),this.Lj())},o.Kj=function(){return this.Lk()},o.Lj=function(){return At(this.e.Dh(),this.Lk())},o.il=function(){return u(this.Lk().Hk(),29).kk()},o.jl=function(){return br(u(this.Lk(),19)).n},o.jj=function(){return this.e},o.kl=function(){return!0},o.ll=function(){return!1},o.ml=function(){return!1},o.nl=function(){return!1},o.dd=function(e){return f1(this,e)},o.Nj=function(e,t){var i;return i=u(e,54),this.ml()?this.kl()?i.Rh(this.e,this.jl(),this.il(),t):i.Rh(this.e,At(i.Dh(),br(u(this.Lk(),19))),null,t):i.Rh(this.e,-1-this.Lj(),null,t)},o.Oj=function(e,t){var i;return i=u(e,54),this.ml()?this.kl()?i.Th(this.e,this.jl(),this.il(),t):i.Th(this.e,At(i.Dh(),br(u(this.Lk(),19))),null,t):i.Th(this.e,-1-this.Lj(),null,t)},o.al=function(){return!1},o.ol=function(){return!0},o.fk=function(e){return RLn(this.d,e)},o.Pj=function(){return fo(this.e)},o.Qj=function(){return this.i!=0},o.aj=function(e){return wk(this.d,e)},o.Wi=function(e,t){return this.ol()&&this.nl()?e3(this,e,u(t,58)):t},o.pl=function(e){return e.Vh()?ta(this.e,u(e,54)):e},o.Wb=function(e){OCn(this,e)},o.Pc=function(){return LDn(this)},o.Qc=function(e){var t;if(this.nl())for(t=this.i-1;t>=0;--t)N(this,t);return XY(this,e)},o.Gk=function(){me(this)},o.Zi=function(e,t){return H$n(this,e,t)},w(Ct,"EcoreEList",632),b(504,632,Qr,R7),o.Li=function(){return!1},o.Lj=function(){return this.c},o.Mj=function(){return!1},o.ol=function(){return!0},o.Si=function(){return!0},o.Wi=function(e,t){return t},o.Yi=function(){return!1},o.c=0,w(Ct,"EObjectEList",504),b(83,504,Qr,ti),o.Mj=function(){return!0},o.ml=function(){return!1},o.al=function(){return!0},w(Ct,"EObjectContainmentEList",83),b(555,83,Qr,DM),o.Ni=function(){this.b=!0},o.Qj=function(){return this.b},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.b,this.b=!1,rt(this.e,new Bs(this.e,2,this.c,e,!1))):this.b=!1},o.b=!1,w(Ct,"EObjectContainmentEList/Unsettable",555),b(1161,555,Qr,pIn),o.Ti=function(e,t){var i,r;return i=u(m5(this,e,t),89),fo(this.e)&&em(this,new rk(this.a,7,(An(),_oe),Y(t),(r=i.c,L(r,90)?u(r,29):Os),e)),i},o.Uj=function(e,t){return S8e(this,u(e,89),t)},o.Vj=function(e,t){return C8e(this,u(e,89),t)},o.Wj=function(e,t,i){return Oke(this,u(e,89),u(t,89),i)},o.Ij=function(e,t,i,r,c){switch(e){case 3:return X6(this,e,t,i,r,this.i>1);case 5:return X6(this,e,t,i,r,this.i-u(i,15).gc()>0);default:return new ml(this.e,e,this.c,t,i,r,!0)}},o.Tj=function(){return!0},o.Qj=function(){return Ox(this)},o.Gk=function(){me(this)},w(qn,"EClassImpl/1",1161),b(1175,1174,Bcn),o.dj=function(e){var t,i,r,c,s,f,h;if(i=e.gj(),i!=8){if(r=s9e(e),r==0)switch(i){case 1:case 9:{h=e.kj(),h!=null&&(t=Zu(u(h,481)),!t.c&&(t.c=new V3),rC(t.c,e.jj())),f=e.ij(),f!=null&&(c=u(f,481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),ve(t.c,u(e.jj(),29))));break}case 3:{f=e.ij(),f!=null&&(c=u(f,481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),ve(t.c,u(e.jj(),29))));break}case 5:{if(f=e.ij(),f!=null)for(s=u(f,16).Kc();s.Ob();)c=u(s.Pb(),481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),ve(t.c,u(e.jj(),29)));break}case 4:{h=e.kj(),h!=null&&(c=u(h,481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),rC(t.c,e.jj())));break}case 6:{if(h=e.kj(),h!=null)for(s=u(h,16).Kc();s.Ob();)c=u(s.Pb(),481),c.Bb&1||(t=Zu(c),!t.c&&(t.c=new V3),rC(t.c,e.jj()));break}}this.ql(r)}},o.ql=function(e){Uqn(this,e)},o.b=63,w(qn,"ESuperAdapter",1175),b(1176,1175,Bcn,pyn),o.ql=function(e){h0(this,e)},w(qn,"EClassImpl/10",1176),b(1165,710,Qr),o.Ei=function(e,t){return Zx(this,e,t)},o.Fi=function(e){return LBn(this,e)},o.Gi=function(e,t){Ak(this,e,t)},o.Hi=function(e){nk(this,e)},o.$i=function(e){return YJ(this,e)},o.Xi=function(e,t){return d$(this,e,t)},o.Wk=function(e,t){throw T(new Ie)},o.Ii=function(){return new yp(this)},o.Ji=function(){return new T7(this)},o.Ki=function(e){return gk(this,e)},o.Xk=function(e,t){throw T(new Ie)},o.Fk=function(e){return this},o.Qj=function(){return this.i!=0},o.Wb=function(e){throw T(new Ie)},o.Gk=function(){throw T(new Ie)},w(Ct,"EcoreEList/UnmodifiableEList",1165),b(328,1165,Qr,pg),o.Yi=function(){return!1},w(Ct,"EcoreEList/UnmodifiableEList/FastCompare",328),b(1168,328,Qr,dRn),o.dd=function(e){var t,i,r;if(L(e,179)&&(t=u(e,179),i=t.Lj(),i!=-1)){for(r=this.i;i<r;++i)if(x(this.g[i])===x(e))return i}return-1},w(qn,"EClassImpl/1EAllStructuralFeaturesList",1168),b(1162,505,Mh,vvn),o.aj=function(e){return F(jr,pJn,89,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/1EGenericSuperTypeEList",1162),b(633,505,Mh,qA),o.aj=function(e){return F(ku,f2,179,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/1EStructuralFeatureUniqueEList",633),b(755,505,Mh,eG),o.aj=function(e){return F(eg,f2,19,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/1ReferenceList",755),b(1163,505,Mh,myn),o.Mi=function(e,t){o0e(this,u(t,35))},o.aj=function(e){return F(ng,f2,35,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/2",1163),b(1164,505,Mh,kvn),o.aj=function(e){return F(ng,f2,35,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/3",1164),b(1166,328,Qr,_Pn),o.Fc=function(e){return T3e(this,u(e,35))},o.Hi=function(e){Vhe(this,u(e,35))},w(qn,"EClassImpl/4",1166),b(1167,328,Qr,FPn),o.Fc=function(e){return C3e(this,u(e,19))},o.Hi=function(e){Whe(this,u(e,19))},w(qn,"EClassImpl/5",1167),b(1169,505,Mh,yvn),o.aj=function(e){return F(Ps,Hcn,62,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/6",1169),b(1170,505,Mh,jvn),o.aj=function(e){return F(eg,f2,19,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/7",1170),b(2095,2094,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,71:1}),o.Ei=function(e,t){return Len(this,e,t)},o.Fi=function(e){return Len(this,this.Ej(),e)},o.Gi=function(e,t){EHn(this,e,t)},o.Hi=function(e){lHn(this,e)},o.Wk=function(e,t){return n7e(this,e,t)},o.Xk=function(e,t){return S9e(this,e,t)},o.Xi=function(e,t){return OUn(this,e,t)},o.$i=function(e){return this.xj(e)},o.Ii=function(){return new yp(this)},o.pj=function(){return this.sj()},o.Ji=function(){return new T7(this)},o.Ki=function(e){return gk(this,e)},w(Ct,"DelegatingNotifyingInternalEListImpl",2095),b(756,2095,qcn),o.Li=function(){var e;return e=$n(au(this.b),this.Lj()).Hk(),L(e,156)&&!L(e,468)&&(e.kk().i&1)==0},o.Hc=function(e){var t,i,r,c,s,f,h,l;if(this.ol()){if(l=this.Ej(),l>4)if(this.fk(e)){if(this.al()){if(r=u(e,54),i=r.Eh(),h=i==this.b&&(this.ml()?r.yh(r.Fh(),u($n(au(this.b),this.Lj()).Hk(),29).kk())==br(u($n(au(this.b),this.Lj()),19)).n:-1-r.Fh()==this.Lj()),this.nl()&&!h&&!i&&r.Jh()){for(c=0;c<l;++c)if(t=cD(this,this.xj(c)),x(t)===x(e))return!0}return h}else if(this.ml()&&!this.ll()){if(s=u(e,58).Mh(br(u($n(au(this.b),this.Lj()),19))),x(s)===x(this.b))return!0;if(s==null||!u(s,58).Vh())return!1}}else return!1;if(f=this.uj(e),this.nl()&&!f){for(c=0;c<l;++c)if(r=cD(this,this.xj(c)),x(r)===x(e))return!0}return f}else return this.uj(e)},o.Ij=function(e,t,i,r,c){return new ml(this.b,e,this.Lj(),t,i,r,c)},o.Jj=function(e){rt(this.b,e)},o.Fk=function(e){return this},o.Kj=function(){return $n(au(this.b),this.Lj())},o.Lj=function(){return At(au(this.b),$n(au(this.b),this.Lj()))},o.jj=function(){return this.b},o.kl=function(){return!!$n(au(this.b),this.Lj()).Hk().kk()},o.Mj=function(){var e,t;return t=$n(au(this.b),this.Lj()),L(t,102)?(e=u(t,19),(e.Bb&kc)!=0||!!br(u(t,19))):!1},o.ll=function(){var e,t,i,r;return t=$n(au(this.b),this.Lj()),L(t,102)?(e=u(t,19),i=br(e),!!i&&(r=i.t,r>1||r==-1)):!1},o.ml=function(){var e,t,i;return t=$n(au(this.b),this.Lj()),L(t,102)?(e=u(t,19),i=br(e),!!i):!1},o.nl=function(){var e,t;return t=$n(au(this.b),this.Lj()),L(t,102)?(e=u(t,19),(e.Bb&hr)!=0):!1},o.dd=function(e){var t,i,r,c;if(r=this.zj(e),r>=0)return r;if(this.ol()){for(i=0,c=this.Ej();i<c;++i)if(t=cD(this,this.xj(i)),x(t)===x(e))return i}return-1},o.Nj=function(e,t){var i;return i=u(e,54),this.ml()?this.kl()?i.Rh(this.b,br(u($n(au(this.b),this.Lj()),19)).n,u($n(au(this.b),this.Lj()).Hk(),29).kk(),t):i.Rh(this.b,At(i.Dh(),br(u($n(au(this.b),this.Lj()),19))),null,t):i.Rh(this.b,-1-this.Lj(),null,t)},o.Oj=function(e,t){var i;return i=u(e,54),this.ml()?this.kl()?i.Th(this.b,br(u($n(au(this.b),this.Lj()),19)).n,u($n(au(this.b),this.Lj()).Hk(),29).kk(),t):i.Th(this.b,At(i.Dh(),br(u($n(au(this.b),this.Lj()),19))),null,t):i.Th(this.b,-1-this.Lj(),null,t)},o.al=function(){var e,t;return t=$n(au(this.b),this.Lj()),L(t,102)?(e=u(t,19),(e.Bb&kc)!=0):!1},o.ol=function(){return L($n(au(this.b),this.Lj()).Hk(),90)},o.fk=function(e){return $n(au(this.b),this.Lj()).Hk().fk(e)},o.Pj=function(){return fo(this.b)},o.Qj=function(){return!this.Aj()},o.Si=function(){return $n(au(this.b),this.Lj()).Si()},o.Wi=function(e,t){return gy(this,e,t)},o.Wb=function(e){G5(this),Bt(this,u(e,15))},o.Pc=function(){var e;if(this.nl())for(e=this.Ej()-1;e>=0;--e)gy(this,e,this.xj(e));return this.Fj()},o.Qc=function(e){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)gy(this,t,this.xj(t));return this.Gj(e)},o.Gk=function(){G5(this)},o.Zi=function(e,t){return vDn(this,e,t)},w(Ct,"DelegatingEcoreEList",756),b(1171,756,qcn,NSn),o.qj=function(e,t){rae(this,e,u(t,29))},o.rj=function(e){zle(this,u(e,29))},o.xj=function(e){var t,i;return t=u(N(Pc(this.a),e),89),i=t.c,L(i,90)?u(i,29):(An(),Os)},o.Cj=function(e){var t,i;return t=u(d0(Pc(this.a),e),89),i=t.c,L(i,90)?u(i,29):(An(),Os)},o.Dj=function(e,t){return e7e(this,e,u(t,29))},o.Li=function(){return!1},o.Ij=function(e,t,i,r,c){return null},o.sj=function(){return new kyn(this)},o.tj=function(){me(Pc(this.a))},o.uj=function(e){return fKn(this,e)},o.vj=function(e){var t,i;for(i=e.Kc();i.Ob();)if(t=i.Pb(),!fKn(this,t))return!1;return!0},o.wj=function(e){var t,i,r;if(L(e,15)&&(r=u(e,15),r.gc()==Pc(this.a).i)){for(t=r.Kc(),i=new ne(this);t.Ob();)if(x(t.Pb())!==x(ue(i)))return!1;return!0}return!1},o.yj=function(){var e,t,i,r,c;for(i=1,t=new ne(Pc(this.a));t.e!=t.i.gc();)e=u(ue(t),89),r=(c=e.c,L(c,90)?u(c,29):(An(),Os)),i=31*i+(r?fb(r):0);return i},o.zj=function(e){var t,i,r,c;for(r=0,i=new ne(Pc(this.a));i.e!=i.i.gc();){if(t=u(ue(i),89),x(e)===x((c=t.c,L(c,90)?u(c,29):(An(),Os))))return r;++r}return-1},o.Aj=function(){return Pc(this.a).i==0},o.Bj=function(){return null},o.Ej=function(){return Pc(this.a).i},o.Fj=function(){var e,t,i,r,c,s;for(s=Pc(this.a).i,c=F(ki,Rn,1,s,5,1),i=0,t=new ne(Pc(this.a));t.e!=t.i.gc();)e=u(ue(t),89),c[i++]=(r=e.c,L(r,90)?u(r,29):(An(),Os));return c},o.Gj=function(e){var t,i,r,c,s,f,h;for(h=Pc(this.a).i,e.length<h&&(c=wk(wo(e).c,h),e=c),e.length>h&&$t(e,h,null),r=0,i=new ne(Pc(this.a));i.e!=i.i.gc();)t=u(ue(i),89),s=(f=t.c,L(f,90)?u(f,29):(An(),Os)),$t(e,r++,s);return e},o.Hj=function(){var e,t,i,r,c;for(c=new Hl,c.a+="[",e=Pc(this.a),t=0,r=Pc(this.a).i;t<r;)Er(c,I6((i=u(N(e,t),89).c,L(i,90)?u(i,29):(An(),Os)))),++t<r&&(c.a+=ur);return c.a+="]",c.a},o.Jj=function(e){},o.Lj=function(){return 10},o.kl=function(){return!0},o.Mj=function(){return!1},o.ll=function(){return!1},o.ml=function(){return!1},o.nl=function(){return!0},o.al=function(){return!1},o.ol=function(){return!0},o.fk=function(e){return L(e,90)},o.Qj=function(){return Spe(this.a)},o.Si=function(){return!0},o.Yi=function(){return!0},w(qn,"EClassImpl/8",1171),b(1172,2062,K4,kyn),o.fd=function(e){return gk(this.a,e)},o.gc=function(){return Pc(this.a.a).i},w(qn,"EClassImpl/8/1",1172),b(1173,505,Mh,Evn),o.aj=function(e){return F(Mf,Rn,142,e,0,1)},o.Yi=function(){return!1},w(qn,"EClassImpl/9",1173),b(1160,49,ktn,hjn),w(qn,"EClassImpl/MyHashSet",1160),b(577,364,{110:1,94:1,93:1,142:1,156:1,847:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1},$E),o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Kb(this);case 4:return this.ik();case 5:return this.F;case 6:return t?jo(this):Am(this);case 7:return!this.A&&(this.A=new Cu(fu,this,7)),this.A;case 8:return _n(),!!(this.Bb&256)}return zo(this,e-se(this.ii()),$n((r=u(Un(this,16),29),r||this.ii()),e),t,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Kb(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Am(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return Uo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:xT(this,Ae(t));return;case 2:wN(this,Ae(t));return;case 5:L4(this,Ae(t));return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A),!this.A&&(this.A=new Cu(fu,this,7)),Bt(this.A,u(t,16));return;case 8:KC(this,on(un(t)));return}Jo(this,e-se(this.ii()),$n((i=u(Un(this,16),29),i||this.ii()),e),t)},o.ii=function(){return An(),Hoe},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:L(this.Cb,184)&&(u(this.Cb,184).tb=null),zc(this,null);return;case 2:c4(this,null),Um(this,this.D);return;case 5:L4(this,null);return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A);return;case 8:KC(this,!0);return}Wo(this,e-se(this.ii()),$n((t=u(Un(this,16),29),t||this.ii()),e))},o.pi=function(){r1((Lu(),zi),this).xe(),this.Bb|=1},o.ok=function(){var e,t,i;if(!this.c&&(e=xHn(jo(this)),!e.dc()))for(i=e.Kc();i.Ob();)t=Ae(i.Pb()),B5(this,t)&&C5e(this);return this.b},o.ik=function(){var e;if(!this.e){e=null;try{e=Kb(this)}catch(t){if(t=Ot(t),!L(t,103))throw T(t)}this.d=null,e&&e.i&1&&(e==so?this.d=(_n(),pa):e==ye?this.d=Y(0):e==cg?this.d=new G9(0):e==Ii?this.d=0:e==Ka?this.d=Tl(0):e==V2?this.d=o4(0):e==Ru?this.d=lk(0):this.d=mk(0)),this.e=!0}return this.d},o.nk=function(){return(this.Bb&256)!=0},o.rl=function(e){e&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},o.gl=function(e){kxn(this,e),this.rl(e)},o.hl=function(e){this.C=e,this.e=!1},o.Ib=function(){var e;return this.Db&64?UC(this):(e=new ls(UC(this)),e.a+=" (serializable: ",ql(e,(this.Bb&256)!=0),e.a+=")",e.a)},o.c=!1,o.d=null,o.e=!1,w(qn,"EDataTypeImpl",577),b(468,577,{110:1,94:1,93:1,142:1,156:1,847:1,685:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,468:1,158:1,119:1,120:1,691:1},ljn),o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Kb(this);case 4:return hY(this);case 5:return this.F;case 6:return t?jo(this):Am(this);case 7:return!this.A&&(this.A=new Cu(fu,this,7)),this.A;case 8:return _n(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new q(Kl,this,9,5)),this.a}return zo(this,e-se((An(),$a)),$n((r=u(Un(this,16),29),r||$a),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?_x(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,6,i);case 9:return!this.a&&(this.a=new q(Kl,this,9,5)),Xc(this.a,e,i)}return s=u($n((r=u(Un(this,16),29),r||(An(),$a)),t),69),s.wk().zk(this,iu(this),t-se((An(),$a)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 6:return Po(this,null,6,i);case 7:return!this.A&&(this.A=new Cu(fu,this,7)),cr(this.A,e,i);case 9:return!this.a&&(this.a=new q(Kl,this,9,5)),cr(this.a,e,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),$a)),t),69),c.wk().Ak(this,iu(this),t-se((An(),$a)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Kb(this);case 4:return!!hY(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Am(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Uo(this,e-se((An(),$a)),$n((t=u(Un(this,16),29),t||$a),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:xT(this,Ae(t));return;case 2:wN(this,Ae(t));return;case 5:L4(this,Ae(t));return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A),!this.A&&(this.A=new Cu(fu,this,7)),Bt(this.A,u(t,16));return;case 8:KC(this,on(un(t)));return;case 9:!this.a&&(this.a=new q(Kl,this,9,5)),me(this.a),!this.a&&(this.a=new q(Kl,this,9,5)),Bt(this.a,u(t,16));return}Jo(this,e-se((An(),$a)),$n((i=u(Un(this,16),29),i||$a),e),t)},o.ii=function(){return An(),$a},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:L(this.Cb,184)&&(u(this.Cb,184).tb=null),zc(this,null);return;case 2:c4(this,null),Um(this,this.D);return;case 5:L4(this,null);return;case 7:!this.A&&(this.A=new Cu(fu,this,7)),me(this.A);return;case 8:KC(this,!0);return;case 9:!this.a&&(this.a=new q(Kl,this,9,5)),me(this.a);return}Wo(this,e-se((An(),$a)),$n((t=u(Un(this,16),29),t||$a),e))},o.pi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e<t;++e)C7(N(this.a,e));r1((Lu(),zi),this).xe(),this.Bb|=1},o.ik=function(){return hY(this)},o.fk=function(e){return e!=null},o.rl=function(e){},w(qn,"EEnumImpl",468),b(582,448,{110:1,94:1,93:1,2039:1,694:1,155:1,197:1,58:1,114:1,54:1,99:1,582:1,158:1,119:1,120:1},xyn),o.xe=function(){return this.zb},o.Ah=function(e){return cFn(this,e)},o.Lh=function(e,t,i){var r,c;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Y(this.d);case 3:return this.b?this.b:this.a;case 4:return c=this.c,c??this.zb;case 5:return this.Db>>16==5?u(this.Cb,685):null}return zo(this,e-se((An(),P1)),$n((r=u(Un(this,16),29),r||P1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?cFn(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,5,i)}return s=u($n((r=u(Un(this,16),29),r||(An(),P1)),t),69),s.wk().zk(this,iu(this),t-se((An(),P1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 5:return Po(this,null,5,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),P1)),t),69),c.wk().Ak(this,iu(this),t-se((An(),P1)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,685))}return Uo(this,e-se((An(),P1)),$n((t=u(Un(this,16),29),t||P1),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Ae(t));return;case 2:v$(this,u(t,17).a);return;case 3:iHn(this,u(t,2039));return;case 4:y$(this,Ae(t));return}Jo(this,e-se((An(),P1)),$n((i=u(Un(this,16),29),i||P1),e),t)},o.ii=function(){return An(),P1},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:v$(this,0);return;case 3:iHn(this,null);return;case 4:y$(this,null);return}Wo(this,e-se((An(),P1)),$n((t=u(Un(this,16),29),t||P1),e))},o.Ib=function(){var e;return e=this.c,e??this.zb},o.b=null,o.c=null,o.d=0,w(qn,"EEnumLiteralImpl",582);var NDe=Dt(qn,"EFactoryImpl/InternalEDateTimeFormat");b(498,1,{2114:1},X9),w(qn,"EFactoryImpl/1ClientInternalEDateTimeFormat",498),b(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},Jd),o.Ch=function(e,t,i){var r;return i=Po(this,e,t,i),this.e&&L(e,179)&&(r=TS(this,this.e),r!=this.c&&(i=N4(this,r,i))),i},o.Lh=function(e,t,i){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new ti(jr,this,1)),this.d;case 2:return t?KS(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?Nx(this):this.a}return zo(this,e-se((An(),kw)),$n((r=u(Un(this,16),29),r||kw),e),t,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return JRn(this,null,i);case 1:return!this.d&&(this.d=new ti(jr,this,1)),cr(this.d,e,i);case 3:return QRn(this,null,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),kw)),t),69),c.wk().Ak(this,iu(this),t-se((An(),kw)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Uo(this,e-se((An(),kw)),$n((t=u(Un(this,16),29),t||kw),e))},o.bi=function(e,t){var i;switch(e){case 0:MFn(this,u(t,89));return;case 1:!this.d&&(this.d=new ti(jr,this,1)),me(this.d),!this.d&&(this.d=new ti(jr,this,1)),Bt(this.d,u(t,16));return;case 3:HZ(this,u(t,89));return;case 4:onn(this,u(t,850));return;case 5:Bm(this,u(t,142));return}Jo(this,e-se((An(),kw)),$n((i=u(Un(this,16),29),i||kw),e),t)},o.ii=function(){return An(),kw},o.ki=function(e){var t;switch(e){case 0:MFn(this,null);return;case 1:!this.d&&(this.d=new ti(jr,this,1)),me(this.d);return;case 3:HZ(this,null);return;case 4:onn(this,null);return;case 5:Bm(this,null);return}Wo(this,e-se((An(),kw)),$n((t=u(Un(this,16),29),t||kw),e))},o.Ib=function(){var e;return e=new mo(Hs(this)),e.a+=" (expression: ",_R(this,e),e.a+=")",e.a};var Udn;w(qn,"EGenericTypeImpl",248),b(2067,2062,zP),o.Gi=function(e,t){OSn(this,e,t)},o.Wk=function(e,t){return OSn(this,this.gc(),e),t},o.$i=function(e){return Zo(this.pj(),e)},o.Ii=function(){return this.Ji()},o.pj=function(){return new Myn(this)},o.Ji=function(){return this.Ki(0)},o.Ki=function(e){return this.pj().fd(e)},o.Xk=function(e,t){return i0(this,e,!0),t},o.Ti=function(e,t){var i,r;return r=Ux(this,t),i=this.fd(e),i.Rb(r),r},o.Ui=function(e,t){var i;i0(this,t,!0),i=this.fd(e),i.Rb(t)},w(Ct,"AbstractSequentialInternalEList",2067),b(495,2067,zP,M7),o.$i=function(e){return Zo(this.pj(),e)},o.Ii=function(){return this.b==null?(Gl(),Gl(),aE):this.sl()},o.pj=function(){return new WTn(this.a,this.b)},o.Ji=function(){return this.b==null?(Gl(),Gl(),aE):this.sl()},o.Ki=function(e){var t,i;if(this.b==null){if(e<0||e>1)throw T(new Or(w8+e+", size=0"));return Gl(),Gl(),aE}for(i=this.sl(),t=0;t<e;++t)IC(i);return i},o.dc=function(){var e,t,i,r,c,s;if(this.b!=null){for(i=0;i<this.b.length;++i)if(e=this.b[i],!this.vl()||this.a.Xh(e)){if(s=this.a.Nh(e,!1),dr(),u(e,69).xk()){for(t=u(s,160),r=0,c=t.gc();r<c;++r)if(rOn(t.Tl(r))&&t.Ul(r)!=null)return!1}else if(e.Jk()){if(!u(s,16).dc())return!1}else if(s!=null)return!1}}return!0},o.Kc=function(){return AQ(this)},o.fd=function(e){var t,i;if(this.b==null){if(e!=0)throw T(new Or(w8+e+", size=0"));return Gl(),Gl(),aE}for(i=this.ul()?this.tl():this.sl(),t=0;t<e;++t)IC(i);return i},o.Ti=function(e,t){throw T(new Ie)},o.Ui=function(e,t){throw T(new Ie)},o.sl=function(){return new FM(this.a,this.b)},o.tl=function(){return new YX(this.a,this.b)},o.ul=function(){return!0},o.gc=function(){var e,t,i,r,c,s,f;if(c=0,this.b!=null){for(i=0;i<this.b.length;++i)if(e=this.b[i],!this.vl()||this.a.Xh(e))if(f=this.a.Nh(e,!1),dr(),u(e,69).xk())for(t=u(f,160),r=0,s=t.gc();r<s;++r)rOn(t.Tl(r))&&t.Ul(r)!=null&&++c;else e.Jk()?c+=u(f,16).gc():f!=null&&++c}return c},o.vl=function(){return!0};var EU;w(Ct,"EContentsEList",495),b(1177,495,zP,bSn),o.sl=function(){return new gSn(this.a,this.b)},o.tl=function(){return new wSn(this.a,this.b)},o.vl=function(){return!1},w(qn,"ENamedElementImpl/1",1177),b(287,1,XP,FM),o.Nb=function(e){_i(this,e)},o.Rb=function(e){throw T(new Ie)},o.wl=function(e){if(this.g!=0||this.e)throw T(new Ar("Iterator already in use or already filtered"));this.e=e},o.Ob=function(){var e,t,i,r,c,s;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!p_n(this,this.p):!oHn(this))){for(;this.d<this.c.length;)if(t=this.c[this.d++],(!this.e||t.pk()!=_v||t.Lj()!=0)&&(!this.vl()||this.b.Xh(t))){if(s=this.b.Nh(t,this.ul()),this.f=(dr(),u(t,69).xk()),this.f||t.Jk()){if(this.ul()?(r=u(s,15),this.k=r):(r=u(s,71),this.k=this.j=r),L(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Ji():this.k.ed(),this.p?p_n(this,this.p):oHn(this))return c=this.p?this.p.Pb():this.j?this.j.$i(this.n++):this.k.Xb(this.n++),this.f?(e=u(c,76),e.Lk(),i=e.md(),this.i=i):(i=c,this.i=i),this.g=3,!0}else if(s!=null)return this.k=null,this.p=null,i=s,this.i=i,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return c=this.p?this.p.Pb():this.j?this.j.$i(this.n++):this.k.Xb(this.n++),this.f?(e=u(c,76),e.Lk(),i=e.md(),this.i=i):(i=c,this.i=i),this.g=3,!0}},o.Sb=function(){var e,t,i,r,c,s;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!m_n(this,this.p):!O_n(this))){for(;this.d>0;)if(t=this.c[--this.d],(!this.e||t.pk()!=_v||t.Lj()!=0)&&(!this.vl()||this.b.Xh(t))){if(s=this.b.Nh(t,this.ul()),this.f=(dr(),u(t,69).xk()),this.f||t.Jk()){if(this.ul()?(r=u(s,15),this.k=r):(r=u(s,71),this.k=this.j=r),L(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?m_n(this,this.p):O_n(this))return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=u(c,76),e.Lk(),i=e.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(s!=null)return this.k=null,this.p=null,i=s,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=u(c,76),e.Lk(),i=e.md(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},o.Pb=function(){return IC(this)},o.Tb=function(){return this.a},o.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw T(new nc)},o.Vb=function(){return this.a-1},o.Qb=function(){throw T(new Ie)},o.ul=function(){return!1},o.Wb=function(e){throw T(new Ie)},o.vl=function(){return!0},o.a=0,o.d=0,o.f=!1,o.g=0,o.n=0,o.o=0;var aE;w(Ct,"EContentsEList/FeatureIteratorImpl",287),b(711,287,XP,YX),o.ul=function(){return!0},w(Ct,"EContentsEList/ResolvingFeatureIteratorImpl",711),b(1178,711,XP,wSn),o.vl=function(){return!1},w(qn,"ENamedElementImpl/1/1",1178),b(1179,287,XP,gSn),o.vl=function(){return!1},w(qn,"ENamedElementImpl/1/2",1179),b(38,152,Vy,Vw,UD,Mi,c$,ml,Bs,lQ,WAn,aQ,JAn,IJ,QAn,wQ,YAn,OJ,ZAn,dQ,nLn,F6,rk,TD,bQ,eLn,AJ,tLn),o.Kj=function(){return VJ(this)},o.Rj=function(){var e;return e=VJ(this),e?e.ik():null},o.hj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,e)},o.jj=function(){return this.c},o.Sj=function(){var e;return e=VJ(this),e?e.tk():!1},o.b=-1,w(qn,"ENotificationImpl",38),b(411,291,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,480:1,54:1,99:1,158:1,411:1,291:1,119:1,120:1},hL),o.Ah=function(e){return sFn(this,e)},o.Lh=function(e,t,i){var r,c,s;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),s=this.t,s>1||s==-1;case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new Cu(fu,this,11)),this.d;case 12:return!this.c&&(this.c=new q(vw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new I7(this,this)),this.a;case 14:return no(this)}return zo(this,e-se((An(),I1)),$n((r=u(Un(this,16),29),r||I1),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?sFn(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,10,i);case 12:return!this.c&&(this.c=new q(vw,this,12,10)),Xc(this.c,e,i)}return s=u($n((r=u(Un(this,16),29),r||(An(),I1)),t),69),s.wk().zk(this,iu(this),t-se((An(),I1)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hD(this,i);case 10:return Po(this,null,10,i);case 11:return!this.d&&(this.d=new Cu(fu,this,11)),cr(this.d,e,i);case 12:return!this.c&&(this.c=new q(vw,this,12,10)),cr(this.c,e,i);case 14:return cr(no(this),e,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),I1)),t),69),c.wk().Ak(this,iu(this),t-se((An(),I1)),e,i)},o.Wh=function(e){var t,i,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&pb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&pb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&no(this.a.a).i!=0&&!(this.b&&Ax(this.b));case 14:return!!this.b&&Ax(this.b)}return Uo(this,e-se((An(),I1)),$n((t=u(Un(this,16),29),t||I1),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Ae(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:Zw(this,u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Kf(this,u(t,89),null),r&&r.oj();return;case 11:!this.d&&(this.d=new Cu(fu,this,11)),me(this.d),!this.d&&(this.d=new Cu(fu,this,11)),Bt(this.d,u(t,16));return;case 12:!this.c&&(this.c=new q(vw,this,12,10)),me(this.c),!this.c&&(this.c=new q(vw,this,12,10)),Bt(this.c,u(t,16));return;case 13:!this.a&&(this.a=new I7(this,this)),G5(this.a),!this.a&&(this.a=new I7(this,this)),Bt(this.a,u(t,16));return;case 14:me(no(this)),Bt(no(this),u(t,16));return}Jo(this,e-se((An(),I1)),$n((i=u(Un(this,16),29),i||I1),e),t)},o.ii=function(){return An(),I1},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:Zw(this,1);return;case 8:ad(this,null);return;case 9:i=Kf(this,null,null),i&&i.oj();return;case 11:!this.d&&(this.d=new Cu(fu,this,11)),me(this.d);return;case 12:!this.c&&(this.c=new q(vw,this,12,10)),me(this.c);return;case 13:this.a&&G5(this.a);return;case 14:this.b&&me(this.b);return}Wo(this,e-se((An(),I1)),$n((t=u(Un(this,16),29),t||I1),e))},o.pi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;e<t;++e)C7(N(this.c,e));gs(this),this.Bb|=1},w(qn,"EOperationImpl",411),b(513,756,qcn,I7),o.qj=function(e,t){uae(this,e,u(t,142))},o.rj=function(e){Xle(this,u(e,142))},o.xj=function(e){var t,i;return t=u(N(no(this.a),e),89),i=t.c,i||(An(),Zf)},o.Cj=function(e){var t,i;return t=u(d0(no(this.a),e),89),i=t.c,i||(An(),Zf)},o.Dj=function(e,t){return V8e(this,e,u(t,142))},o.Li=function(){return!1},o.Ij=function(e,t,i,r,c){return null},o.sj=function(){return new yyn(this)},o.tj=function(){me(no(this.a))},o.uj=function(e){return dKn(this,e)},o.vj=function(e){var t,i;for(i=e.Kc();i.Ob();)if(t=i.Pb(),!dKn(this,t))return!1;return!0},o.wj=function(e){var t,i,r;if(L(e,15)&&(r=u(e,15),r.gc()==no(this.a).i)){for(t=r.Kc(),i=new ne(this);t.Ob();)if(x(t.Pb())!==x(ue(i)))return!1;return!0}return!1},o.yj=function(){var e,t,i,r,c;for(i=1,t=new ne(no(this.a));t.e!=t.i.gc();)e=u(ue(t),89),r=(c=e.c,c||(An(),Zf)),i=31*i+(r?mt(r):0);return i},o.zj=function(e){var t,i,r,c;for(r=0,i=new ne(no(this.a));i.e!=i.i.gc();){if(t=u(ue(i),89),x(e)===x((c=t.c,c||(An(),Zf))))return r;++r}return-1},o.Aj=function(){return no(this.a).i==0},o.Bj=function(){return null},o.Ej=function(){return no(this.a).i},o.Fj=function(){var e,t,i,r,c,s;for(s=no(this.a).i,c=F(ki,Rn,1,s,5,1),i=0,t=new ne(no(this.a));t.e!=t.i.gc();)e=u(ue(t),89),c[i++]=(r=e.c,r||(An(),Zf));return c},o.Gj=function(e){var t,i,r,c,s,f,h;for(h=no(this.a).i,e.length<h&&(c=wk(wo(e).c,h),e=c),e.length>h&&$t(e,h,null),r=0,i=new ne(no(this.a));i.e!=i.i.gc();)t=u(ue(i),89),s=(f=t.c,f||(An(),Zf)),$t(e,r++,s);return e},o.Hj=function(){var e,t,i,r,c;for(c=new Hl,c.a+="[",e=no(this.a),t=0,r=no(this.a).i;t<r;)Er(c,I6((i=u(N(e,t),89).c,i||(An(),Zf)))),++t<r&&(c.a+=ur);return c.a+="]",c.a},o.Jj=function(e){},o.Lj=function(){return 13},o.kl=function(){return!0},o.Mj=function(){return!1},o.ll=function(){return!1},o.ml=function(){return!1},o.nl=function(){return!0},o.al=function(){return!1},o.ol=function(){return!0},o.fk=function(e){return L(e,142)},o.Qj=function(){return Ppe(this.a)},o.Si=function(){return!0},o.Yi=function(){return!0},w(qn,"EOperationImpl/1",513),b(1376,2062,K4,yyn),o.fd=function(e){return gk(this.a,e)},o.gc=function(){return no(this.a.a).i},w(qn,"EOperationImpl/1/1",1376),b(1377,555,Qr,mIn),o.Ti=function(e,t){var i,r;return i=u(m5(this,e,t),89),fo(this.e)&&em(this,new rk(this.a,7,(An(),Goe),Y(t),(r=i.c,r||Zf),e)),i},o.Uj=function(e,t){return h5e(this,u(e,89),t)},o.Vj=function(e,t){return f5e(this,u(e,89),t)},o.Wj=function(e,t,i){return o9e(this,u(e,89),u(t,89),i)},o.Ij=function(e,t,i,r,c){switch(e){case 3:return X6(this,e,t,i,r,this.i>1);case 5:return X6(this,e,t,i,r,this.i-u(i,15).gc()>0);default:return new ml(this.e,e,this.c,t,i,r,!0)}},o.Tj=function(){return!0},o.Qj=function(){return Ax(this)},o.Gk=function(){me(this)},w(qn,"EOperationImpl/2",1377),b(507,1,{2037:1,507:1},LTn),w(qn,"EPackageImpl/1",507),b(14,83,Qr,q),o.il=function(){return this.d},o.jl=function(){return this.b},o.ml=function(){return!0},o.b=0,w(Ct,"EObjectContainmentWithInverseEList",14),b(365,14,Qr,jp),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectContainmentWithInverseEList/Resolving",365),b(307,365,Qr,Hw),o.Ni=function(){this.a.tb=null},w(qn,"EPackageImpl/2",307),b(1278,1,{},qse),w(qn,"EPackageImpl/3",1278),b(733,45,n2,nz),o._b=function(e){return Si(e)?SD(this,e):!!wr(this.f,e)},w(qn,"EPackageRegistryImpl",733),b(518,291,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,480:1,54:1,99:1,158:1,518:1,291:1,119:1,120:1},lL),o.Ah=function(e){return fFn(this,e)},o.Lh=function(e,t,i){var r,c,s;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),s=this.t,s>1||s==-1;case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return zo(this,e-se((An(),ig)),$n((r=u(Un(this,16),29),r||ig),e),t,i)},o.Sh=function(e,t,i){var r,c,s;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Xc(this.Ab,e,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?fFn(this,i):this.Cb.Th(this,-1-c,null,i))),Po(this,e,10,i)}return s=u($n((r=u(Un(this,16),29),r||(An(),ig)),t),69),s.wk().zk(this,iu(this),t-se((An(),ig)),e,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 9:return hD(this,i);case 10:return Po(this,null,10,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),ig)),t),69),c.wk().Ak(this,iu(this),t-se((An(),ig)),e,i)},o.Wh=function(e){var t,i,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&pb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&pb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Uo(this,e-se((An(),ig)),$n((t=u(Un(this,16),29),t||ig),e))},o.ii=function(){return An(),ig},w(qn,"EParameterImpl",518),b(102,461,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,480:1,54:1,99:1,158:1,102:1,461:1,291:1,119:1,120:1,692:1},iV),o.Lh=function(e,t,i){var r,c,s,f;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _n(),!!(this.Bb&256);case 3:return _n(),!!(this.Bb&512);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return _n(),f=this.t,f>1||f==-1;case 7:return _n(),c=this.s,c>=1;case 8:return t?gs(this):this.r;case 9:return this.q;case 10:return _n(),!!(this.Bb&Gs);case 11:return _n(),!!(this.Bb&C0);case 12:return _n(),!!(this.Bb&v0);case 13:return this.j;case 14:return T4(this);case 15:return _n(),!!(this.Bb&$u);case 16:return _n(),!!(this.Bb&wh);case 17:return Gw(this);case 18:return _n(),!!(this.Bb&kc);case 19:return _n(),s=br(this),!!(s&&s.Bb&kc);case 20:return _n(),!!(this.Bb&hr);case 21:return t?br(this):this.b;case 22:return t?nY(this):CNn(this);case 23:return!this.a&&(this.a=new Eg(ng,this,23)),this.a}return zo(this,e-se((An(),U2)),$n((r=u(Un(this,16),29),r||U2),e),t,i)},o.Wh=function(e){var t,i,r,c;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&pb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&pb(this.q).i==0);case 10:return(this.Bb&Gs)==0;case 11:return(this.Bb&C0)!=0;case 12:return(this.Bb&v0)!=0;case 13:return this.j!=null;case 14:return T4(this)!=null;case 15:return(this.Bb&$u)!=0;case 16:return(this.Bb&wh)!=0;case 17:return!!Gw(this);case 18:return(this.Bb&kc)!=0;case 19:return r=br(this),!!r&&(r.Bb&kc)!=0;case 20:return(this.Bb&hr)==0;case 21:return!!this.b;case 22:return!!CNn(this);case 23:return!!this.a&&this.a.i!=0}return Uo(this,e-se((An(),U2)),$n((t=u(Un(this,16),29),t||U2),e))},o.bi=function(e,t){var i,r;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:RD(this,Ae(t));return;case 2:c1(this,on(un(t)));return;case 3:u1(this,on(un(t)));return;case 4:e1(this,u(t,17).a);return;case 5:Zw(this,u(t,17).a);return;case 8:ad(this,u(t,142));return;case 9:r=Kf(this,u(t,89),null),r&&r.oj();return;case 10:s4(this,on(un(t)));return;case 11:l4(this,on(un(t)));return;case 12:f4(this,on(un(t)));return;case 13:dX(this,Ae(t));return;case 15:h4(this,on(un(t)));return;case 16:a4(this,on(un(t)));return;case 18:S2e(this,on(un(t)));return;case 20:LY(this,on(un(t)));return;case 21:OQ(this,u(t,19));return;case 23:!this.a&&(this.a=new Eg(ng,this,23)),me(this.a),!this.a&&(this.a=new Eg(ng,this,23)),Bt(this.a,u(t,16));return}Jo(this,e-se((An(),U2)),$n((i=u(Un(this,16),29),i||U2),e),t)},o.ii=function(){return An(),U2},o.ki=function(e){var t,i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:L(this.Cb,90)&&h0(Zu(u(this.Cb,90)),4),zc(this,null);return;case 2:c1(this,!0);return;case 3:u1(this,!0);return;case 4:e1(this,0);return;case 5:Zw(this,1);return;case 8:ad(this,null);return;case 9:i=Kf(this,null,null),i&&i.oj();return;case 10:s4(this,!0);return;case 11:l4(this,!1);return;case 12:f4(this,!1);return;case 13:this.i=null,kC(this,null);return;case 15:h4(this,!1);return;case 16:a4(this,!1);return;case 18:AY(this,!1),L(this.Cb,90)&&h0(Zu(u(this.Cb,90)),2);return;case 20:LY(this,!0);return;case 21:OQ(this,null);return;case 23:!this.a&&(this.a=new Eg(ng,this,23)),me(this.a);return}Wo(this,e-se((An(),U2)),$n((t=u(Un(this,16),29),t||U2),e))},o.pi=function(){nY(this),Pm(Nr((Lu(),zi),this)),gs(this),this.Bb|=1},o.uk=function(){return br(this)},o._k=function(){var e;return e=br(this),!!e&&(e.Bb&kc)!=0},o.al=function(){return(this.Bb&kc)!=0},o.bl=function(){return(this.Bb&hr)!=0},o.Yk=function(e,t){return this.c=null,yY(this,e,t)},o.Ib=function(){var e;return this.Db&64?$S(this):(e=new ls($S(this)),e.a+=" (containment: ",ql(e,(this.Bb&kc)!=0),e.a+=", resolveProxies: ",ql(e,(this.Bb&hr)!=0),e.a+=")",e.a)},w(qn,"EReferenceImpl",102),b(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},Mvn),o.Fb=function(e){return this===e},o.ld=function(){return this.b},o.md=function(){return this.c},o.Hb=function(){return fb(this)},o.Di=function(e){Lwe(this,Ae(e))},o.nd=function(e){return pwe(this,Ae(e))},o.Lh=function(e,t,i){var r;switch(e){case 0:return this.b;case 1:return this.c}return zo(this,e-se((An(),ar)),$n((r=u(Un(this,16),29),r||ar),e),t,i)},o.Wh=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return Uo(this,e-se((An(),ar)),$n((t=u(Un(this,16),29),t||ar),e))},o.bi=function(e,t){var i;switch(e){case 0:Nwe(this,Ae(t));return;case 1:SQ(this,Ae(t));return}Jo(this,e-se((An(),ar)),$n((i=u(Un(this,16),29),i||ar),e),t)},o.ii=function(){return An(),ar},o.ki=function(e){var t;switch(e){case 0:CQ(this,null);return;case 1:SQ(this,null);return}Wo(this,e-se((An(),ar)),$n((t=u(Un(this,16),29),t||ar),e))},o.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:t1(e)),this.a},o.Ci=function(e){this.a=e},o.Ib=function(){var e;return this.Db&64?Hs(this):(e=new ls(Hs(this)),e.a+=" (key: ",Er(e,this.b),e.a+=", value: ",Er(e,this.c),e.a+=")",e.a)},o.a=-1,o.b=null,o.c=null;var pc=w(qn,"EStringToStringMapEntryImpl",561),Qoe=Dt(Ct,"FeatureMap/Entry/Internal");b(576,1,VP),o.xl=function(e){return this.yl(u(e,54))},o.yl=function(e){return this.xl(e)},o.Fb=function(e){var t,i;return this===e?!0:L(e,76)?(t=u(e,76),t.Lk()==this.c?(i=this.md(),i==null?t.md()==null:ct(i,t.md())):!1):!1},o.Lk=function(){return this.c},o.Hb=function(){var e;return e=this.md(),mt(this.c)^(e==null?0:mt(e))},o.Ib=function(){var e,t;return e=this.c,t=jo(e.qk()).yi(),e.xe(),(t!=null&&t.length!=0?t+":"+e.xe():e.xe())+"="+this.md()},w(qn,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),b(791,576,VP,aV),o.yl=function(e){return new aV(this.c,e)},o.md=function(){return this.a},o.zl=function(e,t,i){return gve(this,e,this.a,t,i)},o.Al=function(e,t,i){return pve(this,e,this.a,t,i)},w(qn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),b(1350,1,{},NTn),o.yk=function(e,t,i,r,c){var s;return s=u($m(e,this.b),220),s.Yl(this.a).Fk(r)},o.zk=function(e,t,i,r,c){var s;return s=u($m(e,this.b),220),s.Pl(this.a,r,c)},o.Ak=function(e,t,i,r,c){var s;return s=u($m(e,this.b),220),s.Ql(this.a,r,c)},o.Bk=function(e,t,i){var r;return r=u($m(e,this.b),220),r.Yl(this.a).Qj()},o.Ck=function(e,t,i,r){var c;c=u($m(e,this.b),220),c.Yl(this.a).Wb(r)},o.Dk=function(e,t,i){return u($m(e,this.b),220).Yl(this.a)},o.Ek=function(e,t,i){var r;r=u($m(e,this.b),220),r.Yl(this.a).Gk()},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),b(91,1,{},Xl,Za,Wl,rd),o.yk=function(e,t,i,r,c){var s;if(s=t.li(i),s==null&&t.mi(i,s=XS(this,e)),!c)switch(this.e){case 50:case 41:return u(s,597).bk();case 40:return u(s,220).Vl()}return s},o.zk=function(e,t,i,r,c){var s,f;return f=t.li(i),f==null&&t.mi(i,f=XS(this,e)),s=u(f,71).Wk(r,c),s},o.Ak=function(e,t,i,r,c){var s;return s=t.li(i),s!=null&&(c=u(s,71).Xk(r,c)),c},o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null&&u(r,79).Qj()},o.Ck=function(e,t,i,r){var c;c=u(t.li(i),79),!c&&t.mi(i,c=XS(this,e)),c.Wb(r)},o.Dk=function(e,t,i){var r,c;return c=t.li(i),c==null&&t.mi(i,c=XS(this,e)),L(c,79)?u(c,79):(r=u(t.li(i),15),new jyn(r))},o.Ek=function(e,t,i){var r;r=u(t.li(i),79),!r&&t.mi(i,r=XS(this,e)),r.Gk()},o.b=0,o.e=0,w(qn,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),b(512,1,{}),o.zk=function(e,t,i,r,c){throw T(new Ie)},o.Ak=function(e,t,i,r,c){throw T(new Ie)},o.Dk=function(e,t,i){return new AOn(this,e,t,i)};var rl;w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),b(1367,1,CF,AOn),o.Fk=function(e){return this.a.yk(this.c,this.d,this.b,e,!0)},o.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},o.Wb=function(e){this.a.Ck(this.c,this.d,this.b,e)},o.Gk=function(){this.a.Ek(this.c,this.d,this.b)},o.b=0,w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),b(784,512,{},nJ),o.yk=function(e,t,i,r,c){return SR(e,e.Ph(),e.Fh())==this.b?this.bl()&&r?dR(e):e.Ph():null},o.zk=function(e,t,i,r,c){var s,f;return e.Ph()&&(c=(s=e.Fh(),s>=0?e.Ah(c):e.Ph().Th(e,-1-s,null,c))),f=At(e.Dh(),this.e),e.Ch(r,f,c)},o.Ak=function(e,t,i,r,c){var s;return s=At(e.Dh(),this.e),e.Ch(null,s,c)},o.Bk=function(e,t,i){var r;return r=At(e.Dh(),this.e),!!e.Ph()&&e.Fh()==r},o.Ck=function(e,t,i,r){var c,s,f,h,l;if(r!=null&&!AR(this.a,r))throw T(new tm(WP+(L(r,58)?_Z(u(r,58).Dh()):oQ(wo(r)))+JP+this.a+"'"));if(c=e.Ph(),f=At(e.Dh(),this.e),x(r)!==x(c)||e.Fh()!=f&&r!=null){if(p4(e,u(r,58)))throw T(new Gn(d8+e.Ib()));l=null,c&&(l=(s=e.Fh(),s>=0?e.Ah(l):e.Ph().Th(e,-1-s,null,l))),h=u(r,54),h&&(l=h.Rh(e,At(h.Dh(),this.b),null,l)),l=e.Ch(h,f,l),l&&l.oj()}else e.vh()&&e.wh()&&rt(e,new Mi(e,1,f,r,r))},o.Ek=function(e,t,i){var r,c,s,f;r=e.Ph(),r?(f=(c=e.Fh(),c>=0?e.Ah(null):e.Ph().Th(e,-1-c,null,null)),s=At(e.Dh(),this.e),f=e.Ch(null,s,f),f&&f.oj()):e.vh()&&e.wh()&&rt(e,new F6(e,1,this.e,null,null))},o.bl=function(){return!1},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),b(1351,784,{},yPn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),b(574,512,{}),o.yk=function(e,t,i,r,c){var s;return s=t.li(i),s==null?this.b:x(s)===x(rl)?null:s},o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null&&(x(r)===x(rl)||!ct(r,this.b))},o.Ck=function(e,t,i,r){var c,s;e.vh()&&e.wh()?(c=(s=t.li(i),s==null?this.b:x(s)===x(rl)?null:s),r==null?this.c!=null?(t.mi(i,null),r=this.b):this.b!=null?t.mi(i,rl):t.mi(i,null):(this.Bl(r),t.mi(i,r)),rt(e,this.d.Cl(e,1,this.e,c,r))):r==null?this.c!=null?t.mi(i,null):this.b!=null?t.mi(i,rl):t.mi(i,null):(this.Bl(r),t.mi(i,r))},o.Ek=function(e,t,i){var r,c;e.vh()&&e.wh()?(r=(c=t.li(i),c==null?this.b:x(c)===x(rl)?null:c),t.ni(i),rt(e,this.d.Cl(e,1,this.e,r,this.b))):t.ni(i)},o.Bl=function(e){throw T(new Nyn)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),b(h2,1,{},Tvn),o.Cl=function(e,t,i,r,c){return new F6(e,t,i,r,c)},o.Dl=function(e,t,i,r,c,s){return new TD(e,t,i,r,c,s)};var Gdn,zdn,Xdn,Vdn,Wdn,Jdn,Qdn,MU,Ydn;w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",h2),b(1368,h2,{},Cvn),o.Cl=function(e,t,i,r,c){return new AJ(e,t,i,on(un(r)),on(un(c)))},o.Dl=function(e,t,i,r,c,s){return new tLn(e,t,i,on(un(r)),on(un(c)),s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),b(1369,h2,{},Svn),o.Cl=function(e,t,i,r,c){return new lQ(e,t,i,u(r,222).a,u(c,222).a)},o.Dl=function(e,t,i,r,c,s){return new WAn(e,t,i,u(r,222).a,u(c,222).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),b(1370,h2,{},Pvn),o.Cl=function(e,t,i,r,c){return new aQ(e,t,i,u(r,180).a,u(c,180).a)},o.Dl=function(e,t,i,r,c,s){return new JAn(e,t,i,u(r,180).a,u(c,180).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),b(1371,h2,{},Ivn),o.Cl=function(e,t,i,r,c){return new IJ(e,t,i,$(B(r)),$(B(c)))},o.Dl=function(e,t,i,r,c,s){return new QAn(e,t,i,$(B(r)),$(B(c)),s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),b(1372,h2,{},Ovn),o.Cl=function(e,t,i,r,c){return new wQ(e,t,i,u(r,161).a,u(c,161).a)},o.Dl=function(e,t,i,r,c,s){return new YAn(e,t,i,u(r,161).a,u(c,161).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),b(1373,h2,{},Avn),o.Cl=function(e,t,i,r,c){return new OJ(e,t,i,u(r,17).a,u(c,17).a)},o.Dl=function(e,t,i,r,c,s){return new ZAn(e,t,i,u(r,17).a,u(c,17).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),b(1374,h2,{},Lvn),o.Cl=function(e,t,i,r,c){return new dQ(e,t,i,u(r,168).a,u(c,168).a)},o.Dl=function(e,t,i,r,c,s){return new nLn(e,t,i,u(r,168).a,u(c,168).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),b(1375,h2,{},Nvn),o.Cl=function(e,t,i,r,c){return new bQ(e,t,i,u(r,191).a,u(c,191).a)},o.Dl=function(e,t,i,r,c,s){return new eLn(e,t,i,u(r,191).a,u(c,191).a,s)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),b(1353,574,{},LOn),o.Bl=function(e){if(!this.a.fk(e))throw T(new tm(WP+wo(e)+JP+this.a+"'"))},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),b(1354,574,{},vIn),o.Bl=function(e){},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),b(785,574,{}),o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null},o.Ck=function(e,t,i,r){var c,s;e.vh()&&e.wh()?(c=!0,s=t.li(i),s==null?(c=!1,s=this.b):x(s)===x(rl)&&(s=null),r==null?this.c!=null?(t.mi(i,null),r=this.b):t.mi(i,rl):(this.Bl(r),t.mi(i,r)),rt(e,this.d.Dl(e,1,this.e,s,r,!c))):r==null?this.c!=null?t.mi(i,null):t.mi(i,rl):(this.Bl(r),t.mi(i,r))},o.Ek=function(e,t,i){var r,c;e.vh()&&e.wh()?(r=!0,c=t.li(i),c==null?(r=!1,c=this.b):x(c)===x(rl)&&(c=null),t.ni(i),rt(e,this.d.Dl(e,2,this.e,c,this.b,r))):t.ni(i)},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),b(1355,785,{},NOn),o.Bl=function(e){if(!this.a.fk(e))throw T(new tm(WP+wo(e)+JP+this.a+"'"))},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),b(1356,785,{},kIn),o.Bl=function(e){},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),b(410,512,{},uT),o.yk=function(e,t,i,r,c){var s,f,h,l,a;if(a=t.li(i),this.tk()&&x(a)===x(rl))return null;if(this.bl()&&r&&a!=null){if(h=u(a,54),h.Vh()&&(l=ta(e,h),h!=l)){if(!AR(this.a,l))throw T(new tm(WP+wo(l)+JP+this.a+"'"));t.mi(i,a=l),this.al()&&(s=u(l,54),f=h.Th(e,this.b?At(h.Dh(),this.b):-1-At(e.Dh(),this.e),null,null),!s.Ph()&&(f=s.Rh(e,this.b?At(s.Dh(),this.b):-1-At(e.Dh(),this.e),null,f)),f&&f.oj()),e.vh()&&e.wh()&&rt(e,new F6(e,9,this.e,h,l))}return a}else return a},o.zk=function(e,t,i,r,c){var s,f;return f=t.li(i),x(f)===x(rl)&&(f=null),t.mi(i,r),this.Mj()?x(f)!==x(r)&&f!=null&&(s=u(f,54),c=s.Th(e,At(s.Dh(),this.b),null,c)):this.al()&&f!=null&&(c=u(f,54).Th(e,-1-At(e.Dh(),this.e),null,c)),e.vh()&&e.wh()&&(!c&&(c=new K1(4)),c.nj(new F6(e,1,this.e,f,r))),c},o.Ak=function(e,t,i,r,c){var s;return s=t.li(i),x(s)===x(rl)&&(s=null),t.ni(i),e.vh()&&e.wh()&&(!c&&(c=new K1(4)),this.tk()?c.nj(new F6(e,2,this.e,s,null)):c.nj(new F6(e,1,this.e,s,null))),c},o.Bk=function(e,t,i){var r;return r=t.li(i),r!=null},o.Ck=function(e,t,i,r){var c,s,f,h,l;if(r!=null&&!AR(this.a,r))throw T(new tm(WP+(L(r,58)?_Z(u(r,58).Dh()):oQ(wo(r)))+JP+this.a+"'"));l=t.li(i),h=l!=null,this.tk()&&x(l)===x(rl)&&(l=null),f=null,this.Mj()?x(l)!==x(r)&&(l!=null&&(c=u(l,54),f=c.Th(e,At(c.Dh(),this.b),null,f)),r!=null&&(c=u(r,54),f=c.Rh(e,At(c.Dh(),this.b),null,f))):this.al()&&x(l)!==x(r)&&(l!=null&&(f=u(l,54).Th(e,-1-At(e.Dh(),this.e),null,f)),r!=null&&(f=u(r,54).Rh(e,-1-At(e.Dh(),this.e),null,f))),r==null&&this.tk()?t.mi(i,rl):t.mi(i,r),e.vh()&&e.wh()?(s=new TD(e,1,this.e,l,r,this.tk()&&!h),f?(f.nj(s),f.oj()):rt(e,s)):f&&f.oj()},o.Ek=function(e,t,i){var r,c,s,f,h;h=t.li(i),f=h!=null,this.tk()&&x(h)===x(rl)&&(h=null),s=null,h!=null&&(this.Mj()?(r=u(h,54),s=r.Th(e,At(r.Dh(),this.b),null,s)):this.al()&&(s=u(h,54).Th(e,-1-At(e.Dh(),this.e),null,s))),t.ni(i),e.vh()&&e.wh()?(c=new TD(e,this.tk()?2:1,this.e,h,null,f),s?(s.nj(c),s.oj()):rt(e,c)):s&&s.oj()},o.Mj=function(){return!1},o.al=function(){return!1},o.bl=function(){return!1},o.tk=function(){return!1},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),b(575,410,{},IN),o.al=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),b(1359,575,{},mSn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),b(787,575,{},ZX),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),b(1361,787,{},vSn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),b(650,575,{},HN),o.Mj=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),b(1360,650,{},jPn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),b(788,650,{},BV),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),b(1362,788,{},EPn),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),b(651,410,{},nV),o.bl=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),b(1363,651,{},kSn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),b(789,651,{},RV),o.Mj=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),b(1364,789,{},MPn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),b(1357,410,{},ySn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),b(786,410,{},KV),o.Mj=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),b(1358,786,{},TPn),o.tk=function(){return!0},w(qn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),b(790,576,VP,$W),o.yl=function(e){return new $W(this.a,this.c,e)},o.md=function(){return this.b},o.zl=function(e,t,i){return bme(this,e,this.b,i)},o.Al=function(e,t,i){return wme(this,e,this.b,i)},w(qn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),b(1365,1,CF,jyn),o.Fk=function(e){return this.a},o.Qj=function(){return L(this.a,97)?u(this.a,97).Qj():!this.a.dc()},o.Wb=function(e){this.a.$b(),this.a.Gc(u(e,15))},o.Gk=function(){L(this.a,97)?u(this.a,97).Gk():this.a.$b()},w(qn,"EStructuralFeatureImpl/SettingMany",1365),b(1366,576,VP,XLn),o.xl=function(e){return new LN((at(),x9),this.b.ri(this.a,e))},o.md=function(){return null},o.zl=function(e,t,i){return i},o.Al=function(e,t,i){return i},w(qn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),b(652,576,VP,LN),o.xl=function(e){return new LN(this.c,e)},o.md=function(){return this.a},o.zl=function(e,t,i){return i},o.Al=function(e,t,i){return i},w(qn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),b(403,505,Mh,V3),o.aj=function(e){return F(Ss,Rn,29,e,0,1)},o.Yi=function(){return!1},w(qn,"ESuperAdapter/1",403),b(456,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,456:1,119:1,120:1},UA),o.Lh=function(e,t,i){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new x6(this,jr,this)),this.a}return zo(this,e-se((An(),yw)),$n((r=u(Un(this,16),29),r||yw),e),t,i)},o.Uh=function(e,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(Ue,this,0,3)),cr(this.Ab,e,i);case 2:return!this.a&&(this.a=new x6(this,jr,this)),cr(this.a,e,i)}return c=u($n((r=u(Un(this,16),29),r||(An(),yw)),t),69),c.wk().Ak(this,iu(this),t-se((An(),yw)),e,i)},o.Wh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Uo(this,e-se((An(),yw)),$n((t=u(Un(this,16),29),t||yw),e))},o.bi=function(e,t){var i;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab),!this.Ab&&(this.Ab=new q(Ue,this,0,3)),Bt(this.Ab,u(t,16));return;case 1:zc(this,Ae(t));return;case 2:!this.a&&(this.a=new x6(this,jr,this)),me(this.a),!this.a&&(this.a=new x6(this,jr,this)),Bt(this.a,u(t,16));return}Jo(this,e-se((An(),yw)),$n((i=u(Un(this,16),29),i||yw),e),t)},o.ii=function(){return An(),yw},o.ki=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new q(Ue,this,0,3)),me(this.Ab);return;case 1:zc(this,null);return;case 2:!this.a&&(this.a=new x6(this,jr,this)),me(this.a);return}Wo(this,e-se((An(),yw)),$n((t=u(Un(this,16),29),t||yw),e))},w(qn,"ETypeParameterImpl",456),b(457,83,Qr,x6),o.Nj=function(e,t){return Iye(this,u(e,89),t)},o.Oj=function(e,t){return Oye(this,u(e,89),t)},w(qn,"ETypeParameterImpl/1",457),b(647,45,n2,aL),o.ec=function(){return new NE(this)},w(qn,"ETypeParameterImpl/2",647),b(570,Ff,Nu,NE),o.Fc=function(e){return XSn(this,u(e,89))},o.Gc=function(e){var t,i,r;for(r=!1,i=e.Kc();i.Ob();)t=u(i.Pb(),89),Ve(this.a,t,"")==null&&(r=!0);return r},o.$b=function(){Hu(this.a)},o.Hc=function(e){return Zc(this.a,e)},o.Kc=function(){var e;return e=new sd(new Ua(this.a).a),new DE(e)},o.Mc=function(e){return RNn(this,e)},o.gc=function(){return i6(this.a)},w(qn,"ETypeParameterImpl/2/1",570),b(571,1,Pi,DE),o.Nb=function(e){_i(this,e)},o.Pb=function(){return u(Ab(this.a).ld(),89)},o.Ob=function(){return this.a.b},o.Qb=function(){zDn(this.a)},w(qn,"ETypeParameterImpl/2/1/1",571),b(1329,45,n2,ajn),o._b=function(e){return Si(e)?SD(this,e):!!wr(this.f,e)},o.xc=function(e){var t,i;return t=Si(e)?Dc(this,e):Fr(wr(this.f,e)),L(t,851)?(i=u(t,851),t=i.Kk(),Ve(this,u(e,241),t),t):t??(e==null?(AL(),Zoe):null)},w(qn,"EValidatorRegistryImpl",1329),b(1349,720,{110:1,94:1,93:1,479:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},Dvn),o.ri=function(e,t){switch(e.hk()){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 t==null?null:Jr(t);case 25:return C4e(t);case 27:return Fme(t);case 28:return _me(t);case 29:return t==null?null:MCn(O9[0],u(t,206));case 41:return t==null?"":Xa(u(t,296));case 42:return Jr(t);case 50:return Ae(t);default:throw T(new Gn(nv+e.xe()+Yb))}},o.si=function(e){var t,i,r,c,s,f,h,l,a,d,g,p,m,k,j,P;switch(e.G==-1&&(e.G=(p=jo(e),p?f1(p.vi(),e):-1)),e.G){case 0:return i=new fL,i;case 1:return t=new nG,t;case 2:return r=new rG,r;case 4:return c=new $E,c;case 5:return s=new ljn,s;case 6:return f=new xyn,f;case 7:return h=new cG,h;case 10:return a=new ME,a;case 11:return d=new hL,d;case 12:return g=new _On,g;case 13:return m=new lL,m;case 14:return k=new iV,k;case 17:return j=new Mvn,j;case 18:return l=new Jd,l;case 19:return P=new UA,P;default:throw T(new Gn(hF+e.zb+Yb))}},o.ti=function(e,t){switch(e.hk()){case 20:return t==null?null:new Tz(t);case 21:return t==null?null:new q1(t);case 23:case 22:return t==null?null:B8e(t);case 26:case 24:return t==null?null:lk(So(t,-128,127)<<24>>24);case 25:return rTe(t);case 27:return C7e(t);case 28:return S7e(t);case 29:return Jye(t);case 32:case 31:return t==null?null:s0(t);case 38:case 37:return t==null?null:new HG(t);case 40:case 39:return t==null?null:Y(So(t,Wi,et));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:Tl(zS(t));case 49:case 48:return t==null?null:o4(So(t,QP,32767)<<16>>16);case 50:return t;default:throw T(new Gn(nv+e.xe()+Yb))}},w(qn,"EcoreFactoryImpl",1349),b(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},lOn),o.gb=!1,o.hb=!1;var Zdn,Yoe=!1;w(qn,"EcorePackageImpl",560),b(1234,1,{851:1},$vn),o.Kk=function(){return RCn(),nse},w(qn,"EcorePackageImpl/1",1234),b(1243,1,ze,xvn),o.fk=function(e){return L(e,155)},o.gk=function(e){return F(sE,Rn,155,e,0,1)},w(qn,"EcorePackageImpl/10",1243),b(1244,1,ze,Rvn),o.fk=function(e){return L(e,197)},o.gk=function(e){return F(wU,Rn,197,e,0,1)},w(qn,"EcorePackageImpl/11",1244),b(1245,1,ze,Kvn),o.fk=function(e){return L(e,58)},o.gk=function(e){return F(La,Rn,58,e,0,1)},w(qn,"EcorePackageImpl/12",1245),b(1246,1,ze,Bvn),o.fk=function(e){return L(e,411)},o.gk=function(e){return F(Ps,Hcn,62,e,0,1)},w(qn,"EcorePackageImpl/13",1246),b(1247,1,ze,Fvn),o.fk=function(e){return L(e,241)},o.gk=function(e){return F(Ef,Rn,241,e,0,1)},w(qn,"EcorePackageImpl/14",1247),b(1248,1,ze,_vn),o.fk=function(e){return L(e,518)},o.gk=function(e){return F(vw,Rn,2116,e,0,1)},w(qn,"EcorePackageImpl/15",1248),b(1249,1,ze,Hvn),o.fk=function(e){return L(e,102)},o.gk=function(e){return F(eg,f2,19,e,0,1)},w(qn,"EcorePackageImpl/16",1249),b(1250,1,ze,qvn),o.fk=function(e){return L(e,179)},o.gk=function(e){return F(ku,f2,179,e,0,1)},w(qn,"EcorePackageImpl/17",1250),b(1251,1,ze,Uvn),o.fk=function(e){return L(e,480)},o.gk=function(e){return F(Z0,Rn,480,e,0,1)},w(qn,"EcorePackageImpl/18",1251),b(1252,1,ze,Gvn),o.fk=function(e){return L(e,561)},o.gk=function(e){return F(pc,nJn,561,e,0,1)},w(qn,"EcorePackageImpl/19",1252),b(1235,1,ze,zvn),o.fk=function(e){return L(e,331)},o.gk=function(e){return F(ng,f2,35,e,0,1)},w(qn,"EcorePackageImpl/2",1235),b(1253,1,ze,Xvn),o.fk=function(e){return L(e,248)},o.gk=function(e){return F(jr,pJn,89,e,0,1)},w(qn,"EcorePackageImpl/20",1253),b(1254,1,ze,Vvn),o.fk=function(e){return L(e,456)},o.gk=function(e){return F(fu,Rn,850,e,0,1)},w(qn,"EcorePackageImpl/21",1254),b(1255,1,ze,Wvn),o.fk=function(e){return Dw(e)},o.gk=function(e){return F(zt,J,484,e,8,1)},w(qn,"EcorePackageImpl/22",1255),b(1256,1,ze,Jvn),o.fk=function(e){return L(e,195)},o.gk=function(e){return F(Ru,J,195,e,0,2)},w(qn,"EcorePackageImpl/23",1256),b(1257,1,ze,Qvn),o.fk=function(e){return L(e,222)},o.gk=function(e){return F(p3,J,222,e,0,1)},w(qn,"EcorePackageImpl/24",1257),b(1258,1,ze,Yvn),o.fk=function(e){return L(e,180)},o.gk=function(e){return F(T8,J,180,e,0,1)},w(qn,"EcorePackageImpl/25",1258),b(1259,1,ze,Zvn),o.fk=function(e){return L(e,206)},o.gk=function(e){return F(oI,J,206,e,0,1)},w(qn,"EcorePackageImpl/26",1259),b(1260,1,ze,n6n),o.fk=function(e){return!1},o.gk=function(e){return F(pbn,Rn,2215,e,0,1)},w(qn,"EcorePackageImpl/27",1260),b(1261,1,ze,e6n),o.fk=function(e){return $w(e)},o.gk=function(e){return F(si,J,345,e,7,1)},w(qn,"EcorePackageImpl/28",1261),b(1262,1,ze,t6n),o.fk=function(e){return L(e,61)},o.gk=function(e){return F(Ldn,k0,61,e,0,1)},w(qn,"EcorePackageImpl/29",1262),b(1236,1,ze,i6n),o.fk=function(e){return L(e,519)},o.gk=function(e){return F(Ue,{3:1,4:1,5:1,2033:1},598,e,0,1)},w(qn,"EcorePackageImpl/3",1236),b(1263,1,ze,r6n),o.fk=function(e){return L(e,582)},o.gk=function(e){return F($dn,Rn,2039,e,0,1)},w(qn,"EcorePackageImpl/30",1263),b(1264,1,ze,c6n),o.fk=function(e){return L(e,160)},o.gk=function(e){return F(rbn,k0,160,e,0,1)},w(qn,"EcorePackageImpl/31",1264),b(1265,1,ze,u6n),o.fk=function(e){return L(e,76)},o.gk=function(e){return F(MA,CJn,76,e,0,1)},w(qn,"EcorePackageImpl/32",1265),b(1266,1,ze,o6n),o.fk=function(e){return L(e,161)},o.gk=function(e){return F(ov,J,161,e,0,1)},w(qn,"EcorePackageImpl/33",1266),b(1267,1,ze,s6n),o.fk=function(e){return L(e,17)},o.gk=function(e){return F(Gi,J,17,e,0,1)},w(qn,"EcorePackageImpl/34",1267),b(1268,1,ze,f6n),o.fk=function(e){return L(e,296)},o.gk=function(e){return F(eun,Rn,296,e,0,1)},w(qn,"EcorePackageImpl/35",1268),b(1269,1,ze,h6n),o.fk=function(e){return L(e,168)},o.gk=function(e){return F(nw,J,168,e,0,1)},w(qn,"EcorePackageImpl/36",1269),b(1270,1,ze,l6n),o.fk=function(e){return L(e,85)},o.gk=function(e){return F(tun,Rn,85,e,0,1)},w(qn,"EcorePackageImpl/37",1270),b(1271,1,ze,a6n),o.fk=function(e){return L(e,599)},o.gk=function(e){return F(nbn,Rn,599,e,0,1)},w(qn,"EcorePackageImpl/38",1271),b(1272,1,ze,d6n),o.fk=function(e){return!1},o.gk=function(e){return F(mbn,Rn,2216,e,0,1)},w(qn,"EcorePackageImpl/39",1272),b(1237,1,ze,b6n),o.fk=function(e){return L(e,90)},o.gk=function(e){return F(Ss,Rn,29,e,0,1)},w(qn,"EcorePackageImpl/4",1237),b(1273,1,ze,w6n),o.fk=function(e){return L(e,191)},o.gk=function(e){return F(ew,J,191,e,0,1)},w(qn,"EcorePackageImpl/40",1273),b(1274,1,ze,g6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(qn,"EcorePackageImpl/41",1274),b(1275,1,ze,p6n),o.fk=function(e){return L(e,596)},o.gk=function(e){return F(Ddn,Rn,596,e,0,1)},w(qn,"EcorePackageImpl/42",1275),b(1276,1,ze,m6n),o.fk=function(e){return!1},o.gk=function(e){return F(vbn,J,2217,e,0,1)},w(qn,"EcorePackageImpl/43",1276),b(1277,1,ze,v6n),o.fk=function(e){return L(e,44)},o.gk=function(e){return F(Id,WS,44,e,0,1)},w(qn,"EcorePackageImpl/44",1277),b(1238,1,ze,k6n),o.fk=function(e){return L(e,142)},o.gk=function(e){return F(Mf,Rn,142,e,0,1)},w(qn,"EcorePackageImpl/5",1238),b(1239,1,ze,y6n),o.fk=function(e){return L(e,156)},o.gk=function(e){return F(yU,Rn,156,e,0,1)},w(qn,"EcorePackageImpl/6",1239),b(1240,1,ze,j6n),o.fk=function(e){return L(e,468)},o.gk=function(e){return F(EA,Rn,685,e,0,1)},w(qn,"EcorePackageImpl/7",1240),b(1241,1,ze,E6n),o.fk=function(e){return L(e,582)},o.gk=function(e){return F(Kl,Rn,694,e,0,1)},w(qn,"EcorePackageImpl/8",1241),b(1242,1,ze,M6n),o.fk=function(e){return L(e,479)},o.gk=function(e){return F(I9,Rn,479,e,0,1)},w(qn,"EcorePackageImpl/9",1242),b(1038,2080,ZWn,Njn),o.Mi=function(e,t){b5e(this,u(t,424))},o.Qi=function(e,t){S_n(this,e,u(t,424))},w(qn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),b(1039,152,Vy,eOn),o.jj=function(){return this.a.a},w(qn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),b(1067,1066,{},wCn),w("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var nbn=Dt(SJn,"Resource");b(799,1524,PJn),o.Hl=function(e){},o.Il=function(e){},o.El=function(){return!this.a&&(this.a=new iL(this)),this.a},o.Fl=function(e){var t,i,r,c,s;if(r=e.length,r>0)if(zn(0,e.length),e.charCodeAt(0)==47){for(s=new Gc(4),c=1,t=1;t<r;++t)zn(t,e.length),e.charCodeAt(t)==47&&(nn(s,c==t?"":(Ri(c,t,e.length),e.substr(c,t-c))),c=t+1);return nn(s,(zn(c,e.length+1),e.substr(c))),pke(this,s)}else zn(r-1,e.length),e.charCodeAt(r-1)==63&&(i=TV(e,wu(63),r-2),i>0&&(e=(Ri(0,i,e.length),e.substr(0,i))));return qEe(this,e)},o.Gl=function(){return this.c},o.Ib=function(){var e;return Xa(this.Rm)+"@"+(e=mt(this)>>>0,e.toString(16))+" uri='"+this.d+"'"},o.b=!1,w(SF,"ResourceImpl",799),b(1525,799,PJn,Eyn),w(SF,"BinaryResourceImpl",1525),b(1190,708,yF),o.bj=function(e){return L(e,58)?Dge(this,u(e,58)):L(e,599)?new ne(u(e,599).El()):x(e)===x(this.f)?u(e,16).Kc():(pm(),lE.a)},o.Ob=function(){return Dnn(this)},o.a=!1,w(Ct,"EcoreUtil/ContentTreeIterator",1190),b(1526,1190,yF,AIn),o.bj=function(e){return x(e)===x(this.f)?u(e,15).Kc():new PLn(u(e,58))},w(SF,"ResourceImpl/5",1526),b(658,2092,gJn,iL),o.Hc=function(e){return this.i<=4?v4(this,e):L(e,54)&&u(e,54).Jh()==this.a},o.Mi=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},o.Oi=function(e,t){e==0?this.a.b||(this.a.b=!0):t$(this,e,t)},o.Qi=function(e,t){},o.Ri=function(e,t,i){},o.Lj=function(){return 2},o.jj=function(){return this.a},o.Mj=function(){return!0},o.Nj=function(e,t){var i;return i=u(e,54),t=i.fi(this.a,t),t},o.Oj=function(e,t){var i;return i=u(e,54),i.fi(null,t)},o.Pj=function(){return!1},o.Si=function(){return!0},o.aj=function(e){return F(La,Rn,58,e,0,1)},o.Yi=function(){return!1},w(SF,"ResourceImpl/ContentsEList",658),b(970,2062,K4,Myn),o.fd=function(e){return this.a.Ki(e)},o.gc=function(){return this.a.gc()},w(Ct,"AbstractSequentialInternalEList/1",970);var ebn,tbn,zi,ibn;b(634,1,{},NPn);var TA,CA;w(Ct,"BasicExtendedMetaData",634),b(1181,1,{},$Tn),o.Jl=function(){return null},o.Kl=function(){return this.a==-2&&dfe(this,qye(this.d,this.b)),this.a},o.Ll=function(){return null},o.Ml=function(){return Ln(),Ln(),sr},o.xe=function(){return this.c==iv&&bfe(this,QKn(this.d,this.b)),this.c},o.Nl=function(){return 0},o.a=-2,o.c=iv,w(Ct,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),b(1182,1,{},rLn),o.Jl=function(){return this.a==(Dm(),TA)&&pfe(this,HSe(this.f,this.b)),this.a},o.Kl=function(){return 0},o.Ll=function(){return this.c==(Dm(),TA)&&wfe(this,qSe(this.f,this.b)),this.c},o.Ml=function(){return!this.d&&vfe(this,SIe(this.f,this.b)),this.d},o.xe=function(){return this.e==iv&&yfe(this,QKn(this.f,this.b)),this.e},o.Nl=function(){return this.g==-2&&Efe(this,sye(this.f,this.b)),this.g},o.e=iv,o.g=-2,w(Ct,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),b(1180,1,{},xTn),o.b=!1,o.c=!1,w(Ct,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),b(1183,1,{},cLn),o.c=-2,o.e=iv,o.f=iv,w(Ct,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),b(593,632,Qr,JM),o.Lj=function(){return this.c},o.ol=function(){return!1},o.Wi=function(e,t){return t},o.c=0,w(Ct,"EDataTypeEList",593);var rbn=Dt(Ct,"FeatureMap");b(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},Ft),o.bd=function(e,t){oCe(this,e,u(t,76))},o.Fc=function(e){return TTe(this,u(e,76))},o.Hi=function(e){A0e(this,u(e,76))},o.Nj=function(e,t){return Yae(this,u(e,76),t)},o.Oj=function(e,t){return SV(this,u(e,76),t)},o.Ti=function(e,t){return NPe(this,e,t)},o.Wi=function(e,t){return vAe(this,e,u(t,76))},o.hd=function(e,t){return VCe(this,e,u(t,76))},o.Uj=function(e,t){return Zae(this,u(e,76),t)},o.Vj=function(e,t){return sPn(this,u(e,76),t)},o.Wj=function(e,t,i){return Wke(this,u(e,76),u(t,76),i)},o.Zi=function(e,t){return Jx(this,e,u(t,76))},o.Ol=function(e,t){return Ten(this,e,t)},o.cd=function(e,t){var i,r,c,s,f,h,l,a,d;for(a=new Cb(t.gc()),c=t.Kc();c.Ob();)if(r=u(c.Pb(),76),s=r.Lk(),Pl(this.e,s))(!s.Si()||!_T(this,s,r.md())&&!v4(a,r))&&ve(a,r);else{for(d=ru(this.e.Dh(),s),i=u(this.g,124),f=!0,h=0;h<this.i;++h)if(l=i[h],d.am(l.Lk())){u(Bg(this,h,r),76),f=!1;break}f&&ve(a,r)}return VQ(this,e,a)},o.Gc=function(e){var t,i,r,c,s,f,h,l,a;for(l=new Cb(e.gc()),r=e.Kc();r.Ob();)if(i=u(r.Pb(),76),c=i.Lk(),Pl(this.e,c))(!c.Si()||!_T(this,c,i.md())&&!v4(l,i))&&ve(l,i);else{for(a=ru(this.e.Dh(),c),t=u(this.g,124),s=!0,f=0;f<this.i;++f)if(h=t[f],a.am(h.Lk())){u(Bg(this,f,i),76),s=!1;break}s&&ve(l,i)}return Bt(this,l)},o.Fi=function(e){return this.j=-1,LR(this,this.i,e)},o.Pl=function(e,t,i){return pen(this,e,t,i)},o.Xk=function(e,t){return hy(this,e,t)},o.Ql=function(e,t,i){return qen(this,e,t,i)},o.Rl=function(){return this},o.Sl=function(e,t){return by(this,e,t)},o.Tl=function(e){return u(N(this,e),76).Lk()},o.Ul=function(e){return u(N(this,e),76).md()},o.Vl=function(){return this.b},o.Mj=function(){return!0},o.Tj=function(){return!0},o.Wl=function(e){return!xk(this,e)},o.aj=function(e){return F(Qoe,CJn,343,e,0,1)},o.pl=function(e){return ON(this,e)},o.Wb=function(e){F7(this,e)},o.Xl=function(e,t){HS(this,e,t)},o.Yl=function(e){return uxn(this,e)},o.Zl=function(e){KBn(this,e)},w(Ct,"BasicFeatureMap",78),b(1960,1,Hh),o.Nb=function(e){_i(this,e)},o.Rb=function(e){if(this.g==-1)throw T(new Mu);lT(this);try{mqn(this.e,this.b,this.a,e),this.d=this.e.j,iS(this)}catch(t){throw t=Ot(t),L(t,77)?T(new Ko):T(t)}},o.Ob=function(){return W$(this)},o.Sb=function(){return LRn(this)},o.Pb=function(){return iS(this)},o.Tb=function(){return this.a},o.Ub=function(){var e;if(LRn(this))return lT(this),this.g=--this.a,this.ul()&&(e=A5(this.e,this.b,this.c,this.a,this.j),this.j=e),this.i=0,this.j;throw T(new nc)},o.Vb=function(){return this.a-1},o.Qb=function(){if(this.g==-1)throw T(new Mu);lT(this);try{h_n(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(e){throw e=Ot(e),L(e,77)?T(new Ko):T(e)}},o.ul=function(){return!1},o.Wb=function(e){if(this.g==-1)throw T(new Mu);lT(this);try{HUn(this.e,this.b,this.g,e),this.d=this.e.j}catch(t){throw t=Ot(t),L(t,77)?T(new Ko):T(t)}},o.a=0,o.c=0,o.d=0,o.f=!1,o.g=0,o.i=0,w(Ct,"FeatureMapUtil/BasicFeatureEIterator",1960),b(420,1960,Hh,Qm),o.$l=function(){var e,t,i;for(i=this.e.i,e=u(this.e.g,124);this.c<i;){if(t=e[this.c],this.k.am(t.Lk()))return this.j=this.f?t:t.md(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},o._l=function(){var e,t;for(e=u(this.e.g,124);--this.c>=0;)if(t=e[this.c],this.k.am(t.Lk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},w(Ct,"BasicFeatureMap/FeatureEIterator",420),b(676,420,Hh,dN),o.ul=function(){return!0},w(Ct,"BasicFeatureMap/ResolvingFeatureEIterator",676),b(968,495,zP,TCn),o.pj=function(){return this},w(Ct,"EContentsEList/1",968),b(969,495,zP,WTn),o.ul=function(){return!1},w(Ct,"EContentsEList/2",969),b(967,287,XP,CCn),o.wl=function(e){},o.Ob=function(){return!1},o.Sb=function(){return!1},w(Ct,"EContentsEList/FeatureIteratorImpl/1",967),b(840,593,Qr,DX),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,rt(this.e,new Bs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Ct,"EDataTypeEList/Unsettable",840),b(1958,593,Qr,NCn),o.Si=function(){return!0},w(Ct,"EDataTypeUniqueEList",1958),b(1959,840,Qr,DCn),o.Si=function(){return!0},w(Ct,"EDataTypeUniqueEList/Unsettable",1959),b(147,83,Qr,Cu),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectContainmentEList/Resolving",147),b(1184,555,Qr,$Cn),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectContainmentEList/Unsettable/Resolving",1184),b(766,14,Qr,kV),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,rt(this.e,new Bs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Ct,"EObjectContainmentWithInverseEList/Unsettable",766),b(1222,766,Qr,VSn),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),b(757,504,Qr,$X),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,rt(this.e,new Bs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Ct,"EObjectEList/Unsettable",757),b(338,504,Qr,Eg),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectResolvingEList",338),b(1844,757,Qr,xCn),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectResolvingEList/Unsettable",1844),b(1527,1,{},T6n);var Zoe;w(Ct,"EObjectValidator",1527),b(559,504,Qr,dT),o.il=function(){return this.d},o.jl=function(){return this.b},o.Mj=function(){return!0},o.ml=function(){return!0},o.b=0,w(Ct,"EObjectWithInverseEList",559),b(1225,559,Qr,WSn),o.ll=function(){return!0},w(Ct,"EObjectWithInverseEList/ManyInverse",1225),b(635,559,Qr,DN),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,rt(this.e,new Bs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Ct,"EObjectWithInverseEList/Unsettable",635),b(1224,635,Qr,JSn),o.ll=function(){return!0},w(Ct,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),b(767,559,Qr,yV),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectWithInverseResolvingEList",767),b(32,767,Qr,Dn),o.ll=function(){return!0},w(Ct,"EObjectWithInverseResolvingEList/ManyInverse",32),b(768,635,Qr,jV),o.nl=function(){return!0},o.Wi=function(e,t){return e3(this,e,u(t,58))},w(Ct,"EObjectWithInverseResolvingEList/Unsettable",768),b(1223,768,Qr,QSn),o.ll=function(){return!0},w(Ct,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),b(1185,632,Qr),o.Li=function(){return(this.b&1792)==0},o.Ni=function(){this.b|=1},o.kl=function(){return(this.b&4)!=0},o.Mj=function(){return(this.b&40)!=0},o.ll=function(){return(this.b&16)!=0},o.ml=function(){return(this.b&8)!=0},o.nl=function(){return(this.b&C0)!=0},o.al=function(){return(this.b&32)!=0},o.ol=function(){return(this.b&Gs)!=0},o.fk=function(e){return this.d?RLn(this.d,e):this.Lk().Hk().fk(e)},o.Qj=function(){return this.b&2?(this.b&1)!=0:this.i!=0},o.Si=function(){return(this.b&128)!=0},o.Gk=function(){var e;me(this),this.b&2&&(fo(this.e)?(e=(this.b&1)!=0,this.b&=-2,em(this,new Bs(this.e,2,At(this.e.Dh(),this.Lk()),e,!1))):this.b&=-2)},o.Yi=function(){return(this.b&1536)==0},o.b=0,w(Ct,"EcoreEList/Generic",1185),b(1186,1185,Qr,qOn),o.Lk=function(){return this.a},w(Ct,"EcoreEList/Dynamic",1186),b(765,66,Mh,xG),o.aj=function(e){return wk(this.a.a,e)},w(Ct,"EcoreEMap/1",765),b(764,83,Qr,kW),o.Mi=function(e,t){uS(this.b,u(t,136))},o.Oi=function(e,t){Fxn(this.b)},o.Pi=function(e,t,i){var r;++(r=this.b,u(t,136),r).e},o.Qi=function(e,t){cx(this.b,u(t,136))},o.Ri=function(e,t,i){cx(this.b,u(i,136)),x(i)===x(t)&&u(i,136).Ci(Jle(u(t,136).ld())),uS(this.b,u(t,136))},w(Ct,"EcoreEMap/DelegateEObjectContainmentEList",764),b(1220,141,_cn,ixn),w(Ct,"EcoreEMap/Unsettable",1220),b(1221,764,Qr,YSn),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;me(this),fo(this.e)?(e=this.a,this.a=!1,rt(this.e,new Bs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Ct,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),b(1189,215,n2,UIn),o.a=!1,o.b=!1,w(Ct,"EcoreUtil/Copier",1189),b(759,1,Pi,PLn),o.Nb=function(e){_i(this,e)},o.Ob=function(){return xKn(this)},o.Pb=function(){var e;return xKn(this),e=this.b,this.b=null,e},o.Qb=function(){this.a.Qb()},w(Ct,"EcoreUtil/ProperContentIterator",759),b(1528,1527,{},T8n);var nse;w(Ct,"EcoreValidator",1528);var ese;Dt(Ct,"FeatureMapUtil/Validator"),b(1295,1,{2041:1},C6n),o.am=function(e){return!0},w(Ct,"FeatureMapUtil/1",1295),b(773,1,{2041:1},etn),o.am=function(e){var t;return this.c==e?!0:(t=un(ee(this.a,e)),t==null?WSe(this,e)?(PNn(this.a,e,(_n(),uv)),!0):(PNn(this.a,e,(_n(),pa)),!1):t==(_n(),uv))},o.e=!1;var TU;w(Ct,"FeatureMapUtil/BasicValidator",773),b(774,45,n2,LX),w(Ct,"FeatureMapUtil/BasicValidator/Cache",774),b(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},k7),o.bd=function(e,t){mqn(this.c,this.b,e,t)},o.Fc=function(e){return Ten(this.c,this.b,e)},o.cd=function(e,t){return gOe(this.c,this.b,e,t)},o.Gc=function(e){return S6(this,e)},o.Gi=function(e,t){l4e(this.c,this.b,e,t)},o.Wk=function(e,t){return pen(this.c,this.b,e,t)},o.$i=function(e){return _S(this.c,this.b,e,!1)},o.Ii=function(){return oCn(this.c,this.b)},o.Ji=function(){return Rle(this.c,this.b)},o.Ki=function(e){return gme(this.c,this.b,e)},o.Xk=function(e,t){return ASn(this,e,t)},o.$b=function(){cp(this)},o.Hc=function(e){return _T(this.c,this.b,e)},o.Ic=function(e){return wve(this.c,this.b,e)},o.Xb=function(e){return _S(this.c,this.b,e,!0)},o.Fk=function(e){return this},o.dd=function(e){return E3e(this.c,this.b,e)},o.dc=function(){return TM(this)},o.Qj=function(){return!xk(this.c,this.b)},o.Kc=function(){return e4e(this.c,this.b)},o.ed=function(){return t4e(this.c,this.b)},o.fd=function(e){return N5e(this.c,this.b,e)},o.Ti=function(e,t){return NUn(this.c,this.b,e,t)},o.Ui=function(e,t){vme(this.c,this.b,e,t)},o.gd=function(e){return h_n(this.c,this.b,e)},o.Mc=function(e){return mPe(this.c,this.b,e)},o.hd=function(e,t){return HUn(this.c,this.b,e,t)},o.Wb=function(e){jS(this.c,this.b),S6(this,u(e,15))},o.gc=function(){return L5e(this.c,this.b)},o.Pc=function(){return Tpe(this.c,this.b)},o.Qc=function(e){return M3e(this.c,this.b,e)},o.Ib=function(){var e,t;for(t=new Hl,t.a+="[",e=oCn(this.c,this.b);W$(e);)Er(t,I6(iS(e))),W$(e)&&(t.a+=ur);return t.a+="]",t.a},o.Gk=function(){jS(this.c,this.b)},w(Ct,"FeatureMapUtil/FeatureEList",509),b(644,38,Vy,GD),o.hj=function(e){return g5(this,e)},o.mj=function(e){var t,i,r,c,s,f,h;switch(this.d){case 1:case 2:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0;break}case 3:{switch(c=e.gj(),c){case 3:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.d=5,t=new Cb(2),ve(t,this.g),ve(t,e.ij()),this.g=t,!0;break}}break}case 5:{switch(c=e.gj(),c){case 3:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return i=u(this.g,16),i.Fc(e.ij()),!0;break}}break}case 4:{switch(c=e.gj(),c){case 3:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.d=1,this.g=e.ij(),!0;break}case 4:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return this.d=6,h=new Cb(2),ve(h,this.n),ve(h,e.kj()),this.n=h,f=S(C(ye,1),_e,28,15,[this.o,e.lj()]),this.g=f,!0;break}}break}case 6:{switch(c=e.gj(),c){case 4:{if(s=e.jj(),x(s)===x(this.c)&&g5(this,null)==e.hj(null))return i=u(this.n,16),i.Fc(e.kj()),f=u(this.g,53),r=F(ye,_e,28,f.length+1,15,1),Oc(f,0,r,0,f.length),r[f.length]=e.lj(),this.g=r,!0;break}}break}}return!1},w(Ct,"FeatureMapUtil/FeatureENotificationImpl",644),b(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},nT),o.Ol=function(e,t){return Ten(this.c,e,t)},o.Pl=function(e,t,i){return pen(this.c,e,t,i)},o.Ql=function(e,t,i){return qen(this.c,e,t,i)},o.Rl=function(){return this},o.Sl=function(e,t){return by(this.c,e,t)},o.Tl=function(e){return u(_S(this.c,this.b,e,!1),76).Lk()},o.Ul=function(e){return u(_S(this.c,this.b,e,!1),76).md()},o.Vl=function(){return this.a},o.Wl=function(e){return!xk(this.c,e)},o.Xl=function(e,t){HS(this.c,e,t)},o.Yl=function(e){return uxn(this.c,e)},o.Zl=function(e){KBn(this.c,e)},w(Ct,"FeatureMapUtil/FeatureFeatureMap",564),b(1294,1,CF,DTn),o.Fk=function(e){return _S(this.b,this.a,-1,e)},o.Qj=function(){return!xk(this.b,this.a)},o.Wb=function(e){HS(this.b,this.a,e)},o.Gk=function(){jS(this.b,this.a)},w(Ct,"FeatureMapUtil/FeatureValue",1294);var B3,CU,SU,F3,tse,dE=Dt(eI,"AnyType");b(680,63,Il,kL),w(eI,"InvalidDatatypeValueException",680);var SA=Dt(eI,OJn),bE=Dt(eI,AJn),cbn=Dt(eI,LJn),ise,yc,ubn,zd,rse,cse,use,ose,sse,fse,hse,lse,ase,dse,bse,G2,wse,z2,D9,gse,jw,wE,gE,pse,$9,x9;b(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},ez),o.Lh=function(e,t,i){switch(e){case 0:return i?(!this.c&&(this.c=new Ft(this,0)),this.c):(!this.c&&(this.c=new Ft(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Ft(this,0)),u($c(this.c,(at(),zd)),160)):(!this.c&&(this.c=new Ft(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new Ft(this,2)),this.b):(!this.b&&(this.b=new Ft(this,2)),this.b.b)}return zo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e),t,i)},o.Uh=function(e,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new Ft(this,0)),hy(this.c,e,i);case 1:return(!this.c&&(this.c=new Ft(this,0)),u(u($c(this.c,(at(),zd)),160),71)).Xk(e,i);case 2:return!this.b&&(this.b=new Ft(this,2)),hy(this.b,e,i)}return r=u($n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),t),69),r.wk().Ak(this,rQ(this),t-se(this.ii()),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Ft(this,0)),u($c(this.c,(at(),zd)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return Uo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e))},o.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new Ft(this,0)),F7(this.c,t);return;case 1:(!this.c&&(this.c=new Ft(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new Ft(this,2)),F7(this.b,t);return}Jo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e),t)},o.ii=function(){return at(),ubn},o.ki=function(e){switch(e){case 0:!this.c&&(this.c=new Ft(this,0)),me(this.c);return;case 1:(!this.c&&(this.c=new Ft(this,0)),u($c(this.c,(at(),zd)),160)).$b();return;case 2:!this.b&&(this.b=new Ft(this,2)),me(this.b);return}Wo(this,e-se(this.ii()),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():this.ii(),e))},o.Ib=function(){var e;return this.j&4?Hs(this):(e=new ls(Hs(this)),e.a+=" (mixed: ",E6(e,this.c),e.a+=", anyAttribute: ",E6(e,this.b),e.a+=")",e.a)},w(oi,"AnyTypeImpl",844),b(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},R6n),o.Lh=function(e,t,i){switch(e){case 0:return this.a;case 1:return this.b}return zo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e),t,i)},o.Wh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return Uo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e))},o.bi=function(e,t){switch(e){case 0:Cfe(this,Ae(t));return;case 1:Pfe(this,Ae(t));return}Jo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e),t)},o.ii=function(){return at(),G2},o.ki=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}Wo(this,e-se((at(),G2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():G2,e))},o.Ib=function(){var e;return this.j&4?Hs(this):(e=new ls(Hs(this)),e.a+=" (data: ",Er(e,this.a),e.a+=", target: ",Er(e,this.b),e.a+=")",e.a)},o.a=null,o.b=null,w(oi,"ProcessingInstructionImpl",681),b(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},djn),o.Lh=function(e,t,i){switch(e){case 0:return i?(!this.c&&(this.c=new Ft(this,0)),this.c):(!this.c&&(this.c=new Ft(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Ft(this,0)),u($c(this.c,(at(),zd)),160)):(!this.c&&(this.c=new Ft(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Vl();case 2:return i?(!this.b&&(this.b=new Ft(this,2)),this.b):(!this.b&&(this.b=new Ft(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Ft(this,0)),Ae(by(this.c,(at(),D9),!0));case 4:return MV(this.a,(!this.c&&(this.c=new Ft(this,0)),Ae(by(this.c,(at(),D9),!0))));case 5:return this.a}return zo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e),t,i)},o.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Ft(this,0)),u($c(this.c,(at(),zd)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Ft(this,0)),Ae(by(this.c,(at(),D9),!0))!=null;case 4:return MV(this.a,(!this.c&&(this.c=new Ft(this,0)),Ae(by(this.c,(at(),D9),!0))))!=null;case 5:return!!this.a}return Uo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e))},o.bi=function(e,t){switch(e){case 0:!this.c&&(this.c=new Ft(this,0)),F7(this.c,t);return;case 1:(!this.c&&(this.c=new Ft(this,0)),u(u($c(this.c,(at(),zd)),160),220)).Wb(t);return;case 2:!this.b&&(this.b=new Ft(this,2)),F7(this.b,t);return;case 3:aJ(this,Ae(t));return;case 4:aJ(this,EV(this.a,t));return;case 5:Sfe(this,u(t,156));return}Jo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e),t)},o.ii=function(){return at(),z2},o.ki=function(e){switch(e){case 0:!this.c&&(this.c=new Ft(this,0)),me(this.c);return;case 1:(!this.c&&(this.c=new Ft(this,0)),u($c(this.c,(at(),zd)),160)).$b();return;case 2:!this.b&&(this.b=new Ft(this,2)),me(this.b);return;case 3:!this.c&&(this.c=new Ft(this,0)),HS(this.c,(at(),D9),null);return;case 4:aJ(this,EV(this.a,null));return;case 5:this.a=null;return}Wo(this,e-se((at(),z2)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():z2,e))},w(oi,"SimpleAnyTypeImpl",682),b(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},bjn),o.Lh=function(e,t,i){switch(e){case 0:return i?(!this.a&&(this.a=new Ft(this,0)),this.a):(!this.a&&(this.a=new Ft(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new Ou((An(),ar),pc,this,1)),this.b):(!this.b&&(this.b=new Ou((An(),ar),pc,this,1)),ik(this.b));case 2:return i?(!this.c&&(this.c=new Ou((An(),ar),pc,this,2)),this.c):(!this.c&&(this.c=new Ou((An(),ar),pc,this,2)),ik(this.c));case 3:return!this.a&&(this.a=new Ft(this,0)),$c(this.a,(at(),wE));case 4:return!this.a&&(this.a=new Ft(this,0)),$c(this.a,(at(),gE));case 5:return!this.a&&(this.a=new Ft(this,0)),$c(this.a,(at(),$9));case 6:return!this.a&&(this.a=new Ft(this,0)),$c(this.a,(at(),x9))}return zo(this,e-se((at(),jw)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jw,e),t,i)},o.Uh=function(e,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new Ft(this,0)),hy(this.a,e,i);case 1:return!this.b&&(this.b=new Ou((An(),ar),pc,this,1)),qM(this.b,e,i);case 2:return!this.c&&(this.c=new Ou((An(),ar),pc,this,2)),qM(this.c,e,i);case 5:return!this.a&&(this.a=new Ft(this,0)),ASn($c(this.a,(at(),$9)),e,i)}return r=u($n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():(at(),jw),t),69),r.wk().Ak(this,rQ(this),t-se((at(),jw)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Ft(this,0)),!TM($c(this.a,(at(),wE)));case 4:return!this.a&&(this.a=new Ft(this,0)),!TM($c(this.a,(at(),gE)));case 5:return!this.a&&(this.a=new Ft(this,0)),!TM($c(this.a,(at(),$9)));case 6:return!this.a&&(this.a=new Ft(this,0)),!TM($c(this.a,(at(),x9)))}return Uo(this,e-se((at(),jw)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jw,e))},o.bi=function(e,t){switch(e){case 0:!this.a&&(this.a=new Ft(this,0)),F7(this.a,t);return;case 1:!this.b&&(this.b=new Ou((An(),ar),pc,this,1)),CC(this.b,t);return;case 2:!this.c&&(this.c=new Ou((An(),ar),pc,this,2)),CC(this.c,t);return;case 3:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),wE))),!this.a&&(this.a=new Ft(this,0)),S6($c(this.a,wE),u(t,16));return;case 4:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),gE))),!this.a&&(this.a=new Ft(this,0)),S6($c(this.a,gE),u(t,16));return;case 5:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),$9))),!this.a&&(this.a=new Ft(this,0)),S6($c(this.a,$9),u(t,16));return;case 6:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),x9))),!this.a&&(this.a=new Ft(this,0)),S6($c(this.a,x9),u(t,16));return}Jo(this,e-se((at(),jw)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jw,e),t)},o.ii=function(){return at(),jw},o.ki=function(e){switch(e){case 0:!this.a&&(this.a=new Ft(this,0)),me(this.a);return;case 1:!this.b&&(this.b=new Ou((An(),ar),pc,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Ou((An(),ar),pc,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),wE)));return;case 4:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),gE)));return;case 5:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),$9)));return;case 6:!this.a&&(this.a=new Ft(this,0)),cp($c(this.a,(at(),x9)));return}Wo(this,e-se((at(),jw)),$n(this.j&2?(!this.k&&(this.k=new uf),this.k).Nk():jw,e))},o.Ib=function(){var e;return this.j&4?Hs(this):(e=new ls(Hs(this)),e.a+=" (mixed: ",E6(e,this.a),e.a+=")",e.a)},w(oi,"XMLTypeDocumentRootImpl",683),b(2028,720,{110:1,94:1,93:1,479:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},S6n),o.ri=function(e,t){switch(e.hk()){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 t==null?null:Jr(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Ae(t);case 6:return fae(u(t,195));case 12:case 47:case 49:case 11:return IGn(this,e,t);case 13:return t==null?null:kOe(u(t,247));case 15:case 14:return t==null?null:T0e($(B(t)));case 17:return TFn((at(),t));case 18:return TFn(t);case 21:case 20:return t==null?null:C0e(u(t,161).a);case 27:return hae(u(t,195));case 30:return BBn((at(),u(t,15)));case 31:return BBn(u(t,15));case 40:return aae((at(),t));case 42:return CFn((at(),t));case 43:return CFn(t);case 59:case 48:return lae((at(),t));default:throw T(new Gn(nv+e.xe()+Yb))}},o.si=function(e){var t,i,r,c,s;switch(e.G==-1&&(e.G=(i=jo(e),i?f1(i.vi(),e):-1)),e.G){case 0:return t=new ez,t;case 1:return r=new R6n,r;case 2:return c=new djn,c;case 3:return s=new bjn,s;default:throw T(new Gn(hF+e.zb+Yb))}},o.ti=function(e,t){var i,r,c,s,f,h,l,a,d,g,p,m,k,j,P,O;switch(e.hk()){case 5:case 52:case 4:return t;case 6:return m9e(t);case 8:case 7:return t==null?null:rye(t);case 9:return t==null?null:lk(So((r=Rc(t,!0),r.length>0&&(zn(0,r.length),r.charCodeAt(0)==43)?(zn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:lk(So((c=Rc(t,!0),c.length>0&&(zn(0,c.length),c.charCodeAt(0)==43)?(zn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Ae(Ub(this,(at(),use),t));case 12:return Ae(Ub(this,(at(),ose),t));case 13:return t==null?null:new Tz(Rc(t,!0));case 15:case 14:return STe(t);case 16:return Ae(Ub(this,(at(),sse),t));case 17:return _Kn((at(),t));case 18:return _Kn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Rc(t,!0);case 21:case 20:return RTe(t);case 22:return Ae(Ub(this,(at(),fse),t));case 23:return Ae(Ub(this,(at(),hse),t));case 24:return Ae(Ub(this,(at(),lse),t));case 25:return Ae(Ub(this,(at(),ase),t));case 26:return Ae(Ub(this,(at(),dse),t));case 27:return u9e(t);case 30:return HKn((at(),t));case 31:return HKn(t);case 32:return t==null?null:Y(So((d=Rc(t,!0),d.length>0&&(zn(0,d.length),d.charCodeAt(0)==43)?(zn(1,d.length+1),d.substr(1)):d),Wi,et));case 33:return t==null?null:new q1((g=Rc(t,!0),g.length>0&&(zn(0,g.length),g.charCodeAt(0)==43)?(zn(1,g.length+1),g.substr(1)):g));case 34:return t==null?null:Y(So((p=Rc(t,!0),p.length>0&&(zn(0,p.length),p.charCodeAt(0)==43)?(zn(1,p.length+1),p.substr(1)):p),Wi,et));case 36:return t==null?null:Tl(zS((m=Rc(t,!0),m.length>0&&(zn(0,m.length),m.charCodeAt(0)==43)?(zn(1,m.length+1),m.substr(1)):m)));case 37:return t==null?null:Tl(zS((k=Rc(t,!0),k.length>0&&(zn(0,k.length),k.charCodeAt(0)==43)?(zn(1,k.length+1),k.substr(1)):k)));case 40:return i7e((at(),t));case 42:return qKn((at(),t));case 43:return qKn(t);case 44:return t==null?null:new q1((j=Rc(t,!0),j.length>0&&(zn(0,j.length),j.charCodeAt(0)==43)?(zn(1,j.length+1),j.substr(1)):j));case 45:return t==null?null:new q1((P=Rc(t,!0),P.length>0&&(zn(0,P.length),P.charCodeAt(0)==43)?(zn(1,P.length+1),P.substr(1)):P));case 46:return Rc(t,!1);case 47:return Ae(Ub(this,(at(),bse),t));case 59:case 48:return t7e((at(),t));case 49:return Ae(Ub(this,(at(),wse),t));case 50:return t==null?null:o4(So((O=Rc(t,!0),O.length>0&&(zn(0,O.length),O.charCodeAt(0)==43)?(zn(1,O.length+1),O.substr(1)):O),QP,32767)<<16>>16);case 51:return t==null?null:o4(So((s=Rc(t,!0),s.length>0&&(zn(0,s.length),s.charCodeAt(0)==43)?(zn(1,s.length+1),s.substr(1)):s),QP,32767)<<16>>16);case 53:return Ae(Ub(this,(at(),gse),t));case 55:return t==null?null:o4(So((f=Rc(t,!0),f.length>0&&(zn(0,f.length),f.charCodeAt(0)==43)?(zn(1,f.length+1),f.substr(1)):f),QP,32767)<<16>>16);case 56:return t==null?null:o4(So((h=Rc(t,!0),h.length>0&&(zn(0,h.length),h.charCodeAt(0)==43)?(zn(1,h.length+1),h.substr(1)):h),QP,32767)<<16>>16);case 57:return t==null?null:Tl(zS((l=Rc(t,!0),l.length>0&&(zn(0,l.length),l.charCodeAt(0)==43)?(zn(1,l.length+1),l.substr(1)):l)));case 58:return t==null?null:Tl(zS((a=Rc(t,!0),a.length>0&&(zn(0,a.length),a.charCodeAt(0)==43)?(zn(1,a.length+1),a.substr(1)):a)));case 60:return t==null?null:Y(So((i=Rc(t,!0),i.length>0&&(zn(0,i.length),i.charCodeAt(0)==43)?(zn(1,i.length+1),i.substr(1)):i),Wi,et));case 61:return t==null?null:Y(So(Rc(t,!0),Wi,et));default:throw T(new Gn(nv+e.xe()+Yb))}};var mse,obn,vse,sbn;w(oi,"XMLTypeFactoryImpl",2028),b(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},aOn),o.N=!1,o.O=!1;var kse=!1;w(oi,"XMLTypePackageImpl",594),b(1961,1,{851:1},P6n),o.Kk=function(){return Den(),Ise},w(oi,"XMLTypePackageImpl/1",1961),b(1970,1,ze,I6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/10",1970),b(1971,1,ze,O6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/11",1971),b(1972,1,ze,A6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/12",1972),b(1973,1,ze,L6n),o.fk=function(e){return $w(e)},o.gk=function(e){return F(si,J,345,e,7,1)},w(oi,"XMLTypePackageImpl/13",1973),b(1974,1,ze,N6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/14",1974),b(1975,1,ze,D6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return F(rs,k0,15,e,0,1)},w(oi,"XMLTypePackageImpl/15",1975),b(1976,1,ze,$6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return F(rs,k0,15,e,0,1)},w(oi,"XMLTypePackageImpl/16",1976),b(1977,1,ze,x6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/17",1977),b(1978,1,ze,K6n),o.fk=function(e){return L(e,161)},o.gk=function(e){return F(ov,J,161,e,0,1)},w(oi,"XMLTypePackageImpl/18",1978),b(1979,1,ze,B6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/19",1979),b(1962,1,ze,F6n),o.fk=function(e){return L(e,857)},o.gk=function(e){return F(dE,Rn,857,e,0,1)},w(oi,"XMLTypePackageImpl/2",1962),b(1980,1,ze,_6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/20",1980),b(1981,1,ze,H6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/21",1981),b(1982,1,ze,q6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/22",1982),b(1983,1,ze,U6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/23",1983),b(1984,1,ze,G6n),o.fk=function(e){return L(e,195)},o.gk=function(e){return F(Ru,J,195,e,0,2)},w(oi,"XMLTypePackageImpl/24",1984),b(1985,1,ze,z6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/25",1985),b(1986,1,ze,X6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/26",1986),b(1987,1,ze,V6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return F(rs,k0,15,e,0,1)},w(oi,"XMLTypePackageImpl/27",1987),b(1988,1,ze,W6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return F(rs,k0,15,e,0,1)},w(oi,"XMLTypePackageImpl/28",1988),b(1989,1,ze,J6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/29",1989),b(1963,1,ze,Q6n),o.fk=function(e){return L(e,681)},o.gk=function(e){return F(SA,Rn,2119,e,0,1)},w(oi,"XMLTypePackageImpl/3",1963),b(1990,1,ze,Y6n),o.fk=function(e){return L(e,17)},o.gk=function(e){return F(Gi,J,17,e,0,1)},w(oi,"XMLTypePackageImpl/30",1990),b(1991,1,ze,Z6n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/31",1991),b(1992,1,ze,n5n),o.fk=function(e){return L(e,168)},o.gk=function(e){return F(nw,J,168,e,0,1)},w(oi,"XMLTypePackageImpl/32",1992),b(1993,1,ze,e5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/33",1993),b(1994,1,ze,t5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/34",1994),b(1995,1,ze,i5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/35",1995),b(1996,1,ze,r5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/36",1996),b(1997,1,ze,c5n),o.fk=function(e){return L(e,15)},o.gk=function(e){return F(rs,k0,15,e,0,1)},w(oi,"XMLTypePackageImpl/37",1997),b(1998,1,ze,u5n),o.fk=function(e){return L(e,15)},o.gk=function(e){return F(rs,k0,15,e,0,1)},w(oi,"XMLTypePackageImpl/38",1998),b(1999,1,ze,o5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/39",1999),b(1964,1,ze,s5n),o.fk=function(e){return L(e,682)},o.gk=function(e){return F(bE,Rn,2120,e,0,1)},w(oi,"XMLTypePackageImpl/4",1964),b(2e3,1,ze,f5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/40",2e3),b(2001,1,ze,h5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/41",2001),b(2002,1,ze,l5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/42",2002),b(2003,1,ze,a5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/43",2003),b(2004,1,ze,d5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/44",2004),b(2005,1,ze,b5n),o.fk=function(e){return L(e,191)},o.gk=function(e){return F(ew,J,191,e,0,1)},w(oi,"XMLTypePackageImpl/45",2005),b(2006,1,ze,w5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/46",2006),b(2007,1,ze,g5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/47",2007),b(2008,1,ze,p5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/48",2008),b(2009,1,ze,m5n),o.fk=function(e){return L(e,191)},o.gk=function(e){return F(ew,J,191,e,0,1)},w(oi,"XMLTypePackageImpl/49",2009),b(1965,1,ze,v5n),o.fk=function(e){return L(e,683)},o.gk=function(e){return F(cbn,Rn,2121,e,0,1)},w(oi,"XMLTypePackageImpl/5",1965),b(2010,1,ze,k5n),o.fk=function(e){return L(e,168)},o.gk=function(e){return F(nw,J,168,e,0,1)},w(oi,"XMLTypePackageImpl/50",2010),b(2011,1,ze,y5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/51",2011),b(2012,1,ze,j5n),o.fk=function(e){return L(e,17)},o.gk=function(e){return F(Gi,J,17,e,0,1)},w(oi,"XMLTypePackageImpl/52",2012),b(1966,1,ze,E5n),o.fk=function(e){return Si(e)},o.gk=function(e){return F(fn,J,2,e,6,1)},w(oi,"XMLTypePackageImpl/6",1966),b(1967,1,ze,M5n),o.fk=function(e){return L(e,195)},o.gk=function(e){return F(Ru,J,195,e,0,2)},w(oi,"XMLTypePackageImpl/7",1967),b(1968,1,ze,T5n),o.fk=function(e){return Dw(e)},o.gk=function(e){return F(zt,J,484,e,8,1)},w(oi,"XMLTypePackageImpl/8",1968),b(1969,1,ze,C5n),o.fk=function(e){return L(e,222)},o.gk=function(e){return F(p3,J,222,e,0,1)},w(oi,"XMLTypePackageImpl/9",1969);var nh,A1,R9,PA,I;b(55,63,Il,Ne),w(p1,"RegEx/ParseException",55),b(836,1,{},tG),o.bm=function(e){return e<this.j&&Xi(this.i,e)==63},o.cm=function(){var e,t,i,r,c;if(this.c!=10)throw T(new Ne($e((Oe(),qP))));switch(e=this.a,e){case 101:e=27;break;case 102:e=12;break;case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 120:if(Ze(this),this.c!=0)throw T(new Ne($e((Oe(),g1))));if(this.a==123){c=0,i=0;do{if(Ze(this),this.c!=0)throw T(new Ne($e((Oe(),g1))));if((c=bd(this.a))<0)break;if(i>i*16)throw T(new Ne($e((Oe(),qWn))));i=i*16+c}while(!0);if(this.a!=125)throw T(new Ne($e((Oe(),UWn))));if(i>rv)throw T(new Ne($e((Oe(),GWn))));e=i}else{if(c=0,this.c!=0||(c=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(i=c,Ze(this),this.c!=0||(c=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));i=i*16+c,e=i}break;case 117:if(r=0,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));t=t*16+r,e=t;break;case 118:if(Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=t*16+r,Ze(this),this.c!=0||(r=bd(this.a))<0)throw T(new Ne($e((Oe(),g1))));if(t=t*16+r,t>rv)throw T(new Ne($e((Oe(),"parser.descappe.4"))));e=t;break;case 65:case 90:case 122:throw T(new Ne($e((Oe(),zWn))))}return e},o.dm=function(e){var t,i;switch(e){case 100:i=(this.e&32)==32?fa("Nd",!0):(nt(),IA);break;case 68:i=(this.e&32)==32?fa("Nd",!1):(nt(),bbn);break;case 119:i=(this.e&32)==32?fa("IsWord",!0):(nt(),Uv);break;case 87:i=(this.e&32)==32?fa("IsWord",!1):(nt(),gbn);break;case 115:i=(this.e&32)==32?fa("IsSpace",!0):(nt(),_3);break;case 83:i=(this.e&32)==32?fa("IsSpace",!1):(nt(),wbn);break;default:throw T(new ec((t=e,zJn+t.toString(16))))}return i},o.em=function(e){var t,i,r,c,s,f,h,l,a,d,g,p;for(this.b=1,Ze(this),t=null,this.c==0&&this.a==94?(Ze(this),e?d=(nt(),nt(),new yo(5)):(t=(nt(),nt(),new yo(4)),xc(t,0,rv),d=new yo(4))):d=(nt(),nt(),new yo(4)),c=!0;(p=this.c)!=1&&!(p==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,p==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:g0(d,this.dm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.um(d,i),i<0&&(r=!0);break;case 112:case 80:if(g=Lnn(this,i),!g)throw T(new Ne($e((Oe(),EF))));g0(d,g),r=!0;break;default:i=this.cm()}else if(p==20){if(f=bm(this.i,58,this.d),f<0)throw T(new Ne($e((Oe(),$cn))));if(h=!0,Xi(this.i,this.d)==94&&(++this.d,h=!1),s=qo(this.i,this.d,f),l=pDn(s,h,(this.e&512)==512),!l)throw T(new Ne($e((Oe(),KWn))));if(g0(d,l),r=!0,f+1>=this.j||Xi(this.i,f+1)!=93)throw T(new Ne($e((Oe(),$cn))));this.d=f+2}if(Ze(this),!r)if(this.c!=0||this.a!=45)xc(d,i,i);else{if(Ze(this),(p=this.c)==1)throw T(new Ne($e((Oe(),UP))));p==0&&this.a==93?(xc(d,i,i),xc(d,45,45)):(a=this.a,p==10&&(a=this.cm()),Ze(this),xc(d,i,a))}(this.e&Gs)==Gs&&this.c==0&&this.a==44&&Ze(this)}if(this.c==1)throw T(new Ne($e((Oe(),UP))));return t&&(z5(t,d),d=t),Gg(d),U5(d),this.b=0,Ze(this),d},o.fm=function(){var e,t,i,r;for(i=this.em(!1);(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(Ze(this),this.c!=9)throw T(new Ne($e((Oe(),FWn))));if(t=this.em(!1),r==4)g0(i,t);else if(e==45)z5(i,t);else if(e==38)TGn(i,t);else throw T(new ec("ASSERT"))}else throw T(new Ne($e((Oe(),_Wn))));return Ze(this),i},o.gm=function(){var e,t;return e=this.a-48,t=(nt(),nt(),new OD(12,null,e)),!this.g&&(this.g=new RE),xE(this.g,new RG(e)),Ze(this),t},o.hm=function(){return Ze(this),nt(),Ese},o.im=function(){return Ze(this),nt(),jse},o.jm=function(){throw T(new Ne($e((Oe(),is))))},o.km=function(){throw T(new Ne($e((Oe(),is))))},o.lm=function(){return Ze(this),y6e()},o.mm=function(){return Ze(this),nt(),Tse},o.nm=function(){return Ze(this),nt(),Sse},o.om=function(){var e;if(this.d>=this.j||((e=Xi(this.i,this.d++))&65504)!=64)throw T(new Ne($e((Oe(),$Wn))));return Ze(this),nt(),nt(),new Dh(0,e-64)},o.pm=function(){return Ze(this),MIe()},o.qm=function(){return Ze(this),nt(),Pse},o.rm=function(){var e;return e=(nt(),nt(),new Dh(0,105)),Ze(this),e},o.sm=function(){return Ze(this),nt(),Cse},o.tm=function(){return Ze(this),nt(),Mse},o.um=function(e,t){return this.cm()},o.vm=function(){return Ze(this),nt(),abn},o.wm=function(){var e,t,i,r,c;if(this.d+1>=this.j)throw T(new Ne($e((Oe(),LWn))));if(r=-1,t=null,e=Xi(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new RE),xE(this.g,new RG(r)),++this.d,Xi(this.i,this.d)!=41)throw T(new Ne($e((Oe(),Sd))));++this.d}else switch(e==63&&--this.d,Ze(this),t=ctn(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw T(new Ne($e((Oe(),Sd))));break;default:throw T(new Ne($e((Oe(),NWn))))}if(Ze(this),c=xb(this),i=null,c.e==2){if(c.Pm()!=2)throw T(new Ne($e((Oe(),DWn))));i=c.Lm(1),c=c.Lm(0)}if(this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),nt(),nt(),new YDn(r,t,c,i)},o.xm=function(){return Ze(this),nt(),dbn},o.ym=function(){var e;if(Ze(this),e=bT(24,xb(this)),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),e},o.zm=function(){var e;if(Ze(this),e=bT(20,xb(this)),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),e},o.Am=function(){var e;if(Ze(this),e=bT(22,xb(this)),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),e},o.Bm=function(){var e,t,i,r,c;for(e=0,i=0,t=-1;this.d<this.j&&(t=Xi(this.i,this.d),c=Knn(t),c!=0);)e|=c,++this.d;if(this.d>=this.j)throw T(new Ne($e((Oe(),Ncn))));if(t==45){for(++this.d;this.d<this.j&&(t=Xi(this.i,this.d),c=Knn(t),c!=0);)i|=c,++this.d;if(this.d>=this.j)throw T(new Ne($e((Oe(),Ncn))))}if(t==58){if(++this.d,Ze(this),r=XIn(xb(this),e,i),this.c!=7)throw T(new Ne($e((Oe(),Sd))));Ze(this)}else if(t==41)++this.d,Ze(this),r=XIn(xb(this),e,i);else throw T(new Ne($e((Oe(),AWn))));return r},o.Cm=function(){var e;if(Ze(this),e=bT(21,xb(this)),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),e},o.Dm=function(){var e;if(Ze(this),e=bT(23,xb(this)),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),e},o.Em=function(){var e,t;if(Ze(this),e=this.f++,t=rD(xb(this),e),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),t},o.Fm=function(){var e;if(Ze(this),e=rD(xb(this),0),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),e},o.Gm=function(e){return Ze(this),this.c==5?(Ze(this),cT(e,(nt(),nt(),new Xw(9,e)))):cT(e,(nt(),nt(),new Xw(3,e)))},o.Hm=function(e){var t;return Ze(this),t=(nt(),nt(),new C6(2)),this.c==5?(Ze(this),pd(t,B9),pd(t,e)):(pd(t,e),pd(t,B9)),t},o.Im=function(e){return Ze(this),this.c==5?(Ze(this),nt(),nt(),new Xw(9,e)):(nt(),nt(),new Xw(3,e))},o.a=0,o.b=0,o.c=0,o.d=0,o.e=0,o.f=1,o.g=null,o.j=0,w(p1,"RegEx/RegexParser",836),b(1947,836,{},wjn),o.bm=function(e){return!1},o.cm=function(){return den(this)},o.dm=function(e){return I4(e)},o.em=function(e){return kzn(this)},o.fm=function(){throw T(new Ne($e((Oe(),is))))},o.gm=function(){throw T(new Ne($e((Oe(),is))))},o.hm=function(){throw T(new Ne($e((Oe(),is))))},o.im=function(){throw T(new Ne($e((Oe(),is))))},o.jm=function(){return Ze(this),I4(67)},o.km=function(){return Ze(this),I4(73)},o.lm=function(){throw T(new Ne($e((Oe(),is))))},o.mm=function(){throw T(new Ne($e((Oe(),is))))},o.nm=function(){throw T(new Ne($e((Oe(),is))))},o.om=function(){return Ze(this),I4(99)},o.pm=function(){throw T(new Ne($e((Oe(),is))))},o.qm=function(){throw T(new Ne($e((Oe(),is))))},o.rm=function(){return Ze(this),I4(105)},o.sm=function(){throw T(new Ne($e((Oe(),is))))},o.tm=function(){throw T(new Ne($e((Oe(),is))))},o.um=function(e,t){return g0(e,I4(t)),-1},o.vm=function(){return Ze(this),nt(),nt(),new Dh(0,94)},o.wm=function(){throw T(new Ne($e((Oe(),is))))},o.xm=function(){return Ze(this),nt(),nt(),new Dh(0,36)},o.ym=function(){throw T(new Ne($e((Oe(),is))))},o.zm=function(){throw T(new Ne($e((Oe(),is))))},o.Am=function(){throw T(new Ne($e((Oe(),is))))},o.Bm=function(){throw T(new Ne($e((Oe(),is))))},o.Cm=function(){throw T(new Ne($e((Oe(),is))))},o.Dm=function(){throw T(new Ne($e((Oe(),is))))},o.Em=function(){var e;if(Ze(this),e=rD(xb(this),0),this.c!=7)throw T(new Ne($e((Oe(),Sd))));return Ze(this),e},o.Fm=function(){throw T(new Ne($e((Oe(),is))))},o.Gm=function(e){return Ze(this),cT(e,(nt(),nt(),new Xw(3,e)))},o.Hm=function(e){var t;return Ze(this),t=(nt(),nt(),new C6(2)),pd(t,e),pd(t,B9),t},o.Im=function(e){return Ze(this),nt(),nt(),new Xw(3,e)};var X2=null,Hv=null;w(p1,"RegEx/ParserForXMLSchema",1947),b(122,1,cv,Wd),o.Jm=function(e){throw T(new ec("Not supported."))},o.Km=function(){return-1},o.Lm=function(e){return null},o.Mm=function(){return null},o.Nm=function(e){},o.Om=function(e){},o.Pm=function(){return 0},o.Ib=function(){return this.Qm(0)},o.Qm=function(e){return this.e==11?".":""},o.e=0;var fbn,qv,K9,yse,hbn,rg=null,IA,PU=null,lbn,B9,IU=null,abn,dbn,bbn,wbn,gbn,jse,_3,Ese,Mse,Tse,Cse,Uv,Sse,Pse,DDe=w(p1,"RegEx/Token",122);b(138,122,{3:1,138:1,122:1},yo),o.Qm=function(e){var t,i,r;if(this.e==4)if(this==lbn)i=".";else if(this==IA)i="\\d";else if(this==Uv)i="\\w";else if(this==_3)i="\\s";else{for(r=new Hl,r.a+="[",t=0;t<this.b.length;t+=2)e&Gs&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?Er(r,dy(this.b[t])):(Er(r,dy(this.b[t])),r.a+="-",Er(r,dy(this.b[t+1])));r.a+="]",i=r.a}else if(this==bbn)i="\\D";else if(this==gbn)i="\\W";else if(this==wbn)i="\\S";else{for(r=new Hl,r.a+="[^",t=0;t<this.b.length;t+=2)e&Gs&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?Er(r,dy(this.b[t])):(Er(r,dy(this.b[t])),r.a+="-",Er(r,dy(this.b[t+1])));r.a+="]",i=r.a}return i},o.a=!1,o.c=!1,w(p1,"RegEx/RangeToken",138),b(592,1,{592:1},RG),o.a=0,w(p1,"RegEx/RegexParser/ReferencePosition",592),b(591,1,{3:1,591:1},OEn),o.Fb=function(e){var t;return e==null||!L(e,591)?!1:(t=u(e,591),Sn(this.b,t.b)&&this.a==t.a)},o.Hb=function(){return t1(this.b+"/"+uen(this.a))},o.Ib=function(){return this.c.Qm(this.a)},o.a=0,w(p1,"RegEx/RegularExpression",591),b(228,122,cv,Dh),o.Km=function(){return this.a},o.Qm=function(e){var t,i,r;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:r="\\"+NN(this.a&ui);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=hr?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+qo(i,i.length-6,i.length)):r=""+NN(this.a&ui)}break;case 8:this==abn||this==dbn?r=""+NN(this.a&ui):r="\\"+NN(this.a&ui);break;default:r=null}return r},o.a=0,w(p1,"RegEx/Token/CharToken",228),b(318,122,cv,Xw),o.Lm=function(e){return this.a},o.Nm=function(e){this.b=e},o.Om=function(e){this.c=e},o.Pm=function(){return 1},o.Qm=function(e){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Qm(e)+"*";else if(this.c==this.b)t=this.a.Qm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+"{"+this.c+",}";else throw T(new ec("Token#toString(): CLOSURE "+this.c+ur+this.b));else if(this.c<0&&this.b<0)t=this.a.Qm(e)+"*?";else if(this.c==this.b)t=this.a.Qm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Qm(e)+"{"+this.c+",}?";else throw T(new ec("Token#toString(): NONGREEDYCLOSURE "+this.c+ur+this.b));return t},o.b=0,o.c=0,w(p1,"RegEx/Token/ClosureToken",318),b(837,122,cv,CW),o.Lm=function(e){return e==0?this.a:this.b},o.Pm=function(){return 2},o.Qm=function(e){var t;return this.b.e==3&&this.b.Lm(0)==this.a?t=this.a.Qm(e)+"+":this.b.e==9&&this.b.Lm(0)==this.a?t=this.a.Qm(e)+"+?":t=this.a.Qm(e)+(""+this.b.Qm(e)),t},w(p1,"RegEx/Token/ConcatToken",837),b(1945,122,cv,YDn),o.Lm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw T(new ec("Internal Error: "+e))},o.Pm=function(){return this.b?2:1},o.Qm=function(e){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},o.c=0,w(p1,"RegEx/Token/ConditionToken",1945),b(1946,122,cv,HAn),o.Lm=function(e){return this.b},o.Pm=function(){return 1},o.Qm=function(e){return"(?"+(this.a==0?"":uen(this.a))+(this.c==0?"":uen(this.c))+":"+this.b.Qm(e)+")"},o.a=0,o.c=0,w(p1,"RegEx/Token/ModifierToken",1946),b(838,122,cv,xW),o.Lm=function(e){return this.a},o.Pm=function(){return 1},o.Qm=function(e){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Qm(e)+")":t="("+this.a.Qm(e)+")";break;case 20:t="(?="+this.a.Qm(e)+")";break;case 21:t="(?!"+this.a.Qm(e)+")";break;case 22:t="(?<="+this.a.Qm(e)+")";break;case 23:t="(?<!"+this.a.Qm(e)+")";break;case 24:t="(?>"+this.a.Qm(e)+")"}return t},o.b=0,w(p1,"RegEx/Token/ParenToken",838),b(530,122,{3:1,122:1,530:1},OD),o.Mm=function(){return this.b},o.Qm=function(e){return this.e==12?"\\"+this.a:gTe(this.b)},o.a=0,w(p1,"RegEx/Token/StringToken",530),b(476,122,cv,C6),o.Jm=function(e){pd(this,e)},o.Lm=function(e){return u(mb(this.a,e),122)},o.Pm=function(){return this.a?this.a.a.c.length:0},o.Qm=function(e){var t,i,r,c,s;if(this.e==1){if(this.a.a.c.length==2)t=u(mb(this.a,0),122),i=u(mb(this.a,1),122),i.e==3&&i.Lm(0)==t?c=t.Qm(e)+"+":i.e==9&&i.Lm(0)==t?c=t.Qm(e)+"+?":c=t.Qm(e)+(""+i.Qm(e));else{for(s=new Hl,r=0;r<this.a.a.c.length;r++)Er(s,u(mb(this.a,r),122).Qm(e));c=s.a}return c}if(this.a.a.c.length==2&&u(mb(this.a,1),122).e==7)c=u(mb(this.a,0),122).Qm(e)+"?";else if(this.a.a.c.length==2&&u(mb(this.a,0),122).e==7)c=u(mb(this.a,1),122).Qm(e)+"??";else{for(s=new Hl,Er(s,u(mb(this.a,0),122).Qm(e)),r=1;r<this.a.a.c.length;r++)s.a+="|",Er(s,u(mb(this.a,r),122).Qm(e));c=s.a}return c},w(p1,"RegEx/Token/UnionToken",476),b(527,1,{600:1},Y9),o.Ib=function(){return this.a.b},w(JJn,"XMLTypeUtil/PatternMatcherImpl",527),b(1707,1527,{},S5n);var Ise;w(JJn,"XMLTypeValidator",1707),b(270,1,qh,Qa),o.Jc=function(e){qi(this,e)},o.Kc=function(){return(this.b-this.a)*this.c<0?Ra:new U1(this)},o.a=0,o.b=0,o.c=0;var Ra;w(nun,"ExclusiveRange",270),b(1084,1,Hh,P5n),o.Rb=function(e){u(e,17),Qle()},o.Nb=function(e){_i(this,e)},o.Pb=function(){return Bhe()},o.Ub=function(){return Fhe()},o.Wb=function(e){u(e,17),Zle()},o.Ob=function(){return!1},o.Sb=function(){return!1},o.Tb=function(){return-1},o.Vb=function(){return-1},o.Qb=function(){throw T(new Fl(ZJn))},w(nun,"ExclusiveRange/1",1084),b(258,1,Hh,U1),o.Rb=function(e){u(e,17),Yle()},o.Nb=function(e){_i(this,e)},o.Pb=function(){return z6e(this)},o.Ub=function(){return Dme(this)},o.Wb=function(e){u(e,17),n1e()},o.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},o.Sb=function(){return this.b>0},o.Tb=function(){return this.b},o.Vb=function(){return this.b-1},o.Qb=function(){throw T(new Fl(ZJn))},o.a=0,o.b=0,w(nun,"ExclusiveRange/RangeIterator",258);var fs=Cm(GP,"C"),ye=Cm(v8,"I"),so=Cm(i3,"Z"),Ka=Cm(k8,"J"),Ru=Cm(g8,"B"),Ii=Cm(p8,"D"),cg=Cm(m8,"F"),V2=Cm(y8,"S"),$De=Dt("org.eclipse.elk.core.labels","ILabelManager"),pbn=Dt(or,"DiagnosticChain"),mbn=Dt(SJn,"ResourceSet"),vbn=w(or,"InvocationTargetException",null),Ose=(_E(),W3e),Ase=Ase=Fke;H4e(Kfe),K4e("permProps",[[["locale","default"],[nQn,"gecko1_8"]],[["locale","default"],[nQn,"safari"]]]),Ase(null,"elk",null)}).call(this)}).call(this,typeof Dse<"u"?Dse:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(Ht,gt,Pr){function Li(Jt,Xe){if(!(Jt instanceof Xe))throw new TypeError("Cannot call a class as a function")}function y(Jt,Xe){if(!Jt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe&&(typeof Xe=="object"||typeof Xe=="function")?Xe:Jt}function Wt(Jt,Xe){if(typeof Xe!="function"&&Xe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Xe);Jt.prototype=Object.create(Xe&&Xe.prototype,{constructor:{value:Jt,enumerable:!1,writable:!0,configurable:!0}}),Xe&&(Object.setPrototypeOf?Object.setPrototypeOf(Jt,Xe):Jt.__proto__=Xe)}var Ku=Ht("./elk-api.js").default,qt=function(Jt){Wt(Xe,Jt);function Xe(){var Yi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Li(this,Xe);var Bi=Object.assign({},Yi),En=!1;try{Ht.resolve("web-worker"),En=!0}catch{}if(Yi.workerUrl)if(En){var hu=Ht("web-worker");Bi.workerFactory=function(Ir){return new hu(Ir)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
... Falling back to non-web worker version.`);if(!Bi.workerFactory){var Qc=Ht("./elk-worker.min.js"),Bu=Qc.Worker;Bi.workerFactory=function(Ir){return new Bu(Ir)}}return y(this,(Xe.__proto__||Object.getPrototypeOf(Xe)).call(this,Bi))}return Xe}(Ku);Object.defineProperty(gt.exports,"__esModule",{value:!0}),gt.exports=qt,qt.default=qt},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(Ht,gt,Pr){gt.exports=Worker},{}]},{},[3])(3)})})(Kse);var WDe=Kse.exports;const JDe=KDe(WDe),$se=new JDe;let Tw={};const QDe={};let z3={};const YDe=async function(tt,Kt,Ht,gt,Pr,Li,y){const Ku=Ht.select(`[id="${Kt}"]`).insert("g").attr("class","nodes"),qt=Object.keys(tt);return await Promise.all(qt.map(async function(Jt){const Xe=tt[Jt];let Yi="default";Xe.classes.length>0&&(Yi=Xe.classes.join(" ")),Yi=Yi+" flowchart-label";const Bi=jbn(Xe.styles);let En=Xe.text!==void 0?Xe.text:Xe.id;const hu={width:0,height:0},Qc=[{id:Xe.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:Xe.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:Xe.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:Xe.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let Bu=0,Ir="",Tf={};switch(Xe.type){case"round":Bu=5,Ir="rect";break;case"square":Ir="rect";break;case"diamond":Ir="question",Tf={portConstraints:"FIXED_SIDE"};break;case"hexagon":Ir="hexagon";break;case"odd":Ir="rect_left_inv_arrow";break;case"lean_right":Ir="lean_right";break;case"lean_left":Ir="lean_left";break;case"trapezoid":Ir="trapezoid";break;case"inv_trapezoid":Ir="inv_trapezoid";break;case"odd_right":Ir="rect_left_inv_arrow";break;case"circle":Ir="circle";break;case"ellipse":Ir="ellipse";break;case"stadium":Ir="stadium";break;case"subroutine":Ir="subroutine";break;case"cylinder":Ir="cylinder";break;case"group":Ir="rect";break;case"doublecircle":Ir="doublecircle";break;default:Ir="rect"}const D1={labelStyle:Bi.labelStyle,shape:Ir,labelText:En,labelType:Xe.labelType,rx:Bu,ry:Bu,class:Yi,style:Bi.style,id:Xe.id,link:Xe.link,linkTarget:Xe.linkTarget,tooltip:Pr.db.getTooltip(Xe.id)||"",domId:Pr.db.lookUpDomId(Xe.id),haveCallback:Xe.haveCallback,width:Xe.type==="group"?500:void 0,dir:Xe.dir,type:Xe.type,props:Xe.props,padding:DU().flowchart.padding};let $1,og;if(D1.type!=="group")og=await HDe(Ku,D1,Xe.dir),$1=og.node().getBBox();else{gt.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:x1,bbox:ul}=await qDe(Ku,D1,void 0,!0);hu.width=ul.width,hu.wrappingWidth=DU().flowchart.wrappingWidth,hu.height=ul.height,hu.labelNode=x1.node(),D1.labelData=hu}const X3={id:Xe.id,ports:Xe.type==="diamond"?Qc:[],layoutOptions:Tf,labelText:En,labelData:hu,domId:Pr.db.lookUpDomId(Xe.id),width:$1==null?void 0:$1.width,height:$1==null?void 0:$1.height,type:Xe.type,el:og,parent:Li.parentById[Xe.id]};z3[D1.id]=X3})),y},xse=(tt,Kt,Ht)=>{const gt={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 gt.TD=gt.TB,N1.info("abc88",Ht,Kt,tt),gt[Ht][Kt][tt]},Rse=(tt,Kt,Ht)=>{if(N1.info("getNextPort abc88",{node:tt,edgeDirection:Kt,graphDirection:Ht}),!Tw[tt])switch(Ht){case"TB":case"TD":Tw[tt]={inPosition:"north",outPosition:"south"};break;case"BT":Tw[tt]={inPosition:"south",outPosition:"north"};break;case"RL":Tw[tt]={inPosition:"east",outPosition:"west"};break;case"LR":Tw[tt]={inPosition:"west",outPosition:"east"};break}const gt=Kt==="in"?Tw[tt].inPosition:Tw[tt].outPosition;return Kt==="in"?Tw[tt].inPosition=xse(Tw[tt].inPosition,Kt,Ht):Tw[tt].outPosition=xse(Tw[tt].outPosition,Kt,Ht),gt},ZDe=(tt,Kt)=>{let Ht=tt.start,gt=tt.end;const Pr=Ht,Li=gt,y=z3[Ht],Wt=z3[gt];return!y||!Wt?{source:Ht,target:gt}:(y.type==="diamond"&&(Ht=`${Ht}-${Rse(Ht,"out",Kt)}`),Wt.type==="diamond"&&(gt=`${gt}-${Rse(gt,"in",Kt)}`),{source:Ht,target:gt,sourceId:Pr,targetId:Li})},n$e=function(tt,Kt,Ht,gt){N1.info("abc78 edges = ",tt);const Pr=gt.insert("g").attr("class","edgeLabels");let Li={},y=Kt.db.getDirection(),Wt,Ku;if(tt.defaultStyle!==void 0){const qt=jbn(tt.defaultStyle);Wt=qt.style,Ku=qt.labelStyle}return tt.forEach(function(qt){const Jt="L-"+qt.start+"-"+qt.end;Li[Jt]===void 0?(Li[Jt]=0,N1.info("abc78 new entry",Jt,Li[Jt])):(Li[Jt]++,N1.info("abc78 new entry",Jt,Li[Jt]));let Xe=Jt+"-"+Li[Jt];N1.info("abc78 new link id to be used is",Jt,Xe,Li[Jt]);const Yi="LS-"+qt.start,Bi="LE-"+qt.end,En={style:"",labelStyle:""};switch(En.minlen=qt.length||1,qt.type==="arrow_open"?En.arrowhead="none":En.arrowhead="normal",En.arrowTypeStart="arrow_open",En.arrowTypeEnd="arrow_open",qt.type){case"double_arrow_cross":En.arrowTypeStart="arrow_cross";case"arrow_cross":En.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":En.arrowTypeStart="arrow_point";case"arrow_point":En.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":En.arrowTypeStart="arrow_circle";case"arrow_circle":En.arrowTypeEnd="arrow_circle";break}let hu="",Qc="";switch(qt.stroke){case"normal":hu="fill:none;",Wt!==void 0&&(hu=Wt),Ku!==void 0&&(Qc=Ku),En.thickness="normal",En.pattern="solid";break;case"dotted":En.thickness="normal",En.pattern="dotted",En.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":En.thickness="thick",En.pattern="solid",En.style="stroke-width: 3.5px;fill:none;";break}if(qt.style!==void 0){const og=jbn(qt.style);hu=og.style,Qc=og.labelStyle}En.style=En.style+=hu,En.labelStyle=En.labelStyle+=Qc,qt.interpolate!==void 0?En.curve=ybn(qt.interpolate,NU):tt.defaultInterpolate!==void 0?En.curve=ybn(tt.defaultInterpolate,NU):En.curve=ybn(QDe.curve,NU),qt.text===void 0?qt.style!==void 0&&(En.arrowheadStyle="fill: #333"):(En.arrowheadStyle="fill: #333",En.labelpos="c"),En.labelType=qt.labelType,En.label=qt.text.replace(FDe.lineBreakRegex,`
`),qt.style===void 0&&(En.style=En.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),En.labelStyle=En.labelStyle.replace("color:","fill:"),En.id=Xe,En.classes="flowchart-link "+Yi+" "+Bi;const Bu=UDe(Pr,En),{source:Ir,target:Tf,sourceId:D1,targetId:$1}=ZDe(qt,y);N1.debug("abc78 source and target",Ir,Tf),Ht.edges.push({id:"e"+qt.start+qt.end,sources:[Ir],targets:[Tf],sourceId:D1,targetId:$1,labelEl:Bu,labels:[{width:En.width,height:En.height,orgWidth:En.width,orgHeight:En.height,text:En.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:En})}),Ht},e$e=function(tt,Kt,Ht,gt,Pr){let Li="";gt&&(Li=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Li=Li.replace(/\(/g,"\\("),Li=Li.replace(/\)/g,"\\)")),zDe(tt,Kt,Li,Pr,Ht)},t$e=function(tt,Kt){return N1.info("Extracting classes"),Kt.db.getClasses()},i$e=function(tt){const Kt={parentById:{},childrenById:{}},Ht=tt.getSubGraphs();return N1.info("Subgraphs - ",Ht),Ht.forEach(function(gt){gt.nodes.forEach(function(Pr){Kt.parentById[Pr]=gt.id,Kt.childrenById[gt.id]===void 0&&(Kt.childrenById[gt.id]=[]),Kt.childrenById[gt.id].push(Pr)})}),Ht.forEach(function(gt){gt.id,Kt.parentById[gt.id]!==void 0&&Kt.parentById[gt.id]}),Kt},r$e=function(tt,Kt,Ht){const gt=VDe(tt,Kt,Ht);if(gt===void 0||gt==="root")return{x:0,y:0};const Pr=z3[gt].offset;return{x:Pr.posX,y:Pr.posY}},c$e=function(tt,Kt,Ht,gt,Pr,Li){const y=r$e(Kt.sourceId,Kt.targetId,Pr),Wt=Kt.sections[0].startPoint,Ku=Kt.sections[0].endPoint,Jt=(Kt.sections[0].bendPoints?Kt.sections[0].bendPoints:[]).map(Tf=>[Tf.x+y.x,Tf.y+y.y]),Xe=[[Wt.x+y.x,Wt.y+y.y],...Jt,[Ku.x+y.x,Ku.y+y.y]],{x:Yi,y:Bi}=GDe(Kt.edgeData),En=XDe().x(Yi).y(Bi).curve(NU),hu=tt.insert("path").attr("d",En(Xe)).attr("class","path "+Ht.classes).attr("fill","none"),Qc=tt.insert("g").attr("class","edgeLabel"),Bu=OA(Qc.node().appendChild(Kt.labelEl)),Ir=Bu.node().firstChild.getBoundingClientRect();Bu.attr("width",Ir.width),Bu.attr("height",Ir.height),Qc.attr("transform",`translate(${Kt.labels[0].x+y.x}, ${Kt.labels[0].y+y.y})`),e$e(hu,Ht,gt.type,gt.arrowMarkerAbsolute,Li)},Bse=(tt,Kt)=>{tt.forEach(Ht=>{Ht.children||(Ht.children=[]);const gt=Kt.childrenById[Ht.id];gt&>.forEach(Pr=>{Ht.children.push(z3[Pr])}),Bse(Ht.children,Kt)})},u$e=async function(tt,Kt,Ht,gt){var Pr;gt.db.clear(),z3={},Tw={},gt.db.setGen("gen-2"),gt.parser.parse(tt);const Li=OA("body").append("div").attr("style","height:400px").attr("id","cy");let y={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(N1.info("Drawing flowchart using v3 renderer",$se),gt.db.getDirection()){case"BT":y.layoutOptions["elk.direction"]="UP";break;case"TB":y.layoutOptions["elk.direction"]="DOWN";break;case"LR":y.layoutOptions["elk.direction"]="RIGHT";break;case"RL":y.layoutOptions["elk.direction"]="LEFT";break}const{securityLevel:Ku,flowchart:qt}=DU();let Jt;Ku==="sandbox"&&(Jt=OA("#i"+Kt));const Xe=Ku==="sandbox"?OA(Jt.nodes()[0].contentDocument.body):OA("body"),Yi=Ku==="sandbox"?Jt.nodes()[0].contentDocument:document,Bi=Xe.select(`[id="${Kt}"]`);_De(Bi,["point","circle","cross"],gt.type,Kt);const hu=gt.db.getVertices();let Qc;const Bu=gt.db.getSubGraphs();N1.info("Subgraphs - ",Bu);for(let x1=Bu.length-1;x1>=0;x1--)Qc=Bu[x1],gt.db.addVertex(Qc.id,{text:Qc.title,type:Qc.labelType},"group",void 0,Qc.classes,Qc.dir);const Ir=Bi.insert("g").attr("class","subgraphs"),Tf=i$e(gt.db);y=await YDe(hu,Kt,Xe,Yi,gt,Tf,y);const D1=Bi.insert("g").attr("class","edges edgePath"),$1=gt.db.getEdges();y=n$e($1,gt,y,Bi),Object.keys(z3).forEach(x1=>{const ul=z3[x1];ul.parent||y.children.push(ul),Tf.childrenById[x1]!==void 0&&(ul.labels=[{text:ul.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:ul.labelData.width,height:ul.labelData.height}],delete ul.x,delete ul.y,delete ul.width,delete ul.height)}),Bse(y.children,Tf),N1.info("after layout",JSON.stringify(y,null,2));const X3=await $se.layout(y);Fse(0,0,X3.children,Bi,Ir,gt,0),N1.info("after layout",X3),(Pr=X3.edges)==null||Pr.map(x1=>{c$e(D1,x1,x1.edgeData,gt,Tf,Kt)}),BDe({},Bi,qt.diagramPadding,qt.useMaxWidth),Li.remove()},Fse=(tt,Kt,Ht,gt,Pr,Li,y)=>{Ht.forEach(function(Wt){if(Wt)if(z3[Wt.id].offset={posX:Wt.x+tt,posY:Wt.y+Kt,x:tt,y:Kt,depth:y,width:Wt.width,height:Wt.height},Wt.type==="group"){const Ku=Pr.insert("g").attr("class","subgraph");Ku.insert("rect").attr("class","subgraph subgraph-lvl-"+y%5+" node").attr("x",Wt.x+tt).attr("y",Wt.y+Kt).attr("width",Wt.width).attr("height",Wt.height);const qt=Ku.insert("g").attr("class","label"),Jt=DU().flowchart.htmlLabels?Wt.labelData.width/2:0;qt.attr("transform",`translate(${Wt.labels[0].x+tt+Wt.x+Jt}, ${Wt.labels[0].y+Kt+Wt.y+3})`),qt.node().appendChild(Wt.labelData.labelNode),N1.info("Id (UGH)= ",Wt.type,Wt.labels)}else N1.info("Id (UGH)= ",Wt.id),Wt.el.attr("transform",`translate(${Wt.x+tt+Wt.width/2}, ${Wt.y+Kt+Wt.height/2})`)}),Ht.forEach(function(Wt){Wt&&Wt.type==="group"&&Fse(tt+Wt.x,Kt+Wt.y,Wt.children,gt,Pr,Li,y+1)})},o$e={getClasses:t$e,draw:u$e},s$e=tt=>{let Kt="";for(let Ht=0;Ht<5;Ht++)Kt+=`
.subgraph-lvl-${Ht} {
fill: ${tt[`surface${Ht}`]};
stroke: ${tt[`surfacePeer${Ht}`]};
}
`;return Kt},f$e=tt=>`.label {
font-family: ${tt.fontFamily};
color: ${tt.nodeTextColor||tt.textColor};
}
.cluster-label text {
fill: ${tt.titleColor};
}
.cluster-label span {
color: ${tt.titleColor};
}
.label text,span {
fill: ${tt.nodeTextColor||tt.textColor};
color: ${tt.nodeTextColor||tt.textColor};
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${tt.mainBkg};
stroke: ${tt.nodeBorder};
stroke-width: 1px;
}
.node .label {
text-align: center;
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
fill: ${tt.arrowheadColor};
}
.edgePath .path {
stroke: ${tt.lineColor};
stroke-width: 2.0px;
}
.flowchart-link {
stroke: ${tt.lineColor};
fill: none;
}
.edgeLabel {
background-color: ${tt.edgeLabelBackground};
rect {
opacity: 0.85;
background-color: ${tt.edgeLabelBackground};
fill: ${tt.edgeLabelBackground};
}
text-align: center;
}
.cluster rect {
fill: ${tt.clusterBkg};
stroke: ${tt.clusterBorder};
stroke-width: 1px;
}
.cluster text {
fill: ${tt.titleColor};
}
.cluster span {
color: ${tt.titleColor};
}
/* .cluster div {
color: ${tt.titleColor};
} */
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: ${tt.fontFamily};
font-size: 12px;
background: ${tt.tertiaryColor};
border: 1px solid ${tt.border2};
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
.flowchartTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${tt.textColor};
}
.subgraph {
stroke-width:2;
rx:3;
}
// .subgraph-lvl-1 {
// fill:#ccc;
// // stroke:black;
// }
.flowchart-label text {
text-anchor: middle;
}
${s$e(tt)}
`,h$e=f$e,m$e={db:xDe,renderer:o$e,parser:RDe,styles:h$e};export{m$e as diagram};
import{p as a,f as o}from"./flowDb-a32fc02b-mKtk886G.js";import{f as t,a as e}from"./styles-a35956af-xNc0fAXX.js";import{aJ as s}from"./index-Hfn5l4aw.js";import"./layout-94e1e85f-BAM45a7u.js";import"./index-20c9cf41-l8R8WdfM.js";import"./edges-9f0d1f4d-OJsHViVb.js";import"./createText-77e212b0-L6d34XR_.js";import"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";const u={parser:a,db:o,renderer:t,styles:e,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,s({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{u as diagram};
import{p as St,f as W}from"./flowDb-a32fc02b-mKtk886G.js";import{G as Lt,h as S,u as Et,r as _t,p as Tt,l as Nt,d as M,f as tt}from"./layout-94e1e85f-BAM45a7u.js";import{ax as m,aE as z,aF as et,at as J,aB as rt,ay as G,aG as V,aH as P,aI as At}from"./index-Hfn5l4aw.js";import{f as It,a as Ct,b as at,s as Bt,c as N,i as nt,d as _,e as st,g as it}from"./styles-a35956af-xNc0fAXX.js";import{l as Mt}from"./line-b015ae81-MIcjsH1n.js";import"./index-20c9cf41-l8R8WdfM.js";import"./edges-9f0d1f4d-OJsHViVb.js";import"./createText-77e212b0-L6d34XR_.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";function Dt(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function Gt(r,e){return fetch(r,e).then(Dt)}function Rt(r){return(e,t)=>Gt(e,t).then(n=>new DOMParser().parseFromString(n,r))}var Pt=Rt("image/svg+xml"),H={normal:$t,vee:Wt,undirected:Vt};function Ut(r){H=r}function $t(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Wt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Vt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function zt(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Ht(r,e){for(var t=r.append("text"),n=Yt(e.label).split(`
`),a=0;a<n.length;a++)t.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(n[a]);return N(t,e.labelStyle),t}function Yt(r){for(var e="",t=!1,n,a=0;a<r.length;++a)if(n=r[a],t){switch(n){case"n":e+=`
`;break;default:e+=n}t=!1}else n==="\\"?t=!0:e+=n;return e}function K(r,e,t){var n=e.label,a=r.append("g");e.labelType==="svg"?zt(a,e):typeof n!="string"||e.labelType==="html"?at(a,e):Ht(a,e);var s=a.node().getBBox(),i;switch(t){case"top":i=-e.height/2;break;case"bottom":i=e.height/2-s.height;break;default:i=-s.height/2}return a.attr("transform","translate("+-s.width/2+","+i+")"),a}var Y=function(r,e){var t=e.nodes().filter(function(s){return nt(e,s)}),n=r.selectAll("g.cluster").data(t,function(s){return s});_(n.exit(),e).style("opacity",0).remove();var a=n.enter().append("g").attr("class","cluster").attr("id",function(s){var i=e.node(s);return i.id}).style("opacity",0).each(function(s){var i=e.node(s),o=m(this);m(this).append("rect");var c=o.append("g").attr("class","label");K(c,i,i.clusterLabelPos)});return n=n.merge(a),n=_(n,e).style("opacity",1),n.selectAll("rect").each(function(s){var i=e.node(s),o=m(this);N(o,i.style)}),n};function Xt(r){Y=r}let X=function(r,e){var t=r.selectAll("g.edgeLabel").data(e.edges(),function(a){return st(a)}).classed("update",!0);t.exit().remove(),t.enter().append("g").classed("edgeLabel",!0).style("opacity",0),t=r.selectAll("g.edgeLabel"),t.each(function(a){var s=m(this);s.select(".label").remove();var i=e.edge(a),o=K(s,e.edge(a),0).classed("label",!0),c=o.node().getBBox();i.labelId&&o.attr("id",i.labelId),S(i,"width")||(i.width=c.width),S(i,"height")||(i.height=c.height)});var n;return t.exit?n=t.exit():n=t.selectAll(null),_(n,e).style("opacity",0).remove(),t};function Ft(r){X=r}function O(r,e){return r.intersect(e)}var F=function(r,e,t){var n=r.selectAll("g.edgePath").data(e.edges(),function(i){return st(i)}).classed("update",!0),a=Zt(n,e);Ot(n,e);var s=n.merge!==void 0?n.merge(a):n;return _(s,e).style("opacity",1),s.each(function(i){var o=m(this),c=e.edge(i);c.elem=this,c.id&&o.attr("id",c.id),it(o,c.class,(o.classed("update")?"update ":"")+"edgePath")}),s.selectAll("path.path").each(function(i){var o=e.edge(i);o.arrowheadId=Et("arrowhead");var c=m(this).attr("marker-end",function(){return"url("+Qt(location.href,o.arrowheadId)+")"}).style("fill","none");_(c,e).attr("d",function(d){return Jt(e,d)}),N(c,o.style)}),s.selectAll("defs *").remove(),s.selectAll("defs").each(function(i){var o=e.edge(i),c=t[o.arrowhead];c(m(this),o.arrowheadId,o,"arrowhead")}),s};function qt(r){F=r}function Qt(r,e){var t=r.split("#")[0];return t+"#"+e}function Jt(r,e){var t=r.edge(e),n=r.node(e.v),a=r.node(e.w),s=t.points.slice(1,t.points.length-1);return s.unshift(O(n,s[0])),s.push(O(a,s[s.length-1])),ot(t,s)}function ot(r,e){var t=(Mt||Pt.line)().x(function(n){return n.x}).y(function(n){return n.y});return(t.curve||t.interpolate)(r.curve),t(e)}function Kt(r){var e=r.getBBox(),t=r.ownerSVGElement.getScreenCTM().inverse().multiply(r.getScreenCTM()).translate(e.width/2,e.height/2);return{x:t.e,y:t.f}}function Zt(r,e){var t=r.enter().append("g").attr("class","edgePath").style("opacity",0);return t.append("path").attr("class","path").attr("d",function(n){var a=e.edge(n),s=e.node(n.v).elem,i=_t(a.points.length).map(function(){return Kt(s)});return ot(a,i)}),t.append("defs"),t}function Ot(r,e){var t=r.exit();_(t,e).style("opacity",0).remove()}var q=function(r,e,t){var n=e.nodes().filter(function(i){return!nt(e,i)}),a=r.selectAll("g.node").data(n,function(i){return i}).classed("update",!0);a.exit().remove(),a.enter().append("g").attr("class","node").style("opacity",0),a=r.selectAll("g.node"),a.each(function(i){var o=e.node(i),c=m(this);it(c,o.class,(c.classed("update")?"update ":"")+"node"),c.select("g.label").remove();var d=c.append("g").attr("class","label"),l=K(d,o),v=t[o.shape],h=Tt(l.node().getBBox(),"width","height");o.elem=this,o.id&&c.attr("id",o.id),o.labelId&&d.attr("id",o.labelId),S(o,"width")&&(h.width=o.width),S(o,"height")&&(h.height=o.height),h.width+=o.paddingLeft+o.paddingRight,h.height+=o.paddingTop+o.paddingBottom,d.attr("transform","translate("+(o.paddingLeft-o.paddingRight)/2+","+(o.paddingTop-o.paddingBottom)/2+")");var u=m(this);u.select(".label-container").remove();var p=v(u,h,o).classed("label-container",!0);N(p,o.style);var g=p.node().getBBox();o.width=g.width,o.height=g.height});var s;return a.exit?s=a.exit():s=a.selectAll(null),_(s,e).style("opacity",0).remove(),a};function jt(r){q=r}function te(r,e){var t=r.filter(function(){return!m(this).classed("update")});function n(a){var s=e.node(a);return"translate("+s.x+","+s.y+")"}t.attr("transform",n),_(r,e).style("opacity",1).attr("transform",n),_(t.selectAll("rect"),e).attr("width",function(a){return e.node(a).width}).attr("height",function(a){return e.node(a).height}).attr("x",function(a){var s=e.node(a);return-s.width/2}).attr("y",function(a){var s=e.node(a);return-s.height/2})}function ee(r,e){var t=r.filter(function(){return!m(this).classed("update")});function n(a){var s=e.edge(a);return S(s,"x")?"translate("+s.x+","+s.y+")":""}t.attr("transform",n),_(r,e).style("opacity",1).attr("transform",n)}function re(r,e){var t=r.filter(function(){return!m(this).classed("update")});function n(a){var s=e.node(a);return"translate("+s.x+","+s.y+")"}t.attr("transform",n),_(r,e).style("opacity",1).attr("transform",n)}function lt(r,e,t,n){var a=r.x,s=r.y,i=a-n.x,o=s-n.y,c=Math.sqrt(e*e*o*o+t*t*i*i),d=Math.abs(e*t*i/c);n.x<a&&(d=-d);var l=Math.abs(e*t*o/c);return n.y<s&&(l=-l),{x:a+d,y:s+l}}function ae(r,e,t){return lt(r,e,e,t)}function ne(r,e,t,n){var a,s,i,o,c,d,l,v,h,u,p,g,f,y,k;if(a=e.y-r.y,i=r.x-e.x,c=e.x*r.y-r.x*e.y,h=a*t.x+i*t.y+c,u=a*n.x+i*n.y+c,!(h!==0&&u!==0&&j(h,u))&&(s=n.y-t.y,o=t.x-n.x,d=n.x*t.y-t.x*n.y,l=s*r.x+o*r.y+d,v=s*e.x+o*e.y+d,!(l!==0&&v!==0&&j(l,v))&&(p=a*o-s*i,p!==0)))return g=Math.abs(p/2),f=i*d-o*c,y=f<0?(f-g)/p:(f+g)/p,f=s*c-a*d,k=f<0?(f-g)/p:(f+g)/p,{x:y,y:k}}function j(r,e){return r*e>0}function T(r,e,t){var n=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach(function(p){i=Math.min(i,p.x),o=Math.min(o,p.y)});for(var c=n-r.width/2-i,d=a-r.height/2-o,l=0;l<e.length;l++){var v=e[l],h=e[l<e.length-1?l+1:0],u=ne(r,t,{x:c+v.x,y:d+v.y},{x:c+h.x,y:d+h.y});u&&s.push(u)}return s.length?(s.length>1&&s.sort(function(p,g){var f=p.x-t.x,y=p.y-t.y,k=Math.sqrt(f*f+y*y),C=g.x-t.x,E=g.y-t.y,U=Math.sqrt(C*C+E*E);return k<U?-1:k===U?0:1}),s[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",r),r)}function Z(r,e){var t=r.x,n=r.y,a=e.x-t,s=e.y-n,i=r.width/2,o=r.height/2,c,d;return Math.abs(s)*i>Math.abs(a)*o?(s<0&&(o=-o),c=s===0?0:o*a/s,d=o):(a<0&&(i=-i),c=i,d=a===0?0:i*s/a),{x:t+c,y:n+d}}var Q={rect:ie,ellipse:oe,circle:le,diamond:ce};function se(r){Q=r}function ie(r,e,t){var n=r.insert("rect",":first-child").attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return t.intersect=function(a){return Z(t,a)},n}function oe(r,e,t){var n=e.width/2,a=e.height/2,s=r.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",n).attr("ry",a);return t.intersect=function(i){return lt(t,n,a,i)},s}function le(r,e,t){var n=Math.max(e.width,e.height)/2,a=r.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",n);return t.intersect=function(s){return ae(t,n,s)},a}function ce(r,e,t){var n=e.width*Math.SQRT2/2,a=e.height*Math.SQRT2/2,s=[{x:0,y:-a},{x:-n,y:0},{x:0,y:a},{x:n,y:0}],i=r.insert("polygon",":first-child").attr("points",s.map(function(o){return o.x+","+o.y}).join(" "));return t.intersect=function(o){return T(t,s,o)},i}function de(){var r=function(e,t){fe(t);var n=D(e,"output"),a=D(n,"clusters"),s=D(n,"edgePaths"),i=X(D(n,"edgeLabels"),t),o=q(D(n,"nodes"),t,Q);Nt(t),re(o,t),ee(i,t),F(s,t,H);var c=Y(a,t);te(c,t),pe(t)};return r.createNodes=function(e){return arguments.length?(jt(e),r):q},r.createClusters=function(e){return arguments.length?(Xt(e),r):Y},r.createEdgeLabels=function(e){return arguments.length?(Ft(e),r):X},r.createEdgePaths=function(e){return arguments.length?(qt(e),r):F},r.shapes=function(e){return arguments.length?(se(e),r):Q},r.arrows=function(e){return arguments.length?(Ut(e),r):H},r}var he={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},ue={arrowhead:"normal",curve:P};function fe(r){r.nodes().forEach(function(e){var t=r.node(e);!S(t,"label")&&!r.children(e).length&&(t.label=e),S(t,"paddingX")&&M(t,{paddingLeft:t.paddingX,paddingRight:t.paddingX}),S(t,"paddingY")&&M(t,{paddingTop:t.paddingY,paddingBottom:t.paddingY}),S(t,"padding")&&M(t,{paddingLeft:t.padding,paddingRight:t.padding,paddingTop:t.padding,paddingBottom:t.padding}),M(t,he),tt(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(n){t[n]=Number(t[n])}),S(t,"width")&&(t._prevWidth=t.width),S(t,"height")&&(t._prevHeight=t.height)}),r.edges().forEach(function(e){var t=r.edge(e);S(t,"label")||(t.label=""),M(t,ue)})}function pe(r){tt(r.nodes(),function(e){var t=r.node(e);S(t,"_prevWidth")?t.width=t._prevWidth:delete t.width,S(t,"_prevHeight")?t.height=t._prevHeight:delete t.height,delete t._prevWidth,delete t._prevHeight})}function D(r,e){var t=r.select("g."+e);return t.empty()&&(t=r.append("g").attr("class",e)),t}function ct(r,e,t){const n=e.width,a=e.height,s=(n+a)*.9,i=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],o=A(r,s,s,i);return t.intersect=function(c){return T(t,i,c)},o}function dt(r,e,t){const a=e.height,s=a/4,i=e.width+2*s,o=[{x:s,y:0},{x:i-s,y:0},{x:i,y:-a/2},{x:i-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],c=A(r,i,a,o);return t.intersect=function(d){return T(t,o,d)},c}function ht(r,e,t){const n=e.width,a=e.height,s=[{x:-a/2,y:0},{x:n,y:0},{x:n,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ut(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ft(r,e,t){const n=e.width,a=e.height,s=[{x:2*a/6,y:0},{x:n+a/6,y:0},{x:n-2*a/6,y:-a},{x:-a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function pt(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n+2*a/6,y:0},{x:n-a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function vt(r,e,t){const n=e.width,a=e.height,s=[{x:a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:-2*a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function yt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n+a/2,y:0},{x:n,y:-a/2},{x:n+a/2,y:-a},{x:0,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function gt(r,e,t){const n=e.height,a=e.width+n/4,s=r.insert("rect",":first-child").attr("rx",n/2).attr("ry",n/2).attr("x",-a/2).attr("y",-n/2).attr("width",a).attr("height",n);return t.intersect=function(i){return Z(t,i)},s}function wt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function xt(r,e,t){const n=e.width,a=n/2,s=a/(2.5+n/50),i=e.height+s,o="M 0,"+s+" a "+a+","+s+" 0,0,0 "+n+" 0 a "+a+","+s+" 0,0,0 "+-n+" 0 l 0,"+i+" a "+a+","+s+" 0,0,0 "+n+" 0 l 0,"+-i,c=r.attr("label-offset-y",s).insert("path",":first-child").attr("d",o).attr("transform","translate("+-n/2+","+-(i/2+s)+")");return t.intersect=function(d){const l=Z(t,d),v=l.x-t.x;if(a!=0&&(Math.abs(v)<t.width/2||Math.abs(v)==t.width/2&&Math.abs(l.y-t.y)>t.height/2-s)){let h=s*s*(1-v*v/(a*a));h!=0&&(h=Math.sqrt(h)),h=s-h,d.y-t.y>0&&(h=-h),l.y+=h}return l},c}function ve(r){r.shapes().question=ct,r.shapes().hexagon=dt,r.shapes().stadium=gt,r.shapes().subroutine=wt,r.shapes().cylinder=xt,r.shapes().rect_left_inv_arrow=ht,r.shapes().lean_right=ut,r.shapes().lean_left=ft,r.shapes().trapezoid=pt,r.shapes().inv_trapezoid=vt,r.shapes().rect_right_inv_arrow=yt}function ye(r){r({question:ct}),r({hexagon:dt}),r({stadium:gt}),r({subroutine:wt}),r({cylinder:xt}),r({rect_left_inv_arrow:ht}),r({lean_right:ut}),r({lean_left:ft}),r({trapezoid:pt}),r({inv_trapezoid:vt}),r({rect_right_inv_arrow:yt})}function A(r,e,t,n){return r.insert("polygon",":first-child").attr("points",n.map(function(a){return a.x+","+a.y}).join(" ")).attr("transform","translate("+-e/2+","+t/2+")")}const ge={addToRender:ve,addToRenderV2:ye},mt={},we=function(r){const e=Object.keys(r);for(const t of e)mt[t]=r[t]},bt=function(r,e,t,n,a,s){const i=n?n.select(`[id="${t}"]`):m(`[id="${t}"]`),o=a||document;Object.keys(r).forEach(function(d){const l=r[d];let v="default";l.classes.length>0&&(v=l.classes.join(" "));const h=z(l.styles);let u=l.text!==void 0?l.text:l.id,p;if(et(J().flowchart.htmlLabels)){const y={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,k=>`<i class='${k.replace(":"," ")}'></i>`)};p=at(i,y).node(),p.parentNode.removeChild(p)}else{const y=o.createElementNS("http://www.w3.org/2000/svg","text");y.setAttribute("style",h.labelStyle.replace("color:","fill:"));const k=u.split(rt.lineBreakRegex);for(const C of k){const E=o.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=C,y.appendChild(E)}p=y}let g=0,f="";switch(l.type){case"round":g=5,f="rect";break;case"square":f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"odd_right":f="rect_left_inv_arrow";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"group":f="rect";break;default:f="rect"}G.warn("Adding node",l.id,l.domId),e.setNode(s.db.lookUpDomId(l.id),{labelType:"svg",labelStyle:h.labelStyle,shape:f,label:p,rx:g,ry:g,class:v,style:h.style,id:s.db.lookUpDomId(l.id)})})},kt=function(r,e,t){let n=0,a,s;if(r.defaultStyle!==void 0){const i=z(r.defaultStyle);a=i.style,s=i.labelStyle}r.forEach(function(i){n++;const o="L-"+i.start+"-"+i.end,c="LS-"+i.start,d="LE-"+i.end,l={};i.type==="arrow_open"?l.arrowhead="none":l.arrowhead="normal";let v="",h="";if(i.style!==void 0){const u=z(i.style);v=u.style,h=u.labelStyle}else switch(i.stroke){case"normal":v="fill:none",a!==void 0&&(v=a),s!==void 0&&(h=s);break;case"dotted":v="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v=" stroke-width: 3.5px;fill:none";break}l.style=v,l.labelStyle=h,i.interpolate!==void 0?l.curve=V(i.interpolate,P):r.defaultInterpolate!==void 0?l.curve=V(r.defaultInterpolate,P):l.curve=V(mt.curve,P),i.text===void 0?i.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",et(J().flowchart.htmlLabels)?(l.labelType="html",l.label=`<span id="L-${o}" class="edgeLabel L-${c}' L-${d}" style="${l.labelStyle}">${i.text.replace(/fa[blrs]?:fa-[\w-]+/g,u=>`<i class='${u.replace(":"," ")}'></i>`)}</span>`):(l.labelType="text",l.label=i.text.replace(rt.lineBreakRegex,`
`),i.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=o,l.class=c+" "+d,l.minlen=i.length||1,e.setEdge(t.db.lookUpDomId(i.start),t.db.lookUpDomId(i.end),l,n)})},xe=function(r,e){return G.info("Extracting classes"),e.db.getClasses()},me=function(r,e,t,n){G.info("Drawing flowchart");const{securityLevel:a,flowchart:s}=J();let i;a==="sandbox"&&(i=m("#i"+e));const o=a==="sandbox"?m(i.nodes()[0].contentDocument.body):m("body"),c=a==="sandbox"?i.nodes()[0].contentDocument:document;let d=n.db.getDirection();d===void 0&&(d="TD");const l=s.nodeSpacing||50,v=s.rankSpacing||50,h=new Lt({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:l,ranksep:v,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let u;const p=n.db.getSubGraphs();for(let w=p.length-1;w>=0;w--)u=p[w],n.db.addVertex(u.id,u.title,"group",void 0,u.classes);const g=n.db.getVertices();G.warn("Get vertices",g);const f=n.db.getEdges();let y=0;for(y=p.length-1;y>=0;y--){u=p[y],Bt("cluster").append("text");for(let w=0;w<u.nodes.length;w++)G.warn("Setting subgraph",u.nodes[w],n.db.lookUpDomId(u.nodes[w]),n.db.lookUpDomId(u.id)),h.setParent(n.db.lookUpDomId(u.nodes[w]),n.db.lookUpDomId(u.id))}bt(g,h,e,o,c,n),kt(f,h,n);const k=new de;ge.addToRender(k),k.arrows().none=function(b,L,x,B){const I=b.append("marker").attr("id",L).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");N(I,x[B+"Style"])},k.arrows().normal=function(b,L){b.append("marker").attr("id",L).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const C=o.select(`[id="${e}"]`),E=o.select("#"+e+" g");for(k(E,h),E.selectAll("g.node").attr("title",function(){return n.db.getTooltip(this.id)}),n.db.indexNodes("subGraph"+y),y=0;y<p.length;y++)if(u=p[y],u.title!=="undefined"){const w=c.querySelectorAll("#"+e+' [id="'+n.db.lookUpDomId(u.id)+'"] rect'),b=c.querySelectorAll("#"+e+' [id="'+n.db.lookUpDomId(u.id)+'"]'),L=w[0].x.baseVal.value,x=w[0].y.baseVal.value,B=w[0].width.baseVal.value,I=m(b[0]).select(".label");I.attr("transform",`translate(${L+B/2}, ${x+14})`),I.attr("id",e+"Text");for(let $=0;$<u.classes.length;$++)b[0].classList.add(u.classes[$])}if(!s.htmlLabels){const w=c.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const b of w){const L=b.getBBox(),x=c.createElementNS("http://www.w3.org/2000/svg","rect");x.setAttribute("rx",0),x.setAttribute("ry",0),x.setAttribute("width",L.width),x.setAttribute("height",L.height),b.insertBefore(x,b.firstChild)}}At(h,C,s.diagramPadding,s.useMaxWidth),Object.keys(g).forEach(function(w){const b=g[w];if(b.link){const L=o.select("#"+e+' [id="'+n.db.lookUpDomId(w)+'"]');if(L){const x=c.createElementNS("http://www.w3.org/2000/svg","a");x.setAttributeNS("http://www.w3.org/2000/svg","class",b.classes.join(" ")),x.setAttributeNS("http://www.w3.org/2000/svg","href",b.link),x.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),a==="sandbox"?x.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):b.linkTarget&&x.setAttributeNS("http://www.w3.org/2000/svg","target",b.linkTarget);const B=L.insert(function(){return x},":first-child"),R=L.select(".label-container");R&&B.append(function(){return R.node()});const I=L.select(".label");I&&B.append(function(){return I.node()})}}})},be={setConf:we,addVertices:bt,addEdges:kt,getClasses:xe,draw:me},Be={parser:St,db:W,renderer:It,styles:Ct,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,be.setConf(r.flowchart),W.clear(),W.setGen("gen-1")}};export{Be as diagram};
import{at as et,c3 as me,ap as ye,aq as ve,ar as Ve,as as Le,aT as Ie,aU as Re,ay as J1,aK as dt,aV as Ne,aB as we,ax as w1}from"./index-Hfn5l4aw.js";var pt=function(){var e=function(f1,a,o,f){for(o=o||{},f=f1.length;f--;o[f1[f]]=a);return o},u=[1,4],i=[1,3],n=[1,5],c=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],l=[2,2],h=[1,13],U=[1,14],F=[1,15],w=[1,16],X=[1,23],o1=[1,25],p1=[1,26],A1=[1,27],C=[1,49],k=[1,48],l1=[1,29],U1=[1,30],G1=[1,31],M1=[1,32],K1=[1,33],B=[1,44],x=[1,46],m=[1,42],y=[1,47],v=[1,43],V=[1,50],L=[1,45],I=[1,51],R=[1,52],Y1=[1,34],j1=[1,35],z1=[1,36],X1=[1,37],I1=[1,57],b=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],W=[1,61],Q=[1,60],Z=[1,62],H1=[8,9,11,73,75],k1=[1,88],b1=[1,93],g1=[1,92],D1=[1,89],F1=[1,85],T1=[1,91],S1=[1,87],C1=[1,94],_1=[1,90],B1=[1,95],x1=[1,86],q1=[8,9,10,11,73,75],N=[8,9,10,11,44,73,75],M=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],Et=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],R1=[42,58,86,99,102,103,106,108,111,112,113],kt=[1,121],bt=[1,120],gt=[1,128],Dt=[1,142],Ft=[1,143],Tt=[1,144],St=[1,145],Ct=[1,130],_t=[1,132],Bt=[1,136],xt=[1,137],mt=[1,138],yt=[1,139],vt=[1,140],Vt=[1,141],Lt=[1,146],It=[1,147],Rt=[1,126],Nt=[1,127],wt=[1,134],Ot=[1,129],Pt=[1,133],Ut=[1,131],nt=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Gt=[1,149],T=[8,9,11],K=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],p=[1,169],O=[1,165],P=[1,166],A=[1,170],d=[1,167],E=[1,168],m1=[75,113,116],g=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Mt=[10,103],h1=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],J=[1,235],$=[1,233],t1=[1,237],e1=[1,231],s1=[1,232],u1=[1,234],i1=[1,236],r1=[1,238],y1=[1,255],Kt=[8,9,11,103],q=[8,9,10,11,58,81,102,103,106,107,108,109],at={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeperator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,verticeStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(a,o,f,r,S,t,N1){var s=t.length-1;switch(S){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 176:this.$=t[s];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 43:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 44:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 45:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 46:this.$={stmt:t[s],nodes:t[s]};break;case 47:this.$=[t[s]];break;case 48:this.$=t[s-4].concat(t[s]);break;case 49:this.$=t[s];break;case 50:this.$=t[s-2],r.setClass(t[s-2],t[s]);break;case 51:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 52:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 53:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 54:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 55:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 56:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 57:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 60:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 61:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 64:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 67:this.$=t[s],r.addVertex(t[s]);break;case 68:t[s-1].text=t[s],this.$=t[s-1];break;case 69:case 70:t[s-2].text=t[s-1],this.$=t[s-2];break;case 71:this.$=t[s];break;case 72:var Y=r.destructLink(t[s],t[s-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,text:t[s-1]};break;case 73:this.$={text:t[s],type:"text"};break;case 74:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 75:this.$={text:t[s],type:"string"};break;case 76:this.$={text:t[s],type:"markdown"};break;case 77:var Y=r.destructLink(t[s]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length};break;case 78:this.$=t[s-1];break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:case 97:this.$={text:t[s],type:"markdown"};break;case 94:this.$={text:t[s],type:"text"};break;case 95:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 96:this.$={text:t[s],type:"text"};break;case 98:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 99:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 100:case 108:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 101:case 109:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 102:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 103:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 104:this.$=t[s-2],r.setLink(t[s-2],t[s]);break;case 105:this.$=t[s-4],r.setLink(t[s-4],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:this.$=t[s-4],r.setLink(t[s-4],t[s-2],t[s]);break;case 107:this.$=t[s-6],r.setLink(t[s-6],t[s-4],t[s]),r.setTooltip(t[s-6],t[s-2]);break;case 110:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 111:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 112:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 113:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 114:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 115:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 116:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 118:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 119:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 120:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 121:case 123:this.$=[t[s]];break;case 122:case 124:t[s-2].push(t[s]),this.$=t[s-2];break;case 126:this.$=t[s-1]+t[s];break;case 174:this.$=t[s];break;case 175:this.$=t[s-1]+""+t[s];break;case 177:this.$=t[s-1]+""+t[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,9:u,10:i,12:n},{1:[3]},e(c,l,{5:6}),{4:7,9:u,10:i,12:n},{4:8,9:u,10:i,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,54],9:[1,55],10:I1,15:53,18:56},e(b,[2,3]),e(b,[2,4]),e(b,[2,5]),e(b,[2,6]),e(b,[2,7]),e(b,[2,8]),{8:W,9:Q,11:Z,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:W,9:Q,11:Z,21:66},{8:W,9:Q,11:Z,21:67},{8:W,9:Q,11:Z,21:68},{8:W,9:Q,11:Z,21:69},{8:W,9:Q,11:Z,21:70},{8:W,9:Q,10:[1,71],11:Z,21:72},e(b,[2,36]),{35:[1,73]},{37:[1,74]},e(b,[2,39]),e(H1,[2,46],{18:75,10:I1}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:k1,42:b1,58:g1,77:[1,83],86:D1,92:[1,80],94:[1,81],98:82,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1,117:84},e(b,[2,178]),e(b,[2,179]),e(b,[2,180]),e(b,[2,181]),e(q1,[2,47]),e(q1,[2,49],{44:[1,96]}),e(N,[2,67],{110:109,29:[1,97],42:C,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:k,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:B,99:x,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(M,[2,174]),e(M,[2,135]),e(M,[2,136]),e(M,[2,137]),e(M,[2,138]),e(M,[2,139]),e(M,[2,140]),e(M,[2,141]),e(M,[2,142]),e(M,[2,143]),e(M,[2,144]),e(M,[2,145]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,110]},e(Et,[2,26],{18:111,10:I1}),e(b,[2,27]),{40:112,41:38,42:C,43:39,45:40,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(b,[2,40]),e(b,[2,41]),e(b,[2,42]),e(R1,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:kt,116:bt},e([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),e(b,[2,28]),e(b,[2,29]),e(b,[2,30]),e(b,[2,31]),e(b,[2,32]),{10:gt,12:Dt,14:Ft,27:Tt,28:122,32:St,42:Ct,58:_t,73:Bt,77:[1,124],78:[1,125],80:135,81:xt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:123,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(nt,l,{5:148}),e(b,[2,37]),e(b,[2,38]),e(H1,[2,45],{42:Gt}),{42:C,45:150,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{99:[1,151],100:152,102:[1,153]},{42:C,45:154,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{42:C,45:155,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},e(T,[2,108],{117:160,10:[1,159],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1}),e(T,[2,110],{10:[1,161]}),e(K,[2,176]),e(K,[2,163]),e(K,[2,164]),e(K,[2,165]),e(K,[2,166]),e(K,[2,167]),e(K,[2,168]),e(K,[2,169]),e(K,[2,170]),e(K,[2,171]),e(K,[2,172]),e(K,[2,173]),{42:C,45:162,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{30:163,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:171,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:173,48:[1,172],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:174,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:175,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:176,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{106:[1,177]},{30:178,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:179,63:[1,180],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:181,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:182,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:183,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(M,[2,175]),e(c,[2,20]),e(Et,[2,25]),e(H1,[2,43],{18:184,10:I1}),e(R1,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{75:[1,188],76:189,113:kt,116:bt},e(m1,[2,73]),e(m1,[2,75]),e(m1,[2,76]),e(m1,[2,161]),e(m1,[2,162]),{8:W,9:Q,10:gt,11:Z,12:Dt,14:Ft,21:191,27:Tt,29:[1,190],32:St,42:Ct,58:_t,73:Bt,80:135,81:xt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:192,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(g,[2,94]),e(g,[2,96]),e(g,[2,97]),e(g,[2,150]),e(g,[2,151]),e(g,[2,152]),e(g,[2,153]),e(g,[2,154]),e(g,[2,155]),e(g,[2,156]),e(g,[2,157]),e(g,[2,158]),e(g,[2,159]),e(g,[2,160]),e(g,[2,83]),e(g,[2,84]),e(g,[2,85]),e(g,[2,86]),e(g,[2,87]),e(g,[2,88]),e(g,[2,89]),e(g,[2,90]),e(g,[2,91]),e(g,[2,92]),e(g,[2,93]),{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,193],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:I1,18:194},{10:[1,195],42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,196]},{10:[1,197],103:[1,198]},e(Mt,[2,121]),{10:[1,199],42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,200],42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{77:[1,201]},e(T,[2,102],{10:[1,202]}),e(T,[2,104],{10:[1,203]}),{77:[1,204]},e(K,[2,177]),{77:[1,205],95:[1,206]},e(q1,[2,50],{110:109,42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),{31:[1,207],65:p,79:208,113:A,114:d,115:E},e(h1,[2,79]),e(h1,[2,81]),e(h1,[2,82]),e(h1,[2,146]),e(h1,[2,147]),e(h1,[2,148]),e(h1,[2,149]),{47:[1,209],65:p,79:208,113:A,114:d,115:E},{30:210,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{49:[1,211],65:p,79:208,113:A,114:d,115:E},{51:[1,212],65:p,79:208,113:A,114:d,115:E},{53:[1,213],65:p,79:208,113:A,114:d,115:E},{55:[1,214],65:p,79:208,113:A,114:d,115:E},{58:[1,215]},{62:[1,216],65:p,79:208,113:A,114:d,115:E},{64:[1,217],65:p,79:208,113:A,114:d,115:E},{30:218,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{31:[1,219],65:p,79:208,113:A,114:d,115:E},{65:p,67:[1,220],69:[1,221],79:208,113:A,114:d,115:E},{65:p,67:[1,223],69:[1,222],79:208,113:A,114:d,115:E},e(H1,[2,44],{42:Gt}),e(R1,[2,70]),e(R1,[2,69]),{60:[1,224],65:p,79:208,113:A,114:d,115:E},e(R1,[2,72]),e(m1,[2,74]),{30:225,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(nt,l,{5:226}),e(g,[2,95]),e(b,[2,35]),{41:227,42:C,43:39,45:40,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{10:J,58:$,81:t1,89:228,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:239,101:[1,240],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:241,101:[1,242],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{102:[1,243]},{10:J,58:$,81:t1,89:244,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{42:C,45:245,58:k,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},e(T,[2,109]),e(T,[2,111],{10:[1,249]}),e(T,[2,112]),e(N,[2,51]),e(h1,[2,80]),e(N,[2,52]),{49:[1,250],65:p,79:208,113:A,114:d,115:E},e(N,[2,59]),e(N,[2,54]),e(N,[2,55]),e(N,[2,56]),{106:[1,251]},e(N,[2,58]),e(N,[2,60]),{64:[1,252],65:p,79:208,113:A,114:d,115:E},e(N,[2,62]),e(N,[2,63]),e(N,[2,65]),e(N,[2,64]),e(N,[2,66]),e([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,254],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(q1,[2,48]),e(T,[2,114],{103:y1}),e(Kt,[2,123],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(q,[2,125]),e(q,[2,127]),e(q,[2,128]),e(q,[2,129]),e(q,[2,130]),e(q,[2,131]),e(q,[2,132]),e(q,[2,133]),e(q,[2,134]),e(T,[2,115],{103:y1}),{10:[1,257]},e(T,[2,116],{103:y1}),{10:[1,258]},e(Mt,[2,122]),e(T,[2,98],{103:y1}),e(T,[2,99],{110:109,42:C,58:k,86:B,99:x,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(T,[2,103]),e(T,[2,105],{10:[1,259]}),e(T,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:W,9:Q,11:Z,21:264},e(b,[2,34]),{10:J,58:$,81:t1,102:e1,104:265,105:230,106:s1,107:u1,108:i1,109:r1},e(q,[2,126]),{14:k1,42:b1,58:g1,86:D1,98:266,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1,117:84},{14:k1,42:b1,58:g1,86:D1,98:267,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1,117:84},{95:[1,268]},e(T,[2,113]),e(N,[2,53]),{30:269,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(N,[2,61]),e(nt,l,{5:270}),e(Kt,[2,124],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(T,[2,119],{117:160,10:[1,271],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1}),e(T,[2,120],{117:160,10:[1,272],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:S1,108:C1,111:_1,112:B1,113:x1}),e(T,[2,107]),{31:[1,273],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,274],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:C,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:B,99:x,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:J,58:$,81:t1,89:275,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:276,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},e(N,[2,57]),e(b,[2,33]),e(T,[2,117],{103:y1}),e(T,[2,118],{103:y1})],defaultActions:{},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var f=new Error(a);throw f.hash=o,f}},parse:function(a){var o=this,f=[0],r=[],S=[null],t=[],N1=this.table,s="",Y=0,Yt=0,Ce=2,jt=1,_e=t.slice.call(arguments,1),_=Object.create(this.lexer),d1={yy:{}};for(var ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ot)&&(d1.yy[ot]=this.yy[ot]);_.setInput(a,d1.yy),d1.yy.lexer=_,d1.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var lt=_.yylloc;t.push(lt);var Be=_.options&&_.options.ranges;typeof d1.yy.parseError=="function"?this.parseError=d1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xe(){var a1;return a1=r.pop()||_.lex()||jt,typeof a1!="number"&&(a1 instanceof Array&&(r=a1,a1=r.pop()),a1=o.symbols_[a1]||a1),a1}for(var G,E1,j,ht,v1={},W1,n1,zt,Q1;;){if(E1=f[f.length-1],this.defaultActions[E1]?j=this.defaultActions[E1]:((G===null||typeof G>"u")&&(G=xe()),j=N1[E1]&&N1[E1][G]),typeof j>"u"||!j.length||!j[0]){var ft="";Q1=[];for(W1 in N1[E1])this.terminals_[W1]&&W1>Ce&&Q1.push("'"+this.terminals_[W1]+"'");_.showPosition?ft="Parse error on line "+(Y+1)+`:
`+_.showPosition()+`
Expecting `+Q1.join(", ")+", got '"+(this.terminals_[G]||G)+"'":ft="Parse error on line "+(Y+1)+": Unexpected "+(G==jt?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(ft,{text:_.match,token:this.terminals_[G]||G,line:_.yylineno,loc:lt,expected:Q1})}if(j[0]instanceof Array&&j.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E1+", token: "+G);switch(j[0]){case 1:f.push(G),S.push(_.yytext),t.push(_.yylloc),f.push(j[1]),G=null,Yt=_.yyleng,s=_.yytext,Y=_.yylineno,lt=_.yylloc;break;case 2:if(n1=this.productions_[j[1]][1],v1.$=S[S.length-n1],v1._$={first_line:t[t.length-(n1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(n1||1)].first_column,last_column:t[t.length-1].last_column},Be&&(v1._$.range=[t[t.length-(n1||1)].range[0],t[t.length-1].range[1]]),ht=this.performAction.apply(v1,[s,Yt,Y,d1.yy,j[1],S,t].concat(_e)),typeof ht<"u")return ht;n1&&(f=f.slice(0,-1*n1*2),S=S.slice(0,-1*n1),t=t.slice(0,-1*n1)),f.push(this.productions_[j[1]][0]),S.push(v1.$),t.push(v1._$),zt=N1[f[f.length-2]][f[f.length-1]],f.push(zt);break;case 3:return!0}}return!0}},Se=function(){var f1={EOF:1,parseError:function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,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 a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,f=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var r=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),f.length-1&&(this.yylineno-=f.length-1);var S=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:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
`+o+"^"},test_match:function(a,o){var f,r,S;if(this.options.backtrack_lexer&&(S={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&&(S.yylloc.range=this.yylloc.range.slice(0))),r=a[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],f=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var t in S)this[t]=S[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,o,f,r;this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),t=0;t<S.length;t++)if(f=this._input.match(this.rules[S[t]]),f&&(!o||f[0].length>o[0].length)){if(o=f,r=t,this.options.backtrack_lexer){if(a=this.test_match(f,S[t]),a!==!1)return a;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(a=this.test_match(o,S[r]),a!==!1?a:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>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(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,f,r,S){switch(r){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 11:this.popState();break;case 12:return 93;case 13:return"MD_STR";case 14:this.popState();break;case 15:this.begin("md_string");break;case 16:return"STR";case 17:this.popState();break;case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 27:this.popState();break;case 28:return 85;case 29:return o.lex.firstGraph()&&this.begin("dir"),12;case 30:return o.lex.firstGraph()&&this.begin("dir"),12;case 31:return o.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:return 95;case 35:return 95;case 36:return 95;case 37:return 95;case 38:return this.popState(),13;case 39:return this.popState(),14;case 40:return this.popState(),14;case 41:return this.popState(),14;case 42:return this.popState(),14;case 43:return this.popState(),14;case 44:return this.popState(),14;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:return 108;case 55:return 44;case 56:return 58;case 57:return 42;case 58:return 8;case 59:return 103;case 60:return 112;case 61:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:return 116;case 64:return this.popState(),75;case 65:return this.pushState("thickEdgeText"),73;case 66:return 116;case 67:return this.popState(),75;case 68:return this.pushState("dottedEdgeText"),73;case 69:return 116;case 70:return 75;case 71:return this.popState(),51;case 72:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 94:return 112;case 95:return 108;case 96:return 42;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 108:return"TEXT";case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};return f1}();at.lexer=Se;function ct(){this.yy={}}return ct.prototype=at,at.Parser=ct,new ct}();pt.parser=pt;const Xe=pt,Oe="flowchart-";let Xt=0,L1=et(),D={},H=[],V1={},c1=[],$1={},tt={},Z1=0,At=!0,z,st,ut=[];const it=e=>we.sanitizeText(e,L1),P1=function(e){const u=Object.keys(D);for(const i of u)if(D[i].id===e)return D[i].domId;return e},Ht=function(e,u,i,n,c,l,h={}){let U,F=e;F!==void 0&&F.trim().length!==0&&(D[F]===void 0&&(D[F]={id:F,labelType:"text",domId:Oe+F+"-"+Xt,styles:[],classes:[]}),Xt++,u!==void 0?(L1=et(),U=it(u.text.trim()),D[F].labelType=u.type,U[0]==='"'&&U[U.length-1]==='"'&&(U=U.substring(1,U.length-1)),D[F].text=U):D[F].text===void 0&&(D[F].text=e),i!==void 0&&(D[F].type=i),n!=null&&n.forEach(function(w){D[F].styles.push(w)}),c!=null&&c.forEach(function(w){D[F].classes.push(w)}),l!==void 0&&(D[F].dir=l),D[F].props===void 0?D[F].props=h:h!==void 0&&Object.assign(D[F].props,h))},qt=function(e,u,i){const l={start:e,end:u,type:void 0,text:"",labelType:"text"};J1.info("abc78 Got edge...",l);const h=i.text;if(h!==void 0&&(l.text=it(h.text.trim()),l.text[0]==='"'&&l.text[l.text.length-1]==='"'&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=h.type),i!==void 0&&(l.type=i.type,l.stroke=i.stroke,l.length=i.length),(l==null?void 0:l.length)>10&&(l.length=10),H.length<(L1.maxEdges??500))J1.info("abc78 pushing edge..."),H.push(l);else throw new Error(`Edge limit exceeded. ${H.length} edges found, but the limit is ${L1.maxEdges}.
Initialize mermaid with maxEdges set to a higher number to allow more edges.
You cannot set this config via configuration inside the diagram as it is a secure config.
You have to call mermaid.initialize.`)},Wt=function(e,u,i){J1.info("addLink (abc78)",e,u,i);let n,c;for(n=0;n<e.length;n++)for(c=0;c<u.length;c++)qt(e[n],u[c],i)},Qt=function(e,u){e.forEach(function(i){i==="default"?H.defaultInterpolate=u:H[i].interpolate=u})},Zt=function(e,u){e.forEach(function(i){if(i>=H.length)throw new Error(`The index ${i} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${H.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);i==="default"?H.defaultStyle=u:(dt.isSubstringInArray("fill",u)===-1&&u.push("fill:none"),H[i].style=u)})},Jt=function(e,u){e.split(",").forEach(function(i){V1[i]===void 0&&(V1[i]={id:i,styles:[],textStyles:[]}),u!=null&&u.forEach(function(n){if(n.match("color")){const c=n.replace("fill","bgFill").replace("color","fill");V1[i].textStyles.push(c)}V1[i].styles.push(n)})})},$t=function(e){z=e,z.match(/.*</)&&(z="RL"),z.match(/.*\^/)&&(z="BT"),z.match(/.*>/)&&(z="LR"),z.match(/.*v/)&&(z="TB"),z==="TD"&&(z="TB")},rt=function(e,u){e.split(",").forEach(function(i){let n=i;D[n]!==void 0&&D[n].classes.push(u),$1[n]!==void 0&&$1[n].classes.push(u)})},Pe=function(e,u){e.split(",").forEach(function(i){u!==void 0&&(tt[st==="gen-1"?P1(i):i]=it(u))})},Ue=function(e,u,i){let n=P1(e);if(et().securityLevel!=="loose"||u===void 0)return;let c=[];if(typeof i=="string"){c=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l<c.length;l++){let h=c[l].trim();h.charAt(0)==='"'&&h.charAt(h.length-1)==='"'&&(h=h.substr(1,h.length-2)),c[l]=h}}c.length===0&&c.push(e),D[e]!==void 0&&(D[e].haveCallback=!0,ut.push(function(){const l=document.querySelector(`[id="${n}"]`);l!==null&&l.addEventListener("click",function(){dt.runFunc(u,...c)},!1)}))},te=function(e,u,i){e.split(",").forEach(function(n){D[n]!==void 0&&(D[n].link=dt.formatUrl(u,L1),D[n].linkTarget=i)}),rt(e,"clickable")},ee=function(e){if(tt.hasOwnProperty(e))return tt[e]},se=function(e,u,i){e.split(",").forEach(function(n){Ue(n,u,i)}),rt(e,"clickable")},ue=function(e){ut.forEach(function(u){u(e)})},ie=function(){return z.trim()},re=function(){return D},ne=function(){return H},ae=function(){return V1},ce=function(e){let u=w1(".mermaidTooltip");(u._groups||u)[0][0]===null&&(u=w1("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),w1(e).select("svg").selectAll("g.node").on("mouseover",function(){const c=w1(this);if(c.attr("title")===null)return;const h=this.getBoundingClientRect();u.transition().duration(200).style("opacity",".9"),u.text(c.attr("title")).style("left",window.scrollX+h.left+(h.right-h.left)/2+"px").style("top",window.scrollY+h.bottom+"px"),u.html(u.html().replace(/<br\/>/g,"<br/>")),c.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),w1(this).classed("hover",!1)})};ut.push(ce);const oe=function(e="gen-1"){D={},V1={},H=[],ut=[ce],c1=[],$1={},Z1=0,tt={},At=!0,st=e,L1=et(),Ne()},le=e=>{st=e||"gen-2"},he=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},fe=function(e,u,i){let n=e.text.trim(),c=i.text;e===i&&i.text.match(/\s/)&&(n=void 0);function l(X){const o1={boolean:{},number:{},string:{}},p1=[];let A1;return{nodeList:X.filter(function(k){const l1=typeof k;return k.stmt&&k.stmt==="dir"?(A1=k.value,!1):k.trim()===""?!1:l1 in o1?o1[l1].hasOwnProperty(k)?!1:o1[l1][k]=!0:p1.includes(k)?!1:p1.push(k)}),dir:A1}}let h=[];const{nodeList:U,dir:F}=l(h.concat.apply(h,u));if(h=U,st==="gen-1")for(let X=0;X<h.length;X++)h[X]=P1(h[X]);n=n||"subGraph"+Z1,c=c||"",c=it(c),Z1=Z1+1;const w={id:n,nodes:h,title:c.trim(),classes:[],dir:F,labelType:i.type};return J1.info("Adding",w.id,w.nodes,w.dir),w.nodes=Fe(w,c1).nodes,c1.push(w),$1[n]=w,n},Ge=function(e){for(const[u,i]of c1.entries())if(i.id===e)return u;return-1};let O1=-1;const pe=[],Ae=function(e,u){const i=c1[u].nodes;if(O1=O1+1,O1>2e3)return;if(pe[O1]=u,c1[u].id===e)return{result:!0,count:0};let n=0,c=1;for(;n<i.length;){const l=Ge(i[n]);if(l>=0){const h=Ae(e,l);if(h.result)return{result:!0,count:c+h.count};c=c+h.count}n=n+1}return{result:!1,count:c}},de=function(e){return pe[e]},Ee=function(){O1=-1,c1.length>0&&Ae("none",c1.length-1)},ke=function(){return c1},be=()=>At?(At=!1,!0):!1,Me=e=>{let u=e.trim(),i="arrow_open";switch(u[0]){case"<":i="arrow_point",u=u.slice(1);break;case"x":i="arrow_cross",u=u.slice(1);break;case"o":i="arrow_circle",u=u.slice(1);break}let n="normal";return u.includes("=")&&(n="thick"),u.includes(".")&&(n="dotted"),{type:i,stroke:n}},Ke=(e,u)=>{const i=u.length;let n=0;for(let c=0;c<i;++c)u[c]===e&&++n;return n},Ye=e=>{const u=e.trim();let i=u.slice(0,-1),n="arrow_open";switch(u.slice(-1)){case"x":n="arrow_cross",u[0]==="x"&&(n="double_"+n,i=i.slice(1));break;case">":n="arrow_point",u[0]==="<"&&(n="double_"+n,i=i.slice(1));break;case"o":n="arrow_circle",u[0]==="o"&&(n="double_"+n,i=i.slice(1));break}let c="normal",l=i.length-1;i[0]==="="&&(c="thick"),i[0]==="~"&&(c="invisible");let h=Ke(".",i);return h&&(c="dotted",l=h),{type:n,stroke:c,length:l}},ge=(e,u)=>{const i=Ye(e);let n;if(u){if(n=Me(u),n.stroke!==i.stroke)return{type:"INVALID",stroke:"INVALID"};if(n.type==="arrow_open")n.type=i.type;else{if(n.type!==i.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return n.type==="double_arrow"&&(n.type="double_arrow_point"),n.length=i.length,n}return i},De=(e,u)=>{let i=!1;return e.forEach(n=>{n.nodes.indexOf(u)>=0&&(i=!0)}),i},Fe=(e,u)=>{const i=[];return e.nodes.forEach((n,c)=>{De(u,n)||i.push(e.nodes[c])}),{nodes:i}},Te={firstGraph:be},je={defaultConfig:()=>me.flowchart,setAccTitle:ye,getAccTitle:ve,getAccDescription:Ve,setAccDescription:Le,addVertex:Ht,lookUpDomId:P1,addLink:Wt,updateLinkInterpolate:Qt,updateLink:Zt,addClass:Jt,setDirection:$t,setClass:rt,setTooltip:Pe,getTooltip:ee,setClickEvent:se,setLink:te,bindFunctions:ue,getDirection:ie,getVertices:re,getEdges:ne,getClasses:ae,clear:oe,setGen:le,defaultStyle:he,addSubGraph:fe,getDepthFirstPos:de,indexNodes:Ee,getSubGraphs:ke,destructLink:ge,lex:Te,exists:De,makeUniq:Fe,setDiagramTitle:Ie,getDiagramTitle:Re},He=Object.freeze(Object.defineProperty({__proto__:null,addClass:Jt,addLink:Wt,addSingleLink:qt,addSubGraph:fe,addVertex:Ht,bindFunctions:ue,clear:oe,default:je,defaultStyle:he,destructLink:ge,firstGraph:be,getClasses:ae,getDepthFirstPos:de,getDirection:ie,getEdges:ne,getSubGraphs:ke,getTooltip:ee,getVertices:re,indexNodes:Ee,lex:Te,lookUpDomId:P1,setClass:rt,setClickEvent:se,setDirection:$t,setGen:le,setLink:te,updateLink:Zt,updateLinkInterpolate:Qt},Symbol.toStringTag,{value:"Module"}));export{He as d,je as f,Xe as p};
import{at as Z,ap as Et,aq as mt,as as gt,ar as kt,aT as Rt,aU as Ot,ay as G,aV as bt,ax as rt,aK as Nt,az as xt,aW as Tt,aX as At}from"./index-Hfn5l4aw.js";import{G as Mt,l as wt}from"./layout-94e1e85f-BAM45a7u.js";import{l as St}from"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";var it=function(){var t=function(w,i,n,c){for(n=n||{},c=w.length;c--;n[w[c]]=i);return n},e=[6,8,10,20,22,24,26,27,28],r=[1,10],u=[1,11],l=[1,12],f=[1,13],y=[1,14],o=[1,15],h=[1,21],_=[1,22],m=[1,23],g=[1,24],R=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],x=[1,34],I=[27,28,46,47],F=[41,42,43,44,45],W=[17,34],C=[1,54],T=[1,53],M=[17,34,36,38],O={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(i,n,c,d,E,a,V){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:u,24:l,26:f,27:y,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:u,24:l,26:f,27:y,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:_,43:m,44:g,45:R}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:y,28:o},{16:30,17:[1,31],29:32,30:33,34:x},{11:35,27:y,28:o},{40:36,46:[1,37],47:[1,38]},t(I,[2,34]),t(I,[2,35]),t(I,[2,36]),t(I,[2,37]),t(I,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:x},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:_,43:m,44:g,45:R},t(F,[2,39]),t(F,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(W,[2,23],{32:50,33:51,35:52,37:C,38:T}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(W,[2,24],{33:56,36:[1,57],38:T}),t(W,[2,25]),t(M,[2,29]),t(W,[2,32]),t(M,[2,31]),{16:58,17:[1,59],29:32,30:33,34:x},t(W,[2,26]),{35:60,37:C},{17:[1,61]},t(e,[2,13]),t(M,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=n,c}},parse:function(i){var n=this,c=[0],d=[],E=[null],a=[],V=this.table,s="",Q=0,st=0,yt=2,ot=1,pt=a.slice.call(arguments,1),N=Object.create(this.lexer),z={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(z.yy[J]=this.yy[J]);N.setInput(i,z.yy),z.yy.lexer=N,z.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var $=N.yylloc;a.push($);var ft=N.options&&N.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _t(){var Y;return Y=d.pop()||N.lex()||ot,typeof Y!="number"&&(Y instanceof Array&&(d=Y,Y=d.pop()),Y=n.symbols_[Y]||Y),Y}for(var S,H,D,tt,K={},q,P,lt,j;;){if(H=c[c.length-1],this.defaultActions[H]?D=this.defaultActions[H]:((S===null||typeof S>"u")&&(S=_t()),D=V[H]&&V[H][S]),typeof D>"u"||!D.length||!D[0]){var et="";j=[];for(q in V[H])this.terminals_[q]&&q>yt&&j.push("'"+this.terminals_[q]+"'");N.showPosition?et="Parse error on line "+(Q+1)+`:
`+N.showPosition()+`
Expecting `+j.join(", ")+", got '"+(this.terminals_[S]||S)+"'":et="Parse error on line "+(Q+1)+": Unexpected "+(S==ot?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(et,{text:N.match,token:this.terminals_[S]||S,line:N.yylineno,loc:$,expected:j})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+S);switch(D[0]){case 1:c.push(S),E.push(N.yytext),a.push(N.yylloc),c.push(D[1]),S=null,st=N.yyleng,s=N.yytext,Q=N.yylineno,$=N.yylloc;break;case 2:if(P=this.productions_[D[1]][1],K.$=E[E.length-P],K._$={first_line:a[a.length-(P||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(P||1)].first_column,last_column:a[a.length-1].last_column},ft&&(K._$.range=[a[a.length-(P||1)].range[0],a[a.length-1].range[1]]),tt=this.performAction.apply(K,[s,st,Q,z.yy,D[1],E,a].concat(pt)),typeof tt<"u")return tt;P&&(c=c.slice(0,-1*P*2),E=E.slice(0,-1*P),a=a.slice(0,-1*P)),c.push(this.productions_[D[1]][0]),E.push(K.$),a.push(K._$),lt=V[c[c.length-2]][c[c.length-1]],c.push(lt);break;case 3:return!0}}return!0}},b=function(){var w={EOF:1,parseError:function(n,c){if(this.yy.parser)this.yy.parser.parseError(n,c);else throw new Error(n)},setInput:function(i,n){return this.yy=n||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var n=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=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),c.length-1&&(this.yylineno-=c.length-1);var E=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:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+n+"^"},test_match:function(i,n){var c,d,E;if(this.options.backtrack_lexer&&(E={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&&(E.yylloc.range=this.yylloc.range.slice(0))),d=i[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],c=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var a in E)this[a]=E[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,n,c,d;this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),a=0;a<E.length;a++)if(c=this._input.match(this.rules[E[a]]),c&&(!n||c[0].length>n[0].length)){if(n=c,d=a,this.options.backtrack_lexer){if(i=this.test_match(c,E[a]),i!==!1)return i;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(i=this.test_match(n,E[d]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return n||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){var n=this.conditionStack.length-1;return n>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(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,c,d,E){switch(d){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 15:break;case 16:return 37;case 17:return 34;case 18:return 34;case 19:return 38;case 20:break;case 21:return this.popState(),17;case 22:return c.yytext[0];case 23:return 18;case 24:return 19;case 25:return 41;case 26:return 43;case 27:return 43;case 28:return 43;case 29:return 41;case 30:return 41;case 31:return 42;case 32:return 42;case 33:return 42;case 34:return 42;case 35:return 42;case 36:return 43;case 37:return 42;case 38:return 43;case 39:return 44;case 40:return 44;case 41:return 44;case 42:return 44;case 43:return 41;case 44:return 42;case 45:return 43;case 46:return 45;case 47:return 46;case 48:return 47;case 49:return 47;case 50:return 46;case 51:return 46;case 52:return 46;case 53:return 27;case 54:return c.yytext[0];case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}};return w}();O.lexer=b;function v(){this.yy={}}return v.prototype=O,O.Parser=v,new v}();it.parser=it;const It=it;let U={},nt=[];const Dt={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"},vt={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},dt=function(t,e=void 0){return U[t]===void 0?(U[t]={attributes:[],alias:e},G.info("Added new entity :",t)):U[t]&&!U[t].alias&&e&&(U[t].alias=e,G.info(`Add alias '${e}' to entity '${t}'`)),U[t]},Lt=()=>U,Bt=function(t,e){let r=dt(t),u;for(u=e.length-1;u>=0;u--)r.attributes.push(e[u]),G.debug("Added attribute ",e[u].attributeName)},Ct=function(t,e,r,u){let l={entityA:t,roleA:e,entityB:r,relSpec:u};nt.push(l),G.debug("Added new relationship :",l)},Pt=()=>nt,Yt=function(){U={},nt=[],bt()},Zt={Cardinality:Dt,Identification:vt,getConfig:()=>Z().er,addEntity:dt,addAttributes:Bt,getEntities:Lt,addRelationship:Ct,getRelationships:Pt,clear:Yt,setAccTitle:Et,getAccTitle:mt,setAccDescription:gt,getAccDescription:kt,setDiagramTitle:Rt,getDiagramTitle:Ot},L={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"},Ft=function(t,e){let r;t.append("defs").append("marker").attr("id",L.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",L.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",L.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",L.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"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",L.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",L.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"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},B={ERMarkers:L,insertMarkers:Ft},Wt=/^(?:[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;function Ut(t){return typeof t=="string"&&Wt.test(t)}const A=[];for(let t=0;t<256;++t)A.push((t+256).toString(16).slice(1));function zt(t,e=0){return(A[t[e+0]]+A[t[e+1]]+A[t[e+2]]+A[t[e+3]]+"-"+A[t[e+4]]+A[t[e+5]]+"-"+A[t[e+6]]+A[t[e+7]]+"-"+A[t[e+8]]+A[t[e+9]]+"-"+A[t[e+10]]+A[t[e+11]]+A[t[e+12]]+A[t[e+13]]+A[t[e+14]]+A[t[e+15]]).toLowerCase()}function Ht(t){if(!Ut(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Kt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}const Vt="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Gt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Xt(t,e,r){function u(l,f,y,o){var h;if(typeof l=="string"&&(l=Kt(l)),typeof f=="string"&&(f=Ht(f)),((h=f)===null||h===void 0?void 0:h.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let _=new Uint8Array(16+l.length);if(_.set(f),_.set(l,f.length),_=r(_),_[6]=_[6]&15|e,_[8]=_[8]&63|128,y){o=o||0;for(let m=0;m<16;++m)y[o+m]=_[m];return y}return zt(_)}try{u.name=t}catch{}return u.DNS=Vt,u.URL=Gt,u}function Qt(t,e,r,u){switch(t){case 0:return e&r^~e&u;case 1:return e^r^u;case 2:return e&r^e&u^r&u;case 3:return e^r^u}}function at(t,e){return t<<e|t>>>32-e}function qt(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const y=unescape(encodeURIComponent(t));t=[];for(let o=0;o<y.length;++o)t.push(y.charCodeAt(o))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const u=t.length/4+2,l=Math.ceil(u/16),f=new Array(l);for(let y=0;y<l;++y){const o=new Uint32Array(16);for(let h=0;h<16;++h)o[h]=t[y*64+h*4]<<24|t[y*64+h*4+1]<<16|t[y*64+h*4+2]<<8|t[y*64+h*4+3];f[y]=o}f[l-1][14]=(t.length-1)*8/Math.pow(2,32),f[l-1][14]=Math.floor(f[l-1][14]),f[l-1][15]=(t.length-1)*8&4294967295;for(let y=0;y<l;++y){const o=new Uint32Array(80);for(let p=0;p<16;++p)o[p]=f[y][p];for(let p=16;p<80;++p)o[p]=at(o[p-3]^o[p-8]^o[p-14]^o[p-16],1);let h=r[0],_=r[1],m=r[2],g=r[3],R=r[4];for(let p=0;p<80;++p){const x=Math.floor(p/20),I=at(h,5)+Qt(x,_,m,g)+R+e[x]+o[p]>>>0;R=g,g=m,m=at(_,30)>>>0,_=h,h=I}r[0]=r[0]+h>>>0,r[1]=r[1]+_>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+g>>>0,r[4]=r[4]+R>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const jt=Xt("v5",80,qt),Jt=jt,$t=/[^\dA-Za-z](\W)*/g;let k={},X=new Map;const te=function(t){const e=Object.keys(t);for(const r of e)k[r]=t[r]},ee=(t,e,r)=>{const u=k.entityPadding/3,l=k.entityPadding/3,f=k.fontSize*.85,y=e.node().getBBox(),o=[];let h=!1,_=!1,m=0,g=0,R=0,p=0,x=y.height+u*2,I=1;r.forEach(T=>{T.attributeKeyTypeList!==void 0&&T.attributeKeyTypeList.length>0&&(h=!0),T.attributeComment!==void 0&&(_=!0)}),r.forEach(T=>{const M=`${e.node().id}-attr-${I}`;let O=0;const b=At(T.attributeType),v=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",f+"px").text(b),w=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",f+"px").text(T.attributeName),i={};i.tn=v,i.nn=w;const n=v.node().getBBox(),c=w.node().getBBox();if(m=Math.max(m,n.width),g=Math.max(g,c.width),O=Math.max(n.height,c.height),h){const d=T.attributeKeyTypeList!==void 0?T.attributeKeyTypeList.join(","):"",E=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",f+"px").text(d);i.kn=E;const a=E.node().getBBox();R=Math.max(R,a.width),O=Math.max(O,a.height)}if(_){const d=t.append("text").classed("er entityLabel",!0).attr("id",`${M}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",Z().fontFamily).style("font-size",f+"px").text(T.attributeComment||"");i.cn=d;const E=d.node().getBBox();p=Math.max(p,E.width),O=Math.max(O,E.height)}i.height=O,o.push(i),x+=O+u*2,I+=1});let F=4;h&&(F+=2),_&&(F+=2);const W=m+g+R+p,C={width:Math.max(k.minEntityWidth,Math.max(y.width+k.entityPadding*2,W+l*F)),height:r.length>0?x:Math.max(k.minEntityHeight,y.height+k.entityPadding*2)};if(r.length>0){const T=Math.max(0,(C.width-W-l*F)/(F/2));e.attr("transform","translate("+C.width/2+","+(u+y.height/2)+")");let M=y.height+u*2,O="attributeBoxOdd";o.forEach(b=>{const v=M+u+b.height/2;b.tn.attr("transform","translate("+l+","+v+")");const w=t.insert("rect","#"+b.tn.node().id).classed(`er ${O}`,!0).attr("x",0).attr("y",M).attr("width",m+l*2+T).attr("height",b.height+u*2),i=parseFloat(w.attr("x"))+parseFloat(w.attr("width"));b.nn.attr("transform","translate("+(i+l)+","+v+")");const n=t.insert("rect","#"+b.nn.node().id).classed(`er ${O}`,!0).attr("x",i).attr("y",M).attr("width",g+l*2+T).attr("height",b.height+u*2);let c=parseFloat(n.attr("x"))+parseFloat(n.attr("width"));if(h){b.kn.attr("transform","translate("+(c+l)+","+v+")");const d=t.insert("rect","#"+b.kn.node().id).classed(`er ${O}`,!0).attr("x",c).attr("y",M).attr("width",R+l*2+T).attr("height",b.height+u*2);c=parseFloat(d.attr("x"))+parseFloat(d.attr("width"))}_&&(b.cn.attr("transform","translate("+(c+l)+","+v+")"),t.insert("rect","#"+b.cn.node().id).classed(`er ${O}`,"true").attr("x",c).attr("y",M).attr("width",p+l*2+T).attr("height",b.height+u*2)),M+=b.height+u*2,O=O==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"})}else C.height=Math.max(k.minEntityHeight,x),e.attr("transform","translate("+C.width/2+","+C.height/2+")");return C},re=function(t,e,r){const u=Object.keys(e);let l;return u.forEach(function(f){const y=le(f,"entity");X.set(f,y);const o=t.append("g").attr("id",y);l=l===void 0?y:l;const h="text-"+y,_=o.append("text").classed("er entityLabel",!0).attr("id",h).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",Z().fontFamily).style("font-size",k.fontSize+"px").text(e[f].alias??f),{width:m,height:g}=ee(o,_,e[f].attributes),p=o.insert("rect","#"+h).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",m).attr("height",g).node().getBBox();r.setNode(y,{width:p.width,height:p.height,shape:"rect",id:y})}),l},ae=function(t,e){e.nodes().forEach(function(r){r!==void 0&&e.node(r)!==void 0&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})},ut=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},ie=function(t,e){return t.forEach(function(r){e.setEdge(X.get(r.entityA),X.get(r.entityB),{relationship:r},ut(r))}),t};let ct=0;const ne=function(t,e,r,u,l){ct++;const f=r.edge(X.get(e.entityA),X.get(e.entityB),ut(e)),y=St().x(function(x){return x.x}).y(function(x){return x.y}).curve(Tt),o=t.insert("path","#"+u).classed("er relationshipLine",!0).attr("d",y(f.points)).style("stroke",k.stroke).style("fill","none");e.relSpec.relType===l.db.Identification.NON_IDENTIFYING&&o.attr("stroke-dasharray","8,8");let h="";switch(k.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case l.db.Cardinality.ZERO_OR_ONE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ZERO_OR_ONE_END+")");break;case l.db.Cardinality.ZERO_OR_MORE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ZERO_OR_MORE_END+")");break;case l.db.Cardinality.ONE_OR_MORE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ONE_OR_MORE_END+")");break;case l.db.Cardinality.ONLY_ONE:o.attr("marker-end","url("+h+"#"+B.ERMarkers.ONLY_ONE_END+")");break;case l.db.Cardinality.MD_PARENT:o.attr("marker-end","url("+h+"#"+B.ERMarkers.MD_PARENT_END+")");break}switch(e.relSpec.cardB){case l.db.Cardinality.ZERO_OR_ONE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ZERO_OR_ONE_START+")");break;case l.db.Cardinality.ZERO_OR_MORE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ZERO_OR_MORE_START+")");break;case l.db.Cardinality.ONE_OR_MORE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ONE_OR_MORE_START+")");break;case l.db.Cardinality.ONLY_ONE:o.attr("marker-start","url("+h+"#"+B.ERMarkers.ONLY_ONE_START+")");break;case l.db.Cardinality.MD_PARENT:o.attr("marker-start","url("+h+"#"+B.ERMarkers.MD_PARENT_START+")");break}const _=o.node().getTotalLength(),m=o.node().getPointAtLength(_*.5),g="rel"+ct,p=t.append("text").classed("er relationshipLabel",!0).attr("id",g).attr("x",m.x).attr("y",m.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",Z().fontFamily).style("font-size",k.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+g).classed("er relationshipLabelBox",!0).attr("x",m.x-p.width/2).attr("y",m.y-p.height/2).attr("width",p.width).attr("height",p.height)},se=function(t,e,r,u){k=Z().er,G.info("Drawing ER diagram");const l=Z().securityLevel;let f;l==="sandbox"&&(f=rt("#i"+e));const o=(l==="sandbox"?rt(f.nodes()[0].contentDocument.body):rt("body")).select(`[id='${e}']`);B.insertMarkers(o,k);let h;h=new Mt({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:k.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const _=re(o,u.db.getEntities(),h),m=ie(u.db.getRelationships(),h);wt(h),ae(o,h),m.forEach(function(I){ne(o,I,h,_,u)});const g=k.diagramPadding;Nt.insertTitle(o,"entityTitleText",k.titleTopMargin,u.db.getDiagramTitle());const R=o.node().getBBox(),p=R.width+g*2,x=R.height+g*2;xt(o,x,p,k.useMaxWidth),o.attr("viewBox",`${R.x-g} ${R.y-g} ${p} ${x}`)},oe="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function le(t="",e=""){const r=t.replace($t,"");return`${ht(e)}${ht(r)}${Jt(t,oe)}`}function ht(t=""){return t.length>0?`${t}-`:""}const ce={setConf:te,draw:se},he=t=>`
.entityBox {
fill: ${t.mainBkg};
stroke: ${t.nodeBorder};
}
.attributeBoxOdd {
fill: ${t.attributeBackgroundColorOdd};
stroke: ${t.nodeBorder};
}
.attributeBoxEven {
fill: ${t.attributeBackgroundColorEven};
stroke: ${t.nodeBorder};
}
.relationshipLabelBox {
fill: ${t.tertiaryColor};
opacity: 0.7;
background-color: ${t.tertiaryColor};
rect {
opacity: 0.5;
}
}
.relationshipLine {
stroke: ${t.lineColor};
}
.entityTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${t.textColor};
}
#MD_PARENT_START {
fill: #f5f5f5 !important;
stroke: ${t.lineColor} !important;
stroke-width: 1;
}
#MD_PARENT_END {
fill: #f5f5f5 !important;
stroke: ${t.lineColor} !important;
stroke-width: 1;
}
`,de=he,Ee={parser:It,db:Zt,renderer:ce,styles:de};export{Ee as diagram};
import{aF as I,at as b,au as J,c4 as V,ax as T,ay as d,aK as A,aW as lt}from"./index-Hfn5l4aw.js";import{a as et}from"./createText-77e212b0-L6d34XR_.js";import{l as ct}from"./line-b015ae81-MIcjsH1n.js";const ht=(a,t,r,i)=>{t.forEach(e=>{ut[e](a,r,i)})},ot=(a,t,r)=>{d.trace("Making markers for ",r),a.append("defs").append("marker").attr("id",r+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id",r+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},ft=(a,t,r)=>{a.append("defs").append("marker").attr("id",r+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",r+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},pt=(a,t,r)=>{a.append("defs").append("marker").attr("id",r+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",r+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},yt=(a,t,r)=>{a.append("defs").append("marker").attr("id",r+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",r+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},dt=(a,t,r)=>{a.append("defs").append("marker").attr("id",r+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),a.append("defs").append("marker").attr("id",r+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},gt=(a,t,r)=>{a.append("marker").attr("id",r+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",r+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},xt=(a,t,r)=>{a.append("marker").attr("id",r+"_"+t+"-circleEnd").attr("class","marker "+t).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"),a.append("marker").attr("id",r+"_"+t+"-circleStart").attr("class","marker "+t).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")},wt=(a,t,r)=>{a.append("marker").attr("id",r+"_"+t+"-crossEnd").attr("class","marker cross "+t).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"),a.append("marker").attr("id",r+"_"+t+"-crossStart").attr("class","marker cross "+t).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")},bt=(a,t,r)=>{a.append("defs").append("marker").attr("id",r+"_"+t+"-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")},ut={extension:ot,composition:ft,aggregation:pt,dependency:yt,lollipop:dt,point:gt,circle:xt,cross:wt,barb:bt},sr=ht;function mt(a,t){t&&a.attr("style",t)}function kt(a){const t=T(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=t.append("xhtml:div"),i=a.label,e=a.isNode?"nodeLabel":"edgeLabel";return r.html('<span class="'+e+'" '+(a.labelStyle?'style="'+a.labelStyle+'"':"")+">"+i+"</span>"),mt(r,a.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const vt=(a,t,r,i)=>{let e=a||"";if(typeof e=="object"&&(e=e[0]),I(b().flowchart.htmlLabels)){e=e.replace(/\\n|\n/g,"<br />"),d.info("vertexText"+e);const s={isNode:i,label:V(e).replace(/fa[blrs]?:fa-[\w-]+/g,l=>`<i class='${l.replace(":"," ")}'></i>`),labelStyle:t.replace("fill:","color:")};return kt(s)}else{const s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",t.replace("color:","fill:"));let n=[];typeof e=="string"?n=e.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(e)?n=e:n=[];for(const l of n){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),r?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=l.trim(),s.appendChild(c)}return s}},R=vt,E=async(a,t,r,i)=>{let e;const s=t.useHtmlLabels||I(b().flowchart.htmlLabels);r?e=r:e="node default";const n=a.insert("g").attr("class",e).attr("id",t.domId||t.id),l=n.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=l.node();let h;t.labelType==="markdown"?h=et(l,J(V(c),b()),{useHtmlLabels:s,width:t.width||b().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(R(J(V(c),b()),t.labelStyle,!1,i));let f=h.getBBox();const y=t.padding/2;if(I(b().flowchart.htmlLabels)){const p=h.children[0],x=T(h),m=p.getElementsByTagName("img");if(m){const g=c.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...m].map(w=>new Promise(S=>{function B(){if(w.style.display="flex",w.style.flexDirection="column",g){const C=b().fontSize?b().fontSize:window.getComputedStyle(document.body).fontSize,D=parseInt(C,10)*5+"px";w.style.minWidth=D,w.style.maxWidth=D}else w.style.width="100%";S(w)}setTimeout(()=>{w.complete&&B()}),w.addEventListener("error",B),w.addEventListener("load",B)})))}f=p.getBoundingClientRect(),x.attr("width",f.width),x.attr("height",f.height)}return s?l.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):l.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&l.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),l.insert("rect",":first-child"),{shapeSvg:n,bbox:f,halfPadding:y,label:l}},k=(a,t)=>{const r=t.node().getBBox();a.width=r.width,a.height=r.height};function N(a,t,r,i){return a.insert("polygon",":first-child").attr("points",i.map(function(e){return e.x+","+e.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+r/2+")")}function Lt(a,t){return a.intersect(t)}function st(a,t,r,i){var e=a.x,s=a.y,n=e-i.x,l=s-i.y,c=Math.sqrt(t*t*l*l+r*r*n*n),o=Math.abs(t*r*n/c);i.x<e&&(o=-o);var h=Math.abs(t*r*l/c);return i.y<s&&(h=-h),{x:e+o,y:s+h}}function St(a,t,r){return st(a,t,t,r)}function Mt(a,t,r,i){var e,s,n,l,c,o,h,f,y,p,x,m,g,w,S;if(e=t.y-a.y,n=a.x-t.x,c=t.x*a.y-a.x*t.y,y=e*r.x+n*r.y+c,p=e*i.x+n*i.y+c,!(y!==0&&p!==0&&K(y,p))&&(s=i.y-r.y,l=r.x-i.x,o=i.x*r.y-r.x*i.y,h=s*a.x+l*a.y+o,f=s*t.x+l*t.y+o,!(h!==0&&f!==0&&K(h,f))&&(x=e*l-s*n,x!==0)))return m=Math.abs(x/2),g=n*o-l*c,w=g<0?(g-m)/x:(g+m)/x,g=s*c-e*o,S=g<0?(g-m)/x:(g+m)/x,{x:w,y:S}}function K(a,t){return a*t>0}function Bt(a,t,r){var i=a.x,e=a.y,s=[],n=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(x){n=Math.min(n,x.x),l=Math.min(l,x.y)}):(n=Math.min(n,t.x),l=Math.min(l,t.y));for(var c=i-a.width/2-n,o=e-a.height/2-l,h=0;h<t.length;h++){var f=t[h],y=t[h<t.length-1?h+1:0],p=Mt(a,r,{x:c+f.x,y:o+f.y},{x:c+y.x,y:o+y.y});p&&s.push(p)}return s.length?(s.length>1&&s.sort(function(x,m){var g=x.x-r.x,w=x.y-r.y,S=Math.sqrt(g*g+w*w),B=m.x-r.x,C=m.y-r.y,O=Math.sqrt(B*B+C*C);return S<O?-1:S===O?0:1}),s[0]):a}const Tt=(a,t)=>{var r=a.x,i=a.y,e=t.x-r,s=t.y-i,n=a.width/2,l=a.height/2,c,o;return Math.abs(s)*n>Math.abs(e)*l?(s<0&&(l=-l),c=s===0?0:l*e/s,o=l):(e<0&&(n=-n),c=n,o=e===0?0:n*s/e),{x:r+c,y:i+o}},Et=Tt,u={node:Lt,circle:St,ellipse:st,polygon:Bt,rect:Et},Ct=async(a,t)=>{t.useHtmlLabels||b().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:i,bbox:e,halfPadding:s}=await E(a,t,"node "+t.classes,!0);d.info("Classes = ",t.classes);const n=i.insert("rect",":first-child");return n.attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2-s).attr("y",-e.height/2-s).attr("width",e.width+t.padding).attr("height",e.height+t.padding),k(t,n),t.intersect=function(l){return u.rect(t,l)},i},_t=Ct,q=a=>a?" "+a:"",$=(a,t)=>`${t||"node default"}${q(a.classes)} ${q(a.class)}`,G=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=i.height+t.padding,n=e+s,l=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}];d.info("Question main (Circle)");const c=N(r,n,n,l);return c.attr("style",t.style),k(t,c),t.intersect=function(o){return d.warn("Intersect called"),u.polygon(t,l,o)},r},$t=(a,t)=>{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=28,e=[{x:0,y:i/2},{x:i/2,y:0},{x:0,y:-i/2},{x:-i/2,y:0}];return r.insert("polygon",":first-child").attr("points",e.map(function(n){return n.x+","+n.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(n){return u.circle(t,14,n)},r},Rt=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=4,s=i.height+t.padding,n=s/e,l=i.width+2*n+t.padding,c=[{x:n,y:0},{x:l-n,y:0},{x:l,y:-s/2},{x:l-n,y:-s},{x:n,y:-s},{x:0,y:-s/2}],o=N(r,l,s,c);return o.attr("style",t.style),k(t,o),t.intersect=function(h){return u.polygon(t,c,h)},r},It=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=i.height+t.padding,n=[{x:-s/2,y:0},{x:e,y:0},{x:e,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return N(r,e,s,n).attr("style",t.style),t.width=e+s,t.height=s,t.intersect=function(c){return u.polygon(t,n,c)},r},Ht=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t),!0),e=i.width+t.padding,s=i.height+t.padding,n=[{x:-2*s/6,y:0},{x:e-s/6,y:0},{x:e+2*s/6,y:-s},{x:s/6,y:-s}],l=N(r,e,s,n);return l.attr("style",t.style),k(t,l),t.intersect=function(c){return u.polygon(t,n,c)},r},Nt=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=i.height+t.padding,n=[{x:2*s/6,y:0},{x:e+s/6,y:0},{x:e-2*s/6,y:-s},{x:-s/6,y:-s}],l=N(r,e,s,n);return l.attr("style",t.style),k(t,l),t.intersect=function(c){return u.polygon(t,n,c)},r},Wt=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=i.height+t.padding,n=[{x:-2*s/6,y:0},{x:e+2*s/6,y:0},{x:e-s/6,y:-s},{x:s/6,y:-s}],l=N(r,e,s,n);return l.attr("style",t.style),k(t,l),t.intersect=function(c){return u.polygon(t,n,c)},r},Xt=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=i.height+t.padding,n=[{x:s/6,y:0},{x:e-s/6,y:0},{x:e+2*s/6,y:-s},{x:-2*s/6,y:-s}],l=N(r,e,s,n);return l.attr("style",t.style),k(t,l),t.intersect=function(c){return u.polygon(t,n,c)},r},Ot=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=i.height+t.padding,n=[{x:0,y:0},{x:e+s/2,y:0},{x:e,y:-s/2},{x:e+s/2,y:-s},{x:0,y:-s}],l=N(r,e,s,n);return l.attr("style",t.style),k(t,l),t.intersect=function(c){return u.polygon(t,n,c)},r},Yt=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=e/2,n=s/(2.5+e/50),l=i.height+n+t.padding,c="M 0,"+n+" a "+s+","+n+" 0,0,0 "+e+" 0 a "+s+","+n+" 0,0,0 "+-e+" 0 l 0,"+l+" a "+s+","+n+" 0,0,0 "+e+" 0 l 0,"+-l,o=r.attr("label-offset-y",n).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-e/2+","+-(l/2+n)+")");return k(t,o),t.intersect=function(h){const f=u.rect(t,h),y=f.x-t.x;if(s!=0&&(Math.abs(y)<t.width/2||Math.abs(y)==t.width/2&&Math.abs(f.y-t.y)>t.height/2-n)){let p=n*n*(1-y*y/(s*s));p!=0&&(p=Math.sqrt(p)),p=n-p,h.y-t.y>0&&(p=-p),f.y+=p}return f},r},Dt=async(a,t)=>{const{shapeSvg:r,bbox:i,halfPadding:e}=await E(a,t,"node "+t.classes+" "+t.class,!0),s=r.insert("rect",":first-child"),n=i.width+t.padding,l=i.height+t.padding;if(s.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-i.width/2-e).attr("y",-i.height/2-e).attr("width",n).attr("height",l),t.props){const c=new Set(Object.keys(t.props));t.props.borders&&(it(s,t.props.borders,n,l),c.delete("borders")),c.forEach(o=>{d.warn(`Unknown node property ${o}`)})}return k(t,s),t.intersect=function(c){return u.rect(t,c)},r},jt=async(a,t)=>{const{shapeSvg:r}=await E(a,t,"label",!0);d.trace("Classes = ",t.class);const i=r.insert("rect",":first-child"),e=0,s=0;if(i.attr("width",e).attr("height",s),r.attr("class","label edgeLabel"),t.props){const n=new Set(Object.keys(t.props));t.props.borders&&(it(i,t.props.borders,e,s),n.delete("borders")),n.forEach(l=>{d.warn(`Unknown node property ${l}`)})}return k(t,i),t.intersect=function(n){return u.rect(t,n)},r};function it(a,t,r,i){const e=[],s=l=>{e.push(l,0)},n=l=>{e.push(0,l)};t.includes("t")?(d.debug("add top border"),s(r)):n(r),t.includes("r")?(d.debug("add right border"),s(i)):n(i),t.includes("b")?(d.debug("add bottom border"),s(r)):n(r),t.includes("l")?(d.debug("add left border"),s(i)):n(i),a.attr("stroke-dasharray",e.join(" "))}const At=(a,t)=>{let r;t.classes?r="node "+t.classes:r="node default";const i=a.insert("g").attr("class",r).attr("id",t.domId||t.id),e=i.insert("rect",":first-child"),s=i.insert("line"),n=i.insert("g").attr("class","label"),l=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof l=="object"?c=l[0]:c=l,d.info("Label text abc79",c,l,typeof l=="object");const o=n.node().appendChild(R(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(I(b().flowchart.htmlLabels)){const m=o.children[0],g=T(o);h=m.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}d.info("Text 2",l);const f=l.slice(1,l.length);let y=o.getBBox();const p=n.node().appendChild(R(f.join?f.join("<br/>"):f,t.labelStyle,!0,!0));if(I(b().flowchart.htmlLabels)){const m=p.children[0],g=T(p);h=m.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}const x=t.padding/2;return T(p).attr("transform","translate( "+(h.width>y.width?0:(y.width-h.width)/2)+", "+(y.height+x+5)+")"),T(o).attr("transform","translate( "+(h.width<y.width?0:-(y.width-h.width)/2)+", 0)"),h=n.node().getBBox(),n.attr("transform","translate("+-h.width/2+", "+(-h.height/2-x+3)+")"),e.attr("class","outer title-state").attr("x",-h.width/2-x).attr("y",-h.height/2-x).attr("width",h.width+t.padding).attr("height",h.height+t.padding),s.attr("class","divider").attr("x1",-h.width/2-x).attr("x2",h.width/2+x).attr("y1",-h.height/2-x+y.height+x).attr("y2",-h.height/2-x+y.height+x),k(t,e),t.intersect=function(m){return u.rect(t,m)},i},Ut=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.height+t.padding,s=i.width+e/4+t.padding,n=r.insert("rect",":first-child").attr("style",t.style).attr("rx",e/2).attr("ry",e/2).attr("x",-s/2).attr("y",-e/2).attr("width",s).attr("height",e);return k(t,n),t.intersect=function(l){return u.rect(t,l)},r},zt=async(a,t)=>{const{shapeSvg:r,bbox:i,halfPadding:e}=await E(a,t,$(t,void 0),!0),s=r.insert("circle",":first-child");return s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+e).attr("width",i.width+t.padding).attr("height",i.height+t.padding),d.info("Circle main"),k(t,s),t.intersect=function(n){return d.info("Circle intersect",t,i.width/2+e,n),u.circle(t,i.width/2+e,n)},r},Zt=async(a,t)=>{const{shapeSvg:r,bbox:i,halfPadding:e}=await E(a,t,$(t,void 0),!0),s=5,n=r.insert("g",":first-child"),l=n.insert("circle"),c=n.insert("circle");return n.attr("class",t.class),l.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+e+s).attr("width",i.width+t.padding+s*2).attr("height",i.height+t.padding+s*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+e).attr("width",i.width+t.padding).attr("height",i.height+t.padding),d.info("DoubleCircle main"),k(t,l),t.intersect=function(o){return d.info("DoubleCircle intersect",t,i.width/2+e+s,o),u.circle(t,i.width/2+e+s,o)},r},Ft=async(a,t)=>{const{shapeSvg:r,bbox:i}=await E(a,t,$(t,void 0),!0),e=i.width+t.padding,s=i.height+t.padding,n=[{x:0,y:0},{x:e,y:0},{x:e,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:e+8,y:0},{x:e+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],l=N(r,e,s,n);return l.attr("style",t.style),k(t,l),t.intersect=function(c){return u.polygon(t,n,c)},r},Qt=(a,t)=>{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),k(t,i),t.intersect=function(e){return u.circle(t,7,e)},r},P=(a,t,r)=>{const i=a.insert("g").attr("class","node default").attr("id",t.domId||t.id);let e=70,s=10;r==="LR"&&(e=10,s=70);const n=i.append("rect").attr("x",-1*e/2).attr("y",-1*s/2).attr("width",e).attr("height",s).attr("class","fork-join");return k(t,n),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(l){return u.rect(t,l)},i},Vt=(a,t)=>{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=r.insert("circle",":first-child"),e=r.insert("circle",":first-child");return e.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),k(t,e),t.intersect=function(s){return u.circle(t,7,s)},r},Jt=(a,t)=>{const r=t.padding/2,i=4,e=8;let s;t.classes?s="node "+t.classes:s="node default";const n=a.insert("g").attr("class",s).attr("id",t.domId||t.id),l=n.insert("rect",":first-child"),c=n.insert("line"),o=n.insert("line");let h=0,f=i;const y=n.insert("g").attr("class","label");let p=0;const x=t.classData.annotations&&t.classData.annotations[0],m=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",g=y.node().appendChild(R(m,t.labelStyle,!0,!0));let w=g.getBBox();if(I(b().flowchart.htmlLabels)){const v=g.children[0],L=T(g);w=v.getBoundingClientRect(),L.attr("width",w.width),L.attr("height",w.height)}t.classData.annotations[0]&&(f+=w.height+i,h+=w.width);let S=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(b().flowchart.htmlLabels?S+="<"+t.classData.type+">":S+="<"+t.classData.type+">");const B=y.node().appendChild(R(S,t.labelStyle,!0,!0));T(B).attr("class","classTitle");let C=B.getBBox();if(I(b().flowchart.htmlLabels)){const v=B.children[0],L=T(B);C=v.getBoundingClientRect(),L.attr("width",C.width),L.attr("height",C.height)}f+=C.height+i,C.width>h&&(h=C.width);const O=[];t.classData.members.forEach(v=>{const L=v.getDisplayDetails();let X=L.displayText;b().flowchart.htmlLabels&&(X=X.replace(/</g,"<").replace(/>/g,">"));const H=y.node().appendChild(R(X,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let _=H.getBBox();if(I(b().flowchart.htmlLabels)){const Q=H.children[0],j=T(H);_=Q.getBoundingClientRect(),j.attr("width",_.width),j.attr("height",_.height)}_.width>h&&(h=_.width),f+=_.height+i,O.push(H)}),f+=e;const D=[];if(t.classData.methods.forEach(v=>{const L=v.getDisplayDetails();let X=L.displayText;b().flowchart.htmlLabels&&(X=X.replace(/</g,"<").replace(/>/g,">"));const H=y.node().appendChild(R(X,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let _=H.getBBox();if(I(b().flowchart.htmlLabels)){const Q=H.children[0],j=T(H);_=Q.getBoundingClientRect(),j.attr("width",_.width),j.attr("height",_.height)}_.width>h&&(h=_.width),f+=_.height+i,D.push(H)}),f+=e,x){let v=(h-w.width)/2;T(g).attr("transform","translate( "+(-1*h/2+v)+", "+-1*f/2+")"),p=w.height+i}let nt=(h-C.width)/2;return T(B).attr("transform","translate( "+(-1*h/2+nt)+", "+(-1*f/2+p)+")"),p+=C.height+i,c.attr("class","divider").attr("x1",-h/2-r).attr("x2",h/2+r).attr("y1",-f/2-r+e+p).attr("y2",-f/2-r+e+p),p+=e,O.forEach(v=>{T(v).attr("transform","translate( "+-h/2+", "+(-1*f/2+p+e/2)+")");const L=v==null?void 0:v.getBBox();p+=((L==null?void 0:L.height)??0)+i}),p+=e,o.attr("class","divider").attr("x1",-h/2-r).attr("x2",h/2+r).attr("y1",-f/2-r+e+p).attr("y2",-f/2-r+e+p),p+=e,D.forEach(v=>{T(v).attr("transform","translate( "+-h/2+", "+(-1*f/2+p)+")");const L=v==null?void 0:v.getBBox();p+=((L==null?void 0:L.height)??0)+i}),l.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-r).attr("y",-(f/2)-r).attr("width",h+t.padding).attr("height",f+t.padding),k(t,l),t.intersect=function(v){return u.rect(t,v)},n},tt={rhombus:G,question:G,rect:Dt,labelRect:jt,rectWithTitle:At,choice:$t,circle:zt,doublecircle:Zt,stadium:Ut,hexagon:Rt,rect_left_inv_arrow:It,lean_right:Ht,lean_left:Nt,trapezoid:Wt,inv_trapezoid:Xt,rect_right_inv_arrow:Ot,cylinder:Yt,start:Qt,end:Vt,note:_t,subroutine:Ft,fork:P,join:P,class_box:Jt};let Y={};const ir=async(a,t,r)=>{let i,e;if(t.link){let s;b().securityLevel==="sandbox"?s="_top":t.linkTarget&&(s=t.linkTarget||"_blank"),i=a.insert("svg:a").attr("xlink:href",t.link).attr("target",s),e=await tt[t.shape](i,t,r)}else e=await tt[t.shape](a,t,r),i=e;return t.tooltip&&e.attr("title",t.tooltip),t.class&&e.attr("class","node default "+t.class),Y[t.id]=i,t.haveCallback&&Y[t.id].attr("class",Y[t.id].attr("class")+" clickable"),i},nr=(a,t)=>{Y[t.id]=a},lr=()=>{Y={}},cr=a=>{const t=Y[a.id];d.trace("Transforming node",a.diff,a,"translate("+(a.x-a.width/2-5)+", "+a.width/2+")");const r=8,i=a.diff||0;return a.clusterNode?t.attr("transform","translate("+(a.x+i-a.width/2)+", "+(a.y-a.height/2-r)+")"):t.attr("transform","translate("+a.x+", "+a.y+")"),i},W={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function U(a,t){if(a===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};a=Z(a),t=Z(t);const[r,i]=[a.x,a.y],[e,s]=[t.x,t.y],n=e-r,l=s-i;return{angle:Math.atan(l/n),deltaX:n,deltaY:l}}const Z=a=>Array.isArray(a)?{x:a[0],y:a[1]}:a,Kt=a=>({x:function(t,r,i){let e=0;if(r===0&&Object.hasOwn(W,a.arrowTypeStart)){const{angle:s,deltaX:n}=U(i[0],i[1]);e=W[a.arrowTypeStart]*Math.cos(s)*(n>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(W,a.arrowTypeEnd)){const{angle:s,deltaX:n}=U(i[i.length-1],i[i.length-2]);e=W[a.arrowTypeEnd]*Math.cos(s)*(n>=0?1:-1)}return Z(t).x+e},y:function(t,r,i){let e=0;if(r===0&&Object.hasOwn(W,a.arrowTypeStart)){const{angle:s,deltaY:n}=U(i[0],i[1]);e=W[a.arrowTypeStart]*Math.abs(Math.sin(s))*(n>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(W,a.arrowTypeEnd)){const{angle:s,deltaY:n}=U(i[i.length-1],i[i.length-2]);e=W[a.arrowTypeEnd]*Math.abs(Math.sin(s))*(n>=0?1:-1)}return Z(t).y+e}}),qt=(a,t,r,i,e)=>{t.arrowTypeStart&&rt(a,"start",t.arrowTypeStart,r,i,e),t.arrowTypeEnd&&rt(a,"end",t.arrowTypeEnd,r,i,e)},Gt={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},rt=(a,t,r,i,e,s)=>{const n=Gt[r];if(!n){d.warn(`Unknown arrow type: ${r}`);return}const l=t==="start"?"Start":"End";a.attr(`marker-${t}`,`url(${i}#${e}_${s}-${n}${l})`)};let F={},M={};const hr=()=>{F={},M={}},or=(a,t)=>{const r=I(b().flowchart.htmlLabels),i=t.labelType==="markdown"?et(a,t.label,{style:t.labelStyle,useHtmlLabels:r,addSvgBackground:!0}):R(t.label,t.labelStyle);d.info("abc82",t,t.labelType);const e=a.insert("g").attr("class","edgeLabel"),s=e.insert("g").attr("class","label");s.node().appendChild(i);let n=i.getBBox();if(r){const c=i.children[0],o=T(i);n=c.getBoundingClientRect(),o.attr("width",n.width),o.attr("height",n.height)}s.attr("transform","translate("+-n.width/2+", "+-n.height/2+")"),F[t.id]=e,t.width=n.width,t.height=n.height;let l;if(t.startLabelLeft){const c=R(t.startLabelLeft,t.labelStyle),o=a.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");l=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),M[t.id]||(M[t.id]={}),M[t.id].startLeft=o,z(l,t.startLabelLeft)}if(t.startLabelRight){const c=R(t.startLabelRight,t.labelStyle),o=a.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");l=o.node().appendChild(c),h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),M[t.id]||(M[t.id]={}),M[t.id].startRight=o,z(l,t.startLabelRight)}if(t.endLabelLeft){const c=R(t.endLabelLeft,t.labelStyle),o=a.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");l=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),M[t.id]||(M[t.id]={}),M[t.id].endLeft=o,z(l,t.endLabelLeft)}if(t.endLabelRight){const c=R(t.endLabelRight,t.labelStyle),o=a.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");l=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),M[t.id]||(M[t.id]={}),M[t.id].endRight=o,z(l,t.endLabelRight)}return i};function z(a,t){b().flowchart.htmlLabels&&a&&(a.style.width=t.length*9+"px",a.style.height="12px")}const fr=(a,t)=>{d.info("Moving label abc78 ",a.id,a.label,F[a.id]);let r=t.updatedPath?t.updatedPath:t.originalPath;if(a.label){const i=F[a.id];let e=a.x,s=a.y;if(r){const n=A.calcLabelPosition(r);d.info("Moving label "+a.label+" from (",e,",",s,") to (",n.x,",",n.y,") abc78"),t.updatedPath&&(e=n.x,s=n.y)}i.attr("transform","translate("+e+", "+s+")")}if(a.startLabelLeft){const i=M[a.id].startLeft;let e=a.x,s=a.y;if(r){const n=A.calcTerminalLabelPosition(a.arrowTypeStart?10:0,"start_left",r);e=n.x,s=n.y}i.attr("transform","translate("+e+", "+s+")")}if(a.startLabelRight){const i=M[a.id].startRight;let e=a.x,s=a.y;if(r){const n=A.calcTerminalLabelPosition(a.arrowTypeStart?10:0,"start_right",r);e=n.x,s=n.y}i.attr("transform","translate("+e+", "+s+")")}if(a.endLabelLeft){const i=M[a.id].endLeft;let e=a.x,s=a.y;if(r){const n=A.calcTerminalLabelPosition(a.arrowTypeEnd?10:0,"end_left",r);e=n.x,s=n.y}i.attr("transform","translate("+e+", "+s+")")}if(a.endLabelRight){const i=M[a.id].endRight;let e=a.x,s=a.y;if(r){const n=A.calcTerminalLabelPosition(a.arrowTypeEnd?10:0,"end_right",r);e=n.x,s=n.y}i.attr("transform","translate("+e+", "+s+")")}},Pt=(a,t)=>{const r=a.x,i=a.y,e=Math.abs(t.x-r),s=Math.abs(t.y-i),n=a.width/2,l=a.height/2;return e>=n||s>=l},tr=(a,t,r)=>{d.warn(`intersection calc abc89:
outsidePoint: ${JSON.stringify(t)}
insidePoint : ${JSON.stringify(r)}
node : x:${a.x} y:${a.y} w:${a.width} h:${a.height}`);const i=a.x,e=a.y,s=Math.abs(i-r.x),n=a.width/2;let l=r.x<t.x?n-s:n+s;const c=a.height/2,o=Math.abs(t.y-r.y),h=Math.abs(t.x-r.x);if(Math.abs(e-t.y)*n>Math.abs(i-t.x)*c){let f=r.y<t.y?t.y-c-e:e-c-t.y;l=h*f/o;const y={x:r.x<t.x?r.x+l:r.x-h+l,y:r.y<t.y?r.y+o-f:r.y-o+f};return l===0&&(y.x=t.x,y.y=t.y),h===0&&(y.x=t.x),o===0&&(y.y=t.y),d.warn(`abc89 topp/bott calc, Q ${o}, q ${f}, R ${h}, r ${l}`,y),y}else{r.x<t.x?l=t.x-n-i:l=i-n-t.x;let f=o*l/h,y=r.x<t.x?r.x+h-l:r.x-h+l,p=r.y<t.y?r.y+f:r.y-f;return d.warn(`sides calc abc89, Q ${o}, q ${f}, R ${h}, r ${l}`,{_x:y,_y:p}),l===0&&(y=t.x,p=t.y),h===0&&(y=t.x),o===0&&(p=t.y),{x:y,y:p}}},at=(a,t)=>{d.warn("abc88 cutPathAtIntersect",a,t);let r=[],i=a[0],e=!1;return a.forEach(s=>{if(d.info("abc88 checking point",s,t),!Pt(t,s)&&!e){const n=tr(t,i,s);d.warn("abc88 inside",s,i,n),d.warn("abc88 intersection",n);let l=!1;r.forEach(c=>{l=l||c.x===n.x&&c.y===n.y}),r.some(c=>c.x===n.x&&c.y===n.y)?d.warn("abc88 no intersect",n,r):r.push(n),e=!0}else d.warn("abc88 outside",s,i),i=s,e||r.push(s)}),d.warn("abc88 returning points",r),r},pr=function(a,t,r,i,e,s,n){let l=r.points,c=!1;const o=s.node(t.v);var h=s.node(t.w);d.info("abc88 InsertEdge: ",r),h.intersect&&o.intersect&&(l=l.slice(1,r.points.length-1),l.unshift(o.intersect(l[0])),d.info("Last point",l[l.length-1],h,h.intersect(l[l.length-1])),l.push(h.intersect(l[l.length-1]))),r.toCluster&&(d.info("to cluster abc88",i[r.toCluster]),l=at(r.points,i[r.toCluster].node),c=!0),r.fromCluster&&(d.info("from cluster abc88",i[r.fromCluster]),l=at(l.reverse(),i[r.fromCluster].node).reverse(),c=!0);const f=l.filter(C=>!Number.isNaN(C.y));let y=lt;r.curve&&(e==="graph"||e==="flowchart")&&(y=r.curve);const{x:p,y:x}=Kt(r),m=ct().x(p).y(x).curve(y);let g;switch(r.thickness){case"normal":g="edge-thickness-normal";break;case"thick":g="edge-thickness-thick";break;case"invisible":g="edge-thickness-thick";break;default:g=""}switch(r.pattern){case"solid":g+=" edge-pattern-solid";break;case"dotted":g+=" edge-pattern-dotted";break;case"dashed":g+=" edge-pattern-dashed";break}const w=a.append("path").attr("d",m(f)).attr("id",r.id).attr("class"," "+g+(r.classes?" "+r.classes:"")).attr("style",r.style);let S="";(b().flowchart.arrowMarkerAbsolute||b().state.arrowMarkerAbsolute)&&(S=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,S=S.replace(/\(/g,"\\("),S=S.replace(/\)/g,"\\)")),d.info("arrowTypeStart",r.arrowTypeStart),d.info("arrowTypeEnd",r.arrowTypeEnd),qt(w,r,S,n,e);let B={};return c&&(B.updatedPath=l),B.originalPath=r.points,B};export{ir as a,or as b,pr as c,fr as d,lr as e,hr as f,R as g,Et as h,sr as i,Kt as j,qt as k,E as l,cr as p,nr as s,k as u};
import{ay as At,c4 as zt,cl as It}from"./index-Hfn5l4aw.js";const Tt={};function Bt(n,r){const t=r||Tt,e=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,u=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return et(n,e,u)}function et(n,r,t){if(Lt(n)){if("value"in n)return n.type==="html"&&!t?"":n.value;if(r&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Vn(n.children,r,t)}return Array.isArray(n)?Vn(n,r,t):""}function Vn(n,r,t){const e=[];let u=-1;for(;++u<n.length;)e[u]=et(n[u],r,t);return e.join("")}function Lt(n){return!!(n&&typeof n=="object")}function tn(n,r,t,e){const u=n.length;let i=0,l;if(r<0?r=-r>u?0:u+r:r=r>u?u:r,t=t>0?t:0,e.length<1e4)l=Array.from(e),l.unshift(r,t),n.splice(...l);else for(t&&n.splice(r,t);i<e.length;)l=e.slice(i,i+1e4),l.unshift(r,0),n.splice(...l),i+=1e4,r+=1e4}function Z(n,r){return n.length>0?(tn(n,n.length,0,r),n):r}const Wn={}.hasOwnProperty;function Ot(n){const r={};let t=-1;for(;++t<n.length;)Dt(r,n[t]);return r}function Dt(n,r){let t;for(t in r){const u=(Wn.call(n,t)?n[t]:void 0)||(n[t]={}),i=r[t];let l;if(i)for(l in i){Wn.call(u,l)||(u[l]=[]);const a=i[l];Pt(u[l],Array.isArray(a)?a:a?[a]:[])}}}function Pt(n,r){let t=-1;const e=[];for(;++t<r.length;)(r[t].add==="after"?n:e).push(r[t]);tn(n,0,0,e)}const _t=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,nn=cn(/[A-Za-z]/),X=cn(/[\dA-Za-z]/),Mt=cn(/[#-'*+\--9=?A-Z^-~]/);function An(n){return n!==null&&(n<32||n===127)}const zn=cn(/\d/),jt=cn(/[\dA-Fa-f]/),Rt=cn(/[!-/:-@[-`{-~]/);function C(n){return n!==null&&n<-2}function v(n){return n!==null&&(n<0||n===32)}function z(n){return n===-2||n===-1||n===32}const qt=cn(_t),Ht=cn(/\s/);function cn(n){return r;function r(t){return t!==null&&n.test(String.fromCharCode(t))}}function O(n,r,t,e){const u=e?e-1:Number.POSITIVE_INFINITY;let i=0;return l;function l(f){return z(f)?(n.enter(t),a(f)):r(f)}function a(f){return z(f)&&i++<u?(n.consume(f),a):(n.exit(t),r(f))}}const Nt={tokenize:Vt};function Vt(n){const r=n.attempt(this.parser.constructs.contentInitial,e,u);let t;return r;function e(a){if(a===null){n.consume(a);return}return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),O(n,r,"linePrefix")}function u(a){return n.enter("paragraph"),i(a)}function i(a){const f=n.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=f),t=f,l(a)}function l(a){if(a===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(a);return}return C(a)?(n.consume(a),n.exit("chunkText"),i):(n.consume(a),l)}}const Wt={tokenize:Qt},Qn={tokenize:Ut};function Qt(n){const r=this,t=[];let e=0,u,i,l;return a;function a(F){if(e<t.length){const D=t[e];return r.containerState=D[1],n.attempt(D[0].continuation,f,c)(F)}return c(F)}function f(F){if(e++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,u&&j();const D=r.events.length;let _=D,k;for(;_--;)if(r.events[_][0]==="exit"&&r.events[_][1].type==="chunkFlow"){k=r.events[_][1].end;break}y(e);let T=D;for(;T<r.events.length;)r.events[T][1].end=Object.assign({},k),T++;return tn(r.events,_+1,0,r.events.slice(D)),r.events.length=T,c(F)}return a(F)}function c(F){if(e===t.length){if(!u)return x(F);if(u.currentConstruct&&u.currentConstruct.concrete)return A(F);r.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return r.containerState={},n.check(Qn,p,m)(F)}function p(F){return u&&j(),y(e),x(F)}function m(F){return r.parser.lazy[r.now().line]=e!==t.length,l=r.now().offset,A(F)}function x(F){return r.containerState={},n.attempt(Qn,h,A)(F)}function h(F){return e++,t.push([r.currentConstruct,r.containerState]),x(F)}function A(F){if(F===null){u&&j(),y(0),n.consume(F);return}return u=u||r.parser.flow(r.now()),n.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:u}),I(F)}function I(F){if(F===null){M(n.exit("chunkFlow"),!0),y(0),n.consume(F);return}return C(F)?(n.consume(F),M(n.exit("chunkFlow")),e=0,r.interrupt=void 0,a):(n.consume(F),I)}function M(F,D){const _=r.sliceStream(F);if(D&&_.push(null),F.previous=i,i&&(i.next=F),i=F,u.defineSkip(F.start),u.write(_),r.parser.lazy[F.start.line]){let k=u.events.length;for(;k--;)if(u.events[k][1].start.offset<l&&(!u.events[k][1].end||u.events[k][1].end.offset>l))return;const T=r.events.length;let H=T,N,V;for(;H--;)if(r.events[H][0]==="exit"&&r.events[H][1].type==="chunkFlow"){if(N){V=r.events[H][1].end;break}N=!0}for(y(e),k=T;k<r.events.length;)r.events[k][1].end=Object.assign({},V),k++;tn(r.events,H+1,0,r.events.slice(T)),r.events.length=k}}function y(F){let D=t.length;for(;D-- >F;){const _=t[D];r.containerState=_[1],_[0].exit.call(r,n)}t.length=F}function j(){u.write([null]),i=void 0,u=void 0,r.containerState._closeFlow=void 0}}function Ut(n,r,t){return O(n,n.attempt(this.parser.constructs.document,r,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Un(n){if(n===null||v(n)||Ht(n))return 1;if(qt(n))return 2}function Ln(n,r,t){const e=[];let u=-1;for(;++u<n.length;){const i=n[u].resolveAll;i&&!e.includes(i)&&(r=i(r,t),e.push(i))}return r}const In={name:"attention",tokenize:vt,resolveAll:$t};function $t(n,r){let t=-1,e,u,i,l,a,f,c,p;for(;++t<n.length;)if(n[t][0]==="enter"&&n[t][1].type==="attentionSequence"&&n[t][1]._close){for(e=t;e--;)if(n[e][0]==="exit"&&n[e][1].type==="attentionSequence"&&n[e][1]._open&&r.sliceSerialize(n[e][1]).charCodeAt(0)===r.sliceSerialize(n[t][1]).charCodeAt(0)){if((n[e][1]._close||n[t][1]._open)&&(n[t][1].end.offset-n[t][1].start.offset)%3&&!((n[e][1].end.offset-n[e][1].start.offset+n[t][1].end.offset-n[t][1].start.offset)%3))continue;f=n[e][1].end.offset-n[e][1].start.offset>1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const m=Object.assign({},n[e][1].end),x=Object.assign({},n[t][1].start);$n(m,-f),$n(x,f),l={type:f>1?"strongSequence":"emphasisSequence",start:m,end:Object.assign({},n[e][1].end)},a={type:f>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:x},i={type:f>1?"strongText":"emphasisText",start:Object.assign({},n[e][1].end),end:Object.assign({},n[t][1].start)},u={type:f>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},a.end)},n[e][1].end=Object.assign({},l.start),n[t][1].start=Object.assign({},a.end),c=[],n[e][1].end.offset-n[e][1].start.offset&&(c=Z(c,[["enter",n[e][1],r],["exit",n[e][1],r]])),c=Z(c,[["enter",u,r],["enter",l,r],["exit",l,r],["enter",i,r]]),c=Z(c,Ln(r.parser.constructs.insideSpan.null,n.slice(e+1,t),r)),c=Z(c,[["exit",i,r],["enter",a,r],["exit",a,r],["exit",u,r]]),n[t][1].end.offset-n[t][1].start.offset?(p=2,c=Z(c,[["enter",n[t][1],r],["exit",n[t][1],r]])):p=0,tn(n,e-1,t-e+3,c),t=e+c.length-p-2;break}}for(t=-1;++t<n.length;)n[t][1].type==="attentionSequence"&&(n[t][1].type="data");return n}function vt(n,r){const t=this.parser.constructs.attentionMarkers.null,e=this.previous,u=Un(e);let i;return l;function l(f){return i=f,n.enter("attentionSequence"),a(f)}function a(f){if(f===i)return n.consume(f),a;const c=n.exit("attentionSequence"),p=Un(f),m=!p||p===2&&u||t.includes(f),x=!u||u===2&&p||t.includes(e);return c._open=!!(i===42?m:m&&(u||!x)),c._close=!!(i===42?x:x&&(p||!m)),r(f)}}function $n(n,r){n.column+=r,n.offset+=r,n._bufferIndex+=r}const Zt={name:"autolink",tokenize:Yt};function Yt(n,r,t){let e=0;return u;function u(h){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(h),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),i}function i(h){return nn(h)?(n.consume(h),l):c(h)}function l(h){return h===43||h===45||h===46||X(h)?(e=1,a(h)):c(h)}function a(h){return h===58?(n.consume(h),e=0,f):(h===43||h===45||h===46||X(h))&&e++<32?(n.consume(h),a):(e=0,c(h))}function f(h){return h===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(h),n.exit("autolinkMarker"),n.exit("autolink"),r):h===null||h===32||h===60||An(h)?t(h):(n.consume(h),f)}function c(h){return h===64?(n.consume(h),p):Mt(h)?(n.consume(h),c):t(h)}function p(h){return X(h)?m(h):t(h)}function m(h){return h===46?(n.consume(h),e=0,p):h===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(h),n.exit("autolinkMarker"),n.exit("autolink"),r):x(h)}function x(h){if((h===45||X(h))&&e++<63){const A=h===45?x:m;return n.consume(h),A}return t(h)}}const Sn={tokenize:Gt,partial:!0};function Gt(n,r,t){return e;function e(i){return z(i)?O(n,u,"linePrefix")(i):u(i)}function u(i){return i===null||C(i)?r(i):t(i)}}const rt={name:"blockQuote",tokenize:Jt,continuation:{tokenize:Kt},exit:Xt};function Jt(n,r,t){const e=this;return u;function u(l){if(l===62){const a=e.containerState;return a.open||(n.enter("blockQuote",{_container:!0}),a.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(l),n.exit("blockQuoteMarker"),i}return t(l)}function i(l){return z(l)?(n.enter("blockQuotePrefixWhitespace"),n.consume(l),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),r):(n.exit("blockQuotePrefix"),r(l))}}function Kt(n,r,t){const e=this;return u;function u(l){return z(l)?O(n,i,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):i(l)}function i(l){return n.attempt(rt,r,t)(l)}}function Xt(n){n.exit("blockQuote")}const it={name:"characterEscape",tokenize:ne};function ne(n,r,t){return e;function e(i){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(i),n.exit("escapeMarker"),u}function u(i){return Rt(i)?(n.enter("characterEscapeValue"),n.consume(i),n.exit("characterEscapeValue"),n.exit("characterEscape"),r):t(i)}}const vn=document.createElement("i");function On(n){const r="&"+n+";";vn.innerHTML=r;const t=vn.textContent;return t.charCodeAt(t.length-1)===59&&n!=="semi"||t===r?!1:t}const ut={name:"characterReference",tokenize:te};function te(n,r,t){const e=this;let u=0,i,l;return a;function a(m){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(m),n.exit("characterReferenceMarker"),f}function f(m){return m===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(m),n.exit("characterReferenceMarkerNumeric"),c):(n.enter("characterReferenceValue"),i=31,l=X,p(m))}function c(m){return m===88||m===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(m),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),i=6,l=jt,p):(n.enter("characterReferenceValue"),i=7,l=zn,p(m))}function p(m){if(m===59&&u){const x=n.exit("characterReferenceValue");return l===X&&!On(e.sliceSerialize(x))?t(m):(n.enter("characterReferenceMarker"),n.consume(m),n.exit("characterReferenceMarker"),n.exit("characterReference"),r)}return l(m)&&u++<i?(n.consume(m),p):t(m)}}const Zn={tokenize:re,partial:!0},Yn={name:"codeFenced",tokenize:ee,concrete:!0};function ee(n,r,t){const e=this,u={tokenize:_,partial:!0};let i=0,l=0,a;return f;function f(k){return c(k)}function c(k){const T=e.events[e.events.length-1];return i=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,a=k,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),p(k)}function p(k){return k===a?(l++,n.consume(k),p):l<3?t(k):(n.exit("codeFencedFenceSequence"),z(k)?O(n,m,"whitespace")(k):m(k))}function m(k){return k===null||C(k)?(n.exit("codeFencedFence"),e.interrupt?r(k):n.check(Zn,I,D)(k)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),x(k))}function x(k){return k===null||C(k)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),m(k)):z(k)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),O(n,h,"whitespace")(k)):k===96&&k===a?t(k):(n.consume(k),x)}function h(k){return k===null||C(k)?m(k):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),A(k))}function A(k){return k===null||C(k)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),m(k)):k===96&&k===a?t(k):(n.consume(k),A)}function I(k){return n.attempt(u,D,M)(k)}function M(k){return n.enter("lineEnding"),n.consume(k),n.exit("lineEnding"),y}function y(k){return i>0&&z(k)?O(n,j,"linePrefix",i+1)(k):j(k)}function j(k){return k===null||C(k)?n.check(Zn,I,D)(k):(n.enter("codeFlowValue"),F(k))}function F(k){return k===null||C(k)?(n.exit("codeFlowValue"),j(k)):(n.consume(k),F)}function D(k){return n.exit("codeFenced"),r(k)}function _(k,T,H){let N=0;return V;function V(w){return k.enter("lineEnding"),k.consume(w),k.exit("lineEnding"),d}function d(w){return k.enter("codeFencedFence"),z(w)?O(k,S,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):S(w)}function S(w){return w===a?(k.enter("codeFencedFenceSequence"),P(w)):H(w)}function P(w){return w===a?(N++,k.consume(w),P):N>=l?(k.exit("codeFencedFenceSequence"),z(w)?O(k,R,"whitespace")(w):R(w)):H(w)}function R(w){return w===null||C(w)?(k.exit("codeFencedFence"),T(w)):H(w)}}}function re(n,r,t){const e=this;return u;function u(l){return l===null?t(l):(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),i)}function i(l){return e.parser.lazy[e.now().line]?t(l):r(l)}}const Cn={name:"codeIndented",tokenize:ue},ie={tokenize:le,partial:!0};function ue(n,r,t){const e=this;return u;function u(c){return n.enter("codeIndented"),O(n,i,"linePrefix",5)(c)}function i(c){const p=e.events[e.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?l(c):t(c)}function l(c){return c===null?f(c):C(c)?n.attempt(ie,l,f)(c):(n.enter("codeFlowValue"),a(c))}function a(c){return c===null||C(c)?(n.exit("codeFlowValue"),l(c)):(n.consume(c),a)}function f(c){return n.exit("codeIndented"),r(c)}}function le(n,r,t){const e=this;return u;function u(l){return e.parser.lazy[e.now().line]?t(l):C(l)?(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),u):O(n,i,"linePrefix",5)(l)}function i(l){const a=e.events[e.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?r(l):C(l)?u(l):t(l)}}const ae={name:"codeText",tokenize:ce,resolve:oe,previous:se};function oe(n){let r=n.length-4,t=3,e,u;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[r][1].type==="lineEnding"||n[r][1].type==="space")){for(e=t;++e<r;)if(n[e][1].type==="codeTextData"){n[t][1].type="codeTextPadding",n[r][1].type="codeTextPadding",t+=2,r-=2;break}}for(e=t-1,r++;++e<=r;)u===void 0?e!==r&&n[e][1].type!=="lineEnding"&&(u=e):(e===r||n[e][1].type==="lineEnding")&&(n[u][1].type="codeTextData",e!==u+2&&(n[u][1].end=n[e-1][1].end,n.splice(u+2,e-u-2),r-=e-u-2,e=u+2),u=void 0);return n}function se(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ce(n,r,t){let e=0,u,i;return l;function l(m){return n.enter("codeText"),n.enter("codeTextSequence"),a(m)}function a(m){return m===96?(n.consume(m),e++,a):(n.exit("codeTextSequence"),f(m))}function f(m){return m===null?t(m):m===32?(n.enter("space"),n.consume(m),n.exit("space"),f):m===96?(i=n.enter("codeTextSequence"),u=0,p(m)):C(m)?(n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),f):(n.enter("codeTextData"),c(m))}function c(m){return m===null||m===32||m===96||C(m)?(n.exit("codeTextData"),f(m)):(n.consume(m),c)}function p(m){return m===96?(n.consume(m),u++,p):u===e?(n.exit("codeTextSequence"),n.exit("codeText"),r(m)):(i.type="codeTextData",c(m))}}function lt(n){const r={};let t=-1,e,u,i,l,a,f,c;for(;++t<n.length;){for(;t in r;)t=r[t];if(e=n[t],t&&e[1].type==="chunkFlow"&&n[t-1][1].type==="listItemPrefix"&&(f=e[1]._tokenizer.events,i=0,i<f.length&&f[i][1].type==="lineEndingBlank"&&(i+=2),i<f.length&&f[i][1].type==="content"))for(;++i<f.length&&f[i][1].type!=="content";)f[i][1].type==="chunkText"&&(f[i][1]._isInFirstContentOfListItem=!0,i++);if(e[0]==="enter")e[1].contentType&&(Object.assign(r,he(n,t)),t=r[t],c=!0);else if(e[1]._container){for(i=t,u=void 0;i--&&(l=n[i],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(u&&(n[u][1].type="lineEndingBlank"),l[1].type="lineEnding",u=i);u&&(e[1].end=Object.assign({},n[u][1].start),a=n.slice(u,t),a.unshift(e),tn(n,u,t-u+1,a))}}return!c}function he(n,r){const t=n[r][1],e=n[r][2];let u=r-1;const i=[],l=t._tokenizer||e.parser[t.contentType](t.start),a=l.events,f=[],c={};let p,m,x=-1,h=t,A=0,I=0;const M=[I];for(;h;){for(;n[++u][1]!==h;);i.push(u),h._tokenizer||(p=e.sliceStream(h),h.next||p.push(null),m&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(p),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),m=h,h=h.next}for(h=t;++x<a.length;)a[x][0]==="exit"&&a[x-1][0]==="enter"&&a[x][1].type===a[x-1][1].type&&a[x][1].start.line!==a[x][1].end.line&&(I=x+1,M.push(I),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):M.pop(),x=M.length;x--;){const y=a.slice(M[x],M[x+1]),j=i.pop();f.unshift([j,j+y.length-1]),tn(n,j,2,y)}for(x=-1;++x<f.length;)c[A+f[x][0]]=A+f[x][1],A+=f[x][1]-f[x][0]-1;return c}const pe={tokenize:xe,resolve:fe},me={tokenize:ge,partial:!0};function fe(n){return lt(n),n}function xe(n,r){let t;return e;function e(a){return n.enter("content"),t=n.enter("chunkContent",{contentType:"content"}),u(a)}function u(a){return a===null?i(a):C(a)?n.check(me,l,i)(a):(n.consume(a),u)}function i(a){return n.exit("chunkContent"),n.exit("content"),r(a)}function l(a){return n.consume(a),n.exit("chunkContent"),t.next=n.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,u}}function ge(n,r,t){const e=this;return u;function u(l){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),O(n,i,"linePrefix")}function i(l){if(l===null||C(l))return t(l);const a=e.events[e.events.length-1];return!e.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?r(l):n.interrupt(e.parser.constructs.flow,t,r)(l)}}function at(n,r,t,e,u,i,l,a,f){const c=f||Number.POSITIVE_INFINITY;let p=0;return m;function m(y){return y===60?(n.enter(e),n.enter(u),n.enter(i),n.consume(y),n.exit(i),x):y===null||y===32||y===41||An(y)?t(y):(n.enter(e),n.enter(l),n.enter(a),n.enter("chunkString",{contentType:"string"}),I(y))}function x(y){return y===62?(n.enter(i),n.consume(y),n.exit(i),n.exit(u),n.exit(e),r):(n.enter(a),n.enter("chunkString",{contentType:"string"}),h(y))}function h(y){return y===62?(n.exit("chunkString"),n.exit(a),x(y)):y===null||y===60||C(y)?t(y):(n.consume(y),y===92?A:h)}function A(y){return y===60||y===62||y===92?(n.consume(y),h):h(y)}function I(y){return!p&&(y===null||y===41||v(y))?(n.exit("chunkString"),n.exit(a),n.exit(l),n.exit(e),r(y)):p<c&&y===40?(n.consume(y),p++,I):y===41?(n.consume(y),p--,I):y===null||y===32||y===40||An(y)?t(y):(n.consume(y),y===92?M:I)}function M(y){return y===40||y===41||y===92?(n.consume(y),I):I(y)}}function ot(n,r,t,e,u,i){const l=this;let a=0,f;return c;function c(h){return n.enter(e),n.enter(u),n.consume(h),n.exit(u),n.enter(i),p}function p(h){return a>999||h===null||h===91||h===93&&!f||h===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?t(h):h===93?(n.exit(i),n.enter(u),n.consume(h),n.exit(u),n.exit(e),r):C(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),p):(n.enter("chunkString",{contentType:"string"}),m(h))}function m(h){return h===null||h===91||h===93||C(h)||a++>999?(n.exit("chunkString"),p(h)):(n.consume(h),f||(f=!z(h)),h===92?x:m)}function x(h){return h===91||h===92||h===93?(n.consume(h),a++,m):m(h)}}function st(n,r,t,e,u,i){let l;return a;function a(x){return x===34||x===39||x===40?(n.enter(e),n.enter(u),n.consume(x),n.exit(u),l=x===40?41:x,f):t(x)}function f(x){return x===l?(n.enter(u),n.consume(x),n.exit(u),n.exit(e),r):(n.enter(i),c(x))}function c(x){return x===l?(n.exit(i),f(l)):x===null?t(x):C(x)?(n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),O(n,c,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===l||x===null||C(x)?(n.exit("chunkString"),c(x)):(n.consume(x),x===92?m:p)}function m(x){return x===l||x===92?(n.consume(x),p):p(x)}}function bn(n,r){let t;return e;function e(u){return C(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),t=!0,e):z(u)?O(n,e,t?"linePrefix":"lineSuffix")(u):r(u)}}function xn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ke={name:"definition",tokenize:ye},be={tokenize:de,partial:!0};function ye(n,r,t){const e=this;let u;return i;function i(h){return n.enter("definition"),l(h)}function l(h){return ot.call(e,n,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function a(h){return u=xn(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)),h===58?(n.enter("definitionMarker"),n.consume(h),n.exit("definitionMarker"),f):t(h)}function f(h){return v(h)?bn(n,c)(h):c(h)}function c(h){return at(n,p,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function p(h){return n.attempt(be,m,m)(h)}function m(h){return z(h)?O(n,x,"whitespace")(h):x(h)}function x(h){return h===null||C(h)?(n.exit("definition"),e.parser.defined.push(u),r(h)):t(h)}}function de(n,r,t){return e;function e(a){return v(a)?bn(n,u)(a):t(a)}function u(a){return st(n,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function i(a){return z(a)?O(n,l,"whitespace")(a):l(a)}function l(a){return a===null||C(a)?r(a):t(a)}}const Se={name:"hardBreakEscape",tokenize:Fe};function Fe(n,r,t){return e;function e(i){return n.enter("hardBreakEscape"),n.consume(i),u}function u(i){return C(i)?(n.exit("hardBreakEscape"),r(i)):t(i)}}const Ee={name:"headingAtx",tokenize:we,resolve:Ce};function Ce(n,r){let t=n.length-2,e=3,u,i;return n[e][1].type==="whitespace"&&(e+=2),t-2>e&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(e===t-1||t-4>e&&n[t-2][1].type==="whitespace")&&(t-=e+1===t?2:4),t>e&&(u={type:"atxHeadingText",start:n[e][1].start,end:n[t][1].end},i={type:"chunkText",start:n[e][1].start,end:n[t][1].end,contentType:"text"},tn(n,e,t-e+1,[["enter",u,r],["enter",i,r],["exit",i,r],["exit",u,r]])),n}function we(n,r,t){let e=0;return u;function u(p){return n.enter("atxHeading"),i(p)}function i(p){return n.enter("atxHeadingSequence"),l(p)}function l(p){return p===35&&e++<6?(n.consume(p),l):p===null||v(p)?(n.exit("atxHeadingSequence"),a(p)):t(p)}function a(p){return p===35?(n.enter("atxHeadingSequence"),f(p)):p===null||C(p)?(n.exit("atxHeading"),r(p)):z(p)?O(n,a,"whitespace")(p):(n.enter("atxHeadingText"),c(p))}function f(p){return p===35?(n.consume(p),f):(n.exit("atxHeadingSequence"),a(p))}function c(p){return p===null||p===35||v(p)?(n.exit("atxHeadingText"),a(p)):(n.consume(p),c)}}const Ae=["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"],Gn=["pre","script","style","textarea"],ze={name:"htmlFlow",tokenize:Le,resolveTo:Be,concrete:!0},Ie={tokenize:De,partial:!0},Te={tokenize:Oe,partial:!0};function Be(n){let r=n.length;for(;r--&&!(n[r][0]==="enter"&&n[r][1].type==="htmlFlow"););return r>1&&n[r-2][1].type==="linePrefix"&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n}function Le(n,r,t){const e=this;let u,i,l,a,f;return c;function c(s){return p(s)}function p(s){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(s),m}function m(s){return s===33?(n.consume(s),x):s===47?(n.consume(s),i=!0,I):s===63?(n.consume(s),u=3,e.interrupt?r:o):nn(s)?(n.consume(s),l=String.fromCharCode(s),M):t(s)}function x(s){return s===45?(n.consume(s),u=2,h):s===91?(n.consume(s),u=5,a=0,A):nn(s)?(n.consume(s),u=4,e.interrupt?r:o):t(s)}function h(s){return s===45?(n.consume(s),e.interrupt?r:o):t(s)}function A(s){const J="CDATA[";return s===J.charCodeAt(a++)?(n.consume(s),a===J.length?e.interrupt?r:S:A):t(s)}function I(s){return nn(s)?(n.consume(s),l=String.fromCharCode(s),M):t(s)}function M(s){if(s===null||s===47||s===62||v(s)){const J=s===47,hn=l.toLowerCase();return!J&&!i&&Gn.includes(hn)?(u=1,e.interrupt?r(s):S(s)):Ae.includes(l.toLowerCase())?(u=6,J?(n.consume(s),y):e.interrupt?r(s):S(s)):(u=7,e.interrupt&&!e.parser.lazy[e.now().line]?t(s):i?j(s):F(s))}return s===45||X(s)?(n.consume(s),l+=String.fromCharCode(s),M):t(s)}function y(s){return s===62?(n.consume(s),e.interrupt?r:S):t(s)}function j(s){return z(s)?(n.consume(s),j):V(s)}function F(s){return s===47?(n.consume(s),V):s===58||s===95||nn(s)?(n.consume(s),D):z(s)?(n.consume(s),F):V(s)}function D(s){return s===45||s===46||s===58||s===95||X(s)?(n.consume(s),D):_(s)}function _(s){return s===61?(n.consume(s),k):z(s)?(n.consume(s),_):F(s)}function k(s){return s===null||s===60||s===61||s===62||s===96?t(s):s===34||s===39?(n.consume(s),f=s,T):z(s)?(n.consume(s),k):H(s)}function T(s){return s===f?(n.consume(s),f=null,N):s===null||C(s)?t(s):(n.consume(s),T)}function H(s){return s===null||s===34||s===39||s===47||s===60||s===61||s===62||s===96||v(s)?_(s):(n.consume(s),H)}function N(s){return s===47||s===62||z(s)?F(s):t(s)}function V(s){return s===62?(n.consume(s),d):t(s)}function d(s){return s===null||C(s)?S(s):z(s)?(n.consume(s),d):t(s)}function S(s){return s===45&&u===2?(n.consume(s),U):s===60&&u===1?(n.consume(s),W):s===62&&u===4?(n.consume(s),G):s===63&&u===3?(n.consume(s),o):s===93&&u===5?(n.consume(s),en):C(s)&&(u===6||u===7)?(n.exit("htmlFlowData"),n.check(Ie,rn,P)(s)):s===null||C(s)?(n.exit("htmlFlowData"),P(s)):(n.consume(s),S)}function P(s){return n.check(Te,R,rn)(s)}function R(s){return n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),w}function w(s){return s===null||C(s)?P(s):(n.enter("htmlFlowData"),S(s))}function U(s){return s===45?(n.consume(s),o):S(s)}function W(s){return s===47?(n.consume(s),l="",Y):S(s)}function Y(s){if(s===62){const J=l.toLowerCase();return Gn.includes(J)?(n.consume(s),G):S(s)}return nn(s)&&l.length<8?(n.consume(s),l+=String.fromCharCode(s),Y):S(s)}function en(s){return s===93?(n.consume(s),o):S(s)}function o(s){return s===62?(n.consume(s),G):s===45&&u===2?(n.consume(s),o):S(s)}function G(s){return s===null||C(s)?(n.exit("htmlFlowData"),rn(s)):(n.consume(s),G)}function rn(s){return n.exit("htmlFlow"),r(s)}}function Oe(n,r,t){const e=this;return u;function u(l){return C(l)?(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),i):t(l)}function i(l){return e.parser.lazy[e.now().line]?t(l):r(l)}}function De(n,r,t){return e;function e(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),n.attempt(Sn,r,t)}}const Pe={name:"htmlText",tokenize:_e};function _e(n,r,t){const e=this;let u,i,l;return a;function a(o){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(o),f}function f(o){return o===33?(n.consume(o),c):o===47?(n.consume(o),_):o===63?(n.consume(o),F):nn(o)?(n.consume(o),H):t(o)}function c(o){return o===45?(n.consume(o),p):o===91?(n.consume(o),i=0,A):nn(o)?(n.consume(o),j):t(o)}function p(o){return o===45?(n.consume(o),h):t(o)}function m(o){return o===null?t(o):o===45?(n.consume(o),x):C(o)?(l=m,W(o)):(n.consume(o),m)}function x(o){return o===45?(n.consume(o),h):m(o)}function h(o){return o===62?U(o):o===45?x(o):m(o)}function A(o){const G="CDATA[";return o===G.charCodeAt(i++)?(n.consume(o),i===G.length?I:A):t(o)}function I(o){return o===null?t(o):o===93?(n.consume(o),M):C(o)?(l=I,W(o)):(n.consume(o),I)}function M(o){return o===93?(n.consume(o),y):I(o)}function y(o){return o===62?U(o):o===93?(n.consume(o),y):I(o)}function j(o){return o===null||o===62?U(o):C(o)?(l=j,W(o)):(n.consume(o),j)}function F(o){return o===null?t(o):o===63?(n.consume(o),D):C(o)?(l=F,W(o)):(n.consume(o),F)}function D(o){return o===62?U(o):F(o)}function _(o){return nn(o)?(n.consume(o),k):t(o)}function k(o){return o===45||X(o)?(n.consume(o),k):T(o)}function T(o){return C(o)?(l=T,W(o)):z(o)?(n.consume(o),T):U(o)}function H(o){return o===45||X(o)?(n.consume(o),H):o===47||o===62||v(o)?N(o):t(o)}function N(o){return o===47?(n.consume(o),U):o===58||o===95||nn(o)?(n.consume(o),V):C(o)?(l=N,W(o)):z(o)?(n.consume(o),N):U(o)}function V(o){return o===45||o===46||o===58||o===95||X(o)?(n.consume(o),V):d(o)}function d(o){return o===61?(n.consume(o),S):C(o)?(l=d,W(o)):z(o)?(n.consume(o),d):N(o)}function S(o){return o===null||o===60||o===61||o===62||o===96?t(o):o===34||o===39?(n.consume(o),u=o,P):C(o)?(l=S,W(o)):z(o)?(n.consume(o),S):(n.consume(o),R)}function P(o){return o===u?(n.consume(o),u=void 0,w):o===null?t(o):C(o)?(l=P,W(o)):(n.consume(o),P)}function R(o){return o===null||o===34||o===39||o===60||o===61||o===96?t(o):o===47||o===62||v(o)?N(o):(n.consume(o),R)}function w(o){return o===47||o===62||v(o)?N(o):t(o)}function U(o){return o===62?(n.consume(o),n.exit("htmlTextData"),n.exit("htmlText"),r):t(o)}function W(o){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),Y}function Y(o){return z(o)?O(n,en,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):en(o)}function en(o){return n.enter("htmlTextData"),l(o)}}const Dn={name:"labelEnd",tokenize:Ne,resolveTo:He,resolveAll:qe},Me={tokenize:Ve},je={tokenize:We},Re={tokenize:Qe};function qe(n){let r=-1;for(;++r<n.length;){const t=n[r][1];(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(n.splice(r+1,t.type==="labelImage"?4:2),t.type="data",r++)}return n}function He(n,r){let t=n.length,e=0,u,i,l,a;for(;t--;)if(u=n[t][1],i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;n[t][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(l){if(n[t][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=t,u.type!=="labelLink")){e=2;break}}else u.type==="labelEnd"&&(l=t);const f={type:n[i][1].type==="labelLink"?"link":"image",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)},c={type:"label",start:Object.assign({},n[i][1].start),end:Object.assign({},n[l][1].end)},p={type:"labelText",start:Object.assign({},n[i+e+2][1].end),end:Object.assign({},n[l-2][1].start)};return a=[["enter",f,r],["enter",c,r]],a=Z(a,n.slice(i+1,i+e+3)),a=Z(a,[["enter",p,r]]),a=Z(a,Ln(r.parser.constructs.insideSpan.null,n.slice(i+e+4,l-3),r)),a=Z(a,[["exit",p,r],n[l-2],n[l-1],["exit",c,r]]),a=Z(a,n.slice(l+1)),a=Z(a,[["exit",f,r]]),tn(n,i,n.length,a),n}function Ne(n,r,t){const e=this;let u=e.events.length,i,l;for(;u--;)if((e.events[u][1].type==="labelImage"||e.events[u][1].type==="labelLink")&&!e.events[u][1]._balanced){i=e.events[u][1];break}return a;function a(x){return i?i._inactive?m(x):(l=e.parser.defined.includes(xn(e.sliceSerialize({start:i.end,end:e.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(x),n.exit("labelMarker"),n.exit("labelEnd"),f):t(x)}function f(x){return x===40?n.attempt(Me,p,l?p:m)(x):x===91?n.attempt(je,p,l?c:m)(x):l?p(x):m(x)}function c(x){return n.attempt(Re,p,m)(x)}function p(x){return r(x)}function m(x){return i._balanced=!0,t(x)}}function Ve(n,r,t){return e;function e(m){return n.enter("resource"),n.enter("resourceMarker"),n.consume(m),n.exit("resourceMarker"),u}function u(m){return v(m)?bn(n,i)(m):i(m)}function i(m){return m===41?p(m):at(n,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function l(m){return v(m)?bn(n,f)(m):p(m)}function a(m){return t(m)}function f(m){return m===34||m===39||m===40?st(n,c,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):p(m)}function c(m){return v(m)?bn(n,p)(m):p(m)}function p(m){return m===41?(n.enter("resourceMarker"),n.consume(m),n.exit("resourceMarker"),n.exit("resource"),r):t(m)}}function We(n,r,t){const e=this;return u;function u(a){return ot.call(e,n,i,l,"reference","referenceMarker","referenceString")(a)}function i(a){return e.parser.defined.includes(xn(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)))?r(a):t(a)}function l(a){return t(a)}}function Qe(n,r,t){return e;function e(i){return n.enter("reference"),n.enter("referenceMarker"),n.consume(i),n.exit("referenceMarker"),u}function u(i){return i===93?(n.enter("referenceMarker"),n.consume(i),n.exit("referenceMarker"),n.exit("reference"),r):t(i)}}const Ue={name:"labelStartImage",tokenize:$e,resolveAll:Dn.resolveAll};function $e(n,r,t){const e=this;return u;function u(a){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(a),n.exit("labelImageMarker"),i}function i(a){return a===91?(n.enter("labelMarker"),n.consume(a),n.exit("labelMarker"),n.exit("labelImage"),l):t(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in e.parser.constructs?t(a):r(a)}}const ve={name:"labelStartLink",tokenize:Ze,resolveAll:Dn.resolveAll};function Ze(n,r,t){const e=this;return u;function u(l){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(l),n.exit("labelMarker"),n.exit("labelLink"),i}function i(l){return l===94&&"_hiddenFootnoteSupport"in e.parser.constructs?t(l):r(l)}}const wn={name:"lineEnding",tokenize:Ye};function Ye(n,r){return t;function t(e){return n.enter("lineEnding"),n.consume(e),n.exit("lineEnding"),O(n,r,"linePrefix")}}const yn={name:"thematicBreak",tokenize:Ge};function Ge(n,r,t){let e=0,u;return i;function i(c){return n.enter("thematicBreak"),l(c)}function l(c){return u=c,a(c)}function a(c){return c===u?(n.enter("thematicBreakSequence"),f(c)):e>=3&&(c===null||C(c))?(n.exit("thematicBreak"),r(c)):t(c)}function f(c){return c===u?(n.consume(c),e++,f):(n.exit("thematicBreakSequence"),z(c)?O(n,a,"whitespace")(c):a(c))}}const $={name:"list",tokenize:Xe,continuation:{tokenize:nr},exit:er},Je={tokenize:rr,partial:!0},Ke={tokenize:tr,partial:!0};function Xe(n,r,t){const e=this,u=e.events[e.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,l=0;return a;function a(h){const A=e.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!e.containerState.marker||h===e.containerState.marker:zn(h)){if(e.containerState.type||(e.containerState.type=A,n.enter(A,{_container:!0})),A==="listUnordered")return n.enter("listItemPrefix"),h===42||h===45?n.check(yn,t,c)(h):c(h);if(!e.interrupt||h===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),f(h)}return t(h)}function f(h){return zn(h)&&++l<10?(n.consume(h),f):(!e.interrupt||l<2)&&(e.containerState.marker?h===e.containerState.marker:h===41||h===46)?(n.exit("listItemValue"),c(h)):t(h)}function c(h){return n.enter("listItemMarker"),n.consume(h),n.exit("listItemMarker"),e.containerState.marker=e.containerState.marker||h,n.check(Sn,e.interrupt?t:p,n.attempt(Je,x,m))}function p(h){return e.containerState.initialBlankLine=!0,i++,x(h)}function m(h){return z(h)?(n.enter("listItemPrefixWhitespace"),n.consume(h),n.exit("listItemPrefixWhitespace"),x):t(h)}function x(h){return e.containerState.size=i+e.sliceSerialize(n.exit("listItemPrefix"),!0).length,r(h)}}function nr(n,r,t){const e=this;return e.containerState._closeFlow=void 0,n.check(Sn,u,i);function u(a){return e.containerState.furtherBlankLines=e.containerState.furtherBlankLines||e.containerState.initialBlankLine,O(n,r,"listItemIndent",e.containerState.size+1)(a)}function i(a){return e.containerState.furtherBlankLines||!z(a)?(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,l(a)):(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,n.attempt(Ke,r,l)(a))}function l(a){return e.containerState._closeFlow=!0,e.interrupt=void 0,O(n,n.attempt($,r,t),"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function tr(n,r,t){const e=this;return O(n,u,"listItemIndent",e.containerState.size+1);function u(i){const l=e.events[e.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===e.containerState.size?r(i):t(i)}}function er(n){n.exit(this.containerState.type)}function rr(n,r,t){const e=this;return O(n,u,"listItemPrefixWhitespace",e.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const l=e.events[e.events.length-1];return!z(i)&&l&&l[1].type==="listItemPrefixWhitespace"?r(i):t(i)}}const Jn={name:"setextUnderline",tokenize:ur,resolveTo:ir};function ir(n,r){let t=n.length,e,u,i;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){e=t;break}n[t][1].type==="paragraph"&&(u=t)}else n[t][1].type==="content"&&n.splice(t,1),!i&&n[t][1].type==="definition"&&(i=t);const l={type:"setextHeading",start:Object.assign({},n[u][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[u][1].type="setextHeadingText",i?(n.splice(u,0,["enter",l,r]),n.splice(i+1,0,["exit",n[e][1],r]),n[e][1].end=Object.assign({},n[i][1].end)):n[e][1]=l,n.push(["exit",l,r]),n}function ur(n,r,t){const e=this;let u;return i;function i(c){let p=e.events.length,m;for(;p--;)if(e.events[p][1].type!=="lineEnding"&&e.events[p][1].type!=="linePrefix"&&e.events[p][1].type!=="content"){m=e.events[p][1].type==="paragraph";break}return!e.parser.lazy[e.now().line]&&(e.interrupt||m)?(n.enter("setextHeadingLine"),u=c,l(c)):t(c)}function l(c){return n.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===u?(n.consume(c),a):(n.exit("setextHeadingLineSequence"),z(c)?O(n,f,"lineSuffix")(c):f(c))}function f(c){return c===null||C(c)?(n.exit("setextHeadingLine"),r(c)):t(c)}}const lr={tokenize:ar};function ar(n){const r=this,t=n.attempt(Sn,e,n.attempt(this.parser.constructs.flowInitial,u,O(n,n.attempt(this.parser.constructs.flow,u,n.attempt(pe,u)),"linePrefix")));return t;function e(i){if(i===null){n.consume(i);return}return n.enter("lineEndingBlank"),n.consume(i),n.exit("lineEndingBlank"),r.currentConstruct=void 0,t}function u(i){if(i===null){n.consume(i);return}return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),r.currentConstruct=void 0,t}}const or={resolveAll:ht()},sr=ct("string"),cr=ct("text");function ct(n){return{tokenize:r,resolveAll:ht(n==="text"?hr:void 0)};function r(t){const e=this,u=this.parser.constructs[n],i=t.attempt(u,l,a);return l;function l(p){return c(p)?i(p):a(p)}function a(p){if(p===null){t.consume(p);return}return t.enter("data"),t.consume(p),f}function f(p){return c(p)?(t.exit("data"),i(p)):(t.consume(p),f)}function c(p){if(p===null)return!0;const m=u[p];let x=-1;if(m)for(;++x<m.length;){const h=m[x];if(!h.previous||h.previous.call(e,e.previous))return!0}return!1}}}function ht(n){return r;function r(t,e){let u=-1,i;for(;++u<=t.length;)i===void 0?t[u]&&t[u][1].type==="data"&&(i=u,u++):(!t[u]||t[u][1].type!=="data")&&(u!==i+2&&(t[i][1].end=t[u-1][1].end,t.splice(i+2,u-i-2),u=i+2),i=void 0);return n?n(t,e):t}}function hr(n,r){let t=0;for(;++t<=n.length;)if((t===n.length||n[t][1].type==="lineEnding")&&n[t-1][1].type==="data"){const e=n[t-1][1],u=r.sliceStream(e);let i=u.length,l=-1,a=0,f;for(;i--;){const c=u[i];if(typeof c=="string"){for(l=c.length;c.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(c===-2)f=!0,a++;else if(c!==-1){i++;break}}if(a){const c={type:t===n.length||f||a<2?"lineSuffix":"hardBreakTrailing",start:{line:e.end.line,column:e.end.column-a,offset:e.end.offset-a,_index:e.start._index+i,_bufferIndex:i?l:e.start._bufferIndex+l},end:Object.assign({},e.end)};e.end=Object.assign({},c.start),e.start.offset===e.end.offset?Object.assign(e,c):(n.splice(t,0,["enter",c,r],["exit",c,r]),t+=2)}t++}return n}function pr(n,r,t){let e=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const u={},i=[];let l=[],a=[];const f={consume:j,enter:F,exit:D,attempt:T(_),check:T(k),interrupt:T(k,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:n,sliceStream:h,sliceSerialize:x,now:A,defineSkip:I,write:m};let p=r.tokenize.call(c,f);return r.resolveAll&&i.push(r),c;function m(d){return l=Z(l,d),M(),l[l.length-1]!==null?[]:(H(r,0),c.events=Ln(i,c.events,c),c.events)}function x(d,S){return fr(h(d),S)}function h(d){return mr(l,d)}function A(){const{line:d,column:S,offset:P,_index:R,_bufferIndex:w}=e;return{line:d,column:S,offset:P,_index:R,_bufferIndex:w}}function I(d){u[d.line]=d.column,V()}function M(){let d;for(;e._index<l.length;){const S=l[e._index];if(typeof S=="string")for(d=e._index,e._bufferIndex<0&&(e._bufferIndex=0);e._index===d&&e._bufferIndex<S.length;)y(S.charCodeAt(e._bufferIndex));else y(S)}}function y(d){p=p(d)}function j(d){C(d)?(e.line++,e.column=1,e.offset+=d===-3?2:1,V()):d!==-1&&(e.column++,e.offset++),e._bufferIndex<0?e._index++:(e._bufferIndex++,e._bufferIndex===l[e._index].length&&(e._bufferIndex=-1,e._index++)),c.previous=d}function F(d,S){const P=S||{};return P.type=d,P.start=A(),c.events.push(["enter",P,c]),a.push(P),P}function D(d){const S=a.pop();return S.end=A(),c.events.push(["exit",S,c]),S}function _(d,S){H(d,S.from)}function k(d,S){S.restore()}function T(d,S){return P;function P(R,w,U){let W,Y,en,o;return Array.isArray(R)?rn(R):"tokenize"in R?rn([R]):G(R);function G(Q){return pn;function pn(an){const mn=an!==null&&Q[an],fn=an!==null&&Q.null,Fn=[...Array.isArray(mn)?mn:mn?[mn]:[],...Array.isArray(fn)?fn:fn?[fn]:[]];return rn(Fn)(an)}}function rn(Q){return W=Q,Y=0,Q.length===0?U:s(Q[Y])}function s(Q){return pn;function pn(an){return o=N(),en=Q,Q.partial||(c.currentConstruct=Q),Q.name&&c.parser.constructs.disable.null.includes(Q.name)?hn():Q.tokenize.call(S?Object.assign(Object.create(c),S):c,f,J,hn)(an)}}function J(Q){return d(en,o),w}function hn(Q){return o.restore(),++Y<W.length?s(W[Y]):U}}}function H(d,S){d.resolveAll&&!i.includes(d)&&i.push(d),d.resolve&&tn(c.events,S,c.events.length-S,d.resolve(c.events.slice(S),c)),d.resolveTo&&(c.events=d.resolveTo(c.events,c))}function N(){const d=A(),S=c.previous,P=c.currentConstruct,R=c.events.length,w=Array.from(a);return{restore:U,from:R};function U(){e=d,c.previous=S,c.currentConstruct=P,c.events.length=R,a=w,V()}}function V(){e.line in u&&e.column<2&&(e.column=u[e.line],e.offset+=u[e.line]-1)}}function mr(n,r){const t=r.start._index,e=r.start._bufferIndex,u=r.end._index,i=r.end._bufferIndex;let l;if(t===u)l=[n[t].slice(e,i)];else{if(l=n.slice(t,u),e>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(e):l.shift()}i>0&&l.push(n[u].slice(0,i))}return l}function fr(n,r){let t=-1;const e=[];let u;for(;++t<n.length;){const i=n[t];let l;if(typeof i=="string")l=i;else switch(i){case-5:{l="\r";break}case-4:{l=`
`;break}case-3:{l=`\r
`;break}case-2:{l=r?" ":" ";break}case-1:{if(!r&&u)continue;l=" ";break}default:l=String.fromCharCode(i)}u=i===-2,e.push(l)}return e.join("")}const xr={42:$,43:$,45:$,48:$,49:$,50:$,51:$,52:$,53:$,54:$,55:$,56:$,57:$,62:rt},gr={91:ke},kr={[-2]:Cn,[-1]:Cn,32:Cn},br={35:Ee,42:yn,45:[Jn,yn],60:ze,61:Jn,95:yn,96:Yn,126:Yn},yr={38:ut,92:it},dr={[-5]:wn,[-4]:wn,[-3]:wn,33:Ue,38:ut,42:In,60:[Zt,Pe],91:ve,92:[Se,it],93:Dn,95:In,96:ae},Sr={null:[In,or]},Fr={null:[42,95]},Er={null:[]},Cr=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Fr,contentInitial:gr,disable:Er,document:xr,flow:br,flowInitial:kr,insideSpan:Sr,string:yr,text:dr},Symbol.toStringTag,{value:"Module"}));function wr(n){const t=Ot([Cr,...(n||{}).extensions||[]]),e={defined:[],lazy:{},constructs:t,content:u(Nt),document:u(Wt),flow:u(lr),string:u(sr),text:u(cr)};return e;function u(i){return l;function l(a){return pr(e,i,a)}}}const Kn=/[\0\t\n\r]/g;function Ar(){let n=1,r="",t=!0,e;return u;function u(i,l,a){const f=[];let c,p,m,x,h;for(i=r+i.toString(l),m=0,r="",t&&(i.charCodeAt(0)===65279&&m++,t=void 0);m<i.length;){if(Kn.lastIndex=m,c=Kn.exec(i),x=c&&c.index!==void 0?c.index:i.length,h=i.charCodeAt(x),!c){r=i.slice(m);break}if(h===10&&m===x&&e)f.push(-3),e=void 0;else switch(e&&(f.push(-5),e=void 0),m<x&&(f.push(i.slice(m,x)),n+=x-m),h){case 0:{f.push(65533),n++;break}case 9:{for(p=Math.ceil(n/4)*4,f.push(-2);n++<p;)f.push(-1);break}case 10:{f.push(-4),n=1;break}default:e=!0,n=1}m=x+1}return a&&(e&&f.push(-5),r&&f.push(r),f.push(null)),f}}function zr(n){for(;!lt(n););return n}function pt(n,r){const t=Number.parseInt(n,r);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCharCode(t)}const Ir=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Tr(n){return n.replace(Ir,Br)}function Br(n,r,t){if(r)return r;if(t.charCodeAt(0)===35){const u=t.charCodeAt(1),i=u===120||u===88;return pt(t.slice(i?2:1),i?16:10)}return On(t)||n}function dn(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Xn(n.position):"start"in n||"end"in n?Xn(n):"line"in n||"column"in n?Tn(n):""}function Tn(n){return nt(n&&n.line)+":"+nt(n&&n.column)}function Xn(n){return Tn(n&&n.start)+"-"+Tn(n&&n.end)}function nt(n){return n&&typeof n=="number"?n:1}const mt={}.hasOwnProperty,ft=function(n,r,t){return typeof r!="string"&&(t=r,r=void 0),Lr(t)(zr(wr(t).document().write(Ar()(n,r,!0))))};function Lr(n){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Hn),autolinkProtocol:d,autolinkEmail:d,atxHeading:a(jn),blockQuote:a(Fn),characterEscape:d,characterReference:d,codeFenced:a(Mn),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:a(Mn,f),codeText:a(kt,f),codeTextData:d,data:d,codeFlowValue:d,definition:a(bt),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:a(yt),hardBreakEscape:a(Rn),hardBreakTrailing:a(Rn),htmlFlow:a(qn,f),htmlFlowData:d,htmlText:a(qn,f),htmlTextData:d,image:a(dt),label:f,link:a(Hn),listItem:a(St),listItemValue:A,listOrdered:a(Nn,h),listUnordered:a(Nn),paragraph:a(Ft),reference:hn,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:a(jn),strong:a(Et),thematicBreak:a(wt)},exit:{atxHeading:p(),atxHeadingSequence:T,autolink:p(),autolinkEmail:fn,autolinkProtocol:mn,blockQuote:p(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:pn,characterReferenceMarkerNumeric:pn,characterReferenceValue:an,codeFenced:p(j),codeFencedFence:y,codeFencedFenceInfo:I,codeFencedFenceMeta:M,codeFlowValue:S,codeIndented:p(F),codeText:p(W),codeTextData:S,data:S,definition:p(),definitionDestinationString:k,definitionLabelString:D,definitionTitleString:_,emphasis:p(),hardBreakEscape:p(R),hardBreakTrailing:p(R),htmlFlow:p(w),htmlFlowData:S,htmlText:p(U),htmlTextData:S,image:p(en),label:G,labelText:o,lineEnding:P,link:p(Y),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:Q,resourceDestinationString:rn,resourceTitleString:s,resource:J,setextHeading:p(V),setextHeadingLineSequence:N,setextHeadingText:H,strong:p(),thematicBreak:p()}};xt(r,(n||{}).mdastExtensions||[]);const t={};return e;function e(g){let b={type:"root",children:[]};const E={stack:[b],tokenStack:[],config:r,enter:c,exit:m,buffer:f,resume:x,setData:i,getData:l},B=[];let L=-1;for(;++L<g.length;)if(g[L][1].type==="listOrdered"||g[L][1].type==="listUnordered")if(g[L][0]==="enter")B.push(L);else{const K=B.pop();L=u(g,K,L)}for(L=-1;++L<g.length;){const K=r[g[L][0]];mt.call(K,g[L][1].type)&&K[g[L][1].type].call(Object.assign({sliceSerialize:g[L][2].sliceSerialize},E),g[L][1])}if(E.tokenStack.length>0){const K=E.tokenStack[E.tokenStack.length-1];(K[1]||tt).call(E,void 0,K[0])}for(b.position={start:sn(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:sn(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},L=-1;++L<r.transforms.length;)b=r.transforms[L](b)||b;return b}function u(g,b,E){let B=b-1,L=-1,K=!1,on,un,gn,kn;for(;++B<=E;){const q=g[B];if(q[1].type==="listUnordered"||q[1].type==="listOrdered"||q[1].type==="blockQuote"?(q[0]==="enter"?L++:L--,kn=void 0):q[1].type==="lineEndingBlank"?q[0]==="enter"&&(on&&!kn&&!L&&!gn&&(gn=B),kn=void 0):q[1].type==="linePrefix"||q[1].type==="listItemValue"||q[1].type==="listItemMarker"||q[1].type==="listItemPrefix"||q[1].type==="listItemPrefixWhitespace"||(kn=void 0),!L&&q[0]==="enter"&&q[1].type==="listItemPrefix"||L===-1&&q[0]==="exit"&&(q[1].type==="listUnordered"||q[1].type==="listOrdered")){if(on){let En=B;for(un=void 0;En--;){const ln=g[En];if(ln[1].type==="lineEnding"||ln[1].type==="lineEndingBlank"){if(ln[0]==="exit")continue;un&&(g[un][1].type="lineEndingBlank",K=!0),ln[1].type="lineEnding",un=En}else if(!(ln[1].type==="linePrefix"||ln[1].type==="blockQuotePrefix"||ln[1].type==="blockQuotePrefixWhitespace"||ln[1].type==="blockQuoteMarker"||ln[1].type==="listItemIndent"))break}gn&&(!un||gn<un)&&(on._spread=!0),on.end=Object.assign({},un?g[un][1].start:q[1].end),g.splice(un||B,0,["exit",on,q[2]]),B++,E++}q[1].type==="listItemPrefix"&&(on={type:"listItem",_spread:!1,start:Object.assign({},q[1].start)},g.splice(B,0,["enter",on,q[2]]),B++,E++,gn=void 0,kn=!0)}}return g[b][1]._spread=K,E}function i(g,b){t[g]=b}function l(g){return t[g]}function a(g,b){return E;function E(B){c.call(this,g(B),B),b&&b.call(this,B)}}function f(){this.stack.push({type:"fragment",children:[]})}function c(g,b,E){return this.stack[this.stack.length-1].children.push(g),this.stack.push(g),this.tokenStack.push([b,E]),g.position={start:sn(b.start)},g}function p(g){return b;function b(E){g&&g.call(this,E),m.call(this,E)}}function m(g,b){const E=this.stack.pop(),B=this.tokenStack.pop();if(B)B[0].type!==g.type&&(b?b.call(this,g,B[0]):(B[1]||tt).call(this,g,B[0]));else throw new Error("Cannot close `"+g.type+"` ("+dn({start:g.start,end:g.end})+"): it’s not open");return E.position.end=sn(g.end),E}function x(){return Bt(this.stack.pop())}function h(){i("expectingFirstListItemValue",!0)}function A(g){if(l("expectingFirstListItemValue")){const b=this.stack[this.stack.length-2];b.start=Number.parseInt(this.sliceSerialize(g),10),i("expectingFirstListItemValue")}}function I(){const g=this.resume(),b=this.stack[this.stack.length-1];b.lang=g}function M(){const g=this.resume(),b=this.stack[this.stack.length-1];b.meta=g}function y(){l("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function j(){const g=this.resume(),b=this.stack[this.stack.length-1];b.value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function F(){const g=this.resume(),b=this.stack[this.stack.length-1];b.value=g.replace(/(\r?\n|\r)$/g,"")}function D(g){const b=this.resume(),E=this.stack[this.stack.length-1];E.label=b,E.identifier=xn(this.sliceSerialize(g)).toLowerCase()}function _(){const g=this.resume(),b=this.stack[this.stack.length-1];b.title=g}function k(){const g=this.resume(),b=this.stack[this.stack.length-1];b.url=g}function T(g){const b=this.stack[this.stack.length-1];if(!b.depth){const E=this.sliceSerialize(g).length;b.depth=E}}function H(){i("setextHeadingSlurpLineEnding",!0)}function N(g){const b=this.stack[this.stack.length-1];b.depth=this.sliceSerialize(g).charCodeAt(0)===61?1:2}function V(){i("setextHeadingSlurpLineEnding")}function d(g){const b=this.stack[this.stack.length-1];let E=b.children[b.children.length-1];(!E||E.type!=="text")&&(E=Ct(),E.position={start:sn(g.start)},b.children.push(E)),this.stack.push(E)}function S(g){const b=this.stack.pop();b.value+=this.sliceSerialize(g),b.position.end=sn(g.end)}function P(g){const b=this.stack[this.stack.length-1];if(l("atHardBreak")){const E=b.children[b.children.length-1];E.position.end=sn(g.end),i("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(b.type)&&(d.call(this,g),S.call(this,g))}function R(){i("atHardBreak",!0)}function w(){const g=this.resume(),b=this.stack[this.stack.length-1];b.value=g}function U(){const g=this.resume(),b=this.stack[this.stack.length-1];b.value=g}function W(){const g=this.resume(),b=this.stack[this.stack.length-1];b.value=g}function Y(){const g=this.stack[this.stack.length-1];if(l("inReference")){const b=l("referenceType")||"shortcut";g.type+="Reference",g.referenceType=b,delete g.url,delete g.title}else delete g.identifier,delete g.label;i("referenceType")}function en(){const g=this.stack[this.stack.length-1];if(l("inReference")){const b=l("referenceType")||"shortcut";g.type+="Reference",g.referenceType=b,delete g.url,delete g.title}else delete g.identifier,delete g.label;i("referenceType")}function o(g){const b=this.sliceSerialize(g),E=this.stack[this.stack.length-2];E.label=Tr(b),E.identifier=xn(b).toLowerCase()}function G(){const g=this.stack[this.stack.length-1],b=this.resume(),E=this.stack[this.stack.length-1];if(i("inReference",!0),E.type==="link"){const B=g.children;E.children=B}else E.alt=b}function rn(){const g=this.resume(),b=this.stack[this.stack.length-1];b.url=g}function s(){const g=this.resume(),b=this.stack[this.stack.length-1];b.title=g}function J(){i("inReference")}function hn(){i("referenceType","collapsed")}function Q(g){const b=this.resume(),E=this.stack[this.stack.length-1];E.label=b,E.identifier=xn(this.sliceSerialize(g)).toLowerCase(),i("referenceType","full")}function pn(g){i("characterReferenceType",g.type)}function an(g){const b=this.sliceSerialize(g),E=l("characterReferenceType");let B;E?(B=pt(b,E==="characterReferenceMarkerNumeric"?10:16),i("characterReferenceType")):B=On(b);const L=this.stack.pop();L.value+=B,L.position.end=sn(g.end)}function mn(g){S.call(this,g);const b=this.stack[this.stack.length-1];b.url=this.sliceSerialize(g)}function fn(g){S.call(this,g);const b=this.stack[this.stack.length-1];b.url="mailto:"+this.sliceSerialize(g)}function Fn(){return{type:"blockquote",children:[]}}function Mn(){return{type:"code",lang:null,meta:null,value:""}}function kt(){return{type:"inlineCode",value:""}}function bt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function yt(){return{type:"emphasis",children:[]}}function jn(){return{type:"heading",depth:void 0,children:[]}}function Rn(){return{type:"break"}}function qn(){return{type:"html",value:""}}function dt(){return{type:"image",title:null,url:"",alt:null}}function Hn(){return{type:"link",title:null,url:"",children:[]}}function Nn(g){return{type:"list",ordered:g.type==="listOrdered",start:null,spread:g._spread,children:[]}}function St(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}function Ft(){return{type:"paragraph",children:[]}}function Et(){return{type:"strong",children:[]}}function Ct(){return{type:"text",value:""}}function wt(){return{type:"thematicBreak"}}}function sn(n){return{line:n.line,column:n.column,offset:n.offset}}function xt(n,r){let t=-1;for(;++t<r.length;){const e=r[t];Array.isArray(e)?xt(n,e):Or(n,e)}}function Or(n,r){let t;for(t in r)if(mt.call(r,t)){if(t==="canContainEols"){const e=r[t];e&&n[t].push(...e)}else if(t==="transforms"){const e=r[t];e&&n[t].push(...e)}else if(t==="enter"||t==="exit"){const e=r[t];e&&Object.assign(n[t],e)}}}function tt(n,r){throw n?new Error("Cannot close `"+n.type+"` ("+dn({start:n.start,end:n.end})+"): a different token (`"+r.type+"`, "+dn({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+dn({start:r.start,end:r.end})+") is still open")}function Dr(n){const r=n.replace(/\n{2,}/g,`
`);return It(r)}function Pr(n){const r=Dr(n),{children:t}=ft(r),e=[[]];let u=0;function i(l,a="normal"){l.type==="text"?l.value.split(`
`).forEach((c,p)=>{p!==0&&(u++,e.push([])),c.split(" ").forEach(m=>{m&&e[u].push({content:m,type:a})})}):(l.type==="strong"||l.type==="emphasis")&&l.children.forEach(f=>{i(f,l.type)})}return t.forEach(l=>{l.type==="paragraph"&&l.children.forEach(a=>{i(a)})}),e}function _r(n){const{children:r}=ft(n);function t(e){return e.type==="text"?e.value.replace(/\n/g,"<br/>"):e.type==="strong"?`<strong>${e.children.map(t).join("")}</strong>`:e.type==="emphasis"?`<em>${e.children.map(t).join("")}</em>`:e.type==="paragraph"?`<p>${e.children.map(t).join("")}</p>`:`Unsupported markdown: ${e.type}`}return r.map(t).join("")}function Mr(n){return Intl.Segmenter?[...new Intl.Segmenter().segment(n)].map(r=>r.segment):[...n]}function jr(n,r){const t=Mr(r.content);return gt(n,[],t,r.type)}function gt(n,r,t,e){if(t.length===0)return[{content:r.join(""),type:e},{content:"",type:e}];const[u,...i]=t,l=[...r,u];return n([{content:l.join(""),type:e}])?gt(n,l,i,e):(r.length===0&&u&&(r.push(u),t.shift()),[{content:r.join(""),type:e},{content:t.join(""),type:e}])}function Rr(n,r){if(n.some(({content:t})=>t.includes(`
`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return Bn(n,r)}function Bn(n,r,t=[],e=[]){if(n.length===0)return e.length>0&&t.push(e),t.length>0?t:[];let u="";n[0].content===" "&&(u=" ",n.shift());const i=n.shift()??{content:" ",type:"normal"},l=[...e];if(u!==""&&l.push({content:u,type:"normal"}),l.push(i),r(l))return Bn(n,r,t,l);if(e.length>0)t.push(e),n.unshift(i);else if(i.content){const[a,f]=jr(r,i);t.push([a]),f.content&&n.unshift(f)}return Bn(n,r,t)}function qr(n,r){r&&n.attr("style",r)}function Hr(n,r,t,e,u=!1){const i=n.append("foreignObject"),l=i.append("xhtml:div"),a=r.label,f=r.isNode?"nodeLabel":"edgeLabel";l.html(`
<span class="${f} ${e}" `+(r.labelStyle?'style="'+r.labelStyle+'"':"")+">"+a+"</span>"),qr(l,r.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("max-width",t+"px"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),u&&l.attr("class","labelBkg");let c=l.node().getBoundingClientRect();return c.width===t&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",t+"px"),c=l.node().getBoundingClientRect()),i.style("width",c.width),i.style("height",c.height),i.node()}function Pn(n,r,t){return n.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",r*t-.1+"em").attr("dy",t+"em")}function Nr(n,r,t){const e=n.append("text"),u=Pn(e,1,r);_n(u,t);const i=u.node().getComputedTextLength();return e.remove(),i}function Qr(n,r,t){var e;const u=n.append("text"),i=Pn(u,1,r);_n(i,[{content:t,type:"normal"}]);const l=(e=i.node())==null?void 0:e.getBoundingClientRect();return l&&u.remove(),l}function Vr(n,r,t,e=!1){const i=r.append("g"),l=i.insert("rect").attr("class","background"),a=i.append("text").attr("y","-10.1");let f=0;for(const c of t){const p=x=>Nr(i,1.1,x)<=n,m=p(c)?[c]:Rr(c,p);for(const x of m){const h=Pn(a,f,1.1);_n(h,x),f++}}if(e){const c=a.node().getBBox(),p=2;return l.attr("x",-p).attr("y",-p).attr("width",c.width+2*p).attr("height",c.height+2*p),i.node()}else return a.node()}function _n(n,r){n.text(""),r.forEach((t,e)=>{const u=n.append("tspan").attr("font-style",t.type==="emphasis"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",t.type==="strong"?"bold":"normal");e===0?u.text(t.content):u.text(" "+t.content)})}const Ur=(n,r="",{style:t="",isTitle:e=!1,classes:u="",useHtmlLabels:i=!0,isNode:l=!0,width:a=200,addSvgBackground:f=!1}={})=>{if(At.info("createText",r,t,e,u,i,l,f),i){const c=_r(r),p={isNode:l,label:zt(c).replace(/fa[blrs]?:fa-[\w-]+/g,x=>`<i class='${x.replace(":"," ")}'></i>`),labelStyle:t.replace("fill:","color:")};return Hr(n,p,a,u,f)}else{const c=Pr(r);return Vr(a,n,c,f)}};export{Ur as a,Qr as c};
import{p as M,d as _,s as B}from"./styles-9e4c6998-0KggYSQd.js";import{ay as d,at as c,ax as w,aK as G,aI as R,aE as E,aG as D,aH as C,aB as A}from"./index-Hfn5l4aw.js";import{G as z}from"./layout-94e1e85f-BAM45a7u.js";import{r as H}from"./index-20c9cf41-l8R8WdfM.js";import"./edges-9f0d1f4d-OJsHViVb.js";import"./createText-77e212b0-L6d34XR_.js";import"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";const S=s=>A.sanitizeText(s,c());let k={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const P=function(s,t,y,n){const e=Object.keys(s);d.info("keys:",e),d.info(s),e.forEach(function(i){var o,r;const l=s[i],p={shape:"rect",id:l.id,domId:l.domId,labelText:S(l.id),labelStyle:"",style:"fill: none; stroke: black",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};t.setNode(l.id,p),$(l.classes,t,y,n,l.id),d.info("setNode",p)})},$=function(s,t,y,n,e){const i=Object.keys(s);d.info("keys:",i),d.info(s),i.filter(o=>s[o].parent==e).forEach(function(o){var r,l;const a=s[o],p=a.cssClasses.join(" "),f=E(a.styles),h=a.label??a.id,u=0,b={labelStyle:f.labelStyle,shape:"class_box",labelText:S(h),classData:a,rx:u,ry:u,class:p,style:f.style,id:a.id,domId:a.domId,tooltip:n.db.getTooltip(a.id,e)||"",haveCallback:a.haveCallback,link:a.link,width:a.type==="group"?500:void 0,type:a.type,padding:((r=c().flowchart)==null?void 0:r.padding)??((l=c().class)==null?void 0:l.padding)};t.setNode(a.id,b),e&&t.setParent(a.id,e),d.info("setNode",b)})},q=function(s,t,y,n){d.info(s),s.forEach(function(e,i){var o,r;const l=e,a="",p={labelStyle:"",style:""},f=l.text,h=0,m={labelStyle:p.labelStyle,shape:"note",labelText:S(f),noteData:l,rx:h,ry:h,class:a,style:p.style,id:l.id,domId:l.id,tooltip:"",type:"note",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};if(t.setNode(l.id,m),d.info("setNode",m),!l.class||!(l.class in n))return;const b=y+i,x={id:`edgeNote${b}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:D(k.curve,C)};t.setEdge(l.id,l.class,x,b)})},F=function(s,t){const y=c().flowchart;let n=0;s.forEach(function(e){var i;n++;const o={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${n}`,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:N(e.relation.type1),arrowTypeEnd:N(e.relation.type2),style:"fill:none",labelStyle:"",curve:D(y==null?void 0:y.curve,C)};if(d.info(o,e),e.style!==void 0){const r=E(e.style);o.style=r.style,o.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",o.labelpos="c",((i=c().flowchart)==null?void 0:i.htmlLabels)??c().htmlLabels?(o.labelType="html",o.label='<span class="edgeLabel">'+e.text+"</span>"):(o.labelType="text",o.label=e.text.replace(A.lineBreakRegex,`
`),e.style===void 0&&(o.style=o.style||"stroke: #333; stroke-width: 1.5px;fill:none"),o.labelStyle=o.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,o,n)})},K=function(s){k={...k,...s}},V=async function(s,t,y,n){d.info("Drawing class - ",t);const e=c().flowchart??c().class,i=c().securityLevel;d.info("config:",e);const o=(e==null?void 0:e.nodeSpacing)??50,r=(e==null?void 0:e.rankSpacing)??50,l=new z({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:o,ranksep:r,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),a=n.db.getNamespaces(),p=n.db.getClasses(),f=n.db.getRelations(),h=n.db.getNotes();d.info(f),P(a,l,t,n),$(p,l,t,n),F(f,l),q(h,l,f.length+1,p);let u;i==="sandbox"&&(u=w("#i"+t));const m=i==="sandbox"?w(u.nodes()[0].contentDocument.body):w("body"),b=m.select(`[id="${t}"]`),x=m.select("#"+t+" g");if(await H(x,l,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),G.insertTitle(b,"classTitleText",(e==null?void 0:e.titleTopMargin)??5,n.db.getDiagramTitle()),R(l,b,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){const T=i==="sandbox"?u.nodes()[0].contentDocument:document,I=T.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const g of I){const L=g.getBBox(),v=T.createElementNS("http://www.w3.org/2000/svg","rect");v.setAttribute("rx",0),v.setAttribute("ry",0),v.setAttribute("width",L.width),v.setAttribute("height",L.height),g.insertBefore(v,g.firstChild)}}};function N(s){let t;switch(s){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const W={setConf:K,draw:V},te={parser:M,db:_,renderer:W,styles:B,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,_.clear()}};export{te as diagram};
import{p as W,d as S,s as A}from"./styles-9e4c6998-0KggYSQd.js";import{at as v,ay as y,ax as B,az as G,aW as $,aK as M,aX as I}from"./index-Hfn5l4aw.js";import{G as X,l as O}from"./layout-94e1e85f-BAM45a7u.js";import{l as P}from"./line-b015ae81-MIcjsH1n.js";import"./array-b7dcf730-Nw74a44z.js";import"./path-39bad7e2-aUcfwwLI.js";let H=0;const Y=function(i,a,t,o,p){const g=function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}};a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=P().x(function(e){return e.x}).y(function(e){return e.y}).curve($),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let f,h;const x=a.points.length;let b=M.calcLabelPosition(a.points);f=b.x,h=b.y;let u,m,w,k;if(x%2!==0&&x>1){let e=M.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=M.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);y.debug("cardinality_1_point "+JSON.stringify(e)),y.debug("cardinality_2_point "+JSON.stringify(d)),u=e.x,m=e.y,w=d.x,k=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",f).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}y.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",w).attr("y",k).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},J=function(i,a,t,o){y.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=C(a);const f=c.append("tspan").text(r).attr("class","title");n||f.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,u;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){_(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){u=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){_(d,l,n,t),n=!1})}const m=s.node().getBBox();var w=" ";a.cssClasses.length>0&&(w=w+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",w).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),u&&u.attr("x2",e),g.width=e,g.height=m.height+t.padding+.5*t.dividerMargin,g},C=function(i){let a=i.id;return i.type&&(a+="<"+I(i.type)+">"),a},Z=function(i,a,t,o){y.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(`
`);n.forEach(function(x){y.debug(`Adding line: ${x}`),c.append("tspan").text(x).attr("class","title").attr("dy",t.textHeight)});const r=s.node().getBBox(),h=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",r.width+2*t.padding).attr("height",r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return c.node().childNodes.forEach(function(x){x.setAttribute("x",(h-x.getBBox().width)/2)}),g.width=h,g.height=r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin,g},_=function(i,a,t,o){const{displayText:p,cssStyle:g}=a.getDisplayDetails(),s=i.append("tspan").attr("x",o.padding).text(p);g!==""&&s.attr("style",a.cssStyle),t||s.attr("dy",o.textHeight)},N={getClassTitleString:C,drawClass:J,drawEdge:Y,drawNote:Z};let T={};const E=20,L=function(i){const a=Object.entries(T).find(t=>t[1].label===i);if(a)return a[0]},R=function(i){i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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")},z=function(i,a,t,o){const p=v().class;T={},y.info("Rendering diagram "+i);const g=v().securityLevel;let s;g==="sandbox"&&(s=B("#i"+a));const c=g==="sandbox"?B(s.nodes()[0].contentDocument.body):B("body"),n=c.select(`[id='${a}']`);R(n);const r=new X({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const f=o.db.getClasses(),h=Object.keys(f);for(const e of h){const d=f[e],l=N.drawClass(n,d,p,o);T[l.id]=l,r.setNode(l.id,l),y.info("Org height: "+l.height)}o.db.getRelations().forEach(function(e){y.info("tjoho"+L(e.id1)+L(e.id2)+JSON.stringify(e)),r.setEdge(L(e.id1),L(e.id2),{relation:e},e.title||"DEFAULT")}),o.db.getNotes().forEach(function(e){y.debug(`Adding note: ${JSON.stringify(e)}`);const d=N.drawNote(n,e,p,o);T[d.id]=d,r.setNode(d.id,d),e.class&&e.class in f&&r.setEdge(e.id,L(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),O(r),r.nodes().forEach(function(e){e!==void 0&&r.node(e)!==void 0&&(y.debug("Node "+e+": "+JSON.stringify(r.node(e))),c.select("#"+(o.db.lookUpDomId(e)||e)).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )"))}),r.edges().forEach(function(e){e!==void 0&&r.edge(e)!==void 0&&(y.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r.edge(e))),N.drawEdge(n,r.edge(e),r.edge(e).relation,p,o))});const u=n.node().getBBox(),m=u.width+E*2,w=u.height+E*2;G(n,w,m,p.useMaxWidth);const k=`${u.x-E} ${u.y-E} ${m} ${w}`;y.debug(`viewBox ${k}`),n.attr("viewBox",k)},F={draw:z},j={parser:W,db:S,renderer:F,styles:A,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,S.clear()}};export{j as diagram};
import{ap as Ce,aq as we,ar as Oe,as as Te,at as Dt,au as ue,av as Re,aw as wt,ax as Nt,ay as le,az as De,aA as Se,aB as Kt,aC as oe,aD as Pe}from"./index-Hfn5l4aw.js";import{d as Me,g as Le}from"./svgDrawCommon-1b9ff2ad-B4iIY08o.js";var Yt=function(){var e=function(bt,_,x,m){for(x=x||{},m=bt.length;m--;x[bt[m]]=_);return x},t=[1,24],a=[1,25],o=[1,26],l=[1,27],i=[1,28],s=[1,63],r=[1,64],n=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],E=[1,29],O=[1,30],R=[1,31],S=[1,32],L=[1,33],Y=[1,34],Q=[1,35],H=[1,36],q=[1,37],G=[1,38],K=[1,39],J=[1,40],Z=[1,41],$=[1,42],tt=[1,43],et=[1,44],it=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],lt=[1,51],ot=[1,52],ct=[1,53],ht=[1,54],ut=[1,55],dt=[1,56],ft=[1,57],pt=[1,58],yt=[1,59],gt=[1,60],At=[14,42],Vt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],v=[1,82],k=[1,83],A=[1,84],C=[1,85],w=[12,14,42],ne=[12,14,33,42],Pt=[12,14,33,42,76,77,79,80],mt=[12,33],zt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Xt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(_,x,m,g,T,u,Tt){var y=u.length-1;switch(T){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(u[y-3]);break;case 19:g.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:g.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),g.setAccDescription(this.$);break;case 28:case 29:u[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:g.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:g.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:g.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:g.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:g.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:g.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:g.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:g.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:g.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:g.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:g.addContainer("container",...u[y]),this.$=u[y];break;case 48:g.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:g.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:g.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:g.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:g.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:g.addComponent("component",...u[y]),this.$=u[y];break;case 54:g.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:g.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:g.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:g.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:g.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:g.addRel("rel",...u[y]),this.$=u[y];break;case 61:g.addRel("birel",...u[y]),this.$=u[y];break;case 62:g.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:g.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:g.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:g.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:g.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),g.addRel("rel",...u[y]),this.$=u[y];break;case 68:g.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:g.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:g.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let Et={};Et[u[y-1].trim()]=u[y].trim(),this.$=Et;break;case 76:this.$="";break}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:70,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:71,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:72,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:73,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{14:[1,74]},e(At,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt}),e(At,[2,14]),e(Vt,[2,16],{12:[1,76]}),e(At,[2,36],{12:[1,77]}),e(Ot,[2,19]),e(Ot,[2,20]),{25:[1,78]},{27:[1,79]},e(Ot,[2,23]),{35:80,75:81,76:v,77:k,79:A,80:C},{35:86,75:81,76:v,77:k,79:A,80:C},{35:87,75:81,76:v,77:k,79:A,80:C},{35:88,75:81,76:v,77:k,79:A,80:C},{35:89,75:81,76:v,77:k,79:A,80:C},{35:90,75:81,76:v,77:k,79:A,80:C},{35:91,75:81,76:v,77:k,79:A,80:C},{35:92,75:81,76:v,77:k,79:A,80:C},{35:93,75:81,76:v,77:k,79:A,80:C},{35:94,75:81,76:v,77:k,79:A,80:C},{35:95,75:81,76:v,77:k,79:A,80:C},{35:96,75:81,76:v,77:k,79:A,80:C},{35:97,75:81,76:v,77:k,79:A,80:C},{35:98,75:81,76:v,77:k,79:A,80:C},{35:99,75:81,76:v,77:k,79:A,80:C},{35:100,75:81,76:v,77:k,79:A,80:C},{35:101,75:81,76:v,77:k,79:A,80:C},{35:102,75:81,76:v,77:k,79:A,80:C},{35:103,75:81,76:v,77:k,79:A,80:C},{35:104,75:81,76:v,77:k,79:A,80:C},e(w,[2,59]),{35:105,75:81,76:v,77:k,79:A,80:C},{35:106,75:81,76:v,77:k,79:A,80:C},{35:107,75:81,76:v,77:k,79:A,80:C},{35:108,75:81,76:v,77:k,79:A,80:C},{35:109,75:81,76:v,77:k,79:A,80:C},{35:110,75:81,76:v,77:k,79:A,80:C},{35:111,75:81,76:v,77:k,79:A,80:C},{35:112,75:81,76:v,77:k,79:A,80:C},{35:113,75:81,76:v,77:k,79:A,80:C},{35:114,75:81,76:v,77:k,79:A,80:C},{35:115,75:81,76:v,77:k,79:A,80:C},{20:116,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{12:[1,118],33:[1,117]},{35:119,75:81,76:v,77:k,79:A,80:C},{35:120,75:81,76:v,77:k,79:A,80:C},{35:121,75:81,76:v,77:k,79:A,80:C},{35:122,75:81,76:v,77:k,79:A,80:C},{35:123,75:81,76:v,77:k,79:A,80:C},{35:124,75:81,76:v,77:k,79:A,80:C},{35:125,75:81,76:v,77:k,79:A,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(At,[2,15]),e(Vt,[2,17],{21:22,19:130,22:t,23:a,24:o,26:l,28:i}),e(At,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:a,24:o,26:l,28:i,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt}),e(Ot,[2,21]),e(Ot,[2,22]),e(w,[2,39]),e(ne,[2,71],{75:81,35:132,76:v,77:k,79:A,80:C}),e(Pt,[2,73]),{78:[1,133]},e(Pt,[2,75]),e(Pt,[2,76]),e(w,[2,40]),e(w,[2,41]),e(w,[2,42]),e(w,[2,43]),e(w,[2,44]),e(w,[2,45]),e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,66]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(mt,[2,28]),e(mt,[2,29]),e(mt,[2,30]),e(mt,[2,31]),e(mt,[2,32]),e(mt,[2,33]),e(mt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Vt,[2,18]),e(At,[2,38]),e(ne,[2,72]),e(Pt,[2,74]),e(w,[2,24]),e(w,[2,35]),e(zt,[2,25]),e(zt,[2,26],{12:[1,138]}),e(zt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],T=[null],u=[],Tt=this.table,y="",Et=0,se=0,Ee=2,ae=1,ve=u.slice.call(arguments,1),D=Object.create(this.lexer),vt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(vt.yy[Qt]=this.yy[Qt]);D.setInput(_,vt.yy),vt.yy.lexer=D,vt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Ht=D.yylloc;u.push(Ht);var ke=D.options&&D.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(){var X;return X=g.pop()||D.lex()||ae,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,kt,N,qt,Ct={},Mt,z,re,Lt;;){if(kt=m[m.length-1],this.defaultActions[kt]?N=this.defaultActions[kt]:((M===null||typeof M>"u")&&(M=Ae()),N=Tt[kt]&&Tt[kt][M]),typeof N>"u"||!N.length||!N[0]){var Gt="";Lt=[];for(Mt in Tt[kt])this.terminals_[Mt]&&Mt>Ee&&Lt.push("'"+this.terminals_[Mt]+"'");D.showPosition?Gt="Parse error on line "+(Et+1)+`:
`+D.showPosition()+`
Expecting `+Lt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Gt="Parse error on line "+(Et+1)+": Unexpected "+(M==ae?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Gt,{text:D.match,token:this.terminals_[M]||M,line:D.yylineno,loc:Ht,expected:Lt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+kt+", token: "+M);switch(N[0]){case 1:m.push(M),T.push(D.yytext),u.push(D.yylloc),m.push(N[1]),M=null,se=D.yyleng,y=D.yytext,Et=D.yylineno,Ht=D.yylloc;break;case 2:if(z=this.productions_[N[1]][1],Ct.$=T[T.length-z],Ct._$={first_line:u[u.length-(z||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(z||1)].first_column,last_column:u[u.length-1].last_column},ke&&(Ct._$.range=[u[u.length-(z||1)].range[0],u[u.length-1].range[1]]),qt=this.performAction.apply(Ct,[y,se,Et,vt.yy,N[1],T,u].concat(ve)),typeof qt<"u")return qt;z&&(m=m.slice(0,-1*z*2),T=T.slice(0,-1*z),u=u.slice(0,-1*z)),m.push(this.productions_[N[1]][0]),T.push(Ct.$),u.push(Ct._$),re=Tt[m[m.length-2]][m[m.length-1]],m.push(re);break;case 3:return!0}}return!0}},me=function(){var bt={EOF:1,parseError:function(x,m){if(this.yy.parser)this.yy.parser.parseError(x,m);else throw new Error(x)},setInput:function(_,x){return this.yy=x||this.yy||{},this._input=_,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 _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var x=_.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var x=_.length,m=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=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),m.length-1&&(this.yylineno-=m.length-1);var T=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:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return 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).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),x=new Array(_.length+1).join("-");return _+this.upcomingInput()+`
`+x+"^"},test_match:function(_,x){var m,g,T;if(this.options.backtrack_lexer&&(T={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&&(T.yylloc.range=this.yylloc.range.slice(0))),g=_[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+_[0].length},this.yytext+=_[0],this.match+=_[0],this.matches=_,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(_[0].length),this.matched+=_[0],m=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var u in T)this[u]=T[u];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var _,x,m,g;this._more||(this.yytext="",this.match="");for(var T=this._currentRules(),u=0;u<T.length;u++)if(m=this._input.match(this.rules[T[u]]),m&&(!x||m[0].length>x[0].length)){if(x=m,g=u,this.options.backtrack_lexer){if(_=this.test_match(m,T[u]),_!==!1)return _;if(this._backtrack){x=!1;continue}else return!1}else if(!this.options.flex)break}return x?(_=this.test_match(x,T[g]),_!==!1?_:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var x=this.next();return x||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){var x=this.conditionStack.length-1;return x>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(x){return x=this.conditionStack.length-1-Math.abs(x||0),x>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(x,m,g,T){switch(g){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:return this.begin("node"),39;case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:return this.begin("rel_u"),66;case 53:return this.begin("rel_u"),66;case 54:return this.begin("rel_d"),67;case 55:return this.begin("rel_d"),67;case 56:return this.begin("rel_l"),68;case 57:return this.begin("rel_l"),68;case 58:return this.begin("rel_r"),69;case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return bt}();Xt.lexer=me;function Wt(){this.yy={}}return Wt.prototype=Xt,Xt.Parser=Wt,new Wt}();Yt.parser=Yt;const Ne=Yt;let U=[],_t=[""],P="global",j="",V=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],St=[],te="",ee=!1,It=4,jt=2;var de;const Be=function(){return de},Ye=function(e){de=ue(e,Dt())},Ie=function(e,t,a,o,l,i,s,r,n){if(e==null||t===void 0||t===null||a===void 0||a===null||o===void 0||o===null)return;let h={};const f=St.find(d=>d.from===t&&d.to===a);if(f?h=f:St.push(h),h.type=e,h.from=t,h.to=a,h.label={text:o},l==null)h.techn={text:""};else if(typeof l=="object"){let[d,p]=Object.entries(l)[0];h[d]={text:p}}else h.techn={text:l};if(i==null)h.descr={text:""};else if(typeof i=="object"){let[d,p]=Object.entries(i)[0];h[d]={text:p}}else h.descr={text:i};if(typeof s=="object"){let[d,p]=Object.entries(s)[0];h[d]=p}else h.sprite=s;if(typeof r=="object"){let[d,p]=Object.entries(r)[0];h[d]=p}else h.tags=r;if(typeof n=="object"){let[d,p]=Object.entries(n)[0];h[d]=p}else h.link=n;h.wrap=xt()},je=function(e,t,a,o,l,i,s){if(t===null||a===null)return;let r={};const n=U.find(h=>h.alias===t);if(n&&t===n.alias?r=n:(r.alias=t,U.push(r)),a==null?r.label={text:""}:r.label={text:a},o==null)r.descr={text:""};else if(typeof o=="object"){let[h,f]=Object.entries(o)[0];r[h]={text:f}}else r.descr={text:o};if(typeof l=="object"){let[h,f]=Object.entries(l)[0];r[h]=f}else r.sprite=l;if(typeof i=="object"){let[h,f]=Object.entries(i)[0];r[h]=f}else r.tags=i;if(typeof s=="object"){let[h,f]=Object.entries(s)[0];r[h]=f}else r.link=s;r.typeC4Shape={text:e},r.parentBoundary=P,r.wrap=xt()},Ue=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=U.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,U.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=xt(),n.typeC4Shape={text:e},n.parentBoundary=P},Fe=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=U.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,U.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=xt(),n.typeC4Shape={text:e},n.parentBoundary=P},Ve=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=V.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,V.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"system"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=P,i.wrap=xt(),j=P,P=e,_t.push(j)},ze=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=V.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,V.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"container"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=P,i.wrap=xt(),j=P,P=e,_t.push(j)},Xe=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=V.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,V.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.type={text:"node"};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.type={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.nodeType=e,n.parentBoundary=P,n.wrap=xt(),j=P,P=t,_t.push(j)},We=function(){P=j,_t.pop(),j=_t.pop(),_t.push(j)},Qe=function(e,t,a,o,l,i,s,r,n,h,f){let d=U.find(p=>p.alias===t);if(!(d===void 0&&(d=V.find(p=>p.alias===t),d===void 0))){if(a!=null)if(typeof a=="object"){let[p,E]=Object.entries(a)[0];d[p]=E}else d.bgColor=a;if(o!=null)if(typeof o=="object"){let[p,E]=Object.entries(o)[0];d[p]=E}else d.fontColor=o;if(l!=null)if(typeof l=="object"){let[p,E]=Object.entries(l)[0];d[p]=E}else d.borderColor=l;if(i!=null)if(typeof i=="object"){let[p,E]=Object.entries(i)[0];d[p]=E}else d.shadowing=i;if(s!=null)if(typeof s=="object"){let[p,E]=Object.entries(s)[0];d[p]=E}else d.shape=s;if(r!=null)if(typeof r=="object"){let[p,E]=Object.entries(r)[0];d[p]=E}else d.sprite=r;if(n!=null)if(typeof n=="object"){let[p,E]=Object.entries(n)[0];d[p]=E}else d.techn=n;if(h!=null)if(typeof h=="object"){let[p,E]=Object.entries(h)[0];d[p]=E}else d.legendText=h;if(f!=null)if(typeof f=="object"){let[p,E]=Object.entries(f)[0];d[p]=E}else d.legendSprite=f}},He=function(e,t,a,o,l,i,s){const r=St.find(n=>n.from===t&&n.to===a);if(r!==void 0){if(o!=null)if(typeof o=="object"){let[n,h]=Object.entries(o)[0];r[n]=h}else r.textColor=o;if(l!=null)if(typeof l=="object"){let[n,h]=Object.entries(l)[0];r[n]=h}else r.lineColor=l;if(i!=null)if(typeof i=="object"){let[n,h]=Object.entries(i)[0];r[n]=parseInt(h)}else r.offsetX=parseInt(i);if(s!=null)if(typeof s=="object"){let[n,h]=Object.entries(s)[0];r[n]=parseInt(h)}else r.offsetY=parseInt(s)}},qe=function(e,t,a){let o=It,l=jt;if(typeof t=="object"){const i=Object.values(t)[0];o=parseInt(i)}else o=parseInt(t);if(typeof a=="object"){const i=Object.values(a)[0];l=parseInt(i)}else l=parseInt(a);o>=1&&(It=o),l>=1&&(jt=l)},Ge=function(){return It},Ke=function(){return jt},Je=function(){return P},Ze=function(){return j},fe=function(e){return e==null?U:U.filter(t=>t.parentBoundary===e)},$e=function(e){return U.find(t=>t.alias===e)},t0=function(e){return Object.keys(fe(e))},e0=function(e){return e==null?V:V.filter(t=>t.parentBoundary===e)},i0=function(){return St},n0=function(){return te},s0=function(e){ee=e},xt=function(){return ee},a0=function(){U=[],V=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],j="",P="global",_t=[""],St=[],_t=[""],te="",ee=!1,It=4,jt=2},r0={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},l0={FILLED:0,OPEN:1},o0={LEFTOF:0,RIGHTOF:1,OVER:2},c0=function(e){te=ue(e,Dt())},Jt={addPersonOrSystem:je,addPersonOrSystemBoundary:Ve,addContainer:Ue,addContainerBoundary:ze,addComponent:Fe,addDeploymentNode:Xe,popBoundaryParseStack:We,addRel:Ie,updateElStyle:Qe,updateRelStyle:He,updateLayoutConfig:qe,autoWrap:xt,setWrap:s0,getC4ShapeArray:fe,getC4Shape:$e,getC4ShapeKeys:t0,getBoundarys:e0,getCurrentBoundaryParse:Je,getParentBoundaryParse:Ze,getRels:i0,getTitle:n0,getC4Type:Be,getC4ShapeInRow:Ge,getC4BoundaryInRow:Ke,setAccTitle:Ce,getAccTitle:we,getAccDescription:Oe,setAccDescription:Te,getConfig:()=>Dt().c4,clear:a0,LINETYPE:r0,ARROWTYPE:l0,PLACEMENT:o0,setTitle:c0,setC4Type:Ye},ie=function(e,t){return Me(e,t)},pe=function(e,t,a,o,l,i){const s=e.append("image");s.attr("width",t),s.attr("height",a),s.attr("x",o),s.attr("y",l);let r=i.startsWith("data:image/png;base64")?i:Pe(i);s.attr("xlink:href",r)},h0=(e,t,a)=>{const o=e.append("g");let l=0;for(let i of t){let s=i.textColor?i.textColor:"#444444",r=i.lineColor?i.lineColor:"#444444",n=i.offsetX?parseInt(i.offsetX):0,h=i.offsetY?parseInt(i.offsetY):0,f="";if(l===0){let p=o.append("line");p.attr("x1",i.startPoint.x),p.attr("y1",i.startPoint.y),p.attr("x2",i.endPoint.x),p.attr("y2",i.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",r),p.style("fill","none"),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)"),l=-1}else{let p=o.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",i.startPoint.x).replaceAll("starty",i.startPoint.y).replaceAll("controlx",i.startPoint.x+(i.endPoint.x-i.startPoint.x)/2-(i.endPoint.x-i.startPoint.x)/4).replaceAll("controly",i.startPoint.y+(i.endPoint.y-i.startPoint.y)/2).replaceAll("stopx",i.endPoint.x).replaceAll("stopy",i.endPoint.y)),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)")}let d=a.messageFont();W(a)(i.label.text,o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+h,i.label.width,i.label.height,{fill:s},d),i.techn&&i.techn.text!==""&&(d=a.messageFont(),W(a)("["+i.techn.text+"]",o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+a.messageFontSize+5+h,Math.max(i.label.width,i.techn.width),i.techn.height,{fill:s,"font-style":"italic"},d))}},u0=function(e,t,a){const o=e.append("g");let l=t.bgColor?t.bgColor:"none",i=t.borderColor?t.borderColor:"#444444",s=t.fontColor?t.fontColor:"black",r={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(r={"stroke-width":1});let n={x:t.x,y:t.y,fill:l,stroke:i,width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:r};ie(o,n);let h=a.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=s,W(a)(t.label.text,o,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},h),t.type&&t.type.text!==""&&(h=a.boundaryFont(),h.fontColor=s,W(a)(t.type.text,o,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},h)),t.descr&&t.descr.text!==""&&(h=a.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=s,W(a)(t.descr.text,o,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},h))},d0=function(e,t,a){var o;let l=t.bgColor?t.bgColor:a[t.typeC4Shape.text+"_bg_color"],i=t.borderColor?t.borderColor:a[t.typeC4Shape.text+"_border_color"],s=t.fontColor?t.fontColor:"#FFFFFF",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(t.typeC4Shape.text){case"person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}const n=e.append("g");n.attr("class","person-man");const h=Le();switch(t.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=t.x,h.y=t.y,h.fill=l,h.width=t.width,h.height=t.height,h.stroke=i,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},ie(n,h);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2).replaceAll("height",t.height)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("width",t.width).replaceAll("half",t.height/2)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",t.x+t.width).replaceAll("starty",t.y).replaceAll("half",t.height/2));break}let f=E0(a,t.typeC4Shape.text);switch(n.append("text").attr("fill",s).attr("font-family",f.fontFamily).attr("font-size",f.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":pe(n,48,48,t.x+t.width/2-24,t.y+t.image.Y,r);break}let d=a[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=s,W(a)(t.label.text,n,t.x,t.y+t.label.Y,t.width,t.height,{fill:s},d),d=a[t.typeC4Shape.text+"Font"](),d.fontColor=s,t.techn&&((o=t.techn)==null?void 0:o.text)!==""?W(a)(t.techn.text,n,t.x,t.y+t.techn.Y,t.width,t.height,{fill:s,"font-style":"italic"},d):t.type&&t.type.text!==""&&W(a)(t.type.text,n,t.x,t.y+t.type.Y,t.width,t.height,{fill:s,"font-style":"italic"},d),t.descr&&t.descr.text!==""&&(d=a.personFont(),d.fontColor=s,W(a)(t.descr.text,n,t.x,t.y+t.descr.Y,t.width,t.height,{fill:s},d)),t.height},f0=function(e){e.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")},p0=function(e){e.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")},y0=function(e){e.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")},g0=function(e){e.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")},b0=function(e){e.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")},_0=function(e){e.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")},x0=function(e){e.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)},m0=function(e){const a=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);a.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"),a.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")},E0=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),W=function(){function e(l,i,s,r,n,h,f){const d=i.append("text").attr("x",s+n/2).attr("y",r+h/2+5).style("text-anchor","middle").text(l);o(d,f)}function t(l,i,s,r,n,h,f,d){const{fontSize:p,fontFamily:E,fontWeight:O}=d,R=l.split(Kt.lineBreakRegex);for(let S=0;S<R.length;S++){const L=S*p-p*(R.length-1)/2,Y=i.append("text").attr("x",s+n/2).attr("y",r).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",p).style("font-weight",O).style("font-family",E);Y.append("tspan").attr("dy",L).text(R[S]).attr("alignment-baseline","mathematical"),o(Y,f)}}function a(l,i,s,r,n,h,f,d){const p=i.append("switch"),O=p.append("foreignObject").attr("x",s).attr("y",r).attr("width",n).attr("height",h).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");O.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(l),t(l,p,s,r,n,h,f,d),o(O,f)}function o(l,i){for(const s in i)i.hasOwnProperty(s)&&l.attr(s,i[s])}return function(l){return l.textPlacement==="fo"?a:l.textPlacement==="old"?e:t}}(),F={drawRect:ie,drawBoundary:u0,drawC4Shape:d0,drawRels:h0,drawImage:pe,insertArrowHead:g0,insertArrowEnd:b0,insertArrowFilledHead:_0,insertDynamicNumber:x0,insertArrowCrossHead:m0,insertDatabaseIcon:f0,insertComputerIcon:p0,insertClockIcon:y0};let Ut=0,Ft=0,ye=4,Zt=2;Yt.yy=Jt;let b={};class ge{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,$t(t.db.getConfig())}setData(t,a,o,l){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=a,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=l}updateVal(t,a,o,l){t[a]===void 0?t[a]=o:t[a]=l(o,t[a])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let a=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+t.margin*2,o=a+t.width,l=this.nextData.starty+t.margin*2,i=l+t.height;(a>=this.data.widthLimit||o>=this.data.widthLimit||this.nextData.cnt>ye)&&(a=this.nextData.startx+t.margin+b.nextLinePaddingX,l=this.nextData.stopy+t.margin*2,this.nextData.stopx=o=a+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=l+t.height,this.nextData.cnt=1),t.x=a,t.y=l,this.updateVal(this.data,"startx",a,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",o,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",a,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",o,Math.max),this.updateVal(this.nextData,"stopy",i,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},$t(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const $t=function(e){Re(b,e),e.fontFamily&&(b.personFontFamily=b.systemFontFamily=b.messageFontFamily=e.fontFamily),e.fontSize&&(b.personFontSize=b.systemFontSize=b.messageFontSize=e.fontSize),e.fontWeight&&(b.personFontWeight=b.systemFontWeight=b.messageFontWeight=e.fontWeight)},Rt=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Bt=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),v0=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight});function I(e,t,a,o,l){if(!t[e].width)if(a)t[e].text=Se(t[e].text,l,o),t[e].textLines=t[e].text.split(Kt.lineBreakRegex).length,t[e].width=l,t[e].height=oe(t[e].text,o);else{let i=t[e].text.split(Kt.lineBreakRegex);t[e].textLines=i.length;let s=0;t[e].height=0,t[e].width=0;for(const r of i)t[e].width=Math.max(wt(r,o),t[e].width),s=oe(r,o),t[e].height=t[e].height+s}}const be=function(e,t,a){t.x=a.data.startx,t.y=a.data.starty,t.width=a.data.stopx-a.data.startx,t.height=a.data.stopy-a.data.starty,t.label.y=b.c4ShapeMargin-35;let o=t.wrap&&b.wrap,l=Bt(b);l.fontSize=l.fontSize+2,l.fontWeight="bold";let i=wt(t.label.text,l);I("label",t,o,l,i),F.drawBoundary(e,t,b)},_e=function(e,t,a,o){let l=0;for(const i of o){l=0;const s=a[i];let r=Rt(b,s.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,s.typeC4Shape.width=wt("«"+s.typeC4Shape.text+"»",r),s.typeC4Shape.height=r.fontSize+2,s.typeC4Shape.Y=b.c4ShapePadding,l=s.typeC4Shape.Y+s.typeC4Shape.height-4,s.image={width:0,height:0,Y:0},s.typeC4Shape.text){case"person":case"external_person":s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height;break}s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height);let n=s.wrap&&b.wrap,h=b.width-b.c4ShapePadding*2,f=Rt(b,s.typeC4Shape.text);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",I("label",s,n,f,h),s.label.Y=l+8,l=s.label.Y+s.label.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let E=Rt(b,s.typeC4Shape.text);I("type",s,n,E,h),s.type.Y=l+5,l=s.type.Y+s.type.height}else if(s.techn&&s.techn.text!==""){s.techn.text="["+s.techn.text+"]";let E=Rt(b,s.techn.text);I("techn",s,n,E,h),s.techn.Y=l+5,l=s.techn.Y+s.techn.height}let d=l,p=s.label.width;if(s.descr&&s.descr.text!==""){let E=Rt(b,s.typeC4Shape.text);I("descr",s,n,E,h),s.descr.Y=l+20,l=s.descr.Y+s.descr.height,p=Math.max(s.label.width,s.descr.width),d=l-s.descr.textLines*5}p=p+b.c4ShapePadding,s.width=Math.max(s.width||b.width,p,b.width),s.height=Math.max(s.height||b.height,d,b.height),s.margin=s.margin||b.c4ShapeMargin,e.insert(s),F.drawC4Shape(t,s,b)}e.bumpLastMargin(b.c4ShapeMargin)};class B{constructor(t,a){this.x=t,this.y=a}}let ce=function(e,t){let a=e.x,o=e.y,l=t.x,i=t.y,s=a+e.width/2,r=o+e.height/2,n=Math.abs(a-l),h=Math.abs(o-i),f=h/n,d=e.height/e.width,p=null;return o==i&&a<l?p=new B(a+e.width,r):o==i&&a>l?p=new B(a,r):a==l&&o<i?p=new B(s,o+e.height):a==l&&o>i&&(p=new B(s,o)),a>l&&o<i?d>=f?p=new B(a,r+f*e.width/2):p=new B(s-n/h*e.height/2,o+e.height):a<l&&o<i?d>=f?p=new B(a+e.width,r+f*e.width/2):p=new B(s+n/h*e.height/2,o+e.height):a<l&&o>i?d>=f?p=new B(a+e.width,r-f*e.width/2):p=new B(s+e.height/2*n/h,o):a>l&&o>i&&(d>=f?p=new B(a,r-e.width/2*f):p=new B(s-e.height/2*n/h,o)),p},k0=function(e,t){let a={x:0,y:0};a.x=t.x+t.width/2,a.y=t.y+t.height/2;let o=ce(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let l=ce(t,a);return{startPoint:o,endPoint:l}};const A0=function(e,t,a,o){let l=0;for(let i of t){l=l+1;let s=i.wrap&&b.wrap,r=v0(b);o.db.getC4Type()==="C4Dynamic"&&(i.label.text=l+": "+i.label.text);let h=wt(i.label.text,r);I("label",i,s,r,h),i.techn&&i.techn.text!==""&&(h=wt(i.techn.text,r),I("techn",i,s,r,h)),i.descr&&i.descr.text!==""&&(h=wt(i.descr.text,r),I("descr",i,s,r,h));let f=a(i.from),d=a(i.to),p=k0(f,d);i.startPoint=p.startPoint,i.endPoint=p.endPoint}F.drawRels(e,t,b)};function xe(e,t,a,o,l){let i=new ge(l);i.data.widthLimit=a.data.widthLimit/Math.min(Zt,o.length);for(let[s,r]of o.entries()){let n=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=n,n=r.image.Y+r.image.height);let h=r.wrap&&b.wrap,f=Bt(b);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",I("label",r,h,f,i.data.widthLimit),r.label.Y=n+8,n=r.label.Y+r.label.height,r.type&&r.type.text!==""){r.type.text="["+r.type.text+"]";let O=Bt(b);I("type",r,h,O,i.data.widthLimit),r.type.Y=n+5,n=r.type.Y+r.type.height}if(r.descr&&r.descr.text!==""){let O=Bt(b);O.fontSize=O.fontSize-2,I("descr",r,h,O,i.data.widthLimit),r.descr.Y=n+20,n=r.descr.Y+r.descr.height}if(s==0||s%Zt===0){let O=a.data.startx+b.diagramMarginX,R=a.data.stopy+b.diagramMarginY+n;i.setData(O,O,R,R)}else{let O=i.data.stopx!==i.data.startx?i.data.stopx+b.diagramMarginX:i.data.startx,R=i.data.starty;i.setData(O,O,R,R)}i.name=r.alias;let d=l.db.getC4ShapeArray(r.alias),p=l.db.getC4ShapeKeys(r.alias);p.length>0&&_e(i,e,d,p),t=r.alias;let E=l.db.getBoundarys(t);E.length>0&&xe(e,t,i,E,l),r.alias!=="global"&&be(e,r,i),a.data.stopy=Math.max(i.data.stopy+b.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(i.data.stopx+b.c4ShapeMargin,a.data.stopx),Ut=Math.max(Ut,a.data.stopx),Ft=Math.max(Ft,a.data.stopy)}}const C0=function(e,t,a,o){b=Dt().c4;const l=Dt().securityLevel;let i;l==="sandbox"&&(i=Nt("#i"+t));const s=l==="sandbox"?Nt(i.nodes()[0].contentDocument.body):Nt("body");let r=o.db;o.db.setWrap(b.wrap),ye=r.getC4ShapeInRow(),Zt=r.getC4BoundaryInRow(),le.debug(`C:${JSON.stringify(b,null,2)}`);const n=l==="sandbox"?s.select(`[id="${t}"]`):Nt(`[id="${t}"]`);F.insertComputerIcon(n),F.insertDatabaseIcon(n),F.insertClockIcon(n);let h=new ge(o);h.setData(b.diagramMarginX,b.diagramMarginX,b.diagramMarginY,b.diagramMarginY),h.data.widthLimit=screen.availWidth,Ut=b.diagramMarginX,Ft=b.diagramMarginY;const f=o.db.getTitle();let d=o.db.getBoundarys("");xe(n,"",h,d,o),F.insertArrowHead(n),F.insertArrowEnd(n),F.insertArrowCrossHead(n),F.insertArrowFilledHead(n),A0(n,o.db.getRels(),o.db.getC4Shape,o),h.data.stopx=Ut,h.data.stopy=Ft;const p=h.data;let O=p.stopy-p.starty+2*b.diagramMarginY;const S=p.stopx-p.startx+2*b.diagramMarginX;f&&n.append("text").text(f).attr("x",(p.stopx-p.startx)/2-4*b.diagramMarginX).attr("y",p.starty+b.diagramMarginY),De(n,O,S,b.useMaxWidth);const L=f?60:0;n.attr("viewBox",p.startx-b.diagramMarginX+" -"+(b.diagramMarginY+L)+" "+S+" "+(O+L)),le.debug("models:",p)},he={drawPersonOrSystemArray:_e,drawBoundary:be,setConf:$t,draw:C0},w0=e=>`.person {
stroke: ${e.personBorder};
fill: ${e.personBkg};
}
`,O0=w0,D0={parser:Ne,db:Jt,renderer:he,styles:O0,init:({c4:e,wrap:t})=>{he.setConf(e),Jt.setWrap(t)}};export{D0 as diagram};
function t(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}export{t as a};
import{w as cn,c as b}from"./path-39bad7e2-aUcfwwLI.js";import{c9 as rn,ca as C,cb as j,cc as an,cd as g,bc as ln,ce as H,cf as _,cg as un,ch as o,ci as sn,cj as on,ck as tn}from"./index-Hfn5l4aw.js";function fn(c){return c.innerRadius}function gn(c){return c.outerRadius}function yn(c){return c.startAngle}function mn(c){return c.endAngle}function dn(c){return c&&c.padAngle}function pn(c,h,E,q,v,A,k,r){var I=E-c,i=q-h,n=k-v,m=r-A,a=m*I-n*i;if(!(a*a<g))return a=(n*(h-A)-m*(c-v))/a,[c+a*I,h+a*i]}function Q(c,h,E,q,v,A,k){var r=c-E,I=h-q,i=(k?A:-A)/H(r*r+I*I),n=i*I,m=-i*r,a=c+n,s=h+m,t=E+n,f=q+m,z=(a+t)/2,l=(s+f)/2,d=t-a,y=f-s,R=d*d+y*y,T=v-A,P=a*f-t*s,O=(y<0?-1:1)*H(tn(0,T*T*R-P*P)),S=(P*y-d*O)/R,$=(-P*d-y*O)/R,w=(P*y+d*O)/R,p=(-P*d+y*O)/R,x=S-z,e=$-l,u=w-z,B=p-l;return x*x+e*e>u*u+B*B&&(S=w,$=p),{cx:S,cy:$,x01:-n,y01:-m,x11:S*(v/T-1),y11:$*(v/T-1)}}function vn(){var c=fn,h=gn,E=b(0),q=null,v=yn,A=mn,k=dn,r=null,I=cn(i);function i(){var n,m,a=+c.apply(this,arguments),s=+h.apply(this,arguments),t=v.apply(this,arguments)-an,f=A.apply(this,arguments)-an,z=un(f-t),l=f>t;if(r||(r=n=I()),s<a&&(m=s,s=a,a=m),!(s>g))r.moveTo(0,0);else if(z>ln-g)r.moveTo(s*C(t),s*j(t)),r.arc(0,0,s,t,f,!l),a>g&&(r.moveTo(a*C(f),a*j(f)),r.arc(0,0,a,f,t,l));else{var d=t,y=f,R=t,T=f,P=z,O=z,S=k.apply(this,arguments)/2,$=S>g&&(q?+q.apply(this,arguments):H(a*a+s*s)),w=_(un(s-a)/2,+E.apply(this,arguments)),p=w,x=w,e,u;if($>g){var B=sn($/a*j(S)),J=sn($/s*j(S));(P-=B*2)>g?(B*=l?1:-1,R+=B,T-=B):(P=0,R=T=(t+f)/2),(O-=J*2)>g?(J*=l?1:-1,d+=J,y-=J):(O=0,d=y=(t+f)/2)}var F=s*C(d),G=s*j(d),K=a*C(T),L=a*j(T);if(w>g){var M=s*C(y),N=s*j(y),U=a*C(R),V=a*j(R),D;if(z<rn)if(D=pn(F,G,U,V,M,N,K,L)){var W=F-D[0],X=G-D[1],Y=M-D[0],Z=N-D[1],nn=1/j(on((W*Y+X*Z)/(H(W*W+X*X)*H(Y*Y+Z*Z)))/2),en=H(D[0]*D[0]+D[1]*D[1]);p=_(w,(a-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}O>g?x>g?(e=Q(U,V,F,G,s,x,l),u=Q(M,N,K,L,s,x,l),r.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?r.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(u.y01,u.x01),!l):(r.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!l),r.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(u.cy+u.y11,u.cx+u.x11),!l),r.arc(u.cx,u.cy,x,o(u.y11,u.x11),o(u.y01,u.x01),!l))):(r.moveTo(F,G),r.arc(0,0,s,d,y,!l)):r.moveTo(F,G),!(a>g)||!(P>g)?r.lineTo(K,L):p>g?(e=Q(K,L,M,N,a,-p,l),u=Q(F,G,U,V,a,-p,l),r.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?r.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(u.y01,u.x01),!l):(r.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!l),r.arc(0,0,a,o(e.cy+e.y11,e.cx+e.x11),o(u.cy+u.y11,u.cx+u.x11),l),r.arc(u.cx,u.cy,p,o(u.y11,u.x11),o(u.y01,u.x01),!l))):r.arc(0,0,a,T,R,l)}if(r.closePath(),n)return r=null,n+""||null}return i.centroid=function(){var n=(+c.apply(this,arguments)+ +h.apply(this,arguments))/2,m=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-rn/2;return[C(m)*n,j(m)*n]},i.innerRadius=function(n){return arguments.length?(c=typeof n=="function"?n:b(+n),i):c},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:b(+n),i):h},i.cornerRadius=function(n){return arguments.length?(E=typeof n=="function"?n:b(+n),i):E},i.padRadius=function(n){return arguments.length?(q=n==null?null:typeof n=="function"?n:b(+n),i):q},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:b(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:b(+n),i):A},i.padAngle=function(n){return arguments.length?(k=typeof n=="function"?n:b(+n),i):k},i.context=function(n){return arguments.length?(r=n??null,i):r},i}export{vn as d};
import{d,u as _,a as h,c as m,b as p,r as u,e as a,f as t,t as s,g as r,F as f,h as g,n as v,i as x,o as n,j as y,k as b,l as N,m as k,_ as P}from"./index-Hfn5l4aw.js";import{N as w}from"./NoteDisplay-yuZim5X5.js";const V={class:"m-4"},L={class:"mb-10"},S={class:"text-4xl font-bold mt-2"},T={class:"opacity-50"},B={class:"text-lg"},D={class:"font-bold flex gap-2"},H={class:"opacity-50"},j=t("div",{class:"flex-auto"},null,-1),z={key:0,class:"border-gray-400/50 mb-8"},C=d({__name:"PresenterPrint",setup(F){_(`
@page {
size: A4;
margin-top: 1.5cm;
margin-bottom: 1cm;
}
* {
-webkit-print-color-adjust: exact;
}
html,
html body,
html #app,
html #page-root {
height: auto;
overflow: auto !important;
}
`),h({title:`Notes - ${m.title}`});const i=p(()=>u.map(o=>{var l;return(l=o.meta)==null?void 0:l.slide}).filter(o=>o!==void 0&&o.noteHTML!==""));return(o,l)=>(n(),a("div",{id:"page-root",style:v(r(x))},[t("div",V,[t("div",L,[t("h1",S,s(r(m).title),1),t("div",T,s(new Date().toLocaleString()),1)]),(n(!0),a(f,null,g(i.value,(e,c)=>(n(),a("div",{key:c,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",B,[t("div",D,[t("div",H,s(e==null?void 0:e.no)+"/"+s(r(y)),1),b(" "+s(e==null?void 0:e.title)+" ",1),j])]),N(w,{"note-html":e.noteHTML,class:"max-w-full"},null,8,["note-html"])]),c<i.value.length-1?(n(),a("hr",z)):k("v-if",!0)]))),128))])],4))}}),E=P(C,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/PresenterPrint.vue"]]);export{E as default};
import{o as u,e as _,f as e,p as g,q as I,b as w,d as A,s as k,v as x,w as C,_ as D,x as R,y as E,c as M,a as q,z as N,A as O,B as U,C as W,D as Z,E as G,G as X,H as j,I as J,J as K,K as Q,L as Y,M as ee,g as t,N as te,l as i,t as se,n as f,i as V,O as P,S as T,m as $,P as oe,Q as B,R as H,T as ne,j as le,U as b,V as ae,W as ie,F as re,X as ce,Y as ue,Z as de,$ as _e,a0 as me,a1 as L,a2 as ve,a3 as pe}from"./index-Hfn5l4aw.js";import{N as he}from"./NoteDisplay-yuZim5X5.js";import fe from"./DrawingControls-BpEX6Ul-.js";const ge={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},xe=e("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),we=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9"},null,-1),Se=[xe,we];function ye(s,n){return u(),_("svg",ge,[...Se])}const $e={name:"carbon-zoom-out",render:ye},be={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ke=e("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4z"},null,-1),Ce=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9"},null,-1),ze=[ke,Ce];function Me(s,n){return u(),_("svg",be,[...ze])}const Ne={name:"carbon-zoom-in",render:Me},Ve={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Pe=e("path",{fill:"currentColor",d:"M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z"},null,-1),Te=[Pe];function Be(s,n){return u(),_("svg",Ve,[...Te])}const He={name:"carbon-renew",render:Be},Le={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Ae=e("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4"},null,-1),De=e("path",{fill:"currentColor",d:"M20.59 22L15 16.41V7h2v8.58l5 5.01z"},null,-1),Fe=[Ae,De];function Ie(s,n){return u(),_("svg",Le,[...Fe])}const Re={name:"carbon-time",render:Ie},Ee="/slides/fosdem2024/assets/logo-title-horizontal-XSaaVPPu.png";function qe(){const s=g(Date.now()),n=I({interval:1e3}),m=w(()=>{const l=(n.value-s.value)/1e3,r=Math.floor(l%60).toString().padStart(2,"0");return`${Math.floor(l/60).toString().padStart(2,"0")}:${r}`});function v(){s.value=n.value}return{timer:m,resetTimer:v}}const Oe=A({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(s){const n=s,m=w(()=>{var l,r,a;return(a=(r=(l=k.value)==null?void 0:l.meta)==null?void 0:r.slide)==null?void 0:a.note}),v=w(()=>{var l,r,a;return(a=(r=(l=k.value)==null?void 0:l.meta)==null?void 0:r.slide)==null?void 0:a.noteHTML});return(l,r)=>(u(),x(he,{class:C(n.class),note:m.value,"note-html":v.value},null,8,["class","note","note-html"]))}}),Ue=D(Oe,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/NoteStatic.vue"]]),S=s=>(_e("data-v-574fd206"),s=s(),me(),s),We={class:"bg-main h-full slidev-presenter"},Ze={class:"grid-section top flex"},Ge=S(()=>e("img",{src:Ee,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2",style:{height:"3.5rem"},alt:"Slidev logo"},null,-1)),Xe=S(()=>e("div",{class:"flex-auto"},null,-1)),je={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},Je=S(()=>e("div",{class:"context"}," current ",-1)),Ke=S(()=>e("div",{class:"context"}," next ",-1)),Qe={key:1,class:"grid-section note grid grid-rows-[1fr_min-content] overflow-hidden"},Ye={class:"border-t border-main py-1 px-2 text-sm"},et={class:"grid-section bottom"},tt={class:"progress-bar"},st=A({__name:"Presenter",setup(s){const n=g();R(),E(n);const m=M.titleTemplate.replace("%s",M.title||"Slidev");q({title:`Presenter - ${m}`}),g(!1);const{timer:v,resetTimer:l}=qe(),r=g([]),a=w(()=>N.value<O.value?{route:k.value,clicks:N.value+1}:U.value?{route:W.value,clicks:0}:null);return Z(),G(()=>{const z=n.value.querySelector("#slide-content"),o=X(j()),y=J();K(()=>{if(!y.value||Y.value||!ee.value)return;const d=z.getBoundingClientRect(),p=(o.x-d.left)/d.width*100,h=(o.y-d.top)/d.height*100;if(!(p<0||p>100||h<0||h>100))return{x:p,y:h}},d=>{Q.cursor=d})}),(z,o)=>{const y=Re,d=He,p=Ne,h=$e;return u(),_(re,null,[e("div",We,[e("div",{class:C(["grid-container",`layout${t(te)}`])},[e("div",Ze,[Ge,Xe,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:o[0]||(o[0]=(...c)=>t(l)&&t(l)(...c))},[i(y,{class:"absolute"}),i(d,{class:"absolute opacity-0"})]),e("div",je,se(t(v)),1)]),e("div",{ref_key:"main",ref:n,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:f(t(V))},[i(T,{key:"main",class:"h-full w-full"},{default:P(()=>[i(ce,{"render-context":"presenter"})]),_:1}),Je],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:f(t(V))},[a.value?(u(),x(T,{key:"next",class:"h-full w-full"},{default:P(()=>{var c;return[i(t(de),{is:(c=a.value.route)==null?void 0:c.component,"clicks-elements":r.value,"onUpdate:clicksElements":o[1]||(o[1]=F=>r.value=F),clicks:a.value.clicks,"clicks-disabled":!1,class:C(t(ue)(a.value.route)),route:a.value.route,"render-context":"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):$("v-if",!0),Ke],4),$(" Notes "),(u(),_("div",Qe,[(u(),x(Ue,{key:1,class:"w-full max-w-full h-full overflow-auto p-2 lg:p-4",style:f({fontSize:`${t(oe)}em`})},null,8,["style"])),e("div",Ye,[e("button",{class:"slidev-icon-btn",onClick:o[2]||(o[2]=(...c)=>t(B)&&t(B)(...c))},[i(L,{text:"Increase font size"}),i(p)]),e("button",{class:"slidev-icon-btn",onClick:o[3]||(o[3]=(...c)=>t(H)&&t(H)(...c))},[i(L,{text:"Decrease font size"}),i(h)]),$("v-if",!0)])])),e("div",et,[i(ve,{persist:!0})]),(u(),x(fe,{key:2}))],2),e("div",tt,[e("div",{class:"progress h-2px bg-primary transition-all",style:f({width:`${(t(ne)-1)/(t(le)-1)*100}%`})},null,4)])]),i(pe),i(ie,{modelValue:t(b),"onUpdate:modelValue":o[5]||(o[5]=c=>ae(b)?b.value=c:null)},null,8,["modelValue"])],64)}}}),at=D(st,[["__scopeId","data-v-574fd206"],["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Presenter.vue"]]);export{at as default};
.slidev-presenter[data-v-574fd206]{--slidev-controls-foreground: current}.timer-btn[data-v-574fd206]:hover>:first-child{opacity:0}.timer-btn[data-v-574fd206]:hover>:last-child{opacity:1}.section-title[data-v-574fd206]{padding:.5rem 1rem;font-size:1.25rem;line-height:1.75rem}.grid-container[data-v-574fd206]{height:100%;width:100%;--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.15;display:grid;gap:1px 1px}.grid-container.layout1[data-v-574fd206]{grid-template-columns:1fr 1fr;grid-template-rows:min-content 2fr 1fr min-content;grid-template-areas:"top top" "main main" "note next" "bottom bottom"}.grid-container.layout2[data-v-574fd206]{grid-template-columns:3fr 2fr;grid-template-rows:min-content 2fr 1fr min-content;grid-template-areas:"top top" "note main" "note next" "bottom bottom"}@media (max-aspect-ratio: 3/5){.grid-container.layout1[data-v-574fd206]{grid-template-columns:1fr;grid-template-rows:min-content 1fr 1fr 1fr min-content;grid-template-areas:"top" "main" "note" "next" "bottom"}}@media (min-aspect-ratio: 1/1){.grid-container.layout1[data-v-574fd206]{grid-template-columns:1fr 1.1fr .9fr;grid-template-rows:min-content 1fr 2fr min-content;grid-template-areas:"top top top" "main main next" "main main note" "bottom bottom bottom"}}.progress-bar[data-v-574fd206]{position:fixed;left:0;right:0;bottom:0}.grid-section[data-v-574fd206]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(24 24 24 / var(--un-text-opacity))}.grid-section.top[data-v-574fd206]{grid-area:top}.grid-section.main[data-v-574fd206]{grid-area:main}.grid-section.next[data-v-574fd206]{grid-area:next}.grid-section.note[data-v-574fd206]{grid-area:note}.grid-section.bottom[data-v-574fd206]{grid-area:bottom}.dark .grid-section[data-v-574fd206]{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(221 221 221 / var(--un-text-opacity))}.context[data-v-574fd206]{position:absolute;top:0;left:0;border-bottom-right-radius:.375rem;--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity));--un-bg-opacity:.5;padding-left:.25rem;padding-right:.25rem;font-size:.75rem;line-height:1rem;opacity:.75}
import{d,e as n,w as s,f as r,t as a,o as l,_ as c}from"./index-Hfn5l4aw.js";const u=["innerHTML"],m=["textContent"],f=["textContent"],k=d({__name:"NoteDisplay",props:{class:{type:String,required:!1},noteHtml:{type:String,required:!1},note:{type:String,required:!1},placeholder:{type:String,required:!1}},emits:["click"],setup(p){const o=p;return(e,t)=>e.noteHtml?(l(),n("div",{key:0,class:s(["prose overflow-auto outline-none",o.class]),onClick:t[0]||(t[0]=i=>e.$emit("click")),innerHTML:e.noteHtml},null,10,u)):e.note?(l(),n("div",{key:1,class:s(["prose overflow-auto outline-none",o.class]),onClick:t[1]||(t[1]=i=>e.$emit("click"))},[r("p",{textContent:a(e.note)},null,8,m)],2)):(l(),n("div",{key:2,class:s(["prose overflow-auto outline-none opacity-50 italic",o.class]),onClick:t[2]||(t[2]=i=>e.$emit("click"))},[r("p",{textContent:a(o.placeholder||"No notes.")},null,8,f)],2))}}),v=c(k,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{v as N};
function O(r,v){for(var u=0;u<v.length;u++){const a=v[u];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in r)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(r,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var g={exports:{}};(function(r,v){(function(u,a){a()})(d,function(){function u(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function a(e,t,l){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){p(o.response,t,l)},o.onerror=function(){console.error("could not download file")},o.send()}function s(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function c(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof d=="object"&&d.global===d?d:void 0,y=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),p=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!y?function(e,t,l){var o=i.URL||i.webkitURL,n=document.createElement("a");t=t||e.name||"download",n.download=t,n.rel="noopener",typeof e=="string"?(n.href=e,n.origin===location.origin?c(n):s(n.href)?a(e,t,l):c(n,n.target="_blank")):(n.href=o.createObjectURL(e),setTimeout(function(){o.revokeObjectURL(n.href)},4e4),setTimeout(function(){c(n)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,l){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(u(e,l),t);else if(s(e))a(e,t,l);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){c(o)})}}:function(e,t,l,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),typeof e=="string")return a(e,t,l);var n=e.type==="application/octet-stream",E=/constructor/i.test(i.HTMLElement)||i.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||n&&E||y)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var f=w.result;f=b?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=f:location=f,o=null},w.readAsDataURL(e)}else{var h=i.URL||i.webkitURL,m=h.createObjectURL(e);o?o.location=m:location.href=m,o=null,setTimeout(function(){h.revokeObjectURL(m)},4e4)}});i.saveAs=p.saveAs=p,r.exports=p})})(g);var j=g.exports;const A=_(j),L=O({__proto__:null,default:A},[j]);export{L as F};
import{d as l,al as r,am as i,p as c,E as u,ai as a,J as m,an as d,ao as _,o as f,e as p,w as v,g as s,a7 as o,_ as g}from"./index-Hfn5l4aw.js";const w=l({__name:"DrawingLayer",setup(h){const t=r(i),e=c();return u(()=>{a.mount(e.value,e.value.parentElement),m(t,n=>a.options.coordinateScale=1/n,{immediate:!0}),d()}),_(()=>{a.unmount()}),(n,x)=>(f(),p("svg",{ref_key:"svg",ref:e,class:v(["w-full h-full absolute top-0",{"pointer-events-none":!s(o),"touch-none":s(o)}])},null,2))}}),E=g(w,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{E as default};
import{o as i,e as a,f as t,d as y,p as C,a4 as N,a5 as R,a6 as T,n as M,g as n,_ as D,v as U,O as j,w as r,a7 as h,a8 as _,l as e,a9 as m,m as f,h as q,aa as x,ab as F,F as P,ac as Y,ad as G,ae as I,af as J,a1 as d,ag as g,ah as b,ai as k,aj as $,ak as Q}from"./index-Hfn5l4aw.js";const W={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},X=t("path",{fill:"currentColor",d:"M16 2C8.2 2 2 8.2 2 16s6.2 14 14 14s14-6.2 14-14S23.8 2 16 2m0 26C9.4 28 4 22.6 4 16S9.4 4 16 4s12 5.4 12 12s-5.4 12-12 12"},null,-1),nn=t("path",{fill:"currentColor",d:"M21.4 23L16 17.6L10.6 23L9 21.4l5.4-5.4L9 10.6L10.6 9l5.4 5.4L21.4 9l1.6 1.6l-5.4 5.4l5.4 5.4z"},null,-1),en=[X,nn];function tn(c,l){return i(),a("svg",W,[...en])}const on={name:"carbon-close-outline",render:tn},sn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ln=t("path",{fill:"currentColor",d:"M2 16A14 14 0 1 0 16 2A14 14 0 0 0 2 16m23.15 7.75L8.25 6.85a12 12 0 0 1 16.9 16.9M8.24 25.16a12 12 0 0 1-1.4-16.89l16.89 16.89a12 12 0 0 1-15.49 0"},null,-1),an=[ln];function rn(c,l){return i(),a("svg",sn,[...an])}const cn={name:"carbon-error",render:rn},dn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},_n=t("path",{fill:"currentColor",d:"M28.59 13.31L30 11.9L20 2l-1.31 1.42l1.18 1.18l-11.49 9.72l-1.72-1.71L5.25 14l5.66 5.68L2 28.58L3.41 30l8.91-8.91L18 26.75l1.39-1.42l-1.71-1.71l9.72-11.49ZM16.26 22.2L9.8 15.74L21.29 6L26 10.71Z"},null,-1),un=[_n];function hn(c,l){return i(),a("svg",dn,[...un])}const pn={name:"carbon-pin",render:hn},mn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},vn=t("path",{fill:"currentColor",d:"M28.586 13.314L30 11.9L20 2l-1.314 1.415l1.186 1.186L8.38 14.322l-1.716-1.715L5.25 14l5.657 5.677L2 28.583L3.41 30l8.911-8.909L18 26.748l1.393-1.414l-1.716-1.716l9.724-11.49Z"},null,-1),gn=[vn];function bn(c,l){return i(),a("svg",mn,[...gn])}const wn={name:"carbon-pin-filled",render:bn},fn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},xn=t("path",{fill:"currentColor",d:"M29 26H12a1 1 0 0 1-.707-.293l-9-9a1 1 0 0 1 0-1.414l9-9A1 1 0 0 1 12 6h17a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1m-16.586-2H28V8H12.414l-8 8z"},null,-1),$n=t("path",{fill:"currentColor",d:"M20.414 16L25 11.414L23.586 10L19 14.586L14.414 10L13 11.414L17.586 16L13 20.586L14.414 22L19 17.414L23.586 22L25 20.586z"},null,-1),Ln=[xn,$n];function Cn(c,l){return i(),a("svg",fn,[...Ln])}const kn={name:"carbon-delete",render:Cn},yn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Mn=t("path",{fill:"currentColor",d:"M12 10h12.185l-3.587-3.586L22 5l6 6l-6 6l-1.402-1.415L24.182 12H12a6 6 0 0 0 0 12h8v2h-8a8 8 0 0 1 0-16"},null,-1),Dn=[Mn];function Bn(c,l){return i(),a("svg",yn,[...Dn])}const Vn={name:"carbon-redo",render:Bn},Hn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Sn=t("path",{fill:"currentColor",d:"M20 10H7.815l3.587-3.586L10 5l-6 6l6 6l1.402-1.415L7.818 12H20a6 6 0 0 1 0 12h-8v2h8a8 8 0 0 0 0-16"},null,-1),zn=[Sn];function An(c,l){return i(),a("svg",Hn,[...zn])}const On={name:"carbon-undo",render:An},Zn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},En=t("path",{fill:"currentColor",d:"M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M6 26V6h20v20Z"},null,-1),Kn=[En];function Nn(c,l){return i(),a("svg",Zn,[...Kn])}const Rn={name:"carbon-checkbox",render:Nn},Tn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Un=t("path",{fill:"currentColor",d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),jn=[Un];function qn(c,l){return i(),a("svg",Tn,[...jn])}const Fn={name:"carbon-radio-button",render:qn},Pn={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Yn=t("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6z"},null,-1),Gn=[Yn];function In(c,l){return i(),a("svg",Pn,[...Gn])}const Jn={name:"carbon-arrow-up-right",render:In},Qn=y({__name:"Draggable",props:{storageKey:{type:String,required:!1},initial:{type:Object,required:!1}},setup(c){const l=c,v=C(null),u=l.initial??{x:0,y:0},w=l.storageKey?N(l.storageKey,u):C(u),{style:p}=R(v,{initialValue:w});return(o,L)=>(i(),a("div",{ref_key:"el",ref:v,class:"fixed",style:M(n(p))},[T(o.$slots,"default")],4))}}),Wn=D(Qn,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/Draggable.vue"]]),Xn=t("svg",{width:"1em",height:"1em",class:"-mt-0.5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[t("path",{d:"M21.71 3.29a1 1 0 0 0-1.42 0l-18 18a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l18-18a1 1 0 0 0 0-1.42z",fill:"currentColor"})],-1),ne=["onClick"],ee=y({__name:"DrawingControls",setup(c){function l(){k.undo()}function v(){k.redo()}function u(p){m.value=p,h.value=!0}function w(p){x.color=p,h.value=!0}return(p,o)=>{const L=Q,B=Jn,V=Fn,H=Rn,S=On,z=Vn,A=kn,O=wn,Z=pn,E=cn,K=on;return i(),U(Wn,{class:r(["flex flex-wrap text-xl p-2 gap-1 rounded-md bg-main shadow transition-opacity duration-200",n(h)?"":n(_)?"opacity-40 hover:opacity-90":"opacity-0 pointer-events-none"]),dark:"border border-gray-400 border-opacity-10","storage-key":"slidev-drawing-pos","initial-x":10,"initial-y":10},{default:j(()=>[t("button",{class:r(["slidev-icon-btn",{shallow:n(m)!=="stylus"}]),onClick:o[0]||(o[0]=s=>u("stylus"))},[e(d,{text:"Draw with stylus"}),e(L)],2),t("button",{class:r(["slidev-icon-btn",{shallow:n(m)!=="line"}]),onClick:o[1]||(o[1]=s=>u("line"))},[e(d,{text:"Draw a line"}),Xn],2),t("button",{class:r(["slidev-icon-btn",{shallow:n(m)!=="arrow"}]),onClick:o[2]||(o[2]=s=>u("arrow"))},[e(d,{text:"Draw an arrow"}),e(B)],2),t("button",{class:r(["slidev-icon-btn",{shallow:n(m)!=="ellipse"}]),onClick:o[3]||(o[3]=s=>u("ellipse"))},[e(d,{text:"Draw an ellipse"}),e(V)],2),t("button",{class:r(["slidev-icon-btn",{shallow:n(m)!=="rectangle"}]),onClick:o[4]||(o[4]=s=>u("rectangle"))},[e(d,{text:"Draw a rectangle"}),e(H)],2),f(" TODO: not sure why it's not working! "),f(` <button class="slidev-icon-btn" :class="{ shallow: drawingMode != 'eraseLine' }" @click="setDrawingMode('eraseLine')">
<HiddenText text="Erase" />
<carbon:erase />
</button> `),e($),(i(!0),a(P,null,q(n(F),s=>(i(),a("button",{key:s,class:r(["slidev-icon-btn",n(x).color===s?"active":"shallow"]),onClick:te=>w(s)},[e(d,{text:"Set brush color"}),t("div",{class:r(["w-6 h-6 transition-all transform border border-gray-400/50",n(x).color!==s?"rounded-1/2 scale-85":"rounded-md"]),style:M(n(h)?{background:s}:{borderColor:s})},null,6)],10,ne))),128)),e($),t("button",{class:r(["slidev-icon-btn",{disabled:!n(Y)}]),onClick:o[5]||(o[5]=s=>l())},[e(d,{text:"Undo"}),e(S)],2),t("button",{class:r(["slidev-icon-btn",{disabled:!n(G)}]),onClick:o[6]||(o[6]=s=>v())},[e(d,{text:"Redo"}),e(z)],2),t("button",{class:r(["slidev-icon-btn",{disabled:!n(I)}]),onClick:o[7]||(o[7]=s=>n(J)())},[e(d,{text:"Delete"}),e(A)],2),e($),t("button",{class:r(["slidev-icon-btn",{shallow:!n(_)}]),onClick:o[8]||(o[8]=s=>_.value=!n(_))},[e(d,{text:n(_)?"Unpin drawing":"Pin drawing"},null,8,["text"]),g(e(O,{class:"transform -rotate-45"},null,512),[[b,n(_)]]),g(e(Z,null,null,512),[[b,!n(_)]])],2),n(h)?(i(),a("button",{key:0,class:r(["slidev-icon-btn",{shallow:!n(h)}]),onClick:o[9]||(o[9]=s=>h.value=!n(h))},[e(d,{text:n(_)?"Drawing pinned":"Drawing unpinned"},null,8,["text"]),g(e(E,null,null,512),[[b,n(_)]]),g(e(K,null,null,512),[[b,!n(_)]])],2)):f("v-if",!0)]),_:1},8,["class"])}}}),se=D(ee,[["__file","/home/alex/notes/slides/fosdem2024/node_modules/@slidev/client/internals/DrawingControls.vue"]]);export{se as default};
/slides/fosdem2024/* /slides/fosdem2024/index.html 200
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Avenir+Next:wght@200;400;600&family=Nunito+Sans:wght@200;400;600&family=Fira+Code:wght@200;400;600&display=swap" type="text/css">
<script type="module" crossorigin src="/slides/fosdem2024/assets/index-Hfn5l4aw.js"></script>
<link rel="stylesheet" crossorigin href="/slides/fosdem2024/assets/index-DlFHiXtv.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
To publish the website online, just committing is enough as a CI job (see ../.build.yml ) will take care of it.
For testing the site locally :
zola serve
To generate the website and deploy it
zola build
tar -C public -cvz . > site.tar.gz
hut pages publish -d scut.srht.site site.tar.gz
Note : slides have been generated before hand and stored in static/slides with slidev. There can be re-generated with
cd ../slides/fosdem2024
npm run build -- --base /slides/fosdem2024 --out ../../site/static/slides/fosdem2024