@sme.up/ketchup2 2.0.0-SNAPSHOT-20250905083046 → 2.0.0-SNAPSHOT-20250905085901

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.
Files changed (118) hide show
  1. package/dist/_basePickBy-CnrWHKZp.js +151 -0
  2. package/dist/_basePickBy-DGKSP0gv.cjs +1 -0
  3. package/dist/_baseUniq-CfaAVYmv.cjs +1 -0
  4. package/dist/_baseUniq-rrVUjaHq.js +614 -0
  5. package/dist/arc-Cvsmptc6.js +83 -0
  6. package/dist/arc-DXWJO88c.cjs +1 -0
  7. package/dist/architecture-O4VJ6CD3-Bg5u-0vt.js +5 -0
  8. package/dist/architecture-O4VJ6CD3-DaYZgGoD.cjs +1 -0
  9. package/dist/architectureDiagram-KFL7JDKH-Cc3SNGmS.cjs +36 -0
  10. package/dist/architectureDiagram-KFL7JDKH-D30vYX4H.js +4660 -0
  11. package/dist/blockDiagram-ZYB65J3Q-XNfNJO0n.cjs +122 -0
  12. package/dist/blockDiagram-ZYB65J3Q-sf1yE8If.js +2261 -0
  13. package/dist/c4Diagram-AAMF2YG6-BNCxdxyW.js +1580 -0
  14. package/dist/c4Diagram-AAMF2YG6-BTBu0vwj.cjs +10 -0
  15. package/dist/channel-BlMDdAyt.js +5 -0
  16. package/dist/channel-DeQCp9ft.cjs +1 -0
  17. package/dist/chunk-ANTBXLJU-B62KbLiF.js +8 -0
  18. package/dist/chunk-ANTBXLJU-BjQOW3U7.cjs +1 -0
  19. package/dist/chunk-FHKO5MBM-DWB4p0-W.js +15 -0
  20. package/dist/chunk-FHKO5MBM-DzOslnSz.cjs +1 -0
  21. package/dist/chunk-GLLZNHP4-DDFtxbSr.js +19 -0
  22. package/dist/chunk-GLLZNHP4-DDZwz-lX.cjs +15 -0
  23. package/dist/chunk-JBRWN2VN-BLY_1jNQ.cjs +165 -0
  24. package/dist/chunk-JBRWN2VN-D7vb9zR6.js +1375 -0
  25. package/dist/chunk-LXBSTHXV-BmkvPzxs.cjs +220 -0
  26. package/dist/chunk-LXBSTHXV-Brv31JUq.js +1370 -0
  27. package/dist/chunk-NRVI72HA-Bltdz_dQ.js +19 -0
  28. package/dist/chunk-NRVI72HA-ClkSCOVn.cjs +1 -0
  29. package/dist/chunk-OMD6QJNC--UN3JI3w.cjs +1 -0
  30. package/dist/chunk-OMD6QJNC-D64ATN0N.js +64 -0
  31. package/dist/chunk-WVR4S24B-0YswEo26.cjs +1 -0
  32. package/dist/chunk-WVR4S24B-DiP_ArIP.js +8 -0
  33. package/dist/classDiagram-3BZAVTQC-DWqAc0qT.cjs +1 -0
  34. package/dist/classDiagram-3BZAVTQC-f7jl_VZA.js +16 -0
  35. package/dist/classDiagram-v2-QTMF73CY-DWqAc0qT.cjs +1 -0
  36. package/dist/classDiagram-v2-QTMF73CY-f7jl_VZA.js +16 -0
  37. package/dist/clone-BWcBp581.cjs +1 -0
  38. package/dist/clone-BnZevyiW.js +8 -0
  39. package/dist/cytoscape.esm-CamnA8MN.js +18735 -0
  40. package/dist/cytoscape.esm-uM8noIeE.cjs +331 -0
  41. package/dist/dagre-2BBEFEWP-CUPOuCtr.js +444 -0
  42. package/dist/dagre-2BBEFEWP-DbhCjIet.cjs +4 -0
  43. package/dist/defaultLocale-D7EN2tov.js +171 -0
  44. package/dist/defaultLocale-DIVzfLaQ.cjs +1 -0
  45. package/dist/diagram-4IRLE6MV-CQJ20yhM.cjs +24 -0
  46. package/dist/diagram-4IRLE6MV-DFeMx_Rq.js +532 -0
  47. package/dist/diagram-GUPCWM2R-CLKZFWXo.js +142 -0
  48. package/dist/diagram-GUPCWM2R-DQ8Z1dVv.cjs +24 -0
  49. package/dist/diagram-RP2FKANI-CPEWV2Fk.js +217 -0
  50. package/dist/diagram-RP2FKANI-DUPB9s-y.cjs +43 -0
  51. package/dist/erDiagram-HZWUO2LU-C0Gk1Swz.cjs +60 -0
  52. package/dist/erDiagram-HZWUO2LU-CyY2HjMf.js +841 -0
  53. package/dist/flowDiagram-THRYKUMA-gJkHOeSL.cjs +162 -0
  54. package/dist/flowDiagram-THRYKUMA-w-8EX9wZ.js +1620 -0
  55. package/dist/ganttDiagram-WV7ZQ7D5-CmPXBktC.js +2504 -0
  56. package/dist/ganttDiagram-WV7ZQ7D5-DATuP_Ex.cjs +267 -0
  57. package/dist/gitGraph-ZV4HHKMB-BXu_2mfy.js +5 -0
  58. package/dist/gitGraph-ZV4HHKMB-e_eUYuE2.cjs +1 -0
  59. package/dist/gitGraphDiagram-OJR772UL-D7Q38-er.js +699 -0
  60. package/dist/gitGraphDiagram-OJR772UL-vqgYdo84.cjs +65 -0
  61. package/dist/graph-D2z8dVgI.cjs +1 -0
  62. package/dist/graph-fWVDVASg.js +247 -0
  63. package/dist/index-CBHQ10D6.js +23234 -0
  64. package/dist/index-CH3q61Aa.cjs +266 -0
  65. package/dist/index.d.ts +6 -0
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/info-63CPKGFF-B6aHvvSX.js +5 -0
  68. package/dist/info-63CPKGFF-B7Bgcqhg.cjs +1 -0
  69. package/dist/infoDiagram-DDUCL6P7-Bb42gyGF.cjs +2 -0
  70. package/dist/infoDiagram-DDUCL6P7-G8W4Cyzb.js +24 -0
  71. package/dist/init-CHZsXQcr.cjs +1 -0
  72. package/dist/init-DjUOC4st.js +16 -0
  73. package/dist/journeyDiagram-FFXJYRFH-Bck7isLB.js +836 -0
  74. package/dist/journeyDiagram-FFXJYRFH-DFTMezSW.cjs +139 -0
  75. package/dist/kanban-definition-KOZQBZVT-Bf4fYslI.cjs +89 -0
  76. package/dist/kanban-definition-KOZQBZVT-hP_ZGt4S.js +719 -0
  77. package/dist/katex-C2g-EhzP.cjs +261 -0
  78. package/dist/katex-CUSbq6rG.js +11692 -0
  79. package/dist/ketchup2.cjs.js +1 -50
  80. package/dist/ketchup2.css +1 -1
  81. package/dist/ketchup2.es.js +23 -8127
  82. package/dist/layout-B-lXVQQa.cjs +1 -0
  83. package/dist/layout-CSXO9mhe.js +1324 -0
  84. package/dist/linear-BZgyGW2T.cjs +1 -0
  85. package/dist/linear-Cx2KaZOo.js +259 -0
  86. package/dist/mermaid-parser.core-COPhuhoR.js +12966 -0
  87. package/dist/mermaid-parser.core-DgsyN-z8.cjs +128 -0
  88. package/dist/mindmap-definition-LNHGMQRG-DJsQpf8y.cjs +95 -0
  89. package/dist/mindmap-definition-LNHGMQRG-DQUm__JP.js +3230 -0
  90. package/dist/ordinal-CagbB1m8.cjs +1 -0
  91. package/dist/ordinal-DfAQgscy.js +61 -0
  92. package/dist/packet-HUATNLJX-C2VUbl0T.js +5 -0
  93. package/dist/packet-HUATNLJX-G8eR5ynJ.cjs +1 -0
  94. package/dist/pie-WTHONI2E-CfCIU8Tr.cjs +1 -0
  95. package/dist/pie-WTHONI2E-D4qp2Ay_.js +5 -0
  96. package/dist/pieDiagram-DBDJKBY4-DqPdbFqw.cjs +30 -0
  97. package/dist/pieDiagram-DBDJKBY4-nGyOC7-l.js +161 -0
  98. package/dist/quadrantDiagram-YPSRARAO-DF8AYAxY.cjs +7 -0
  99. package/dist/quadrantDiagram-YPSRARAO-hyzkVUsQ.js +1022 -0
  100. package/dist/radar-NJJJXTRR-BpgvgEoJ.cjs +1 -0
  101. package/dist/radar-NJJJXTRR-DJxmCfQM.js +5 -0
  102. package/dist/requirementDiagram-EGVEC5DT-DOtzLvFO.cjs +64 -0
  103. package/dist/requirementDiagram-EGVEC5DT-RXOLhPE3.js +850 -0
  104. package/dist/sankeyDiagram-HRAUVNP4-CUoOlfVB.cjs +10 -0
  105. package/dist/sankeyDiagram-HRAUVNP4-DGFS1jVK.js +810 -0
  106. package/dist/sequenceDiagram-4MX5Z3NR-Cx06uio3.js +2281 -0
  107. package/dist/sequenceDiagram-4MX5Z3NR-DoW8n1Xr.cjs +122 -0
  108. package/dist/stateDiagram-UUKSUZ4H-Burg3mSA.cjs +1 -0
  109. package/dist/stateDiagram-UUKSUZ4H-C2OsUgT8.js +263 -0
  110. package/dist/stateDiagram-v2-EYPG3UTE-CVHvpjP1.cjs +1 -0
  111. package/dist/stateDiagram-v2-EYPG3UTE-DL1ew380.js +16 -0
  112. package/dist/timeline-definition-3HZDQTIS-B66f0uxR.cjs +61 -0
  113. package/dist/timeline-definition-3HZDQTIS-Bos8RJ8U.js +797 -0
  114. package/dist/treemap-75Q7IDZK-DyG1W8W-.cjs +1 -0
  115. package/dist/treemap-75Q7IDZK-Dynfjwww.js +5 -0
  116. package/dist/xychartDiagram-FDP5SA34-BzWuQtxg.js +1340 -0
  117. package/dist/xychartDiagram-FDP5SA34-CvgmaqN1.cjs +7 -0
  118. package/package.json +3 -3
