PageSourceSearch

https://trycap.dev/assets/chunks/ganttDiagram-APWFNJXF.BpJZbPwM.js

js trycap.dev collected 2026-10-02 05:16:54 UTC 61,851 bytes, 257 lines download raw bytes

vendor: 4,596 bytes, line 1
1import{aU as sn,aV as On,aW as on,aX as cn,aY as ln,aZ as ct,a_ as Hn,_ as f,g as Nn,s as Vn,t as Pn,q as zn,a as Rn,b as Bn,c as Fe,d as je,e as Zn,a$ as ae,l as tt,k as qn,j as Xn,z as Gn,u as Qn}from"../app.CjL1D-22.js";import{b as jn,t as Vt,c as $n,a as Jn,l as Kn}from"./linear.D4TO7xn5.js";import{i as er}from"./init.Gi6I4Gst.js";import"./framework.B2yqIHGO.js";import"./theme.CYo2E2_I.js";function tr(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of e)(a=t(a,++r,e))!=null&&(n<a||n===void 0&&a>=a)&&(n=a)}return n}function nr(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of e)(a=t(a,++r,e))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function rr(e){return e}var Je=1,lt=2,bt=3,$e=4,Pt=1e-6;function ar(e){return"translate("+e+",0)"}function ir(e){return"translate(0,"+e+")"}function sr(e){return t=>+e(t)}function or(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function cr(){return!this.__axis}function un(e,t){var n=[],r=null,a=null,i=6,s=6,g=3,k=typeof window<"u"&&window.devicePixelRatio>1?0:.5,v=e===Je||e===$e?-1:1,y=e===$e||e===lt?"x":"y",S=e===Je||e===bt?ar:ir;function C(p){var N=r??(t.ticks?t.ticks.apply(t,n):t.domain()),M=a??(t.tickFormat?t.tickFormat.apply(t,n):rr),B=Math.max(i,0)+g,Q=t.range(),K=+Q[0]+k,R=+Q[Q.length-1]+k,Z=(t.bandwidth?or:sr)(t.copy(),k),j=p.selection?p.selection():p,w=j.selectAll(".domain").data([null]),L=j.selectAll(".tick").data(N,t).order(),D=L.exit(),Y=L.enter().append("g").attr("class","tick"),_=L.select("line"),F=L.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),L=L.merge(Y),_=_.merge(Y.append("line").attr("stroke","currentColor").attr(y+"2",v*i)),F=F.merge(Y.append("text").attr("fill","currentColor").attr(y,v*B).attr("dy",e===Je?"0em":e===bt?"0.71em":"0.32em")),p!==j&&(w=w.transition(p),L=L.transition(p),_=_.transition(p),F=F.transition(p),D=D.transition(p).attr("opacity",Pt).attr("transform",function(x){return isFinite(x=Z(x))?S(x+k):this.getAttribute("transform")}),Y.attr("opacity",Pt).attr("transform",function(x){var A=this.parentNode.__axis;return S((A&&isFinite(A=A(x))?A:Z(x))+k)})),D.remove(),w.attr("d",e===$e||e===lt?s?"M"+v*s+","+K+"H"+k+"V"+R+"H"+v*s:"M"+k+","+K+"V"+R:s?"M"+K+","+v*s+"V"+k+"H"+R+"V"+v*s:"M"+K+","+k+"H"+R),L.attr("opacity",1).attr("transform",function(x){return S(Z(x)+k)}),_.attr(y+"2",v*i),F.attr(y,v*B).text(M),j.filter(cr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===lt?"start":e===$e?"end":"middle"),j.each(function(){this.__axis=Z})}return C.scale=function(p){return arguments.length?(t=p,C):t},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(p){return arguments.length?(n=p==null?[]:Array.from(p),C):n.slice()},C.tickValues=function(p){return arguments.length?(r=p==null?null:Array.from(p),C):r&&r.slice()},C.tickFormat=function(p){return arguments.length?(a=p,C):a},C.tickSize=function(p){return arguments.length?(i=s=+p,C):i},C.tickSizeInner=function(p){return arguments.length?(i=+p,C):i},C.tickSizeOuter=function(p){return arguments.length?(s=+p,C):s},C.tickPadding=function(p){return arguments.length?(g=+p,C):g},C.offset=function(p){return arguments.length?(k=+p,C):k},C}function lr(e){return un(Je,e)}function ur(e){return un(bt,e)}const fr=Math.PI/180,hr=180/Math.PI,nt=18,fn=.96422,hn=1,dn=.82521,mn=4/29,Ye=6/29,gn=3*Ye*Ye,dr=Ye*Ye*Ye;function yn(e){if(e instanceof fe)return new fe(e.l,e.a,e.b,e.opacity);if(e instanceof ge)return kn(e);e instanceof sn||(e=On(e));var t=dt(e.r),n=dt(e.g),r=dt(e.b),a=ut((.2225045*t+.7168786*n+.0606169*r)/hn),i,s;return t===n&&n===r?i=s=a:(i=ut((.4360747*t+.3850649*n+.1430804*r)/fn),s=ut((.0139322*t+.0971045*n+.7141733*r)/dn)),new fe(116*a-16,500*(i-a),200*(a-s),e.opacity)}function mr(e,t,n,r){return arguments.length===1?yn(e):new fe(e,t,n,r??1)}function fe(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}on(fe,mr,cn(ln,{brighter(e){return new fe(this.l+nt*(e??1),this.a,this.b,this.opacity)},darker(e){return new fe(this.l-nt*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=fn*ft(t),e=hn*ft(e),n=dn*ft(n),new sn(ht(3.1338561*t-1.6168667*e-.4906146*n),ht(-.9787684*t+1.9161415*e+.033454*n),ht(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function ut(e){return e>dr?Math.pow(e,1/3):e/gn+mn}function ft(e){return e>Ye?e*e*e:gn*(e-mn)}
vendor: 1,085 bytes, line 1
1function ht(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function dt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function gr(e){if(e instanceof ge)return new ge(e.h,e.c,e.l,e.opacity);if(e instanceof fe||(e=yn(e)),e.a===0&&e.b===0)return new ge(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*hr;return new ge(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function xt(e,t,n,r){return arguments.length===1?gr(e):new ge(e,t,n,r??1)}function ge(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function kn(e){if(isNaN(e.h))return new fe(e.l,0,0,e.opacity);var t=e.h*fr;return new fe(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}on(ge,xt,cn(ln,{brighter(e){return new ge(this.h,this.c,this.l+nt*(e??1),this.opacity)},darker(e){return new ge(this.h,this.c,this.l-nt*(e??1),this.opacity)},rgb(){return kn(this).rgb()}}));function yr(e){return function(t,n){var r=e((t=xt(t)).h,(n=xt(n)).h),a=ct(t.c,n.c),i=ct(t.l,n.l),s=ct(t.opacity,n.opacity);return function(g){return t.h=r(g),t.c=a(g),t.l=i(g),t.opacity=s(g),t+""}}
vendor: 4,338 bytes, line 1
1}const kr=yr(Hn);function vr(e,t){e=e.slice();var n=0,r=e.length-1,a=e[n],i=e[r],s;return i<a&&(s=n,n=r,r=s,s=a,a=i,i=s),e[n]=t.floor(a),e[r]=t.ceil(i),e}const mt=new Date,gt=new Date;function J(e,t,n,r){function a(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return a.floor=i=>(e(i=new Date(+i)),i),a.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),a.round=i=>{const s=a(i),g=a.ceil(i);return i-s<g-i?s:g},a.offset=(i,s)=>(t(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,g)=>{const k=[];if(i=a.ceil(i),g=g==null?1:Math.floor(g),!(i<s)||!(g>0))return k;let v;do k.push(v=new Date(+i)),t(i,g),e(i);while(v<i&&i<s);return k},a.filter=i=>J(s=>{if(s>=s)for(;e(s),!i(s);)s.setTime(s-1)},(s,g)=>{if(s>=s)if(g<0)for(;++g<=0;)for(;t(s,-1),!i(s););else for(;--g>=0;)for(;t(s,1),!i(s););}),n&&(a.count=(i,s)=>(mt.setTime(+i),gt.setTime(+s),e(mt),e(gt),Math.floor(n(mt,gt))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?s=>r(s)%i===0:s=>a.count(0,s)%i===0):a)),a}const Ee=J(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Ee.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?J(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Ee);Ee.range;const ye=1e3,se=ye*60,ke=se*60,ve=ke*24,St=ve*7,zt=ve*30,yt=ve*365,Te=J(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*ye)},(e,t)=>(t-e)/ye,e=>e.getUTCSeconds());Te.range;const Ve=J(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ye)},(e,t)=>{e.setTime(+e+t*se)},(e,t)=>(t-e)/se,e=>e.getMinutes());Ve.range;const pr=J(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*se)},(e,t)=>(t-e)/se,e=>e.getUTCMinutes());pr.range;const Pe=J(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ye-e.getMinutes()*se)},(e,t)=>{e.setTime(+e+t*ke)},(e,t)=>(t-e)/ke,e=>e.getHours());Pe.range;const Tr=J(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*ke)},(e,t)=>(t-e)/ke,e=>e.getUTCHours());Tr.range;const xe=J(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*se)/ve,e=>e.getDate()-1);xe.range;const _t=J(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ve,e=>e.getUTCDate()-1);_t.range;const br=J(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ve,e=>Math.floor(e/ve));br.range;function Ce(e){return J(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*se)/St)}const Be=Ce(0),ze=Ce(1),vn=Ce(2),pn=Ce(3),we=Ce(4),Tn=Ce(5),bn=Ce(6);Be.range;ze.range;vn.range;pn.range;we.range;Tn.range;bn.range;function Me(e){return J(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/St)}const xn=Me(0),rt=Me(1),xr=Me(2),wr=Me(3),Ie=Me(4),Dr=Me(5),Cr=Me(6);xn.range;rt.range;xr.range;wr.range;Ie.range;Dr.range;Cr.range;const Re=J(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Re.range;const Mr=J(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Mr.range;const pe=J(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());pe.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:J(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});pe.range;const De=J(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());De.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:J(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});De.range;function Sr(e,t,n,r,a,i){const s=[[Te,1,ye],[Te,5,5*ye],[Te,15,15*ye],[Te,30,30*ye],[i,1,se],[i,5,5*se],[i,15,15*se],[i,30,30*se],[a,1,ke],[a,3,3*ke],[a,6,6*ke],[a,12,12*ke],[r,1,ve],[r,2,2*ve],[n,1,St],[t,1,zt],[t,3,3*zt],[e,1,yt]];function g(v,y,S){const C=y<v;C&&([v,y]=[y,v]);
vendor: 4,963 bytes, line 1
1const p=S&&typeof S.range=="function"?S:k(v,y,S),N=p?p.range(v,+y+1):[];return C?N.reverse():N}function k(v,y,S){const C=Math.abs(y-v)/S,p=jn(([,,B])=>B).right(s,C);if(p===s.length)return e.every(Vt(v/yt,y/yt,S));if(p===0)return Ee.every(Math.max(Vt(v,y,S),1));const[N,M]=s[C/s[p-1][2]<s[p][2]/C?p-1:p];return N.every(M)}return[g,k]}const[_r,Fr]=Sr(pe,Re,Be,xe,Pe,Ve);function kt(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function vt(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Le(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function Yr(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,i=e.days,s=e.shortDays,g=e.months,k=e.shortMonths,v=We(a),y=Oe(a),S=We(i),C=Oe(i),p=We(s),N=Oe(s),M=We(g),B=Oe(g),Q=We(k),K=Oe(k),R={a:m,A:E,b:c,B:h,c:null,d:Gt,e:Gt,f:Kr,g:la,G:fa,H:jr,I:$r,j:Jr,L:wn,m:ea,M:ta,p:o,q:P,Q:$t,s:Jt,S:na,u:ra,U:aa,V:ia,w:sa,W:oa,x:null,X:null,y:ca,Y:ua,Z:ha,"%":jt},Z={a:O,A:V,b:ee,B:q,c:null,d:Qt,e:Qt,f:ya,g:Ma,G:_a,H:da,I:ma,j:ga,L:Cn,m:ka,M:va,p:X,q:oe,Q:$t,s:Jt,S:pa,u:Ta,U:ba,V:xa,w:wa,W:Da,x:null,X:null,y:Ca,Y:Sa,Z:Fa,"%":jt},j={a:_,A:F,b:x,B:A,c:u,d:qt,e:qt,f:qr,g:Zt,G:Bt,H:Xt,I:Xt,j:zr,L:Zr,m:Pr,M:Rr,p:Y,q:Vr,Q:Gr,s:Qr,S:Br,u:Lr,U:Wr,V:Or,w:Ar,W:Hr,x:d,X:b,y:Zt,Y:Bt,Z:Nr,"%":Xr};R.x=w(n,R),R.X=w(r,R),R.c=w(t,R),Z.x=w(n,Z),Z.X=w(r,Z),Z.c=w(t,Z);function w(T,I){return function(W){var l=[],ne=-1,U=0,G=T.length,z,ce,he;for(W instanceof Date||(W=new Date(+W));++ne<G;)T.charCodeAt(ne)===37&&(l.push(T.slice(U,ne)),(ce=Rt[z=T.charAt(++ne)])!=null?z=T.charAt(++ne):ce=z==="e"?" ":"0",(he=I[z])&&(z=he(W,ce)),l.push(z),U=ne+1);return l.push(T.slice(U,ne)),l.join("")}}function L(T,I){return function(W){var l=Le(1900,void 0,1),ne=D(l,T,W+="",0),U,G;if(ne!=W.length)return null;if("Q"in l)return new Date(l.Q);if("s"in l)return new Date(l.s*1e3+("L"in l?l.L:0));if(I&&!("Z"in l)&&(l.Z=0),"p"in l&&(l.H=l.H%12+l.p*12),l.m===void 0&&(l.m="q"in l?l.q:0),"V"in l){if(l.V<1||l.V>53)return null;"w"in l||(l.w=1),"Z"in l?(U=vt(Le(l.y,0,1)),G=U.getUTCDay(),U=G>4||G===0?rt.ceil(U):rt(U),U=_t.offset(U,(l.V-1)*7),l.y=U.getUTCFullYear(),l.m=U.getUTCMonth(),l.d=U.getUTCDate()+(l.w+6)%7):(U=kt(Le(l.y,0,1)),G=U.getDay(),U=G>4||G===0?ze.ceil(U):ze(U),U=xe.offset(U,(l.V-1)*7),l.y=U.getFullYear(),l.m=U.getMonth(),l.d=U.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),G="Z"in l?vt(Le(l.y,0,1)).getUTCDay():kt(Le(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+l.W*7-(G+5)%7:l.w+l.U*7-(G+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,vt(l)):kt(l)}}function D(T,I,W,l){for(var ne=0,U=I.length,G=W.length,z,ce;ne<U;){if(l>=G)return-1;if(z=I.charCodeAt(ne++),z===37){if(z=I.charAt(ne++),ce=j[z in Rt?I.charAt(ne++):z],!ce||(l=ce(T,W,l))<0)return-1}else if(z!=W.charCodeAt(l++))return-1}return l}function Y(T,I,W){var l=v.exec(I.slice(W));return l?(T.p=y.get(l[0].toLowerCase()),W+l[0].length):-1}function _(T,I,W){var l=p.exec(I.slice(W));return l?(T.w=N.get(l[0].toLowerCase()),W+l[0].length):-1}function F(T,I,W){var l=S.exec(I.slice(W));return l?(T.w=C.get(l[0].toLowerCase()),W+l[0].length):-1}function x(T,I,W){var l=Q.exec(I.slice(W));return l?(T.m=K.get(l[0].toLowerCase()),W+l[0].length):-1}function A(T,I,W){var l=M.exec(I.slice(W));return l?(T.m=B.get(l[0].toLowerCase()),W+l[0].length):-1}function u(T,I,W){return D(T,t,I,W)}function d(T,I,W){return D(T,n,I,W)}function b(T,I,W){return D(T,r,I,W)}function m(T){return s[T.getDay()]}function E(T){return i[T.getDay()]}function c(T){return k[T.getMonth()]}function h(T){return g[T.getMonth()]}function o(T){return a[+(T.getHours()>=12)]}function P(T){return 1+~~(T.getMonth()/3)}function O(T){return s[T.getUTCDay()]}function V(T){return i[T.getUTCDay()]}function ee(T){return k[T.getUTCMonth()]}function q(T){return g[T.getUTCMonth()]}function X(T){return a[+(T.getUTCHours()>=12)]}function oe(T){return 1+~~(T.getUTCMonth()/3)}return{format:function(T){var I=w(T+="",R);return I.toString=function(){return T},I},parse:function(T){var I=L(T+="",!1);return I.toString=function(){return T},I},utcFormat:function(T){var I=w(T+="",Z);return I.toString=function(){return T},I},utcParse:function(T){var I=L(T+="",!0);return I.toString=function(){return T},I}}}var Rt={"-":"",_:" ",0:"0"},te=/^\s*\d+/,Ur=/^%/,Er=/[\\^$*+?|[\]().{}]/g;function H(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",i=a.length;return r+(i<n?new Array(n-i+1).join(t)+a:a)}function Ir(e){return e.replace(Er,"\\$&")}function We(e){return new RegExp("^(?:"+e.map(Ir).join("|")+")","i")}function Oe(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function Ar(e,t,n){var r=te.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=te.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Wr(e,t,n){var r=te.exec(t.slice(n,n+2));
vendor: 5,082 bytes, line 1
1return r?(e.U=+r[0],n+r[0].length):-1}function Or(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Hr(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Bt(e,t,n){var r=te.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Zt(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Nr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Vr(e,t,n){var r=te.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Pr(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function qt(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=te.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Xt(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Rr(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Br(e,t,n){var r=te.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Zr(e,t,n){var r=te.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=te.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Xr(e,t,n){var r=Ur.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Gr(e,t,n){var r=te.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Qr(e,t,n){var r=te.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Gt(e,t){return H(e.getDate(),t,2)}function jr(e,t){return H(e.getHours(),t,2)}function $r(e,t){return H(e.getHours()%12||12,t,2)}function Jr(e,t){return H(1+xe.count(pe(e),e),t,3)}function wn(e,t){return H(e.getMilliseconds(),t,3)}function Kr(e,t){return wn(e,t)+"000"}function ea(e,t){return H(e.getMonth()+1,t,2)}function ta(e,t){return H(e.getMinutes(),t,2)}function na(e,t){return H(e.getSeconds(),t,2)}function ra(e){var t=e.getDay();return t===0?7:t}function aa(e,t){return H(Be.count(pe(e)-1,e),t,2)}function Dn(e){var t=e.getDay();return t>=4||t===0?we(e):we.ceil(e)}function ia(e,t){return e=Dn(e),H(we.count(pe(e),e)+(pe(e).getDay()===4),t,2)}function sa(e){return e.getDay()}function oa(e,t){return H(ze.count(pe(e)-1,e),t,2)}function ca(e,t){return H(e.getFullYear()%100,t,2)}function la(e,t){return e=Dn(e),H(e.getFullYear()%100,t,2)}function ua(e,t){return H(e.getFullYear()%1e4,t,4)}function fa(e,t){var n=e.getDay();return e=n>=4||n===0?we(e):we.ceil(e),H(e.getFullYear()%1e4,t,4)}function ha(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+H(t/60|0,"0",2)+H(t%60,"0",2)}function Qt(e,t){return H(e.getUTCDate(),t,2)}function da(e,t){return H(e.getUTCHours(),t,2)}function ma(e,t){return H(e.getUTCHours()%12||12,t,2)}function ga(e,t){return H(1+_t.count(De(e),e),t,3)}function Cn(e,t){return H(e.getUTCMilliseconds(),t,3)}function ya(e,t){return Cn(e,t)+"000"}function ka(e,t){return H(e.getUTCMonth()+1,t,2)}function va(e,t){return H(e.getUTCMinutes(),t,2)}function pa(e,t){return H(e.getUTCSeconds(),t,2)}function Ta(e){var t=e.getUTCDay();return t===0?7:t}function ba(e,t){return H(xn.count(De(e)-1,e),t,2)}function Mn(e){var t=e.getUTCDay();return t>=4||t===0?Ie(e):Ie.ceil(e)}function xa(e,t){return e=Mn(e),H(Ie.count(De(e),e)+(De(e).getUTCDay()===4),t,2)}function wa(e){return e.getUTCDay()}function Da(e,t){return H(rt.count(De(e)-1,e),t,2)}function Ca(e,t){return H(e.getUTCFullYear()%100,t,2)}function Ma(e,t){return e=Mn(e),H(e.getUTCFullYear()%100,t,2)}function Sa(e,t){return H(e.getUTCFullYear()%1e4,t,4)}function _a(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Ie(e):Ie.ceil(e),H(e.getUTCFullYear()%1e4,t,4)}function Fa(){return"+0000"}function jt(){return"%"}function $t(e){return+e}function Jt(e){return Math.floor(+e/1e3)}var _e,at;Ya({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"]});function Ya(e){return _e=Yr(e),at=_e.format,_e.parse,_e.utcFormat,_e.utcParse,_e}function Ua(e){return new Date(e)}function Ea(e){return e instanceof Date?+e:+new Date(+e)}function Sn(e,t,n,r,a,i,s,g,k,v){var y=$n(),S=y.invert,C=y.domain,p=v(".%L"),N=v(":%S"),M=v("%I:%M"),B=v("%I %p"),Q=v("%a %d"),K=v("%b %d"),R=v("%B"),Z=v("%Y");function j(w){return(k(w)<w?p:g(w)<w?N:s(w)<w?M:i(w)<w?B:r(w)<w?a(w)<w?Q:K:n(w)<w?R:Z)(w)}return y.invert=function(w){return new Date(S(w))},y.domain=function(w){return arguments.length?C(Array.from(w,Ea)):C().map(Ua)},y.ticks=function(w){var L=C();return e(L[0],L[L.length-1],w??10)},y.tickFormat=function(w,L){return L==null?j:v(L)},y.nice=function(w){var L=C();return(!w||typeof w.range!="function")&&(w=t(L[0],L[L.length-1],w??10)),w?C(vr(L,w)):y}
1,y.copy=function(){return Jn(y,Sn(e,t,n,r,a,i,s,g,k,v))},y}function Ia(){return er.apply(Sn(_r,Fr,pe,Re,Be,xe,Pe,Ve,Te,at).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var pt="day",Aa="week",La="year",Wa="YYYY-MM-DDTHH:mm:ssZ",Oa="isoweek";const Ha=function(e,t,n){var r=function(k,v){var y=(v?n.utc:n)().year(k).startOf(La),S=4-y.isoWeekday();return y.isoWeekday()>4&&(S+=7),y.add(S,pt)},a=function(k){return k.add(4-k.isoWeekday(),pt)},i=t.prototype;i.isoWeekYear=function(){var g=a(this);return g.year()},i.isoWeek=function(g){if(!this.$utils().u(g))return this.add((g-this.isoWeek())*7,pt);var k=a(this),v=r(this.isoWeekYear(),this.$u);return k.diff(v,Aa)+1},i.isoWeekday=function(g){return this.$utils().u(g)?this.day()||7:this.day(this.day()%7?g:g-7)};var s=i.startOf;i.startOf=function(g,k){var v=this.$utils(),y=v.u(k)?!0:k,S=v.p(g);return S===Oa?y?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(g,k)}};var Na=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(n,r,a){return r||a.slice(1)})},Va={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Pa=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(r,a,i){var s=i&&i.toUpperCase();return a||n[i]||Va[i]||Na(n[s])})},za=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,Kt=/\d/,He=/\d\d/,Ra=/\d{3}/,Ba=/\d{4}/,le=/\d\d?/,Za=/[+-]?\d+/,qa=/[+-]\d\d:?(\d\d)?|Z/,Ne=/\d*[^-_:/,()\s\d]+/,be={},_n=function(t){return t=+t,t+(t>68?1900:2e3)};function Xa(e){if(!e||e==="Z")return 0;var t=e.match(/([+-]|\d\d)/g),n=+(t[1]*60)+(+t[2]||0);return n===0?0:t[0]==="+"?-n:n}var re=function(t){return function(n){this[t]=+n}},en=[qa,function(e){var t=this.zone||(this.zone={});t.offset=Xa(e)}],Tt=function(t){var n=be[t];return n&&(n.indexOf?n:n.s.concat(n.f))},tn=function(t,n){var r,a=be,i=a.meridiem;if(!i)r=t===(n?"pm":"PM");else for(var s=1;s<=24;s+=1)if(t.indexOf(i(s,0,n))>-1){r=s>12;break}return r},Ga={A:[Ne,function(e){this.afternoon=tn(e,!1)}],a:[Ne,function(e){this.afternoon=tn(e,!0)}],Q:[Kt,function(e){this.month=(e-1)*3+1}],S:[Kt,function(e){this.milliseconds=+e*100}],SS:[He,function(e){this.milliseconds=+e*10}],SSS:[Ra,function(e){this.milliseconds=+e}],s:[le,re("seconds")],ss:[le,re("seconds")],m:[le,re("minutes")],mm:[le,re("minutes")],H:[le,re("hours")],h:[le,re("hours")],HH:[le,re("hours")],hh:[le,re("hours")],D:[le,re("day")],DD:[He,re("day")],Do:[Ne,function(e){var t=be,n=t.ordinal,r=e.match(/\d+/);if(this.day=r[0],!!n)for(var a=1;a<=31;a+=1)n(a).replace(/\[|\]/g,"")===e&&(this.day=a)}],w:[le,re("week")],ww:[He,re("week")],M:[le,re("month")],MM:[He,re("month")],MMM:[Ne,function(e){var t=Tt("months"),n=Tt("monthsShort"),r=(n||t.map(function(a){return a.slice(0,3)})).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[Ne,function(e){var t=Tt("months"),n=t.indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],Y:[Za,re("year")],YY:[He,function(e){this.year=_n(e)}],YYYY:[Ba,re("year")],Z:en,ZZ:en};function Qa(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}function ja(e){e=Pa(e,be&&be.formats);for(var t=e.match(za),n=t.length,r=0;r<n;r+=1){var a=t[r],i=Ga[a],s=i&&i[0],g=i&&i[1];g?t[r]={regex:s,parser:g}:t[r]=a.replace(/^\[|\]$/g,"")}return function(k){for(var v={},y=0,S=0;y<n;y+=1){var C=t[y];if(typeof C=="string")S+=C.length;else{var p=C.regex,N=C.parser,M=k.slice(S),B=p.exec(M),Q=B[0];N.call(v,Q),k=k.replace(Q,"")}}return Qa(v),v}}var $a=function(t,n,r,a){try{if(["x","X"].indexOf(n)>-1)return new Date((n==="X"?1e3:1)*t);var i=ja(n),s=i(t),g=s.year,k=s.month,v=s.day,y=s.hours,S=s.minutes,C=s.seconds,p=s.milliseconds,N=s.zone,M=s.week,B=new Date,Q=v||(!g&&!k?B.getDate():1),K=g||B.getFullYear(),R=0;g&&!k||(R=k>0?k-1:B.getMonth());var Z=y||0,j=S||0,w=C||0,L=p||0;if(N)return new Date(Date.UTC(K,R,Q,Z,j,w,L+N.offset*60*1e3));if(r)return new Date(Date.UTC(K,R,Q,Z,j,w,L));var D;return D=new Date(K,R,Q,Z,j,w,L),M&&(D=a(D).week(M).toDate()),D}catch{return new Date("")}};const Ja=function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(_n=e.parseTwoDigitYear);var r=t.prototype,a=r.parse;r.parse=function(i){var s=i.date,g=i.utc,k=i.args;this.$u=g;var v=k[1];if(typeof v=="string"){var y=k[2]===!0,S=k[3]===!0,C=y||S,p=k[2];S&&(p=k[2]),be=this.$locale(),!y&&p&&(be=n.Ls[p]),this.$d=$a(s,v,g,n),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),C&&s!=this.format(v)&&(this.$d=new Date("")),be={}}else if(v instanceof Array)for(var N=v.length,M=1;M<=N;M+=1){k[1]=v[M-1];var B=n.apply(this,k);if(B.isValid()){this.$d=B.$d,this.$L=B.$L,this.init();break}M===N&&(this.$d=new Date(""))}else a.call(this,i)}},Ka=function(e,t){var n=t.prototype,r=n.format;n.format=function(a){var i=this,s=this.$locale();if(!this.isValid())return r.bind(this)(a);var g=this.$utils(),k=a||Wa,v=k.replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(y){switch(y){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return s.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return s.ordinal(i.week(),"W");case"w":case"ww":return g.s(i.week(),y==="w"?1:2,"0");case"W":case"WW":return g.s(i.isoWeek(),y==="W"?1:2,"0");case"k":case"kk":return g.s(String(i.$H===0?24:i.$H),y==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return y}});return r.bind(this)(v)}};var wt=function(){var e=f(function(A,u,d,b){for(d=d||{},b=A.length;b--;d[A[b]]=u);return d},"o"),t=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],a=[1,28],i=[1,29],s=[1,30],g=[1,31],k=[1,32],v=[1,33],y=[1,34],S=[1,9],C=[1,10],p=[1,11],N=[1,12],M=[1,13],B=[1,14],Q=[1,15],K=[1,16],R=[1,19],Z=[1,20],j=[1,21],w=[1,22],L=[1,23],D=[1,25],Y=[1,35],_={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,
vendor: 4,779 bytes, line 1
1NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:f(function(u,d,b,m,E,c,h){var o=c.length-1;switch(E){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:i,16:s,17:g,18:k,19:18,20:v,21:y,22:S,23:C,24:p,25:N,26:M,27:B,28:Q,29:K,30:R,31:Z,33:j,35:w,36:L,37:24,38:D,40:Y},e(t,[2,7],{1:[2,1]}),e(t,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:g,18:k,19:18,20:v,21:y,22:S,23:C,24:p,25:N,26:M,27:B,28:Q,29:K,30:R,31:Z,33:j,35:w,36:L,37:24,38:D,40:Y},e(t,[2,5]),e(t,[2,6]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,20]),e(t,[2,21]),e(t,[2,22]),e(t,[2,23]),e(t,[2,24]),e(t,[2,25]),e(t,[2,26]),e(t,[2,27]),{32:[1,37]},{34:[1,38]},e(t,[2,30]),e(t,[2,31]),e(t,[2,32]),{39:[1,39]},e(t,[2,8]),e(t,[2,9]),e(t,[2,10]),e(t,[2,11]),e(t,[2,12]),e(t,[2,13]),e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),{41:[1,40],43:[1,41]},e(t,[2,4]),e(t,[2,28]),e(t,[2,29]),e(t,[2,33]),e(t,[2,34],{42:[1,42],43:[1,43]}),e(t,[2,40],{41:[1,44]}),e(t,[2,35],{43:[1,45]}),e(t,[2,36]),e(t,[2,38],{42:[1,46]}),e(t,[2,37]),e(t,[2,39])],defaultActions:{},parseError:f(function(u,d){if(d.recoverable)this.trace(u);else{var b=new Error(u);throw b.hash=d,b}},"parseError"),parse:f(function(u){var d=this,b=[0],m=[],E=[null],c=[],h=this.table,o="",P=0,O=0,V=2,ee=1,q=c.slice.call(arguments,1
vendor: 5,839 bytes, lines 1-5
1),X=Object.create(this.lexer),oe={yy:{}};for(var T in this.yy)Object.prototype.hasOwnProperty.call(this.yy,T)&&(oe.yy[T]=this.yy[T]);X.setInput(u,oe.yy),oe.yy.lexer=X,oe.yy.parser=this,typeof X.yylloc>"u"&&(X.yylloc={});var I=X.yylloc;c.push(I);var W=X.options&&X.options.ranges;typeof oe.yy.parseError=="function"?this.parseError=oe.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function l(ie){b.length=b.length-2*ie,E.length=E.length-ie,c.length=c.length-ie}f(l,"popStack");function ne(){var ie;return ie=m.pop()||X.lex()||ee,typeof ie!="number"&&(ie instanceof Array&&(m=ie,ie=m.pop()),ie=d.symbols_[ie]||ie),ie}f(ne,"lex");for(var U,G,z,ce,he={},Ge,de,Nt,Qe;;){if(G=b[b.length-1],this.defaultActions[G]?z=this.defaultActions[G]:((U===null||typeof U>"u")&&(U=ne()),z=h[G]&&h[G][U]),typeof z>"u"||!z.length||!z[0]){var ot="";Qe=[];for(Ge in h[G])this.terminals_[Ge]&&Ge>V&&Qe.push("'"+this.terminals_[Ge]+"'");X.showPosition?ot="Parse error on line "+(P+1)+`:
2`+X.showPosition()+`
3Expecting `+Qe.join(", ")+", got '"+(this.terminals_[U]||U)+"'":ot="Parse error on line "+(P+1)+": Unexpected "+(U==ee?"end of input":"'"+(this.terminals_[U]||U)+"'"),this.parseError(ot,{text:X.match,token:this.terminals_[U]||U,line:X.yylineno,loc:I,expected:Qe})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+U);switch(z[0]){case 1:b.push(U),E.push(X.yytext),c.push(X.yylloc),b.push(z[1]),U=null,O=X.yyleng,o=X.yytext,P=X.yylineno,I=X.yylloc;break;case 2:if(de=this.productions_[z[1]][1],he.$=E[E.length-de],he._$={first_line:c[c.length-(de||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(de||1)].first_column,last_column:c[c.length-1].last_column},W&&(he._$.range=[c[c.length-(de||1)].range[0],c[c.length-1].range[1]]),ce=this.performAction.apply(he,[o,O,P,oe.yy,z[1],E,c].concat(q)),typeof ce<"u")return ce;de&&(b=b.slice(0,-1*de*2),E=E.slice(0,-1*de),c=c.slice(0,-1*de)),b.push(this.productions_[z[1]][0]),E.push(he.$),c.push(he._$),Nt=h[b[b.length-2]][b[b.length-1]],b.push(Nt);break;case 3:return!0}}return!0},"parse")},F=function(){var A={EOF:1,parseError:f(function(d,b){if(this.yy.parser)this.yy.parser.parseError(d,b);else throw new Error(d)},"parseError"),setInput:f(function(u,d){return this.yy=d||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:f(function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var d=u.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},"input"),unput:f(function(u){var d=u.length,b=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var m=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 E=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===m.length?this.yylloc.first_column:0)+m[m.length-b.length].length-b[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(u){this.unput(this.match.slice(u))},"less"),pastInput:f(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:f(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:f(function(){var u=this.pastInput(),d=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
5`+d+"^"},"showPosition"),test_match:f(function(u,d){var b,m,E;if(this.options.backtrack_lexer&&(E={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&&(E.yylloc.range=this.yylloc.range.slice(0))),m=u[0].match(/(?:\r\n?|\n).*/g),m&&(this.yylineno+=m.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.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,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b)return b;
vendor: 4,622 bytes, lines 5-6
5if(this._backtrack){for(var c in E)this[c]=E[c];return!1}return!1},"test_match"),next:f(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,d,b,m;this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),c=0;c<E.length;c++)if(b=this._input.match(this.rules[E[c]]),b&&(!d||b[0].length>d[0].length)){if(d=b,m=c,this.options.backtrack_lexer){if(u=this.test_match(b,E[c]),u!==!1)return u;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(u=this.test_match(d,E[m]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:f(function(){var d=this.next();return d||this.lex()},"lex"),begin:f(function(d){this.conditionStack.push(d)},"begin"),popState:f(function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:f(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:f(function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},"topState"),pushState:f(function(d){this.begin(d)},"pushState"),stateStackSize:f(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:f(function(d,b,m,E){switch(m){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 A}();_.lexer=F;function x(){this.yy={}}return f(x,"Parser"),x.prototype=_,_.Parser=x,new x}();wt.parser=wt;var ei=wt;ae.extend(Ha);ae.extend(Ja);ae.extend(Ka);var nn={friday:5,saturday:6}
vendor: 4,559 bytes, line 6
6,ue="",Ft="",Yt=void 0,Ut="",Ze=[],qe=[],Et=new Map,It=[],it=[],Ae="",At="",Fn=["active","done","crit","milestone"],Lt=[],Xe=!1,Wt=!1,Ot="sunday",st="saturday",Dt=0,ti=f(function(){It=[],it=[],Ae="",Lt=[],Ke=0,Mt=void 0,et=void 0,$=[],ue="",Ft="",At="",Yt=void 0,Ut="",Ze=[],qe=[],Xe=!1,Wt=!1,Dt=0,Et=new Map,Gn(),Ot="sunday",st="saturday"},"clear"),ni=f(function(e){Ft=e},"setAxisFormat"),ri=f(function(){return Ft},"getAxisFormat"),ai=f(function(e){Yt=e},"setTickInterval"),ii=f(function(){return Yt},"getTickInterval"),si=f(function(e){Ut=e},"setTodayMarker"),oi=f(function(){return Ut},"getTodayMarker"),ci=f(function(e){ue=e},"setDateFormat"),li=f(function(){Xe=!0},"enableInclusiveEndDates"),ui=f(function(){return Xe},"endDatesAreInclusive"),fi=f(function(){Wt=!0},"enableTopAxis"),hi=f(function(){return Wt},"topAxisEnabled"),di=f(function(e){At=e},"setDisplayMode"),mi=f(function(){return At},"getDisplayMode"),gi=f(function(){return ue},"getDateFormat"),yi=f(function(e){Ze=e.toLowerCase().split(/[\s,]+/)},"setIncludes"),ki=f(function(){return Ze},"getIncludes"),vi=f(function(e){qe=e.toLowerCase().split(/[\s,]+/)},"setExcludes"),pi=f(function(){return qe},"getExcludes"),Ti=f(function(){return Et},"getLinks"),bi=f(function(e){Ae=e,It.push(e)},"addSection"),xi=f(function(){return It},"getSections"),wi=f(function(){let e=rn();const t=10;let n=0;for(;!e&&n<t;)e=rn(),n++;return it=$,it},"getTasks"),Yn=f(function(e,t,n,r){return r.includes(e.format(t.trim()))?!1:n.includes("weekends")&&(e.isoWeekday()===nn[st]||e.isoWeekday()===nn[st]+1)||n.includes(e.format("dddd").toLowerCase())?!0:n.includes(e.format(t.trim()))},"isInvalidDate"),Di=f(function(e){Ot=e},"setWeekday"),Ci=f(function(){return Ot},"getWeekday"),Mi=f(function(e){st=e},"setWeekend"),Un=f(function(e,t,n,r){if(!n.length||e.manualEndTime)return;let a;e.startTime instanceof Date?a=ae(e.startTime):a=ae(e.startTime,t,!0),a=a.add(1,"d");let i;e.endTime instanceof Date?i=ae(e.endTime):i=ae(e.endTime,t,!0);const[s,g]=Si(a,i,t,n,r);e.endTime=s.toDate(),e.renderEndTime=g},"checkTaskDates"),Si=f(function(e,t,n,r,a){let i=!1,s=null;for(;e<=t;)i||(s=t.toDate()),i=Yn(e,n,r,a),i&&(t=t.add(1,"d")),e=e.add(1,"d");return[t,s]},"fixTaskDates"),Ct=f(function(e,t,n){n=n.trim();const a=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(a!==null){let s=null;for(const k of a.groups.ids.split(" ")){let v=Se(k);v!==void 0&&(!s||v.endTime>s.endTime)&&(s=v)}if(s)return s.endTime;const g=new Date;return g.setHours(0,0,0,0),g}let i=ae(n,t.trim(),!0);if(i.isValid())return i.toDate();{tt.debug("Invalid date:"+n),tt.debug("With date format:"+t.trim());const s=new Date(n);if(s===void 0||isNaN(s.getTime())||s.getFullYear()<-1e4||s.getFullYear()>1e4)throw new Error("Invalid date:"+n);return s}},"getStartDate"),En=f(function(e){const t=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());return t!==null?[Number.parseFloat(t[1]),t[2]]:[NaN,"ms"]},"parseDuration"),In=f(function(e,t,n,r=!1){n=n.trim();const i=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(i!==null){let y=null;for(const C of i.groups.ids.split(" ")){let p=Se(C);p!==void 0&&(!y||p.startTime<y.startTime)&&(y=p)}if(y)return y.startTime;const S=new Date;return S.setHours(0,0,0,0),S}let s=ae(n,t.trim(),!0);if(s.isValid())return r&&(s=s.add(1,"d")),s.toDate();let g=ae(e);const[k,v]=En(n);if(!Number.isNaN(k)){const y=g.add(k,v);y.isValid()&&(g=y)}return g.toDate()},"getEndDate"),Ke=0,Ue=f(function(e){return e===void 0?(Ke=Ke+1,"task"+Ke):e},"parseId"),_i=f(function(e,t){let n;t.substr(0,1)===":"?n=t.substr(1,t.length):n=t;const r=n.split(","),a={};Ht(r,a,Fn);for(let s=0;s<r.length;s++)r[s]=r[s].trim();let i="";switch(r.length){case 1:a.id=Ue(),a.startTime=e.endTime,i=r[0];break;case 2:a.id=Ue(),a.startTime=Ct(void 0,ue,r[0]),i=r[1];break;case 3:a.id=Ue(r[0]),a.startTime=Ct(void 0,ue,r[1]),i=r[2];break}return i&&(a.endTime=In(a.startTime,ue,i,Xe),a.manualEndTime=ae(i,"YYYY-MM-DD",!0).isValid(),Un(a,ue,qe,Ze)),a},"compileData"),Fi=f(function(e,t){let n;t.substr(0,1)===":"?n=t.substr(1,t.length):n=t;const r=n.split(","),a={};Ht(r,a,Fn);for(let i=0;i<r.length;i++)r[i]=r[i].trim();switch(r.length){case 1:a.id=Ue(),a.startTime={type:"prevTaskEnd",id:e},a.endTime={data:r[0]};break;case 2:a.id=Ue(),a.startTime={type:"getStartDate",startData:r[0]},a.endTime={data:r[1]};break;case 3:a.id=Ue(r[0]),a.startTime={type:"getStartDate",startData:r[1]},a.endTime={data:r[2]};break}return a},"parseData"),Mt,et,$=[],An={},Yi=f(function(e,t){const n={section:Ae,type:Ae,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:t},task:e,classes:[]}
vendor: 6,768 bytes, line 6
6,r=Fi(et,t);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=et,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.order=Dt,Dt++;const a=$.push(n);et=n.id,An[n.id]=a-1},"addTask"),Se=f(function(e){const t=An[e];return $[t]},"findTaskById"),Ui=f(function(e,t){const n={section:Ae,type:Ae,description:e,task:e,classes:[]},r=_i(Mt,t);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,Mt=n,it.push(n)},"addTaskOrg"),rn=f(function(){const e=f(function(n){const r=$[n];let a="";switch($[n].raw.startTime.type){case"prevTaskEnd":{const i=Se(r.prevTaskId);r.startTime=i.endTime;break}case"getStartDate":a=Ct(void 0,ue,$[n].raw.startTime.startData),a&&($[n].startTime=a);break}return $[n].startTime&&($[n].endTime=In($[n].startTime,ue,$[n].raw.endTime.data,Xe),$[n].endTime&&($[n].processed=!0,$[n].manualEndTime=ae($[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Un($[n],ue,qe,Ze))),$[n].processed},"compileTask");let t=!0;for(const[n,r]of $.entries())e(n),t=t&&r.processed;return t},"compileTasks"),Ei=f(function(e,t){let n=t;Fe().securityLevel!=="loose"&&(n=Xn(t)),e.split(",").forEach(function(r){Se(r)!==void 0&&(Wn(r,()=>{window.open(n,"_self")}),Et.set(r,n))}),Ln(e,"clickable")},"setLink"),Ln=f(function(e,t){e.split(",").forEach(function(n){let r=Se(n);r!==void 0&&r.classes.push(t)})},"setClass"),Ii=f(function(e,t,n){if(Fe().securityLevel!=="loose"||t===void 0)return;let r=[];if(typeof n=="string"){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let i=0;i<r.length;i++){let s=r[i].trim();s.startsWith('"')&&s.endsWith('"')&&(s=s.substr(1,s.length-2)),r[i]=s}}r.length===0&&r.push(e),Se(e)!==void 0&&Wn(e,()=>{Qn.runFunc(t,...r)})},"setClickFun"),Wn=f(function(e,t){Lt.push(function(){const n=document.querySelector(`[id="${e}"]`);n!==null&&n.addEventListener("click",function(){t()})},function(){const n=document.querySelector(`[id="${e}-text"]`);n!==null&&n.addEventListener("click",function(){t()})})},"pushFun"),Ai=f(function(e,t,n){e.split(",").forEach(function(r){Ii(r,t,n)}),Ln(e,"clickable")},"setClickEvent"),Li=f(function(e){Lt.forEach(function(t){t(e)})},"bindFunctions"),Wi={getConfig:f(()=>Fe().gantt,"getConfig"),clear:ti,setDateFormat:ci,getDateFormat:gi,enableInclusiveEndDates:li,endDatesAreInclusive:ui,enableTopAxis:fi,topAxisEnabled:hi,setAxisFormat:ni,getAxisFormat:ri,setTickInterval:ai,getTickInterval:ii,setTodayMarker:si,getTodayMarker:oi,setAccTitle:Bn,getAccTitle:Rn,setDiagramTitle:zn,getDiagramTitle:Pn,setDisplayMode:di,getDisplayMode:mi,setAccDescription:Vn,getAccDescription:Nn,addSection:bi,getSections:xi,getTasks:wi,addTask:Yi,findTaskById:Se,addTaskOrg:Ui,setIncludes:yi,getIncludes:ki,setExcludes:vi,getExcludes:pi,setClickEvent:Ai,setLink:Ei,getLinks:Ti,bindFunctions:Li,parseDuration:En,isInvalidDate:Yn,setWeekday:Di,getWeekday:Ci,setWeekend:Mi};function Ht(e,t,n){let r=!0;for(;r;)r=!1,n.forEach(function(a){const i="^\\s*"+a+"\\s*$",s=new RegExp(i);e[0].match(s)&&(t[a]=!0,e.shift(1),r=!0)})}f(Ht,"getTaskTags");var Oi=f(function(){tt.debug("Something is calling, setConf, remove the call")},"setConf"),an={monday:ze,tuesday:vn,wednesday:pn,thursday:we,friday:Tn,saturday:bn,sunday:Be},Hi=f((e,t)=>{let n=[...e].map(()=>-1/0),r=[...e].sort((i,s)=>i.startTime-s.startTime||i.order-s.order),a=0;for(const i of r)for(let s=0;s<n.length;s++)if(i.startTime>=n[s]){n[s]=i.endTime,i.order=s+t,s>a&&(a=s);break}return a},"getMaxIntersections"),me,Ni=f(function(e,t,n,r){const a=Fe().gantt,i=Fe().securityLevel;let s;i==="sandbox"&&(s=je("#i"+t));const g=i==="sandbox"?je(s.nodes()[0].contentDocument.body):je("body"),k=i==="sandbox"?s.nodes()[0].contentDocument:document,v=k.getElementById(t);me=v.parentElement.offsetWidth,me===void 0&&(me=1200),a.useWidth!==void 0&&(me=a.useWidth);const y=r.db.getTasks();let S=[];for(const D of y)S.push(D.type);S=L(S);const C={};let p=2*a.topPadding;if(r.db.getDisplayMode()==="compact"||a.displayMode==="compact"){const D={};for(const _ of y)D[_.section]===void 0?D[_.section]=[_]:D[_.section].push(_);let Y=0;for(const _ of Object.keys(D)){const F=Hi(D[_],Y)+1;Y+=F,p+=F*(a.barHeight+a.barGap),C[_]=F}}else{p+=y.length*(a.barHeight+a.barGap);for(const D of S)C[D]=y.filter(Y=>Y.type===D).length}v.setAttribute("viewBox","0 0 "+me+" "+p);const N=g.select(`[id="${t}"]`),M=Ia().domain([nr(y,function(D){return D.startTime}),tr(y,function(D){return D.endTime})]).rangeRound([0,me-a.leftPadding-a.rightPadding]);function B(D,Y){const _=D.startTime,F=Y.startTime;let x=0;return _>F?x=1:_<F&&(x=-1),x}f(B,"taskCompare"),y.sort(B),Q(y,me,p),Zn(N,p,me,a.useMaxWidth),N.append("text").text(r.db.getDiagramTitle()).attr("x",me/2).attr("y",a.titleTopMargin).attr("class","titleText");function Q(D,Y,_){const F=a.barHeight,x=F+a.barGap,A=a.topPadding,u=a.leftPadding,d=Kn().domain([0,S.length]).range(["#00B9FA","#F95002"]).interpolate(kr);R(x,A,u,Y,_,D,r.db.getExcludes(),r.db.getIncludes()),Z(u,A,Y,_),K(D,x,A,u,F,d,Y),j(x,A),w(u,A,Y,_)}f(Q,"makeGantt");function K(D,Y,_,F,x,A,u){const b=[...new Set(D.map(h=>h.order))].map(h=>D.find(o=>o.order===h));N.append("g").selectAll("rect").data(b).enter().append("rect").attr("x",0).attr("y",function(h,o){return o=h.order,o*Y+_-2}).attr("width",function(){return u-a.rightPadding/2}).attr("height",Y).attr("class",function(h){for(const[o,P]of S.entries())if(h.type===P)return"section section"+o%a.numberSectionStyles;return"section section0"});const m=N.append("g").selectAll("rect").data(D).enter(),E=r.db.getLinks();if(m.append("rect").attr("id",function(h){return h.id}).attr("rx",3).attr("ry",3).attr("x",function(h){return h.milestone?M(h.startTime)+F+.5*(M(h.endTime)-M(h.startTime))-.5*x:M(h.startTime)+F}).attr("y",function(h,o){return o=h.order,o*Y+_}).attr("width",function(h){return h.milestone?x:M(h.renderEndTime||h.endTime)-M(h.startTime)}).attr("height",x).attr("transform-origin",function(h,o){return o=h.order,(M(h.startTime)+F+.5*(M(h.endTime)-M(h.startTime))).toString()+"px "+(o*Y+_+.5*x).toString()+"px"}).attr("class",function(h){const o="task";let P="";h.classes.length>0&&(P=h.classes.join(" "));let O=0;for(const[ee,q]of S.entries())h.type===q&&(O=ee%a.numberSectionStyles);let V="";return h.active?h.crit?V+=" activeCrit":V=" active":h.done?h.crit?V=" doneCrit":V=" done":h.crit&&(V+=" crit"),V.length===0&&(V=" task"),h.milestone&&(V=" milestone "+V),V+=O,V+=" "+P,o+V}),m.append("text").attr("id",function(h){return h.id+"-text"}).text(function(h){return h.task}).attr("font-size",a.fontSize).attr("x",function(h){let o=M(h.startTime),P=M(h.renderEndTime||h.endTime);h.milestone&&(o+=.5*(M(h.endTime)-M(h.startTime))-.5*x),h.milestone&&(P=o+x);const O=this.getBBox().width;return O>P-o?P+O+1.5*a.leftPadding>
6u?o+F-5:P+F+5:(P-o)/2+o+F}).attr("y",function(h,o){return o=h.order,o*Y+a.barHeight/2+(a.fontSize/2-2)+_}).attr("text-height",x).attr("class",function(h){const o=M(h.startTime);let P=M(h.endTime);h.milestone&&(P=o+x);const O=this.getBBox().width;let V="";h.classes.length>0&&(V=h.classes.join(" "));let ee=0;for(const[X,oe]of S.entries())h.type===oe&&(ee=X%a.numberSectionStyles);let q="";return h.active&&(h.crit?q="activeCritText"+ee:q="activeText"+ee),h.done?h.crit?q=q+" doneCritText"+ee:q=q+" doneText"+ee:h.crit&&(q=q+" critText"+ee),h.milestone&&(q+=" milestoneText"),O>P-o?P+O+1.5*a.leftPadding>u?V+" taskTextOutsideLeft taskTextOutside"+ee+" "+q:V+" taskTextOutsideRight taskTextOutside"+ee+" "+q+" width-"+O:V+" taskText taskText"+ee+" "+q+" width-"+O}),Fe().securityLevel==="sandbox"){let h;h=je("#i"+t);const o=h.nodes()[0].contentDocument;m.filter(function(P){return E.has(P.id)}).each(function(P){var O=o.querySelector("#"+P.id),V=o.querySelector("#"+P.id+"-text");const ee=O.parentNode;var q=o.createElement("a");q.setAttribute("xlink:href",E.get(P.id)),q.setAttribute("target","_top"),ee.appendChild(q),q.appendChild(O),q.appendChild(V)})}}f(K,"drawRects");function R(D,Y,_,F,x,A,u,d){if(u.length===0&&d.length===0)return;let b,m;for(const{startTime:O,endTime:V}of A)(b===void 0||O<b)&&(b=O),(m===void 0||V>m)&&(m=V);if(!b||!m)return;if(ae(m).diff(ae(b),"year")>5){tt.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const E=r.db.getDateFormat(),c=[];let h=null,o=ae(b);for(;o.valueOf()<=m;)r.db.isInvalidDate(o,E,u,d)?h?h.end=o:h={start:o,end:o}:h&&(c.push(h),h=null),o=o.add(1,"d");N.append("g").selectAll("rect").data(c).enter().append("rect").attr("id",function(O){return"exclude-"+O.start.format("YYYY-MM-DD")}).attr("x",function(O){return M(O.start)+_}).attr("y",a.gridLineStartPadding).attr("width",function(O){const V=O.end.add(1,"day");return M(V)-M(O.start)}).attr("height",x-Y-a.gridLineStartPadding).attr("transform-origin",function(O,V){return(M(O.start)+_+.5*(M(O.end)-M(O.start))).toString()+"px "+(V*D+.5*x).toString()+"px"}).attr("class","exclude-range")}f(R,"drawExcludeDays");function Z(D,Y,_,F){let x=ur(M).tickSize(-F+Y+a.gridLineStartPadding).tickFormat(at(r.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));const u=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||a.tickInterval);if(u!==null){const d=u[1],b=u[2],m=r.db.getWeekday()||a.weekday;switch(b){case"millisecond":x.ticks(Ee.every(d));break;case"second":x.ticks(Te.every(d));break;case"minute":x.ticks(Ve.every(d));break;case"hour":x.ticks(Pe.every(d));break;case"day":x.ticks(xe.every(d));break;case"week":x.ticks(an[m].every(d));break;case"month":x.ticks(Re.every(d));break}}if(N.append("g").attr("class","grid").attr("transform","translate("+D+", "+(F-50)+")").call(x).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||a.topAxis){let d=lr(M).tickSize(-F+Y+a.gridLineStartPadding).tickFormat(at(r.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(u!==null){const b=u[1],m=u[2],E=r.db.getWeekday()||a.weekday;switch(m){case"millisecond":d.ticks(Ee.every(b));break;case"second":d.ticks(Te.every(b));break;case"minute":d.ticks(Ve.every(b));break;case"hour":d.ticks(Pe.every(b));break;case"day":d.ticks(xe.every(b));break;case"week":d.ticks(an[E].every(b));break;case"month":d.ticks(Re.every(b));break}}N.append("g").attr("class","grid").attr("transform","translate("+D+", "+Y+")").call(
vendor: 5,425 bytes, lines 6-257
6d).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}f(Z,"makeGrid");function j(D,Y){let _=0;const F=Object.keys(C).map(x=>[x,C[x]]);N.append("g").selectAll("text").data(F).enter().append(function(x){const A=x[0].split(qn.lineBreakRegex),u=-(A.length-1)/2,d=k.createElementNS("http://www.w3.org/2000/svg","text");d.setAttribute("dy",u+"em");for(const[b,m]of A.entries()){const E=k.createElementNS("http://www.w3.org/2000/svg","tspan");E.setAttribute("alignment-baseline","central"),E.setAttribute("x","10"),b>0&&E.setAttribute("dy","1em"),E.textContent=m,d.appendChild(E)}return d}).attr("x",10).attr("y",function(x,A){if(A>0)for(let u=0;u<A;u++)return _+=F[A-1][1],x[1]*D/2+_*D+Y;else return x[1]*D/2+Y}).attr("font-size",a.sectionFontSize).attr("class",function(x){for(const[A,u]of S.entries())if(x[0]===u)return"sectionTitle sectionTitle"+A%a.numberSectionStyles;return"sectionTitle"})}f(j,"vertLabels");function w(D,Y,_,F){const x=r.db.getTodayMarker();if(x==="off")return;const A=N.append("g").attr("class","today"),u=new Date,d=A.append("line");d.attr("x1",M(u)+D).attr("x2",M(u)+D).attr("y1",a.titleTopMargin).attr("y2",F-a.titleTopMargin).attr("class","today"),x!==""&&d.attr("style",x.replace(/,/g,";"))}f(w,"drawToday");function L(D){const Y={},_=[];for(let F=0,x=D.length;F<x;++F)Object.prototype.hasOwnProperty.call(Y,D[F])||(Y[D[F]]=!0,_.push(D[F]));return _}f(L,"checkUnique")},"draw"),Vi={setConf:Oi,draw:Ni},Pi=f(e=>`
7  .mermaid-main-font {
8        font-family: ${e.fontFamily};
9  }
10
11  .exclude-range {
12    fill: ${e.excludeBkgColor};
13  }
14
15  .section {
16    stroke: none;
17    opacity: 0.2;
18  }
19
20  .section0 {
21    fill: ${e.sectionBkgColor};
22  }
23
24  .section2 {
25    fill: ${e.sectionBkgColor2};
26  }
27
28  .section1,
29  .section3 {
30    fill: ${e.altSectionBkgColor};
31    opacity: 0.2;
32  }
33
34  .sectionTitle0 {
35    fill: ${e.titleColor};
36  }
37
38  .sectionTitle1 {
39    fill: ${e.titleColor};
40  }
41
42  .sectionTitle2 {
43    fill: ${e.titleColor};
44  }
45
46  .sectionTitle3 {
47    fill: ${e.titleColor};
48  }
49
50  .sectionTitle {
51    text-anchor: start;
52    font-family: ${e.fontFamily};
53  }
54
55
56  /* Grid and axis */
57
58  .grid .tick {
59    stroke: ${e.gridColor};
60    opacity: 0.8;
61    shape-rendering: crispEdges;
62  }
63
64  .grid .tick text {
65    font-family: ${e.fontFamily};
66    fill: ${e.textColor};
67  }
68
69  .grid path {
70    stroke-width: 0;
71  }
72
73
74  /* Today line */
75
76  .today {
77    fill: none;
78    stroke: ${e.todayLineColor};
79    stroke-width: 2px;
80  }
81
82
83  /* Task styling */
84
85  /* Default task */
86
87  .task {
88    stroke-width: 2;
89  }
90
91  .taskText {
92    text-anchor: middle;
93    font-family: ${e.fontFamily};
94  }
95
96  .taskTextOutsideRight {
97    fill: ${e.taskTextDarkColor};
98    text-anchor: start;
99    font-family: ${e.fontFamily};
100  }
101
102  .taskTextOutsideLeft {
103    fill: ${e.taskTextDarkColor};
104    text-anchor: end;
105  }
106
107
108  /* Special case clickable */
109
110  .task.clickable {
111    cursor: pointer;
112  }
113
114  .taskText.clickable {
115    cursor: pointer;
116    fill: ${e.taskTextClickableColor} !important;
117    font-weight: bold;
118  }
119
120  .taskTextOutsideLeft.clickable {
121    cursor: pointer;
122    fill: ${e.taskTextClickableColor} !important;
123    font-weight: bold;
124  }
125
126  .taskTextOutsideRight.clickable {
127    cursor: pointer;
128    fill: ${e.taskTextClickableColor} !important;
129    font-weight: bold;
130  }
131
132
133  /* Specific task settings for the sections*/
134
135  .taskText0,
136  .taskText1,
137  .taskText2,
138  .taskText3 {
139    fill: ${e.taskTextColor};
140  }
141
142  .task0,
143  .task1,
144  .task2,
145  .task3 {
146    fill: ${e.taskBkgColor};
147    stroke: ${e.taskBorderColor};
148  }
149
150  .taskTextOutside0,
151  .taskTextOutside2
152  {
153    fill: ${e.taskTextOutsideColor};
154  }
155
156  .taskTextOutside1,
157  .taskTextOutside3 {
158    fill: ${e.taskTextOutsideColor};
159  }
160
161
162  /* Active task */
163
164  .active0,
165  .active1,
166  .active2,
167  .active3 {
168    fill: ${e.activeTaskBkgColor};
169    stroke: ${e.activeTaskBorderColor};
170  }
171
172  .activeText0,
173  .activeText1,
174  .activeText2,
175  .activeText3 {
176    fill: ${e.taskTextDarkColor} !important;
177  }
178
179
180  /* Completed task */
181
182  .done0,
183  .done1,
184  .done2,
185  .done3 {
186    stroke: ${e.doneTaskBorderColor};
187    fill: ${e.doneTaskBkgColor};
188    stroke-width: 2;
189  }
190
191  .doneText0,
192  .doneText1,
193  .doneText2,
194  .doneText3 {
195    fill: ${e.taskTextDarkColor} !important;
196  }
197
198
199  /* Tasks on the critical line */
200
201  .crit0,
202  .crit1,
203  .crit2,
204  .crit3 {
205    stroke: ${e.critBorderColor};
206    fill: ${e.critBkgColor};
207    stroke-width: 2;
208  }
209
210  .activeCrit0,
211  .activeCrit1,
212  .activeCrit2,
213  .activeCrit3 {
214    stroke: ${e.critBorderColor};
215    fill: ${e.activeTaskBkgColor};
216    stroke-width: 2;
217  }
218
219  .doneCrit0,
220  .doneCrit1,
221  .doneCrit2,
222  .doneCrit3 {
223    stroke: ${e.critBorderColor};
224    fill: ${e.doneTaskBkgColor};
225    stroke-width: 2;
226    cursor: pointer;
227    shape-rendering: crispEdges;
228  }
229
230  .milestone {
231    transform: rotate(45deg) scale(0.8,0.8);
232  }
233
234  .milestoneText {
235    font-style: italic;
236  }
237  .doneCritText0,
238  .doneCritText1,
239  .doneCritText2,
240  .doneCritText3 {
241    fill: ${e.taskTextDarkColor} !important;
242  }
243
244  .activeCritText0,
245  .activeCritText1,
246  .activeCritText2,
247  .activeCritText3 {
248    fill: ${e.taskTextDarkColor} !important;
249  }
250
251  .titleText {
252    text-anchor: middle;
253    font-size: 18px;
254    fill: ${e.titleColor||e.textColor};
255    font-family: ${e.fontFamily};
256  }
257`,"getStyles"),zi=Pi,Gi={parser:ei,db:Wi,renderer:Vi,styles:zi};export{Gi as diagram};

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