PageSourceSearch

https://posthog.com/fe8bb93dcba62e8ce8a062d724dbc8a69309bd57-a4102a92d6e48fba6a4f.js

js posthog.com collected 2026-10-01 08:27:38 UTC 296,764 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkposthog_com=self.webpackChunkposthog_com||[]).push([[1490],{1183:function(t,e,i){i.d(e,{b:function(){return a}});var s=i(24147),n=i(74265),r=i(28220);class a extends s.P{updateContainer(t){let e=t.get("paddingLeft",0),i=t.innerWidth(),a=0;(0,s.l)(t,t=>{if(t.isVisible()&&"relative"==t.get("position")){let e=t.get("width");if(e instanceof r.QE){a+=e.value;let s=i*e.value,n=t.get("minWidth",t.getPrivate("minWidth",-1/0));n>s&&(i-=n,a-=e.value);let r=t.get("maxWidth",t.getPrivate("maxWidth",1/0));s>r&&(i-=r,a-=e.value)}else n.isNumber(e)||(e=t.width()),i-=e+t.get("marginLeft",0)+t.get("marginRight",0)}}),(i<=0||i==1/0)&&(i=.1),(0,s.l)(t,t=>{if(t.isVisible()&&"relative"==t.get("position")){let e=t.get("width");if(e instanceof r.QE){let s=i*e.value/a-t.get("marginLeft",0)-t.get("marginRight",0),n=t.get("minWidth",t.getPrivate("minWidth",-1/0)),r=t.get("maxWidth",t.getPrivate("maxWidth",1/0));s=Math.min(Math.max(n,s),r),t.setPrivate("width",s)}else t._prevSettings.width instanceof r.QE&&t.setPrivate("width",void 0)}});let o=e;(0,s.l)(t,t=>{if("relative"==t.get("position"))if(t.isVisible()){let e=t.adjustedLocalBounds(),i=t.get("marginLeft",0),s=t.get("marginRight",0),n=t.get("maxWidth"),r=e.left,a=e.right;n&&a-r>n&&(a=r+n);let l=o+i-r;t.setPrivate("x",l),o=l+a+s}else t.setPrivate("x",void 0)})}}Object.defineProperty(a,"className",{enumerable:!0,configurable:!0,writable:!0,value:"HorizontalLayout"}),Object.defineProperty(a,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.P.classNames.concat([a.className])})},2079:function(t,e,i){i.d(e,{Zk:function(){return h},q7:function(){return N},tM:function(){return at},u4:function(){return rt}});var s=i(33658),n=i(85575),r=i(80863),a=i(19537),o=i(29940),l=i(30742),u=function(){var t=(0,l.K2)(function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},"o"),e=[1,2],i=[1,3],s=[1,4],n=[2,4],r=[1,9],a=[1,11],o=[1,16],u=[1,17],h=[1,18],c=[1,19],d=[1,33],p=[1,20],g=[1,21],f=[1,22],m=[1,23],y=[1,24],b=[1,26],v=[1,27],_=[1,28],w=[1,29],T=[1,30],x=[1,31],k=[1,32],D=[1,35],A=[1,36],C=[1,37],S=[1,38],P=[1,34],E=[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],O=[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],I=[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],R={trace:(0,l.K2)(function(){},"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,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,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:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"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,l.K2)(function(t,e,
vendor: 4,227 bytes, line 1
1i,s,n,r,a){var o=r.length-1;switch(n){case 3:return s.setRootDoc(r[o]),r[o];case 4:this.$=[];break;case 5:"nl"!=r[o]&&(r[o-1].push(r[o]),this.$=r[o-1]);break;case 6:case 7:case 12:this.$=r[o];break;case 8:this.$="nl";break;case 13:const t=r[o-1];t.description=s.trimColon(r[o]),this.$=t;break;case 14:this.$={stmt:"relation",state1:r[o-2],state2:r[o]};break;case 15:const e=s.trimColon(r[o]);this.$={stmt:"relation",state1:r[o-3],state2:r[o-1],description:e};break;case 19:this.$={stmt:"state",id:r[o-3],type:"default",description:"",doc:r[o-1]};break;case 20:var l=r[o],u=r[o-2].trim();if(r[o].match(":")){var h=r[o].split(":");l=h[0],u=[u,h[1]]}this.$={stmt:"state",id:l,type:"default",description:u};break;case 21:this.$={stmt:"state",id:r[o-3],type:"default",description:r[o-5],doc:r[o-1]};break;case 22:this.$={stmt:"state",id:r[o],type:"fork"};break;case 23:this.$={stmt:"state",id:r[o],type:"join"};break;case 24:this.$={stmt:"state",id:r[o],type:"choice"};break;case 25:this.$={stmt:"state",id:s.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[o-1].trim(),note:{position:r[o-2].trim(),text:r[o].trim()}};break;case 29:this.$=r[o].trim(),s.setAccTitle(this.$);break;case 30:case 31:this.$=r[o].trim(),s.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[o-3],url:r[o-2],tooltip:r[o-1]};break;case 33:this.$={stmt:"click",id:r[o-3],url:r[o-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[o-1].trim(),classes:r[o].trim()};break;case 36:this.$={stmt:"style",id:r[o-1].trim(),styleClass:r[o].trim()};break;case 37:this.$={stmt:"applyClass",id:r[o-1].trim(),styleClass:r[o].trim()};break;case 38:s.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:s.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:s.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:s.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[o].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:r[o-2].trim(),classes:[r[o].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:i,6:s},{1:[3]},{3:5,4:e,5:i,6:s},{3:6,4:e,5:i,6:s},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],n,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:r,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:o,17:u,19:h,22:c,24:d,25:p,26:g,27:f,28:m,29:y,32:25,33:b,35:v,37:_,38:w,41:T,45:x,48:k,51:D,52:A,53:C,54:S,57:P},t(E,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:o,17:u,19:h,22:c,24:d,25:p,26:g,27:f,28:m,29:y,32:25,33:b,35:v,37:_,38:w,41:T,45:x,48:k,51:D,52:A,53:C,54:S,57:P},t(E,[2,7]),t(E,[2,8]),t(E,[2,9]),t(E,[2,10]),t(E,[2,11]),t(E,[2,12],{14:[1,40],15:[1,41]}),t(E,[2,16]),{18:[1,42]},t(E,[2,18],{20:[1,43]}),{23:[1,44]},t(E,[2,22]),t(E,[2,23]),t(E,[2,24]),t(E,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(E,[2,28]),{34:[1,49]},{36:[1,50]},t(E,[2,31]),{13:51,24:d,57:P},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(O,[2,44],{58:[1,56]}),t(O,[2,45],{58:[1,57]}),t(E,[2,38]),t(E,[2,39]),t(E,[2,40]),t(E,[2,41]),t(E,[2,6]),t(E,[2,13]),{13:58,24:d,57:P},t(E,[2,17]),t(I,n,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(E,[2,29]),t(E,[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(E,[2,14],{14:[1,71]}),{4:r,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:o,17:u,19:h,21:[1,72],22:c,24:d,25:p,26:g,27:f,28:m,29:y,32:25,33:b,35:v,37:_,38:w,41:T,45:x,48:k,51:D,52:A,53:C,54:S,57:P},t(E,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(E,[2,34]),t(E,[2,35]),t(E,[2,36]),t(E,[2,37]),t(O,[2,46]),t(O,[2,47]),t(E,[2,15]),t(E,[2,19]),t(I,n,{7:78}),t(E,[2,26]),t(E,[2,27]),{5:[1,79]},{5:[1,80]},{4:r,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:o,17:u,19:h,21:[1,81],22:c,24:d,25:p,26:g,27:f,28:m,29:y,32:25,33:b,35:v,37:_,38:w,41:T,45:x,48:k,51:D,52:A,53:C,54:S,57:P},t(E,[2,32]),t(E,[2,33]),t(E,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:(0,l.K2)(function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},"parseError"),parse:(0,l.K2)(function(t){var e=this,i=[0],s=[],n=[null],r=[],a=this.table,o="",u=0,h=0,c=0,d=r.slice.call(arguments,1
1),p=Object.create(this.lexer),g={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(g.yy[f]=this.yy[f]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;r.push(m);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=s.pop()||p.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K2)(function(t){i.length=i.length-2*t,n.length=n.length-t,r.length=r.length-t},"popStack"),(0,l.K2)(b,"lex");for(var v,_,w,T,x,k,D,A,C,S={};;){if(w=i[i.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(null==v&&(v=b()),T=a[w]&&a[w][v]),void 0===T||!T.length||!T[0]){var P="";for(k in C=[],a[w])this.terminals_[k]&&k>2&&C.push("'"+this.terminals_[k]+"'");P=p.showPosition?"Parse error on line "+(u+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(u+1)+": Unexpected "+(1==v?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(P,{text:p.match,token:this.terminals_[v]||v,line:p.yylineno,loc:m,expected:C})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(T[0]){case 1:i.push(v),n.push(p.yytext),r.push(p.yylloc),i.push(T[1]),v=null,_?(v=_,_=null):(h=p.yyleng,o=p.yytext,u=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(D=this.productions_[T[1]][1],S.$=n[n.length-D],S._$={first_line:r[r.length-(D||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(D||1)].first_column,last_column:r[r.length-1].last_column},y&&(S._$.range=[r[r.length-(D||1)].range[0],r[r.length-1].range[1]]),void 0!==(x=this.performAction.apply(S,[o,h,u,g.yy,T[1],n,r].concat(d))))return x;D&&(i=i.slice(0,-1*D*2),n=n.slice(0,-1*D),r=r.slice(0,-1*D)),i.push(this.productions_[T[1]][0]),n.push(S.$),r.push(S._$),A=a[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0},"parse")},B=function(){return{EOF:1,parseError:(0,l.K2)(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,l.K2)(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},"setInput"),input:(0,l.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,l.K2)(function(t){var e=t.length,i=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),i.length-1&&(this.yylineno-=i.length-1);var n=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===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.K2)(function(){return this._more=!0,this},"more"),reject:(0,l.K2)(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})},"reject"),less:(0,l.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.K2)(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,"")},"upcomingInput"),showPosition:(0,l.K2)(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.K2)(function(t,e){var i,s,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},"test_match"),next:(0,l.K2)(function(){if(this.done)return this.EOF;var t,e,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if((i=this._input.match(this.rules[n[r]]))&&(!e||i[0].length>e[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,l.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.K2)(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"),topState:(0,l.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0}
1,performAction:(0,l.K2)(function(t,e,i,s){switch(i){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:case 45:return 51;case 5:case 46:return 52;case 6:case 47:return 53;case 7:case 48:return 54;case 8:case 9:case 11:case 12:case 13:case 14:case 57:case 59:case 65:break;case 10:case 80:return 5;case 15:case 35:return this.pushState("SCALE"),17;case 16:case 36:return 18;case 17:case 23:case 37:case 52:case 55:this.popState();break;case 18:return this.begin("acc_title"),33;case 19:return this.popState(),"acc_title_value";case 20:return this.begin("acc_descr"),35;case 21:return this.popState(),"acc_descr_value";case 22:this.begin("acc_descr_multiline");break;case 24:return"acc_descr_multiline_value";case 25:return this.pushState("CLASSDEF"),41;case 26:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 27:return this.popState(),this.pushState("CLASSDEFID"),42;case 28:return this.popState(),43;case 29:return this.pushState("CLASS"),48;case 30:return this.popState(),this.pushState("CLASS_STYLE"),49;case 31:return this.popState(),50;case 32:return this.pushState("STYLE"),45;case 33:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 34:return this.popState(),47;case 38:this.pushState("STATE");break;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 41:case 44:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 49:this.pushState("STATE_STRING");break;case 50:return this.pushState("STATE_ID"),"AS";case 51:case 67:return this.popState(),"ID";case 53:return"STATE_DESCR";case 54:return 19;case 56:return this.popState(),this.pushState("struct"),20;case 58:return this.popState(),21;case 60:return this.begin("NOTE"),29;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:return this.popState(),this.pushState("NOTE_ID"),60;case 63:this.popState(),this.pushState("FLOATING_NOTE");break;case 64:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 66:return"NOTE_TEXT";case 68:return this.popState(),this.pushState("NOTE_TEXT"),24;case 69:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 70:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 71:case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return e.yytext=e.yytext.trim(),14;case 77:return 15;case 78:return 28;case 79:return 58;case 81:return"INVALID"}},"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,/^(?:[^\}]%%[^\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,/^(?:%%(?!\{)[^\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:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}}}();function F(){this.yy={}}return R.lexer=B,(0,l.K2)(F,"Parser"),F.prototype=R,R.Parser=F,new F}();u.parser=u;var h=u,c="state",d="root",p="relation",g="default",f="divider",m="fill:none",y="fill: #333",b="text",v="normal",_="rect",w="rectWithTitle",T="divider",x="roundedWithT
1itle",k="statediagram",D=`${k}-state`,A="transition",C=`${A} note-edge`,S=`${k}-note`,P=`${k}-cluster`,E=`${k}-cluster-alt`,O="parent",I="note",R="----",B=`${R}${I}`,F=`${R}${O}`,L=(0,l.K2)((t,e="TB")=>{if(!t.doc)return e;let i=e;for(const s of t.doc)"dir"===s.stmt&&(i=s.value);return i},"getDir"),N={getClasses:(0,l.K2)(function(t,e){return e.db.getClasses()},"getClasses"),draw:(0,l.K2)(async function(t,e,i,u){l.Rm.info("REF0:"),l.Rm.info("Drawing state diagram (v2)",e);const{securityLevel:h,state:c,layout:d}=(0,o.D7)();u.db.extract(u.db.getRootDocV2());const p=u.db.getData(),g=(0,s.A)(e,h);p.type=u.type,p.layoutAlgorithm=d,p.nodeSpacing=c?.nodeSpacing||50,p.rankSpacing=c?.rankSpacing||50,p.markers=["barb"],p.diagramId=e,await(0,r.XX)(p,g);try{("function"==typeof u.db.getLinks?u.db.getLinks():new Map).forEach((t,e)=>{const i="string"==typeof e?e:"string"==typeof e?.id?e.id:"";if(!i)return void l.Rm.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(e));const s=g.node()?.querySelectorAll("g");let n;if(s?.forEach(t=>{const e=t.textContent?.trim();e===i&&(n=t)}),!n)return void l.Rm.warn("⚠️ Could not find node matching text:",i);const r=n.parentNode;if(!r)return void l.Rm.warn("⚠️ Node has no parent, cannot wrap:",i);const a=document.createElementNS("http://www.w3.org/2000/svg","a"),o=t.url.replace(/^"+|"+$/g,"");if(a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),a.setAttribute("target","_blank"),t.tooltip){const e=t.tooltip.replace(/^"+|"+$/g,"");a.setAttribute("title",e)}r.replaceChild(a,n),a.appendChild(n),l.Rm.info("🔗 Wrapped node in <a> tag for:",i,t.url)})}catch(f){l.Rm.error("❌ Error injecting clickable links:",f)}a._K.insertTitle(g,"statediagramTitleText",c?.titleTopMargin??25,u.db.getDiagramTitle()),(0,n.P)(g,8,k,c?.useMaxWidth??!0)},"draw"),getDir:L},M=new Map,j=0;function $(t="",e=0,i="",s=R){return`state-${t}${null!==i&&i.length>0?`${s}${i}`:""}-${e}`}(0,l.K2)($,"stateDomId");var H=(0,l.K2)((t,e,i,s,n,r,a,u)=>{l.Rm.trace("items",e),e.forEach(e=>{switch(e.stmt){case c:case g:z(t,e,i,s,n,r,a,u);break;case p:{z(t,e.state1,i,s,n,r,a,u),z(t,e.state2,i,s,n,r,a,u);const l={id:"edge"+j,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:m,labelStyle:"",label:o.Y2.sanitizeText(e.description??"",(0,o.D7)()),arrowheadStyle:y,labelpos:"c",labelType:b,thickness:v,classes:A,look:a};n.push(l),j++}}})},"setupDoc"),U=(0,l.K2)((t,e="TB")=>{let i=e;if(t.doc)for(const s of t.doc)"dir"===s.stmt&&(i=s.value);return i},"getDir");function G(t,e,i){if(!e.id||"</join></fork>"===e.id||"</choice>"===e.id)return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{const s=i.get(t);s&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...s.styles])}));const s=t.find(t=>t.id===e.id);s?Object.assign(s,e):t.push(e)}function K(t){return t?.classes?.join(" ")??""}function W(t){return t?.styles??[]}(0,l.K2)(G,"insertOrUpdateNode"),(0,l.K2)(K,"getClassesFromDbInfo"),(0,l.K2)(W,"getStylesFromDbInfo");var z=(0,l.K2)((t,e,i,s,n,r,a,u)=>{const h=e.id,c=i.get(h),d=K(c),p=W(c),k=(0,o.D7)();if(l.Rm.info("dataFetcher parsedItem",e,c,p),"root"!==h){let i=_;!0===e.start?i="stateStart":!1===e.start&&(i="stateEnd"),e.type!==g&&(i=e.type),M.get(h)||M.set(h,{id:h,shape:i,description:o.Y2.sanitizeText(h,k),cssClasse
1s:`${d} ${D}`,cssStyles:p});const c=M.get(h);e.description&&(Array.isArray(c.description)?(c.shape=w,c.description.push(e.description)):c.description?.length&&c.description.length>0?(c.shape=w,c.description===h?c.description=[e.description]:c.description=[c.description,e.description]):(c.shape=_,c.description=e.description),c.description=o.Y2.sanitizeTextOrArray(c.description,k)),1===c.description?.length&&c.shape===w&&("group"===c.type?c.shape=x:c.shape=_),!c.type&&e.doc&&(l.Rm.info("Setting cluster for XCX",h,U(e)),c.type="group",c.isGroup=!0,c.dir=U(e),c.shape=e.type===f?T:x,c.cssClasses=`${c.cssClasses} ${P} ${r?E:""}`);const A={labelStyle:"",shape:c.shape,label:c.description,cssClasses:c.cssClasses,cssCompiledStyles:[],cssStyles:c.cssStyles,id:h,dir:c.dir,domId:$(h,j),type:c.type,isGroup:"group"===c.type,padding:8,rx:10,ry:10,look:a};if(A.shape===T&&(A.label=""),t&&"root"!==t.id&&(l.Rm.trace("Setting node ",h," to be child of its parent ",t.id),A.parentId=t.id),A.centerLabel=!0,e.note){const t={labelStyle:"",shape:"note",label:e.note.text,cssClasses:S,cssStyles:[],cssCompiledStyles:[],id:h+B+"-"+j,domId:$(h,j,I),type:c.type,isGroup:"group"===c.type,padding:k.flowchart?.padding,look:a,position:e.note.position},i=h+F,r={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:c.cssClasses,cssStyles:[],id:h+F,domId:$(h,j,O),type:"group",isGroup:!0,padding:16,look:a,position:e.note.position};j++,r.id=i,t.parentId=i,G(s,r,u),G(s,t,u),G(s,A,u);let o=h,l=t.id;"left of"===e.note.position&&(o=t.id,l=h),n.push({id:o+"-"+l,start:o,end:l,arrowhead:"none",arrowTypeEnd:"",style:m,labelStyle:"",classes:C,arrowheadStyle:y,labelpos:"c",labelType:b,thickness:v,look:a})}else G(s,A,u)}e.doc&&(l.Rm.trace("Adding nodes children "),H(e,e.doc,i,s,n,!r,a,u))},"dataFetcher"),V=(0,l.K2)(()=>{M.clear(),j=0},"reset"),Y="[*]",Q="start",X="[*]",Z="end",q="color",J="fill",tt="bgFill",et=",",it=(0,l.K2)(()=>new Map,"newClassesList"),st=(0,l.K2)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),nt=(0,l.K2)(t=>JSON.parse(JSON.stringify(t)),"clone"),rt=class{constructor(t){this.version=t,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=it(),this.documents={root:st()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=o.iN,this.setAccTitle=o.SV,this.getAccDescription=o.m7,this.setAccDescription=o.EI,this.setDiagramTitle=o.ke,this.getDiagramTitle=o.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)}static{(0,l.K2)(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(t){this.clear(!0);for(const s of Array.isArray(t)?t:t.doc)switch(s.stmt){case c:this.addState(s.id.trim(),s.type,s.doc,s.description,s.note);break;case p:this.addRelation(s.state1,s.state2,s.description);break;case"classDef":this.addStyleClass(s.id.trim(),s.classes);break;case"style":this.handleStyleDef(s);break;case"applyClass":this.setCssClass(s.id.trim(),s.styleClass);break;case"click":this.addLink(s.id,s.url,s.tooltip)}const e=this.getStates(),i=(0,o.D7)();V(),z(void 0,this.getRootDocV2(),e,this.nodes,this.edges,!0,i.look,this.classes);for(const s of this.nodes)if(Array.isArray(s.label)){if(s.description=s.label.slice(1),s.isGroup&&s.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${s.id}]`);s.label=s.label[0]}}handleStyleDef(t){const e=t.id.trim().split(","),i=t.styleClass.split(",");for(const s of e){let t=this.getState(s);if(!t){const e=s.trim();this.addState(e),t=this.getState(e)}t&&(t.styles=i.map(t=>t.replace(/;/g,"")?.trim()))}}setRootDoc(t){l.Rm.info("Setting root doc",t),this.rootDoc=t,1===this.version?this.extract(t):this.extract(this.getRootDocV2())}docTranslator(t,e,i){if(e.stmt===p)return this.docTranslator(t,e.state1,!0),void this.docTranslator(t,e.state2,!1);if(e.stmt===c&&(e.id===Y?(e.id=t.id+(i?"_start":"_end"),e.start=i):e.id=e.id.trim()),e.stmt!==d&&e.stmt!==c||!e.doc)return;const s=[];let n=[];for(const r of e.doc)if(r.type===f){const t=nt(r);t.doc=nt(n),s.push(t),n=[]}else n.push(r);if(s.length>0&&n.length>0){const t={stmt:c,id:(0,a.$C)(),type:"divider",doc:nt(n)};s.push(nt(t)),e.doc=s}e.doc.forEach(t=>this.docTranslator(e,t,!0))}getRootDocV2(){return this.docTranslator({id:d,stmt:d},{id:d,stmt:d,doc:this.rootDoc},!0),{id:d,doc:this.rootDoc}}addState(t,e=g,i=void 0,s=void 0,n=void 0,r=void 0,a=void 0,u=void 0){const h=t?.trim();if(this.currentDocument.states.has(h)){const t=this.currentDocument.states.get(h);if(!t)throw new Error(`State not found: ${h}`);t.doc||(t.doc=i),t.type||(t.type=e)}else l.Rm.info("Adding state ",h,s),this.currentDocument.states.set(h,{stmt:c,id:h,descriptions:[],type:e,doc:i,note:n,classes:[],styles:[],textStyles:[]});if(s){l.Rm.info("Setting state description",h,s);
1(Array.isArray(s)?s:[s]).forEach(t=>this.addDescription(h,t.trim()))}if(n){const t=this.currentDocument.states.get(h);if(!t)throw new Error(`State not found: ${h}`);t.note=n,t.note.text=o.Y2.sanitizeText(t.note.text,(0,o.D7)())}if(r){l.Rm.info("Setting state classes",h,r);(Array.isArray(r)?r:[r]).forEach(t=>this.setCssClass(h,t.trim()))}if(a){l.Rm.info("Setting state styles",h,a);(Array.isArray(a)?a:[a]).forEach(t=>this.setStyle(h,t.trim()))}if(u){l.Rm.info("Setting state styles",h,a);(Array.isArray(u)?u:[u]).forEach(t=>this.setTextStyle(h,t.trim()))}}clear(t){this.nodes=[],this.edges=[],this.documents={root:st()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=it(),t||(this.links=new Map,(0,o.IU)())}getState(t){return this.currentDocument.states.get(t)}getStates(){return this.currentDocument.states}logDocuments(){l.Rm.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(t,e,i){this.links.set(t,{url:e,tooltip:i}),l.Rm.warn("Adding link",t,e,i)}getLinks(){return this.links}startIdIfNeeded(t=""){return t===Y?(this.startEndCount++,`${Q}${this.startEndCount}`):t}startTypeIfNeeded(t="",e=g){return t===Y?Q:e}endIdIfNeeded(t=""){return t===X?(this.startEndCount++,`${Z}${this.startEndCount}`):t}endTypeIfNeeded(t="",e=g){return t===X?Z:e}addRelationObjs(t,e,i=""){const s=this.startIdIfNeeded(t.id.trim()),n=this.startTypeIfNeeded(t.id.trim(),t.type),r=this.startIdIfNeeded(e.id.trim()),a=this.startTypeIfNeeded(e.id.trim(),e.type);this.addState(s,n,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.addState(r,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.currentDocument.relations.push({id1:s,id2:r,relationTitle:o.Y2.sanitizeText(i,(0,o.D7)())})}addRelation(t,e,i){if("object"==typeof t&&"object"==typeof e)this.addRelationObjs(t,e,i);else if("string"==typeof t&&"string"==typeof e){const s=this.startIdIfNeeded(t.trim()),n=this.startTypeIfNeeded(t),r=this.endIdIfNeeded(e.trim()),a=this.endTypeIfNeeded(e);this.addState(s,n),this.addState(r,a),this.currentDocument.relations.push({id1:s,id2:r,relationTitle:i?o.Y2.sanitizeText(i,(0,o.D7)()):void 0})}}addDescription(t,e){const i=this.currentDocument.states.get(t),s=e.startsWith(":")?e.replace(":","").trim():e;i?.descriptions?.push(o.Y2.sanitizeText(s,(0,o.D7)()))}cleanupLabel(t){return t.startsWith(":")?t.slice(2).trim():t.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(t,e=""){this.classes.has(t)||this.classes.set(t,{id:t,styles:[],textStyles:[]});const i=this.classes.get(t);e&&i&&e.split(et).forEach(t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(q).exec(t)){const t=e.replace(J,tt).replace(q,J);i.textStyles.push(t)}i.styles.push(e)})}getClasses(){return this.classes}setCssClass(t,e){t.split(",").forEach(t=>{let i=this.getState(t);if(!i){const e=t.trim();this.addState(e),i=this.getState(e)}i?.classes?.push(e)})}setStyle(t,e){this.getState(t)?.styles?.push(e)}setTextStyle(t,e){this.getState(t)?.textStyles?.push(e)}getDirectionStatement(){return this.rootDoc.find(t=>"dir"===t.stmt)}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(t){const e=this.getDirectionStatement();e?e.value=t:this.rootDoc.unshift({stmt:"dir",value:t})}trimColon(t){return t.startsWith(":")?t.slice(1).trim():t.trim()}getData(){const t=(0,o.D7)();return{nodes:this.nodes,edges:this.edges,other:{},config:t,direction:L(this.getRootDocV2())}}getConfig(){return(0,o.D7)().state}},at=(0,l.K2)(t=>`\ndefs #statediagram-barbEnd {\n    fill: ${t.transitionColor};\n    stroke: ${t.transitionColor};\n  }\ng.stateGroup text {\n  fill: ${t.nodeBorder};\n  stroke: none;\n  font-size: 10px;\n}\ng.stateGroup text {\n  fill: ${t.textColor};\n  stroke: none;\n  font-size: 10px;\n\n}\ng.stateGroup .state-title {\n  font-weight: bolder;\n  fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n  fill: ${t.mainBkg};\n  stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n  stroke: ${t.lineColor};\n  stroke-width: 1;\n}\n\n.transition {\n  stroke: ${t.transitionColor};\n  stroke-width: 1;\n  fill: none;\n}\n\n.stateGroup .composit {\n  fill: ${t.background};\n  border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n  fill: #e0e0e0;\n  border-bottom: 1px\n}\n\n.state-note {\n  stroke: ${t.noteBorderColor};\n  fill: ${t.noteBkgColor};\n\n  text {\n    fill: ${t.noteTextColor};\n    stroke: none;\n    font-size: 10px;\n  }\n}\n\n.stateLabel .box {\n  stroke: none;\n  stroke-width: 0;\n  fill: ${t.mainBkg};\n  opacity: 0.5;\n}
1\n\n.edgeLabel .label rect {\n  fill: ${t.labelBackgroundColor};\n  opacity: 0.5;\n}\n.edgeLabel {\n  background-color: ${t.edgeLabelBackground};\n  p {\n    background-color: ${t.edgeLabelBackground};\n  }\n  rect {\n    opacity: 0.5;\n    background-color: ${t.edgeLabelBackground};\n    fill: ${t.edgeLabelBackground};\n  }\n  text-align: center;\n}\n.edgeLabel .label text {\n  fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n  color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n  fill: ${t.stateLabelColor};\n  font-size: 10px;\n  font-weight: bold;\n}\n\n.node circle.state-start {\n  fill: ${t.specialStateColor};\n  stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n  fill: ${t.specialStateColor};\n  stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n  fill: ${t.innerEndBackground};\n  stroke: ${t.background};\n  stroke-width: 1.5\n}\n.end-state-inner {\n  fill: ${t.compositeBackground||t.background};\n  // stroke: ${t.background};\n  stroke-width: 1.5\n}\n\n.node rect {\n  fill: ${t.stateBkg||t.mainBkg};\n  stroke: ${t.stateBorder||t.nodeBorder};\n  stroke-width: 1px;\n}\n.node polygon {\n  fill: ${t.mainBkg};\n  stroke: ${t.stateBorder||t.nodeBorder};;\n  stroke-width: 1px;\n}\n#statediagram-barbEnd {\n  fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n  fill: ${t.compositeTitleBackground};\n  stroke: ${t.stateBorder||t.nodeBorder};\n  stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n  color: ${t.stateLabelColor};\n  // line-height: 1;\n}\n\n.statediagram-cluster rect.outer {\n  rx: 5px;\n  ry: 5px;\n}\n.statediagram-state .divider {\n  stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n  rx: 5px;\n  ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n  fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n  fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n  rx:0;\n  ry:0;\n}\n\n.statediagram-state rect.basic {\n  rx: 5px;\n  ry: 5px;\n}\n.statediagram-state rect.divider {\n  stroke-dasharray: 10,10;\n  fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n  stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n  fill: ${t.noteBkgColor};\n  stroke: ${t.noteBorderColor};\n  stroke-width: 1px;\n  rx: 0;\n  ry: 0;\n}\n.statediagram-note rect {\n  fill: ${t.noteBkgColor};\n  stroke: ${t.noteBorderColor};\n  stroke-width: 1px;\n  rx: 0;\n  ry: 0;\n}\n\n.statediagram-note text {\n  fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n  color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n  color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n  fill: ${t.lineColor};\n  stroke: ${t.lineColor};\n  stroke-width: 1;\n}\n\n.statediagramTitleText {\n  text-anchor: middle;\n  font-size: 18px;\n  fill: ${t.textColor};\n}\n`,"getStyles")},5126:function(t,e,i){i.d(e,{Ls:function(){return s},_Q:function(){return n},mA:function(){return r}});const s={name:"local-uniform-bit",vertex:{header:"\n\n            struct LocalUniforms {\n                uTransformMatrix:mat3x3<f32>,\n                uColor:vec4<f32>,\n                uRound:f32,\n            }\n\n            @group(1) @binding(0) var<uniform> localUniforms : LocalUniforms;\n        ",main:"\n            vColor *= localUniforms.uColor;\n            modelMatrix *= localUniforms.uTransformMatrix;\n        ",end:"\n            if(localUniforms.uRound == 1)\n            {\n                vPosition = vec4(roundPixels(vPosition.xy, globalUniforms.uResolution), vPosition.zw);\n            }\n        "}},n={...s,vertex:{...s.vertex,header:s.vertex.header.replace("group(1)","group(2)")}},r={name:"local-uniform-bit",vertex:{header:"\n\n            uniform mat3 uTransformMatrix;\n            uniform vec4 uColor;\n            uniform float uRound;\n        ",main:"\n            vColor *= uColor;\n            modelMatrix = uTransformMatrix;\n        ",end:"\n            if(uRound == 1.)\n            {\n                gl_Position.xy = roundPixels(gl_Position.xy, uResolution);\n            }\n        "}}}
1,5300:function(t,e,i){i.d(e,{R:function(){return s},m:function(){return n}});const s={name:"texture-bit",vertex:{header:"\n\n        struct TextureUniforms {\n            uTextureMatrix:mat3x3<f32>,\n        }\n\n        @group(2) @binding(2) var<uniform> textureUniforms : TextureUniforms;\n        ",main:"\n            uv = (textureUniforms.uTextureMatrix * vec3(uv, 1.0)).xy;\n        "},fragment:{header:"\n            @group(2) @binding(0) var uTexture: texture_2d<f32>;\n            @group(2) @binding(1) var uSampler: sampler;\n\n\n        ",main:"\n            outColor = textureSample(uTexture, uSampler, vUV);\n        "}},n={name:"texture-bit",vertex:{header:"\n            uniform mat3 uTextureMatrix;\n        ",main:"\n            uv = (uTextureMatrix * vec3(uv, 1.0)).xy;\n        "},fragment:{header:"\n        uniform sampler2D uTexture;\n\n\n        ",main:"\n            outColor = texture(uTexture, vUV);\n        "}}},5351:function(t,e,i){i.d(e,{T:function(){return o}});var s=i(74265),n=i(62971),r=i(85008),a=i(25296);class o extends a.M{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let t=this.width(),e=this.height(),i=t/Math.abs(t),a=e/Math.abs(e),o=0,l=0;const u=this.get("strokeWidth",0);this.get("containStroke",!1)&&(t-=i*u,e-=a*u,o+=i*u/2,l+=a*u/2);let h=t,c=e;if(s.isNumber(h)&&s.isNumber(c)){let t=Math.min(h,c)/2,e=r.relativeToValue(this.get("cornerRadiusTL",8),t),s=r.relativeToValue(this.get("cornerRadiusTR",8),t),u=r.relativeToValue(this.get("cornerRadiusBR",8),t),d=r.relativeToValue(this.get("cornerRadiusBL",8),t),p=Math.min(Math.abs(h/2),Math.abs(c/2));e=n.fitToRange(e,0,p),s=n.fitToRange(s,0,p),u=n.fitToRange(u,0,p),d=n.fitToRange(d,0,p);const g=this._display;g.moveTo(o+e*i,l),g.lineTo(o+h-s*i,l),s>0&&g.arcTo(o+h,l,o+h,l+s*a,s),g.lineTo(o+h,l+c-u*a),u>0&&g.arcTo(o+h,l+c,o+h-u*i,l+c,u),g.lineTo(o+d*i,l+c),d>0&&g.arcTo(o,l+c,o,l+c-d*a,d),g.lineTo(o,l+e*a),e>0&&g.arcTo(o,l,o+e*i,l,e),g.closePath()}}}Object.defineProperty(o,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"}),Object.defineProperty(o,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:a.M.classNames.concat([o.className])})},6668:function(t,e,i){var s=i(40262),n=i(59455),r=i(15557),a=i(31317),o=i(16204);const l=new o.u;function u(t,e){e.clear();const i=e.matrix;for(let s=0;s<t.length;s++){const i=t[s];if(i.globalDisplayStatus<7)continue;const n=i.renderGroup??i.parentRenderGroup;e.matrix=n?.isCachedAsTexture?l.copyFrom(n.textureOffsetInverseTransform).append(i.worldTransform):n?._parentCacheAsTextureRenderGroup?l.copyFrom(n._parentCacheAsTextureRenderGroup.inverseWorldTransform).append(i.groupTransform):i.worldTransform,e.addBounds(i.bounds)}return e.matrix=i,e}var h=i(28402);const c=new a.c;function d(t){return"function"==typeof t.getCanvasFilterString}class p{constructor(){this.skip=!1,this.useClip=!1,this.filters=null,this.container=null,this.bounds=new a.c,this.cssFilterString=""}}class g{constructor(t){this._filterStack=[],this._filterStackIndex=0,this._savedStates=[],this._alphaMultiplier=1,this._warnedFilterTypes=new Set,this.renderer=t}push(t){const e=this._pushFilterFrame(),i=t.filterEffect.filters;if(e.skip=!1,e.useClip=!1,e.filters=i,e.container=t.container,e.cssFilterString="",i.every(t=>!t.enabled))return void(e.skip=!0);const s=[];for(const a of i){if(!a.enabled)continue;if(!d(a)){this._warnUnsupportedFilter(a);continue}const t=a.getCanvasFilterString();null!==t?t&&s.push(t):this._warnUnsupportedFilter(a)}if(0===s.length)return void(e.skip=!0);e.cssFilterString=s.join(" "),this._calculateFilterArea(t,e.bounds),e.useClip=!!t.filterEffect.filterArea;const n=this.renderer.canvasContext.activeContext,r=n.filter||"n
1one";if(this._savedStates.push({filter:r,alphaMultiplier:this._alphaMultiplier}),e.useClip&&Number.isFinite(e.bounds.width)&&Number.isFinite(e.bounds.height)&&e.bounds.width>0&&e.bounds.height>0){const t=this.renderer.canvasContext.activeResolution||1;n.save(),n.setTransform(1,0,0,1,0,0),n.beginPath(),n.rect(e.bounds.x*t,e.bounds.y*t,e.bounds.width*t,e.bounds.height*t),n.clip()}else e.useClip=!1;e.cssFilterString&&(n.filter="none"!==r?`${r} ${e.cssFilterString}`:e.cssFilterString)}pop(){const t=this._popFilterFrame();if(t.skip)return;const e=this._savedStates.pop();if(!e)return;const i=this.renderer.canvasContext.activeContext;t.useClip?i.restore():i.filter=e.filter,this._alphaMultiplier=e.alphaMultiplier}generateFilteredTexture({texture:t,filters:e}){if(!e?.length||e.every(t=>!t.enabled))return t;const i=[];for(const n of e){if(!n.enabled)continue;if(!d(n)){this._warnUnsupportedFilter(n);continue}const t=n.getCanvasFilterString();null!==t?t&&i.push(t):this._warnUnsupportedFilter(n)}if(0===i.length)return t;const s=n.k.getCanvasSource(t);if(!s)return t;const a=t.frame,o=t.source._resolution??t.source.resolution??1,l=a.width,u=a.height,p=r.N.getOptimalCanvasAndContext(l,u,o),{canvas:g,context:f}=p;f.setTransform(1,0,0,1,0,0),f.clearRect(0,0,g.width,g.height),i.length&&(f.filter=i.join(" "));const m=a.x*o,y=a.y*o,b=l*o,v=u*o;return f.drawImage(s,m,y,b,v,0,0,b,v),f.filter="none",f.globalAlpha=1,function(t,e,i,s,n=!1){const r=c;r.minX=0,r.minY=0,r.maxX=t.width/s|0,r.maxY=t.height/s|0;const a=h.W.getOptimalTexture(r.width,r.height,s,!1,n);return a.source.uploadMethodId="image",a.source.resource=t,a.source.alphaMode="premultiply-alpha-on-upload",a.frame.width=e/s,a.frame.height=i/s,a.source.emit("update",a.source),a.updateUvs(),a}(g,l,u,o)}_calculateFilterArea(t,e){if(t.renderables?u(t.renderables,e):t.filterEffect.filterArea?(e.clear(),e.addRect(t.filterEffect.filterArea),e.applyMatrix(t.container.worldTransform)):t.container.getFastGlobalBounds(!0,e),t.container){const i=t.container.renderGroup||t.container.parentRenderGroup,s=i?.cacheToLocalTransform;s&&e.applyMatrix(s)}}_warnUnsupportedFilter(t){const e=t?.constructor?.name||"Filter";this._warnedFilterTypes.has(e)||(this._warnedFilterTypes.add(e),console.warn(`CanvasRenderer: filter "${e}" is not supported in Canvas2D and will be skipped.`))}get alphaMultiplier(){return this._alphaMultiplier}_pushFilterFrame(){let t=this._filterStack[this._filterStackIndex];return t||(t=this._filterStack[this._filterStackIndex]=new p),this._filterStackIndex++,t}_popFilterFrame(){return this._filterStackIndex<=0?this._filterStack[0]:(this._filterStackIndex--,this._filterStack[this._filterStackIndex])}destroy(){this._filterStack=null,this._savedStates=null,this._warnedFilterTypes=null,this._alphaMultiplier=1}}g.extension={type:[s.Ag.CanvasSystem],name:"filter"};class f{constructor(t){this._renderer=t}push(t,e,i){this._renderer.renderPipes.batch.break(i),i.add({renderPipeId:"filter",canBundle:!1,action:"pushFilter",container:e,filterEffect:t})}pop(t,e,i){this._renderer.renderPipes.batch.break(i),i.add({renderPipeId:"filter",action:"popFilter",canBundle:!1})}execute(t){"pushFilter"===t.action?this._renderer.filter.push(t):"popFilter"===t.action&&this._renderer.filter.pop()}destroy(){this._renderer=null}}f.extension={type:[s.Ag.WebGLPipes,s.Ag.WebGPUPipes,s.Ag.CanvasPipes],name:"filter"};var m=i(24842),y=i(41763),b=i(11241),v=i(91748),_="struct GlobalFilterUniforms {\n  uInputSize: vec4<f32>,\n  uInputPixel: vec4<f32>,\n  uInputClamp: vec4<f32>,\n  uOutputFrame: vec4<f32>,\n  uGlobalFrame: vec4<f32>,\n  uOutputTexture: vec4<f32>,\n};\n\n@group(0) @binding(0) var <uniform> gfu: GlobalFilterUniforms;\n@group(0) @binding(1) var uTexture: texture_2d<f32>;\n@group(0) @binding(2) var uSampler: sampler;\n\nstruct VSOutput {\n  @builtin(position) position: vec4<f32>,\n  @location(0) uv: vec2<f32>\n};\n\nfn filterVertexPosition(aPosition: vec2<f32>) -> vec4<f32>\n{\n    var position = aPosition * gfu.uOutputFrame.zw + gfu.uOutputFrame.xy;\n\n    position.x = position.x * (2.0 / gfu.uOutputTexture.x) - 1.0;\n    position.y = position.y * (2.0 * gfu.uOutputTexture.z / gfu.uOutputTexture.y) - gfu.uOutputTexture.z;\n\n    return vec4(position, 0.0, 1.0);\n}\n\nfn filterTextureCoord(aPosition: vec2<f32>) -> vec2<f32>\n{\n    return aPosition * (gfu.uOutputFrame.zw * gfu.uInputSize.zw);\n}\n\n@vertex\nfn mainVertex(\n  @location(0) aPosition: vec2<f32>,\n) -> VSOutput {\n  return VSOutput(\n   filterVertexPosition(aPosition),\n   filterTextureCoord(aPosition)\n  );\n}\n\n@fragment\nfn mainFragment(\n  @location(0) uv: vec2<f32>,\n) -> @location(0) vec4<f32> {\n    return textureSample(uTexture, uSampler, uv);\n}\n";class w extends b.d{constructor(){super({gpuProgram:y.B.from({vertex:{source:_,entryPoint:"mainVertex"},fragment:{source:_,entryPoint:"mainFragment"},name:"passthrough-filter"}),glProgram:m.M.from({vertex:v.A,fragment:"in vec2 vTextureCoord;\nout vec4 finalColor;\nuniform sampler2D uTexture;\nvoid main() {\n    finalColor = texture(uTexture, vTextureCoord);\n}\n",name:"passthrough-filter"})})}}var T=i(12110),x=i(88394),k=i(71270),D=i(47264),A=i(35226),C=i(50599);const S=new x.V({attributes:{aPosition:{buffer:new Float32Array([0,0,1,0,1,1,0,1]),format:"float32x2",stride:8,offset:0}},indexBuffer:new Uint32Array([0,1,2,0,2,3])});class P{constructor(){this.skip=!1,this.inputTexture=null,this.backTexture=null,this.filters=null,this.bounds=new a.c,this.container=null,this.blendRequired=!1,this.outputRenderSurface=null,this.globalFrame={x:0,y:0,width:0,height:0},this.firstEnabledIndex=-1,this.lastEnabledIndex=-1}}class E{constructor(t){this._filterStackIndex=0,this._filterStack=[],this._filterGlobalUniforms=new k.k({uInputSize:{value:new Float32Array(4),type:"vec4<f32>"},uInputPixel:{value:new Float32Array(4),type:"vec4<f32>"},uInputClamp:{value:new Float32Array(4),type:"vec4<f32>"},uOutputFrame:{value:new Float32Array(4),type:"vec4<f32>"},uGlobalFrame:{value:new Float32Array(4),type:"vec4<f32>"},uOutputTexture:{value:new Float32Array(4),type:"vec4<f32>"}}),this._globalFilterBindGroup=new T.T({}),this.renderer=t}get activeBackTexture(){return this._activeFilterData?.backTexture}
1push(t){const e=this.renderer,i=t.filterEffect.filters,s=this._pushFilterData();s.skip=!1,s.filters=i,s.container=t.container,s.outputRenderSurface=e.renderTarget.renderSurface;const n=e.renderTarget.renderTarget.colorTexture.source,r=n.resolution,a=n.antialias;if(i.every(t=>!t.enabled))return void(s.skip=!0);const o=s.bounds;if(this._calculateFilterArea(t,o),this._calculateFilterBounds(s,e.renderTarget.rootViewPort,a,r,1),s.skip)return;const l=this._getPreviousFilterData(),u=this._findFilterResolution(r);let h=0,c=0;l&&(h=l.bounds.minX,c=l.bounds.minY),this._calculateGlobalFrame(s,h,c,u,n.width,n.height),this._setupFilterTextures(s,o,e,l)}generateFilteredTexture({texture:t,filters:e}){const i=this._pushFilterData();this._activeFilterData=i,i.skip=!1,i.filters=e;const s=t.source,n=s.resolution,r=s.antialias;if(e.every(t=>!t.enabled))return i.skip=!0,t;const a=i.bounds;if(a.addRect(t.frame),this._calculateFilterBounds(i,a.rectangle,r,n,0),i.skip)return t;const o=n;this._calculateGlobalFrame(i,0,0,o,s.width,s.height),i.outputRenderSurface=h.W.getOptimalTexture(a.width,a.height,i.resolution,i.antialias),i.backTexture=D.g.EMPTY,i.inputTexture=t;this.renderer.renderTarget.finishRenderPass(),this._applyFiltersToTexture(i,!0);const l=i.outputRenderSurface;return l.source.alphaMode="premultiplied-alpha",l}pop(){const t=this.renderer,e=this._popFilterData();e.skip||(t.globalUniforms.pop(),t.renderTarget.finishRenderPass(),this._activeFilterData=e,this._applyFiltersToTexture(e,!1),e.blendRequired&&h.W.returnTexture(e.backTexture),h.W.returnTexture(e.inputTexture))}getBackTexture(t,e,i){const s=t.colorTexture.source._resolution,n=h.W.getOptimalTexture(e.width,e.height,s,!1);let r=e.minX,a=e.minY;i&&(r-=i.minX,a-=i.minY),r=Math.floor(r*s),a=Math.floor(a*s);const o=Math.ceil(e.width*s),l=Math.ceil(e.height*s);return this.renderer.renderTarget.copyToTexture(t,n,{x:r,y:a},{width:o,height:l},{x:0,y:0}),n}applyFilter(t,e,i,s){const n=this.renderer,r=this._activeFilterData,a=r.outputRenderSurface===i,o=n.renderTarget.rootRenderTarget.colorTexture.source._resolution,l=this._findFilterResolution(o);let u=0,h=0;if(a){const t=this._findPreviousFilterOffset();u=t.x,h=t.y}this._updateFilterUniforms(e,i,r,u,h,l,a,s);const c=t.enabled?t:this._getPassthroughFilter();this._setupBindGroupsAndRender(c,e,n)}calculateSpriteMatrix(t,e){const i=this._activeFilterData,s=t.set(i.inputTexture._source.width,0,0,i.inputTexture._source.height,i.bounds.minX,i.bounds.minY),n=e.worldTransform.copyTo(o.u.shared),r=e.renderGroup||e.parentRenderGroup;return r&&r.cacheToLocalTransform&&n.prepend(r.cacheToLocalTransform),n.invert(),s.prepend(n),s.scale(1/e.texture.orig.width,1/e.texture.orig.height),s.translate(e.anchor.x,e.anchor.y),s}destroy(){this._passthroughFilter?.destroy(!0),this._passthroughFilter=null}_getPassthroughFilter(){return this._passthroughFilter??(this._passthroughFilter=new w),this._passthroughFilter}_setupBindGroupsAndRender(t,e,i){if(i.renderPipes.uniformBatch){const t=i.renderPipes.uniformBatch.getUboResource(this._filterGlobalUniforms);this._globalFilterBindGroup.setResource(t,0)}else this._globalFilterBindGroup.setResource(this._filterGlobalUniforms,0);this._globalFilterBindGroup.setResource(e.source,1),this._globalFilterBindGroup.setResource(e.source.style,2),t.groups[0]=this._globalFilterBindGroup,i.encoder.draw({geometry:S,shader:t,state:t._state,topology:"triangle-list"}),i.type===A.W.WEBGL&&i.renderTarget.finishRenderPass()}_setupFilterTextures(t,e,i,s){if(t.backTexture=D.g.EMPTY,t.inputTexture=h.W.getOptimalTexture(e.width,e.height,t.resolution,t.antialias),t.blendRequired){i.renderTarget.finishRenderPass();const n=i.renderTarget.getRenderTarget(t.outputRenderSurface);t.backTexture=this.getBackTexture(n,e,s?.bounds)}i.renderTarget.bind(t.inputTexture,!0),i.globalUniforms.push({offset:e})}_calculateGlobalFrame(t,e,i,s,n,r){const a=t.globalFrame;a.x=e*s,a.y=i*s,a.width=n*s,a.height=r*s}_updateFilterUniforms(t,e,i,s,n,r,a,o){const l=this._filterGlobalUniforms.uniforms,u=l.uOutputFrame,h=l.uInputSize,c=l.uInputPixel,d=l.uInputClamp,p=l.uGlobalFrame,g=l.uOutputTexture;a?(u[0]=i.bounds.minX-s,u[1]=i.bounds.minY-n):(u[0]=0,u[1]=0),u[2]=t.frame.width,u[3]=t.frame.height,h[0]=t.source.width,h[1]=t.source.height,h[2]=1/h[0],h[3]=1/h[1],c[0]=t.source.pixelWidth,c[1]=t.source.pixelHeight,c[2]=1/c[0],c[3]=1/c[1],d[0]=.5*c[2],d[1]=.5*c[3],d[2]=t.frame.width*h[2]-.5*c[2],d[3]=t.frame.height*h[3]-.5*c[3];const f=this.renderer.renderTarget.rootRenderTarget.colorTexture;p[0]=s*r,p[1]=n*r,p[2]=f.source.width*r,p[3]=f.source.height*r,e instanceof D.g&&(e.source.resource=null);const m=this.renderer.renderTarget.getRenderTarget(e);this.renderer.renderTarget.bind(e,!!o),e instanceof D.g?(g[0]=e.frame.width,g[1]=e.frame.height):(g[0]=m.width,g[1]=m.height),g[2]=m.isRoot?-1:1,this._filterGlobalUniforms.update()}_findFilterResolution(t){let e=this._filterStackIndex-1;for(;e>0&&this._filterStack[e].skip;)--e;return e>0&&this._filterStack[e].inputTexture?this._filterStack[e].inputTexture.source._resolution:t}_findPreviousFilterOffset(){let t=0,e=0,i=this._filterStackIndex;for(;i>0;){i--;const s=this._filterStack[i];if(!s.skip){t=s.bounds.minX,e=s.bounds.minY;break}}return{x:t,y:e}}_calculateFilterArea(t,e){if(t.renderables?u(t.renderables,e):t.filterEffect.filterArea?(e.clear(),e.addRect(t.filterEffect.filterArea),e.applyMatrix(t.container.worldTransform)):t.container.getFastGlobalBounds(!0,e),t.container){const i=(t.container.renderGroup||t.container.parentRenderGroup).cacheToLocalTransform;i&&e.applyMatrix(i)}}_applyFiltersToTexture(t,e){const i=t.inputTexture,s=t.bounds,n=t.filters,r=t.firstEnabledIndex,a=t.lastEnabledIndex;if(this._globalFilterBindGroup.setResource(i.source.style,2),this._globalFilterBindGroup.setResource(t.backTexture.source,3),r===a)n[r].apply(this,i,t.outputRenderSurface,e);else{let i=t.inputTexture;const o=h.W.getOptimalTexture(s.width,s.height,i.source._resolution,!1);let l=o;for(let t=r;t<a;t++){const e=n[t];if(!e.enabled)continue;e.apply(this,i,l,!0);const s=i;i=l,l=s}n[a].apply(this,i,t.outputRenderSurface,e),h.W.returnTexture(o)}}
1_calculateFilterBounds(t,e,i,s,n){const r=this.renderer,a=t.bounds,o=t.filters;let l=1/0,u=0,h=!0,c=!1,d=!1,p=!0,g=-1,f=-1;for(let m=0;m<o.length;m++){const t=o[m];if(!t.enabled)continue;-1===g&&(g=m),f=m,l=Math.min(l,"inherit"===t.resolution?s:t.resolution),u+=t.padding,"off"===t.antialias?h=!1:"inherit"===t.antialias&&h&&(h=i),t.clipToViewport||(p=!1);if(!!!(t.compatibleRenderers&r.type)){d=!1;break}if(t.blendRequired&&!(r.backBuffer?.useBackBuffer??1)){(0,C.R)("Blend filter requires backBuffer on WebGL renderer to be enabled. Set `useBackBuffer: true` in the renderer options."),d=!1;break}d=!0,c||(c=t.blendRequired)}d?(p&&a.fitBounds(0,e.width/s,0,e.height/s),a.scale(l).ceil().scale(1/l).pad((0|u)*n),a.isPositive?(t.antialias=h,t.resolution=l,t.blendRequired=c,t.firstEnabledIndex=g,t.lastEnabledIndex=f):t.skip=!0):t.skip=!0}_popFilterData(){return this._filterStackIndex--,this._filterStack[this._filterStackIndex]}_getPreviousFilterData(){let t,e=this._filterStackIndex-1;for(;e>0&&(e--,t=this._filterStack[e],t.skip););return t}_pushFilterData(){let t=this._filterStack[this._filterStackIndex];return t||(t=this._filterStack[this._filterStackIndex]=new P),this._filterStackIndex++,t}}E.extension={type:[s.Ag.WebGLSystem,s.Ag.WebGPUSystem],name:"filter"},s.XO.add(E,g),s.XO.add(f)},7238:function(t,e,i){i.d(e,{o:function(){return s}});var s=(0,i(30742).K2)(()=>"\n  /* Font Awesome icon styling - consolidated */\n  .label-icon {\n    display: inline-block;\n    height: 1em;\n    overflow: visible;\n    vertical-align: -0.125em;\n  }\n  \n  .node .label-icon path {\n    fill: currentColor;\n    stroke: revert;\n    stroke-width: revert;\n  }\n","getIconStyles")},7405:function(t,e,i){i.d(e,{d:function(){return l}});var s=i(68689),n=i(45166),r=i(73597),a=i(28220),o=i(64332);class l extends s.t{constructor(){super(...arguments),Object.defineProperty(this,"seriesContainer",{enumerable:!0,configurable:!0,writable:!0,value:n.m.new(this._root,{width:a.Q2,height:a.Q2,isMeasured:!1})}),Object.defineProperty(this,"series",{enumerable:!0,configurable:!0,writable:!0,value:new r.fo})}_afterNew(){super._afterNew(),this._disposers.push(this.series);const t=this.seriesContainer.children;this._disposers.push(this.series.events.onAll(e=>{if("clear"===e.type){o.each(e.oldValues,t=>{this._removeSeries(t)});const t=this.get("colors");t&&t.reset();const i=this.get("patterns");i&&i.reset()}else if("push"===e.type)t.moveValue(e.newValue),this._processSeries(e.newValue);else if("setIndex"===e.type)t.setIndex(e.index,e.newValue),this._processSeries(e.newValue);else if("insertIndex"===e.type)t.insertIndex(e.index,e.newValue),this._processSeries(e.newValue);else if("removeIndex"===e.type)this._removeSeries(e.oldValue);else if("moveIndex"===e.type)t.moveValue(e.value,e.newIndex),this._processSeries(e.value);else{if("swap"!==e.type)throw new Error("Unknown IListEvent type");{const i=e.a,s=e.b,n=this.series.indexOf(i),r=this.series.indexOf(s);t.moveValue(i,r),t.moveValue(s,n),this.series.each(t=>{this._processSeries(t),t.markDirtyValues()})}}}))}_processSeries(t){t.chart=this,t._placeBulletsContainer(this)}_removeSeries(t){t._handleRemoved(),t.isDisposed()||(this.seriesContainer.children.removeValue(t),t._removeBulletsContainer())}}Object.defineProperty(l,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SerialChart"}),Object.defineProperty(l,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.t.classNames.concat([l.className])})},7691:function(t,e,i){i.d(e,{J:function(){return a}});var s=i(24147),n=i(64332),r=i(62971);class a extends s.P{_afterNew(){this._setRawDefault("maxColumns",Number.MAX_VALUE),super._afterNew()}updateContainer(t){let e=t.get("paddingLeft",0),i=t.get("paddingRight",0),n=t.get("paddingTop",0),a=t.maxWidth()-e-i,o=a,l=1;(0,s.l)(t,t=>{if(t.get("visible")&&t.getPrivate("visible")&&!t.get("forceHidden")&&"absolute"!=t.get("position")){let e=t.width();e<o&&(o=e),e>l&&(l=e)}}),o=r.fitToRange(o,1,a),l=r.fitToRange(l,1,a);let u=1;u=this.get("fixedWidthGrid")?a/l:a/o,u=Math.max(1,Math.floor(u)),u=Math.min(this.get("maxColumns",Number.MAX_VALUE),u);let h=this.getColumnWidths(t,u,l,a),c=n,d=0,p=0;u=h.length;let g=e;(0,s.l)(t,t=>{if("relative"==t.get("position")&&t.isVisible()){const i=t.get("marginTop",0),s=t.get("marginBottom",0);let n=t.adjustedLocalBounds(),r=t.get("marginLeft",0),a=t.get("marginRight",0),o=g+r-n.left,l=c+i-n.top;t.setPrivate("x",o),t.setPrivate("y",l),g+=h[d]+a,p=Math.max(p,t.height()+i+s),d++,d>=u&&(d=0,g=e,c+=p,p=0)}})}getColumnWidths(t,e,i,r){let a=0,o=[],l=0;return(0,s.l)(t,s=>{let n=s.adjustedLocalBounds();"absolute"!=s.get("position")&&s.isVisible()&&(this.get("fixedWidthGrid")?o[l]=i:o[l]=Math.max(0|o[l],n.right-n.left+s.get("marginLeft",0)+s.get("marginRight",0)),l<t.children.length-1&&(l++,l==e&&(l=0)))}),n.each(o,t=>{a+=t}),a>r?e>2?(e-=1,this.getColumnWidths(t,e,i,r)):[r]:o}}Object.defineProperty(a,"className",{enumerable:!0,configurable:!0,writable:!0,value:"GridLayout"}),Object.defineProperty(a,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.P.classNames.c
1oncat([a.className])})},7937:function(t,e,i){i.d(e,{g:function(){return r}});var s=i(8298),n=i(74265);class r{static escape(t){return t.replace(/\[\[/g,this.prefix+"1").replace(/([^\/\]]{1})\]\]/g,"$1"+this.prefix+"2").replace(/\]\]/g,this.prefix+"2").replace(/\{\{/g,this.prefix+"3").replace(/\}\}/g,this.prefix+"4").replace(/\'\'/g,this.prefix+"5")}static unescape(t){return t.replace(new RegExp(this.prefix+"1","g"),"[[").replace(new RegExp(this.prefix+"2","g"),"]]").replace(new RegExp(this.prefix+"3","g"),"{{").replace(new RegExp(this.prefix+"4","g"),"}}").replace(new RegExp(this.prefix+"5","g"),"''")}static cleanUp(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")}static chunk(t,e=!1,i=!1){let s=[];t=this.escape(t);let r=e?t.split("'"):[t];for(let a=0;a<r.length;a++){let t=r[a];if(""!==t)if(a%2==0){t=t.replace(/\]\[/g,"]"+n.PLACEHOLDER+"["),t=t.replace(/\[\]/g,"[ ]");let e=t.split(/[\[\]]+/);for(let t=0;t<e.length;t++){let r=this.cleanUp(this.unescape(e[t]));r!==n.PLACEHOLDER&&(""!==r&&(t%2==0?s.push({type:"value",text:r}):s.push({type:i?"value":"format",text:"["+r+"]"})))}}else{let e=t.split(/[\[\]]+/);for(let t=0;t<e.length;t++){let i=this.cleanUp(this.unescape(e[t]));""!==i&&(t%2==0?s.push({type:"text",text:i}):this.isImage(i)?s.push({type:"image",text:"["+i+"]"}):s.push({type:"format",text:"["+i+"]"}))}}}return s}static isImage(t){return!!t.match(/img[ ]?:/)}static getTextStyle(t){let e={};if(""==t||"[ ]"==t)return{};const i=t.match(/('[^']*')|("[^"]*")/gi);if(i)for(let s=0;s<i.length;s++)t=t.replace(i[s],i[s].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));let n=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w\-]+)|(\/)/gi);if(!n)return{};for(let r=0;r<n.length;r++)if(n[r].match(/^(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)$/i))e.fontWeight=n[r];else if(n[r].match(/^(underline|line-through)$/i))e.textDecoration=n[r];else if("/"==n[r]);else if(n[r].match(/:/)){const t=n[r].replace("+"," ").split(/:[ ]*/);e[t[0]]=t[1]}else e.fill=s.Q1.fromString(n[r]);return e}}Object.defineProperty(r,"prefix",{enumerable:!0,configurable:!0,writable:!0,value:"__amcharts__"})},8298:function(t,e,i){i.d(e,{Q1:function(){return l},yW:function(){return o}});var s=i(40035),n=i(85008),r=i(74265);function a(t){return"#"===t[0]&&(t=t.substr(1)),3==t.length&&(t=t[0].repeat(2)+t[1].repeat(2)+t[2].repeat(2)),parseInt(t,16)}function o(t){return l.fromAny(t)}class l{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=0|t}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return 255&this._hex}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+n.padString(this.r.toString(16),2)+n.padString(this.g.toString(16),2)+n.padString(this.b.toString(16),2)}toHSL(t=1){return n.rgbToHsl({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,e,i){const s=n.hslToRgb({h:t,s:e,l:i});return this.fromRGB(s.r,s.g,s.b)}toString(){return this.toCSSHex()}static fromHex(t){return new l(t)}static fromRGB(t,e,i){return new l((0|i)+(e<<8)+(t<<16))}static fromString(t){return new l(a(t))}static fromCSS(t){return new l(function(t){let e=(t=t.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!e)return 0;let i="";for(let s=1;s<=3;s++){let t=parseInt(e[s]).toString(16);1==t.length&&(t="0"+t),i+=t}return a(i)}(t))}static fromAny(t){if(r.isString(t)){if("#"==t[0])return l.fromString(t);if("rgb"==t.substr(0,3))return l.fromCSS(t)}else{if(r.isNumber(t))return l.fromHex(t);if(t instanceof l)return l.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,e,i){const s=n.alternativeColor({r:t.r,g:t.g,b:t.b},e?{r:e.r,g:e.g,b:e.b}:void 0,i?{r:i.r,g:i.g,b:i.b}:void 0);return this.fromRGB(s.r,s.g,s.b)}static interpolate(t,e,i,n="rgb"){if("hsl"==n){const n=e.toHSL(),r=i.toHSL();return l.fromHSL((0,s.y1)(t,n.h,r.h),(0,s.y1)(t,n.s,r.s),(0,s.y1)(t,n.l,r.l))}
1return l.fromRGB((0,s.y1)(t,e.r,i.r),(0,s.y1)(t,e.g,i.g),(0,s.y1)(t,e.b,i.b))}static lighten(t,e){const i=n.lighten({r:t.r,g:t.g,b:t.b},e);return l.fromRGB(i.r,i.g,i.b)}static brighten(t,e){const i=n.brighten({r:t.r,g:t.g,b:t.b},e);return l.fromRGB(i.r,i.g,i.b)}static saturate(t,e){const i=n.saturate({r:t.r,g:t.g,b:t.b},e);return l.fromRGB(i.r,i.g,i.b)}}},10587:function(t,e,i){i.r(e),i.d(e,{bounce:function(){return k},circle:function(){return h},cubic:function(){return a},elastic:function(){return P},exp:function(){return l},inOut:function(){return p},linear:function(){return n},out:function(){return d},pow:function(){return o},quad:function(){return r},sine:function(){return u},yoyo:function(){return c}});var s=i(62971);function n(t){return t}function r(t){return t*t}function a(t){return t*t*t}function o(t,e){return Math.pow(t,e)}function l(t){return Math.pow(2,10*t-10)}function u(t){return 1-Math.cos(t*s.HALFPI)}function h(t){return 1-Math.sqrt(1-t*t)}function c(t){return function(e){return t(e<.5?2*e:2*(1-e))}}function d(t){return function(e){return 1-t(1-e)}}function p(t){return function(e){return e<=.5?t(2*e)/2:1-t(2*(1-e))/2}}let g=4/11,f=6/11,m=8/11,y=3/4,b=9/11,v=10/11,_=15/16,w=21/22,T=63/64,x=1/g/g;function k(t){return 1-function(t){return t<g?x*t*t:t<m?x*(t-=f)*t+y:t<v?x*(t-=b)*t+_:x*(t-=w)*t+T}(1-t)}let D=2*Math.PI,A=1,C=.3/D,S=Math.asin(1/A)*C;function P(t){let e=t;return A*Math.pow(2,10*--e)*Math.sin((S-e)/C)}},11219:function(t,e,i){i.d(e,{s:function(){return g}});var s=i(5482),n=i(60298),r=i(73597),a=i(8298),o=i(40035),l=i(28220),u=i(45166),h=i(27063),c=i(64332),d=i(74265),p=i(89516);class g extends n.u{constructor(){super(...arguments),Object.defineProperty(this,"_aggregatesCalculated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_selectionAggregatesCalculated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataProcessed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_psi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pei",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_baseSeriesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"chart",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"bullets",{enumerable:!0,configurable:!0,writable:!0,value:new r.B8}),Object.defineProperty(this,"bulletsContainer",{enumerable:!0,configurable:!0,writable:!0,value:u.m.new(this._root,{width:l.Q2,height:l.Q2,position:"absolute"})})}_afterNew(){this.valueFields.push("value","customValue"),super._afterNew(),this.setPrivate("customData",{}),this._disposers.push(this.bullets.events.onAll(t=>{if("clear"===t.type)this._handleBullets(this.dataItems);else if("push"===t.type)this._handleBullets(this.dataItems);else if("setIndex"===t.type)this._handleBullets(this.dataItems);else if("insertIndex"===t.type)this._handleBullets(this.dataItems);else if("removeIndex"===t.type)this._handleBullets(this.dataItems);else{if("moveIndex"!==t.type)throw new Error("Unknown IListEvent type");this._handleBullets(this.dataItems)}}))}_dispose(){this.bulletsContainer.dispose(),super._dispose()}startIndex(){let t=this.dataItems.length;return Math.min(this.getPrivate("startIndex",0),t)}endIndex(){let t=this.dataItems.length;return Math.min(this.getPrivate("endIndex",t),t)}_handleBullets(t){c.each(t,t=>{const e=t.bullets;e&&(c.each(e,t=>{t.dispose()}),t.bullets=void 0)}),this.markDirtyValues()}getDataItemById(t){return c.find(this.dataItems,e=>e.get("id")==t)}_makeBullets(t){this._shouldMakeBullet(t)&&(t.bullets=[],this.bullets.each(e=>{this._makeBullet(t,e)}))}_shouldMakeBullet(t){return!0}_makeBullet(t,e,i){const s=e(this._root,this,t);return s&&(s._index=i,this._makeBulletReal(t,s)),s}_makeBulletReal(t,e){let i=e.get("sprite");i&&(i._setDataItem(t),i.setRaw("position","absolute"),this.bulletsContainer.children.push(i)),e.series=this,t.bullets.push(e)}addBullet(t,e){t.bullets||(t.bullets=[]),e&&this._makeBulletReal(t,e)}_clearDirty(){super._clearDirty(),this._aggregatesCalculated=!1,this._baseSeriesDirty=!1,this._selectionAggregatesCalculated=!1}_prepareChildren(){super._prepareChildren();let t=this.startIndex(),e=this.endIndex();if(this.isDirty("name")&&this.updateLegendValue(),this.isDirty("heatRules")&&(this._valuesDirt
1y=!0),this.isPrivateDirty("baseValueSeries")){const t=this.getPrivate("baseValueSeries");t&&this._disposers.push(t.onPrivate("startIndex",()=>{this._baseSeriesDirty=!0,this.markDirtyValues()}))}if(this.get("calculateAggregates")&&(this._valuesDirty&&!this._dataProcessed&&(this._aggregatesCalculated||(this._calculateAggregates(0,this.dataItems.length),this._aggregatesCalculated=!0,0!=t&&(this._psi=void 0))),this._psi==t&&this._pei==e&&!this.isPrivateDirty("adjustedStartIndex")||this._selectionAggregatesCalculated||(0===t&&e===this.dataItems.length&&this._aggregatesCalculated||this._calculateAggregates(t,e),this._selectionAggregatesCalculated=!0)),this.isDirty("tooltip")){let t=this.get("tooltip");t&&(t.hide(0),t.set("tooltipTarget",this))}if(this.isDirty("fill")||this.isDirty("stroke")){let t;const e=this.get("legendDataItem");if(e&&(t=e.get("markerRectangle"),t&&this.isVisible())){if(this.isDirty("stroke")){let e=this.get("stroke");t.set("stroke",e)}if(this.isDirty("fill")){let e=this.get("fill");t.set("fill",e)}}this.updateLegendMarker(void 0)}if(this.bullets.length>0){let t=this.startIndex(),e=this.endIndex();e<this.dataItems.length&&e++;for(let i=t;i<e;i++){let t=this.dataItems[i];t.bullets||this._makeBullets(t)}}}_handleRemoved(){}_adjustStartIndex(t){return t}_calculateAggregates(t,e){let i=this._valueFields;if(!i)throw new Error("No value fields are set for the series.");const s={},n={},r={},a={},o={},l={},u={},h={},d={};c.each(i,t=>{s[t]=0,n[t]=0,r[t]=0}),c.each(i,i=>{let c=i+"Change",p=i+"ChangePercent",g=i+"ChangePrevious",f=i+"ChangePreviousPercent",m=i+"ChangeSelection",y=i+"ChangeSelectionPercent",b="valueY";"valueX"!=i&&"openValueX"!=i&&"lowValueX"!=i&&"highValueX"!=i||(b="valueX");const v=this.getPrivate("baseValueSeries"),_=this.getPrivate("adjustedStartIndex",t);for(let w=_;w<e;w++){const e=this.dataItems[w];if(e){let _=e.get(i);null!=_&&(r[i]++,s[i]+=_,n[i]+=Math.abs(_),h[i]=s[i]/r[i],(a[i]>_||null==a[i])&&(a[i]=_),(o[i]<_||null==o[i])&&(o[i]=_),u[i]=_,null==l[i]&&(l[i]=_,d[i]=_,v&&(l[b]=v._getBase(b))),0===t&&(e.setRaw(c,_-l[b]),e.setRaw(p,(_-l[b])/l[b]*100)),e.setRaw(g,_-d[b]),e.setRaw(f,(_-d[b])/d[b]*100),e.setRaw(m,_-l[b]),e.setRaw(y,(_-l[b])/l[b]*100),d[i]=_)}}if(e<this.dataItems.length-1){const t=this.dataItems[e];if(t){let e=t.get(i);t.setRaw(g,e-d[b]),t.setRaw(f,(e-d[b])/d[b]*100),t.setRaw(m,e-l[b]),t.setRaw(y,(e-l[b])/l[b]*100)}}t>0&&t--,delete d[i];for(let e=t;e<_;e++){const t=this.dataItems[e];if(t){let e=t.get(i);null==d[i]&&(d[i]=e),null!=e&&(t.setRaw(g,e-d[b]),t.setRaw(f,(e-d[b])/d[b]*100),t.setRaw(m,e-l[b]),t.setRaw(y,(e-l[b])/l[b]*100),d[i]=e)}}}),c.each(i,t=>{this.setPrivate(t+"AverageSelection",h[t]),this.setPrivate(t+"CountSelection",r[t]),this.setPrivate(t+"SumSelection",s[t]),this.setPrivate(t+"AbsoluteSumSelection",n[t]),this.setPrivate(t+"LowSelection",a[t]),this.setPrivate(t+"HighSelection",o[t]),this.setPrivate(t+"OpenSelection",l[t]),this.setPrivate(t+"CloseSelection",u[t])}),0===t&&e===this.dataItems.length&&c.each(i,t=>{this.setPrivate(t+"Average",h[t]),this.setPrivate(t+"Count",r[t]),this.setPrivate(t+"Sum",s[t]),this.setPrivate(t+"AbsoluteSum",n[t]),this.setPrivate(t+"Low",a[t]),this.setPrivate(t+"High",o[t]),this.setPrivate(t+"Open",l[t]),this.setPrivate(t+"Close",u[t])})}_updateChildren(){super._updateChildren(),this._psi=this.startIndex(),this._pei=this.endIndex(),this.isDirty("visible")&&this.bulletsContainer.set("visible",this.get("visible"));const t=this.get("heatRules");if(this._valuesDirty&&t&&t.length>0&&c.each(t,t=>{const e=t.minValue||this.getPrivate(t.dataField+"Low")||0,i=t.maxValue||this.getPrivate(t.dataField+"High")||0;c.each(t.target._entities,s=>{const n=s.dataItem.get(t.dataField);if(!d.isNumber(n)){t.neutral&&s.set(t.key,t.neutral);const e=s.states;if(e){const i=e.lookup("default");i&&t.neutral&&i.set(t.key,t.neutral)}if(!t.customFunction)return}if(t.customFunction)t.customFunction.call(this,s,e,i,n);else{let r,u;r=t.logarithmic?(Math.log(n)*Math.LOG10E-Math.log(e)*Math.LOG10E)/(Math.log(i)*Math.LOG10E-Math.log(e)*Math.LOG10E):(n-e)/(i-e),!d.isNumber(n)||d.isNumber(r)&&Math.abs(r)!=1/0||(r=.5),d.isNumber(t.min)?u=t.min+(t.max-t.min)*r:t.min instanceof a.Q1?u=a.Q1.interpolate(r,t.min,t.max):t.min 
1instanceof l.QE&&(u=(0,o.zR)(r,t.min,t.max)),s.set(t.key,u);const h=s.states;if(h){const e=h.lookup("default");e&&e.set(t.key,u)}}})}),this.get("visible")){let t=this.dataItems.length,e=this.startIndex(),i=this.endIndex();i<t&&i++,e>0&&e--;for(let s=0;s<e;s++)this._hideBullets(this.dataItems[s]);for(let s=e;s<i;s++)this._positionBullets(this.dataItems[s]);for(let s=i;s<t;s++)this._hideBullets(this.dataItems[s])}}_positionBullets(t){t.bullets&&c.each(t.bullets,t=>{this._positionBullet(t);const e=t.get("sprite");t.get("dynamic")&&(e&&(e._markDirtyKey("fill"),e.markDirtySize()),e instanceof u.m&&e.walkChildren(t=>{t._markDirtyKey("fill"),t.markDirtySize(),t instanceof h.J&&t.text.markDirtyText()})),e instanceof h.J&&e.get("populateText")&&e.text.markDirtyText()})}_hideBullets(t){t.bullets&&c.each(t.bullets,t=>{let e=t.get("sprite");e&&e.setPrivate("visible",!1)})}_positionBullet(t){}_placeBulletsContainer(t){t.bulletsContainer.children.moveValue(this.bulletsContainer)}_removeBulletsContainer(){const t=this.bulletsContainer;t.parent&&t.parent.children.removeValue(t)}disposeDataItem(t){const e=t.bullets;e&&(c.each(e,t=>{t.dispose()}),t.bullets=void 0)}_getItemReaderLabel(){return""}showDataItem(t,e){const i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return(0,s.sH)(this,void 0,void 0,function*(){const s=[i.showDataItem.call(this,t,e)],n=t.bullets;n&&c.each(n,t=>{const i=t.get("sprite");i&&s.push(i.show(e))}),yield Promise.all(s)})}hideDataItem(t,e){const i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return(0,s.sH)(this,void 0,void 0,function*(){const s=[i.hideDataItem.call(this,t,e)],n=t.bullets;n&&c.each(n,t=>{const i=t.get("sprite");i&&s.push(i.hide(e))}),yield Promise.all(s)})}_sequencedShowHide(t,e){return(0,s.sH)(this,void 0,void 0,function*(){if(this.get("sequencedInterpolation"))if(d.isNumber(e)||(e=this.get("interpolationDuration",0)),e>0){const i=this.startIndex(),n=this.endIndex();yield Promise.all(c.map(this.dataItems,(r,a)=>(0,s.sH)(this,void 0,void 0,function*(){let s=e||0;(a<i-10||a>n+10)&&(s=0);let o=this.get("sequencedDelay",0)+s/(n-i);yield p.sleep(o*(a-i)),t?yield this.showDataItem(r,s):yield this.hideDataItem(r,s)})))}else yield Promise.all(c.map(this.dataItems,e=>t?this.showDataItem(e,0):this.hideDataItem(e,0)))})}updateLegendValue(t){if(t){const e=t.get("legendDataItem");if(e){const i=e.get("valueLabel");if(i){const e=i.text;let s="";i._setDataItem(t),s=this.get("legendValueText",e.get("text","")),i.set("text",s),e.markDirtyText()}const s=e.get("label");if(s){const e=s.text;let i="";s._setDataItem(t),i=this.get("legendLabelText",e.get("text","")),s.set("text",i),e.markDirtyText()}}}}updateLegendMarker(t){}_onHide(){super._onHide();const t=this.getTooltip();t&&t.hide()}hoverDataItem(t){}unhoverDataItem(t){}_getBase(t){const e=this.dataItems[this.startIndex()];return e?e.get(t):0}}Object.defineProperty(g,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Series"}),Object.defineProperty(g,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.u.classNames.concat([g.className])})},15357:function(t,e,i){i.d(e,{g:function(){return n}});var s=i(74622);const n=[];n[s.K.NONE]=void 0,n[s.K.DISABLED]={stencilWriteMask:0,stencilReadMask:0},n[s.K.RENDERING_MASK_ADD]={stencilFront:{compare:"equal",passOp:"increment-clamp"},stencilBack:{compare:"equal",passOp:"increment-clamp"}},n[s.K.RENDERING_MASK_REMOVE]={stencilFront:{compare:"equal",passOp:"decrement-clamp"},stencilBack:{compare:"equal",passOp:"decrement-clamp"}},n[s.K.MASK_ACTIVE]={stencilWriteMask:0,stencilFront:{compare:"equal",passOp:"keep"},stencilBack:{compare:"equal",passOp:"keep"}},n[s.K.INVERSE_MASK_ACTIVE]={stencilWriteMask:0,stencilFront:{compare:"not-equal",passOp:"keep"},stencilBack:{compare:"not-equal",passOp:"keep"}}},15557:function(t,e,i){i.d(e,{N:function(){return a}});var s=i(79698),n=i(94922),r=i(17566);const a=new class{constructor(t){this._canvasPool=Object.create(null),this.canvasOptions=t||{},this.enableFullScreen=!1}_createCanvasAndContext(t,e){const i=s.e.get().createCanvas();i.width=t,i.height=e;const n=i.getContext("2d");return{canvas:i,context:n}}getOptimalCanvasAndContext(t,e,i=1){t=Math.ceil(t*i-1e-6),e=Math.ceil(e*i-1e-6);const s=((t=(0,n.U5)(t))<<17)+((e=(0,n.U5)(e))<<1);this._canvasPool[s]||(this._canvasPool[s]=[]);let r=this._canvasPool[s].pop();return r||(r=this._createCanvasAndContext(t,e)),r}returnCanvasAndContext(t){const e=t.canvas,{width:i,height:s}
1=e,n=(i<<17)+(s<<1);t.context.resetTransform(),t.context.clearRect(0,0,i,s),this._canvasPool[n].push(t)}clear(){this._canvasPool={}}};r.L.register(a)},16611:function(t,e,i){var s;i.d(e,{N:function(){return s}}),function(t){t.ADD="lighter",t.COLOR="color",t.COLOR_BURN="color-burn",t.COLOR_DODGE="color-dodge",t.DARKEN="darken",t.DIFFERENCE="difference",t.DST_OVER="destination-over",t.EXCLUSION="exclusion",t.HARD_LIGHT="hard-light",t.HUE="hue",t.LIGHTEN="lighten",t.LUMINOSITY="luminosity",t.MULTIPLY="multiply",t.NORMAL="source-over",t.OVERLAY="overlay",t.SATURATION="saturation",t.SCREEN="screen",t.SOFT_LIGHT="soft-light",t.SRC_ATOP="source-atop",t.XOR="xor"}(s||(s={}))},22077:function(t,e,i){i.d(e,{DU:function(){return a},Er:function(){return r},RR:function(){return n},u5:function(){return s}});const s=new class{constructor(){Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.13.6"}),Object.defineProperty(this,"licenses",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"entitiesById",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"rootElements",{enumerable:!0,configurable:!0,writable:!0,value:[]})}};function n(t){s.licenses.push(t)}function r(){let t;for(;t=s.rootElements.pop();)t.dispose()}function a(t){let e;return s.rootElements.forEach(i=>{i.dom.id==t&&(e=i)}),e}},24147:function(t,e,i){i.d(e,{P:function(){return r},l:function(){return n}});var s=i(79960);function n(t,e){t.get("reverseChildren",!1)?t.children.eachReverse(e):t.children.each(e)}class r extends s.wC{}Object.defineProperty(r,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Layout"}),Object.defineProperty(r,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.wC.classNames.concat([r.className])})},25296:function(t,e,i){i.d(e,{M:function(){return n}});var s=i(78076);class n extends s.A{_afterNew(){super._afterNew(),this._display.isMeasured=!0,this.setPrivateRaw("trustBounds",!0)}_beforeChanged(){super._beforeChanged(),(this.isDirty("width")||this.isDirty("height")||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}_changed(){super._changed(),this._clear&&!this.get("draw")&&this._draw()}_draw(){let t=this.width(),e=this.height(),i=0,s=0,n=t/Math.abs(t),r=e/Math.abs(e);if(this.get("containStroke",!1)){const a=this.get("strokeWidth",0);t-=a*n,e-=a*r,i+=a/2*n,s+=a/2*r}this._display.drawRect(i,s,t,e)}_updateSize(){this.markDirty(),this._clear=!0}}Object.defineProperty(n,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Rectangle"}),Object.defineProperty(n,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.A.classNames.concat([n.className])})},27063:function(t,e,i){i.d(e,{J:function(){return l}});var s=i(72506),n=i(28220),r=i(45166),a=i(64332),o=i(74265);class l extends r.m{constructor(){super(...arguments),Object.defineProperty(this,"_text",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_textKeys",{enumerable:!0,configurable:!0,writable:!0,value:["text","fill","fillGradient","fillOpacity","textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","populateText","role","ignoreFormatting","maxChars","ariaLabel"]})}get text(){return this._text}_afterNew(){super._afterNew(),this._makeText(),a.each(this._textKeys,t=>{const e=this.get(t);null!=e&&this._text.set(t,e)}),""!==this.get("html","")&&this._text.set("text",""),this.onPrivate("maxWidth",()=>{this._setMaxDimentions()}),this.onPrivate("maxHeight",()=>{this._setMaxDimentions()})}_makeText(){this._text=this.children.push(s.E.new(this._root,{}))}_updateChildren(){super._updateChildren();const t=this._text;if(a.each(this._textKeys,t=>{this._text.set(t,this.get(t))}),(this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isDirty("rotation"))&&this._setMaxDimentions(),""!==this.get("html","")?t.set("text",""):(t.set("text",this.get("text")),this._maybeUpdateHTMLColor()),(this.isDirty("fill")||this.isDirty("fillGradient"))&&this._maybeUpdateHTMLColor(),this.isDirty("textAlign")||this.isDirty("width")){const e=this.get("textAlign");let i;null!=this.get("width")?i="right"==e?n.Q2:"center"==e?n.yP:0:"left"==e||"start"==e?i=this.get("paddingLeft",0):"right"!=e&&"end"!=e||(i=-this.get("paddingRight",0)),t.set("x",i)}const e=this.get("background");e&&e.setPrivate("visible",t._display.textVisible)}_maybeUpdateHTMLColor(){const t=this.getPrivate("htmlElement");t&&this.get("fill")&&(t.style.color=this.get("fill").toCSSHex())}_setMaxDimentions(){const t=this.get("rotation"),e=90==t||270==t||-90==t,i=this._text,s=this.get("maxWidth",this.getPrivate("maxWidth",1/0));o.isNumber(s)?i.set(e?"maxHeight":"maxWidth",s-this.get("paddingTop",0)-this.get("paddingBottom",0)):i.set(e?"maxHeight":"maxWidth",void 0);const n=this.get("maxHeight",this.getPrivate("maxHeight",1/0));o.isNumber(n)?i.set(e?"maxWidth":"maxHeight",n-this.get("paddingLeft",0)-this.get("paddingRight",0)):i.set(e?"maxWidth":"maxHeight",void 0),this.root.events.once("frameended",()=>{i.markDirtyBounds()})}_setDataItem(t){super._setDataItem(t),this._markDirtyKey("text"),this._markDirtyKey("html");const e=this._text;e.get("populateText")&&e.markDirtyText();const i=this.get("html");i&&""!==i&&this._updateHTMLContent()}getText(){return this._text._getText()}getAccessibleText(){return this._text._getAccessibleText()}}Object.defineProperty(l,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Label"}),Object.defineProperty(l,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:r.m.classNames.c
1oncat([l.className])})},27383:function(t,e,i){i.d(e,{Lh:function(){return w},NM:function(){return b},_$:function(){return d},tM:function(){return v}});var s=i(7238),n=i(33658),r=i(85575),a=i(80863),o=i(19537),l=i(29940),u=i(30742),h=i(87294),c=function(){var t=(0,u.K2)(function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},"o"),e=[1,18],i=[1,19],s=[1,20],n=[1,41],r=[1,42],a=[1,26],o=[1,24],l=[1,25],h=[1,32],c=[1,33],d=[1,34],p=[1,45],g=[1,35],f=[1,36],m=[1,37],y=[1,38],b=[1,27],v=[1,28],_=[1,29],w=[1,30],T=[1,31],x=[1,44],k=[1,46],D=[1,43],A=[1,47],C=[1,9],S=[1,8,9],P=[1,58],E=[1,59],O=[1,60],I=[1,61],R=[1,62],B=[1,63],F=[1,64],L=[1,8,9,41],N=[1,76],M=[1,8,9,12,13,22,39,41,44,68,69,70,71,72,73,74,79,81],j=[1,8,9,12,13,18,20,22,39,41,44,50,60,68,69,70,71,72,73,74,79,81,86,100,102,103],$=[13,60,86,100,102,103],H=[13,60,73,74,86,100,102,103],U=[13,60,68,69,70,71,72,86,100,102,103],G=[1,100],K=[1,117],W=[1,113],z=[1,109],V=[1,115],Y=[1,110],Q=[1,111],X=[1,112],Z=[1,114],q=[1,116],J=[22,48,60,61,82,86,87,88,89,90],tt=[1,8,9,39,41,44],et=[1,8,9,22],it=[1,145],st=[1,8,9,61],nt=[1,8,9,22,48,60,61,82,86,87,88,89,90],rt={trace:(0,u.K2)(function(){},"trace"),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,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,emptyBody:47,SPACE:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",48:"SPACE",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[43,2],[43,3],[47,0],[47,2],[47,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:(0,u.K2)(function(t,e,
vendor: 6,176 bytes, line 1
1i,s,n,r,a){var o=r.length-1;switch(n){case 8:this.$=r[o-1];break;case 9:case 10:case 13:case 15:this.$=r[o];break;case 11:case 14:this.$=r[o-2]+"."+r[o];break;case 12:case 16:case 100:this.$=r[o-1]+r[o];break;case 17:case 18:this.$=r[o-1]+"~"+r[o]+"~";break;case 19:s.addRelation(r[o]);break;case 20:r[o-1].title=s.cleanupLabel(r[o]),s.addRelation(r[o-1]);break;case 31:this.$=r[o].trim(),s.setAccTitle(this.$);break;case 32:case 33:this.$=r[o].trim(),s.setAccDescription(this.$);break;case 34:s.addClassesToNamespace(r[o-3],r[o-1]);break;case 35:s.addClassesToNamespace(r[o-4],r[o-1]);break;case 36:this.$=r[o],s.addNamespace(r[o]);break;case 37:case 51:case 64:case 97:this.$=[r[o]];break;case 38:this.$=[r[o-1]];break;case 39:r[o].unshift(r[o-2]),this.$=r[o];break;case 41:s.setCssClass(r[o-2],r[o]);break;case 42:s.addMembers(r[o-3],r[o-1]);break;case 44:s.setCssClass(r[o-5],r[o-3]),s.addMembers(r[o-5],r[o-1]);break;case 45:this.$=r[o],s.addClass(r[o]);break;case 46:this.$=r[o-1],s.addClass(r[o-1]),s.setClassLabel(r[o-1],r[o]);break;case 50:s.addAnnotation(r[o],r[o-2]);break;case 52:r[o].push(r[o-1]),this.$=r[o];break;case 53:case 55:case 56:break;case 54:s.addMember(r[o-1],s.cleanupLabel(r[o]));break;case 57:this.$={id1:r[o-2],id2:r[o],relation:r[o-1],relationTitle1:"none",relationTitle2:"none"};break;case 58:this.$={id1:r[o-3],id2:r[o],relation:r[o-1],relationTitle1:r[o-2],relationTitle2:"none"};break;case 59:this.$={id1:r[o-3],id2:r[o],relation:r[o-2],relationTitle1:"none",relationTitle2:r[o-1]};break;case 60:this.$={id1:r[o-4],id2:r[o],relation:r[o-2],relationTitle1:r[o-3],relationTitle2:r[o-1]};break;case 61:s.addNote(r[o],r[o-1]);break;case 62:s.addNote(r[o]);break;case 63:this.$=r[o-2],s.defineClass(r[o-1],r[o]);break;case 65:this.$=r[o-2].concat([r[o]]);break;case 66:s.setDirection("TB");break;case 67:s.setDirection("BT");break;case 68:s.setDirection("RL");break;case 69:s.setDirection("LR");break;case 70:this.$={type1:r[o-2],type2:r[o],lineType:r[o-1]};break;case 71:this.$={type1:"none",type2:r[o],lineType:r[o-1]};break;case 72:this.$={type1:r[o-1],type2:"none",lineType:r[o]};break;case 73:this.$={type1:"none",type2:"none",lineType:r[o]};break;case 74:this.$=s.relationType.AGGREGATION;break;case 75:this.$=s.relationType.EXTENSION;break;case 76:this.$=s.relationType.COMPOSITION;break;case 77:this.$=s.relationType.DEPENDENCY;break;case 78:this.$=s.relationType.LOLLIPOP;break;case 79:this.$=s.lineType.LINE;break;case 80:this.$=s.lineType.DOTTED_LINE;break;case 81:case 87:this.$=r[o-2],s.setClickEvent(r[o-1],r[o]);break;case 82:case 88:this.$=r[o-3],s.setClickEvent(r[o-2],r[o-1]),s.setTooltip(r[o-2],r[o]);break;case 83:this.$=r[o-2],s.setLink(r[o-1],r[o]);break;case 84:this.$=r[o-3],s.setLink(r[o-2],r[o-1],r[o]);break;case 85:this.$=r[o-3],s.setLink(r[o-2],r[o-1]),s.setTooltip(r[o-2],r[o]);break;case 86:this.$=r[o-4],s.setLink(r[o-3],r[o-2],r[o]),s.setTooltip(r[o-3],r[o-1]);break;case 89:this.$=r[o-3],s.setClickEvent(r[o-2],r[o-1],r[o]);break;case 90:this.$=r[o-4],s.setClickEvent(r[o-3],r[o-2],r[o-1]),s.setTooltip(r[o-3],r[o]);break;case 91:this.$=r[o-3],s.setLink(r[o-2],r[o]);break;case 92:this.$=r[o-4],s.setLink(r[o-3],r[o-1],r[o]);break;case 93:this.$=r[o-4],s.setLink(r[o-3],r[o-1]),s.setTooltip(r[o-3],r[o]);break;case 94:this.$=r[o-5],s.setLink(r[o-4],r[o-2],r[o]),s.setTooltip(r[o-4],r[o-1]);break;case 95:this.$=r[o-2],s.setCssStyle(r[o-1],r[o]);break;case 96:s.setCssClass(r[o-1],r[o]);break;case 98:r[o-2].push(r[o]),this.$=r[o-2]}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:i,37:s,38:22,42:n,43:23,46:r,49:a,51:o,52:l,54:h,56:c,57:d,60:p,62:g,63:f,64:m,65:y,75:b,76:v,78:_,82:w,83:T,86:x,100:k,102:D,103:A},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(C,[2,5],{8:[1,48]}),{8:[1,49]},t(S,[2,19],{22:[1,50]}),t(S,[2,21]),t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),t(S,[2,26]),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),t(S,[2,30]),{34:[1,51]},{36:[1,52]},t(S,[2,33]),t(S,[2,53],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:P,69:E,70:O,71:I,72:R,73:B,74:F}),{39:[1,65]},t(L,[2,40],{39:[1,67],44:[1,66]}),t(S,[2,55]),t(S,[2,56]),{16:68,60:p,86:x,100:k,102:D},{16:39,17:40,19:69,60:p,86:x,100:k,102:D,103:A},{16:39,17:40,19:70,60:p,86:x,100:k,102:D,103:A},{16:39,17:40,19:71,60:p,86:x,100:k,102:D,103:A},{60:[1,72]},{13:[1,73]},{16:39,17:40,19:74,60:p,86:x,100:k,102:D,103:A},{13:N,55:75},{58:77,60:[1,78]},t(S,[2,66]),t(S,[2,67]),t(S,[2,68]),t(S,[2,69]),t(M,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],60:p,86:x,100:k,102:D,103:A}),t(M,[2,15],{20:[1,82]}),{15:83,16:84,17:85,60:p,86:x,100:k,102:D,103:A},{16:39,17:40,19:86,60:p,86:x,100:k,102:D,103:A},t(j,[2,123]),t(j,[2,124]),t(j,[2,125]),t(j,[2,126]),t([1,8,9,12,13,20,22,39,41,44,68,69,70,71,72,73,74,79,81],[2,127]),t(C,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:e,35:i,37:s,42:n,46:r,49:a,51:o,52:l,54:h,56:c,57:d,60:p,62:g,63:f,64:m,65:y,75:b,76:v,78:_,82:w,83:T,86:x,100:k,102:D,103:A}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:i,37:s,38:22,42:n,43:23,46:r,49:a,51:o,52:l,54:h,56:c,57:d,60:p,62:g,63:f,64:m,65:y,75:b,76:v,78:_,82:w,83:T,86:x,100:k,102:D,103:A},t(S,[2,20]),t(S,[2,31]),t(S,[2,32]),{13:[1,90],16:39,17:40,19:89,60:p,86:x,100:k,102:D,103:A},{53:91,66:56,67:57,68:P,69:E,70:O,71:I,72:R,73:B,74:F},t(S,[2,54]),{67:92,73:B,74:F},t($,[2,73],{66:93,68:P,69:E,70:O,71:I,72:R}),t(H,[2,74]),t(H,[2,75]),t(H,[2,76]),t(H,[2,77]),t(H,[2,78]),t(U,[2,79]),t(U,[2,80]),{8:[1,95],24:96,40:94,43:23,46:r},{16:97,60:p,86:x,100:k,102:D},{41:[1,99],45:98,51:G},{50:[1,101]},{13:[1,102]},{13:[1,103]},{79:[1,104],81:[1,105]},{22:K,48:W,59:106,60:z,82:V,84:107,85:108,86:Y,87:Q,88:X,89:Z,90:q},{60:[1,118]},{13:N,55:119},t(S,[2,62]),t(S,[2,128]),{22:K,48:W,59:120,60:z,61:[1,121],82:V,84:107,85:108,86:Y,87:Q,88:X,89:Z,90:q},t(J,[2,64]),{16:39,17:40,19:122,60:p,86:x,100:k,102:D,103:A},t(M,[2,16]),t(M,[2,17]),t(M,[2,18]),{39:[2,36]},{15:124,16:84,17:85,18:[1,123],39:[2,9],60:p,86:x,100:k,102:D,103:A},{39:[2,10]},t(tt,[2,45],{11:125,12:[1,126]}
1),t(C,[2,7]),{9:[1,127]},t(et,[2,57]),{16:39,17:40,19:128,60:p,86:x,100:k,102:D,103:A},{13:[1,130],16:39,17:40,19:129,60:p,86:x,100:k,102:D,103:A},t($,[2,72],{66:131,68:P,69:E,70:O,71:I,72:R}),t($,[2,71]),{41:[1,132]},{24:96,40:133,43:23,46:r},{8:[1,134],41:[2,37]},t(L,[2,41],{39:[1,135]}),{41:[1,136]},t(L,[2,43]),{41:[2,51],45:137,51:G},{16:39,17:40,19:138,60:p,86:x,100:k,102:D,103:A},t(S,[2,81],{13:[1,139]}),t(S,[2,83],{13:[1,141],77:[1,140]}),t(S,[2,87],{13:[1,142],80:[1,143]}),{13:[1,144]},t(S,[2,95],{61:it}),t(st,[2,97],{85:146,22:K,48:W,60:z,82:V,86:Y,87:Q,88:X,89:Z,90:q}),t(nt,[2,99]),t(nt,[2,101]),t(nt,[2,102]),t(nt,[2,103]),t(nt,[2,104]),t(nt,[2,105]),t(nt,[2,106]),t(nt,[2,107]),t(nt,[2,108]),t(nt,[2,109]),t(S,[2,96]),t(S,[2,61]),t(S,[2,63],{61:it}),{60:[1,147]},t(M,[2,14]),{15:148,16:84,17:85,60:p,86:x,100:k,102:D,103:A},{39:[2,12]},t(tt,[2,46]),{13:[1,149]},{1:[2,4]},t(et,[2,59]),t(et,[2,58]),{16:39,17:40,19:150,60:p,86:x,100:k,102:D,103:A},t($,[2,70]),t(S,[2,34]),{41:[1,151]},{24:96,40:152,41:[2,38],43:23,46:r},{45:153,51:G},t(L,[2,42]),{41:[2,52]},t(S,[2,50]),t(S,[2,82]),t(S,[2,84]),t(S,[2,85],{77:[1,154]}),t(S,[2,88]),t(S,[2,89],{13:[1,155]}),t(S,[2,91],{13:[1,157],77:[1,156]}),{22:K,48:W,60:z,82:V,84:158,85:108,86:Y,87:Q,88:X,89:Z,90:q},t(nt,[2,100]),t(J,[2,65]),{39:[2,11]},{14:[1,159]},t(et,[2,60]),t(S,[2,35]),{41:[2,39]},{41:[1,160]},t(S,[2,86]),t(S,[2,90]),t(S,[2,92]),t(S,[2,93],{77:[1,161]}),t(st,[2,98],{85:146,22:K,48:W,60:z,82:V,86:Y,87:Q,88:X,89:Z,90:q}),t(tt,[2,8]),t(L,[2,44]),t(S,[2,94])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],124:[2,12],127:[2,4],137:[2,52],148:[2,11],152:[2,39]},parseError:(0,u.K2)(function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},"parseError"),parse:(0,u.K2)(function(t){var e=this,i=[0],s=[],n=[null],r=[],a=this.table,o="",l=0,h=0,c=0,d=r.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(g.yy[f]=this.yy[f]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;r.push(m);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=s.pop()||p.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,u.K2)(function(t){i.length=i.length-2*t,n.length=n.length-t,r.length=r.length-t},"popStack"),(0,u.K2)(b,"lex");for(var v,_,w,T,x,k,D,A,C,S={};;){if(w=i[i.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(null==v&&(v=b()),T=a[w]&&a[w][v]),void 0===T||!T.length||!T[0]){var P="";for(k in C=[],a[w])this.terminals_[k]&&k>2&&C.push("'"+this.terminals_[k]+"'");P=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==v?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(P,{text:p.match,token:this.terminals_[v]||v,line:p.yylineno,loc:m,expected:C})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(T[0]){case 1:i.push(v),n.push(p.yytext),r.push(p.yylloc),i.push(T[1]),v=null,_?(v=_,_=null):(h=p.yyleng,o=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(D=this.productions_[T[1]][1],S.$=n[n.length-D],S._$={first_line:r[r.length-(D||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(D||1)].first_column,last_column:r[r.length-1].last_column},y&&(S._$.range=[r[r.length-(D||1)].range[0],r[r.length-1].range[1]]),void 0!==(x=this.performAction.apply(S,[o,h,l,g.yy,T[1],n,r].concat(d))))return x;D&&(i=i.slice(0,-1*D*2),n=n.slice(0,-1*D),r=r.slice(0,-1*D)),i.push(this.productions_[T[1]][0]),n.push(S.$),r.push(S._$),A=a[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0},"parse")},at=function(){return{EOF:1,parseError:(0,u.K2)(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,u.K2)(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},"setInput"),input:(0,u.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,u.K2)(function(t){var e=t.length,i=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),i.length-1&&(this.yylineno-=i.length-1);var n=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===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,u.K2)(function(){return this._more=!0,this},"more"),reject:(0,u.K2)(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})},"reject"),less:(0,u.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,u.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,u.K2)(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,"")},"upcomingInput"),showPosition:(0,u.K2)(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,u.K2)(function(t,e){var i,s,n;if(this.options.backtrack_lexer&&(n={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&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(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],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},"test_match"),next:(0,u.K2)(function(){if(this.done)return this.EOF;var t,e,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if((i=this._input.match(this.rules[n[r]]))&&(!e||i[0].length>e[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,u.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,u.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,u.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,u.K2)(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"),topState:(0,u.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,u.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,u.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{}
1,performAction:(0,u.K2)(function(t,e,i,s){switch(i){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:case 5:case 14:case 31:case 36:case 40:case 47:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 58:case 61:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 35:return 8;case 15:case 16:return 7;case 17:case 37:case 45:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 23:return 80;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;case 30:case 39:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:case 43:return this.popState(),41;case 34:case 44:return"EOF_IN_STRUCT";case 38:return this.begin("class"),46;case 41:return this.popState(),this.popState(),41;case 42:return this.begin("class-body"),39;case 46:return"OPEN_IN_STRUCT";case 48:return"MEMBER";case 49:return 83;case 50:return 75;case 51:return 76;case 52:return 78;case 53:return 54;case 54:return 56;case 55:return 49;case 56:return 50;case 57:return 81;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;
1case 64:case 65:case 66:case 67:return 77;case 68:case 69:return 69;case 70:case 71:return 71;case 72:return 70;case 73:return 68;case 74:return 72;case 75:return 73;case 76:return 74;case 77:return 22;case 78:return 44;case 79:return 100;case 80:return 18;case 81:return"PLUS";case 82:return 87;case 83:return 61;case 84:case 85:return 89;case 86:return 90;case 87:case 88:return"EQUALS";case 89:return 60;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 86;case 94:return 102;case 95:case 96:return 48;case 97:return 9}},"anonymous"),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)/,/^(?:classDef\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\uFB
1D3-\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,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}}}();function ot(){this.yy={}}return rt.lexer=at,(0,u.K2)(ot,"Parser"),ot.prototype=rt,rt.Parser=ot,new ot}();c.parser=c;var d=c,p=["#","+","~","-",""],g=class{static{(0,u.K2)(this,"ClassMember")}constructor(t,e){this.memberType=e,this.visibility="",this.classifier="",this.text="";const i=(0,l.jZ)(t,(0,l.D7)());this.parseMember(i)}getDisplayDetails(){let t=this.visibility+(0,l.QO)(this.id);"method"===this.memberType&&(t+=`(${(0,l.QO)(this.parameters.trim())})`,this.returnType&&(t+=" : "+(0,l.QO)(this.returnType))),t=t.trim();return{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const i=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);if(i){const t=i[1]?i[1].trim():"";if(p.includes(t)&&(this.visibility=t),this.id=i[2],this.parameters=i[3]?i[3].trim():"",e=i[4]?i[4].trim():"",this.returnType=i[5]?i[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(t)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const i=t.length,s=t.substring(0,1),n=t.substring(i-1);p.includes(s)&&(this.visibility=s),/[$*]/.exec(n)&&(e=n),this.id=t.substring(""===this.visibility?0:1,""===e?i:i-1)}this.classifier=e,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();const i=`${this.visibility?"\\"+this.visibility:""}${(0,l.QO)(this.id)}${"method"===this.memberType?`(${(0,l.QO)(this.parameters)})${this.returnType?" : "+(0,l.QO)(this.returnType):""}`:""}`;this.text=i.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;")&&(this.text=this.text.replace("\\&lt;","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},f="classId-",m=0,y=(0,u.K2)(t=>l.Y2.sanitizeText(t,(0,l.D7)()),"sanitizeText"),b=class{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=[],this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=(0,u.K2)(t=>{let e=(0,h.Ltv)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,h.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)
1);(0,h.Ltv)(t).select("svg").selectAll("g.node").on("mouseover",t=>{const i=(0,h.Ltv)(t.currentTarget);if(null===i.attr("title"))return;const s=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(i.attr("title")).style("left",window.scrollX+s.left+(s.right-s.left)/2+"px").style("top",window.scrollY+s.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/&lt;br\/&gt;/g,"<br/>")),i.classed("hover",!0)}).on("mouseout",t=>{e.transition().duration(500).style("opacity",0);(0,h.Ltv)(t.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=l.SV,this.getAccTitle=l.iN,this.setAccDescription=l.EI,this.getAccDescription=l.m7,this.setDiagramTitle=l.ke,this.getDiagramTitle=l.ab,this.getConfig=(0,u.K2)(()=>(0,l.D7)().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{(0,u.K2)(this,"ClassDB")}splitClassNameAndType(t){const e=l.Y2.sanitizeText(t,(0,l.D7)());let i="",s=e;if(e.indexOf("~")>0){const t=e.split("~");s=y(t[0]),i=y(t[1])}return{className:s,type:i}}setClassLabel(t,e){const i=l.Y2.sanitizeText(t,(0,l.D7)());e&&(e=y(e));const{className:s}=this.splitClassNameAndType(i);this.classes.get(s).label=e,this.classes.get(s).text=`${e}${this.classes.get(s).type?`<${this.classes.get(s).type}>`:""}`}addClass(t){const e=l.Y2.sanitizeText(t,(0,l.D7)()),{className:i,type:s}=this.splitClassNameAndType(e);if(this.classes.has(i))return;const n=l.Y2.sanitizeText(i,(0,l.D7)());this.classes.set(n,{id:n,type:s,label:n,text:`${n}${s?`&lt;${s}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:f+n+"-"+m}),m++}addInterface(t,e){const i={id:`interface${this.interfaces.length}`,label:t,classId:e};this.interfaces.push(i)}lookUpDomId(t){const e=l.Y2.sanitizeText(t,(0,l.D7)());if(this.classes.has(e))return this.classes.get(e).domId;throw new Error("Class not found: "+e)}clear(){this.relations=[],this.classes=new Map,this.notes=[],this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.direction="TB",(0,l.IU)()}getClass(t){return this.classes.get(t)}getClasses(){return this.classes}getRelations(){return this.relations}getNotes(){return this.notes}addRelation(t){u.Rm.debug("Adding relation: "+JSON.stringify(t));const e=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];t.relation.type1!==this.relationType.LOLLIPOP||e.includes(t.relation.type2)?t.relation.type2!==this.relationType.LOLLIPOP||e.includes(t.relation.type1)?(this.addClass(t.id1),this.addClass(t.id2)):(this.addClass(t.id1),this.addInterface(t.id2,t.id1),t.id2="interface"+(this.interfaces.length-1)):(this.addClass(t.id2),this.addInterface(t.id1,t.id2),t.id1="interface"+(this.interfaces.length-1)),t.id1=this.splitClassNameAndType(t.id1).className,t.id2=this.splitClassNameAndType(t.id2).className,t.relationTitle1=l.Y2.sanitizeText(t.relationTitle1.trim(),(0,l.D7)()),t.relationTitle2=l.Y2.sanitizeText(t.relationTitle2.trim(),(0,l.D7)()),this.relations.push(t)}addAnnotation(t,e){const i=this.splitClassNameAndType(t).className;this.classes.get(i).annotations.push(e)}addMember(t,e){this.addClass(t);const i=this.splitClassNameAndType(t).className,s=this.classes.get(i);if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?s.annotations.push(y(t.substring(2,t.length-2))):t.indexOf(")")>0?s.methods.push(new g(t,"method")):t&&s.members.push(new g(t,"attribute"))}}
1addMembers(t,e){Array.isArray(e)&&(e.reverse(),e.forEach(e=>this.addMember(t,e)))}addNote(t,e){const i={id:`note${this.notes.length}`,class:e,text:t};this.notes.push(i)}cleanupLabel(t){return t.startsWith(":")&&(t=t.substring(1)),y(t.trim())}setCssClass(t,e){t.split(",").forEach(t=>{let i=t;/\d/.exec(t[0])&&(i=f+i);const s=this.classes.get(i);s&&(s.cssClasses+=" "+e)})}defineClass(t,e){for(const i of t){let t=this.styleClasses.get(i);void 0===t&&(t={id:i,styles:[],textStyles:[]},this.styleClasses.set(i,t)),e&&e.forEach(e=>{if(/color/.exec(e)){const i=e.replace("fill","bgFill");t.textStyles.push(i)}t.styles.push(e)}),this.classes.forEach(t=>{t.cssClasses.includes(i)&&t.styles.push(...e.flatMap(t=>t.split(",")))})}}setTooltip(t,e){t.split(",").forEach(t=>{void 0!==e&&(this.classes.get(t).tooltip=y(e))})}getTooltip(t,e){return e&&this.namespaces.has(e)?this.namespaces.get(e).classes.get(t).tooltip:this.classes.get(t).tooltip}setLink(t,e,i){const s=(0,l.D7)();t.split(",").forEach(t=>{let n=t;/\d/.exec(t[0])&&(n=f+n);const r=this.classes.get(n);r&&(r.link=o._K.formatUrl(e,s),"sandbox"===s.securityLevel?r.linkTarget="_top":r.linkTarget="string"==typeof i?y(i):"_blank")}),this.setCssClass(t,"clickable")}setClickEvent(t,e,i){t.split(",").forEach(t=>{this.setClickFunc(t,e,i),this.classes.get(t).haveCallback=!0}),this.setCssClass(t,"clickable")}setClickFunc(t,e,i){const s=l.Y2.sanitizeText(t,(0,l.D7)());if("loose"!==(0,l.D7)().securityLevel)return;if(void 0===e)return;const n=s;if(this.classes.has(n)){const t=this.lookUpDomId(n);let s=[];if("string"==typeof i){s=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<s.length;t++){let e=s[t].trim();e.startsWith('"')&&e.endsWith('"')&&(e=e.substr(1,e.length-2)),s[t]=e}}0===s.length&&s.push(t),this.functions.push(()=>{const i=document.querySelector(`[id="${t}"]`);null!==i&&i.addEventListener("click",()=>{o._K.runFunc(e,...s)},!1)})}}bindFunctions(t){this.functions.forEach(e=>{e(t)})}getDirection(){return this.direction}setDirection(t){this.direction=t}addNamespace(t){this.namespaces.has(t)||(this.namespaces.set(t,{id:t,classes:new Map,children:{},domId:f+t+"-"+this.namespaceCounter}),this.namespaceCounter++)}getNamespace(t){return this.namespaces.get(t)}getNamespaces(){return this.namespaces}addClassesToNamespace(t,e){if(this.namespaces.has(t))for(const i of e){const{className:e}=this.splitClassNameAndType(i);this.classes.get(e).parent=t,this.namespaces.get(t).classes.set(e,this.classes.get(e))}}setCssStyle(t,e){const i=this.classes.get(t);if(e&&i)for(const s of e)s.includes(",")?i.styles.push(...s.split(",")):i.styles.push(s)}getArrowMarker(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}getData(){const t=[],e=[],i=(0,l.D7)();for(const n of this.namespaces.keys()){const e=this.namespaces.get(n);if(e){const s={id:e.id,label:e.id,isGroup:!0,padding:i.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:i.look};t.push(s)}}for(const n of this.classes.keys()){const e=this.classes.get(n);if(e){const s=e;s.parentId=e.parent,s.look=i.look,t.push(s)}}let s=0;for(const n of this.notes){s++;const r={id:n.id,label:n.text,isGroup:!1,shape:"note",padding:i.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${i.themeVariables.noteBkgColor}`,`stroke: ${i.themeVariables.noteBorderColor}`],look:i.look};t.push(r);const a=this.classes.get(n.class)?.id??"";if(a){const t={id:`edgeNote${s}`,start:n.id,end:a,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:i.look};e.push(t)}}for(const n of this.interfaces){const e={id:n.id,label:n.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:i.look};t.push(e)}s=0;for(const n of this.relations){s++;const t={id:(0,o.rY)(n.id1,n.id2,{prefix:"id",counter:s}),start:n.id1,end:n.id2,type:"normal",label:n.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(n.relation.type1),arrowTypeEnd:this.getArrowMarker(n.relation.type2),startLabelRight:"none"===n.relationTitle1?"":n.relationTitle1,endLabelLeft:"none"===n.relationTitle2?"":n.relationTitle2,arrowheadStyle:"",labelStyle:["dis
1play: inline-block"],style:n.style||"",pattern:1==n.relation.lineType?"dashed":"solid",look:i.look};e.push(t)}return{nodes:t,edges:e,other:{},config:i,direction:this.getDirection()}}},v=(0,u.K2)(t=>`g.classGroup text {\n  fill: ${t.nodeBorder||t.classText};\n  stroke: none;\n  font-family: ${t.fontFamily};\n  font-size: 10px;\n\n  .title {\n    font-weight: bolder;\n  }\n\n}\n\n.nodeLabel, .edgeLabel {\n  color: ${t.classText};\n}\n.edgeLabel .label rect {\n  fill: ${t.mainBkg};\n}\n.label text {\n  fill: ${t.classText};\n}\n\n.labelBkg {\n  background: ${t.mainBkg};\n}\n.edgeLabel .label span {\n  background: ${t.mainBkg};\n}\n\n.classTitle {\n  font-weight: bolder;\n}\n.node rect,\n  .node circle,\n  .node ellipse,\n  .node polygon,\n  .node path {\n    fill: ${t.mainBkg};\n    stroke: ${t.nodeBorder};\n    stroke-width: 1px;\n  }\n\n\n.divider {\n  stroke: ${t.nodeBorder};\n  stroke-width: 1;\n}\n\ng.clickable {\n  cursor: pointer;\n}\n\ng.classGroup rect {\n  fill: ${t.mainBkg};\n  stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n  stroke: ${t.nodeBorder};\n  stroke-width: 1;\n}\n\n.classLabel .box {\n  stroke: none;\n  stroke-width: 0;\n  fill: ${t.mainBkg};\n  opacity: 0.5;\n}\n\n.classLabel .label {\n  fill: ${t.nodeBorder};\n  font-size: 10px;\n}\n\n.relation {\n  stroke: ${t.lineColor};\n  stroke-width: 1;\n  fill: none;\n}\n\n.dashed-line{\n  stroke-dasharray: 3;\n}\n\n.dotted-line{\n  stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n  fill: ${t.lineColor} !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n  fill: ${t.lineColor} !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n  fill: ${t.lineColor} !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n  fill: ${t.lineColor} !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#extensionStart, .extension {\n  fill: transparent !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n  fill: transparent !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n  fill: transparent !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n  fill: transparent !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n  fill: ${t.mainBkg} !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n  fill: ${t.mainBkg} !important;\n  stroke: ${t.lineColor} !important;\n  stroke-width: 1;\n}\n\n.edgeTerminals {\n  font-size: 11px;\n  line-height: initial;\n}\n\n.classTitleText {\n  text-anchor: middle;\n  font-size: 18px;\n  fill: ${t.textColor};\n}\n  ${(0,s.o)()}\n`,"getStyles"),_=(0,u.K2)((t,e="TB")=>{if(!t.doc)return e;let i=e;for(const s of t.doc)"dir"===s.stmt&&(i=s.value);return i},"getDir"),w={getClasses:(0,u.K2)(function(t,e){return e.db.getClasses()},"getClasses"),draw:(0,u.K2)(async function(t,e,i,s){u.Rm.info("REF0:"),u.Rm.info("Drawing class diagram (v3)",e);const{securityLevel:h,state:c,layout:d}=(0,l.D7)(),p=s.db.getData(),g=(0,n.A)(e,h);p.type=s.type,p.layoutAlgorithm=(0,a.q7)(d),p.nodeSpacing=c?.nodeSpacing||50,p.rankSpacing=c?.rankSpacing||50,p.markers=["aggregation","extension","composition","dependency","lollipop"],p.diagramId=e,await(0,a.XX)(p,g);o._K.insertTitle(g,"classDiagramTitleText",c?.titleTopMargin??25,s.db.getDiagramTitle()),(0,r.P)(g,8,"classDiagram",c?.useMaxWidth??!0)},"draw"),getDir:_}},28220:function(t,e,i){i.d(e,{KN:function(){return n},Q2:function(){return a},QE:function(){return s},_3:function(){return l},p0:function(){return r},yP:function(){return o}});class s{constructor(t){Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._value=t}get value(){return this._value/100}get percent(){return this._value}toString(){return this._value+"%"}interpolate(t,e){return t+this.value*(e-t)}static normalize(t,e,i){return t instanceof s?t:new s(e===i?0:100*Math.min(Math.max(1/(i-e)*(t-e),0),1))}}function n(t){return new s(t)}const r=n(0),a=n(100),o=n(50);function l(t){return t instanceof s}}
1,33658:function(t,e,i){i.d(e,{A:function(){return r}});var s=i(30742),n=i(87294),r=(0,s.K2)((t,e)=>{let i;"sandbox"===e&&(i=(0,n.Ltv)("#i"+t));return("sandbox"===e?(0,n.Ltv)(i.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id="${t}"]`)},"getDiagramElement")},34469:function(t,e,i){i.d(e,{R:function(){return n}});var s=i(88631);class n extends s.z{constructor(){super(...arguments),Object.defineProperty(this,"_image",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_beforeChanged(){super._beforeChanged(),this._clear=!0,this.isDirty("src")&&this._load();const t=this.get("canvas");t&&(this.set("width",t.width),this.set("height",t.height))}_draw(){super._draw();const t=this.get("colorOpacity");void 0!==t&&(this._display.alpha=Math.max(0,t));const e=this._image;if(e){const t=this.get("width",100),i=this.get("height",100),s=this.get("fit","image");let n=0,r=0;"pattern"==s?(n=t,r=i,this.markDirty()):(n=e.width,r=e.height,"image"==s&&(this.set("width",n),this.set("height",r)));let a=0,o=0;this.get("centered",!0)&&(a=t/2-n/2,o=i/2-r/2),this._display.image(e,n,r,a,o)}const i=this.get("canvas");i&&this._display.image(i,i.width,i.height,0,0)}_load(){const t=this.get("src");if(t){const e=new Image;e.src=t,e.decode().then(()=>{this._image=e,this._draw(),this.events.isEnabled("loaded")&&this.events.dispatch("loaded",{type:"loaded",target:this})}).catch(t=>{})}}}Object.defineProperty(n,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PicturePattern"}),Object.defineProperty(n,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.z.classNames.concat([n.className])})},37250:function(t,e,i){i.d(e,{Zp:function(){return Re}});var s=i(83129),n=i(21111),r=0;var a=function(t){var e=++r;return(0,n.A)(t)+e},o=i(48203),l=i(60129),u=i(72185),h=Math.ceil,c=Math.max;var d=function(t,e,i,s){for(var n=-1,r=c(h((e-t)/(i||1)),0),a=Array(r);r--;)a[s?r:++n]=t,t+=i;return a},p=i(16599),g=i(73620);var f=function(t){return function(e,i,s){return s&&"number"!=typeof s&&(0,p.A)(e,i,s)&&(i=s=void 0),e=(0,g.A)(e),void 0===i?(i=e,e=0):i=(0,g.A)(i),s=void 0===s?e<i?1:-1:(0,g.A)(s),d(e,i,s,t)}}(),m=i(57420);class y{constructor(){var t={};t._next=t._prev=t,this._sentinel=t}dequeue(){var t=this._sentinel,e=t._prev;if(e!==t)return b(e),e}enqueue(t){var e=this._sentinel;t._prev&&t._next&&b(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e}toString(){for(var t=[],e=this._sentinel,i=e._prev;i!==e;)t.push(JSON.stringify(i,v)),i=i._prev;return"["+t.join(", ")+"]"}}function b(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function v(t,e){if("_next"!==t&&"_prev"!==t)return e}var _=o.A(1);function w(t,e){if(t.nodeCount()<=1)return[];var i=function(t,e){var i=new m.T,n=0,r=0;s.A(t.nodes(),function(t){i.setNode(t,{v:t,in:0,out:0})}),s.A(t.edges(),function(t){var s=i.edge(t.v,t.w)||0,a=e(t),o=s+a;i.setEdge(t.v,t.w,o),r=Math.max(r,i.node(t.v).out+=a),n=Math.max(n,i.node(t.w).in+=a)});var a=f(r+n+3).map(function(){return new y}),o=n+1;return s.A(i.nodes(),function(t){x(a,o,i.node(t))}),{graph:i,buckets:a,zeroIdx:o}}(t,e||_),n=function(t,e,i){var s,n=[],r=e[e.length-1],a=e[0];for(;t.nodeCount();){for(;s=a.dequeue();)T(t,e,i,s);for(;s=r.dequeue();)T(t,e,i,s);if(t.nodeCount())for(var o=e.length-2;o>0;--o)if(s=e[o].dequeue()){n=n.concat(T(t,e,i,s,!0));break}}return n}(i.graph,i.buckets,i.zeroIdx);return l.A(u.A(n,function(e){return t.outEdges(e.v,e.w)}))}function T(t,e,i,n,r){var a=r?[]:void 0;return s.A(t.inEdges(n.v),function(s){var n=t.edge(s),o=t.node(s.v);r&&a.push({v:s.v,w:s.w}),o.out-=n,x(e,i,o)}),s.A(t.outEdges(n.v),function(s){var n=t.edge(s),r=s.w,a=t.node(r);a.in-=n,x(e,i,a)}),t.removeNode(n.v),a}function x(t,e,i){i.out?i.in?t[i.out-i.in+e].enqueue(i):t[t.length-1].enqueue(i):t[0].enqueue(i)}function k(t){var e="greedy"===t.graph().acyclicer?w(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],i={},n={};function r(a){Object.prototype.hasOwnProperty.call(n,a)||(n[a]=!0,i[a]=!0,s.A(t.outEdges(a),function(t){Object.prototype.hasOwnProperty.call(i,t.w)?e.push(t):r(t.w)}),delete i[a])}return s.A(t.nodes(),r),e}(t);s.A(e,function(e){var i=t.edge(e);
1t.removeEdge(e),i.forwardName=e.name,i.reversed=!0,t.setEdge(e.w,e.v,i,a("rev"))})}var D=i(30394),A=i(20902),C=i(57137);var S=function(t,e){return(0,A.A)(t,e,function(e,i){return(0,C.A)(t,i)})},P=i(32426),E=i(52015);var O=function(t){return(0,E.A)((0,P.A)(t,void 0,l.A),t+"")}(function(t,e){return null==t?{}:S(t,e)}),I=i(5237),R=i(13884);var B=function(t,e){return t>e},F=i(56117);var L=function(t){return t&&t.length?(0,R.A)(t,F.A,B):void 0},N=i(48663),M=i(35745),j=i(94578),$=i(4090);var H=function(t,e){var i={};return e=(0,$.A)(e,3),(0,j.A)(t,function(t,s,n){(0,M.A)(i,s,e(t,s,n))}),i},U=i(60707),G=i(22675),K=i(44899),W=i(57454),z=function(){return W.A.Date.now()};function V(t,e,i,s){var n;do{n=a(s)}while(t.hasNode(n));return i.dummy=e,t.setNode(n,i),n}function Y(t){var e=new m.T({multigraph:t.isMultigraph()}).setGraph(t.graph());return s.A(t.nodes(),function(i){t.children(i).length||e.setNode(i,t.node(i))}),s.A(t.edges(),function(i){e.setEdge(i,t.edge(i))}),e}function Q(t,e){var i,s,n=t.x,r=t.y,a=e.x-n,o=e.y-r,l=t.width/2,u=t.height/2;if(!a&&!o)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(o)*l>Math.abs(a)*u?(o<0&&(u=-u),i=u*a/o,s=u):(a<0&&(l=-l),i=l,s=l*o/a),{x:n+i,y:r+s}}function X(t){var e=u.A(f(q(t)+1),function(){return[]});return s.A(t.nodes(),function(i){var s=t.node(i),n=s.rank;U.A(n)||(e[n][s.order]=i)}),e}function Z(t,e,i,s){var n={width:0,height:0};return arguments.length>=4&&(n.rank=i,n.order=s),V(t,"border",n,e)}function q(t){return L(u.A(t.nodes(),function(e){var i=t.node(e).rank;if(!U.A(i))return i}))}function J(t,e){var i=z();try{return e()}finally{console.log(t+" time: "+(z()-i)+"ms")}}function tt(t,e){return e()}function et(t,e,i,s,n,r){var a={width:0,height:0,rank:r,borderType:e},o=n[e][r-1],l=V(t,"border",a,i);n[e][r]=l,t.setParent(l,s),o&&t.setEdge(o,l,{weight:1})}function it(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){s.A(t.nodes(),function(e){rt(t.node(e))}),s.A(t.edges(),function(e){var i=t.edge(e);s.A(i.points,rt),Object.prototype.hasOwnProperty.call(i,"y")&&rt(i)})}(t),"lr"!==e&&"rl"!==e||(!function(t){s.A(t.nodes(),function(e){at(t.node(e))}),s.A(t.edges(),function(e){var i=t.edge(e);s.A(i.points,at),Object.prototype.hasOwnProperty.call(i,"x")&&at(i)})}(t),st(t))}function st(t){s.A(t.nodes(),function(e){nt(t.node(e))}),s.A(t.edges(),function(e){nt(t.edge(e))})}function nt(t){var e=t.width;t.width=t.height,t.height=e}function rt(t){t.y=-t.y}function at(t){var e=t.x;t.x=t.y,t.y=e}function ot(t){t.graph().dummyChains=[],s.A(t.edges(),function(e){!function(t,e){var i=e.v,s=t.node(i).rank,n=e.w,r=t.node(n).rank,a=e.name,o=t.edge(e),l=o.labelRank;if(r===s+1)return;t.removeEdge(e);var u,h,c=void 0;for(h=0,++s;s<r;++h,++s)o.points=[],u=V(t,"edge",c={width:0,height:0,edgeLabel:o,edgeObj:e,rank:s},"_d"),s===l&&(c.width=o.width,c.height=o.height,c.dummy="edge-label",c.labelpos=o.labelpos),t.setEdge(i,u,{weight:o.weight},a),0===h&&t.graph().dummyChains.push(u),i=u;t.setEdge(i,n,{weight:o.weight},a)}(t,e)})}var lt=i(23855);var ut=function(t,e){return t&&t.length?(0,R.A)(t,(0,$.A)(e,2),lt.A):void 0};function ht(t){var e={};s.A(t.sources(),function i(s){var n=t.node(s);if(Object.prototype.hasOwnProperty.call(e,s))return n.rank;e[s]=!0;var r=G.A(u.A(t.outEdges(s),function(e){return i(e.w)-t.edge(e).minlen}));return r!==Number.POSITIVE_INFINITY&&null!=r||(r=0),n.rank=r})}function ct(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function dt(t){var e,i,s=new m.T({directed:!1}),n=t.nodes()[0],r=t.nodeCount();for(s.setNode(n,{});pt(s,t)<r;)e=gt(s,t),i=s.hasNode(e.v)?ct(t,e):-ct(t,e),ft(s,t,i);return s}function pt(t,e){return s.A(t.nodes(),function i(n){s.A(e.nodeEdges(n),function(s){var r=s.v,a=n===r?s.w:r;t.hasNode(a)||ct(e,s)||(t.setNode(a,{}),t.setEdge(n,a,{}),i(a))})}),t.nodeCount()}function gt(t,e){return ut(e.edges(),function(i){if(t.hasNode(i.v)!==t.hasNode(i.w))return ct(e,i)})}function ft(t,e,i){s.A(t.nodes(),function(t){e.node(t).rank+=i})}var mt=i(52354),yt=i(89949);o.A(1);o.A(1);i(39128),i(15504),i(42849),i(50586),(0,i(43818).A)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var bt="\\ud800-\\udfff",vt="["+bt+"]",_t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",wt="\\ud83c[\\udffb-\\udfff]",Tt="[^"+bt+"]",xt="(?:\\ud83c[\\udde6-\\uddff]){2}",kt="[\\ud800-\\udbff][\\udc00-\\udfff]",Dt="(?:"+_t+"|"+wt+")"+"?",At="[\\ufe0e\\ufe0f]?",Ct=At+Dt+("(?:\\u200d(?:"+[Tt,xt,kt].join("|")+")"+At+Dt+")*"),St="(?:"+[Tt+_t+"?",_t,xt,kt,vt].join("|")+")";RegExp(wt+"(?="+wt+")|"+St+Ct,"g");function Pt(){}Pt.prototype=new Error;var Et=i(95526);function Ot(t,e,i){Et.A(e)||(e=[e]);var n=(t.isDirected()?t.successors:t.neighbors).bind(t),r=[],a={};return s.A(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);It(t,e,"post"===i,a,n,r)}),r}function It(t,e,i,n,r,a){Object.prototype.hasOwnProperty.call(n,e)||(n[e]=!0,i||a.push(e),s.A(r(e),function(e){It(t,e,i,n,r,a)}),i&&a.push(e))}i(12991);function Rt(t){t=function(t){var e=(new m.T).setGraph(t.graph());return s.A(t.nodes(),function(i){e.setNode(i,t.node(i))}),s.A(t.edges(),function(i){var s=e.edge(i.v,i.w)||{weight:0,minlen:1},n=t.edge(i);e.setEdge(i.v,i.w,{weight:s.weight+n.weight,minlen:Math.max(s.minlen,n.minlen)})}),e}(t),ht(t);var e,i=dt(t);for(Lt(i),Bt(i,t);e=Mt(i);)$t(i,t,e,jt(i,t,e))}function Bt(t,e){var i=function(t,e){return Ot(t,e,"post")}(t,t.nodes());
1i=i.slice(0,i.length-1),s.A(i,function(i){!function(t,e,i){var s=t.node(i),n=s.parent;t.edge(i,n).cutvalue=Ft(t,e,i)}(t,e,i)})}function Ft(t,e,i){var n=t.node(i).parent,r=!0,a=e.edge(i,n),o=0;return a||(r=!1,a=e.edge(n,i)),o=a.weight,s.A(e.nodeEdges(i),function(s){var a,l,u=s.v===i,h=u?s.w:s.v;if(h!==n){var c=u===r,d=e.edge(s).weight;if(o+=c?d:-d,a=i,l=h,t.hasEdge(a,l)){var p=t.edge(i,h).cutvalue;o+=c?-p:p}}}),o}function Lt(t,e){arguments.length<2&&(e=t.nodes()[0]),Nt(t,{},1,e)}function Nt(t,e,i,n,r){var a=i,o=t.node(n);return e[n]=!0,s.A(t.neighbors(n),function(s){Object.prototype.hasOwnProperty.call(e,s)||(i=Nt(t,e,i,s,n))}),o.low=a,o.lim=i++,r?o.parent=r:delete o.parent,i}function Mt(t){return mt.A(t.edges(),function(e){return t.edge(e).cutvalue<0})}function jt(t,e,i){var s=i.v,n=i.w;e.hasEdge(s,n)||(s=i.w,n=i.v);var r=t.node(s),a=t.node(n),o=r,l=!1;r.lim>a.lim&&(o=a,l=!0);var u=yt.A(e.edges(),function(e){return l===Ht(t,t.node(e.v),o)&&l!==Ht(t,t.node(e.w),o)});return ut(u,function(t){return ct(e,t)})}function $t(t,e,i,n){var r=i.v,a=i.w;t.removeEdge(r,a),t.setEdge(n.v,n.w,{}),Lt(t),Bt(t,e),function(t,e){var i=mt.A(t.nodes(),function(t){return!e.node(t).parent}),n=function(t,e){return Ot(t,e,"pre")}(t,i);n=n.slice(1),s.A(n,function(i){var s=t.node(i).parent,n=e.edge(i,s),r=!1;n||(n=e.edge(s,i),r=!0),e.node(i).rank=e.node(s).rank+(r?n.minlen:-n.minlen)})}(t,e)}function Ht(t,e,i){return i.low<=e.lim&&e.lim<=i.lim}function Ut(t){switch(t.graph().ranker){case"network-simplex":default:Kt(t);break;case"tight-tree":!function(t){ht(t),dt(t)}(t);break;case"longest-path":Gt(t)}}Rt.initLowLimValues=Lt,Rt.initCutValues=Bt,Rt.calcCutValue=Ft,Rt.leaveEdge=Mt,Rt.enterEdge=jt,Rt.exchangeEdges=$t;var Gt=ht;function Kt(t){Rt(t)}var Wt=i(17717),zt=i(20693);function Vt(t){var e=V(t,"root",{},"_root"),i=function(t){var e={};function i(n,r){var a=t.children(n);a&&a.length&&s.A(a,function(t){i(t,r+1)}),e[n]=r}return s.A(t.children(),function(t){i(t,1)}),e}(t),n=L(Wt.A(i))-1,r=2*n+1;t.graph().nestingRoot=e,s.A(t.edges(),function(e){t.edge(e).minlen*=r});var a=function(t){return zt.A(t.edges(),function(e,i){return e+t.edge(i).weight},0)}(t)+1;s.A(t.children(),function(s){Yt(t,e,r,a,n,i,s)}),t.graph().nodeRankFactor=r}function Yt(t,e,i,n,r,a,o){var l=t.children(o);if(l.length){var u=Z(t,"_bt"),h=Z(t,"_bb"),c=t.node(o);t.setParent(u,o),c.borderTop=u,t.setParent(h,o),c.borderBottom=h,s.A(l,function(s){Yt(t,e,i,n,r,a,s);var l=t.node(s),c=l.borderTop?l.borderTop:s,d=l.borderBottom?l.borderBottom:s,p=l.borderTop?n:2*n,g=c!==d?1:r-a[o]+1;t.setEdge(u,c,{weight:p,minlen:g,nestingEdge:!0}),t.setEdge(d,h,{weight:p,minlen:g,nestingEdge:!0})}),t.parent(o)||t.setEdge(e,u,{weight:0,minlen:r+a[o]})}else o!==e&&t.setEdge(e,o,{weight:0,minlen:i})}var Qt=i(36492);function Xt(t,e,i){var n=function(t){var e;for(;t.hasNode(e=a("_root")););return e}(t),r=new m.T({compound:!0}).setGraph({root:n}).setDefaultNodeLabel(function(e){return t.node(e)});return s.A(t.nodes(),function(a){var o=t.node(a),l=t.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(r.setNode(a),r.setParent(a,l||n),s.A(t[i](a),function(e){var i=e.v===a?e.w:e.v,s=r.edge(i,a),n=U.A(s)?0:s.weight;r.setEdge(i,a,{weight:t.edge(e).weight+n})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&r.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),r}var Zt=i(63406);var qt=function(t,e,i){for(var s=-1,n=t.length,r=e.length,a={};++s<n;){var o=s<r?e[s]:void 0;i(a,t[s],o)}return a};var Jt=function(t,e){return qt(t||[],e||[],Zt.A)},te=i(95992),ee=i(22663),ie=i(80499),se=i(31361);var ne=function(t,e){var i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t},re=i(5220),ae=i(13027);var oe=function(t,e){if(t!==e){var i=void 0!==t,s=null===t,n=t==t,r=(0,ae.A)(t),a=void 0!==e,o=null===e,l=e==e,u=(0,ae.A)(e);if(!o&&!u&&!r&&t>e||r&&a&&l&&!o&&!u||s&&a&&l||!i&&l||!n)return 1;if(!s&&!r&&!u&&t<e||u&&i&&n&&!s&&!r||o&&i&&n||!a&&n||!l)return-1}return 0};var le=function(t,e,i){for(var s=-1,n=t.criteria,r=e.criteria,a=n.length,o=i.length;++s<a;){var l=oe(n[s],r[s]);if(l)return s>=o?l:l*("desc"==i[s]?-1:1)}return t.index-e.index};
1var ue=function(t,e,i){e=e.length?(0,ee.A)(e,function(t){return(0,Et.A)(t)?function(e){return(0,ie.A)(e,1===t.length?t[0]:t)}:t}):[F.A];var s=-1;e=(0,ee.A)(e,(0,re.A)($.A));var n=(0,se.A)(t,function(t,i,n){return{criteria:(0,ee.A)(e,function(e){return e(t)}),index:++s,value:t}});return ne(n,function(t,e){return le(t,e,i)})},he=(0,i(34713).A)(function(t,e){if(null==t)return[];var i=e.length;return i>1&&(0,p.A)(t,e[0],e[1])?e=[]:i>2&&(0,p.A)(e[0],e[1],e[2])&&(e=[e[0]]),ue(t,(0,te.A)(e,1),[])});function ce(t,e){for(var i=0,s=1;s<e.length;++s)i+=de(t,e[s-1],e[s]);return i}function de(t,e,i){for(var n=Jt(i,u.A(i,function(t,e){return e})),r=l.A(u.A(e,function(e){return he(u.A(t.outEdges(e),function(e){return{pos:n[e.w],weight:t.edge(e).weight}}),"pos")})),a=1;a<i.length;)a<<=1;var o=2*a-1;a-=1;var h=u.A(new Array(o),function(){return 0}),c=0;return s.A(r.forEach(function(t){var e=t.pos+a;h[e]+=t.weight;for(var i=0;e>0;)e%2&&(i+=h[e+1]),h[e=e-1>>1]+=t.weight;c+=t.weight*i})),c}function pe(t,e){var i={};return s.A(t,function(t,e){var s=i[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};U.A(t.barycenter)||(s.barycenter=t.barycenter,s.weight=t.weight)}),s.A(e.edges(),function(t){var e=i[t.v],s=i[t.w];U.A(e)||U.A(s)||(s.indegree++,e.out.push(i[t.w]))}),function(t){var e=[];function i(t){return function(e){e.merged||(U.A(e.barycenter)||U.A(t.barycenter)||e.barycenter>=t.barycenter)&&function(t,e){var i=0,s=0;t.weight&&(i+=t.barycenter*t.weight,s+=t.weight);e.weight&&(i+=e.barycenter*e.weight,s+=e.weight);t.vs=e.vs.concat(t.vs),t.barycenter=i/s,t.weight=s,t.i=Math.min(e.i,t.i),e.merged=!0}(t,e)}}function n(e){return function(i){i.in.push(e),0===--i.indegree&&t.push(i)}}for(;t.length;){var r=t.pop();e.push(r),s.A(r.in.reverse(),i(r)),s.A(r.out,n(r))}return u.A(yt.A(e,function(t){return!t.merged}),function(t){return O(t,["vs","i","barycenter","weight"])})}(yt.A(i,function(t){return!t.indegree}))}function ge(t,e){var i,n=function(t,e){var i={lhs:[],rhs:[]};return s.A(t,function(t){e(t)?i.lhs.push(t):i.rhs.push(t)}),i}(t,function(t){return Object.prototype.hasOwnProperty.call(t,"barycenter")}),r=n.lhs,a=he(n.rhs,function(t){return-t.i}),o=[],u=0,h=0,c=0;r.sort((i=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:i?e.i-t.i:t.i-e.i})),c=fe(o,a,c),s.A(r,function(t){c+=t.vs.length,o.push(t.vs),u+=t.barycenter*t.weight,h+=t.weight,c=fe(o,a,c)});var d={vs:l.A(o)};return h&&(d.barycenter=u/h,d.weight=h),d}function fe(t,e,i){for(var s;e.length&&(s=N.A(e)).i<=i;)e.pop(),t.push(s.vs),i++;return i}function me(t,e,i,n){var r=t.children(e),a=t.node(e),o=a?a.borderLeft:void 0,h=a?a.borderRight:void 0,c={};o&&(r=yt.A(r,function(t){return t!==o&&t!==h}));var d=function(t,e){return u.A(e,function(e){var i=t.inEdges(e);if(i.length){var s=zt.A(i,function(e,i){var s=t.edge(i),n=t.node(i.v);return{sum:e.sum+s.weight*n.order,weight:e.weight+s.weight}},{sum:0,weight:0});return{v:e,barycenter:s.sum/s.weight,weight:s.weight}}return{v:e}})}(t,r);s.A(d,function(e){if(t.children(e.v).length){var s=me(t,e.v,i,n);c[e.v]=s,Object.prototype.hasOwnProperty.call(s,"barycenter")&&(r=e,a=s,U.A(r.barycenter)?(r.barycenter=a.barycenter,r.weight=a.weight):(r.barycenter=(r.barycenter*r.weight+a.barycenter*a.weight)/(r.weight+a.weight),r.weight+=a.weight))}var r,a});var p=pe(d,i);!function(t,e){s.A(t,function(t){t.vs=l.A(t.vs.map(function(t){return e[t]?e[t].vs:t}))})}(p,c);var g=ge(p,n);if(o&&(g.vs=l.A([o,g.vs,h]),t.predecessors(o).length)){var f=t.node(t.predecessors(o)[0]),m=t.node(t.predecessors(h)[0]);Object.prototype.hasOwnProperty.call(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+f.order+m.order)/(g.weight+2),g.weight+=2}return g}function ye(t){var e=q(t),i=be(t,f(1,e+1),"inEdges"),n=be(t,f(e-1,-1,-1),"outEdges"),r=function(t){var e={},i=yt.A(t.nodes(),function(e){return!t.children(e).length}),n=L(u.A(i,function(e){return t.node(e).rank})),r=u.A(f(n+1),function(){return[]}),a=he(i,function(e){return t.node(e).rank});return s.A(a,function i(n){if(!K.A(e,n)){e[n]=!0;var a=t.node(n);r[a.rank].push(n),s.A(t.successors(n),i)}}),r}(t);_e(t,r);for(var a,o=Number.POSITIVE_INFINITY,l=0,h=0;h<4;++l,++h){ve(l%2?i:n,l%4>=2);var c=ce(t,r=X(t));c<o&&(h=0,a=Qt.A(r),o=c)}_e(t,a)}function be(t,e,i){return u.A(e,function(e){return Xt(t,e,i)})}function ve(t,e){var i=new m.T;s.A(t,function(t){var n=t.graph().root,r=me(t,n,i,e);s.A(r.vs,function(e,i){t.node(e).order=i}
1),function(t,e,i){var n,r={};s.A(i,function(i){for(var s,a,o=t.parent(i);o;){if((s=t.parent(o))?(a=r[s],r[s]=o):(a=n,n=o),a&&a!==o)return void e.setEdge(a,o);o=s}})}(t,i,r.vs)})}function _e(t,e){s.A(e,function(e){s.A(e,function(e,i){t.node(e).order=i})})}function we(t){var e=function(t){var e={},i=0;function n(r){var a=i;s.A(t.children(r),n),e[r]={low:a,lim:i++}}return s.A(t.children(),n),e}(t);s.A(t.graph().dummyChains,function(i){for(var s=t.node(i),n=s.edgeObj,r=function(t,e,i,s){var n,r,a=[],o=[],l=Math.min(e[i].low,e[s].low),u=Math.max(e[i].lim,e[s].lim);n=i;do{n=t.parent(n),a.push(n)}while(n&&(e[n].low>l||u>e[n].lim));r=n,n=s;for(;(n=t.parent(n))!==r;)o.push(n);return{path:a.concat(o.reverse()),lca:r}}(t,e,n.v,n.w),a=r.path,o=r.lca,l=0,u=a[l],h=!0;i!==n.w;){if(s=t.node(i),h){for(;(u=a[l])!==o&&t.node(u).maxRank<s.rank;)l++;u===o&&(h=!1)}if(!h){for(;l<a.length-1&&t.node(u=a[l+1]).minRank<=s.rank;)l++;u=a[l]}t.setParent(i,u),i=t.successors(i)[0]}})}var Te=i(86413);var xe=function(t,e){return t&&(0,j.A)(t,(0,Te.A)(e))},ke=i(52807),De=i(4428);var Ae=function(t,e){return null==t?t:(0,ke.A)(t,(0,Te.A)(e),De.A)};function Ce(t,e){var i={};return zt.A(e,function(e,n){var r=0,a=0,o=e.length,l=N.A(n);return s.A(n,function(e,u){var h=function(t,e){if(t.node(e).dummy)return mt.A(t.predecessors(e),function(e){return t.node(e).dummy})}(t,e),c=h?t.node(h).order:o;(h||e===l)&&(s.A(n.slice(a,u+1),function(e){s.A(t.predecessors(e),function(s){var n=t.node(s),a=n.order;!(a<r||c<a)||n.dummy&&t.node(e).dummy||Se(i,s,e)})}),a=u+1,r=c)}),n}),i}function Se(t,e,i){if(e>i){var s=e;e=i,i=s}var n=t[e];n||(t[e]=n={}),n[i]=!0}function Pe(t,e,i){if(e>i){var s=e;e=i,i=s}return!!t[e]&&Object.prototype.hasOwnProperty.call(t[e],i)}function Ee(t,e,i,n,r){var a={},o=function(t,e,i,n){var r=new m.T,a=t.graph(),o=function(t,e,i){return function(s,n,r){var a,o=s.node(n),l=s.node(r),u=0;if(u+=o.width/2,Object.prototype.hasOwnProperty.call(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":a=-o.width/2;break;case"r":a=o.width/2}if(a&&(u+=i?a:-a),a=0,u+=(o.dummy?e:t)/2,u+=(l.dummy?e:t)/2,u+=l.width/2,Object.prototype.hasOwnProperty.call(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":a=l.width/2;break;case"r":a=-l.width/2}return a&&(u+=i?a:-a),a=0,u}}(a.nodesep,a.edgesep,n);return s.A(e,function(e){var n;s.A(e,function(e){var s=i[e];if(r.setNode(s),n){var a=i[n],l=r.edge(a,s);r.setEdge(a,s,Math.max(o(t,e,n),l||0))}n=e})}),r}(t,e,i,r),l=r?"borderLeft":"borderRight";function u(t,e){for(var i=o.nodes(),s=i.pop(),n={};s;)n[s]?t(s):(n[s]=!0,i.push(s),i=i.concat(e(s))),s=i.pop()}return u(function(t){a[t]=o.inEdges(t).reduce(function(t,e){return Math.max(t,a[e.v]+o.edge(e))},0)},o.predecessors.bind(o)),u(function(e){var i=o.outEdges(e).reduce(function(t,e){return Math.min(t,a[e.w]-o.edge(e))},Number.POSITIVE_INFINITY),s=t.node(e);i!==Number.POSITIVE_INFINITY&&s.borderType!==l&&(a[e]=Math.max(a[e],i))},o.successors.bind(o)),s.A(n,function(t){a[t]=a[i[t]]}),a}function Oe(t){var e,i=X(t),n=D.A(Ce(t,i),function(t,e){var i={};function n(e,n,r,a,o){var l;s.A(f(n,r),function(n){l=e[n],t.node(l).dummy&&s.A(t.predecessors(l),function(e){var s=t.node(e);s.dummy&&(s.order<a||s.order>o)&&Se(i,e,l)})})}return zt.A(e,function(e,i){var r,a=-1,o=0;return s.A(i,function(s,l){if("border"===t.node(s).dummy){var u=t.predecessors(s);u.length&&(r=t.node(u[0]).order,n(i,o,l,a,r),o=l,a=r)}n(i,o,i.length,r,e.length)}),i}),i}(t,i)),r={};s.A(["u","d"],function(a){e="u"===a?i:Wt.A(i).reverse(),s.A(["l","r"],function(i){"r"===i&&(e=u.A(e,function(t){return Wt.A(t).reverse()}));var o=("u"===a?t.predecessors:t.successors).bind(t),l=function(t,e,i,n){var r={},a={},o={};return s.A(e,function(t){s.A(t,function(t,e){r[t]=t,a[t]=t,o[t]=e})}),s.A(e,function(t){var e=-1;s.A(t,function(t){var s=n(t);if(s.length){s=he(s,function(t){return o[t]});for(var l=(s.length-1)/2,u=Math.floor(l),h=Math.ceil(l);u<=h;++u){var c=s[u];a[t]===t&&e<o[c]&&!Pe(i,t,c)&&(a[c]=t,a[t]=r[t]=r[c],e=o[c])}}})}),{root:r,align:a}}(0,e,n,o),h=Ee(t,e,l.root,l.align,"r"===i);"r"===i&&(h=H(h,function(t){return-t})),r[a+i]=h})});var a=function(t,e){return ut(Wt.A(e),function(e){var i=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY;return Ae(e,function(e,n){var r=function(t,e){return t.node(e).width}(t,n)/2;i=Math.max(e+r,i),s=Math.min(e-r,s)}),i-s})}(t,r);return function(t,e){var i=Wt.A(e),n=G.A(i),r=L(i);s.A(["u","d"],function(i){s.A(["l","r"],function(s){var a,o=i+s,l=t[o];if(l!==e){var u=Wt.A(l);(a="l"===s?n-G.A(u):r-L(u))&&(t[o]=H(l,function(t){return t+a}))}})})}(r,a),function(t,e){return H(t.ul,function(i,s){if(e)return t[e.toLowerCase()][s];var n=he(u.A(t,s));return(n[1]+n[2])/2})}(r,t.graph().align)}function Ie(t){(function(t){var e=X(t),i=t.graph().ranksep,n=0;s.A(e,function(e){var r=L(u.A(e,function(e){return t.node(e).height}));s.A(e,function(e){t.node(e).y=n+r/2}),n+=r+i})})(t=Y(t)),xe(Oe(t),function(e,i){t.node(i).x=e})}function Re(t,e){var i=e&&e.debugTiming?J:tt;i("layout",()=>{var e=i("  buildLayoutGraph",()=>function(t){var e=new m.T({multigraph:!0,compound:!0}),i=Ge(t.graph());return e.setGraph(D.A({},Fe,Ue(i,Be),O(i,Le))),s.A(t.nodes(),function(i){var s=Ge(t.node(i));e.setNode(i,I.A(Ue(s,Ne),Me)),e.setParent(i,t.parent(i))}),s.A(t.edges(),function(i){var s=Ge(t.edge(i));e.setEdge(i,D.A({},$e,Ue(s,je),O(s,He)))}),e}(t));i("  runLayout",()=>function(t,e){e("    makeSpaceForEdgeLabels",()=>function(t){var e=t.graph();e.ranksep/=2,s.A(t.edges(),function(i){var s=t.edge(i);s.minlen*=2,"c"!==s.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?s.width+=s.labeloffset:s.height+=s.labeloffset)})}(t)),e("    removeSelfEdges",()=>function(t){s.A(t.edges(),function(e){if(e.v===e.w){var i=t.node(e.v);i.selfEdges||(i.selfEdges=[]),i.selfEdges.push({e:e,label:t.edge(e)}
1),t.removeEdge(e)}})}(t)),e("    acyclic",()=>k(t)),e("    nestingGraph.run",()=>Vt(t)),e("    rank",()=>Ut(Y(t))),e("    injectEdgeLabelProxies",()=>function(t){s.A(t.edges(),function(e){var i=t.edge(e);if(i.width&&i.height){var s=t.node(e.v),n={rank:(t.node(e.w).rank-s.rank)/2+s.rank,e:e};V(t,"edge-proxy",n,"_ep")}})}(t)),e("    removeEmptyRanks",()=>function(t){var e=G.A(u.A(t.nodes(),function(e){return t.node(e).rank})),i=[];s.A(t.nodes(),function(s){var n=t.node(s).rank-e;i[n]||(i[n]=[]),i[n].push(s)});var n=0,r=t.graph().nodeRankFactor;s.A(i,function(e,i){U.A(e)&&i%r!==0?--n:n&&s.A(e,function(e){t.node(e).rank+=n})})}(t)),e("    nestingGraph.cleanup",()=>function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,s.A(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}(t)),e("    normalizeRanks",()=>function(t){var e=G.A(u.A(t.nodes(),function(e){return t.node(e).rank}));s.A(t.nodes(),function(i){var s=t.node(i);K.A(s,"rank")&&(s.rank-=e)})}(t)),e("    assignRankMinMax",()=>function(t){var e=0;s.A(t.nodes(),function(i){var s=t.node(i);s.borderTop&&(s.minRank=t.node(s.borderTop).rank,s.maxRank=t.node(s.borderBottom).rank,e=L(e,s.maxRank))}),t.graph().maxRank=e}(t)),e("    removeEdgeLabelProxies",()=>function(t){s.A(t.nodes(),function(e){var i=t.node(e);"edge-proxy"===i.dummy&&(t.edge(i.e).labelRank=i.rank,t.removeNode(e))})}(t)),e("    normalize.run",()=>ot(t)),e("    parentDummyChains",()=>we(t)),e("    addBorderSegments",()=>function(t){s.A(t.children(),function e(i){var n=t.children(i),r=t.node(i);if(n.length&&s.A(n,e),Object.prototype.hasOwnProperty.call(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var a=r.minRank,o=r.maxRank+1;a<o;++a)et(t,"borderLeft","_bl",i,r,a),et(t,"borderRight","_br",i,r,a)}})}(t)),e("    order",()=>ye(t)),e("    insertSelfEdges",()=>function(t){var e=X(t);s.A(e,function(e){var i=0;s.A(e,function(e,n){var r=t.node(e);r.order=n+i,s.A(r.selfEdges,function(e){V(t,"selfedge",{width:e.label.width,height:e.label.height,rank:r.rank,order:n+ ++i,e:e.e,label:e.label},"_se")}),delete r.selfEdges})})}(t)),e("    adjustCoordinateSystem",()=>function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||st(t)}(t)),e("    position",()=>Ie(t)),e("    positionSelfEdges",()=>function(t){s.A(t.nodes(),function(e){var i=t.node(e);if("selfedge"===i.dummy){var s=t.node(i.e.v),n=s.x+s.width/2,r=s.y,a=i.x-n,o=s.height/2;t.setEdge(i.e,i.label),t.removeNode(e),i.label.points=[{x:n+2*a/3,y:r-o},{x:n+5*a/6,y:r-o},{x:n+a,y:r},{x:n+5*a/6,y:r+o},{x:n+2*a/3,y:r+o}],i.label.x=i.x,i.label.y=i.y}})}(t)),e("    removeBorderNodes",()=>function(t){s.A(t.nodes(),function(e){if(t.children(e).length){var i=t.node(e),s=t.node(i.borderTop),n=t.node(i.borderBottom),r=t.node(N.A(i.borderLeft)),a=t.node(N.A(i.borderRight));i.width=Math.abs(a.x-r.x),i.height=Math.abs(n.y-s.y),i.x=r.x+i.width/2,i.y=s.y+i.height/2}}),s.A(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}(t)),e("    normalize.undo",()=>function(t){s.A(t.graph().dummyChains,function(e){var i,s=t.node(e),n=s.edgeLabel;for(t.setEdge(s.edgeObj,n);s.dummy;)i=t.successors(e)[0],t.removeNode(e),n.points.push({x:s.x,y:s.y}),"edge-label"===s.dummy&&(n.x=s.x,n.y=s.y,n.width=s.width,n.height=s.height),e=i,s=t.node(e)})}(t)),e("    fixupEdgeLabelCoords",()=>function(t){s.A(t.edges(),function(e){var i=t.edge(e);if(Object.prototype.hasOwnProperty.call(i,"x"))switch("l"!==i.labelpos&&"r"!==i.labelpos||(i.width-=i.labeloffset),i.labelpos){case"l":i.x-=i.width/2+i.labeloffset;break;case"r":i.x+=i.width/2+i.labeloffset}})}(t)),e("    undoCoordinateSystem",()=>it(t)),e("    translateGraph",()=>function(t){var e=Number.POSITIVE_INFINITY,i=0,n=Number.POSITIVE_INFINITY,r=0,a=t.graph(),o=a.marginx||0,l=a.marginy||0;function u(t){var s=t.x,a=t.y,o=t.width,l=t.height;e=Math.min(e,s-o/2),i=Math.max(i,s+o/2),n=Math.min(n,a-l/2),r=Math.max(r,a+l/2)}
1s.A(t.nodes(),function(e){u(t.node(e))}),s.A(t.edges(),function(e){var i=t.edge(e);Object.prototype.hasOwnProperty.call(i,"x")&&u(i)}),e-=o,n-=l,s.A(t.nodes(),function(i){var s=t.node(i);s.x-=e,s.y-=n}),s.A(t.edges(),function(i){var r=t.edge(i);s.A(r.points,function(t){t.x-=e,t.y-=n}),Object.prototype.hasOwnProperty.call(r,"x")&&(r.x-=e),Object.prototype.hasOwnProperty.call(r,"y")&&(r.y-=n)}),a.width=i-e+o,a.height=r-n+l}(t)),e("    assignNodeIntersects",()=>function(t){s.A(t.edges(),function(e){var i,s,n=t.edge(e),r=t.node(e.v),a=t.node(e.w);n.points?(i=n.points[0],s=n.points[n.points.length-1]):(n.points=[],i=a,s=r),n.points.unshift(Q(r,i)),n.points.push(Q(a,s))})}(t)),e("    reversePoints",()=>function(t){s.A(t.edges(),function(e){var i=t.edge(e);i.reversed&&i.points.reverse()})}(t)),e("    acyclic.undo",()=>function(t){s.A(t.edges(),function(e){var i=t.edge(e);if(i.reversed){t.removeEdge(e);var s=i.forwardName;delete i.reversed,delete i.forwardName,t.setEdge(e.w,e.v,i,s)}})}(t))}(e,i)),i("  updateInputGraph",()=>function(t,e){s.A(t.nodes(),function(i){var s=t.node(i),n=e.node(i);s&&(s.x=n.x,s.y=n.y,e.children(i).length&&(s.width=n.width,s.height=n.height))}),s.A(t.edges(),function(i){var s=t.edge(i),n=e.edge(i);s.points=n.points,Object.prototype.hasOwnProperty.call(n,"x")&&(s.x=n.x,s.y=n.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e))})}var Be=["nodesep","edgesep","ranksep","marginx","marginy"],Fe={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Le=["acyclicer","ranker","rankdir","align"],Ne=["width","height"],Me={width:0,height:0},je=["minlen","weight","width","height","labeloffset"],$e={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},He=["labelpos"];function Ue(t,e){return H(O(t,e),Number)}function Ge(t){var e={};return s.A(t,function(t,i){e[i.toLowerCase()]=t}),e}},39183:function(t,e,i){i.d(e,{p:function(){return u},w:function(){return l}});var s=i(11401),n=i(28220),r=i(8298),a=i(7691),o=i(10587);function l(t,e,i,s){t.set(e,i.get(s)),i.on(s,i=>{t.set(e,i)})}class u extends s.S{setupDefaultRules(){super.setupDefaultRules();const t=this._root.language,e=this._root.interfaceColors,i=this._root.horizontalLayout,s=this._root.verticalLayout,u=this.rule.bind(this);u("InterfaceColors").setAll({stroke:r.Q1.fromHex(15066597),fill:r.Q1.fromHex(15987699),primaryButton:r.Q1.fromHex(6788316),primaryButtonHover:r.Q1.fromHex(6779356),primaryButtonDown:r.Q1.fromHex(6872182),primaryButtonActive:r.Q1.fromHex(6872182),primaryButtonDisabled:r.Q1.fromHex(14342874),primaryButtonTextDisabled:r.Q1.fromHex(16777215),primaryButtonText:r.Q1.fromHex(16777215),primaryButtonStroke:r.Q1.fromHex(16777215),secondaryButton:r.Q1.fromHex(14277081),secondaryButtonHover:r.Q1.fromHex(10724259),secondaryButtonDown:r.Q1.fromHex(9276813),secondaryButtonActive:r.Q1.fromHex(15132390),secondaryButtonText:r.Q1.fromHex(0),secondaryButtonStroke:r.Q1.fromHex(16777215),grid:r.Q1.fromHex(0),background:r.Q1.fromHex(16777215),alternativeBackground:r.Q1.fromHex(0),text:r.Q1.fromHex(0),alternativeText:r.Q1.fromHex(16777215),disabled:r.Q1.fromHex(11382189),positive:r.Q1.fromHex(5288704),negative:r.Q1.fromHex(11730944)});{const t=u("ColorSet");t.setAll({passOptions:{hue:.05,saturation:0,lightness:0},colors:[r.Q1.fromHex(6797276)],step:1,reuse:!1,startIndex:0}),t.setPrivate("currentStep",0),t.setPrivate("currentPass",0)}u("Entity").setAll({stateAnimationDuration:0,stateAnimationEasing:o.out(o.cubic)}),u("Component").setAll({interpolationDuration:0,interpolationEasing:o.out(o.cubic)}),u("Sprite").setAll({visible:!0,scale:1,opacity:1,rotation:0,position:"relative",tooltipX:n.yP,tooltipY:n.yP,tooltipPosition:"fixed",isMeasured:!0}),u("Sprite").states.create("default",{visible:!0,opacity:1}),u("Container").setAll({interactiveChildren:!0,setStateOnChildren:!1}),u("Graphics").setAll({strokeWidth:1}),u("Chart").setAll({width:n.Q2,height:n.Q2,interactiveChildren:!1}),u("ZoomableContainer").setAll({width:n.Q2,height:n.Q2,wheelable:!0,pinchZoom:!0,maxZoomLevel:32,minZoomLevel:1,zoomStep:2,animationEasing:o.out(o.cubic),animationDuration:600,maxPanOut:.4}),u("Sprite",["horizontal","center"]).setAll({centerX:n.yP,x:n.yP}),u("Sprite",["vertical","center"]).setAll({centerY:n.yP,y:n.yP}),u("Container",["horizontal","layout"]).setAll({layout:i}),u("Container",["vertical","layout"]).setAll({layout:s}),u("Pattern").setAll({repetition:"repeat",width:50,height:50,rotation:0,fillOpacity:1}),u("LinePattern").setAll({gap:6,colorOpacity:1,width:49,height:49}),u("RectanglePattern").setAll({gap:6,checkered:!1,centered:!0,maxWidth:5,maxHeight:5,width:48,height:48,strokeWidth:0}),u("CirclePattern").setAll({gap:5,checkered:!1,centered:!1,radius:3,strokeWidth:0,width:45,height:45}),u("GrainPattern").setAll({width:200,height:200,colors:[r.Q1.fromHex(0)],size:1,horizontalGap:0,verticalGap:0,density:1,minOpacity:0,maxOpacity:.2});{const t=u("PatternSet");t.setAll({step:1}),l(t,"color",e,"stroke")}u("LinearGradient").setAll({rotation:90}),u("Legend").setAll({fillField:"fill",strokeField:"stroke",nameField:"name",layout:a.J.new(this._root,{}),layer:30,clickTarget:"itemContainer"}),u("Container",["legend","item","itemcontainer"]).setAll({paddingLeft:5,paddingRight:5,paddingBottom:5,paddingTop:5,layout:i,setStateOnChildren:!0,interactiveChildren:!1,ariaChecked:!0,focusable:!0,ariaLabel:t.translate("Press ENTER to toggle"),role:"checkbox"});{const t=u("Rectangle",["legend","item","background"]);t.setAll({fillOpacity:0}),l(t,"fill",e,"background")}u("Container",["legend","marker"]).setAll({setStateOnChildren:!0,centerY:n.yP,paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:0,width:18,height:18}),u("RoundedRectangle",["legend","marker","rectangle"]).setAll({width:n.Q2,height:n.Q2,cornerRadiusBL:3,cornerRadiusTL:3,cornerRadiusBR:3,cornerRadiusTR:3});{const t=u("RoundedRectangle",["legend","marker","rectangle"]).states.create("disabled",{});l(t,"fill",e,"disabled"),l(t,"stroke",e,"disabled")}u("Label",["legend","label"]).setAll({centerY:n.yP,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,populateText:!0});l(u("Label",["legend","label"]).states.create("disabled",{}),"fill",e,"disabled");u("Label",["legend","value","label"]).setAll({centerY:n.yP,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,width:50,centerX:n.Q2,populateText:!0});l(u("Label",["legend","value","label"]).states.create("disabled",{}),"fill",e,"disabled");u("HeatLegend").setAll({stepCount:1}),u("RoundedRectangle",["heatlegend","marker"]).setAll({cornerRadiusTR:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusBL:0}),u("RoundedRectangle",["vertical","heatlegend","marker"]).setAll({height:n.Q2,width:15}),u("RoundedRectangle",["horizontal","heatlegend","marker"]).setAll({width:n.Q2,height:15}),u("HeatLegend",["vertical"]).setAll({height:n.Q2}),u("HeatLegend",["horizontal"]).setAll({width:n.Q2}),u("Label",["heatlegend","start"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5}),u("Label",["heatlegend","end"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5});{const t=u("Label");t.setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontSize:"1em",populateText:!1}),l(t,"fill",e,"text")}u("RadialLabel").setAll({textType:"regular",centerY:n.yP,centerX:n.yP,inside:!1,radius:0,baseRadius:n.Q2,orientation:"auto",textAlign:"center"}),u("EditableLabel").setAll({editOn:"click",themeTags:["editablelabel"],multiLine:!0}),u("RoundedRectangle",["editablelabel","background"]).setAll({fillOpacity:0,fill:r.Q1.fromHex(0),cornerRadiusBL:3,cornerRadiusBR:3,cornerRadiusTL:3,cornerRadiusTR:3,strokeOpacity:0,stroke:r.Q1.fromHex(0)}),u("RoundedRectangle",["editablelabel","background"]).states.create("active",{strokeOpacity:.2}),u("RoundedRectangle").setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8}),u("PointedRectangle").setAll({pointerBaseWidth:15,pointerLength:10,cornerRadius:8}),u("Slice").setAll({shiftRadius:0,dRadius:0,dInnerRadius:0});{const t=u("Tick");t.setAll({strokeOpacity:.15,isMeasured:!1,length:4.5,position:"absolute",crisp:!0}),l(t,"stroke",e,"grid")}u("Bullet").setAll({locationX:.5,locationY:.5}),u("Tooltip").setAll({position:"absolute",getFillFromSprite:!0,getStrokeFromSprite:!1,autoTextColor:!0,paddingTop:9,paddingBottom:8,paddingLeft:10,paddingRight:10,marginBottom:5,pointerOrientation:"vertical",centerX:n.yP,centerY:n.yP,animationEasing:o.out(o.cubic),exportable:!1}),u("Polygon").setAll({animationEasing:o.out(o.cubic)});u("PointedRectangle",["tooltip","background"]).setAll({strokeOpacity:.9,cornerRadius:4,pointerLength:4,pointerBaseWidth:8,fillOpacity:.9,stroke:r.Q1.fromHex(16777215)});{const t=u("Label",["tooltip"]);t.setAll({role:"tooltip",populateText:!0,paddingRight:0,paddingTop:0,paddingLeft:0,paddingBottom:0}),l(t,"fill",e,"alternativeText")}u("Button").setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,interactive:!0,layout:i,interactiveChildren:!1,setStateOnChildren:!0,focusable:!0}),u("Button").states.create("hover",{}),u("Button").states.create("down",{stateAnimationDuration:0}),u("Button").states.create("active",{}),u("Button").states.create("disabled",{forceInactive:!0});{const t=u("RoundedRectangle",["button","background"]);l(t,"fill",e,"primaryButton"),l(t,"stroke",e,"primaryButtonStroke")}l(u("RoundedRectangle",["button","background"]).states.create("hover",{}),"fill",e,"primaryButtonHover");l(u("RoundedRectangle",["button","background"]).states.create("down",{stateAnimationDuration:0}),"fill",e,"primaryButtonDown");l(u("RoundedRectangle",["button","background"]).states.create("active",{}),"fill",e,"primaryButtonActive");l(u("RoundedRectangle",["button","background"]).states.create("disabled",{}),"fill",e,"primaryButtonDisabled");l(u("Graphics",["button","icon"]).states.create("disabled",{}),"fill",e,"primaryButtonTextDisabled");l(u("Label",["button"]).states.create("disabled",{}),"fill",e,"primaryButtonTextDisabled");{const t=u("Graphics",["button","icon"]);t.setAll({forceInactive:!0}),l(t,"stroke",e,"primaryButtonText")}l(u("Label",["button"]),"fill",e,"primaryButtonText");u("Button",["zoom"]).setAll({paddingTop:18,paddingBottom:18,paddingLeft:12,paddingRight:12,centerX:46,centerY:-10,y:0,x:n.Q2,role:"button",ariaLabel:t.translate("Zoom Out"),layer:30});{const t=u("RoundedRectangle",["background","button","zoom"]);t.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),l(t,"fill",e,"primaryButton")}l(u("RoundedRectangle",["background","button","zoom"]).states.create("hover",{}),"fill",e,"primaryButtonHover");l(u("RoundedRectangle",["background","button","zoom"]).states.create("down",{stateAnimationDuration:0}),"fill",e,"primaryButtonDown");{const t=u("Graphics",["icon","button","zoom"]);t.setAll({crisp:!0,strokeOpacity:.7,draw:t=>{t.moveTo(0,0),t.lineTo(12,0)}}),l(t,"stroke",e,"primaryButtonText")}u("Button",["resize"]).setAll({paddingTop:9,paddingBottom:9,paddingLeft:13,paddingRight:13,draggable:!0,centerX:n.yP,centerY:n.yP,position:"absolute",role:"slider",ariaValueMin:"0",ariaValueMax:"100",ariaLabel:t.translate("Use up and down arrows to move selection")});{const t=u("RoundedRectangle",["background","resize","button"]);t.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),l(t,"fill",e,"secondaryButton"),l(t,"stroke",e,"secondaryButtonStroke")}l(u("RoundedRectangle",["background","resize","button"]).states.create("hover",{}),"fill",e,"secondaryButtonHover");l(u("RoundedRectangle",["background","resize","button"]).states.create("down",{stateAnimationDuration:0}),"fill",e,"secondaryButtonDown");{const t=u("Graphics",["resize","button","icon"]);t.setAll({interactive:!1,crisp:!0,strokeOpacity:.5,draw:t=>{t.moveTo(0,.5),t.lineTo(0,12.5),t.moveTo(4,.5),t.lineTo(4,12.5)}}),l(t,"stroke",e,"secondaryButtonText")}u("Button",["resize","vertical"]).setAll({rotation:90,cursorOverStyle:"ns-resize"}),u("Button",["resize","horizontal"]).setAll({cursorOverStyle:"ew-resize"}),u("Button",["play"]).setAll({paddingTop:13,paddingBottom:13,paddingLeft:14,paddingRight:14,ariaLabel:t.translate("Play"),toggleKey:"active"});{const t=u("RoundedRectangle",["play","background"]);t.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),l(t,"fill",e,"primaryButton")}{const t=u("Graphics",["play","icon"]);t.setAll({stateAnimationDuration:0,dx:1,draw:t=>{t.moveTo(0,-5),t.lineTo(8,0),t.lineTo(0,5),t.lineTo(0,-5)}}),l(t,"fill",e,"primaryButtonText")}u("Graphics",["play","icon"]).states.create("default",{stateAnimationDuration:0}),u("Graphics",["play","icon"]).states.create("active",{stateAnimationDuration:0,draw:t=>{t.moveTo(-4,-5),t.lineTo(-1,-5),t.lineTo(-1,5),t.lineTo(-4,5),t.lineTo(-4,-5),t.moveTo(4,-5),t.lineTo(1,-5),t.lineTo(1,5),t.lineTo(4,5),t.lineTo(4,-5)}}),u("Button",["switch"]).setAll({paddingTop:4,paddingBottom:4,paddingLeft:4,paddingRight:4,ariaLabel:t.translate("Press ENTER to toggle"),toggleKey:"active",width:40,height:24,layout:null});{const t=u("RoundedRectangle",["switch","background"]);t.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),l(t,"fill",e,"primaryButton")}{const t=u("Circle",["switch","icon"]);t.setAll({radius:8,centerY:0,centerX:0,dx:0}),l(t,"fill",e,"primaryButtonText")}u("Graphics",["switch","icon"]).states.create("active",{dx:16}),u("Scrollbar").setAll({start:0,end:1,layer:30,animationEasing:o.out(o.cubic)}),u("Scrollbar",["vertical"]).setAll({marginRight:13,marginLeft:13,minWidth:12,height:n.Q2}),u("Scrollbar",["horizontal"]).setAll({marginTop:13,marginBottom:13,minHeight:12,width:n.Q2}),this.rule("Button",["scrollbar"]).setAll({exportable:!1});{const t=u("RoundedRectangle",["scrollbar","main","background"]);t.setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8,fillOpacity:.8}),l(t,"fill",e,"fill")}{const t=u("RoundedRectangle",["scrollbar","thumb"]);t.setAll({role:"slider",ariaLive:"polite",position:"absolute",draggable:!0}),l(t,"fill",e,"secondaryButton")}l(u("RoundedRectangle",["scrollbar","thumb"]).states.create("hover",{}),"fill",e,"secondaryButtonHover");l(u("RoundedRectangle",["scrollbar","thumb"]).states.create("down",{stateAnimationDuration:0}),"fill",e,"secondaryButtonDown");u("RoundedRectangle",["scrollbar","thumb","vertical"]).setAll({x:n.yP,width:n.Q2,centerX:n.yP,ariaLabel:t.translate("Use up and down arrows to move selection")}),u("RoundedRectangle",["scrollbar","thumb","horizontal"]).setAll({y:n.yP,centerY:n.yP,height:n.Q2,ariaLabel:t.translate("Use left and right arrows to move selection")});{const t=u("PointedRectangle",["axis","tooltip","background"]);t.setAll({cornerRadius:0}
1),l(t,"fill",e,"alternativeBackground")}u("Label",["axis","tooltip"]).setAll({role:void 0}),u("Label",["axis","tooltip","y"]).setAll({textAlign:"right"}),u("Label",["axis","tooltip","y","opposite"]).setAll({textAlign:"left"}),u("Label",["axis","tooltip","x"]).setAll({textAlign:"center"}),u("Tooltip",["categoryaxis"]).setAll({labelText:"{category}"}),u("Star").setAll({spikes:5,innerRadius:5,radius:10}),u("Tooltip",["stock"]).setAll({paddingTop:6,paddingBottom:5,paddingLeft:7,paddingRight:7}),u("Tooltip",["indicator"]).setAll({forceHidden:!0}),u("PointedRectangle",["tooltip","stock","axis"]).setAll({pointerLength:0,pointerBaseWidth:0,cornerRadius:3}),u("Label",["tooltip","stock"]).setAll({fontSize:"0.8em"}),u("SpriteResizer").setAll({rotationStep:10,isMeasured:!1});u("Container",["resizer","grip"]).states.create("hover",{});{const t=u("RoundedRectangle",["resizer","grip"]);t.setAll({strokeOpacity:.7,strokeWidth:1,fillOpacity:1,width:12,height:12}),l(t,"fill",e,"background"),l(t,"stroke",e,"alternativeBackground")}{const t=u("RoundedRectangle",["resizer","grip","outline"]);t.setAll({strokeOpacity:0,fillOpacity:0,width:20,height:20}),t.states.create("hover",{fillOpacity:.3}),l(t,"fill",e,"alternativeBackground")}u("RoundedRectangle",["resizer","grip","left"]).setAll({cornerRadiusBL:0,
1cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0}),u("RoundedRectangle",["resizer","grip","right"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0});{const t=u("Rectangle",["resizer","rectangle"]);t.setAll({strokeDasharray:[2,2],strokeOpacity:.5,strokeWidth:1}),l(t,"stroke",e,"alternativeBackground")}u("Graphics",["button","plus","icon"]).setAll({x:n.yP,y:n.yP,draw:t=>{t.moveTo(-4,0),t.lineTo(4,0),t.moveTo(0,-4),t.lineTo(0,4)}}),u("Graphics",["button","minus","icon"]).setAll({x:n.yP,y:n.yP,draw:t=>{t.moveTo(-4,0),t.lineTo(4,0)}}),u("Graphics",["button","home","icon"]).setAll({x:n.yP,y:n.yP,svgPath:"M 8 -1 L 6 -1 L 6 7 L 2 7 L 2 1 L -2 1 L -2 7 L -6 7 L -6 -1 L -8 -1 L 0 -9 L 8 -1 Z M 8 -1"}),u("Button",["zoomtools"]).setAll({marginTop:1,marginBottom:2}),u("ZoomTools").setAll({x:n.Q2,centerX:n.Q2,y:n.Q2,centerY:n.Q2,paddingRight:10,paddingBottom:10})}}},40035:function(t,e,i){i.d(e,{Kh:function(){return p},M9:function(){return l},oA:function(){return s},y1:function(){return u},zR:function(){return c}});var s,n=i(5482),r=i(28220),a=i(8298),o=i(58726);function l(t){return(0,n.sH)(this,void 0,void 0,function*(){if(void 0!==t){const e=[];o.each(t,(t,i)=>{e.push(i.waitForStop())}),yield Promise.all(e)}})}function u(t,e,i){return e+t*(i-e)}function h(t,e,i){return t>=1?i:e}function c(t,e,i){return new r.QE(u(t,e.percent,i.percent))}function d(t,e,i){return a.Q1.interpolate(t,e,i)}function p(t,e){return"number"==typeof t&&"number"==typeof e?u:t instanceof r.QE&&e instanceof r.QE?c:t instanceof a.Q1&&e instanceof a.Q1?d:h}!function(t){t[t.Stopped=0]="Stopped",t[t.Playing=1]="Playing",t[t.Paused=2]="Paused"}(s||(s={}))},45166:function(t,e,i){i.d(e,{m:function(){return f}});var s=i(73597),n=i(64332);class r extends s.B8{constructor(t){super(),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_events",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._container=t,this._events=this.events.onAll(t=>{if("clear"===t.type)n.each(t.oldValues,t=>{this._onRemoved(t)});else if("push"===t.type)this._onInserted(t.newValue);else if("setIndex"===t.type)this._onRemoved(t.oldValue),this._onInserted(t.newValue,t.index);else if("insertIndex"===t.type)this._onInserted(t.newValue,t.index);else if("removeIndex"===t.type)this._onRemoved(t.oldValue);else{if("moveIndex"!==t.type)throw new Error("Unknown IListEvent type");this._onRemoved(t.value),this._onInserted(t.value,t.newIndex)}})}_onInserted(t,e){t._setParent(this._container,!0);const i=this._container._childrenDisplay;void 0===e?i.addChild(t._display):i.addChildAt(t._display,e)}_onRemoved(t){this._container._childrenDisplay.removeChild(t._display),this._container.markDirtyBounds(),this._container.markDirty()}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._events.dispose(),n.each(this.values,t=>{t.dispose()}))}}var a=i(28220),o=i(81432),l=i(25296),u=i(1183),h=i(54729),c=i(7691),d=i(72214),p=i(74265),g=i(85008);class f extends o.k{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeContainer()}),Object.defineProperty(this,"_childrenDisplay",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeContainer()}),Object.defineProperty(this,"children",{enumerable:!0,configurable:!0,writable:!0,value:new r(this)}),Object.defineProperty(this,"_percentageSizeChildren",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_percentagePositionChildren",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_prevWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_prevHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_contentWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_contentHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_contentMask",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_vsbd0",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_vsbd1",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew(),this._display.addChild(this._childrenDisplay)}_dispose(){n.eachReverse(this.allChildren(),t=>{t.dispose()}),this.getPrivate("htmlElement")&&this._root._removeHTMLContent(this),super._dispose()}_changed(){if(super._changed(),this.isDirty("interactiveChildren")&&(this._display.interactiveChildren=this.get("interactiveChildren",!1)),this.isDirty("layout")&&(this._prevWidth=0,this._prevHeight=0,this.markDirtyBounds(),this._prevSettings.layout&&this.children.each(t=>{t.removePrivate("x"),t.removePrivate("y")})),(this.isDirty("paddingTop")||this.isDirty("paddingBottom")||this.isDirty("paddingLeft")||this.isDirty("paddingRight"))&&this.children.each(t=>{t.markDirtyPosition()}),this.isDirty("maskContent")){const t=this._childrenDisplay;let e=this._contentMask;this.get("maskContent")?e||(e=l.M.new(this._root,{x:-.5,y:-.5,width:this.width()+1,height:this.height()+1}),this._contentMask=e,t.addChildAt(e._display,0),t.mask=e._display):e&&(t.removeChild(e._display),t.mask=null,e.dispose(),this._contentMask=void 0)}}_updateSize(){super._updateSize(),n.each(this._percentageSizeChildren,t=>{t._updateSize()}),n.each(this._percentagePositionChildren,t=>{t.markDirtyPosition(),t._updateSize()}
1),this.updateBackground()}updateBackground(){const t=this.get("background");let e=this._localBounds;if(e&&!this.isHidden()){let i=e.left,s=e.top,n=e.right-i,r=e.bottom-s,a=this.get("maxWidth"),o=this.get("maxHeight");o&&r>o&&(r=o),a&&n>a&&(n=a);let l=this.width(),u=this.height();t&&(t.setAll({width:n,height:r,x:i,y:s}),this._display.interactive&&(t._display.interactive=!0));const h=this._contentMask;h&&h.setAll({width:l+1,height:u+1});const c=this.get("verticalScrollbar");if(c){c.set("height",u),c.set("x",l-c.width()-c.get("marginRight",0)),c.set("end",c.get("start",0)+u/this._contentHeight);const t=c.get("background");t&&t.setAll({width:c.width(),height:u});let e=!0;this._contentHeight<=u&&(e=!1),c.setPrivate("visible",e)}}}_applyThemes(t=!1){return!!super._applyThemes(t)&&(this.eachChildren(e=>{e._applyThemes(t)}),!0)}_applyState(t){super._applyState(t),this.get("setStateOnChildren")&&this.eachChildren(e=>{e.states.apply(t)})}_applyStateAnimated(t,e){super._applyStateAnimated(t,e),this.get("setStateOnChildren")&&this.eachChildren(i=>{i.states.applyAnimate(t,e)})}innerWidth(){return this.width()-this.get("paddingRight",0)-this.get("paddingLeft",0)}innerHeight(){return this.height()-this.get("paddingTop",0)-this.get("paddingBottom",0)}_getBounds(){if(this.get("html")){let t=this._localBounds;t&&(this._contentWidth=t.right-t.left,this._contentHeight=t.bottom-t.top)}else{let t=this.get("width"),e=this.get("height"),i=this.getPrivate("width"),s=this.getPrivate("height"),n={left:0,top:0,right:this.width(),bottom:this.height()},r=this.get("layout"),a=!1,o=!1;if((r instanceof u.b||r instanceof c.J)&&(a=!0),r instanceof h.N&&(o=!0),null==t&&null==i||null==e&&null==s||this.get("verticalScrollbar")){let t=Number.MAX_VALUE,e=t,i=-t,s=t,r=-t;const l=this.get("paddingLeft",0),u=this.get("paddingTop",0),h=this.get("paddingRight",0),c=this.get("paddingBottom",0);this.children.each(t=>{if("absolute"!=t.get("position")&&t.get("isMeasured")){let n=t.adjustedLocalBounds(),l=t.x(),u=t.y(),h=l+n.left,c=l+n.right,d=u+n.top,p=u+n.bottom;a&&(h-=t.get("marginLeft",0),c+=t.get("marginRight",0)),o&&(d-=t.get("marginTop",0),p+=t.get("marginBottom",0)),h<e&&(e=h),c>i&&(i=c),d<s&&(s=d),p>r&&(r=p)}}),e==t&&(e=0),i==-t&&(i=0),s==t&&(s=0),r==-t&&(r=0),n.left=e-l,n.top=s-u,n.right=i+h,n.bottom=r+c;const d=this.get("minWidth");p.isNumber(d)&&d>0&&n.right-n.left<d&&(n.right>=d?n.left=n.right-d:n.right=n.left+d);const g=this.get("minHeight");p.isNumber(g)&&g>0&&n.bottom-n.top<g&&(n.bottom>=g?n.top=n.bottom-g:n.bottom=n.top+g)}else;this._contentWidth=n.right-n.left,this._contentHeight=n.bottom-n.top,p.isNumber(t)&&(n.left=0,n.right=t),p.isNumber(i)&&(n.left=0,n.right=i),p.isNumber(e)&&(n.top=0,n.bottom=e),p.isNumber(s)&&(n.top=0,n.bottom=s),this._localBounds=n}}_updateBounds(){const t=this.get("layout");t&&t.updateContainer(this),super._updateBounds(),this.updateBackgroun
1d()}markDirty(){super.markDirty(),this._root._addDirtyParent(this)}_prepareChildren(){const t=this.innerWidth(),e=this.innerHeight();if(t!=this._prevWidth||e!=this._prevHeight){let i=this.get("layout"),s=!1,r=!1;i&&((i instanceof u.b||i instanceof c.J)&&(s=!0),i instanceof h.N&&(r=!0)),n.each(this._percentageSizeChildren,i=>{if(!s){let e=i.get("width");e instanceof a.QE&&i.setPrivate("width",e.value*t)}if(!r){let t=i.get("height");t instanceof a.QE&&i.setPrivate("height",t.value*e)}}),n.each(this._percentagePositionChildren,t=>{t.markDirtyPosition(),t.markDirtyBounds()}),this._prevWidth=t,this._prevHeight=e,this._sizeDirty=!0,this.updateBackground()}this._handleStates()}_updateHTMLContent(){const t=this.get("html","");t&&""!==t?this._root._setHTMLContent(this,(0,d.I)(this,t)):this._root._removeHTMLContent(this),this._root._positionHTMLElement(this)}scrollToChild(t){const e=this.get("verticalScrollbar");if(e){let i=t.y(),s=this.innerHeight(),n=t.height(),r=this._contentHeight,a=1-(s-n/2)/r;if(i+.7*n+this._childrenDisplay.y>s||i-.3*n+this._childrenDisplay.y<0){let t=Math.max(0,Math.min(a,(i-n/2)/r));e.animate({key:"start",to:t,duration:e.get("animationDuration",0),easing:e.get("animationEasing")})}}}_updateChildren(){if(this.isDirty("html")&&this._updateHTMLContent(),this.isDirty("verticalScrollbar")){const t=this.get("verticalScrollbar");
1if(t){t._setParent(this),t.startGrip.setPrivate("visible",!1),t.endGrip.setPrivate("visible",!1),this.set("maskContent",!0),this.set("paddingRight",t.width()+t.get("marginRight",0)+t.get("marginLeft",0));let e=this.get("background");e||(e=this.set("background",l.M.new(this._root,{themeTags:["background"],fillOpacity:0,fill:this._root.interfaceColors.get("alternativeBackground")}))),this._vsbd0=this.events.on("wheel",e=>{const i=e.originalEvent;if(!g.isLocalEvent(i,this))return;i.preventDefault();let s=i.deltaY/5e3;const n=t.get("start",0),r=t.get("end",1);n+s<=0&&(s=-n),r+s>=1&&(s=1-r),n+s>=0&&r+s<=1&&(t.set("start",n+s),t.set("end",r+s))}),this._disposers.push(this._vsbd0),this._vsbd1=t.events.on("rangechanged",()=>{let e=this._contentHeight;const i=this._childrenDisplay,s=this._contentMask;i.y=-t.get("start",0)*e,i.markDirtyLayer(),s&&(s._display.y=-i.y,i.mask=s._display)}),this._disposers.push(this._vsbd1),this._display.addChild(t._display)}else{const t=this._prevSettings.verticalScrollbar;if(t){this._display.removeChild(t._display),this._vsbd0&&this._vsbd0.dispose(),this._vsbd1&&this._vsbd1.dispose();this._childrenDisplay.y=0,this.setPrivate("height",void 0),this.set("maskContent",!1),this.set("paddingRight",void 0)}}}if(this.isDirty("background")){const t=this._prevSettings.background;t&&this._display.removeChild(t._display);const e=this.get("background");e instanceof o.k&&(e.set("isMeasured",!1),e._setParent(this),this._display.addChildAt(e._display,0))}if(this.isDirty("mask")){const t=this.get("mask"),e=this._prevSettings.mask;if(e&&(this._display.removeChild(e._display),e!=t&&e.dispose()),t){const e=t.parent;e&&e.children.removeValue(t),t._setParent(this),this._display.addChildAt(t._display,0),this._childrenDisplay.mask=t._display}}}_processTemplateField(){super._processTemplateField(),this.children.each(t=>{t._processTemplateField()})}walkChildren(t){this.children.each(e=>{e instanceof f&&e.walkChildren(t),t(e)})}eachChildren(t){const e=this.get("background");e&&t(e);const i=this.get("verticalScrollbar");i&&t(i);const s=this.get("mask");s&&t(s),this.children.values.forEach(e=>{t(e)})}allChildren(){const t=[];return this.eachChildren(e=>{t.push(e)}),t}_setDataItem(t){const e=t!==this._dataItem;super._setDataItem(t);const i=this.get("html","");i&&""!==i&&e&&this._root._setHTMLContent(this,(0,d.I)(this,i))}contentWidth(){return this._contentWidth}contentHeight(){return this._contentHeight}}Object.defineProperty(f,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Container"}),Object.defineProperty(f,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:o.k.classNames.concat([f.className])})},54729:function(t,e,i){i.d(e,{N:function(){return a}});var s=i(24147),n=i(74265),r=i(28220);class a extends s.P{updateContainer(t){let e=t.get("paddingTop",0),i=t.innerHeight(),a=0;(0,s.l)(t,t=>{if(t.isVisible()&&"relative"==t.get("position")){let e=t.get("height");if(e instanceof r.QE){a+=e.value;let s=i*e.value,n=t.get("minHeight",t.getPrivate("minHeight",-1/0));n>s&&(i-=n,a-=e.value);let r=t.get("maxHeight",t.getPrivate("maxHeight",1/0));s>r&&(i-=r,a-=e.value)}else n.isNumber(e)||(e=t.height()),i-=e+t.get("marginTop",0)+t.get("marginBottom",0)}}),(i<=0||i==1/0)&&(i=.1),(0,s.l)(t,t=>{if(t.isVisible()&&"relative"==t.get("position")){let e=t.get("height");if(e instanceof r.QE){let s=i*e.value/a-t.get("marginTop",0)-t.get("marginBottom",0),n=t.get("minHeight",t.getPrivate("minHeight",-1/0)),r=t.get("maxHeight",t.getPrivate("maxHeight",1/0));s=Math.min(Math.max(n,s),r),t.setPrivate("height",s)}else t._prevSettings.height instanceof r.QE&&t.setPrivate("height",void 0)}});let o=e;(0,s.l)(t,t=>{if("relative"==t.get("position"))if(t.isVisible()){let e=t.adjustedLocalBounds(),i=t.get("marginTop",0),s=e.top,n=e.bottom,r=t.get("maxHeight");r&&n-s>r&&(n=s+r);let a=t.get("marginBottom",0),l=o+i-s;t.setPrivate("y",l),o=l+n+a}else t.setPrivate("y",void 0)})}}Object.defineProperty(a,"className",{enumerable:!0,configurable:!0,writable:!0,value:"VerticalLayout"}),Object.defineProperty(a,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.P.classNames.c
1oncat([a.className])})},55873:function(t,e,i){i.d(e,{m:function(){return n}});var s=i(30742),n=class{constructor(t){this.init=t,this.records=this.init()}static{(0,s.K2)(this,"ImperativeState")}reset(){this.records=this.init()}}},59455:function(t,e,i){i.d(e,{k:function(){return a}});var s=i(8583),n=i(79698),r=i(57068);const a={canvas:null,convertTintToImage:!1,cacheStepsPerColorChannel:8,canUseMultiply:(0,i(91032).B)(),tintMethod:null,_canvasSourceCache:new WeakMap,_unpremultipliedCache:new WeakMap,getCanvasSource:t=>{const e=t.source,i=e?.resource;if(!i)return null;const s="premultiplied-alpha"===e.alphaMode,r=e.resourceWidth??e.pixelWidth,o=e.resourceHeight??e.pixelHeight,l=r!==e.pixelWidth||o!==e.pixelHeight;if(s){if((i instanceof HTMLCanvasElement||"undefined"!=typeof OffscreenCanvas&&i instanceof OffscreenCanvas)&&!l)return i;const t=a._unpremultipliedCache.get(e);if(t?.resourceId===e._resourceId)return t.canvas}if(i instanceof Uint8Array||i instanceof Uint8ClampedArray||i instanceof Int8Array||i instanceof Uint16Array||i instanceof Int16Array||i instanceof Uint32Array||i instanceof Int32Array||i instanceof Float32Array||i instanceof ArrayBuffer){const t=a._canvasSourceCache.get(e);if(t?.resourceId===e._resourceId)return t.canvas;const s=n.e.get().createCanvas(e.pixelWidth,e.pixelHeight),r=s.getContext("2d"),o=r.createImageData(e.pixelWidth,e.pixelHeight),l=o.data,u=i instanceof ArrayBuffer?new Uint8Array(i):new Uint8Array(i.buffer,i.byteOffset,i.byteLength);if("bgra8unorm"===e.format)for(let e=0;e<l.length&&e+3<u.length;e+=4)l[e]=u[e+2],l[e+1]=u[e+1],l[e+2]=u[e],l[e+3]=u[e+3];else l.set(u.subarray(0,l.length));return r.putImageData(o,0,0),a._canvasSourceCache.set(e,{canvas:s,resourceId:e._resourceId}),s}if(s){const t=n.e.get().createCanvas(e.pixelWidth,e.pixelHeight),s=t.getContext("2d",{willReadFrequently:!0});t.width=e.pixelWidth,t.height=e.pixelHeight,s.drawImage(i,0,0);const r=s.getImageData(0,0,t.width,t.height),o=r.data;for(let e=0;e<o.length;e+=4){const t=o[e+3];if(t>0){const i=255/t;o[e]=Math.min(255,o[e]*i+.5),o[e+1]=Math.min(255,o[e+1]*i+.5),o[e+2]=Math.min(255,o[e+2]*i+.5)}}return s.putImageData(r,0,0),a._unpremultipliedCache.set(e,{canvas:t,resourceId:e._resourceId}),t}if(l){const t=a._canvasSourceCache.get(e);if(t?.resourceId===e._resourceId)return t.canvas;const s=n.e.get().createCanvas(e.pixelWidth,e.pixelHeight),r=s.getContext("2d");return s.width=e.pixelWidth,s.height=e.pixelHeight,r.drawImage(i,0,0),a._canvasSourceCache.set(e,{canvas:s,resourceId:e._resourceId}),s}return i},getTintedCanvas:(t,e)=>{const i=t.texture,r=s.Q.shared.setValue(e).toHex(),o=i.tintCache||(i.tintCache={}),l=o[r],u=i.source._resourceId;if(l?.tintId===u)return l;const h=l&&"getContext"in l?l:n.e.get().createCanvas();if(a.tintMethod(i,e,h),h.tintId=u,a.convertTintToImage&&void 0!==h.toDataURL){const t=n.e.get().createImage();t.src=h.toDataURL(),t.tintId=u,o[r]=t}else o[r]=h;return o[r]},getTintedPattern:(t,e)=>{const i=s.Q.shared.setValue(e).toHex(),r=t.patternCache||(t.patternCache={}),o=t.source._resourceId;let l=r[i];if(l?.tintId===o)return l;a.canvas||(a.canvas=n.e.get().createCanvas()),a.tintMethod(t,e,a.canvas);return l=a.canvas.getContext("2d").createPattern(a.canvas,"repeat"),l.tintId=o,r[i]=l,l},applyPatternTransform:(t,e,i=!0)=>{if(!e)return;const s=t;if(!s.setTransform)return;const n=globalThis.DOMMatrix;if(!n)return;const r=new n([e.a,e.b,e.c,e.d,e.tx,e.ty]);s.setTransform(i?r.inverse():r)},tintWithMultiply:(t,e,i)=>{const n=i.getContext("2d"),o=t.frame.clone(),l=t.source._resolution??t.source.resolution??1,u=t.rotate;o.x*=l,o.y*=l,o.width*=l,o.height*=l;const h=r.E.isVertical(u),c=h?o.height:o.width,d=h?o.width:o.height;i.width=Math.ceil(c),i.height=Math.ceil(d),n.save(),n.fillStyle=s.Q.shared.setValue(e).toHex(),n.fillRect(0,0,c,d),n.globalCompositeOperation="multiply";const p=a.getCanvasSource(t);p?(u&&a._applyInverseRotation(n,u,o.width,o.height),n.drawImage(p,o.x,o.y,o.width,o.height,0,0,o.width,o.height),n.globalCompositeOperation="destination-atop",n.drawImage(p,o.x,o.y,o.width,o.height,0,0,o.width,o.height),n.restore(
1)):n.restore()},tintWithOverlay:(t,e,i)=>{const n=i.getContext("2d"),o=t.frame.clone(),l=t.source._resolution??t.source.resolution??1,u=t.rotate;o.x*=l,o.y*=l,o.width*=l,o.height*=l;const h=r.E.isVertical(u),c=h?o.height:o.width,d=h?o.width:o.height;i.width=Math.ceil(c),i.height=Math.ceil(d),n.save(),n.globalCompositeOperation="copy",n.fillStyle=s.Q.shared.setValue(e).toHex(),n.fillRect(0,0,c,d),n.globalCompositeOperation="destination-atop";const p=a.getCanvasSource(t);p?(u&&a._applyInverseRotation(n,u,o.width,o.height),n.drawImage(p,o.x,o.y,o.width,o.height,0,0,o.width,o.height),n.restore()):n.restore()},tintWithPerPixel:(t,e,i)=>{const s=i.getContext("2d"),n=t.frame.clone(),o=t.source._resolution??t.source.resolution??1,l=t.rotate;n.x*=o,n.y*=o,n.width*=o,n.height*=o;const u=r.E.isVertical(l),h=u?n.height:n.width,c=u?n.width:n.height;i.width=Math.ceil(h),i.height=Math.ceil(c),s.save(),s.globalCompositeOperation="copy";const d=a.getCanvasSource(t);if(!d)return void s.restore();l&&a._applyInverseRotation(s,l,n.width,n.height),s.drawImage(d,n.x,n.y,n.width,n.height,0,0,n.width,n.height),s.restore();const p=e>>16&255,g=e>>8&255,f=255&e,m=s.getImageData(0,0,h,c),y=m.data;for(let r=0;r<y.length;r+=4)y[r]=y[r]*p/255,y[r+1]=y[r+1]*g/255,y[r+2]=y[r+2]*f/255;s.putImageData(m,0,0)},_applyInverseRotation:(t,e,i,s)=>{const n=r.E.inv(e),a=r.E.uX(n),o=r.E.uY(n),l=r.E.vX(n),u=r.E.vY(n),h=-Math.min(0,a*i,l*s,a*i+l*s),c=-Math.min(0,o*i,u*s,o*i+u*s);t.transform(a,o,l,u,h,c)}};a.tintMethod=a.canUseMultiply?a.tintWithMultiply:a.tintWithPerPixel},60298:function(t,e,i){i.d(e,{s:function(){return u},u:function(){return h}});var s=i(5482),n=i(79960),r=i(45166),a=i(97417),o=i(64332),l=i(58726);class u extends n.wB{constructor(t,e,i){super(i),Object.defineProperty(this,"component",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"dataContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"bullets",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"open",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"close",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.dataContext=e,this.component=t,this._settings.visible=!0,this._checkDirty()}markDirty(){this.component.markDirtyValues(this)}_startAnimation(){this.component._root._addAnimation(this)}_animationTime(){return this.component._root.animationTime}_dispose(){this.component&&this.component.disposeDataItem(this),super._dispose()}show(t){this.setRaw("visible",!0),this.component&&this.component.showDataItem(this,t)}hide(t){this.setRaw("visible",!1),this.component&&this.component.hideDataItem(this,t)}isHidden(){return!this.get("visible")}}class h extends r.m{constructor(){super(...arguments),Object.defineProperty(this,"_data",{enumerable:!0,configurable:!0,writable:!0,value:new a.X}),Object.defineProperty(this,"_dataItems",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_mainDataItems",{enumerable:!0,configurable:!0,writable:!0,value:this._dataItems}),Object.defineProperty(this,"valueFields",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"fields",{enumerable:!0,configurable:!0,writable:!0,value:["id"]}),Object.defineProperty(this,"_valueFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_valueFieldsF",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fieldsF",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_valuesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataChanged",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataGrouped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"inited",{enumerable:!0,configurable:!0,writable:!0,value:!1})}set data(t){t.incrementRef(),this._data.decrementRef(),this._data=t}get data(){return this._data}
1_dispose(){super._dispose(),this._data.decrementRef()}_onDataClear(){}_afterNew(){super._afterNew(),this._data.incrementRef(),this._updateFields(),this._disposers.push(this.data.events.onAll(t=>{const e=this._mainDataItems;if(this.markDirtyValues(),this._markDirtyGroup(),this._dataChanged=!0,"clear"===t.type)o.each(e,t=>{t.dispose()}),e.length=0,this._onDataClear();else if("push"===t.type){const i=new u(this,t.newValue,this._makeDataItem(t.newValue));e.push(i),this.processDataItem(i)}else if("setIndex"===t.type){const i=e[t.index],s=this._makeDataItem(t.newValue);i.bullets&&0==i.bullets.length&&(i.bullets=void 0),l.keys(s).forEach(t=>{i.animate({key:t,to:s[t],duration:this.get("interpolationDuration",0),easing:this.get("interpolationEasing")})}),i.dataContext=t.newValue}else if("insertIndex"===t.type){const i=new u(this,t.newValue,this._makeDataItem(t.newValue));e.splice(t.index,0,i),this.processDataItem(i)}else if("removeIndex"===t.type){e[t.index].dispose(),e.splice(t.index,1)}else{if("moveIndex"!==t.type)throw new Error("Unknown IStreamEvent type");{const i=e[t.oldIndex];e.splice(t.oldIndex,1),e.splice(t.newIndex,0,i)}}this._afterDataChange()}))}_updateFields(){this.valueFields&&(this._valueFields=[],this._valueFieldsF={},o.each(this.valueFields,t=>{this.get(t+"Field")&&(this._valueFields.push(t),this._valueFieldsF[t]={fieldKey:t+"Field",workingKey:t+"Working"})})),this.fields&&(this._fields=[],this._fieldsF={},o.each(this.fields,t=>{this.get(t+"Field")&&(this._fields.push(t),this._fieldsF[t]=t+"Field")}))}get dataItems(){return this._dataItems}processDataItem(t){}_makeDataItem(t){const e={};return this._valueFields&&o.each(this._valueFields,i=>{const s=this.get(this._valueFieldsF[i].fieldKey);e[i]=t[s],e[this._valueFieldsF[i].workingKey]=e[i]}),this._fields&&o.each(this._fields,i=>{const s=this.get(this._fieldsF[i]);e[i]=t[s]}),e}makeDataItem(t,e){let i=new u(this,e,t);return this.processDataItem(i),i}pushDataItem(t,e){const i=this.makeDataItem(t,e);return this._mainDataItems.push(i),i}disposeDataItem(t){}showDataItem(t,e){return(0,s.sH)(this,void 0,void 0,function*(){t.set("visible",!0)})}hideDataItem(t,e){return(0,s.sH)(this,void 0,void 0,function*(){t.set("visible",!1)})}_clearDirty(){super._clearDirty(),this._valuesDirty=!1}_afterDataChange(){}_afterChanged(){if(super._afterChanged(),this._dataChanged){const t="datavalidated";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this}),this._dataChanged=!1}this.inited=!0}markDirtyValues(t){this.markDirty(),this._valuesDirty=!0}_markDirtyGroup(){this._dataGrouped=!1}markDirtySize(){this._sizeDirty=!0,this.markDirty()}}Object.defineProperty(h,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Component"}),Object.defineProperty(h,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:r.m.classNames.concat([h.className])})},62885:function(t,e,i){i.d(e,{$:function(){return a}});var s=i(5351),n=i(45166),r=i(85008);class a extends n.m{_afterNew(){this._settings.themeTags=r.mergeTags(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",s.T.new(this._root,{themeTags:r.mergeTags(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){const t=this._prevSettings.icon,e=this.get("icon");e!==t&&(this._disposeProperty("icon"),t&&t.dispose(),e&&this.children.push(e),this._prevSettings.icon=e)}if(this.isDirty("label")){const t=this._prevSettings.label,e=this.get("label");e!==t&&(this._disposeProperty("label"),t&&t.dispose(),e&&this.children.push(e),this._prevSettings.label=e)}}}Object.defineProperty(a,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"}),Object.defineProperty(a,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.m.classNames.concat([a.className])})},62971:function(t,e,i){i.r(e),i.d(e,{DEGREES:function(){return o},HALFPI:function(){return r},PI:function(){return n},RADIANS:function(){return a},boundsOverlap:function(){return A},ceil:function(){return u},circlesOverlap:function(){return S},closest:function(){return D},cos:function(){return f},fitAngleToRange:function(){return _},fitToRange:function(){return d},getAngle:function(){return T},getArcBounds:function(){return y},getArcPoint:function(){return b},getCubicControlPointA:function(){return h},getCubicControlPointB:function(){return c},getPointOnLine:function(){return k},getPointOnQuadraticCurve:function(){return x},inBounds:function(){return w},mergeBounds:function(){return v},normalizeAngle:function(){return m},round:function(){return l},sin:function(){return p},spiralPoints:function(){return C},tan:function(){return g}});var s=i(74265);const n=Math.PI,r=n/2,a=n/180,o=180/n;function l(t,e,i){if(!(0,s.isNumber)(e)||e<=0){let e=Math.round(t);return i&&e-t==.5&&e--,e}{let i=Math.pow(10,e);return Math.round(t*i)/i}}function u(t,e){if(!(0,s.isNumber)(e)||e<=0)return Math.ceil(t);{let i=Math.pow(10,e);return Math.ceil(t*i)/i}}
1function h(t,e,i,s,n){return{x:(-t.x+e.x/s+i.x)*s,y:(-t.y+e.y/n+i.y)*n}}function c(t,e,i,s,n){return{x:(t.x+e.x/s-i.x)*s,y:(t.y+e.y/n-i.y)*n}}function d(t,e,i){return Math.min(Math.max(t,e),i)}function p(t){return Math.sin(a*t)}function g(t){return Math.tan(a*t)}function f(t){return Math.cos(a*t)}function m(t){return(t%=360)<0&&(t+=360),t}function y(t,e,i,s,n){let r=Number.MAX_VALUE,a=Number.MAX_VALUE,o=-Number.MAX_VALUE,l=-Number.MAX_VALUE,u=[];u.push(b(n,i)),u.push(b(n,s));let h=Math.min(90*Math.floor(i/90),90*Math.floor(s/90)),c=Math.max(90*Math.ceil(i/90),90*Math.ceil(s/90));for(let d=h;d<=c;d+=90)d>=i&&d<=s&&u.push(b(n,d));for(let d=0;d<u.length;d++){let t=u[d];t.x<r&&(r=t.x),t.y<a&&(a=t.y),t.x>o&&(o=t.x),t.y>l&&(l=t.y)}return{left:t+r,top:e+a,right:t+o,bottom:e+l}}function b(t,e){return{x:t*f(e),y:t*p(e)}}function v(t){const e=t.length;if(e>0){let i=t[0],s=i.left,n=i.top,r=i.right,a=i.bottom;if(e>1)for(let o=1;o<e;o++)i=t[o],s=Math.min(i.left,s),r=Math.max(i.right,r),n=Math.min(i.top,n),a=Math.max(i.bottom,a);return{left:s,right:r,top:n,bottom:a}}return{left:0,right:0,top:0,bottom:0}}function _(t,e,i){if(e>i){let t=e;e=i,i=t}t=m(t);let s=(e-m(e))/360;return t<e&&(t+=360*(s+1)),t>i&&(t-360>e?t-=360:t=t<e+(i-e)/2+180?i:e),t<e&&(t=t>e+(i-e)/2-180?e:i),t}function w(t,e){return t.x>=e.left&&t.y>=e.top&&t.x<=e.right&&t.y<=e.bottom}function T(t,e){e||(e={x:2*t.x,y:2*t.y});let i=e.x-t.x,s=e.y-t.y,n=Math.atan2(s,i)*o;return n<0&&(n+=360),m(n)}function x(t,e,i,s){return{x:(1-s)*(1-s)*t.x+2*(1-s)*s*i.x+s*s*e.x,y:(1-s)*(1-s)*t.y+2*(1-s)*s*i.y+s*s*e.y}}function k(t,e,i){return{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}}function D(t,e){return t.reduce(function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t})}function A(t,e){const i=t.left<e.right&&t.right>e.left,s=t.top<e.bottom&&t.bottom>e.top;return i&&s}function C(t,e,i,s,n,r,l,u,h){let c=n+.01;u=m(u),h=m(h);let d=u*a;h<u&&(h+=360);let p=[];for(;c<i+l;){let a=r;a/2>c&&(a=2*c),a*=Math.max(.01,Math.min(1,c/200));let g=d*o,f={x:t+c*Math.cos(d),y:e+c*s/i*Math.sin(d)};if(p.push(f),c=n+.01+(g-u)/360*l,d+=2*Math.asin(a/2/c),d*o>h+360*Math.ceil((i-n)/l))break}return p.shift(),p}function S(t,e){return Math.hypot(t.x-e.x,t.y-e.y)<=t.radius+e.radius}},68689:function(t,e,i){i.d(e,{t:function(){return r}});var s=i(45166),n=i(28220);class r extends s.m{constructor(){super(...arguments),Object.defineProperty(this,"chartContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(s.m.new(this._root,{width:n.Q2,height:n.Q2,interactiveChildren:!1}))}),Object.defineProperty(this,"bulletsContainer",{enumerable:!0,configurable:!0,writable:!0,value:s.m.new(this._root,{interactiveChildren:!1,isMeasured:!1,position:"absolute",width:n.Q2,height:n.Q2})})}}Object.defineProperty(r,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Chart"}),Object.defineProperty(r,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.m.classNames.concat([r.className])})},72214:function(t,e,i){i.d(e,{I:function(){return o}});var s=i(74265),n=i(85008),r=i(81432),a=i(7937);function o(t,e){if(null!=e){e=""+e;let i,s=(e=a.g.escape(e)).match(/\{([^}]+)\}/g);if(s)for(i=0;i<s.length;i++){let n=l(t,s[i].replace(/\{([^}]+)\}/,"$1"),"");null==n&&(n=""),e=e.split(s[i]).join(n)}e=a.g.unescape(e)}else e="";return e}function l(t,e,i){let r;const a=t.dataItem;let o,u=[],c=/(format[a-zA-Z]*)\((.*)\)|([^.]+)/g;for(;o=c.exec(e),null!==o;)if(o[3]){u.push({prop:o[3]});const e=t.getDateFormatter().get("dateFields",[]),i=t.getNumberFormatter().get("numericFields",[]),s=t.getDurationFormatter().get("durationFields",[]);-1!==e.indexOf(o[3])?u.push({method:"formatDate",params:[]}):-1!==i.indexOf(o[3])?u.push({method:"formatNumber",params:[]}):-1!==s.indexOf(o[3])&&u.push({method:"formatDuration",params:[]})}else{let t=[];if(""!=n.trim(o[2])){let e,i=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g;for(;e=i.exec(o[2]),null!==e;)t.push(e[1]||e[2]||e[3])}u.push({method:o[1],params:t})}if(a){r=h(t,u,a._settings),(null==r||s.isObject(r))&&(r=h(t,u,a));let n=a.dataContext;null==r&&n&&(r=h(t,u,n),null==r&&(r=h(t,[{prop:e}],n)),null==r&&n.dataContext&&(r=h(t,u,n.dataContext))),null==r&&a.component&&a.component.dataItem!==a&&(r=l(a.component,e,i))}return null==r&&(r=h(t,u,t)),null==r&&t.parent&&(r=l(t.parent,e,i)),r}function u(t,e){const i=t.getPrivate("customData");if(s.isObject(i))return i[e]}
1function h(t,e,i,a){let o=i,l=!1;for(let n=0,h=e.length;n<h;n++){let h=e[n];if(h.prop){if(o instanceof r.k){let t=o.get(h.prop);null==t&&(t=o.getPrivate(h.prop)),null==t&&(t=u(o,h.prop)),null==t&&(t=o[h.prop]),o=t}else if(o.get){let t=o.get(h.prop);null==t&&(t=o[h.prop]),o=t}else o=o[h.prop];if(null==o)return}else switch(h.method){case"formatNumber":let e=s.toNumber(o);null!=e&&(o=t.getNumberFormatter().format(e,a||h.params[0]||void 0),l=!0);break;case"formatDate":let n=s.toDate(o);if(!s.isDate(n)||s.isNaN(n.getTime()))return;null!=n&&(o=t.getDateFormatter().format(n,a||h.params[0]||void 0),l=!0);break;case"formatDuration":let r=s.toNumber(o);null!=r&&(o=t.getDurationFormatter().format(r,a||h.params[0]||void 0,h.params[1]||void 0),l=!0);break;case"urlEncode":case"encodeURIComponent":o=encodeURIComponent(o);break;default:o[h.method]&&o[h.method].apply(i,h.params)}}if(!l){let e=[{method:"",params:a}];if(null==a)s.isNumber(o)?(e[0].method="formatNumber",e[0].params=""):s.isDate(o)&&(e[0].method="formatDate",e[0].params="");else{let t=n.getFormat(a);"number"===t?e[0].method="formatNumber":"date"===t?e[0].method="formatDate":"duration"===t&&(e[0].method="formatDuration")}e[0].method&&(o=h(t,e,o))}return o}},72506:function(t,e,i){i.d(e,{E:function(){return l}});var s=i(81432),n=i(72214),r=i(64332),a=i(85008),o=i(60340);class l extends s.k{constructor(){super(...arguments),Object.defineProperty(this,"textStyle",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeTextStyle()}),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeText("",this.textStyle)}),Object.defineProperty(this,"_textStyles",{enumerable:!0,configurable:!0,writable:!0,value:["textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","maxChars"]}),Object.defineProperty(this,"_originalScale",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_updateBounds(){if(this.get("text")){super._updateBounds();let t=this.get("fillGradient");t&&(this._display.style.fill=t.getFill(this))}else{let t={left:0,right:0,top:0,bottom:0};this._adjustedLocalBounds=t}}_changed(){super._changed(),this._display.clear();let t=this.textStyle;if(this.isDirty("opacity")){let t=this.get("opacity",1);this._display.alpha=t}if((this.isDirty("text")||this.isDirty("populateText"))&&(this._display.text=this._getText(),this.markDirtyBounds(),"tooltip"==this.get("role")&&this._root.updateTooltip(this)),this.isPrivateDirty("tooltipElement")){this.getPrivate("tooltipElement")&&this._disposers.push(new o.W_(()=>{this._root._removeTooltipElement(this)}))}if(this.isDirty("width")&&(t.wordWrapWidth=this.width(),this.markDirtyBounds()),this.isDirty("oversizedBehavior")&&(t.oversizedBehavior=this.get("oversizedBehavior","none"),this._display.invalidateVisibility(),this.markDirtyBounds()),this.isDirty("breakWords")&&(t.breakWords=this.get("breakWords",!1),this.markDirtyBounds()),this.isDirty("ellipsis")&&(t.ellipsis=this.get("ellipsis"),this.markDirtyBounds()),this.isDirty("ignoreFormatting")&&(t.ignoreFormatting=this.get("ignoreFormatting",!1),this.markDirtyBounds()),this.isDirty("minScale")&&(t.minScale=this.get("minScale",0),this.markDirtyBounds()),this.isDirty("fill")||this.isDirty("fillGradient")){const e=this.get("fill"),i=this.get("fillGradient"),s=this.get("fillOpacity");if(i){if(e){const t=i.get("stops",[]);t.length&&r.each(t,t=>{t.color&&!t.colorInherited||!e||(t.color=e,t.colorInherited=!0),(null==t.opacity||t.opacityInherited)&&(t.opacity=s,t.opacityInherited=!0)})}t.fill=i.getFill(this)}else e&&(t.fill=e)}if(this.isDirty("fillOpacity")){let e=this.get("fillOpacity",1);e&&(t.fillOpacity=e)}(this.isDirty("maxWidth")||this.isPrivateDirty("maxWidth"))&&(t.maxWidth=this.get("maxWidth",this.getPrivate("maxWidth")),this.markDirtyBounds()),(this.isDirty("maxHeight")||this.isPrivateDirty("maxHeight"))&&(t.maxHeight=this.get("maxHeight",this.getPrivate("maxHeight")),this.markDirtyBounds()),r.each(this._textStyles,e=>{this._dirty[e]&&(t[e]=this.get(e),this.markDirtyBounds())}),t.fontSize=this.get("fontSize"),t.fontFamily=this.get("fontFamily"),this._display.style=t,this.isDirty("role")&&"tooltip"==this.get("role")&&this._root.updateTooltip(this)}_getText(){let t=this.get("text","");return this.get("maxChars")&&(t=a.truncateTextWithEllipsis(t,this.get("maxChars",1e8),this.get("breakWords"),this.get("ellipsis"))),this.get("populateText")?(0,n.I)(this,t):t}_getAccessibleText(){const t=this.get("ariaLabel");return void 0!==t?this.get("populateText")?(0,n.I)(this,t):t:this._getText()}markDirtyText(){this._display.text=this._getText(),"tooltip"==this.get("role")&&this._root.updateTooltip(this),this.markDirtyBounds(),this.markDirty()}_setDataItem(t){super._setDataItem(t),this.get("populateText")&&this.markDirtyText()}getNumberFormatter(){return this.parent?this.parent.getNumberFormatter():super.getNumberFormatter()}getDateFormatter(){return this.parent?this.parent.getDateFormatter():super.getDateFormatter()}getDurationFormatter(){return this.parent?this.parent.getDurationFormatter():super.getDurationFormatter()}}Object.defineProperty(l,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Text"}),Object.defineProperty(l,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.k.classNames.c
1oncat([l.className])})},73597:function(t,e,i){i.d(e,{B8:function(){return a},TS:function(){return l},fo:function(){return o}});var s=i(65040),n=i(64332);function r(t,e){if(!(t>=0&&t<e))throw new Error("Index out of bounds: "+t)}class a{constructor(t=[]){Object.defineProperty(this,"_values",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new s.Q}),this._values=t}get values(){return this._values}contains(t){return-1!==this._values.indexOf(t)}removeValue(t){let e=0,i=this._values.length;for(;e<i;)this._values[e]===t?(this.removeIndex(e),--i):++e}indexOf(t){return n.indexOf(this._values,t)}get length(){return this._values.length}hasIndex(t){return t>=0&&t<this._values.length}getIndex(t){return this._values[t]}_onPush(t){this.events.isEnabled("push")&&this.events.dispatch("push",{type:"push",target:this,newValue:t})}_onInsertIndex(t,e){this.events.isEnabled("insertIndex")&&this.events.dispatch("insertIndex",{type:"insertIndex",target:this,index:t,newValue:e})}_onSetIndex(t,e,i){this.events.isEnabled("setIndex")&&this.events.dispatch("setIndex",{type:"setIndex",target:this,index:t,oldValue:e,newValue:i})}_onSwap(t,e){this.events.isEnabled("swap")&&this.events.dispatch("swap",{type:"swap",target:this,a:t,b:e})}_onRemoveIndex(t,e){this.events.isEnabled("removeIndex")&&this.events.dispatch("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e})}_onMoveIndex(t,e,i){this.events.isEnabled("moveIndex")&&this.events.dispatch("moveIndex",{type:"moveIndex",target:this,oldIndex:t,newIndex:e,value:i})}_onClear(t){this.events.isEnabled("clear")&&this.events.dispatch("clear",{type:"clear",target:this,oldValues:t})}setIndex(t,e){r(t,this._values.length);const i=this._values[t];return i!==e&&(this._values[t]=e,this._onSetIndex(t,i,e)),i}insertIndex(t,e){return r(t,this._values.length+1),n.insertIndex(this._values,t,e),this._onInsertIndex(t,e),e}swap(t,e){const i=this._values.length;if(r(t,i),r(e,i),t!==e){const i=this._values[t],s=this._values[e];this._values[t]=s,this._values[e]=i,this._onSwap(i,s)}}removeIndex(t){r(t,this._values.length);const e=this._values[t];return n.removeIndex(this._values,t),this._onRemoveIndex(t,e),e}moveValue(t,e){let i=this.indexOf(t);if(-1!==i)if(n.removeIndex(this._values,i),null==e){const e=this._values.length;this._values.push(t),this._onMoveIndex(i,e,t)}else n.insertIndex(this._values,e,t),this._onMoveIndex(i,e,t);else null==e?(this._values.push(t),this._onPush(t)):(n.insertIndex(this._values,e,t),this._onInsertIndex(e,t));return t}push(t){return this._values.push(t),this._onPush(t),t}unshift(t){return this.insertIndex(0,t),t}pushAll(t){n.each(t,t=>{this.push(t)})}copyFrom(t){this.pushAll(t._values)}pop(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)}shift(){return this._values.length?this.removeIndex(0):void 0}setAll(t){const e=this._values;this._values=[],this._onClear(e),n.each(t,t=>{this._values.push(t),this._onPush(t)})}clear(){this.setAll([])}*[Symbol.iterator](){const t=this._values.length;for(let e=0;e<t;++e)yield this._values[e]}each(t){n.each(this._values,t)}eachReverse(t){n.eachReverse(this._values,t)}}class o extends a{constructor(){super(...arguments),Object.defineProperty(this,"autoDispose",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1})}swap(t,e){const i=this.autoDispose;this.autoDispose=!1,super.swap(t,e),this.autoDispose=i}_onSetIndex(t,e,i){this.autoDispose&&e.dispose(),super._onSetIndex(t,e,i)}_onRemoveIndex(t,e){this.autoDispose&&e.dispose(),super._onRemoveIndex(t,e)}_onClear(t){this.autoDispose&&n.each(t,t=>{t.dispose()}),super._onClear(t)}_dispose(){this.autoDispose&&n.each(this._values,t=>{t.dispose()})}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}}class l extends o{constructor(t,e){super(),Object.defineProperty(this,"template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"make",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.template=t,this.make=e}_dispose(){super._dispose(),this.autoDispose&&this.template.dispose()}}}
1,78076:function(t,e,i){i.d(e,{A:function(){return l}});var s=i(34469),n=i(81432),r=i(16611),a=i(74265),o=i(64332);class l extends n.k{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeGraphics()}),Object.defineProperty(this,"_clear",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_beforeChanged(){if(super._beforeChanged(),(this.isDirty("draw")||this.isDirty("svgPath"))&&this.markDirtyBounds(),(this.isDirty("fill")||this.isDirty("stroke")||this.isDirty("visible")||this.isDirty("forceHidden")||this.isDirty("scale")||this.isDirty("fillGradient")||this.isDirty("strokeGradient")||this.isDirty("fillPattern")||this.isDirty("strokePattern")||this.isDirty("fillOpacity")||this.isDirty("strokeOpacity")||this.isDirty("strokeWidth")||this.isDirty("draw")||this.isDirty("blendMode")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("svgPath")||this.isDirty("lineJoin")||this.isDirty("lineCap")||this.isDirty("shadowColor")||this.isDirty("shadowBlur")||this.isDirty("shadowOffsetX")||this.isDirty("shadowOffsetY"))&&(this._clear=!0),this._display.crisp=this.get("crisp",!1),this.isDirty("fillGradient")){const t=this.get("fillGradient");if(t){this._display.isMeasured=!0;const e=t.get("target");e&&(this._disposers.push(e.events.on("boundschanged",()=>{this._markDirtyKey("fill")})),this._disposers.push(e.events.on("positionchanged",()=>{this._markDirtyKey("fill")})))}}if(this.isDirty("strokeGradient")){const t=this.get("strokeGradient");if(t){this._display.isMeasured=!0;const e=t.get("target");e&&(this._disposers.push(e.events.on("boundschanged",()=>{this._markDirtyKey("stroke")})),this._disposers.push(e.events.on("positionchanged",()=>{this._markDirtyKey("stroke")})))}}}_changed(){if(super._changed(),this._clear){this.markDirtyBounds(),this.markDirtyLayer(),this._display.clear();let t=this.get("strokeDasharray");a.isNumber(t)&&(t=t<.5?[0]:[t]),this._display.setLineDash(t);const e=this.get("strokeDashoffset");e&&this._display.setLineDashOffset(e);const i=this.get("blendMode",r.N.NORMAL);this._display.blendMode=i;const s=this.get("draw");s&&"function"==typeof s&&s(this._display,this);const n=this.get("svgPath");null!=n&&this._display.svgPath(n)}}_afterChanged(){if(super._afterChanged(),this._clear){const t=this.get("fill"),e=this.get("fillGradient"),i=this.get("fillPattern"),n=this.get("fillOpacity"),r=this.get("stroke"),a=this.get("strokeGradient"),l=this.get("strokePattern"),u=this.get("shadowColor"),h=this.get("shadowBlur"),c=this.get("shadowOffsetX"),d=this.get("shadowOffsetY"),p=this.get("shadowOpacity");if(u&&(h||c||d)&&this._display.shadow(u,h,c,d,p),t&&!e&&(this._display.beginFill(t,n),this._display.endFill()),e){if(t){const i=e.get("stops",[]);i.length&&o.each(i,e=>{e.color&&!e.colorInherited||!t||(e.color=t,e.colorInherited=!0),(null==e.opacity||e.opacityInherited)&&(e.opacity=n,e.opacityInherited=!0)})}const i=e.getFill(this);i&&(this._display.beginFill(i,n),this._display.endFill())}if(i){const t=i.pattern;t&&(this._display.beginFill(t,n),this._display.endFill(),i instanceof s.R&&i.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}if(r||a||l){const t=this.get("strokeOpacity");let e=this.get("strokeWidth",1);this.get("nonScalingStroke")&&(e/=this.get("scale",1)),this.get("crisp")&&(e/=this._root._renderer.resolution);const i=this.get("lineJoin"),n=this.get("lineCap");if(r&&!a&&(this._display.lineStyle(e,r,t,i,n),this._display.endStroke()),a){const s=a.get("stops",[]);s.length&&o.each(s,e=>{e.color&&!e.colorInherited||!r||(e.color=r,e.colorInherited=!0),(null==e.opacity||e.opacityInherited)&&(e.opacity=t,e.opacityInherited=!0)});const l=a.getFill(this);l&&(this._display.lineStyle(e,l,t,i,n),this._display.endStroke())}if(l){let r=l.pattern;r&&(this._display.lineStyle(e,r,t,i,n),this._display.endStroke(),l instanceof s.R&&l.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}}this.getPrivate("showingTooltip")&&this.showTooltip()}this._clear=!1}}Object.defineProperty(l,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Graphics"}),Object.defineProperty(l,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.k.classNames.c
1oncat([l.className])})},79960:function(t,e,i){i.d(e,{wC:function(){return y},wB:function(){return m}});var s=i(60340),n=i(65040),r=i(40035),a=i(58726),o=i(10587);class l{constructor(t,e){Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_userSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._entity=t,this._settings=e,a.each(e,t=>{this._userSettings[t]=!0})}get(t,e){const i=this._settings[t];return void 0!==i?i:e}setRaw(t,e){this._settings[t]=e}set(t,e){this._userSettings[t]=!0,this.setRaw(t,e)}remove(t){delete this._userSettings[t],delete this._settings[t]}setAll(t){a.keys(t).forEach(e=>{this.set(e,t[e])})}_eachSetting(t){a.each(this._settings,t)}apply(){const t={stateAnimationEasing:!0,stateAnimationDuration:!0},e=this._entity.states.lookup("default");this._eachSetting((i,s)=>{t[i]||(t[i]=!0,this!==e&&(i in e._settings||(e._settings[i]=this._entity.get(i))),this._entity.set(i,s))})}applyAnimate(t){null==t&&(t=this._settings.stateAnimationDuration),null==t&&(t=this.get("stateAnimationDuration",this._entity.get("stateAnimationDuration",0)));let e=this._settings.stateAnimationEasing;null==e&&(e=this.get("stateAnimationEasing",this._entity.get("stateAnimationEasing",o.cubic)));const i=this._entity.states.lookup("default"),s={stateAnimationEasing:!0,stateAnimationDuration:!0},n={};return this._eachSetting((r,a)=>{if(!s[r]){s[r]=!0,this!=i&&(r in i._settings||(i._settings[r]=this._entity.get(r)));const o=this._entity.animate({key:r,to:a,duration:t,easing:e});o&&(n[r]=o)}}),n}}class u{constructor(t){Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._entity=t}lookup(t){return this._states[t]}create(t,e){const i=this._states[t];if(i)return i.setAll(e),i;{const i=new l(this._entity,e);return this._states[t]=i,i}}remove(t){delete this._states[t]}apply(t){const e=this._states[t];e&&e.apply(),this._entity._applyState(t)}applyAnimate(t,e){let i;const s=this._states[t];return s&&(i=s.applyAnimate(e)),this._entity._applyStateAnimated(t,e),i}}var h=i(22077),c=i(64332),d=i(6641);class p{constructor(t){Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._entity=t}add(t,e){let i=this._callbacks[t];return void 0===i&&(i=this._callbacks[t]=[]),i.push(e),this._entity._markDirtyKey(t),new s.W_(()=>{c.removeFirst(i,e)&&this._entity._markDirtyKey(t)})}remove(t){const e=this._callbacks[t];void 0!==e&&(delete this._callbacks[t],0!==e.length&&this._entity._markDirtyKey(t))}enable(t){this._disabled[t]&&(delete this._disabled[t],this._entity._markDirtyKey(t))}disable(t){this._disabled[t]||(this._disabled[t]=!0,this._entity._markDirtyKey(t))}fold(t,e){if(!this._disabled[t]){const i=this._callbacks[t];if(void 0!==i)for(let s=0,n=i.length;s<n;++s)e=i[s](e,this._entity,t)}return e}}class g{constructor(t,e,i,s,a,o,l){Object.defineProperty(this,"_animation",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_from",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_to",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_duration",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_easing",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_loops",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_interpolate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_oldTime",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_time",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_stopped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_playing",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new n.Q}),this._animation=t,this._from=e,this._to=i,this._duration=s,this._easing=a,this._loops=o,this._interpolate=(0,r.Kh)(e,i),this._oldTime=l}get to(){return this._to}get from(){return this._from}get playing(){return this._playing}get stopped(){return this._stopped}stop(){this._stopped||(this._stopped=!0,this._playing=!1,this.events.isEnabled("stopped")&&this.events.dispatch("stopped",{type:"stopped",target:this}))}pause(){this._playing=!1,this._oldTime=null}play(){this._stopped||this._playing||(this._playing=!0,this._animation._startAnimation())}get percentage(){return this._time/this._duration}waitForStop(){return new Promise((t,e)=>
1{if(this._stopped)t();else{const e=()=>{i.dispose(),t()},i=this.events.on("stopped",e)}})}_checkEnded(){return!(this._loops>1)||(--this._loops,!1)}_run(t){null!==this._oldTime&&(this._time+=t-this._oldTime,this._time>this._duration&&(this._time=this._duration)),this._oldTime=t}_reset(t){this._oldTime=t,this._time=0}_value(t){return this._interpolate(this._easing(t),this._from,this._to)}}let f=0;class m{constructor(t){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:++f}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_prevSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_prevPrivateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_animatingSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_animatingPrivateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_userProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"enableDispose",{enumerable:!0,configurable:!0,writable:!0,value:!0}),this._settings=t}_checkDirty(){a.keys(this._settings).forEach(t=>{this._userProperties[t]=!0,this._markDirtyKey(t)})}resetUserSettings(){this._userProperties={}}_runAnimation(t){let e=r.oA.Stopped;if(!this.isDisposed()){let i=!1,s=!1;a.each(this._animatingSettings,(e,n)=>{if(n.stopped)this._stopAnimation(e);else if(n.playing){n._run(t);const s=n.percentage;s>=1?n._checkEnded()?this.set(e,n._value(1)):(i=!0,n._reset(t),this._set(e,n._value(1))):(i=!0,this._set(e,n._value(s)))}else s=!0}),a.each(this._animatingPrivateSettings,(e,n)=>{if(n.stopped)this._stopAnimationPrivate(e);else if(n.playing){n._run(t);const s=n.percentage;s>=1?n._checkEnded()?this.setPrivate(e,n._value(1)):(i=!0,n._reset(t),this._setPrivate(e,n._value(1))):(i=!0,this._setPrivate(e,n._value(s)))}else s=!0}),i?e=r.oA.Playing:s&&(e=r.oA.Paused)}return e}_markDirtyKey(t){this.markDirty()}_markDirtyPrivateKey(t){this.markDirty()}on(t,e){let i=this._settingEvents[t];return void 0===i&&(i=this._settingEvents[t]=[]),i.push(e),new s.W_(()=>{c.removeFirst(i,e),0===i.length&&delete this._settingEvents[t]})}off(t,e){let i=this._settingEvents[t];void 0!==i&&void 0!==e?c.removeFirst(i,e):delete this._settingEvents[t]}onPrivate(t,e){let i=this._privateSettingEvents[t];return void 0===i&&(i=this._privateSettingEvents[t]=[]),i.push(e),new s.W_(()=>{c.removeFirst(i,e),0===i.length&&delete this._privateSettingEvents[t]})}offPrivate(t,e){let i=this._privateSettingEvents[t];void 0!==i&&void 0!==e?c.removeFirst(i,e):delete this._privateSettingEvents[t]}getRaw(t,e){const i=this._settings[t];return void 0!==i?i:e}has(t){return t in this._settings}get(t,e){return this.getRaw(t,e)}_sendKeyEvent(t,e){const i=this._settingEvents[t];void 0!==i&&c.each(i,i=>{i(e,this,t)})}_sendPrivateKeyEvent(t,e){const i=this._privateSettingEvents[t];void 0!==i&&c.each(i,i=>{i(e,this,t)})}_setRaw(t,e,i){this._prevSettings[t]=e,this._sendKeyEvent(t,i)}setRaw(t,e){const i=this._settings[t];this._settings[t]=e,i!==e&&this._setRaw(t,i,e)}_set(t,e){const i=this._settings[t];this._settings[t]=e,i!==e&&(this._setRaw(t,i,e),this._markDirtyKey(t))}_stopAnimation(t){const e=this._animatingSettings[t];e&&(delete this._animatingSettings[t],e.stop())}set(t,e){return this._set(t,e),this._stopAnimation(t),e}remove(t){t in this._settings&&(this._prevSettings[t]=this._settings[t],delete this._settings[t],this._sendKeyEvent(t,void 0),this._markDirtyKey(t)),this._stopAnimation(t)}removeAll(){c.each(a.keys(this._settings),t=>{this.remove(t)})}getPrivate(t,e){const i=this._privateSettings[t];return void 0!==i?i:e}_setPrivateRaw(t,e,i){this._prevPrivateSettings[t]=e,this._sendPrivateKeyEvent(t,i)}setPrivateRaw(t,e){const i=this._privateSettings[t];this._privateSettings[t]=e,i!==e&&this._setPrivateRaw(t,i,e)}_setPrivate(t,e){const i=this._privateSettings[t];this._privateSettings[t]=e,i!==e&&(this._setPrivateRaw(t,i,e),this._markDirtyPrivateKey(t))}_stopAnimationPrivate(t){const e=this._animatingPrivateSettings[t];e&&(e.stop(),delete this._animatingPrivateSettings[t])}setPrivate(t,e){return this._setPrivate(t,e),this._stopAnimationPrivate(t),e}removePrivate(t){t in this._privateSettings&&(this._prevPrivateSettings[t]=this._privateSettings[t],delete this._privateSettings[t],this._markDirtyPrivateKey(t)),this._stopAnimationPrivate(t)}setAll(t){a.each(t,(t,e)=>{this.set(t,e)})}animate(t){const e=t.key,i=t.to,s=t.duration||0,n=t.loops||1,r=void 0===t.from?this.get(e):t.from,a=void 0===t.easing?o.linear:t.easing;if(0===s)this.set(e,i);else{if(void 0!==r&&r!==i){this.set(e,r);const t=this._animatingSettings[e]=new g(this,r,i,s,a,n,this._animationTime());return this._startAnimation(),t}this.set(e,i)}const l=new g(this,r,i,s,a,n,null);return l.stop(),l}animatePrivate(t){const e=t.key,i=t.to,s=t.duration||0,n=t.loops||1,r=void 0===t.from?this.getPrivate(e):t.from,a=void 0===t.easing?o.linear:t.easing;if(0===s)this.setPrivate(e,i);else{if(void 0!==r&&r!==i){this.setPrivate(e,r);const t=this._animatingPrivateSettings[e]=new g(this,r,i,s,a,n,this._animationTime());return this._startAnimation(),t}this.setPrivate(e,i)}const l=new g(this,r,i,s,a,n,null);return l.stop(),l}_dispose(){}isDisposed(){return this._disposed}dispose(){this.enableDispose&&!this._disposed&&(this._disposed=!0,this._dispose())}}class y extends m{constructor(t,e,i,s=[]){if(super(e),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_user_id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new u(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new p(this)}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:this._createEvents()}),Object.defineProperty(this,"_userPrivateProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirty",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyPrivate",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_templates",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_internalTemplates",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_defaultThemes",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_templateDisposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_runSetup",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_disposerProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._root=t,this._internalTemplates=s,e.id&&this._registerId(e.id)}static new(t,e,i){const s=new this(t,e,!0);return s._template=i,s._afterNew(),s}static _new(t,e,i=[]){const s=new this(t,e,!0,i);return s._afterNew(),s}_afterNew(){this._checkDirty();let t=!1;const e=this._template;e&&(t=!0,e._setObjectTemplate(this)),c.each(this._internalTemplates,e=>{t=!0,e._setObjectTemplate(this)}),t&&this._applyTemplates(!1),this.states.create("default",{}),this._setDefaults()}_afterNewApplyThemes(){this._checkDirty();const t=this._template;t&&t._setObjectTemplate(this),c.each(this._internalTemplates,t=>{t._setObjectTemplate(this)}),this.states.create("default",{}),this._setDefaults(),this._applyThemes()}_createEvents(){return new n.Q}get classNames(){return this.constructor.classNames}get className(){return this.constructor.className}_setDefaults(){}_setDefaultFn(t,e){const i=this.get(t);if(i)return i;{const i=e();return this.set(t,i),i}}_setDefault(t,e){this.has(t)||super.set(t,e)}_setRawDefault(t,e){this.has(t)||super.setRaw(t,e)}
1_clearDirty(){a.keys(this._dirty).forEach(t=>{this._dirty[t]=!1}),a.keys(this._dirtyPrivate).forEach(t=>{this._dirtyPrivate[t]=!1})}isDirty(t){return!!this._dirty[t]}isPrivateDirty(t){return!!this._dirtyPrivate[t]}_markDirtyKey(t){this._dirty[t]=!0,super._markDirtyKey(t)}_markDirtyPrivateKey(t){this._dirtyPrivate[t]=!0,super._markDirtyKey(t)}isType(t){return-1!==this.classNames.indexOf(t)}_pushPropertyDisposer(t,e){let i=this._disposerProperties[t];return void 0===i&&(i=this._disposerProperties[t]=[]),i.push(e),e}_disposeProperty(t){const e=this._disposerProperties[t];void 0!==e&&(c.each(e,t=>{t.dispose()}),delete this._disposerProperties[t])}set template(t){const e=this._template;e!==t&&(this._template=t,e&&e._removeObjectTemplate(this),t&&t._setObjectTemplate(this),this._applyTemplates())}get template(){return this._template}markDirty(){this._root._addDirtyEntity(this)}_startAnimation(){this._root._addAnimation(this)}_animationTime(){return this._root.animationTime}_applyState(t){}_applyStateAnimated(t,e){}get(t,e){const i=this.adapters.fold(t,this._settings[t]);return void 0!==i?i:e}isUserSetting(t){return this._userProperties[t]||!1}set(t,e){return this._userProperties[t]=!0,super.set(t,e)}setRaw(t,e){this._userProperties[t]=!0,super.setRaw(t,e)}_setSoft(t,e){return this._userProperties[t]?e:super.set(t,e)}remove(t){delete this._userProperties[t],this._removeTemplateProperty(t)}setPrivate(t,e){return this._userPrivateProperties[t]=!0,super.setPrivate(t,e)}setPrivateRaw(t,e){this._userPrivateProperties[t]=!0,super.setPrivateRaw(t,e)}removePrivate(t){delete this._userPrivateProperties[t],this._removeTemplatePrivateProperty(t)}_setTemplateProperty(t,e,i){if(!this._userProperties[e]){t===this._findTemplateByKey(e)&&super.set(e,i)}}_setTemplatePrivateProperty(t,e,i){if(!this._userPrivateProperties[e]){t===this._findTemplateByPrivateKey(e)&&super.setPrivate(e,i)}}_removeTemplateProperty(t){if(!this._userProperties[t]){const e=this._findTemplateByKey(t);e?super.set(t,e._settings[t]):super.remove(t)}}_removeTemplatePrivateProperty(t){if(!this._userPrivateProperties[t]){const e=this._findTemplateByPrivateKey(t);e?super.setPrivate(t,e._privateSettings[t]):super.removePrivate(t)}}_walkParents(t){t(this._root._rootContainer),t(this)}_applyStateByKey(t){const e=this.states.create(t,{}),i={};this._eachTemplate(s=>{const n=s.states.lookup(t);n&&n._apply(e,i)}),a.each(e._settings,t=>{i[t]||e._userSettings[t]||e.remove(t)})}_applyTemplate(t,e){this._templateDisposers.push(t._apply(this,e)),a.each(t._settings,(t,i)=>{e.settings[t]||this._userProperties[t]||(e.settings[t]=!0,super.set(t,i))}),a.each(t._privateSettings,(t,i)=>{e.privateSettings[t]||this._userPrivateProperties[t]||(e.privateSettings[t]=!0,super.setPrivate(t,i))}),this._runSetup&&t.setup&&(this._runSetup=!1,t.setup(this))}_findStaticTemplate(t){if(this._template&&t(this._template))return this._template}_eachTemplate(t){this._findStaticTemplate(e=>(t(e),!1)),c.eachReverse(this._internalTemplates,t),c.each(this._templates,t)}_applyTemplates(t=!0){t&&this._disposeTemplates();const e={settings:{},privateSettings:{},states:{}};this._eachTemplate(t=>{this._applyTemplate(t,e)}),t&&(a.each(this._settings,t=>{this._userProperties[t]||e.settings[t]||super.remove(t)}),a.each(this._privateSettings,t=>{this._userPrivateProperties[t]||e.privateSettings[t]||super.removePrivate(t)}))}_findTemplate(t){const e=this._findStaticTemplate(t);if(void 0===e){const e=c.findReverse(this._internalTemplates,t);return void 0===e?c.find(this._templates,t):e}return e}_findTemplateByKey(t){return this._findTemplate(e=>t in e._settings)}_findTemplateByPrivateKey(t){return this._findTemplate(e=>t in e._privateSettings)}_disposeTemplates(){c.each(this._templateDisposers,t=>{t.dispose()}),this._templateDisposers.length=0}_removeTemplates(){c.each(this._templates,t=>{t._removeObjectTemplate(this)}),this._templates.length=0}_applyThemes(t=!1){let e=!1;const i=[];let s=[];const n=new Set,r=this.get("themeTagsSelf");return r&&c.each(r,t=>{n.add(t)}),this._walkParents(t=>{t===this._root._rootContainer&&(e=!0),t._defaultThemes.length>0&&i.push(t._defaultThemes);const r=t.get("themes");r&&s.push(r);const a=t.get("themeTags");a&&c.each(a,t=>{n.add(t)})}),s=i.concat(s),this._removeTemplates(),(e||t)&&c.eachReverse(this.classNames,t=>{const e=[];c.each(s,i=>{c.each(i,i=>{const s=i._lookupRules(t);s&&c.eachReverse(s,t=>{if(t.tags.every(t=>n.has(t))){const i=c.getFirstSortedIndex(e,e=>{const i=d.UD(t.tags.length,e.tags.length);return 0===i?d.HN(t.tags,e.tags,d.UD):i});e.splice(i.index,0,t)}})})}),c.each(e,t=>{this._templates.push(t.template),t.template._setObjectTemplate(this)})}),this._applyTemplates(),(e||t)&&(this._runSetup=!1),e||t}_changed(){}_beforeChanged(){if(this.isDirty("id")){const t=this.get("id");t&&this._registerId(t);const e=this._prevSettings.id;e&&(delete this._root.entitiesById[e],delete h.u5.entitiesById[e])}}_registerId(t){if(this._root.entitiesById[t]&&this._root.entitiesById[t]!==this)throw new Error('An entity with id "'+t+'" already exists.');this._root.entitiesById[t]=this,h.u5.entitiesById[t]=this}_afterChanged(){}addDisposer(t){return this._disposers.push(t),t}_dispose(){super._dispose();const t=this._template;t&&t._removeObjectTemplate(this),c.each(this._internalTemplates,t=>{t._removeObjectTemplate(this)}),this._removeTemplates(),this._disposeTemplates(),this.events.dispose(),this._disposers.forEac
1h(t=>{t.dispose()}),a.each(this._disposerProperties,(t,e)=>{c.each(e,t=>{t.dispose()})});const e=this.get("id");e&&(delete this._root.entitiesById[e],delete h.u5.entitiesById[e])}setTimeout(t,e){const i=setTimeout(()=>{this.removeDispose(n),t()},e),n=new s.W_(()=>{clearTimeout(i)});return this._disposers.push(n),n}removeDispose(t){if(!this.isDisposed()){let e=c.indexOf(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()}hasTag(t){return-1!==c.indexOf(this.get("themeTags",[]),t)}addTag(t){if(!this.hasTag(t)){const e=this.get("themeTags",[]);e.push(t),this.set("themeTags",e)}}removeTag(t){if(this.hasTag(t)){const e=this.get("themeTags",[]);c.remove(e,t),this.set("themeTags",e)}}_t(t,e,...i){return this._root.language.translate(t,e,...i)}get root(){return this._root}}Object.defineProperty(y,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Entity"}),Object.defineProperty(y,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:["Entity"]})},80959:function(t,e,i){i.d(e,{q:function(){return r}});var s=i(50599),n=i(50033);function r(t,e){for(const i in t.attributes){const n=t.attributes[i],r=e[i];r?(n.format??(n.format=r.format),n.offset??(n.offset=r.offset),n.instance??(n.instance=r.instance)):(0,s.R)(`Attribute ${i} is not present in the shader, but is present in the geometry. Unable to infer attribute details.`)}!function(t){const{buffers:e,attributes:i}=t,s={},r={};for(const n in e){const t=e[n];s[t.uid]=0,r[t.uid]=0}for(const a in i){const t=i[a];s[t.buffer.uid]+=(0,n.m)(t.format).stride}for(const a in i){const t=i[a];t.stride??(t.stride=s[t.buffer.uid]),t.start??(t.start=r[t.buffer.uid]),r[t.buffer.uid]+=(0,n.m)(t.format).stride}}(t)}},81432:function(t,e,i){i.d(e,{k:function(){return m}});var s=i(5482),n=i(79960),r=i(84575),a=i(28220),o=i(65040),l=i(60340),u=i(40035),h=i(85008),c=i(64332),d=i(74265),p=i(58726),g=i(62971);class f extends o.Q{constructor(t){super(),Object.defineProperty(this,"_sprite",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rendererDisposers",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dispatchParents",{enumerable:!0,configurable:!0,writable:!0,value:!0}),this._sprite=t}_makePointerEvent(t,e){return{type:t,originalEvent:e.event,point:e.point,simulated:e.simulated,native:e.native,target:this._sprite}}_onRenderer(t,e){this._sprite.set("interactive",!0),this._sprite._display.interactive=!0;let i=this._rendererDisposers[t];if(void 0===i){const s=this._sprite._display.on(t,t=>{e.call(this,t)});i=this._rendererDisposers[t]=new l.Wr(()=>{delete this._rendererDisposers[t],s.dispose()})}return i.increment()}_on(t,e,i,s,n,r){const a=super._on(t,e,i,s,n,r),o=f.RENDERER_EVENTS[e];return void 0!==o&&(a.disposer=new l.ZT([a.disposer,this._onRenderer(e,o)])),a}stopParentDispatch(){this._dispatchParents=!1}dispatchParents(t,e){const i=this._dispatchParents;this._dispatchParents=!0;try{this.dispatch(t,e),this._dispatchParents&&this._sprite.parent&&this._sprite.parent.events.dispatchParents(t,e)}finally{this._dispatchParents=i}}}Object.defineProperty(f,"RENDERER_EVENTS",{enumerable:!0,configurable:!0,writable:!0,value:{click:function(t){this.isEnabled("click")&&!this._sprite.isDragging()&&this._sprite._hasDown()&&!this._sprite._hasMoved(this._makePointerEvent("click",t))&&this.dispatch("click",this._makePointerEvent("click",t))},rightclick:function(t){this.isEnabled("rightclick")&&this.dispatch("rightclick",this._makePointerEvent("rightclick",t))},middleclick:function(t){this.isEnabled("middleclick")&&this.dispatch("middleclick",this._makePointerEvent("middleclick",t))},dblclick:function(t){this.dispatchParents("dblclick",this._makePointerEvent("dblclick",t))},pointerover:function(t){const e=this._sprite;let i=!0;if(e.getPrivate("trustBounds")){e._getBounds();const s=e.globalBounds();if(e.isType("Graphics")){const t=e.get("strokeWidth",1)/2;t>=1&&(s.left-=t,s.right+=t,s.top-=t,s.bottom+=t)}g.inBounds(t.point,s)||(i=!1,e._root._renderer.removeHovering(e._display))}i&&this.isEnabled("pointerover")&&this.dispatch("pointerover",this._makePointerEvent("pointerover",t))},pointerout:function(t){this.isEnabled("pointerout")&&this.dispatch("pointerout",this._makePointerEvent("pointerout",t))},pointerdown:function(t){this.dispatchParents("pointerdown",this._makePointerEvent("pointerdown",t))},pointerup:function(t){this.isEnabled("pointerup")&&this.dispatch("pointerup",this._makePointerEvent("pointerup",t))},globalpointerup:function(t){this.isEnabled("globalpointerup")&&this.dispatch("globalpointerup",this._makePointerEvent("globalpointerup",t))},globalpointermove:function(t){this.isEnabled("globalpointermove")&&this.dispatch("globalpointermove",this._makePointerEvent("globalpointermove",t))},wheel:function(t){this.dispatchParents("wheel",{type:"wheel",target:this._sprite,originalEvent:t.event,point:t.point})}}});class m extends n.wC{constructor(){super(...arguments),Object.defineProperty(this,"_adjustedLocalBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_localBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dataItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_templateField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_sizeDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dragEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dragPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isHidden",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isShowing",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isHiding",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_downPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downPoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_toggleDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dragDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_hoverDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_focusDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipMoveDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipPointerDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_statesHandled",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_afterNew(){this.setPrivateRaw("visible",!0),super._afterNew()}markDirtyKey(t){this._markDirtyKey(t)}_markDirtyKey(t){super._markDirtyKey(t),"x"!=t&&"y"!=t&&"dx"!=t&&"dy"!=t||(this.markDirtyBounds(),this._addPercentagePositionChildren(),this.markDirtyPosition())}_markDirtyPrivateKey(t){super._markDirtyPrivateKey(t),"x"!=t&&"y"!=t||this.markDirtyPosition()}_removeTemplateField(){this._templateField&&this._templateField._removeObjectTemplate(this)}_createEvents(){return new f(this)}_processTemplateField(){let t;const e=this.get("templateField");if(e){const i=this.dataItem;if(i){const s=i.dataContext;s&&(t=s[e],t instanceof r.Bj||!t||(t=r.Bj.new(t)))}}this._templateField!==t&&(this._removeTemplateField(),this._templateField=t,t&&t._setObjectTemplate(this),this._applyTemplates())}_setDataItem(t){const e=this._dataItem;this._dataItem=t,this._processTemplateField();const i="dataitemchanged";t!=e&&this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this,oldDataItem:e,newDataItem:t})}set dataItem(t){this._setDataItem(t)}get dataItem(){if(this._dataItem)return this._dataItem;{let t=this._parent;for(;t;){if(t._dataItem)return t._dataItem;t=t._parent}}}_addPercentageSizeChildren(){let t=this.parent;t&&(this.get("width")instanceof a.QE||this.get("height")instanceof a.QE?c.pushOne(t._percentageSizeChildren,this):c.removeFirst(t._percentageSizeChildren,this))}_addPercentagePositionChildren(){let t=this.parent;t&&(this.get("x")instanceof a.QE||this.get("y")instanceof a.QE?c.pushOne(t._percentagePositionChildren,this):c.removeFirst(t._percentagePositionChildren,this))}markDirtyPosition(){this._root._addDirtyPosition(this)}updatePivotPoint(){const t=this._localBounds;if(t){const e=this.get("centerX");null!=e&&(this._display.pivot.x=t.left+h.relativeToValue(e,t.right-t.left));const i=this.get("centerY");null!=i&&(this._display.pivot.y=t.top+h.relativeToValue(i,t.bottom-t.top))}}_beforeChanged(){if(super._beforeChanged(),this._handleStates(),this.isDirty("tooltip")){const t=this._prevSettings.tooltip;t&&t.dispose()}if((this.isDirty("layer")||this.isDirty("layerMargin"))&&(this._display.setLayer(this.get("layer"),this.get("layerMargin")),this.markDirtyLayer()),this.isDirty("tooltipPosition")){const t=this._tooltipMoveDp;t&&(t.dispose(),this._tooltipMoveDp=void 0);const e=this._tooltipPointerDp;
1e&&(e.dispose(),this._tooltipPointerDp=void 0),"pointer"==this.get("tooltipPosition")&&(this.isHover()&&(this._tooltipMoveDp=this.events.on("globalpointermove",t=>{this.showTooltip(t.point)})),this._tooltipPointerDp=new l.ZT([this.events.on("pointerover",()=>{this._tooltipMoveDp=this.events.on("globalpointermove",t=>{this.showTooltip(t.point)})}),this.events.on("pointerout",()=>{const t=this._tooltipMoveDp;t&&(t.dispose(),this._tooltipMoveDp=void 0)})]))}}_handleStates(){this._statesHandled||(this.isDirty("active")&&(this.get("active")?(this.states.applyAnimate("active"),this.set("ariaChecked",!0)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!1)),this.markDirtyAccessibility()),this.isDirty("disabled")&&(this.get("disabled")?(this.states.applyAnimate("disabled"),this.set("ariaChecked",!1)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!0)),this.markDirtyAccessibility()),this._statesHandled=!0)}_changed(){super._changed();const t=this._display,e=this.events;if(this.isDirty("draggable")){const i=this.get("draggable");i?(this.set("interactive",!0),this._dragDp=new l.ZT([e.on("pointerdown",t=>{this.dragStart(t)}),e.on("globalpointermove",t=>{this.dragMove(t)}),e.on("globalpointerup",t=>{this.dragStop(t)})])):this._dragDp&&(this._dragDp.dispose(),this._dragDp=void 0),t.cancelTouch=!!i}if(this.isDirty("tooltipText")||this.isDirty("tooltipHTML")||this.isDirty("showTooltipOn")){const t=this.get("tooltipText"),i=this.get("tooltipHTML"),s=this.get("showTooltipOn","hover");this._tooltipDp&&(this._tooltipDp.dispose(),this._tooltipDp=void 0),(t||i)&&("click"==s?(this._tooltipDp=new l.ZT([e.on("click",()=>{this.setTimeout(()=>{const t=this.getTooltip();t&&!t.isHidden()&&t.get("tooltipTarget")===this?this.hideTooltip():this.showTooltip()},10)}),h.addEventListener(document,"click",t=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)):"always"==s||(this._tooltipDp=new l.ZT([e.on("pointerover",()=>{this.showTooltip()}),e.on("pointerout",()=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)))}if(this.isDirty("toggleKey")){let t=this.get("toggleKey");t&&"none"!=t?this._toggleDp=e.on("click",()=>{this._isDragging||this.set(t,!this.get(t))}):this._toggleDp&&(this._toggleDp.dispose(),this._toggleDp=void 0)}if(this.isDirty("opacity")&&(t.alpha=Math.max(0,this.get("opacity",1)),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("rotation")&&(this.markDirtyBounds(),t.angle=this.get("rotation",0)),this.isDirty("scale")&&(this.markDirtyBounds(),t.scale=this.get("scale",0)),(this.isDirty("centerX")||this.isDirty("centerY"))&&(this.markDirtyBounds(),this.updatePivotPoint()),(this.isDirty("visible")||this.isPrivateDirty("visible")||this.isDirty("forceHidden"))&&(this.get("visible")&&this.getPrivate("visible")&&!this.get("forceHidden")?t.visible=!0:(t.visible=!1,this.hideTooltip()),this.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("width")||this.isDirty("height")){this.markDirtyBounds(),this._addPercentageSizeChildren();const t=this.parent;t&&(this.isDirty("width")&&this.get("width")instanceof a.QE||this.isDirty("height")&&this.get("height")instanceof a.QE)&&(t.markDirty(),t._prevWidth=0),this._sizeDirty=!0}if((this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("minWidth")||this.isDirty("minHeight")||this.isPrivateDirty("maxWidth")||this.isPrivateDirty("maxHeight")||this.isPrivateDirty("minWidth")||this.isPrivateDirty("minHeight")||this.isDirty("marginLeft")||this.isDirty("marginTop")||this.isDirty("marginRight")||this.isDirty("marginBottom"))&&(this.markDirtyBounds(),this._sizeDirty=!0),this._sizeDirty&&this._updateSize(),this.isDirty("wheelable")){const e=this.get("wheelable");e&&this.set("interactive",!0),t.wheelable=!!e}(this.isDirty("tabindexOrder")||this.isDirty("focusableGroup"))&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this)),this.isDirty("filter")&&(t.filter=this.get("filter"));let i=this.get("filter","");if(this.isDirty("blur")){const t=this.get("blur",0);0!=t&&(i+=" blur("+t+"px)")}if(this.isDirty("saturate")){const t=this.get("saturate",1);1!=t&&(i+=" saturate("+t+")")}if(this.isDirty("brightness")){const t=this.get("brightness",1);1!=t&&(i+=" brightness("+t+")")}if(this.isDirty("contrast")){const t=this.get("contrast",1);1!=t&&(i+=" contrast("+t+")")}if(this.isDirty("sepia")){const t=this.get("sepia",0);0!=t&&(i+=" sepia("+t+")")}if(this.isDirty("hue")){const t=this.get("hue",0);0!=t&&(i+=" hue-rotate("+t+"deg)")}if(this.isDirty("invert")){const t=this.get("invert",0);0!=t&&(i+=" invert("+t+")")}if(i&&(t.filter=i),this.isDirty("cursorOverStyle")&&(t.cursorOverStyle=this.get("cursorOverStyle")),this.isDirty("hoverOnFocus")&&(this.get("hoverOnFocus")?this._focusDp=new l.ZT([e.on("focus",()=>{this.showTooltip()}),e.on("blur",()=>{this.hideTooltip()})]):this._focusDp&&(this._focusDp.dispose(),this._focusDp=void 0)),this.isDirty("focusable")&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this),this.markDirtyAccessibility(),this._disposers.push(e.on("blur",()=>{this.setPrivateRaw("touchHovering",!1)})),this._disposers.push(e.once("boundschanged",()=>{this.markDirtyAccessibility()}))),this.isPrivateDirty("focusable")&&this.markDirtyAccessibility(),(this.isDirty("role")||this.isDirty("ariaLive")||this.isDirty("ariaChecked")||this.isDirty("ariaHidden")||this.isDirty("ariaOrientation")||this.isDirty("ariaValueNow")||this.isDirty("ariaValueMin")||this.isDirty("ariaValueMax")||this.isDirty("ariaValueText")||this.isDirty("ariaLabel")||this.isDirty("ariaControl
1s"))&&this.markDirtyAccessibility(),this.isDirty("exportable")&&(t.exportable=this.get("exportable")),this.isDirty("interactive")){const t=this.events;this.get("interactive")&&!t.isDisposed()?this._hoverDp=new l.ZT([t.on("click",t=>{h.isTouchEvent(t.originalEvent)&&(this.getPrivate("touchHovering")||this.setTimeout(()=>{this._handleOver(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.showTooltip(),this.setPrivateRaw("touchHovering",!0),this.events.dispatch("pointerover",{type:"pointerover",target:t.target,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})},10))}),t.on("globalpointerup",t=>{h.isTouchEvent(t.originalEvent)&&this.getPrivate("touchHovering")&&(this._handleOut(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.hideTooltip(),this.setPrivateRaw("touchHovering",!1),this.events.dispatch("pointerout",{type:"pointerout",target:t.target,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})),this._isDown&&this._handleUp(t)}),t.on("pointerover",()=>{this._handleOver()}),t.on("pointerout",()=>{this._handleOut()}),t.on("pointerdown",t=>{this._handleDown(t)})]):(this._display.interactive=!1,this._hoverDp&&(this._hoverDp.dispose(),this._hoverDp=void 0))}this.isDirty("forceInactive")&&(this._display.inactive=this.get("forceInactive",null)),"always"==this.get("showTooltipOn")&&this._display.visible&&this.showTooltip()}dragStart(t){this._dragEvent=t,this.events.stopParentDispatch()}dragStop(t){if(this._dragEvent=void 0,this._dragPoint=void 0,this.events.stopParentDispatch(),this._isDragging){this._isDragging=!1;const e="dragstop";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}}_handleOver(){this.isHidden()||(this.get("active")&&this.states.lookup("hoverActive")?this.states.applyAnimate("hoverActive"):this.get("disabled")&&this.states.lookup("hoverDisabled")?this.states.applyAnimate("hoverDisabled"):this.states.applyAnimate("hover"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleOut(){this.isHidden()||(this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):(this.states.lookup("hover")||this.states.lookup("hoverActive"))&&this.states.applyAnimate("default"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleUp(t){if(!this.isHidden()){this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):this.states.lookup("down")&&(this.isHover()?this.states.applyAnimate("hover"):this.states.applyAnimate("default")),this._downPoint=void 0;const e=h.getPointerId(t.originalEvent);delete this._downPoints[e],0==p.keys(this._downPoints).length&&(this._isDown=!1)}}_hasMoved(t){const e=h.getPointerId(t.originalEvent),i=this._downPoints[e];if(i){const e=Math.abs(i.x-t.point.x),s=Math.abs(i.y-t.point.y);return e>5||s>5}return!1}_hasDown(){return p.keys(this._downPoints).length>0}_handleDown(t){const e=this.parent;if(e&&!this.get("draggable")&&e._handleDown(t),this.get("interactive")&&!this.isHidden()){this.states.lookup("down")&&this.states.applyAnimate("down"),this._downPoint={x:t.point.x,y:t.point.y},this._isDown=!0;const e=h.getPointerId(t.originalEvent);this._downPoints[e]={x:t.point.x,y:t.point.y}}}dragMove(t){let e=this._dragEvent;if(e){if(e.simulated&&!t.simulated)return!0;let i=0,s=this.parent,n=1;for(;null!=s;)i+=s.get("rotation",0),s=s.parent,s&&(n*=s.get("scale",1));let r=(t.point.x-e.point.x)/n,a=(t.point.y-e.point.y)/n;const o=this.events;if(e.simulated&&!this._isDragging){this._isDragging=!0,this._dragEvent=t,this._dragPoint={x:this.x(),y:this.y()};const e="dragstart";o.isEnabled(e)&&o.dispatch(e,{type:e,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}if(this._isDragging){let e=this._dragPoint;this.set("x",e.x+r*g.cos(i)+a*g.sin(i)),this.set("y",e.y+a*g.cos(i)-r*g.sin(i));const s="dragged";o.isEnabled(s)&&o.dispatch(s,{type:s,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}else if(Math.hypot(r,a)>5){this._isDragging=!0,this._dragEvent=t,this._dragPoint={x:this.x(),y:this.y()};const e="dragstart";o.isEnabled(e)&&o.dispatch(e,{type:e,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}}}_updateSize(){}_getBounds(){this._localBounds=this._display.getLocalBounds()}depth(){let t=this.parent,e=0;for(;;){if(!t)return e;++e,t=t.parent}}markDirtySize(){this._sizeDirty=!0,this.markDirty()}markDirtyBounds(){const t=this._display;
1if(this.get("isMeasured")){this._root._addDirtyBounds(this),t.isMeasured=!0,t.invalidateBounds();const e=this.parent;e&&"absolute"!=this.get("position")&&(null==e.get("width")||null==e.get("height")||e.get("layout"))&&e.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()}}markDirtyAccessibility(){this._root._invalidateAccessibility(this)}markDirtyLayer(){this._display.markDirtyLayer(!0)}markDirty(){super.markDirty(),this.markDirtyLayer()}_updateBounds(){const t=this._adjustedLocalBounds;let e;if(this.get("visible")&&this.getPrivate("visible")&&!this.get("forceHidden")?(this._getBounds(),this._fixMinBounds(this._localBounds),this.updatePivotPoint(),this._adjustedLocalBounds=this._display.getAdjustedBounds(this._localBounds),e=this._adjustedLocalBounds):(e={left:0,right:0,top:0,bottom:0},this._localBounds=e,this._adjustedLocalBounds=e),!t||t.left!==e.left||t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom){const t="boundschanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this}),this.parent&&(this.parent.markDirty(),this.parent.markDirtyBounds()),this.getPrivate("showingTooltip")&&this.showTooltip()}}_fixMinBounds(t){let e=this.get("minWidth",this.getPrivate("minWidth")),i=this.get("minHeight",this.getPrivate("minHeight"));d.isNumber(e)&&t.right-t.left<e&&(t.right=t.left+e),d.isNumber(i)&&t.bottom-t.top<i&&(t.bottom=t.top+i);let s=this.getPrivate("width"),n=this.getPrivate("height");d.isNumber(s)&&(s>0?t.right=t.left+s:t.left=t.right+s),d.isNumber(n)&&(n>0?t.bottom=t.top+n:t.top=t.bottom+n)}_removeParent(t){t&&(t.children.removeValue(this),c.removeFirst(t._percentageSizeChildren,this),c.removeFirst(t._percentagePositionChildren,this))}_clearDirty(){super._clearDirty(),this._sizeDirty=!1,this._statesHandled=!1}hover(){this.isDisposed()||(this.showTooltip(),this._handleOver())}unhover(){this.isDisposed()||(this.hideTooltip(),this._handleOut())}showTooltip(t){if(!this.isDisposed()){const e=this.getTooltip(),i=this.get("tooltipText"),s=this.get("tooltipHTML");if((i||s)&&e){const n=this.get("tooltipPosition"),r=this.getPrivate("tooltipTarget",this);if("fixed"!=n&&t||(this._display._setMatrix(),t=this.toGlobal(r._getTooltipPoint())),"pointer"==n){const e=this.getPrivate("lastTooltipCoords");if(e&&e.x==t.x&&e.y==t.y)return;this.setPrivate("lastTooltipCoords",t)}e.set("pointTo",t),e.set("tooltipTarget",r),e.get("x")||e.set("x",t.x),e.get("y")||e.set("y",t.y),i&&e.label.set("text",i),s&&e.label.set("html",s);const a=this.dataItem;if(a&&e.label._setDataItem(a),"always"==this.get("showTooltipOn")&&(t.x<0||t.x>this._root.width()||t.y<0||t.y>this._root.height()))return void this.hideTooltip();e.label.text.markDirtyText();const o=e.show();return this.setPrivateRaw("showingTooltip",!0),o}}}hideTooltip(){const t=this.getTooltip();if(t&&(this.removePrivate("lastTooltipCoords"),t.get("tooltipTarget")==this.getPrivate("tooltipTarget",this)||this.get("tooltip")==t)){let e=t.get("keepTargetHover")&&0==t.get("stateAnimationDuration",0)?400:void 0;const i=t.hide(e);return this.setPrivateRaw("showingTooltip",!1),i}}_getTooltipPoint(){const t=this._localBounds;if(t){let e=0,i=0;return this.get("isMeasured")?(e=t.left+h.relativeToValue(this.get("tooltipX",0),t.right-t.left),i=t.top+h.relativeToValue(this.get("tooltipY",0),t.bottom-t.top)):(e=h.relativeToValue(this.get("tooltipX",0),this.width()),i=h.relativeToValue(this.get("tooltipY",0),this.height())),{x:e,y:i}}return{x:0,y:0}}getTooltip(){let t=this.get("tooltip");if(t)return t;{let t=this.parent;if(t)return t.getTooltip()}}_updatePosition(){const t=this.parent;let e=this.get("dx",0),i=this.get("dy",0),s=this.get("x"),n=this.getPrivate("x"),r=0,o=0;const l=this.get("position");s instanceof a.QE&&(s=t?t.innerWidth()*s.value+t.get("paddingLeft",0):0),d.isNumber(s)?r=s+e:null!=n?r=n:t&&"relative"==l&&(r=t.get("paddingLeft",0)+e);let u=this.get("y"),h=this.getPrivate("y");u instanceof a.QE&&(u=t?t.innerHeight()*u.value+t.get("paddingTop",0):0),d.isNumber(u)?o=u+i:null!=h?o=h:t&&"relative"==l&&(o=t.get("paddingTop",0)+i);const c=this._display;if(c.x!=r||c.y!=o){c.invalidateBounds(),c.x=r,c.y=o;const t="positionchanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this})}this.getPrivate("showingTooltip")&&this.showTooltip()}x(){let t=this.get("x"),e=this.getPrivate("x");const i=this.parent;return i?t instanceof a.QE?h.relativeToValue(t,i.innerWidth())+i.get("paddingLeft",0):d.isNumber(t)?t:null!=e?e:i.get("paddingLeft",this._display.x):this._display.x}y(){let t=this.getPrivate("y");if(null!=t)return t;let e=this.get("y");const i=this.parent;return i?e instanceof a.QE?h.relativeToValue(e,i.innerHeight())+i.get("paddingTop",0):d.isNumber(e)?e:null!=t?t:i.get("paddingTop",this._display.y):this._display.y}_dispose(){super._dispose(),this._display.dispose(),this._removeTemplateField(),this._removeParent(this.parent),this._root._removeFocusElement(this);const t=this.get("tooltip");t&&t.dispose(),this.markDirty()}adjustedLocalBounds(){return this._fixMinBounds(this._adjustedLocalBounds),this._adjustedLocalBounds}localBounds(){return this._localBounds}bounds(){const t=this._adjustedLocalBounds,e=this.x(),i=this.y();return{left:t.left+e,right:t.right+e,top:t.top+i,bottom:t.bottom+i}}globalBounds(){const t=this.localBounds(),e=this.toGlobal({x:t.left,y:t.top}),i=this.toGlobal({x:t.right,y:t.top}),s=this.toGlobal({x:t.right,y:t.bottom}),n=this.toGlobal({x:t.left,y:t.bottom});return{left:Math.min(e.x,i.x,s.x,n.x),top:Math.min(e.y,i.y,s.y,n.y),right:Math.max(e.x,i.x,s.x,n.x),bottom:Math.max(e.y,i.y,s.y,n.y)}}_onShow(t){}_onHide(t){}appear(t,e){return(0,s.sH)(this,void 0,void 0,function*(){return yield this.hide(0),e?new Promise((i,s)=>{this.setTimeout(()=>{i(this.show(t))},e)}):this.show(t)})}show(t){return(0,s.sH)(this,void 0,void 0,function*(){if(!this._isShowing){this._isHidden=!1,this._isShowing=!0,this._isHiding=!1,this.states.lookup("default").get("visible")&&this.set("visible",!0),this._onShow(t);const e=this.states.applyAnimate("default",t);yield(0,u.M9)(e),this._isShowing=!1}})}hide(t){return(0,s.sH)(this,void 0,void 0,function*(){if(!this._isHiding&&!this._isHidden){this._isHiding=!0,this._isShowing=!1;let e=this.states.lookup("hidden");e||(e=this.states.create("hidden",{opacity:0,visible:!1})),this._isHidden=!0,this._onHide(t);const i=this.states.applyAnimate("hidden",t);yield(0,u.M9)(i),this._isHiding=!1}})}isHidden(){return this._isHidden}isShowing(){return this._isShowing}isHiding(){return this._isHiding}isHover(){return this._display.hovering()}isFocus(){return this._root.focused(this)}isDragging(){return this._isDragging}isVisible(){return!(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden"))}isVisibleDeep(){return this._parent?this._parent.isVisibleDeep()&&this.isVisible():this.isVisible()}compositeOpacity(){const t=this.get("opacity",1);return this._parent?this._parent.compositeOpacity()*t:t}compositeScale(){const t=this.get("scale",1);return this._parent?this._parent.compositeScale()*t:t}compositeRotation(){const t=this.get("rotation",0);return this._parent?this._parent.compositeRotation()+t:t}width(){let t=this.get("width"),e=this.get("maxWidth",this.getPrivate("maxWidth")),i=this.get("minWidth",this.getPrivate("minWidth")),s=this.getPrivate("width"),n=0;if(d.isNumber(s))n=s;else if(null==t)this._adjustedLocalBounds&&(n=this._adjustedLocalBounds.right-this._adjustedLocalBounds.left);else if(t instanceof a.QE){const e=this.parent;n=e?e.innerWidth()*t.value:this._root.width()*t.value}else d.isNumber(t)&&(n=t);return d.isNumber(i)&&(n=Math.max(i,n)),d.isNumber(e)&&(n=Math.min(e,n)),n}maxWidth(){let t=this.get("maxWidth",this.getPrivate("maxWidth"));if(d.isNumber(t))return t;{let t=this.get("width");
1if(d.isNumber(t))return t}const e=this.parent;return e?e.innerWidth():this._root.width()}maxHeight(){let t=this.get("maxHeight",this.getPrivate("maxHeight"));if(d.isNumber(t))return t;{let t=this.get("height");if(d.isNumber(t))return t}const e=this.parent;return e?e.innerHeight():this._root.height()}height(){let t=this.get("height"),e=this.get("maxHeight",this.getPrivate("maxHeight")),i=this.get("minHeight",this.getPrivate("minHeight")),s=this.getPrivate("height"),n=0;if(d.isNumber(s))n=s;else if(null==t)this._adjustedLocalBounds&&(n=this._adjustedLocalBounds.bottom-this._adjustedLocalBounds.top);else if(t instanceof a.QE){const e=this.parent;n=e?e.innerHeight()*t.value:this._root.height()*t.value}else d.isNumber(t)&&(n=t);return d.isNumber(i)&&(n=Math.max(i,n)),d.isNumber(e)&&(n=Math.min(e,n)),n}_findStaticTemplate(t){return this._templateField&&t(this._templateField)?this._templateField:super._findStaticTemplate(t)}_walkParents(t){this._parent&&this._walkParent(t)}_walkParent(t){this._parent&&this._parent._walkParent(t),t(this)}get parent(){return this._parent}_setParent(t,e=!1){const i=this._parent;t!==i&&(this.markDirtyBounds(),t.markDirty(),this._parent=t,e&&(this._removeParent(i),t&&(this._addPercentageSizeChildren(),this._addPercentagePositionChildren())),this.markDirtyPosition(),this._applyThemes())}getNumberFormatter(){return this.get("numberFormatter",this._root.numberFormatter)}getDateFormatter(){return this.get("dateFormatter",this._root.dateFormatter)}getDurationFormatter(){return this.get("durationFormatter",this._root.durationFormatter)}toGlobal(t){return this._display.toGlobal(t)}toLocal(t){return this._display.toLocal(t)}_getDownPoint(){const t=this._getDownPointId();if(t)return this._downPoints[t]}_getDownPointId(){if(this._downPoints)return p.keysOrdered(this._downPoints,(t,e)=>t>e?1:t<e?-1:0)[0]}toFront(){const t=this.parent;t&&t.children.moveValue(this,t.children.length-1)}toBack(){const t=this.parent;t&&t.children.moveValue(this,0)}}Object.defineProperty(m,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Sprite"}),Object.defineProperty(m,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:n.wC.classNames.concat([m.className])})},85008:function(t,e,i){i.r(e),i.d(e,{StyleRule:function(){return C},StyleSheet:function(){return S},addClass:function(){return P},addEventListener:function(){return u},addSpacing:function(){return W},alternativeColor:function(){return dt},blur:function(){return p},brighten:function(){return lt},capitalizeFirst:function(){return et},cleanFormat:function(){return H},contains:function(){return _},decimalPlaces:function(){return B},escapeForRgex:function(){return K},focus:function(){return g},get12Hours:function(){return q},getBrightnessStep:function(){return ut},getDayFromWeek:function(){return Z},getEventKey:function(){return x},getEventTarget:function(){return v},getFormat:function(){return $},getLightnessStep:function(){return ot},getMonthWeek:function(){return X},getPointerId:function(){return d},getRendererEvent:function(){return f},getSafeResolution:function(){return I},getShadowRoot:function(){return k},getStyle:function(){return b},getTimeZone:function(){return J},getTimezoneOffset:function(){return tt},getWeek:function(){return Y},getWeekYear:function(){return Q},getYearDay:function(){return V},hslToHsv:function(){return rt},hslToRgb:function(){return it},hsvToHsl:function(){return nt},iOS:function(){return O},isLight:function(){return ht},isLocalEvent:function(){return w},isTouchEvent:function(){return m},lighten:function(){return at},mergeTags:function(){return pt},onZoom:function(){return h},padString:function(){return F},plainText:function(){return G},ready:function(){return o},relativeToValue:function(){return R},removeClass:function(){return E},removeElement:function(){return l},rgbToHsl:function(){return st},sameBounds:function(){return gt},saturate:function(){return ct},setInteractive:function(){return T},setStyle:function(){return y},splitString:function(){return z},stripTags:function(){return U},supports:function(){return c},trim:function(){return M},trimLeft:function(){return L},trimRight:function(){return N},truncateTextWithEllipsis:function(){return j}});var s=i(74265),n=i(64332),r=i(58726),a=i(60340);function o(t){if("loading"!==document.readyState)t();else{const e=()=>{"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}}function l(t){t.parentNode&&t.parentNode.removeChild(t)}function u(t,e,i,s){return t.addEventListener(e,i,s||!1),new a.W_(()=>{t.removeEventListener(e,i,s||!1)})}function h(t){return u(window,"resize",e=>{t()})}function c(t){switch(t){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function d(t){return t.pointerId||0}function p(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let t=document.createElement("button");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focu
1s(),t.blur(),document.body.removeChild(t)}}function g(t){t&&t.focus()}function f(t){if(c("pointerevents"))return t;if(c("touchevents"))switch(t){case"pointerover":case"pointerdown":return"touchstart";case"pointerout":case"pointerleave":case"pointerup":return"touchend";case"pointermove":return"touchmove";case"click":return"click";case"dblclick":return"dblclick"}else if(c("mouseevents"))switch(t){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return t}function m(t){if("undefined"!=typeof Touch&&t instanceof Touch)return!0;if("undefined"!=typeof PointerEvent&&t instanceof PointerEvent&&null!=t.pointerType)switch(t.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(t instanceof MouseEvent)}else if(null!=t.type&&t.type.match(/^mouse/))return!1;return!0}function y(t,e,i){t.style[e]=i}function b(t,e){return t.style[e]}function v(t){if(t.composedPath){const e=t.composedPath();return 0===e.length?null:e[0]}return t.target}function _(t,e){let i=e;for(;;){if(t===i)return!0;if(null===i.parentNode){if(null==i.host)return!1;i=i.host}else i=i.parentNode}}function w(t,e){return t.target&&_(e.root.dom,t.target)}function T(t,e){t.style.pointerEvents=e?"auto":"none"}function x(t){if(void 0!==t.key)return t.key;switch(t.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+t.keyCode}function k(t){let e=t;for(;;){if(null===e.parentNode)return null!=e.host?e:null;e=e.parentNode}}let D;function A(t,e){const i=t.cssRules.length;return t.insertRule(e+"{}",i),t.cssRules[i]}class C extends a.O_{constructor(t,e,i,s=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=function(t,e=""){if(null===t){if(null==D){const t=document.createElement("style");t.type="text/css",""!=e&&t.setAttribute("nonce",e),document.head.appendChild(t),D=t.sheet}return D}{const i=document.createElement("style");return i.type="text/css",""!=e&&i.setAttribute("nonce",e),t.appendChild(i),i.sheet}}(t,s);try{this._rule=A(this._root,e)}catch(n){this._rule=A(this._root,":not(*)")}r.each(i,(t,e)=>{this.setStyle(t,e)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){const t=n.indexOf(this._root.cssRules,this._rule);if(-1===t)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,e){const i=this._rule.style;i.setProperty("-webkit-"+t,e,""),i.setProperty("-moz-"+t,e,""),i.setProperty("-ms-"+t,e,""),i.setProperty("-o-"+t,e,""),i.setProperty(t,e,"")}setStyle(t,e){"transition"===t?this._setVendorPrefixName(t,e):this._rule.style.setProperty(t,e,"")}}class S extends a.O_{constructor(t,e,i=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=function(t,e,i=""){const s=document.createElement("style");return s.type="text/css",""!=i&&s.setAttribute("nonce",i),s.textContent=e,null===t?document.head.appendChild(s):t.appendChild(s),s}(t,e,i)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}}function P(t,e){if(t)if(t.classList){const i=e.split(" ");n.each(i,e=>{t.classList.add(e)})}else{let i=t.getAttribute("class");i?t.setAttribute("class",i.split(" ").filter(t=>t!==e).join(" ")+" "+e):t.setAttribute("class",e)}}function E(t,e){if(t)if(t.classList)t.classList.remove(e);else{let i=t.getAttribute("class");i&&t.setAttribute("class",i.split(" ").filter(t=>t!==e).join(" "))}}function O(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function I(){return O()?1:void 0}function R(t,e){return s.isNumber(t)?t:null!=t&&s.isNumber(t.value)&&s.isNumber(e)?e*t.value:0}function B(t){let e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}function F(t,e=0,i="0"){return"string"!=typeof t&&(t=t.toString()),e>t.length?Array(e-t.length+1).join(i)+t:t}function L(t){return t.replace(/^[\s]*/,"")}function N(t){return t.replace(/[\s]*$/,"")}function M(t){return L(N(t))}function j(t,e,i=!1,s="..."){if(t.length>e){let n=e-1;for(;n>=0&&t.charAt(n).match(/\w/);)n--;return n>=0&&0==i?t.substring(0,n+1)+"...":t.substring(0,e)+s}return t}function $(t){if(void 0===t)return"string";let e=(t=(t=(t=t.toLowerCase().replace(/^\[[^\]]*\]/,"")).replace(/\[[^\]]+\]/,"")).trim()).match(/\/(date|number|duration)$/);return e?e[1]:"number"===t?"number":"date"===t?"date":"duration"===t?"duration":t.match(/[#0]/)?"number":t.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function H(t){return t.replace(/\/(date|number|duration)$/i,"")}function U(t){return t?t.replace(/<[^>]*>/g,""):t}function G(t){return t?U((""+t).replace(/[\n\r]+/g,". ")):t}function K(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function W(t){let e="";for(let i=0;i<t.length;i++){const s=t.charAt(i);s.toUpperCase()==s&&0!=i&&(e+=" "),e+=s}return e}function z(t){const e=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,i=/([^اأدذرزو]*[اأدذرزو])/gi;let s=t.split(/(\s+)/),n=[];
1return s.forEach(t=>{if(t.match(/^\s+$/))(t=" ")&&(t="  "),n.push(t);else if(e.test(t)){let e=t.split(i).filter(t=>""!==t);n=n.concat(e)}else n=n.concat([...t])}),n}function V(t,e=!1){const i=new Date(t.getFullYear(),0,0),s=t.getTime()-i.getTime()+60*(i.getTimezoneOffset()-t.getTimezoneOffset())*1e3;return Math.floor(s/864e5)}function Y(t,e=!1){const i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),s=i.getUTCDay()||7;i.setUTCDate(i.getUTCDate()+4-s);const n=new Date(Date.UTC(i.getUTCFullYear(),0,1));return Math.ceil(((i.getTime()-n.getTime())/864e5+1)/7)}function Q(t,e=!1){const i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),s=i.getUTCDay()||7;i.setUTCDate(i.getUTCDate()+4-s);return new Date(Date.UTC(i.getUTCFullYear(),0,1)).getFullYear()}function X(t,e=!1){const i=Y(new Date(t.getFullYear(),t.getMonth(),1),e);let s=Y(t,e);return 1==s&&(s=53),s-i+1}function Z(t,e,i=1,s=!1){let n=new Date(e,0,4,0,0,0,0);return s&&n.setUTCFullYear(e),7*t+i-((n.getDay()||7)+3)}function q(t,e){return t>12?t-=12:0===t&&(t=12),null!=e?t+(e-1):t}function J(t,e=!1,i=!1,s=!1,n){if(s)return e?"Coordinated Universal Time":"UTC";if(n){const i=t.toLocaleString("en-US",{timeZone:n});return M(t.toLocaleString("en-US",{timeZone:n,timeZoneName:e?"long":"short"}).substr(i.length))}let r=t.toLocaleString("UTC"),a=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(r.length);return!1===i&&(a=a.replace(/ (standard|daylight|summer|winter) /i," ")),M(a)}function tt(t,e){const i=e||new Date(Date.UTC(2012,0,1,0,0,0,0)),s=new Date(i.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(i.toLocaleString("en-US",{timeZone:t})).getTime()-s.getTime())/6e4*-1}function et(t){return t.charAt(0).toUpperCase()+t.slice(1)}function it(t){let e,i,s,n=t.h,r=t.s,a=t.l;if(0==r)e=i=s=a;else{let t=function(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t},o=a<.5?a*(1+r):a+r-a*r,l=2*a-o;e=t(l,o,n+1/3),i=t(l,o,n),s=t(l,o,n-1/3)}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*s)}}function st(t){let e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),r=Math.min(e,i,s),a=0,o=0,l=(n+r)/2;if(n===r)a=o=0;else{let t=n-r;switch(o=l>.5?t/(2-n-r):t/(n+r),n){case e:a=(i-s)/t+(i<s?6:0);break;case i:a=(s-e)/t+2;break;case s:a=(e-i)/t+4}a/=6}return{h:a,s:o,l:l}}function nt(t){const e=t.v*(1-t.s/2),i=0===e||1===e?0:(t.v-e)/Math.min(e,1-e);return{h:t.h,s:i,l:e,a:t.a}}function rt(t){const e=t.l+t.s*Math.min(t.l,1-t.l),i=0===e?0:2*(1-t.l/e);return{h:t.h,s:i,v:e,a:t.a}}function at(t,e){return t?{r:Math.max(0,Math.min(255,t.r+ot(t.r,e))),g:Math.max(0,Math.min(255,t.g+ot(t.g,e))),b:Math.max(0,Math.min(255,t.b+ot(t.b,e))),a:t.a}:t}function ot(t,e){let i=e>0?255-t:t;return Math.round(i*e)}function lt(t,e){if(t){let i=ot(Math.min(Math.max(t.r,t.g,t.b),230),e);return{r:Math.max(0,Math.min(255,Math.round(t.r+i))),g:Math.max(0,Math.min(255,Math.round(t.g+i))),b:Math.max(0,Math.min(255,Math.round(t.b+i))),a:t.a}}return t}function ut(t,e){return Math.round(255*e)}function ht(t){return(299*t.r+587*t.g+114*t.b)/1e3>=128}function ct(t,e){if(void 0===t||1==e)return t;let i=st(t);return i.s=e,it(i)}function dt(t,e={r:255,g:255,b:255},i={r:255,g:255,b:255}){let s=e,n=i;return ht(i)&&(s=i,n=e),ht(t)?n:s}function pt(t,e){return t||(t=[]),[...t,...e].filter((t,e,i)=>i.indexOf(t)===e)}function gt(t,e){return!!e&&(t.left==e.left&&(t.right==e.right&&(t.top==e.top&&t.bottom==e.bottom)))}},88631:function(t,e,i){i.d(e,{z:function(){return n}});var s=i(79960);class n extends s.wC{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeGraphics()}),Object.defineProperty(this,"_backgroundDisplay",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeGraphics()}),Object.defineProperty(this,"_clear",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_pattern",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNewApplyThemes()}get pattern(){return this._pattern}_draw(){}_beforeChanged(){super._beforeChanged(),(this.isDirty("repetition")||this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation")||this.isDirty("strokeWidth")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("colorOpacity")||this.isDirty("fillOpacity"))&&(this._clear=!0),this._checkDirtyFill()}_checkDirtyFill(){(this.isDirty("color")||this.isDirty("fill"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){const t=this.get("repetition",""),e=this.get("width",100),i=this.get("height",100),s=this.get("fill"),n=this.get("fillOpacity",1),r=this._backgroundDisplay,a=this._display;a.clear(),r.clear(),s&&n>0&&(r.beginFill(s,n),r.drawRect(0,0,e,i),r.endFill()),a.angle=this.get("rotation",0),this._draw(),this._pattern=this._root._renderer.createPattern(a,r,t,e,i)}this._clear=!1}}Object.defineProperty(n,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Pattern"}
1),Object.defineProperty(n,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.wC.classNames.concat([n.className])})},89516:function(t,e,i){i.r(e),i.d(e,{add:function(){return f},checkChange:function(){return g},chooseInterval:function(){return b},copy:function(){return p},getDateIntervalDuration:function(){return h},getDuration:function(){return l},getIntervalDuration:function(){return u},getNextUnit:function(){return o},getTime:function(){return d},getUnitValue:function(){return v},now:function(){return c},roun:function(){return m},round:function(){return y},sleep:function(){return r},timeUnitDurations:function(){return a}});var s=i(74265),n=i(85008);function r(t){return new Promise((e,i)=>{setTimeout(e,t)})}let a={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2629742400,year:31536e6};function o(t){switch(t){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function l(t,e){return null==e&&(e=1),a[t]*e}function u(t){return t?a[t.timeUnit]*t.count:0}function h(t,e,i,s,n){const r=t.timeUnit,o=t.count;if("hour"==r||"minute"==r||"second"==r||"millisecond"==r)return a[t.timeUnit]*t.count;{const t=y(new Date(e.getTime()),r,o,i,s,void 0,n).getTime();let a=t+o*l(r)*1.05;return a=y(new Date(a),r,1,i,s,void 0,n).getTime(),a-t}}function c(){return new Date}function d(){return c().getTime()}function p(t){return new Date(t.getTime())}function g(t,e,i,s,n){if(e-t>l(i,1.2))return!0;let r=new Date(t),a=new Date(e);n&&(r=n.convertLocal(r),a=n.convertLocal(a));let u=0,h=0;s||"millisecond"==i||(u=r.getTimezoneOffset(),r.setUTCMinutes(r.getUTCMinutes()-u),h=a.getTimezoneOffset(),a.setUTCMinutes(a.getUTCMinutes()-h));let c=!1;switch(i){case"year":r.getUTCFullYear()!=a.getUTCFullYear()&&(c=!0);break;case"month":(r.getUTCFullYear()!=a.getUTCFullYear()||r.getUTCMonth()!=a.getUTCMonth())&&(c=!0);break;case"day":(r.getUTCMonth()!=a.getUTCMonth()||r.getUTCDate()!=a.getUTCDate())&&(c=!0);break;case"hour":r.getUTCHours()!=a.getUTCHours()&&(c=!0);break;case"minute":r.getUTCMinutes()!=a.getUTCMinutes()&&(c=!0);break;case"second":r.getUTCSeconds()!=a.getUTCSeconds()&&(c=!0);break;case"millisecond":r.getTime()!=a.getTime()&&(c=!0)}if(c)return c;let d=o(i);return!!d&&g(t,e,d,s,n)}function f(t,e,i,s,n){let r=0;switch(s||"millisecond"==e||(r=t.getTimezoneOffset(),n&&(r-=n.offsetUTC(t)),t.setUTCMinutes(t.getUTCMinutes()-r)),e){case"day":let e=t.getUTCDate();t.setUTCDate(e+i);break;case"second":let s=t.getUTCSeconds();t.setUTCSeconds(s+i);break;case"millisecond":let n=t.getUTCMilliseconds();t.setUTCMilliseconds(n+i);break;case"hour":let r=t.getUTCHours();t.setUTCHours(r+i);break;case"minute":let a=t.getUTCMinutes();t.setUTCMinutes(a+i);break;case"year":let o=t.getUTCFullYear();t.setUTCFullYear(o+i);break;case"month":const l=t.getUTCDate(),u=new Date(t.getUTCFullYear(),t.getUTCMonth(),0).getUTCDate();let h=t.getUTCMonth();l>u?t.setUTCMonth(h+i,u):t.setUTCMonth(h+i);break;case"week":let c=t.getUTCDate();t.setUTCDate(c+7*i)}if(!s&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+r),"day"==e||"week"==e||"month"==e||"year"==e)){let e=t.getTimezoneOffset();if(n&&(e+=n.offsetUTC(t)),e!=r){let i=e-r;t.setUTCMinutes(t.getUTCMinutes()+i),t.getTimezoneOffset()!=e&&t.setUTCMinutes(t.getUTCMinutes()-i)}}return t}function m(t,e,i,s,n){let r;return null!=n&&(r=new Date(n)),y(new Date(t),e,i,s.locale.firstDayOfWeek,s.utc,r,s.timezone).getTime()}function y(t,e,i,n,r,a,o){if(!o||r){let o=0;switch(r||"millisecond"==e||(o=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-o)),e){case"day":let e=t.getUTCDate();if(i>1){if(a){a=y(a,"day",1);let e=t.getTime()-a.getTime(),s=Math.floor(e/l("day")/i),n=l("day",s*i);t.setTime(a.getTime()+n-o*l("minute"))}}else t.setUTCDate(e);t.setUTCHours(0,0,0,0);break;case"second":let r=t.getUTCSeconds();i>1&&(r=Math.floor(r/i)*i),t.setUTCSeconds(r,0);break;case"millisecond":if(1==i)return t;let u=t.getUTCMilliseconds();u=Math.floor(u/i)*i,t.setUTCMilliseconds(u);break;case"hour":let h=t.getUTCHours();i>1&&(h=Math.floor(h/i)*i),t.setUTCHours(h,0,0,0);break;case"minute":let c=t.getUTCMinutes();i>1&&(c=Math.floor(c/i)*i),t.setUTCMinutes(c,0,0);break;case"month":let d=t.getUTCMonth();i>1&&(d=Math.floor(d/i)*i),t.setUTCMonth(d,1),t.setUTCHours(0,0,0,0);break;case"year":let p=t.getUTCFullYear();i>1&&(p=Math.floor(p/i)*i),t.setUTCFullYear(p,0,1),t.setUTCHours(0,0,0,0);break;case"week":if(i>1&&a){a=y(a,"week",1);let e=t.getTime()-a.getTime(),s=Math.floor(e/l("week")/i),n=l("week",s*i);t.setTime(a.getTime()+n-o*l("minute"))}let g=t.getUTCDate(),f=t.getUTCDay();s.isNumber(n)||(n=1),g=f>=n?g-f+n:g-(7+f)+n,t.setUTCDate(g),t.setUTCHours(0,0,0,0)}if(!r&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+o),"day"==e||"week"==e||"month"==e||"year"==e)){let e=t.getTimezoneOffset();if(e!=o){let i=e-o;t.setUTCMinutes(t.getUTCMinutes()+i)}}return t}{if(isNaN(t.getTime()))return t;
1let u=t.getTime(),h=o.offsetUTC(t),c=t.getTimezoneOffset(),d=o.parseDate(t),p=d.year,g=d.month,f=d.day,m=d.hour,b=d.minute,v=d.second,_=d.millisecond,w=d.weekday,T=h-c;switch(e){case"day":if(i>1&&a){a=y(a,"day",1,n,r,void 0,o);let e=t.getTime()-a.getTime(),s=Math.floor(e/l("day")/i),u=l("day",s*i);t.setTime(a.getTime()+u),d=o.parseDate(t),p=d.year,g=d.month,f=d.day}m=0,b=T,v=0,_=0;break;case"second":b+=T,i>1&&(v=Math.floor(v/i)*i),_=0;break;case"millisecond":b+=T,i>1&&(_=Math.floor(_/i)*i);break;case"hour":i>1&&(m=Math.floor(m/i)*i),b=T,v=0,_=0;break;case"minute":i>1&&(b=Math.floor(b/i)*i),b+=T,v=0,_=0;break;case"month":i>1&&(g=Math.floor(g/i)*i),f=1,m=0,b=T,v=0,_=0;break;case"year":i>1&&(p=Math.floor(p/i)*i),g=0,f=1,m=0,b=T,v=0,_=0;break;case"week":s.isNumber(n)||(n=1),f=w>=n?f-w+n:f-(7+w)+n,m=0,b=T,v=0,_=0}const x=(t=new Date(p,g,f,m,b,v,_)).getTime();let k=36e5;"hour"==e&&(k=36e5*i),x+k<=u&&("hour"!=e&&"minute"!=e&&"second"!=e&&"millisecond"!=e||(t=new Date(x+k)));let D=t.getTimezoneOffset(),A=o.offsetUTC(t)-D;return A!=T&&t.setTime(t.getTime()+6e4*(A-T)),t}}function b(t,e,i,s){let n=u(s[t]),r=s.length-1;if(t>=r)return Object.assign({},s[r]);let a=Math.ceil(e/n);return e<n&&t>0?Object.assign({},s[t-1]):a<=i?Object.assign({},s[t]):t+1<s.length?b(t+1,e,i,s):Object.assign({},s[t])}function v(t,e){switch(e){case"day":return t.getDate();case"second":return t.getSeconds();case"millisecond":return t.getMilliseconds();case"hour":return t.getHours();case"minute":return t.getMinutes();case"month":return t.getMonth();case"year":return t.getFullYear();case"week":return n.getWeek(t)}}},91032:function(t,e,i){i.d(e,{B:function(){return a}});var s=i(79698);let n;function r(t){const e=s.e.get().createCanvas(6,1),i=e.getContext("2d");return i.fillStyle=t,i.fillRect(0,0,6,1),e}function a(){if(void 0!==n)return n;try{const t=r("#ff00ff"),e=r("#ffff00"),i=s.e.get().createCanvas(6,1).getContext("2d");i.globalCompositeOperation="multiply",i.drawImage(t,0,0),i.drawImage(e,2,0);const a=i.getImageData(2,0,1,1);if(a){const t=a.data;n=255===t[0]&&0===t[1]&&0===t[2]}else n=!1}catch(t){n=!1}return n}},93687:function(t,e,i){i.d(e,{V:function(){return l}});var s=i(45166),n=i(62885),r=i(78076),a=i(60340),o=i(97515);class l extends s.m{constructor(){super(...arguments),Object.defineProperty(this,"homeButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(n.$.new(this._root,{width:35,height:35,themeTags:["home"]}))}),Object.defineProperty(this,"plusButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(n.$.new(this._root,{width:35,height:35,themeTags:["plus"]}))}),Object.defineProperty(this,"minusButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(n.$.new(this._root,{width:35,height:35,themeTags:["minus"]}))}),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_targetDisposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew(),this.set("position","absolute"),this.set("layout",this._root.verticalLayout),this.addTag("zoomtools"),this.plusButton.setAll({icon:r.A.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.minusButton.setAll({icon:r.A.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.homeButton.setAll({icon:r.A.new(this._root,{themeTags:["icon"]}),layout:void 0})}_prepareChildren(){if(super._prepareChildren(),this.isDirty("target")){const t=this.get("target"),e=this._prevSettings.target;t&&(t instanceof o.b&&(this._targetDisposer=this.addDisposer(t.contents.on("scale",e=>{e==t.get("minZoomLevel")?this.minusButton.set("disabled",!0):this.minusButton.set("disabled",!1),e==t.get("maxZoomLevel")?this.plusButton.set("disabled",!0):this.plusButton.set("disabled",!1)})),this.root.events.once("frameended",()=>{t.get("scale")==t.get("minZoomLevel")&&this.minusButton.set("disabled",!0)})),this._disposer=new a.ZT([this.plusButton.events.on("click",()=>{t.zoomIn()}),this.minusButton.events.on("click",()=>{t.zoomOut()}),this.homeButton.events.on("click",()=>{t.goHome()})])),e&&(this._disposer&&this._disposer.dispose(),this._targetDisposer&&this._targetDisposer.dispose())}}}Object.defineProperty(l,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ZoomTools"}
1),Object.defineProperty(l,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.m.classNames.concat([l.className])})},97417:function(t,e,i){i.d(e,{J:function(){return r},X:function(){return n}});var s=i(73597);class n extends s.B8{constructor(){super(...arguments),Object.defineProperty(this,"processor",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}incrementRef(){}decrementRef(){}_onPush(t){this.processor&&this.processor.processRow(t),super._onPush(t)}_onInsertIndex(t,e){this.processor&&this.processor.processRow(e),super._onInsertIndex(t,e)}_onSetIndex(t,e,i){this.processor&&this.processor.processRow(i),super._onSetIndex(t,e,i)}}class r{constructor(t){Object.defineProperty(this,"processor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._value=t}incrementRef(){}decrementRef(){}}},97515:function(t,e,i){i.d(e,{b:function(){return c}});var s=i(45166),n=i(28220),r=i(25296),a=i(8298),o=i(85008),l=i(62971),u=i(58726),h=i(74265);class c extends s.m{constructor(){super(...arguments),Object.defineProperty(this,"_za",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_txa",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tya",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_movePoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_downScale",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_downX",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_downY",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_pinchDP",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contents",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(s.m.new(this._root,{width:n.Q2,height:n.Q2,x:0,y:0,draggable:!0,background:r.M.new(this._root,{fill:(0,a.yW)(16777215),fillOpacity:0})}))}),Object.defineProperty(this,"_wheelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew();const t=this.contents.events;this._disposers.push(t.on("pointerdown",t=>{this._handleThisDown(t)})),this._disposers.push(t.on("globalpointerup",t=>{this._handleThisUp(t)})),this._disposers.push(t.on("globalpointermove",t=>{this._handleThisMove(t)}));const e=this.contents.get("background");e&&(e.adapters.add("width",t=>20*Number(t)),e.adapters.add("height",t=>20*Number(t)),e.adapters.add("x",t=>Number(t)-e.width()/2),e.adapters.add("y",t=>Number(t)-e.height()/2));const i=this.contents;i.adapters.add("x",t=>{const e=i.get("scale",1);if(h.isNumber(t)&&e>=1){let s=this.get("maxPanOut",.4),n=i.width();t=Math.min(n*s,t),t=Math.max(this.width()-n*e*(1+s),t)}return t}),i.adapters.add("y",t=>{const e=i.get("scale",1);if(h.isNumber(t)&&e>=1){let s=this.get("maxPanOut",.4),n=i.height();t=Math.min(n*s,t),t=Math.max(this.height()-n*e*(1+s),t)}return t})}_prepareChildren(){super._prepareChildren(),this.isDirty("wheelable")&&this._handleSetWheel(),this.contents._display.cancelTouch=this.get("pinchZoom",!1)}_handleSetWheel(){this.get("wheelable")?(this._wheelDp&&this._wheelDp.dispose(),this._wheelDp=this.events.on("wheel",t=>{const e=t.originalEvent;if(!o.isLocalEvent(e,this))return;e.preventDefault();const i=this.toLocal(t.point);this._handleWheelZoom(e.deltaY,i)}),this._disposers.push(this._wheelDp)):this._wheelDp&&this._wheelDp.dispose()}_handleWheelZoom(t,e){let i=this.get("zoomStep",2),s=this.contents.get("scale",1),n=s;t>0?n=s/i:t<0&&(n=s*i),n!=s&&this.zoomToPoint(e,n)}zoomToPoint(t,e){e&&(e=l.fitToRange(e,this.get("minZoomLevel",1),this.get("maxZoomLevel",32)));const i=this.contents.get("scale",1);let s=t.x,n=t.y,r=s,a=n;const o=this.contents;let u=r-(s-o.x())/i*e,h=a-(n-o.y())/i*e;return this._animateTo(u,h,e),this._za}zoomIn(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.contents.get("scale",1)*this.get("zoomStep",2))}zoomOut(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.contents.get("scale",1)/this.get("zoomStep",2))}
1goHome(){return this._animateTo(0,0,1)}_animateTo(t,e,i){const s=this.get("animationDuration",0),n=this.get("animationEasing"),r=this.contents;this._txa=r.animate({key:"x",to:t,duration:s,easing:n}),this._tya=r.animate({key:"y",to:e,duration:s,easing:n}),this._za=r.animate({key:"scale",to:i,duration:s,easing:n})}_handleThisUp(t){this._downPoints={}}_handleThisDown(t){const e=this.contents;this._downScale=e.get("scale",1);const i=e._downPoints;let s=u.keys(i).length;if(1==s){let e=i[1];e||(e=i[0]),e&&e.x==t.point.x&&e.y==t.point.y&&(s=0)}if(s>0){this._downX=e.x(),this._downY=e.y();const t=e._getDownPointId();if(t){let i=this._movePoints[t];i&&(e._downPoints[t]=i)}}}_handleThisMove(t){const e=t.originalEvent.pointerId;this.get("pinchZoom")&&e&&(this._movePoints[e]=t.point,u.keys(this.contents._downPoints).length>1)&&this._handlePinch()}_handlePinch(){let t=0,e=[],i=[];if(u.each(this.contents._downPoints,(s,n)=>{e[t]=n;let r=this._movePoints[s];r&&(i[t]=r),t++}),e.length>1&&i.length>1){this.contents._isDragging=!1;let t=e[0],s=e[1],n=i[0],r=i[1];if(t&&s&&n&&r){t=this.toLocal(t),s=this.toLocal(s),n=this.toLocal(n),r=this.toLocal(r);let e=Math.hypot(s.x-t.x,s.y-t.y),i=Math.hypot(r.x-n.x,r.y-n.y)/e*this._downScale,a={x:n.x+(r.x-n.x)/2,y:n.y+(r.y-n.y)/2},o={x:t.x+(s.x-t.x)/2,y:t.y+(s.y-t.y)/2},l=this._downX||0,u=this._downY||0,h=this._downScale,c=a.x-(-l+o.x)/h*i,d=a.y-(-u+o.y)/h*i;this.contents.setAll({x:c,y:d,scale:i})}}}}Object.defineProperty(c,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ZoomableContainer"}),Object.defineProperty(c,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.m.classNames.concat([c.className])})}}]);
2//# sourceMappingURL=fe8bb93dcba62e8ce8a062d724dbc8a69309bd57-a4102a92d6e48fba6a4f.js.map

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.