From c74f482b41b9808476a172d79fd6af92e0d9dace Mon Sep 17 00:00:00 2001 From: sidharthv96 Date: Wed, 8 Jun 2022 08:48:12 +0000 Subject: [PATCH] deploy: 0eb8ba87fd4965d279c937f3c8c3ac3357261317 --- _app/immutable/chunks/util-afcbbd18.js | 1231 +++++++++++++++++ _app/immutable/manifest.json | 16 +- .../pages/__layout.svelte-baeebbfc.js | 1 + _app/immutable/pages/edit.svelte-7b8f94c5.js | 109 ++ _app/immutable/pages/view.svelte-9a8ed86c.js | 1 + _app/immutable/start-cd13e64e.js | 1 + _app/version.json | 2 +- edit.html | 4 +- index.html | 4 +- view.html | 4 +- 10 files changed, 1358 insertions(+), 15 deletions(-) create mode 100644 _app/immutable/chunks/util-afcbbd18.js create mode 100644 _app/immutable/pages/__layout.svelte-baeebbfc.js create mode 100644 _app/immutable/pages/edit.svelte-7b8f94c5.js create mode 100644 _app/immutable/pages/view.svelte-9a8ed86c.js create mode 100644 _app/immutable/start-cd13e64e.js diff --git a/_app/immutable/chunks/util-afcbbd18.js b/_app/immutable/chunks/util-afcbbd18.js new file mode 100644 index 00000000..1d612a96 --- /dev/null +++ b/_app/immutable/chunks/util-afcbbd18.js @@ -0,0 +1,1231 @@ +var J6=Object.defineProperty,tx=Object.defineProperties;var ex=Object.getOwnPropertyDescriptors;var x6=Object.getOwnPropertySymbols;var nx=Object.prototype.hasOwnProperty,rx=Object.prototype.propertyIsEnumerable;var w6=(S,O,p)=>O in S?J6(S,O,{enumerable:!0,configurable:!0,writable:!0,value:p}):S[O]=p,X_=(S,O)=>{for(var p in O||(O={}))nx.call(O,p)&&w6(S,p,O[p]);if(x6)for(var p of x6(O))rx.call(O,p)&&w6(S,p,O[p]);return S},Z_=(S,O)=>tx(S,ex(O));import{S as ix,i as ax,s as ox,e as k6,c as T6,a as C6,d as Q_,b as Cb,Y as Eb,g as sx,J as cx,E as E6,N as ux,v as lx,a5 as hx,Q as S6,O as J_}from"./index-b06f7db9.js";import{w as ey,d as fx}from"./preload-helper-29d322af.js";import{c as K_,p as i6,a as a6,h as t6,i as B6,j as dx,k as px,m as gx,b as yx,n as mx}from"./state-3a19ae0b.js";const vx=ey(void 0);/*! For license information please see mermaid.esm.min.mjs.LICENSE.txt */var bx={1362:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(wt,pe,mt,It){for(mt=mt||{},It=wt.length;It--;mt[wt[It]]=pe);return mt},k=[1,3],y=[1,7],C=[1,8],A=[1,9],M=[1,10],R=[1,13],B=[1,12],Y=[1,16,25],G=[1,20],Q=[1,31],K=[1,32],gt=[1,33],tt=[1,35],Lt=[1,38],at=[1,36],vt=[1,37],At=[1,39],Zt=[1,40],zt=[1,41],xt=[1,42],jt=[1,45],Bt=[1,46],lt=[1,47],et=[1,48],st=[16,25],$=[1,62],Dt=[1,63],z=[1,64],Kt=[1,65],_t=[1,66],ae=[1,67],Ee=[16,25,32,44,45,53,56,57,58,59,60,61,66,68],Pe=[16,25,30,32,44,45,49,53,56,57,58,59,60,61,66,68,83,84,85,86],le=[5,8,9,10,11,16,19,23,25],oe=[53,83,84,85,86],he=[53,60,61,83,84,85,86],be=[53,56,57,58,59,83,84,85,86],Ne=[16,25,32],de=[1,99],Se={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,CLASS:43,STYLE_SEPARATOR:44,STRUCT_START:45,members:46,STRUCT_STOP:47,ANNOTATION_START:48,ANNOTATION_END:49,MEMBER:50,SEPARATOR:51,relation:52,STR:53,relationType:54,lineType:55,AGGREGATION:56,EXTENSION:57,COMPOSITION:58,DEPENDENCY:59,LINE:60,DOTTED_LINE:61,CALLBACK:62,LINK:63,LINK_TARGET:64,CLICK:65,CALLBACK_NAME:66,CALLBACK_ARGS:67,HREF:68,CSSCLASS:69,commentToken:70,textToken:71,graphCodeTokens:72,textNoTagsToken:73,TAGSTART:74,TAGEND:75,"==":76,"--":77,PCT:78,DEFAULT:79,SPACE:80,MINUS:81,keywords:82,UNICODE_TEXT:83,NUM:84,ALPHA:85,BQUOTE_STR:86,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",38:"acc_title",39:"acc_title_value",40:"acc_descr",41:"acc_descr_value",42:"acc_descr_multiline_value",43:"CLASS",44:"STYLE_SEPARATOR",45:"STRUCT_START",47:"STRUCT_STOP",48:"ANNOTATION_START",49:"ANNOTATION_END",50:"MEMBER",51:"SEPARATOR",53:"STR",56:"AGGREGATION",57:"EXTENSION",58:"COMPOSITION",59:"DEPENDENCY",60:"LINE",61:"DOTTED_LINE",62:"CALLBACK",63:"LINK",64:"LINK_TARGET",65:"CLICK",66:"CALLBACK_NAME",67:"CALLBACK_ARGS",68:"HREF",69:"CSSCLASS",72:"graphCodeTokens",74:"TAGSTART",75:"TAGEND",76:"==",77:"--",78:"PCT",79:"DEFAULT",80:"SPACE",81:"MINUS",82:"keywords",83:"UNICODE_TEXT",84:"NUM",85:"ALPHA",86:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[46,1],[46,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[52,3],[52,2],[52,2],[52,1],[54,1],[54,1],[54,1],[54,1],[55,1],[55,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[70,1],[70,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[73,1],[73,1],[73,1],[73,1],[28,1],[28,1],[28,1],[29,1]],performAction:function(wt,pe,mt,It,St,nt,ue){var Rt=nt.length-1;switch(St){case 5:It.setDirection("TB");break;case 6:It.setDirection("BT");break;case 7:It.setDirection("RL");break;case 8:It.setDirection("LR");break;case 12:It.parseDirective("%%{","open_directive");break;case 13:It.parseDirective(nt[Rt],"type_directive");break;case 14:nt[Rt]=nt[Rt].trim().replace(/'/g,'"'),It.parseDirective(nt[Rt],"arg_directive");break;case 15:It.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=nt[Rt];break;case 22:this.$=nt[Rt-1]+nt[Rt];break;case 23:case 24:this.$=nt[Rt-1]+"~"+nt[Rt];break;case 25:It.addRelation(nt[Rt]);break;case 26:nt[Rt-1].title=It.cleanupLabel(nt[Rt]),It.addRelation(nt[Rt-1]);break;case 34:this.$=nt[Rt].trim(),It.setTitle(this.$);break;case 35:case 36:this.$=nt[Rt].trim(),It.setAccDescription(this.$);break;case 37:It.addClass(nt[Rt]);break;case 38:It.addClass(nt[Rt-2]),It.setCssClass(nt[Rt-2],nt[Rt]);break;case 39:It.addClass(nt[Rt-3]),It.addMembers(nt[Rt-3],nt[Rt-1]);break;case 40:It.addClass(nt[Rt-5]),It.setCssClass(nt[Rt-5],nt[Rt-3]),It.addMembers(nt[Rt-5],nt[Rt-1]);break;case 41:It.addAnnotation(nt[Rt],nt[Rt-2]);break;case 42:this.$=[nt[Rt]];break;case 43:nt[Rt].push(nt[Rt-1]),this.$=nt[Rt];break;case 44:case 46:case 47:break;case 45:It.addMember(nt[Rt-1],It.cleanupLabel(nt[Rt]));break;case 48:this.$={id1:nt[Rt-2],id2:nt[Rt],relation:nt[Rt-1],relationTitle1:"none",relationTitle2:"none"};break;case 49:this.$={id1:nt[Rt-3],id2:nt[Rt],relation:nt[Rt-1],relationTitle1:nt[Rt-2],relationTitle2:"none"};break;case 50:this.$={id1:nt[Rt-3],id2:nt[Rt],relation:nt[Rt-2],relationTitle1:"none",relationTitle2:nt[Rt-1]};break;case 51:this.$={id1:nt[Rt-4],id2:nt[Rt],relation:nt[Rt-2],relationTitle1:nt[Rt-3],relationTitle2:nt[Rt-1]};break;case 52:this.$={type1:nt[Rt-2],type2:nt[Rt],lineType:nt[Rt-1]};break;case 53:this.$={type1:"none",type2:nt[Rt],lineType:nt[Rt-1]};break;case 54:this.$={type1:nt[Rt-1],type2:"none",lineType:nt[Rt]};break;case 55:this.$={type1:"none",type2:"none",lineType:nt[Rt]};break;case 56:this.$=It.relationType.AGGREGATION;break;case 57:this.$=It.relationType.EXTENSION;break;case 58:this.$=It.relationType.COMPOSITION;break;case 59:this.$=It.relationType.DEPENDENCY;break;case 60:this.$=It.lineType.LINE;break;case 61:this.$=It.lineType.DOTTED_LINE;break;case 62:case 68:this.$=nt[Rt-2],It.setClickEvent(nt[Rt-1],nt[Rt]);break;case 63:case 69:this.$=nt[Rt-3],It.setClickEvent(nt[Rt-2],nt[Rt-1]),It.setTooltip(nt[Rt-2],nt[Rt]);break;case 64:case 72:this.$=nt[Rt-2],It.setLink(nt[Rt-1],nt[Rt]);break;case 65:case 73:this.$=nt[Rt-3],It.setLink(nt[Rt-2],nt[Rt-1],nt[Rt]);break;case 66:case 74:this.$=nt[Rt-3],It.setLink(nt[Rt-2],nt[Rt-1]),It.setTooltip(nt[Rt-2],nt[Rt]);break;case 67:case 75:this.$=nt[Rt-4],It.setLink(nt[Rt-3],nt[Rt-2],nt[Rt]),It.setTooltip(nt[Rt-3],nt[Rt-1]);break;case 70:this.$=nt[Rt-3],It.setClickEvent(nt[Rt-2],nt[Rt-1],nt[Rt]);break;case 71:this.$=nt[Rt-4],It.setClickEvent(nt[Rt-3],nt[Rt-2],nt[Rt-1]),It.setTooltip(nt[Rt-3],nt[Rt]);break;case 76:It.setCssClass(nt[Rt-1],nt[Rt])}},table:[{3:1,4:2,5:k,6:4,7:5,8:y,9:C,10:A,11:M,12:6,13:11,19:R,23:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:k,6:4,7:5,8:y,9:C,10:A,11:M,12:6,13:11,19:R,23:B},{1:[2,9]},f(Y,[2,5]),f(Y,[2,6]),f(Y,[2,7]),f(Y,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:G},f([17,22],[2,13]),{6:30,7:29,8:y,9:C,10:A,11:M,13:11,19:R,24:21,26:22,27:34,28:43,29:44,31:23,33:24,34:25,35:26,36:27,37:28,38:Q,40:K,42:gt,43:tt,48:Lt,50:at,51:vt,62:At,63:Zt,65:zt,69:xt,83:jt,84:Bt,85:lt,86:et},{16:[1,49]},{18:50,21:[1,51]},{16:[2,15]},{25:[1,52]},{16:[1,53],25:[2,17]},f(st,[2,25],{32:[1,54]}),f(st,[2,27]),f(st,[2,28]),f(st,[2,29]),f(st,[2,30]),f(st,[2,31]),f(st,[2,32]),f(st,[2,33]),{39:[1,55]},{41:[1,56]},f(st,[2,36]),f(st,[2,44],{52:57,54:60,55:61,32:[1,59],53:[1,58],56:$,57:Dt,58:z,59:Kt,60:_t,61:ae}),{27:68,28:43,29:44,83:jt,84:Bt,85:lt,86:et},f(st,[2,46]),f(st,[2,47]),{28:69,83:jt,84:Bt,85:lt},{27:70,28:43,29:44,83:jt,84:Bt,85:lt,86:et},{27:71,28:43,29:44,83:jt,84:Bt,85:lt,86:et},{27:72,28:43,29:44,83:jt,84:Bt,85:lt,86:et},{53:[1,73]},f(Ee,[2,20],{28:43,29:44,27:74,30:[1,75],83:jt,84:Bt,85:lt,86:et}),f(Ee,[2,21],{30:[1,76]}),f(Pe,[2,90]),f(Pe,[2,91]),f(Pe,[2,92]),f([16,25,30,32,44,45,53,56,57,58,59,60,61,66,68],[2,93]),f(le,[2,10]),{15:77,22:G},{22:[2,14]},{1:[2,16]},{6:30,7:29,8:y,9:C,10:A,11:M,13:11,19:R,24:78,25:[2,18],26:22,27:34,28:43,29:44,31:23,33:24,34:25,35:26,36:27,37:28,38:Q,40:K,42:gt,43:tt,48:Lt,50:at,51:vt,62:At,63:Zt,65:zt,69:xt,83:jt,84:Bt,85:lt,86:et},f(st,[2,26]),f(st,[2,34]),f(st,[2,35]),{27:79,28:43,29:44,53:[1,80],83:jt,84:Bt,85:lt,86:et},{52:81,54:60,55:61,56:$,57:Dt,58:z,59:Kt,60:_t,61:ae},f(st,[2,45]),{55:82,60:_t,61:ae},f(oe,[2,55],{54:83,56:$,57:Dt,58:z,59:Kt}),f(he,[2,56]),f(he,[2,57]),f(he,[2,58]),f(he,[2,59]),f(be,[2,60]),f(be,[2,61]),f(st,[2,37],{44:[1,84],45:[1,85]}),{49:[1,86]},{53:[1,87]},{53:[1,88]},{66:[1,89],68:[1,90]},{28:91,83:jt,84:Bt,85:lt},f(Ee,[2,22]),f(Ee,[2,23]),f(Ee,[2,24]),{16:[1,92]},{25:[2,19]},f(Ne,[2,48]),{27:93,28:43,29:44,83:jt,84:Bt,85:lt,86:et},{27:94,28:43,29:44,53:[1,95],83:jt,84:Bt,85:lt,86:et},f(oe,[2,54],{54:96,56:$,57:Dt,58:z,59:Kt}),f(oe,[2,53]),{28:97,83:jt,84:Bt,85:lt},{46:98,50:de},{27:100,28:43,29:44,83:jt,84:Bt,85:lt,86:et},f(st,[2,62],{53:[1,101]}),f(st,[2,64],{53:[1,103],64:[1,102]}),f(st,[2,68],{53:[1,104],67:[1,105]}),f(st,[2,72],{53:[1,107],64:[1,106]}),f(st,[2,76]),f(le,[2,11]),f(Ne,[2,50]),f(Ne,[2,49]),{27:108,28:43,29:44,83:jt,84:Bt,85:lt,86:et},f(oe,[2,52]),f(st,[2,38],{45:[1,109]}),{47:[1,110]},{46:111,47:[2,42],50:de},f(st,[2,41]),f(st,[2,63]),f(st,[2,65]),f(st,[2,66],{64:[1,112]}),f(st,[2,69]),f(st,[2,70],{53:[1,113]}),f(st,[2,73]),f(st,[2,74],{64:[1,114]}),f(Ne,[2,51]),{46:115,50:de},f(st,[2,39]),{47:[2,43]},f(st,[2,67]),f(st,[2,71]),f(st,[2,75]),{47:[1,116]},f(st,[2,40])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],51:[2,14],52:[2,16],78:[2,19],111:[2,43]},parseError:function(wt,pe){if(!pe.recoverable){var mt=new Error(wt);throw mt.hash=pe,mt}this.trace(wt)},parse:function(wt){var pe=this,mt=[0],It=[],St=[null],nt=[],ue=this.table,Rt="",dn=0,De=0,Ue=0,Ve=2,Je=1,en=nt.slice.call(arguments,1),Ae=Object.create(this.lexer),qe={yy:{}};for(var rn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,rn)&&(qe.yy[rn]=this.yy[rn]);Ae.setInput(wt,qe.yy),qe.yy.lexer=Ae,qe.yy.parser=this,Ae.yylloc===void 0&&(Ae.yylloc={});var je=Ae.yylloc;nt.push(je);var xe=Ae.options&&Ae.options.ranges;function Ze(){var gn;return typeof(gn=It.pop()||Ae.lex()||Je)!="number"&&(gn instanceof Array&&(gn=(It=gn).pop()),gn=pe.symbols_[gn]||gn),gn}typeof qe.yy.parseError=="function"?this.parseError=qe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var pn,Qn,Xe,nn,Sr,Dr,yn,An,fn,wn={};;){if(Xe=mt[mt.length-1],this.defaultActions[Xe]?nn=this.defaultActions[Xe]:(pn==null&&(pn=Ze()),nn=ue[Xe]&&ue[Xe][pn]),nn===void 0||!nn.length||!nn[0]){var Dn="";for(Dr in fn=[],ue[Xe])this.terminals_[Dr]&&Dr>Ve&&fn.push("'"+this.terminals_[Dr]+"'");Dn=Ae.showPosition?"Parse error on line "+(dn+1)+`: +`+Ae.showPosition()+` +Expecting `+fn.join(", ")+", got '"+(this.terminals_[pn]||pn)+"'":"Parse error on line "+(dn+1)+": Unexpected "+(pn==Je?"end of input":"'"+(this.terminals_[pn]||pn)+"'"),this.parseError(Dn,{text:Ae.match,token:this.terminals_[pn]||pn,line:Ae.yylineno,loc:je,expected:fn})}if(nn[0]instanceof Array&&nn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Xe+", token: "+pn);switch(nn[0]){case 1:mt.push(pn),St.push(Ae.yytext),nt.push(Ae.yylloc),mt.push(nn[1]),pn=null,Qn?(pn=Qn,Qn=null):(De=Ae.yyleng,Rt=Ae.yytext,dn=Ae.yylineno,je=Ae.yylloc,Ue>0);break;case 2:if(yn=this.productions_[nn[1]][1],wn.$=St[St.length-yn],wn._$={first_line:nt[nt.length-(yn||1)].first_line,last_line:nt[nt.length-1].last_line,first_column:nt[nt.length-(yn||1)].first_column,last_column:nt[nt.length-1].last_column},xe&&(wn._$.range=[nt[nt.length-(yn||1)].range[0],nt[nt.length-1].range[1]]),(Sr=this.performAction.apply(wn,[Rt,De,dn,qe.yy,nn[1],St,nt].concat(en)))!==void 0)return Sr;yn&&(mt=mt.slice(0,-1*yn*2),St=St.slice(0,-1*yn),nt=nt.slice(0,-1*yn)),mt.push(this.productions_[nn[1]][0]),St.push(wn.$),nt.push(wn._$),An=ue[mt[mt.length-2]][mt[mt.length-1]],mt.push(An);break;case 3:return!0}}return!0}},te={EOF:1,parseError:function(wt,pe){if(!this.yy.parser)throw new Error(wt);this.yy.parser.parseError(wt,pe)},setInput:function(wt,pe){return this.yy=pe||this.yy||{},this._input=wt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var wt=this._input[0];return this.yytext+=wt,this.yyleng++,this.offset++,this.match+=wt,this.matched+=wt,wt.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),wt},unput:function(wt){var pe=wt.length,mt=wt.split(/(?:\r\n?|\n)/g);this._input=wt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-pe),this.offset-=pe;var It=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),mt.length-1&&(this.yylineno-=mt.length-1);var St=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:mt?(mt.length===It.length?this.yylloc.first_column:0)+It[It.length-mt.length].length-mt[0].length:this.yylloc.first_column-pe},this.options.ranges&&(this.yylloc.range=[St[0],St[0]+this.yyleng-pe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(wt){this.unput(this.match.slice(wt))},pastInput:function(){var wt=this.matched.substr(0,this.matched.length-this.match.length);return(wt.length>20?"...":"")+wt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var wt=this.match;return wt.length<20&&(wt+=this._input.substr(0,20-wt.length)),(wt.substr(0,20)+(wt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var wt=this.pastInput(),pe=new Array(wt.length+1).join("-");return wt+this.upcomingInput()+` +`+pe+"^"},test_match:function(wt,pe){var mt,It,St;if(this.options.backtrack_lexer&&(St={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&&(St.yylloc.range=this.yylloc.range.slice(0))),(It=wt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=It.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:It?It[It.length-1].length-It[It.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+wt[0].length},this.yytext+=wt[0],this.match+=wt[0],this.matches=wt,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(wt[0].length),this.matched+=wt[0],mt=this.performAction.call(this,this.yy,this,pe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),mt)return mt;if(this._backtrack){for(var nt in St)this[nt]=St[nt];return!1}return!1},next:function(){if(this.done)return this.EOF;var wt,pe,mt,It;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var St=this._currentRules(),nt=0;ntpe[0].length)){if(pe=mt,It=nt,this.options.backtrack_lexer){if((wt=this.test_match(mt,St[nt]))!==!1)return wt;if(this._backtrack){pe=!1;continue}return!1}if(!this.options.flex)break}return pe?(wt=this.test_match(pe,St[It]))!==!1&&wt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(wt){this.conditionStack.push(wt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(wt){return(wt=this.conditionStack.length-1-Math.abs(wt||0))>=0?this.conditionStack[wt]:"INITIAL"},pushState:function(wt){this.begin(wt)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(wt,pe,mt,It){switch(mt){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 26:break;case 11:return this.begin("acc_title"),38;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),40;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 36:case 39:case 42:case 45:case 48:case 51:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),45;case 23:return"EOF_IN_STRUCT";case 24:return"OPEN_IN_STRUCT";case 25:return this.popState(),47;case 27:return"MEMBER";case 28:return 43;case 29:return 69;case 30:return 62;case 31:return 63;case 32:return 65;case 33:return 48;case 34:return 49;case 35:this.begin("generic");break;case 37:return"GENERICTYPE";case 38:this.begin("string");break;case 40:return"STR";case 41:this.begin("bqstring");break;case 43:return"BQUOTE_STR";case 44:this.begin("href");break;case 46:return 68;case 47:this.begin("callback_name");break;case 49:this.popState(),this.begin("callback_args");break;case 50:return 66;case 52:return 67;case 53:case 54:case 55:case 56:return 64;case 57:case 58:return 57;case 59:case 60:return 59;case 61:return 58;case 62:return 56;case 63:return 60;case 64:return 61;case 65:return 32;case 66:return 44;case 67:return 81;case 68:return"DOT";case 69:return"PLUS";case 70:return 78;case 71:case 72:return"EQUALS";case 73:return 85;case 74:return"PUNCTUATION";case 75:return 84;case 76:return 83;case 77:return 80;case 78:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[51,52],inclusive:!1},callback_name:{rules:[48,49,50],inclusive:!1},href:{rules:[45,46],inclusive:!1},struct:{rules:[23,24,25,26,27],inclusive:!1},generic:{rules:[36,37],inclusive:!1},bqstring:{rules:[42,43],inclusive:!1},string:{rules:[39,40],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,28,29,30,31,32,33,34,35,38,41,44,47,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78],inclusive:!0}}};function _e(){this.yy={}}return Se.lexer=te,_e.prototype=Se,Se.Parser=_e,new _e}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(8218).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},5890:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(lt,et,st,$){for(st=st||{},$=lt.length;$--;st[lt[$]]=et);return st},k=[1,2],y=[1,5],C=[6,9,11,23,25,27,29,30,48],A=[1,17],M=[1,18],R=[1,19],B=[1,20],Y=[1,21],G=[1,24],Q=[1,29],K=[1,30],gt=[1,31],tt=[1,32],Lt=[1,44],at=[30,45,46],vt=[4,6,9,11,23,25,27,29,30,48],At=[41,42,43,44],Zt=[22,36],zt=[1,62],xt={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,attribute:31,attributeType:32,attributeName:33,attributeKeyType:34,attributeComment:35,ATTRIBUTE_WORD:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,NON_IDENTIFYING:45,IDENTIFYING:46,WORD:47,open_directive:48,type_directive:49,arg_directive:50,close_directive:51,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",36:"ATTRIBUTE_WORD",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"NON_IDENTIFYING",46:"IDENTIFYING",47:"WORD",48:"open_directive",49:"type_directive",50:"arg_directive",51:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[21,1],[21,2],[31,2],[31,3],[31,3],[31,4],[32,1],[33,1],[34,1],[35,1],[18,3],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(lt,et,st,$,Dt,z,Kt){var _t=z.length-1;switch(Dt){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:z[_t-1].push(z[_t]),this.$=z[_t-1];break;case 5:case 6:case 20:case 27:case 28:case 29:case 39:this.$=z[_t];break;case 12:$.addEntity(z[_t-4]),$.addEntity(z[_t-2]),$.addRelationship(z[_t-4],z[_t],z[_t-2],z[_t-3]);break;case 13:$.addEntity(z[_t-3]),$.addAttributes(z[_t-3],z[_t-1]);break;case 14:$.addEntity(z[_t-2]);break;case 15:$.addEntity(z[_t]);break;case 16:case 17:this.$=z[_t].trim(),$.setTitle(this.$);break;case 18:case 19:this.$=z[_t].trim(),$.setAccDescription(this.$);break;case 21:this.$=[z[_t]];break;case 22:z[_t].push(z[_t-1]),this.$=z[_t];break;case 23:this.$={attributeType:z[_t-1],attributeName:z[_t]};break;case 24:this.$={attributeType:z[_t-2],attributeName:z[_t-1],attributeKeyType:z[_t]};break;case 25:this.$={attributeType:z[_t-2],attributeName:z[_t-1],attributeComment:z[_t]};break;case 26:this.$={attributeType:z[_t-3],attributeName:z[_t-2],attributeKeyType:z[_t-1],attributeComment:z[_t]};break;case 30:case 38:this.$=z[_t].replace(/"/g,"");break;case 31:this.$={cardA:z[_t],relType:z[_t-1],cardB:z[_t-2]};break;case 32:this.$=$.Cardinality.ZERO_OR_ONE;break;case 33:this.$=$.Cardinality.ZERO_OR_MORE;break;case 34:this.$=$.Cardinality.ONE_OR_MORE;break;case 35:this.$=$.Cardinality.ONLY_ONE;break;case 36:this.$=$.Identification.NON_IDENTIFYING;break;case 37:this.$=$.Identification.IDENTIFYING;break;case 40:$.parseDirective("%%{","open_directive");break;case 41:$.parseDirective(z[_t],"type_directive");break;case 42:z[_t]=z[_t].trim().replace(/'/g,'"'),$.parseDirective(z[_t],"arg_directive");break;case 43:$.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:k,7:3,12:4,48:y},{1:[3]},f(C,[2,3],{5:6}),{3:7,4:k,7:3,12:4,48:y},{13:8,49:[1,9]},{49:[2,40]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:A,25:M,27:R,29:B,30:Y,48:y},{1:[2,2]},{14:22,15:[1,23],51:G},f([15,51],[2,41]),f(C,[2,8],{1:[2,1]}),f(C,[2,4]),{7:15,10:25,12:4,17:16,23:A,25:M,27:R,29:B,30:Y,48:y},f(C,[2,6]),f(C,[2,7]),f(C,[2,11]),f(C,[2,15],{18:26,39:28,20:[1,27],41:Q,42:K,43:gt,44:tt}),{24:[1,33]},{26:[1,34]},{28:[1,35]},f(C,[2,19]),f([6,9,11,15,20,23,25,27,29,30,41,42,43,44,48],[2,20]),{11:[1,36]},{16:37,50:[1,38]},{11:[2,43]},f(C,[2,5]),{17:39,30:Y},{21:40,22:[1,41],31:42,32:43,36:Lt},{40:45,45:[1,46],46:[1,47]},f(at,[2,32]),f(at,[2,33]),f(at,[2,34]),f(at,[2,35]),f(C,[2,16]),f(C,[2,17]),f(C,[2,18]),f(vt,[2,9]),{14:48,51:G},{51:[2,42]},{15:[1,49]},{22:[1,50]},f(C,[2,14]),{21:51,22:[2,21],31:42,32:43,36:Lt},{33:52,36:[1,53]},{36:[2,27]},{39:54,41:Q,42:K,43:gt,44:tt},f(At,[2,36]),f(At,[2,37]),{11:[1,55]},{19:56,30:[1,58],47:[1,57]},f(C,[2,13]),{22:[2,22]},f(Zt,[2,23],{34:59,35:60,37:[1,61],38:zt}),f([22,36,37,38],[2,28]),{30:[2,31]},f(vt,[2,10]),f(C,[2,12]),f(C,[2,38]),f(C,[2,39]),f(Zt,[2,24],{35:63,38:zt}),f(Zt,[2,25]),f([22,36,38],[2,29]),f(Zt,[2,30]),f(Zt,[2,26])],defaultActions:{5:[2,40],7:[2,2],24:[2,43],38:[2,42],44:[2,27],51:[2,22],54:[2,31]},parseError:function(lt,et){if(!et.recoverable){var st=new Error(lt);throw st.hash=et,st}this.trace(lt)},parse:function(lt){var et=this,st=[0],$=[],Dt=[null],z=[],Kt=this.table,_t="",ae=0,Ee=0,Pe=0,le=2,oe=1,he=z.slice.call(arguments,1),be=Object.create(this.lexer),Ne={yy:{}};for(var de in this.yy)Object.prototype.hasOwnProperty.call(this.yy,de)&&(Ne.yy[de]=this.yy[de]);be.setInput(lt,Ne.yy),Ne.yy.lexer=be,Ne.yy.parser=this,be.yylloc===void 0&&(be.yylloc={});var Se=be.yylloc;z.push(Se);var te=be.options&&be.options.ranges;function _e(){var Ve;return typeof(Ve=$.pop()||be.lex()||oe)!="number"&&(Ve instanceof Array&&(Ve=($=Ve).pop()),Ve=et.symbols_[Ve]||Ve),Ve}typeof Ne.yy.parseError=="function"?this.parseError=Ne.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var wt,pe,mt,It,St,nt,ue,Rt,dn,De={};;){if(mt=st[st.length-1],this.defaultActions[mt]?It=this.defaultActions[mt]:(wt==null&&(wt=_e()),It=Kt[mt]&&Kt[mt][wt]),It===void 0||!It.length||!It[0]){var Ue="";for(nt in dn=[],Kt[mt])this.terminals_[nt]&&nt>le&&dn.push("'"+this.terminals_[nt]+"'");Ue=be.showPosition?"Parse error on line "+(ae+1)+`: +`+be.showPosition()+` +Expecting `+dn.join(", ")+", got '"+(this.terminals_[wt]||wt)+"'":"Parse error on line "+(ae+1)+": Unexpected "+(wt==oe?"end of input":"'"+(this.terminals_[wt]||wt)+"'"),this.parseError(Ue,{text:be.match,token:this.terminals_[wt]||wt,line:be.yylineno,loc:Se,expected:dn})}if(It[0]instanceof Array&&It.length>1)throw new Error("Parse Error: multiple actions possible at state: "+mt+", token: "+wt);switch(It[0]){case 1:st.push(wt),Dt.push(be.yytext),z.push(be.yylloc),st.push(It[1]),wt=null,pe?(wt=pe,pe=null):(Ee=be.yyleng,_t=be.yytext,ae=be.yylineno,Se=be.yylloc,Pe>0);break;case 2:if(ue=this.productions_[It[1]][1],De.$=Dt[Dt.length-ue],De._$={first_line:z[z.length-(ue||1)].first_line,last_line:z[z.length-1].last_line,first_column:z[z.length-(ue||1)].first_column,last_column:z[z.length-1].last_column},te&&(De._$.range=[z[z.length-(ue||1)].range[0],z[z.length-1].range[1]]),(St=this.performAction.apply(De,[_t,Ee,ae,Ne.yy,It[1],Dt,z].concat(he)))!==void 0)return St;ue&&(st=st.slice(0,-1*ue*2),Dt=Dt.slice(0,-1*ue),z=z.slice(0,-1*ue)),st.push(this.productions_[It[1]][0]),Dt.push(De.$),z.push(De._$),Rt=Kt[st[st.length-2]][st[st.length-1]],st.push(Rt);break;case 3:return!0}}return!0}},jt={EOF:1,parseError:function(lt,et){if(!this.yy.parser)throw new Error(lt);this.yy.parser.parseError(lt,et)},setInput:function(lt,et){return this.yy=et||this.yy||{},this._input=lt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var lt=this._input[0];return this.yytext+=lt,this.yyleng++,this.offset++,this.match+=lt,this.matched+=lt,lt.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),lt},unput:function(lt){var et=lt.length,st=lt.split(/(?:\r\n?|\n)/g);this._input=lt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-et),this.offset-=et;var $=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),st.length-1&&(this.yylineno-=st.length-1);var Dt=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:st?(st.length===$.length?this.yylloc.first_column:0)+$[$.length-st.length].length-st[0].length:this.yylloc.first_column-et},this.options.ranges&&(this.yylloc.range=[Dt[0],Dt[0]+this.yyleng-et]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(lt){this.unput(this.match.slice(lt))},pastInput:function(){var lt=this.matched.substr(0,this.matched.length-this.match.length);return(lt.length>20?"...":"")+lt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var lt=this.match;return lt.length<20&&(lt+=this._input.substr(0,20-lt.length)),(lt.substr(0,20)+(lt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var lt=this.pastInput(),et=new Array(lt.length+1).join("-");return lt+this.upcomingInput()+` +`+et+"^"},test_match:function(lt,et){var st,$,Dt;if(this.options.backtrack_lexer&&(Dt={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&&(Dt.yylloc.range=this.yylloc.range.slice(0))),($=lt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=$.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:$?$[$.length-1].length-$[$.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+lt[0].length},this.yytext+=lt[0],this.match+=lt[0],this.matches=lt,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(lt[0].length),this.matched+=lt[0],st=this.performAction.call(this,this.yy,this,et,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),st)return st;if(this._backtrack){for(var z in Dt)this[z]=Dt[z];return!1}return!1},next:function(){if(this.done)return this.EOF;var lt,et,st,$;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Dt=this._currentRules(),z=0;zet[0].length)){if(et=st,$=z,this.options.backtrack_lexer){if((lt=this.test_match(st,Dt[z]))!==!1)return lt;if(this._backtrack){et=!1;continue}return!1}if(!this.options.flex)break}return et?(lt=this.test_match(et,Dt[$]))!==!1&<:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(lt){this.conditionStack.push(lt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(lt){return(lt=this.conditionStack.length-1-Math.abs(lt||0))>=0?this.conditionStack[lt]:"INITIAL"},pushState:function(lt){this.begin(lt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(lt,et,st,$){switch(st){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),48;case 8:return this.begin("type_directive"),49;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),51;case 11:return 50;case 12:case 13:case 15:case 20:case 24:break;case 14:return 11;case 16:return 9;case 17:return 47;case 18:return 4;case 19:return this.begin("block"),20;case 21:return 37;case 22:return 36;case 23:return 38;case 25:return this.popState(),22;case 26:case 39:return et.yytext[0];case 27:case 31:return 41;case 28:case 32:return 42;case 29:case 33:return 43;case 30:return 44;case 34:case 36:case 37:return 45;case 35:return 46;case 38:return 30;case 40:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:\s+)/i,/^(?:(?:PK)|(?:FK))/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[20,21,22,23,24,25,26],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,27,28,29,30,31,32,33,34,35,36,37,38,39,40],inclusive:!0}}};function Bt(){this.yy={}}return xt.lexer=jt,Bt.prototype=xt,xt.Parser=Bt,new Bt}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(8009).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},3602:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(un,On,we,Be){for(we=we||{},Be=un.length;Be--;we[un[Be]]=On);return we},k=[1,9],y=[1,7],C=[1,6],A=[1,8],M=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],R=[2,10],B=[1,20],Y=[1,21],G=[1,22],Q=[1,23],K=[1,30],gt=[1,32],tt=[1,33],Lt=[1,34],at=[1,62],vt=[1,48],At=[1,52],Zt=[1,36],zt=[1,37],xt=[1,38],jt=[1,39],Bt=[1,40],lt=[1,56],et=[1,63],st=[1,51],$=[1,53],Dt=[1,55],z=[1,59],Kt=[1,60],_t=[1,41],ae=[1,42],Ee=[1,43],Pe=[1,44],le=[1,61],oe=[1,50],he=[1,54],be=[1,57],Ne=[1,58],de=[1,49],Se=[1,66],te=[1,71],_e=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],wt=[1,75],pe=[1,74],mt=[1,76],It=[20,21,23,81,82],St=[1,99],nt=[1,104],ue=[1,107],Rt=[1,108],dn=[1,101],De=[1,106],Ue=[1,109],Ve=[1,102],Je=[1,114],en=[1,113],Ae=[1,103],qe=[1,105],rn=[1,110],je=[1,111],xe=[1,112],Ze=[1,115],pn=[20,21,22,23,81,82],Qn=[20,21,22,23,53,81,82],Xe=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],nn=[20,21,23],Sr=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],Dr=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],yn=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],An=[1,149],fn=[1,157],wn=[1,158],Dn=[1,159],gn=[1,160],Yn=[1,144],Ln=[1,145],Pr=[1,141],Wn=[1,152],Xn=[1,153],Kn=[1,154],Mn=[1,155],Un=[1,156],Bn=[1,161],vn=[1,162],Vn=[1,147],sn=[1,150],Pn=[1,146],mn=[1,143],Ca=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],uo=[1,165],Fi=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],Fn=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],ua=[12,21,22,24],Pi=[22,106],Lr=[1,250],ti=[1,245],Zr=[1,246],Qr=[1,254],jr=[1,251],fi=[1,248],di=[1,247],cr=[1,249],Yr=[1,252],ei=[1,253],Kr=[1,255],Ti=[1,273],Ha=[20,21,23,106],Er=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],Wa={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(un,On,we,Be,sr,Ut,Ea){var Gt=Ut.length-1;switch(sr){case 5:Be.parseDirective("%%{","open_directive");break;case 6:Be.parseDirective(Ut[Gt],"type_directive");break;case 7:Ut[Gt]=Ut[Gt].trim().replace(/'/g,'"'),Be.parseDirective(Ut[Gt],"arg_directive");break;case 8:Be.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:Ut[Gt]!==[]&&Ut[Gt-1].push(Ut[Gt]),this.$=Ut[Gt-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=Ut[Gt];break;case 19:Be.setDirection("TB"),this.$="TB";break;case 20:Be.setDirection(Ut[Gt-1]),this.$=Ut[Gt-1];break;case 35:this.$=Ut[Gt-1].nodes;break;case 41:this.$=Be.addSubGraph(Ut[Gt-6],Ut[Gt-1],Ut[Gt-4]);break;case 42:this.$=Be.addSubGraph(Ut[Gt-3],Ut[Gt-1],Ut[Gt-3]);break;case 43:this.$=Be.addSubGraph(void 0,Ut[Gt-1],void 0);break;case 45:this.$=Ut[Gt].trim(),Be.setTitle(this.$);break;case 46:case 47:this.$=Ut[Gt].trim(),Be.setAccDescription(this.$);break;case 51:Be.addLink(Ut[Gt-2].stmt,Ut[Gt],Ut[Gt-1]),this.$={stmt:Ut[Gt],nodes:Ut[Gt].concat(Ut[Gt-2].nodes)};break;case 52:Be.addLink(Ut[Gt-3].stmt,Ut[Gt-1],Ut[Gt-2]),this.$={stmt:Ut[Gt-1],nodes:Ut[Gt-1].concat(Ut[Gt-3].nodes)};break;case 53:this.$={stmt:Ut[Gt-1],nodes:Ut[Gt-1]};break;case 54:this.$={stmt:Ut[Gt],nodes:Ut[Gt]};break;case 55:case 123:case 125:this.$=[Ut[Gt]];break;case 56:this.$=Ut[Gt-4].concat(Ut[Gt]);break;case 57:this.$=[Ut[Gt-2]],Be.setClass(Ut[Gt-2],Ut[Gt]);break;case 58:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"square");break;case 59:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"doublecircle");break;case 60:this.$=Ut[Gt-5],Be.addVertex(Ut[Gt-5],Ut[Gt-2],"circle");break;case 61:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"ellipse");break;case 62:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"stadium");break;case 63:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"subroutine");break;case 64:this.$=Ut[Gt-7],Be.addVertex(Ut[Gt-7],Ut[Gt-1],"rect",void 0,void 0,void 0,Object.fromEntries([[Ut[Gt-5],Ut[Gt-3]]]));break;case 65:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"cylinder");break;case 66:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"round");break;case 67:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"diamond");break;case 68:this.$=Ut[Gt-5],Be.addVertex(Ut[Gt-5],Ut[Gt-2],"hexagon");break;case 69:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"odd");break;case 70:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"trapezoid");break;case 71:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"inv_trapezoid");break;case 72:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"lean_right");break;case 73:this.$=Ut[Gt-3],Be.addVertex(Ut[Gt-3],Ut[Gt-1],"lean_left");break;case 74:this.$=Ut[Gt],Be.addVertex(Ut[Gt]);break;case 75:Ut[Gt-1].text=Ut[Gt],this.$=Ut[Gt-1];break;case 76:case 77:Ut[Gt-2].text=Ut[Gt-1],this.$=Ut[Gt-2];break;case 79:var zr=Be.destructLink(Ut[Gt],Ut[Gt-2]);this.$={type:zr.type,stroke:zr.stroke,length:zr.length,text:Ut[Gt-1]};break;case 80:zr=Be.destructLink(Ut[Gt]),this.$={type:zr.type,stroke:zr.stroke,length:zr.length};break;case 81:this.$=Ut[Gt-1];break;case 83:case 97:case 153:case 151:this.$=Ut[Gt-1]+""+Ut[Gt];break;case 98:case 99:this.$=Ut[Gt-4],Be.addClass(Ut[Gt-2],Ut[Gt]);break;case 100:this.$=Ut[Gt-4],Be.setClass(Ut[Gt-2],Ut[Gt]);break;case 101:case 109:this.$=Ut[Gt-1],Be.setClickEvent(Ut[Gt-1],Ut[Gt]);break;case 102:case 110:this.$=Ut[Gt-3],Be.setClickEvent(Ut[Gt-3],Ut[Gt-2]),Be.setTooltip(Ut[Gt-3],Ut[Gt]);break;case 103:this.$=Ut[Gt-2],Be.setClickEvent(Ut[Gt-2],Ut[Gt-1],Ut[Gt]);break;case 104:this.$=Ut[Gt-4],Be.setClickEvent(Ut[Gt-4],Ut[Gt-3],Ut[Gt-2]),Be.setTooltip(Ut[Gt-4],Ut[Gt]);break;case 105:case 111:this.$=Ut[Gt-1],Be.setLink(Ut[Gt-1],Ut[Gt]);break;case 106:case 112:this.$=Ut[Gt-3],Be.setLink(Ut[Gt-3],Ut[Gt-2]),Be.setTooltip(Ut[Gt-3],Ut[Gt]);break;case 107:case 113:this.$=Ut[Gt-3],Be.setLink(Ut[Gt-3],Ut[Gt-2],Ut[Gt]);break;case 108:case 114:this.$=Ut[Gt-5],Be.setLink(Ut[Gt-5],Ut[Gt-4],Ut[Gt]),Be.setTooltip(Ut[Gt-5],Ut[Gt-2]);break;case 115:this.$=Ut[Gt-4],Be.addVertex(Ut[Gt-2],void 0,void 0,Ut[Gt]);break;case 116:case 118:this.$=Ut[Gt-4],Be.updateLink(Ut[Gt-2],Ut[Gt]);break;case 117:this.$=Ut[Gt-4],Be.updateLink([Ut[Gt-2]],Ut[Gt]);break;case 119:this.$=Ut[Gt-8],Be.updateLinkInterpolate([Ut[Gt-6]],Ut[Gt-2]),Be.updateLink([Ut[Gt-6]],Ut[Gt]);break;case 120:this.$=Ut[Gt-8],Be.updateLinkInterpolate(Ut[Gt-6],Ut[Gt-2]),Be.updateLink(Ut[Gt-6],Ut[Gt]);break;case 121:this.$=Ut[Gt-6],Be.updateLinkInterpolate([Ut[Gt-4]],Ut[Gt]);break;case 122:this.$=Ut[Gt-6],Be.updateLinkInterpolate(Ut[Gt-4],Ut[Gt]);break;case 124:case 126:Ut[Gt-2].push(Ut[Gt]),this.$=Ut[Gt-2];break;case 128:this.$=Ut[Gt-1]+Ut[Gt];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:k,16:4,21:y,22:C,24:A},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:k,16:4,21:y,22:C,24:A},f(M,R,{17:11}),{7:12,13:[1,13]},{16:14,21:y,22:C,24:A},{16:15,21:y,22:C,24:A},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:B,21:Y,22:G,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:K,43:31,44:gt,46:tt,48:Lt,50:35,51:45,52:at,54:46,66:vt,67:At,86:Zt,87:zt,88:xt,89:jt,90:Bt,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,116:47,118:_t,119:ae,120:Ee,121:Pe,122:le,123:oe,124:he,125:be,126:Ne,127:de},{8:64,10:[1,65],15:Se},f([10,15],[2,6]),f(M,[2,17]),f(M,[2,18]),f(M,[2,19]),{20:[1,68],21:[1,69],22:te,27:67,30:70},f(_e,[2,11]),f(_e,[2,12]),f(_e,[2,13]),f(_e,[2,14]),f(_e,[2,15]),f(_e,[2,16]),{9:72,20:wt,21:pe,23:mt,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:wt,21:pe,23:mt},{9:81,20:wt,21:pe,23:mt},{9:82,20:wt,21:pe,23:mt},{9:83,20:wt,21:pe,23:mt},{9:84,20:wt,21:pe,23:mt},{9:86,20:wt,21:pe,22:[1,85],23:mt},f(_e,[2,44]),{45:[1,87]},{47:[1,88]},f(_e,[2,47]),f(It,[2,54],{30:89,22:te}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:St,52:nt,66:ue,67:Rt,84:[1,97],91:dn,97:96,98:[1,94],100:[1,95],105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:98,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(_e,[2,158]),f(_e,[2,159]),f(_e,[2,160]),f(_e,[2,161]),f(pn,[2,55],{53:[1,116]}),f(Qn,[2,74],{116:129,40:[1,117],52:at,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:vt,67:At,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,122:le,123:oe,124:he,125:be,126:Ne,127:de}),f(Xe,[2,150]),f(Xe,[2,175]),f(Xe,[2,176]),f(Xe,[2,177]),f(Xe,[2,178]),f(Xe,[2,179]),f(Xe,[2,180]),f(Xe,[2,181]),f(Xe,[2,182]),f(Xe,[2,183]),f(Xe,[2,184]),f(Xe,[2,185]),f(Xe,[2,186]),f(Xe,[2,187]),f(Xe,[2,188]),f(Xe,[2,189]),f(Xe,[2,190]),{9:130,20:wt,21:pe,23:mt},{11:131,14:[1,132]},f(nn,[2,8]),f(M,[2,20]),f(M,[2,26]),f(M,[2,27]),{21:[1,133]},f(Sr,[2,34],{30:134,22:te}),f(_e,[2,35]),{50:135,51:45,52:at,54:46,66:vt,67:At,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,116:47,122:le,123:oe,124:he,125:be,126:Ne,127:de},f(Dr,[2,48]),f(Dr,[2,49]),f(Dr,[2,50]),f(yn,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:An,24:fn,26:wn,38:Dn,39:139,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),f(_e,[2,36]),f(_e,[2,37]),f(_e,[2,38]),f(_e,[2,39]),f(_e,[2,40]),{22:An,24:fn,26:wn,38:Dn,39:163,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(Ca,R,{17:164}),f(_e,[2,45]),f(_e,[2,46]),f(It,[2,53],{52:uo}),{26:St,52:nt,66:ue,67:Rt,91:dn,97:166,102:[1,167],105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:98,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{95:[1,168],103:169,105:[1,170]},{26:St,52:nt,66:ue,67:Rt,91:dn,95:[1,171],97:172,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:98,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{26:St,52:nt,66:ue,67:Rt,91:dn,97:173,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:98,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(nn,[2,101],{22:[1,174],99:[1,175]}),f(nn,[2,105],{22:[1,176]}),f(nn,[2,109],{115:100,117:178,22:[1,177],26:St,52:nt,66:ue,67:Rt,91:dn,105:De,106:Ue,109:Ve,111:Je,112:en,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze}),f(nn,[2,111],{22:[1,179]}),f(Fi,[2,152]),f(Fi,[2,154]),f(Fi,[2,155]),f(Fi,[2,156]),f(Fi,[2,157]),f(Fn,[2,162]),f(Fn,[2,163]),f(Fn,[2,164]),f(Fn,[2,165]),f(Fn,[2,166]),f(Fn,[2,167]),f(Fn,[2,168]),f(Fn,[2,169]),f(Fn,[2,170]),f(Fn,[2,171]),f(Fn,[2,172]),f(Fn,[2,173]),f(Fn,[2,174]),{52:at,54:180,66:vt,67:At,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,116:47,122:le,123:oe,124:he,125:be,126:Ne,127:de},{22:An,24:fn,26:wn,38:Dn,39:181,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:182,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:184,42:gn,52:nt,57:[1,183],66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:185,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:186,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:187,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{66:[1,188]},{22:An,24:fn,26:wn,38:Dn,39:189,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:190,42:gn,52:nt,66:ue,67:Rt,71:[1,191],73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:192,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:193,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:194,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(Xe,[2,151]),f(ua,[2,3]),{8:195,15:Se},{15:[2,7]},f(M,[2,28]),f(Sr,[2,33]),f(It,[2,51],{30:196,22:te}),f(yn,[2,75],{22:[1,197]}),{22:[1,198]},{22:An,24:fn,26:wn,38:Dn,39:199,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,82:[1,200],83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(Fn,[2,82]),f(Fn,[2,84]),f(Fn,[2,140]),f(Fn,[2,141]),f(Fn,[2,142]),f(Fn,[2,143]),f(Fn,[2,144]),f(Fn,[2,145]),f(Fn,[2,146]),f(Fn,[2,147]),f(Fn,[2,148]),f(Fn,[2,149]),f(Fn,[2,85]),f(Fn,[2,86]),f(Fn,[2,87]),f(Fn,[2,88]),f(Fn,[2,89]),f(Fn,[2,90]),f(Fn,[2,91]),f(Fn,[2,92]),f(Fn,[2,93]),f(Fn,[2,94]),f(Fn,[2,95]),{9:203,20:wt,21:pe,22:An,23:mt,24:fn,26:wn,38:Dn,40:[1,202],42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{18:18,19:19,20:B,21:Y,22:G,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:K,42:[1,204],43:31,44:gt,46:tt,48:Lt,50:35,51:45,52:at,54:46,66:vt,67:At,86:Zt,87:zt,88:xt,89:jt,90:Bt,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,116:47,118:_t,119:ae,120:Ee,121:Pe,122:le,123:oe,124:he,125:be,126:Ne,127:de},{22:te,30:205},{22:[1,206],26:St,52:nt,66:ue,67:Rt,91:dn,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:178,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},f(Pi,[2,123]),{22:[1,211]},{22:[1,212],26:St,52:nt,66:ue,67:Rt,91:dn,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:178,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:[1,213],26:St,52:nt,66:ue,67:Rt,91:dn,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:178,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{84:[1,214]},f(nn,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},f(Fi,[2,153]),{84:[1,219],101:[1,220]},f(pn,[2,57],{116:129,52:at,66:vt,67:At,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,122:le,123:oe,124:he,125:be,126:Ne,127:de}),{22:An,24:fn,26:wn,38:Dn,41:[1,221],42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,56:[1,222],66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:223,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,58:[1,224],66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,60:[1,225],66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,62:[1,226],66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,64:[1,227],66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{67:[1,228]},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,66:ue,67:Rt,70:[1,229],73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,66:ue,67:Rt,72:[1,230],73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,39:231,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,41:[1,232],42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,66:ue,67:Rt,73:Yn,75:[1,233],77:[1,234],81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,66:ue,67:Rt,73:Yn,75:[1,236],77:[1,235],81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{9:237,20:wt,21:pe,23:mt},f(It,[2,52],{52:uo}),f(yn,[2,77]),f(yn,[2,76]),{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,66:ue,67:Rt,68:[1,238],73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(yn,[2,79]),f(Fn,[2,83]),{22:An,24:fn,26:wn,38:Dn,39:239,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(Ca,R,{17:240}),f(_e,[2,43]),{51:241,52:at,54:46,66:vt,67:At,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,116:47,122:le,123:oe,124:he,125:be,126:Ne,127:de},{22:Lr,66:ti,67:Zr,86:Qr,96:242,102:jr,105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},{22:Lr,66:ti,67:Zr,86:Qr,96:256,102:jr,105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},{22:Lr,66:ti,67:Zr,86:Qr,96:257,102:jr,104:[1,258],105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},{22:Lr,66:ti,67:Zr,86:Qr,96:259,102:jr,104:[1,260],105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},{105:[1,261]},{22:Lr,66:ti,67:Zr,86:Qr,96:262,102:jr,105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},{22:Lr,66:ti,67:Zr,86:Qr,96:263,102:jr,105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},{26:St,52:nt,66:ue,67:Rt,91:dn,97:264,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:98,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(nn,[2,102]),{84:[1,265]},f(nn,[2,106],{22:[1,266]}),f(nn,[2,107]),f(nn,[2,110]),f(nn,[2,112],{22:[1,267]}),f(nn,[2,113]),f(Qn,[2,58]),f(Qn,[2,59]),{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,58:[1,268],66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(Qn,[2,66]),f(Qn,[2,61]),f(Qn,[2,62]),f(Qn,[2,63]),{66:[1,269]},f(Qn,[2,65]),f(Qn,[2,67]),{22:An,24:fn,26:wn,38:Dn,42:gn,52:nt,66:ue,67:Rt,72:[1,270],73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(Qn,[2,69]),f(Qn,[2,70]),f(Qn,[2,72]),f(Qn,[2,71]),f(Qn,[2,73]),f(ua,[2,4]),f([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:An,24:fn,26:wn,38:Dn,41:[1,271],42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{18:18,19:19,20:B,21:Y,22:G,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:K,42:[1,272],43:31,44:gt,46:tt,48:Lt,50:35,51:45,52:at,54:46,66:vt,67:At,86:Zt,87:zt,88:xt,89:jt,90:Bt,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,116:47,118:_t,119:ae,120:Ee,121:Pe,122:le,123:oe,124:he,125:be,126:Ne,127:de},f(pn,[2,56]),f(nn,[2,115],{106:Ti}),f(Ha,[2,125],{108:274,22:Lr,66:ti,67:Zr,86:Qr,102:jr,105:fi,109:di,110:cr,111:Yr,112:ei,113:Kr}),f(Er,[2,127]),f(Er,[2,129]),f(Er,[2,130]),f(Er,[2,131]),f(Er,[2,132]),f(Er,[2,133]),f(Er,[2,134]),f(Er,[2,135]),f(Er,[2,136]),f(Er,[2,137]),f(Er,[2,138]),f(Er,[2,139]),f(nn,[2,116],{106:Ti}),f(nn,[2,117],{106:Ti}),{22:[1,275]},f(nn,[2,118],{106:Ti}),{22:[1,276]},f(Pi,[2,124]),f(nn,[2,98],{106:Ti}),f(nn,[2,99],{106:Ti}),f(nn,[2,100],{115:100,117:178,26:St,52:nt,66:ue,67:Rt,91:dn,105:De,106:Ue,109:Ve,111:Je,112:en,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze}),f(nn,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:wt,21:pe,23:mt},f(_e,[2,42]),{22:Lr,66:ti,67:Zr,86:Qr,102:jr,105:fi,107:283,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},f(Er,[2,128]),{26:St,52:nt,66:ue,67:Rt,91:dn,97:284,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:98,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{26:St,52:nt,66:ue,67:Rt,91:dn,97:285,105:De,106:Ue,109:Ve,111:Je,112:en,115:100,117:98,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(nn,[2,108]),f(nn,[2,114]),f(Qn,[2,60]),{22:An,24:fn,26:wn,38:Dn,39:286,42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:140,84:Pr,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},f(Qn,[2,68]),f(Ca,R,{17:287}),f(Ha,[2,126],{108:274,22:Lr,66:ti,67:Zr,86:Qr,102:jr,105:fi,109:di,110:cr,111:Yr,112:ei,113:Kr}),f(nn,[2,121],{115:100,117:178,22:[1,288],26:St,52:nt,66:ue,67:Rt,91:dn,105:De,106:Ue,109:Ve,111:Je,112:en,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze}),f(nn,[2,122],{115:100,117:178,22:[1,289],26:St,52:nt,66:ue,67:Rt,91:dn,105:De,106:Ue,109:Ve,111:Je,112:en,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze}),{22:An,24:fn,26:wn,38:Dn,41:[1,290],42:gn,52:nt,66:ue,67:Rt,73:Yn,81:Ln,83:201,85:151,86:Wn,87:Xn,88:Kn,89:Mn,90:Un,91:Bn,92:vn,94:142,95:Vn,105:De,106:Ue,109:sn,111:Je,112:en,113:Pn,114:mn,115:148,122:Ae,123:qe,124:rn,125:je,126:xe,127:Ze},{18:18,19:19,20:B,21:Y,22:G,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:K,42:[1,291],43:31,44:gt,46:tt,48:Lt,50:35,51:45,52:at,54:46,66:vt,67:At,86:Zt,87:zt,88:xt,89:jt,90:Bt,91:lt,95:et,105:st,106:$,109:Dt,111:z,112:Kt,116:47,118:_t,119:ae,120:Ee,121:Pe,122:le,123:oe,124:he,125:be,126:Ne,127:de},{22:Lr,66:ti,67:Zr,86:Qr,96:292,102:jr,105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},{22:Lr,66:ti,67:Zr,86:Qr,96:293,102:jr,105:fi,107:243,108:244,109:di,110:cr,111:Yr,112:ei,113:Kr},f(Qn,[2,64]),f(_e,[2,41]),f(nn,[2,119],{106:Ti}),f(nn,[2,120],{106:Ti})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(un,On){if(!On.recoverable){var we=new Error(un);throw we.hash=On,we}this.trace(un)},parse:function(un){var On=this,we=[0],Be=[],sr=[null],Ut=[],Ea=this.table,Gt="",zr=0,Zo=0,Qo=0,Ko=2,lo=1,zn=Ut.slice.call(arguments,1),Ar=Object.create(this.lexer),pi={yy:{}};for(var $r in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$r)&&(pi.yy[$r]=this.yy[$r]);Ar.setInput(un,pi.yy),pi.yy.lexer=Ar,pi.yy.parser=this,Ar.yylloc===void 0&&(Ar.yylloc={});var Hr=Ar.yylloc;Ut.push(Hr);var Si=Ar.options&&Ar.options.ranges;function ji(){var Ie;return typeof(Ie=Be.pop()||Ar.lex()||lo)!="number"&&(Ie instanceof Array&&(Ie=(Be=Ie).pop()),Ie=On.symbols_[Ie]||Ie),Ie}typeof pi.yy.parseError=="function"?this.parseError=pi.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Mr,ni,gi,pr,Xi,Yi,si,Ga,Ai,Ft={};;){if(gi=we[we.length-1],this.defaultActions[gi]?pr=this.defaultActions[gi]:(Mr==null&&(Mr=ji()),pr=Ea[gi]&&Ea[gi][Mr]),pr===void 0||!pr.length||!pr[0]){var $e="";for(Yi in Ai=[],Ea[gi])this.terminals_[Yi]&&Yi>Ko&&Ai.push("'"+this.terminals_[Yi]+"'");$e=Ar.showPosition?"Parse error on line "+(zr+1)+`: +`+Ar.showPosition()+` +Expecting `+Ai.join(", ")+", got '"+(this.terminals_[Mr]||Mr)+"'":"Parse error on line "+(zr+1)+": Unexpected "+(Mr==lo?"end of input":"'"+(this.terminals_[Mr]||Mr)+"'"),this.parseError($e,{text:Ar.match,token:this.terminals_[Mr]||Mr,line:Ar.yylineno,loc:Hr,expected:Ai})}if(pr[0]instanceof Array&&pr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+gi+", token: "+Mr);switch(pr[0]){case 1:we.push(Mr),sr.push(Ar.yytext),Ut.push(Ar.yylloc),we.push(pr[1]),Mr=null,ni?(Mr=ni,ni=null):(Zo=Ar.yyleng,Gt=Ar.yytext,zr=Ar.yylineno,Hr=Ar.yylloc,Qo>0);break;case 2:if(si=this.productions_[pr[1]][1],Ft.$=sr[sr.length-si],Ft._$={first_line:Ut[Ut.length-(si||1)].first_line,last_line:Ut[Ut.length-1].last_line,first_column:Ut[Ut.length-(si||1)].first_column,last_column:Ut[Ut.length-1].last_column},Si&&(Ft._$.range=[Ut[Ut.length-(si||1)].range[0],Ut[Ut.length-1].range[1]]),(Xi=this.performAction.apply(Ft,[Gt,Zo,zr,pi.yy,pr[1],sr,Ut].concat(zn)))!==void 0)return Xi;si&&(we=we.slice(0,-1*si*2),sr=sr.slice(0,-1*si),Ut=Ut.slice(0,-1*si)),we.push(this.productions_[pr[1]][0]),sr.push(Ft.$),Ut.push(Ft._$),Ga=Ea[we[we.length-2]][we[we.length-1]],we.push(Ga);break;case 3:return!0}}return!0}},Va={EOF:1,parseError:function(un,On){if(!this.yy.parser)throw new Error(un);this.yy.parser.parseError(un,On)},setInput:function(un,On){return this.yy=On||this.yy||{},this._input=un,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var un=this._input[0];return this.yytext+=un,this.yyleng++,this.offset++,this.match+=un,this.matched+=un,un.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),un},unput:function(un){var On=un.length,we=un.split(/(?:\r\n?|\n)/g);this._input=un+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-On),this.offset-=On;var Be=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),we.length-1&&(this.yylineno-=we.length-1);var sr=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:we?(we.length===Be.length?this.yylloc.first_column:0)+Be[Be.length-we.length].length-we[0].length:this.yylloc.first_column-On},this.options.ranges&&(this.yylloc.range=[sr[0],sr[0]+this.yyleng-On]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(un){this.unput(this.match.slice(un))},pastInput:function(){var un=this.matched.substr(0,this.matched.length-this.match.length);return(un.length>20?"...":"")+un.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var un=this.match;return un.length<20&&(un+=this._input.substr(0,20-un.length)),(un.substr(0,20)+(un.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var un=this.pastInput(),On=new Array(un.length+1).join("-");return un+this.upcomingInput()+` +`+On+"^"},test_match:function(un,On){var we,Be,sr;if(this.options.backtrack_lexer&&(sr={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&&(sr.yylloc.range=this.yylloc.range.slice(0))),(Be=un[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Be.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Be?Be[Be.length-1].length-Be[Be.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+un[0].length},this.yytext+=un[0],this.match+=un[0],this.matches=un,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(un[0].length),this.matched+=un[0],we=this.performAction.call(this,this.yy,this,On,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),we)return we;if(this._backtrack){for(var Ut in sr)this[Ut]=sr[Ut];return!1}return!1},next:function(){if(this.done)return this.EOF;var un,On,we,Be;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var sr=this._currentRules(),Ut=0;UtOn[0].length)){if(On=we,Be=Ut,this.options.backtrack_lexer){if((un=this.test_match(we,sr[Ut]))!==!1)return un;if(this._backtrack){On=!1;continue}return!1}if(!this.options.flex)break}return On?(un=this.test_match(On,sr[Be]))!==!1&&un:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(un){this.conditionStack.push(un)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(un){return(un=this.conditionStack.length-1-Math.abs(un||0))>=0?this.conditionStack[un]:"INITIAL"},pushState:function(un){this.begin(un)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(un,On,we,Be){switch(we){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:return un.lex.firstGraph()&&this.begin("dir"),24;case 37:return 38;case 38:return 42;case 39:case 40:case 41:case 42:return 101;case 43:return this.popState(),25;case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:return this.popState(),26;case 54:return 118;case 55:return 119;case 56:return 120;case 57:return 121;case 58:return 105;case 59:return 111;case 60:return 53;case 61:return 67;case 62:return 52;case 63:return 20;case 64:return 106;case 65:return 126;case 66:case 67:case 68:return 82;case 69:case 70:case 71:return 81;case 72:return 59;case 73:return 60;case 74:return 61;case 75:return 62;case 76:return 63;case 77:return 64;case 78:return 65;case 79:return 69;case 80:return 70;case 81:return 55;case 82:return 56;case 83:return 109;case 84:return 112;case 85:return 127;case 86:return 124;case 87:return 113;case 88:case 89:return 125;case 90:return 114;case 91:return 73;case 92:return 92;case 93:return"SEP";case 94:return 91;case 95:return 66;case 96:return 75;case 97:return 74;case 98:return 77;case 99:return 76;case 100:return 122;case 101:return 123;case 102:return 68;case 103:return 57;case 104:return 58;case 105:return 40;case 106:return 41;case 107:return 71;case 108:return 72;case 109:return 133;case 110:return 21;case 111:return 22;case 112:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[43,44,45,46,47,48,49,50,51,52,53],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112],inclusive:!0}}};function ra(){this.yy={}}return Wa.lexer=Va,ra.prototype=Wa,Wa.Parser=ra,new ra}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(5354).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},9959:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(lt,et,st,$){for(st=st||{},$=lt.length;$--;st[lt[$]]=et);return st},k=[1,3],y=[1,5],C=[7,9,11,12,13,14,15,16,17,18,19,20,22,24,25,27,34,39],A=[1,15],M=[1,16],R=[1,17],B=[1,18],Y=[1,19],G=[1,20],Q=[1,21],K=[1,22],gt=[1,23],tt=[1,24],Lt=[1,25],at=[1,26],vt=[1,28],At=[1,30],Zt=[1,33],zt=[5,7,9,11,12,13,14,15,16,17,18,19,20,22,24,25,27,34,39],xt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,excludes:16,includes:17,todayMarker:18,title:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,clickStatement:26,taskTxt:27,taskData:28,openDirective:29,typeDirective:30,closeDirective:31,":":32,argDirective:33,click:34,callbackname:35,callbackargs:36,href:37,clickStatementDebug:38,open_directive:39,type_directive:40,arg_directive:41,close_directive:42,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"excludes",17:"includes",18:"todayMarker",19:"title",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"taskTxt",28:"taskData",32:":",34:"click",35:"callbackname",36:"callbackargs",37:"href",39:"open_directive",40:"type_directive",41:"arg_directive",42:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[26,2],[26,3],[26,3],[26,4],[26,3],[26,4],[26,2],[38,2],[38,3],[38,3],[38,4],[38,3],[38,4],[38,2],[29,1],[30,1],[33,1],[31,1]],performAction:function(lt,et,st,$,Dt,z,Kt){var _t=z.length-1;switch(Dt){case 2:return z[_t-1];case 3:case 7:case 8:this.$=[];break;case 4:z[_t-1].push(z[_t]),this.$=z[_t-1];break;case 5:case 6:this.$=z[_t];break;case 9:$.setDateFormat(z[_t].substr(11)),this.$=z[_t].substr(11);break;case 10:$.enableInclusiveEndDates(),this.$=z[_t].substr(18);break;case 11:$.TopAxis(),this.$=z[_t].substr(8);break;case 12:$.setAxisFormat(z[_t].substr(11)),this.$=z[_t].substr(11);break;case 13:$.setExcludes(z[_t].substr(9)),this.$=z[_t].substr(9);break;case 14:$.setIncludes(z[_t].substr(9)),this.$=z[_t].substr(9);break;case 15:$.setTodayMarker(z[_t].substr(12)),this.$=z[_t].substr(12);break;case 16:$.setTitle(z[_t].substr(6)),this.$=z[_t].substr(6);break;case 17:this.$=z[_t].trim(),$.setTitle(this.$);break;case 18:case 19:this.$=z[_t].trim(),$.setAccDescription(this.$);break;case 20:$.addSection(z[_t].substr(8)),this.$=z[_t].substr(8);break;case 22:$.addTask(z[_t-1],z[_t]),this.$="task";break;case 26:this.$=z[_t-1],$.setClickEvent(z[_t-1],z[_t],null);break;case 27:this.$=z[_t-2],$.setClickEvent(z[_t-2],z[_t-1],z[_t]);break;case 28:this.$=z[_t-2],$.setClickEvent(z[_t-2],z[_t-1],null),$.setLink(z[_t-2],z[_t]);break;case 29:this.$=z[_t-3],$.setClickEvent(z[_t-3],z[_t-2],z[_t-1]),$.setLink(z[_t-3],z[_t]);break;case 30:this.$=z[_t-2],$.setClickEvent(z[_t-2],z[_t],null),$.setLink(z[_t-2],z[_t-1]);break;case 31:this.$=z[_t-3],$.setClickEvent(z[_t-3],z[_t-1],z[_t]),$.setLink(z[_t-3],z[_t-2]);break;case 32:this.$=z[_t-1],$.setLink(z[_t-1],z[_t]);break;case 33:case 39:this.$=z[_t-1]+" "+z[_t];break;case 34:case 35:case 37:this.$=z[_t-2]+" "+z[_t-1]+" "+z[_t];break;case 36:case 38:this.$=z[_t-3]+" "+z[_t-2]+" "+z[_t-1]+" "+z[_t];break;case 40:$.parseDirective("%%{","open_directive");break;case 41:$.parseDirective(z[_t],"type_directive");break;case 42:z[_t]=z[_t].trim().replace(/'/g,'"'),$.parseDirective(z[_t],"arg_directive");break;case 43:$.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:k,29:4,39:y},{1:[3]},{3:6,4:2,5:k,29:4,39:y},f(C,[2,3],{6:7}),{30:8,40:[1,9]},{40:[2,40]},{1:[2,1]},{4:29,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:A,13:M,14:R,15:B,16:Y,17:G,18:Q,19:K,20:gt,22:tt,24:Lt,25:at,26:27,27:vt,29:4,34:At,39:y},{31:31,32:[1,32],42:Zt},f([32,42],[2,41]),f(C,[2,8],{1:[2,2]}),f(C,[2,4]),{4:29,10:34,12:A,13:M,14:R,15:B,16:Y,17:G,18:Q,19:K,20:gt,22:tt,24:Lt,25:at,26:27,27:vt,29:4,34:At,39:y},f(C,[2,6]),f(C,[2,7]),f(C,[2,9]),f(C,[2,10]),f(C,[2,11]),f(C,[2,12]),f(C,[2,13]),f(C,[2,14]),f(C,[2,15]),f(C,[2,16]),{21:[1,35]},{23:[1,36]},f(C,[2,19]),f(C,[2,20]),f(C,[2,21]),{28:[1,37]},f(C,[2,23]),{35:[1,38],37:[1,39]},{11:[1,40]},{33:41,41:[1,42]},{11:[2,43]},f(C,[2,5]),f(C,[2,17]),f(C,[2,18]),f(C,[2,22]),f(C,[2,26],{36:[1,43],37:[1,44]}),f(C,[2,32],{35:[1,45]}),f(zt,[2,24]),{31:46,42:Zt},{42:[2,42]},f(C,[2,27],{37:[1,47]}),f(C,[2,28]),f(C,[2,30],{36:[1,48]}),{11:[1,49]},f(C,[2,29]),f(C,[2,31]),f(zt,[2,25])],defaultActions:{5:[2,40],6:[2,1],33:[2,43],42:[2,42]},parseError:function(lt,et){if(!et.recoverable){var st=new Error(lt);throw st.hash=et,st}this.trace(lt)},parse:function(lt){var et=this,st=[0],$=[],Dt=[null],z=[],Kt=this.table,_t="",ae=0,Ee=0,Pe=0,le=2,oe=1,he=z.slice.call(arguments,1),be=Object.create(this.lexer),Ne={yy:{}};for(var de in this.yy)Object.prototype.hasOwnProperty.call(this.yy,de)&&(Ne.yy[de]=this.yy[de]);be.setInput(lt,Ne.yy),Ne.yy.lexer=be,Ne.yy.parser=this,be.yylloc===void 0&&(be.yylloc={});var Se=be.yylloc;z.push(Se);var te=be.options&&be.options.ranges;function _e(){var Ve;return typeof(Ve=$.pop()||be.lex()||oe)!="number"&&(Ve instanceof Array&&(Ve=($=Ve).pop()),Ve=et.symbols_[Ve]||Ve),Ve}typeof Ne.yy.parseError=="function"?this.parseError=Ne.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var wt,pe,mt,It,St,nt,ue,Rt,dn,De={};;){if(mt=st[st.length-1],this.defaultActions[mt]?It=this.defaultActions[mt]:(wt==null&&(wt=_e()),It=Kt[mt]&&Kt[mt][wt]),It===void 0||!It.length||!It[0]){var Ue="";for(nt in dn=[],Kt[mt])this.terminals_[nt]&&nt>le&&dn.push("'"+this.terminals_[nt]+"'");Ue=be.showPosition?"Parse error on line "+(ae+1)+`: +`+be.showPosition()+` +Expecting `+dn.join(", ")+", got '"+(this.terminals_[wt]||wt)+"'":"Parse error on line "+(ae+1)+": Unexpected "+(wt==oe?"end of input":"'"+(this.terminals_[wt]||wt)+"'"),this.parseError(Ue,{text:be.match,token:this.terminals_[wt]||wt,line:be.yylineno,loc:Se,expected:dn})}if(It[0]instanceof Array&&It.length>1)throw new Error("Parse Error: multiple actions possible at state: "+mt+", token: "+wt);switch(It[0]){case 1:st.push(wt),Dt.push(be.yytext),z.push(be.yylloc),st.push(It[1]),wt=null,pe?(wt=pe,pe=null):(Ee=be.yyleng,_t=be.yytext,ae=be.yylineno,Se=be.yylloc,Pe>0);break;case 2:if(ue=this.productions_[It[1]][1],De.$=Dt[Dt.length-ue],De._$={first_line:z[z.length-(ue||1)].first_line,last_line:z[z.length-1].last_line,first_column:z[z.length-(ue||1)].first_column,last_column:z[z.length-1].last_column},te&&(De._$.range=[z[z.length-(ue||1)].range[0],z[z.length-1].range[1]]),(St=this.performAction.apply(De,[_t,Ee,ae,Ne.yy,It[1],Dt,z].concat(he)))!==void 0)return St;ue&&(st=st.slice(0,-1*ue*2),Dt=Dt.slice(0,-1*ue),z=z.slice(0,-1*ue)),st.push(this.productions_[It[1]][0]),Dt.push(De.$),z.push(De._$),Rt=Kt[st[st.length-2]][st[st.length-1]],st.push(Rt);break;case 3:return!0}}return!0}},jt={EOF:1,parseError:function(lt,et){if(!this.yy.parser)throw new Error(lt);this.yy.parser.parseError(lt,et)},setInput:function(lt,et){return this.yy=et||this.yy||{},this._input=lt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var lt=this._input[0];return this.yytext+=lt,this.yyleng++,this.offset++,this.match+=lt,this.matched+=lt,lt.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),lt},unput:function(lt){var et=lt.length,st=lt.split(/(?:\r\n?|\n)/g);this._input=lt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-et),this.offset-=et;var $=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),st.length-1&&(this.yylineno-=st.length-1);var Dt=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:st?(st.length===$.length?this.yylloc.first_column:0)+$[$.length-st.length].length-st[0].length:this.yylloc.first_column-et},this.options.ranges&&(this.yylloc.range=[Dt[0],Dt[0]+this.yyleng-et]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(lt){this.unput(this.match.slice(lt))},pastInput:function(){var lt=this.matched.substr(0,this.matched.length-this.match.length);return(lt.length>20?"...":"")+lt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var lt=this.match;return lt.length<20&&(lt+=this._input.substr(0,20-lt.length)),(lt.substr(0,20)+(lt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var lt=this.pastInput(),et=new Array(lt.length+1).join("-");return lt+this.upcomingInput()+` +`+et+"^"},test_match:function(lt,et){var st,$,Dt;if(this.options.backtrack_lexer&&(Dt={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&&(Dt.yylloc.range=this.yylloc.range.slice(0))),($=lt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=$.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:$?$[$.length-1].length-$[$.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+lt[0].length},this.yytext+=lt[0],this.match+=lt[0],this.matches=lt,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(lt[0].length),this.matched+=lt[0],st=this.performAction.call(this,this.yy,this,et,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),st)return st;if(this._backtrack){for(var z in Dt)this[z]=Dt[z];return!1}return!1},next:function(){if(this.done)return this.EOF;var lt,et,st,$;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Dt=this._currentRules(),z=0;zet[0].length)){if(et=st,$=z,this.options.backtrack_lexer){if((lt=this.test_match(st,Dt[z]))!==!1)return lt;if(this._backtrack){et=!1;continue}return!1}if(!this.options.flex)break}return et?(lt=this.test_match(et,Dt[$]))!==!1&<:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(lt){this.conditionStack.push(lt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(lt){return(lt=this.conditionStack.length-1-Math.abs(lt||0))>=0?this.conditionStack[lt]:"INITIAL"},pushState:function(lt){this.begin(lt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(lt,et,st,$){switch(st){case 0:return this.begin("open_directive"),39;case 1:return this.begin("type_directive"),40;case 2:return this.popState(),this.begin("arg_directive"),32;case 3:return this.popState(),this.popState(),42;case 4:return 41;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 37;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 35;case 27:return 36;case 28:this.begin("click");break;case 30:return 34;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 17;case 37:return 16;case 38:return 18;case 39:return"date";case 40:return 19;case 41:return"accDescription";case 42:return 25;case 43:return 27;case 44:return 28;case 45:return 32;case 46:return 7;case 47:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],inclusive:!0}}};function Bt(){this.yy={}}return xt.lexer=jt,Bt.prototype=xt,xt.Parser=Bt,new Bt}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(6878).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},2553:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(jt,Bt,lt,et){for(lt=lt||{},et=jt.length;et--;lt[jt[et]]=Bt);return lt},k=[1,4],y=[1,7],C=[1,5],A=[1,9],M=[1,6],R=[2,6],B=[1,16],Y=[6,8,14,19,21,23,24,26,28,31,34,47,51],G=[8,14,19,21,23,24,26,28,31,34],Q=[8,13,14,19,21,23,24,26,28,31,34],K=[1,26],gt=[6,8,14,47,51],tt=[8,14,51],Lt=[1,61],at=[1,62],vt=[1,63],At=[8,14,32,38,39,51],Zt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ID:27,BRANCH:28,ORDER:29,NUM:30,MERGE:31,COMMIT_TAG:32,STR:33,COMMIT:34,commit_arg:35,COMMIT_TYPE:36,commitType:37,COMMIT_ID:38,COMMIT_MSG:39,NORMAL:40,REVERSE:41,HIGHLIGHT:42,openDirective:43,typeDirective:44,closeDirective:45,argDirective:46,open_directive:47,type_directive:48,arg_directive:49,close_directive:50,";":51,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",27:"ID",28:"BRANCH",29:"ORDER",30:"NUM",31:"MERGE",32:"COMMIT_TAG",33:"STR",34:"COMMIT",36:"COMMIT_TYPE",38:"COMMIT_ID",39:"COMMIT_MSG",40:"NORMAL",41:"REVERSE",42:"HIGHLIGHT",47:"open_directive",48:"type_directive",49:"arg_directive",50:"close_directive",51:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[25,2],[25,4],[18,2],[18,4],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[35,0],[35,1],[37,1],[37,1],[37,1],[5,3],[5,5],[43,1],[44,1],[46,1],[45,1],[4,1],[4,1],[4,1]],performAction:function(jt,Bt,lt,et,st,$,Dt){var z=$.length-1;switch(st){case 3:return $[z];case 4:return $[z-1];case 5:return et.setDirection($[z-3]),$[z-1];case 7:et.setOptions($[z-1]),this.$=$[z];break;case 8:$[z-1]+=$[z],this.$=$[z-1];break;case 10:this.$=[];break;case 11:$[z-1].push($[z]),this.$=$[z-1];break;case 12:this.$=$[z-1];break;case 16:this.$=$[z].trim(),et.setTitle(this.$);break;case 17:case 18:this.$=$[z].trim(),et.setAccDescription(this.$);break;case 19:et.addSection($[z].substr(8)),this.$=$[z].substr(8);break;case 21:et.checkout($[z]);break;case 22:et.branch($[z]);break;case 23:et.branch($[z-2],$[z]);break;case 24:et.merge($[z]);break;case 25:et.merge($[z-2],$[z]);break;case 26:et.commit($[z]);break;case 27:et.commit("","",et.commitType.NORMAL,$[z]);break;case 28:et.commit("","",$[z],"");break;case 29:et.commit("","",$[z],$[z-2]);break;case 30:et.commit("","",$[z-2],$[z]);break;case 31:et.commit("",$[z],et.commitType.NORMAL,"");break;case 32:et.commit("",$[z-2],et.commitType.NORMAL,$[z]);break;case 33:et.commit("",$[z],et.commitType.NORMAL,$[z-2]);break;case 34:et.commit("",$[z-2],$[z],"");break;case 35:et.commit("",$[z],$[z-2],"");break;case 36:et.commit("",$[z-4],$[z-2],$[z]);break;case 37:et.commit("",$[z-4],$[z],$[z-2]);break;case 38:et.commit("",$[z-2],$[z-4],$[z]);break;case 39:et.commit("",$[z],$[z-4],$[z-2]);break;case 40:et.commit("",$[z],$[z-2],$[z-4]);break;case 41:et.commit("",$[z-2],$[z],$[z-4]);break;case 42:et.commit($[z],"",et.commitType.NORMAL,"");break;case 43:et.commit($[z],"",et.commitType.NORMAL,$[z-2]);break;case 44:et.commit($[z-2],"",et.commitType.NORMAL,$[z]);break;case 45:et.commit($[z-2],"",$[z],"");break;case 46:et.commit($[z],"",$[z-2],"");break;case 47:et.commit($[z],$[z-2],et.commitType.NORMAL,"");break;case 48:et.commit($[z-2],$[z],et.commitType.NORMAL,"");break;case 49:et.commit($[z-4],"",$[z-2],$[z]);break;case 50:et.commit($[z-4],"",$[z],$[z-2]);break;case 51:et.commit($[z-2],"",$[z-4],$[z]);break;case 52:et.commit($[z],"",$[z-4],$[z-2]);break;case 53:et.commit($[z],"",$[z-2],$[z-4]);break;case 54:et.commit($[z-2],"",$[z],$[z-4]);break;case 55:et.commit($[z-4],$[z],$[z-2],"");break;case 56:et.commit($[z-4],$[z-2],$[z],"");break;case 57:et.commit($[z-2],$[z],$[z-4],"");break;case 58:et.commit($[z],$[z-2],$[z-4],"");break;case 59:et.commit($[z],$[z-4],$[z-2],"");break;case 60:et.commit($[z-2],$[z-4],$[z],"");break;case 61:et.commit($[z-4],$[z],et.commitType.NORMAL,$[z-2]);break;case 62:et.commit($[z-4],$[z-2],et.commitType.NORMAL,$[z]);break;case 63:et.commit($[z-2],$[z],et.commitType.NORMAL,$[z-4]);break;case 64:et.commit($[z],$[z-2],et.commitType.NORMAL,$[z-4]);break;case 65:et.commit($[z],$[z-4],et.commitType.NORMAL,$[z-2]);break;case 66:et.commit($[z-2],$[z-4],et.commitType.NORMAL,$[z]);break;case 67:et.commit($[z-6],$[z-4],$[z-2],$[z]);break;case 68:et.commit($[z-6],$[z-4],$[z],$[z-2]);break;case 69:et.commit($[z-6],$[z-2],$[z-4],$[z]);break;case 70:et.commit($[z-6],$[z],$[z-4],$[z-2]);break;case 71:et.commit($[z-6],$[z-2],$[z],$[z-4]);break;case 72:et.commit($[z-6],$[z],$[z-2],$[z-4]);break;case 73:et.commit($[z-4],$[z-6],$[z-2],$[z]);break;case 74:et.commit($[z-4],$[z-6],$[z],$[z-2]);break;case 75:et.commit($[z-2],$[z-6],$[z-4],$[z]);break;case 76:et.commit($[z],$[z-6],$[z-4],$[z-2]);break;case 77:et.commit($[z-2],$[z-6],$[z],$[z-4]);break;case 78:et.commit($[z],$[z-6],$[z-2],$[z-4]);break;case 79:et.commit($[z],$[z-4],$[z-2],$[z-6]);break;case 80:et.commit($[z-2],$[z-4],$[z],$[z-6]);break;case 81:et.commit($[z],$[z-2],$[z-4],$[z-6]);break;case 82:et.commit($[z-2],$[z],$[z-4],$[z-6]);break;case 83:et.commit($[z-4],$[z-2],$[z],$[z-6]);break;case 84:et.commit($[z-4],$[z],$[z-2],$[z-6]);break;case 85:et.commit($[z-2],$[z-4],$[z-6],$[z]);break;case 86:et.commit($[z],$[z-4],$[z-6],$[z-2]);break;case 87:et.commit($[z-2],$[z],$[z-6],$[z-4]);break;case 88:et.commit($[z],$[z-2],$[z-6],$[z-4]);break;case 89:et.commit($[z-4],$[z-2],$[z-6],$[z]);break;case 90:et.commit($[z-4],$[z],$[z-6],$[z-2]);break;case 91:this.$="";break;case 92:this.$=$[z];break;case 93:this.$=et.commitType.NORMAL;break;case 94:this.$=et.commitType.REVERSE;break;case 95:this.$=et.commitType.HIGHLIGHT;break;case 98:et.parseDirective("%%{","open_directive");break;case 99:et.parseDirective($[z],"type_directive");break;case 100:$[z]=$[z].trim().replace(/'/g,'"'),et.parseDirective($[z],"arg_directive");break;case 101:et.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:k,8:y,14:C,43:8,47:A,51:M},{1:[3]},{3:10,4:2,5:3,6:k,8:y,14:C,43:8,47:A,51:M},{3:11,4:2,5:3,6:k,8:y,14:C,43:8,47:A,51:M},{7:12,8:R,9:[1,13],10:[1,14],11:15,14:B},f(Y,[2,102]),f(Y,[2,103]),f(Y,[2,104]),{44:17,48:[1,18]},{48:[2,98]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:R,11:15,14:B},{9:[1,21]},f(G,[2,10],{12:22,13:[1,23]}),f(Q,[2,9]),{9:[1,25],45:24,50:K},f([9,50],[2,99]),{1:[2,3]},{8:[1,27]},{7:28,8:R,11:15,14:B},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:[1,34],21:[1,35],23:[1,36],24:[1,37],25:38,26:[1,39],28:[1,42],31:[1,41],34:[1,40]},f(Q,[2,8]),f(gt,[2,96]),{46:43,49:[1,44]},f(gt,[2,101]),{1:[2,4]},{8:[1,45]},f(G,[2,11]),{4:46,8:y,14:C,51:M},f(G,[2,13]),f(tt,[2,14]),f(tt,[2,15]),{20:[1,47]},{22:[1,48]},f(tt,[2,18]),f(tt,[2,19]),f(tt,[2,20]),{27:[1,49]},f(tt,[2,91],{35:50,32:[1,51],33:[1,55],36:[1,52],38:[1,53],39:[1,54]}),{27:[1,56]},{27:[1,57]},{45:58,50:K},{50:[2,100]},{1:[2,5]},f(G,[2,12]),f(tt,[2,16]),f(tt,[2,17]),f(tt,[2,21]),f(tt,[2,26]),{33:[1,59]},{37:60,40:Lt,41:at,42:vt},{33:[1,64]},{33:[1,65]},f(tt,[2,92]),f(tt,[2,24],{32:[1,66]}),f(tt,[2,22],{29:[1,67]}),f(gt,[2,97]),f(tt,[2,27],{36:[1,68],38:[1,69],39:[1,70]}),f(tt,[2,28],{32:[1,71],38:[1,72],39:[1,73]}),f(At,[2,93]),f(At,[2,94]),f(At,[2,95]),f(tt,[2,31],{32:[1,74],36:[1,75],39:[1,76]}),f(tt,[2,42],{32:[1,77],36:[1,78],38:[1,79]}),{33:[1,80]},{30:[1,81]},{37:82,40:Lt,41:at,42:vt},{33:[1,83]},{33:[1,84]},{33:[1,85]},{33:[1,86]},{33:[1,87]},{33:[1,88]},{37:89,40:Lt,41:at,42:vt},{33:[1,90]},{33:[1,91]},{37:92,40:Lt,41:at,42:vt},{33:[1,93]},f(tt,[2,25]),f(tt,[2,23]),f(tt,[2,29],{38:[1,94],39:[1,95]}),f(tt,[2,33],{36:[1,96],39:[1,97]}),f(tt,[2,43],{36:[1,98],38:[1,99]}),f(tt,[2,30],{38:[1,100],39:[1,101]}),f(tt,[2,35],{32:[1,102],39:[1,103]}),f(tt,[2,46],{32:[1,104],38:[1,105]}),f(tt,[2,32],{36:[1,106],39:[1,107]}),f(tt,[2,34],{32:[1,108],39:[1,109]}),f(tt,[2,47],{32:[1,111],36:[1,110]}),f(tt,[2,44],{36:[1,112],38:[1,113]}),f(tt,[2,45],{32:[1,114],38:[1,115]}),f(tt,[2,48],{32:[1,117],36:[1,116]}),{33:[1,118]},{33:[1,119]},{37:120,40:Lt,41:at,42:vt},{33:[1,121]},{37:122,40:Lt,41:at,42:vt},{33:[1,123]},{33:[1,124]},{33:[1,125]},{33:[1,126]},{33:[1,127]},{33:[1,128]},{33:[1,129]},{37:130,40:Lt,41:at,42:vt},{33:[1,131]},{33:[1,132]},{33:[1,133]},{37:134,40:Lt,41:at,42:vt},{33:[1,135]},{37:136,40:Lt,41:at,42:vt},{33:[1,137]},{33:[1,138]},{33:[1,139]},{37:140,40:Lt,41:at,42:vt},{33:[1,141]},f(tt,[2,40],{39:[1,142]}),f(tt,[2,53],{38:[1,143]}),f(tt,[2,41],{39:[1,144]}),f(tt,[2,64],{36:[1,145]}),f(tt,[2,54],{38:[1,146]}),f(tt,[2,63],{36:[1,147]}),f(tt,[2,39],{39:[1,148]}),f(tt,[2,52],{38:[1,149]}),f(tt,[2,38],{39:[1,150]}),f(tt,[2,58],{32:[1,151]}),f(tt,[2,51],{38:[1,152]}),f(tt,[2,57],{32:[1,153]}),f(tt,[2,37],{39:[1,154]}),f(tt,[2,65],{36:[1,155]}),f(tt,[2,36],{39:[1,156]}),f(tt,[2,59],{32:[1,157]}),f(tt,[2,60],{32:[1,158]}),f(tt,[2,66],{36:[1,159]}),f(tt,[2,50],{38:[1,160]}),f(tt,[2,61],{36:[1,161]}),f(tt,[2,49],{38:[1,162]}),f(tt,[2,55],{32:[1,163]}),f(tt,[2,56],{32:[1,164]}),f(tt,[2,62],{36:[1,165]}),{33:[1,166]},{33:[1,167]},{33:[1,168]},{37:169,40:Lt,41:at,42:vt},{33:[1,170]},{37:171,40:Lt,41:at,42:vt},{33:[1,172]},{33:[1,173]},{33:[1,174]},{33:[1,175]},{33:[1,176]},{33:[1,177]},{33:[1,178]},{37:179,40:Lt,41:at,42:vt},{33:[1,180]},{33:[1,181]},{33:[1,182]},{37:183,40:Lt,41:at,42:vt},{33:[1,184]},{37:185,40:Lt,41:at,42:vt},{33:[1,186]},{33:[1,187]},{33:[1,188]},{37:189,40:Lt,41:at,42:vt},f(tt,[2,81]),f(tt,[2,82]),f(tt,[2,79]),f(tt,[2,80]),f(tt,[2,84]),f(tt,[2,83]),f(tt,[2,88]),f(tt,[2,87]),f(tt,[2,86]),f(tt,[2,85]),f(tt,[2,90]),f(tt,[2,89]),f(tt,[2,78]),f(tt,[2,77]),f(tt,[2,76]),f(tt,[2,75]),f(tt,[2,73]),f(tt,[2,74]),f(tt,[2,72]),f(tt,[2,71]),f(tt,[2,70]),f(tt,[2,69]),f(tt,[2,67]),f(tt,[2,68])],defaultActions:{9:[2,98],10:[2,1],11:[2,2],19:[2,3],27:[2,4],44:[2,100],45:[2,5]},parseError:function(jt,Bt){if(!Bt.recoverable){var lt=new Error(jt);throw lt.hash=Bt,lt}this.trace(jt)},parse:function(jt){var Bt=this,lt=[0],et=[],st=[null],$=[],Dt=this.table,z="",Kt=0,_t=0,ae=0,Ee=2,Pe=1,le=$.slice.call(arguments,1),oe=Object.create(this.lexer),he={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(he.yy[be]=this.yy[be]);oe.setInput(jt,he.yy),he.yy.lexer=oe,he.yy.parser=this,oe.yylloc===void 0&&(oe.yylloc={});var Ne=oe.yylloc;$.push(Ne);var de=oe.options&&oe.options.ranges;function Se(){var De;return typeof(De=et.pop()||oe.lex()||Pe)!="number"&&(De instanceof Array&&(De=(et=De).pop()),De=Bt.symbols_[De]||De),De}typeof he.yy.parseError=="function"?this.parseError=he.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var te,_e,wt,pe,mt,It,St,nt,ue,Rt={};;){if(wt=lt[lt.length-1],this.defaultActions[wt]?pe=this.defaultActions[wt]:(te==null&&(te=Se()),pe=Dt[wt]&&Dt[wt][te]),pe===void 0||!pe.length||!pe[0]){var dn="";for(It in ue=[],Dt[wt])this.terminals_[It]&&It>Ee&&ue.push("'"+this.terminals_[It]+"'");dn=oe.showPosition?"Parse error on line "+(Kt+1)+`: +`+oe.showPosition()+` +Expecting `+ue.join(", ")+", got '"+(this.terminals_[te]||te)+"'":"Parse error on line "+(Kt+1)+": Unexpected "+(te==Pe?"end of input":"'"+(this.terminals_[te]||te)+"'"),this.parseError(dn,{text:oe.match,token:this.terminals_[te]||te,line:oe.yylineno,loc:Ne,expected:ue})}if(pe[0]instanceof Array&&pe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+wt+", token: "+te);switch(pe[0]){case 1:lt.push(te),st.push(oe.yytext),$.push(oe.yylloc),lt.push(pe[1]),te=null,_e?(te=_e,_e=null):(_t=oe.yyleng,z=oe.yytext,Kt=oe.yylineno,Ne=oe.yylloc,ae>0);break;case 2:if(St=this.productions_[pe[1]][1],Rt.$=st[st.length-St],Rt._$={first_line:$[$.length-(St||1)].first_line,last_line:$[$.length-1].last_line,first_column:$[$.length-(St||1)].first_column,last_column:$[$.length-1].last_column},de&&(Rt._$.range=[$[$.length-(St||1)].range[0],$[$.length-1].range[1]]),(mt=this.performAction.apply(Rt,[z,_t,Kt,he.yy,pe[1],st,$].concat(le)))!==void 0)return mt;St&&(lt=lt.slice(0,-1*St*2),st=st.slice(0,-1*St),$=$.slice(0,-1*St)),lt.push(this.productions_[pe[1]][0]),st.push(Rt.$),$.push(Rt._$),nt=Dt[lt[lt.length-2]][lt[lt.length-1]],lt.push(nt);break;case 3:return!0}}return!0}},zt={EOF:1,parseError:function(jt,Bt){if(!this.yy.parser)throw new Error(jt);this.yy.parser.parseError(jt,Bt)},setInput:function(jt,Bt){return this.yy=Bt||this.yy||{},this._input=jt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var jt=this._input[0];return this.yytext+=jt,this.yyleng++,this.offset++,this.match+=jt,this.matched+=jt,jt.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),jt},unput:function(jt){var Bt=jt.length,lt=jt.split(/(?:\r\n?|\n)/g);this._input=jt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Bt),this.offset-=Bt;var et=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),lt.length-1&&(this.yylineno-=lt.length-1);var st=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:lt?(lt.length===et.length?this.yylloc.first_column:0)+et[et.length-lt.length].length-lt[0].length:this.yylloc.first_column-Bt},this.options.ranges&&(this.yylloc.range=[st[0],st[0]+this.yyleng-Bt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(jt){this.unput(this.match.slice(jt))},pastInput:function(){var jt=this.matched.substr(0,this.matched.length-this.match.length);return(jt.length>20?"...":"")+jt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var jt=this.match;return jt.length<20&&(jt+=this._input.substr(0,20-jt.length)),(jt.substr(0,20)+(jt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var jt=this.pastInput(),Bt=new Array(jt.length+1).join("-");return jt+this.upcomingInput()+` +`+Bt+"^"},test_match:function(jt,Bt){var lt,et,st;if(this.options.backtrack_lexer&&(st={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&&(st.yylloc.range=this.yylloc.range.slice(0))),(et=jt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=et.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:et?et[et.length-1].length-et[et.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+jt[0].length},this.yytext+=jt[0],this.match+=jt[0],this.matches=jt,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(jt[0].length),this.matched+=jt[0],lt=this.performAction.call(this,this.yy,this,Bt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),lt)return lt;if(this._backtrack){for(var $ in st)this[$]=st[$];return!1}return!1},next:function(){if(this.done)return this.EOF;var jt,Bt,lt,et;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var st=this._currentRules(),$=0;$Bt[0].length)){if(Bt=lt,et=$,this.options.backtrack_lexer){if((jt=this.test_match(lt,st[$]))!==!1)return jt;if(this._backtrack){Bt=!1;continue}return!1}if(!this.options.flex)break}return Bt?(jt=this.test_match(Bt,st[et]))!==!1&&jt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(jt){this.conditionStack.push(jt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(jt){return(jt=this.conditionStack.length-1-Math.abs(jt||0))>=0?this.conditionStack[jt]:"INITIAL"},pushState:function(jt){this.begin(jt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(jt,Bt,lt,et){switch(lt){case 0:return this.begin("open_directive"),47;case 1:return this.begin("type_directive"),48;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),50;case 4:return 49;case 5:return this.begin("acc_title"),19;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),21;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 37:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:case 15:break;case 16:return 6;case 17:return 34;case 18:return 38;case 19:return 36;case 20:return 39;case 21:return 40;case 22:return 41;case 23:return 42;case 24:return 32;case 25:return 28;case 26:return 29;case 27:return 31;case 28:return 26;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:this.begin("string");break;case 38:return 33;case 39:return 30;case 40:return 27;case 41:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch\b)/i,/^(?:order:)/i,/^(?:merge\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+)/i,/^(?:[a-zA-Z][-_\./a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[37,38],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,39,40,41],inclusive:!0}}};function xt(){this.yy={}}return Zt.lexer=zt,xt.prototype=Zt,Zt.Parser=xt,new xt}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(8183).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},6765:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(M,R,B,Y){for(B=B||{},Y=M.length;Y--;B[M[Y]]=R);return B},k=[6,9,10],y={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(M,R,B,Y,G,Q,K){switch(Q.length,G){case 1:return Y;case 4:break;case 6:Y.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},f(k,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},f(k,[2,3]),f(k,[2,4]),f(k,[2,5]),f(k,[2,6])],defaultActions:{4:[2,1]},parseError:function(M,R){if(!R.recoverable){var B=new Error(M);throw B.hash=R,B}this.trace(M)},parse:function(M){var R=this,B=[0],Y=[],G=[null],Q=[],K=this.table,gt="",tt=0,Lt=0,at=0,vt=2,At=1,Zt=Q.slice.call(arguments,1),zt=Object.create(this.lexer),xt={yy:{}};for(var jt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,jt)&&(xt.yy[jt]=this.yy[jt]);zt.setInput(M,xt.yy),xt.yy.lexer=zt,xt.yy.parser=this,zt.yylloc===void 0&&(zt.yylloc={});var Bt=zt.yylloc;Q.push(Bt);var lt=zt.options&&zt.options.ranges;function et(){var he;return typeof(he=Y.pop()||zt.lex()||At)!="number"&&(he instanceof Array&&(he=(Y=he).pop()),he=R.symbols_[he]||he),he}typeof xt.yy.parseError=="function"?this.parseError=xt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var st,$,Dt,z,Kt,_t,ae,Ee,Pe,le={};;){if(Dt=B[B.length-1],this.defaultActions[Dt]?z=this.defaultActions[Dt]:(st==null&&(st=et()),z=K[Dt]&&K[Dt][st]),z===void 0||!z.length||!z[0]){var oe="";for(_t in Pe=[],K[Dt])this.terminals_[_t]&&_t>vt&&Pe.push("'"+this.terminals_[_t]+"'");oe=zt.showPosition?"Parse error on line "+(tt+1)+`: +`+zt.showPosition()+` +Expecting `+Pe.join(", ")+", got '"+(this.terminals_[st]||st)+"'":"Parse error on line "+(tt+1)+": Unexpected "+(st==At?"end of input":"'"+(this.terminals_[st]||st)+"'"),this.parseError(oe,{text:zt.match,token:this.terminals_[st]||st,line:zt.yylineno,loc:Bt,expected:Pe})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Dt+", token: "+st);switch(z[0]){case 1:B.push(st),G.push(zt.yytext),Q.push(zt.yylloc),B.push(z[1]),st=null,$?(st=$,$=null):(Lt=zt.yyleng,gt=zt.yytext,tt=zt.yylineno,Bt=zt.yylloc,at>0);break;case 2:if(ae=this.productions_[z[1]][1],le.$=G[G.length-ae],le._$={first_line:Q[Q.length-(ae||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(ae||1)].first_column,last_column:Q[Q.length-1].last_column},lt&&(le._$.range=[Q[Q.length-(ae||1)].range[0],Q[Q.length-1].range[1]]),(Kt=this.performAction.apply(le,[gt,Lt,tt,xt.yy,z[1],G,Q].concat(Zt)))!==void 0)return Kt;ae&&(B=B.slice(0,-1*ae*2),G=G.slice(0,-1*ae),Q=Q.slice(0,-1*ae)),B.push(this.productions_[z[1]][0]),G.push(le.$),Q.push(le._$),Ee=K[B[B.length-2]][B[B.length-1]],B.push(Ee);break;case 3:return!0}}return!0}},C={EOF:1,parseError:function(M,R){if(!this.yy.parser)throw new Error(M);this.yy.parser.parseError(M,R)},setInput:function(M,R){return this.yy=R||this.yy||{},this._input=M,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var M=this._input[0];return this.yytext+=M,this.yyleng++,this.offset++,this.match+=M,this.matched+=M,M.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),M},unput:function(M){var R=M.length,B=M.split(/(?:\r\n?|\n)/g);this._input=M+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-R),this.offset-=R;var Y=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),B.length-1&&(this.yylineno-=B.length-1);var G=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:B?(B.length===Y.length?this.yylloc.first_column:0)+Y[Y.length-B.length].length-B[0].length:this.yylloc.first_column-R},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-R]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(M){this.unput(this.match.slice(M))},pastInput:function(){var M=this.matched.substr(0,this.matched.length-this.match.length);return(M.length>20?"...":"")+M.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var M=this.match;return M.length<20&&(M+=this._input.substr(0,20-M.length)),(M.substr(0,20)+(M.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var M=this.pastInput(),R=new Array(M.length+1).join("-");return M+this.upcomingInput()+` +`+R+"^"},test_match:function(M,R){var B,Y,G;if(this.options.backtrack_lexer&&(G={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&&(G.yylloc.range=this.yylloc.range.slice(0))),(Y=M[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Y?Y[Y.length-1].length-Y[Y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+M[0].length},this.yytext+=M[0],this.match+=M[0],this.matches=M,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(M[0].length),this.matched+=M[0],B=this.performAction.call(this,this.yy,this,R,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var Q in G)this[Q]=G[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;var M,R,B,Y;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var G=this._currentRules(),Q=0;QR[0].length)){if(R=B,Y=Q,this.options.backtrack_lexer){if((M=this.test_match(B,G[Q]))!==!1)return M;if(this._backtrack){R=!1;continue}return!1}if(!this.options.flex)break}return R?(M=this.test_match(R,G[Y]))!==!1&&M:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(M){this.conditionStack.push(M)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(M){return(M=this.conditionStack.length-1-Math.abs(M||0))>=0?this.conditionStack[M]:"INITIAL"},pushState:function(M){this.begin(M)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(M,R,B,Y){switch(B){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function A(){this.yy={}}return y.lexer=C,A.prototype=y,y.Parser=A,new A}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(1428).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},7062:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(Bt,lt,et,st){for(et=et||{},st=Bt.length;st--;et[Bt[st]]=lt);return et},k=[1,4],y=[1,5],C=[1,6],A=[1,7],M=[1,9],R=[1,11,13,15,17,19,20,26,27,28,29],B=[2,5],Y=[1,6,11,13,15,17,19,20,26,27,28,29],G=[26,27,28],Q=[2,8],K=[1,18],gt=[1,19],tt=[1,20],Lt=[1,21],at=[1,22],vt=[1,23],At=[1,28],Zt=[6,26,27,28,29],zt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(Bt,lt,et,st,$,Dt,z){var Kt=Dt.length-1;switch($){case 4:st.setShowData(!0);break;case 7:this.$=Dt[Kt-1];break;case 9:st.addSection(Dt[Kt-1],st.cleanupValue(Dt[Kt]));break;case 10:this.$=Dt[Kt].trim(),st.setPieTitle(this.$);break;case 11:this.$=Dt[Kt].trim(),st.setTitle(this.$);break;case 12:case 13:this.$=Dt[Kt].trim(),st.setAccDescription(this.$);break;case 14:st.addSection(Dt[Kt].substr(8)),this.$=Dt[Kt].substr(8);break;case 21:st.parseDirective("%%{","open_directive");break;case 22:st.parseDirective(Dt[Kt],"type_directive");break;case 23:Dt[Kt]=Dt[Kt].trim().replace(/'/g,'"'),st.parseDirective(Dt[Kt],"arg_directive");break;case 24:st.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:k,21:8,26:y,27:C,28:A,29:M},{1:[3]},{3:10,4:2,5:3,6:k,21:8,26:y,27:C,28:A,29:M},{3:11,4:2,5:3,6:k,21:8,26:y,27:C,28:A,29:M},f(R,B,{7:12,8:[1,13]}),f(Y,[2,18]),f(Y,[2,19]),f(Y,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},f(G,Q,{21:8,9:16,10:17,5:24,1:[2,3],11:K,13:gt,15:tt,17:Lt,19:at,20:vt,29:M}),f(R,B,{7:25}),{23:26,24:[1,27],32:At},f([24,32],[2,22]),f(R,[2,6]),{4:29,26:y,27:C,28:A},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},f(G,[2,13]),f(G,[2,14]),f(G,[2,15]),f(G,Q,{21:8,9:16,10:17,5:24,1:[2,4],11:K,13:gt,15:tt,17:Lt,19:at,20:vt,29:M}),f(Zt,[2,16]),{25:34,31:[1,35]},f(Zt,[2,24]),f(R,[2,7]),f(G,[2,9]),f(G,[2,10]),f(G,[2,11]),f(G,[2,12]),{23:36,32:At},{32:[2,23]},f(Zt,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(Bt,lt){if(!lt.recoverable){var et=new Error(Bt);throw et.hash=lt,et}this.trace(Bt)},parse:function(Bt){var lt=this,et=[0],st=[],$=[null],Dt=[],z=this.table,Kt="",_t=0,ae=0,Ee=0,Pe=2,le=1,oe=Dt.slice.call(arguments,1),he=Object.create(this.lexer),be={yy:{}};for(var Ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ne)&&(be.yy[Ne]=this.yy[Ne]);he.setInput(Bt,be.yy),be.yy.lexer=he,be.yy.parser=this,he.yylloc===void 0&&(he.yylloc={});var de=he.yylloc;Dt.push(de);var Se=he.options&&he.options.ranges;function te(){var Ue;return typeof(Ue=st.pop()||he.lex()||le)!="number"&&(Ue instanceof Array&&(Ue=(st=Ue).pop()),Ue=lt.symbols_[Ue]||Ue),Ue}typeof be.yy.parseError=="function"?this.parseError=be.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _e,wt,pe,mt,It,St,nt,ue,Rt,dn={};;){if(pe=et[et.length-1],this.defaultActions[pe]?mt=this.defaultActions[pe]:(_e==null&&(_e=te()),mt=z[pe]&&z[pe][_e]),mt===void 0||!mt.length||!mt[0]){var De="";for(St in Rt=[],z[pe])this.terminals_[St]&&St>Pe&&Rt.push("'"+this.terminals_[St]+"'");De=he.showPosition?"Parse error on line "+(_t+1)+`: +`+he.showPosition()+` +Expecting `+Rt.join(", ")+", got '"+(this.terminals_[_e]||_e)+"'":"Parse error on line "+(_t+1)+": Unexpected "+(_e==le?"end of input":"'"+(this.terminals_[_e]||_e)+"'"),this.parseError(De,{text:he.match,token:this.terminals_[_e]||_e,line:he.yylineno,loc:de,expected:Rt})}if(mt[0]instanceof Array&&mt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pe+", token: "+_e);switch(mt[0]){case 1:et.push(_e),$.push(he.yytext),Dt.push(he.yylloc),et.push(mt[1]),_e=null,wt?(_e=wt,wt=null):(ae=he.yyleng,Kt=he.yytext,_t=he.yylineno,de=he.yylloc,Ee>0);break;case 2:if(nt=this.productions_[mt[1]][1],dn.$=$[$.length-nt],dn._$={first_line:Dt[Dt.length-(nt||1)].first_line,last_line:Dt[Dt.length-1].last_line,first_column:Dt[Dt.length-(nt||1)].first_column,last_column:Dt[Dt.length-1].last_column},Se&&(dn._$.range=[Dt[Dt.length-(nt||1)].range[0],Dt[Dt.length-1].range[1]]),(It=this.performAction.apply(dn,[Kt,ae,_t,be.yy,mt[1],$,Dt].concat(oe)))!==void 0)return It;nt&&(et=et.slice(0,-1*nt*2),$=$.slice(0,-1*nt),Dt=Dt.slice(0,-1*nt)),et.push(this.productions_[mt[1]][0]),$.push(dn.$),Dt.push(dn._$),ue=z[et[et.length-2]][et[et.length-1]],et.push(ue);break;case 3:return!0}}return!0}},xt={EOF:1,parseError:function(Bt,lt){if(!this.yy.parser)throw new Error(Bt);this.yy.parser.parseError(Bt,lt)},setInput:function(Bt,lt){return this.yy=lt||this.yy||{},this._input=Bt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Bt=this._input[0];return this.yytext+=Bt,this.yyleng++,this.offset++,this.match+=Bt,this.matched+=Bt,Bt.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),Bt},unput:function(Bt){var lt=Bt.length,et=Bt.split(/(?:\r\n?|\n)/g);this._input=Bt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-lt),this.offset-=lt;var st=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),et.length-1&&(this.yylineno-=et.length-1);var $=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:et?(et.length===st.length?this.yylloc.first_column:0)+st[st.length-et.length].length-et[0].length:this.yylloc.first_column-lt},this.options.ranges&&(this.yylloc.range=[$[0],$[0]+this.yyleng-lt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Bt){this.unput(this.match.slice(Bt))},pastInput:function(){var Bt=this.matched.substr(0,this.matched.length-this.match.length);return(Bt.length>20?"...":"")+Bt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Bt=this.match;return Bt.length<20&&(Bt+=this._input.substr(0,20-Bt.length)),(Bt.substr(0,20)+(Bt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Bt=this.pastInput(),lt=new Array(Bt.length+1).join("-");return Bt+this.upcomingInput()+` +`+lt+"^"},test_match:function(Bt,lt){var et,st,$;if(this.options.backtrack_lexer&&($={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&($.yylloc.range=this.yylloc.range.slice(0))),(st=Bt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=st.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:st?st[st.length-1].length-st[st.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Bt[0].length},this.yytext+=Bt[0],this.match+=Bt[0],this.matches=Bt,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(Bt[0].length),this.matched+=Bt[0],et=this.performAction.call(this,this.yy,this,lt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),et)return et;if(this._backtrack){for(var Dt in $)this[Dt]=$[Dt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Bt,lt,et,st;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var $=this._currentRules(),Dt=0;Dt<$.length;Dt++)if((et=this._input.match(this.rules[$[Dt]]))&&(!lt||et[0].length>lt[0].length)){if(lt=et,st=Dt,this.options.backtrack_lexer){if((Bt=this.test_match(et,$[Dt]))!==!1)return Bt;if(this._backtrack){lt=!1;continue}return!1}if(!this.options.flex)break}return lt?(Bt=this.test_match(lt,$[st]))!==!1&&Bt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Bt){this.conditionStack.push(Bt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Bt){return(Bt=this.conditionStack.length-1-Math.abs(Bt||0))>=0?this.conditionStack[Bt]:"INITIAL"},pushState:function(Bt){this.begin(Bt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Bt,lt,et,st){switch(et){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function jt(){this.yy={}}return zt.lexer=xt,jt.prototype=zt,zt.Parser=jt,new jt}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(4551).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},3176:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(wt,pe,mt,It){for(mt=mt||{},It=wt.length;It--;mt[wt[It]]=pe);return mt},k=[1,3],y=[1,5],C=[1,6],A=[1,7],M=[1,8],R=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],B=[1,22],Y=[2,13],G=[1,26],Q=[1,27],K=[1,28],gt=[1,29],tt=[1,30],Lt=[1,31],at=[1,24],vt=[1,32],At=[1,33],Zt=[1,36],zt=[71,72],xt=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],jt=[1,56],Bt=[1,57],lt=[1,58],et=[1,59],st=[1,60],$=[1,61],Dt=[1,62],z=[62,63],Kt=[1,74],_t=[1,70],ae=[1,71],Ee=[1,72],Pe=[1,73],le=[1,75],oe=[1,79],he=[1,80],be=[1,77],Ne=[1,78],de=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],Se={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(wt,pe,mt,It,St,nt,ue){var Rt=nt.length-1;switch(St){case 6:this.$=nt[Rt].trim(),It.setTitle(this.$);break;case 7:case 8:this.$=nt[Rt].trim(),It.setAccDescription(this.$);break;case 9:It.parseDirective("%%{","open_directive");break;case 10:It.parseDirective(nt[Rt],"type_directive");break;case 11:nt[Rt]=nt[Rt].trim().replace(/'/g,'"'),It.parseDirective(nt[Rt],"arg_directive");break;case 12:It.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:It.addRequirement(nt[Rt-3],nt[Rt-4]);break;case 20:It.setNewReqId(nt[Rt-2]);break;case 21:It.setNewReqText(nt[Rt-2]);break;case 22:It.setNewReqRisk(nt[Rt-2]);break;case 23:It.setNewReqVerifyMethod(nt[Rt-2]);break;case 26:this.$=It.RequirementType.REQUIREMENT;break;case 27:this.$=It.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=It.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=It.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=It.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=It.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=It.RiskLevel.LOW_RISK;break;case 33:this.$=It.RiskLevel.MED_RISK;break;case 34:this.$=It.RiskLevel.HIGH_RISK;break;case 35:this.$=It.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=It.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=It.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=It.VerifyType.VERIFY_TEST;break;case 39:It.addElement(nt[Rt-3]);break;case 40:It.setNewElementType(nt[Rt-2]);break;case 41:It.setNewElementDocRef(nt[Rt-2]);break;case 44:It.addRelationship(nt[Rt-2],nt[Rt],nt[Rt-4]);break;case 45:It.addRelationship(nt[Rt-2],nt[Rt-4],nt[Rt]);break;case 46:this.$=It.Relationships.CONTAINS;break;case 47:this.$=It.Relationships.COPIES;break;case 48:this.$=It.Relationships.DERIVES;break;case 49:this.$=It.Relationships.SATISFIES;break;case 50:this.$=It.Relationships.VERIFIES;break;case 51:this.$=It.Relationships.REFINES;break;case 52:this.$=It.Relationships.TRACES}},table:[{3:1,4:2,6:k,9:4,14:y,16:C,18:A,19:M},{1:[3]},{3:10,4:2,5:[1,9],6:k,9:4,14:y,16:C,18:A,19:M},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},f(R,[2,8]),{20:[2,9]},{3:16,4:2,6:k,9:4,14:y,16:C,18:A,19:M},{1:[2,2]},{4:21,5:B,7:17,8:Y,9:4,14:y,16:C,18:A,19:M,23:18,24:19,25:20,26:23,32:25,40:G,41:Q,42:K,43:gt,44:tt,45:Lt,53:at,71:vt,72:At},{11:34,12:[1,35],22:Zt},f([12,22],[2,10]),f(R,[2,6]),f(R,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:B,7:38,8:Y,9:4,14:y,16:C,18:A,19:M,23:18,24:19,25:20,26:23,32:25,40:G,41:Q,42:K,43:gt,44:tt,45:Lt,53:at,71:vt,72:At},{4:21,5:B,7:39,8:Y,9:4,14:y,16:C,18:A,19:M,23:18,24:19,25:20,26:23,32:25,40:G,41:Q,42:K,43:gt,44:tt,45:Lt,53:at,71:vt,72:At},{4:21,5:B,7:40,8:Y,9:4,14:y,16:C,18:A,19:M,23:18,24:19,25:20,26:23,32:25,40:G,41:Q,42:K,43:gt,44:tt,45:Lt,53:at,71:vt,72:At},{4:21,5:B,7:41,8:Y,9:4,14:y,16:C,18:A,19:M,23:18,24:19,25:20,26:23,32:25,40:G,41:Q,42:K,43:gt,44:tt,45:Lt,53:at,71:vt,72:At},{4:21,5:B,7:42,8:Y,9:4,14:y,16:C,18:A,19:M,23:18,24:19,25:20,26:23,32:25,40:G,41:Q,42:K,43:gt,44:tt,45:Lt,53:at,71:vt,72:At},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},f(zt,[2,26]),f(zt,[2,27]),f(zt,[2,28]),f(zt,[2,29]),f(zt,[2,30]),f(zt,[2,31]),f(xt,[2,55]),f(xt,[2,56]),f(R,[2,4]),{13:51,21:[1,52]},f(R,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:jt,65:Bt,66:lt,67:et,68:st,69:$,70:Dt},{61:63,64:jt,65:Bt,66:lt,67:et,68:st,69:$,70:Dt},{11:64,22:Zt},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},f(z,[2,46]),f(z,[2,47]),f(z,[2,48]),f(z,[2,49]),f(z,[2,50]),f(z,[2,51]),f(z,[2,52]),{63:[1,68]},f(R,[2,5]),{5:Kt,29:69,30:_t,33:ae,35:Ee,37:Pe,39:le},{5:oe,39:he,55:76,56:be,58:Ne},{32:81,71:vt,72:At},{32:82,71:vt,72:At},f(de,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:Kt,29:87,30:_t,33:ae,35:Ee,37:Pe,39:le},f(de,[2,25]),f(de,[2,39]),{31:[1,88]},{31:[1,89]},{5:oe,39:he,55:90,56:be,58:Ne},f(de,[2,43]),f(de,[2,44]),f(de,[2,45]),{32:91,71:vt,72:At},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},f(de,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},f(de,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:Kt,29:116,30:_t,33:ae,35:Ee,37:Pe,39:le},{5:Kt,29:117,30:_t,33:ae,35:Ee,37:Pe,39:le},{5:Kt,29:118,30:_t,33:ae,35:Ee,37:Pe,39:le},{5:Kt,29:119,30:_t,33:ae,35:Ee,37:Pe,39:le},{5:oe,39:he,55:120,56:be,58:Ne},{5:oe,39:he,55:121,56:be,58:Ne},f(de,[2,20]),f(de,[2,21]),f(de,[2,22]),f(de,[2,23]),f(de,[2,40]),f(de,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(wt,pe){if(!pe.recoverable){var mt=new Error(wt);throw mt.hash=pe,mt}this.trace(wt)},parse:function(wt){var pe=this,mt=[0],It=[],St=[null],nt=[],ue=this.table,Rt="",dn=0,De=0,Ue=0,Ve=2,Je=1,en=nt.slice.call(arguments,1),Ae=Object.create(this.lexer),qe={yy:{}};for(var rn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,rn)&&(qe.yy[rn]=this.yy[rn]);Ae.setInput(wt,qe.yy),qe.yy.lexer=Ae,qe.yy.parser=this,Ae.yylloc===void 0&&(Ae.yylloc={});var je=Ae.yylloc;nt.push(je);var xe=Ae.options&&Ae.options.ranges;function Ze(){var gn;return typeof(gn=It.pop()||Ae.lex()||Je)!="number"&&(gn instanceof Array&&(gn=(It=gn).pop()),gn=pe.symbols_[gn]||gn),gn}typeof qe.yy.parseError=="function"?this.parseError=qe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var pn,Qn,Xe,nn,Sr,Dr,yn,An,fn,wn={};;){if(Xe=mt[mt.length-1],this.defaultActions[Xe]?nn=this.defaultActions[Xe]:(pn==null&&(pn=Ze()),nn=ue[Xe]&&ue[Xe][pn]),nn===void 0||!nn.length||!nn[0]){var Dn="";for(Dr in fn=[],ue[Xe])this.terminals_[Dr]&&Dr>Ve&&fn.push("'"+this.terminals_[Dr]+"'");Dn=Ae.showPosition?"Parse error on line "+(dn+1)+`: +`+Ae.showPosition()+` +Expecting `+fn.join(", ")+", got '"+(this.terminals_[pn]||pn)+"'":"Parse error on line "+(dn+1)+": Unexpected "+(pn==Je?"end of input":"'"+(this.terminals_[pn]||pn)+"'"),this.parseError(Dn,{text:Ae.match,token:this.terminals_[pn]||pn,line:Ae.yylineno,loc:je,expected:fn})}if(nn[0]instanceof Array&&nn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Xe+", token: "+pn);switch(nn[0]){case 1:mt.push(pn),St.push(Ae.yytext),nt.push(Ae.yylloc),mt.push(nn[1]),pn=null,Qn?(pn=Qn,Qn=null):(De=Ae.yyleng,Rt=Ae.yytext,dn=Ae.yylineno,je=Ae.yylloc,Ue>0);break;case 2:if(yn=this.productions_[nn[1]][1],wn.$=St[St.length-yn],wn._$={first_line:nt[nt.length-(yn||1)].first_line,last_line:nt[nt.length-1].last_line,first_column:nt[nt.length-(yn||1)].first_column,last_column:nt[nt.length-1].last_column},xe&&(wn._$.range=[nt[nt.length-(yn||1)].range[0],nt[nt.length-1].range[1]]),(Sr=this.performAction.apply(wn,[Rt,De,dn,qe.yy,nn[1],St,nt].concat(en)))!==void 0)return Sr;yn&&(mt=mt.slice(0,-1*yn*2),St=St.slice(0,-1*yn),nt=nt.slice(0,-1*yn)),mt.push(this.productions_[nn[1]][0]),St.push(wn.$),nt.push(wn._$),An=ue[mt[mt.length-2]][mt[mt.length-1]],mt.push(An);break;case 3:return!0}}return!0}},te={EOF:1,parseError:function(wt,pe){if(!this.yy.parser)throw new Error(wt);this.yy.parser.parseError(wt,pe)},setInput:function(wt,pe){return this.yy=pe||this.yy||{},this._input=wt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var wt=this._input[0];return this.yytext+=wt,this.yyleng++,this.offset++,this.match+=wt,this.matched+=wt,wt.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),wt},unput:function(wt){var pe=wt.length,mt=wt.split(/(?:\r\n?|\n)/g);this._input=wt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-pe),this.offset-=pe;var It=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),mt.length-1&&(this.yylineno-=mt.length-1);var St=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:mt?(mt.length===It.length?this.yylloc.first_column:0)+It[It.length-mt.length].length-mt[0].length:this.yylloc.first_column-pe},this.options.ranges&&(this.yylloc.range=[St[0],St[0]+this.yyleng-pe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(wt){this.unput(this.match.slice(wt))},pastInput:function(){var wt=this.matched.substr(0,this.matched.length-this.match.length);return(wt.length>20?"...":"")+wt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var wt=this.match;return wt.length<20&&(wt+=this._input.substr(0,20-wt.length)),(wt.substr(0,20)+(wt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var wt=this.pastInput(),pe=new Array(wt.length+1).join("-");return wt+this.upcomingInput()+` +`+pe+"^"},test_match:function(wt,pe){var mt,It,St;if(this.options.backtrack_lexer&&(St={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&&(St.yylloc.range=this.yylloc.range.slice(0))),(It=wt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=It.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:It?It[It.length-1].length-It[It.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+wt[0].length},this.yytext+=wt[0],this.match+=wt[0],this.matches=wt,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(wt[0].length),this.matched+=wt[0],mt=this.performAction.call(this,this.yy,this,pe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),mt)return mt;if(this._backtrack){for(var nt in St)this[nt]=St[nt];return!1}return!1},next:function(){if(this.done)return this.EOF;var wt,pe,mt,It;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var St=this._currentRules(),nt=0;ntpe[0].length)){if(pe=mt,It=nt,this.options.backtrack_lexer){if((wt=this.test_match(mt,St[nt]))!==!1)return wt;if(this._backtrack){pe=!1;continue}return!1}if(!this.options.flex)break}return pe?(wt=this.test_match(pe,St[It]))!==!1&&wt:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(wt){this.conditionStack.push(wt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(wt){return(wt=this.conditionStack.length-1-Math.abs(wt||0))>=0?this.conditionStack[wt]:"INITIAL"},pushState:function(wt){this.begin(wt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(wt,pe,mt,It){switch(mt){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return pe.yytext=pe.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};function _e(){this.yy={}}return Se.lexer=te,_e.prototype=Se,Se.Parser=_e,new _e}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(8800).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},6876:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(Se,te,_e,wt){for(_e=_e||{},wt=Se.length;wt--;_e[Se[wt]]=te);return _e},k=[1,2],y=[1,3],C=[1,5],A=[1,7],M=[2,5],R=[1,15],B=[1,17],Y=[1,18],G=[1,19],Q=[1,21],K=[1,22],gt=[1,23],tt=[1,29],Lt=[1,30],at=[1,31],vt=[1,32],At=[1,33],Zt=[1,34],zt=[1,35],xt=[1,36],jt=[1,37],Bt=[1,38],lt=[1,41],et=[1,42],st=[1,43],$=[1,44],Dt=[1,45],z=[1,46],Kt=[1,49],_t=[1,4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,48,49,54,55,56,57,65,75],ae=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,49,54,55,56,57,65,75],Ee=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,48,49,54,55,56,57,65,75],Pe=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,54,55,56,57,65,75],le=[63,64,65],oe=[1,114],he=[1,4,5,7,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,48,49,54,55,56,57,65,75],be={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,":":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,NUM:23,off:24,activate:25,deactivate:26,note_statement:27,links_statement:28,link_statement:29,properties_statement:30,details_statement:31,title:32,legacy_title:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,loop:39,end:40,rect:41,opt:42,alt:43,else_sections:44,par:45,par_sections:46,and:47,else:48,note:49,placement:50,text2:51,over:52,actor_pair:53,links:54,link:55,properties:56,details:57,spaceList:58,",":59,left_of:60,right_of:61,signaltype:62,"+":63,"-":64,ACTOR:65,SOLID_OPEN_ARROW:66,DOTTED_OPEN_ARROW:67,SOLID_ARROW:68,DOTTED_ARROW:69,SOLID_CROSS:70,DOTTED_CROSS:71,SOLID_POINT:72,DOTTED_POINT:73,TXT:74,open_directive:75,type_directive:76,arg_directive:77,close_directive:78,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",14:":",16:"participant",18:"AS",19:"restOfLine",20:"participant_actor",22:"autonumber",23:"NUM",24:"off",25:"activate",26:"deactivate",32:"title",33:"legacy_title",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",39:"loop",40:"end",41:"rect",42:"opt",43:"alt",45:"par",47:"and",48:"else",49:"note",52:"over",54:"links",55:"link",56:"properties",57:"details",59:",",60:"left_of",61:"right_of",63:"+",64:"-",65:"ACTOR",66:"SOLID_OPEN_ARROW",67:"DOTTED_OPEN_ARROW",68:"SOLID_ARROW",69:"DOTTED_ARROW",70:"SOLID_CROSS",71:"DOTTED_CROSS",72:"SOLID_POINT",73:"DOTTED_POINT",74:"TXT",75:"open_directive",76:"type_directive",77:"arg_directive",78:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[46,1],[46,4],[44,1],[44,4],[27,4],[27,4],[28,3],[29,3],[30,3],[31,3],[58,2],[58,1],[53,3],[53,1],[50,1],[50,1],[21,5],[21,5],[21,4],[17,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[51,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(Se,te,_e,wt,pe,mt,It){var St=mt.length-1;switch(pe){case 4:return wt.apply(mt[St]),mt[St];case 5:case 9:this.$=[];break;case 6:mt[St-1].push(mt[St]),this.$=mt[St-1];break;case 7:case 8:case 52:this.$=mt[St];break;case 12:mt[St-3].type="addParticipant",mt[St-3].description=wt.parseMessage(mt[St-1]),this.$=mt[St-3];break;case 13:mt[St-1].type="addParticipant",this.$=mt[St-1];break;case 14:mt[St-3].type="addActor",mt[St-3].description=wt.parseMessage(mt[St-1]),this.$=mt[St-3];break;case 15:mt[St-1].type="addActor",this.$=mt[St-1];break;case 17:this.$={type:"sequenceIndex",sequenceIndex:Number(mt[St-2]),sequenceIndexStep:Number(mt[St-1]),sequenceVisible:!0,signalType:wt.LINETYPE.AUTONUMBER};break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(mt[St-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:wt.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:wt.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:wt.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"activeStart",signalType:wt.LINETYPE.ACTIVE_START,actor:mt[St-1]};break;case 22:this.$={type:"activeEnd",signalType:wt.LINETYPE.ACTIVE_END,actor:mt[St-1]};break;case 28:wt.setDiagramTitle(mt[St].substring(6)),this.$=mt[St].substring(6);break;case 29:wt.setDiagramTitle(mt[St].substring(7)),this.$=mt[St].substring(7);break;case 30:this.$=mt[St].trim(),wt.setTitle(this.$);break;case 31:case 32:this.$=mt[St].trim(),wt.setAccDescription(this.$);break;case 33:mt[St-1].unshift({type:"loopStart",loopText:wt.parseMessage(mt[St-2]),signalType:wt.LINETYPE.LOOP_START}),mt[St-1].push({type:"loopEnd",loopText:mt[St-2],signalType:wt.LINETYPE.LOOP_END}),this.$=mt[St-1];break;case 34:mt[St-1].unshift({type:"rectStart",color:wt.parseMessage(mt[St-2]),signalType:wt.LINETYPE.RECT_START}),mt[St-1].push({type:"rectEnd",color:wt.parseMessage(mt[St-2]),signalType:wt.LINETYPE.RECT_END}),this.$=mt[St-1];break;case 35:mt[St-1].unshift({type:"optStart",optText:wt.parseMessage(mt[St-2]),signalType:wt.LINETYPE.OPT_START}),mt[St-1].push({type:"optEnd",optText:wt.parseMessage(mt[St-2]),signalType:wt.LINETYPE.OPT_END}),this.$=mt[St-1];break;case 36:mt[St-1].unshift({type:"altStart",altText:wt.parseMessage(mt[St-2]),signalType:wt.LINETYPE.ALT_START}),mt[St-1].push({type:"altEnd",signalType:wt.LINETYPE.ALT_END}),this.$=mt[St-1];break;case 37:mt[St-1].unshift({type:"parStart",parText:wt.parseMessage(mt[St-2]),signalType:wt.LINETYPE.PAR_START}),mt[St-1].push({type:"parEnd",signalType:wt.LINETYPE.PAR_END}),this.$=mt[St-1];break;case 40:this.$=mt[St-3].concat([{type:"and",parText:wt.parseMessage(mt[St-1]),signalType:wt.LINETYPE.PAR_AND},mt[St]]);break;case 42:this.$=mt[St-3].concat([{type:"else",altText:wt.parseMessage(mt[St-1]),signalType:wt.LINETYPE.ALT_ELSE},mt[St]]);break;case 43:this.$=[mt[St-1],{type:"addNote",placement:mt[St-2],actor:mt[St-1].actor,text:mt[St]}];break;case 44:mt[St-2]=[].concat(mt[St-1],mt[St-1]).slice(0,2),mt[St-2][0]=mt[St-2][0].actor,mt[St-2][1]=mt[St-2][1].actor,this.$=[mt[St-1],{type:"addNote",placement:wt.PLACEMENT.OVER,actor:mt[St-2].slice(0,2),text:mt[St]}];break;case 45:this.$=[mt[St-1],{type:"addLinks",actor:mt[St-1].actor,text:mt[St]}];break;case 46:this.$=[mt[St-1],{type:"addALink",actor:mt[St-1].actor,text:mt[St]}];break;case 47:this.$=[mt[St-1],{type:"addProperties",actor:mt[St-1].actor,text:mt[St]}];break;case 48:this.$=[mt[St-1],{type:"addDetails",actor:mt[St-1].actor,text:mt[St]}];break;case 51:this.$=[mt[St-2],mt[St]];break;case 53:this.$=wt.PLACEMENT.LEFTOF;break;case 54:this.$=wt.PLACEMENT.RIGHTOF;break;case 55:this.$=[mt[St-4],mt[St-1],{type:"addMessage",from:mt[St-4].actor,to:mt[St-1].actor,signalType:mt[St-3],msg:mt[St]},{type:"activeStart",signalType:wt.LINETYPE.ACTIVE_START,actor:mt[St-1]}];break;case 56:this.$=[mt[St-4],mt[St-1],{type:"addMessage",from:mt[St-4].actor,to:mt[St-1].actor,signalType:mt[St-3],msg:mt[St]},{type:"activeEnd",signalType:wt.LINETYPE.ACTIVE_END,actor:mt[St-4]}];break;case 57:this.$=[mt[St-3],mt[St-1],{type:"addMessage",from:mt[St-3].actor,to:mt[St-1].actor,signalType:mt[St-2],msg:mt[St]}];break;case 58:this.$={type:"addParticipant",actor:mt[St]};break;case 59:this.$=wt.LINETYPE.SOLID_OPEN;break;case 60:this.$=wt.LINETYPE.DOTTED_OPEN;break;case 61:this.$=wt.LINETYPE.SOLID;break;case 62:this.$=wt.LINETYPE.DOTTED;break;case 63:this.$=wt.LINETYPE.SOLID_CROSS;break;case 64:this.$=wt.LINETYPE.DOTTED_CROSS;break;case 65:this.$=wt.LINETYPE.SOLID_POINT;break;case 66:this.$=wt.LINETYPE.DOTTED_POINT;break;case 67:this.$=wt.parseMessage(mt[St].trim().substring(1));break;case 68:wt.parseDirective("%%{","open_directive");break;case 69:wt.parseDirective(mt[St],"type_directive");break;case 70:mt[St]=mt[St].trim().replace(/'/g,'"'),wt.parseDirective(mt[St],"arg_directive");break;case 71:wt.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:k,5:y,6:4,7:C,11:6,75:A},{1:[3]},{3:8,4:k,5:y,6:4,7:C,11:6,75:A},{3:9,4:k,5:y,6:4,7:C,11:6,75:A},{3:10,4:k,5:y,6:4,7:C,11:6,75:A},f([1,4,5,16,20,22,25,26,32,33,34,36,38,39,41,42,43,45,49,54,55,56,57,65,75],M,{8:11}),{12:12,76:[1,13]},{76:[2,68]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:R,5:B,6:39,9:14,10:16,11:6,16:Y,17:40,20:G,21:20,22:Q,25:K,26:gt,27:24,28:25,29:26,30:27,31:28,32:tt,33:Lt,34:at,36:vt,38:At,39:Zt,41:zt,42:xt,43:jt,45:Bt,49:lt,54:et,55:st,56:$,57:Dt,65:z,75:A},{13:47,14:[1,48],78:Kt},f([14,78],[2,69]),f(_t,[2,6]),{6:39,10:50,11:6,16:Y,17:40,20:G,21:20,22:Q,25:K,26:gt,27:24,28:25,29:26,30:27,31:28,32:tt,33:Lt,34:at,36:vt,38:At,39:Zt,41:zt,42:xt,43:jt,45:Bt,49:lt,54:et,55:st,56:$,57:Dt,65:z,75:A},f(_t,[2,8]),f(_t,[2,9]),{17:51,65:z},{17:52,65:z},{5:[1,53]},{5:[1,56],23:[1,54],24:[1,55]},{17:57,65:z},{17:58,65:z},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},{5:[1,63]},f(_t,[2,28]),f(_t,[2,29]),{35:[1,64]},{37:[1,65]},f(_t,[2,32]),{19:[1,66]},{19:[1,67]},{19:[1,68]},{19:[1,69]},{19:[1,70]},f(_t,[2,38]),{62:71,66:[1,72],67:[1,73],68:[1,74],69:[1,75],70:[1,76],71:[1,77],72:[1,78],73:[1,79]},{50:80,52:[1,81],60:[1,82],61:[1,83]},{17:84,65:z},{17:85,65:z},{17:86,65:z},{17:87,65:z},f([5,18,59,66,67,68,69,70,71,72,73,74],[2,58]),{5:[1,88]},{15:89,77:[1,90]},{5:[2,71]},f(_t,[2,7]),{5:[1,92],18:[1,91]},{5:[1,94],18:[1,93]},f(_t,[2,16]),{5:[1,96],23:[1,95]},{5:[1,97]},f(_t,[2,20]),{5:[1,98]},{5:[1,99]},f(_t,[2,23]),f(_t,[2,24]),f(_t,[2,25]),f(_t,[2,26]),f(_t,[2,27]),f(_t,[2,30]),f(_t,[2,31]),f(ae,M,{8:100}),f(ae,M,{8:101}),f(ae,M,{8:102}),f(Ee,M,{44:103,8:104}),f(Pe,M,{46:105,8:106}),{17:109,63:[1,107],64:[1,108],65:z},f(le,[2,59]),f(le,[2,60]),f(le,[2,61]),f(le,[2,62]),f(le,[2,63]),f(le,[2,64]),f(le,[2,65]),f(le,[2,66]),{17:110,65:z},{17:112,53:111,65:z},{65:[2,53]},{65:[2,54]},{51:113,74:oe},{51:115,74:oe},{51:116,74:oe},{51:117,74:oe},f(he,[2,10]),{13:118,78:Kt},{78:[2,70]},{19:[1,119]},f(_t,[2,13]),{19:[1,120]},f(_t,[2,15]),{5:[1,121]},f(_t,[2,18]),f(_t,[2,19]),f(_t,[2,21]),f(_t,[2,22]),{4:R,5:B,6:39,9:14,10:16,11:6,16:Y,17:40,20:G,21:20,22:Q,25:K,26:gt,27:24,28:25,29:26,30:27,31:28,32:tt,33:Lt,34:at,36:vt,38:At,39:Zt,40:[1,122],41:zt,42:xt,43:jt,45:Bt,49:lt,54:et,55:st,56:$,57:Dt,65:z,75:A},{4:R,5:B,6:39,9:14,10:16,11:6,16:Y,17:40,20:G,21:20,22:Q,25:K,26:gt,27:24,28:25,29:26,30:27,31:28,32:tt,33:Lt,34:at,36:vt,38:At,39:Zt,40:[1,123],41:zt,42:xt,43:jt,45:Bt,49:lt,54:et,55:st,56:$,57:Dt,65:z,75:A},{4:R,5:B,6:39,9:14,10:16,11:6,16:Y,17:40,20:G,21:20,22:Q,25:K,26:gt,27:24,28:25,29:26,30:27,31:28,32:tt,33:Lt,34:at,36:vt,38:At,39:Zt,40:[1,124],41:zt,42:xt,43:jt,45:Bt,49:lt,54:et,55:st,56:$,57:Dt,65:z,75:A},{40:[1,125]},{4:R,5:B,6:39,9:14,10:16,11:6,16:Y,17:40,20:G,21:20,22:Q,25:K,26:gt,27:24,28:25,29:26,30:27,31:28,32:tt,33:Lt,34:at,36:vt,38:At,39:Zt,40:[2,41],41:zt,42:xt,43:jt,45:Bt,48:[1,126],49:lt,54:et,55:st,56:$,57:Dt,65:z,75:A},{40:[1,127]},{4:R,5:B,6:39,9:14,10:16,11:6,16:Y,17:40,20:G,21:20,22:Q,25:K,26:gt,27:24,28:25,29:26,30:27,31:28,32:tt,33:Lt,34:at,36:vt,38:At,39:Zt,40:[2,39],41:zt,42:xt,43:jt,45:Bt,47:[1,128],49:lt,54:et,55:st,56:$,57:Dt,65:z,75:A},{17:129,65:z},{17:130,65:z},{51:131,74:oe},{51:132,74:oe},{51:133,74:oe},{59:[1,134],74:[2,52]},{5:[2,45]},{5:[2,67]},{5:[2,46]},{5:[2,47]},{5:[2,48]},{5:[1,135]},{5:[1,136]},{5:[1,137]},f(_t,[2,17]),f(_t,[2,33]),f(_t,[2,34]),f(_t,[2,35]),f(_t,[2,36]),{19:[1,138]},f(_t,[2,37]),{19:[1,139]},{51:140,74:oe},{51:141,74:oe},{5:[2,57]},{5:[2,43]},{5:[2,44]},{17:142,65:z},f(he,[2,11]),f(_t,[2,12]),f(_t,[2,14]),f(Ee,M,{8:104,44:143}),f(Pe,M,{8:106,46:144}),{5:[2,55]},{5:[2,56]},{74:[2,51]},{40:[2,42]},{40:[2,40]}],defaultActions:{7:[2,68],8:[2,1],9:[2,2],10:[2,3],49:[2,71],82:[2,53],83:[2,54],90:[2,70],113:[2,45],114:[2,67],115:[2,46],116:[2,47],117:[2,48],131:[2,57],132:[2,43],133:[2,44],140:[2,55],141:[2,56],142:[2,51],143:[2,42],144:[2,40]},parseError:function(Se,te){if(!te.recoverable){var _e=new Error(Se);throw _e.hash=te,_e}this.trace(Se)},parse:function(Se){var te=this,_e=[0],wt=[],pe=[null],mt=[],It=this.table,St="",nt=0,ue=0,Rt=0,dn=2,De=1,Ue=mt.slice.call(arguments,1),Ve=Object.create(this.lexer),Je={yy:{}};for(var en in this.yy)Object.prototype.hasOwnProperty.call(this.yy,en)&&(Je.yy[en]=this.yy[en]);Ve.setInput(Se,Je.yy),Je.yy.lexer=Ve,Je.yy.parser=this,Ve.yylloc===void 0&&(Ve.yylloc={});var Ae=Ve.yylloc;mt.push(Ae);var qe=Ve.options&&Ve.options.ranges;function rn(){var fn;return typeof(fn=wt.pop()||Ve.lex()||De)!="number"&&(fn instanceof Array&&(fn=(wt=fn).pop()),fn=te.symbols_[fn]||fn),fn}typeof Je.yy.parseError=="function"?this.parseError=Je.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var je,xe,Ze,pn,Qn,Xe,nn,Sr,Dr,yn={};;){if(Ze=_e[_e.length-1],this.defaultActions[Ze]?pn=this.defaultActions[Ze]:(je==null&&(je=rn()),pn=It[Ze]&&It[Ze][je]),pn===void 0||!pn.length||!pn[0]){var An="";for(Xe in Dr=[],It[Ze])this.terminals_[Xe]&&Xe>dn&&Dr.push("'"+this.terminals_[Xe]+"'");An=Ve.showPosition?"Parse error on line "+(nt+1)+`: +`+Ve.showPosition()+` +Expecting `+Dr.join(", ")+", got '"+(this.terminals_[je]||je)+"'":"Parse error on line "+(nt+1)+": Unexpected "+(je==De?"end of input":"'"+(this.terminals_[je]||je)+"'"),this.parseError(An,{text:Ve.match,token:this.terminals_[je]||je,line:Ve.yylineno,loc:Ae,expected:Dr})}if(pn[0]instanceof Array&&pn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ze+", token: "+je);switch(pn[0]){case 1:_e.push(je),pe.push(Ve.yytext),mt.push(Ve.yylloc),_e.push(pn[1]),je=null,xe?(je=xe,xe=null):(ue=Ve.yyleng,St=Ve.yytext,nt=Ve.yylineno,Ae=Ve.yylloc,Rt>0);break;case 2:if(nn=this.productions_[pn[1]][1],yn.$=pe[pe.length-nn],yn._$={first_line:mt[mt.length-(nn||1)].first_line,last_line:mt[mt.length-1].last_line,first_column:mt[mt.length-(nn||1)].first_column,last_column:mt[mt.length-1].last_column},qe&&(yn._$.range=[mt[mt.length-(nn||1)].range[0],mt[mt.length-1].range[1]]),(Qn=this.performAction.apply(yn,[St,ue,nt,Je.yy,pn[1],pe,mt].concat(Ue)))!==void 0)return Qn;nn&&(_e=_e.slice(0,-1*nn*2),pe=pe.slice(0,-1*nn),mt=mt.slice(0,-1*nn)),_e.push(this.productions_[pn[1]][0]),pe.push(yn.$),mt.push(yn._$),Sr=It[_e[_e.length-2]][_e[_e.length-1]],_e.push(Sr);break;case 3:return!0}}return!0}},Ne={EOF:1,parseError:function(Se,te){if(!this.yy.parser)throw new Error(Se);this.yy.parser.parseError(Se,te)},setInput:function(Se,te){return this.yy=te||this.yy||{},this._input=Se,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Se=this._input[0];return this.yytext+=Se,this.yyleng++,this.offset++,this.match+=Se,this.matched+=Se,Se.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),Se},unput:function(Se){var te=Se.length,_e=Se.split(/(?:\r\n?|\n)/g);this._input=Se+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-te),this.offset-=te;var wt=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),_e.length-1&&(this.yylineno-=_e.length-1);var pe=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:_e?(_e.length===wt.length?this.yylloc.first_column:0)+wt[wt.length-_e.length].length-_e[0].length:this.yylloc.first_column-te},this.options.ranges&&(this.yylloc.range=[pe[0],pe[0]+this.yyleng-te]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(Se){this.unput(this.match.slice(Se))},pastInput:function(){var Se=this.matched.substr(0,this.matched.length-this.match.length);return(Se.length>20?"...":"")+Se.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Se=this.match;return Se.length<20&&(Se+=this._input.substr(0,20-Se.length)),(Se.substr(0,20)+(Se.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Se=this.pastInput(),te=new Array(Se.length+1).join("-");return Se+this.upcomingInput()+` +`+te+"^"},test_match:function(Se,te){var _e,wt,pe;if(this.options.backtrack_lexer&&(pe={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&&(pe.yylloc.range=this.yylloc.range.slice(0))),(wt=Se[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=wt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:wt?wt[wt.length-1].length-wt[wt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Se[0].length},this.yytext+=Se[0],this.match+=Se[0],this.matches=Se,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(Se[0].length),this.matched+=Se[0],_e=this.performAction.call(this,this.yy,this,te,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_e)return _e;if(this._backtrack){for(var mt in pe)this[mt]=pe[mt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Se,te,_e,wt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var pe=this._currentRules(),mt=0;mtte[0].length)){if(te=_e,wt=mt,this.options.backtrack_lexer){if((Se=this.test_match(_e,pe[mt]))!==!1)return Se;if(this._backtrack){te=!1;continue}return!1}if(!this.options.flex)break}return te?(Se=this.test_match(te,pe[wt]))!==!1&&Se:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Se){this.conditionStack.push(Se)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Se){return(Se=this.conditionStack.length-1-Math.abs(Se||0))>=0?this.conditionStack[Se]:"INITIAL"},pushState:function(Se){this.begin(Se)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Se,te,_e,wt){switch(_e){case 0:return this.begin("open_directive"),75;case 1:return this.begin("type_directive"),76;case 2:return this.popState(),this.begin("arg_directive"),14;case 3:return this.popState(),this.popState(),78;case 4:return 77;case 5:case 49:case 62:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 23;case 12:return this.begin("ID"),16;case 13:return this.begin("ID"),20;case 14:return te.yytext=te.yytext.trim(),this.begin("ALIAS"),65;case 15:return this.popState(),this.popState(),this.begin("LINE"),18;case 16:return this.popState(),this.popState(),5;case 17:return this.begin("LINE"),39;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),48;case 22:return this.begin("LINE"),45;case 23:return this.begin("LINE"),47;case 24:return this.popState(),19;case 25:return 40;case 26:return 60;case 27:return 61;case 28:return 54;case 29:return 55;case 30:return 56;case 31:return 57;case 32:return 52;case 33:return 49;case 34:return this.begin("ID"),25;case 35:return this.begin("ID"),26;case 36:return 32;case 37:return 33;case 38:return this.begin("acc_title"),34;case 39:return this.popState(),"acc_title_value";case 40:return this.begin("acc_descr"),36;case 41:return this.popState(),"acc_descr_value";case 42:this.begin("acc_descr_multiline");break;case 43:this.popState();break;case 44:return"acc_descr_multiline_value";case 45:return 7;case 46:return 22;case 47:return 24;case 48:return 59;case 50:return te.yytext=te.yytext.trim(),65;case 51:return 68;case 52:return 69;case 53:return 66;case 54:return 67;case 55:return 70;case 56:return 71;case 57:return 72;case 58:return 73;case 59:return 74;case 60:return 63;case 61:return 64;case 63:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[43,44],inclusive:!1},acc_descr:{rules:[41],inclusive:!1},acc_title:{rules:[39],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,14],inclusive:!1},ALIAS:{rules:[7,8,15,16],inclusive:!1},LINE:{rules:[7,8,24],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,17,18,19,20,21,22,23,25,26,27,28,29,30,31,32,33,34,35,36,37,38,40,42,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63],inclusive:!0}}};function de(){this.yy={}}return be.lexer=Ne,de.prototype=be,be.Parser=de,new de}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(1993).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},3584:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(le,oe,he,be){for(he=he||{},be=le.length;be--;he[le[be]]=oe);return he},k=[1,2],y=[1,3],C=[1,5],A=[1,7],M=[2,5],R=[1,15],B=[1,17],Y=[1,19],G=[1,20],Q=[1,21],K=[1,22],gt=[1,33],tt=[1,23],Lt=[1,24],at=[1,25],vt=[1,26],At=[1,27],Zt=[1,30],zt=[1,31],xt=[1,32],jt=[1,35],Bt=[1,36],lt=[1,37],et=[1,38],st=[1,34],$=[1,41],Dt=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],z=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],Kt=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],_t=[4,5,14,15,17,19,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],ae={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,idStatement:11,DESCR:12,"-->":13,HIDE_EMPTY:14,scale:15,WIDTH:16,COMPOSIT_STATE:17,STRUCT_START:18,STRUCT_STOP:19,STATE_DESCR:20,AS:21,ID:22,FORK:23,JOIN:24,CHOICE:25,CONCURRENT:26,note:27,notePosition:28,NOTE_TEXT:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,openDirective:36,typeDirective:37,closeDirective:38,":":39,argDirective:40,direction_tb:41,direction_bt:42,direction_rl:43,direction_lr:44,eol:45,";":46,EDGE_STATE:47,left_of:48,right_of:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",12:"DESCR",13:"-->",14:"HIDE_EMPTY",15:"scale",16:"WIDTH",17:"COMPOSIT_STATE",18:"STRUCT_START",19:"STRUCT_STOP",20:"STATE_DESCR",21:"AS",22:"ID",23:"FORK",24:"JOIN",25:"CHOICE",26:"CONCURRENT",27:"note",29:"NOTE_TEXT",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",39:":",41:"direction_tb",42:"direction_bt",43:"direction_rl",44:"direction_lr",46:";",47:"EDGE_STATE",48:"left_of",49:"right_of",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[6,3],[6,5],[30,1],[30,1],[30,1],[30,1],[45,1],[45,1],[11,1],[11,1],[28,1],[28,1],[36,1],[37,1],[40,1],[38,1]],performAction:function(le,oe,he,be,Ne,de,Se){var te=de.length-1;switch(Ne){case 4:return be.setRootDoc(de[te]),de[te];case 5:this.$=[];break;case 6:de[te]!="nl"&&(de[te-1].push(de[te]),this.$=de[te-1]);break;case 7:case 8:case 39:case 40:this.$=de[te];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:de[te],type:"default",description:""};break;case 11:this.$={stmt:"state",id:de[te-1],type:"default",description:be.trimColon(de[te])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:de[te-2],type:"default",description:""},state2:{stmt:"state",id:de[te],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:de[te-3],type:"default",description:""},state2:{stmt:"state",id:de[te-1],type:"default",description:""},description:de[te].substr(1).trim()};break;case 17:this.$={stmt:"state",id:de[te-3],type:"default",description:"",doc:de[te-1]};break;case 18:var _e=de[te],wt=de[te-2].trim();if(de[te].match(":")){var pe=de[te].split(":");_e=pe[0],wt=[wt,pe[1]]}this.$={stmt:"state",id:_e,type:"default",description:wt};break;case 19:this.$={stmt:"state",id:de[te-3],type:"default",description:de[te-5],doc:de[te-1]};break;case 20:this.$={stmt:"state",id:de[te],type:"fork"};break;case 21:this.$={stmt:"state",id:de[te],type:"join"};break;case 22:this.$={stmt:"state",id:de[te],type:"choice"};break;case 23:this.$={stmt:"state",id:be.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:de[te-1].trim(),note:{position:de[te-2].trim(),text:de[te].trim()}};break;case 28:this.$=de[te].trim(),be.setTitle(this.$);break;case 29:case 30:this.$=de[te].trim(),be.setAccDescription(this.$);break;case 33:be.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 34:be.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 35:be.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 36:be.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 43:be.parseDirective("%%{","open_directive");break;case 44:be.parseDirective(de[te],"type_directive");break;case 45:de[te]=de[te].trim().replace(/'/g,'"'),be.parseDirective(de[te],"arg_directive");break;case 46:be.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:k,5:y,6:4,7:C,36:6,50:A},{1:[3]},{3:8,4:k,5:y,6:4,7:C,36:6,50:A},{3:9,4:k,5:y,6:4,7:C,36:6,50:A},{3:10,4:k,5:y,6:4,7:C,36:6,50:A},f([1,4,5,14,15,17,20,22,23,24,25,26,27,31,33,35,41,42,43,44,47,50],M,{8:11}),{37:12,51:[1,13]},{51:[2,43]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:R,5:B,6:28,9:14,10:16,11:18,14:Y,15:G,17:Q,20:K,22:gt,23:tt,24:Lt,25:at,26:vt,27:At,30:29,31:Zt,33:zt,35:xt,36:6,41:jt,42:Bt,43:lt,44:et,47:st,50:A},{38:39,39:[1,40],53:$},f([39,53],[2,44]),f(Dt,[2,6]),{6:28,10:42,11:18,14:Y,15:G,17:Q,20:K,22:gt,23:tt,24:Lt,25:at,26:vt,27:At,30:29,31:Zt,33:zt,35:xt,36:6,41:jt,42:Bt,43:lt,44:et,47:st,50:A},f(Dt,[2,8]),f(Dt,[2,9]),f(Dt,[2,10],{12:[1,43],13:[1,44]}),f(Dt,[2,14]),{16:[1,45]},f(Dt,[2,16],{18:[1,46]}),{21:[1,47]},f(Dt,[2,20]),f(Dt,[2,21]),f(Dt,[2,22]),f(Dt,[2,23]),{28:48,29:[1,49],48:[1,50],49:[1,51]},f(Dt,[2,26]),f(Dt,[2,27]),{32:[1,52]},{34:[1,53]},f(Dt,[2,30]),f(z,[2,39]),f(z,[2,40]),f(Dt,[2,33]),f(Dt,[2,34]),f(Dt,[2,35]),f(Dt,[2,36]),f(Kt,[2,31]),{40:54,52:[1,55]},f(Kt,[2,46]),f(Dt,[2,7]),f(Dt,[2,11]),{11:56,22:gt,47:st},f(Dt,[2,15]),f(_t,M,{8:57}),{22:[1,58]},{22:[1,59]},{21:[1,60]},{22:[2,41]},{22:[2,42]},f(Dt,[2,28]),f(Dt,[2,29]),{38:61,53:$},{53:[2,45]},f(Dt,[2,12],{12:[1,62]}),{4:R,5:B,6:28,9:14,10:16,11:18,14:Y,15:G,17:Q,19:[1,63],20:K,22:gt,23:tt,24:Lt,25:at,26:vt,27:At,30:29,31:Zt,33:zt,35:xt,36:6,41:jt,42:Bt,43:lt,44:et,47:st,50:A},f(Dt,[2,18],{18:[1,64]}),{29:[1,65]},{22:[1,66]},f(Kt,[2,32]),f(Dt,[2,13]),f(Dt,[2,17]),f(_t,M,{8:67}),f(Dt,[2,24]),f(Dt,[2,25]),{4:R,5:B,6:28,9:14,10:16,11:18,14:Y,15:G,17:Q,19:[1,68],20:K,22:gt,23:tt,24:Lt,25:at,26:vt,27:At,30:29,31:Zt,33:zt,35:xt,36:6,41:jt,42:Bt,43:lt,44:et,47:st,50:A},f(Dt,[2,19])],defaultActions:{7:[2,43],8:[2,1],9:[2,2],10:[2,3],50:[2,41],51:[2,42],55:[2,45]},parseError:function(le,oe){if(!oe.recoverable){var he=new Error(le);throw he.hash=oe,he}this.trace(le)},parse:function(le){var oe=this,he=[0],be=[],Ne=[null],de=[],Se=this.table,te="",_e=0,wt=0,pe=0,mt=2,It=1,St=de.slice.call(arguments,1),nt=Object.create(this.lexer),ue={yy:{}};for(var Rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Rt)&&(ue.yy[Rt]=this.yy[Rt]);nt.setInput(le,ue.yy),ue.yy.lexer=nt,ue.yy.parser=this,nt.yylloc===void 0&&(nt.yylloc={});var dn=nt.yylloc;de.push(dn);var De=nt.options&&nt.options.ranges;function Ue(){var Xe;return typeof(Xe=be.pop()||nt.lex()||It)!="number"&&(Xe instanceof Array&&(Xe=(be=Xe).pop()),Xe=oe.symbols_[Xe]||Xe),Xe}typeof ue.yy.parseError=="function"?this.parseError=ue.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var Ve,Je,en,Ae,qe,rn,je,xe,Ze,pn={};;){if(en=he[he.length-1],this.defaultActions[en]?Ae=this.defaultActions[en]:(Ve==null&&(Ve=Ue()),Ae=Se[en]&&Se[en][Ve]),Ae===void 0||!Ae.length||!Ae[0]){var Qn="";for(rn in Ze=[],Se[en])this.terminals_[rn]&&rn>mt&&Ze.push("'"+this.terminals_[rn]+"'");Qn=nt.showPosition?"Parse error on line "+(_e+1)+`: +`+nt.showPosition()+` +Expecting `+Ze.join(", ")+", got '"+(this.terminals_[Ve]||Ve)+"'":"Parse error on line "+(_e+1)+": Unexpected "+(Ve==It?"end of input":"'"+(this.terminals_[Ve]||Ve)+"'"),this.parseError(Qn,{text:nt.match,token:this.terminals_[Ve]||Ve,line:nt.yylineno,loc:dn,expected:Ze})}if(Ae[0]instanceof Array&&Ae.length>1)throw new Error("Parse Error: multiple actions possible at state: "+en+", token: "+Ve);switch(Ae[0]){case 1:he.push(Ve),Ne.push(nt.yytext),de.push(nt.yylloc),he.push(Ae[1]),Ve=null,Je?(Ve=Je,Je=null):(wt=nt.yyleng,te=nt.yytext,_e=nt.yylineno,dn=nt.yylloc,pe>0);break;case 2:if(je=this.productions_[Ae[1]][1],pn.$=Ne[Ne.length-je],pn._$={first_line:de[de.length-(je||1)].first_line,last_line:de[de.length-1].last_line,first_column:de[de.length-(je||1)].first_column,last_column:de[de.length-1].last_column},De&&(pn._$.range=[de[de.length-(je||1)].range[0],de[de.length-1].range[1]]),(qe=this.performAction.apply(pn,[te,wt,_e,ue.yy,Ae[1],Ne,de].concat(St)))!==void 0)return qe;je&&(he=he.slice(0,-1*je*2),Ne=Ne.slice(0,-1*je),de=de.slice(0,-1*je)),he.push(this.productions_[Ae[1]][0]),Ne.push(pn.$),de.push(pn._$),xe=Se[he[he.length-2]][he[he.length-1]],he.push(xe);break;case 3:return!0}}return!0}},Ee={EOF:1,parseError:function(le,oe){if(!this.yy.parser)throw new Error(le);this.yy.parser.parseError(le,oe)},setInput:function(le,oe){return this.yy=oe||this.yy||{},this._input=le,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var le=this._input[0];return this.yytext+=le,this.yyleng++,this.offset++,this.match+=le,this.matched+=le,le.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),le},unput:function(le){var oe=le.length,he=le.split(/(?:\r\n?|\n)/g);this._input=le+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-oe),this.offset-=oe;var be=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),he.length-1&&(this.yylineno-=he.length-1);var Ne=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:he?(he.length===be.length?this.yylloc.first_column:0)+be[be.length-he.length].length-he[0].length:this.yylloc.first_column-oe},this.options.ranges&&(this.yylloc.range=[Ne[0],Ne[0]+this.yyleng-oe]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(le){this.unput(this.match.slice(le))},pastInput:function(){var le=this.matched.substr(0,this.matched.length-this.match.length);return(le.length>20?"...":"")+le.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var le=this.match;return le.length<20&&(le+=this._input.substr(0,20-le.length)),(le.substr(0,20)+(le.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var le=this.pastInput(),oe=new Array(le.length+1).join("-");return le+this.upcomingInput()+` +`+oe+"^"},test_match:function(le,oe){var he,be,Ne;if(this.options.backtrack_lexer&&(Ne={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&&(Ne.yylloc.range=this.yylloc.range.slice(0))),(be=le[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=be.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:be?be[be.length-1].length-be[be.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+le[0].length},this.yytext+=le[0],this.match+=le[0],this.matches=le,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(le[0].length),this.matched+=le[0],he=this.performAction.call(this,this.yy,this,oe,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),he)return he;if(this._backtrack){for(var de in Ne)this[de]=Ne[de];return!1}return!1},next:function(){if(this.done)return this.EOF;var le,oe,he,be;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Ne=this._currentRules(),de=0;deoe[0].length)){if(oe=he,be=de,this.options.backtrack_lexer){if((le=this.test_match(he,Ne[de]))!==!1)return le;if(this._backtrack){oe=!1;continue}return!1}if(!this.options.flex)break}return oe?(le=this.test_match(oe,Ne[be]))!==!1&&le:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(le){this.conditionStack.push(le)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(le){return(le=this.conditionStack.length-1-Math.abs(le||0))>=0?this.conditionStack[le]:"INITIAL"},pushState:function(le){this.begin(le)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(le,oe,he,be){switch(he){case 0:case 33:return 41;case 1:case 34:return 42;case 2:case 35:return 43;case 3:case 36:return 44;case 4:return this.begin("open_directive"),50;case 5:return this.begin("type_directive"),51;case 6:return this.popState(),this.begin("arg_directive"),39;case 7:return this.popState(),this.popState(),53;case 8:return 52;case 9:case 10:case 12:case 13:case 14:case 15:case 46:case 52:break;case 11:case 66:return 5;case 16:return this.pushState("SCALE"),15;case 17:return 16;case 18:case 24:case 40:case 43:this.popState();break;case 19:return this.begin("acc_title"),31;case 20:return this.popState(),"acc_title_value";case 21:return this.begin("acc_descr"),33;case 22:return this.popState(),"acc_descr_value";case 23:this.begin("acc_descr_multiline");break;case 25:return"acc_descr_multiline_value";case 26:this.pushState("STATE");break;case 27:case 30:return this.popState(),oe.yytext=oe.yytext.slice(0,-8).trim(),23;case 28:case 31:return this.popState(),oe.yytext=oe.yytext.slice(0,-8).trim(),24;case 29:case 32:return this.popState(),oe.yytext=oe.yytext.slice(0,-10).trim(),25;case 37:this.begin("STATE_STRING");break;case 38:return this.popState(),this.pushState("STATE_ID"),"AS";case 39:case 54:return this.popState(),"ID";case 41:return"STATE_DESCR";case 42:return 17;case 44:return this.popState(),this.pushState("struct"),18;case 45:return this.popState(),19;case 47:return this.begin("NOTE"),27;case 48:return this.popState(),this.pushState("NOTE_ID"),48;case 49:return this.popState(),this.pushState("NOTE_ID"),49;case 50:this.popState(),this.pushState("FLOATING_NOTE");break;case 51:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 53:return"NOTE_TEXT";case 55:return this.popState(),this.pushState("NOTE_TEXT"),22;case 56:return this.popState(),oe.yytext=oe.yytext.substr(2).trim(),29;case 57:return this.popState(),oe.yytext=oe.yytext.slice(0,-8).trim(),29;case 58:case 59:return 7;case 60:return 14;case 61:return 47;case 62:return 22;case 63:return oe.yytext=oe.yytext.trim(),12;case 64:return 13;case 65:return 26;case 67:return"INVALID"}},rules:[/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/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],conditions:{LINE:{rules:[13,14],inclusive:!1},close_directive:{rules:[13,14],inclusive:!1},arg_directive:{rules:[7,8,13,14],inclusive:!1},type_directive:{rules:[6,7,13,14],inclusive:!1},open_directive:{rules:[5,13,14],inclusive:!1},struct:{rules:[13,14,26,33,34,35,36,45,46,47,61,62,63,64,65],inclusive:!1},FLOATING_NOTE_ID:{rules:[54],inclusive:!1},FLOATING_NOTE:{rules:[51,52,53],inclusive:!1},NOTE_TEXT:{rules:[56,57],inclusive:!1},NOTE_ID:{rules:[55],inclusive:!1},NOTE:{rules:[48,49,50],inclusive:!1},acc_descr_multiline:{rules:[24,25],inclusive:!1},acc_descr:{rules:[22],inclusive:!1},acc_title:{rules:[20],inclusive:!1},SCALE:{rules:[17,18],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[39],inclusive:!1},STATE_STRING:{rules:[40,41],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[13,14,27,28,29,30,31,32,37,38,42,43,44],inclusive:!1},ID:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,14,15,16,19,21,23,26,44,47,58,59,60,61,62,63,64,66,67],inclusive:!0}}};function Pe(){this.yy={}}return ae.lexer=Ee,Pe.prototype=ae,ae.Parser=Pe,new Pe}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(3069).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},9763:(S,O,p)=>{S=p.nmd(S);var v=function(){var f=function(at,vt,At,Zt){for(At=At||{},Zt=at.length;Zt--;At[at[Zt]]=vt);return At},k=[1,2],y=[1,5],C=[6,9,11,17,18,20,22,23,24,26],A=[1,15],M=[1,16],R=[1,17],B=[1,18],Y=[1,19],G=[1,20],Q=[1,24],K=[4,6,9,11,17,18,20,22,23,24,26],gt={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(at,vt,At,Zt,zt,xt,jt){var Bt=xt.length-1;switch(zt){case 1:return xt[Bt-1];case 3:case 7:case 8:this.$=[];break;case 4:xt[Bt-1].push(xt[Bt]),this.$=xt[Bt-1];break;case 5:case 6:this.$=xt[Bt];break;case 11:Zt.setTitle(xt[Bt].substr(6)),this.$=xt[Bt].substr(6);break;case 12:this.$=xt[Bt].trim(),Zt.setTitle(this.$);break;case 13:case 14:this.$=xt[Bt].trim(),Zt.setAccDescription(this.$);break;case 15:Zt.addSection(xt[Bt].substr(8)),this.$=xt[Bt].substr(8);break;case 16:Zt.addTask(xt[Bt-1],xt[Bt]),this.$="task";break;case 18:Zt.parseDirective("%%{","open_directive");break;case 19:Zt.parseDirective(xt[Bt],"type_directive");break;case 20:xt[Bt]=xt[Bt].trim().replace(/'/g,'"'),Zt.parseDirective(xt[Bt],"arg_directive");break;case 21:Zt.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:k,7:3,12:4,26:y},{1:[3]},f(C,[2,3],{5:6}),{3:7,4:k,7:3,12:4,26:y},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:A,18:M,20:R,22:B,23:Y,24:G,26:y},{1:[2,2]},{14:22,15:[1,23],29:Q},f([15,29],[2,19]),f(C,[2,8],{1:[2,1]}),f(C,[2,4]),{7:21,10:25,12:4,17:A,18:M,20:R,22:B,23:Y,24:G,26:y},f(C,[2,6]),f(C,[2,7]),f(C,[2,11]),{19:[1,26]},{21:[1,27]},f(C,[2,14]),f(C,[2,15]),{25:[1,28]},f(C,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},f(C,[2,5]),f(C,[2,12]),f(C,[2,13]),f(C,[2,16]),f(K,[2,9]),{14:32,29:Q},{29:[2,20]},{11:[1,33]},f(K,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(at,vt){if(!vt.recoverable){var At=new Error(at);throw At.hash=vt,At}this.trace(at)},parse:function(at){var vt=this,At=[0],Zt=[],zt=[null],xt=[],jt=this.table,Bt="",lt=0,et=0,st=0,$=2,Dt=1,z=xt.slice.call(arguments,1),Kt=Object.create(this.lexer),_t={yy:{}};for(var ae in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ae)&&(_t.yy[ae]=this.yy[ae]);Kt.setInput(at,_t.yy),_t.yy.lexer=Kt,_t.yy.parser=this,Kt.yylloc===void 0&&(Kt.yylloc={});var Ee=Kt.yylloc;xt.push(Ee);var Pe=Kt.options&&Kt.options.ranges;function le(){var It;return typeof(It=Zt.pop()||Kt.lex()||Dt)!="number"&&(It instanceof Array&&(It=(Zt=It).pop()),It=vt.symbols_[It]||It),It}typeof _t.yy.parseError=="function"?this.parseError=_t.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var oe,he,be,Ne,de,Se,te,_e,wt,pe={};;){if(be=At[At.length-1],this.defaultActions[be]?Ne=this.defaultActions[be]:(oe==null&&(oe=le()),Ne=jt[be]&&jt[be][oe]),Ne===void 0||!Ne.length||!Ne[0]){var mt="";for(Se in wt=[],jt[be])this.terminals_[Se]&&Se>$&&wt.push("'"+this.terminals_[Se]+"'");mt=Kt.showPosition?"Parse error on line "+(lt+1)+`: +`+Kt.showPosition()+` +Expecting `+wt.join(", ")+", got '"+(this.terminals_[oe]||oe)+"'":"Parse error on line "+(lt+1)+": Unexpected "+(oe==Dt?"end of input":"'"+(this.terminals_[oe]||oe)+"'"),this.parseError(mt,{text:Kt.match,token:this.terminals_[oe]||oe,line:Kt.yylineno,loc:Ee,expected:wt})}if(Ne[0]instanceof Array&&Ne.length>1)throw new Error("Parse Error: multiple actions possible at state: "+be+", token: "+oe);switch(Ne[0]){case 1:At.push(oe),zt.push(Kt.yytext),xt.push(Kt.yylloc),At.push(Ne[1]),oe=null,he?(oe=he,he=null):(et=Kt.yyleng,Bt=Kt.yytext,lt=Kt.yylineno,Ee=Kt.yylloc,st>0);break;case 2:if(te=this.productions_[Ne[1]][1],pe.$=zt[zt.length-te],pe._$={first_line:xt[xt.length-(te||1)].first_line,last_line:xt[xt.length-1].last_line,first_column:xt[xt.length-(te||1)].first_column,last_column:xt[xt.length-1].last_column},Pe&&(pe._$.range=[xt[xt.length-(te||1)].range[0],xt[xt.length-1].range[1]]),(de=this.performAction.apply(pe,[Bt,et,lt,_t.yy,Ne[1],zt,xt].concat(z)))!==void 0)return de;te&&(At=At.slice(0,-1*te*2),zt=zt.slice(0,-1*te),xt=xt.slice(0,-1*te)),At.push(this.productions_[Ne[1]][0]),zt.push(pe.$),xt.push(pe._$),_e=jt[At[At.length-2]][At[At.length-1]],At.push(_e);break;case 3:return!0}}return!0}},tt={EOF:1,parseError:function(at,vt){if(!this.yy.parser)throw new Error(at);this.yy.parser.parseError(at,vt)},setInput:function(at,vt){return this.yy=vt||this.yy||{},this._input=at,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var at=this._input[0];return this.yytext+=at,this.yyleng++,this.offset++,this.match+=at,this.matched+=at,at.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),at},unput:function(at){var vt=at.length,At=at.split(/(?:\r\n?|\n)/g);this._input=at+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-vt),this.offset-=vt;var Zt=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),At.length-1&&(this.yylineno-=At.length-1);var zt=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:At?(At.length===Zt.length?this.yylloc.first_column:0)+Zt[Zt.length-At.length].length-At[0].length:this.yylloc.first_column-vt},this.options.ranges&&(this.yylloc.range=[zt[0],zt[0]+this.yyleng-vt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(at){this.unput(this.match.slice(at))},pastInput:function(){var at=this.matched.substr(0,this.matched.length-this.match.length);return(at.length>20?"...":"")+at.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var at=this.match;return at.length<20&&(at+=this._input.substr(0,20-at.length)),(at.substr(0,20)+(at.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var at=this.pastInput(),vt=new Array(at.length+1).join("-");return at+this.upcomingInput()+` +`+vt+"^"},test_match:function(at,vt){var At,Zt,zt;if(this.options.backtrack_lexer&&(zt={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&&(zt.yylloc.range=this.yylloc.range.slice(0))),(Zt=at[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Zt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Zt?Zt[Zt.length-1].length-Zt[Zt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+at[0].length},this.yytext+=at[0],this.match+=at[0],this.matches=at,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(at[0].length),this.matched+=at[0],At=this.performAction.call(this,this.yy,this,vt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),At)return At;if(this._backtrack){for(var xt in zt)this[xt]=zt[xt];return!1}return!1},next:function(){if(this.done)return this.EOF;var at,vt,At,Zt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var zt=this._currentRules(),xt=0;xtvt[0].length)){if(vt=At,Zt=xt,this.options.backtrack_lexer){if((at=this.test_match(At,zt[xt]))!==!1)return at;if(this._backtrack){vt=!1;continue}return!1}if(!this.options.flex)break}return vt?(at=this.test_match(vt,zt[Zt]))!==!1&&at:this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(at){this.conditionStack.push(at)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(at){return(at=this.conditionStack.length-1-Math.abs(at||0))>=0?this.conditionStack[at]:"INITIAL"},pushState:function(at){this.begin(at)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(at,vt,At,Zt){switch(At){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};function Lt(){this.yy={}}return gt.lexer=tt,Lt.prototype=gt,gt.Parser=Lt,new Lt}();O.parser=v,O.Parser=v.Parser,O.parse=function(){return v.parse.apply(v,arguments)},O.main=function(f){f[1]||(console.log("Usage: "+f[0]+" FILE"),process.exit(1));var k=p(9143).readFileSync(p(6470).normalize(f[1]),"utf8");return O.parser.parse(k)},p.c[p.s]===S&&O.main(process.argv.slice(1))},7967:(S,O)=>{O.N=void 0;var p=/^([^\w]*)(javascript|data|vbscript)/im,v=/&#(\w+)(^\w|;)?/g,f=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,k=/^([^:]+):/gm,y=[".","/"];O.N=function(C){var A,M=(A=C||"",A.replace(v,function(Y,G){return String.fromCharCode(G)})).replace(f,"").trim();if(!M)return"about:blank";if(function(Y){return y.indexOf(Y[0])>-1}(M))return M;var R=M.match(k);if(!R)return M;var B=R[0];return p.test(B)?"about:blank":M}},3841:S=>{S.exports=function(O,p){return O.intersect(p)}},8968:(S,O,p)=>{p.d(O,{Z:()=>K6});var v=p(1941),f=p.n(v),k={debug:1,info:2,warn:3,error:4,fatal:5},y={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},C=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"fatal";isNaN(t)&&(t=t.toLowerCase(),k[t]!==void 0&&(t=k[t])),y.trace=function(){},y.debug=function(){},y.info=function(){},y.warn=function(){},y.error=function(){},y.fatal=function(){},t<=k.fatal&&(y.fatal=console.error?console.error.bind(console,A("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",A("FATAL"))),t<=k.error&&(y.error=console.error?console.error.bind(console,A("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",A("ERROR"))),t<=k.warn&&(y.warn=console.warn?console.warn.bind(console,A("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",A("WARN"))),t<=k.info&&(y.info=console.info?console.info.bind(console,A("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",A("INFO"))),t<=k.debug&&(y.debug=console.debug?console.debug.bind(console,A("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",A("DEBUG")))},A=function(t){var e=f()().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")};function M(t,e){let r;if(e===void 0)for(const a of t)a!=null&&(r=a)&&(r=a);else{let a=-1;for(let c of t)(c=e(c,++a,t))!=null&&(r=c)&&(r=c)}return r}function R(t,e){let r;if(e===void 0)for(const a of t)a!=null&&(r>a||r===void 0&&a>=a)&&(r=a);else{let a=-1;for(let c of t)(c=e(c,++a,t))!=null&&(r>c||r===void 0&&c>=c)&&(r=c)}return r}function B(t){return t}var Y=1e-6;function G(t){return"translate("+t+",0)"}function Q(t){return"translate(0,"+t+")"}function K(t){return e=>+t(e)}function gt(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function tt(){return!this.__axis}function Lt(t,e){var r=[],a=null,c=null,u=6,h=6,g=3,x=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,_=t===1||t===4?-1:1,N=t===4||t===2?"x":"y",F=t===1||t===3?G:Q;function P(H){var ct=a==null?e.ticks?e.ticks.apply(e,r):e.domain():a,J=c==null?e.tickFormat?e.tickFormat.apply(e,r):B:c,yt=Math.max(u,0)+g,ft=e.range(),kt=+ft[0]+x,Tt=+ft[ft.length-1]+x,qt=(e.bandwidth?gt:K)(e.copy(),x),ee=H.selection?H.selection():H,Ot=ee.selectAll(".domain").data([null]),Xt=ee.selectAll(".tick").data(ct,e).order(),Ht=Xt.exit(),Et=Xt.enter().append("g").attr("class","tick"),Mt=Xt.select("line"),bt=Xt.select("text");Ot=Ot.merge(Ot.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Xt=Xt.merge(Et),Mt=Mt.merge(Et.append("line").attr("stroke","currentColor").attr(N+"2",_*u)),bt=bt.merge(Et.append("text").attr("fill","currentColor").attr(N,_*yt).attr("dy",t===1?"0em":t===3?"0.71em":"0.32em")),H!==ee&&(Ot=Ot.transition(H),Xt=Xt.transition(H),Mt=Mt.transition(H),bt=bt.transition(H),Ht=Ht.transition(H).attr("opacity",Y).attr("transform",function(ut){return isFinite(ut=qt(ut))?F(ut+x):this.getAttribute("transform")}),Et.attr("opacity",Y).attr("transform",function(ut){var Nt=this.parentNode.__axis;return F((Nt&&isFinite(Nt=Nt(ut))?Nt:qt(ut))+x)})),Ht.remove(),Ot.attr("d",t===4||t===2?h?"M"+_*h+","+kt+"H"+x+"V"+Tt+"H"+_*h:"M"+x+","+kt+"V"+Tt:h?"M"+kt+","+_*h+"V"+x+"H"+Tt+"V"+_*h:"M"+kt+","+x+"H"+Tt),Xt.attr("opacity",1).attr("transform",function(ut){return F(qt(ut)+x)}),Mt.attr(N+"2",_*u),bt.attr(N,_*yt).text(J),ee.filter(tt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===2?"start":t===4?"end":"middle"),ee.each(function(){this.__axis=qt})}return P.scale=function(H){return arguments.length?(e=H,P):e},P.ticks=function(){return r=Array.from(arguments),P},P.tickArguments=function(H){return arguments.length?(r=H==null?[]:Array.from(H),P):r.slice()},P.tickValues=function(H){return arguments.length?(a=H==null?null:Array.from(H),P):a&&a.slice()},P.tickFormat=function(H){return arguments.length?(c=H,P):c},P.tickSize=function(H){return arguments.length?(u=h=+H,P):u},P.tickSizeInner=function(H){return arguments.length?(u=+H,P):u},P.tickSizeOuter=function(H){return arguments.length?(h=+H,P):h},P.tickPadding=function(H){return arguments.length?(g=+H,P):g},P.offset=function(H){return arguments.length?(x=+H,P):x},P}function at(){}function vt(t){return t==null?at:function(){return this.querySelector(t)}}function At(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Zt(){return[]}function zt(t){return t==null?Zt:function(){return this.querySelectorAll(t)}}function xt(t){return function(){return this.matches(t)}}function jt(t){return function(e){return e.matches(t)}}var Bt=Array.prototype.find;function lt(){return this.firstElementChild}var et=Array.prototype.filter;function st(){return Array.from(this.children)}function $(t){return new Array(t.length)}function Dt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function z(t){return function(){return t}}function Kt(t,e,r,a,c,u){for(var h,g=0,x=e.length,_=u.length;g<_;++g)(h=e[g])?(h.__data__=u[g],a[g]=h):r[g]=new Dt(t,u[g]);for(;ge?1:t>=e?0:NaN}Dt.prototype={constructor:Dt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var le="http://www.w3.org/1999/xhtml";const oe={svg:"http://www.w3.org/2000/svg",xhtml:le,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function he(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),oe.hasOwnProperty(e)?{space:oe[e],local:t}:t}function be(t){return function(){this.removeAttribute(t)}}function Ne(t){return function(){this.removeAttributeNS(t.space,t.local)}}function de(t,e){return function(){this.setAttribute(t,e)}}function Se(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function te(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function _e(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function wt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function pe(t){return function(){this.style.removeProperty(t)}}function mt(t,e,r){return function(){this.style.setProperty(t,e,r)}}function It(t,e,r){return function(){var a=e.apply(this,arguments);a==null?this.style.removeProperty(t):this.style.setProperty(t,a,r)}}function St(t,e){return t.style.getPropertyValue(e)||wt(t).getComputedStyle(t,null).getPropertyValue(e)}function nt(t){return function(){delete this[t]}}function ue(t,e){return function(){this[t]=e}}function Rt(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function dn(t){return t.trim().split(/^|\s+/)}function De(t){return t.classList||new Ue(t)}function Ue(t){this._node=t,this._names=dn(t.getAttribute("class")||"")}function Ve(t,e){for(var r=De(t),a=-1,c=e.length;++a=0&&(r=e.slice(a+1),e=e.slice(0,a)),{type:e,name:r}})}function Yn(t){return function(){var e=this.__on;if(e){for(var r,a=0,c=-1,u=e.length;a=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Kn=[null];function Mn(t,e){this._groups=t,this._parents=e}function Un(){return new Mn([[document.documentElement]],Kn)}Mn.prototype=Un.prototype={constructor:Mn,select:function(t){typeof t!="function"&&(t=vt(t));for(var e=this._groups,r=e.length,a=new Array(r),c=0;c=ee&&(ee=qt+1);!(Tt=yt[ee])&&++ee=0;)(a=c[u])&&(h&&4^a.compareDocumentPosition(h)&&h.parentNode.insertBefore(a,h),h=a);return this},sort:function(t){function e(F,P){return F&&P?t(F.__data__,P.__data__):!F-!P}t||(t=Pe);for(var r=this._groups,a=r.length,c=new Array(a),u=0;u1?this.each((e==null?pe:typeof e=="function"?It:mt)(t,e,r==null?"":r)):St(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?nt:typeof e=="function"?Rt:ue)(t,e)):this.node()[t]},classed:function(t,e){var r=dn(t+"");if(arguments.length<2){for(var a=De(this.node()),c=-1,u=r.length;++c{}};function Vn(){for(var t,e=0,r=arguments.length,a={};e=0&&(a=r.slice(c+1),r=r.slice(0,c)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:a}})}function mn(t,e){for(var r,a=0,c=t.length;a0)for(var r,a,c=new Array(r),u=0;u=0&&e._call.call(void 0,t),e=e._next;--ua})()}finally{ua=0,function(){for(var t,e,r=Fi,a=1/0;r;)r._call?(a>r._time&&(a=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:Fi=e);Fn=t,Ha(a)}(),Zr=0}}function Ti(){var t=jr.now(),e=t-ti;e>1e3&&(Qr-=e,ti=t)}function Ha(t){ua||(Pi&&(Pi=clearTimeout(Pi)),t-Zr>24?(t<1/0&&(Pi=setTimeout(Kr,t-jr.now()-Qr)),Lr&&(Lr=clearInterval(Lr))):(Lr||(ti=jr.now(),Lr=setInterval(Ti,1e3)),ua=1,fi(Kr)))}function Er(t,e,r){var a=new Yr;return e=e==null?0:+e,a.restart(c=>{a.stop(),t(c+e)},e,r),a}Yr.prototype=ei.prototype={constructor:Yr,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?di():+r)+(e==null?0:+e),this._next||Fn===this||(Fn?Fn._next=this:Fi=this,Fn=this),this._call=t,this._time=r,Ha()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ha())}};var Wa=uo("start","end","cancel","interrupt"),Va=[];function ra(t,e,r,a,c,u){var h=t.__transition;if(h){if(r in h)return}else t.__transition={};(function(g,x,_){var N,F=g.__transition;function P(J){var yt,ft,kt,Tt;if(_.state!==1)return ct();for(yt in F)if((Tt=F[yt]).name===_.name){if(Tt.state===3)return Er(P);Tt.state===4?(Tt.state=6,Tt.timer.stop(),Tt.on.call("interrupt",g,g.__data__,Tt.index,Tt.group),delete F[yt]):+yt0)throw new Error("too late; already scheduled");return r}function On(t,e){var r=we(t,e);if(r.state>3)throw new Error("too late; already running");return r}function we(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Be(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var sr,Ut=180/Math.PI,Ea={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Gt(t,e,r,a,c,u){var h,g,x;return(h=Math.sqrt(t*t+e*e))&&(t/=h,e/=h),(x=t*r+e*a)&&(r-=t*x,a-=e*x),(g=Math.sqrt(r*r+a*a))&&(r/=g,a/=g,x/=g),t*a180?N+=360:N-_>180&&(_+=360),P.push({i:F.push(c(F)+"rotate(",null,a)-2,x:Be(_,N)})):N&&F.push(c(F)+"rotate("+N+a)}(u.rotate,h.rotate,g,x),function(_,N,F,P){_!==N?P.push({i:F.push(c(F)+"skewX(",null,a)-2,x:Be(_,N)}):N&&F.push(c(F)+"skewX("+N+a)}(u.skewX,h.skewX,g,x),function(_,N,F,P,H,ct){if(_!==F||N!==P){var J=H.push(c(H)+"scale(",null,",",null,")");ct.push({i:J-4,x:Be(_,F)},{i:J-2,x:Be(N,P)})}else F===1&&P===1||H.push(c(H)+"scale("+F+","+P+")")}(u.scaleX,u.scaleY,h.scaleX,h.scaleY,g,x),u=h=null,function(_){for(var N,F=-1,P=x.length;++F>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?ci(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?ci(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=pr.exec(t))?new Jr(e[1],e[2],e[3],1):(e=Xi.exec(t))?new Jr(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Yi.exec(t))?ci(e[1],e[2],e[3],e[4]):(e=si.exec(t))?ci(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Ga.exec(t))?ho(e[1],e[2]/100,e[3]/100,1):(e=Ai.exec(t))?ho(e[1],e[2]/100,e[3]/100,e[4]):Ft.hasOwnProperty(t)?Br(Ft[t]):t==="transparent"?new Jr(NaN,NaN,NaN,0):null}function Br(t){return new Jr(t>>16&255,t>>8&255,255&t,1)}function ci(t,e,r,a){return a<=0&&(t=e=r=NaN),new Jr(t,e,r,a)}function yi(t){return t instanceof $r||(t=hr(t)),t?new Jr((t=t.rgb()).r,t.g,t.b,t.opacity):new Jr}function Sa(t,e,r,a){return arguments.length===1?yi(t):new Jr(t,e,r,a==null?1:a)}function Jr(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function zi(){return"#"+cc(this.r)+cc(this.g)+cc(this.b)}function Aa(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function cc(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function ho(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Ui(t,e,r,a)}function Uc(t){if(t instanceof Ui)return new Ui(t.h,t.s,t.l,t.opacity);if(t instanceof $r||(t=hr(t)),!t)return new Ui;if(t instanceof Ui)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),h=NaN,g=u-c,x=(u+c)/2;return g?(h=e===u?(r-a)/g+6*(r0&&x<1?0:h,new Ui(h,g,x,t.opacity)}function Ui(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function ri(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Ar($r,hr,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:$e,formatHex:$e,formatHsl:function(){return Uc(this).formatHsl()},formatRgb:Ie,toString:Ie}),Ar(Jr,Sa,pi($r,{brighter:function(t){return t=t==null?Si:Math.pow(Si,t),new Jr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Hr:Math.pow(Hr,t),new Jr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:zi,formatHex:zi,formatRgb:Aa,toString:Aa})),Ar(Ui,function(t,e,r,a){return arguments.length===1?Uc(t):new Ui(t,e,r,a==null?1:a)},pi($r,{brighter:function(t){return t=t==null?Si:Math.pow(Si,t),new Ui(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Hr:Math.pow(Hr,t),new Ui(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new Jr(ri(t>=240?t-240:t+120,c,a),ri(t,c,a),ri(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const Mu=t=>()=>t;function Nu(t,e){var r=e-t;return r?function(a,c){return function(u){return a+u*c}}(t,r):Mu(isNaN(t)?e:t)}const Du=function t(e){var r=function(c){return(c=+c)==1?Nu:function(u,h){return h-u?function(g,x,_){return g=Math.pow(g,_),x=Math.pow(x,_)-g,_=1/_,function(N){return Math.pow(g+N*x,_)}}(u,h,c):Mu(isNaN(u)?h:u)}}(e);function a(c,u){var h=r((c=Sa(c)).r,(u=Sa(u)).r),g=r(c.g,u.g),x=r(c.b,u.b),_=Nu(c.opacity,u.opacity);return function(N){return c.r=h(N),c.g=g(N),c.b=x(N),c.opacity=_(N),c+""}}return a.gamma=t,a}(1);var Xa=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Lu=new RegExp(Xa.source,"g");function Bu(t,e){var r,a,c,u=Xa.lastIndex=Lu.lastIndex=0,h=-1,g=[],x=[];for(t+="",e+="";(r=Xa.exec(t))&&(a=Lu.exec(e));)(c=a.index)>u&&(c=e.slice(u,c),g[h]?g[h]+=c:g[++h]=c),(r=r[0])===(a=a[0])?g[h]?g[h]+=a:g[++h]=a:(g[++h]=null,x.push({i:h,x:Be(r,a)})),u=Lu.lastIndex;return u=0&&(g=g.slice(0,x)),!g||g==="start"})}(e)?un:On;return function(){var h=u(this,t),g=h.on;g!==a&&(c=(a=g).copy()).on(e,r),h.on=c}}var V1=Bn.prototype.constructor;function la(t){return function(){this.style.removeProperty(t)}}function G1(t,e,r){return function(a){this.style.setProperty(t,e.call(this,a),r)}}function Jl(t,e,r){var a,c;function u(){var h=e.apply(this,arguments);return h!==c&&(a=(c=h)&&G1(t,h,r)),a}return u._value=e,u}function th(t){return function(e){this.textContent=t.call(this,e)}}function To(t){var e,r;function a(){var c=t.apply(this,arguments);return c!==r&&(e=(r=c)&&th(c)),e}return a._value=t,a}var Hc=0;function Qa(t,e,r,a){this._groups=t,this._parents=e,this._name=r,this._id=a}function Wc(){return++Hc}var ha=Bn.prototype;Qa.prototype={constructor:Qa,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=vt(t));for(var a=this._groups,c=a.length,u=new Array(c),h=0;h2&&a.state<5,a.state=6,a.timer.stop(),a.on.call(c?"interrupt":"cancel",e,e.__data__,a.index,a.group),delete h[u]):g=!1;g&&delete e.__transition}})(this,t)})},Bn.prototype.transition=function(t){var e,r;t instanceof Qa?(e=t._id,t=t._name):(e=Wc(),(r=As).time=di(),t=t==null?null:t+"");for(var a=this._groups,c=a.length,u=0;u>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?fr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?fr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=X.exec(t))?new ur(e[1],e[2],e[3],1):(e=ot.exec(t))?new ur(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Wt.exec(t))?fr(e[1],e[2],e[3],e[4]):(e=fe.exec(t))?fr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Te.exec(t))?T0(e[1],e[2]/100,e[3]/100,1):(e=Le.exec(t))?T0(e[1],e[2]/100,e[3]/100,e[4]):Oe.hasOwnProperty(t)?xn(Oe[t]):t==="transparent"?new ur(NaN,NaN,NaN,0):null}function xn(t){return new ur(t>>16&255,t>>8&255,255&t,1)}function fr(t,e,r,a){return a<=0&&(t=e=r=NaN),new ur(t,e,r,a)}function gr(t){return t instanceof ui||(t=En(t)),t?new ur((t=t.rgb()).r,t.g,t.b,t.opacity):new ur}function Ir(t,e,r,a){return arguments.length===1?gr(t):new ur(t,e,r,a==null?1:a)}function ur(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function fa(){return"#"+eh(this.r)+eh(this.g)+eh(this.b)}function Ms(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function eh(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function T0(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Eo(t,e,r,a)}function nh(t){if(t instanceof Eo)return new Eo(t.h,t.s,t.l,t.opacity);if(t instanceof ui||(t=En(t)),!t)return new Eo;if(t instanceof Eo)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),h=NaN,g=u-c,x=(u+c)/2;return g?(h=e===u?(r-a)/g+6*(r0&&x<1?0:h,new Eo(h,g,x,t.opacity)}function Eo(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function rh(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Co(ui,En,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:ze,formatHex:ze,formatHsl:function(){return nh(this).formatHsl()},formatRgb:Qe,toString:Qe}),Co(ur,Ir,qi(ui,{brighter:function(t){return t=t==null?Na:Math.pow(Na,t),new ur(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Ka:Math.pow(Ka,t),new ur(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:fa,formatHex:fa,formatRgb:Ms,toString:Ms})),Co(Eo,function(t,e,r,a){return arguments.length===1?nh(t):new Eo(t,e,r,a==null?1:a)},qi(ui,{brighter:function(t){return t=t==null?Na:Math.pow(Na,t),new Eo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Ka:Math.pow(Ka,t),new Eo(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new ur(rh(t>=240?t-240:t+120,c,a),rh(t,c,a),rh(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const ny=Math.PI/180,ry=180/Math.PI,C0=.96422,E0=.82521,iy=4/29,S0=6/29,X1=3*S0*S0;function A0(t){if(t instanceof Jo)return new Jo(t.l,t.a,t.b,t.opacity);if(t instanceof Ns)return ay(t);t instanceof ur||(t=gr(t));var e,r,a=L0(t.r),c=L0(t.g),u=L0(t.b),h=M0((.2225045*a+.7168786*c+.0606169*u)/1);return a===c&&c===u?e=r=h:(e=M0((.4360747*a+.3850649*c+.1430804*u)/C0),r=M0((.0139322*a+.0971045*c+.7141733*u)/E0)),new Jo(116*h-16,500*(e-h),200*(h-r),t.opacity)}function Jo(t,e,r,a){this.l=+t,this.a=+e,this.b=+r,this.opacity=+a}function M0(t){return t>.008856451679035631?Math.pow(t,1/3):t/X1+iy}function N0(t){return t>S0?t*t*t:X1*(t-iy)}function D0(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function L0(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Db(t){if(t instanceof Ns)return new Ns(t.h,t.c,t.l,t.opacity);if(t instanceof Jo||(t=A0(t)),t.a===0&&t.b===0)return new Ns(NaN,0()=>t;function oy(t,e){return function(r){return t+r*e}}function ih(t,e){var r=e-t;return r?oy(t,r):O0(isNaN(t)?e:t)}function Lb(t){return function(e,r){var a=t((e=B0(e)).h,(r=B0(r)).h),c=ih(e.c,r.c),u=ih(e.l,r.l),h=ih(e.opacity,r.opacity);return function(g){return e.h=a(g),e.c=c(g),e.l=u(g),e.opacity=h(g),e+""}}}const Bb=Lb(function(t,e){var r=e-t;return r?oy(t,r>180||r<-180?r-360*Math.round(r/360):r):O0(isNaN(t)?e:t)});var I0=Math.sqrt(50),R0=Math.sqrt(10),F0=Math.sqrt(2);function P0(t,e,r){var a=(e-t)/Math.max(0,r),c=Math.floor(Math.log(a)/Math.LN10),u=a/Math.pow(10,c);return c>=0?(u>=I0?10:u>=R0?5:u>=F0?2:1)*Math.pow(10,c):-Math.pow(10,-c)/(u>=I0?10:u>=R0?5:u>=F0?2:1)}function j0(t,e,r){var a=Math.abs(e-t)/Math.max(0,r),c=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),u=a/c;return u>=I0?c*=10:u>=R0?c*=5:u>=F0&&(c*=2),ee?1:t>=e?0:NaN}function z0(t){let e=t,r=t,a=t;function c(u,h,g=0,x=u.length){if(g>>1;a(u[_],h)<0?g=_+1:x=_}while(gt(u)-h,r=Y0,a=(u,h)=>Y0(t(u),h)),{left:c,center:function(u,h,g=0,x=u.length){const _=c(u,h,g,x-1);return _>g&&e(u[_-1],h)>-e(u[_],h)?_-1:_},right:function(u,h,g=0,x=u.length){if(g>>1;a(u[_],h)<=0?g=_+1:x=_}while(g>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?ef(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?ef(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Fb.exec(t))?new Ja(e[1],e[2],e[3],1):(e=q0.exec(t))?new Ja(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Pb.exec(t))?ef(e[1],e[2],e[3],e[4]):(e=sy.exec(t))?ef(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=$0.exec(t))?uy(e[1],e[2]/100,e[3]/100,1):(e=cy.exec(t))?uy(e[1],e[2]/100,e[3]/100,e[4]):J1.hasOwnProperty(t)?tf(J1[t]):t==="transparent"?new Ja(NaN,NaN,NaN,0):null}function tf(t){return new Ja(t>>16&255,t>>8&255,255&t,1)}function ef(t,e,r,a){return a<=0&&(t=e=r=NaN),new Ja(t,e,r,a)}function nf(t){return t instanceof es||(t=Fu(t)),t?new Ja((t=t.rgb()).r,t.g,t.b,t.opacity):new Ja}function Pu(t,e,r,a){return arguments.length===1?nf(t):new Ja(t,e,r,a==null?1:a)}function Ja(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function rs(){return"#"+rf(this.r)+rf(this.g)+rf(this.b)}function H0(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function rf(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function uy(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Da(t,e,r,a)}function ly(t){if(t instanceof Da)return new Da(t.h,t.s,t.l,t.opacity);if(t instanceof es||(t=Fu(t)),!t)return new Da;if(t instanceof Da)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),h=NaN,g=u-c,x=(u+c)/2;return g?(h=e===u?(r-a)/g+6*(r0&&x<1?0:h,new Da(h,g,x,t.opacity)}function Da(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function W0(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Z1(es,Fu,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Gc,formatHex:Gc,formatHsl:function(){return ly(this).formatHsl()},formatRgb:Xc,toString:Xc}),Z1(Ja,Pu,U0(es,{brighter:function(t){return t=t==null?K1:Math.pow(K1,t),new Ja(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?Q1:Math.pow(Q1,t),new Ja(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rs,formatHex:rs,formatRgb:H0,toString:H0})),Z1(Da,function(t,e,r,a){return arguments.length===1?ly(t):new Da(t,e,r,a==null?1:a)},U0(es,{brighter:function(t){return t=t==null?K1:Math.pow(K1,t),new Da(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?Q1:Math.pow(Q1,t),new Da(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new Ja(W0(t>=240?t-240:t+120,c,a),W0(t,c,a),W0(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const V0=t=>()=>t;function hy(t,e){var r=e-t;return r?function(a,c){return function(u){return a+u*c}}(t,r):V0(isNaN(t)?e:t)}const af=function t(e){var r=function(c){return(c=+c)==1?hy:function(u,h){return h-u?function(g,x,_){return g=Math.pow(g,_),x=Math.pow(x,_)-g,_=1/_,function(N){return Math.pow(g+N*x,_)}}(u,h,c):V0(isNaN(u)?h:u)}}(e);function a(c,u){var h=r((c=Pu(c)).r,(u=Pu(u)).r),g=r(c.g,u.g),x=r(c.b,u.b),_=hy(c.opacity,u.opacity);return function(N){return c.r=h(N),c.g=g(N),c.b=x(N),c.opacity=_(N),c+""}}return a.gamma=t,a}(1);function jb(t,e){var r,a=e?e.length:0,c=t?Math.min(a,t.length):0,u=new Array(c),h=new Array(a);for(r=0;ru&&(c=e.slice(u,c),g[h]?g[h]+=c:g[++h]=c),(r=r[0])===(a=a[0])?g[h]?g[h]+=a:g[++h]=a:(g[++h]=null,x.push({i:h,x:of(r,a)})),u=ah.lastIndex;return uH&&(ct=P,P=H,H=ct),_=function(yt){return Math.max(P,Math.min(H,yt))}),a=J>2?Q0:Ub,c=u=null,F}function F(P){return P==null||isNaN(P=+P)?r:(c||(c=a(h.map(t),g,x)))(t(_(P)))}return F.invert=function(P){return _(e((u||(u=a(g,h.map(t),of)))(P)))},F.domain=function(P){return arguments.length?(h=Array.from(P,py),N()):h.slice()},F.range=function(P){return arguments.length?(g=Array.from(P),N()):g.slice()},F.rangeRound=function(P){return g=Array.from(P),x=cf,N()},F.clamp=function(P){return arguments.length?(_=!!P||ju,N()):_!==ju},F.interpolate=function(P){return arguments.length?(x=P,N()):x},F.unknown=function(P){return arguments.length?(r=P,F):r},function(P,H){return t=P,e=H,N()}}()(ju,ju)}function Ds(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var gy,K0=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function oh(t){if(!(e=K0.exec(t)))throw new Error("invalid format: "+t);var e;return new Ls({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Ls(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}function hf(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,a=t.slice(0,r);return[a.length>1?a[0]+a.slice(2):a,+t.slice(r+1)]}function Yu(t){return(t=hf(Math.abs(t)))?t[1]:NaN}function yy(t,e){var r=hf(t,e);if(!r)return t+"";var a=r[0],c=r[1];return c<0?"0."+new Array(-c).join("0")+a:a.length>c+1?a.slice(0,c+1)+"."+a.slice(c+1):a+new Array(c-a.length+2).join("0")}oh.prototype=Ls.prototype,Ls.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const my={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>yy(100*t,e),r:yy,s:function(t,e){var r=hf(t,e);if(!r)return t+"";var a=r[0],c=r[1],u=c-(gy=3*Math.max(-8,Math.min(8,Math.floor(c/3))))+1,h=a.length;return u===h?a:u>h?a+new Array(u-h+1).join("0"):u>0?a.slice(0,u)+"."+a.slice(u):"0."+new Array(1-u).join("0")+hf(t,Math.max(0,e+u-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function vy(t){return t}var J0,to,sh,tp=Array.prototype.map,Bs=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function qb(t){var e=t.domain;return t.ticks=function(r){var a=e();return function(c,u,h){var g,x,_,N,F=-1;if(h=+h,(c=+c)==(u=+u)&&h>0)return[c];if((g=u0){let P=Math.round(c/N),H=Math.round(u/N);for(P*Nu&&--H,_=new Array(x=H-P+1);++Fu&&--H,_=new Array(x=H-P+1);++F0;){if((c=P0(x,_,r))===a)return u[h]=x,u[g]=_,e(u);if(c>0)x=Math.floor(x/c)*c,_=Math.ceil(_/c)*c;else{if(!(c<0))break;x=Math.ceil(x*c)/c,_=Math.floor(_*c)/c}a=c}return t},t}function by(){var t=lf();return t.copy=function(){return uf(t,by())},Ds.apply(t,arguments),qb(t)}J0=function(t){var e,r,a=t.grouping===void 0||t.thousands===void 0?vy:(e=tp.call(t.grouping,Number),r=t.thousands+"",function(P,H){for(var ct=P.length,J=[],yt=0,ft=e[0],kt=0;ct>0&&ft>0&&(kt+ft+1>H&&(ft=Math.max(1,H-kt)),J.push(P.substring(ct-=ft,ct+ft)),!((kt+=ft+1)>H));)ft=e[yt=(yt+1)%e.length];return J.reverse().join(r)}),c=t.currency===void 0?"":t.currency[0]+"",u=t.currency===void 0?"":t.currency[1]+"",h=t.decimal===void 0?".":t.decimal+"",g=t.numerals===void 0?vy:function(P){return function(H){return H.replace(/[0-9]/g,function(ct){return P[+ct]})}}(tp.call(t.numerals,String)),x=t.percent===void 0?"%":t.percent+"",_=t.minus===void 0?"\u2212":t.minus+"",N=t.nan===void 0?"NaN":t.nan+"";function F(P){var H=(P=oh(P)).fill,ct=P.align,J=P.sign,yt=P.symbol,ft=P.zero,kt=P.width,Tt=P.comma,qt=P.precision,ee=P.trim,Ot=P.type;Ot==="n"?(Tt=!0,Ot="g"):my[Ot]||(qt===void 0&&(qt=12),ee=!0,Ot="g"),(ft||H==="0"&&ct==="=")&&(ft=!0,H="0",ct="=");var Xt=yt==="$"?c:yt==="#"&&/[boxX]/.test(Ot)?"0"+Ot.toLowerCase():"",Ht=yt==="$"?u:/[%p]/.test(Ot)?x:"",Et=my[Ot],Mt=/[defgprs%]/.test(Ot);function bt(ut){var Nt,pt,me,ye=Xt,re=Ht;if(Ot==="c")re=Et(ut)+re,ut="";else{var Ce=(ut=+ut)<0||1/ut<0;if(ut=isNaN(ut)?N:Et(Math.abs(ut),qt),ee&&(ut=function(ge){t:for(var He,Ge=ge.length,an=1,cn=-1;an0&&(cn=0)}return cn>0?ge.slice(0,cn)+ge.slice(He+1):ge}(ut)),Ce&&+ut==0&&J!=="+"&&(Ce=!1),ye=(Ce?J==="("?J:_:J==="-"||J==="("?"":J)+ye,re=(Ot==="s"?Bs[8+gy/3]:"")+re+(Ce&&J==="("?")":""),Mt){for(Nt=-1,pt=ut.length;++Nt(me=ut.charCodeAt(Nt))||me>57){re=(me===46?h+ut.slice(Nt+1):ut.slice(Nt))+re,ut=ut.slice(0,Nt);break}}}Tt&&!ft&&(ut=a(ut,1/0));var se=ye.length+ut.length+re.length,ve=se>1)+ye+ut+re+ve.slice(se);break;default:ut=ve+ye+ut+re}return g(ut)}return qt=qt===void 0?6:/[gprs]/.test(Ot)?Math.max(1,Math.min(21,qt)):Math.max(0,Math.min(20,qt)),bt.toString=function(){return P+""},bt}return{format:F,formatPrefix:function(P,H){var ct=F(((P=oh(P)).type="f",P)),J=3*Math.max(-8,Math.min(8,Math.floor(Yu(H)/3))),yt=Math.pow(10,-J),ft=Bs[8+J/3];return function(kt){return ct(yt*kt)+ft}}}}({thousands:",",grouping:[3],currency:["$",""]}),to=J0.format,sh=J0.formatPrefix;class _y extends Map{constructor(e,r=xy){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(const[a,c]of e)this.set(a,c)}get(e){return super.get(ep(this,e))}has(e){return super.has(ep(this,e))}set(e,r){return super.set(function({_intern:a,_key:c},u){const h=c(u);return a.has(h)?a.get(h):(a.set(h,u),u)}(this,e),r)}delete(e){return super.delete(function({_intern:r,_key:a},c){const u=a(c);return r.has(u)&&(c=r.get(u),r.delete(u)),c}(this,e))}}function ep({_intern:t,_key:e},r){const a=e(r);return t.has(a)?t.get(a):r}function xy(t){return t!==null&&typeof t=="object"?t.valueOf():t}const ch=Symbol("implicit");function hc(){var t=new _y,e=[],r=[],a=ch;function c(u){let h=t.get(u);if(h===void 0){if(a!==ch)return a;t.set(u,h=e.push(u)-1)}return r[h%r.length]}return c.domain=function(u){if(!arguments.length)return e.slice();e=[],t=new _y;for(const h of u)t.has(h)||t.set(h,e.push(h)-1);return c},c.range=function(u){return arguments.length?(r=Array.from(u),c):r.slice()},c.unknown=function(u){return arguments.length?(a=u,c):a},c.copy=function(){return hc(e,r).unknown(a)},Ds.apply(c,arguments),c}const zu=1e3,fc=6e4,uh=36e5,np=864e5,rp=6048e5,ff=31536e6;var df=new Date,pf=new Date;function Mi(t,e,r,a){function c(u){return t(u=arguments.length===0?new Date:new Date(+u)),u}return c.floor=function(u){return t(u=new Date(+u)),u},c.ceil=function(u){return t(u=new Date(u-1)),e(u,1),t(u),u},c.round=function(u){var h=c(u),g=c.ceil(u);return u-h0))return _;do _.push(x=new Date(+u)),e(u,g),t(u);while(x=h)for(;t(h),!u(h);)h.setTime(h-1)},function(h,g){if(h>=h)if(g<0)for(;++g<=0;)for(;e(h,-1),!u(h););else for(;--g>=0;)for(;e(h,1),!u(h););})},r&&(c.count=function(u,h){return df.setTime(+u),pf.setTime(+h),t(df),t(pf),Math.floor(r(df,pf))},c.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?c.filter(a?function(h){return a(h)%u==0}:function(h){return c.count(0,h)%u==0}):c:null}),c}var gf=Mi(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});gf.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Mi(function(e){e.setTime(Math.floor(e/t)*t)},function(e,r){e.setTime(+e+r*t)},function(e,r){return(r-e)/t}):gf:null};const ip=gf;var wy=Mi(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*zu)},function(t,e){return(e-t)/zu},function(t){return t.getUTCSeconds()});const Uu=wy;var $b=Mi(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*zu)},function(t,e){t.setTime(+t+e*fc)},function(t,e){return(e-t)/fc},function(t){return t.getMinutes()});const lh=$b;var So=Mi(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*zu-t.getMinutes()*fc)},function(t,e){t.setTime(+t+e*uh)},function(t,e){return(e-t)/uh},function(t){return t.getHours()});const yf=So;var ap=Mi(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*fc)/np,t=>t.getDate()-1);const qu=ap;function Os(t){return Mi(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+7*r)},function(e,r){return(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*fc)/rp})}var mf=Os(0),op=Os(1);Os(2),Os(3);var dc=Os(4);Os(5),Os(6);var is=Mi(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});const sp=is;var cp=Mi(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});cp.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Mi(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null};const Is=cp;Mi(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*fc)},function(t,e){return(e-t)/fc},function(t){return t.getUTCMinutes()}),Mi(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*uh)},function(t,e){return(e-t)/uh},function(t){return t.getUTCHours()});var up=Mi(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/np},function(t){return t.getUTCDate()-1});const hh=up;function Ao(t){return Mi(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCDate(e.getUTCDate()+7*r)},function(e,r){return(r-e)/rp})}var ky=Ao(0),vf=Ao(1);Ao(2),Ao(3);var $u=Ao(4);Ao(5),Ao(6),Mi(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});var Ty=Mi(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Ty.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Mi(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null};const da=Ty;function Zc(t,e,r,a,c,u){const h=[[Uu,1,zu],[Uu,5,5e3],[Uu,15,15e3],[Uu,30,3e4],[u,1,fc],[u,5,3e5],[u,15,9e5],[u,30,18e5],[c,1,uh],[c,3,108e5],[c,6,216e5],[c,12,432e5],[a,1,np],[a,2,1728e5],[r,1,rp],[e,1,2592e6],[e,3,7776e6],[t,1,ff]];function g(x,_,N){const F=Math.abs(_-x)/N,P=z0(([,,J])=>J).right(h,F);if(P===h.length)return t.every(j0(x/ff,_/ff,N));if(P===0)return ip.every(Math.max(j0(x,_,N),1));const[H,ct]=h[F/h[P-1][2][e.toLowerCase(),r]))}function bf(t,e,r){var a=Ni.exec(e.slice(r,r+1));return a?(t.w=+a[0],r+a[0].length):-1}function dp(t,e,r){var a=Ni.exec(e.slice(r,r+1));return a?(t.u=+a[0],r+a[0].length):-1}function Vb(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.U=+a[0],r+a[0].length):-1}function Gb(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.V=+a[0],r+a[0].length):-1}function Xb(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.W=+a[0],r+a[0].length):-1}function Sy(t,e,r){var a=Ni.exec(e.slice(r,r+4));return a?(t.y=+a[0],r+a[0].length):-1}function Ay(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.y=+a[0]+(+a[0]>68?1900:2e3),r+a[0].length):-1}function My(t,e,r){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return a?(t.Z=a[1]?0:-(a[2]+(a[3]||"00")),r+a[0].length):-1}function pp(t,e,r){var a=Ni.exec(e.slice(r,r+1));return a?(t.q=3*a[0]-3,r+a[0].length):-1}function Ny(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.m=a[0]-1,r+a[0].length):-1}function gp(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.d=+a[0],r+a[0].length):-1}function La(t,e,r){var a=Ni.exec(e.slice(r,r+3));return a?(t.m=0,t.d=+a[0],r+a[0].length):-1}function yh(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.H=+a[0],r+a[0].length):-1}function Qc(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.M=+a[0],r+a[0].length):-1}function Dy(t,e,r){var a=Ni.exec(e.slice(r,r+2));return a?(t.S=+a[0],r+a[0].length):-1}function Zb(t,e,r){var a=Ni.exec(e.slice(r,r+3));return a?(t.L=+a[0],r+a[0].length):-1}function Qb(t,e,r){var a=Ni.exec(e.slice(r,r+6));return a?(t.L=Math.floor(a[0]/1e3),r+a[0].length):-1}function Kb(t,e,r){var a=hp.exec(e.slice(r,r+1));return a?r+a[0].length:-1}function Jb(t,e,r){var a=Ni.exec(e.slice(r));return a?(t.Q=+a[0],r+a[0].length):-1}function t4(t,e,r){var a=Ni.exec(e.slice(r));return a?(t.s=+a[0],r+a[0].length):-1}function Ly(t,e){return wr(t.getDate(),e,2)}function Kc(t,e){return wr(t.getHours(),e,2)}function By(t,e){return wr(t.getHours()%12||12,e,2)}function e4(t,e){return wr(1+qu.count(Is(t),t),e,3)}function Oy(t,e){return wr(t.getMilliseconds(),e,3)}function n4(t,e){return Oy(t,e)+"000"}function r4(t,e){return wr(t.getMonth()+1,e,2)}function i4(t,e){return wr(t.getMinutes(),e,2)}function a4(t,e){return wr(t.getSeconds(),e,2)}function o4(t){var e=t.getDay();return e===0?7:e}function s4(t,e){return wr(mf.count(Is(t)-1,t),e,2)}function Iy(t){var e=t.getDay();return e>=4||e===0?dc(t):dc.ceil(t)}function c4(t,e){return t=Iy(t),wr(dc.count(Is(t),t)+(Is(t).getDay()===4),e,2)}function u4(t){return t.getDay()}function Ry(t,e){return wr(op.count(Is(t)-1,t),e,2)}function l4(t,e){return wr(t.getFullYear()%100,e,2)}function h4(t,e){return wr((t=Iy(t)).getFullYear()%100,e,2)}function Fy(t,e){return wr(t.getFullYear()%1e4,e,4)}function Py(t,e){var r=t.getDay();return wr((t=r>=4||r===0?dc(t):dc.ceil(t)).getFullYear()%1e4,e,4)}function jy(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+wr(e/60|0,"0",2)+wr(e%60,"0",2)}function Yy(t,e){return wr(t.getUTCDate(),e,2)}function f4(t,e){return wr(t.getUTCHours(),e,2)}function zy(t,e){return wr(t.getUTCHours()%12||12,e,2)}function pc(t,e){return wr(1+hh.count(da(t),t),e,3)}function Uy(t,e){return wr(t.getUTCMilliseconds(),e,3)}function d4(t,e){return Uy(t,e)+"000"}function qy(t,e){return wr(t.getUTCMonth()+1,e,2)}function p4(t,e){return wr(t.getUTCMinutes(),e,2)}function g4(t,e){return wr(t.getUTCSeconds(),e,2)}function $y(t){var e=t.getUTCDay();return e===0?7:e}function _f(t,e){return wr(ky.count(da(t)-1,t),e,2)}function Hy(t){var e=t.getUTCDay();return e>=4||e===0?$u(t):$u.ceil(t)}function mh(t,e){return t=Hy(t),wr($u.count(da(t),t)+(da(t).getUTCDay()===4),e,2)}function y4(t){return t.getUTCDay()}function yp(t,e){return wr(vf.count(da(t)-1,t),e,2)}function m4(t,e){return wr(t.getUTCFullYear()%100,e,2)}function v4(t,e){return wr((t=Hy(t)).getUTCFullYear()%100,e,2)}function Wy(t,e){return wr(t.getUTCFullYear()%1e4,e,4)}function Hu(t,e){var r=t.getUTCDay();return wr((t=r>=4||r===0?$u(t):$u.ceil(t)).getUTCFullYear()%1e4,e,4)}function b4(){return"+0000"}function mp(){return"%"}function Vy(t){return+t}function Gy(t){return Math.floor(+t/1e3)}function _4(t){return new Date(t)}function x4(t){return t instanceof Date?+t:+new Date(+t)}function Xy(t,e,r,a,c,u,h,g,x,_){var N=lf(),F=N.invert,P=N.domain,H=_(".%L"),ct=_(":%S"),J=_("%I:%M"),yt=_("%I %p"),ft=_("%a %d"),kt=_("%b %d"),Tt=_("%B"),qt=_("%Y");function ee(Ot){return(x(Ot)=12)]},q:function(Et){return 1+~~(Et.getMonth()/3)},Q:Vy,s:Gy,S:a4,u:o4,U:s4,V:c4,w:u4,W:Ry,x:null,X:null,y:l4,Y:Fy,Z:jy,"%":mp},qt={a:function(Et){return h[Et.getUTCDay()]},A:function(Et){return u[Et.getUTCDay()]},b:function(Et){return x[Et.getUTCMonth()]},B:function(Et){return g[Et.getUTCMonth()]},c:null,d:Yy,e:Yy,f:d4,g:v4,G:Hu,H:f4,I:zy,j:pc,L:Uy,m:qy,M:p4,p:function(Et){return c[+(Et.getUTCHours()>=12)]},q:function(Et){return 1+~~(Et.getUTCMonth()/3)},Q:Vy,s:Gy,S:g4,u:$y,U:_f,V:mh,w:y4,W:yp,x:null,X:null,y:m4,Y:Wy,Z:b4,"%":mp},ee={a:function(Et,Mt,bt){var ut=H.exec(Mt.slice(bt));return ut?(Et.w=ct.get(ut[0].toLowerCase()),bt+ut[0].length):-1},A:function(Et,Mt,bt){var ut=F.exec(Mt.slice(bt));return ut?(Et.w=P.get(ut[0].toLowerCase()),bt+ut[0].length):-1},b:function(Et,Mt,bt){var ut=ft.exec(Mt.slice(bt));return ut?(Et.m=kt.get(ut[0].toLowerCase()),bt+ut[0].length):-1},B:function(Et,Mt,bt){var ut=J.exec(Mt.slice(bt));return ut?(Et.m=yt.get(ut[0].toLowerCase()),bt+ut[0].length):-1},c:function(Et,Mt,bt){return Ht(Et,e,Mt,bt)},d:gp,e:gp,f:Qb,g:Ay,G:Sy,H:yh,I:yh,j:La,L:Zb,m:Ny,M:Qc,p:function(Et,Mt,bt){var ut=_.exec(Mt.slice(bt));return ut?(Et.p=N.get(ut[0].toLowerCase()),bt+ut[0].length):-1},q:pp,Q:Jb,s:t4,S:Dy,u:dp,U:Vb,V:Gb,w:bf,W:Xb,x:function(Et,Mt,bt){return Ht(Et,r,Mt,bt)},X:function(Et,Mt,bt){return Ht(Et,a,Mt,bt)},y:Ay,Y:Sy,Z:My,"%":Kb};function Ot(Et,Mt){return function(bt){var ut,Nt,pt,me=[],ye=-1,re=0,Ce=Et.length;for(bt instanceof Date||(bt=new Date(+bt));++ye53)return null;"w"in pt||(pt.w=1),"Z"in pt?(Nt=(ut=lp(fh(pt.y,0,1))).getUTCDay(),ut=Nt>4||Nt===0?vf.ceil(ut):vf(ut),ut=hh.offset(ut,7*(pt.V-1)),pt.y=ut.getUTCFullYear(),pt.m=ut.getUTCMonth(),pt.d=ut.getUTCDate()+(pt.w+6)%7):(Nt=(ut=as(fh(pt.y,0,1))).getDay(),ut=Nt>4||Nt===0?op.ceil(ut):op(ut),ut=qu.offset(ut,7*(pt.V-1)),pt.y=ut.getFullYear(),pt.m=ut.getMonth(),pt.d=ut.getDate()+(pt.w+6)%7)}else("W"in pt||"U"in pt)&&("w"in pt||(pt.w="u"in pt?pt.u%7:"W"in pt?1:0),Nt="Z"in pt?lp(fh(pt.y,0,1)).getUTCDay():as(fh(pt.y,0,1)).getDay(),pt.m=0,pt.d="W"in pt?(pt.w+6)%7+7*pt.W-(Nt+5)%7:pt.w+7*pt.U-(Nt+6)%7);return"Z"in pt?(pt.H+=pt.Z/100|0,pt.M+=pt.Z%100,lp(pt)):as(pt)}}function Ht(Et,Mt,bt,ut){for(var Nt,pt,me=0,ye=Mt.length,re=bt.length;me=re)return-1;if((Nt=Mt.charCodeAt(me++))===37){if(Nt=Mt.charAt(me++),!(pt=ee[Nt in os?Mt.charAt(me++):Nt])||(ut=pt(Et,bt,ut))<0)return-1}else if(Nt!=bt.charCodeAt(ut++))return-1}return ut}return Tt.x=Ot(r,Tt),Tt.X=Ot(a,Tt),Tt.c=Ot(e,Tt),qt.x=Ot(r,qt),qt.X=Ot(a,qt),qt.c=Ot(e,qt),{format:function(Et){var Mt=Ot(Et+="",Tt);return Mt.toString=function(){return Et},Mt},parse:function(Et){var Mt=Xt(Et+="",!1);return Mt.toString=function(){return Et},Mt},utcFormat:function(Et){var Mt=Ot(Et+="",qt);return Mt.toString=function(){return Et},Mt},utcParse:function(Et){var Mt=Xt(Et+="",!0);return Mt.toString=function(){return Et},Mt}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Ey=dh.format,dh.parse,dh.utcFormat,dh.utcParse;var T4=Array.prototype.find;function C4(){return this.firstElementChild}var bp=Array.prototype.filter;function E4(){return Array.from(this.children)}function Jy(t){return new Array(t.length)}function xf(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function S4(t){return function(){return t}}function Di(t,e,r,a,c,u){for(var h,g=0,x=e.length,_=u.length;g<_;++g)(h=e[g])?(h.__data__=u[g],a[g]=h):r[g]=new xf(t,u[g]);for(;ge?1:t>=e?0:NaN}xf.prototype={constructor:xf,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var _p="http://www.w3.org/1999/xhtml";const vh={svg:"http://www.w3.org/2000/svg",xhtml:_p,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Vu(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),vh.hasOwnProperty(e)?{space:vh[e],local:t}:t}function em(t){return function(){this.removeAttribute(t)}}function ga(t){return function(){this.removeAttributeNS(t.space,t.local)}}function M4(t,e){return function(){this.setAttribute(t,e)}}function N4(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function D4(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function L4(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function xp(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function B4(t){return function(){this.style.removeProperty(t)}}function O4(t,e,r){return function(){this.style.setProperty(t,e,r)}}function I4(t,e,r){return function(){var a=e.apply(this,arguments);a==null?this.style.removeProperty(t):this.style.setProperty(t,a,r)}}function Gu(t,e){return t.style.getPropertyValue(e)||xp(t).getComputedStyle(t,null).getPropertyValue(e)}function R4(t){return function(){delete this[t]}}function F4(t,e){return function(){this[t]=e}}function P4(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function nm(t){return t.trim().split(/^|\s+/)}function wp(t){return t.classList||new bh(t)}function bh(t){this._node=t,this._names=nm(t.getAttribute("class")||"")}function Jc(t,e){for(var r=wp(t),a=-1,c=e.length;++a=0&&(r=e.slice(a+1),e=e.slice(0,a)),{type:e,name:r}})}function fm(t){return function(){var e=this.__on;if(e){for(var r,a=0,c=-1,u=e.length;a=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Xu=[null];function Rr(t,e){this._groups=t,this._parents=e}function Ur(){return new Rr([[document.documentElement]],Xu)}Rr.prototype=Ur.prototype={constructor:Rr,select:function(t){typeof t!="function"&&(t=Wu(t));for(var e=this._groups,r=e.length,a=new Array(r),c=0;c=ee&&(ee=qt+1);!(Tt=yt[ee])&&++ee=0;)(a=c[u])&&(h&&4^a.compareDocumentPosition(h)&&h.parentNode.insertBefore(a,h),h=a);return this},sort:function(t){function e(F,P){return F&&P?t(F.__data__,P.__data__):!F-!P}t||(t=A4);for(var r=this._groups,a=r.length,c=new Array(a),u=0;u1?this.each((e==null?B4:typeof e=="function"?I4:O4)(t,e,r==null?"":r)):Gu(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?R4:typeof e=="function"?P4:F4)(t,e)):this.node()[t]},classed:function(t,e){var r=nm(t+"");if(arguments.length<2){for(var a=wp(this.node()),c=-1,u=r.length;++css)if(Math.abs(N*g-x*_)>ss&&c){var P=r-u,H=a-h,ct=g*g+x*x,J=P*P+H*H,yt=Math.sqrt(ct),ft=Math.sqrt(F),kt=c*Math.tan((Qi-Math.acos((ct+F-J)/(2*yt*ft)))/2),Tt=kt/ft,qt=kt/yt;Math.abs(Tt-1)>ss&&(this._+="L"+(t+Tt*_)+","+(e+Tt*N)),this._+="A"+c+","+c+",0,0,"+ +(N*P>_*H)+","+(this._x1=t+qt*g)+","+(this._y1=e+qt*x)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,r,a,c,u){t=+t,e=+e,u=!!u;var h=(r=+r)*Math.cos(a),g=r*Math.sin(a),x=t+h,_=e+g,N=1^u,F=u?a-c:c-a;if(r<0)throw new Error("negative radius: "+r);this._x1===null?this._+="M"+x+","+_:(Math.abs(this._x1-x)>ss||Math.abs(this._y1-_)>ss)&&(this._+="L"+x+","+_),r&&(F<0&&(F=F%bn+bn),F>dm?this._+="A"+r+","+r+",0,1,"+N+","+(t-h)+","+(e-g)+"A"+r+","+r+",0,1,"+N+","+(this._x1=x)+","+(this._y1=_):F>ss&&(this._+="A"+r+","+r+",0,"+ +(F>=Qi)+","+N+","+(this._x1=t+r*Math.cos(c))+","+(this._y1=e+r*Math.sin(c))))},rect:function(t,e,r,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +a+"h"+-r+"Z"},toString:function(){return this._}};const ln=Sf;function kr(t){return function(){return t}}var vi=Math.abs,$i=Math.atan2,vc=Math.cos,ya=Math.max,Af=Math.min,Tr=Math.sin,Rs=Math.sqrt,ma=1e-12,Qu=Math.PI,Ku=Qu/2,wh=2*Qu;function Mo(t){return t>1?0:t<-1?Qu:Math.acos(t)}function Ep(t){return t>=1?Ku:t<=-1?-Ku:Math.asin(t)}function pm(t){return t.innerRadius}function Sp(t){return t.outerRadius}function Ap(t){return t.startAngle}function Mp(t){return t.endAngle}function Mf(t){return t&&t.padAngle}function Nf(t,e,r,a,c,u,h,g){var x=r-t,_=a-e,N=h-c,F=g-u,P=F*x-N*_;if(!(P*Ppt*pt+me*me&&(Ht=Mt,Et=bt),{cx:Ht,cy:Et,x01:-N,y01:-F,x11:Ht*(c/ee-1),y11:Et*(c/ee-1)}}function Np(){var t=pm,e=Sp,r=kr(0),a=null,c=Ap,u=Mp,h=Mf,g=null;function x(){var _,N,F=+t.apply(this,arguments),P=+e.apply(this,arguments),H=c.apply(this,arguments)-Ku,ct=u.apply(this,arguments)-Ku,J=vi(ct-H),yt=ct>H;if(g||(g=_=ln()),Pma)if(J>wh-ma)g.moveTo(P*vc(H),P*Tr(H)),g.arc(0,0,P,H,ct,!yt),F>ma&&(g.moveTo(F*vc(ct),F*Tr(ct)),g.arc(0,0,F,ct,H,yt));else{var ft,kt,Tt=H,qt=ct,ee=H,Ot=ct,Xt=J,Ht=J,Et=h.apply(this,arguments)/2,Mt=Et>ma&&(a?+a.apply(this,arguments):Rs(F*F+P*P)),bt=Af(vi(P-F)/2,+r.apply(this,arguments)),ut=bt,Nt=bt;if(Mt>ma){var pt=Ep(Mt/F*Tr(Et)),me=Ep(Mt/P*Tr(Et));(Xt-=2*pt)>ma?(ee+=pt*=yt?1:-1,Ot-=pt):(Xt=0,ee=Ot=(H+ct)/2),(Ht-=2*me)>ma?(Tt+=me*=yt?1:-1,qt-=me):(Ht=0,Tt=qt=(H+ct)/2)}var ye=P*vc(Tt),re=P*Tr(Tt),Ce=F*vc(Ot),se=F*Tr(Ot);if(bt>ma){var ve,ge=P*vc(qt),He=P*Tr(qt),Ge=F*vc(ee),an=F*Tr(ee);if(Jma?Nt>ma?(ft=eo(Ge,an,ye,re,P,Nt,yt),kt=eo(ge,He,Ce,se,P,Nt,yt),g.moveTo(ft.cx+ft.x01,ft.cy+ft.y01),Ntma&&Xt>ma?ut>ma?(ft=eo(Ce,se,ge,He,F,-ut,yt),kt=eo(ye,re,Ge,an,F,-ut,yt),g.lineTo(ft.cx+ft.x01,ft.cy+ft.y01),utt?1:e>=t?0:NaN}function Ju(t){return t}function tl(){}function tu(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function kh(t){this._context=t}function Wr(t){return new kh(t)}function va(t){this._context=t}function ai(t){this._context=t}function Ba(t){this._context=t}function bc(t){return t<0?-1:1}function Dp(t,e,r){var a=t._x1-t._x0,c=e-t._x1,u=(t._y1-t._y0)/(a||c<0&&-0),h=(r-t._y1)/(c||a<0&&-0),g=(u*c+h*a)/(a+c);return(bc(u)+bc(h))*Math.min(Math.abs(u),Math.abs(h),.5*Math.abs(g))||0}function Lp(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function _c(t,e,r){var a=t._x0,c=t._y0,u=t._x1,h=t._y1,g=(u-a)/3;t._context.bezierCurveTo(a+g,c+g*e,u-g,h-g*r,u,h)}function Do(t){this._context=t}function cs(t){this._context=new el(t)}function el(t){this._context=t}function Th(t){this._context=t}function Ch(t){var e,r,a=t.length-1,c=new Array(a),u=new Array(a),h=new Array(a);for(c[0]=0,u[0]=2,h[0]=t[0]+2*t[1],e=1;e=0;--e)c[e]=(h[e]-c[e+1])/u[e];for(u[a-1]=(t[a]+c[a-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var nl=new Date,rl=new Date;function po(t,e,r,a){function c(u){return t(u=arguments.length===0?new Date:new Date(+u)),u}return c.floor=function(u){return t(u=new Date(+u)),u},c.ceil=function(u){return t(u=new Date(u-1)),e(u,1),t(u),u},c.round=function(u){var h=c(u),g=c.ceil(u);return u-h0))return _;do _.push(x=new Date(+u)),e(u,g),t(u);while(x=h)for(;t(h),!u(h);)h.setTime(h-1)},function(h,g){if(h>=h)if(g<0)for(;++g<=0;)for(;e(h,-1),!u(h););else for(;--g>=0;)for(;e(h,1),!u(h););})},r&&(c.count=function(u,h){return nl.setTime(+u),rl.setTime(+h),t(nl),t(rl),Math.floor(r(nl,rl))},c.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?c.filter(a?function(h){return a(h)%u==0}:function(h){return c.count(0,h)%u==0}):c:null}),c}const Eh=864e5,Bf=6048e5;function Fs(t){return po(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCDate(e.getUTCDate()+7*r)},function(e,r){return(r-e)/Bf})}var Bp=Fs(0),Of=Fs(1);Fs(2),Fs(3);var il=Fs(4);Fs(5),Fs(6);var ba=po(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/Eh},function(t){return t.getUTCDate()-1});const ia=ba;function bi(t){return po(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+7*r)},function(e,r){return(r-e-6e4*(r.getTimezoneOffset()-e.getTimezoneOffset()))/Bf})}var Sh=bi(0),Lo=bi(1);bi(2),bi(3);var nu=bi(4);bi(5),bi(6);var mm=po(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/Eh,t=>t.getDate()-1);const Op=mm;var Ip=po(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Ip.every=function(t){return isFinite(t=Math.floor(t))&&t>0?po(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)}):null};const al=Ip;var vm=po(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});vm.every=function(t){return isFinite(t=Math.floor(t))&&t>0?po(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null};const Ah=vm;function _a(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Rp(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ol(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var Mh,no,If={"-":"",_:" ",0:"0"},hi=/^\s*\d+/,bm=/^%/,z4=/[\\^$*+?|[\]().{}]/g;function Cr(t,e,r){var a=t<0?"-":"",c=(a?-t:t)+"",u=c.length;return a+(u[e.toLowerCase(),r]))}function U4(t,e,r){var a=hi.exec(e.slice(r,r+1));return a?(t.w=+a[0],r+a[0].length):-1}function xm(t,e,r){var a=hi.exec(e.slice(r,r+1));return a?(t.u=+a[0],r+a[0].length):-1}function q4(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.U=+a[0],r+a[0].length):-1}function sl(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.V=+a[0],r+a[0].length):-1}function Fp(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.W=+a[0],r+a[0].length):-1}function Rf(t,e,r){var a=hi.exec(e.slice(r,r+4));return a?(t.y=+a[0],r+a[0].length):-1}function Ff(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.y=+a[0]+(+a[0]>68?1900:2e3),r+a[0].length):-1}function wm(t,e,r){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return a?(t.Z=a[1]?0:-(a[2]+(a[3]||"00")),r+a[0].length):-1}function km(t,e,r){var a=hi.exec(e.slice(r,r+1));return a?(t.q=3*a[0]-3,r+a[0].length):-1}function Tm(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.m=a[0]-1,r+a[0].length):-1}function Pp(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.d=+a[0],r+a[0].length):-1}function Cm(t,e,r){var a=hi.exec(e.slice(r,r+3));return a?(t.m=0,t.d=+a[0],r+a[0].length):-1}function jp(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.H=+a[0],r+a[0].length):-1}function $4(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.M=+a[0],r+a[0].length):-1}function Em(t,e,r){var a=hi.exec(e.slice(r,r+2));return a?(t.S=+a[0],r+a[0].length):-1}function Pf(t,e,r){var a=hi.exec(e.slice(r,r+3));return a?(t.L=+a[0],r+a[0].length):-1}function jf(t,e,r){var a=hi.exec(e.slice(r,r+6));return a?(t.L=Math.floor(a[0]/1e3),r+a[0].length):-1}function Sm(t,e,r){var a=bm.exec(e.slice(r,r+1));return a?r+a[0].length:-1}function Am(t,e,r){var a=hi.exec(e.slice(r));return a?(t.Q=+a[0],r+a[0].length):-1}function Yp(t,e,r){var a=hi.exec(e.slice(r));return a?(t.s=+a[0],r+a[0].length):-1}function Yf(t,e){return Cr(t.getDate(),e,2)}function Mm(t,e){return Cr(t.getHours(),e,2)}function Nm(t,e){return Cr(t.getHours()%12||12,e,2)}function H4(t,e){return Cr(1+Op.count(al(t),t),e,3)}function Dm(t,e){return Cr(t.getMilliseconds(),e,3)}function zp(t,e){return Dm(t,e)+"000"}function Lm(t,e){return Cr(t.getMonth()+1,e,2)}function Lh(t,e){return Cr(t.getMinutes(),e,2)}function zf(t,e){return Cr(t.getSeconds(),e,2)}function Uf(t){var e=t.getDay();return e===0?7:e}function W4(t,e){return Cr(Sh.count(al(t)-1,t),e,2)}function qf(t){var e=t.getDay();return e>=4||e===0?nu(t):nu.ceil(t)}function $f(t,e){return t=qf(t),Cr(nu.count(al(t),t)+(al(t).getDay()===4),e,2)}function Hf(t){return t.getDay()}function Up(t,e){return Cr(Lo.count(al(t)-1,t),e,2)}function cl(t,e){return Cr(t.getFullYear()%100,e,2)}function V4(t,e){return Cr((t=qf(t)).getFullYear()%100,e,2)}function G4(t,e){return Cr(t.getFullYear()%1e4,e,4)}function X4(t,e){var r=t.getDay();return Cr((t=r>=4||r===0?nu(t):nu.ceil(t)).getFullYear()%1e4,e,4)}function Bm(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Cr(e/60|0,"0",2)+Cr(e%60,"0",2)}function Wf(t,e){return Cr(t.getUTCDate(),e,2)}function Z4(t,e){return Cr(t.getUTCHours(),e,2)}function Vf(t,e){return Cr(t.getUTCHours()%12||12,e,2)}function Om(t,e){return Cr(1+ia.count(Ah(t),t),e,3)}function qp(t,e){return Cr(t.getUTCMilliseconds(),e,3)}function Gf(t,e){return qp(t,e)+"000"}function Im(t,e){return Cr(t.getUTCMonth()+1,e,2)}function Rm(t,e){return Cr(t.getUTCMinutes(),e,2)}function Fm(t,e){return Cr(t.getUTCSeconds(),e,2)}function Q4(t){var e=t.getUTCDay();return e===0?7:e}function Pm(t,e){return Cr(Bp.count(Ah(t)-1,t),e,2)}function jm(t){var e=t.getUTCDay();return e>=4||e===0?il(t):il.ceil(t)}function Ym(t,e){return t=jm(t),Cr(il.count(Ah(t),t)+(Ah(t).getUTCDay()===4),e,2)}function zm(t){return t.getUTCDay()}function Um(t,e){return Cr(Of.count(Ah(t)-1,t),e,2)}function K4(t,e){return Cr(t.getUTCFullYear()%100,e,2)}function J4(t,e){return Cr((t=jm(t)).getUTCFullYear()%100,e,2)}function Bh(t,e){return Cr(t.getUTCFullYear()%1e4,e,4)}function qm(t,e){var r=t.getUTCDay();return Cr((t=r>=4||r===0?il(t):il.ceil(t)).getUTCFullYear()%1e4,e,4)}function $m(){return"+0000"}function Xf(){return"%"}function Zf(t){return+t}function Qf(t){return Math.floor(+t/1e3)}Mh=function(t){var e=t.dateTime,r=t.date,a=t.time,c=t.periods,u=t.days,h=t.shortDays,g=t.months,x=t.shortMonths,_=Nh(c),N=Dh(c),F=Nh(u),P=Dh(u),H=Nh(h),ct=Dh(h),J=Nh(g),yt=Dh(g),ft=Nh(x),kt=Dh(x),Tt={a:function(Et){return h[Et.getDay()]},A:function(Et){return u[Et.getDay()]},b:function(Et){return x[Et.getMonth()]},B:function(Et){return g[Et.getMonth()]},c:null,d:Yf,e:Yf,f:zp,g:V4,G:X4,H:Mm,I:Nm,j:H4,L:Dm,m:Lm,M:Lh,p:function(Et){return c[+(Et.getHours()>=12)]},q:function(Et){return 1+~~(Et.getMonth()/3)},Q:Zf,s:Qf,S:zf,u:Uf,U:W4,V:$f,w:Hf,W:Up,x:null,X:null,y:cl,Y:G4,Z:Bm,"%":Xf},qt={a:function(Et){return h[Et.getUTCDay()]},A:function(Et){return u[Et.getUTCDay()]},b:function(Et){return x[Et.getUTCMonth()]},B:function(Et){return g[Et.getUTCMonth()]},c:null,d:Wf,e:Wf,f:Gf,g:J4,G:qm,H:Z4,I:Vf,j:Om,L:qp,m:Im,M:Rm,p:function(Et){return c[+(Et.getUTCHours()>=12)]},q:function(Et){return 1+~~(Et.getUTCMonth()/3)},Q:Zf,s:Qf,S:Fm,u:Q4,U:Pm,V:Ym,w:zm,W:Um,x:null,X:null,y:K4,Y:Bh,Z:$m,"%":Xf},ee={a:function(Et,Mt,bt){var ut=H.exec(Mt.slice(bt));return ut?(Et.w=ct.get(ut[0].toLowerCase()),bt+ut[0].length):-1},A:function(Et,Mt,bt){var ut=F.exec(Mt.slice(bt));return ut?(Et.w=P.get(ut[0].toLowerCase()),bt+ut[0].length):-1},b:function(Et,Mt,bt){var ut=ft.exec(Mt.slice(bt));return ut?(Et.m=kt.get(ut[0].toLowerCase()),bt+ut[0].length):-1},B:function(Et,Mt,bt){var ut=J.exec(Mt.slice(bt));return ut?(Et.m=yt.get(ut[0].toLowerCase()),bt+ut[0].length):-1},c:function(Et,Mt,bt){return Ht(Et,e,Mt,bt)},d:Pp,e:Pp,f:jf,g:Ff,G:Rf,H:jp,I:jp,j:Cm,L:Pf,m:Tm,M:$4,p:function(Et,Mt,bt){var ut=_.exec(Mt.slice(bt));return ut?(Et.p=N.get(ut[0].toLowerCase()),bt+ut[0].length):-1},q:km,Q:Am,s:Yp,S:Em,u:xm,U:q4,V:sl,w:U4,W:Fp,x:function(Et,Mt,bt){return Ht(Et,r,Mt,bt)},X:function(Et,Mt,bt){return Ht(Et,a,Mt,bt)},y:Ff,Y:Rf,Z:wm,"%":Sm};function Ot(Et,Mt){return function(bt){var ut,Nt,pt,me=[],ye=-1,re=0,Ce=Et.length;for(bt instanceof Date||(bt=new Date(+bt));++ye53)return null;"w"in pt||(pt.w=1),"Z"in pt?(Nt=(ut=Rp(ol(pt.y,0,1))).getUTCDay(),ut=Nt>4||Nt===0?Of.ceil(ut):Of(ut),ut=ia.offset(ut,7*(pt.V-1)),pt.y=ut.getUTCFullYear(),pt.m=ut.getUTCMonth(),pt.d=ut.getUTCDate()+(pt.w+6)%7):(Nt=(ut=_a(ol(pt.y,0,1))).getDay(),ut=Nt>4||Nt===0?Lo.ceil(ut):Lo(ut),ut=Op.offset(ut,7*(pt.V-1)),pt.y=ut.getFullYear(),pt.m=ut.getMonth(),pt.d=ut.getDate()+(pt.w+6)%7)}else("W"in pt||"U"in pt)&&("w"in pt||(pt.w="u"in pt?pt.u%7:"W"in pt?1:0),Nt="Z"in pt?Rp(ol(pt.y,0,1)).getUTCDay():_a(ol(pt.y,0,1)).getDay(),pt.m=0,pt.d="W"in pt?(pt.w+6)%7+7*pt.W-(Nt+5)%7:pt.w+7*pt.U-(Nt+6)%7);return"Z"in pt?(pt.H+=pt.Z/100|0,pt.M+=pt.Z%100,Rp(pt)):_a(pt)}}function Ht(Et,Mt,bt,ut){for(var Nt,pt,me=0,ye=Mt.length,re=bt.length;me=re)return-1;if((Nt=Mt.charCodeAt(me++))===37){if(Nt=Mt.charAt(me++),!(pt=ee[Nt in If?Mt.charAt(me++):Nt])||(ut=pt(Et,bt,ut))<0)return-1}else if(Nt!=bt.charCodeAt(ut++))return-1}return ut}return Tt.x=Ot(r,Tt),Tt.X=Ot(a,Tt),Tt.c=Ot(e,Tt),qt.x=Ot(r,qt),qt.X=Ot(a,qt),qt.c=Ot(e,qt),{format:function(Et){var Mt=Ot(Et+="",Tt);return Mt.toString=function(){return Et},Mt},parse:function(Et){var Mt=Xt(Et+="",!1);return Mt.toString=function(){return Et},Mt},utcFormat:function(Et){var Mt=Ot(Et+="",qt);return Mt.toString=function(){return Et},Mt},utcParse:function(Et){var Mt=Xt(Et+="",!0);return Mt.toString=function(){return Et},Mt}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),no=Mh.format,Mh.parse,Mh.utcFormat,Mh.utcParse;var $p={value:()=>{}};function Ps(){for(var t,e=0,r=arguments.length,a={};e=0&&(a=r.slice(c+1),r=r.slice(0,c)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:a}})}function Hm(t,e){for(var r,a=0,c=t.length;a0)for(var r,a,c=new Array(r),u=0;u=0&&e._call.call(void 0,t),e=e._next;--us})()}finally{us=0,function(){for(var t,e,r=js,a=1/0;r;)r._call?(a>r._time&&(a=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:js=e);xc=t,jh(a)}(),kc=0}}function ul(){var t=Oa.now(),e=t-ru;e>1e3&&(Ih-=e,ru=t)}function jh(t){us||(wc&&(wc=clearTimeout(wc)),t-kc>24?(t<1/0&&(wc=setTimeout(Ph,t-Oa.now()-Ih)),Oh&&(Oh=clearInterval(Oh))):(Oh||(ru=Oa.now(),Oh=setInterval(ul,1e3)),us=1,Bo(Ph)))}function Jf(t,e,r){var a=new Tc;return e=e==null?0:+e,a.restart(c=>{a.stop(),t(c+e)},e,r),a}Tc.prototype=Fh.prototype={constructor:Tc,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?Rh():+r)+(e==null?0:+e),this._next||xc===this||(xc?xc._next=this:js=this,xc=this),this._call=t,this._time=r,jh()},stop:function(){this._call&&(this._call=null,this._time=1/0,jh())}};var Yh=Vm("start","end","cancel","interrupt"),Oo=[];function ls(t,e,r,a,c,u){var h=t.__transition;if(h){if(r in h)return}else t.__transition={};(function(g,x,_){var N,F=g.__transition;function P(J){var yt,ft,kt,Tt;if(_.state!==1)return ct();for(yt in F)if((Tt=F[yt]).name===_.name){if(Tt.state===3)return Jf(P);Tt.state===4?(Tt.state=6,Tt.timer.stop(),Tt.on.call("interrupt",g,g.__data__,Tt.index,Tt.group),delete F[yt]):+yt0)throw new Error("too late; already scheduled");return r}function hs(t,e){var r=Io(t,e);if(r.state>3)throw new Error("too late; already running");return r}function Io(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Ys(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var ed,Gm=180/Math.PI,Wp={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Vp(t,e,r,a,c,u){var h,g,x;return(h=Math.sqrt(t*t+e*e))&&(t/=h,e/=h),(x=t*r+e*a)&&(r-=t*x,a-=e*x),(g=Math.sqrt(r*r+a*a))&&(r/=g,a/=g,x/=g),t*a180?N+=360:N-_>180&&(_+=360),P.push({i:F.push(c(F)+"rotate(",null,a)-2,x:Ys(_,N)})):N&&F.push(c(F)+"rotate("+N+a)}(u.rotate,h.rotate,g,x),function(_,N,F,P){_!==N?P.push({i:F.push(c(F)+"skewX(",null,a)-2,x:Ys(_,N)}):N&&F.push(c(F)+"skewX("+N+a)}(u.skewX,h.skewX,g,x),function(_,N,F,P,H,ct){if(_!==F||N!==P){var J=H.push(c(H)+"scale(",null,",",null,")");ct.push({i:J-4,x:Ys(_,F)},{i:J-2,x:Ys(N,P)})}else F===1&&P===1||H.push(c(H)+"scale("+F+","+P+")")}(u.scaleX,u.scaleY,h.scaleX,h.scaleY,g,x),u=h=null,function(_){for(var N,F=-1,P=x.length;++Fu&&(c=e.slice(u,c),g[h]?g[h]+=c:g[++h]=c),(r=r[0])===(a=a[0])?g[h]?g[h]+=a:g[++h]=a:(g[++h]=null,x.push({i:h,x:Ys(r,a)})),u=hl.lastIndex;return u=0&&(g=g.slice(0,x)),!g||g==="start"})}(e)?td:hs;return function(){var h=u(this,t),g=h.on;g!==a&&(c=(a=g).copy()).on(e,r),h.on=c}}var nv=Cn.prototype.constructor;function Ro(t){return function(){this.style.removeProperty(t)}}function ng(t,e,r){return function(a){this.style.setProperty(t,e.call(this,a),r)}}function rg(t,e,r){var a,c;function u(){var h=e.apply(this,arguments);return h!==c&&(a=(c=h)&&ng(t,h,r)),a}return u._value=e,u}function rv(t){return function(e){this.textContent=t.call(this,e)}}function rd(t){var e,r;function a(){var c=t.apply(this,arguments);return c!==r&&(e=(r=c)&&rv(c)),e}return a._value=t,a}var iv=0;function zs(t,e,r,a){this._groups=t,this._parents=e,this._name=r,this._id=a}function ig(){return++iv}var ro=Cn.prototype;zs.prototype={constructor:zs,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=Wu(t));for(var a=this._groups,c=a.length,u=new Array(c),h=0;h2&&a.state<5,a.state=6,a.timer.stop(),a.on.call(c?"interrupt":"cancel",e,e.__data__,a.index,a.group),delete h[u]):g=!1;g&&delete e.__transition}})(this,t)})},Cn.prototype.transition=function(t){var e,r;t instanceof zs?(e=t._id,t=t._name):(e=ig(),(r=ag).time=Rh(),t=t==null?null:t+"");for(var a=this._groups,c=a.length,u=0;ue?1:t>=e?0:NaN}Cc.prototype={constructor:Cc,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Xh="http://www.w3.org/1999/xhtml";const sv={svg:"http://www.w3.org/2000/svg",xhtml:Xh,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ad(t){var e=t+="",r=e.indexOf(":");return r>=0&&(e=t.slice(0,r))!=="xmlns"&&(t=t.slice(r+1)),sv.hasOwnProperty(e)?{space:sv[e],local:t}:t}function hg(t){return function(){this.removeAttribute(t)}}function f5(t){return function(){this.removeAttributeNS(t.space,t.local)}}function fg(t,e){return function(){this.setAttribute(t,e)}}function d5(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function dg(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function p5(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function od(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function g5(t){return function(){this.style.removeProperty(t)}}function y5(t,e,r){return function(){this.style.setProperty(t,e,r)}}function m5(t,e,r){return function(){var a=e.apply(this,arguments);a==null?this.style.removeProperty(t):this.style.setProperty(t,a,r)}}function fl(t,e){return t.style.getPropertyValue(e)||od(t).getComputedStyle(t,null).getPropertyValue(e)}function v5(t){return function(){delete this[t]}}function b5(t,e){return function(){this[t]=e}}function pg(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function cv(t){return t.trim().split(/^|\s+/)}function gg(t){return t.classList||new yg(t)}function yg(t){this._node=t,this._names=cv(t.getAttribute("class")||"")}function au(t,e){for(var r=gg(t),a=-1,c=e.length;++a=0&&(r=e.slice(a+1),e=e.slice(0,a)),{type:e,name:r}})}function T5(t){return function(){var e=this.__on;if(e){for(var r,a=0,c=-1,u=e.length;a=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Qh=[null];function Fo(t,e){this._groups=t,this._parents=e}function xv(){return new Fo([[document.documentElement]],Qh)}Fo.prototype=xv.prototype={constructor:Fo,select:function(t){typeof t!="function"&&(t=sg(t));for(var e=this._groups,r=e.length,a=new Array(r),c=0;c=ee&&(ee=qt+1);!(Tt=yt[ee])&&++ee=0;)(a=c[u])&&(h&&4^a.compareDocumentPosition(h)&&h.parentNode.insertBefore(a,h),h=a);return this},sort:function(t){function e(F,P){return F&&P?t(F.__data__,P.__data__):!F-!P}t||(t=h5);for(var r=this._groups,a=r.length,c=new Array(a),u=0;u1?this.each((e==null?g5:typeof e=="function"?m5:y5)(t,e,r==null?"":r)):fl(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((e==null?v5:typeof e=="function"?pg:b5)(t,e)):this.node()[t]},classed:function(t,e){var r=cv(t+"");if(arguments.length<2){for(var a=gg(this.node()),c=-1,u=r.length;++c{}};function wv(){for(var t,e=0,r=arguments.length,a={};e=0&&(a=r.slice(c+1),r=r.slice(0,c)),r&&!e.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:a}})}function vg(t,e){for(var r,a=0,c=t.length;a0)for(var r,a,c=new Array(r),u=0;u=0&&e._call.call(void 0,t),e=e._next;--pl})()}finally{pl=0,function(){for(var t,e,r=dd,a=1/0;r;)r._call?(a>r._time&&(a=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:dd=e);Ec=t,yd(a)}(),Ac=0}}function Tv(){var t=t1.now(),e=t-Jh;e>1e3&&(pd-=e,Jh=t)}function yd(t){pl||(Sc&&(Sc=clearTimeout(Sc)),t-Ac>24?(t<1/0&&(Sc=setTimeout(yl,t-t1.now()-pd)),gl&&(gl=clearInterval(gl))):(gl||(Jh=t1.now(),gl=setInterval(Tv,1e3)),pl=1,kv(yl)))}function xg(t,e,r){var a=new gd;return e=e==null?0:+e,a.restart(c=>{a.stop(),t(c+e)},e,r),a}gd.prototype=_g.prototype={constructor:gd,restart:function(t,e,r){if(typeof t!="function")throw new TypeError("callback is not a function");r=(r==null?bg():+r)+(e==null?0:+e),this._next||Ec===this||(Ec?Ec._next=this:dd=this,Ec=this),this._call=t,this._time=r,yd()},stop:function(){this._call&&(this._call=null,this._time=1/0,yd())}};var M5=S5("start","end","cancel","interrupt"),N5=[];function md(t,e,r,a,c,u){var h=t.__transition;if(h){if(r in h)return}else t.__transition={};(function(g,x,_){var N,F=g.__transition;function P(J){var yt,ft,kt,Tt;if(_.state!==1)return ct();for(yt in F)if((Tt=F[yt]).name===_.name){if(Tt.state===3)return xg(P);Tt.state===4?(Tt.state=6,Tt.timer.stop(),Tt.on.call("interrupt",g,g.__data__,Tt.index,Tt.group),delete F[yt]):+yt0)throw new Error("too late; already scheduled");return r}function fs(t,e){var r=Po(t,e);if(r.state>3)throw new Error("too late; already running");return r}function Po(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}function Us(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var bd,e1=180/Math.PI,wg={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Cv(t,e,r,a,c,u){var h,g,x;return(h=Math.sqrt(t*t+e*e))&&(t/=h,e/=h),(x=t*r+e*a)&&(r-=t*x,a-=e*x),(g=Math.sqrt(r*r+a*a))&&(r/=g,a/=g,x/=g),t*a180?N+=360:N-_>180&&(_+=360),P.push({i:F.push(c(F)+"rotate(",null,a)-2,x:Us(_,N)})):N&&F.push(c(F)+"rotate("+N+a)}(u.rotate,h.rotate,g,x),function(_,N,F,P){_!==N?P.push({i:F.push(c(F)+"skewX(",null,a)-2,x:Us(_,N)}):N&&F.push(c(F)+"skewX("+N+a)}(u.skewX,h.skewX,g,x),function(_,N,F,P,H,ct){if(_!==F||N!==P){var J=H.push(c(H)+"scale(",null,",",null,")");ct.push({i:J-4,x:Us(_,F)},{i:J-2,x:Us(N,P)})}else F===1&&P===1||H.push(c(H)+"scale("+F+","+P+")")}(u.scaleX,u.scaleY,h.scaleX,h.scaleY,g,x),u=h=null,function(_){for(var N,F=-1,P=x.length;++F>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):r===8?i1(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):r===4?i1(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=jo.exec(t))?new Ia(e[1],e[2],e[3],1):(e=qs.exec(t))?new Ia(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Mv.exec(t))?i1(e[1],e[2],e[3],e[4]):(e=xd.exec(t))?i1(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=su.exec(t))?o1(e[1],e[2]/100,e[3]/100,1):(e=Cg.exec(t))?o1(e[1],e[2]/100,e[3]/100,e[4]):wd.hasOwnProperty(t)?Td(wd[t]):t==="transparent"?new Ia(NaN,NaN,NaN,0):null}function Td(t){return new Ia(t>>16&255,t>>8&255,255&t,1)}function i1(t,e,r,a){return a<=0&&(t=e=r=NaN),new Ia(t,e,r,a)}function Ki(t){return t instanceof ds||(t=r1(t)),t?new Ia((t=t.rgb()).r,t.g,t.b,t.opacity):new Ia}function a1(t,e,r,a){return arguments.length===1?Ki(t):new Ia(t,e,r,a==null?1:a)}function Ia(t,e,r,a){this.r=+t,this.g=+e,this.b=+r,this.opacity=+a}function Nv(){return"#"+cu(this.r)+cu(this.g)+cu(this.b)}function Dv(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(t===1?")":", "+t+")")}function cu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function o1(t,e,r,a){return a<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Yo(t,e,r,a)}function Sg(t){if(t instanceof Yo)return new Yo(t.h,t.s,t.l,t.opacity);if(t instanceof ds||(t=r1(t)),!t)return new Yo;if(t instanceof Yo)return t;var e=(t=t.rgb()).r/255,r=t.g/255,a=t.b/255,c=Math.min(e,r,a),u=Math.max(e,r,a),h=NaN,g=u-c,x=(u+c)/2;return g?(h=e===u?(r-a)/g+6*(r0&&x<1?0:h,new Yo(h,g,x,t.opacity)}function Yo(t,e,r,a){this.h=+t,this.s=+e,this.l=+r,this.opacity=+a}function $s(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Tg(ds,r1,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:kd,formatHex:kd,formatHsl:function(){return Sg(this).formatHsl()},formatRgb:Eg,toString:Eg}),Tg(Ia,a1,Av(ds,{brighter:function(t){return t=t==null?n1:Math.pow(n1,t),new Ia(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=t==null?_d:Math.pow(_d,t),new Ia(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Nv,formatHex:Nv,formatRgb:Dv,toString:Dv})),Tg(Yo,function(t,e,r,a){return arguments.length===1?Sg(t):new Yo(t,e,r,a==null?1:a)},Av(ds,{brighter:function(t){return t=t==null?n1:Math.pow(n1,t),new Yo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?_d:Math.pow(_d,t),new Yo(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*e,c=2*r-a;return new Ia($s(t>=240?t-240:t+120,c,a),$s(t,c,a),$s(t<120?t+240:t-120,c,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return((t=isNaN(t)?1:Math.max(0,Math.min(1,t)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(t===1?")":", "+t+")")}}));const Ag=t=>()=>t;function Mg(t,e){var r=e-t;return r?function(a,c){return function(u){return a+u*c}}(t,r):Ag(isNaN(t)?e:t)}const Ng=function t(e){var r=function(c){return(c=+c)==1?Mg:function(u,h){return h-u?function(g,x,_){return g=Math.pow(g,_),x=Math.pow(x,_)-g,_=1/_,function(N){return Math.pow(g+N*x,_)}}(u,h,c):Ag(isNaN(u)?h:u)}}(e);function a(c,u){var h=r((c=a1(c)).r,(u=a1(u)).r),g=r(c.g,u.g),x=r(c.b,u.b),_=Mg(c.opacity,u.opacity);return function(N){return c.r=h(N),c.g=g(N),c.b=x(N),c.opacity=_(N),c+""}}return a.gamma=t,a}(1);var Cd=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ed=new RegExp(Cd.source,"g");function I5(t,e){var r,a,c,u=Cd.lastIndex=Ed.lastIndex=0,h=-1,g=[],x=[];for(t+="",e+="";(r=Cd.exec(t))&&(a=Ed.exec(e));)(c=a.index)>u&&(c=e.slice(u,c),g[h]?g[h]+=c:g[++h]=c),(r=r[0])===(a=a[0])?g[h]?g[h]+=a:g[++h]=a:(g[++h]=null,x.push({i:h,x:Us(r,a)})),u=Ed.lastIndex;return u=0&&(g=g.slice(0,x)),!g||g==="start"})}(e)?vd:fs;return function(){var h=u(this,t),g=h.on;g!==a&&(c=(a=g).copy()).on(e,r),h.on=c}}var zv=Kh.prototype.constructor;function Sd(t){return function(){this.style.removeProperty(t)}}function Ig(t,e,r){return function(a){this.style.setProperty(t,e.call(this,a),r)}}function Li(t,e,r){var a,c;function u(){var h=e.apply(this,arguments);return h!==c&&(a=(c=h)&&Ig(t,h,r)),a}return u._value=e,u}function Rg(t){return function(e){this.textContent=t.call(this,e)}}function uu(t){var e,r;function a(){var c=t.apply(this,arguments);return c!==r&&(e=(r=c)&&Rg(c)),e}return a._value=t,a}var Y5=0;function gs(t,e,r,a){this._groups=t,this._parents=e,this._name=r,this._id=a}function Fg(){return++Y5}var Hs=Kh.prototype;gs.prototype={constructor:gs,select:function(t){var e=this._name,r=this._id;typeof t!="function"&&(t=sg(t));for(var a=this._groups,c=a.length,u=new Array(c),h=0;h2&&a.state<5,a.state=6,a.timer.stop(),a.on.call(c?"interrupt":"cancel",e,e.__data__,a.index,a.group),delete h[u]):g=!1;g&&delete e.__transition}})(this,t)})},Kh.prototype.transition=function(t){var e,r;t instanceof gs?(e=t._id,t=t._name):(e=Fg(),(r=Ad).time=bg(),t=t==null?null:t+"");for(var a=this._groups,c=a.length,u=0;u0?Ws(wl,--io):0,xl--,oi===10&&(xl=1,Dd--),oi}function zo(){return oi=io2||Od(oi)>3?"":" "}function Id(t,e){for(;--e&&zo()&&!(oi<48||oi>102||oi>57&&oi<65||oi>70&&oi<97););return Bd(t,c1()+(e<6&&Mc()==32&&zo()==32))}function Tl(t){for(;zo();)switch(oi){case t:return io;case 34:case 39:t!==34&&t!==39&&Tl(oi);break;case 40:t===41&&Tl(t);break;case 92:zo()}return io}function Wv(t,e){for(;zo()&&t+oi!==57&&(t+oi!==84||Mc()!==47););return"/*"+Bd(e,io-1)+"*"+fu(t===47?t:zo())}function du(t){for(;!Od(Mc());)zo();return Bd(t,io)}function u1(t){return function(e){return wl="",e}(Nc("",null,null,null,[""],t=function(e){return Dd=xl=1,qv=Vs(wl=e),io=0,[]}(t),0,[0],t))}function Nc(t,e,r,a,c,u,h,g,x){for(var _=0,N=0,F=h,P=0,H=0,ct=0,J=1,yt=1,ft=1,kt=0,Tt="",qt=c,ee=u,Ot=a,Xt=Tt;yt;)switch(ct=kt,kt=zo()){case 40:if(ct!=108&&Xt.charCodeAt(F-1)==58){Uv(Xt+=Md(kl(kt),"&","&\f"),"&\f")!=-1&&(ft=-1);break}case 34:case 39:case 91:Xt+=kl(kt);break;case 9:case 10:case 13:case 32:Xt+=Hv(ct);break;case 92:Xt+=Id(c1()-1,7);continue;case 47:switch(Mc()){case 42:case 47:Nd(Vv(Wv(zo(),c1()),e,r),x);break;default:Xt+="/"}break;case 123*J:g[_++]=Vs(Xt)*ft;case 125*J:case 59:case 0:switch(kt){case 0:case 125:yt=0;case 59+N:H>0&&Vs(Xt)-F&&Nd(H>32?Dc(Xt+";",a,r,F-1):Dc(Md(Xt," ","")+";",a,r,F-2),x);break;case 59:Xt+=";";default:if(Nd(Ot=Ug(Xt,e,r,_,N,c,g,Tt,qt=[],ee=[],F),u),kt===123)if(N===0)Nc(Xt,e,Ot,Ot,qt,u,F,g,ee);else switch(P){case 100:case 109:case 115:Nc(t,Ot,Ot,a&&Nd(Ug(t,Ot,Ot,0,0,c,g,Tt,c,qt=[],F),ee),c,ee,F,g,a?qt:ee);break;default:Nc(Xt,Ot,Ot,Ot,[""],ee,0,g,ee)}}_=N=H=0,J=ft=1,Tt=Xt="",F=h;break;case 58:F=1+Vs(Xt),H=ct;default:if(J<1){if(kt==123)--J;else if(kt==125&&J++==0&&$v()==125)continue}switch(Xt+=fu(kt),kt*J){case 38:ft=N>0?1:(Xt+="\f",-1);break;case 44:g[_++]=(Vs(Xt)-1)*ft,ft=1;break;case 64:Mc()===45&&(Xt+=kl(zo())),P=Mc(),N=F=Vs(Tt=Xt+=du(c1())),kt++;break;case 45:ct===45&&Vs(Xt)==2&&(J=0)}}return u}function Ug(t,e,r,a,c,u,h,g,x,_,N){for(var F=c-1,P=c===0?u:[""],H=Yg(P),ct=0,J=0,yt=0;ct0?P[ft]+" "+kt:Md(kt,/&\f/g,P[ft])))&&(x[yt++]=Tt);return Ld(t,e,r,c===0?Pg:g,x,_,N)}function Vv(t,e,r){return Ld(t,e,r,s1,fu(oi),_l(t,2,-2),0)}function Dc(t,e,r,a){return Ld(t,e,r,jg,_l(t,0,a),_l(t,a+1,-1),a)}const qg="9.1.1";var pu=p(7967),Gv=p(7856),$g=p.n(Gv),Xv=function(t){var e=t.replace(/\\u[\dA-F]{4}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\u/g,""),16))});return e=(e=(e=e.replace(/\\x([0-9a-f]{2})/gi,function(r,a){return String.fromCharCode(parseInt(a,16))})).replace(/\\[\d\d\d]{3}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(r){return String.fromCharCode(parseInt(r.replace(/\\/g,""),8))})},Zv=function(t){for(var e="",r=0;r>=0;){if(!((r=t.indexOf("=0)){e+=t,r=-1;break}e+=t.substr(0,r),(r=(t=t.substr(r+1)).indexOf("<\/script>"))>=0&&(r+=9,t=t.substr(r))}var a=Xv(e);return(a=(a=(a=(a=a.replaceAll(/script>/gi,"#")).replaceAll(/javascript:/gi,"#")).replaceAll(/javascript&colon/gi,"#")).replaceAll(/onerror=/gi,"onerror:")).replaceAll(/`)}else h.securityLevel!=="loose"&&(Xt=$g().sanitize(Xt,{ADD_TAGS:["foreignobject"],ADD_ATTR:["dominant-baseline"]}));if(r!==void 0)switch(ct){case"flowchart":case"flowchart-v2":r(Xt,nr.bindFunctions);break;case"gantt":r(Xt,nc.bindFunctions);break;case"class":case"classDiagram":r(Xt,ws.bindFunctions);break;default:r(Xt)}else y.debug("CB = undefined!");Y1.forEach(function(ut){ut()}),Y1=[];var Mt=h.securityLevel==="sandbox"?"#i"+t:"#d"+t,bt=Me(Mt).node();return bt!==null&&typeof bt.remove=="function"&&Me(Mt).node().remove(),Xt},parse:function(t){t+=` +`;var e=$t(),r=tr.detectInit(t,e);r&&y.info("reinit ",r);var a,c=tr.detectType(t,e);switch(y.debug("Type "+c),c){case"gitGraph":ku.clear(),(a=ab()).parser.yy=ku;break;case"flowchart":case"flowchart-v2":nr.clear(),(a=S1()).parser.yy=nr;break;case"sequence":Z2.clear(),(a=yb()).parser.yy=Z2;break;case"gantt":(a=M_()).parser.yy=nc;break;case"class":case"classDiagram":(a=u_()).parser.yy=ws;break;case"state":case"stateDiagram":(a=ne()).parser.yy=qr;break;case"info":y.debug("info info info"),(a=q2()).parser.yy=ub;break;case"pie":y.debug("pie"),(a=hb()).parser.yy=W2;break;case"er":y.debug("er"),(a=I3()).parser.yy=ja;break;case"journey":y.debug("Journey"),(a=U6()).parser.yy=u6;break;case"requirement":case"requirementDiagram":y.debug("RequirementDiagram"),(a=fb()).parser.yy=Ts}return a.parser.yy.graphType=c,a.parser.yy.parseError=function(u,h){throw{str:u,hash:h}},a.parse(t),a},parseDirective:function(t,e,r,a){try{if(e!==void 0)switch(e=e.trim(),r){case"open_directive":J2={};break;case"type_directive":J2.type=e.toLowerCase();break;case"arg_directive":J2.args=JSON.parse(e);break;case"close_directive":(function(c,u,h){switch(y.debug("Directive type=".concat(u.type," with args:"),u.args),u.type){case"init":case"initialize":["config"].forEach(function(g){u.args[g]!==void 0&&(h==="flowchart-v2"&&(h="flowchart"),u.args[h]=u.args[g],delete u.args[g])}),y.debug("sanitize in handleDirective",u.args),qd(u.args),y.debug("sanitize in handleDirective (done)",u.args),u.args,o2(u.args);break;case"wrap":case"nowrap":c&&c.setWrap&&c.setWrap(u.type==="wrap");break;case"themeCss":y.warn("themeCss encountered");break;default:y.warn("Unhandled directive: source: '%%{".concat(u.type,": ").concat(JSON.stringify(u.args?u.args:{}),"}%%"),u)}})(t,J2,a),J2=null}}catch(c){y.error("Error while rendering sequenceDiagram directive: ".concat(e," jison context: ").concat(r)),y.error(c.message)}},initialize:function(t){t&&t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),function(r){a2=Hi({},r)}(t),t&&t.theme&&Zs[t.theme]?t.themeVariables=Zs[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Zs.default.getThemeVariables(t.themeVariables));var e=G_(t)==="object"?function(r){return Oi=Hi({},Sl),Oi=Hi(Oi,r),r.theme&&Zs[r.theme]&&(Oi.themeVariables=Zs[r.theme].getThemeVariables(r.themeVariables)),Ml=$d(Oi,Al),Oi}(t):d3();b6(e),C(e.logLevel)},reinitialize:function(){},getConfig:$t,setConfig:function(t){return Hi(Ml,t),$t()},getSiteConfig:d3,updateSiteConfig:function(t){return Oi=Hi(Oi,t),$d(Oi,Al),Oi},reset:function(){d1()},globalReset:function(){d1(),b6($t())},defaultConfig:Sl});C($t().logLevel),d1($t());const Gi=Z6;var Q6=function(){var t,e,r=Gi.getConfig();arguments.length>=2?(arguments[0]!==void 0&&(xo.sequenceConfig=arguments[0]),t=arguments[1]):t=arguments[0],typeof arguments[arguments.length-1]=="function"?(e=arguments[arguments.length-1],y.debug("Callback function found")):r.mermaid!==void 0&&(typeof r.mermaid.callback=="function"?(e=r.mermaid.callback,y.debug("Callback function found")):y.debug("No Callback function found")),t=t===void 0?document.querySelectorAll(".mermaid"):typeof t=="string"?document.querySelectorAll(t):t instanceof window.Node?[t]:t,y.debug("Start On Load before: "+xo.startOnLoad),xo.startOnLoad!==void 0&&(y.debug("Start On Load inner: "+xo.startOnLoad),Gi.updateSiteConfig({startOnLoad:xo.startOnLoad})),xo.ganttConfig!==void 0&&Gi.updateSiteConfig({gantt:xo.ganttConfig});for(var a,c=new tr.initIdGeneratior(r.deterministicIds,r.deterministicIDSeed),u=function(g){var x=t[g];if(x.getAttribute("data-processed"))return"continue";x.setAttribute("data-processed",!0);var _="mermaid-".concat(c.next());a=x.innerHTML,a=tr.entityDecode(a).trim().replace(//gi,"
");var N=tr.detectInit(a);N&&y.debug("Detected early reinit: ",N),Gi.render(_,a,function(F,P){x.innerHTML=F,e!==void 0&&e(_),P&&P(x)},x)},h=0;h{S.exports={graphlib:p(6614),dagre:p(1463),intersect:p(8114),render:p(5787),util:p(8355),version:p(5689)}},9144:(S,O,p)=>{var v=p(8355);function f(k,y,C,A){var M=k.append("marker").attr("id",y).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");v.applyStyle(M,C[A+"Style"]),C[A+"Class"]&&M.attr("class",C[A+"Class"])}S.exports={default:f,normal:f,vee:function(k,y,C,A){var M=k.append("marker").attr("id",y).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");v.applyStyle(M,C[A+"Style"]),C[A+"Class"]&&M.attr("class",C[A+"Class"])},undirected:function(k,y,C,A){var M=k.append("marker").attr("id",y).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");v.applyStyle(M,C[A+"Style"]),C[A+"Class"]&&M.attr("class",C[A+"Class"])}}},5632:(S,O,p)=>{var v=p(8355),f=p(4322),k=p(1322);S.exports=function(y,C){var A,M=C.nodes().filter(function(B){return v.isSubgraph(C,B)}),R=y.selectAll("g.cluster").data(M,function(B){return B});return R.selectAll("*").remove(),R.enter().append("g").attr("class","cluster").attr("id",function(B){return C.node(B).id}).style("opacity",0),R=y.selectAll("g.cluster"),v.applyTransition(R,C).style("opacity",1),R.each(function(B){var Y=C.node(B),G=f.select(this);f.select(this).append("rect");var Q=G.append("g").attr("class","label");k(Q,Y,Y.clusterLabelPos)}),R.selectAll("rect").each(function(B){var Y=C.node(B),G=f.select(this);v.applyStyle(G,Y.style)}),A=R.exit?R.exit():R.selectAll(null),v.applyTransition(A,C).style("opacity",0).remove(),R}},6315:(S,O,p)=>{var v=p(1034),f=p(1322),k=p(8355),y=p(4322);S.exports=function(C,A){var M,R=C.selectAll("g.edgeLabel").data(A.edges(),function(B){return k.edgeToId(B)}).classed("update",!0);return R.exit().remove(),R.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(R=C.selectAll("g.edgeLabel")).each(function(B){var Y=y.select(this);Y.select(".label").remove();var G=A.edge(B),Q=f(Y,A.edge(B),0,0).classed("label",!0),K=Q.node().getBBox();G.labelId&&Q.attr("id",G.labelId),v.has(G,"width")||(G.width=K.width),v.has(G,"height")||(G.height=K.height)}),M=R.exit?R.exit():R.selectAll(null),k.applyTransition(M,A).style("opacity",0).remove(),R}},940:(S,O,p)=>{var v=p(1034),f=p(3042),k=p(8355),y=p(4322);function C(A,M){var R=(y.line||y.svg.line)().x(function(B){return B.x}).y(function(B){return B.y});return(R.curve||R.interpolate)(A.curve),R(M)}S.exports=function(A,M,R){var B=A.selectAll("g.edgePath").data(M.edges(),function(Q){return k.edgeToId(Q)}).classed("update",!0),Y=function(Q,K){var gt=Q.enter().append("g").attr("class","edgePath").style("opacity",0);return gt.append("path").attr("class","path").attr("d",function(tt){var Lt=K.edge(tt),at=K.node(tt.v).elem;return C(Lt,v.range(Lt.points.length).map(function(){return At=(vt=at).getBBox(),{x:(Zt=vt.ownerSVGElement.getScreenCTM().inverse().multiply(vt.getScreenCTM()).translate(At.width/2,At.height/2)).e,y:Zt.f};var vt,At,Zt}))}),gt.append("defs"),gt}(B,M);(function(Q,K){var gt=Q.exit();k.applyTransition(gt,K).style("opacity",0).remove()})(B,M);var G=B.merge!==void 0?B.merge(Y):B;return k.applyTransition(G,M).style("opacity",1),G.each(function(Q){var K=y.select(this),gt=M.edge(Q);gt.elem=this,gt.id&&K.attr("id",gt.id),k.applyClass(K,gt.class,(K.classed("update")?"update ":"")+"edgePath")}),G.selectAll("path.path").each(function(Q){var K=M.edge(Q);K.arrowheadId=v.uniqueId("arrowhead");var gt=y.select(this).attr("marker-end",function(){return"url("+(tt=location.href,Lt=K.arrowheadId,tt.split("#")[0]+"#"+Lt+")");var tt,Lt}).style("fill","none");k.applyTransition(gt,M).attr("d",function(tt){return function(Lt,at){var vt=Lt.edge(at),At=Lt.node(at.v),Zt=Lt.node(at.w),zt=vt.points.slice(1,vt.points.length-1);return zt.unshift(f(At,zt[0])),zt.push(f(Zt,zt[zt.length-1])),C(vt,zt)}(M,tt)}),k.applyStyle(gt,K.style)}),G.selectAll("defs *").remove(),G.selectAll("defs").each(function(Q){var K=M.edge(Q);(0,R[K.arrowhead])(y.select(this),K.arrowheadId,K,"arrowhead")}),G}},607:(S,O,p)=>{var v=p(1034),f=p(1322),k=p(8355),y=p(4322);S.exports=function(C,A,M){var R,B=A.nodes().filter(function(G){return!k.isSubgraph(A,G)}),Y=C.selectAll("g.node").data(B,function(G){return G}).classed("update",!0);return Y.exit().remove(),Y.enter().append("g").attr("class","node").style("opacity",0),(Y=C.selectAll("g.node")).each(function(G){var Q=A.node(G),K=y.select(this);k.applyClass(K,Q.class,(K.classed("update")?"update ":"")+"node"),K.select("g.label").remove();var gt=K.append("g").attr("class","label"),tt=f(gt,Q),Lt=M[Q.shape],at=v.pick(tt.node().getBBox(),"width","height");Q.elem=this,Q.id&&K.attr("id",Q.id),Q.labelId&>.attr("id",Q.labelId),v.has(Q,"width")&&(at.width=Q.width),v.has(Q,"height")&&(at.height=Q.height),at.width+=Q.paddingLeft+Q.paddingRight,at.height+=Q.paddingTop+Q.paddingBottom,gt.attr("transform","translate("+(Q.paddingLeft-Q.paddingRight)/2+","+(Q.paddingTop-Q.paddingBottom)/2+")");var vt=y.select(this);vt.select(".label-container").remove();var At=Lt(vt,at,Q).classed("label-container",!0);k.applyStyle(At,Q.style);var Zt=At.node().getBBox();Q.width=Zt.width,Q.height=Zt.height}),R=Y.exit?Y.exit():Y.selectAll(null),k.applyTransition(R,A).style("opacity",0).remove(),Y}},4322:(S,O,p)=>{var v;if(!v)try{v=p(7188)}catch{}v||(v=window.d3),S.exports=v},1463:(S,O,p)=>{var v;try{v=p(681)}catch{}v||(v=window.dagre),S.exports=v},6614:(S,O,p)=>{var v;try{v=p(8282)}catch{}v||(v=window.graphlib),S.exports=v},8114:(S,O,p)=>{S.exports={node:p(3042),circle:p(6587),ellipse:p(3260),polygon:p(5337),rect:p(8049)}},6587:(S,O,p)=>{var v=p(3260);S.exports=function(f,k,y){return v(f,k,k,y)}},3260:S=>{S.exports=function(O,p,v,f){var k=O.x,y=O.y,C=k-f.x,A=y-f.y,M=Math.sqrt(p*p*A*A+v*v*C*C),R=Math.abs(p*v*C/M);f.x{function O(p,v){return p*v>0}S.exports=function(p,v,f,k){var y,C,A,M,R,B,Y,G,Q,K,gt,tt,Lt;if(y=v.y-p.y,A=p.x-v.x,R=v.x*p.y-p.x*v.y,Q=y*f.x+A*f.y+R,K=y*k.x+A*k.y+R,!(Q!==0&&K!==0&&O(Q,K)||(C=k.y-f.y,M=f.x-k.x,B=k.x*f.y-f.x*k.y,Y=C*p.x+M*p.y+B,G=C*v.x+M*v.y+B,Y!==0&&G!==0&&O(Y,G)||(gt=y*M-C*A)==0)))return tt=Math.abs(gt/2),{x:(Lt=A*B-M*R)<0?(Lt-tt)/gt:(Lt+tt)/gt,y:(Lt=C*R-y*B)<0?(Lt-tt)/gt:(Lt+tt)/gt}}},3042:S=>{S.exports=function(O,p){return O.intersect(p)}},5337:(S,O,p)=>{var v=p(6808);S.exports=function(f,k,y){var C=f.x,A=f.y,M=[],R=Number.POSITIVE_INFINITY,B=Number.POSITIVE_INFINITY;k.forEach(function(Lt){R=Math.min(R,Lt.x),B=Math.min(B,Lt.y)});for(var Y=C-f.width/2-R,G=A-f.height/2-B,Q=0;Q1&&M.sort(function(Lt,at){var vt=Lt.x-y.x,At=Lt.y-y.y,Zt=Math.sqrt(vt*vt+At*At),zt=at.x-y.x,xt=at.y-y.y,jt=Math.sqrt(zt*zt+xt*xt);return Zt{S.exports=function(O,p){var v,f,k=O.x,y=O.y,C=p.x-k,A=p.y-y,M=O.width/2,R=O.height/2;return Math.abs(A)*M>Math.abs(C)*R?(A<0&&(R=-R),v=A===0?0:R*C/A,f=R):(C<0&&(M=-M),v=M,f=C===0?0:M*A/C),{x:k+v,y:y+f}}},8284:(S,O,p)=>{var v=p(8355);S.exports=function(f,k){var y=f.append("foreignObject").attr("width","100000"),C=y.append("xhtml:div");C.attr("xmlns","http://www.w3.org/1999/xhtml");var A=k.label;switch(typeof A){case"function":C.insert(A);break;case"object":C.insert(function(){return A});break;default:C.html(A)}v.applyStyle(C,k.labelStyle),C.style("display","inline-block"),C.style("white-space","nowrap");var M=C.node().getBoundingClientRect();return y.attr("width",M.width).attr("height",M.height),y}},1322:(S,O,p)=>{var v=p(7318),f=p(8284),k=p(8287);S.exports=function(y,C,A){var M=C.label,R=y.append("g");C.labelType==="svg"?k(R,C):typeof M!="string"||C.labelType==="html"?f(R,C):v(R,C);var B,Y=R.node().getBBox();switch(A){case"top":B=-C.height/2;break;case"bottom":B=C.height/2-Y.height;break;default:B=-Y.height/2}return R.attr("transform","translate("+-Y.width/2+","+B+")"),R}},8287:(S,O,p)=>{var v=p(8355);S.exports=function(f,k){var y=f;return y.node().appendChild(k.label),v.applyStyle(y,k.labelStyle),y}},7318:(S,O,p)=>{var v=p(8355);S.exports=function(f,k){for(var y=f.append("text"),C=function(M){for(var R,B="",Y=!1,G=0;G{var v;try{v={defaults:p(1747),each:p(6073),isFunction:p(3560),isPlainObject:p(8630),pick:p(9722),has:p(8721),range:p(6026),uniqueId:p(3955)}}catch{}v||(v=window._),S.exports=v},6381:(S,O,p)=>{var v=p(8355),f=p(4322);S.exports=function(k,y){var C=k.filter(function(){return!f.select(this).classed("update")});function A(M){var R=y.node(M);return"translate("+R.x+","+R.y+")"}C.attr("transform",A),v.applyTransition(k,y).style("opacity",1).attr("transform",A),v.applyTransition(C.selectAll("rect"),y).attr("width",function(M){return y.node(M).width}).attr("height",function(M){return y.node(M).height}).attr("x",function(M){return-y.node(M).width/2}).attr("y",function(M){return-y.node(M).height/2})}},4577:(S,O,p)=>{var v=p(8355),f=p(4322),k=p(1034);S.exports=function(y,C){function A(M){var R=C.edge(M);return k.has(R,"x")?"translate("+R.x+","+R.y+")":""}y.filter(function(){return!f.select(this).classed("update")}).attr("transform",A),v.applyTransition(y,C).style("opacity",1).attr("transform",A)}},4849:(S,O,p)=>{var v=p(8355),f=p(4322);S.exports=function(k,y){function C(A){var M=y.node(A);return"translate("+M.x+","+M.y+")"}k.filter(function(){return!f.select(this).classed("update")}).attr("transform",C),v.applyTransition(k,y).style("opacity",1).attr("transform",C)}},5787:(S,O,p)=>{var v=p(1034),f=p(4322),k=p(1463).layout;S.exports=function(){var M=p(607),R=p(5632),B=p(6315),Y=p(940),G=p(4849),Q=p(4577),K=p(6381),gt=p(4418),tt=p(9144),Lt=function(at,vt){(function(lt){lt.nodes().forEach(function(et){var st=lt.node(et);v.has(st,"label")||lt.children(et).length||(st.label=et),v.has(st,"paddingX")&&v.defaults(st,{paddingLeft:st.paddingX,paddingRight:st.paddingX}),v.has(st,"paddingY")&&v.defaults(st,{paddingTop:st.paddingY,paddingBottom:st.paddingY}),v.has(st,"padding")&&v.defaults(st,{paddingLeft:st.padding,paddingRight:st.padding,paddingTop:st.padding,paddingBottom:st.padding}),v.defaults(st,y),v.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function($){st[$]=Number(st[$])}),v.has(st,"width")&&(st._prevWidth=st.width),v.has(st,"height")&&(st._prevHeight=st.height)}),lt.edges().forEach(function(et){var st=lt.edge(et);v.has(st,"label")||(st.label=""),v.defaults(st,C)})})(vt);var At=A(at,"output"),Zt=A(At,"clusters"),zt=A(At,"edgePaths"),xt=B(A(At,"edgeLabels"),vt),jt=M(A(At,"nodes"),vt,gt);k(vt),G(jt,vt),Q(xt,vt),Y(zt,vt,tt);var Bt=R(Zt,vt);K(Bt,vt),function(lt){v.each(lt.nodes(),function(et){var st=lt.node(et);v.has(st,"_prevWidth")?st.width=st._prevWidth:delete st.width,v.has(st,"_prevHeight")?st.height=st._prevHeight:delete st.height,delete st._prevWidth,delete st._prevHeight})}(vt)};return Lt.createNodes=function(at){return arguments.length?(M=at,Lt):M},Lt.createClusters=function(at){return arguments.length?(R=at,Lt):R},Lt.createEdgeLabels=function(at){return arguments.length?(B=at,Lt):B},Lt.createEdgePaths=function(at){return arguments.length?(Y=at,Lt):Y},Lt.shapes=function(at){return arguments.length?(gt=at,Lt):gt},Lt.arrows=function(at){return arguments.length?(tt=at,Lt):tt},Lt};var y={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},C={arrowhead:"normal",curve:f.curveLinear};function A(M,R){var B=M.select("g."+R);return B.empty()&&(B=M.append("g").attr("class",R)),B}},4418:(S,O,p)=>{var v=p(8049),f=p(3260),k=p(6587),y=p(5337);S.exports={rect:function(C,A,M){var R=C.insert("rect",":first-child").attr("rx",M.rx).attr("ry",M.ry).attr("x",-A.width/2).attr("y",-A.height/2).attr("width",A.width).attr("height",A.height);return M.intersect=function(B){return v(M,B)},R},ellipse:function(C,A,M){var R=A.width/2,B=A.height/2,Y=C.insert("ellipse",":first-child").attr("x",-A.width/2).attr("y",-A.height/2).attr("rx",R).attr("ry",B);return M.intersect=function(G){return f(M,R,B,G)},Y},circle:function(C,A,M){var R=Math.max(A.width,A.height)/2,B=C.insert("circle",":first-child").attr("x",-A.width/2).attr("y",-A.height/2).attr("r",R);return M.intersect=function(Y){return k(M,R,Y)},B},diamond:function(C,A,M){var R=A.width*Math.SQRT2/2,B=A.height*Math.SQRT2/2,Y=[{x:0,y:-B},{x:-R,y:0},{x:0,y:B},{x:R,y:0}],G=C.insert("polygon",":first-child").attr("points",Y.map(function(Q){return Q.x+","+Q.y}).join(" "));return M.intersect=function(Q){return y(M,Y,Q)},G}}},8355:(S,O,p)=>{var v=p(1034);S.exports={isSubgraph:function(y,C){return!!y.children(C).length},edgeToId:function(y){return k(y.v)+":"+k(y.w)+":"+k(y.name)},applyStyle:function(y,C){C&&y.attr("style",C)},applyClass:function(y,C,A){C&&y.attr("class",C).attr("class",A+" "+y.attr("class"))},applyTransition:function(y,C){var A=C.graph();if(v.isPlainObject(A)){var M=A.transition;if(v.isFunction(M))return M(y)}return y}};var f=/:/g;function k(y){return y?String(y).replace(f,"\\:"):""}},5689:S=>{S.exports="0.6.4"},7188:(S,O,p)=>{p.r(O),p.d(O,{FormatSpecifier:()=>wf,active:()=>Fb,arc:()=>x_,area:()=>U3,areaRadial:()=>W3,ascending:()=>f,autoType:()=>o4,axisBottom:()=>Ve,axisLeft:()=>Je,axisRight:()=>Ue,axisTop:()=>De,bisect:()=>M,bisectLeft:()=>A,bisectRight:()=>C,bisector:()=>k,blob:()=>_4,brush:()=>G0,brushSelection:()=>Yb,brushX:()=>of,brushY:()=>zb,buffer:()=>Xy,chord:()=>Z0,clientPoint:()=>Wc,cluster:()=>v5,color:()=>Aa,contourDensity:()=>gh,contours:()=>Ni,create:()=>x2,creator:()=>Er,cross:()=>Y,csv:()=>Zy,csvFormat:()=>Qb,csvFormatBody:()=>Kb,csvFormatRow:()=>t4,csvFormatRows:()=>Jb,csvFormatValue:()=>Ly,csvParse:()=>Dy,csvParseRows:()=>Zb,cubehelix:()=>da,curveBasis:()=>jl,curveBasisClosed:()=>Q3,curveBasisOpen:()=>K3,curveBundle:()=>J3,curveCardinal:()=>Pc,curveCardinalClosed:()=>M_,curveCardinalOpen:()=>tb,curveCatmullRom:()=>l0,curveCatmullRomClosed:()=>ao,curveCatmullRomOpen:()=>h0,curveLinear:()=>n0,curveLinearClosed:()=>Wo,curveMonotoneX:()=>rb,curveMonotoneY:()=>U2,curveNatural:()=>ab,curveStep:()=>za,curveStepAfter:()=>I1,curveStepBefore:()=>zl,customEvent:()=>zr,descending:()=>G,deviation:()=>gt,dispatch:()=>Ze,drag:()=>Ay,dragDisable:()=>ji,dragEnable:()=>Mr,dsv:()=>k4,dsvFormat:()=>yh,easeBack:()=>Wy,easeBackIn:()=>m4,easeBackInOut:()=>Wy,easeBackOut:()=>v4,easeBounce:()=>mh,easeBounceIn:()=>Hy,easeBounceInOut:()=>y4,easeBounceOut:()=>mh,easeCircle:()=>$y,easeCircleIn:()=>p4,easeCircleInOut:()=>$y,easeCircleOut:()=>g4,easeCubic:()=>lc,easeCubicIn:()=>Q1,easeCubicInOut:()=>lc,easeCubicOut:()=>K1,easeElastic:()=>mp,easeElasticIn:()=>b4,easeElasticInOut:()=>Vy,easeElasticOut:()=>mp,easeExp:()=>qy,easeExpIn:()=>Uy,easeExpInOut:()=>qy,easeExpOut:()=>d4,easeLinear:()=>Iy,easePoly:()=>Fy,easePolyIn:()=>l4,easePolyInOut:()=>Fy,easePolyOut:()=>h4,easeQuad:()=>Ry,easeQuadIn:()=>c4,easeQuadInOut:()=>Ry,easeQuadOut:()=>u4,easeSin:()=>zy,easeSinIn:()=>Yy,easeSinInOut:()=>zy,easeSinOut:()=>f4,entries:()=>rp,event:()=>we,extent:()=>tt,forceCenter:()=>S4,forceCollide:()=>D4,forceLink:()=>B4,forceManyBody:()=>F4,forceRadial:()=>P4,forceSimulation:()=>R4,forceX:()=>nm,forceY:()=>wp,format:()=>Tf,formatDefaultLocale:()=>um,formatLocale:()=>cm,formatPrefix:()=>Tp,formatSpecifier:()=>_h,geoAlbers:()=>iv,geoAlbersUsa:()=>zs,geoArea:()=>Y4,geoAzimuthalEqualArea:()=>s5,geoAzimuthalEqualAreaRaw:()=>ag,geoAzimuthalEquidistant:()=>sg,geoAzimuthalEquidistantRaw:()=>og,geoBounds:()=>Mh,geoCentroid:()=>q4,geoCircle:()=>$4,geoClipAntimeridian:()=>zp,geoClipCircle:()=>Lm,geoClipExtent:()=>W4,geoClipRectangle:()=>Uf,geoConicConformal:()=>u5,geoConicConformalRaw:()=>ug,geoConicEqualArea:()=>rd,geoConicEqualAreaRaw:()=>rv,geoConicEquidistant:()=>ov,geoConicEquidistantRaw:()=>av,geoContains:()=>jm,geoDistance:()=>Vf,geoEqualEarth:()=>h5,geoEqualEarthRaw:()=>lg,geoEquirectangular:()=>l5,geoEquirectangularRaw:()=>Hh,geoGnomonic:()=>sv,geoGnomonicRaw:()=>Xh,geoGraticule:()=>Um,geoGraticule10:()=>K4,geoIdentity:()=>ad,geoInterpolate:()=>J4,geoLength:()=>Bm,geoMercator:()=>c5,geoMercatorRaw:()=>qh,geoNaturalEarth1:()=>f5,geoNaturalEarth1Raw:()=>hg,geoOrthographic:()=>d5,geoOrthographicRaw:()=>fg,geoPath:()=>n5,geoProjection:()=>Ro,geoProjectionMutator:()=>ng,geoRotation:()=>Pp,geoStereographic:()=>p5,geoStereographicRaw:()=>dg,geoStream:()=>Mo,geoTransform:()=>r5,geoTransverseMercator:()=>g5,geoTransverseMercatorRaw:()=>od,gray:()=>$b,hcl:()=>dc,hierarchy:()=>pg,histogram:()=>Dt,hsl:()=>Bu,html:()=>Jy,image:()=>Ky,interpolate:()=>Hc,interpolateArray:()=>k0,interpolateBasis:()=>Or,interpolateBasisClosed:()=>qc,interpolateBlues:()=>E3,interpolateBrBG:()=>l_,interpolateBuGn:()=>br,interpolateBuPu:()=>v3,interpolateCividis:()=>B3,interpolateCool:()=>b2,interpolateCubehelix:()=>bd,interpolateCubehelixDefault:()=>O3,interpolateCubehelixLong:()=>e1,interpolateDate:()=>V1,interpolateDiscrete:()=>A5,interpolateGnBu:()=>p_,interpolateGreens:()=>A3,interpolateGreys:()=>ta,interpolateHcl:()=>fs,interpolateHclLong:()=>Po,interpolateHsl:()=>M5,interpolateHslLong:()=>N5,interpolateHue:()=>gd,interpolateInferno:()=>v_,interpolateLab:()=>md,interpolateMagma:()=>F3,interpolateNumber:()=>la,interpolateNumberArray:()=>Kl,interpolateObject:()=>G1,interpolateOrRd:()=>Qd,interpolateOranges:()=>v2,interpolatePRGn:()=>Ol,interpolatePiYG:()=>h_,interpolatePlasma:()=>_2,interpolatePuBu:()=>y_,interpolatePuBuGn:()=>g_,interpolatePuOr:()=>p2,interpolatePuRd:()=>m_,interpolatePurples:()=>Jd,interpolateRainbow:()=>ja,interpolateRdBu:()=>Xd,interpolateRdGy:()=>f_,interpolateRdPu:()=>k3,interpolateRdYlBu:()=>d_,interpolateRdYlGn:()=>Pa,interpolateReds:()=>D3,interpolateRgb:()=>uc,interpolateRgbBasis:()=>Iu,interpolateRgbBasisClosed:()=>ko,interpolateRound:()=>_g,interpolateSinebow:()=>Oc,interpolateSpectral:()=>Ei,interpolateString:()=>To,interpolateTransformCss:()=>C0,interpolateTransformSvg:()=>E0,interpolateTurbo:()=>Gr,interpolateViridis:()=>R3,interpolateWarm:()=>w1,interpolateYlGn:()=>Ks,interpolateYlGnBu:()=>_1,interpolateYlOrBr:()=>Kd,interpolateYlOrRd:()=>C3,interpolateZoom:()=>yd,interrupt:()=>fa,interval:()=>R1,isoFormat:()=>Yc,isoParse:()=>B_,json:()=>C4,keys:()=>uh,lab:()=>lh,lch:()=>op,line:()=>r0,lineRadial:()=>H3,linkHorizontal:()=>S_,linkRadial:()=>N2,linkVertical:()=>M2,local:()=>C1,map:()=>Bs,matcher:()=>Sr,max:()=>ae,mean:()=>Ee,median:()=>Pe,merge:()=>le,min:()=>oe,mouse:()=>As,namespace:()=>Yn,namespaces:()=>gn,nest:()=>qb,now:()=>X,pack:()=>T5,packEnclose:()=>lv,packSiblings:()=>mv,pairs:()=>R,partition:()=>Fo,path:()=>Ls,permute:()=>he,pie:()=>T_,piecewise:()=>wg,pointRadial:()=>M1,polygonArea:()=>Ev,polygonCentroid:()=>D5,polygonContains:()=>Tg,polygonHull:()=>kg,polygonLength:()=>Av,precisionFixed:()=>Cp,precisionPrefix:()=>lm,precisionRound:()=>hm,quadtree:()=>vh,quantile:()=>z,quantize:()=>Cv,radialArea:()=>W3,radialLine:()=>H3,randomBates:()=>ps,randomExponential:()=>O5,randomIrwinHall:()=>vl,randomLogNormal:()=>ml,randomNormal:()=>n1,randomUniform:()=>_d,range:()=>zt,rgb:()=>Ui,ribbon:()=>J0,scaleBand:()=>kd,scaleDiverging:()=>g1,scaleDivergingLog:()=>l2,scaleDivergingPow:()=>h2,scaleDivergingSqrt:()=>y1,scaleDivergingSymlog:()=>Vd,scaleIdentity:()=>Mg,scaleImplicit:()=>Cg,scaleLinear:()=>Ag,scaleLog:()=>Ov,scaleOrdinal:()=>wd,scalePoint:()=>r1,scalePow:()=>Og,scaleQuantile:()=>jv,scaleQuantize:()=>Yv,scaleSequential:()=>Wd,scaleSequentialLog:()=>Ci,scaleSequentialPow:()=>Dl,scaleSequentialQuantile:()=>Ll,scaleSequentialSqrt:()=>p1,scaleSequentialSymlog:()=>u2,scaleSqrt:()=>j5,scaleSymlog:()=>Fv,scaleThreshold:()=>zv,scaleTime:()=>o_,scaleUtc:()=>_s,scan:()=>be,schemeAccent:()=>ws,schemeBlues:()=>bu,schemeBrBG:()=>y3,schemeBuGn:()=>ks,schemeBuPu:()=>vo,schemeCategory10:()=>p3,schemeDark2:()=>s_,schemeGnBu:()=>b1,schemeGreens:()=>S3,schemeGreys:()=>x1,schemeOrRd:()=>b3,schemeOranges:()=>L3,schemePRGn:()=>d2,schemePaired:()=>m1,schemePastel1:()=>c_,schemePastel2:()=>Ii,schemePiYG:()=>Gd,schemePuBu:()=>_3,schemePuBuGn:()=>y2,schemePuOr:()=>Fa,schemePuRd:()=>x3,schemePurples:()=>M3,schemeRdBu:()=>v1,schemeRdGy:()=>g2,schemeRdPu:()=>w3,schemeRdYlBu:()=>m3,schemeRdYlGn:()=>Zd,schemeReds:()=>N3,schemeSet1:()=>Lc,schemeSet2:()=>u_,schemeSet3:()=>g3,schemeSpectral:()=>aa,schemeTableau10:()=>f2,schemeYlGn:()=>Il,schemeYlGnBu:()=>T3,schemeYlOrBr:()=>Bc,schemeYlOrRd:()=>m2,select:()=>$r,selectAll:()=>P3,selection:()=>pi,selector:()=>Qn,selectorAll:()=>nn,set:()=>fc,shuffle:()=>Ne,stack:()=>N_,stackOffsetDiverging:()=>cb,stackOffsetExpand:()=>sb,stackOffsetNone:()=>rc,stackOffsetSilhouette:()=>ub,stackOffsetWiggle:()=>D_,stackOrderAppearance:()=>q2,stackOrderAscending:()=>$2,stackOrderDescending:()=>hb,stackOrderInsideOut:()=>d0,stackOrderNone:()=>Tu,stackOrderReverse:()=>H2,stratify:()=>hd,style:()=>sn,sum:()=>de,svg:()=>xf,symbol:()=>I2,symbolCircle:()=>Rl,symbolCross:()=>Ho,symbolDiamond:()=>Fl,symbolSquare:()=>xu,symbolStar:()=>o0,symbolTriangle:()=>N1,symbolWye:()=>O2,symbols:()=>A_,text:()=>Wu,thresholdFreedmanDiaconis:()=>Kt,thresholdScott:()=>_t,thresholdSturges:()=>$,tickFormat:()=>Yo,tickIncrement:()=>et,tickStep:()=>st,ticks:()=>lt,timeDay:()=>oi,timeDays:()=>wl,timeFormat:()=>yu,timeFormatDefaultLocale:()=>Al,timeFormatLocale:()=>h1,timeFriday:()=>_l,timeFridays:()=>xl,timeHour:()=>$v,timeHours:()=>zo,timeInterval:()=>Li,timeMillisecond:()=>Tl,timeMilliseconds:()=>Wv,timeMinute:()=>c1,timeMinutes:()=>Bd,timeMonday:()=>bl,timeMondays:()=>Nd,timeMonth:()=>Fg,timeMonths:()=>Hs,timeParse:()=>f1,timeSaturday:()=>Vs,timeSaturdays:()=>qv,timeSecond:()=>kl,timeSeconds:()=>Hv,timeSunday:()=>fu,timeSundays:()=>Yg,timeThursday:()=>Ws,timeThursdays:()=>Dd,timeTuesday:()=>Md,timeTuesdays:()=>zg,timeWednesday:()=>Uv,timeWednesdays:()=>z5,timeWeek:()=>fu,timeWeeks:()=>Yg,timeYear:()=>uu,timeYears:()=>Y5,timeout:()=>Qe,timer:()=>fe,timerFlush:()=>Te,touch:()=>ha,touches:()=>k2,transition:()=>Z1,transpose:()=>Se,tree:()=>pl,treemap:()=>pd,treemapBinary:()=>t1,treemapDice:()=>Qh,treemapResquarify:()=>bg,treemapSlice:()=>Sc,treemapSliceDice:()=>kv,treemapSquarify:()=>Ac,tsv:()=>Qy,tsvFormat:()=>Oy,tsvFormatBody:()=>n4,tsvFormatRow:()=>i4,tsvFormatRows:()=>r4,tsvFormatValue:()=>a4,tsvParse:()=>By,tsvParseRows:()=>e4,utcDay:()=>l1,utcDays:()=>Ji,utcFormat:()=>mu,utcFriday:()=>qg,utcFridays:()=>Gs,utcHour:()=>c2,utcHours:()=>vs,utcMillisecond:()=>Tl,utcMilliseconds:()=>Wv,utcMinute:()=>Uo,utcMinutes:()=>bs,utcMonday:()=>Nc,utcMondays:()=>$g,utcMonth:()=>d1,utcMonths:()=>s2,utcParse:()=>Cl,utcSaturday:()=>pu,utcSaturdays:()=>Rd,utcSecond:()=>kl,utcSeconds:()=>Hv,utcSunday:()=>u1,utcSundays:()=>Gv,utcThursday:()=>Dc,utcThursdays:()=>Qv,utcTuesday:()=>Ug,utcTuesdays:()=>Xv,utcWednesday:()=>Vv,utcWednesdays:()=>Zv,utcWeek:()=>u1,utcWeeks:()=>Gv,utcYear:()=>ys,utcYears:()=>U5,values:()=>np,variance:()=>K,version:()=>v,voronoi:()=>v0,window:()=>Un,xml:()=>E4,zip:()=>_e,zoom:()=>Y_,zoomIdentity:()=>b0,zoomTransform:()=>bb});var v="5.16.0";function f(n,i){return ni?1:n>=i?0:NaN}function k(n){var i;return n.length===1&&(i=n,n=function(o,s){return f(i(o),s)}),{left:function(o,s,l,d){for(l==null&&(l=0),d==null&&(d=o.length);l>>1;n(o[b],s)<0?l=b+1:d=b}return l},right:function(o,s,l,d){for(l==null&&(l=0),d==null&&(d=o.length);l>>1;n(o[b],s)>0?d=b:l=b+1}return l}}}var y=k(f),C=y.right,A=y.left;const M=C;function R(n,i){i==null&&(i=B);for(var o=0,s=n.length-1,l=n[0],d=new Array(s<0?0:s);on?1:i>=n?0:NaN}function Q(n){return n===null?NaN:+n}function K(n,i){var o,s,l=n.length,d=0,b=-1,m=0,w=0;if(i==null)for(;++b1)return w/(d-1)}function gt(n,i){var o=K(n,i);return o&&Math.sqrt(o)}function tt(n,i){var o,s,l,d=n.length,b=-1;if(i==null){for(;++b=o)for(s=l=o;++bo&&(s=o),l=o)for(s=l=o;++bo&&(s=o),l0)return[n];if((s=i0)for(n=Math.ceil(n/b),i=Math.floor(i/b),d=new Array(l=Math.ceil(i-n+1));++m=0?(d>=xt?10:d>=jt?5:d>=Bt?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(d>=xt?10:d>=jt?5:d>=Bt?2:1)}function st(n,i,o){var s=Math.abs(i-n)/Math.max(0,o),l=Math.pow(10,Math.floor(Math.log(s)/Math.LN10)),d=s/l;return d>=xt?l*=10:d>=jt?l*=5:d>=Bt&&(l*=2),ij;)D.pop(),--q;var W,U=new Array(q+1);for(d=0;d<=q;++d)(W=U[d]=[]).x0=d>0?D[d-1]:L,W.x1=d=1)return+o(n[s-1],s-1,n);var s,l=(s-1)*i,d=Math.floor(l),b=+o(n[d],d,n);return b+(+o(n[d+1],d+1,n)-b)*(l-d)}}function Kt(n,i,o){return n=vt.call(n,Q).sort(f),Math.ceil((o-i)/(2*(z(n,.75)-z(n,.25))*Math.pow(n.length,-1/3)))}function _t(n,i,o){return Math.ceil((o-i)/(3.5*gt(n)*Math.pow(n.length,-1/3)))}function ae(n,i){var o,s,l=n.length,d=-1;if(i==null){for(;++d=o)for(s=o;++ds&&(s=o)}else for(;++d=o)for(s=o;++ds&&(s=o);return s}function Ee(n,i){var o,s=n.length,l=s,d=-1,b=0;if(i==null)for(;++d=0;)for(i=(s=n[l]).length;--i>=0;)o[--b]=s[i];return o}function oe(n,i){var o,s,l=n.length,d=-1;if(i==null){for(;++d=o)for(s=o;++do&&(s=o)}else for(;++d=o)for(s=o;++do&&(s=o);return s}function he(n,i){for(var o=i.length,s=new Array(o);o--;)s[o]=n[i[o]];return s}function be(n,i){if(o=n.length){var o,s,l=0,d=0,b=n[d];for(i==null&&(i=f);++l=0&&(s=o.slice(l+1),o=o.slice(0,l)),o&&!i.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:s}})}function je(n,i){for(var o,s=0,l=n.length;s0)for(var o,s,l=new Array(o),d=0;di?1:n>=i?0:NaN}yn.prototype={constructor:yn,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,i){return this._parent.insertBefore(n,i)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var Dn="http://www.w3.org/1999/xhtml";const gn={svg:"http://www.w3.org/2000/svg",xhtml:Dn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Yn(n){var i=n+="",o=i.indexOf(":");return o>=0&&(i=n.slice(0,o))!=="xmlns"&&(n=n.slice(o+1)),gn.hasOwnProperty(i)?{space:gn[i],local:n}:n}function Ln(n){return function(){this.removeAttribute(n)}}function Pr(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Wn(n,i){return function(){this.setAttribute(n,i)}}function Xn(n,i){return function(){this.setAttributeNS(n.space,n.local,i)}}function Kn(n,i){return function(){var o=i.apply(this,arguments);o==null?this.removeAttribute(n):this.setAttribute(n,o)}}function Mn(n,i){return function(){var o=i.apply(this,arguments);o==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,o)}}function Un(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function Bn(n){return function(){this.style.removeProperty(n)}}function vn(n,i,o){return function(){this.style.setProperty(n,i,o)}}function Vn(n,i,o){return function(){var s=i.apply(this,arguments);s==null?this.style.removeProperty(n):this.style.setProperty(n,s,o)}}function sn(n,i){return n.style.getPropertyValue(i)||Un(n).getComputedStyle(n,null).getPropertyValue(i)}function Pn(n){return function(){delete this[n]}}function mn(n,i){return function(){this[n]=i}}function Ca(n,i){return function(){var o=i.apply(this,arguments);o==null?delete this[n]:this[n]=o}}function uo(n){return n.trim().split(/^|\s+/)}function Fi(n){return n.classList||new Fn(n)}function Fn(n){this._node=n,this._names=uo(n.getAttribute("class")||"")}function ua(n,i){for(var o=Fi(n),s=-1,l=i.length;++s=0&&(this._names.splice(i,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var On={},we=null;function Be(n,i,o){return n=sr(n,i,o),function(s){var l=s.relatedTarget;l&&(l===this||8&l.compareDocumentPosition(this))||n.call(this,s)}}function sr(n,i,o){return function(s){var l=we;we=s;try{n.call(this,this.__data__,i,o)}finally{we=l}}}function Ut(n){return n.trim().split(/^|\s+/).map(function(i){var o="",s=i.indexOf(".");return s>=0&&(o=i.slice(s+1),i=i.slice(0,s)),{type:i,name:o}})}function Ea(n){return function(){var i=this.__on;if(i){for(var o,s=0,l=-1,d=i.length;s=Pt&&(Pt=dt+1);!(rt=Z[Pt])&&++Pt=0;)(s=l[d])&&(b&&4^s.compareDocumentPosition(b)&&b.parentNode.insertBefore(s,b),b=s);return this},sort:function(n){function i(j,D){return j&&D?n(j.__data__,D.__data__):!j-!D}n||(n=wn);for(var o=this._groups,s=o.length,l=new Array(s),d=0;d1?this.each((i==null?Bn:typeof i=="function"?Vn:vn)(n,i,o==null?"":o)):sn(this.node(),n)},property:function(n,i){return arguments.length>1?this.each((i==null?Pn:typeof i=="function"?Ca:mn)(n,i)):this.node()[n]},classed:function(n,i){var o=uo(n+"");if(arguments.length<2){for(var s=Fi(this.node()),l=-1,d=o.length;++l>8&15|i>>4&240,i>>4&15|240&i,(15&i)<<4|15&i,1):o===8?ho(i>>24&255,i>>16&255,i>>8&255,(255&i)/255):o===4?ho(i>>12&15|i>>8&240,i>>8&15|i>>4&240,i>>4&15|240&i,((15&i)<<4|15&i)/255):null):(i=$e.exec(n))?new ri(i[1],i[2],i[3],1):(i=Ie.exec(n))?new ri(255*i[1]/100,255*i[2]/100,255*i[3]/100,1):(i=hr.exec(n))?ho(i[1],i[2],i[3],i[4]):(i=Br.exec(n))?ho(255*i[1]/100,255*i[2]/100,255*i[3]/100,i[4]):(i=ci.exec(n))?Xa(i[1],i[2]/100,i[3]/100,1):(i=yi.exec(n))?Xa(i[1],i[2]/100,i[3]/100,i[4]):Sa.hasOwnProperty(n)?cc(Sa[n]):n==="transparent"?new ri(NaN,NaN,NaN,0):null}function cc(n){return new ri(n>>16&255,n>>8&255,255&n,1)}function ho(n,i,o,s){return s<=0&&(n=i=o=NaN),new ri(n,i,o,s)}function Uc(n){return n instanceof pr||(n=Aa(n)),n?new ri((n=n.rgb()).r,n.g,n.b,n.opacity):new ri}function Ui(n,i,o,s){return arguments.length===1?Uc(n):new ri(n,i,o,s==null?1:s)}function ri(n,i,o,s){this.r=+n,this.g=+i,this.b=+o,this.opacity=+s}function Mu(){return"#"+Du(this.r)+Du(this.g)+Du(this.b)}function Nu(){var n=this.opacity;return((n=isNaN(n)?1:Math.max(0,Math.min(1,n)))===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(n===1?")":", "+n+")")}function Du(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function Xa(n,i,o,s){return s<=0?n=i=o=NaN:o<=0||o>=1?n=i=NaN:i<=0&&(n=NaN),new Za(n,i,o,s)}function Lu(n){if(n instanceof Za)return new Za(n.h,n.s,n.l,n.opacity);if(n instanceof pr||(n=Aa(n)),!n)return new Za;if(n instanceof Za)return n;var i=(n=n.rgb()).r/255,o=n.g/255,s=n.b/255,l=Math.min(i,o,s),d=Math.max(i,o,s),b=NaN,m=d-l,w=(d+l)/2;return m?(b=i===d?(o-s)/m+6*(o0&&w<1?0:b,new Za(b,m,w,n.opacity)}function Bu(n,i,o,s){return arguments.length===1?Lu(n):new Za(n,i,o,s==null?1:s)}function Za(n,i,o,s){this.h=+n,this.s=+i,this.l=+o,this.opacity=+s}function Ye(n,i,o){return 255*(n<60?i+(o-i)*n/60:n<180?o:n<240?i+(o-i)*(240-n)/60:i)}function Zl(n,i,o,s,l){var d=n*n,b=d*n;return((1-3*n+3*d-b)*i+(4-6*d+3*b)*o+(1+3*n+3*d-3*b)*s+b*l)/6}function Or(n){var i=n.length-1;return function(o){var s=o<=0?o=0:o>=1?(o=1,i-1):Math.floor(o*i),l=n[s],d=n[s+1],b=s>0?n[s-1]:2*l-d,m=s180||o<-180?o-360*Math.round(o/360):o):$c(isNaN(n)?i:n)}function mi(n,i){var o=i-n;return o?Ou(n,o):$c(isNaN(n)?i:n)}ni(pr,Aa,{copy:function(n){return Object.assign(new this.constructor,this,n)},displayable:function(){return this.rgb().displayable()},hex:Jr,formatHex:Jr,formatHsl:function(){return Lu(this).formatHsl()},formatRgb:zi,toString:zi}),ni(ri,Ui,gi(pr,{brighter:function(n){return n=n==null?Yi:Math.pow(Yi,n),new ri(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=n==null?Xi:Math.pow(Xi,n),new ri(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Mu,formatHex:Mu,formatRgb:Nu,toString:Nu})),ni(Za,Bu,gi(pr,{brighter:function(n){return n=n==null?Yi:Math.pow(Yi,n),new Za(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=n==null?Xi:Math.pow(Xi,n),new Za(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),i=isNaN(n)||isNaN(this.s)?0:this.s,o=this.l,s=o+(o<.5?o:1-o)*i,l=2*o-s;return new ri(Ye(n>=240?n-240:n+120,l,s),Ye(n,l,s),Ye(n<120?n+240:n-120,l,s),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return((n=isNaN(n)?1:Math.max(0,Math.min(1,n)))===1?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(n===1?")":", "+n+")")}}));const uc=function n(i){var o=function(l){return(l=+l)==1?mi:function(d,b){return b-d?function(m,w,E){return m=Math.pow(m,E),w=Math.pow(w,E)-m,E=1/E,function(L){return Math.pow(m+L*w,E)}}(d,b,l):$c(isNaN(d)?b:d)}}(i);function s(l,d){var b=o((l=Ui(l)).r,(d=Ui(d)).r),m=o(l.g,d.g),w=o(l.b,d.b),E=mi(l.opacity,d.opacity);return function(L){return l.r=b(L),l.g=m(L),l.b=w(L),l.opacity=E(L),l+""}}return s.gamma=n,s}(1);function Ql(n){return function(i){var o,s,l=i.length,d=new Array(l),b=new Array(l),m=new Array(l);for(o=0;od&&(l=i.slice(d,l),m[b]?m[b]+=l:m[++b]=l),(o=o[0])===(s=s[0])?m[b]?m[b]+=s:m[++b]=s:(m[++b]=null,w.push({i:b,x:la(o,s)})),d=th.lastIndex;return d=0&&i._call.call(null,n),i=i._next;--qi}function Le(){Zi=(Na=T.now())+Zn,qi=ui=0;try{Te()}finally{qi=0,function(){for(var n,i,o=Ru,s=1/0;o;)o._call?(s>o._time&&(s=o._time),n=o,o=o._next):(i=o._next,o._next=null,o=n?n._next=i:Ru=i);Co=n,ze(s)}(),Zi=0}}function Oe(){var n=T.now(),i=n-Na;i>1e3&&(Zn-=i,Na=n)}function ze(n){qi||(ui&&(ui=clearTimeout(ui)),n-Zi>24?(n<1/0&&(ui=setTimeout(Le,n-T.now()-Zn)),Ka&&(Ka=clearInterval(Ka))):(Ka||(Na=T.now(),Ka=setInterval(Oe,1e3)),qi=1,I(Le)))}function Qe(n,i,o){var s=new Wt;return i=i==null?0:+i,s.restart(function(l){s.stop(),n(l+i)},i,o),s}Wt.prototype=fe.prototype={constructor:Wt,restart:function(n,i,o){if(typeof n!="function")throw new TypeError("callback is not a function");o=(o==null?X():+o)+(i==null?0:+i),this._next||Co===this||(Co?Co._next=this:Ru=this,Co=this),this._call=n,this._time=o,ze()},stop:function(){this._call&&(this._call=null,this._time=1/0,ze())}};var En=Ze("start","end","cancel","interrupt"),xn=[];function fr(n,i,o,s,l,d){var b=n.__transition;if(b){if(o in b)return}else n.__transition={};(function(m,w,E){var L,j=m.__transition;function D(U){var V,Z,it,rt;if(E.state!==1)return W();for(V in j)if((rt=j[V]).name===E.name){if(rt.state===3)return Qe(D);rt.state===4?(rt.state=6,rt.timer.stop(),rt.on.call("interrupt",m,m.__data__,rt.index,rt.group),delete j[V]):+V0)throw new Error("too late; already scheduled");return o}function Ir(n,i){var o=ur(n,i);if(o.state>3)throw new Error("too late; already running");return o}function ur(n,i){var o=n.__transition;if(!o||!(o=o[i]))throw new Error("transition not found");return o}function fa(n,i){var o,s,l,d=n.__transition,b=!0;if(d){for(l in i=i==null?null:i+"",d)(o=d[l]).name===i?(s=o.state>2&&o.state<5,o.state=6,o.timer.stop(),o.on.call(s?"interrupt":"cancel",n,n.__data__,o.index,o.group),delete d[l]):b=!1;b&&delete n.__transition}}var Ms,eh,T0,nh,Eo=180/Math.PI,rh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ny(n,i,o,s,l,d){var b,m,w;return(b=Math.sqrt(n*n+i*i))&&(n/=b,i/=b),(w=n*o+i*s)&&(o-=n*w,s-=i*w),(m=Math.sqrt(o*o+s*s))&&(o/=m,s/=m,w/=m),n*s180?L+=360:L-E>180&&(E+=360),D.push({i:j.push(l(j)+"rotate(",null,s)-2,x:la(E,L)})):L&&j.push(l(j)+"rotate("+L+s)}(d.rotate,b.rotate,m,w),function(E,L,j,D){E!==L?D.push({i:j.push(l(j)+"skewX(",null,s)-2,x:la(E,L)}):L&&j.push(l(j)+"skewX("+L+s)}(d.skewX,b.skewX,m,w),function(E,L,j,D,q,W){if(E!==j||L!==D){var U=q.push(l(q)+"scale(",null,",",null,")");W.push({i:U-4,x:la(E,j)},{i:U-2,x:la(L,D)})}else j===1&&D===1||q.push(l(q)+"scale("+j+","+D+")")}(d.scaleX,d.scaleY,b.scaleX,b.scaleY,m,w),d=b=null,function(E){for(var L,j=-1,D=w.length;++j=0&&(m=m.slice(0,w)),!m||m==="start"})}(i)?gr:Ir;return function(){var b=d(this,n),m=b.on;m!==s&&(l=(s=m).copy()).on(i,o),b.on=l}}var F0=pi.prototype.constructor;function P0(n){return function(){this.style.removeProperty(n)}}function j0(n,i,o){return function(s){this.style.setProperty(n,i.call(this,s),o)}}function Y0(n,i,o){var s,l;function d(){var b=i.apply(this,arguments);return b!==l&&(s=(l=b)&&j0(n,b,o)),s}return d._value=i,d}function z0(n){return function(i){this.textContent=n.call(this,i)}}function Ob(n){var i,o;function s(){var l=n.apply(this,arguments);return l!==o&&(i=(o=l)&&z0(l)),i}return s._value=n,s}var Ib=0;function ts(n,i,o,s){this._groups=n,this._parents=i,this._name=o,this._id=s}function Z1(n){return pi().transition(n)}function U0(){return++Ib}var es=pi.prototype;function Q1(n){return n*n*n}function K1(n){return--n*n*n+1}function lc(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}ts.prototype=Z1.prototype={constructor:ts,select:function(n){var i=this._name,o=this._id;typeof n!="function"&&(n=Qn(n));for(var s=this._groups,l=s.length,d=new Array(l),b=0;b1&&o.name===i)return new ts([[n]],Rb,i,+s)}return null}function q0(n){return function(){return n}}function Pb(n,i,o){this.target=n,this.type=i,this.selection=o}function sy(){we.stopImmediatePropagation()}function $0(){we.preventDefault(),we.stopImmediatePropagation()}var cy={name:"drag"},J1={name:"space"},Gc={name:"handle"},Xc={name:"center"};function Fu(n){return[+n[0],+n[1]]}function tf(n){return[Fu(n[0]),Fu(n[1])]}function ef(n){return function(i){return ha(i,we.touches,n)}}var nf={name:"x",handles:["w","e"].map(Da),input:function(n,i){return n==null?null:[[+n[0],i[0][1]],[+n[1],i[1][1]]]},output:function(n){return n&&[n[0][0],n[1][0]]}},Pu={name:"y",handles:["n","s"].map(Da),input:function(n,i){return n==null?null:[[i[0][0],+n[0]],[i[1][0],+n[1]]]},output:function(n){return n&&[n[0][1],n[1][1]]}},Ja={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Da),input:function(n){return n==null?null:tf(n)},output:function(n){return n}},rs={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},H0={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},rf={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},uy={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},ly={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Da(n){return{type:n}}function W0(){return!we.ctrlKey&&!we.button}function V0(){var n=this.ownerSVGElement||this;return n.hasAttribute("viewBox")?[[(n=n.viewBox.baseVal).x,n.y],[n.x+n.width,n.y+n.height]]:[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]}function hy(){return navigator.maxTouchPoints||"ontouchstart"in this}function af(n){for(;!n.__brush;)if(!(n=n.parentNode))return;return n.__brush}function jb(n){return n[0][0]===n[1][0]||n[0][1]===n[1][1]}function Yb(n){var i=n.__brush;return i?i.dim.output(i.selection):null}function of(){return ah(nf)}function zb(){return ah(Pu)}function G0(){return ah(Ja)}function ah(n){var i,o=V0,s=W0,l=hy,d=!0,b=Ze("start","brush","end"),m=6;function w(V){var Z=V.property("__brush",U).selectAll(".overlay").data([Da("overlay")]);Z.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",rs.overlay).merge(Z).each(function(){var rt=af(this).extent;$r(this).attr("x",rt[0][0]).attr("y",rt[0][1]).attr("width",rt[1][0]-rt[0][0]).attr("height",rt[1][1]-rt[0][1])}),V.selectAll(".selection").data([Da("selection")]).enter().append("rect").attr("class","selection").attr("cursor",rs.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var it=V.selectAll(".handle").data(n.handles,function(rt){return rt.type});it.exit().remove(),it.enter().append("rect").attr("class",function(rt){return"handle handle--"+rt.type}).attr("cursor",function(rt){return rs[rt.type]}),V.each(E).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",D).filter(l).on("touchstart.brush",D).on("touchmove.brush",q).on("touchend.brush touchcancel.brush",W).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(){var V=$r(this),Z=af(this).selection;Z?(V.selectAll(".selection").style("display",null).attr("x",Z[0][0]).attr("y",Z[0][1]).attr("width",Z[1][0]-Z[0][0]).attr("height",Z[1][1]-Z[0][1]),V.selectAll(".handle").style("display",null).attr("x",function(it){return it.type[it.type.length-1]==="e"?Z[1][0]-m/2:Z[0][0]-m/2}).attr("y",function(it){return it.type[0]==="s"?Z[1][1]-m/2:Z[0][1]-m/2}).attr("width",function(it){return it.type==="n"||it.type==="s"?Z[1][0]-Z[0][0]+m:m}).attr("height",function(it){return it.type==="e"||it.type==="w"?Z[1][1]-Z[0][1]+m:m})):V.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function L(V,Z,it){var rt=V.__brush.emitter;return!rt||it&&rt.clean?new j(V,Z,it):rt}function j(V,Z,it){this.that=V,this.args=Z,this.state=V.__brush,this.active=0,this.clean=it}function D(){if((!i||we.touches)&&s.apply(this,arguments)){var V,Z,it,rt,dt,Pt,Vt,Jt,ke,Yt,ce,ht=this,Ct=we.target.__data__.type,ne=(d&&we.metaKey?Ct="overlay":Ct)==="selection"?cy:d&&we.altKey?Xc:Gc,Qt=n===Pu?null:uy[Ct],ie=n===nf?null:ly[Ct],Fe=af(ht),Ke=Fe.extent,Tn=Fe.selection,Sn=Ke[0][0],ar=Ke[0][1],on=Ke[1][0],yr=Ke[1][1],In=0,Nn=0,dr=Qt&&ie&&d&&we.shiftKey,Vi=we.touches?ef(we.changedTouches[0].identifier):As,wi=Vi(ht),qr=wi,zc=L(ht,arguments,!0).beforestart();Ct==="overlay"?(Tn&&(ke=!0),Fe.selection=Tn=[[V=n===Pu?Sn:wi[0],it=n===nf?ar:wi[1]],[dt=n===Pu?on:V,Vt=n===nf?yr:it]]):(V=Tn[0][0],it=Tn[0][1],dt=Tn[1][0],Vt=Tn[1][1]),Z=V,rt=it,Pt=dt,Jt=Vt;var Vl=$r(ht).attr("pointer-events","none"),na=Vl.selectAll(".overlay").attr("cursor",rs[Ct]);if(we.touches)zc.moved=kb,zc.ended=Q2;else{var wb=$r(we.view).on("mousemove.brush",kb,!0).on("mouseup.brush",Q2,!0);d&&wb.on("keydown.brush",K2,!0).on("keyup.brush",z_,!0),ji(we.view)}sy(),fa(ht),E.call(ht),zc.start()}function kb(){var _o=Vi(ht);!dr||Yt||ce||(Math.abs(_o[0]-qr[0])>Math.abs(_o[1]-qr[1])?ce=!0:Yt=!0),qr=_o,ke=!0,$0(),Su()}function Su(){var _o;switch(In=qr[0]-wi[0],Nn=qr[1]-wi[1],ne){case J1:case cy:Qt&&(In=Math.max(Sn-V,Math.min(on-dt,In)),Z=V+In,Pt=dt+In),ie&&(Nn=Math.max(ar-it,Math.min(yr-Vt,Nn)),rt=it+Nn,Jt=Vt+Nn);break;case Gc:Qt<0?(In=Math.max(Sn-V,Math.min(on-V,In)),Z=V+In,Pt=dt):Qt>0&&(In=Math.max(Sn-dt,Math.min(on-dt,In)),Z=V,Pt=dt+In),ie<0?(Nn=Math.max(ar-it,Math.min(yr-it,Nn)),rt=it+Nn,Jt=Vt):ie>0&&(Nn=Math.max(ar-Vt,Math.min(yr-Vt,Nn)),rt=it,Jt=Vt+Nn);break;case Xc:Qt&&(Z=Math.max(Sn,Math.min(on,V-In*Qt)),Pt=Math.max(Sn,Math.min(on,dt+In*Qt))),ie&&(rt=Math.max(ar,Math.min(yr,it-Nn*ie)),Jt=Math.max(ar,Math.min(yr,Vt+Nn*ie)))}Pt0&&(V=Z-In),ie<0?Vt=Jt-Nn:ie>0&&(it=rt-Nn),ne=J1,na.attr("cursor",rs.selection),Su());break;default:return}$0()}function z_(){switch(we.keyCode){case 16:dr&&(Yt=ce=dr=!1,Su());break;case 18:ne===Xc&&(Qt<0?dt=Pt:Qt>0&&(V=Z),ie<0?Vt=Jt:ie>0&&(it=rt),ne=Gc,Su());break;case 32:ne===J1&&(we.altKey?(Qt&&(dt=Pt-In*Qt,V=Z+In*Qt),ie&&(Vt=Jt-Nn*ie,it=rt+Nn*ie),ne=Xc):(Qt<0?dt=Pt:Qt>0&&(V=Z),ie<0?Vt=Jt:ie>0&&(it=rt),ne=Gc),na.attr("cursor",rs[Ct]),Su());break;default:return}$0()}}function q(){L(this,arguments).moved()}function W(){L(this,arguments).ended()}function U(){var V=this.__brush||{selection:null};return V.extent=tf(o.apply(this,arguments)),V.dim=n,V}return w.move=function(V,Z){V.selection?V.on("start.brush",function(){L(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){L(this,arguments).end()}).tween("brush",function(){var it=this,rt=it.__brush,dt=L(it,arguments),Pt=rt.selection,Vt=n.input(typeof Z=="function"?Z.apply(this,arguments):Z,rt.extent),Jt=Hc(Pt,Vt);function ke(Yt){rt.selection=Yt===1&&Vt===null?null:Jt(Yt),E.call(it),dt.brush()}return Pt!==null&&Vt!==null?ke:ke(1)}):V.each(function(){var it=this,rt=arguments,dt=it.__brush,Pt=n.input(typeof Z=="function"?Z.apply(it,rt):Z,dt.extent),Vt=L(it,rt).beforestart();fa(it),dt.selection=Pt===null?null:Pt,E.call(it),Vt.start().brush().end()})},w.clear=function(V){w.move(V,null)},j.prototype={beforestart:function(){return++this.active==1&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return--this.active==0&&(delete this.state.emitter,this.emit("end")),this},emit:function(V){zr(new Pb(w,V,n.output(this.state.selection)),b.apply,b,[V,this.that,this.args])}},w.extent=function(V){return arguments.length?(o=typeof V=="function"?V:q0(tf(V)),w):o},w.filter=function(V){return arguments.length?(s=typeof V=="function"?V:q0(!!V),w):s},w.touchable=function(V){return arguments.length?(l=typeof V=="function"?V:q0(!!V),w):l},w.handleSize=function(V){return arguments.length?(m=+V,w):m},w.keyModifiers=function(V){return arguments.length?(d=!!V,w):d},w.on=function(){var V=b.on.apply(b,arguments);return V===b?w:V},w}var fy=Math.cos,dy=Math.sin,sf=Math.PI,cf=sf/2,py=2*sf,X0=Math.max;function ju(n){return function(i,o){return n(i.source.value+i.target.value,o.source.value+o.target.value)}}function Z0(){var n=0,i=null,o=null,s=null;function l(d){var b,m,w,E,L,j,D=d.length,q=[],W=zt(D),U=[],V=[],Z=V.groups=new Array(D),it=new Array(D*D);for(b=0,L=-1;++LDs)if(Math.abs(L*m-w*E)>Ds&&l){var D=o-d,q=s-b,W=m*m+w*w,U=D*D+q*q,V=Math.sqrt(W),Z=Math.sqrt(j),it=l*Math.tan((uf-Math.acos((W+j-U)/(2*V*Z)))/2),rt=it/Z,dt=it/V;Math.abs(rt-1)>Ds&&(this._+="L"+(n+rt*E)+","+(i+rt*L)),this._+="A"+l+","+l+",0,0,"+ +(L*D>E*q)+","+(this._x1=n+dt*m)+","+(this._y1=i+dt*w)}else this._+="L"+(this._x1=n)+","+(this._y1=i)},arc:function(n,i,o,s,l,d){n=+n,i=+i,d=!!d;var b=(o=+o)*Math.cos(s),m=o*Math.sin(s),w=n+b,E=i+m,L=1^d,j=d?s-l:l-s;if(o<0)throw new Error("negative radius: "+o);this._x1===null?this._+="M"+w+","+E:(Math.abs(this._x1-w)>Ds||Math.abs(this._y1-E)>Ds)&&(this._+="L"+w+","+E),o&&(j<0&&(j=j%lf+lf),j>gy?this._+="A"+o+","+o+",0,1,"+L+","+(n-b)+","+(i-m)+"A"+o+","+o+",0,1,"+L+","+(this._x1=w)+","+(this._y1=E):j>Ds&&(this._+="A"+o+","+o+",0,"+ +(j>=uf)+","+L+","+(this._x1=n+o*Math.cos(l))+","+(this._y1=i+o*Math.sin(l))))},rect:function(n,i,o,s){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+i)+"h"+ +o+"v"+ +s+"h"+-o+"Z"},toString:function(){return this._}};const Ls=oh;function hf(n){return n.source}function Yu(n){return n.target}function yy(n){return n.radius}function my(n){return n.startAngle}function vy(n){return n.endAngle}function J0(){var n=hf,i=Yu,o=yy,s=my,l=vy,d=null;function b(){var m,w=Ub.call(arguments),E=n.apply(this,w),L=i.apply(this,w),j=+o.apply(this,(w[0]=E,w)),D=s.apply(this,w)-cf,q=l.apply(this,w)-cf,W=j*fy(D),U=j*dy(D),V=+o.apply(this,(w[0]=L,w)),Z=s.apply(this,w)-cf,it=l.apply(this,w)-cf;if(d||(d=m=Ls()),d.moveTo(W,U),d.arc(0,0,j,D,q),D===Z&&q===it||(d.quadraticCurveTo(0,0,V*fy(Z),V*dy(Z)),d.arc(0,0,V,Z,it)),d.quadraticCurveTo(0,0,W,U),d.closePath(),m)return d=null,m+""||null}return b.radius=function(m){return arguments.length?(o=typeof m=="function"?m:Q0(+m),b):o},b.startAngle=function(m){return arguments.length?(s=typeof m=="function"?m:Q0(+m),b):s},b.endAngle=function(m){return arguments.length?(l=typeof m=="function"?m:Q0(+m),b):l},b.source=function(m){return arguments.length?(n=m,b):n},b.target=function(m){return arguments.length?(i=m,b):i},b.context=function(m){return arguments.length?(d=m==null?null:m,b):d},b}var to="$";function sh(){}function tp(n,i){var o=new sh;if(n instanceof sh)n.each(function(m,w){o.set(w,m)});else if(Array.isArray(n)){var s,l=-1,d=n.length;if(i==null)for(;++l=s.length)return n!=null&&m.sort(n),i!=null?i(m):m;for(var j,D,q,W=-1,U=m.length,V=s[w++],Z=Bs(),it=E();++Ws.length)return m;var E,L=l[w-1];return i!=null&&w>=s.length?E=m.entries():(E=[],m.each(function(j,D){E.push({key:D,values:b(j,w)})})),L!=null?E.sort(function(j,D){return L(j.key,D.key)}):E}return o={object:function(m){return d(m,0,by,_y)},map:function(m){return d(m,0,ep,xy)},entries:function(m){return b(d(m,0,ep,xy),0)},key:function(m){return s.push(m),o},sortKeys:function(m){return l[s.length-1]=m,o},sortValues:function(m){return n=m,o},rollup:function(m){return i=m,o}}}function by(){return{}}function _y(n,i,o){n[i]=o}function ep(){return Bs()}function xy(n,i,o){n.set(i,o)}function ch(){}var hc=Bs.prototype;function zu(n,i){var o=new ch;if(n instanceof ch)n.each(function(d){o.add(d)});else if(n){var s=-1,l=n.length;if(i==null)for(;++s.008856451679035631?Math.pow(n,1/3):n/wy+gf}function ap(n){return n>ip?n*n*n:wy*(n-gf)}function qu(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function Os(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function mf(n){if(n instanceof is)return new is(n.h,n.c,n.l,n.opacity);if(n instanceof So||(n=Uu(n)),n.a===0&&n.b===0)return new is(NaN,0s!=q>s&&o<(D-E)*(s-L)/(q-L)+E&&(l=-l)}return l}function dh(n,i,o){var s,l,d,b;return function(m,w,E){return(w[0]-m[0])*(E[1]-m[1])==(E[0]-m[0])*(w[1]-m[1])}(n,i,o)&&(l=n[s=+(n[0]===i[0])],d=o[s],b=i[s],l<=d&&d<=b||b<=d&&d<=l)}function Ey(){}var os=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function Ni(){var n=1,i=1,o=$,s=m;function l(w){var E=o(w);if(Array.isArray(E))E=E.slice().sort(Hb);else{var L=tt(w),j=L[0],D=L[1];E=st(j,D,E),E=zt(Math.floor(j/E)*E,Math.floor(D/E)*E,E)}return E.map(function(q){return d(w,q)})}function d(w,E){var L=[],j=[];return function(D,q,W){var U,V,Z,it,rt,dt,Pt=new Array,Vt=new Array;for(U=V=-1,it=D[0]>=q,os[it<<1].forEach(Jt);++U=q,os[Z|it<<1].forEach(Jt);for(os[it<<0].forEach(Jt);++V=q,rt=D[V*n]>=q,os[it<<1|rt<<2].forEach(Jt);++U=q,dt=rt,rt=D[V*n+U+1]>=q,os[Z|it<<1|rt<<2|dt<<3].forEach(Jt);os[it|rt<<3].forEach(Jt)}for(U=-1,rt=D[V*n]>=q,os[rt<<2].forEach(Jt);++U=q,os[rt<<2|dt<<3].forEach(Jt);function Jt(ke){var Yt,ce,ht=[ke[0][0]+U,ke[0][1]+V],Ct=[ke[1][0]+U,ke[1][1]+V],ne=b(ht),Qt=b(Ct);(Yt=Vt[ne])?(ce=Pt[Qt])?(delete Vt[Yt.end],delete Pt[ce.start],Yt===ce?(Yt.ring.push(Ct),W(Yt.ring)):Pt[Yt.start]=Vt[ce.end]={start:Yt.start,end:ce.end,ring:Yt.ring.concat(ce.ring)}):(delete Vt[Yt.end],Yt.ring.push(Ct),Vt[Yt.end=Qt]=Yt):(Yt=Pt[Qt])?(ce=Vt[ne])?(delete Pt[Yt.start],delete Vt[ce.end],Yt===ce?(Yt.ring.push(Ct),W(Yt.ring)):Pt[ce.start]=Vt[Yt.end]={start:ce.start,end:Yt.end,ring:ce.ring.concat(Yt.ring)}):(delete Pt[Yt.start],Yt.ring.unshift(ht),Pt[Yt.start=ne]=Yt):Pt[ne]=Vt[Qt]={start:ne,end:Qt,ring:[ht,Ct]}}os[rt<<3].forEach(Jt)}(w,E,function(D){s(D,w,E),function(q){for(var W=0,U=q.length,V=q[U-1][1]*q[0][0]-q[U-1][0]*q[0][1];++W0?L.push([D]):j.push(D)}),j.forEach(function(D){for(var q,W=0,U=L.length;W0&&q0&&W0&&L>0))throw new Error("invalid size");return n=E,i=L,l},l.thresholds=function(w){return arguments.length?(o=typeof w=="function"?w:Array.isArray(w)?as(Cy.call(w)):as(w),l):o},l.smooth=function(w){return arguments.length?(s=w?m:Ey,l):s===m},l}function hp(n,i,o){for(var s=n.width,l=n.height,d=1+(o<<1),b=0;b=o&&(m>=d&&(w-=n.data[m-d+b*s]),i.data[m-o+b*s]=w/Math.min(m+1,s-1+d-m,d))}function fp(n,i,o){for(var s=n.width,l=n.height,d=1+(o<<1),b=0;b=o&&(m>=d&&(w-=n.data[b+(m-d)*s]),i.data[b+(m-o)*s]=w/Math.min(m+1,l-1+d-m,d))}function wr(n){return n[0]}function Wb(n){return n[1]}function ph(){return 1}function gh(){var n=wr,i=Wb,o=ph,s=960,l=500,d=20,b=2,m=3*d,w=s+2*m>>b,E=l+2*m>>b,L=as(20);function j(Z){var it=new Float32Array(w*E),rt=new Float32Array(w*E);Z.forEach(function(Vt,Jt,ke){var Yt=+n(Vt,Jt,ke)+m>>b,ce=+i(Vt,Jt,ke)+m>>b,ht=+o(Vt,Jt,ke);Yt>=0&&Yt=0&&ce>b),fp({width:w,height:E,data:rt},{width:w,height:E,data:it},d>>b),hp({width:w,height:E,data:it},{width:w,height:E,data:rt},d>>b),fp({width:w,height:E,data:rt},{width:w,height:E,data:it},d>>b),hp({width:w,height:E,data:it},{width:w,height:E,data:rt},d>>b),fp({width:w,height:E,data:rt},{width:w,height:E,data:it},d>>b);var dt=L(it);if(!Array.isArray(dt)){var Pt=ae(it);dt=st(0,Pt,dt),(dt=zt(0,Math.floor(Pt/dt)*dt,dt)).shift()}return Ni().thresholds(dt).size([w,E])(it).map(D)}function D(Z){return Z.value*=Math.pow(2,-2*b),Z.coordinates.forEach(q),Z}function q(Z){Z.forEach(W)}function W(Z){Z.forEach(U)}function U(Z){Z[0]=Z[0]*Math.pow(2,b)-m,Z[1]=Z[1]*Math.pow(2,b)-m}function V(){return w=s+2*(m=3*d)>>b,E=l+2*m>>b,j}return j.x=function(Z){return arguments.length?(n=typeof Z=="function"?Z:as(+Z),j):n},j.y=function(Z){return arguments.length?(i=typeof Z=="function"?Z:as(+Z),j):i},j.weight=function(Z){return arguments.length?(o=typeof Z=="function"?Z:as(+Z),j):o},j.size=function(Z){if(!arguments.length)return[s,l];var it=Math.ceil(Z[0]),rt=Math.ceil(Z[1]);if(!(it>=0||it>=0))throw new Error("invalid size");return s=it,l=rt,V()},j.cellSize=function(Z){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return b=Math.floor(Math.log(Z)/Math.LN2),V()},j.thresholds=function(Z){return arguments.length?(L=typeof Z=="function"?Z:Array.isArray(Z)?as(Cy.call(Z)):as(Z),j):L},j.bandwidth=function(Z){if(!arguments.length)return Math.sqrt(d*(d+1));if(!((Z=+Z)>=0))throw new Error("invalid bandwidth");return d=Math.round((Math.sqrt(4*Z*Z+1)-1)/2),V()},j}function bf(n){return function(){return n}}function dp(n,i,o,s,l,d,b,m,w,E){this.target=n,this.type=i,this.subject=o,this.identifier=s,this.active=l,this.x=d,this.y=b,this.dx=m,this.dy=w,this._=E}function Vb(){return!we.ctrlKey&&!we.button}function Gb(){return this.parentNode}function Xb(n){return n==null?{x:we.x,y:we.y}:n}function Sy(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ay(){var n,i,o,s,l=Vb,d=Gb,b=Xb,m=Sy,w={},E=Ze("start","drag","end"),L=0,j=0;function D(dt){dt.on("mousedown.drag",q).filter(m).on("touchstart.drag",V).on("touchmove.drag",Z).on("touchend.drag touchcancel.drag",it).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function q(){if(!s&&l.apply(this,arguments)){var dt=rt("mouse",d.apply(this,arguments),As,this,arguments);dt&&($r(we.view).on("mousemove.drag",W,!0).on("mouseup.drag",U,!0),ji(we.view),Hr(),o=!1,n=we.clientX,i=we.clientY,dt("start"))}}function W(){if(Si(),!o){var dt=we.clientX-n,Pt=we.clientY-i;o=dt*dt+Pt*Pt>j}w.mouse("drag")}function U(){$r(we.view).on("mousemove.drag mouseup.drag",null),Mr(we.view,o),Si(),w.mouse("end")}function V(){if(l.apply(this,arguments)){var dt,Pt,Vt=we.changedTouches,Jt=d.apply(this,arguments),ke=Vt.length;for(dt=0;dt=j?W=!0:(rt=m.charCodeAt(D++))===10?U=!0:rt===13&&(U=!0,m.charCodeAt(D)===10&&++D),m.slice(dt+1,it-1).replace(/""/g,'"')}for(;D9999?"+"+La(q,6):La(q,4)}(w.getUTCFullYear())+"-"+La(w.getUTCMonth()+1,2)+"-"+La(w.getUTCDate(),2)+(D?"T"+La(E,2)+":"+La(L,2)+":"+La(j,2)+"."+La(D,3)+"Z":j?"T"+La(E,2)+":"+La(L,2)+":"+La(j,2)+"Z":L||E?"T"+La(E,2)+":"+La(L,2)+"Z":"")}(m):i.test(m+="")?'"'+m.replace(/"/g,'""')+'"':m}return{parse:function(m,w){var E,L,j=s(m,function(D,q){if(E)return E(D,q-1);L=D,E=w?function(W,U){var V=Ny(W);return function(Z,it){return U(V(Z),it,W)}}(D,w):Ny(D)});return j.columns=L||[],j},parseRows:s,format:function(m,w){return w==null&&(w=gp(m)),[w.map(b).join(n)].concat(l(m,w)).join(` +`)},formatBody:function(m,w){return w==null&&(w=gp(m)),l(m,w).join(` +`)},formatRows:function(m){return m.map(d).join(` +`)},formatRow:d,formatValue:b}}var Qc=yh(","),Dy=Qc.parse,Zb=Qc.parseRows,Qb=Qc.format,Kb=Qc.formatBody,Jb=Qc.formatRows,t4=Qc.formatRow,Ly=Qc.formatValue,Kc=yh(" "),By=Kc.parse,e4=Kc.parseRows,Oy=Kc.format,n4=Kc.formatBody,r4=Kc.formatRows,i4=Kc.formatRow,a4=Kc.formatValue;function o4(n){for(var i in n){var o,s,l=n[i].trim();if(l)if(l==="true")l=!0;else if(l==="false")l=!1;else if(l==="NaN")l=NaN;else if(isNaN(o=+l)){if(!(s=l.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;s4&&s[4]&&!s[7]&&(l=l.replace(/-/g,"/").replace(/T/," ")),l=new Date(l)}else l=o;else l=null;n[i]=l}return n}var s4=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function Iy(n){return+n}function c4(n){return n*n}function u4(n){return n*(2-n)}function Ry(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}var l4=function n(i){function o(s){return Math.pow(s,i)}return i=+i,o.exponent=n,o}(3),h4=function n(i){function o(s){return 1-Math.pow(1-s,i)}return i=+i,o.exponent=n,o}(3),Fy=function n(i){function o(s){return((s*=2)<=1?Math.pow(s,i):2-Math.pow(2-s,i))/2}return i=+i,o.exponent=n,o}(3),Py=Math.PI,jy=Py/2;function Yy(n){return+n==1?1:1-Math.cos(n*jy)}function f4(n){return Math.sin(n*jy)}function zy(n){return(1-Math.cos(Py*n))/2}function pc(n){return 1.0009775171065494*(Math.pow(2,-10*n)-.0009765625)}function Uy(n){return pc(1-+n)}function d4(n){return 1-pc(n)}function qy(n){return((n*=2)<=1?pc(1-n):2-pc(n-1))/2}function p4(n){return 1-Math.sqrt(1-n*n)}function g4(n){return Math.sqrt(1- --n*n)}function $y(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}var _f=7.5625;function Hy(n){return 1-mh(1-n)}function mh(n){return(n=+n)<.36363636363636365?_f*n*n:n<.7272727272727273?_f*(n-=.5454545454545454)*n+.75:n<.9090909090909091?_f*(n-=.8181818181818182)*n+.9375:_f*(n-=.9545454545454546)*n+.984375}function y4(n){return((n*=2)<=1?1-mh(1-n):mh(n-1)+1)/2}var yp=1.70158,m4=function n(i){function o(s){return(s=+s)*s*(i*(s-1)+s)}return i=+i,o.overshoot=n,o}(yp),v4=function n(i){function o(s){return--s*s*((s+1)*i+s)+1}return i=+i,o.overshoot=n,o}(yp),Wy=function n(i){function o(s){return((s*=2)<1?s*s*((i+1)*s-i):(s-=2)*s*((i+1)*s+i)+2)/2}return i=+i,o.overshoot=n,o}(yp),Hu=2*Math.PI,b4=function n(i,o){var s=Math.asin(1/(i=Math.max(1,i)))*(o/=Hu);function l(d){return i*pc(- --d)*Math.sin((s-d)/o)}return l.amplitude=function(d){return n(d,o*Hu)},l.period=function(d){return n(i,d)},l}(1,.3),mp=function n(i,o){var s=Math.asin(1/(i=Math.max(1,i)))*(o/=Hu);function l(d){return 1-i*pc(d=+d)*Math.sin((d+s)/o)}return l.amplitude=function(d){return n(d,o*Hu)},l.period=function(d){return n(i,d)},l}(1,.3),Vy=function n(i,o){var s=Math.asin(1/(i=Math.max(1,i)))*(o/=Hu);function l(d){return((d=2*d-1)<0?i*pc(-d)*Math.sin((s-d)/o):2-i*pc(d)*Math.sin((s+d)/o))/2}return l.amplitude=function(d){return n(d,o*Hu)},l.period=function(d){return n(i,d)},l}(1,.3);function Gy(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.blob()}function _4(n,i){return fetch(n,i).then(Gy)}function x4(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.arrayBuffer()}function Xy(n,i){return fetch(n,i).then(x4)}function w4(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);return n.text()}function Wu(n,i){return fetch(n,i).then(w4)}function vp(n){return function(i,o,s){return arguments.length===2&&typeof o=="function"&&(s=o,o=void 0),Wu(i,o).then(function(l){return n(l,s)})}}function k4(n,i,o,s){arguments.length===3&&typeof o=="function"&&(s=o,o=void 0);var l=yh(n);return Wu(i,o).then(function(d){return l.parse(d,s)})}var Zy=vp(Dy),Qy=vp(By);function Ky(n,i){return new Promise(function(o,s){var l=new Image;for(var d in i)l[d]=i[d];l.onerror=s,l.onload=function(){o(l)},l.src=n})}function T4(n){if(!n.ok)throw new Error(n.status+" "+n.statusText);if(n.status!==204&&n.status!==205)return n.json()}function C4(n,i){return fetch(n,i).then(T4)}function bp(n){return function(i,o){return Wu(i,o).then(function(s){return new DOMParser().parseFromString(s,n)})}}const E4=bp("application/xml");var Jy=bp("text/html"),xf=bp("image/svg+xml");function S4(n,i){var o;function s(){var l,d,b=o.length,m=0,w=0;for(l=0;l=(d=(U+Z)/2))?U=d:Z=d,(L=o>=(b=(V+it)/2))?V=b:it=b,l=q,!(q=q[j=L<<1|E]))return l[j]=W,n;if(m=+n._x.call(null,q.data),w=+n._y.call(null,q.data),i===m&&o===w)return W.next=q,l?l[j]=W:n._root=W,n;do l=l?l[j]=new Array(4):n._root=new Array(4),(E=i>=(d=(U+Z)/2))?U=d:Z=d,(L=o>=(b=(V+it)/2))?V=b:it=b;while((j=L<<1|E)==(D=(w>=b)<<1|m>=d));return l[D]=q,l[j]=W,n}function pa(n,i,o,s,l){this.node=n,this.x0=i,this.y0=o,this.x1=s,this.y1=l}function A4(n){return n[0]}function _p(n){return n[1]}function vh(n,i,o){var s=new Vu(i==null?A4:i,o==null?_p:o,NaN,NaN,NaN,NaN);return n==null?s:s.addAll(n)}function Vu(n,i,o,s,l,d){this._x=n,this._y=i,this._x0=o,this._y0=s,this._x1=l,this._y1=d,this._root=void 0}function em(n){for(var i={data:n.data},o=i;n=n.next;)o=o.next={data:n.data};return i}var ga=vh.prototype=Vu.prototype;function M4(n){return n.x+n.vx}function N4(n){return n.y+n.vy}function D4(n){var i,o,s=1,l=1;function d(){for(var w,E,L,j,D,q,W,U=i.length,V=0;Vj+Yt||PtD+Yt||VtL.index){var ce=j-Jt.x-Jt.vx,ht=D-Jt.y-Jt.vy,Ct=ce*ce+ht*ht;Ctw.r&&(w.r=w[E].r)}function m(){if(i){var w,E,L=i.length;for(o=new Array(L),w=0;wL&&(L=s),lj&&(j=l));if(w>L||E>j)return this;for(this.cover(w,E).cover(L,j),o=0;on||n>=l||s>i||i>=d;)switch(m=(iD||(d=w.y0)>q||(b=w.x1)=Z)<<1|n>=V)&&(w=W[W.length-1],W[W.length-1]=W[W.length-1-E],W[W.length-1-E]=w)}else{var it=n-+this._x.call(null,U.data),rt=i-+this._y.call(null,U.data),dt=it*it+rt*rt;if(dt=(m=(W+V)/2))?W=m:V=m,(L=b>=(w=(U+Z)/2))?U=w:Z=w,i=q,!(q=q[j=L<<1|E]))return this;if(!q.length)break;(i[j+1&3]||i[j+2&3]||i[j+3&3])&&(o=i,D=j)}for(;q.data!==n;)if(s=q,!(q=q.next))return this;return(l=q.next)&&delete q.next,s?(l?s.next=l:delete s.next,this):i?(l?i[j]=l:delete i[j],(q=i[0]||i[1]||i[2]||i[3])&&q===(i[3]||i[2]||i[1]||i[0])&&!q.length&&(o?o[D]=q:this._root=q),this):(this._root=l,this)},ga.removeAll=function(n){for(var i=0,o=n.length;i1?(U==null?m.remove(W):m.set(W,q(U)),i):m.get(W)},find:function(W,U,V){var Z,it,rt,dt,Pt,Vt=0,Jt=n.length;for(V==null?V=1/0:V*=V,Vt=0;Vt1?(E.on(W,U),i):E.on(W)}}}function F4(){var n,i,o,s,l=Di(-30),d=1,b=1/0,m=.81;function w(D){var q,W=n.length,U=vh(n,O4,I4).visitAfter(L);for(o=D,q=0;q=b)){(D.data!==i||D.next)&&(V===0&&(rt+=(V=gc())*V),Z===0&&(rt+=(Z=gc())*Z),rt1?s[0]+s.slice(2):s,+n.slice(o+1)]}function Jc(n){return(n=bh(Math.abs(n)))?n[1]:NaN}var kp,j4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _h(n){if(!(i=j4.exec(n)))throw new Error("invalid format: "+n);var i;return new wf({fill:i[1],align:i[2],sign:i[3],symbol:i[4],zero:i[5],width:i[6],comma:i[7],precision:i[8]&&i[8].slice(1),trim:i[9],type:i[10]})}function wf(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}function rm(n,i){var o=bh(n,i);if(!o)return n+"";var s=o[0],l=o[1];return l<0?"0."+new Array(-l).join("0")+s:s.length>l+1?s.slice(0,l+1)+"."+s.slice(l+1):s+new Array(l-s.length+2).join("0")}_h.prototype=wf.prototype,wf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const im={"%":function(n,i){return(100*n).toFixed(i)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)},e:function(n,i){return n.toExponential(i)},f:function(n,i){return n.toFixed(i)},g:function(n,i){return n.toPrecision(i)},o:function(n){return Math.round(n).toString(8)},p:function(n,i){return rm(100*n,i)},r:rm,s:function(n,i){var o=bh(n,i);if(!o)return n+"";var s=o[0],l=o[1],d=l-(kp=3*Math.max(-8,Math.min(8,Math.floor(l/3))))+1,b=s.length;return d===b?s:d>b?s+new Array(d-b+1).join("0"):d>0?s.slice(0,d)+"."+s.slice(d):"0."+new Array(1-d).join("0")+bh(n,Math.max(0,i+d-1))[0]},X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}};function am(n){return n}var kf,Tf,Tp,om=Array.prototype.map,sm=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function cm(n){var i,o,s=n.grouping===void 0||n.thousands===void 0?am:(i=om.call(n.grouping,Number),o=n.thousands+"",function(D,q){for(var W=D.length,U=[],V=0,Z=i[0],it=0;W>0&&Z>0&&(it+Z+1>q&&(Z=Math.max(1,q-it)),U.push(D.substring(W-=Z,W+Z)),!((it+=Z+1)>q));)Z=i[V=(V+1)%i.length];return U.reverse().join(o)}),l=n.currency===void 0?"":n.currency[0]+"",d=n.currency===void 0?"":n.currency[1]+"",b=n.decimal===void 0?".":n.decimal+"",m=n.numerals===void 0?am:function(D){return function(q){return q.replace(/[0-9]/g,function(W){return D[+W]})}}(om.call(n.numerals,String)),w=n.percent===void 0?"%":n.percent+"",E=n.minus===void 0?"-":n.minus+"",L=n.nan===void 0?"NaN":n.nan+"";function j(D){var q=(D=_h(D)).fill,W=D.align,U=D.sign,V=D.symbol,Z=D.zero,it=D.width,rt=D.comma,dt=D.precision,Pt=D.trim,Vt=D.type;Vt==="n"?(rt=!0,Vt="g"):im[Vt]||(dt===void 0&&(dt=12),Pt=!0,Vt="g"),(Z||q==="0"&&W==="=")&&(Z=!0,q="0",W="=");var Jt=V==="$"?l:V==="#"&&/[boxX]/.test(Vt)?"0"+Vt.toLowerCase():"",ke=V==="$"?d:/[%p]/.test(Vt)?w:"",Yt=im[Vt],ce=/[defgprs%]/.test(Vt);function ht(Ct){var ne,Qt,ie,Fe=Jt,Ke=ke;if(Vt==="c")Ke=Yt(Ct)+Ke,Ct="";else{var Tn=(Ct=+Ct)<0||1/Ct<0;if(Ct=isNaN(Ct)?L:Yt(Math.abs(Ct),dt),Pt&&(Ct=function(on){t:for(var yr,In=on.length,Nn=1,dr=-1;Nn0&&(dr=0)}return dr>0?on.slice(0,dr)+on.slice(yr+1):on}(Ct)),Tn&&+Ct==0&&U!=="+"&&(Tn=!1),Fe=(Tn?U==="("?U:E:U==="-"||U==="("?"":U)+Fe,Ke=(Vt==="s"?sm[8+kp/3]:"")+Ke+(Tn&&U==="("?")":""),ce){for(ne=-1,Qt=Ct.length;++ne(ie=Ct.charCodeAt(ne))||ie>57){Ke=(ie===46?b+Ct.slice(ne+1):Ct.slice(ne))+Ke,Ct=Ct.slice(0,ne);break}}}rt&&!Z&&(Ct=s(Ct,1/0));var Sn=Fe.length+Ct.length+Ke.length,ar=Sn>1)+Fe+Ct+Ke+ar.slice(Sn);break;default:Ct=ar+Fe+Ct+Ke}return m(Ct)}return dt=dt===void 0?6:/[gprs]/.test(Vt)?Math.max(1,Math.min(21,dt)):Math.max(0,Math.min(20,dt)),ht.toString=function(){return D+""},ht}return{format:j,formatPrefix:function(D,q){var W=j(((D=_h(D)).type="f",D)),U=3*Math.max(-8,Math.min(8,Math.floor(Jc(q)/3))),V=Math.pow(10,-U),Z=sm[8+U/3];return function(it){return W(V*it)+Z}}}}function um(n){return kf=cm(n),Tf=kf.format,Tp=kf.formatPrefix,kf}function Cp(n){return Math.max(0,-Jc(Math.abs(n)))}function lm(n,i){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Jc(i)/3)))-Jc(Math.abs(n)))}function hm(n,i){return n=Math.abs(n),i=Math.abs(i)-n,Math.max(0,Jc(i)-Jc(n))+1}function yc(){return new Cf}function Cf(){this.reset()}um({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Cf.prototype={constructor:Cf,reset:function(){this.s=this.t=0},add:function(n){fm(Ef,n,this.t),fm(this,Ef.s,this.s),this.s?this.t+=Ef.t:this.s=Ef.t},valueOf:function(){return this.s}};var Ef=new Cf;function fm(n,i,o){var s=n.s=i+o,l=s-i,d=s-l;n.t=i-d+(o-l)}var $n=1e-6,xh=1e-12,or=Math.PI,li=or/2,Xu=or/4,Rr=2*or,Ur=180/or,Cn=or/180,Me=Math.abs,mc=Math.atan,Qi=Math.atan2,bn=Math.cos,ss=Math.ceil,dm=Math.exp,Zu=Math.log,Sf=Math.pow,ln=Math.sin,kr=Math.sign||function(n){return n>0?1:n<0?-1:0},vi=Math.sqrt,$i=Math.tan;function vc(n){return n>1?0:n<-1?or:Math.acos(n)}function ya(n){return n>1?li:n<-1?-li:Math.asin(n)}function Af(n){return(n=ln(n/2))*n}function Tr(){}function Rs(n,i){n&&Qu.hasOwnProperty(n.type)&&Qu[n.type](n,i)}var ma={Feature:function(n,i){Rs(n.geometry,i)},FeatureCollection:function(n,i){for(var o=n.features,s=-1,l=o.length;++s=0?1:-1,l=s*o,d=bn(i=(i*=Cn)/2+Xu),b=ln(i),m=Mp*b,w=Ap*d+m*bn(l),E=m*s*ln(l);Mf.add(Qi(E,w)),Sp=n,Ap=d,Mp=b}function Y4(n){return Nf.reset(),Mo(n,eo),2*Nf}function Df(n){return[Qi(n[1],n[0]),ya(n[2])]}function No(n){var i=n[0],o=n[1],s=bn(o);return[s*bn(i),s*ln(i),ln(o)]}function Lf(n,i){return n[0]*i[0]+n[1]*i[1]+n[2]*i[2]}function Ju(n,i){return[n[1]*i[2]-n[2]*i[1],n[2]*i[0]-n[0]*i[2],n[0]*i[1]-n[1]*i[0]]}function tl(n,i){n[0]+=i[0],n[1]+=i[1],n[2]+=i[2]}function tu(n,i){return[n[0]*i,n[1]*i,n[2]*i]}function kh(n){var i=vi(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=i,n[1]/=i,n[2]/=i}var Wr,va,ai,Ba,bc,Dp,Lp,_c,Do,cs,el,Th,Ch,eu,nl,rl,po,Eh,Bf,Fs,Bp,Of,il,ba,ia,bi,Sh=yc(),Lo={point:nu,lineStart:Op,lineEnd:Ip,polygonStart:function(){Lo.point=al,Lo.lineStart=vm,Lo.lineEnd=Ah,Sh.reset(),eo.polygonStart()},polygonEnd:function(){eo.polygonEnd(),Lo.point=nu,Lo.lineStart=Op,Lo.lineEnd=Ip,Mf<0?(Wr=-(ai=180),va=-(Ba=90)):Sh>$n?Ba=90:Sh<-1e-6&&(va=-90),cs[0]=Wr,cs[1]=ai},sphere:function(){Wr=-(ai=180),va=-(Ba=90)}};function nu(n,i){Do.push(cs=[Wr=n,ai=n]),iBa&&(Ba=i)}function mm(n,i){var o=No([n*Cn,i*Cn]);if(_c){var s=Ju(_c,o),l=Ju([s[1],-s[0],0],s);kh(l),l=Df(l);var d,b=n-bc,m=b>0?1:-1,w=l[0]*Ur*m,E=Me(b)>180;E^(m*bcBa&&(Ba=d):E^(m*bc<(w=(w+360)%360-180)&&wBa&&(Ba=i)),E?n_a(Wr,ai)&&(ai=n):_a(n,ai)>_a(Wr,ai)&&(Wr=n):ai>=Wr?(nai&&(ai=n)):n>bc?_a(Wr,n)>_a(Wr,ai)&&(ai=n):_a(n,ai)>_a(Wr,ai)&&(Wr=n)}else Do.push(cs=[Wr=n,ai=n]);iBa&&(Ba=i),_c=o,bc=n}function Op(){Lo.point=mm}function Ip(){cs[0]=Wr,cs[1]=ai,Lo.point=nu,_c=null}function al(n,i){if(_c){var o=n-bc;Sh.add(Me(o)>180?o+(o>0?360:-360):o)}else Dp=n,Lp=i;eo.point(n,i),mm(n,i)}function vm(){eo.lineStart()}function Ah(){al(Dp,Lp),eo.lineEnd(),Me(Sh)>$n&&(Wr=-(ai=180)),cs[0]=Wr,cs[1]=ai,_c=null}function _a(n,i){return(i-=n)<0?i+360:i}function Rp(n,i){return n[0]-i[0]}function ol(n,i){return n[0]<=n[1]?n[0]<=i&&i<=n[1]:i_a(s[0],s[1])&&(s[1]=l[1]),_a(l[0],s[1])>_a(s[0],s[1])&&(s[0]=l[0])):d.push(s=l);for(b=-1/0,i=0,s=d[o=d.length-1];i<=o;s=l,++i)l=d[i],(m=_a(s[1],l[0]))>b&&(b=m,Wr=l[0],ai=s[1])}return Do=cs=null,Wr===1/0||va===1/0?[[NaN,NaN],[NaN,NaN]]:[[Wr,va],[ai,Ba]]}var no={sphere:Tr,point:If,lineStart:bm,lineEnd:_m,polygonStart:function(){no.lineStart=Nh,no.lineEnd=Dh},polygonEnd:function(){no.lineStart=bm,no.lineEnd=_m}};function If(n,i){n*=Cn;var o=bn(i*=Cn);hi(o*bn(n),o*ln(n),ln(i))}function hi(n,i,o){++el,Ch+=(n-Ch)/el,eu+=(i-eu)/el,nl+=(o-nl)/el}function bm(){no.point=z4}function z4(n,i){n*=Cn;var o=bn(i*=Cn);ba=o*bn(n),ia=o*ln(n),bi=ln(i),no.point=Cr,hi(ba,ia,bi)}function Cr(n,i){n*=Cn;var o=bn(i*=Cn),s=o*bn(n),l=o*ln(n),d=ln(i),b=Qi(vi((b=ia*d-bi*l)*b+(b=bi*s-ba*d)*b+(b=ba*l-ia*s)*b),ba*s+ia*l+bi*d);Th+=b,rl+=b*(ba+(ba=s)),po+=b*(ia+(ia=l)),Eh+=b*(bi+(bi=d)),hi(ba,ia,bi)}function _m(){no.point=If}function Nh(){no.point=U4}function Dh(){xm(Of,il),no.point=If}function U4(n,i){Of=n,il=i,n*=Cn,i*=Cn,no.point=xm;var o=bn(i);ba=o*bn(n),ia=o*ln(n),bi=ln(i),hi(ba,ia,bi)}function xm(n,i){n*=Cn;var o=bn(i*=Cn),s=o*bn(n),l=o*ln(n),d=ln(i),b=ia*d-bi*l,m=bi*s-ba*d,w=ba*l-ia*s,E=vi(b*b+m*m+w*w),L=ya(E),j=E&&-L/E;Bf+=j*b,Fs+=j*m,Bp+=j*w,Th+=L,rl+=L*(ba+(ba=s)),po+=L*(ia+(ia=l)),Eh+=L*(bi+(bi=d)),hi(ba,ia,bi)}function q4(n){el=Th=Ch=eu=nl=rl=po=Eh=Bf=Fs=Bp=0,Mo(n,no);var i=Bf,o=Fs,s=Bp,l=i*i+o*o+s*s;return lor?n+Math.round(-n/Rr)*Rr:n,i]}function Ff(n,i,o){return(n%=Rr)?i||o?Fp(km(n),Tm(i,o)):km(n):i||o?Tm(i,o):Rf}function wm(n){return function(i,o){return[(i+=n)>or?i-Rr:i<-or?i+Rr:i,o]}}function km(n){var i=wm(n);return i.invert=wm(-n),i}function Tm(n,i){var o=bn(n),s=ln(n),l=bn(i),d=ln(i);function b(m,w){var E=bn(w),L=bn(m)*E,j=ln(m)*E,D=ln(w),q=D*o+L*s;return[Qi(j*l-q*d,L*o-D*s),ya(q*l+j*d)]}return b.invert=function(m,w){var E=bn(w),L=bn(m)*E,j=ln(m)*E,D=ln(w),q=D*l-j*d;return[Qi(j*l+D*d,L*o+q*s),ya(q*o-L*s)]},b}function Pp(n){function i(o){return(o=n(o[0]*Cn,o[1]*Cn))[0]*=Ur,o[1]*=Ur,o}return n=Ff(n[0]*Cn,n[1]*Cn,n.length>2?n[2]*Cn:0),i.invert=function(o){return(o=n.invert(o[0]*Cn,o[1]*Cn))[0]*=Ur,o[1]*=Ur,o},i}function Cm(n,i,o,s,l,d){if(o){var b=bn(i),m=ln(i),w=s*o;l==null?(l=i+s*Rr,d=i-w/2):(l=jp(b,l),d=jp(b,d),(s>0?ld)&&(l+=s*Rr));for(var E,L=l;s>0?L>d:L1&&i.push(i.pop().concat(i.shift()))},result:function(){var o=i;return i=[],n=null,o}}}function Pf(n,i){return Me(n[0]-i[0])<$n&&Me(n[1]-i[1])<$n}function jf(n,i,o,s){this.x=n,this.z=i,this.o=o,this.e=s,this.v=!1,this.n=this.p=null}function Sm(n,i,o,s,l){var d,b,m=[],w=[];if(n.forEach(function(W){if(!((U=W.length-1)<=0)){var U,V,Z=W[0],it=W[U];if(Pf(Z,it)){if(!Z[2]&&!it[2]){for(l.lineStart(),d=0;d=0;--d)l.point((L=E[d])[0],L[1]);else s(D.x,D.p.x,-1,l);D=D.p}E=(D=D.o).z,q=!q}while(!D.v);l.lineEnd()}}}function Am(n){if(i=n.length){for(var i,o,s=0,l=n[0];++s=0?1:-1,Yt=ke*Jt,ce=Yt>or,ht=U*Pt;if(Yp.add(Qi(ht*ke*ln(Yt),V*Vt+ht*bn(Yt))),b+=ce?Jt+ke*Rr:Jt,ce^q>=o^rt>=o){var Ct=Ju(No(D),No(it));kh(Ct);var ne=Ju(d,Ct);kh(ne);var Qt=(ce^Jt>=0?-1:1)*ya(ne[2]);(s>Qt||s===Qt&&(Ct[0]||Ct[1]))&&(m+=ce^Jt>=0?1:-1)}}return(b<-1e-6||b<$n&&Yp<-1e-6)^1&m}function Nm(n,i,o,s){return function(l){var d,b,m,w=i(l),E=Em(),L=i(E),j=!1,D={point:q,lineStart:U,lineEnd:V,polygonStart:function(){D.point=Z,D.lineStart=it,D.lineEnd=rt,b=[],d=[]},polygonEnd:function(){D.point=q,D.lineStart=U,D.lineEnd=V,b=le(b);var dt=Mm(d,s);b.length?(j||(l.polygonStart(),j=!0),Sm(b,Dm,dt,o,l)):dt&&(j||(l.polygonStart(),j=!0),l.lineStart(),o(null,null,1,l),l.lineEnd()),j&&(l.polygonEnd(),j=!1),b=d=null},sphere:function(){l.polygonStart(),l.lineStart(),o(null,null,1,l),l.lineEnd(),l.polygonEnd()}};function q(dt,Pt){n(dt,Pt)&&l.point(dt,Pt)}function W(dt,Pt){w.point(dt,Pt)}function U(){D.point=W,w.lineStart()}function V(){D.point=q,w.lineEnd()}function Z(dt,Pt){m.push([dt,Pt]),L.point(dt,Pt)}function it(){L.lineStart(),m=[]}function rt(){Z(m[0][0],m[0][1]),L.lineEnd();var dt,Pt,Vt,Jt,ke=L.clean(),Yt=E.result(),ce=Yt.length;if(m.pop(),d.push(m),m=null,ce)if(1&ke){if((Pt=(Vt=Yt[0]).length-1)>0){for(j||(l.polygonStart(),j=!0),l.lineStart(),dt=0;dt1&&2&ke&&Yt.push(Yt.pop().concat(Yt.shift())),b.push(Yt.filter(H4))}return D}}function H4(n){return n.length>1}function Dm(n,i){return((n=n.x)[0]<0?n[1]-li-$n:li-n[1])-((i=i.x)[0]<0?i[1]-li-$n:li-i[1])}const zp=Nm(function(){return!0},function(n){var i,o=NaN,s=NaN,l=NaN;return{lineStart:function(){n.lineStart(),i=1},point:function(d,b){var m=d>0?or:-or,w=Me(d-o);Me(w-or)<$n?(n.point(o,s=(s+b)/2>0?li:-li),n.point(l,s),n.lineEnd(),n.lineStart(),n.point(m,s),n.point(d,s),i=0):l!==m&&w>=or&&(Me(o-l)<$n&&(o-=l*$n),Me(d-m)<$n&&(d-=m*$n),s=function(E,L,j,D){var q,W,U=ln(E-j);return Me(U)>$n?mc((ln(L)*(W=bn(D))*ln(j)-ln(D)*(q=bn(L))*ln(E))/(q*W*U)):(L+D)/2}(o,s,d,b),n.point(l,s),n.lineEnd(),n.lineStart(),n.point(m,s),i=0),n.point(o=d,s=b),l=m},lineEnd:function(){n.lineEnd(),o=s=NaN},clean:function(){return 2-i}}},function(n,i,o,s){var l;if(n==null)l=o*li,s.point(-or,l),s.point(0,l),s.point(or,l),s.point(or,0),s.point(or,-l),s.point(0,-l),s.point(-or,-l),s.point(-or,0),s.point(-or,l);else if(Me(n[0]-i[0])>$n){var d=n[0]0,l=Me(i)>$n;function d(w,E){return bn(w)*bn(E)>i}function b(w,E,L){var j=[1,0,0],D=Ju(No(w),No(E)),q=Lf(D,D),W=D[0],U=q-W*W;if(!U)return!L&&w;var V=i*q/U,Z=-i*W/U,it=Ju(j,D),rt=tu(j,V);tl(rt,tu(D,Z));var dt=it,Pt=Lf(rt,dt),Vt=Lf(dt,dt),Jt=Pt*Pt-Vt*(Lf(rt,rt)-1);if(!(Jt<0)){var ke=vi(Jt),Yt=tu(dt,(-Pt-ke)/Vt);if(tl(Yt,rt),Yt=Df(Yt),!L)return Yt;var ce,ht=w[0],Ct=E[0],ne=w[1],Qt=E[1];Ct0^Yt[1]<(Me(Yt[0]-ht)<$n?ne:Qt):ne<=Yt[1]&&Yt[1]<=Qt:ie>or^(ht<=Yt[0]&&Yt[0]<=Ct)){var Ke=tu(dt,(-Pt+ke)/Vt);return tl(Ke,rt),[Yt,Df(Ke)]}}}function m(w,E){var L=s?n:or-n,j=0;return w<-L?j|=1:w>L&&(j|=2),E<-L?j|=4:E>L&&(j|=8),j}return Nm(d,function(w){var E,L,j,D,q;return{lineStart:function(){D=j=!1,q=1},point:function(W,U){var V,Z=[W,U],it=d(W,U),rt=s?it?0:m(W,U):it?m(W+(W<0?or:-or),U):0;if(!E&&(D=j=it)&&w.lineStart(),it!==j&&(!(V=b(E,Z))||Pf(E,V)||Pf(Z,V))&&(Z[2]=1),it!==j)q=0,it?(w.lineStart(),V=b(Z,E),w.point(V[0],V[1])):(V=b(E,Z),w.point(V[0],V[1],2),w.lineEnd()),E=V;else if(l&&E&&s^it){var dt;rt&L||!(dt=b(Z,E,!0))||(q=0,s?(w.lineStart(),w.point(dt[0][0],dt[0][1]),w.point(dt[1][0],dt[1][1]),w.lineEnd()):(w.point(dt[1][0],dt[1][1]),w.lineEnd(),w.lineStart(),w.point(dt[0][0],dt[0][1],3)))}!it||E&&Pf(E,Z)||w.point(Z[0],Z[1]),E=Z,j=it,L=rt},lineEnd:function(){j&&w.lineEnd(),E=null},clean:function(){return q|(D&&j)<<1}}},function(w,E,L,j){Cm(j,n,o,L,w,E)},s?[0,-n]:[-or,n-or])}var Lh=1e9,zf=-Lh;function Uf(n,i,o,s){function l(E,L){return n<=E&&E<=o&&i<=L&&L<=s}function d(E,L,j,D){var q=0,W=0;if(E==null||(q=b(E,j))!==(W=b(L,j))||w(E,L)<0^j>0)do D.point(q===0||q===3?n:o,q>1?s:i);while((q=(q+j+4)%4)!==W);else D.point(L[0],L[1])}function b(E,L){return Me(E[0]-n)<$n?L>0?0:3:Me(E[0]-o)<$n?L>0?2:1:Me(E[1]-i)<$n?L>0?1:0:L>0?3:2}function m(E,L){return w(E.x,L.x)}function w(E,L){var j=b(E,1),D=b(L,1);return j!==D?j-D:j===0?L[1]-E[1]:j===1?E[0]-L[0]:j===2?E[1]-L[1]:L[0]-E[0]}return function(E){var L,j,D,q,W,U,V,Z,it,rt,dt,Pt=E,Vt=Em(),Jt={point:ke,lineStart:function(){Jt.point=Yt,j&&j.push(D=[]),rt=!0,it=!1,V=Z=NaN},lineEnd:function(){L&&(Yt(q,W),U&&it&&Vt.rejoin(),L.push(Vt.result())),Jt.point=ke,it&&Pt.lineEnd()},polygonStart:function(){Pt=Vt,L=[],j=[],dt=!0},polygonEnd:function(){var ce=function(){for(var ne=0,Qt=0,ie=j.length;Qts&&(yr-Fe)*(s-Ke)>(In-Ke)*(n-Fe)&&++ne:In<=s&&(yr-Fe)*(s-Ke)<(In-Ke)*(n-Fe)&&--ne;return ne}(),ht=dt&&ce,Ct=(L=le(L)).length;(ht||Ct)&&(E.polygonStart(),ht&&(E.lineStart(),d(null,null,1,E),E.lineEnd()),Ct&&Sm(L,m,ce,d,E),E.polygonEnd()),Pt=E,L=j=D=null}};function ke(ce,ht){l(ce,ht)&&Pt.point(ce,ht)}function Yt(ce,ht){var Ct=l(ce,ht);if(j&&D.push([ce,ht]),rt)q=ce,W=ht,U=Ct,rt=!1,Ct&&(Pt.lineStart(),Pt.point(ce,ht));else if(Ct&&it)Pt.point(ce,ht);else{var ne=[V=Math.max(zf,Math.min(Lh,V)),Z=Math.max(zf,Math.min(Lh,Z))],Qt=[ce=Math.max(zf,Math.min(Lh,ce)),ht=Math.max(zf,Math.min(Lh,ht))];(function(ie,Fe,Ke,Tn,Sn,ar){var on,yr=ie[0],In=ie[1],Nn=0,dr=1,Vi=Fe[0]-yr,wi=Fe[1]-In;if(on=Ke-yr,Vi||!(on>0)){if(on/=Vi,Vi<0){if(on0){if(on>dr)return;on>Nn&&(Nn=on)}if(on=Sn-yr,Vi||!(on<0)){if(on/=Vi,Vi<0){if(on>dr)return;on>Nn&&(Nn=on)}else if(Vi>0){if(on0)){if(on/=wi,wi<0){if(on0){if(on>dr)return;on>Nn&&(Nn=on)}if(on=ar-In,wi||!(on<0)){if(on/=wi,wi<0){if(on>dr)return;on>Nn&&(Nn=on)}else if(wi>0){if(on0&&(ie[0]=yr+Nn*Vi,ie[1]=In+Nn*wi),dr<1&&(Fe[0]=yr+dr*Vi,Fe[1]=In+dr*wi),!0}}}}})(ne,Qt,n,i,o,s)?(it||(Pt.lineStart(),Pt.point(ne[0],ne[1])),Pt.point(Qt[0],Qt[1]),Ct||Pt.lineEnd(),dt=!1):Ct&&(Pt.lineStart(),Pt.point(ce,ht),dt=!1)}V=ce,Z=ht,it=Ct}return Jt}}function W4(){var n,i,o,s=0,l=0,d=960,b=500;return o={stream:function(m){return n&&i===m?n:n=Uf(s,l,d,b)(i=m)},extent:function(m){return arguments.length?(s=+m[0][0],l=+m[0][1],d=+m[1][0],b=+m[1][1],n=i=null,o):[[s,l],[d,b]]}}}var qf,$f,Hf,Up=yc(),cl={sphere:Tr,point:Tr,lineStart:function(){cl.point=G4,cl.lineEnd=V4},lineEnd:Tr,polygonStart:Tr,polygonEnd:Tr};function V4(){cl.point=cl.lineEnd=Tr}function G4(n,i){qf=n*=Cn,$f=ln(i*=Cn),Hf=bn(i),cl.point=X4}function X4(n,i){n*=Cn;var o=ln(i*=Cn),s=bn(i),l=Me(n-qf),d=bn(l),b=s*ln(l),m=Hf*o-$f*s*d,w=$f*o+Hf*s*d;Up.add(Qi(vi(b*b+m*m),w)),qf=n,$f=o,Hf=s}function Bm(n){return Up.reset(),Mo(n,cl),+Up}var Wf=[null,null],Z4={type:"LineString",coordinates:Wf};function Vf(n,i){return Wf[0]=n,Wf[1]=i,Bm(Z4)}var Om={Feature:function(n,i){return Gf(n.geometry,i)},FeatureCollection:function(n,i){for(var o=n.features,s=-1,l=o.length;++s0&&(l=Vf(n[d],n[d-1]))>0&&o<=l&&s<=l&&(o+s-l)*(1-Math.pow((o-s)/l,2))$n}).map(w)).concat(zt(ss(d/q)*q,l,q).filter(function(rt){return Me(rt%U)>$n}).map(E))}return Z.lines=function(){return it().map(function(rt){return{type:"LineString",coordinates:rt}})},Z.outline=function(){return{type:"Polygon",coordinates:[L(s).concat(j(b).slice(1),L(o).reverse().slice(1),j(m).reverse().slice(1))]}},Z.extent=function(rt){return arguments.length?Z.extentMajor(rt).extentMinor(rt):Z.extentMinor()},Z.extentMajor=function(rt){return arguments.length?(s=+rt[0][0],o=+rt[1][0],m=+rt[0][1],b=+rt[1][1],s>o&&(rt=s,s=o,o=rt),m>b&&(rt=m,m=b,b=rt),Z.precision(V)):[[s,m],[o,b]]},Z.extentMinor=function(rt){return arguments.length?(i=+rt[0][0],n=+rt[1][0],d=+rt[0][1],l=+rt[1][1],i>n&&(rt=i,i=n,n=rt),d>l&&(rt=d,d=l,l=rt),Z.precision(V)):[[i,d],[n,l]]},Z.step=function(rt){return arguments.length?Z.stepMajor(rt).stepMinor(rt):Z.stepMinor()},Z.stepMajor=function(rt){return arguments.length?(W=+rt[0],U=+rt[1],Z):[W,U]},Z.stepMinor=function(rt){return arguments.length?(D=+rt[0],q=+rt[1],Z):[D,q]},Z.precision=function(rt){return arguments.length?(V=+rt,w=Ym(d,l,90),E=zm(i,n,V),L=Ym(m,b,90),j=zm(s,o,V),Z):V},Z.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function K4(){return Um()()}function J4(n,i){var o=n[0]*Cn,s=n[1]*Cn,l=i[0]*Cn,d=i[1]*Cn,b=bn(s),m=ln(s),w=bn(d),E=ln(d),L=b*bn(o),j=b*ln(o),D=w*bn(l),q=w*ln(l),W=2*ya(vi(Af(d-s)+b*w*Af(l-o))),U=ln(W),V=W?function(Z){var it=ln(Z*=W)/U,rt=ln(W-Z)/U,dt=rt*L+it*D,Pt=rt*j+it*q,Vt=rt*m+it*E;return[Qi(Pt,dt)*Ur,Qi(Vt,vi(dt*dt+Pt*Pt))*Ur]}:function(){return[o*Ur,s*Ur]};return V.distance=W,V}function Bh(n){return n}var qm,$m,Xf,Zf,Qf=yc(),$p=yc(),Ps={point:Tr,lineStart:Tr,lineEnd:Tr,polygonStart:function(){Ps.lineStart=Kf,Ps.lineEnd=Wm},polygonEnd:function(){Ps.lineStart=Ps.lineEnd=Ps.point=Tr,Qf.add(Me($p)),$p.reset()},result:function(){var n=Qf/2;return Qf.reset(),n}};function Kf(){Ps.point=t5}function t5(n,i){Ps.point=Hm,qm=Xf=n,$m=Zf=i}function Hm(n,i){$p.add(Zf*n-Xf*i),Xf=n,Zf=i}function Wm(){Hm(qm,$m)}const Vm=Ps;var js=1/0,xc=js,us=-js,wc=us,Oh={point:function(n,i){nus&&(us=n),iwc&&(wc=i)},lineStart:Tr,lineEnd:Tr,polygonStart:Tr,polygonEnd:Tr,result:function(){var n=[[js,xc],[us,wc]];return us=wc=-(xc=js=1/0),n}};const ru=Oh;var kc,Ih,Oa,Bo,Rh=0,Hp=0,Tc=0,Fh=0,Ph=0,ul=0,jh=0,Jf=0,Yh=0,Oo={point:ls,lineStart:td,lineEnd:Ys,polygonStart:function(){Oo.lineStart=ed,Oo.lineEnd=Gm},polygonEnd:function(){Oo.point=ls,Oo.lineStart=td,Oo.lineEnd=Ys},result:function(){var n=Yh?[jh/Yh,Jf/Yh]:ul?[Fh/ul,Ph/ul]:Tc?[Rh/Tc,Hp/Tc]:[NaN,NaN];return Rh=Hp=Tc=Fh=Ph=ul=jh=Jf=Yh=0,n}};function ls(n,i){Rh+=n,Hp+=i,++Tc}function td(){Oo.point=hs}function hs(n,i){Oo.point=Io,ls(Oa=n,Bo=i)}function Io(n,i){var o=n-Oa,s=i-Bo,l=vi(o*o+s*s);Fh+=l*(Oa+n)/2,Ph+=l*(Bo+i)/2,ul+=l,ls(Oa=n,Bo=i)}function Ys(){Oo.point=ls}function ed(){Oo.point=Wp}function Gm(){Vp(kc,Ih)}function Wp(n,i){Oo.point=Vp,ls(kc=Oa=n,Ih=Bo=i)}function Vp(n,i){var o=n-Oa,s=i-Bo,l=vi(o*o+s*s);Fh+=l*(Oa+n)/2,Ph+=l*(Bo+i)/2,ul+=l,jh+=(l=Bo*n-Oa*i)*(Oa+n),Jf+=l*(Bo+i),Yh+=3*l,ls(Oa=n,Bo=i)}const Gp=Oo;function Xm(n){this._context=n}Xm.prototype={_radius:4.5,pointRadius:function(n){return this._radius=n,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(n,i){switch(this._point){case 0:this._context.moveTo(n,i),this._point=1;break;case 1:this._context.lineTo(n,i);break;default:this._context.moveTo(n+this._radius,i),this._context.arc(n,i,this._radius,0,Rr)}},result:Tr};var Xp,Zm,Qm,iu,ll,zh=yc(),hl={point:Tr,lineStart:function(){hl.point=e5},lineEnd:function(){Xp&&Zp(Zm,Qm),hl.point=Tr},polygonStart:function(){Xp=!0},polygonEnd:function(){Xp=null},result:function(){var n=+zh;return zh.reset(),n}};function e5(n,i){hl.point=Zp,Zm=iu=n,Qm=ll=i}function Zp(n,i){iu-=n,ll-=i,zh.add(vi(iu*iu+ll*ll)),iu=n,ll=i}const Km=hl;function Jm(){this._string=[]}function tv(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function n5(n,i){var o,s,l=4.5;function d(b){return b&&(typeof l=="function"&&s.pointRadius(+l.apply(this,arguments)),Mo(b,o(s))),s.result()}return d.area=function(b){return Mo(b,o(Vm)),Vm.result()},d.measure=function(b){return Mo(b,o(Km)),Km.result()},d.bounds=function(b){return Mo(b,o(ru)),ru.result()},d.centroid=function(b){return Mo(b,o(Gp)),Gp.result()},d.projection=function(b){return arguments.length?(o=b==null?(n=null,Bh):(n=b).stream,d):n},d.context=function(b){return arguments.length?(s=b==null?(i=null,new Jm):new Xm(i=b),typeof l!="function"&&s.pointRadius(l),d):i},d.pointRadius=function(b){return arguments.length?(l=typeof b=="function"?b:(s.pointRadius(+b),+b),d):l},d.projection(n).context(i)}function r5(n){return{stream:Uh(n)}}function Uh(n){return function(i){var o=new Qp;for(var s in n)o[s]=n[s];return o.stream=i,o}}function Qp(){}function Kp(n,i,o){var s=n.clipExtent&&n.clipExtent();return n.scale(150).translate([0,0]),s!=null&&n.clipExtent(null),Mo(o,n.stream(ru)),i(ru.result()),s!=null&&n.clipExtent(s),n}function nd(n,i,o){return Kp(n,function(s){var l=i[1][0]-i[0][0],d=i[1][1]-i[0][1],b=Math.min(l/(s[1][0]-s[0][0]),d/(s[1][1]-s[0][1])),m=+i[0][0]+(l-b*(s[1][0]+s[0][0]))/2,w=+i[0][1]+(d-b*(s[1][1]+s[0][1]))/2;n.scale(150*b).translate([m,w])},o)}function Jp(n,i,o){return nd(n,[[0,0],i],o)}function tg(n,i,o){return Kp(n,function(s){var l=+i,d=l/(s[1][0]-s[0][0]),b=(l-d*(s[1][0]+s[0][0]))/2,m=-d*s[0][1];n.scale(150*d).translate([b,m])},o)}function eg(n,i,o){return Kp(n,function(s){var l=+i,d=l/(s[1][1]-s[0][1]),b=-d*s[0][0],m=(l-d*(s[1][1]+s[0][1]))/2;n.scale(150*d).translate([b,m])},o)}Jm.prototype={_radius:4.5,_circle:tv(4.5),pointRadius:function(n){return(n=+n)!==this._radius&&(this._radius=n,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(n,i){switch(this._point){case 0:this._string.push("M",n,",",i),this._point=1;break;case 1:this._string.push("L",n,",",i);break;default:this._circle==null&&(this._circle=tv(this._radius)),this._string.push("M",n,",",i,this._circle)}},result:function(){if(this._string.length){var n=this._string.join("");return this._string=[],n}return null}},Qp.prototype={constructor:Qp,point:function(n,i){this.stream.point(n,i)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var i5=bn(30*Cn);function ev(n,i){return+i?function(o,s){function l(d,b,m,w,E,L,j,D,q,W,U,V,Z,it){var rt=j-d,dt=D-b,Pt=rt*rt+dt*dt;if(Pt>4*s&&Z--){var Vt=w+W,Jt=E+U,ke=L+V,Yt=vi(Vt*Vt+Jt*Jt+ke*ke),ce=ya(ke/=Yt),ht=Me(Me(ke)-1)<$n||Me(m-q)<$n?(m+q)/2:Qi(Jt,Vt),Ct=o(ht,ce),ne=Ct[0],Qt=Ct[1],ie=ne-d,Fe=Qt-b,Ke=dt*ie-rt*Fe;(Ke*Ke/Pt>s||Me((rt*ie+dt*Fe)/Pt-.5)>.3||w*W+E*U+L*V2?ie[2]%360*Cn:0,ne()):[V*Ur,Z*Ur,it*Ur]},ht.angle=function(ie){return arguments.length?(rt=ie%360*Cn,ne()):rt*Ur},ht.reflectX=function(ie){return arguments.length?(dt=ie?-1:1,ne()):dt<0},ht.reflectY=function(ie){return arguments.length?(Pt=ie?-1:1,ne()):Pt<0},ht.precision=function(ie){return arguments.length?(b=ev(m,ce=ie*ie),Qt()):vi(ce)},ht.fitExtent=function(ie,Fe){return nd(ht,ie,Fe)},ht.fitSize=function(ie,Fe){return Jp(ht,ie,Fe)},ht.fitWidth=function(ie,Fe){return tg(ht,ie,Fe)},ht.fitHeight=function(ie,Fe){return eg(ht,ie,Fe)},function(){return i=n.apply(this,arguments),ht.invert=i.invert&&Ct,ne()}}function rg(n){var i=0,o=or/3,s=ng(n),l=s(i,o);return l.parallels=function(d){return arguments.length?s(i=d[0]*Cn,o=d[1]*Cn):[i*Ur,o*Ur]},l}function rv(n,i){var o=ln(n),s=(o+ln(i))/2;if(Me(s)<$n)return function(m){var w=bn(m);function E(L,j){return[L*w,ln(j)/w]}return E.invert=function(L,j){return[L/w,ya(j*w)]},E}(n);var l=1+o*(2*s-o),d=vi(l)/s;function b(m,w){var E=vi(l-2*s*ln(w))/s;return[E*ln(m*=s),d-E*bn(m)]}return b.invert=function(m,w){var E=d-w,L=Qi(m,Me(E))*kr(E);return E*s<0&&(L-=or*kr(m)*kr(E)),[L/s,ya((l-(m*m+E*E)*s*s)/(2*s))]},b}function rd(){return rg(rv).scale(155.424).center([0,33.6442])}function iv(){return rd().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function zs(){var n,i,o,s,l,d,b=iv(),m=rd().rotate([154,0]).center([-2,58.5]).parallels([55,65]),w=rd().rotate([157,0]).center([-3,19.9]).parallels([8,18]),E={point:function(D,q){d=[D,q]}};function L(D){var q=D[0],W=D[1];return d=null,o.point(q,W),d||(s.point(q,W),d)||(l.point(q,W),d)}function j(){return n=i=null,L}return L.invert=function(D){var q=b.scale(),W=b.translate(),U=(D[0]-W[0])/q,V=(D[1]-W[1])/q;return(V>=.12&&V<.234&&U>=-.425&&U<-.214?m:V>=.166&&V<.234&&U>=-.214&&U<-.115?w:b).invert(D)},L.stream=function(D){return n&&i===D?n:(q=[b.stream(i=D),m.stream(D),w.stream(D)],W=q.length,n={point:function(U,V){for(var Z=-1;++Z0?m<-li+$n&&(m=-li+$n):m>li-$n&&(m=li-$n);var w=l/Sf($h(m),s);return[w*ln(s*b),l-w*bn(s*b)]}return d.invert=function(b,m){var w=l-m,E=kr(s)*vi(b*b+w*w),L=Qi(b,Me(w))*kr(w);return w*s<0&&(L-=or*kr(b)*kr(w)),[L/s,2*mc(Sf(l/E,1/s))-li]},d}function u5(){return rg(ug).scale(109.5).parallels([30,30])}function Hh(n,i){return[n,i]}function l5(){return Ro(Hh).scale(152.63)}function av(n,i){var o=bn(n),s=n===i?ln(n):(o-bn(i))/(i-n),l=o/s+n;if(Me(s)<$n)return Hh;function d(b,m){var w=l-m,E=s*b;return[w*ln(E),l-w*bn(E)]}return d.invert=function(b,m){var w=l-m,E=Qi(b,Me(w))*kr(w);return w*s<0&&(E-=or*kr(b)*kr(w)),[E/s,l-kr(s)*vi(b*b+w*w)]},d}function ov(){return rg(av).scale(131.154).center([0,13.9389])}og.invert=ro(function(n){return n}),qh.invert=function(n,i){return[n,2*mc(dm(i))-li]},Hh.invert=Hh;var Cc=1.340264,Wh=-.081106,Vh=893e-6,Gh=.003796,id=vi(3)/2;function lg(n,i){var o=ya(id*ln(i)),s=o*o,l=s*s*s;return[n*bn(o)/(id*(Cc+3*Wh*s+l*(7*Vh+9*Gh*s))),o*(Cc+Wh*s+l*(Vh+Gh*s))]}function h5(){return Ro(lg).scale(177.158)}function Xh(n,i){var o=bn(i),s=bn(n)*o;return[o*ln(n)/s,ln(i)/s]}function sv(){return Ro(Xh).scale(144.049).clipAngle(60)}function ad(){var n,i,o,s,l,d,b,m=1,w=0,E=0,L=1,j=1,D=0,q=null,W=1,U=1,V=Uh({point:function(dt,Pt){var Vt=rt([dt,Pt]);this.stream.point(Vt[0],Vt[1])}}),Z=Bh;function it(){return W=m*L,U=m*j,d=b=null,rt}function rt(dt){var Pt=dt[0]*W,Vt=dt[1]*U;if(D){var Jt=Vt*n-Pt*i;Pt=Pt*n+Vt*i,Vt=Jt}return[Pt+w,Vt+E]}return rt.invert=function(dt){var Pt=dt[0]-w,Vt=dt[1]-E;if(D){var Jt=Vt*n+Pt*i;Pt=Pt*n-Vt*i,Vt=Jt}return[Pt/W,Vt/U]},rt.stream=function(dt){return d&&b===dt?d:d=V(Z(b=dt))},rt.postclip=function(dt){return arguments.length?(Z=dt,q=o=s=l=null,it()):Z},rt.clipExtent=function(dt){return arguments.length?(Z=dt==null?(q=o=s=l=null,Bh):Uf(q=+dt[0][0],o=+dt[0][1],s=+dt[1][0],l=+dt[1][1]),it()):q==null?null:[[q,o],[s,l]]},rt.scale=function(dt){return arguments.length?(m=+dt,it()):m},rt.translate=function(dt){return arguments.length?(w=+dt[0],E=+dt[1],it()):[w,E]},rt.angle=function(dt){return arguments.length?(i=ln(D=dt%360*Cn),n=bn(D),it()):D*Ur},rt.reflectX=function(dt){return arguments.length?(L=dt?-1:1,it()):L<0},rt.reflectY=function(dt){return arguments.length?(j=dt?-1:1,it()):j<0},rt.fitExtent=function(dt,Pt){return nd(rt,dt,Pt)},rt.fitSize=function(dt,Pt){return Jp(rt,dt,Pt)},rt.fitWidth=function(dt,Pt){return tg(rt,dt,Pt)},rt.fitHeight=function(dt,Pt){return eg(rt,dt,Pt)},rt}function hg(n,i){var o=i*i,s=o*o;return[n*(.8707-.131979*o+s*(s*(.003971*o-.001529*s)-.013791)),i*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))]}function f5(){return Ro(hg).scale(175.295)}function fg(n,i){return[bn(i)*ln(n),ln(i)]}function d5(){return Ro(fg).scale(249.5).clipAngle(90.000001)}function dg(n,i){var o=bn(i),s=1+bn(n)*o;return[o*ln(n)/s,ln(i)/s]}function p5(){return Ro(dg).scale(250).clipAngle(142)}function od(n,i){return[Zu($i((li+i)/2)),-n]}function g5(){var n=cg(od),i=n.center,o=n.rotate;return n.center=function(s){return arguments.length?i([-s[1],s[0]]):[(s=i())[1],-s[0]]},n.rotate=function(s){return arguments.length?o([s[0],s[1],s.length>2?s[2]+90:90]):[(s=o())[0],s[1],s[2]-90]},o([0,0,90]).scale(159.155)}function y5(n,i){return n.parent===i.parent?1:2}function m5(n,i){return n+i.x}function fl(n,i){return Math.max(n,i.y)}function v5(){var n=y5,i=1,o=1,s=!1;function l(d){var b,m=0;d.eachAfter(function(D){var q=D.children;q?(D.x=function(W){return W.reduce(m5,0)/W.length}(q),D.y=function(W){return 1+W.reduce(fl,0)}(q)):(D.x=b?m+=n(D,b):0,D.y=0,b=D)});var w=function(D){for(var q;q=D.children;)D=q[0];return D}(d),E=function(D){for(var q;q=D.children;)D=q[q.length-1];return D}(d),L=w.x-n(w,E)/2,j=E.x+n(E,w)/2;return d.eachAfter(s?function(D){D.x=(D.x-d.x)*i,D.y=(d.y-D.y)*o}:function(D){D.x=(D.x-L)/(j-L)*i,D.y=(1-(d.y?D.y/d.y:1))*o})}return l.separation=function(d){return arguments.length?(n=d,l):n},l.size=function(d){return arguments.length?(s=!1,i=+d[0],o=+d[1],l):s?null:[i,o]},l.nodeSize=function(d){return arguments.length?(s=!0,i=+d[0],o=+d[1],l):s?[i,o]:null},l}function b5(n){var i=0,o=n.children,s=o&&o.length;if(s)for(;--s>=0;)i+=o[s].value;else i=1;n.value=i}function pg(n,i){var o,s,l,d,b,m=new au(n),w=+n.value&&(m.value=n.value),E=[m];for(i==null&&(i=cv);o=E.pop();)if(w&&(o.value=+o.data.value),(l=i(o.data))&&(b=l.length))for(o.children=new Array(b),d=b-1;d>=0;--d)E.push(s=o.children[d]=new au(l[d])),s.parent=o,s.depth=o.depth+1;return m.eachBefore(yg)}function cv(n){return n.children}function gg(n){n.data=n.data.data}function yg(n){var i=0;do n.height=i;while((n=n.parent)&&n.height<++i)}function au(n){this.data=n,this.depth=this.height=0,this.parent=null}lg.invert=function(n,i){for(var o,s=i,l=s*s,d=l*l*l,b=0;b<12&&(d=(l=(s-=o=(s*(Cc+Wh*l+d*(Vh+Gh*l))-i)/(Cc+3*Wh*l+d*(7*Vh+9*Gh*l)))*s)*l*l,!(Me(o)$n&&--l>0);return[n/(.8707+(d=s*s)*(d*(d*d*d*(.003971-.001529*d)-.013791)-.131979)),s]},fg.invert=ro(ya),dg.invert=ro(function(n){return 2*mc(n)}),od.invert=function(n,i){return[-i,2*mc(dm(n))-li]},au.prototype=pg.prototype={constructor:au,count:function(){return this.eachAfter(b5)},each:function(n){var i,o,s,l,d=this,b=[d];do for(i=b.reverse(),b=[];d=i.pop();)if(n(d),o=d.children)for(s=0,l=o.length;s=0;--o)l.push(i[o]);return this},sum:function(n){return this.eachAfter(function(i){for(var o=+n(i.data)||0,s=i.children,l=s&&s.length;--l>=0;)o+=s[l].value;i.value=o})},sort:function(n){return this.eachBefore(function(i){i.children&&i.children.sort(n)})},path:function(n){for(var i=this,o=function(d,b){if(d===b)return d;var m=d.ancestors(),w=b.ancestors(),E=null;for(d=m.pop(),b=w.pop();d===b;)E=d,d=m.pop(),b=w.pop();return E}(i,n),s=[i];i!==o;)i=i.parent,s.push(i);for(var l=s.length;n!==o;)s.splice(l,0,n),n=n.parent;return s},ancestors:function(){for(var n=this,i=[n];n=n.parent;)i.push(n);return i},descendants:function(){var n=[];return this.each(function(i){n.push(i)}),n},leaves:function(){var n=[];return this.eachBefore(function(i){i.children||n.push(i)}),n},links:function(){var n=this,i=[];return n.each(function(o){o!==n&&i.push({source:o.parent,target:o})}),i},copy:function(){return pg(this).eachBefore(gg)}};var uv=Array.prototype.slice;function lv(n){for(var i,o,s=0,l=(n=function(b){for(var m,w,E=b.length;E;)w=Math.random()*E--|0,m=b[E],b[E]=b[w],b[w]=m;return b}(uv.call(n))).length,d=[];s0&&o*o>s*s+l*l}function mg(n,i){for(var o=0;o(b*=b)?(s=(E+b-l)/(2*E),d=Math.sqrt(Math.max(0,b/E-s*s)),o.x=n.x-s*m-d*w,o.y=n.y-s*w+d*m):(s=(E+l-b)/(2*E),d=Math.sqrt(Math.max(0,l/E-s*s)),o.x=i.x+s*m-d*w,o.y=i.y+s*w+d*m)):(o.x=i.x+o.r,o.y=i.y)}function pv(n,i){var o=n.r+i.r-1e-6,s=i.x-n.x,l=i.y-n.y;return o>0&&o*o>s*s+l*l}function gv(n){var i=n._,o=n.next._,s=i.r+o.r,l=(i.x*o.r+o.x*i.r)/s,d=(i.y*o.r+o.y*i.r)/s;return l*l+d*d}function cd(n){this._=n,this.next=null,this.previous=null}function yv(n){if(!(l=n.length))return 0;var i,o,s,l,d,b,m,w,E,L,j;if((i=n[0]).x=0,i.y=0,!(l>1))return i.r;if(o=n[1],i.x=-o.r,o.x=i.r,o.y=0,!(l>2))return i.r+o.r;dv(o,i,s=n[2]),i=new cd(i),o=new cd(o),s=new cd(s),i.next=s.previous=o,o.next=i.previous=s,s.next=o.previous=i;t:for(m=3;m0)throw new Error("cycle");return b}return o.id=function(s){return arguments.length?(n=ud(s),o):n},o.parentId=function(s){return arguments.length?(i=ud(s),o):i},o}function E5(n,i){return n.parent===i.parent?1:2}function vg(n){var i=n.children;return i?i[0]:n.t}function fd(n){var i=n.children;return i?i[i.length-1]:n.t}function S5(n,i,o){var s=o/(i.i-n.i);i.c-=s,i.s+=o,n.c+=s,i.z+=o,i.m+=o}function dd(n,i,o){return n.a.parent===i.parent?n.a:o}function Ec(n,i){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=i}function pl(){var n=E5,i=1,o=1,s=null;function l(w){var E=function(Z){for(var it,rt,dt,Pt,Vt,Jt=new Ec(Z,0),ke=[Jt];it=ke.pop();)if(dt=it._.children)for(it.children=new Array(Vt=dt.length),Pt=Vt-1;Pt>=0;--Pt)ke.push(rt=it.children[Pt]=new Ec(dt[Pt],Pt)),rt.parent=it;return(Jt.parent=new Ec(null,0)).children=[Jt],Jt}(w);if(E.eachAfter(d),E.parent.m=-E.z,E.eachBefore(b),s)w.eachBefore(m);else{var L=w,j=w,D=w;w.eachBefore(function(Z){Z.xj.x&&(j=Z),Z.depth>D.depth&&(D=Z)});var q=L===j?1:n(L,j)/2,W=q-L.x,U=i/(j.x+q+W),V=o/(D.depth||1);w.eachBefore(function(Z){Z.x=(Z.x+W)*U,Z.y=Z.depth*V})}return w}function d(w){var E=w.children,L=w.parent.children,j=w.i?L[w.i-1]:null;if(E){(function(q){for(var W,U=0,V=0,Z=q.children,it=Z.length;--it>=0;)(W=Z[it]).z+=U,W.m+=U,U+=W.s+(V+=W.c)})(w);var D=(E[0].z+E[E.length-1].z)/2;j?(w.z=j.z+n(w._,j._),w.m=w.z-D):w.z=D}else j&&(w.z=j.z+n(w._,j._));w.parent.A=function(q,W,U){if(W){for(var V,Z=q,it=q,rt=W,dt=Z.parent.children[0],Pt=Z.m,Vt=it.m,Jt=rt.m,ke=dt.m;rt=fd(rt),Z=vg(Z),rt&&Z;)dt=vg(dt),(it=fd(it)).a=q,(V=rt.z+Jt-Z.z-Pt+n(rt._,Z._))>0&&(S5(dd(rt,q,U),q,V),Pt+=V,Vt+=V),Jt+=rt.m,Pt+=Z.m,ke+=dt.m,Vt+=it.m;rt&&!fd(it)&&(it.t=rt,it.m+=Jt-Vt),Z&&!vg(dt)&&(dt.t=Z,dt.m+=Pt-ke,U=q)}return U}(w,j,w.parent.A||L[0])}function b(w){w._.x=w.z+w.parent.m,w.m+=w.parent.m}function m(w){w.x*=i,w.y=w.depth*o}return l.separation=function(w){return arguments.length?(n=w,l):n},l.size=function(w){return arguments.length?(s=!1,i=+w[0],o=+w[1],l):s?null:[i,o]},l.nodeSize=function(w){return arguments.length?(s=!0,i=+w[0],o=+w[1],l):s?[i,o]:null},l}function Sc(n,i,o,s,l){for(var d,b=n.children,m=-1,w=b.length,E=n.value&&(l-o)/n.value;++mD&&(D=m),V=L*L*U,(q=Math.max(D/V,V/j))>W){L-=m;break}W=q}Z.push(b={value:L,dice:w1?s:1)},o}(gl);function pd(){var n=Ac,i=!1,o=1,s=1,l=[0],d=ou,b=ou,m=ou,w=ou,E=ou;function L(D){return D.x0=D.y0=0,D.x1=o,D.y1=s,D.eachBefore(j),l=[0],i&&D.eachBefore(_v),D}function j(D){var q=l[D.depth],W=D.x0+q,U=D.y0+q,V=D.x1-q,Z=D.y1-q;V=D-1){var it=m[j];return it.x0=W,it.y0=U,it.x1=V,void(it.y1=Z)}for(var rt=E[j],dt=q/2+rt,Pt=j+1,Vt=D-1;Pt>>1;E[Jt]Z-U){var ce=(W*Yt+V*ke)/q;L(j,Pt,ke,W,U,ce,Z),L(Pt,D,Yt,ce,U,V,Z)}else{var ht=(U*Yt+Z*ke)/q;L(j,Pt,ke,W,U,V,ht),L(Pt,D,Yt,W,ht,V,Z)}})(0,w,n.value,i,o,s,l)}function kv(n,i,o,s,l){(1&n.depth?Sc:Qh)(n,i,o,s,l)}const bg=function n(i){function o(s,l,d,b,m){if((w=s._squarify)&&w.ratio===i)for(var w,E,L,j,D,q=-1,W=w.length,U=s.value;++q1?s:1)},o}(gl);function A5(n){var i=n.length;return function(o){return n[Math.max(0,Math.min(i-1,Math.floor(o*i)))]}}function gd(n,i){var o=Ma(+n,+i);return function(s){var l=o(s);return l-360*Math.floor(l/360)}}function _g(n,i){return n=+n,i=+i,function(o){return Math.round(n*(1-o)+i*o)}}var yl=Math.SQRT2;function Tv(n){return((n=Math.exp(n))+1/n)/2}function yd(n,i){var o,s,l=n[0],d=n[1],b=n[2],m=i[0],w=i[1],E=i[2],L=m-l,j=w-d,D=L*L+j*j;if(D<1e-12)s=Math.log(E/b)/yl,o=function(it){return[l+it*L,d+it*j,b*Math.exp(yl*it*s)]};else{var q=Math.sqrt(D),W=(E*E-b*b+4*D)/(2*b*2*q),U=(E*E-b*b-4*D)/(2*E*2*q),V=Math.log(Math.sqrt(W*W+1)-W),Z=Math.log(Math.sqrt(U*U+1)-U);s=(Z-V)/yl,o=function(it){var rt,dt=it*s,Pt=Tv(V),Vt=b/(2*q)*(Pt*(rt=yl*dt+V,((rt=Math.exp(2*rt))-1)/(rt+1))-function(Jt){return((Jt=Math.exp(Jt))-1/Jt)/2}(V));return[l+Vt*L,d+Vt*j,b*Pt/Tv(yl*dt+V)]}}return o.duration=1e3*s,o}function xg(n){return function(i,o){var s=n((i=Bu(i)).h,(o=Bu(o)).h),l=mi(i.s,o.s),d=mi(i.l,o.l),b=mi(i.opacity,o.opacity);return function(m){return i.h=s(m),i.s=l(m),i.l=d(m),i.opacity=b(m),i+""}}}const M5=xg(Ma);var N5=xg(mi);function md(n,i){var o=mi((n=lh(n)).l,(i=lh(i)).l),s=mi(n.a,i.a),l=mi(n.b,i.b),d=mi(n.opacity,i.opacity);return function(b){return n.l=o(b),n.a=s(b),n.b=l(b),n.opacity=d(b),n+""}}function vd(n){return function(i,o){var s=n((i=dc(i)).h,(o=dc(o)).h),l=mi(i.c,o.c),d=mi(i.l,o.l),b=mi(i.opacity,o.opacity);return function(m){return i.h=s(m),i.c=l(m),i.l=d(m),i.opacity=b(m),i+""}}}const fs=vd(Ma);var Po=vd(mi);function Us(n){return function i(o){function s(l,d){var b=n((l=da(l)).h,(d=da(d)).h),m=mi(l.s,d.s),w=mi(l.l,d.l),E=mi(l.opacity,d.opacity);return function(L){return l.h=b(L),l.s=m(L),l.l=w(Math.pow(L,o)),l.opacity=E(L),l+""}}return o=+o,s.gamma=i,s}(1)}const bd=Us(Ma);var e1=Us(mi);function wg(n,i){for(var o=0,s=i.length-1,l=i[0],d=new Array(s<0?0:s);o1&&L5(n[o[s-2]],n[o[s-1]],n[l])<=0;)--s;o[s++]=l}return o.slice(0,s)}function kg(n){if((o=n.length)<3)return null;var i,o,s=new Array(o),l=new Array(o);for(i=0;i=0;--i)E.push(n[s[d[i]][2]]);for(i=+m;im!=E>m&&b<(w-o)*(m-s)/(E-s)+o&&(L=!L),w=o,E=s;return L}function Av(n){for(var i,o,s=-1,l=n.length,d=n[l-1],b=d[0],m=d[1],w=0;++s1);return s+l*m*Math.sqrt(-2*Math.log(b)/b)}}return o.source=n,o}(ds),ml=function n(i){function o(){var s=n1.source(i).apply(this,arguments);return function(){return Math.exp(s())}}return o.source=n,o}(ds),vl=function n(i){function o(s){return function(){for(var l=0,d=0;ds&&(i=o,o=s,s=i),function(l){return Math.max(o,Math.min(s,l))}}function Nv(n,i,o){var s=n[0],l=n[1],d=i[0],b=i[1];return l2?Dv:Nv,l=d=null,j}function j(D){return isNaN(D=+D)?o:(l||(l=s(b.map(n),m,w)))(n(E(D)))}return j.invert=function(D){return E(i((d||(d=s(m,b.map(n),la)))(D)))},j.domain=function(D){return arguments.length?(b=xd.call(D,Td),E===Ki||(E=Ia(b)),L()):b.slice()},j.range=function(D){return arguments.length?(m=su.call(D),L()):m.slice()},j.rangeRound=function(D){return m=su.call(D),w=_g,L()},j.clamp=function(D){return arguments.length?(E=D?Ia(b):Ki,j):E!==Ki},j.interpolate=function(D){return arguments.length?(w=D,L()):w},j.unknown=function(D){return arguments.length?(o=D,j):o},function(D,q){return n=D,i=q,L()}}function Sg(n,i){return o1()(n,i)}function Yo(n,i,o,s){var l,d=st(n,i,o);switch((s=_h(s==null?",f":s)).type){case"s":var b=Math.max(Math.abs(n),Math.abs(i));return s.precision!=null||isNaN(l=lm(d,b))||(s.precision=l),Tp(s,b);case"":case"e":case"g":case"p":case"r":s.precision!=null||isNaN(l=hm(d,Math.max(Math.abs(n),Math.abs(i))))||(s.precision=l-(s.type==="e"));break;case"f":case"%":s.precision!=null||isNaN(l=Cp(d))||(s.precision=l-2*(s.type==="%"))}return Tf(s)}function $s(n){var i=n.domain;return n.ticks=function(o){var s=i();return lt(s[0],s[s.length-1],o==null?10:o)},n.tickFormat=function(o,s){var l=i();return Yo(l[0],l[l.length-1],o==null?10:o,s)},n.nice=function(o){o==null&&(o=10);var s,l=i(),d=0,b=l.length-1,m=l[d],w=l[b];return w0?s=et(m=Math.floor(m/s)*s,w=Math.ceil(w/s)*s,o):s<0&&(s=et(m=Math.ceil(m*s)/s,w=Math.floor(w*s)/s,o)),s>0?(l[d]=Math.floor(m/s)*s,l[b]=Math.ceil(w/s)*s,i(l)):s<0&&(l[d]=Math.ceil(m*s)/s,l[b]=Math.floor(w*s)/s,i(l)),n},n}function Ag(){var n=Sg(Ki,Ki);return n.copy=function(){return cu(n,Ag())},jo.apply(n,arguments),$s(n)}function Mg(n){var i;function o(s){return isNaN(s=+s)?i:s}return o.invert=o,o.domain=o.range=function(s){return arguments.length?(n=xd.call(s,Td),o):n.slice()},o.unknown=function(s){return arguments.length?(i=s,o):i},o.copy=function(){return Mg(n).unknown(i)},n=arguments.length?xd.call(n,Td):[0,1],$s(o)}function Ng(n,i){var o,s=0,l=(n=n.slice()).length-1,d=n[s],b=n[l];return b0){for(;Uj)break;it.push(W)}}else for(;U=1;--q)if(!((W=D*q)j)break;it.push(W)}}else it=lt(U,V,Math.min(V-U,Z)).map(o);return w?it.reverse():it},s.tickFormat=function(m,w){if(w==null&&(w=d===10?".0e":","),typeof w!="function"&&(w=Tf(w)),m===1/0)return w;m==null&&(m=10);var E=Math.max(1,d*m/s.ticks().length);return function(L){var j=L/o(Math.round(i(L)));return j*d0?s[m-1]:i[0],m=s?[l[s-1],o]:[l[E-1],l[E]]},b.unknown=function(w){return arguments.length&&(n=w),b},b.thresholds=function(){return l.slice()},b.copy=function(){return Yv().domain([i,o]).range(d).unknown(n)},jo.apply($s(b),arguments)}function zv(){var n,i=[.5],o=[0,1],s=1;function l(d){return d<=d?o[M(i,d,0,s)]:n}return l.domain=function(d){return arguments.length?(i=su.call(d),s=Math.min(i.length,o.length-1),l):i.slice()},l.range=function(d){return arguments.length?(o=su.call(d),s=Math.min(i.length,o.length-1),l):o.slice()},l.invertExtent=function(d){var b=o.indexOf(d);return[i[b-1],i[b]]},l.unknown=function(d){return arguments.length?(n=d,l):n},l.copy=function(){return zv().domain(i).range(o).unknown(n)},jo.apply(l,arguments)}var Sd=new Date,Ig=new Date;function Li(n,i,o,s){function l(d){return n(d=arguments.length===0?new Date:new Date(+d)),d}return l.floor=function(d){return n(d=new Date(+d)),d},l.ceil=function(d){return n(d=new Date(d-1)),i(d,1),n(d),d},l.round=function(d){var b=l(d),m=l.ceil(d);return d-b0))return E;do E.push(w=new Date(+d)),i(d,m),n(d);while(w=b)for(;n(b),!d(b);)b.setTime(b-1)},function(b,m){if(b>=b)if(m<0)for(;++m<=0;)for(;i(b,-1),!d(b););else for(;--m>=0;)for(;i(b,1),!d(b););})},o&&(l.count=function(d,b){return Sd.setTime(+d),Ig.setTime(+b),n(Sd),n(Ig),Math.floor(o(Sd,Ig))},l.every=function(d){return d=Math.floor(d),isFinite(d)&&d>0?d>1?l.filter(s?function(b){return s(b)%d==0}:function(b){return l.count(0,b)%d==0}):l:null}),l}var Rg=Li(function(n){n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,i){n.setFullYear(n.getFullYear()+i)},function(n,i){return i.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});Rg.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Li(function(i){i.setFullYear(Math.floor(i.getFullYear()/n)*n),i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,o){i.setFullYear(i.getFullYear()+o*n)}):null};const uu=Rg;var Y5=Rg.range,gs=Li(function(n){n.setDate(1),n.setHours(0,0,0,0)},function(n,i){n.setMonth(n.getMonth()+i)},function(n,i){return i.getMonth()-n.getMonth()+12*(i.getFullYear()-n.getFullYear())},function(n){return n.getMonth()});const Fg=gs;var Hs=gs.range,Ad=1e3,lu=6e4,s1=36e5,Pg=864e5,jg=6048e5;function hu(n){return Li(function(i){i.setDate(i.getDate()-(i.getDay()+7-n)%7),i.setHours(0,0,0,0)},function(i,o){i.setDate(i.getDate()+7*o)},function(i,o){return(o-i-(o.getTimezoneOffset()-i.getTimezoneOffset())*lu)/jg})}var fu=hu(0),bl=hu(1),Md=hu(2),Uv=hu(3),Ws=hu(4),_l=hu(5),Vs=hu(6),Yg=fu.range,Nd=bl.range,zg=Md.range,z5=Uv.range,Dd=Ws.range,xl=_l.range,qv=Vs.range,io=Li(function(n){n.setHours(0,0,0,0)},function(n,i){n.setDate(n.getDate()+i)},function(n,i){return(i-n-(i.getTimezoneOffset()-n.getTimezoneOffset())*lu)/Pg},function(n){return n.getDate()-1});const oi=io;var wl=io.range,Ld=Li(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*Ad-n.getMinutes()*lu)},function(n,i){n.setTime(+n+i*s1)},function(n,i){return(i-n)/s1},function(n){return n.getHours()});const $v=Ld;var zo=Ld.range,Mc=Li(function(n){n.setTime(n-n.getMilliseconds()-n.getSeconds()*Ad)},function(n,i){n.setTime(+n+i*lu)},function(n,i){return(i-n)/lu},function(n){return n.getMinutes()});const c1=Mc;var Bd=Mc.range,Od=Li(function(n){n.setTime(n-n.getMilliseconds())},function(n,i){n.setTime(+n+i*Ad)},function(n,i){return(i-n)/Ad},function(n){return n.getUTCSeconds()});const kl=Od;var Hv=Od.range,Id=Li(function(){},function(n,i){n.setTime(+n+i)},function(n,i){return i-n});Id.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?Li(function(i){i.setTime(Math.floor(i/n)*n)},function(i,o){i.setTime(+i+o*n)},function(i,o){return(o-i)/n}):Id:null};const Tl=Id;var Wv=Id.range;function du(n){return Li(function(i){i.setUTCDate(i.getUTCDate()-(i.getUTCDay()+7-n)%7),i.setUTCHours(0,0,0,0)},function(i,o){i.setUTCDate(i.getUTCDate()+7*o)},function(i,o){return(o-i)/jg})}var u1=du(0),Nc=du(1),Ug=du(2),Vv=du(3),Dc=du(4),qg=du(5),pu=du(6),Gv=u1.range,$g=Nc.range,Xv=Ug.range,Zv=Vv.range,Qv=Dc.range,Gs=qg.range,Rd=pu.range,Kv=Li(function(n){n.setUTCHours(0,0,0,0)},function(n,i){n.setUTCDate(n.getUTCDate()+i)},function(n,i){return(i-n)/Pg},function(n){return n.getUTCDate()-1});const l1=Kv;var Ji=Kv.range,Jn=Li(function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,i){n.setUTCFullYear(n.getUTCFullYear()+i)},function(n,i){return i.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});Jn.every=function(n){return isFinite(n=Math.floor(n))&&n>0?Li(function(i){i.setUTCFullYear(Math.floor(i.getUTCFullYear()/n)*n),i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,o){i.setUTCFullYear(i.getUTCFullYear()+o*n)}):null};const ys=Jn;var U5=Jn.range;function Hg(n){if(0<=n.y&&n.y<100){var i=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return i.setFullYear(n.y),i}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)}function Gn(n){if(0<=n.y&&n.y<100){var i=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return i.setUTCFullYear(n.y),i}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))}function go(n,i,o){return{y:n,m:i,d:o,H:0,M:0,S:0,L:0}}function h1(n){var i=n.dateTime,o=n.date,s=n.time,l=n.periods,d=n.days,b=n.shortDays,m=n.months,w=n.shortMonths,E=Re(l),L=Xs(l),j=Re(d),D=Xs(d),q=Re(b),W=Xs(b),U=Re(m),V=Xs(m),Z=Re(w),it=Xs(w),rt={a:function(Yt){return b[Yt.getDay()]},A:function(Yt){return d[Yt.getDay()]},b:function(Yt){return w[Yt.getMonth()]},B:function(Yt){return m[Yt.getMonth()]},c:null,d:Zs,e:Zs,f:Q5,g:Yd,G:r_,H:Qg,I:Kg,j:Jg,L:vu,m:K5,M:J5,p:function(Yt){return l[+(Yt.getHours()>=12)]},q:function(Yt){return 1+~~(Yt.getMonth()/3)},Q:Sl,s:Oi,S:t_,u:i3,U:yo,V:a3,w:e2,W:jd,x:null,X:null,y:e_,Y:n_,Z:o3,"%":a2},dt={a:function(Yt){return b[Yt.getUTCDay()]},A:function(Yt){return d[Yt.getUTCDay()]},b:function(Yt){return w[Yt.getUTCMonth()]},B:function(Yt){return m[Yt.getUTCMonth()]},c:null,d:n2,e:n2,f:s3,g:qd,G:tr,H:zd,I:ms,j:El,L:Qs,m:c3,M:u3,p:function(Yt){return l[+(Yt.getUTCHours()>=12)]},q:function(Yt){return 1+~~(Yt.getUTCMonth()/3)},Q:Sl,s:Oi,S:Hi,u:i_,U:a_,V:Ud,w:r2,W:h3,x:null,X:null,y:Ra,Y:f3,Z:i2,"%":a2},Pt={a:function(Yt,ce,ht){var Ct=q.exec(ce.slice(ht));return Ct?(Yt.w=W[Ct[0].toLowerCase()],ht+Ct[0].length):-1},A:function(Yt,ce,ht){var Ct=j.exec(ce.slice(ht));return Ct?(Yt.w=D[Ct[0].toLowerCase()],ht+Ct[0].length):-1},b:function(Yt,ce,ht){var Ct=Z.exec(ce.slice(ht));return Ct?(Yt.m=it[Ct[0].toLowerCase()],ht+Ct[0].length):-1},B:function(Yt,ce,ht){var Ct=U.exec(ce.slice(ht));return Ct?(Yt.m=V[Ct[0].toLowerCase()],ht+Ct[0].length):-1},c:function(Yt,ce,ht){return ke(Yt,i,ce,ht)},d:n3,e:n3,f:G5,g:e3,G:Pd,H:r3,I:r3,j:Gg,L:V5,m:H5,M:W5,p:function(Yt,ce,ht){var Ct=E.exec(ce.slice(ht));return Ct?(Yt.p=L[Ct[0].toLowerCase()],ht+Ct[0].length):-1},q:Vg,Q:X5,s:Z5,S:Xg,u:t3,U:vr,V:Hn,w:hn,W:xa,x:function(Yt,ce,ht){return ke(Yt,o,ce,ht)},X:function(Yt,ce,ht){return ke(Yt,s,ce,ht)},y:e3,Y:Pd,Z:$5,"%":Zg};function Vt(Yt,ce){return function(ht){var Ct,ne,Qt,ie=[],Fe=-1,Ke=0,Tn=Yt.length;for(ht instanceof Date||(ht=new Date(+ht));++Fe53)return null;"w"in Qt||(Qt.w=1),"Z"in Qt?(ne=(Ct=Gn(go(Qt.y,0,1))).getUTCDay(),Ct=ne>4||ne===0?Nc.ceil(Ct):Nc(Ct),Ct=l1.offset(Ct,7*(Qt.V-1)),Qt.y=Ct.getUTCFullYear(),Qt.m=Ct.getUTCMonth(),Qt.d=Ct.getUTCDate()+(Qt.w+6)%7):(ne=(Ct=Hg(go(Qt.y,0,1))).getDay(),Ct=ne>4||ne===0?bl.ceil(Ct):bl(Ct),Ct=oi.offset(Ct,7*(Qt.V-1)),Qt.y=Ct.getFullYear(),Qt.m=Ct.getMonth(),Qt.d=Ct.getDate()+(Qt.w+6)%7)}else("W"in Qt||"U"in Qt)&&("w"in Qt||(Qt.w="u"in Qt?Qt.u%7:"W"in Qt?1:0),ne="Z"in Qt?Gn(go(Qt.y,0,1)).getUTCDay():Hg(go(Qt.y,0,1)).getDay(),Qt.m=0,Qt.d="W"in Qt?(Qt.w+6)%7+7*Qt.W-(ne+5)%7:Qt.w+7*Qt.U-(ne+6)%7);return"Z"in Qt?(Qt.H+=Qt.Z/100|0,Qt.M+=Qt.Z%100,Gn(Qt)):Hg(Qt)}}function ke(Yt,ce,ht,Ct){for(var ne,Qt,ie=0,Fe=ce.length,Ke=ht.length;ie=Ke)return-1;if((ne=ce.charCodeAt(ie++))===37){if(ne=ce.charAt(ie++),!(Qt=Pt[ne in Wg?ce.charAt(ie++):ne])||(Ct=Qt(Yt,ht,Ct))<0)return-1}else if(ne!=ht.charCodeAt(Ct++))return-1}return Ct}return rt.x=Vt(o,rt),rt.X=Vt(s,rt),rt.c=Vt(i,rt),dt.x=Vt(o,dt),dt.X=Vt(s,dt),dt.c=Vt(i,dt),{format:function(Yt){var ce=Vt(Yt+="",rt);return ce.toString=function(){return Yt},ce},parse:function(Yt){var ce=Jt(Yt+="",!1);return ce.toString=function(){return Yt},ce},utcFormat:function(Yt){var ce=Vt(Yt+="",dt);return ce.toString=function(){return Yt},ce},utcParse:function(Yt){var ce=Jt(Yt+="",!0);return ce.toString=function(){return Yt},ce}}}var gu,yu,f1,mu,Cl,Wg={"-":"",_:" ",0:"0"},Bi=/^\s*\d+/,Fd=/^%/,q5=/[\\^$*+?|[\]().{}]/g;function ir(n,i,o){var s=n<0?"-":"",l=(s?-n:n)+"",d=l.length;return s+(d68?1900:2e3),o+s[0].length):-1}function $5(n,i,o){var s=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(i.slice(o,o+6));return s?(n.Z=s[1]?0:-(s[2]+(s[3]||"00")),o+s[0].length):-1}function Vg(n,i,o){var s=Bi.exec(i.slice(o,o+1));return s?(n.q=3*s[0]-3,o+s[0].length):-1}function H5(n,i,o){var s=Bi.exec(i.slice(o,o+2));return s?(n.m=s[0]-1,o+s[0].length):-1}function n3(n,i,o){var s=Bi.exec(i.slice(o,o+2));return s?(n.d=+s[0],o+s[0].length):-1}function Gg(n,i,o){var s=Bi.exec(i.slice(o,o+3));return s?(n.m=0,n.d=+s[0],o+s[0].length):-1}function r3(n,i,o){var s=Bi.exec(i.slice(o,o+2));return s?(n.H=+s[0],o+s[0].length):-1}function W5(n,i,o){var s=Bi.exec(i.slice(o,o+2));return s?(n.M=+s[0],o+s[0].length):-1}function Xg(n,i,o){var s=Bi.exec(i.slice(o,o+2));return s?(n.S=+s[0],o+s[0].length):-1}function V5(n,i,o){var s=Bi.exec(i.slice(o,o+3));return s?(n.L=+s[0],o+s[0].length):-1}function G5(n,i,o){var s=Bi.exec(i.slice(o,o+6));return s?(n.L=Math.floor(s[0]/1e3),o+s[0].length):-1}function Zg(n,i,o){var s=Fd.exec(i.slice(o,o+1));return s?o+s[0].length:-1}function X5(n,i,o){var s=Bi.exec(i.slice(o));return s?(n.Q=+s[0],o+s[0].length):-1}function Z5(n,i,o){var s=Bi.exec(i.slice(o));return s?(n.s=+s[0],o+s[0].length):-1}function Zs(n,i){return ir(n.getDate(),i,2)}function Qg(n,i){return ir(n.getHours(),i,2)}function Kg(n,i){return ir(n.getHours()%12||12,i,2)}function Jg(n,i){return ir(1+oi.count(uu(n),n),i,3)}function vu(n,i){return ir(n.getMilliseconds(),i,3)}function Q5(n,i){return vu(n,i)+"000"}function K5(n,i){return ir(n.getMonth()+1,i,2)}function J5(n,i){return ir(n.getMinutes(),i,2)}function t_(n,i){return ir(n.getSeconds(),i,2)}function i3(n){var i=n.getDay();return i===0?7:i}function yo(n,i){return ir(fu.count(uu(n)-1,n),i,2)}function t2(n){var i=n.getDay();return i>=4||i===0?Ws(n):Ws.ceil(n)}function a3(n,i){return n=t2(n),ir(Ws.count(uu(n),n)+(uu(n).getDay()===4),i,2)}function e2(n){return n.getDay()}function jd(n,i){return ir(bl.count(uu(n)-1,n),i,2)}function e_(n,i){return ir(n.getFullYear()%100,i,2)}function Yd(n,i){return ir((n=t2(n)).getFullYear()%100,i,2)}function n_(n,i){return ir(n.getFullYear()%1e4,i,4)}function r_(n,i){var o=n.getDay();return ir((n=o>=4||o===0?Ws(n):Ws.ceil(n)).getFullYear()%1e4,i,4)}function o3(n){var i=n.getTimezoneOffset();return(i>0?"-":(i*=-1,"+"))+ir(i/60|0,"0",2)+ir(i%60,"0",2)}function n2(n,i){return ir(n.getUTCDate(),i,2)}function zd(n,i){return ir(n.getUTCHours(),i,2)}function ms(n,i){return ir(n.getUTCHours()%12||12,i,2)}function El(n,i){return ir(1+l1.count(ys(n),n),i,3)}function Qs(n,i){return ir(n.getUTCMilliseconds(),i,3)}function s3(n,i){return Qs(n,i)+"000"}function c3(n,i){return ir(n.getUTCMonth()+1,i,2)}function u3(n,i){return ir(n.getUTCMinutes(),i,2)}function Hi(n,i){return ir(n.getUTCSeconds(),i,2)}function i_(n){var i=n.getUTCDay();return i===0?7:i}function a_(n,i){return ir(u1.count(ys(n)-1,n),i,2)}function l3(n){var i=n.getUTCDay();return i>=4||i===0?Dc(n):Dc.ceil(n)}function Ud(n,i){return n=l3(n),ir(Dc.count(ys(n),n)+(ys(n).getUTCDay()===4),i,2)}function r2(n){return n.getUTCDay()}function h3(n,i){return ir(Nc.count(ys(n)-1,n),i,2)}function Ra(n,i){return ir(n.getUTCFullYear()%100,i,2)}function qd(n,i){return ir((n=l3(n)).getUTCFullYear()%100,i,2)}function f3(n,i){return ir(n.getUTCFullYear()%1e4,i,4)}function tr(n,i){var o=n.getUTCDay();return ir((n=o>=4||o===0?Dc(n):Dc.ceil(n)).getUTCFullYear()%1e4,i,4)}function i2(){return"+0000"}function a2(){return"%"}function Sl(n){return+n}function Oi(n){return Math.floor(+n/1e3)}function Al(n){return gu=h1(n),yu=gu.format,f1=gu.parse,mu=gu.utcFormat,Cl=gu.utcParse,gu}Al({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Ml=31536e6;function $d(n){return new Date(n)}function d3(n){return n instanceof Date?+n:+new Date(+n)}function $t(n,i,o,s,l,d,b,m,w){var E=Sg(Ki,Ki),L=E.invert,j=E.domain,D=w(".%L"),q=w(":%S"),W=w("%I:%M"),U=w("%I %p"),V=w("%a %d"),Z=w("%b %d"),it=w("%B"),rt=w("%Y"),dt=[[b,1,1e3],[b,5,5e3],[b,15,15e3],[b,30,3e4],[d,1,6e4],[d,5,3e5],[d,15,9e5],[d,30,18e5],[l,1,36e5],[l,3,108e5],[l,6,216e5],[l,12,432e5],[s,1,864e5],[s,2,1728e5],[o,1,6048e5],[i,1,2592e6],[i,3,7776e6],[n,1,Ml]];function Pt(Jt){return(b(Jt)1)&&(n-=Math.floor(n));var i=Math.abs(n-.5);return k1.h=360*n-100,k1.s=1.5-1.5*i,k1.l=.8-.9*i,k1+""}var t0=Ui(),I3=Math.PI/3,Js=2*Math.PI/3;function Oc(n){var i;return n=(.5-n)*Math.PI,t0.r=255*(i=Math.sin(n))*i,t0.g=255*(i=Math.sin(n+I3))*i,t0.b=255*(i=Math.sin(n+Js))*i,t0+""}function Gr(n){return n=Math.max(0,Math.min(1,n)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+n*(1172.33-n*(10793.56-n*(33300.12-n*(38394.49-14825.05*n)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+n*(557.33+n*(1225.33-n*(3574.96-n*(1073.77+707.56*n)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+n*(3211.1-n*(15327.97-n*(27814-n*(22569.18-6838.66*n)))))))+")"}function T1(n){var i=n.length;return function(o){return n[Math.max(0,Math.min(i-1,Math.floor(o*i)))]}}const R3=T1(er("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var F3=T1(er("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),v_=T1(er("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),_2=T1(er("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function x2(n){return $r(Er(n).call(document.documentElement))}var tc=0;function C1(){return new w2}function w2(){this._="@"+(++tc).toString(36)}function P3(n){return typeof n=="string"?new zn([document.querySelectorAll(n)],[document.documentElement]):new zn([n==null?[]:n],lo)}function k2(n,i){i==null&&(i=Qa().touches);for(var o=0,s=i?i.length:0,l=new Array(s);o1?0:n<-1?qo:Math.acos(n)}function C2(n){return n>=1?_u:n<=-1?-_u:Math.asin(n)}function b_(n){return n.innerRadius}function E2(n){return n.outerRadius}function j3(n){return n.startAngle}function __(n){return n.endAngle}function Y3(n){return n&&n.padAngle}function z3(n,i,o,s,l,d,b,m){var w=o-n,E=s-i,L=b-l,j=m-d,D=j*w-L*E;if(!(D*DQt*Qt+ie*ie&&(ke=ce,Yt=ht),{cx:ke,cy:Yt,x01:-L,y01:-j,x11:ke*(l/Pt-1),y11:Yt*(l/Pt-1)}}function x_(){var n=b_,i=E2,o=kn(0),s=null,l=j3,d=__,b=Y3,m=null;function w(){var E,L,j=+n.apply(this,arguments),D=+i.apply(this,arguments),q=l.apply(this,arguments)-_u,W=d.apply(this,arguments)-_u,U=Ic(W-q),V=W>q;if(m||(m=E=Ls()),DRi)if(U>Fc-Ri)m.moveTo(D*oa(q),D*bo(q)),m.arc(0,0,D,q,W,!V),j>Ri&&(m.moveTo(j*oa(W),j*bo(W)),m.arc(0,0,j,W,q,V));else{var Z,it,rt=q,dt=W,Pt=q,Vt=W,Jt=U,ke=U,Yt=b.apply(this,arguments)/2,ce=Yt>Ri&&(s?+s.apply(this,arguments):Rc(j*j+D*D)),ht=E1(Ic(D-j)/2,+o.apply(this,arguments)),Ct=ht,ne=ht;if(ce>Ri){var Qt=C2(ce/j*bo(Yt)),ie=C2(ce/D*bo(Yt));(Jt-=2*Qt)>Ri?(Pt+=Qt*=V?1:-1,Vt-=Qt):(Jt=0,Pt=Vt=(q+W)/2),(ke-=2*ie)>Ri?(rt+=ie*=V?1:-1,dt-=ie):(ke=0,rt=dt=(q+W)/2)}var Fe=D*oa(rt),Ke=D*bo(rt),Tn=j*oa(Vt),Sn=j*bo(Vt);if(ht>Ri){var ar,on=D*oa(dt),yr=D*bo(dt),In=j*oa(Pt),Nn=j*bo(Pt);if(URi?ne>Ri?(Z=nr(In,Nn,Fe,Ke,D,ne,V),it=nr(on,yr,Tn,Sn,D,ne,V),m.moveTo(Z.cx+Z.x01,Z.cy+Z.y01),neRi&&Jt>Ri?Ct>Ri?(Z=nr(Tn,Sn,on,yr,j,-Ct,V),it=nr(Fe,Ke,In,Nn,j,-Ct,V),m.lineTo(Z.cx+Z.x01,Z.cy+Z.y01),Ct=D;--q)m.point(it[q],rt[q]);m.lineEnd(),m.areaEnd()}Z&&(it[j]=+n(W,j,L),rt[j]=+o(W,j,L),m.point(i?+i(W,j,L):it[j],s?+s(W,j,L):rt[j]))}if(U)return m=null,U+""||null}function E(){return r0().defined(l).curve(b).context(d)}return w.x=function(L){return arguments.length?(n=typeof L=="function"?L:kn(+L),i=null,w):n},w.x0=function(L){return arguments.length?(n=typeof L=="function"?L:kn(+L),w):n},w.x1=function(L){return arguments.length?(i=L==null?null:typeof L=="function"?L:kn(+L),w):i},w.y=function(L){return arguments.length?(o=typeof L=="function"?L:kn(+L),s=null,w):o},w.y0=function(L){return arguments.length?(o=typeof L=="function"?L:kn(+L),w):o},w.y1=function(L){return arguments.length?(s=L==null?null:typeof L=="function"?L:kn(+L),w):s},w.lineX0=w.lineY0=function(){return E().x(n).y(o)},w.lineY1=function(){return E().x(n).y(s)},w.lineX1=function(){return E().x(i).y(o)},w.defined=function(L){return arguments.length?(l=typeof L=="function"?L:kn(!!L),w):l},w.curve=function(L){return arguments.length?(b=L,d!=null&&(m=b(d)),w):b},w.context=function(L){return arguments.length?(L==null?d=m=null:m=b(d=L),w):d},w}function w_(n,i){return in?1:i>=n?0:NaN}function k_(n){return n}function T_(){var n=k_,i=w_,o=null,s=kn(0),l=kn(Fc),d=kn(0);function b(m){var w,E,L,j,D,q=m.length,W=0,U=new Array(q),V=new Array(q),Z=+s.apply(this,arguments),it=Math.min(Fc,Math.max(-Fc,l.apply(this,arguments)-Z)),rt=Math.min(Math.abs(it)/q,d.apply(this,arguments)),dt=rt*(it<0?-1:1);for(w=0;w0&&(W+=D);for(i!=null?U.sort(function(Pt,Vt){return i(V[Pt],V[Vt])}):o!=null&&U.sort(function(Pt,Vt){return o(m[Pt],m[Vt])}),w=0,L=W?(it-q*dt)/W:0;w0?D*L:0)+dt,V[E]={data:m[E],index:w,value:D,startAngle:Z,endAngle:j,padAngle:rt};return V}return b.value=function(m){return arguments.length?(n=typeof m=="function"?m:kn(+m),b):n},b.sortValues=function(m){return arguments.length?(i=m,o=null,b):i},b.sort=function(m){return arguments.length?(o=m,i=null,b):o},b.startAngle=function(m){return arguments.length?(s=typeof m=="function"?m:kn(+m),b):s},b.endAngle=function(m){return arguments.length?(l=typeof m=="function"?m:kn(+m),b):l},b.padAngle=function(m){return arguments.length?(d=typeof m=="function"?m:kn(+m),b):d},b}S1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;default:this._context.lineTo(n,i)}}};var q3=A2(n0);function $3(n){this._curve=n}function A2(n){function i(o){return new $3(n(o))}return i._curve=n,i}function A1(n){var i=n.curve;return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n.curve=function(o){return arguments.length?i(A2(o)):i()._curve},n}function H3(){return A1(r0().curve(q3))}function W3(){var n=U3().curve(q3),i=n.curve,o=n.lineX0,s=n.lineX1,l=n.lineY0,d=n.lineY1;return n.angle=n.x,delete n.x,n.startAngle=n.x0,delete n.x0,n.endAngle=n.x1,delete n.x1,n.radius=n.y,delete n.y,n.innerRadius=n.y0,delete n.y0,n.outerRadius=n.y1,delete n.y1,n.lineStartAngle=function(){return A1(o())},delete n.lineX0,n.lineEndAngle=function(){return A1(s())},delete n.lineX1,n.lineInnerRadius=function(){return A1(l())},delete n.lineY0,n.lineOuterRadius=function(){return A1(d())},delete n.lineY1,n.curve=function(b){return arguments.length?i(A2(b)):i()._curve},n}function M1(n,i){return[(i=+i)*Math.cos(n-=Math.PI/2),i*Math.sin(n)]}$3.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(n,i){this._curve.point(i*Math.sin(n),i*-Math.cos(n))}};var $o=Array.prototype.slice;function C_(n){return n.source}function V3(n){return n.target}function i0(n){var i=C_,o=V3,s=wa,l=S2,d=null;function b(){var m,w=$o.call(arguments),E=i.apply(this,w),L=o.apply(this,w);if(d||(d=m=Ls()),n(d,+s.apply(this,(w[0]=E,w)),+l.apply(this,w),+s.apply(this,(w[0]=L,w)),+l.apply(this,w)),m)return d=null,m+""||null}return b.source=function(m){return arguments.length?(i=m,b):i},b.target=function(m){return arguments.length?(o=m,b):o},b.x=function(m){return arguments.length?(s=typeof m=="function"?m:kn(+m),b):s},b.y=function(m){return arguments.length?(l=typeof m=="function"?m:kn(+m),b):l},b.context=function(m){return arguments.length?(d=m==null?null:m,b):d},b}function E_(n,i,o,s,l){n.moveTo(i,o),n.bezierCurveTo(i=(i+s)/2,o,i,l,s,l)}function G3(n,i,o,s,l){n.moveTo(i,o),n.bezierCurveTo(i,o=(o+l)/2,s,o,s,l)}function X3(n,i,o,s,l){var d=M1(i,o),b=M1(i,o=(o+l)/2),m=M1(s,o),w=M1(s,l);n.moveTo(d[0],d[1]),n.bezierCurveTo(b[0],b[1],m[0],m[1],w[0],w[1])}function S_(){return i0(E_)}function M2(){return i0(G3)}function N2(){var n=i0(X3);return n.angle=n.x,delete n.x,n.radius=n.y,delete n.y,n}const Rl={draw:function(n,i){var o=Math.sqrt(i/qo);n.moveTo(o,0),n.arc(0,0,o,0,Fc)}},Ho={draw:function(n,i){var o=Math.sqrt(i/5)/2;n.moveTo(-3*o,-o),n.lineTo(-o,-o),n.lineTo(-o,-3*o),n.lineTo(o,-3*o),n.lineTo(o,-o),n.lineTo(3*o,-o),n.lineTo(3*o,o),n.lineTo(o,o),n.lineTo(o,3*o),n.lineTo(-o,3*o),n.lineTo(-o,o),n.lineTo(-3*o,o),n.closePath()}};var a0=Math.sqrt(1/3),D2=2*a0;const Fl={draw:function(n,i){var o=Math.sqrt(i/D2),s=o*a0;n.moveTo(0,-o),n.lineTo(s,0),n.lineTo(0,o),n.lineTo(-s,0),n.closePath()}};var Pl=Math.sin(qo/10)/Math.sin(7*qo/10),L2=Math.sin(Fc/10)*Pl,B2=-Math.cos(Fc/10)*Pl;const o0={draw:function(n,i){var o=Math.sqrt(.8908130915292852*i),s=L2*o,l=B2*o;n.moveTo(0,-o),n.lineTo(s,l);for(var d=1;d<5;++d){var b=Fc*d/5,m=Math.cos(b),w=Math.sin(b);n.lineTo(w*o,-m*o),n.lineTo(m*s-w*l,w*s+m*l)}n.closePath()}},xu={draw:function(n,i){var o=Math.sqrt(i),s=-o/2;n.rect(s,s,o,o)}};var s0=Math.sqrt(3);const N1={draw:function(n,i){var o=-Math.sqrt(i/(3*s0));n.moveTo(0,2*o),n.lineTo(-s0*o,-o),n.lineTo(s0*o,-o),n.closePath()}};var sa=-.5,Ya=Math.sqrt(3)/2,D1=1/Math.sqrt(12),Z3=3*(D1/2+1);const O2={draw:function(n,i){var o=Math.sqrt(i/Z3),s=o/2,l=o*D1,d=s,b=o*D1+o,m=-d,w=b;n.moveTo(s,l),n.lineTo(d,b),n.lineTo(m,w),n.lineTo(sa*s-Ya*l,Ya*s+sa*l),n.lineTo(sa*d-Ya*b,Ya*d+sa*b),n.lineTo(sa*m-Ya*w,Ya*m+sa*w),n.lineTo(sa*s+Ya*l,sa*l-Ya*s),n.lineTo(sa*d+Ya*b,sa*b-Ya*d),n.lineTo(sa*m+Ya*w,sa*w-Ya*m),n.closePath()}};var A_=[Rl,Ho,Fl,xu,o0,N1,O2];function I2(){var n=kn(Rl),i=kn(64),o=null;function s(){var l;if(o||(o=l=Ls()),n.apply(this,arguments).draw(o,+i.apply(this,arguments)),l)return o=null,l+""||null}return s.type=function(l){return arguments.length?(n=typeof l=="function"?l:kn(l),s):n},s.size=function(l){return arguments.length?(i=typeof l=="function"?l:kn(+l),s):i},s.context=function(l){return arguments.length?(o=l==null?null:l,s):o},s}function ec(){}function L1(n,i,o){n._context.bezierCurveTo((2*n._x0+n._x1)/3,(2*n._y0+n._y1)/3,(n._x0+2*n._x1)/3,(n._y0+2*n._y1)/3,(n._x0+4*n._x1+i)/6,(n._y0+4*n._y1+o)/6)}function B1(n){this._context=n}function jl(n){return new B1(n)}function xi(n){this._context=n}function Q3(n){return new xi(n)}function wu(n){this._context=n}function K3(n){return new wu(n)}function R2(n,i){this._basis=new B1(n),this._beta=i}B1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:L1(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:L1(this,n,i)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=i}},xi.prototype={areaStart:ec,areaEnd:ec,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._x2=n,this._y2=i;break;case 1:this._point=2,this._x3=n,this._y3=i;break;case 2:this._point=3,this._x4=n,this._y4=i,this._context.moveTo((this._x0+4*this._x1+n)/6,(this._y0+4*this._y1+i)/6);break;default:L1(this,n,i)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=i}},wu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var o=(this._x0+4*this._x1+n)/6,s=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(o,s):this._context.moveTo(o,s);break;case 3:this._point=4;default:L1(this,n,i)}this._x0=this._x1,this._x1=n,this._y0=this._y1,this._y1=i}},R2.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var n=this._x,i=this._y,o=n.length-1;if(o>0)for(var s,l=n[0],d=i[0],b=n[o]-l,m=i[o]-d,w=-1;++w<=o;)s=w/o,this._basis.point(this._beta*n[w]+(1-this._beta)*(l+s*b),this._beta*i[w]+(1-this._beta)*(d+s*m));this._x=this._y=null,this._basis.lineEnd()},point:function(n,i){this._x.push(+n),this._y.push(+i)}};const J3=function n(i){function o(s){return i===1?new B1(s):new R2(s,i)}return o.beta=function(s){return n(+s)},o}(.85);function nc(n,i,o){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-i),n._y2+n._k*(n._y1-o),n._x2,n._y2)}function c0(n,i){this._context=n,this._k=(1-i)/6}c0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:nc(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2,this._x1=n,this._y1=i;break;case 2:this._point=3;default:nc(this,n,i)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const Pc=function n(i){function o(s){return new c0(s,i)}return o.tension=function(s){return n(+s)},o}(0);function ka(n,i){this._context=n,this._k=(1-i)/6}ka.prototype={areaStart:ec,areaEnd:ec,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._x3=n,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=i);break;case 2:this._point=3,this._x5=n,this._y5=i;break;default:nc(this,n,i)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const M_=function n(i){function o(s){return new ka(s,i)}return o.tension=function(s){return n(+s)},o}(0);function F2(n,i){this._context=n,this._k=(1-i)/6}F2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:nc(this,n,i)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const tb=function n(i){function o(s){return new F2(s,i)}return o.tension=function(s){return n(+s)},o}(0);function u0(n,i,o){var s=n._x1,l=n._y1,d=n._x2,b=n._y2;if(n._l01_a>Ri){var m=2*n._l01_2a+3*n._l01_a*n._l12_a+n._l12_2a,w=3*n._l01_a*(n._l01_a+n._l12_a);s=(s*m-n._x0*n._l12_2a+n._x2*n._l01_2a)/w,l=(l*m-n._y0*n._l12_2a+n._y2*n._l01_2a)/w}if(n._l23_a>Ri){var E=2*n._l23_2a+3*n._l23_a*n._l12_a+n._l12_2a,L=3*n._l23_a*(n._l23_a+n._l12_a);d=(d*E+n._x1*n._l23_2a-i*n._l12_2a)/L,b=(b*E+n._y1*n._l23_2a-o*n._l12_2a)/L}n._context.bezierCurveTo(s,l,d,b,n._x2,n._y2)}function eb(n,i){this._context=n,this._alpha=i}eb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){if(n=+n,i=+i,this._point){var o=this._x2-n,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;break;case 2:this._point=3;default:u0(this,n,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const l0=function n(i){function o(s){return i?new eb(s,i):new c0(s,0)}return o.alpha=function(s){return n(+s)},o}(.5);function nb(n,i){this._context=n,this._alpha=i}nb.prototype={areaStart:ec,areaEnd:ec,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,i){if(n=+n,i=+i,this._point){var o=this._x2-n,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=n,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=i);break;case 2:this._point=3,this._x5=n,this._y5=i;break;default:u0(this,n,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const ao=function n(i){function o(s){return i?new nb(s,i):new ka(s,0)}return o.alpha=function(s){return n(+s)},o}(.5);function oo(n,i){this._context=n,this._alpha=i}oo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(n,i){if(n=+n,i=+i,this._point){var o=this._x2-n,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(o*o+s*s,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:u0(this,n,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const h0=function n(i){function o(s){return i?new oo(s,i):new F2(s,0)}return o.alpha=function(s){return n(+s)},o}(.5);function ea(n){this._context=n}function Wo(n){return new ea(n)}function P2(n){return n<0?-1:1}function Yl(n,i,o){var s=n._x1-n._x0,l=i-n._x1,d=(n._y1-n._y0)/(s||l<0&&-0),b=(o-n._y1)/(l||s<0&&-0),m=(d*l+b*s)/(s+l);return(P2(d)+P2(b))*Math.min(Math.abs(d),Math.abs(b),.5*Math.abs(m))||0}function j2(n,i){var o=n._x1-n._x0;return o?(3*(n._y1-n._y0)/o-i)/2:i}function f0(n,i,o){var s=n._x0,l=n._y0,d=n._x1,b=n._y1,m=(d-s)/3;n._context.bezierCurveTo(s+m,l+m*i,d-m,b-m*o,d,b)}function O1(n){this._context=n}function Y2(n){this._context=new z2(n)}function z2(n){this._context=n}function rb(n){return new O1(n)}function U2(n){return new Y2(n)}function ku(n){this._context=n}function ib(n){var i,o,s=n.length-1,l=new Array(s),d=new Array(s),b=new Array(s);for(l[0]=0,d[0]=2,b[0]=n[0]+2*n[1],i=1;i=0;--i)l[i]=(b[i]-l[i+1])/d[i];for(d[s-1]=(n[s]+l[s-1])/2,i=0;i1)for(var o,s,l,d=1,b=n[i[0]],m=b.length;d=0;)o[i]=i;return o}function ob(n,i){return n[i]}function N_(){var n=kn([]),i=Tu,o=rc,s=ob;function l(d){var b,m,w=n.apply(this,arguments),E=d.length,L=w.length,j=new Array(L);for(b=0;b0){for(var o,s,l,d=0,b=n[0].length;d0)for(var o,s,l,d,b,m,w=0,E=n[i[0]].length;w0?(s[0]=d,s[1]=d+=l):l<0?(s[1]=b,s[0]=b+=l):(s[0]=0,s[1]=l)}function ub(n,i){if((o=n.length)>0){for(var o,s=0,l=n[i[0]],d=l.length;s0&&(s=(o=n[i[0]]).length)>0){for(var o,s,l,d=0,b=1;bd&&(d=i,s=o);return s}function $2(n){var i=n.map(lb);return Tu(n).sort(function(o,s){return i[o]-i[s]})}function lb(n){for(var i,o=0,s=-1,l=n.length;++s=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(n,i){switch(n=+n,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(n,i);else{var o=this._x*(1-this._t)+n*this._t;this._context.lineTo(o,this._y),this._context.lineTo(o,i)}}this._x=n,this._y=i}};var p0="%Y-%m-%dT%H:%M:%S.%LZ",W2=Date.prototype.toISOString?function(n){return n.toISOString()}:mu(p0);const Yc=W2;var ic=+new Date("2000-01-01T00:00:00.000Z")?function(n){var i=new Date(n);return isNaN(i)?null:i}:Cl(p0);const B_=ic;function R1(n,i,o){var s=new Wt,l=i;return i==null?(s.restart(n,i,o),s):(i=+i,o=o==null?X():+o,s.restart(function d(b){b+=l,s.restart(d,l+=i,o),n(b)},i,o),s)}function fb(n){return function(){return n}}function V2(n){return n[0]}function Ua(n){return n[1]}function Cu(){this._=null}function Vo(n){n.U=n.C=n.L=n.R=n.P=n.N=null}function ac(n,i){var o=i,s=i.R,l=o.U;l?l.L===o?l.L=s:l.R=s:n._=s,s.U=l,o.U=s,o.R=s.L,o.R&&(o.R.U=o),s.L=o}function Ts(n,i){var o=i,s=i.L,l=o.U;l?l.L===o?l.L=s:l.R=s:n._=s,s.U=l,o.U=s,o.L=s.R,o.L&&(o.L.U=o),s.R=o}function g0(n){for(;n.L;)n=n.L;return n}Cu.prototype={constructor:Cu,insert:function(n,i){var o,s,l;if(n){if(i.P=n,i.N=n.N,n.N&&(n.N.P=i),n.N=i,n.R){for(n=n.R;n.L;)n=n.L;n.L=i}else n.R=i;o=n}else this._?(n=g0(this._),i.P=null,i.N=n,n.P=n.L=i,o=n):(i.P=i.N=null,this._=i,o=null);for(i.L=i.R=null,i.U=o,i.C=!0,n=i;o&&o.C;)o===(s=o.U).L?(l=s.R)&&l.C?(o.C=l.C=!1,s.C=!0,n=s):(n===o.R&&(ac(this,o),o=(n=o).U),o.C=!1,s.C=!0,Ts(this,s)):(l=s.L)&&l.C?(o.C=l.C=!1,s.C=!0,n=s):(n===o.L&&(Ts(this,o),o=(n=o).U),o.C=!1,s.C=!0,ac(this,s)),o=n.U;this._.C=!1},remove:function(n){n.N&&(n.N.P=n.P),n.P&&(n.P.N=n.N),n.N=n.P=null;var i,o,s,l=n.U,d=n.L,b=n.R;if(o=d?b?g0(b):d:b,l?l.L===n?l.L=o:l.R=o:this._=o,d&&b?(s=o.C,o.C=n.C,o.L=d,d.U=o,o!==b?(l=o.U,o.U=n.U,n=o.R,l.L=n,o.R=b,b.U=o):(o.U=l,l=o,n=o.R)):(s=n.C,n=o),n&&(n.U=l),!s)if(n&&n.C)n.C=!1;else{do{if(n===this._)break;if(n===l.L){if((i=l.R).C&&(i.C=!1,l.C=!0,ac(this,l),i=l.R),i.L&&i.L.C||i.R&&i.R.C){i.R&&i.R.C||(i.L.C=!1,i.C=!0,Ts(this,i),i=l.R),i.C=l.C,l.C=i.R.C=!1,ac(this,l),n=this._;break}}else if((i=l.L).C&&(i.C=!1,l.C=!0,Ts(this,l),i=l.L),i.L&&i.L.C||i.R&&i.R.C){i.L&&i.L.C||(i.R.C=!1,i.C=!0,ac(this,i),i=l.L),i.C=l.C,l.C=i.L.C=!1,Ts(this,l),n=this._;break}i.C=!0,n=l,l=l.U}while(!n.C);n&&(n.C=!1)}}};const db=Cu;function ii(n,i,o,s){var l=[null,null],d=Wi.push(l)-1;return l.left=n,l.right=i,o&&F1(l,n,i,o),s&&F1(l,i,n,s),qa[n.index].halfedges.push(d),qa[i.index].halfedges.push(d),l}function Ul(n,i,o){var s=[i,o];return s.left=n,s}function F1(n,i,o,s){n[0]||n[1]?n.left===o?n[1]=s:n[0]=s:(n[0]=s,n.left=i,n.right=o)}function pb(n,i,o,s,l){var d,b=n[0],m=n[1],w=b[0],E=b[1],L=0,j=1,D=m[0]-w,q=m[1]-E;if(d=i-w,D||!(d>0)){if(d/=D,D<0){if(d0){if(d>j)return;d>L&&(L=d)}if(d=s-w,D||!(d<0)){if(d/=D,D<0){if(d>j)return;d>L&&(L=d)}else if(D>0){if(d0)){if(d/=q,q<0){if(d0){if(d>j)return;d>L&&(L=d)}if(d=l-E,q||!(d<0)){if(d/=q,q<0){if(d>j)return;d>L&&(L=d)}else if(q>0){if(d0||j<1)||(L>0&&(n[0]=[w+L*D,E+L*q]),j<1&&(n[1]=[w+j*D,E+j*q]),!0)}}}}}function gb(n,i,o,s,l){var d=n[1];if(d)return!0;var b,m,w=n[0],E=n.left,L=n.right,j=E[0],D=E[1],q=L[0],W=L[1],U=(j+q)/2,V=(D+W)/2;if(W===D){if(U=s)return;if(j>q){if(w){if(w[1]>=l)return}else w=[U,o];d=[U,l]}else{if(w){if(w[1]1)if(j>q){if(w){if(w[1]>=l)return}else w=[(o-m)/b,o];d=[(l-m)/b,l]}else{if(w){if(w[1]=s)return}else w=[i,b*i+m];d=[s,b*s+m]}else{if(w){if(w[0]=-mb)){var q=w*w+E*E,W=L*L+j*j,U=(j*q-E*W)/D,V=(w*W-L*q)/D,Z=yb.pop()||new P1;Z.arc=n,Z.site=l,Z.x=U+b,Z.y=(Z.cy=V+m)+Math.sqrt(U*U+V*V),n.circle=Z;for(var it=null,rt=Wl._;rt;)if(Z.yFr)m=m.L;else{if(!((l=d-Hl(m,b))>Fr)){s>-Fr?(i=m.P,o=m):l>-Fr?(i=m,o=m.N):i=o=m;break}if(!m.R){i=m;break}m=m.R}(function(Pt){qa[Pt.index]={site:Pt,halfedges:[]}})(n);var w=X2(n);if(Cs.insert(i,w),i||o){if(i===o)return ca(i),o=X2(i.site),Cs.insert(w,o),w.edge=o.edge=ii(i.site,w.site),so(i),void so(o);if(o){ca(i),ca(o);var E=i.site,L=E[0],j=E[1],D=n[0]-L,q=n[1]-j,W=o.site,U=W[0]-L,V=W[1]-j,Z=2*(D*V-q*U),it=D*D+q*q,rt=U*U+V*V,dt=[(V*it-q*rt)/Z+L,(D*rt-U*it)/Z+j];F1(o.edge,E,W,dt),w.edge=ii(E,n,null,dt),o.edge=ii(n,W,null,dt),so(i),so(o)}else w.edge=ii(i.site,w.site)}}function $l(n,i){var o=n.site,s=o[0],l=o[1],d=l-i;if(!d)return s;var b=n.P;if(!b)return-1/0;var m=(o=b.site)[0],w=o[1],E=w-i;if(!E)return m;var L=m-s,j=1/d-1/E,D=L/E;return j?(-D+Math.sqrt(D*D-2*j*(L*L/(-2*E)-w+E/2+l-d/2)))/j+s:(s+m)/2}function Hl(n,i){var o=n.N;if(o)return $l(o,i);var s=n.site;return s[1]===i?s[0]:1/0}var Cs,qa,Wl,Wi,Fr=1e-6,mb=1e-12;function vb(n,i,o){return(n[0]-o[0])*(i[1]-n[1])-(n[0]-i[0])*(o[1]-n[1])}function Z2(n,i){return i[1]-n[1]||i[0]-n[0]}function Y1(n,i){var o,s,l,d=n.sort(Z2).pop();for(Wi=[],qa=new Array(n.length),Cs=new db,Wl=new db;;)if(l=tn,d&&(!l||d[1]Fr||Math.abs(W[0][1]-W[1][1])>Fr)||delete Wi[U]})(b,m,w,E),function(L,j,D,q){var W,U,V,Z,it,rt,dt,Pt,Vt,Jt,ke,Yt,ce=qa.length,ht=!0;for(W=0;WFr||Math.abs(Yt-Vt)>Fr)&&(it.splice(Z,0,Wi.push(Ul(V,Jt,Math.abs(ke-L)Fr?[L,Math.abs(Pt-L)Fr?[Math.abs(Vt-q)Fr?[D,Math.abs(Pt-D)Fr?[Math.abs(Vt-j)=m)return null;var w=n-l.site[0],E=i-l.site[1],L=w*w+E*E;do l=d.cells[s=b],b=null,l.halfedges.forEach(function(j){var D=d.edges[j],q=D.left;if(q!==l.site&&q||(q=D.right)){var W=n-q[0],U=i-q[1],V=W*W+U*U;Vs?(s+l)/2:Math.min(0,s)||Math.max(0,l),b>d?(d+b)/2:Math.min(0,d)||Math.max(0,b))}function Y_(){var n,i,o=Es,s=F_,l=j_,d=P_,b=xb,m=[0,1/0],w=[[-1/0,-1/0],[1/0,1/0]],E=250,L=yd,j=Ze("start","zoom","end"),D=500,q=0;function W(ht){ht.property("__zoom",_b).on("wheel.zoom",Pt).on("mousedown.zoom",Vt).on("dblclick.zoom",Jt).filter(b).on("touchstart.zoom",ke).on("touchmove.zoom",Yt).on("touchend.zoom touchcancel.zoom",ce).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function U(ht,Ct){return(Ct=Math.max(m[0],Math.min(m[1],Ct)))===ht.k?ht:new sc(Ct,ht.x,ht.y)}function V(ht,Ct,ne){var Qt=Ct[0]-ne[0]*ht.k,ie=Ct[1]-ne[1]*ht.k;return Qt===ht.x&&ie===ht.y?ht:new sc(ht.k,Qt,ie)}function Z(ht){return[(+ht[0][0]+ +ht[1][0])/2,(+ht[0][1]+ +ht[1][1])/2]}function it(ht,Ct,ne){ht.on("start.zoom",function(){rt(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){rt(this,arguments).end()}).tween("zoom",function(){var Qt=this,ie=arguments,Fe=rt(Qt,ie),Ke=s.apply(Qt,ie),Tn=ne==null?Z(Ke):typeof ne=="function"?ne.apply(Qt,ie):ne,Sn=Math.max(Ke[1][0]-Ke[0][0],Ke[1][1]-Ke[0][1]),ar=Qt.__zoom,on=typeof Ct=="function"?Ct.apply(Qt,ie):Ct,yr=L(ar.invert(Tn).concat(Sn/ar.k),on.invert(Tn).concat(Sn/on.k));return function(In){if(In===1)In=on;else{var Nn=yr(In),dr=Sn/Nn[2];In=new sc(dr,Tn[0]-Nn[0]*dr,Tn[1]-Nn[1]*dr)}Fe.zoom(null,In)}})}function rt(ht,Ct,ne){return!ne&&ht.__zooming||new dt(ht,Ct)}function dt(ht,Ct){this.that=ht,this.args=Ct,this.active=0,this.extent=s.apply(ht,Ct),this.taps=0}function Pt(){if(o.apply(this,arguments)){var ht=rt(this,arguments),Ct=this.__zoom,ne=Math.max(m[0],Math.min(m[1],Ct.k*Math.pow(2,d.apply(this,arguments)))),Qt=As(this);if(ht.wheel)ht.mouse[0][0]===Qt[0]&&ht.mouse[0][1]===Qt[1]||(ht.mouse[1]=Ct.invert(ht.mouse[0]=Qt)),clearTimeout(ht.wheel);else{if(Ct.k===ne)return;ht.mouse=[Qt,Ct.invert(Qt)],fa(this),ht.start()}U1(),ht.wheel=setTimeout(ie,150),ht.zoom("mouse",l(V(U(Ct,ne),ht.mouse[0],ht.mouse[1]),ht.extent,w))}function ie(){ht.wheel=null,ht.end()}}function Vt(){if(!i&&o.apply(this,arguments)){var ht=rt(this,arguments,!0),Ct=$r(we.view).on("mousemove.zoom",Fe,!0).on("mouseup.zoom",Ke,!0),ne=As(this),Qt=we.clientX,ie=we.clientY;ji(we.view),Eu(),ht.mouse=[ne,this.__zoom.invert(ne)],fa(this),ht.start()}function Fe(){if(U1(),!ht.moved){var Tn=we.clientX-Qt,Sn=we.clientY-ie;ht.moved=Tn*Tn+Sn*Sn>q}ht.zoom("mouse",l(V(ht.that.__zoom,ht.mouse[0]=As(ht.that),ht.mouse[1]),ht.extent,w))}function Ke(){Ct.on("mousemove.zoom mouseup.zoom",null),Mr(we.view,ht.moved),U1(),ht.end()}}function Jt(){if(o.apply(this,arguments)){var ht=this.__zoom,Ct=As(this),ne=ht.invert(Ct),Qt=ht.k*(we.shiftKey?.5:2),ie=l(V(U(ht,Qt),Ct,ne),s.apply(this,arguments),w);U1(),E>0?$r(this).transition().duration(E).call(it,ie,Ct):$r(this).call(W.transform,ie)}}function ke(){if(o.apply(this,arguments)){var ht,Ct,ne,Qt,ie=we.touches,Fe=ie.length,Ke=rt(this,arguments,we.changedTouches.length===Fe);for(Eu(),Ct=0;Ct{S.exports={graphlib:p(574),layout:p(8123),debug:p(7570),util:{time:p(1138).time,notime:p(1138).notime},version:p(8177)}},2188:(S,O,p)=>{var v=p(8436),f=p(4079);S.exports={run:function(k){var y=k.graph().acyclicer==="greedy"?f(k,function(C){return function(A){return C.edge(A).weight}}(k)):function(C){var A=[],M={},R={};return v.forEach(C.nodes(),function B(Y){v.has(R,Y)||(R[Y]=!0,M[Y]=!0,v.forEach(C.outEdges(Y),function(G){v.has(M,G.w)?A.push(G):B(G.w)}),delete M[Y])}),A}(k);v.forEach(y,function(C){var A=k.edge(C);k.removeEdge(C),A.forwardName=C.name,A.reversed=!0,k.setEdge(C.w,C.v,A,v.uniqueId("rev"))})},undo:function(k){v.forEach(k.edges(),function(y){var C=k.edge(y);if(C.reversed){k.removeEdge(y);var A=C.forwardName;delete C.reversed,delete C.forwardName,k.setEdge(y.w,y.v,C,A)}})}}},1133:(S,O,p)=>{var v=p(8436),f=p(1138);function k(y,C,A,M,R,B){var Y={width:0,height:0,rank:B,borderType:C},G=R[C][B-1],Q=f.addDummyNode(y,"border",Y,A);R[C][B]=Q,y.setParent(Q,M),G&&y.setEdge(G,Q,{weight:1})}S.exports=function(y){v.forEach(y.children(),function C(A){var M=y.children(A),R=y.node(A);if(M.length&&v.forEach(M,C),v.has(R,"minRank")){R.borderLeft=[],R.borderRight=[];for(var B=R.minRank,Y=R.maxRank+1;B{var v=p(8436);function f(A){v.forEach(A.nodes(),function(M){k(A.node(M))}),v.forEach(A.edges(),function(M){k(A.edge(M))})}function k(A){var M=A.width;A.width=A.height,A.height=M}function y(A){A.y=-A.y}function C(A){var M=A.x;A.x=A.y,A.y=M}S.exports={adjust:function(A){var M=A.graph().rankdir.toLowerCase();M!=="lr"&&M!=="rl"||f(A)},undo:function(A){var M=A.graph().rankdir.toLowerCase();M!=="bt"&&M!=="rl"||function(R){v.forEach(R.nodes(),function(B){y(R.node(B))}),v.forEach(R.edges(),function(B){var Y=R.edge(B);v.forEach(Y.points,y),v.has(Y,"y")&&y(Y)})}(A),M!=="lr"&&M!=="rl"||(function(R){v.forEach(R.nodes(),function(B){C(R.node(B))}),v.forEach(R.edges(),function(B){var Y=R.edge(B);v.forEach(Y.points,C),v.has(Y,"x")&&C(Y)})}(A),f(A))}}},7822:S=>{function O(){var f={};f._next=f._prev=f,this._sentinel=f}function p(f){f._prev._next=f._next,f._next._prev=f._prev,delete f._next,delete f._prev}function v(f,k){if(f!=="_next"&&f!=="_prev")return k}S.exports=O,O.prototype.dequeue=function(){var f=this._sentinel,k=f._prev;if(k!==f)return p(k),k},O.prototype.enqueue=function(f){var k=this._sentinel;f._prev&&f._next&&p(f),f._next=k._next,k._next._prev=f,k._next=f,f._prev=k},O.prototype.toString=function(){for(var f=[],k=this._sentinel,y=k._prev;y!==k;)f.push(JSON.stringify(y,v)),y=y._prev;return"["+f.join(", ")+"]"}},7570:(S,O,p)=>{var v=p(8436),f=p(1138),k=p(574).Graph;S.exports={debugOrdering:function(y){var C=f.buildLayerMatrix(y),A=new k({compound:!0,multigraph:!0}).setGraph({});return v.forEach(y.nodes(),function(M){A.setNode(M,{label:M}),A.setParent(M,"layer"+y.node(M).rank)}),v.forEach(y.edges(),function(M){A.setEdge(M.v,M.w,{},M.name)}),v.forEach(C,function(M,R){var B="layer"+R;A.setNode(B,{rank:"same"}),v.reduce(M,function(Y,G){return A.setEdge(Y,G,{style:"invis"}),G})}),A}}},574:(S,O,p)=>{var v;try{v=p(8282)}catch{}v||(v=window.graphlib),S.exports=v},4079:(S,O,p)=>{var v=p(8436),f=p(574).Graph,k=p(7822);S.exports=function(M,R){if(M.nodeCount()<=1)return[];var B=function(G,Q){var K=new f,gt=0,tt=0;v.forEach(G.nodes(),function(vt){K.setNode(vt,{v:vt,in:0,out:0})}),v.forEach(G.edges(),function(vt){var At=K.edge(vt.v,vt.w)||0,Zt=Q(vt),zt=At+Zt;K.setEdge(vt.v,vt.w,zt),tt=Math.max(tt,K.node(vt.v).out+=Zt),gt=Math.max(gt,K.node(vt.w).in+=Zt)});var Lt=v.range(tt+gt+3).map(function(){return new k}),at=gt+1;return v.forEach(K.nodes(),function(vt){A(Lt,at,K.node(vt))}),{graph:K,buckets:Lt,zeroIdx:at}}(M,R||y),Y=function(G,Q,K){for(var gt,tt=[],Lt=Q[Q.length-1],at=Q[0];G.nodeCount();){for(;gt=at.dequeue();)C(G,Q,K,gt);for(;gt=Lt.dequeue();)C(G,Q,K,gt);if(G.nodeCount()){for(var vt=Q.length-2;vt>0;--vt)if(gt=Q[vt].dequeue()){tt=tt.concat(C(G,Q,K,gt,!0));break}}}return tt}(B.graph,B.buckets,B.zeroIdx);return v.flatten(v.map(Y,function(G){return M.outEdges(G.v,G.w)}),!0)};var y=v.constant(1);function C(M,R,B,Y,G){var Q=G?[]:void 0;return v.forEach(M.inEdges(Y.v),function(K){var gt=M.edge(K),tt=M.node(K.v);G&&Q.push({v:K.v,w:K.w}),tt.out-=gt,A(R,B,tt)}),v.forEach(M.outEdges(Y.v),function(K){var gt=M.edge(K),tt=K.w,Lt=M.node(tt);Lt.in-=gt,A(R,B,Lt)}),M.removeNode(Y.v),Q}function A(M,R,B){B.out?B.in?M[B.out-B.in+R].enqueue(B):M[M.length-1].enqueue(B):M[0].enqueue(B)}},8123:(S,O,p)=>{var v=p(8436),f=p(2188),k=p(5995),y=p(8093),C=p(1138).normalizeRanks,A=p(4219),M=p(1138).removeEmptyRanks,R=p(2981),B=p(1133),Y=p(3258),G=p(3408),Q=p(7873),K=p(1138),gt=p(574).Graph;S.exports=function(lt,et){var st=et&&et.debugTiming?K.time:K.notime;st("layout",function(){var $=st(" buildLayoutGraph",function(){return function(Dt){var z=new gt({multigraph:!0,compound:!0}),Kt=Bt(Dt.graph());return z.setGraph(v.merge({},Lt,jt(Kt,tt),v.pick(Kt,at))),v.forEach(Dt.nodes(),function(_t){var ae=Bt(Dt.node(_t));z.setNode(_t,v.defaults(jt(ae,vt),At)),z.setParent(_t,Dt.parent(_t))}),v.forEach(Dt.edges(),function(_t){var ae=Bt(Dt.edge(_t));z.setEdge(_t,v.merge({},zt,jt(ae,Zt),v.pick(ae,xt)))}),z}(lt)});st(" runLayout",function(){(function(Dt,z){z(" makeSpaceForEdgeLabels",function(){(function(Kt){var _t=Kt.graph();_t.ranksep/=2,v.forEach(Kt.edges(),function(ae){var Ee=Kt.edge(ae);Ee.minlen*=2,Ee.labelpos.toLowerCase()!=="c"&&(_t.rankdir==="TB"||_t.rankdir==="BT"?Ee.width+=Ee.labeloffset:Ee.height+=Ee.labeloffset)})})(Dt)}),z(" removeSelfEdges",function(){(function(Kt){v.forEach(Kt.edges(),function(_t){if(_t.v===_t.w){var ae=Kt.node(_t.v);ae.selfEdges||(ae.selfEdges=[]),ae.selfEdges.push({e:_t,label:Kt.edge(_t)}),Kt.removeEdge(_t)}})})(Dt)}),z(" acyclic",function(){f.run(Dt)}),z(" nestingGraph.run",function(){R.run(Dt)}),z(" rank",function(){y(K.asNonCompoundGraph(Dt))}),z(" injectEdgeLabelProxies",function(){(function(Kt){v.forEach(Kt.edges(),function(_t){var ae=Kt.edge(_t);if(ae.width&&ae.height){var Ee=Kt.node(_t.v),Pe={rank:(Kt.node(_t.w).rank-Ee.rank)/2+Ee.rank,e:_t};K.addDummyNode(Kt,"edge-proxy",Pe,"_ep")}})})(Dt)}),z(" removeEmptyRanks",function(){M(Dt)}),z(" nestingGraph.cleanup",function(){R.cleanup(Dt)}),z(" normalizeRanks",function(){C(Dt)}),z(" assignRankMinMax",function(){(function(Kt){var _t=0;v.forEach(Kt.nodes(),function(ae){var Ee=Kt.node(ae);Ee.borderTop&&(Ee.minRank=Kt.node(Ee.borderTop).rank,Ee.maxRank=Kt.node(Ee.borderBottom).rank,_t=v.max(_t,Ee.maxRank))}),Kt.graph().maxRank=_t})(Dt)}),z(" removeEdgeLabelProxies",function(){(function(Kt){v.forEach(Kt.nodes(),function(_t){var ae=Kt.node(_t);ae.dummy==="edge-proxy"&&(Kt.edge(ae.e).labelRank=ae.rank,Kt.removeNode(_t))})})(Dt)}),z(" normalize.run",function(){k.run(Dt)}),z(" parentDummyChains",function(){A(Dt)}),z(" addBorderSegments",function(){B(Dt)}),z(" order",function(){G(Dt)}),z(" insertSelfEdges",function(){(function(Kt){var _t=K.buildLayerMatrix(Kt);v.forEach(_t,function(ae){var Ee=0;v.forEach(ae,function(Pe,le){var oe=Kt.node(Pe);oe.order=le+Ee,v.forEach(oe.selfEdges,function(he){K.addDummyNode(Kt,"selfedge",{width:he.label.width,height:he.label.height,rank:oe.rank,order:le+ ++Ee,e:he.e,label:he.label},"_se")}),delete oe.selfEdges})})})(Dt)}),z(" adjustCoordinateSystem",function(){Y.adjust(Dt)}),z(" position",function(){Q(Dt)}),z(" positionSelfEdges",function(){(function(Kt){v.forEach(Kt.nodes(),function(_t){var ae=Kt.node(_t);if(ae.dummy==="selfedge"){var Ee=Kt.node(ae.e.v),Pe=Ee.x+Ee.width/2,le=Ee.y,oe=ae.x-Pe,he=Ee.height/2;Kt.setEdge(ae.e,ae.label),Kt.removeNode(_t),ae.label.points=[{x:Pe+2*oe/3,y:le-he},{x:Pe+5*oe/6,y:le-he},{x:Pe+oe,y:le},{x:Pe+5*oe/6,y:le+he},{x:Pe+2*oe/3,y:le+he}],ae.label.x=ae.x,ae.label.y=ae.y}})})(Dt)}),z(" removeBorderNodes",function(){(function(Kt){v.forEach(Kt.nodes(),function(_t){if(Kt.children(_t).length){var ae=Kt.node(_t),Ee=Kt.node(ae.borderTop),Pe=Kt.node(ae.borderBottom),le=Kt.node(v.last(ae.borderLeft)),oe=Kt.node(v.last(ae.borderRight));ae.width=Math.abs(oe.x-le.x),ae.height=Math.abs(Pe.y-Ee.y),ae.x=le.x+ae.width/2,ae.y=Ee.y+ae.height/2}}),v.forEach(Kt.nodes(),function(_t){Kt.node(_t).dummy==="border"&&Kt.removeNode(_t)})})(Dt)}),z(" normalize.undo",function(){k.undo(Dt)}),z(" fixupEdgeLabelCoords",function(){(function(Kt){v.forEach(Kt.edges(),function(_t){var ae=Kt.edge(_t);if(v.has(ae,"x"))switch(ae.labelpos!=="l"&&ae.labelpos!=="r"||(ae.width-=ae.labeloffset),ae.labelpos){case"l":ae.x-=ae.width/2+ae.labeloffset;break;case"r":ae.x+=ae.width/2+ae.labeloffset}})})(Dt)}),z(" undoCoordinateSystem",function(){Y.undo(Dt)}),z(" translateGraph",function(){(function(Kt){var _t=Number.POSITIVE_INFINITY,ae=0,Ee=Number.POSITIVE_INFINITY,Pe=0,le=Kt.graph(),oe=le.marginx||0,he=le.marginy||0;function be(Ne){var de=Ne.x,Se=Ne.y,te=Ne.width,_e=Ne.height;_t=Math.min(_t,de-te/2),ae=Math.max(ae,de+te/2),Ee=Math.min(Ee,Se-_e/2),Pe=Math.max(Pe,Se+_e/2)}v.forEach(Kt.nodes(),function(Ne){be(Kt.node(Ne))}),v.forEach(Kt.edges(),function(Ne){var de=Kt.edge(Ne);v.has(de,"x")&&be(de)}),_t-=oe,Ee-=he,v.forEach(Kt.nodes(),function(Ne){var de=Kt.node(Ne);de.x-=_t,de.y-=Ee}),v.forEach(Kt.edges(),function(Ne){var de=Kt.edge(Ne);v.forEach(de.points,function(Se){Se.x-=_t,Se.y-=Ee}),v.has(de,"x")&&(de.x-=_t),v.has(de,"y")&&(de.y-=Ee)}),le.width=ae-_t+oe,le.height=Pe-Ee+he})(Dt)}),z(" assignNodeIntersects",function(){(function(Kt){v.forEach(Kt.edges(),function(_t){var ae,Ee,Pe=Kt.edge(_t),le=Kt.node(_t.v),oe=Kt.node(_t.w);Pe.points?(ae=Pe.points[0],Ee=Pe.points[Pe.points.length-1]):(Pe.points=[],ae=oe,Ee=le),Pe.points.unshift(K.intersectRect(le,ae)),Pe.points.push(K.intersectRect(oe,Ee))})})(Dt)}),z(" reversePoints",function(){(function(Kt){v.forEach(Kt.edges(),function(_t){var ae=Kt.edge(_t);ae.reversed&&ae.points.reverse()})})(Dt)}),z(" acyclic.undo",function(){f.undo(Dt)})})($,st)}),st(" updateInputGraph",function(){(function(Dt,z){v.forEach(Dt.nodes(),function(Kt){var _t=Dt.node(Kt),ae=z.node(Kt);_t&&(_t.x=ae.x,_t.y=ae.y,z.children(Kt).length&&(_t.width=ae.width,_t.height=ae.height))}),v.forEach(Dt.edges(),function(Kt){var _t=Dt.edge(Kt),ae=z.edge(Kt);_t.points=ae.points,v.has(ae,"x")&&(_t.x=ae.x,_t.y=ae.y)}),Dt.graph().width=z.graph().width,Dt.graph().height=z.graph().height})(lt,$)})})};var tt=["nodesep","edgesep","ranksep","marginx","marginy"],Lt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},at=["acyclicer","ranker","rankdir","align"],vt=["width","height"],At={width:0,height:0},Zt=["minlen","weight","width","height","labeloffset"],zt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},xt=["labelpos"];function jt(lt,et){return v.mapValues(v.pick(lt,et),Number)}function Bt(lt){var et={};return v.forEach(lt,function(st,$){et[$.toLowerCase()]=st}),et}},8436:(S,O,p)=>{var v;try{v={cloneDeep:p(361),constant:p(5703),defaults:p(1747),each:p(6073),filter:p(3105),find:p(3311),flatten:p(5564),forEach:p(4486),forIn:p(2620),has:p(8721),isUndefined:p(2353),last:p(928),map:p(5161),mapValues:p(6604),max:p(6162),merge:p(3857),min:p(3632),minBy:p(2762),now:p(7771),pick:p(9722),range:p(6026),reduce:p(4061),sortBy:p(9734),uniqueId:p(3955),values:p(2628),zipObject:p(7287)}}catch{}v||(v=window._),S.exports=v},2981:(S,O,p)=>{var v=p(8436),f=p(1138);function k(y,C,A,M,R,B,Y){var G=y.children(Y);if(G.length){var Q=f.addBorderNode(y,"_bt"),K=f.addBorderNode(y,"_bb"),gt=y.node(Y);y.setParent(Q,Y),gt.borderTop=Q,y.setParent(K,Y),gt.borderBottom=K,v.forEach(G,function(tt){k(y,C,A,M,R,B,tt);var Lt=y.node(tt),at=Lt.borderTop?Lt.borderTop:tt,vt=Lt.borderBottom?Lt.borderBottom:tt,At=Lt.borderTop?M:2*M,Zt=at!==vt?1:R-B[Y]+1;y.setEdge(Q,at,{weight:At,minlen:Zt,nestingEdge:!0}),y.setEdge(vt,K,{weight:At,minlen:Zt,nestingEdge:!0})}),y.parent(Y)||y.setEdge(C,Q,{weight:0,minlen:R+B[Y]})}else Y!==C&&y.setEdge(C,Y,{weight:0,minlen:A})}S.exports={run:function(y){var C=f.addDummyNode(y,"root",{},"_root"),A=function(Y){var G={};function Q(K,gt){var tt=Y.children(K);tt&&tt.length&&v.forEach(tt,function(Lt){Q(Lt,gt+1)}),G[K]=gt}return v.forEach(Y.children(),function(K){Q(K,1)}),G}(y),M=v.max(v.values(A))-1,R=2*M+1;y.graph().nestingRoot=C,v.forEach(y.edges(),function(Y){y.edge(Y).minlen*=R});var B=function(Y){return v.reduce(Y.edges(),function(G,Q){return G+Y.edge(Q).weight},0)}(y)+1;v.forEach(y.children(),function(Y){k(y,C,R,B,M,A,Y)}),y.graph().nodeRankFactor=R},cleanup:function(y){var C=y.graph();y.removeNode(C.nestingRoot),delete C.nestingRoot,v.forEach(y.edges(),function(A){y.edge(A).nestingEdge&&y.removeEdge(A)})}}},5995:(S,O,p)=>{var v=p(8436),f=p(1138);S.exports={run:function(k){k.graph().dummyChains=[],v.forEach(k.edges(),function(y){(function(C,A){var M,R,B,Y=A.v,G=C.node(Y).rank,Q=A.w,K=C.node(Q).rank,gt=A.name,tt=C.edge(A),Lt=tt.labelRank;if(K!==G+1){for(C.removeEdge(A),B=0,++G;G{var v=p(8436);S.exports=function(f,k,y){var C,A={};v.forEach(y,function(M){for(var R,B,Y=f.parent(M);Y;){if((R=f.parent(Y))?(B=A[R],A[R]=Y):(B=C,C=Y),B&&B!==Y)return void k.setEdge(B,Y);Y=R}})}},5439:(S,O,p)=>{var v=p(8436);S.exports=function(f,k){return v.map(k,function(y){var C=f.inEdges(y);if(C.length){var A=v.reduce(C,function(M,R){var B=f.edge(R),Y=f.node(R.v);return{sum:M.sum+B.weight*Y.order,weight:M.weight+B.weight}},{sum:0,weight:0});return{v:y,barycenter:A.sum/A.weight,weight:A.weight}}return{v:y}})}},3128:(S,O,p)=>{var v=p(8436),f=p(574).Graph;S.exports=function(k,y,C){var A=function(R){for(var B;R.hasNode(B=v.uniqueId("_root")););return B}(k),M=new f({compound:!0}).setGraph({root:A}).setDefaultNodeLabel(function(R){return k.node(R)});return v.forEach(k.nodes(),function(R){var B=k.node(R),Y=k.parent(R);(B.rank===y||B.minRank<=y&&y<=B.maxRank)&&(M.setNode(R),M.setParent(R,Y||A),v.forEach(k[C](R),function(G){var Q=G.v===R?G.w:G.v,K=M.edge(Q,R),gt=v.isUndefined(K)?0:K.weight;M.setEdge(Q,R,{weight:k.edge(G).weight+gt})}),v.has(B,"minRank")&&M.setNode(R,{borderLeft:B.borderLeft[y],borderRight:B.borderRight[y]}))}),M}},6630:(S,O,p)=>{var v=p(8436);function f(k,y,C){for(var A=v.zipObject(C,v.map(C,function(Q,K){return K})),M=v.flatten(v.map(y,function(Q){return v.sortBy(v.map(k.outEdges(Q),function(K){return{pos:A[K.w],weight:k.edge(K).weight}}),"pos")}),!0),R=1;R0;)K%2&&(gt+=Y[K+1]),Y[K=K-1>>1]+=Q.weight;G+=Q.weight*gt})),G}S.exports=function(k,y){for(var C=0,A=1;A{var v=p(8436),f=p(2588),k=p(6630),y=p(1026),C=p(3128),A=p(5093),M=p(574).Graph,R=p(1138);function B(Q,K,gt){return v.map(K,function(tt){return C(Q,tt,gt)})}function Y(Q,K){var gt=new M;v.forEach(Q,function(tt){var Lt=tt.graph().root,at=y(tt,Lt,gt,K);v.forEach(at.vs,function(vt,At){tt.node(vt).order=At}),A(tt,gt,at.vs)})}function G(Q,K){v.forEach(K,function(gt){v.forEach(gt,function(tt,Lt){Q.node(tt).order=Lt})})}S.exports=function(Q){var K=R.maxRank(Q),gt=B(Q,v.range(1,K+1),"inEdges"),tt=B(Q,v.range(K-1,-1,-1),"outEdges"),Lt=f(Q);G(Q,Lt);for(var at,vt=Number.POSITIVE_INFINITY,At=0,Zt=0;Zt<4;++At,++Zt){Y(At%2?gt:tt,At%4>=2),Lt=R.buildLayerMatrix(Q);var zt=k(Q,Lt);zt{var v=p(8436);S.exports=function(f){var k={},y=v.filter(f.nodes(),function(R){return!f.children(R).length}),C=v.max(v.map(y,function(R){return f.node(R).rank})),A=v.map(v.range(C+1),function(){return[]}),M=v.sortBy(y,function(R){return f.node(R).rank});return v.forEach(M,function R(B){if(!v.has(k,B)){k[B]=!0;var Y=f.node(B);A[Y.rank].push(B),v.forEach(f.successors(B),R)}}),A}},9567:(S,O,p)=>{var v=p(8436);S.exports=function(f,k){var y={};return v.forEach(f,function(C,A){var M=y[C.v]={indegree:0,in:[],out:[],vs:[C.v],i:A};v.isUndefined(C.barycenter)||(M.barycenter=C.barycenter,M.weight=C.weight)}),v.forEach(k.edges(),function(C){var A=y[C.v],M=y[C.w];v.isUndefined(A)||v.isUndefined(M)||(M.indegree++,A.out.push(y[C.w]))}),function(C){var A=[];function M(Y){return function(G){var Q,K,gt,tt;G.merged||(v.isUndefined(G.barycenter)||v.isUndefined(Y.barycenter)||G.barycenter>=Y.barycenter)&&(K=G,gt=0,tt=0,(Q=Y).weight&&(gt+=Q.barycenter*Q.weight,tt+=Q.weight),K.weight&&(gt+=K.barycenter*K.weight,tt+=K.weight),Q.vs=K.vs.concat(Q.vs),Q.barycenter=gt/tt,Q.weight=tt,Q.i=Math.min(K.i,Q.i),K.merged=!0)}}function R(Y){return function(G){G.in.push(Y),--G.indegree==0&&C.push(G)}}for(;C.length;){var B=C.pop();A.push(B),v.forEach(B.in.reverse(),M(B)),v.forEach(B.out,R(B))}return v.map(v.filter(A,function(Y){return!Y.merged}),function(Y){return v.pick(Y,["vs","i","barycenter","weight"])})}(v.filter(y,function(C){return!C.indegree}))}},1026:(S,O,p)=>{var v=p(8436),f=p(5439),k=p(9567),y=p(7304);S.exports=function C(A,M,R,B){var Y=A.children(M),G=A.node(M),Q=G?G.borderLeft:void 0,K=G?G.borderRight:void 0,gt={};Q&&(Y=v.filter(Y,function(Zt){return Zt!==Q&&Zt!==K}));var tt=f(A,Y);v.forEach(tt,function(Zt){if(A.children(Zt.v).length){var zt=C(A,Zt.v,R,B);gt[Zt.v]=zt,v.has(zt,"barycenter")&&(xt=Zt,jt=zt,v.isUndefined(xt.barycenter)?(xt.barycenter=jt.barycenter,xt.weight=jt.weight):(xt.barycenter=(xt.barycenter*xt.weight+jt.barycenter*jt.weight)/(xt.weight+jt.weight),xt.weight+=jt.weight))}var xt,jt});var Lt=k(tt,R);(function(Zt,zt){v.forEach(Zt,function(xt){xt.vs=v.flatten(xt.vs.map(function(jt){return zt[jt]?zt[jt].vs:jt}),!0)})})(Lt,gt);var at=y(Lt,B);if(Q&&(at.vs=v.flatten([Q,at.vs,K],!0),A.predecessors(Q).length)){var vt=A.node(A.predecessors(Q)[0]),At=A.node(A.predecessors(K)[0]);v.has(at,"barycenter")||(at.barycenter=0,at.weight=0),at.barycenter=(at.barycenter*at.weight+vt.order+At.order)/(at.weight+2),at.weight+=2}return at}},7304:(S,O,p)=>{var v=p(8436),f=p(1138);function k(y,C,A){for(var M;C.length&&(M=v.last(C)).i<=A;)C.pop(),y.push(M.vs),A++;return A}S.exports=function(y,C){var A,M=f.partition(y,function(tt){return v.has(tt,"barycenter")}),R=M.lhs,B=v.sortBy(M.rhs,function(tt){return-tt.i}),Y=[],G=0,Q=0,K=0;R.sort((A=!!C,function(tt,Lt){return tt.barycenterLt.barycenter?1:A?Lt.i-tt.i:tt.i-Lt.i})),K=k(Y,B,K),v.forEach(R,function(tt){K+=tt.vs.length,Y.push(tt.vs),G+=tt.barycenter*tt.weight,Q+=tt.weight,K=k(Y,B,K)});var gt={vs:v.flatten(Y,!0)};return Q&&(gt.barycenter=G/Q,gt.weight=Q),gt}},4219:(S,O,p)=>{var v=p(8436);S.exports=function(f){var k=function(y){var C={},A=0;return v.forEach(y.children(),function M(R){var B=A;v.forEach(y.children(R),M),C[R]={low:B,lim:A++}}),C}(f);v.forEach(f.graph().dummyChains,function(y){for(var C=f.node(y),A=C.edgeObj,M=function(K,gt,tt,Lt){var at,vt,At=[],Zt=[],zt=Math.min(gt[tt].low,gt[Lt].low),xt=Math.max(gt[tt].lim,gt[Lt].lim);at=tt;do at=K.parent(at),At.push(at);while(at&&(gt[at].low>zt||xt>gt[at].lim));for(vt=at,at=Lt;(at=K.parent(at))!==vt;)Zt.push(at);return{path:At.concat(Zt.reverse()),lca:vt}}(f,k,A.v,A.w),R=M.path,B=M.lca,Y=0,G=R[Y],Q=!0;y!==A.w;){if(C=f.node(y),Q){for(;(G=R[Y])!==B&&f.node(G).maxRank{var v=p(8436),f=p(574).Graph,k=p(1138);function y(K,gt){var tt={};return v.reduce(gt,function(Lt,at){var vt=0,At=0,Zt=Lt.length,zt=v.last(at);return v.forEach(at,function(xt,jt){var Bt=function(et,st){if(et.node(st).dummy)return v.find(et.predecessors(st),function($){return et.node($).dummy})}(K,xt),lt=Bt?K.node(Bt).order:Zt;(Bt||xt===zt)&&(v.forEach(at.slice(At,jt+1),function(et){v.forEach(K.predecessors(et),function(st){var $=K.node(st),Dt=$.order;!(Dtzt)&&A(tt,Bt,xt)})})}return v.reduce(gt,function(at,vt){var At,Zt=-1,zt=0;return v.forEach(vt,function(xt,jt){if(K.node(xt).dummy==="border"){var Bt=K.predecessors(xt);Bt.length&&(At=K.node(Bt[0]).order,Lt(vt,zt,jt,Zt,At),zt=jt,Zt=At)}Lt(vt,zt,vt.length,At,at.length)}),vt}),tt}function A(K,gt,tt){if(gt>tt){var Lt=gt;gt=tt,tt=Lt}var at=K[gt];at||(K[gt]=at={}),at[tt]=!0}function M(K,gt,tt){if(gt>tt){var Lt=gt;gt=tt,tt=Lt}return v.has(K[gt],tt)}function R(K,gt,tt,Lt){var at={},vt={},At={};return v.forEach(gt,function(Zt){v.forEach(Zt,function(zt,xt){at[zt]=zt,vt[zt]=zt,At[zt]=xt})}),v.forEach(gt,function(Zt){var zt=-1;v.forEach(Zt,function(xt){var jt=Lt(xt);if(jt.length){jt=v.sortBy(jt,function($){return At[$]});for(var Bt=(jt.length-1)/2,lt=Math.floor(Bt),et=Math.ceil(Bt);lt<=et;++lt){var st=jt[lt];vt[xt]===xt&&zt{var v=p(8436),f=p(1138),k=p(3573).positionX;S.exports=function(y){(function(C){var A=f.buildLayerMatrix(C),M=C.graph().ranksep,R=0;v.forEach(A,function(B){var Y=v.max(v.map(B,function(G){return C.node(G).height}));v.forEach(B,function(G){C.node(G).y=R+Y/2}),R+=Y+M})})(y=f.asNonCompoundGraph(y)),v.forEach(k(y),function(C,A){y.node(A).x=C})}},300:(S,O,p)=>{var v=p(8436),f=p(574).Graph,k=p(6681).slack;function y(M,R){return v.forEach(M.nodes(),function B(Y){v.forEach(R.nodeEdges(Y),function(G){var Q=G.v,K=Y===Q?G.w:Q;M.hasNode(K)||k(R,G)||(M.setNode(K,{}),M.setEdge(Y,K,{}),B(K))})}),M.nodeCount()}function C(M,R){return v.minBy(R.edges(),function(B){if(M.hasNode(B.v)!==M.hasNode(B.w))return k(R,B)})}function A(M,R,B){v.forEach(M.nodes(),function(Y){R.node(Y).rank+=B})}S.exports=function(M){var R,B,Y=new f({directed:!1}),G=M.nodes()[0],Q=M.nodeCount();for(Y.setNode(G,{});y(Y,M){var v=p(6681).longestPath,f=p(300),k=p(2472);S.exports=function(C){switch(C.graph().ranker){case"network-simplex":default:(function(A){k(A)})(C);break;case"tight-tree":(function(A){v(A),f(A)})(C);break;case"longest-path":y(C)}};var y=v},2472:(S,O,p)=>{var v=p(8436),f=p(300),k=p(6681).slack,y=p(6681).longestPath,C=p(574).alg.preorder,A=p(574).alg.postorder,M=p(1138).simplify;function R(at){at=M(at),y(at);var vt,At=f(at);for(G(At),B(At,at);vt=K(At);)tt(At,at,vt,gt(At,at,vt))}function B(at,vt){var At=A(at,at.nodes());At=At.slice(0,At.length-1),v.forEach(At,function(Zt){(function(zt,xt,jt){var Bt=zt.node(jt).parent;zt.edge(jt,Bt).cutvalue=Y(zt,xt,jt)})(at,vt,Zt)})}function Y(at,vt,At){var Zt=at.node(At).parent,zt=!0,xt=vt.edge(At,Zt),jt=0;return xt||(zt=!1,xt=vt.edge(Zt,At)),jt=xt.weight,v.forEach(vt.nodeEdges(At),function(Bt){var lt,et,st=Bt.v===At,$=st?Bt.w:Bt.v;if($!==Zt){var Dt=st===zt,z=vt.edge(Bt).weight;if(jt+=Dt?z:-z,lt=At,et=$,at.hasEdge(lt,et)){var Kt=at.edge(At,$).cutvalue;jt+=Dt?-Kt:Kt}}}),jt}function G(at,vt){arguments.length<2&&(vt=at.nodes()[0]),Q(at,{},1,vt)}function Q(at,vt,At,Zt,zt){var xt=At,jt=at.node(Zt);return vt[Zt]=!0,v.forEach(at.neighbors(Zt),function(Bt){v.has(vt,Bt)||(At=Q(at,vt,At,Bt,Zt))}),jt.low=xt,jt.lim=At++,zt?jt.parent=zt:delete jt.parent,At}function K(at){return v.find(at.edges(),function(vt){return at.edge(vt).cutvalue<0})}function gt(at,vt,At){var Zt=At.v,zt=At.w;vt.hasEdge(Zt,zt)||(Zt=At.w,zt=At.v);var xt=at.node(Zt),jt=at.node(zt),Bt=xt,lt=!1;xt.lim>jt.lim&&(Bt=jt,lt=!0);var et=v.filter(vt.edges(),function(st){return lt===Lt(0,at.node(st.v),Bt)&<!==Lt(0,at.node(st.w),Bt)});return v.minBy(et,function(st){return k(vt,st)})}function tt(at,vt,At,Zt){var zt=At.v,xt=At.w;at.removeEdge(zt,xt),at.setEdge(Zt.v,Zt.w,{}),G(at),B(at,vt),function(jt,Bt){var lt=v.find(jt.nodes(),function(st){return!Bt.node(st).parent}),et=C(jt,lt);et=et.slice(1),v.forEach(et,function(st){var $=jt.node(st).parent,Dt=Bt.edge(st,$),z=!1;Dt||(Dt=Bt.edge($,st),z=!0),Bt.node(st).rank=Bt.node($).rank+(z?Dt.minlen:-Dt.minlen)})}(at,vt)}function Lt(at,vt,At){return At.low<=vt.lim&&vt.lim<=At.lim}S.exports=R,R.initLowLimValues=G,R.initCutValues=B,R.calcCutValue=Y,R.leaveEdge=K,R.enterEdge=gt,R.exchangeEdges=tt},6681:(S,O,p)=>{var v=p(8436);S.exports={longestPath:function(f){var k={};v.forEach(f.sources(),function y(C){var A=f.node(C);if(v.has(k,C))return A.rank;k[C]=!0;var M=v.min(v.map(f.outEdges(C),function(R){return y(R.w)-f.edge(R).minlen}));return M!==Number.POSITIVE_INFINITY&&M!=null||(M=0),A.rank=M})},slack:function(f,k){return f.node(k.w).rank-f.node(k.v).rank-f.edge(k).minlen}}},1138:(S,O,p)=>{var v=p(8436),f=p(574).Graph;function k(C,A,M,R){var B;do B=v.uniqueId(R);while(C.hasNode(B));return M.dummy=A,C.setNode(B,M),B}function y(C){return v.max(v.map(C.nodes(),function(A){var M=C.node(A).rank;if(!v.isUndefined(M))return M}))}S.exports={addDummyNode:k,simplify:function(C){var A=new f().setGraph(C.graph());return v.forEach(C.nodes(),function(M){A.setNode(M,C.node(M))}),v.forEach(C.edges(),function(M){var R=A.edge(M.v,M.w)||{weight:0,minlen:1},B=C.edge(M);A.setEdge(M.v,M.w,{weight:R.weight+B.weight,minlen:Math.max(R.minlen,B.minlen)})}),A},asNonCompoundGraph:function(C){var A=new f({multigraph:C.isMultigraph()}).setGraph(C.graph());return v.forEach(C.nodes(),function(M){C.children(M).length||A.setNode(M,C.node(M))}),v.forEach(C.edges(),function(M){A.setEdge(M,C.edge(M))}),A},successorWeights:function(C){var A=v.map(C.nodes(),function(M){var R={};return v.forEach(C.outEdges(M),function(B){R[B.w]=(R[B.w]||0)+C.edge(B).weight}),R});return v.zipObject(C.nodes(),A)},predecessorWeights:function(C){var A=v.map(C.nodes(),function(M){var R={};return v.forEach(C.inEdges(M),function(B){R[B.v]=(R[B.v]||0)+C.edge(B).weight}),R});return v.zipObject(C.nodes(),A)},intersectRect:function(C,A){var M,R,B=C.x,Y=C.y,G=A.x-B,Q=A.y-Y,K=C.width/2,gt=C.height/2;if(!G&&!Q)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(Q)*K>Math.abs(G)*gt?(Q<0&&(gt=-gt),M=gt*G/Q,R=gt):(G<0&&(K=-K),M=K,R=K*Q/G),{x:B+M,y:Y+R}},buildLayerMatrix:function(C){var A=v.map(v.range(y(C)+1),function(){return[]});return v.forEach(C.nodes(),function(M){var R=C.node(M),B=R.rank;v.isUndefined(B)||(A[B][R.order]=M)}),A},normalizeRanks:function(C){var A=v.min(v.map(C.nodes(),function(M){return C.node(M).rank}));v.forEach(C.nodes(),function(M){var R=C.node(M);v.has(R,"rank")&&(R.rank-=A)})},removeEmptyRanks:function(C){var A=v.min(v.map(C.nodes(),function(Y){return C.node(Y).rank})),M=[];v.forEach(C.nodes(),function(Y){var G=C.node(Y).rank-A;M[G]||(M[G]=[]),M[G].push(Y)});var R=0,B=C.graph().nodeRankFactor;v.forEach(M,function(Y,G){v.isUndefined(Y)&&G%B!=0?--R:R&&v.forEach(Y,function(Q){C.node(Q).rank+=R})})},addBorderNode:function(C,A,M,R){var B={width:0,height:0};return arguments.length>=4&&(B.rank=M,B.order=R),k(C,"border",B,A)},maxRank:y,partition:function(C,A){var M={lhs:[],rhs:[]};return v.forEach(C,function(R){A(R)?M.lhs.push(R):M.rhs.push(R)}),M},time:function(C,A){var M=v.now();try{return A()}finally{console.log(C+" time: "+(v.now()-M)+"ms")}},notime:function(C,A){return A()}}},8177:S=>{S.exports="0.8.5"},7856:function(S){S.exports=function(){var O=Object.hasOwnProperty,p=Object.setPrototypeOf,v=Object.isFrozen,f=Object.getPrototypeOf,k=Object.getOwnPropertyDescriptor,y=Object.freeze,C=Object.seal,A=Object.create,M=typeof Reflect!="undefined"&&Reflect,R=M.apply,B=M.construct;R||(R=function(It,St,nt){return It.apply(St,nt)}),y||(y=function(It){return It}),C||(C=function(It){return It}),B||(B=function(It,St){return new(Function.prototype.bind.apply(It,[null].concat(function(nt){if(Array.isArray(nt)){for(var ue=0,Rt=Array(nt.length);ue1?nt-1:0),Rt=1;Rt/gm),he=C(/^data-[\-\w.\u00B7-\uFFFF]/),be=C(/^aria-[\-\w]+$/),Ne=C(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),de=C(/^(?:\w+script|data):/i),Se=C(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),te=C(/^html$/i),_e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(It){return typeof It}:function(It){return It&&typeof Symbol=="function"&&It.constructor===Symbol&&It!==Symbol.prototype?"symbol":typeof It};function wt(It){if(Array.isArray(It)){for(var St=0,nt=Array(It.length);St0&&arguments[0]!==void 0?arguments[0]:pe(),nt=function(Ft){return It(Ft)};if(nt.version="2.3.6",nt.removed=[],!St||!St.document||St.document.nodeType!==9)return nt.isSupported=!1,nt;var ue=St.document,Rt=St.document,dn=St.DocumentFragment,De=St.HTMLTemplateElement,Ue=St.Node,Ve=St.Element,Je=St.NodeFilter,en=St.NamedNodeMap,Ae=en===void 0?St.NamedNodeMap||St.MozNamedAttrMap:en,qe=St.HTMLFormElement,rn=St.DOMParser,je=St.trustedTypes,xe=Ve.prototype,Ze=Bt(xe,"cloneNode"),pn=Bt(xe,"nextSibling"),Qn=Bt(xe,"childNodes"),Xe=Bt(xe,"parentNode");if(typeof De=="function"){var nn=Rt.createElement("template");nn.content&&nn.content.ownerDocument&&(Rt=nn.content.ownerDocument)}var Sr=mt(je,ue),Dr=Sr?Sr.createHTML(""):"",yn=Rt,An=yn.implementation,fn=yn.createNodeIterator,wn=yn.createDocumentFragment,Dn=yn.getElementsByTagName,gn=ue.importNode,Yn={};try{Yn=jt(Rt).documentMode?Rt.documentMode:{}}catch{}var Ln={};nt.isSupported=typeof Xe=="function"&&An&&An.createHTMLDocument!==void 0&&Yn!==9;var Pr=le,Wn=oe,Xn=he,Kn=be,Mn=de,Un=Se,Bn=Ne,vn=null,Vn=xt({},[].concat(wt(lt),wt(et),wt(st),wt(Dt),wt(Kt))),sn=null,Pn=xt({},[].concat(wt(_t),wt(ae),wt(Ee),wt(Pe))),mn=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ca=null,uo=null,Fi=!0,Fn=!0,ua=!1,Pi=!1,Lr=!1,ti=!1,Zr=!1,Qr=!1,jr=!1,fi=!1,di=!0,cr=!0,Yr=!1,ei={},Kr=null,Ti=xt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ha=null,Er=xt({},["audio","video","img","source","image","track"]),Wa=null,Va=xt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ra="http://www.w3.org/1998/Math/MathML",un="http://www.w3.org/2000/svg",On="http://www.w3.org/1999/xhtml",we=On,Be=!1,sr=void 0,Ut=["application/xhtml+xml","text/html"],Ea="text/html",Gt=void 0,zr=null,Zo=Rt.createElement("form"),Qo=function(Ft){return Ft instanceof RegExp||Ft instanceof Function},Ko=function(Ft){zr&&zr===Ft||(Ft&&(Ft===void 0?"undefined":_e(Ft))==="object"||(Ft={}),Ft=jt(Ft),vn="ALLOWED_TAGS"in Ft?xt({},Ft.ALLOWED_TAGS):Vn,sn="ALLOWED_ATTR"in Ft?xt({},Ft.ALLOWED_ATTR):Pn,Wa="ADD_URI_SAFE_ATTR"in Ft?xt(jt(Va),Ft.ADD_URI_SAFE_ATTR):Va,Ha="ADD_DATA_URI_TAGS"in Ft?xt(jt(Er),Ft.ADD_DATA_URI_TAGS):Er,Kr="FORBID_CONTENTS"in Ft?xt({},Ft.FORBID_CONTENTS):Ti,Ca="FORBID_TAGS"in Ft?xt({},Ft.FORBID_TAGS):{},uo="FORBID_ATTR"in Ft?xt({},Ft.FORBID_ATTR):{},ei="USE_PROFILES"in Ft&&Ft.USE_PROFILES,Fi=Ft.ALLOW_ARIA_ATTR!==!1,Fn=Ft.ALLOW_DATA_ATTR!==!1,ua=Ft.ALLOW_UNKNOWN_PROTOCOLS||!1,Pi=Ft.SAFE_FOR_TEMPLATES||!1,Lr=Ft.WHOLE_DOCUMENT||!1,Qr=Ft.RETURN_DOM||!1,jr=Ft.RETURN_DOM_FRAGMENT||!1,fi=Ft.RETURN_TRUSTED_TYPE||!1,Zr=Ft.FORCE_BODY||!1,di=Ft.SANITIZE_DOM!==!1,cr=Ft.KEEP_CONTENT!==!1,Yr=Ft.IN_PLACE||!1,Bn=Ft.ALLOWED_URI_REGEXP||Bn,we=Ft.NAMESPACE||On,Ft.CUSTOM_ELEMENT_HANDLING&&Qo(Ft.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(mn.tagNameCheck=Ft.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ft.CUSTOM_ELEMENT_HANDLING&&Qo(Ft.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(mn.attributeNameCheck=Ft.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ft.CUSTOM_ELEMENT_HANDLING&&typeof Ft.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(mn.allowCustomizedBuiltInElements=Ft.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),sr=sr=Ut.indexOf(Ft.PARSER_MEDIA_TYPE)===-1?Ea:Ft.PARSER_MEDIA_TYPE,Gt=sr==="application/xhtml+xml"?function($e){return $e}:gt,Pi&&(Fn=!1),jr&&(Qr=!0),ei&&(vn=xt({},[].concat(wt(Kt))),sn=[],ei.html===!0&&(xt(vn,lt),xt(sn,_t)),ei.svg===!0&&(xt(vn,et),xt(sn,ae),xt(sn,Pe)),ei.svgFilters===!0&&(xt(vn,st),xt(sn,ae),xt(sn,Pe)),ei.mathMl===!0&&(xt(vn,Dt),xt(sn,Ee),xt(sn,Pe))),Ft.ADD_TAGS&&(vn===Vn&&(vn=jt(vn)),xt(vn,Ft.ADD_TAGS)),Ft.ADD_ATTR&&(sn===Pn&&(sn=jt(sn)),xt(sn,Ft.ADD_ATTR)),Ft.ADD_URI_SAFE_ATTR&&xt(Wa,Ft.ADD_URI_SAFE_ATTR),Ft.FORBID_CONTENTS&&(Kr===Ti&&(Kr=jt(Kr)),xt(Kr,Ft.FORBID_CONTENTS)),cr&&(vn["#text"]=!0),Lr&&xt(vn,["html","head","body"]),vn.table&&(xt(vn,["tbody"]),delete Ca.tbody),y&&y(Ft),zr=Ft)},lo=xt({},["mi","mo","mn","ms","mtext"]),zn=xt({},["foreignobject","desc","title","annotation-xml"]),Ar=xt({},et);xt(Ar,st),xt(Ar,$);var pi=xt({},Dt);xt(pi,z);var $r=function(Ft){var $e=Xe(Ft);$e&&$e.tagName||($e={namespaceURI:On,tagName:"template"});var Ie=gt(Ft.tagName),hr=gt($e.tagName);if(Ft.namespaceURI===un)return $e.namespaceURI===On?Ie==="svg":$e.namespaceURI===ra?Ie==="svg"&&(hr==="annotation-xml"||lo[hr]):Boolean(Ar[Ie]);if(Ft.namespaceURI===ra)return $e.namespaceURI===On?Ie==="math":$e.namespaceURI===un?Ie==="math"&&zn[hr]:Boolean(pi[Ie]);if(Ft.namespaceURI===On){if($e.namespaceURI===un&&!zn[hr]||$e.namespaceURI===ra&&!lo[hr])return!1;var Br=xt({},["title","style","font","a","script"]);return!pi[Ie]&&(Br[Ie]||!Ar[Ie])}return!1},Hr=function(Ft){K(nt.removed,{element:Ft});try{Ft.parentNode.removeChild(Ft)}catch{try{Ft.outerHTML=Dr}catch{Ft.remove()}}},Si=function(Ft,$e){try{K(nt.removed,{attribute:$e.getAttributeNode(Ft),from:$e})}catch{K(nt.removed,{attribute:null,from:$e})}if($e.removeAttribute(Ft),Ft==="is"&&!sn[Ft])if(Qr||jr)try{Hr($e)}catch{}else try{$e.setAttribute(Ft,"")}catch{}},ji=function(Ft){var $e=void 0,Ie=void 0;if(Zr)Ft=""+Ft;else{var hr=tt(Ft,/^[\r\n\t ]+/);Ie=hr&&hr[0]}sr==="application/xhtml+xml"&&(Ft=''+Ft+"");var Br=Sr?Sr.createHTML(Ft):Ft;if(we===On)try{$e=new rn().parseFromString(Br,sr)}catch{}if(!$e||!$e.documentElement){$e=An.createDocument(we,"template",null);try{$e.documentElement.innerHTML=Be?"":Br}catch{}}var ci=$e.body||$e.documentElement;return Ft&&Ie&&ci.insertBefore(Rt.createTextNode(Ie),ci.childNodes[0]||null),we===On?Dn.call($e,Lr?"html":"body")[0]:Lr?$e.documentElement:ci},Mr=function(Ft){return fn.call(Ft.ownerDocument||Ft,Ft,Je.SHOW_ELEMENT|Je.SHOW_COMMENT|Je.SHOW_TEXT,null,!1)},ni=function(Ft){return Ft instanceof qe&&(typeof Ft.nodeName!="string"||typeof Ft.textContent!="string"||typeof Ft.removeChild!="function"||!(Ft.attributes instanceof Ae)||typeof Ft.removeAttribute!="function"||typeof Ft.setAttribute!="function"||typeof Ft.namespaceURI!="string"||typeof Ft.insertBefore!="function")},gi=function(Ft){return(Ue===void 0?"undefined":_e(Ue))==="object"?Ft instanceof Ue:Ft&&(Ft===void 0?"undefined":_e(Ft))==="object"&&typeof Ft.nodeType=="number"&&typeof Ft.nodeName=="string"},pr=function(Ft,$e,Ie){Ln[Ft]&&G(Ln[Ft],function(hr){hr.call(nt,$e,Ie,zr)})},Xi=function(Ft){var $e=void 0;if(pr("beforeSanitizeElements",Ft,null),ni(Ft)||tt(Ft.nodeName,/[\u0080-\uFFFF]/))return Hr(Ft),!0;var Ie=Gt(Ft.nodeName);if(pr("uponSanitizeElement",Ft,{tagName:Ie,allowedTags:vn}),!gi(Ft.firstElementChild)&&(!gi(Ft.content)||!gi(Ft.content.firstElementChild))&&At(/<[/\w]/g,Ft.innerHTML)&&At(/<[/\w]/g,Ft.textContent)||Ie==="select"&&At(/