PageSourceSearch

https://flow.kyzonsolutions.com/static/js/2276.9610907d.chunk.js

js kyzonsolutions.com collected 2026-10-05 05:38:03 UTC 40,851 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[2276],{48362:function(e,t,n){var i=n(86385),r=n(72851);t.Z=function(e,t){return i.Z.lang.round(r.Z.parse(e)[t])}},32847:function(e,t,n){var i=n(90451);t.Z=function(e){return(0,i.Z)(e,4)}},22276:function(e,t,n){n.r(t),n.d(t,{diagram:function(){return ie}});var i,r,s=n(74165),a=n(15861),o=n(93433),c=n(37762),l=n(1413),u=n(18688),h=n(32847),d=n(48362),g=n(13255),y=n(49873),p=n(32423),b=n(10060),f=(n(90872),n(20105),n(17784),function(){var e=function(e,t,n,i){for(n=n||{},i=e.length;i--;n[e[i]]=t);return n},t=[1,7],n=[1,13],i=[1,14],r=[1,15],s=[1,19],a=[1,16],o=[1,17],c=[1,18],u=[8,30],h=[8,21,28,29,30,31,32,40,44,47],d=[1,23],g=[1,24],y=[8,15,16,21,28,29,30,31,32,40,44,47],p=[8,15,16,21,27,28,29,30,31,32,40,44,47],b=[1,49],f={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(e,t,n,i,r,s,a){var o=s.length-1;switch(r){case 4:i.getLogger().debug("Rule: separator (NL) ");break;case 5:i.getLogger().debug("Rule: separator (Space) ");break;case 6:i.getLogger().debug("Rule: separator (EOF) ");break;case 7:i.getLogger().debug("Rule: hierarchy: ",s[o-1]),i.setHierarchy(s[o-1]);break;case 8:i.getLogger().debug("Stop NL ");break;case 9:i.getLogger().debug("Stop EOF ");break;case 10:i.getLogger().debug("Stop NL2 ");break;case 11:i.getLogger().debug("Stop EOF2 ");break;case 12:i.getLogger().debug("Rule: statement: ",s[o]),"number"===typeof s[o].length?this.$=s[o]:this.$=[s[o]];break;case 13:i.getLogger().debug("Rule: statement #2: ",s[o-1]),this.$=[s[o-1]].concat(s[o]);break;case 14:i.getLogger().debug("Rule: link: ",s[o],e),this.$={edgeTypeStr:s[o],label:""};break;case 15:i.getLogger().debug("Rule: LABEL link: ",s[o-3],s[o-1],s[o]),this.$={edgeTypeStr:s[o],label:s[o-1]};break;case 18:var c=parseInt(s[o]),u=i.generateId();this.$={id:u,type:"space",label:"",width:c,children:[]};break;case 23:i.getLogger().debug("Rule: (nodeStatement link node) ",s[o-2],s[o-1],s[o]," typestr: ",s[o-1].edgeTypeStr);var h=i.edgeStrToEdgeData(s[o-1].edgeTypeStr);this.$=[{id:s[o-2].id,label:s[o-2].label,type:s[o-2].type,directions:s[o-2].directions},{id:s[o-2].id+"-"+s[o].id,start:s[o-2].id,end:s[o].id,label:s[o-1].label,type:"edge",directions:s[o].directions,arrowTypeEnd:h,arrowTypeStart:"arrow_open"},{id:s[o].id,label:s[o].label,type:i.typeStr2Type(s[o].typeStr),directions:s[o].directions}];break;case 24:i.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[o-1],s[o]),this.$={id:s[o-1].id,label:s[o-1].label,type:i.typeStr2Type(s[o-1].typeStr),directions:s[o-1].directions,widthInColumns:parseInt(s[o],10)};break;case 25:i.getLogger().debug("Rule: nodeStatement (node) ",s[o]),this.$={id:s[o].id,label:s[o].label,type:i.typeStr2Type(s[o].typeStr),directions:s[o].directions,widthInColumns:1};break;case 26:i.getLogger().debug("APA123",this?this:"na"),i.getLogger().debug("COLUMNS: ",s[o]),this.$={type:"column-setting",columns:"auto"===s[o]?-1:parseInt(s[o])};break;case 27:i.getLogger().debug("Rule: id-block statement : ",s[o-2],s[o-1]),i.generateId(),this.$=(0,l.Z)((0,l.Z)({},s[o-2]),{},{type:"composite",children:s[o-1]});break;case 28:i.getLogger().debug("Rule: blockStatement : ",s[o-2],s[o-1],s[o]);var d=i.generateId();this.$={id:d,type:"composite",label:"",children:s[o-1]};break;case 29:i.getLogger().debug("Rule: node (NODE_ID separator): ",s[o]),this.$={id:s[o]};break;case 30:i.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[o-1],s[o]),this.$={id:s[o-1],label:s[o].label,typeStr:s[o].typeStr,directions:s[o].directions};break;case 31:i.getLogger().debug("Rule: dirList: ",s[o]),this.$=[s[o]];break;
1case 32:i.getLogger().debug("Rule: dirList: ",s[o-1],s[o]),this.$=[s[o-1]].concat(s[o]);break;case 33:i.getLogger().debug("Rule: nodeShapeNLabel: ",s[o-2],s[o-1],s[o]),this.$={typeStr:s[o-2]+s[o],label:s[o-1]};break;case 34:i.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[o-3],s[o-2]," #3:",s[o-1],s[o]),this.$={typeStr:s[o-3]+s[o],label:s[o-2],directions:s[o-1]};break;case 35:case 36:this.$={type:"classDef",id:s[o-1].trim(),css:s[o].trim()};break;case 37:this.$={type:"applyClass",id:s[o-1].trim(),styleClass:s[o].trim()};break;case 38:this.$={type:"applyStyles",id:s[o-1].trim(),stylesStr:s[o].trim()}}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:r,32:s,40:a,44:o,47:c},{8:[1,20]},e(u,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:n,29:i,31:r,32:s,40:a,44:o,47:c}),e(h,[2,16],{14:22,15:d,16:g}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(y,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:s},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:r,32:s,40:a,44:o,47:c},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(p,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(u,[2,13]),{26:35,32:s},{32:[2,14]},{17:[1,36]},e(y,[2,24]),{11:37,13:4,14:22,15:d,16:g,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:n,29:i,31:r,32:s,40:a,44:o,47:c},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(p,[2,30]),{18:[1,43]},{18:[1,44]},e(y,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:b},{15:[1,50]},e(h,[2,27]),e(p,[2,33]),{39:[1,51]},{34:52,35:b,39:[2,31]},{32:[2,15]},e(p,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],i=[],r=[null],s=[],a=this.table,o="",c=0,l=0,u=s.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(d.yy[g]=this.yy[g]);h.setInput(e,d.yy),d.yy.lexer=h,d.yy.parser=this,"undefined"==typeof h.yylloc&&(h.yylloc={});var y=h.yylloc;s.push(y);var p=h.options&&h.options.ranges;function b(){var e;return"number"!==typeof(e=i.pop()||h.lex()||1)&&(e instanceof Array&&(e=(i=e).pop()),e=t.symbols_[e]||e),e}"function"===typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,x,S,L,v,m,k,_,E={};;){if(x=n[n.length-1],this.defaultActions[x]?S=this.defaultActions[x]:(null!==f&&"undefined"!=typeof f||(f=b()),S=a[x]&&a[x][f]),"undefined"===typeof S||!S.length||!S[0]){var w="";for(v in _=[],a[x])this.terminals_[v]&&v>2&&_.push("'"+this.terminals_[v]+"'");w=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(w,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:y,expected:_})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+f);switch(S[0]){case 1:n.push(f),r.push(h.yytext),s.push(h.yylloc),n.push(S[1]),f=null,l=h.yyleng,o=h.yytext,c=h.yylineno,y=h.yylloc;break;case 2:if(m=this.productions_[S[1]][1],E.$=r[r.length-m],E._$={first_line:s[s.length-(m||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(m||1)].first_column,last_column:s[s.length-1].last_column},p&&(E._$.range=[s[s.length-(m||1)].range[0],s[s.length-1].range[1]]),"undefined"!==typeof(L=this.performAction.apply(E,[o,l,c,d.yy,S[1],r,s].concat(u))))return L;m&&(n=n.slice(0,-1*m*2),r=r.slice(0,-1*m),s=s.slice(0,-1*m)),n.push(this.productions_[S[1]][0]),r.push(E.$),s.push(E._$),k=a[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0}},x={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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}
1,input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((n=this._input.match(this.rules[r[s]]))&&(!t||n[0].length>t[0].length)){if(t=n,i=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[i]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,i){switch(n){case 0:return 10;case 1:return e.getLogger().debug("Found space-block"),31;case 2:return e.getLogger().debug("Found nl-block"),31;case 3:return e.getLogger().debug("Found space-block"),29;case 4:e.getLogger().debug(".",t.yytext);break;case 5:e.getLogger().debug("_",t.yytext);break;case 6:return 5;case 7:return t.yytext=-1,28;case 8:return t.yytext=t.yytext.replace(/columns\s+/,""),e.getLogger().debug("COLUMNS (LEX)",t.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:e.getLogger().debug("LEX: POPPING STR:",t.yytext),this.popState();break;case 14:return e.getLogger().debug("LEX: STR end:",t.yytext),"STR";case 15:return t.yytext=t.yytext.replace(/space\:/,""),e.getLogger().debug("SPACE NUM (LEX)",t.yytext),21;case 16:return t.yytext="1",e.getLogger().debug("COLUMNS (LEX)",t.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),e.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),e.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),e.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),e.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),e.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),e.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),e.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),e.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),e.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),e.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),e.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),e.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return e.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return e.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return e.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;
1case 58:case 60:case 61:case 62:case 65:return e.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return e.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return e.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return e.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return e.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),e.getLogger().debug("LEX ARR START"),38;case 75:return e.getLogger().debug("Lex: NODE_ID",t.yytext),32;case 76:return e.getLogger().debug("Lex: EOF",t.yytext),8;case 79:return"NODE_DESCR";case 81:e.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:e.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return e.getLogger().debug("LEX: NODE_DESCR:",t.yytext),"NODE_DESCR";case 84:e.getLogger().debug("LEX POPPING"),this.popState();break;case 85:e.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (right): dir:",t.yytext),"DIR";case 87:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (left):",t.yytext),"DIR";case 88:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (x):",t.yytext),"DIR";case 89:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (y):",t.yytext),"DIR";case 90:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (up):",t.yytext),"DIR";case 91:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (down):",t.yytext),"DIR";case 92:return t.yytext="]>",e.getLogger().debug("Lex (ARROW_DIR end):",t.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 94:case 95:case 96:return e.getLogger().debug("Lex: LINK",t.yytext),15;case 97:case 98:case 99:return e.getLogger().debug("Lex: START_LINK",t.yytext),this.pushState("LLABEL"),16;case 101:return e.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 103:case 104:return this.popState(),e.getLogger().debug("Lex: LINK",t.yytext),15;case 105:return e.getLogger().debug("Lex: COLON",t.yytext),t.yytext=t.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}
1]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};function S(){this.yy={}}return f.lexer=x,S.prototype=f,f.Parser=S,new S}());f.parser=f;var x=f,S={},L=[],v={},m="color",k="fill",_=(0,u.c)(),E={},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";void 0===E[e]&&(E[e]={id:e,styles:[],textStyles:[]});var n=E[e];void 0!==t&&null!==t&&t.split(",").forEach((function(e){var t=e.replace(/([^;]*);/,"$1").trim();if(e.match(m)){var i=t.replace(k,"bgFill").replace(m,k);n.textStyles.push(i)}n.styles.push(t)}))},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=S[e];void 0!==t&&null!==t&&(n.styles=t.split(","))},N=function(e,t){e.split(",").forEach((function(e){var n=S[e];if(void 0===n){var i=e.trim();S[i]={id:i,type:"na",children:[]},n=S[i]}n.classes||(n.classes=[]),n.classes.push(t)}))},I=function e(t,n){var i,r,s=t.flat(),a=[],o=(0,c.Z)(s);try{for(o.s();!(i=o.n()).done;){var l=i.value;if(l.label&&(l.label=(r=l.label,u.e.sanitizeText(r,_))),"classDef"!==l.type)if("applyClass"!==l.type)if("applyStyles"!==l.type)if("column-setting"===l.type)n.columns=l.columns||-1;else if("edge"===l.type)v[l.id]?v[l.id]++:v[l.id]=1,l.id=v[l.id]+"-"+l.id,L.push(l);else{l.label||("composite"===l.type?l.label="":l.label=l.id);var d=!S[l.id];if(d?S[l.id]=l:("na"!==l.type&&(S[l.id].type=l.type),l.label!==l.id&&(S[l.id].label=l.label)),l.children&&e(l.children,l),"space"===l.type)for(var g=l.width||1,y=0;y<g;y++){var p=(0,h.Z)(l);p.id=p.id+"-"+y,S[p.id]=p,a.push(p)}else d&&a.push(l)}else(null==l?void 0:l.stylesStr)&&D(l.id,null==l?void 0:l.stylesStr);else N(l.id,(null==l?void 0:l.styleClass)||"");else w(l.id,l.css)}}catch(b){o.e(b)}finally{o.f()}n.children=a},T=[],z={id:"root",type:"composite",children:[],columns:-1};var C=0,O={getConfig:function(){return(0,u.F)().block},typeStr2Type:function(e){switch(u.l.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return u.l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}},edgeTypeStr2Type:function(e){return u.l.debug("typeStr2Type",e),"=="===e?"thick":"normal"},edgeStrToEdgeData:function(e){switch(e.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}},getLogger:function(){return console},getBlocksFlat:function(){return(0,o.Z)(Object.values(S))},getBlocks:function(){return T||[]},getEdges:function(){return L},setHierarchy:function(e){z.children=e,I(e,z),T=z.children},getBlock:function(e){return S[e]}
1,setBlock:function(e){S[e.id]=e},getColumns:function(e){var t=S[e];return t?t.columns?t.columns:t.children?t.children.length:-1:-1},getClasses:function(){return E},clear:function(){u.l.debug("Clear called"),(0,u.v)(),S={root:z={id:"root",type:"composite",children:[],columns:-1}},T=[],E={},L=[],v={}},generateId:function(){return C++,"id-"+Math.random().toString(36).substr(2,12)+"-"+C}},A=function(e,t){var n=d.Z,i=n(e,"r"),r=n(e,"g"),s=n(e,"b");return g.Z(i,r,s,t)},R=function(e){return".label {\n    font-family: ".concat(e.fontFamily,";\n    color: ").concat(e.nodeTextColor||e.textColor,";\n  }\n  .cluster-label text {\n    fill: ").concat(e.titleColor,";\n  }\n  .cluster-label span,p {\n    color: ").concat(e.titleColor,";\n  }\n\n\n\n  .label text,span,p {\n    fill: ").concat(e.nodeTextColor||e.textColor,";\n    color: ").concat(e.nodeTextColor||e.textColor,";\n  }\n\n  .node rect,\n  .node circle,\n  .node ellipse,\n  .node polygon,\n  .node path {\n    fill: ").concat(e.mainBkg,";\n    stroke: ").concat(e.nodeBorder,";\n    stroke-width: 1px;\n  }\n  .flowchart-label text {\n    text-anchor: middle;\n  }\n  // .flowchart-label .text-outer-tspan {\n  //   text-anchor: middle;\n  // }\n  // .flowchart-label .text-inner-tspan {\n  //   text-anchor: start;\n  // }\n\n  .node .label {\n    text-align: center;\n  }\n  .node.clickable {\n    cursor: pointer;\n  }\n\n  .arrowheadPath {\n    fill: ").concat(e.arrowheadColor,";\n  }\n\n  .edgePath .path {\n    stroke: ").concat(e.lineColor,";\n    stroke-width: 2.0px;\n  }\n\n  .flowchart-link {\n    stroke: ").concat(e.lineColor,";\n    fill: none;\n  }\n\n  .edgeLabel {\n    background-color: ").concat(e.edgeLabelBackground,";\n    rect {\n      opacity: 0.5;\n      background-color: ").concat(e.edgeLabelBackground,";\n      fill: ").concat(e.edgeLabelBackground,";\n    }\n    text-align: center;\n  }\n\n  /* For html labels only */\n  .labelBkg {\n    background-color: ").concat(A(e.edgeLabelBackground,.5),";\n    // background-color:\n  }\n\n  .node .cluster {\n    // fill: ").concat(A(e.mainBkg,.5),";\n    fill: ").concat(A(e.clusterBkg,.5),";\n    stroke: ").concat(A(e.clusterBorder,.2),";\n    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n    stroke-width: 1px;\n  }\n\n  .cluster text {\n    fill: ").concat(e.titleColor,";\n  }\n\n  .cluster span,p {\n    color: ").concat(e.titleColor,";\n  }\n  /* .cluster div {\n    color: ").concat(e.titleColor,";\n  } */\n\n  div.mermaidTooltip {\n    position: absolute;\n    text-align: center;\n    max-width: 200px;\n    padding: 2px;\n    font-family: ").concat(e.fontFamily,";\n    font-size: 12px;\n    background: ").concat(e.tertiaryColor,";\n    border: 1px solid ").concat(e.border2,";\n    border-radius: 2px;\n    pointer-events: none;\n    z-index: 100;\n  }\n\n  .flowchartTitleText {\n    text-anchor: middle;\n    font-size: 18px;\n    fill: ").concat(e.textColor,";\n  }\n")};function B(e,t){var n,i,r,s,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e,c="default";((null==(i=null==o?void 0:o.classes)?void 0:i.length)||0)>0&&(c=((null==o?void 0:o.classes)||[]).join(" ")),c+=" flowchart-label";var l,h=0,d="";switch(o.type){case"round":h=5,d="rect";break;case"composite":h=0,d="composite",l=0;break;case"square":case"group":default:d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"block_arrow":d="block_arrow";break;case"odd":case"rect_left_inv_arrow":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"doublecircle":d="doublecircle"}var g=(0,u.k)((null==o?void 0:o.styles)||[]),y=o.label,p=o.size||{width:0,height:0,x:0,y:0};return{labelStyle:g.labelStyle,shape:d,labelText:y,rx:h,ry:h,class:c,style:g.style,id:o.id,directions:o.directions,width:p.width,height:p.height,x:p.x,y:p.y,positioned:a,intersect:void 0,type:o.type,padding:null!==(n=l)&&void 0!==n?n:(null==(s=null==(r=(0,u.F)())?void 0:r.block)?void 0:s.padding)||0}}function Z(e,t,n){return F.apply(this,arguments)}function F(){return(F=(0,a.Z)((0,s.Z)().mark((function e(t,n,i){var r,a,o,c;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("group"!==(r=B(n,i,!1)).type){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,y.e)(t,r);case 5:a=e.sent,o=a.node().getBBox(),(c=i.getBlock(r.id)).size={width:o.width,height:o.height,x:0,y:0,node:a},i.setBlock(c),a.remove();case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e,t,n){return Y.apply(this,arguments)}function Y(){return(Y=(0,a.Z)((0,s.Z)().mark((function e(t,n,i){var r;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=B(n,i,!0),"space"===i.getBlock(r.id).type){e.next=7;break}return e.next=5,(0,y.e)(t,r);case 5:n.intersect=null==r?void 0:r.intersect,(0,y.p)(r);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function $(e,t,n,i){return K.apply(this,arguments)}function K(){return(K=(0,a.Z)((0,s.Z)().mark((function e(t,n,i,r){var a,o,l;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=(0,c.Z)(n),e.prev=1,a.s();case 3:if((o=a.n()).done){e.next=12;break}return l=o.value,e.next=7,r(t,l,i);case 7:if(!l.children){e.next=10;break}return e.next=10,$(t,l.children,i,r);case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(1),a.e(e.t0);case 17:return e.prev=17,a.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[1,14,17,20]])})))).apply(this,arguments)}
1function X(e,t,n){return M.apply(this,arguments)}function M(){return(M=(0,a.Z)((0,s.Z)().mark((function e(t,n,i){return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$(t,n,i,Z);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e,t,n){return U.apply(this,arguments)}function U(){return(U=(0,a.Z)((0,s.Z)().mark((function e(t,n,i){return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$(t,n,i,P);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e,t,n,i,r){return H.apply(this,arguments)}function H(){return(H=(0,a.Z)((0,s.Z)().mark((function e(t,n,i,r,a){var o,u,h,d,g,b,f,x,S,L,v,m;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(o=new p.k({multigraph:!0,compound:!0})).setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8}),u=(0,c.Z)(i);try{for(u.s();!(h=u.n()).done;)(d=h.value).size&&o.setNode(d.id,{width:d.size.width,height:d.size.height,intersect:d.intersect})}catch(s){u.e(s)}finally{u.f()}g=(0,c.Z)(n),e.prev=5,g.s();case 7:if((b=g.n()).done){e.next=25;break}if(!(f=b.value).start||!f.end){e.next=23;break}if(x=r.getBlock(f.start),S=r.getBlock(f.end),!(null==x?void 0:x.size)||!(null==S?void 0:S.size)){e.next=23;break}return L=x.size,v=S.size,m=[{x:L.x,y:L.y},{x:L.x+(v.x-L.x)/2,y:L.y+(v.y-L.y)/2},{x:v.x,y:v.y}],e.next=18,(0,y.h)(t,{v:f.start,w:f.end,name:f.id},(0,l.Z)((0,l.Z)({},f),{},{arrowTypeEnd:f.arrowTypeEnd,arrowTypeStart:f.arrowTypeStart,points:m,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),void 0,"block",o,a);case 18:if(!f.label){e.next=23;break}return e.next=21,(0,y.f)(t,(0,l.Z)((0,l.Z)({},f),{},{label:f.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:f.arrowTypeEnd,arrowTypeStart:f.arrowTypeStart,points:m,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}));case 21:return e.next=23,(0,y.j)((0,l.Z)((0,l.Z)({},f),{},{x:m[1].x,y:m[1].y}),{originalPath:m});case 23:e.next=7;break;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e.catch(5),g.e(e.t0);case 30:return e.prev=30,g.f(),e.finish(30);case 33:case"end":return e.stop()}}),e,null,[[5,27,30,33]])})))).apply(this,arguments)}var G=(null==(r=null==(i=(0,u.c)())?void 0:i.block)?void 0:r.padding)||8;function q(e,t){if(0===e||!Number.isInteger(e))throw new Error("Columns must be an integer !== 0.");if(t<0||!Number.isInteger(t))throw new Error("Position must be a non-negative integer."+t);return e<0?{px:t,py:0}:1===e?{px:0,py:t}:{px:t%e,py:Math.floor(t/e)}}var J=function(e){var t,n=0,i=0,r=(0,c.Z)(e.children);try{for(r.s();!(t=r.n()).done;){var s=t.value,a=s.size||{width:0,height:0,x:0,y:0},o=a.width,l=a.height,h=a.x,d=a.y;u.l.debug("getMaxChildSize abc95 child:",s.id,"width:",o,"height:",l,"x:",h,"y:",d,s.type),"space"!==s.type&&(o>n&&(n=o/(e.widthInColumns||1)),l>i&&(i=l))}}catch(g){r.e(g)}finally{r.f()}return{width:n,height:i}};function Q(e,t){var n,i,r,s,a,o,l,h,d,g,y,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,b=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;u.l.debug("setBlockSizes abc95 (start)",e.id,null==(n=null==e?void 0:e.size)?void 0:n.x,"block width =",null==e?void 0:e.size,"sieblingWidth",p),(null==(i=null==e?void 0:e.size)?void 0:i.width)||(e.size={width:p,height:b,x:0,y:0});var f=0,x=0;if((null==(r=e.children)?void 0:r.length)>0){var S,L=(0,c.Z)(e.children);try{for(L.s();!(S=L.n()).done;){Q(S.value,t)}}catch(W){L.e(W)}finally{L.f()}var v=J(e);f=v.width,x=v.height,u.l.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,x);var m,k=(0,c.Z)(e.children);try{for(k.s();!(m=k.n()).done;){var _=m.value;_.size&&(u.l.debug("abc95 Setting size of children of ".concat(e.id," id=").concat(_.id," ").concat(f," ").concat(x," ").concat(_.size)),_.size.width=f*(_.widthInColumns||1)+G*((_.widthInColumns||1)-1),_.size.height=x,_.size.x=0,_.size.y=0,u.l.debug("abc95 updating size of ".concat(e.id," children child:").concat(_.id," maxWidth:").concat(f," maxHeight:").concat(x)))}}catch(W){k.e(W)}finally{k.f()}var E,w=(0,c.Z)(e.children);try{for(w.s();!(E=w.n()).done;){Q(E.value,t,f,x)}}catch(W){w.e(W)}finally{w.f()}var D,N=e.columns||-1,I=0,T=(0,c.Z)(e.children);try{for(T.s();!(D=T.n()).done;){I+=D.value.widthInColumns||1}}catch(W){T.e(W)}finally{T.f()}var z=e.children.length;N>
10&&N<I&&(z=N),e.widthInColumns;var C=Math.ceil(I/z),O=z*(f+G)+G,A=C*(x+G)+G;if(O<p){u.l.debug("Detected to small siebling: abc95 ".concat(e.id," sieblingWidth ").concat(p," sieblingHeight ").concat(b," width ").concat(O)),O=p,A=b;var R=(p-z*G-G)/z,B=(b-C*G-G)/C;u.l.debug("Size indata abc88",e.id,"childWidth",R,"maxWidth",f),u.l.debug("Size indata abc88",e.id,"childHeight",B,"maxHeight",x),u.l.debug("Size indata abc88 xSize",z,"padding",G);var Z,F=(0,c.Z)(e.children);try{for(F.s();!(Z=F.n()).done;){var P=Z.value;P.size&&(P.size.width=R,P.size.height=B,P.size.x=0,P.size.y=0)}}catch(W){F.e(W)}finally{F.f()}}if(u.l.debug("abc95 (finale calc) ".concat(e.id," xSize ").concat(z," ySize ").concat(C," columns ").concat(N).concat(e.children.length," width=").concat(Math.max(O,(null==(s=e.size)?void 0:s.width)||0))),O<((null==(a=null==e?void 0:e.size)?void 0:a.width)||0)){O=(null==(o=null==e?void 0:e.size)?void 0:o.width)||0;var Y=N>0?Math.min(e.children.length,N):e.children.length;if(Y>0){var $=(O-Y*G-G)/Y;u.l.debug("abc95 (growing to fit) width",e.id,O,null==(l=e.size)?void 0:l.width,$);var K,X=(0,c.Z)(e.children);try{for(X.s();!(K=X.n()).done;){var M=K.value;M.size&&(M.size.width=$)}}catch(W){X.e(W)}finally{X.f()}}}e.size={width:O,height:A,x:0,y:0}}u.l.debug("setBlockSizes abc94 (done)",e.id,null==(h=null==e?void 0:e.size)?void 0:h.x,null==(d=null==e?void 0:e.size)?void 0:d.width,null==(g=null==e?void 0:e.size)?void 0:g.y,null==(y=null==e?void 0:e.size)?void 0:y.height)}function V(e,t){var n,i,r,s,a,o,l,h,d,g,y,p,b,f,x,S,L;u.l.debug("abc85 layout blocks (=>layoutBlocks) ".concat(e.id," x: ").concat(null==(n=null==e?void 0:e.size)?void 0:n.x," y: ").concat(null==(i=null==e?void 0:e.size)?void 0:i.y," width: ").concat(null==(r=null==e?void 0:e.size)?void 0:r.width));var v=e.columns||-1;if(u.l.debug("layoutBlocks columns abc95",e.id,"=>",v,e),e.children&&e.children.length>0){var m=(null==(a=null==(s=null==e?void 0:e.children[0])?void 0:s.size)?void 0:a.width)||0,k=e.children.length*m+(e.children.length-1)*G;u.l.debug("widthOfChildren 88",k,"posX");var _=0;u.l.debug("abc91 block?.size?.x",e.id,null==(o=null==e?void 0:e.size)?void 0:o.x);var E,w=(null==(l=null==e?void 0:e.size)?void 0:l.x)?(null==(h=null==e?void 0:e.size)?void 0:h.x)+(-(null==(d=null==e?void 0:e.size)?void 0:d.width)/2||0):-G,D=0,N=(0,c.Z)(e.children);try{for(N.s();!(E=N.n()).done;){var I=E.value,T=e;if(I.size){var z=I.size,C=z.width,O=z.height,A=q(v,_),R=A.px,B=A.py;if(B!=D&&(D=B,w=(null==(g=null==e?void 0:e.size)?void 0:g.x)?(null==(y=null==e?void 0:e.size)?void 0:y.x)+(-(null==(p=null==e?void 0:e.size)?void 0:p.width)/2||0):-G,u.l.debug("New row in layout for block",e.id," and child ",I.id,D)),u.l.debug("abc89 layout blocks (child) id: ".concat(I.id," Pos: ").concat(_," (px, py) ").concat(R,",").concat(B," (").concat(null==(b=null==T?void 0:T.size)?void 0:b.x,",").concat(null==(f=null==T?void 0:T.size)?void 0:f.y,") parent: ").concat(T.id," width: ").concat(C).concat(G)),T.size){var Z=C/2;I.size.x=w+G+Z,u.l.debug("abc91 layout blocks (calc) px, pyid:".concat(I.id," startingPos=X").concat(w," new startingPosX").concat(I.size.x," ").concat(Z," padding=").concat(G," width=").concat(C," halfWidth=").concat(Z," => x:").concat(I.size.x," y:").concat(I.size.y," ").concat(I.widthInColumns," (width * (child?.w || 1)) / 2 ").concat(C*((null==I?void 0:I.widthInColumns)||1)/2)),w=I.size.x+Z,I.size.y=T.size.y-T.size.height/2+B*(O+G)+O/2+G,u.l.debug("abc88 layout blocks (calc) px, pyid:".concat(I.id,"startingPosX").concat(w).c
1oncat(G).concat(Z,"=>x:").concat(I.size.x,"y:").concat(I.size.y).concat(I.widthInColumns,"(width * (child?.w || 1)) / 2").concat(C*((null==I?void 0:I.widthInColumns)||1)/2))}I.children&&V(I),_+=(null==I?void 0:I.widthInColumns)||1,u.l.debug("abc88 columnsPos",I,_)}}}catch(F){N.e(F)}finally{N.f()}}u.l.debug("layout blocks (<==layoutBlocks) ".concat(e.id," x: ").concat(null==(x=null==e?void 0:e.size)?void 0:x.x," y: ").concat(null==(S=null==e?void 0:e.size)?void 0:S.y," width: ").concat(null==(L=null==e?void 0:e.size)?void 0:L.width))}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{minX:0,minY:0,maxX:0,maxY:0},n=t.minX,i=t.minY,r=t.maxX,s=t.maxY;if(e.size&&"root"!==e.id){var a=e.size,o=a.x,l=a.y,u=a.width,h=a.height;o-u/2<n&&(n=o-u/2),l-h/2<i&&(i=l-h/2),o+u/2>r&&(r=o+u/2),l+h/2>s&&(s=l+h/2)}if(e.children){var d,g=(0,c.Z)(e.children);try{for(g.s();!(d=g.n()).done;){var y=ee(d.value,{minX:n,minY:i,maxX:r,maxY:s});n=y.minX,i=y.minY,r=y.maxX,s=y.maxY}}catch(p){g.e(p)}finally{g.f()}}return{minX:n,minY:i,maxX:r,maxY:s}}function te(e){var t=e.getBlock("root");if(t){Q(t,e,0,0),V(t),u.l.debug("getBlocks",JSON.stringify(t,null,2));var n=ee(t),i=n.minX,r=n.minY;return{x:i,y:r,width:n.maxX-i,height:n.maxY-r}}}var ne=function(){var e=(0,a.Z)((0,s.Z)().mark((function e(t,n,i,r){var a,o,c,l,h,d,g,p,f,x,S,L,v,m,k,_,E,w;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(0,u.F)(),o=a.securityLevel,c=a.block,l=r.db,"sandbox"===o&&(h=(0,b.Ys)("#i"+n)),d="sandbox"===o?(0,b.Ys)(h.nodes()[0].contentDocument.body):(0,b.Ys)("body"),g="sandbox"===o?d.select('[id="'.concat(n,'"]')):(0,b.Ys)('[id="'.concat(n,'"]')),p=["point","circle","cross"],(0,y.a)(g,p,r.type,n),f=l.getBlocks(),x=l.getBlocksFlat(),S=l.getEdges(),L=g.insert("g").attr("class","block"),e.next=13,X(L,f,l);case 13:return v=te(l),e.next=16,W(L,f,l);case 16:return e.next=18,j(L,S,x,l,n);case 18:v&&(m=v,k=Math.max(1,Math.round(m.width/m.height*.125)),_=m.height+k+10,E=m.width+10,w=c.useMaxWidth,(0,u.i)(g,_,E,!!w),u.l.debug("Here Bounds",v,m),g.attr("viewBox","".concat(m.x-5," ").concat(m.y-5," ").concat(m.width+10," ").concat(m.height+10))),(0,b.PKp)(b.K2I);case 20:case"end":return e.stop()}}),e)})));return function(t,n,i,r){return e.apply(this,arguments)}}(),ie={parser:x,db:O,renderer:{draw:ne,getClasses:function(e,t){return t.db.getClasses()}},styles:R}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.