2026-08-09 15:43:19 -04:00
import { b0 as an , b1 as Wn , b2 as on , b3 as cn , b4 as un , b5 as ce , b6 as $n , aI as ae , g as On , s as Hn , q as Nn , p as Pn , a as Vn , b as zn , _ as d , c as _t , d as Zt , e as Rn , b7 as rt , l as Tt , k as qn , j as Zn , y as Bn , u as Xn } from "./mermaid.core-v0oo9NRr.js" ; import { b as Gn , t as He , c as jn , a as Qn , l as Jn } from "./linear-Bzk-L7jX.js" ; import { i as Kn } from "./init-Gi6I4Gst.js" ; import "./index-8cIrvc8q.js" ; import "./defaultLocale-DX6XiGOO.js" ; function tr ( t , e ){ let n ; if ( e === void 0 ) for ( const r of t ) r != null && ( n < r || n === void 0 && r >= r ) && ( n = r ); else { let r =- 1 ; for ( let i of t )( i = e ( i , ++ r , t )) != null && ( n < i || n === void 0 && i >= i ) && ( n = i )} return n } function er ( t , e ){ let n ; if ( e === void 0 ) for ( const r of t ) r != null && ( n > r || n === void 0 && r >= r ) && ( n = r ); else { let r =- 1 ; for ( let i of t )( i = e ( i , ++ r , t )) != null && ( n > i || n === void 0 && i >= i ) && ( n = i )} return n } function nr ( t ){ return t } var Xt = 1 , ue = 2 , Te = 3 , Bt = 4 , Ne = 1e-6 ; function rr ( t ){ return "translate(" + t + ",0)" } function ir ( t ){ return "translate(0," + t + ")" } function sr ( t ){ return e => + t ( e )} function ar ( t , e ){ return e = Math . max ( 0 , t . bandwidth () - e * 2 ) / 2 , t . round () && ( e = Math . round ( e )), n => + t ( n ) + e } function or (){ return ! this . __axis } function ln ( t , e ){ var n = [], r = null , i = null , a = 6 , c = 6 , m = 3 , Y = typeof window < "u" && window . devicePixelRatio > 1 ? 0 : . 5 , C = t === Xt || t === Bt ?- 1 : 1 , k = t === Bt || t === ue ? "x" : "y" , L = t === Xt || t === Te ? rr : ir ; function _ ( S ){ var Z = r ?? ( e . ticks ? e . ticks . apply ( e , n ) : e . domain ()), A = i ?? ( e . tickFormat ? e . tickFormat . apply ( e , n ) : nr ), U = Math . max ( a , 0 ) + m , I = e . range (), N =+ I [ 0 ] + Y , W =+ I [ I . length - 1 ] + Y , q = ( e . bandwidth ? ar : sr )( e . copy (), Y ), j = S . selection ? S . selection () : S , p = j . selectAll ( ".domain" ). data ([ null ]), g = j . selectAll ( ".tick" ). data ( Z , e ). order (), y = g . exit (), h = g . enter (). append ( "g" ). attr ( "class" , "tick" ), D = g . select ( "line" ), w = g . select ( "text" ); p = p . merge ( p . enter (). insert ( "path" , ".tick" ). attr ( "class" , "domain" ). attr ( "stroke" , "currentColor" )), g = g . merge ( h ), D = D . merge ( h . append ( "line" ). attr ( "stroke" , "currentColor" ). attr ( k + "2" , C * a )), w = w . merge ( h . append ( "text" ). attr ( "fill" , "currentColor" ). attr ( k , C * U ). attr ( "dy" , t === Xt ? "0em" : t === Te ? "0.71em" : "0.32em" )), S !== j && ( p = p . transition ( S ), g = g . transition ( S ), D = D . transition ( S ), w = w . transition ( S ), y = y . transition ( S ). attr ( "opacity" , Ne ). attr ( "transform" , function ( T ){ return isFinite ( T = q ( T )) ? L ( T + Y ) : this . getAttribute ( "transform" )}), h . attr ( "opacity" , Ne ). attr ( "transform" , function ( T ){ var v = this . parentNode . __axis ; return L (( v && isFinite ( v = v ( T )) ? v : q ( T )) + Y )})), y . remove (), p . attr ( "d" , t === Bt || t === ue ? c ? "M" + C * c + "," + N + "H" + Y + "V" + W + "H" + C * c : "M" + Y + "," + N + "V" + W : c ? "M" + N + "," + C * c + "V" + Y + "H" + W + "V" + C * c : "M" + N + "," + Y + "H" + W ), g . attr ( "opacity" , 1 ). attr ( "transform" , function ( T ){ return L ( q ( T ) + Y )}), D . attr ( k + "2" , C * a ), w . attr ( k , C * U ). text ( A ), j . filter ( or ). attr ( "fill" , "none" ). attr ( "font-size" , 10 ). attr ( "font-family" , "sans-serif" ). attr ( "text-anchor" , t === ue ? "start" : t === Bt ? "end" : "middle" ), j . each ( function (){ this . __axis = q })} return _ . scale = function ( S ){ return arguments . length ? ( e = S , _ ) : e }, _ . ticks = function (){ return n = Array . from ( arguments ), _ }, _ . tickArguments = function ( S ){ return arguments . length ? ( n = S == null ? [] : Array . from ( S ), _ ) : n . slice ()}, _ . tickValues = function ( S ){ return arguments . length ? ( r = S == null ? null : Array . from ( S ), _ ) : r && r . slice ()}, _ . tickFormat = function ( S ){ return arguments . length ? ( i = S , _ ) : i }, _ . tickSize = function ( S ){ return arguments . length ? ( a = c =+ S , _ ) : a }, _ . tickSizeInner = function ( S ){ return arguments . length ? ( a =+ S , _ ) : a }, _ . tickSizeOuter = function ( S ){ return arguments . length ? ( c =+ S , _ ) : c }, _ . tickPadding = function ( S ){ return arguments . length ? ( m =+ S , _ ) : m }, _ . offset = function ( S ){ return arguments . length ? ( Y =+ S , _ ) : Y }, _ } function cr ( t ){ return ln ( Xt , t )} function ur ( t ){ return ln ( Te , t )} const lr = Math . PI / 180 , fr = 180 / Math . PI , ee = 18 , fn = . 96422 , dn = 1 , hn = . 82521 , mn = 4 / 29 , Ft = 6 / 29 , gn = 3 * Ft * Ft , dr = Ft * Ft * Ft ; function yn ( t ){ if ( t instanceof ft ) return new ft ( t . l , t . a , t . b , t . opacity ); if ( t instanceof ht ) return kn ( t ); t instanceof an || ( t = Wn ( t )); var e = he ( t . r ), n = he ( t . g ), r = he ( t . b ), i = le ((. 2225045 * e + . 7168786 * n + . 0606169 * r ) / dn ), a , c ; return e === n && n === r ? a = c = i : ( a = le ((. 4360747 * e + . 3850649 * n + . 1430804 * r ) / fn ), c = le ((. 0139322 * e + . 0971045 * n + . 7141733 * r ) / hn )), new ft ( 116 * i - 16 , 500 * ( a - i ), 200 * ( i - c ), t . opacity )} function hr ( t , e , n , r ){ return arguments . length === 1 ? yn ( t ) : new ft ( t , e , n , r ?? 1 )} function ft ( t , e , n , r ){ this . l =+ t , this . a =+ e , this . b =+ n , this . opacity =+ r }
2026-03-07 19:52:33 +00:00
`+O.showPosition()+`
Expecting `+qt.join(", ")+", got '"+(this.terminals_[$]||$)+"'":oe="Parse error on line "+(E+1)+": Unexpected "+($==P?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(oe,{text:O.match,token:this.terminals_[$]||$,line:O.yylineno,loc:H,expected:qt})}if(G[0]instanceof Array&&G.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+$);switch(G[0]){case 1:b.push($),F.push(O.yytext),o.push(O.yylloc),b.push(G[1]),$=null,R=O.yyleng,s=O.yytext,E=O.yylineno,H=O.yylloc;break;case 2:if(ut=this.productions_[G[1]][1],at.$=F[F.length-ut],at._$={first_line:o[o.length-(ut||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(ut||1)].first_column,last_column:o[o.length-1].last_column},V&&(at._$.range=[o[o.length-(ut||1)].range[0],o[o.length-1].range[1]]),it=this.performAction.apply(at,[s,R,E,st.yy,G[1],F,o].concat(K)),typeof it<"u")return it;ut&&(b=b.slice(0,-1*ut*2),F=F.slice(0,-1*ut),o=o.slice(0,-1*ut)),b.push(this.productions_[G[1]][0]),F.push(at.$),o.push(at._$),Oe=X[b[b.length-2]][b[b.length-1]],b.push(Oe);break;case 3:return!0}}return!0},"parse")},w=(function(){var v={EOF:1,parseError:d(function(f,b){if(this.yy.parser)this.yy.parser.parseError(f,b);else throw new Error(f)},"parseError"),setInput:d(function(u,f){return this.yy=f||this.yy||{},this._input=u,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var f=u.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},"input"),unput:d(function(u){var f=u.length,b=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var x=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 F=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===x.length?this.yylloc.first_column:0)+x[x.length-b.length].length-b[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[F[0],F[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+` . You can only invoke reject () in the lexer when the lexer is of the backtracking persuasion ( options . backtrack_lexer = true ).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(u){this.unput(this.match.slice(u))},"less"),pastInput:d(function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var u=this.pastInput(),f=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
`+f+"^"},"showPosition"),test_match:d(function(u,f){var b,x,F;if(this.options.backtrack_lexer&&(F={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(F.yylloc.range=this.yylloc.range.slice(0))),x=u[0].match(/(?:\r\n?|\n).*/g),x&&(this.yylineno+=x.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(u[0].length),this.matched+=u[0],b=this.performAction.call(this,this.yy,this,f,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b)return b;if(this._backtrack){for(var o in F)this[o]=F[o];return!1}return!1},"test_match"),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,f,b,x;this._more||(this.yytext="",this.match="");for(var F=this._currentRules(),o=0;o<F.length;o++)if(b=this._input.match(this.rules[F[o]]),b&&(!f||b[0].length>f[0].length)){if(f=b,x=o,this.options.backtrack_lexer){if(u=this.test_match(b,F[o]),u!==!1)return u;if(this._backtrack){f=!1;continue}else return!1}else if(!this.options.flex)break}return f?(u=this.test_match(f,F[x]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+` . Unrecognized text .
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:d(function(){var f=this.next();return f||this.lex()},"lex"),begin:d(function(f){this.conditionStack.push(f)},"begin"),popState:d(function(){var f=this.conditionStack.length-1;return f>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:d(function(f){return f=this.conditionStack.length-1-Math.abs(f||0),f>=0?this.conditionStack[f]:"INITIAL"},"topState"),pushState:d(function(f){this.begin(f)},"pushState"),stateStackSize:d(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:d(function(f,b,x,F){switch(x){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,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],inclusive:!0}}};return v})();D.lexer=w;function T(){this.yy={}}return d(T,"Parser"),T.prototype=D,D.Parser=T,new T})();xe.parser=xe;var Gi=xe;rt.extend(Wi);rt.extend(Ni);rt.extend(Ri);var nn={friday:5,saturday:6},lt="",_e="",Fe=void 0,Ye="",Vt=[],zt=[],Ue=new Map,Ee=[],ie=[],It="",Ie="",_n=["active","done","crit","milestone","vert"],Le=[],R
.mermaid-main-font {
font-family: ${ t . fontFamily } ;
}
.exclude-range {
fill: ${ t . excludeBkgColor } ;
}
.section {
stroke: none;
opacity: 0.2;
}
.section0 {
fill: ${ t . sectionBkgColor } ;
}
.section2 {
fill: ${ t . sectionBkgColor2 } ;
}
.section1,
.section3 {
fill: ${ t . altSectionBkgColor } ;
opacity: 0.2;
}
.sectionTitle0 {
fill: ${ t . titleColor } ;
}
.sectionTitle1 {
fill: ${ t . titleColor } ;
}
.sectionTitle2 {
fill: ${ t . titleColor } ;
}
.sectionTitle3 {
fill: ${ t . titleColor } ;
}
.sectionTitle {
text-anchor: start;
font-family: ${ t . fontFamily } ;
}
/* Grid and axis */
.grid .tick {
stroke: ${ t . gridColor } ;
opacity: 0.8;
shape-rendering: crispEdges;
}
.grid .tick text {
font-family: ${ t . fontFamily } ;
fill: ${ t . textColor } ;
}
.grid path {
stroke-width: 0;
}
/* Today line */
.today {
fill: none;
stroke: ${ t . todayLineColor } ;
stroke-width: 2px;
}
/* Task styling */
/* Default task */
.task {
stroke-width: 2;
}
.taskText {
text-anchor: middle;
font-family: ${ t . fontFamily } ;
}
.taskTextOutsideRight {
fill: ${ t . taskTextDarkColor } ;
text-anchor: start;
font-family: ${ t . fontFamily } ;
}
.taskTextOutsideLeft {
fill: ${ t . taskTextDarkColor } ;
text-anchor: end;
}
/* Special case clickable */
.task.clickable {
cursor: pointer;
}
.taskText.clickable {
cursor: pointer;
fill: ${ t . taskTextClickableColor } !important;
font-weight: bold;
}
.taskTextOutsideLeft.clickable {
cursor: pointer;
fill: ${ t . taskTextClickableColor } !important;
font-weight: bold;
}
.taskTextOutsideRight.clickable {
cursor: pointer;
fill: ${ t . taskTextClickableColor } !important;
font-weight: bold;
}
/* Specific task settings for the sections*/
.taskText0,
.taskText1,
.taskText2,
.taskText3 {
fill: ${ t . taskTextColor } ;
}
.task0,
.task1,
.task2,
.task3 {
fill: ${ t . taskBkgColor } ;
stroke: ${ t . taskBorderColor } ;
}
.taskTextOutside0,
.taskTextOutside2
{
fill: ${ t . taskTextOutsideColor } ;
}
.taskTextOutside1,
.taskTextOutside3 {
fill: ${ t . taskTextOutsideColor } ;
}
/* Active task */
.active0,
.active1,
.active2,
.active3 {
fill: ${ t . activeTaskBkgColor } ;
stroke: ${ t . activeTaskBorderColor } ;
}
.activeText0,
.activeText1,
.activeText2,
.activeText3 {
fill: ${ t . taskTextDarkColor } !important;
}
/* Completed task */
.done0,
.done1,
.done2,
.done3 {
stroke: ${ t . doneTaskBorderColor } ;
fill: ${ t . doneTaskBkgColor } ;
stroke-width: 2;
}
.doneText0,
.doneText1,
.doneText2,
.doneText3 {
fill: ${ t . taskTextDarkColor } !important;
}
/* Tasks on the critical line */
.crit0,
.crit1,
.crit2,
.crit3 {
stroke: ${ t . critBorderColor } ;
fill: ${ t . critBkgColor } ;
stroke-width: 2;
}
.activeCrit0,
.activeCrit1,
.activeCrit2,
.activeCrit3 {
stroke: ${ t . critBorderColor } ;
fill: ${ t . activeTaskBkgColor } ;
stroke-width: 2;
}
.doneCrit0,
.doneCrit1,
.doneCrit2,
.doneCrit3 {
stroke: ${ t . critBorderColor } ;
fill: ${ t . doneTaskBkgColor } ;
stroke-width: 2;
cursor: pointer;
shape-rendering: crispEdges;
}
.milestone {
transform: rotate(45deg) scale(0.8,0.8);
}
.milestoneText {
font-style: italic;
}
.doneCritText0,
.doneCritText1,
.doneCritText2,
.doneCritText3 {
fill: ${ t . taskTextDarkColor } !important;
}
.vert {
stroke: ${ t . vertLineColor } ;
}
.vertText {
font-size: 15px;
text-anchor: middle;
fill: ${ t . vertLineColor } !important;
}
.activeCritText0,
.activeCritText1,
.activeCritText2,
.activeCritText3 {
fill: ${ t . taskTextDarkColor } !important;
}
.titleText {
text-anchor: middle;
font-size: 18px;
fill: ${ t . titleColor || t . textColor } ;
font-family: ${ t . fontFamily } ;
}
` , "getStyles" ), $s = Ws , zs = { parser : Gi , db : Us , renderer : As , styles : $s }; export { zs as diagram };