@langgraph-js/ui 5.6.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/arc-BN7eXDsr.js +1 -0
- package/dist/assets/architectureDiagram-VXUJARFQ-BlClJNg_.js +36 -0
- package/dist/assets/{blockDiagram-VD42YOAC-JpCtx8Fw.js → blockDiagram-VD42YOAC-B1yxKMBm.js} +4 -4
- package/dist/assets/{c4Diagram-YG6GDRKO-Ct0YUG6f.js → c4Diagram-YG6GDRKO-DYnk7yK1.js} +1 -1
- package/dist/assets/channel-W05vnIRi.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-O9tuPwJ2.js → chunk-4BX2VUAB-OBKPWQYL.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-B1LOZAa5.js → chunk-55IACEB6-gYWv8Zf5.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-CHB7g7y9.js → chunk-B4BG7PRW-C53GIfTN.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-BZe7PkXl.js → chunk-DI55MBZ5-VE97R82T.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-IV4Fy30-.js → chunk-FMBD7UC4-1vi-TjGz.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-DCcmoYki.js → chunk-QN33PNHL-BIwuKx1J.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-BNYpxk7b.js → chunk-QZHKN3VN-voU2PjMs.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-BgP3duP5.js → chunk-TZMSLE5B-DqFqeo6j.js} +1 -1
- package/dist/assets/classDiagram-2ON5EDUG-BAA0T-HR.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-BAA0T-HR.js +1 -0
- package/dist/assets/clone-BnfE7gLV.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-B_7kmvVh.js → cose-bilkent-S5V4N54A-BG8aPbwR.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-CAxkUiea.js → dagre-6UL2VRFP-B2SQQldX.js} +2 -2
- package/dist/assets/diagram-PSM6KHXK-DPT_FKfu.js +24 -0
- package/dist/assets/diagram-QEK2KX5R-BSIuCy1e.js +43 -0
- package/dist/assets/{diagram-S2PKOQOG-CZOKfwOI.js → diagram-S2PKOQOG-DAQpMvAq.js} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-D9v3M4EU.js → erDiagram-Q2GNP2WA-gKwnjOTf.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS-B9qnS72A.js → flowDiagram-NV44I4VS-DYhT5qks.js} +1 -1
- package/dist/assets/ganttDiagram-LVOFAZNH-WboqEMaA.js +267 -0
- package/dist/assets/{gitGraphDiagram-NY62KEGX-Cm36kSO3.js → gitGraphDiagram-NY62KEGX-BRtqtCxN.js} +1 -1
- package/dist/assets/{graph-C2p3i6RT.js → graph-BaHCYR4Y.js} +1 -1
- package/dist/assets/index-JVKUnJL6.css +1 -0
- package/dist/assets/{index-Cf3jkaWJ.js → index-yx5a2qjD.js} +312 -173
- package/dist/assets/{infoDiagram-F6ZHWCRC-DkBxmgNt.js → infoDiagram-F6ZHWCRC-DyYvFs8H.js} +1 -1
- package/dist/assets/isUndefined-CuNi_bm9.js +1 -0
- package/dist/assets/{journeyDiagram-XKPGCS4Q-CVukoP-j.js → journeyDiagram-XKPGCS4Q-BqtfhCdd.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-0-SbO6tS.js → kanban-definition-3W4ZIXB7-CyDmlWOW.js} +4 -4
- package/dist/assets/layout-higHf58s.js +1 -0
- package/dist/assets/mermaid.core-3MG272Pv.js +197 -0
- package/dist/assets/min-BoUtT0GV.js +1 -0
- package/dist/assets/{mindmap-definition-VGOIOE7T-CDGdm5yw.js → mindmap-definition-VGOIOE7T-Y0yyOiIO.js} +5 -5
- package/dist/assets/pieDiagram-ADFJNKIX-D_nzBY3u.js +30 -0
- package/dist/assets/{quadrantDiagram-AYHSOK5B-DY0NltyG.js → quadrantDiagram-AYHSOK5B-CUBZfINn.js} +2 -2
- package/dist/assets/{requirementDiagram-UZGBJVZJ-DwhwO5lc.js → requirementDiagram-UZGBJVZJ-kfnK1mwU.js} +1 -1
- package/dist/assets/sankeyDiagram-TZEHDZUN-DALezZLf.js +10 -0
- package/dist/assets/{sequenceDiagram-WL72ISMW-CpTIKJGg.js → sequenceDiagram-WL72ISMW-Ph3PSHlU.js} +1 -1
- package/dist/assets/stateDiagram-FKZM4ZOC-BjIg4oDx.js +1 -0
- package/dist/assets/stateDiagram-v2-4FDKWEC3-nRC6pSc8.js +1 -0
- package/dist/assets/{timeline-definition-IT6M3QCI-1MkGCcpM.js → timeline-definition-IT6M3QCI-Cra1vVbB.js} +3 -3
- package/dist/assets/{treemap-KMMF4GRG-pRPfKbhX.js → treemap-KMMF4GRG-DihM0GUo.js} +1 -1
- package/dist/assets/xychartDiagram-PRI3JC2R-PhzqQQLa.js +7 -0
- package/dist/index.html +2 -2
- package/package.json +3 -2
- package/src/chat/Chat.tsx +3 -4
- package/src/chat/components/ErrorBoundary.tsx +23 -10
- package/src/chat/tools/{show_form.tsx → ask_user_to_fill_form.tsx} +283 -114
- package/src/chat/tools/ask_user_with_options.tsx +174 -0
- package/src/chat/tools/display_information_card.tsx +131 -0
- package/src/chat/tools/image_generation.tsx +140 -0
- package/src/chat/tools/index.ts +18 -6
- package/src/chat/tools/visualize_data_with_chart.tsx +274 -0
- package/src/chat/tools/wait_for_user_to_upload_file.tsx +324 -0
- package/dist/assets/arc-BNOCe7pe.js +0 -1
- package/dist/assets/architectureDiagram-VXUJARFQ-yf1p-wI_.js +0 -36
- package/dist/assets/channel-CizfE02g.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-CFe5Iz8b.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-CFe5Iz8b.js +0 -1
- package/dist/assets/clone-C4H89Tb1.js +0 -1
- package/dist/assets/defaultLocale-C4B-KCzX.js +0 -1
- package/dist/assets/diagram-PSM6KHXK-BeM-KUrT.js +0 -24
- package/dist/assets/diagram-QEK2KX5R-DDl_pKlU.js +0 -43
- package/dist/assets/ganttDiagram-LVOFAZNH-C1Hjglog.js +0 -267
- package/dist/assets/index-DLwWU25h.css +0 -1
- package/dist/assets/init-Gi6I4Gst.js +0 -1
- package/dist/assets/isUndefined-DhAvAp_K.js +0 -1
- package/dist/assets/layout-fJUHcXGp.js +0 -1
- package/dist/assets/linear-RxTDErCI.js +0 -1
- package/dist/assets/mermaid.core-Y2zCEMvG.js +0 -197
- package/dist/assets/min-BGYgWBoZ.js +0 -1
- package/dist/assets/ordinal-Cboi1Yqb.js +0 -1
- package/dist/assets/pieDiagram-ADFJNKIX-EEa08coZ.js +0 -30
- package/dist/assets/sankeyDiagram-TZEHDZUN-awXHtkWF.js +0 -10
- package/dist/assets/stateDiagram-FKZM4ZOC-vNzQUjNr.js +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-D7uk1o7q.js +0 -1
- package/dist/assets/xychartDiagram-PRI3JC2R-DaoAFPdZ.js +0 -7
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import{_ as h,g as Ln,s as An,q as In,p as Wn,a as On,b as Hn,c as _t,d as Nn,aH as at,l as Kt,j as Vn,i as Pn,y as zn,u as Rn}from"./mermaid.core-Y2zCEMvG.js";import{R as nn,D as qn,E as rn,F as an,G as sn,H as se,I as Bn,l as we,s as Bt}from"./index-Cf3jkaWJ.js";import{b as Zn,t as Oe,c as Xn,a as Gn,l as Qn}from"./linear-RxTDErCI.js";import{i as $n}from"./init-Gi6I4Gst.js";import"./defaultLocale-C4B-KCzX.js";const jn=Math.PI/180,Jn=180/Math.PI,te=18,on=.96422,cn=1,un=.82521,ln=4/29,St=6/29,fn=3*St*St,Kn=St*St*St;function hn(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return dn(t);t instanceof nn||(t=qn(t));var e=le(t.r),n=le(t.g),r=le(t.b),a=oe((.2225045*e+.7168786*n+.0606169*r)/cn),i,s;return e===n&&n===r?i=s=a:(i=oe((.4360747*e+.3850649*n+.1430804*r)/on),s=oe((.0139322*e+.0971045*n+.7141733*r)/un)),new ft(116*a-16,500*(i-a),200*(a-s),t.opacity)}function tr(t,e,n,r){return arguments.length===1?hn(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}rn(ft,tr,an(sn,{brighter(t){return new ft(this.l+te*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-te*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=on*ce(e),t=cn*ce(t),n=un*ce(n),new nn(ue(3.1338561*e-1.6168667*t-.4906146*n),ue(-.9787684*e+1.9161415*t+.033454*n),ue(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function oe(t){return t>Kn?Math.pow(t,1/3):t/fn+ln}function ce(t){return t>St?t*t*t:fn*(t-ln)}function ue(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function le(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function er(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=hn(t)),t.a===0&&t.b===0)return new dt(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Jn;return new dt(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ke(t,e,n,r){return arguments.length===1?er(t):new dt(t,e,n,r??1)}function dt(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function dn(t){if(isNaN(t.h))return new ft(t.l,0,0,t.opacity);var e=t.h*jn;return new ft(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}rn(dt,ke,an(sn,{brighter(t){return new dt(this.h,this.c,this.l+te*(t??1),this.opacity)},darker(t){return new dt(this.h,this.c,this.l-te*(t??1),this.opacity)},rgb(){return dn(this).rgb()}}));function nr(t){return function(e,n){var r=t((e=ke(e)).h,(n=ke(n)).h),a=se(e.c,n.c),i=se(e.l,n.l),s=se(e.opacity,n.opacity);return function(y){return e.h=r(y),e.c=a(y),e.l=i(y),e.opacity=s(y),e+""}}}const rr=nr(Bn);function ar(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 a of t)(a=e(a,++r,t))!=null&&(n<a||n===void 0&&a>=a)&&(n=a)}return n}function ir(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 a of t)(a=e(a,++r,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function sr(t){return t}var Xt=1,fe=2,pe=3,Zt=4,He=1e-6;function or(t){return"translate("+t+",0)"}function cr(t){return"translate(0,"+t+")"}function ur(t){return e=>+t(e)}function lr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function fr(){return!this.__axis}function mn(t,e){var n=[],r=null,a=null,i=6,s=6,y=3,_=typeof window<"u"&&window.devicePixelRatio>1?0:.5,p=t===Xt||t===Zt?-1:1,g=t===Zt||t===fe?"x":"y",E=t===Xt||t===pe?or:cr;function C(x){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),O=a??(e.tickFormat?e.tickFormat.apply(e,n):sr),M=Math.max(i,0)+y,I=e.range(),V=+I[0]+_,W=+I[I.length-1]+_,B=(e.bandwidth?lr:ur)(e.copy(),_),$=x.selection?x.selection():x,D=$.selectAll(".domain").data([null]),H=$.selectAll(".tick").data(X,e).order(),b=H.exit(),Y=H.enter().append("g").attr("class","tick"),F=H.select("line"),S=H.select("text");D=D.merge(D.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(Y),F=F.merge(Y.append("line").attr("stroke","currentColor").attr(g+"2",p*i)),S=S.merge(Y.append("text").attr("fill","currentColor").attr(g,p*M).attr("dy",t===Xt?"0em":t===pe?"0.71em":"0.32em")),x!==$&&(D=D.transition(x),H=H.transition(x),F=F.transition(x),S=S.transition(x),b=b.transition(x).attr("opacity",He).attr("transform",function(v){return isFinite(v=B(v))?E(v+_):this.getAttribute("transform")}),Y.attr("opacity",He).attr("transform",function(v){var U=this.parentNode.__axis;return E((U&&isFinite(U=U(v))?U:B(v))+_)})),b.remove(),D.attr("d",t===Zt||t===fe?s?"M"+p*s+","+V+"H"+_+"V"+W+"H"+p*s:"M"+_+","+V+"V"+W:s?"M"+V+","+p*s+"V"+_+"H"+W+"V"+p*s:"M"+V+","+_+"H"+W),H.attr("opacity",1).attr("transform",function(v){return E(B(v)+_)}),F.attr(g+"2",p*i),S.attr(g,p*M).text(O),$.filter(fr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===fe?"start":t===Zt?"end":"middle"),$.each(function(){this.__axis=B})}return C.scale=function(x){return arguments.length?(e=x,C):e},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(x){return arguments.length?(n=x==null?[]:Array.from(x),C):n.slice()},C.tickValues=function(x){return arguments.length?(r=x==null?null:Array.from(x),C):r&&r.slice()},C.tickFormat=function(x){return arguments.length?(a=x,C):a},C.tickSize=function(x){return arguments.length?(i=s=+x,C):i},C.tickSizeInner=function(x){return arguments.length?(i=+x,C):i},C.tickSizeOuter=function(x){return arguments.length?(s=+x,C):s},C.tickPadding=function(x){return arguments.length?(y=+x,C):y},C.offset=function(x){return arguments.length?(_=+x,C):_},C}function hr(t){return mn(Xt,t)}function dr(t){return mn(pe,t)}function mr(t,e){t=t.slice();var n=0,r=t.length-1,a=t[n],i=t[r],s;return i<a&&(s=n,n=r,r=s,s=a,a=i,i=s),t[n]=e.floor(a),t[r]=e.ceil(i),t}const he=new Date,de=new Date;function et(t,e,n,r){function a(i){return t(i=arguments.length===0?new Date:new Date(+i)),i}return a.floor=i=>(t(i=new Date(+i)),i),a.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),a.round=i=>{const s=a(i),y=a.ceil(i);return i-s<y-i?s:y},a.offset=(i,s)=>(e(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,y)=>{const _=[];if(i=a.ceil(i),y=y==null?1:Math.floor(y),!(i<s)||!(y>0))return _;let p;do _.push(p=new Date(+i)),e(i,y),t(i);while(p<i&&i<s);return _},a.filter=i=>et(s=>{if(s>=s)for(;t(s),!i(s);)s.setTime(s-1)},(s,y)=>{if(s>=s)if(y<0)for(;++y<=0;)for(;e(s,-1),!i(s););else for(;--y>=0;)for(;e(s,1),!i(s););}),n&&(a.count=(i,s)=>(he.setTime(+i),de.setTime(+s),t(he),t(de),Math.floor(n(he,de))),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 Yt=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Yt.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Yt);Yt.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,De=yt*7,Ne=yt*30,me=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Wt.range;const gr=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());gr.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ot.range;const yr=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());yr.range;const Tt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);Tt.range;const Ce=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);Ce.range;const kr=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));kr.range;function wt(t){return et(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/De)}const Vt=wt(0),Ht=wt(1),gn=wt(2),yn=wt(3),xt=wt(4),kn=wt(5),pn=wt(6);Vt.range;Ht.range;gn.range;yn.range;xt.range;kn.range;pn.range;function Dt(t){return et(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/De)}const vn=Dt(0),ee=Dt(1),pr=Dt(2),vr=Dt(3),Ut=Dt(4),Tr=Dt(5),xr=Dt(6);vn.range;ee.range;pr.range;vr.range;Ut.range;Tr.range;xr.range;const Nt=et(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const br=et(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());br.range;const kt=et(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const bt=et(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());bt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});bt.range;function wr(t,e,n,r,a,i){const s=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[i,1,ct],[i,5,5*ct],[i,15,15*ct],[i,30,30*ct],[a,1,gt],[a,3,3*gt],[a,6,6*gt],[a,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,De],[e,1,Ne],[e,3,3*Ne],[t,1,me]];function y(p,g,E){const C=g<p;C&&([p,g]=[g,p]);const x=E&&typeof E.range=="function"?E:_(p,g,E),X=x?x.range(p,+g+1):[];return C?X.reverse():X}function _(p,g,E){const C=Math.abs(g-p)/E,x=Zn(([,,M])=>M).right(s,C);if(x===s.length)return t.every(Oe(p/me,g/me,E));if(x===0)return Yt.every(Math.max(Oe(p,g,E),1));const[X,O]=s[C/s[x-1][2]<s[x][2]/C?x-1:x];return X.every(O)}return[y,_]}const[Dr,Cr]=wr(kt,Nt,Vt,Tt,Ot,Wt);function ge(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 ye(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 Lt(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Mr(t){var e=t.dateTime,n=t.date,r=t.time,a=t.periods,i=t.days,s=t.shortDays,y=t.months,_=t.shortMonths,p=At(a),g=It(a),E=At(i),C=It(i),x=At(s),X=It(s),O=At(y),M=It(y),I=At(_),V=It(_),W={a:d,A:w,b:c,B:u,c:null,d:Be,e:Be,f:Qr,g:ia,G:oa,H:Zr,I:Xr,j:Gr,L:Tn,m:$r,M:jr,p:o,q:z,Q:Ge,s:Qe,S:Jr,u:Kr,U:ta,V:ea,w:na,W:ra,x:null,X:null,y:aa,Y:sa,Z:ca,"%":Xe},B={a:P,A:R,b:K,B:G,c:null,d:Ze,e:Ze,f:ha,g:ba,G:Da,H:ua,I:la,j:fa,L:bn,m:da,M:ma,p:j,q:it,Q:Ge,s:Qe,S:ga,u:ya,U:ka,V:pa,w:va,W:Ta,x:null,X:null,y:xa,Y:wa,Z:Ca,"%":Xe},$={a:F,A:S,b:v,B:U,c:l,d:Re,e:Re,f:zr,g:ze,G:Pe,H:qe,I:qe,j:Hr,L:Pr,m:Or,M:Nr,p:Y,q:Wr,Q:qr,s:Br,S:Vr,u:Ur,U:Er,V:Lr,w:Yr,W:Ar,x:m,X:T,y:ze,Y:Pe,Z:Ir,"%":Rr};W.x=D(n,W),W.X=D(r,W),W.c=D(e,W),B.x=D(n,B),B.X=D(r,B),B.c=D(e,B);function D(k,A){return function(N){var f=[],J=-1,L=0,Q=k.length,Z,rt,st;for(N instanceof Date||(N=new Date(+N));++J<Q;)k.charCodeAt(J)===37&&(f.push(k.slice(L,J)),(rt=Ve[Z=k.charAt(++J)])!=null?Z=k.charAt(++J):rt=Z==="e"?" ":"0",(st=A[Z])&&(Z=st(N,rt)),f.push(Z),L=J+1);return f.push(k.slice(L,J)),f.join("")}}function H(k,A){return function(N){var f=Lt(1900,void 0,1),J=b(f,k,N+="",0),L,Q;if(J!=N.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(f.s*1e3+("L"in f?f.L:0));if(A&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+f.p*12),f.m===void 0&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(L=ye(Lt(f.y,0,1)),Q=L.getUTCDay(),L=Q>4||Q===0?ee.ceil(L):ee(L),L=Ce.offset(L,(f.V-1)*7),f.y=L.getUTCFullYear(),f.m=L.getUTCMonth(),f.d=L.getUTCDate()+(f.w+6)%7):(L=ge(Lt(f.y,0,1)),Q=L.getDay(),L=Q>4||Q===0?Ht.ceil(L):Ht(L),L=Tt.offset(L,(f.V-1)*7),f.y=L.getFullYear(),f.m=L.getMonth(),f.d=L.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),Q="Z"in f?ye(Lt(f.y,0,1)).getUTCDay():ge(Lt(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(Q+5)%7:f.w+f.U*7-(Q+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,ye(f)):ge(f)}}function b(k,A,N,f){for(var J=0,L=A.length,Q=N.length,Z,rt;J<L;){if(f>=Q)return-1;if(Z=A.charCodeAt(J++),Z===37){if(Z=A.charAt(J++),rt=$[Z in Ve?A.charAt(J++):Z],!rt||(f=rt(k,N,f))<0)return-1}else if(Z!=N.charCodeAt(f++))return-1}return f}function Y(k,A,N){var f=p.exec(A.slice(N));return f?(k.p=g.get(f[0].toLowerCase()),N+f[0].length):-1}function F(k,A,N){var f=x.exec(A.slice(N));return f?(k.w=X.get(f[0].toLowerCase()),N+f[0].length):-1}function S(k,A,N){var f=E.exec(A.slice(N));return f?(k.w=C.get(f[0].toLowerCase()),N+f[0].length):-1}function v(k,A,N){var f=I.exec(A.slice(N));return f?(k.m=V.get(f[0].toLowerCase()),N+f[0].length):-1}function U(k,A,N){var f=O.exec(A.slice(N));return f?(k.m=M.get(f[0].toLowerCase()),N+f[0].length):-1}function l(k,A,N){return b(k,e,A,N)}function m(k,A,N){return b(k,n,A,N)}function T(k,A,N){return b(k,r,A,N)}function d(k){return s[k.getDay()]}function w(k){return i[k.getDay()]}function c(k){return _[k.getMonth()]}function u(k){return y[k.getMonth()]}function o(k){return a[+(k.getHours()>=12)]}function z(k){return 1+~~(k.getMonth()/3)}function P(k){return s[k.getUTCDay()]}function R(k){return i[k.getUTCDay()]}function K(k){return _[k.getUTCMonth()]}function G(k){return y[k.getUTCMonth()]}function j(k){return a[+(k.getUTCHours()>=12)]}function it(k){return 1+~~(k.getUTCMonth()/3)}return{format:function(k){var A=D(k+="",W);return A.toString=function(){return k},A},parse:function(k){var A=H(k+="",!1);return A.toString=function(){return k},A},utcFormat:function(k){var A=D(k+="",B);return A.toString=function(){return k},A},utcParse:function(k){var A=H(k+="",!0);return A.toString=function(){return k},A}}}var Ve={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,_r=/^%/,Sr=/[\\^$*+?|[\]().{}]/g;function q(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i<n?new Array(n-i+1).join(e)+a:a)}function Fr(t){return t.replace(Sr,"\\$&")}function At(t){return new RegExp("^(?:"+t.map(Fr).join("|")+")","i")}function It(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Yr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ir(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Wr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Or(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Re(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function qe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Pr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Rr(t,e,n){var r=_r.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function qr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Be(t,e){return q(t.getDate(),e,2)}function Zr(t,e){return q(t.getHours(),e,2)}function Xr(t,e){return q(t.getHours()%12||12,e,2)}function Gr(t,e){return q(1+Tt.count(kt(t),t),e,3)}function Tn(t,e){return q(t.getMilliseconds(),e,3)}function Qr(t,e){return Tn(t,e)+"000"}function $r(t,e){return q(t.getMonth()+1,e,2)}function jr(t,e){return q(t.getMinutes(),e,2)}function Jr(t,e){return q(t.getSeconds(),e,2)}function Kr(t){var e=t.getDay();return e===0?7:e}function ta(t,e){return q(Vt.count(kt(t)-1,t),e,2)}function xn(t){var e=t.getDay();return e>=4||e===0?xt(t):xt.ceil(t)}function ea(t,e){return t=xn(t),q(xt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function na(t){return t.getDay()}function ra(t,e){return q(Ht.count(kt(t)-1,t),e,2)}function aa(t,e){return q(t.getFullYear()%100,e,2)}function ia(t,e){return t=xn(t),q(t.getFullYear()%100,e,2)}function sa(t,e){return q(t.getFullYear()%1e4,e,4)}function oa(t,e){var n=t.getDay();return t=n>=4||n===0?xt(t):xt.ceil(t),q(t.getFullYear()%1e4,e,4)}function ca(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+q(e/60|0,"0",2)+q(e%60,"0",2)}function Ze(t,e){return q(t.getUTCDate(),e,2)}function ua(t,e){return q(t.getUTCHours(),e,2)}function la(t,e){return q(t.getUTCHours()%12||12,e,2)}function fa(t,e){return q(1+Ce.count(bt(t),t),e,3)}function bn(t,e){return q(t.getUTCMilliseconds(),e,3)}function ha(t,e){return bn(t,e)+"000"}function da(t,e){return q(t.getUTCMonth()+1,e,2)}function ma(t,e){return q(t.getUTCMinutes(),e,2)}function ga(t,e){return q(t.getUTCSeconds(),e,2)}function ya(t){var e=t.getUTCDay();return e===0?7:e}function ka(t,e){return q(vn.count(bt(t)-1,t),e,2)}function wn(t){var e=t.getUTCDay();return e>=4||e===0?Ut(t):Ut.ceil(t)}function pa(t,e){return t=wn(t),q(Ut.count(bt(t),t)+(bt(t).getUTCDay()===4),e,2)}function va(t){return t.getUTCDay()}function Ta(t,e){return q(ee.count(bt(t)-1,t),e,2)}function xa(t,e){return q(t.getUTCFullYear()%100,e,2)}function ba(t,e){return t=wn(t),q(t.getUTCFullYear()%100,e,2)}function wa(t,e){return q(t.getUTCFullYear()%1e4,e,4)}function Da(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ut(t):Ut.ceil(t),q(t.getUTCFullYear()%1e4,e,4)}function Ca(){return"+0000"}function Xe(){return"%"}function Ge(t){return+t}function Qe(t){return Math.floor(+t/1e3)}var Mt,ne;Ma({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 Ma(t){return Mt=Mr(t),ne=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function _a(t){return new Date(t)}function Sa(t){return t instanceof Date?+t:+new Date(+t)}function Dn(t,e,n,r,a,i,s,y,_,p){var g=Xn(),E=g.invert,C=g.domain,x=p(".%L"),X=p(":%S"),O=p("%I:%M"),M=p("%I %p"),I=p("%a %d"),V=p("%b %d"),W=p("%B"),B=p("%Y");function $(D){return(_(D)<D?x:y(D)<D?X:s(D)<D?O:i(D)<D?M:r(D)<D?a(D)<D?I:V:n(D)<D?W:B)(D)}return g.invert=function(D){return new Date(E(D))},g.domain=function(D){return arguments.length?C(Array.from(D,Sa)):C().map(_a)},g.ticks=function(D){var H=C();return t(H[0],H[H.length-1],D??10)},g.tickFormat=function(D,H){return H==null?$:p(H)},g.nice=function(D){var H=C();return(!D||typeof D.range!="function")&&(D=e(H[0],H[H.length-1],D??10)),D?C(mr(H,D)):g},g.copy=function(){return Gn(g,Dn(t,e,n,r,a,i,s,y,_,p))},g}function Fa(){return $n.apply(Dn(Dr,Cr,kt,Nt,Vt,Tt,Ot,Wt,vt,ne).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Gt={exports:{}},Ya=Gt.exports,$e;function Ua(){return $e||($e=1,function(t,e){(function(n,r){t.exports=r()})(Ya,function(){var n="day";return function(r,a,i){var s=function(p){return p.add(4-p.isoWeekday(),n)},y=a.prototype;y.isoWeekYear=function(){return s(this).year()},y.isoWeek=function(p){if(!this.$utils().u(p))return this.add(7*(p-this.isoWeek()),n);var g,E,C,x,X=s(this),O=(g=this.isoWeekYear(),E=this.$u,C=(E?i.utc:i)().year(g).startOf("year"),x=4-C.isoWeekday(),C.isoWeekday()>4&&(x+=7),C.add(x,n));return X.diff(O,"week")+1},y.isoWeekday=function(p){return this.$utils().u(p)?this.day()||7:this.day(this.day()%7?p:p-7)};var _=y.startOf;y.startOf=function(p,g){var E=this.$utils(),C=!!E.u(g)||g;return E.p(p)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):_.bind(this)(p,g)}}})}(Gt)),Gt.exports}var Ea=Ua();const La=we(Ea);var Qt={exports:{}},Aa=Qt.exports,je;function Ia(){return je||(je=1,function(t,e){(function(n,r){t.exports=r()})(Aa,function(){var n={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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,s=/\d\d?/,y=/\d*[^-_:/,()\s\d]+/,_={},p=function(M){return(M=+M)+(M>68?1900:2e3)},g=function(M){return function(I){this[M]=+I}},E=[/[+-]\d\d:?(\d\d)?|Z/,function(M){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var V=I.match(/([+-]|\d\d)/g),W=60*V[1]+(+V[2]||0);return W===0?0:V[0]==="+"?-W:W}(M)}],C=function(M){var I=_[M];return I&&(I.indexOf?I:I.s.concat(I.f))},x=function(M,I){var V,W=_.meridiem;if(W){for(var B=1;B<=24;B+=1)if(M.indexOf(W(B,0,I))>-1){V=B>12;break}}else V=M===(I?"pm":"PM");return V},X={A:[y,function(M){this.afternoon=x(M,!1)}],a:[y,function(M){this.afternoon=x(M,!0)}],Q:[a,function(M){this.month=3*(M-1)+1}],S:[a,function(M){this.milliseconds=100*+M}],SS:[i,function(M){this.milliseconds=10*+M}],SSS:[/\d{3}/,function(M){this.milliseconds=+M}],s:[s,g("seconds")],ss:[s,g("seconds")],m:[s,g("minutes")],mm:[s,g("minutes")],H:[s,g("hours")],h:[s,g("hours")],HH:[s,g("hours")],hh:[s,g("hours")],D:[s,g("day")],DD:[i,g("day")],Do:[y,function(M){var I=_.ordinal,V=M.match(/\d+/);if(this.day=V[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===M&&(this.day=W)}],w:[s,g("week")],ww:[i,g("week")],M:[s,g("month")],MM:[i,g("month")],MMM:[y,function(M){var I=C("months"),V=(C("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(M)+1;if(V<1)throw new Error;this.month=V%12||V}],MMMM:[y,function(M){var I=C("months").indexOf(M)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(M){this.year=p(M)}],YYYY:[/\d{4}/,g("year")],Z:E,ZZ:E};function O(M){var I,V;I=M,V=_&&_.formats;for(var W=(M=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(F,S,v){var U=v&&v.toUpperCase();return S||V[v]||n[v]||V[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,m,T){return m||T.slice(1)})})).match(r),B=W.length,$=0;$<B;$+=1){var D=W[$],H=X[D],b=H&&H[0],Y=H&&H[1];W[$]=Y?{regex:b,parser:Y}:D.replace(/^\[|\]$/g,"")}return function(F){for(var S={},v=0,U=0;v<B;v+=1){var l=W[v];if(typeof l=="string")U+=l.length;else{var m=l.regex,T=l.parser,d=F.slice(U),w=m.exec(d)[0];T.call(S,w),F=F.replace(w,"")}}return function(c){var u=c.afternoon;if(u!==void 0){var o=c.hours;u?o<12&&(c.hours+=12):o===12&&(c.hours=0),delete c.afternoon}}(S),S}}return function(M,I,V){V.p.customParseFormat=!0,M&&M.parseTwoDigitYear&&(p=M.parseTwoDigitYear);var W=I.prototype,B=W.parse;W.parse=function($){var D=$.date,H=$.utc,b=$.args;this.$u=H;var Y=b[1];if(typeof Y=="string"){var F=b[2]===!0,S=b[3]===!0,v=F||S,U=b[2];S&&(U=b[2]),_=this.$locale(),!F&&U&&(_=V.Ls[U]),this.$d=function(d,w,c,u){try{if(["x","X"].indexOf(w)>-1)return new Date((w==="X"?1e3:1)*d);var o=O(w)(d),z=o.year,P=o.month,R=o.day,K=o.hours,G=o.minutes,j=o.seconds,it=o.milliseconds,k=o.zone,A=o.week,N=new Date,f=R||(z||P?1:N.getDate()),J=z||N.getFullYear(),L=0;z&&!P||(L=P>0?P-1:N.getMonth());var Q,Z=K||0,rt=G||0,st=j||0,pt=it||0;return k?new Date(Date.UTC(J,L,f,Z,rt,st,pt+60*k.offset*1e3)):c?new Date(Date.UTC(J,L,f,Z,rt,st,pt)):(Q=new Date(J,L,f,Z,rt,st,pt),A&&(Q=u(Q).week(A).toDate()),Q)}catch{return new Date("")}}(D,Y,H,V),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),v&&D!=this.format(Y)&&(this.$d=new Date("")),_={}}else if(Y instanceof Array)for(var l=Y.length,m=1;m<=l;m+=1){b[1]=Y[m-1];var T=V.apply(this,b);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}m===l&&(this.$d=new Date(""))}else B.call(this,$)}}})}(Qt)),Qt.exports}var Wa=Ia();const Oa=we(Wa);var $t={exports:{}},Ha=$t.exports,Je;function Na(){return Je||(Je=1,function(t,e){(function(n,r){t.exports=r()})(Ha,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var y=this,_=this.$locale();if(!this.isValid())return i.bind(this)(s);var p=this.$utils(),g=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return _.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return _.ordinal(y.week(),"W");case"w":case"ww":return p.s(y.week(),E==="w"?1:2,"0");case"W":case"WW":return p.s(y.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return p.s(String(y.$H===0?24:y.$H),E==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return E}});return i.bind(this)(g)}}})}($t)),$t.exports}var Va=Na();const Pa=we(Va);var ve=function(){var t=h(function(U,l,m,T){for(m=m||{},T=U.length;T--;m[U[T]]=l);return m},"o"),e=[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],y=[1,31],_=[1,32],p=[1,33],g=[1,34],E=[1,9],C=[1,10],x=[1,11],X=[1,12],O=[1,13],M=[1,14],I=[1,15],V=[1,16],W=[1,19],B=[1,20],$=[1,21],D=[1,22],H=[1,23],b=[1,25],Y=[1,35],F={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL: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:h(function(l,m,T,d,w,c,u){var o=c.length-1;switch(w){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:d.setWeekday("monday");break;case 9:d.setWeekday("tuesday");break;case 10:d.setWeekday("wednesday");break;case 11:d.setWeekday("thursday");break;case 12:d.setWeekday("friday");break;case 13:d.setWeekday("saturday");break;case 14:d.setWeekday("sunday");break;case 15:d.setWeekend("friday");break;case 16:d.setWeekend("saturday");break;case 17:d.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:d.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:d.TopAxis(),this.$=c[o].substr(8);break;case 20:d.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:d.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:d.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:d.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:d.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:d.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),d.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),d.setAccDescription(this.$);break;case 31:d.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:d.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],d.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],d.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],d.setClickEvent(c[o-2],c[o-1],null),d.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],d.setClickEvent(c[o-3],c[o-2],c[o-1]),d.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],d.setClickEvent(c[o-2],c[o],null),d.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],d.setClickEvent(c[o-3],c[o-1],c[o]),d.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],d.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]},t(e,[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:y,18:_,19:18,20:p,21:g,22:E,23:C,24:x,25:X,26:O,27:M,28:I,29:V,30:W,31:B,33:$,35:D,36:H,37:24,38:b,40:Y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:y,18:_,19:18,20:p,21:g,22:E,23:C,24:x,25:X,26:O,27:M,28:I,29:V,30:W,31:B,33:$,35:D,36:H,37:24,38:b,40:Y},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:h(function(l,m){if(m.recoverable)this.trace(l);else{var T=new Error(l);throw T.hash=m,T}},"parseError"),parse:h(function(l){var m=this,T=[0],d=[],w=[null],c=[],u=this.table,o="",z=0,P=0,R=2,K=1,G=c.slice.call(arguments,1),j=Object.create(this.lexer),it={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(it.yy[k]=this.yy[k]);j.setInput(l,it.yy),it.yy.lexer=j,it.yy.parser=this,typeof j.yylloc>"u"&&(j.yylloc={});var A=j.yylloc;c.push(A);var N=j.options&&j.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(ot){T.length=T.length-2*ot,w.length=w.length-ot,c.length=c.length-ot}h(f,"popStack");function J(){var ot;return ot=d.pop()||j.lex()||K,typeof ot!="number"&&(ot instanceof Array&&(d=ot,ot=d.pop()),ot=m.symbols_[ot]||ot),ot}h(J,"lex");for(var L,Q,Z,rt,st={},pt,ut,We,qt;;){if(Q=T[T.length-1],this.defaultActions[Q]?Z=this.defaultActions[Q]:((L===null||typeof L>"u")&&(L=J()),Z=u[Q]&&u[Q][L]),typeof Z>"u"||!Z.length||!Z[0]){var ie="";qt=[];for(pt in u[Q])this.terminals_[pt]&&pt>R&&qt.push("'"+this.terminals_[pt]+"'");j.showPosition?ie="Parse error on line "+(z+1)+`:
|
|
2
|
-
`+j.showPosition()+`
|
|
3
|
-
Expecting `+qt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":ie="Parse error on line "+(z+1)+": Unexpected "+(L==K?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(ie,{text:j.match,token:this.terminals_[L]||L,line:j.yylineno,loc:A,expected:qt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+L);switch(Z[0]){case 1:T.push(L),w.push(j.yytext),c.push(j.yylloc),T.push(Z[1]),L=null,P=j.yyleng,o=j.yytext,z=j.yylineno,A=j.yylloc;break;case 2:if(ut=this.productions_[Z[1]][1],st.$=w[w.length-ut],st._$={first_line:c[c.length-(ut||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ut||1)].first_column,last_column:c[c.length-1].last_column},N&&(st._$.range=[c[c.length-(ut||1)].range[0],c[c.length-1].range[1]]),rt=this.performAction.apply(st,[o,P,z,it.yy,Z[1],w,c].concat(G)),typeof rt<"u")return rt;ut&&(T=T.slice(0,-1*ut*2),w=w.slice(0,-1*ut),c=c.slice(0,-1*ut)),T.push(this.productions_[Z[1]][0]),w.push(st.$),c.push(st._$),We=u[T[T.length-2]][T[T.length-1]],T.push(We);break;case 3:return!0}}return!0},"parse")},S=function(){var U={EOF:1,parseError:h(function(m,T){if(this.yy.parser)this.yy.parser.parseError(m,T);else throw new Error(m)},"parseError"),setInput:h(function(l,m){return this.yy=m||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:h(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var m=l.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:h(function(l){var m=l.length,T=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var d=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),T.length-1&&(this.yylineno-=T.length-1);var w=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:T?(T.length===d.length?this.yylloc.first_column:0)+d[d.length-T.length].length-T[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(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:h(function(l){this.unput(this.match.slice(l))},"less"),pastInput:h(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var l=this.pastInput(),m=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
|
|
5
|
-
`+m+"^"},"showPosition"),test_match:h(function(l,m){var T,d,w;if(this.options.backtrack_lexer&&(w={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&&(w.yylloc.range=this.yylloc.range.slice(0))),d=l[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(l[0].length),this.matched+=l[0],T=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),T)return T;if(this._backtrack){for(var c in w)this[c]=w[c];return!1}return!1},"test_match"),next:h(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,m,T,d;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),c=0;c<w.length;c++)if(T=this._input.match(this.rules[w[c]]),T&&(!m||T[0].length>m[0].length)){if(m=T,d=c,this.options.backtrack_lexer){if(l=this.test_match(T,w[c]),l!==!1)return l;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(l=this.test_match(m,w[d]),l!==!1?l:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:h(function(){var m=this.next();return m||this.lex()},"lex"),begin:h(function(m){this.conditionStack.push(m)},"begin"),popState:h(function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:h(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:h(function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},"topState"),pushState:h(function(m){this.begin(m)},"pushState"),stateStackSize:h(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:h(function(m,T,d,w){switch(d){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 U}();F.lexer=S;function v(){this.yy={}}return h(v,"Parser"),v.prototype=F,F.Parser=v,new v}();ve.parser=ve;var za=ve;at.extend(La);at.extend(Oa);at.extend(Pa);var Ke={friday:5,saturday:6},lt="",Me="",_e=void 0,Se="",Pt=[],zt=[],Fe=new Map,Ye=[],re=[],Et="",Ue="",Cn=["active","done","crit","milestone","vert"],Ee=[],Rt=!1,Le=!1,Ae="sunday",ae="saturday",Te=0,Ra=h(function(){Ye=[],re=[],Et="",Ee=[],jt=0,be=void 0,Jt=void 0,tt=[],lt="",Me="",Ue="",_e=void 0,Se="",Pt=[],zt=[],Rt=!1,Le=!1,Te=0,Fe=new Map,zn(),Ae="sunday",ae="saturday"},"clear"),qa=h(function(t){Me=t},"setAxisFormat"),Ba=h(function(){return Me},"getAxisFormat"),Za=h(function(t){_e=t},"setTickInterval"),Xa=h(function(){return _e},"getTickInterval"),Ga=h(function(t){Se=t},"setTodayMarker"),Qa=h(function(){return Se},"getTodayMarker"),$a=h(function(t){lt=t},"setDateFormat"),ja=h(function(){Rt=!0},"enableInclusiveEndDates"),Ja=h(function(){return Rt},"endDatesAreInclusive"),Ka=h(function(){Le=!0},"enableTopAxis"),ti=h(function(){return Le},"topAxisEnabled"),ei=h(function(t){Ue=t},"setDisplayMode"),ni=h(function(){return Ue},"getDisplayMode"),ri=h(function(){return lt},"getDateFormat"),ai=h(function(t){Pt=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),ii=h(function(){return Pt},"getIncludes"),si=h(function(t){zt=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),oi=h(function(){return zt},"getExcludes"),ci=h(function(){return Fe},"getLinks"),ui=h(function(t){Et=t,Ye.push(t)},"addSection"),li=h(function(){return Ye},"getSections"),fi=h(function(){let t=tn();const e=10;let n=0;for(;!t&&n<e;)t=tn(),n++;return re=tt,re},"getTasks"),Mn=h(function(t,e,n,r){const a=t.format(e.trim()),i=t.format("YYYY-MM-DD");return r.includes(a)||r.includes(i)?!1:n.includes("weekends")&&(t.isoWeekday()===Ke[ae]||t.isoWeekday()===Ke[ae]+1)||n.includes(t.format("dddd").toLowerCase())?!0:n.includes(a)||n.includes(i)},"isInvalidDate"),hi=h(function(t){Ae=t},"setWeekday"),di=h(function(){return Ae},"getWeekday"),mi=h(function(t){ae=t},"setWeekend"),_n=h(function(t,e,n,r){if(!n.length||t.manualEndTime)return;let a;t.startTime instanceof Date?a=at(t.startTime):a=at(t.startTime,e,!0),a=a.add(1,"d");let i;t.endTime instanceof Date?i=at(t.endTime):i=at(t.endTime,e,!0);const[s,y]=gi(a,i,e,n,r);t.endTime=s.toDate(),t.renderEndTime=y},"checkTaskDates"),gi=h(function(t,e,n,r,a){let i=!1,s=null;for(;t<=e;)i||(s=e.toDate()),i=Mn(t,n,r,a),i&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,s]},"fixTaskDates"),xe=h(function(t,e,n){if(n=n.trim(),(e.trim()==="x"||e.trim()==="X")&&/^\d+$/.test(n))return new Date(Number(n));const a=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(a!==null){let s=null;for(const _ of a.groups.ids.split(" ")){let p=Ct(_);p!==void 0&&(!s||p.endTime>s.endTime)&&(s=p)}if(s)return s.endTime;const y=new Date;return y.setHours(0,0,0,0),y}let i=at(n,e.trim(),!0);if(i.isValid())return i.toDate();{Kt.debug("Invalid date:"+n),Kt.debug("With date format:"+e.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"),Sn=h(function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),Fn=h(function(t,e,n,r=!1){n=n.trim();const i=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(i!==null){let g=null;for(const C of i.groups.ids.split(" ")){let x=Ct(C);x!==void 0&&(!g||x.startTime<g.startTime)&&(g=x)}if(g)return g.startTime;const E=new Date;return E.setHours(0,0,0,0),E}let s=at(n,e.trim(),!0);if(s.isValid())return r&&(s=s.add(1,"d")),s.toDate();let y=at(t);const[_,p]=Sn(n);if(!Number.isNaN(_)){const g=y.add(_,p);g.isValid()&&(y=g)}return y.toDate()},"getEndDate"),jt=0,Ft=h(function(t){return t===void 0?(jt=jt+1,"task"+jt):t},"parseId"),yi=h(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),a={};Ie(r,a,Cn);for(let s=0;s<r.length;s++)r[s]=r[s].trim();let i="";switch(r.length){case 1:a.id=Ft(),a.startTime=t.endTime,i=r[0];break;case 2:a.id=Ft(),a.startTime=xe(void 0,lt,r[0]),i=r[1];break;case 3:a.id=Ft(r[0]),a.startTime=xe(void 0,lt,r[1]),i=r[2];break}return i&&(a.endTime=Fn(a.startTime,lt,i,Rt),a.manualEndTime=at(i,"YYYY-MM-DD",!0).isValid(),_n(a,lt,zt,Pt)),a},"compileData"),ki=h(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),a={};Ie(r,a,Cn);for(let i=0;i<r.length;i++)r[i]=r[i].trim();switch(r.length){case 1:a.id=Ft(),a.startTime={type:"prevTaskEnd",id:t},a.endTime={data:r[0]};break;case 2:a.id=Ft(),a.startTime={type:"getStartDate",startData:r[0]},a.endTime={data:r[1]};break;case 3:a.id=Ft(r[0]),a.startTime={type:"getStartDate",startData:r[1]},a.endTime={data:r[2]};break}return a},"parseData"),be,Jt,tt=[],Yn={},pi=h(function(t,e){const n={section:Et,type:Et,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=ki(Jt,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=Jt,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,n.order=Te,Te++;const a=tt.push(n);Jt=n.id,Yn[n.id]=a-1},"addTask"),Ct=h(function(t){const e=Yn[t];return tt[e]},"findTaskById"),vi=h(function(t,e){const n={section:Et,type:Et,description:t,task:t,classes:[]},r=yi(be,e);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,n.vert=r.vert,be=n,re.push(n)},"addTaskOrg"),tn=h(function(){const t=h(function(n){const r=tt[n];let a="";switch(tt[n].raw.startTime.type){case"prevTaskEnd":{const i=Ct(r.prevTaskId);r.startTime=i.endTime;break}case"getStartDate":a=xe(void 0,lt,tt[n].raw.startTime.startData),a&&(tt[n].startTime=a);break}return tt[n].startTime&&(tt[n].endTime=Fn(tt[n].startTime,lt,tt[n].raw.endTime.data,Rt),tt[n].endTime&&(tt[n].processed=!0,tt[n].manualEndTime=at(tt[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),_n(tt[n],lt,zt,Pt))),tt[n].processed},"compileTask");let e=!0;for(const[n,r]of tt.entries())t(n),e=e&&r.processed;return e},"compileTasks"),Ti=h(function(t,e){let n=e;_t().securityLevel!=="loose"&&(n=Pn.sanitizeUrl(e)),t.split(",").forEach(function(r){Ct(r)!==void 0&&(En(r,()=>{window.open(n,"_self")}),Fe.set(r,n))}),Un(t,"clickable")},"setLink"),Un=h(function(t,e){t.split(",").forEach(function(n){let r=Ct(n);r!==void 0&&r.classes.push(e)})},"setClass"),xi=h(function(t,e,n){if(_t().securityLevel!=="loose"||e===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(t),Ct(t)!==void 0&&En(t,()=>{Rn.runFunc(e,...r)})},"setClickFun"),En=h(function(t,e){Ee.push(function(){const n=document.querySelector(`[id="${t}"]`);n!==null&&n.addEventListener("click",function(){e()})},function(){const n=document.querySelector(`[id="${t}-text"]`);n!==null&&n.addEventListener("click",function(){e()})})},"pushFun"),bi=h(function(t,e,n){t.split(",").forEach(function(r){xi(r,e,n)}),Un(t,"clickable")},"setClickEvent"),wi=h(function(t){Ee.forEach(function(e){e(t)})},"bindFunctions"),Di={getConfig:h(()=>_t().gantt,"getConfig"),clear:Ra,setDateFormat:$a,getDateFormat:ri,enableInclusiveEndDates:ja,endDatesAreInclusive:Ja,enableTopAxis:Ka,topAxisEnabled:ti,setAxisFormat:qa,getAxisFormat:Ba,setTickInterval:Za,getTickInterval:Xa,setTodayMarker:Ga,getTodayMarker:Qa,setAccTitle:Hn,getAccTitle:On,setDiagramTitle:Wn,getDiagramTitle:In,setDisplayMode:ei,getDisplayMode:ni,setAccDescription:An,getAccDescription:Ln,addSection:ui,getSections:li,getTasks:fi,addTask:pi,findTaskById:Ct,addTaskOrg:vi,setIncludes:ai,getIncludes:ii,setExcludes:si,getExcludes:oi,setClickEvent:bi,setLink:Ti,getLinks:ci,bindFunctions:wi,parseDuration:Sn,isInvalidDate:Mn,setWeekday:hi,getWeekday:di,setWeekend:mi};function Ie(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(a){const i="^\\s*"+a+"\\s*$",s=new RegExp(i);t[0].match(s)&&(e[a]=!0,t.shift(1),r=!0)})}h(Ie,"getTaskTags");var Ci=h(function(){Kt.debug("Something is calling, setConf, remove the call")},"setConf"),en={monday:Ht,tuesday:gn,wednesday:yn,thursday:xt,friday:kn,saturday:pn,sunday:Vt},Mi=h((t,e)=>{let n=[...t].map(()=>-1/0),r=[...t].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+e,s>a&&(a=s);break}return a},"getMaxIntersections"),ht,_i=h(function(t,e,n,r){const a=_t().gantt,i=_t().securityLevel;let s;i==="sandbox"&&(s=Bt("#i"+e));const y=i==="sandbox"?Bt(s.nodes()[0].contentDocument.body):Bt("body"),_=i==="sandbox"?s.nodes()[0].contentDocument:document,p=_.getElementById(e);ht=p.parentElement.offsetWidth,ht===void 0&&(ht=1200),a.useWidth!==void 0&&(ht=a.useWidth);const g=r.db.getTasks();let E=[];for(const b of g)E.push(b.type);E=H(E);const C={};let x=2*a.topPadding;if(r.db.getDisplayMode()==="compact"||a.displayMode==="compact"){const b={};for(const F of g)b[F.section]===void 0?b[F.section]=[F]:b[F.section].push(F);let Y=0;for(const F of Object.keys(b)){const S=Mi(b[F],Y)+1;Y+=S,x+=S*(a.barHeight+a.barGap),C[F]=S}}else{x+=g.length*(a.barHeight+a.barGap);for(const b of E)C[b]=g.filter(Y=>Y.type===b).length}p.setAttribute("viewBox","0 0 "+ht+" "+x);const X=y.select(`[id="${e}"]`),O=Fa().domain([ir(g,function(b){return b.startTime}),ar(g,function(b){return b.endTime})]).rangeRound([0,ht-a.leftPadding-a.rightPadding]);function M(b,Y){const F=b.startTime,S=Y.startTime;let v=0;return F>S?v=1:F<S&&(v=-1),v}h(M,"taskCompare"),g.sort(M),I(g,ht,x),Nn(X,x,ht,a.useMaxWidth),X.append("text").text(r.db.getDiagramTitle()).attr("x",ht/2).attr("y",a.titleTopMargin).attr("class","titleText");function I(b,Y,F){const S=a.barHeight,v=S+a.barGap,U=a.topPadding,l=a.leftPadding,m=Qn().domain([0,E.length]).range(["#00B9FA","#F95002"]).interpolate(rr);W(v,U,l,Y,F,b,r.db.getExcludes(),r.db.getIncludes()),B(l,U,Y,F),V(b,v,U,l,S,m,Y),$(v,U),D(l,U,Y,F)}h(I,"makeGantt");function V(b,Y,F,S,v,U,l){b.sort((u,o)=>u.vert===o.vert?0:u.vert?1:-1);const T=[...new Set(b.map(u=>u.order))].map(u=>b.find(o=>o.order===u));X.append("g").selectAll("rect").data(T).enter().append("rect").attr("x",0).attr("y",function(u,o){return o=u.order,o*Y+F-2}).attr("width",function(){return l-a.rightPadding/2}).attr("height",Y).attr("class",function(u){for(const[o,z]of E.entries())if(u.type===z)return"section section"+o%a.numberSectionStyles;return"section section0"}).enter();const d=X.append("g").selectAll("rect").data(b).enter(),w=r.db.getLinks();if(d.append("rect").attr("id",function(u){return u.id}).attr("rx",3).attr("ry",3).attr("x",function(u){return u.milestone?O(u.startTime)+S+.5*(O(u.endTime)-O(u.startTime))-.5*v:O(u.startTime)+S}).attr("y",function(u,o){return o=u.order,u.vert?a.gridLineStartPadding:o*Y+F}).attr("width",function(u){return u.milestone?v:u.vert?.08*v:O(u.renderEndTime||u.endTime)-O(u.startTime)}).attr("height",function(u){return u.vert?g.length*(a.barHeight+a.barGap)+a.barHeight*2:v}).attr("transform-origin",function(u,o){return o=u.order,(O(u.startTime)+S+.5*(O(u.endTime)-O(u.startTime))).toString()+"px "+(o*Y+F+.5*v).toString()+"px"}).attr("class",function(u){const o="task";let z="";u.classes.length>0&&(z=u.classes.join(" "));let P=0;for(const[K,G]of E.entries())u.type===G&&(P=K%a.numberSectionStyles);let R="";return u.active?u.crit?R+=" activeCrit":R=" active":u.done?u.crit?R=" doneCrit":R=" done":u.crit&&(R+=" crit"),R.length===0&&(R=" task"),u.milestone&&(R=" milestone "+R),u.vert&&(R=" vert "+R),R+=P,R+=" "+z,o+R}),d.append("text").attr("id",function(u){return u.id+"-text"}).text(function(u){return u.task}).attr("font-size",a.fontSize).attr("x",function(u){let o=O(u.startTime),z=O(u.renderEndTime||u.endTime);if(u.milestone&&(o+=.5*(O(u.endTime)-O(u.startTime))-.5*v,z=o+v),u.vert)return O(u.startTime)+S;const P=this.getBBox().width;return P>z-o?z+P+1.5*a.leftPadding>l?o+S-5:z+S+5:(z-o)/2+o+S}).attr("y",function(u,o){return u.vert?a.gridLineStartPadding+g.length*(a.barHeight+a.barGap)+60:(o=u.order,o*Y+a.barHeight/2+(a.fontSize/2-2)+F)}).attr("text-height",v).attr("class",function(u){const o=O(u.startTime);let z=O(u.endTime);u.milestone&&(z=o+v);const P=this.getBBox().width;let R="";u.classes.length>0&&(R=u.classes.join(" "));let K=0;for(const[j,it]of E.entries())u.type===it&&(K=j%a.numberSectionStyles);let G="";return u.active&&(u.crit?G="activeCritText"+K:G="activeText"+K),u.done?u.crit?G=G+" doneCritText"+K:G=G+" doneText"+K:u.crit&&(G=G+" critText"+K),u.milestone&&(G+=" milestoneText"),u.vert&&(G+=" vertText"),P>z-o?z+P+1.5*a.leftPadding>l?R+" taskTextOutsideLeft taskTextOutside"+K+" "+G:R+" taskTextOutsideRight taskTextOutside"+K+" "+G+" width-"+P:R+" taskText taskText"+K+" "+G+" width-"+P}),_t().securityLevel==="sandbox"){let u;u=Bt("#i"+e);const o=u.nodes()[0].contentDocument;d.filter(function(z){return w.has(z.id)}).each(function(z){var P=o.querySelector("#"+z.id),R=o.querySelector("#"+z.id+"-text");const K=P.parentNode;var G=o.createElement("a");G.setAttribute("xlink:href",w.get(z.id)),G.setAttribute("target","_top"),K.appendChild(G),G.appendChild(P),G.appendChild(R)})}}h(V,"drawRects");function W(b,Y,F,S,v,U,l,m){if(l.length===0&&m.length===0)return;let T,d;for(const{startTime:P,endTime:R}of U)(T===void 0||P<T)&&(T=P),(d===void 0||R>d)&&(d=R);if(!T||!d)return;if(at(d).diff(at(T),"year")>5){Kt.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 w=r.db.getDateFormat(),c=[];let u=null,o=at(T);for(;o.valueOf()<=d;)r.db.isInvalidDate(o,w,l,m)?u?u.end=o:u={start:o,end:o}:u&&(c.push(u),u=null),o=o.add(1,"d");X.append("g").selectAll("rect").data(c).enter().append("rect").attr("id",P=>"exclude-"+P.start.format("YYYY-MM-DD")).attr("x",P=>O(P.start.startOf("day"))+F).attr("y",a.gridLineStartPadding).attr("width",P=>O(P.end.endOf("day"))-O(P.start.startOf("day"))).attr("height",v-Y-a.gridLineStartPadding).attr("transform-origin",function(P,R){return(O(P.start)+F+.5*(O(P.end)-O(P.start))).toString()+"px "+(R*b+.5*v).toString()+"px"}).attr("class","exclude-range")}h(W,"drawExcludeDays");function B(b,Y,F,S){const v=r.db.getDateFormat(),U=r.db.getAxisFormat();let l;U?l=U:v==="D"?l="%d":l=a.axisFormat??"%Y-%m-%d";let m=dr(O).tickSize(-S+Y+a.gridLineStartPadding).tickFormat(ne(l));const d=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||a.tickInterval);if(d!==null){const w=d[1],c=d[2],u=r.db.getWeekday()||a.weekday;switch(c){case"millisecond":m.ticks(Yt.every(w));break;case"second":m.ticks(vt.every(w));break;case"minute":m.ticks(Wt.every(w));break;case"hour":m.ticks(Ot.every(w));break;case"day":m.ticks(Tt.every(w));break;case"week":m.ticks(en[u].every(w));break;case"month":m.ticks(Nt.every(w));break}}if(X.append("g").attr("class","grid").attr("transform","translate("+b+", "+(S-50)+")").call(m).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 w=hr(O).tickSize(-S+Y+a.gridLineStartPadding).tickFormat(ne(l));if(d!==null){const c=d[1],u=d[2],o=r.db.getWeekday()||a.weekday;switch(u){case"millisecond":w.ticks(Yt.every(c));break;case"second":w.ticks(vt.every(c));break;case"minute":w.ticks(Wt.every(c));break;case"hour":w.ticks(Ot.every(c));break;case"day":w.ticks(Tt.every(c));break;case"week":w.ticks(en[o].every(c));break;case"month":w.ticks(Nt.every(c));break}}X.append("g").attr("class","grid").attr("transform","translate("+b+", "+Y+")").call(w).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}h(B,"makeGrid");function $(b,Y){let F=0;const S=Object.keys(C).map(v=>[v,C[v]]);X.append("g").selectAll("text").data(S).enter().append(function(v){const U=v[0].split(Vn.lineBreakRegex),l=-(U.length-1)/2,m=_.createElementNS("http://www.w3.org/2000/svg","text");m.setAttribute("dy",l+"em");for(const[T,d]of U.entries()){const w=_.createElementNS("http://www.w3.org/2000/svg","tspan");w.setAttribute("alignment-baseline","central"),w.setAttribute("x","10"),T>0&&w.setAttribute("dy","1em"),w.textContent=d,m.appendChild(w)}return m}).attr("x",10).attr("y",function(v,U){if(U>0)for(let l=0;l<U;l++)return F+=S[U-1][1],v[1]*b/2+F*b+Y;else return v[1]*b/2+Y}).attr("font-size",a.sectionFontSize).attr("class",function(v){for(const[U,l]of E.entries())if(v[0]===l)return"sectionTitle sectionTitle"+U%a.numberSectionStyles;return"sectionTitle"})}h($,"vertLabels");function D(b,Y,F,S){const v=r.db.getTodayMarker();if(v==="off")return;const U=X.append("g").attr("class","today"),l=new Date,m=U.append("line");m.attr("x1",O(l)+b).attr("x2",O(l)+b).attr("y1",a.titleTopMargin).attr("y2",S-a.titleTopMargin).attr("class","today"),v!==""&&m.attr("style",v.replace(/,/g,";"))}h(D,"drawToday");function H(b){const Y={},F=[];for(let S=0,v=b.length;S<v;++S)Object.prototype.hasOwnProperty.call(Y,b[S])||(Y[b[S]]=!0,F.push(b[S]));return F}h(H,"checkUnique")},"draw"),Si={setConf:Ci,draw:_i},Fi=h(t=>`
|
|
7
|
-
.mermaid-main-font {
|
|
8
|
-
font-family: ${t.fontFamily};
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.exclude-range {
|
|
12
|
-
fill: ${t.excludeBkgColor};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.section {
|
|
16
|
-
stroke: none;
|
|
17
|
-
opacity: 0.2;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.section0 {
|
|
21
|
-
fill: ${t.sectionBkgColor};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.section2 {
|
|
25
|
-
fill: ${t.sectionBkgColor2};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.section1,
|
|
29
|
-
.section3 {
|
|
30
|
-
fill: ${t.altSectionBkgColor};
|
|
31
|
-
opacity: 0.2;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.sectionTitle0 {
|
|
35
|
-
fill: ${t.titleColor};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.sectionTitle1 {
|
|
39
|
-
fill: ${t.titleColor};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.sectionTitle2 {
|
|
43
|
-
fill: ${t.titleColor};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.sectionTitle3 {
|
|
47
|
-
fill: ${t.titleColor};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.sectionTitle {
|
|
51
|
-
text-anchor: start;
|
|
52
|
-
font-family: ${t.fontFamily};
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
/* Grid and axis */
|
|
57
|
-
|
|
58
|
-
.grid .tick {
|
|
59
|
-
stroke: ${t.gridColor};
|
|
60
|
-
opacity: 0.8;
|
|
61
|
-
shape-rendering: crispEdges;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.grid .tick text {
|
|
65
|
-
font-family: ${t.fontFamily};
|
|
66
|
-
fill: ${t.textColor};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.grid path {
|
|
70
|
-
stroke-width: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
/* Today line */
|
|
75
|
-
|
|
76
|
-
.today {
|
|
77
|
-
fill: none;
|
|
78
|
-
stroke: ${t.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: ${t.fontFamily};
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.taskTextOutsideRight {
|
|
97
|
-
fill: ${t.taskTextDarkColor};
|
|
98
|
-
text-anchor: start;
|
|
99
|
-
font-family: ${t.fontFamily};
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.taskTextOutsideLeft {
|
|
103
|
-
fill: ${t.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: ${t.taskTextClickableColor} !important;
|
|
117
|
-
font-weight: bold;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.taskTextOutsideLeft.clickable {
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
fill: ${t.taskTextClickableColor} !important;
|
|
123
|
-
font-weight: bold;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.taskTextOutsideRight.clickable {
|
|
127
|
-
cursor: pointer;
|
|
128
|
-
fill: ${t.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: ${t.taskTextColor};
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.task0,
|
|
143
|
-
.task1,
|
|
144
|
-
.task2,
|
|
145
|
-
.task3 {
|
|
146
|
-
fill: ${t.taskBkgColor};
|
|
147
|
-
stroke: ${t.taskBorderColor};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.taskTextOutside0,
|
|
151
|
-
.taskTextOutside2
|
|
152
|
-
{
|
|
153
|
-
fill: ${t.taskTextOutsideColor};
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.taskTextOutside1,
|
|
157
|
-
.taskTextOutside3 {
|
|
158
|
-
fill: ${t.taskTextOutsideColor};
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
/* Active task */
|
|
163
|
-
|
|
164
|
-
.active0,
|
|
165
|
-
.active1,
|
|
166
|
-
.active2,
|
|
167
|
-
.active3 {
|
|
168
|
-
fill: ${t.activeTaskBkgColor};
|
|
169
|
-
stroke: ${t.activeTaskBorderColor};
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.activeText0,
|
|
173
|
-
.activeText1,
|
|
174
|
-
.activeText2,
|
|
175
|
-
.activeText3 {
|
|
176
|
-
fill: ${t.taskTextDarkColor} !important;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
/* Completed task */
|
|
181
|
-
|
|
182
|
-
.done0,
|
|
183
|
-
.done1,
|
|
184
|
-
.done2,
|
|
185
|
-
.done3 {
|
|
186
|
-
stroke: ${t.doneTaskBorderColor};
|
|
187
|
-
fill: ${t.doneTaskBkgColor};
|
|
188
|
-
stroke-width: 2;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.doneText0,
|
|
192
|
-
.doneText1,
|
|
193
|
-
.doneText2,
|
|
194
|
-
.doneText3 {
|
|
195
|
-
fill: ${t.taskTextDarkColor} !important;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
/* Tasks on the critical line */
|
|
200
|
-
|
|
201
|
-
.crit0,
|
|
202
|
-
.crit1,
|
|
203
|
-
.crit2,
|
|
204
|
-
.crit3 {
|
|
205
|
-
stroke: ${t.critBorderColor};
|
|
206
|
-
fill: ${t.critBkgColor};
|
|
207
|
-
stroke-width: 2;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.activeCrit0,
|
|
211
|
-
.activeCrit1,
|
|
212
|
-
.activeCrit2,
|
|
213
|
-
.activeCrit3 {
|
|
214
|
-
stroke: ${t.critBorderColor};
|
|
215
|
-
fill: ${t.activeTaskBkgColor};
|
|
216
|
-
stroke-width: 2;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.doneCrit0,
|
|
220
|
-
.doneCrit1,
|
|
221
|
-
.doneCrit2,
|
|
222
|
-
.doneCrit3 {
|
|
223
|
-
stroke: ${t.critBorderColor};
|
|
224
|
-
fill: ${t.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: ${t.taskTextDarkColor} !important;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.vert {
|
|
245
|
-
stroke: ${t.vertLineColor};
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.vertText {
|
|
249
|
-
font-size: 15px;
|
|
250
|
-
text-anchor: middle;
|
|
251
|
-
fill: ${t.vertLineColor} !important;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.activeCritText0,
|
|
255
|
-
.activeCritText1,
|
|
256
|
-
.activeCritText2,
|
|
257
|
-
.activeCritText3 {
|
|
258
|
-
fill: ${t.taskTextDarkColor} !important;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.titleText {
|
|
262
|
-
text-anchor: middle;
|
|
263
|
-
font-size: 18px;
|
|
264
|
-
fill: ${t.titleColor||t.textColor};
|
|
265
|
-
font-family: ${t.fontFamily};
|
|
266
|
-
}
|
|
267
|
-
`,"getStyles"),Yi=Fi,Wi={parser:za,db:Di,renderer:Si,styles:Yi};export{Wi as diagram};
|