PageSourceSearch

https://pro-react-admin.vercel.app/static/js/4134.9cbd00d11102c2f8107c.js

js pro-react-admin.vercel.app collected 2026-10-03 07:34:09 UTC 39,634 bytes, 231 lines download raw bytes

1"use strict";(()=>{var Ke=Object.defineProperty;var T=(gt,tt)=>Ke(gt,"name",{value:tt,configurable:!0});(globalThis.webpackChunk_w_ui_wui_react=globalThis.webpackChunk_w_ui_wui_react||[]).push([[4134],{2626(gt,tt,C){C.d(tt,{P:T(()=>ht,"P")});var ct=C(28337),G=C(37970),ht=(0,G.K2)((a,O,B,H)=>{a.attr("class",B);const{width:z,height:ut,x:X,y:J}=et(a,O);(0,ct.a$)(a,ut,z,H);const at=g(X,J,z,ut,O);a.attr("viewBox",at),G.Rm.debug(`viewBox configured: ${at} with padding: ${O}`)},"setupViewPortForSVG"),et=(0,G.K2)((a,O)=>{var H;const B=((H=a.node())==null?void 0:H.getBBox())||{width:0,height:0,x:0,y:0};return{width:B.width+O*2,height:B.height+O*2,x:B.x,y:B.y}},"calculateDimensionsWithPadding"),g=(0,G.K2)((a,O,B,H,z)=>`${a-z} ${O-z} ${B} ${H}`,"createViewBox")},95934(gt,tt,C){C.d(tt,{A:T(()=>ht,"A")});var ct=C(37970),G=C(60207),ht=(0,ct.K2)((et,g)=>{let a;return g==="sandbox"&&(a=(0,G.Ltv)("#i"+et)),(g==="sandbox"?(0,G.Ltv)(a.nodes()[0].contentDocument.body):(0,G.Ltv)("body")).select(`[id="${et}"]`)},"getDiagramElement")},84134(gt,tt,C){var Q;C.d(tt,{Zk:T(()=>B,"Zk"),q7:T(()=>Ae,"q7"),tM:T(()=>Ie,"tM"),u4:T(()=>Re,"u4")});var ct=C(95934),G=C(2626),ht=C(77019),et=C(87888),g=C(28337),a=C(37970),O=(function(){var t=(0,a.K2)(function(q,l,d,o){for(d=d||{},o=q.length;o--;d[q[o]]=l);return d},"o"),e=[1,2],s=[1,3],n=[1,4],r=[2,4],h=[1,9],u=[1,11],p=[1,16],S=[1,17],E=[1,18],D=[1,19],b=[1,33],Y=[1,20],M=[1,21],$=[1,22],x=[1,23],L=[1,24],f=[1,26],v=[1,27],P=[1,28],I=[1,29],V=[1,30],F=[1,31],w=[1,32],yt=[1,35],st=[1,36],Dt=[1,37],bt=[1,38],nt=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],ie=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],wt={trace:(0,a.K2)(T(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement: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:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"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,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],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,a.K2)(T(function(l,d,o,_,m,i,ot){var c=i.length-1;switch(m){case 3:return _.setRootDoc(i[c]),i[c];case 4:this.$=[];break;case 5:i[c]!="nl"&&(i[c-1].push(i[c]),this.$=i[c-1]);break;case 6:case 7:this.$=i[c];break;case 8:this.$="nl";break;case 12:this.$=i[c];break;case 13:const Ct=i[c-1];Ct.description=_.trimColon(i[c]),this.$=Ct;break;case 14:this.$={stmt:"relation",state1:i[c-2],state2:i[c]};break;case 15:const At=_.trimColon(i[c]);this.$={stmt:"relation",state1:i[c-3],state2:i[c-1],description:At};break;case 19:this.$={stmt:"state",id:i[c-3],type:"default",description:"",doc:i[c-1]};break;case 20:var W=i[c],U=i[c-2].trim();if(i[c].match(":")){var _t=i[c].split(":");W=_t[0],U=[U,_t[1]]}this.$={stmt:"state",id:W,type:"default",description:U};break;case 21:this.$={stmt:"state",id:i[c-3],type:"default",description:i[c-5],doc:i[c-1]};break;case 22:this.$={stmt:"state",id:i[c],type:"fork"};break;case 23:this.$={stmt:"state",id:i[c],type:"join"};break;case 24:this.$={stmt:"state",id:i[c],type:"choice"};break;case 25:this.$={stmt:"state",id:_.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[c-1].trim(),note:{position:i[c-2].trim(),text:i[c].trim()}};break;case 29:this.$=i[c].trim(),_.setAccTitle(this.$);break;case 30:case 31:this.$=i[c].trim(),_.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[c-3],url:i[c-2],tooltip:i[c-1]};break;case 33:this.$={stmt:"click",id:i[c-3],url:i[c-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[c-1].trim(),classes:i[c].trim()};break;case 36:this.$={stmt:"style",id:i[c-1].trim(),styleClass:i[c].trim()};break;case 37:this.$={stmt:"applyClass",id:i[c-1].trim(),styleClass:i[c].trim()};break;case 38:_.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:_.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:_.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:_.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[c-2].trim(),classes:[i[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[c-2].trim(),classes:[i[c].trim()],type:"default",description:""};break}},"anonymous"),"anonymous"),table:[{3:1,4:e,5:s,6:n},{1:[3]},{3:5,4:e,5:s,6:n},{3:6,4:e,5:s,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:h,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:S,19:E,22:D,24:b,25:Y,26:M,27:$,28:x,29:L,32:25,33:f,35:v,37:P,38:I,41:V,45:F,48:w,51:yt,52:st,53:Dt,54:bt,57:nt},t(y,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:p,17:S,19:E,22:D,24:b,25:Y,26:M,27:$,28:x,29:L,32:25,33:f,35:v,37:P,38:I,41:V,45:F,48:w,51:yt,52:st,53:Dt,54:bt,57:nt},t(y,[2,7]),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(y,[2,11]),t(y,[2,12],{14:[1,40],15:[1,41]}),t(y,[2,16]),{18:[1,42]}
1,t(y,[2,18],{20:[1,43]}),{23:[1,44]},t(y,[2,22]),t(y,[2,23]),t(y,[2,24]),t(y,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(y,[2,28]),{34:[1,49]},{36:[1,50]},t(y,[2,31]),{13:51,24:b,57:nt},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(kt,[2,44],{58:[1,56]}),t(kt,[2,45],{58:[1,57]}),t(y,[2,38]),t(y,[2,39]),t(y,[2,40]),t(y,[2,41]),t(y,[2,6]),t(y,[2,13]),{13:58,24:b,57:nt},t(y,[2,17]),t(ie,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(y,[2,29]),t(y,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(y,[2,14],{14:[1,71]}),{4:h,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:S,19:E,21:[1,72],22:D,24:b,25:Y,26:M,27:$,28:x,29:L,32:25,33:f,35:v,37:P,38:I,41:V,45:F,48:w,51:yt,52:st,53:Dt,54:bt,57:nt},t(y,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),t(kt,[2,46]),t(kt,[2,47]),t(y,[2,15]),t(y,[2,19]),t(ie,r,{7:78}),t(y,[2,26]),t(y,[2,27]),{5:[1,79]},{5:[1,80]},{4:h,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:S,19:E,21:[1,81],22:D,24:b,25:Y,26:M,27:$,28:x,29:L,32:25,33:f,35:v,37:P,38:I,41:V,45:F,48:w,51:yt,52:st,53:Dt,54:bt,57:nt},t(y,[2,32]),t(y,[2,33]),t(y,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:(0,a.K2)(T(function(l,d){if(d.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=d,o}},"parseError"),"parseError"),parse:(0,a.K2)(T(function(l){var d=this,o=[0],_=[],m=[null],i=[],ot=this.table,c="",W=0,U=0,_t=0,Ct=2,At=1,Ne=i.slice.call(arguments,1),k=Object.create(this.lexer),it={yy:{}};for(var Nt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Nt)&&(it.yy[Nt]=this.yy[Nt]);k.setInput(l,it.yy),it.yy.lexer=k,it.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var $t=k.yylloc;i.push($t);var $e=k.options&&k.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pe(N){o.length=o.length-2*N,m.length=m.length-N,i.length=i.length-N}T(Pe,"popStack"),(0,a.K2)(Pe,"popStack");function re(){var N;return N=_.pop()||k.lex()||At,typeof N!="number"&&(N instanceof Array&&(_=N,N=_.pop()),N=d.symbols_[N]||N),N}T(re,"lex"),(0,a.K2)(re,"lex");for(var R,Pt,rt,K,Be,Kt,lt={},xt,j,ae,Lt;;){if(rt=o[o.length-1],this.defaultActions[rt]?K=this.defaultActions[rt]:((R===null||typeof R=="undefined")&&(R=re()),K=ot[rt]&&ot[rt][R]),typeof K=="undefined"||!K.length||!K[0]){var Bt="";Lt=[];for(xt in ot[rt])this.terminals_[xt]&&xt>Ct&&Lt.push("'"+this.terminals_[xt]+"'");k.showPosition?Bt="Parse error on line "+(W+1)+`:
2`+k.showPosition()+`
3Expecting `+Lt.join(", ")+", got '"+(this.terminals_[R]||R)+"'":Bt="Parse error on line "+(W+1)+": Unexpected "+(R==At?"end of input":"'"+(this.terminals_[R]||R)+"'"),this.parseError(Bt,{text:k.match,token:this.terminals_[R]||R,line:k.yylineno,loc:$t,expected:Lt})}if(K[0]instanceof Array&&K.length>1)throw new Error("Parse Error: multiple actions possible at state: "+rt+", token: "+R);switch(K[0]){case 1:o.push(R),m.push(k.yytext),i.push(k.yylloc),o.push(K[1]),R=null,Pt?(R=Pt,Pt=null):(U=k.yyleng,c=k.yytext,W=k.yylineno,$t=k.yylloc,_t>0&&_t--);break;case 2:if(j=this.productions_[K[1]][1],lt.$=m[m.length-j],lt._$={first_line:i[i.length-(j||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(j||1)].first_column,last_column:i[i.length-1].last_column},$e&&(lt._$.range=[i[i.length-(j||1)].range[0],i[i.length-1].range[1]]),Kt=this.performAction.apply(lt,[c,U,W,it.yy,K[1],m,i].concat(Ne)),typeof Kt!="undefined")return Kt;j&&(o=o.slice(0,-1*j*2),m=m.slice(0,-1*j),i=i.slice(0,-1*j)),o.push(this.productions_[K[1]][0]),m.push(lt.$),i.push(lt._$),ae=ot[o[o.length-2]][o[o.length-1]],o.push(ae);break;case 3:return!0}}return!0},"parse"),"parse")}
3,we=(function(){var q={EOF:1,parseError:(0,a.K2)(T(function(d,o){if(this.yy.parser)this.yy.parser.parseError(d,o);else throw new Error(d)},"parseError"),"parseError"),setInput:(0,a.K2)(function(l,d){return this.yy=d||this.yy||{},this._input=l,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},"setInput"),input:(0,a.K2)(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var d=l.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),l},"input"),unput:(0,a.K2)(function(l){var d=l.length,o=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;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),o.length-1&&(this.yylineno-=o.length-1);var m=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:o?(o.length===_.length?this.yylloc.first_column:0)+_[_.length-o.length].length-o[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.K2)(function(){return this._more=!0,this},"more"),reject:(0,a.K2)(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).
4`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:(0,a.K2)(function(l){this.unput(this.match.slice(l))},"less"),pastInput:(0,a.K2)(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.K2)(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,a.K2)(function(){var l=this.pastInput(),d=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
5`+d+"^"},"showPosition"),test_match:(0,a.K2)(function(l,d){var o,_,m;if(this.options.backtrack_lexer&&(m={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&&(m.yylloc.range=this.yylloc.range.slice(0))),_=l[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+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,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(l[0].length),this.matched+=l[0],o=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var i in m)this[i]=m[i];return!1}return!1},"test_match"),next:(0,a.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,d,o,_;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),i=0;i<m.length;i++)if(o=this._input.match(this.rules[m[i]]),o&&(!d||o[0].length>d[0].length)){if(d=o,_=i,this.options.backtrack_lexer){if(l=this.test_match(o,m[i]),l!==!1)return l;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(l=this.test_match(d,m[_]),l!==!1?l:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.K2)(T(function(){var d=this.next();return d||this.lex()},"lex"),"lex"),begin:(0,a.K2)(T(function(d){this.conditionStack.push(d)},"begin"),"begin"),popState:(0,a.K2)(T(function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),"popState"),_currentRules:(0,a.K2)(T(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),"_currentRules"),topState:(0,a.K2)(T(function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},"topState"),"topState"),pushState:(0,a.K2)(T(function(d){this.begin(d)},"pushState"),"pushState"),stateStackSize:(0,a.K2)(T(function(){return this.conditionStack.length},"stateStackSize"),"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.K2)(T(function(d,o,_,m){function i(){const c=o.yytext.
6indexOf("%%");if(c===0)return!1;if(c>0){const W=o.yytext.slice(0,c),U=o.yytext.slice(c);U&&d.lexer.unput(U),o.yytext=W}return!0}T(i,"processId"),(0,a.K2)(i,"processId");var ot=m;switch(_){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;case 17:return this.popState(),"acc_title_value";case 18:return this.begin("acc_descr"),35;case 19:return this.popState(),"acc_descr_value";case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 25:return this.popState(),this.pushState("CLASSDEFID"),42;case 26:return this.popState(),43;case 27:return this.pushState("CLASS"),48;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;case 29:return this.popState(),50;case 30:return this.pushState("STYLE"),45;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 32:return this.popState(),47;case 33:return this.pushState("SCALE"),17;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),26;case 39:return this.popState(),o.yytext=o.yytext.slice(0,-10).trim(),27;case 40:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),25;case 41:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),26;case 42:return this.popState(),o.yytext=o.yytext.slice(0,-10).trim(),27;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";case 49:return i()?(this.popState(),"ID"):void 0;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:return 19;case 53:this.popState();break;case 54:return this.popState(),this.pushState("struct"),20;case 55:return this.popState(),21;case 56:break;case 57:return this.begin("NOTE"),29;case 58:return this.popState(),this.pushState("NOTE_ID"),59;case 59:return this.popState(),this.pushState("NOTE_ID"),60;case 60:this.popState(),this.pushState("FLOATING_NOTE");break;case 61:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 62:break;case 63:return"NOTE_TEXT";case 64:return i()?(this.popState(),"ID"):void 0;case 65:return i()?(this.popState(),this.pushState("NOTE_TEXT"),24):void 0;case 66:return this.popState(),o.yytext=o.yytext.substr(2).trim(),31;case 67:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),31;case 68:return 6;case 69:return 6;case 70:return 16;case 71:return 57;case 72:return i()?24:void 0;case 73:return o.yytext=o.yytext.trim(),14;case 74:return 15;case 75:return 28;case 76:return 58;case 77:return 5;case 78:return"INVALID"}},"anonymous"),"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?: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,/^(?:[\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,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/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,/^(?:\})/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]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,55,56,57,71,72,73,74,75,76],inclusive:!1},FLOATING_NOTE_ID:{rules:[64],inclusive:!1},FLOATING_NOTE:{rules:[61,62,63],inclusive:!1},NOTE_TEXT:{rules:[66,67],inclusive:!1},NOTE_ID:{rules:[65],inclusive:!1},NOTE:{rules:[58,59,60],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,54,57,68,69,70,71,72,73,74,76,77,78],inclusive:!0}}};return q})();wt.lexer=we;function vt(){this.yy={}}return T(vt,"Parser"),(0,a.K2)(vt,"Parser"),vt.prototype=wt,wt.Parser=vt,new vt})();O.parser=O;var B=O,H="TB",z="TB",ut="dir",X="state",J="root",at="relation",ne="classDef",oe="style",le="applyClass",dt="default",Yt="divider",Ft="fill:none",Gt="fill: #333",Mt="c",Vt="markdown",Wt="normal",Rt="rect",Ot="rectWithTitle",ce="stateStart",he="stateEnd",Ut="divider",jt="roundedWithT
6itle",ue="note",de="noteGroup",ft="statediagram",fe="state",pe=`${ft}-${fe}`,Ht="transition",Se="note",ye="note-edge",_e=`${Ht} ${ye}`,ge=`${ft}-${Se}`,Ee="cluster",Te=`${ft}-${Ee}`,me="cluster-alt",De=`${ft}-${me}`,zt="parent",Xt="note",be="state",It="----",ke=`${It}${Xt}`,Jt=`${It}${zt}`,Zt=(0,a.K2)((t,e=z)=>{if(!t.doc)return e;let s=e;for(const n of t.doc)n.stmt==="dir"&&(s=n.value);return s},"getDir"),ve=(0,a.K2)(function(t,e){return e.db.getClasses()},"getClasses"),Ce=(0,a.K2)(async function(t,e,s,n){var b,Y;a.Rm.info("REF0:"),a.Rm.info("Drawing state diagram (v2)",e);const{securityLevel:r,state:h,layout:u}=(0,g.D7)();n.db.extract(n.db.getRootDocV2());const p=n.db.getData(),S=(0,ct.A)(e,r);p.type=n.type,p.layoutAlgorithm=u,p.nodeSpacing=(h==null?void 0:h.nodeSpacing)||50,p.rankSpacing=(h==null?void 0:h.rankSpacing)||50,(0,g.D7)().look==="neo"?p.markers=["barbNeo"]:p.markers=["barb"],p.diagramId=e,await(0,ht.XX)(p,S);const D=8;try{(typeof n.db.getLinks=="function"?n.db.getLinks():new Map).forEach(($,x)=>{var F;const L=typeof x=="string"?x:typeof(x==null?void 0:x.id)=="string"?x.id:"";if(!L){a.Rm.warn("\u26A0\uFE0F Invalid or missing stateId from key:",JSON.stringify(x));return}const f=(F=S.node())==null?void 0:F.querySelectorAll("g");let v;if(f==null||f.forEach(w=>{var st;((st=w.textContent)==null?void 0:st.trim())===L&&(v=w)}),!v){a.Rm.warn("\u26A0\uFE0F Could not find node matching text:",L);return}const P=v.parentNode;if(!P){a.Rm.warn("\u26A0\uFE0F Node has no parent, cannot wrap:",L);return}const I=document.createElementNS("http://www.w3.org/2000/svg","a"),V=$.url.replace(/^"+|"+$/g,"");if(I.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",V),I.setAttribute("target","_blank"),$.tooltip){const w=$.tooltip.replace(/^"+|"+$/g,"");I.setAttribute("title",w)}P.replaceChild(I,v),I.appendChild(v),a.Rm.info("\u{1F517} Wrapped node in <a> tag for:",L,$.url)})}catch(M){a.Rm.error("\u274C Error injecting clickable links:",M)}et._K.insertTitle(S,"statediagramTitleText",(b=h==null?void 0:h.titleTopMargin)!=null?b:25,n.db.getDiagramTitle()),(0,G.P)(S,D,ft,(Y=h==null?void 0:h.useMaxWidth)!=null?Y:!0)},"draw"),Ae={getClasses:ve,draw:Ce,getDir:Zt},Et=new Map,Z=0;function Tt(t="",e=0,s="",n=It){const r=s!==null&&s.length>0?`${n}${s}`:"";return`${be}-${t}${r}-${e}`}T(Tt,"stateDomId"),(0,a.K2)(Tt,"stateDomId");var xe=(0,a.K2)((t,e,s,n,r,h,u,p)=>{a.Rm.trace("items",e),e.forEach(S=>{var E;switch(S.stmt){case X:St(t,S,s,n,r,h,u,p);break;case dt:St(t,S,s,n,r,h,u,p);break;case at:{St(t,S.state1,s,n,r,h,u,p),St(t,S.state2,s,n,r,h,u,p);const D=u==="neo",b={id:"edge"+Z,start:S.state1.id,end:S.state2.id,arrowhead:"normal",arrowTypeEnd:D?"arrow_barb_neo":"arrow_barb",style:Ft,labelStyle:"",label:g.Y2.sanitizeText((E=S.description)!=null?E:"",(0,g.D7)()),arrowheadStyle:Gt,labelpos:Mt,labelType:Vt,thickness:Wt,classes:Ht,look:u};r.push(b),Z++}break}})},"setupDoc"),Qt=(0,a.K2)((t,e=z)=>{let s=e;if(t.doc)for(const n of t.doc)n.stmt==="dir"&&(s=n.value);return s},"getDir");function pt(t,e,s){if(!e.id||e.id==="</join></fork>"||e.id==="</choice>")return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(r=>{var u;const h=s.get(r);h&&(e.cssCompiledStyles=[...(u=e.cssCompiledStyles)!=null?u:[],...h.styles])}));const n=t.find(r=>r.id===e.id);n?Object.assign(n,e):t.push(e)}T(pt,"insertOrUpdateNode"),(0,a.K2)(pt,"insertOrUpdateNode");function qt(t){var e,s;return(s=(e=t==null?void 0:t.classes)==null?void 0:e.join(" "))!=null?s:""}T(qt,"getClassesFromDbInfo"),(0,a.K2)(qt,"getClassesFromDbInfo");function te(t){var e;return(e=t==null?void 0:t.styles)!=null?e:[]}T(te,"getStylesFromDbInfo"),(0,a.K2)(te,"getStylesFromDbInfo");var St=(0,a.K2)((t,e,s,n,r,h,u,p)=>{var M,$,x;const S=e.id,E=s.get(S),D=qt(E),b=te(E),Y=(0,g.D7)();if(a.Rm.info("dataFetcher parsedItem",e,E,b),S!=="root"){let L=Rt;e.start===!0?L=ce:e.start===!1&&(L=he),e.type!==dt&&(L=e.type),Et.get(S)||Et.set(S,{id:S,shape:L,description:g.Y2.sanitizeText(S,Y),cssClasses:`${D} ${pe}`,cssStyles:b});const f=Et.get(S);e.description&&(Array.isArray(f.description)?(f.shape=Ot,f.description.push(e.description)):(M=f.description)!=null&&M.length&&f.description.length>0?(f.shape=Ot,f.description===S?f.description=[e.description]:f.description=[f.description,e.description]):(f.shape=Rt,f.description=e.description),f.description=g.Y2.sanitizeTextOrArray(f.description,Y)),(($=f.description)==null?void 0:$.length)===1&&f.shape===Ot&&(f.type==="group"?f.shape=jt:f.shape=Rt),!f.type&&e.doc&&(a.Rm.info("Setting cluster for XCX",S,Qt(e)),f.type="group",f.isGroup=!0,f.dir=Qt(e),f.shape=e.type===Yt?Ut:jt,f.cssClasse
vendor: 4,497 bytes, line 6
6s=`${f.cssClasses} ${Te} ${h?De:""}`);const v={labelStyle:"",shape:f.shape,label:f.description,cssClasses:f.cssClasses,cssCompiledStyles:[],cssStyles:f.cssStyles,id:S,dir:f.dir,domId:Tt(S,Z),type:f.type,isGroup:f.type==="group",padding:8,rx:10,ry:10,look:u,labelType:"markdown"};if(v.shape===Ut&&(v.label=""),t&&t.id!=="root"&&(a.Rm.trace("Setting node ",S," to be child of its parent ",t.id),v.parentId=t.id),v.centerLabel=!0,e.note){const P={labelStyle:"",shape:ue,label:e.note.text,labelType:"markdown",cssClasses:ge,cssStyles:[],cssCompiledStyles:[],id:S+ke+"-"+Z,domId:Tt(S,Z,Xt),type:f.type,isGroup:f.type==="group",padding:(x=Y.flowchart)==null?void 0:x.padding,look:u,position:e.note.position},I=S+Jt,V={labelStyle:"",shape:de,label:e.note.text,cssClasses:f.cssClasses,cssStyles:[],id:S+Jt,domId:Tt(S,Z,zt),type:"group",isGroup:!0,padding:16,look:u,position:e.note.position};Z++,V.id=I,P.parentId=I,pt(n,V,p),pt(n,P,p),pt(n,v,p);let F=S,w=P.id;e.note.position==="left of"&&(F=P.id,w=S),r.push({id:F+"-"+w,start:F,end:w,arrowhead:"none",arrowTypeEnd:"",style:Ft,labelStyle:"",classes:_e,arrowheadStyle:Gt,labelpos:Mt,labelType:Vt,thickness:Wt,look:u})}else pt(n,v,p)}e.doc&&(a.Rm.trace("Adding nodes children "),xe(e,e.doc,s,n,r,!h,u,p))},"dataFetcher"),Le=(0,a.K2)(()=>{Et.clear(),Z=0},"reset"),A={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},ee=(0,a.K2)(()=>new Map,"newClassesList"),se=(0,a.K2)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),mt=(0,a.K2)(t=>JSON.parse(JSON.stringify(t)),"clone"),Re=(Q=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=ee(),this.documents={root:se()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=g.iN,this.setAccTitle=g.SV,this.getAccDescription=g.m7,this.setAccDescription=g.EI,this.setDiagramTitle=g.ke,this.getDiagramTitle=g.ab,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}extract(e){this.clear(!0);for(const r of Array.isArray(e)?e:e.doc)switch(r.stmt){case X:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case at:this.addRelation(r.state1,r.state2,r.description);break;case ne:this.addStyleClass(r.id.trim(),r.classes);break;case oe:this.handleStyleDef(r);break;case le:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}const s=this.getStates(),n=(0,g.D7)();Le(),St(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,n.look,this.classes);for(const r of this.nodes)if(Array.isArray(r.label)){if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){const s=e.id.trim().split(","),n=e.styleClass.split(",");for(const r of s){let h=this.getState(r);if(!h){const u=r.trim();this.addState(u),h=this.getState(u)}h&&(h.styles=n.map(u=>{var p;return(p=u.replace(/;/g,""))==null?void 0:p.trim()}))}}setRootDoc(e){a.Rm.info("Setting root doc",e),this.rootDoc=e,this.version===1?this.extract(e):this.extract(this.getRootDocV2())}docTranslator(e,s,n){if(s.stmt===at){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===X&&(s.id===A.START_NODE?(s.id=e.id+(n?"_start":"_end"),s.start=n):s.id=s.id.trim()),s.stmt!==J&&s.stmt!==X||!s.doc)return;const r=[];let h=[];for(const u of s.doc)if(u.type===Yt){const p=mt(u);p.doc=mt(h),r.push(p),h=[]}else h.push(u);if(r.length>0&&h.length>0){const u={stmt:X,id:(0,et.$C)(),type:"divider",doc:mt(h)};r.push(mt(u)),s.doc=r}s.doc.forEach(u=>this.docTranslator(s,u,!0))}getRootDocV2(){return this.docTranslator({id:J,stmt:J},{id:J,stmt:J,doc:this.rootDoc},!0),{id:J,doc:this.rootDoc}}addState(e,s=dt,n=void 0,r=void 0,h=void 0,u=void 0,p=void 0,S=void 0){const E=e==null?void 0:e.trim();if(!this.currentDocument.states.has(E))a.Rm.info("Adding state ",E,r),this.currentDocument.states.set(E,{stmt:X,id:E,descriptions:[],type:s,doc:n,note:h,classes:[],styles:[],textStyles:[]});else{const D=this.currentDocument.states.get(E);if(!D)throw new Error(`State not found: ${E}`);D.doc||(D.doc=n),D.type||(D.type=s)}if(r&&(a.Rm.info("Setting state description",E,r),(Array.isArray(r)?r:[r]).forEac
6h(b=>this.addDescription(E,b.trim()))),h){const D=this.currentDocument.states.get(E);if(!D)throw new Error(`State not found: ${E}`);D.note=h,D.note.text=g.Y2.sanitizeText(D.note.text,(0,g.D7)())}u&&(a.Rm.info("Setting state classes",E,u),(Array.isArray(u)?u:[u]).forEach(b=>this.setCssClass(E,b.trim()))),p&&(a.Rm.info("Setting state styles",E,p),(Array.isArray(p)?p:[p]).forEach(b=>this.setStyle(E,b.trim()))),S&&(a.Rm.info("Setting state styles",E,p),(Array.isArray(S)?S:[S]).forEach(b=>this.setTextStyle(E,b.trim())))}clear(e){this.nodes=[],this.edges=[],this.documents={root:se()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=ee(),e||(this.links=new Map,(0,g.IU)())}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){a.Rm.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,n){this.links.set(e,{url:s,tooltip:n}),a.Rm.warn("Adding link",e,s,n)}getLinks(){return this.links}startIdIfNeeded(e=""){return e===A.START_NODE?(this.startEndCount++,`${A.START_TYPE}${this.startEndCount}`):e}startTypeIfNeeded(e="",s=dt){return e===A.START_NODE?A.START_TYPE:s}endIdIfNeeded(e=""){return e===A.END_NODE?(this.startEndCount++,`${A.END_TYPE}${this.startEndCount}`):e}endTypeIfNeeded(e="",s=dt){return e===A.END_NODE?A.END_TYPE:s}addRelationObjs(e,s,n=""){const r=this.startIdIfNeeded(e.id.trim()),h=this.startTypeIfNeeded(e.id.trim(),e.type),u=this.startIdIfNeeded(s.id.trim()),p=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,h,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(u,p,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:u,relationTitle:g.Y2.sanitizeText(n,(0,g.D7)())})}addRelation(e,s,n){if(typeof e=="object"&&typeof s=="object")this.addRelationObjs(e,s,n);else if(typeof e=="string"&&typeof s=="string"){const r=this.startIdIfNeeded(e.trim()),h=this.startTypeIfNeeded(e),u=this.endIdIfNeeded(s.trim()),p=this.endTypeIfNeeded(s);this.addState(r,h),this.addState(u,p),this.currentDocument.relations.push({id1:r,id2:u,relationTitle:n?g.Y2.sanitizeText(n,(0,g.D7)()):void 0})}}addDescription(e,s){var h;const n=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;(h=n==null?void 0:n.descriptions)==null||h.push(g.Y2.sanitizeText(r,(0,g.D7)()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});const n=this.classes.get(e);s&&n&&s.split(A.STYLECLASS_SEP).forEach(r=>{const h=r.replace(/([^;]*);/,"$1").trim();if(RegExp(A.COLOR_KEYWORD).exec(r)){const p=h.replace(A.FILL_KEYWORD,A.BG_FILL).replace(A.COLOR_KEYWORD,A.FILL_KEYWORD);n.textStyles.push(p)}n.styles.push(h)})}getClasses(){return this.classes}setCssClass(e,s){e.split(",").forEach(n=>{var h;let r=this.getState(n);if(!r){const u=n.trim();this.addState(u),r=this.getState(u)}(h=r==null?void 0:r.classes)==null||h.push(s)})}setStyle(e,s){var n,r;(r=(n=this.getState(e))==null?void 0:n.styles)==null||r.push(s)}setTextStyle(e,s){var n,r;(r=(n=this.getState(e))==null?void 0:n.textStyles)==null||r.push(s)}getDirectionStatement(){return this.rootDoc.find(e=>e.stmt===ut)}getDirection(){var e,s;return(s=(e=this.getDirectionStatement())==null?void 0:e.value)!=null?s:H}setDirection(e){const s=this.getDirectionStatement();s?s.value=e:this.rootDoc.unshift({stmt:ut,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){const e=(0,g.D7)();return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:Zt(this.getRootDocV2())}}getConfig(){return(0,g.D7)().state}},T(Q,"StateDB"),(0,a.K2)(Q,"StateDB"),Q.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},Q),Oe=(0,a.K2)(t=>{var e;return`
7defs [id$="-barbEnd"] {
8    fill: ${t.transitionColor};
9    stroke: ${t.transitionColor};
10  }
11g.stateGroup text {
12  fill: ${t.nodeBorder};
13  stroke: none;
14  font-size: 10px;
15}
16g.stateGroup text {
17  fill: ${t.textColor};
18  stroke: none;
19  font-size: 10px;
20
21}
22g.stateGroup .state-title {
23  font-weight: bolder;
24  fill: ${t.stateLabelColor};
25}
26
27g.stateGroup rect {
28  fill: ${t.mainBkg};
29  stroke: ${t.nodeBorder};
30}
31
32g.stateGroup line {
33  stroke: ${t.lineColor};
34  stroke-width: ${t.strokeWidth||1};
35}
36
37.transition {
38  stroke: ${t.transitionColor};
39  stroke-width: ${t.strokeWidth||1};
40  fill: none;
41}
42
43.stateGroup .composit {
44  fill: ${t.background};
45  border-bottom: 1px
46}
47
48.stateGroup .alt-composit {
49  fill: #e0e0e0;
50  border-bottom: 1px
51}
52
53.state-note {
54  stroke: ${t.noteBorderColor};
55  fill: ${t.noteBkgColor};
56
57  text {
58    fill: ${t.noteTextColor};
59    stroke: none;
60    font-size: 10px;
61  }
62}
63
64.stateLabel .box {
65  stroke: none;
66  stroke-width: 0;
67  fill: ${t.mainBkg};
68  opacity: 0.5;
69}
70
71.edgeLabel .label rect {
72  fill: ${t.labelBackgroundColor};
73  opacity: 0.5;
74}
75.edgeLabel {
76  background-color: ${t.edgeLabelBackground};
77  p {
78    background-color: ${t.edgeLabelBackground};
79  }
80  rect {
81    opacity: 0.5;
82    background-color: ${t.edgeLabelBackground};
83    fill: ${t.edgeLabelBackground};
84  }
85  text-align: center;
86}
87.edgeLabel .label text {
88  fill: ${t.transitionLabelColor||t.tertiaryTextColor};
89}
90.label div .edgeLabel {
91  color: ${t.transitionLabelColor||t.tertiaryTextColor};
92}
93
94.stateLabel text {
95  fill: ${t.stateLabelColor};
96  font-size: 10px;
97  font-weight: bold;
98}
99
100.node circle.state-start {
101  fill: ${t.specialStateColor};
102  stroke: ${t.specialStateColor};
103}
104
105.node .fork-join {
106  fill: ${t.specialStateColor};
107  stroke: ${t.specialStateColor};
108}
109
110.node circle.state-end {
111  fill: ${t.innerEndBackground};
112  stroke: ${t.background};
113  stroke-width: 1.5
114}
115.end-state-inner {
116  fill: ${t.compositeBackground||t.background};
117  // stroke: ${t.background};
118  stroke-width: 1.5
119}
120
121.node rect {
122  fill: ${t.stateBkg||t.mainBkg};
123  stroke: ${t.stateBorder||t.nodeBorder};
124  stroke-width: ${t.strokeWidth||1}px;
125}
126.node polygon {
127  fill: ${t.mainBkg};
128  stroke: ${t.stateBorder||t.nodeBorder};;
129  stroke-width: ${t.strokeWidth||1}px;
130}
131[id$="-barbEnd"] {
132  fill: ${t.lineColor};
133}
134
135.statediagram-cluster rect {
136  fill: ${t.compositeTitleBackground};
137  stroke: ${t.stateBorder||t.nodeBorder};
138  stroke-width: ${t.strokeWidth||1}px;
139}
140
141.cluster-label, .nodeLabel {
142  color: ${t.stateLabelColor};
143  // line-height: 1;
144}
145
146.statediagram-cluster rect.outer {
147  rx: 5px;
148  ry: 5px;
149}
150.statediagram-state .divider {
151  stroke: ${t.stateBorder||t.nodeBorder};
152}
153
154.statediagram-state .title-state {
155  rx: 5px;
156  ry: 5px;
157}
158.statediagram-cluster.statediagram-cluster .inner {
159  fill: ${t.compositeBackground||t.background};
160}
161.statediagram-cluster.statediagram-cluster-alt .inner {
162  fill: ${t.altBackground?t.altBackground:"#efefef"};
163}
164
165.statediagram-cluster .inner {
166  rx:0;
167  ry:0;
168}
169
170.statediagram-state rect.basic {
171  rx: 5px;
172  ry: 5px;
173}
174.statediagram-state rect.divider {
175  stroke-dasharray: 10,10;
176  fill: ${t.altBackground?t.altBackground:"#efefef"};
177}
178
179.note-edge {
180  stroke-dasharray: 5;
181}
182
183.statediagram-note rect {
184  fill: ${t.noteBkgColor};
185  stroke: ${t.noteBorderColor};
186  stroke-width: 1px;
187  rx: 0;
188  ry: 0;
189}
190.statediagram-note rect {
191  fill: ${t.noteBkgColor};
192  stroke: ${t.noteBorderColor};
193  stroke-width: 1px;
194  rx: 0;
195  ry: 0;
196}
197
198.statediagram-note text {
199  fill: ${t.noteTextColor};
200}
201
202.statediagram-note .nodeLabel {
203  color: ${t.noteTextColor};
204}
205.statediagram .edgeLabel {
206  color: red; // ${t.noteTextColor};
207}
208
209[id$="-dependencyStart"], [id$="-dependencyEnd"] {
210  fill: ${t.lineColor};
211  stroke: ${t.lineColor};
212  stroke-width: ${t.strokeWidth||1};
213}
214
215.statediagramTitleText {
216  text-anchor: middle;
217  font-size: 18px;
218  fill: ${t.textColor};
219}
220
221[data-look="neo"].statediagram-cluster rect {
222  fill: ${t.mainBkg};
223  stroke: ${t.useGradient?"url("+t.svgId+"-gradient)":t.stateBorder||t.nodeBorder};
224  stroke-width: ${(e=t.strokeWidth)!=null?e:1};
225}
226[data-look="neo"].statediagram-cluster rect.outer {
227  rx: ${t.radius}px;
228  ry: ${t.radius}px;
229  filter: ${t.dropShadow?t.dropShadow.replace("url(#drop-shadow)",`url(${t.svgId}-drop-shadow)`):"none"}
230}
231`},"getStyles"),Ie=Oe}}]);})();

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.