@@ -0,0 +1,267 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-CH3q61Aa.cjs"),De=require("./linear-BZgyGW2T.cjs"),bn=require("./init-CHZsXQcr.cjs");function wn(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 Cn(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 Dn(e){return e}var qe=1,rt=2,ht=3,je=4,Et=1e-6;function Mn(e){return"translate("+e+",0)"}function Sn(e){return"translate(0,"+e+")"}function Fn(e){return t=>+e(t)}function Yn(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function Un(){return!this.__axis}function $t(e,t){var n=[],r=null,a=null,i=6,o=6,y=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:.5,p=e===qe||e===je?-1:1,g=e===je||e===rt?"x":"y",E=e===qe||e===ht?Mn:Sn;function C(_){var Z=r??(t.ticks?t.ticks.apply(t,n):t.domain()),O=a??(t.tickFormat?t.tickFormat.apply(t,n):Dn),D=Math.max(i,0)+y,I=t.range(),P=+I[0]+M,W=+I[I.length-1]+M,q=(t.bandwidth?Yn:Fn)(t.copy(),M),$=_.selection?_.selection():_,w=$.selectAll(".domain").data([null]),H=$.selectAll(".tick").data(Z,t).order(),x=H.exit(),Y=H.enter().append("g").attr("class","tick"),F=H.select("line"),S=H.select("text");w=w.merge(w.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*D).attr("dy",e===qe?"0em":e===ht?"0.71em":"0.32em")),_!==$&&(w=w.transition(_),H=H.transition(_),F=F.transition(_),S=S.transition(_),x=x.transition(_).attr("opacity",Et).attr("transform",function(v){return isFinite(v=q(v))?E(v+M):this.getAttribute("transform")}),Y.attr("opacity",Et).attr("transform",function(v){var U=this.parentNode.__axis;return E((U&&isFinite(U=U(v))?U:q(v))+M)})),x.remove(),w.attr("d",e===je||e===rt?o?"M"+p*o+","+P+"H"+M+"V"+W+"H"+p*o:"M"+M+","+P+"V"+W:o?"M"+P+","+p*o+"V"+M+"H"+W+"V"+p*o:"M"+P+","+M+"H"+W),H.attr("opacity",1).attr("transform",function(v){return E(q(v)+M)}),F.attr(g+"2",p*i),S.attr(g,p*D).text(O),$.filter(Un).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===rt?"start":e===je?"end":"middle"),$.each(function(){this.__axis=q})}return C.scale=function(_){return arguments.length?(t=_,C):t},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(_){return arguments.length?(n=_==null?[]:Array.from(_),C):n.slice()},C.tickValues=function(_){return arguments.length?(r=_==null?null:Array.from(_),C):r&&r.slice()},C.tickFormat=function(_){return arguments.length?(a=_,C):a},C.tickSize=function(_){return arguments.length?(i=o=+_,C):i},C.tickSizeInner=function(_){return arguments.length?(i=+_,C):i},C.tickSizeOuter=function(_){return arguments.length?(o=+_,C):o},C.tickPadding=function(_){return arguments.length?(y=+_,C):y},C.offset=function(_){return arguments.length?(M=+_,C):M},C}function En(e){return $t(qe,e)}function An(e){return $t(ht,e)}const Ln=Math.PI/180,In=180/Math.PI,Qe=18,Qt=.96422,Jt=1,Kt=.82521,en=4/29,Me=6/29,tn=3*Me*Me,Wn=Me*Me*Me;function nn(e){if(e instanceof ue)return new ue(e.l,e.a,e.b,e.opacity);if(e instanceof de)return rn(e);e instanceof s.Rgb||(e=s.rgbConvert(e));var t=ot(e.r),n=ot(e.g),r=ot(e.b),a=at((.2225045*t+.7168786*n+.0606169*r)/Jt),i,o;return t===n&&n===r?i=o=a:(i=at((.4360747*t+.3850649*n+.1430804*r)/Qt),o=at((.0139322*t+.0971045*n+.7141733*r)/Kt)),new ue(116*a-16,500*(i-a),200*(a-o),e.opacity)}function On(e,t,n,r){return arguments.length===1?nn(e):new ue(e,t,n,r??1)}function ue(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}s.define(ue,On,s.extend(s.Color$1,{brighter(e){return new ue(this.l+Qe*(e??1),this.a,this.b,this.opacity)},darker(e){return new ue(this.l-Qe*(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=Qt*it(t),e=Jt*it(e),n=Kt*it(n),new s.Rgb(st(3.1338561*t-1.6168667*e-.4906146*n),st(-.9787684*t+1.9161415*e+.033454*n),st(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function at(e){return e>Wn?Math.pow(e,1/3):e/tn+en}function it(e){return e>Me?e*e*e:tn*(e-en)}function st(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ot(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Hn(e){if(e instanceof de)return new de(e.h,e.c,e.l,e.opacity);if(e instanceof ue||(e=nn(e)),e.a===0&&e.b===0)return new de(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*In;return new de(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function mt(e,t,n,r){return arguments.length===1?Hn(e):new de(e,t,n,r??1)}function de(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function rn(e){if(isNaN(e.h))return new ue(e.l,0,0,e.opacity);var t=e.h*Ln;return new ue(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}s.define(de,mt,s.extend(s.Color$1,{brighter(e){return new de(this.h,this.c,this.l+Qe*(e??1),this.opacity)},darker(e){return new de(this.h,this.c,this.l-Qe*(e??1),this.opacity)},rgb(){return rn(this).rgb()}}));function Nn(e){return function(t,n){var r=e((t=mt(t)).h,(n=mt(n)).h),a=s.nogamma(t.c,n.c),i=s.nogamma(t.l,n.l),o=s.nogamma(t.opacity,n.opacity);return function(y){return t.h=r(y),t.c=a(y),t.l=i(y),t.opacity=o(y),t+""}}}const Pn=Nn(s.hue);function Vn(e,t){e=e.slice();var n=0,r=e.length-1,a=e[n],i=e[r],o;return i<a&&(o=n,n=r,r=o,o=a,a=i,i=o),e[n]=t.floor(a),e[r]=t.ceil(i),e}const ct=new Date,lt=new Date;function te(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 o=a(i),y=a.ceil(i);return i-o<y-i?o:y},a.offset=(i,o)=>(t(i=new Date(+i),o==null?1:Math.floor(o)),i),a.range=(i,o,y)=>{const M=[];if(i=a.ceil(i),y=y==null?1:Math.floor(y),!(i<o)||!(y>0))return M;let p;do M.push(p=new Date(+i)),t(i,y),e(i);while(p<i&&i<o);return M},a.filter=i=>te(o=>{if(o>=o)for(;e(o),!i(o);)o.setTime(o-1)},(o,y)=>{if(o>=o)if(y<0)for(;++y<=0;)for(;t(o,-1),!i(o););else for(;--y>=0;)for(;t(o,1),!i(o););}),n&&(a.count=(i,o)=>(ct.setTime(+i),lt.setTime(+o),e(ct),e(lt),Math.floor(n(ct,lt))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?o=>r(o)%i===0:o=>a.count(0,o)%i===0):a)),a}const Fe=te(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Fe.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?te(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Fe);Fe.range;const he=1e3,oe=he*60,me=oe*60,ge=me*24,vt=ge*7,At=ge*30,ut=ge*365,pe=te(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*he)},(e,t)=>(t-e)/he,e=>e.getUTCSeconds());pe.range;const Ie=te(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*he)},(e,t)=>{e.setTime(+e+t*oe)},(e,t)=>(t-e)/oe,e=>e.getMinutes());Ie.range;const zn=te(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*oe)},(e,t)=>(t-e)/oe,e=>e.getUTCMinutes());zn.range;const We=te(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*he-e.getMinutes()*oe)},(e,t)=>{e.setTime(+e+t*me)},(e,t)=>(t-e)/me,e=>e.getHours());We.range;const Rn=te(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*me)},(e,t)=>(t-e)/me,e=>e.getUTCHours());Rn.range;const ve=te(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*oe)/ge,e=>e.getDate()-1);ve.range;const Tt=te(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ge,e=>e.getUTCDate()-1);Tt.range;const jn=te(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ge,e=>Math.floor(e/ge));jn.range;function xe(e){return te(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())*oe)/vt)}const Ne=xe(0),Oe=xe(1),an=xe(2),sn=xe(3),Te=xe(4),on=xe(5),cn=xe(6);Ne.range;Oe.range;an.range;sn.range;Te.range;on.range;cn.range;function be(e){return te(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)/vt)}const ln=be(0),Je=be(1),qn=be(2),Bn=be(3),Ye=be(4),Zn=be(5),Xn=be(6);ln.range;Je.range;qn.range;Bn.range;Ye.range;Zn.range;Xn.range;const He=te(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());He.range;const Gn=te(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());Gn.range;const ye=te(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());ye.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:te(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)});ye.range;const _e=te(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());_e.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:te(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)});_e.range;function $n(e,t,n,r,a,i){const o=[[pe,1,he],[pe,5,5*he],[pe,15,15*he],[pe,30,30*he],[i,1,oe],[i,5,5*oe],[i,15,15*oe],[i,30,30*oe],[a,1,me],[a,3,3*me],[a,6,6*me],[a,12,12*me],[r,1,ge],[r,2,2*ge],[n,1,vt],[t,1,At],[t,3,3*At],[e,1,ut]];function y(p,g,E){const C=g<p;C&&([p,g]=[g,p]);const _=E&&typeof E.range=="function"?E:M(p,g,E),Z=_?_.range(p,+g+1):[];return C?Z.reverse():Z}function M(p,g,E){const C=Math.abs(g-p)/E,_=De.bisector(([,,D])=>D).right(o,C);if(_===o.length)return e.every(De.tickStep(p/ut,g/ut,E));if(_===0)return Fe.every(Math.max(De.tickStep(p,g,E),1));const[Z,O]=o[C/o[_-1][2]<o[_][2]/C?_-1:_];return Z.every(O)}return[y,M]}const[Qn,Jn]=$n(ye,He,Ne,ve,We,Ie);function ft(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 dt(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 Ee(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function Kn(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,i=e.days,o=e.shortDays,y=e.months,M=e.shortMonths,p=Ae(a),g=Le(a),E=Ae(i),C=Le(i),_=Ae(o),Z=Le(o),O=Ae(y),D=Le(y),I=Ae(M),P=Le(M),W={a:h,A:b,b:l,B:u,c:null,d:Nt,e:Nt,f:xr,g:Er,G:Lr,H:vr,I:Tr,j:_r,L:un,m:br,M:wr,p:c,q:z,Q:zt,s:Rt,S:Cr,u:Dr,U:Mr,V:Sr,w:Fr,W:Yr,x:null,X:null,y:Ur,Y:Ar,Z:Ir,"%":Vt},q={a:V,A:R,b:K,B:X,c:null,d:Pt,e:Pt,f:Nr,g:Gr,G:Qr,H:Wr,I:Or,j:Hr,L:dn,m:Pr,M:Vr,p:Q,q:ae,Q:zt,s:Rt,S:zr,u:Rr,U:jr,V:qr,w:Br,W:Zr,x:null,X:null,y:Xr,Y:$r,Z:Jr,"%":Vt},$={a:F,A:S,b:v,B:U,c:f,d:Ot,e:Ot,f:gr,g:Wt,G:It,H:Ht,I:Ht,j:fr,L:mr,m:ur,M:dr,p:Y,q:lr,Q:kr,s:pr,S:hr,u:ar,U:ir,V:sr,w:rr,W:or,x:m,X:T,y:Wt,Y:It,Z:cr,"%":yr};W.x=w(n,W),W.X=w(r,W),W.c=w(t,W),q.x=w(n,q),q.X=w(r,q),q.c=w(t,q);function w(k,L){return function(N){var d=[],J=-1,A=0,G=k.length,B,re,ie;for(N instanceof Date||(N=new Date(+N));++J<G;)k.charCodeAt(J)===37&&(d.push(k.slice(A,J)),(re=Lt[B=k.charAt(++J)])!=null?B=k.charAt(++J):re=B==="e"?" ":"0",(ie=L[B])&&(B=ie(N,re)),d.push(B),A=J+1);return d.push(k.slice(A,J)),d.join("")}}function H(k,L){return function(N){var d=Ee(1900,void 0,1),J=x(d,k,N+="",0),A,G;if(J!=N.length)return null;if("Q"in d)return new Date(d.Q);if("s"in d)return new Date(d.s*1e3+("L"in d?d.L:0));if(L&&!("Z"in d)&&(d.Z=0),"p"in d&&(d.H=d.H%12+d.p*12),d.m===void 0&&(d.m="q"in d?d.q:0),"V"in d){if(d.V<1||d.V>53)return null;"w"in d||(d.w=1),"Z"in d?(A=dt(Ee(d.y,0,1)),G=A.getUTCDay(),A=G>4||G===0?Je.ceil(A):Je(A),A=Tt.offset(A,(d.V-1)*7),d.y=A.getUTCFullYear(),d.m=A.getUTCMonth(),d.d=A.getUTCDate()+(d.w+6)%7):(A=ft(Ee(d.y,0,1)),G=A.getDay(),A=G>4||G===0?Oe.ceil(A):Oe(A),A=ve.offset(A,(d.V-1)*7),d.y=A.getFullYear(),d.m=A.getMonth(),d.d=A.getDate()+(d.w+6)%7)}else("W"in d||"U"in d)&&("w"in d||(d.w="u"in d?d.u%7:"W"in d?1:0),G="Z"in d?dt(Ee(d.y,0,1)).getUTCDay():ft(Ee(d.y,0,1)).getDay(),d.m=0,d.d="W"in d?(d.w+6)%7+d.W*7-(G+5)%7:d.w+d.U*7-(G+6)%7);return"Z"in d?(d.H+=d.Z/100|0,d.M+=d.Z%100,dt(d)):ft(d)}}function x(k,L,N,d){for(var J=0,A=L.length,G=N.length,B,re;J<A;){if(d>=G)return-1;if(B=L.charCodeAt(J++),B===37){if(B=L.charAt(J++),re=$[B in Lt?L.charAt(J++):B],!re||(d=re(k,N,d))<0)return-1}else if(B!=N.charCodeAt(d++))return-1}return d}function Y(k,L,N){var d=p.exec(L.slice(N));return d?(k.p=g.get(d[0].toLowerCase()),N+d[0].length):-1}function F(k,L,N){var d=_.exec(L.slice(N));return d?(k.w=Z.get(d[0].toLowerCase()),N+d[0].length):-1}function S(k,L,N){var d=E.exec(L.slice(N));return d?(k.w=C.get(d[0].toLowerCase()),N+d[0].length):-1}function v(k,L,N){var d=I.exec(L.slice(N));return d?(k.m=P.get(d[0].toLowerCase()),N+d[0].length):-1}function U(k,L,N){var d=O.exec(L.slice(N));return d?(k.m=D.get(d[0].toLowerCase()),N+d[0].length):-1}function f(k,L,N){return x(k,t,L,N)}function m(k,L,N){return x(k,n,L,N)}function T(k,L,N){return x(k,r,L,N)}function h(k){return o[k.getDay()]}function b(k){return i[k.getDay()]}function l(k){return M[k.getMonth()]}function u(k){return y[k.getMonth()]}function c(k){return a[+(k.getHours()>=12)]}function z(k){return 1+~~(k.getMonth()/3)}function V(k){return o[k.getUTCDay()]}function R(k){return i[k.getUTCDay()]}function K(k){return M[k.getUTCMonth()]}function X(k){return y[k.getUTCMonth()]}function Q(k){return a[+(k.getUTCHours()>=12)]}function ae(k){return 1+~~(k.getUTCMonth()/3)}return{format:function(k){var L=w(k+="",W);return L.toString=function(){return k},L},parse:function(k){var L=H(k+="",!1);return L.toString=function(){return k},L},utcFormat:function(k){var L=w(k+="",q);return L.toString=function(){return k},L},utcParse:function(k){var L=H(k+="",!0);return L.toString=function(){return k},L}}}var Lt={"-":"",_:" ",0:"0"},ne=/^\s*\d+/,er=/^%/,tr=/[\\^$*+?|[\]().{}]/g;function j(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 nr(e){return e.replace(tr,"\\$&")}function Ae(e){return new RegExp("^(?:"+e.map(nr).join("|")+")","i")}function Le(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function rr(e,t,n){var r=ne.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ar(e,t,n){var r=ne.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function ir(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function sr(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function or(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function It(e,t,n){var r=ne.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Wt(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function cr(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 lr(e,t,n){var r=ne.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function ur(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ot(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function fr(e,t,n){var r=ne.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Ht(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function dr(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function hr(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function mr(e,t,n){var r=ne.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function gr(e,t,n){var r=ne.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function yr(e,t,n){var r=er.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function kr(e,t,n){var r=ne.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function pr(e,t,n){var r=ne.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Nt(e,t){return j(e.getDate(),t,2)}function vr(e,t){return j(e.getHours(),t,2)}function Tr(e,t){return j(e.getHours()%12||12,t,2)}function _r(e,t){return j(1+ve.count(ye(e),e),t,3)}function un(e,t){return j(e.getMilliseconds(),t,3)}function xr(e,t){return un(e,t)+"000"}function br(e,t){return j(e.getMonth()+1,t,2)}function wr(e,t){return j(e.getMinutes(),t,2)}function Cr(e,t){return j(e.getSeconds(),t,2)}function Dr(e){var t=e.getDay();return t===0?7:t}function Mr(e,t){return j(Ne.count(ye(e)-1,e),t,2)}function fn(e){var t=e.getDay();return t>=4||t===0?Te(e):Te.ceil(e)}function Sr(e,t){return e=fn(e),j(Te.count(ye(e),e)+(ye(e).getDay()===4),t,2)}function Fr(e){return e.getDay()}function Yr(e,t){return j(Oe.count(ye(e)-1,e),t,2)}function Ur(e,t){return j(e.getFullYear()%100,t,2)}function Er(e,t){return e=fn(e),j(e.getFullYear()%100,t,2)}function Ar(e,t){return j(e.getFullYear()%1e4,t,4)}function Lr(e,t){var n=e.getDay();return e=n>=4||n===0?Te(e):Te.ceil(e),j(e.getFullYear()%1e4,t,4)}function Ir(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+j(t/60|0,"0",2)+j(t%60,"0",2)}function Pt(e,t){return j(e.getUTCDate(),t,2)}function Wr(e,t){return j(e.getUTCHours(),t,2)}function Or(e,t){return j(e.getUTCHours()%12||12,t,2)}function Hr(e,t){return j(1+Tt.count(_e(e),e),t,3)}function dn(e,t){return j(e.getUTCMilliseconds(),t,3)}function Nr(e,t){return dn(e,t)+"000"}function Pr(e,t){return j(e.getUTCMonth()+1,t,2)}function Vr(e,t){return j(e.getUTCMinutes(),t,2)}function zr(e,t){return j(e.getUTCSeconds(),t,2)}function Rr(e){var t=e.getUTCDay();return t===0?7:t}function jr(e,t){return j(ln.count(_e(e)-1,e),t,2)}function hn(e){var t=e.getUTCDay();return t>=4||t===0?Ye(e):Ye.ceil(e)}function qr(e,t){return e=hn(e),j(Ye.count(_e(e),e)+(_e(e).getUTCDay()===4),t,2)}function Br(e){return e.getUTCDay()}function Zr(e,t){return j(Je.count(_e(e)-1,e),t,2)}function Xr(e,t){return j(e.getUTCFullYear()%100,t,2)}function Gr(e,t){return e=hn(e),j(e.getUTCFullYear()%100,t,2)}function $r(e,t){return j(e.getUTCFullYear()%1e4,t,4)}function Qr(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Ye(e):Ye.ceil(e),j(e.getUTCFullYear()%1e4,t,4)}function Jr(){return"+0000"}function Vt(){return"%"}function zt(e){return+e}function Rt(e){return Math.floor(+e/1e3)}var Ce,Ke;Kr({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 Kr(e){return Ce=Kn(e),Ke=Ce.format,Ce.parse,Ce.utcFormat,Ce.utcParse,Ce}function ea(e){return new Date(e)}function ta(e){return e instanceof Date?+e:+new Date(+e)}function mn(e,t,n,r,a,i,o,y,M,p){var g=De.continuous(),E=g.invert,C=g.domain,_=p(".%L"),Z=p(":%S"),O=p("%I:%M"),D=p("%I %p"),I=p("%a %d"),P=p("%b %d"),W=p("%B"),q=p("%Y");function $(w){return(M(w)<w?_:y(w)<w?Z:o(w)<w?O:i(w)<w?D:r(w)<w?a(w)<w?I:P:n(w)<w?W:q)(w)}return g.invert=function(w){return new Date(E(w))},g.domain=function(w){return arguments.length?C(Array.from(w,ta)):C().map(ea)},g.ticks=function(w){var H=C();return e(H[0],H[H.length-1],w??10)},g.tickFormat=function(w,H){return H==null?$:p(H)},g.nice=function(w){var H=C();return(!w||typeof w.range!="function")&&(w=t(H[0],H[H.length-1],w??10)),w?C(Vn(H,w)):g},g.copy=function(){return De.copy(g,mn(e,t,n,r,a,i,o,y,M,p))},g}function na(){return bn.initRange.apply(mn(Qn,Jn,ye,He,Ne,ve,We,Ie,pe,Ke).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Be={exports:{}},ra=Be.exports,jt;function aa(){return jt||(jt=1,function(e,t){(function(n,r){e.exports=r()})(ra,function(){var n="day";return function(r,a,i){var o=function(p){return p.add(4-p.isoWeekday(),n)},y=a.prototype;y.isoWeekYear=function(){return o(this).year()},y.isoWeek=function(p){if(!this.$utils().u(p))return this.add(7*(p-this.isoWeek()),n);var g,E,C,_,Z=o(this),O=(g=this.isoWeekYear(),E=this.$u,C=(E?i.utc:i)().year(g).startOf("year"),_=4-C.isoWeekday(),C.isoWeekday()>4&&(_+=7),C.add(_,n));return Z.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 M=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"):M.bind(this)(p,g)}}})}(Be)),Be.exports}var ia=aa();const sa=s.getDefaultExportFromCjs(ia);var Ze={exports:{}},oa=Ze.exports,qt;function ca(){return qt||(qt=1,function(e,t){(function(n,r){e.exports=r()})(oa,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/,o=/\d\d?/,y=/\d*[^-_:/,()\s\d]+/,M={},p=function(D){return(D=+D)+(D>68?1900:2e3)},g=function(D){return function(I){this[D]=+I}},E=[/[+-]\d\d:?(\d\d)?|Z/,function(D){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var P=I.match(/([+-]|\d\d)/g),W=60*P[1]+(+P[2]||0);return W===0?0:P[0]==="+"?-W:W}(D)}],C=function(D){var I=M[D];return I&&(I.indexOf?I:I.s.concat(I.f))},_=function(D,I){var P,W=M.meridiem;if(W){for(var q=1;q<=24;q+=1)if(D.indexOf(W(q,0,I))>-1){P=q>12;break}}else P=D===(I?"pm":"PM");return P},Z={A:[y,function(D){this.afternoon=_(D,!1)}],a:[y,function(D){this.afternoon=_(D,!0)}],Q:[a,function(D){this.month=3*(D-1)+1}],S:[a,function(D){this.milliseconds=100*+D}],SS:[i,function(D){this.milliseconds=10*+D}],SSS:[/\d{3}/,function(D){this.milliseconds=+D}],s:[o,g("seconds")],ss:[o,g("seconds")],m:[o,g("minutes")],mm:[o,g("minutes")],H:[o,g("hours")],h:[o,g("hours")],HH:[o,g("hours")],hh:[o,g("hours")],D:[o,g("day")],DD:[i,g("day")],Do:[y,function(D){var I=M.ordinal,P=D.match(/\d+/);if(this.day=P[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===D&&(this.day=W)}],w:[o,g("week")],ww:[i,g("week")],M:[o,g("month")],MM:[i,g("month")],MMM:[y,function(D){var I=C("months"),P=(C("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(D)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[y,function(D){var I=C("months").indexOf(D)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(D){this.year=p(D)}],YYYY:[/\d{4}/,g("year")],Z:E,ZZ:E};function O(D){var I,P;I=D,P=M&&M.formats;for(var W=(D=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(F,S,v){var U=v&&v.toUpperCase();return S||P[v]||n[v]||P[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(f,m,T){return m||T.slice(1)})})).match(r),q=W.length,$=0;$<q;$+=1){var w=W[$],H=Z[w],x=H&&H[0],Y=H&&H[1];W[$]=Y?{regex:x,parser:Y}:w.replace(/^\[|\]$/g,"")}return function(F){for(var S={},v=0,U=0;v<q;v+=1){var f=W[v];if(typeof f=="string")U+=f.length;else{var m=f.regex,T=f.parser,h=F.slice(U),b=m.exec(h)[0];T.call(S,b),F=F.replace(b,"")}}return function(l){var u=l.afternoon;if(u!==void 0){var c=l.hours;u?c<12&&(l.hours+=12):c===12&&(l.hours=0),delete l.afternoon}}(S),S}}return function(D,I,P){P.p.customParseFormat=!0,D&&D.parseTwoDigitYear&&(p=D.parseTwoDigitYear);var W=I.prototype,q=W.parse;W.parse=function($){var w=$.date,H=$.utc,x=$.args;this.$u=H;var Y=x[1];if(typeof Y=="string"){var F=x[2]===!0,S=x[3]===!0,v=F||S,U=x[2];S&&(U=x[2]),M=this.$locale(),!F&&U&&(M=P.Ls[U]),this.$d=function(h,b,l,u){try{if(["x","X"].indexOf(b)>-1)return new Date((b==="X"?1e3:1)*h);var c=O(b)(h),z=c.year,V=c.month,R=c.day,K=c.hours,X=c.minutes,Q=c.seconds,ae=c.milliseconds,k=c.zone,L=c.week,N=new Date,d=R||(z||V?1:N.getDate()),J=z||N.getFullYear(),A=0;z&&!V||(A=V>0?V-1:N.getMonth());var G,B=K||0,re=X||0,ie=Q||0,ke=ae||0;return k?new Date(Date.UTC(J,A,d,B,re,ie,ke+60*k.offset*1e3)):l?new Date(Date.UTC(J,A,d,B,re,ie,ke)):(G=new Date(J,A,d,B,re,ie,ke),L&&(G=u(G).week(L).toDate()),G)}catch{return new Date("")}}(w,Y,H,P),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),v&&w!=this.format(Y)&&(this.$d=new Date("")),M={}}else if(Y instanceof Array)for(var f=Y.length,m=1;m<=f;m+=1){x[1]=Y[m-1];var T=P.apply(this,x);if(T.isValid()){this.$d=T.$d,this.$L=T.$L,this.init();break}m===f&&(this.$d=new Date(""))}else q.call(this,$)}}})}(Ze)),Ze.exports}var la=ca();const ua=s.getDefaultExportFromCjs(la);var Xe={exports:{}},fa=Xe.exports,Bt;function da(){return Bt||(Bt=1,function(e,t){(function(n,r){e.exports=r()})(fa,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(o){var y=this,M=this.$locale();if(!this.isValid())return i.bind(this)(o);var p=this.$utils(),g=(o||"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 M.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return M.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)}}})}(Xe)),Xe.exports}var ha=da();const ma=s.getDefaultExportFromCjs(ha);var gt=function(){var e=s.__name(function(U,f,m,T){for(m=m||{},T=U.length;T--;m[U[T]]=f);return m},"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],o=[1,30],y=[1,31],M=[1,32],p=[1,33],g=[1,34],E=[1,9],C=[1,10],_=[1,11],Z=[1,12],O=[1,13],D=[1,14],I=[1,15],P=[1,16],W=[1,19],q=[1,20],$=[1,21],w=[1,22],H=[1,23],x=[1,25],Y=[1,35],F={trace:s.__name(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:s.__name(function(f,m,T,h,b,l,u){var c=l.length-1;switch(b){case 1:return l[c-1];case 2:this.$=[];break;case 3:l[c-1].push(l[c]),this.$=l[c-1];break;case 4:case 5:this.$=l[c];break;case 6:case 7:this.$=[];break;case 8:h.setWeekday("monday");break;case 9:h.setWeekday("tuesday");break;case 10:h.setWeekday("wednesday");break;case 11:h.setWeekday("thursday");break;case 12:h.setWeekday("friday");break;case 13:h.setWeekday("saturday");break;case 14:h.setWeekday("sunday");break;case 15:h.setWeekend("friday");break;case 16:h.setWeekend("saturday");break;case 17:h.setDateFormat(l[c].substr(11)),this.$=l[c].substr(11);break;case 18:h.enableInclusiveEndDates(),this.$=l[c].substr(18);break;case 19:h.TopAxis(),this.$=l[c].substr(8);break;case 20:h.setAxisFormat(l[c].substr(11)),this.$=l[c].substr(11);break;case 21:h.setTickInterval(l[c].substr(13)),this.$=l[c].substr(13);break;case 22:h.setExcludes(l[c].substr(9)),this.$=l[c].substr(9);break;case 23:h.setIncludes(l[c].substr(9)),this.$=l[c].substr(9);break;case 24:h.setTodayMarker(l[c].substr(12)),this.$=l[c].substr(12);break;case 27:h.setDiagramTitle(l[c].substr(6)),this.$=l[c].substr(6);break;case 28:this.$=l[c].trim(),h.setAccTitle(this.$);break;case 29:case 30:this.$=l[c].trim(),h.setAccDescription(this.$);break;case 31:h.addSection(l[c].substr(8)),this.$=l[c].substr(8);break;case 33:h.addTask(l[c-1],l[c]),this.$="task";break;case 34:this.$=l[c-1],h.setClickEvent(l[c-1],l[c],null);break;case 35:this.$=l[c-2],h.setClickEvent(l[c-2],l[c-1],l[c]);break;case 36:this.$=l[c-2],h.setClickEvent(l[c-2],l[c-1],null),h.setLink(l[c-2],l[c]);break;case 37:this.$=l[c-3],h.setClickEvent(l[c-3],l[c-2],l[c-1]),h.setLink(l[c-3],l[c]);break;case 38:this.$=l[c-2],h.setClickEvent(l[c-2],l[c],null),h.setLink(l[c-2],l[c-1]);break;case 39:this.$=l[c-3],h.setClickEvent(l[c-3],l[c-1],l[c]),h.setLink(l[c-3],l[c-2]);break;case 40:this.$=l[c-1],h.setLink(l[c-1],l[c]);break;case 41:case 47:this.$=l[c-1]+" "+l[c];break;case 42:case 43:case 45:this.$=l[c-2]+" "+l[c-1]+" "+l[c];break;case 44:case 46:this.$=l[c-3]+" "+l[c-2]+" "+l[c-1]+" "+l[c];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:o,17:y,18:M,19:18,20:p,21:g,22:E,23:C,24:_,25:Z,26:O,27:D,28:I,29:P,30:W,31:q,33:$,35:w,36:H,37:24,38:x,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:o,17:y,18:M,19:18,20:p,21:g,22:E,23:C,24:_,25:Z,26:O,27:D,28:I,29:P,30:W,31:q,33:$,35:w,36:H,37:24,38:x,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:s.__name(function(f,m){if(m.recoverable)this.trace(f);else{var T=new Error(f);throw T.hash=m,T}},"parseError"),parse:s.__name(function(f){var m=this,T=[0],h=[],b=[null],l=[],u=this.table,c="",z=0,V=0,R=2,K=1,X=l.slice.call(arguments,1),Q=Object.create(this.lexer),ae={yy:{}};for(var k in this.yy)Object.prototype.hasOwnProperty.call(this.yy,k)&&(ae.yy[k]=this.yy[k]);Q.setInput(f,ae.yy),ae.yy.lexer=Q,ae.yy.parser=this,typeof Q.yylloc>"u"&&(Q.yylloc={});var L=Q.yylloc;l.push(L);var N=Q.options&&Q.options.ranges;typeof ae.yy.parseError=="function"?this.parseError=ae.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d(se){T.length=T.length-2*se,b.length=b.length-se,l.length=l.length-se}s.__name(d,"popStack");function J(){var se;return se=h.pop()||Q.lex()||K,typeof se!="number"&&(se instanceof Array&&(h=se,se=h.pop()),se=m.symbols_[se]||se),se}s.__name(J,"lex");for(var A,G,B,re,ie={},ke,ce,Ut,Re;;){if(G=T[T.length-1],this.defaultActions[G]?B=this.defaultActions[G]:((A===null||typeof A>"u")&&(A=J()),B=u[G]&&u[G][A]),typeof B>"u"||!B.length||!B[0]){var nt="";Re=[];for(ke in u[G])this.terminals_[ke]&&ke>R&&Re.push("'"+this.terminals_[ke]+"'");Q.showPosition?nt="Parse error on line "+(z+1)+`:
2
+ `+Q.showPosition()+`
3
+ Expecting `+Re.join(", ")+", got '"+(this.terminals_[A]||A)+"'":nt="Parse error on line "+(z+1)+": Unexpected "+(A==K?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(nt,{text:Q.match,token:this.terminals_[A]||A,line:Q.yylineno,loc:L,expected:Re})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+A);switch(B[0]){case 1:T.push(A),b.push(Q.yytext),l.push(Q.yylloc),T.push(B[1]),A=null,V=Q.yyleng,c=Q.yytext,z=Q.yylineno,L=Q.yylloc;break;case 2:if(ce=this.productions_[B[1]][1],ie.$=b[b.length-ce],ie._$={first_line:l[l.length-(ce||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ce||1)].first_column,last_column:l[l.length-1].last_column},N&&(ie._$.range=[l[l.length-(ce||1)].range[0],l[l.length-1].range[1]]),re=this.performAction.apply(ie,[c,V,z,ae.yy,B[1],b,l].concat(X)),typeof re<"u")return re;ce&&(T=T.slice(0,-1*ce*2),b=b.slice(0,-1*ce),l=l.slice(0,-1*ce)),T.push(this.productions_[B[1]][0]),b.push(ie.$),l.push(ie._$),Ut=u[T[T.length-2]][T[T.length-1]],T.push(Ut);break;case 3:return!0}}return!0},"parse")},S=function(){var U={EOF:1,parseError:s.__name(function(m,T){if(this.yy.parser)this.yy.parser.parseError(m,T);else throw new Error(m)},"parseError"),setInput:s.__name(function(f,m){return this.yy=m||this.yy||{},this._input=f,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:s.__name(function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var m=f.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),f},"input"),unput:s.__name(function(f){var m=f.length,T=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var h=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 b=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===h.length?this.yylloc.first_column:0)+h[h.length-T.length].length-T[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__name(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:s.__name(function(f){this.unput(this.match.slice(f))},"less"),pastInput:s.__name(function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s.__name(function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s.__name(function(){var f=this.pastInput(),m=new Array(f.length+1).join("-");return f+this.upcomingInput()+`
5
+ `+m+"^"},"showPosition"),test_match:s.__name(function(f,m){var T,h,b;if(this.options.backtrack_lexer&&(b={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&&(b.yylloc.range=this.yylloc.range.slice(0))),h=f[0].match(/(?:\r\n?|\n).*/g),h&&(this.yylineno+=h.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,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(f[0].length),this.matched+=f[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 l in b)this[l]=b[l];return!1}return!1},"test_match"),next:s.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,m,T,h;this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),l=0;l<b.length;l++)if(T=this._input.match(this.rules[b[l]]),T&&(!m||T[0].length>m[0].length)){if(m=T,h=l,this.options.backtrack_lexer){if(f=this.test_match(T,b[l]),f!==!1)return f;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(f=this.test_match(m,b[h]),f!==!1?f:!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:s.__name(function(){var m=this.next();return m||this.lex()},"lex"),begin:s.__name(function(m){this.conditionStack.push(m)},"begin"),popState:s.__name(function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:s.__name(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:s.__name(function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},"topState"),pushState:s.__name(function(m){this.begin(m)},"pushState"),stateStackSize:s.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:s.__name(function(m,T,h,b){switch(h){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 s.__name(v,"Parser"),v.prototype=F,F.Parser=v,new v}();gt.parser=gt;var ga=gt;s.dayjs2.extend(sa);s.dayjs2.extend(ua);s.dayjs2.extend(ma);var Zt={friday:5,saturday:6},le="",_t="",xt=void 0,bt="",Pe=[],Ve=[],wt=new Map,Ct=[],et=[],Ue="",Dt="",gn=["active","done","crit","milestone","vert"],Mt=[],ze=!1,St=!1,Ft="sunday",tt="saturday",yt=0,ya=s.__name(function(){Ct=[],et=[],Ue="",Mt=[],Ge=0,pt=void 0,$e=void 0,ee=[],le="",_t="",Dt="",xt=void 0,bt="",Pe=[],Ve=[],ze=!1,St=!1,yt=0,wt=new Map,s.clear(),Ft="sunday",tt="saturday"},"clear"),ka=s.__name(function(e){_t=e},"setAxisFormat"),pa=s.__name(function(){return _t},"getAxisFormat"),va=s.__name(function(e){xt=e},"setTickInterval"),Ta=s.__name(function(){return xt},"getTickInterval"),_a=s.__name(function(e){bt=e},"setTodayMarker"),xa=s.__name(function(){return bt},"getTodayMarker"),ba=s.__name(function(e){le=e},"setDateFormat"),wa=s.__name(function(){ze=!0},"enableInclusiveEndDates"),Ca=s.__name(function(){return ze},"endDatesAreInclusive"),Da=s.__name(function(){St=!0},"enableTopAxis"),Ma=s.__name(function(){return St},"topAxisEnabled"),Sa=s.__name(function(e){Dt=e},"setDisplayMode"),Fa=s.__name(function(){return Dt},"getDisplayMode"),Ya=s.__name(function(){return le},"getDateFormat"),Ua=s.__name(function(e){Pe=e.toLowerCase().split(/[\s,]+/)},"setIncludes"),Ea=s.__name(function(){return Pe},"getIncludes"),Aa=s.__name(function(e){Ve=e.toLowerCase().split(/[\s,]+/)},"setExcludes"),La=s.__name(function(){return Ve},"getExcludes"),Ia=s.__name(function(){return wt},"getLinks"),Wa=s.__name(function(e){Ue=e,Ct.push(e)},"addSection"),Oa=s.__name(function(){return Ct},"getSections"),Ha=s.__name(function(){let e=Xt();const t=10;let n=0;for(;!e&&n<t;)e=Xt(),n++;return et=ee,et},"getTasks"),yn=s.__name(function(e,t,n,r){const a=e.format(t.trim()),i=e.format("YYYY-MM-DD");return r.includes(a)||r.includes(i)?!1:n.includes("weekends")&&(e.isoWeekday()===Zt[tt]||e.isoWeekday()===Zt[tt]+1)||n.includes(e.format("dddd").toLowerCase())?!0:n.includes(a)||n.includes(i)},"isInvalidDate"),Na=s.__name(function(e){Ft=e},"setWeekday"),Pa=s.__name(function(){return Ft},"getWeekday"),Va=s.__name(function(e){tt=e},"setWeekend"),kn=s.__name(function(e,t,n,r){if(!n.length||e.manualEndTime)return;let a;e.startTime instanceof Date?a=s.dayjs2(e.startTime):a=s.dayjs2(e.startTime,t,!0),a=a.add(1,"d");let i;e.endTime instanceof Date?i=s.dayjs2(e.endTime):i=s.dayjs2(e.endTime,t,!0);const[o,y]=za(a,i,t,n,r);e.endTime=o.toDate(),e.renderEndTime=y},"checkTaskDates"),za=s.__name(function(e,t,n,r,a){let i=!1,o=null;for(;e<=t;)i||(o=t.toDate()),i=yn(e,n,r,a),i&&(t=t.add(1,"d")),e=e.add(1,"d");return[t,o]},"fixTaskDates"),kt=s.__name(function(e,t,n){n=n.trim();const a=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(a!==null){let o=null;for(const M of a.groups.ids.split(" ")){let p=we(M);p!==void 0&&(!o||p.endTime>o.endTime)&&(o=p)}if(o)return o.endTime;const y=new Date;return y.setHours(0,0,0,0),y}let i=s.dayjs2(n,t.trim(),!0);if(i.isValid())return i.toDate();{s.log.debug("Invalid date:"+n),s.log.debug("With date format:"+t.trim());const o=new Date(n);if(o===void 0||isNaN(o.getTime())||o.getFullYear()<-1e4||o.getFullYear()>1e4)throw new Error("Invalid date:"+n);return o}},"getStartDate"),pn=s.__name(function(e){const t=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());return t!==null?[Number.parseFloat(t[1]),t[2]]:[NaN,"ms"]},"parseDuration"),vn=s.__name(function(e,t,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 _=we(C);_!==void 0&&(!g||_.startTime<g.startTime)&&(g=_)}if(g)return g.startTime;const E=new Date;return E.setHours(0,0,0,0),E}let o=s.dayjs2(n,t.trim(),!0);if(o.isValid())return r&&(o=o.add(1,"d")),o.toDate();let y=s.dayjs2(e);const[M,p]=pn(n);if(!Number.isNaN(M)){const g=y.add(M,p);g.isValid()&&(y=g)}return y.toDate()},"getEndDate"),Ge=0,Se=s.__name(function(e){return e===void 0?(Ge=Ge+1,"task"+Ge):e},"parseId"),Ra=s.__name(function(e,t){let n;t.substr(0,1)===":"?n=t.substr(1,t.length):n=t;const r=n.split(","),a={};Yt(r,a,gn);for(let o=0;o<r.length;o++)r[o]=r[o].trim();let i="";switch(r.length){case 1:a.id=Se(),a.startTime=e.endTime,i=r[0];break;case 2:a.id=Se(),a.startTime=kt(void 0,le,r[0]),i=r[1];break;case 3:a.id=Se(r[0]),a.startTime=kt(void 0,le,r[1]),i=r[2];break}return i&&(a.endTime=vn(a.startTime,le,i,ze),a.manualEndTime=s.dayjs2(i,"YYYY-MM-DD",!0).isValid(),kn(a,le,Ve,Pe)),a},"compileData"),ja=s.__name(function(e,t){let n;t.substr(0,1)===":"?n=t.substr(1,t.length):n=t;const r=n.split(","),a={};Yt(r,a,gn);for(let i=0;i<r.length;i++)r[i]=r[i].trim();switch(r.length){case 1:a.id=Se(),a.startTime={type:"prevTaskEnd",id:e},a.endTime={data:r[0]};break;case 2:a.id=Se(),a.startTime={type:"getStartDate",startData:r[0]},a.endTime={data:r[1]};break;case 3:a.id=Se(r[0]),a.startTime={type:"getStartDate",startData:r[1]},a.endTime={data:r[2]};break}return a},"parseData"),pt,$e,ee=[],Tn={},qa=s.__name(function(e,t){const n={section:Ue,type:Ue,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:t},task:e,classes:[]},r=ja($e,t);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=$e,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,n.order=yt,yt++;const a=ee.push(n);$e=n.id,Tn[n.id]=a-1},"addTask"),we=s.__name(function(e){const t=Tn[e];return ee[t]},"findTaskById"),Ba=s.__name(function(e,t){const n={section:Ue,type:Ue,description:e,task:e,classes:[]},r=Ra(pt,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,n.vert=r.vert,pt=n,et.push(n)},"addTaskOrg"),Xt=s.__name(function(){const e=s.__name(function(n){const r=ee[n];let a="";switch(ee[n].raw.startTime.type){case"prevTaskEnd":{const i=we(r.prevTaskId);r.startTime=i.endTime;break}case"getStartDate":a=kt(void 0,le,ee[n].raw.startTime.startData),a&&(ee[n].startTime=a);break}return ee[n].startTime&&(ee[n].endTime=vn(ee[n].startTime,le,ee[n].raw.endTime.data,ze),ee[n].endTime&&(ee[n].processed=!0,ee[n].manualEndTime=s.dayjs2(ee[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),kn(ee[n],le,Ve,Pe))),ee[n].processed},"compileTask");let t=!0;for(const[n,r]of ee.entries())e(n),t=t&&r.processed;return t},"compileTasks"),Za=s.__name(function(e,t){let n=t;s.getConfig2().securityLevel!=="loose"&&(n=s.distExports.sanitizeUrl(t)),e.split(",").forEach(function(r){we(r)!==void 0&&(xn(r,()=>{window.open(n,"_self")}),wt.set(r,n))}),_n(e,"clickable")},"setLink"),_n=s.__name(function(e,t){e.split(",").forEach(function(n){let r=we(n);r!==void 0&&r.classes.push(t)})},"setClass"),Xa=s.__name(function(e,t,n){if(s.getConfig2().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 o=r[i].trim();o.startsWith('"')&&o.endsWith('"')&&(o=o.substr(1,o.length-2)),r[i]=o}}r.length===0&&r.push(e),we(e)!==void 0&&xn(e,()=>{s.utils_default.runFunc(t,...r)})},"setClickFun"),xn=s.__name(function(e,t){Mt.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"),Ga=s.__name(function(e,t,n){e.split(",").forEach(function(r){Xa(r,t,n)}),_n(e,"clickable")},"setClickEvent"),$a=s.__name(function(e){Mt.forEach(function(t){t(e)})},"bindFunctions"),Qa={getConfig:s.__name(()=>s.getConfig2().gantt,"getConfig"),clear:ya,setDateFormat:ba,getDateFormat:Ya,enableInclusiveEndDates:wa,endDatesAreInclusive:Ca,enableTopAxis:Da,topAxisEnabled:Ma,setAxisFormat:ka,getAxisFormat:pa,setTickInterval:va,getTickInterval:Ta,setTodayMarker:_a,getTodayMarker:xa,setAccTitle:s.setAccTitle,getAccTitle:s.getAccTitle,setDiagramTitle:s.setDiagramTitle,getDiagramTitle:s.getDiagramTitle,setDisplayMode:Sa,getDisplayMode:Fa,setAccDescription:s.setAccDescription,getAccDescription:s.getAccDescription,addSection:Wa,getSections:Oa,getTasks:Ha,addTask:qa,findTaskById:we,addTaskOrg:Ba,setIncludes:Ua,getIncludes:Ea,setExcludes:Aa,getExcludes:La,setClickEvent:Ga,setLink:Za,getLinks:Ia,bindFunctions:$a,parseDuration:pn,isInvalidDate:yn,setWeekday:Na,getWeekday:Pa,setWeekend:Va};function Yt(e,t,n){let r=!0;for(;r;)r=!1,n.forEach(function(a){const i="^\\s*"+a+"\\s*$",o=new RegExp(i);e[0].match(o)&&(t[a]=!0,e.shift(1),r=!0)})}s.__name(Yt,"getTaskTags");var Ja=s.__name(function(){s.log.debug("Something is calling, setConf, remove the call")},"setConf"),Gt={monday:Oe,tuesday:an,wednesday:sn,thursday:Te,friday:on,saturday:cn,sunday:Ne},Ka=s.__name((e,t)=>{let n=[...e].map(()=>-1/0),r=[...e].sort((i,o)=>i.startTime-o.startTime||i.order-o.order),a=0;for(const i of r)for(let o=0;o<n.length;o++)if(i.startTime>=n[o]){n[o]=i.endTime,i.order=o+t,o>a&&(a=o);break}return a},"getMaxIntersections"),fe,ei=s.__name(function(e,t,n,r){const a=s.getConfig2().gantt,i=s.getConfig2().securityLevel;let o;i==="sandbox"&&(o=s.select("#i"+t));const y=i==="sandbox"?s.select(o.nodes()[0].contentDocument.body):s.select("body"),M=i==="sandbox"?o.nodes()[0].contentDocument:document,p=M.getElementById(t);fe=p.parentElement.offsetWidth,fe===void 0&&(fe=1200),a.useWidth!==void 0&&(fe=a.useWidth);const g=r.db.getTasks();let E=[];for(const x of g)E.push(x.type);E=H(E);const C={};let _=2*a.topPadding;if(r.db.getDisplayMode()==="compact"||a.displayMode==="compact"){const x={};for(const F of g)x[F.section]===void 0?x[F.section]=[F]:x[F.section].push(F);let Y=0;for(const F of Object.keys(x)){const S=Ka(x[F],Y)+1;Y+=S,_+=S*(a.barHeight+a.barGap),C[F]=S}}else{_+=g.length*(a.barHeight+a.barGap);for(const x of E)C[x]=g.filter(Y=>Y.type===x).length}p.setAttribute("viewBox","0 0 "+fe+" "+_);const Z=y.select(`[id="${t}"]`),O=na().domain([Cn(g,function(x){return x.startTime}),wn(g,function(x){return x.endTime})]).rangeRound([0,fe-a.leftPadding-a.rightPadding]);function D(x,Y){const F=x.startTime,S=Y.startTime;let v=0;return F>S?v=1:F<S&&(v=-1),v}s.__name(D,"taskCompare"),g.sort(D),I(g,fe,_),s.configureSvgSize(Z,_,fe,a.useMaxWidth),Z.append("text").text(r.db.getDiagramTitle()).attr("x",fe/2).attr("y",a.titleTopMargin).attr("class","titleText");function I(x,Y,F){const S=a.barHeight,v=S+a.barGap,U=a.topPadding,f=a.leftPadding,m=De.linear().domain([0,E.length]).range(["#00B9FA","#F95002"]).interpolate(Pn);W(v,U,f,Y,F,x,r.db.getExcludes(),r.db.getIncludes()),q(f,U,Y,F),P(x,v,U,f,S,m,Y),$(v,U),w(f,U,Y,F)}s.__name(I,"makeGantt");function P(x,Y,F,S,v,U,f){x.sort((u,c)=>u.vert===c.vert?0:u.vert?1:-1);const T=[...new Set(x.map(u=>u.order))].map(u=>x.find(c=>c.order===u));Z.append("g").selectAll("rect").data(T).enter().append("rect").attr("x",0).attr("y",function(u,c){return c=u.order,c*Y+F-2}).attr("width",function(){return f-a.rightPadding/2}).attr("height",Y).attr("class",function(u){for(const[c,z]of E.entries())if(u.type===z)return"section section"+c%a.numberSectionStyles;return"section section0"}).enter();const h=Z.append("g").selectAll("rect").data(x).enter(),b=r.db.getLinks();if(h.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,c){return c=u.order,u.vert?a.gridLineStartPadding:c*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,c){return c=u.order,(O(u.startTime)+S+.5*(O(u.endTime)-O(u.startTime))).toString()+"px "+(c*Y+F+.5*v).toString()+"px"}).attr("class",function(u){const c="task";let z="";u.classes.length>0&&(z=u.classes.join(" "));let V=0;for(const[K,X]of E.entries())u.type===X&&(V=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+=V,R+=" "+z,c+R}),h.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 c=O(u.startTime),z=O(u.renderEndTime||u.endTime);if(u.milestone&&(c+=.5*(O(u.endTime)-O(u.startTime))-.5*v,z=c+v),u.vert)return O(u.startTime)+S;const V=this.getBBox().width;return V>z-c?z+V+1.5*a.leftPadding>f?c+S-5:z+S+5:(z-c)/2+c+S}).attr("y",function(u,c){return u.vert?a.gridLineStartPadding+g.length*(a.barHeight+a.barGap)+60:(c=u.order,c*Y+a.barHeight/2+(a.fontSize/2-2)+F)}).attr("text-height",v).attr("class",function(u){const c=O(u.startTime);let z=O(u.endTime);u.milestone&&(z=c+v);const V=this.getBBox().width;let R="";u.classes.length>0&&(R=u.classes.join(" "));let K=0;for(const[Q,ae]of E.entries())u.type===ae&&(K=Q%a.numberSectionStyles);let X="";return u.active&&(u.crit?X="activeCritText"+K:X="activeText"+K),u.done?u.crit?X=X+" doneCritText"+K:X=X+" doneText"+K:u.crit&&(X=X+" critText"+K),u.milestone&&(X+=" milestoneText"),u.vert&&(X+=" vertText"),V>z-c?z+V+1.5*a.leftPadding>f?R+" taskTextOutsideLeft taskTextOutside"+K+" "+X:R+" taskTextOutsideRight taskTextOutside"+K+" "+X+" width-"+V:R+" taskText taskText"+K+" "+X+" width-"+V}),s.getConfig2().securityLevel==="sandbox"){let u;u=s.select("#i"+t);const c=u.nodes()[0].contentDocument;h.filter(function(z){return b.has(z.id)}).each(function(z){var V=c.querySelector("#"+z.id),R=c.querySelector("#"+z.id+"-text");const K=V.parentNode;var X=c.createElement("a");X.setAttribute("xlink:href",b.get(z.id)),X.setAttribute("target","_top"),K.appendChild(X),X.appendChild(V),X.appendChild(R)})}}s.__name(P,"drawRects");function W(x,Y,F,S,v,U,f,m){if(f.length===0&&m.length===0)return;let T,h;for(const{startTime:V,endTime:R}of U)(T===void 0||V<T)&&(T=V),(h===void 0||R>h)&&(h=R);if(!T||!h)return;if(s.dayjs2(h).diff(s.dayjs2(T),"year")>5){s.log.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 b=r.db.getDateFormat(),l=[];let u=null,c=s.dayjs2(T);for(;c.valueOf()<=h;)r.db.isInvalidDate(c,b,f,m)?u?u.end=c:u={start:c,end:c}:u&&(l.push(u),u=null),c=c.add(1,"d");Z.append("g").selectAll("rect").data(l).enter().append("rect").attr("id",V=>"exclude-"+V.start.format("YYYY-MM-DD")).attr("x",V=>O(V.start.startOf("day"))+F).attr("y",a.gridLineStartPadding).attr("width",V=>O(V.end.endOf("day"))-O(V.start.startOf("day"))).attr("height",v-Y-a.gridLineStartPadding).attr("transform-origin",function(V,R){return(O(V.start)+F+.5*(O(V.end)-O(V.start))).toString()+"px "+(R*x+.5*v).toString()+"px"}).attr("class","exclude-range")}s.__name(W,"drawExcludeDays");function q(x,Y,F,S){const v=r.db.getDateFormat(),U=r.db.getAxisFormat();let f;U?f=U:v==="D"?f="%d":f=a.axisFormat??"%Y-%m-%d";let m=An(O).tickSize(-S+Y+a.gridLineStartPadding).tickFormat(Ke(f));const h=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||a.tickInterval);if(h!==null){const b=h[1],l=h[2],u=r.db.getWeekday()||a.weekday;switch(l){case"millisecond":m.ticks(Fe.every(b));break;case"second":m.ticks(pe.every(b));break;case"minute":m.ticks(Ie.every(b));break;case"hour":m.ticks(We.every(b));break;case"day":m.ticks(ve.every(b));break;case"week":m.ticks(Gt[u].every(b));break;case"month":m.ticks(He.every(b));break}}if(Z.append("g").attr("class","grid").attr("transform","translate("+x+", "+(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 b=En(O).tickSize(-S+Y+a.gridLineStartPadding).tickFormat(Ke(f));if(h!==null){const l=h[1],u=h[2],c=r.db.getWeekday()||a.weekday;switch(u){case"millisecond":b.ticks(Fe.every(l));break;case"second":b.ticks(pe.every(l));break;case"minute":b.ticks(Ie.every(l));break;case"hour":b.ticks(We.every(l));break;case"day":b.ticks(ve.every(l));break;case"week":b.ticks(Gt[c].every(l));break;case"month":b.ticks(He.every(l));break}}Z.append("g").attr("class","grid").attr("transform","translate("+x+", "+Y+")").call(b).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}s.__name(q,"makeGrid");function $(x,Y){let F=0;const S=Object.keys(C).map(v=>[v,C[v]]);Z.append("g").selectAll("text").data(S).enter().append(function(v){const U=v[0].split(s.common_default.lineBreakRegex),f=-(U.length-1)/2,m=M.createElementNS("http://www.w3.org/2000/svg","text");m.setAttribute("dy",f+"em");for(const[T,h]of U.entries()){const b=M.createElementNS("http://www.w3.org/2000/svg","tspan");b.setAttribute("alignment-baseline","central"),b.setAttribute("x","10"),T>0&&b.setAttribute("dy","1em"),b.textContent=h,m.appendChild(b)}return m}).attr("x",10).attr("y",function(v,U){if(U>0)for(let f=0;f<U;f++)return F+=S[U-1][1],v[1]*x/2+F*x+Y;else return v[1]*x/2+Y}).attr("font-size",a.sectionFontSize).attr("class",function(v){for(const[U,f]of E.entries())if(v[0]===f)return"sectionTitle sectionTitle"+U%a.numberSectionStyles;return"sectionTitle"})}s.__name($,"vertLabels");function w(x,Y,F,S){const v=r.db.getTodayMarker();if(v==="off")return;const U=Z.append("g").attr("class","today"),f=new Date,m=U.append("line");m.attr("x1",O(f)+x).attr("x2",O(f)+x).attr("y1",a.titleTopMargin).attr("y2",S-a.titleTopMargin).attr("class","today"),v!==""&&m.attr("style",v.replace(/,/g,";"))}s.__name(w,"drawToday");function H(x){const Y={},F=[];for(let S=0,v=x.length;S<v;++S)Object.prototype.hasOwnProperty.call(Y,x[S])||(Y[x[S]]=!0,F.push(x[S]));return F}s.__name(H,"checkUnique")},"draw"),ti={setConf:Ja,draw:ei},ni=s.__name(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
+ .vert {
245
+ stroke: ${e.vertLineColor};
246
+ }
247
+
248
+ .vertText {
249
+ font-size: 15px;
250
+ text-anchor: middle;
251
+ fill: ${e.vertLineColor} !important;
252
+ }
253
+
254
+ .activeCritText0,
255
+ .activeCritText1,
256
+ .activeCritText2,
257
+ .activeCritText3 {
258
+ fill: ${e.taskTextDarkColor} !important;
259
+ }
260
+
261
+ .titleText {
262
+ text-anchor: middle;
263
+ font-size: 18px;
264
+ fill: ${e.titleColor||e.textColor};
265
+ font-family: ${e.fontFamily};
266
+ }
267
+ `,"getStyles"),ri=ni,ai={parser:ga,db:Qa,renderer:ti,styles:ri};exports.diagram=ai;
@@ -0,0 +1,5 @@
1
+ import { G as a, f as G } from "./mermaid-parser.core-COPhuhoR.js";
2
+ export {
3
+ a as GitGraphModule,
4
+ G as createGitGraphServices
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-DgsyN-z8.cjs");exports.GitGraphModule=e.GitGraphModule;exports.createGitGraphServices=e.createGitGraphServices;