orbitchat 2.2.9 → 2.3.0
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/_basePickBy-lBvRrdD9-B-9MpFjW.js +1 -0
- package/dist/assets/_baseUniq-BtBvqxlY-Dv5C3esR.js +1 -0
- package/dist/assets/{api-B68Q13El.js → api-CV6_7nU6.js} +1 -1
- package/dist/assets/arc-CCBnZEkJ-DybyxfWt.js +1 -0
- package/dist/assets/{architectureDiagram-VXUJARFQ-BuSDV2Do-DkCzZT5N.js → architectureDiagram-VXUJARFQ-D6fnSZjh-dA25eufs.js} +3 -3
- package/dist/assets/{blockDiagram-VD42YOAC-jQHtez-j-CJTsIVbJ.js → blockDiagram-VD42YOAC-CVjY2HvJ-Bvs-2xFL.js} +5 -5
- package/dist/assets/{c4Diagram-YG6GDRKO-_5giM-EA-CdW8htOl.js → c4Diagram-YG6GDRKO-C-f-jRtb-CBj7d1Qp.js} +4 -4
- package/dist/assets/channel-BvgtnSqX-CiCpm-FK.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-BeuiUsbc-CyOuPrI8.js → chunk-4BX2VUAB-ecO_Iw3K-Dsg9QQ9e.js} +1 -1
- package/dist/assets/chunk-55IACEB6-BFlfi8hV-BGJXNzLC.js +1 -0
- package/dist/assets/{chunk-B4BG7PRW-CnUkcto7-m-YHBNjU.js → chunk-B4BG7PRW-0M4wlQGy-BFIioH1f.js} +6 -6
- package/dist/assets/{chunk-DI55MBZ5-CSd59tsh-QcxSJz1R.js → chunk-DI55MBZ5-DcwSH2gI-uNFBVBGw.js} +4 -4
- package/dist/assets/{chunk-FMBD7UC4-C6VImbBX-CdWDLckg.js → chunk-FMBD7UC4-CyW6Y4c1-Cvb-I-1S.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-DrWWTLTH-UzcLWgZY.js → chunk-QN33PNHL-DF3LkPOs-IyOxcAL-.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-C6_I39By-Cz33_PSG.js → chunk-QZHKN3VN-BnmCvaos-BhXhqQoN.js} +1 -1
- package/dist/assets/chunk-TZMSLE5B-C4Hy1m-m-DFftuvKT.js +1 -0
- package/dist/assets/classDiagram-2ON5EDUG-C2K4H7s6-BqCqtggy.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-C2K4H7s6-BqCqtggy.js +1 -0
- package/dist/assets/clone-DlVqQknZ-BDJyp8y8.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-DcyCVH6S-_Xa90S_g.js → cose-bilkent-S5V4N54A-mo6qcR8E-D_z6t4Tf.js} +1 -1
- package/dist/assets/dagre-6UL2VRFP-DH4t_gQU-UMN3n2-7.js +4 -0
- package/dist/assets/{diagram-PSM6KHXK-Dxp2wzKk-CZTFiE4C.js → diagram-PSM6KHXK-xncR2khS-DE1fEkBR.js} +1 -1
- package/dist/assets/diagram-QEK2KX5R-CSzZUVkA-tJcvFwfU.js +43 -0
- package/dist/assets/{diagram-S2PKOQOG-tSpHqt0k-xf_ngAOM.js → diagram-S2PKOQOG-CTsV2Ry--BQlcrrcr.js} +2 -2
- package/dist/assets/{erDiagram-Q2GNP2WA-DF6ylQ7o-DdRu0NKP.js → erDiagram-Q2GNP2WA-C-DLmzQQ-B-jtk4eF.js} +5 -5
- package/dist/assets/{flowDiagram-NV44I4VS-BQUYJeB--BeDbFZsR.js → flowDiagram-NV44I4VS-9jalL_2N-DKuPtUeP.js} +7 -7
- package/dist/assets/ganttDiagram-JELNMOA3-B5Q1jKOu-Ho5f5uzH.js +267 -0
- package/dist/assets/gitGraphDiagram-NY62KEGX-ug9A7XoP-D9w06-2F.js +65 -0
- package/dist/assets/{graph-aRt77rZZ-slHn5KEJ.js → graph-C-LzaQKB-Cch5aJ-h.js} +1 -1
- package/dist/assets/{index-rW5EEHFR-D-o-LRPp.js → index-B04ueuvU-Cvw4_ymU.js} +1 -1
- package/dist/assets/{index-CFYhtZ1e.js → index-DiPXXjl1.js} +203 -172
- package/dist/assets/index-V1hWOL-o.css +1 -0
- package/dist/assets/infoDiagram-WHAUD3N6-D3nyF9iF-BjcBjZOT.js +2 -0
- package/dist/assets/{journeyDiagram-XKPGCS4Q-C6JuEafR-DM7w5ttd.js → journeyDiagram-XKPGCS4Q-DrGofxJ_-Zv8ktrVj.js} +4 -4
- package/dist/assets/{kanban-definition-3W4ZIXB7-Ci4U3NR--CR-hFfA0.js → kanban-definition-3W4ZIXB7-DPOqAG2O-DfLp3ebY.js} +7 -7
- package/dist/assets/{layout-BKjRgLFe-DIgRT4aW.js → layout-Cx9iE-zh-K_S5vGG7.js} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-DveejCtl-j12l4UiP.js → mindmap-definition-VGOIOE7T-CDbIuwaY-D4Ih9cyZ.js} +3 -3
- package/dist/assets/{pieDiagram-ADFJNKIX-DAbSGtae-NYsX6s7s.js → pieDiagram-ADFJNKIX-DFk5HpTR-BSzTH4-Z.js} +3 -3
- package/dist/assets/{quadrantDiagram-AYHSOK5B-DnnzUQMW-CKhUYTv2.js → quadrantDiagram-AYHSOK5B-B92wNx9A-Bpuj71wR.js} +5 -5
- package/dist/assets/{requirementDiagram-UZGBJVZJ-BB9jagBx-4dU9Di2G.js → requirementDiagram-UZGBJVZJ-DbcE1GOH-BSV5OUP4.js} +4 -4
- package/dist/assets/{sankeyDiagram-TZEHDZUN-BttZx2-h-DeC-xZE-.js → sankeyDiagram-TZEHDZUN-B0rVCfiD-kdmAtl5Z.js} +3 -3
- package/dist/assets/{sequenceDiagram-WL72ISMW-DA6yVs26-Bo7FK6Z3.js → sequenceDiagram-WL72ISMW-Ch4qd1_w-DeggnvKy.js} +8 -8
- package/dist/assets/{stateDiagram-FKZM4ZOC-BD8xEcbc-DLe6xtjO.js → stateDiagram-FKZM4ZOC-BXSNYh_4-BBInmGsn.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3--JZPzZ-Q-C0r6gD51.js +1 -0
- package/dist/assets/{timeline-definition-IT6M3QCI-XN-D5T3b-Ckk8yZ6A.js → timeline-definition-IT6M3QCI-BaU6yGwl-BdHCQ244.js} +3 -3
- package/dist/assets/{treemap-KMMF4GRG-C4GHjB3F-B6RJ9b4F.js → treemap-KMMF4GRG-B8dtJA6c-C7398h3b.js} +38 -38
- package/dist/assets/{xychartDiagram-PRI3JC2R-BL53__6J-B8e2l_RZ.js → xychartDiagram-PRI3JC2R-CdE6529H-Bf_betHN.js} +5 -5
- package/dist/index.html +2 -2
- package/package.json +2 -2
- package/dist/assets/_basePickBy-1MakYQmz-BAhRsHXC.js +0 -1
- package/dist/assets/_baseUniq-Cd4llU-Q-CsIxZURF.js +0 -1
- package/dist/assets/arc-b8oyw-lz-BqCfYgpU.js +0 -1
- package/dist/assets/channel-BLPbvVT2-CP0zgk7D.js +0 -1
- package/dist/assets/chunk-55IACEB6-C4OH5_NF-HSErBipB.js +0 -1
- package/dist/assets/chunk-TZMSLE5B-DGddLgNl-CfNEVvWN.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-BngjTxOv-CQhamgNl.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-BngjTxOv-CQhamgNl.js +0 -1
- package/dist/assets/clone-DH1Kq5Y6-Ba-lUtme.js +0 -1
- package/dist/assets/dagre-6UL2VRFP-B799wmhr-BmVW0iuC.js +0 -4
- package/dist/assets/diagram-QEK2KX5R-Km_liL9n-DFCl3NKk.js +0 -43
- package/dist/assets/ganttDiagram-LVOFAZNH-BidPm1xz-DBIsx_AE.js +0 -267
- package/dist/assets/gitGraphDiagram-NY62KEGX-zbMOFVrv-Cll7Xa35.js +0 -65
- package/dist/assets/index-42QQgFVq.css +0 -1
- package/dist/assets/infoDiagram-ER5ION4S-ozjqEnsq-oKxWmhEd.js +0 -2
- package/dist/assets/stateDiagram-v2-4FDKWEC3-DINzAoyF-D8wKEAkL.js +0 -1
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import{R as u,u as Oe,f as We,r as Pe,o as ze,l as Ne,s as He,g as ot,e as bt,$ as Ge,Q as Ve,T as qe,B as Be,U as Re,a0 as R,O as _t,a1 as ne,a2 as re,a3 as je,a4 as Xe,a5 as Ue,a6 as Qe,a7 as Ze,a8 as Ke,a9 as Je,aa as ie,ab as ae,ac as se,ad as oe,ae as ce,x as tn,i as en,w as nn,af as Mt,n as rn,ag as me,ah as an,ai as pe,aj as ge,ak as be,al as sn,D as qt}from"./index-CFYhtZ1e.js";function on(t){return t}var vt=1,Et=2,Ft=3,xt=4,le=1e-6;function cn(t){return"translate("+t+",0)"}function ln(t){return"translate(0,"+t+")"}function un(t){return n=>+t(n)}function dn(t,n){return n=Math.max(0,t.bandwidth()-n*2)/2,t.round()&&(n=Math.round(n)),r=>+t(r)+n}function hn(){return!this.__axis}function xe(t,n){var r=[],i=null,a=null,c=6,h=6,w=3,C=typeof window<"u"&&window.devicePixelRatio>1?0:.5,S=t===vt||t===xt?-1:1,T=t===xt||t===Et?"x":"y",L=t===vt||t===Ft?cn:ln;function D(_){var G=i??(n.ticks?n.ticks.apply(n,r):n.domain()),A=a??(n.tickFormat?n.tickFormat.apply(n,r):on),b=Math.max(c,0)+w,E=n.range(),Y=+E[0]+C,I=+E[E.length-1]+C,N=(n.bandwidth?dn:un)(n.copy(),C),z=_.selection?_.selection():_,V=z.selectAll(".domain").data([null]),W=z.selectAll(".tick").data(G,n).order(),m=W.exit(),v=W.enter().append("g").attr("class","tick"),x=W.select("line"),p=W.select("text");V=V.merge(V.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),W=W.merge(v),x=x.merge(v.append("line").attr("stroke","currentColor").attr(T+"2",S*c)),p=p.merge(v.append("text").attr("fill","currentColor").attr(T,S*b).attr("dy",t===vt?"0em":t===Ft?"0.71em":"0.32em")),_!==z&&(V=V.transition(_),W=W.transition(_),x=x.transition(_),p=p.transition(_),m=m.transition(_).attr("opacity",le).attr("transform",function(f){return isFinite(f=N(f))?L(f+C):this.getAttribute("transform")}),v.attr("opacity",le).attr("transform",function(f){var g=this.parentNode.__axis;return L((g&&isFinite(g=g(f))?g:N(f))+C)})),m.remove(),V.attr("d",t===xt||t===Et?h?"M"+S*h+","+Y+"H"+C+"V"+I+"H"+S*h:"M"+C+","+Y+"V"+I:h?"M"+Y+","+S*h+"V"+C+"H"+I+"V"+S*h:"M"+Y+","+C+"H"+I),W.attr("opacity",1).attr("transform",function(f){return L(N(f)+C)}),x.attr(T+"2",S*c),p.attr(T,S*b).text(A),z.filter(hn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Et?"start":t===xt?"end":"middle"),z.each(function(){this.__axis=N})}return D.scale=function(_){return arguments.length?(n=_,D):n},D.ticks=function(){return r=Array.from(arguments),D},D.tickArguments=function(_){return arguments.length?(r=_==null?[]:Array.from(_),D):r.slice()},D.tickValues=function(_){return arguments.length?(i=_==null?null:Array.from(_),D):i&&i.slice()},D.tickFormat=function(_){return arguments.length?(a=_,D):a},D.tickSize=function(_){return arguments.length?(c=h=+_,D):c},D.tickSizeInner=function(_){return arguments.length?(c=+_,D):c},D.tickSizeOuter=function(_){return arguments.length?(h=+_,D):h},D.tickPadding=function(_){return arguments.length?(w=+_,D):w},D.offset=function(_){return arguments.length?(C=+_,D):C},D}function fn(t){return xe(vt,t)}function yn(t){return xe(Ft,t)}const kn=Math.PI/180,mn=180/Math.PI,Dt=18,ve=.96422,Te=1,we=.82521,_e=4/29,ct=6/29,De=3*ct*ct,pn=ct*ct*ct;function Se(t){if(t instanceof K)return new K(t.l,t.a,t.b,t.opacity);if(t instanceof et)return $e(t);t instanceof me||(t=an(t));var n=It(t.r),r=It(t.g),i=It(t.b),a=At((.2225045*n+.7168786*r+.0606169*i)/Te),c,h;return n===r&&r===i?c=h=a:(c=At((.4360747*n+.3850649*r+.1430804*i)/ve),h=At((.0139322*n+.0971045*r+.7141733*i)/we)),new K(116*a-16,500*(c-a),200*(a-h),t.opacity)}function gn(t,n,r,i){return arguments.length===1?Se(t):new K(t,n,r,i??1)}function K(t,n,r,i){this.l=+t,this.a=+n,this.b=+r,this.opacity=+i}pe(K,gn,ge(be,{brighter(t){return new K(this.l+Dt*(t??1),this.a,this.b,this.opacity)},darker(t){return new K(this.l-Dt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return n=ve*Lt(n),t=Te*Lt(t),r=we*Lt(r),new me(Yt(3.1338561*n-1.6168667*t-.4906146*r),Yt(-.9787684*n+1.9161415*t+.033454*r),Yt(.0719453*n-.2289914*t+1.4052427*r),this.opacity)}}));function At(t){return t>pn?Math.pow(t,1/3):t/De+_e}function Lt(t){return t>ct?t*t*t:De*(t-_e)}function Yt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function It(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function bn(t){if(t instanceof et)return new et(t.h,t.c,t.l,t.opacity);if(t instanceof K||(t=Se(t)),t.a===0&&t.b===0)return new et(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*mn;return new et(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ot(t,n,r,i){return arguments.length===1?bn(t):new et(t,n,r,i??1)}function et(t,n,r,i){this.h=+t,this.c=+n,this.l=+r,this.opacity=+i}function $e(t){if(isNaN(t.h))return new K(t.l,0,0,t.opacity);var n=t.h*kn;return new K(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}pe(et,Ot,ge(be,{brighter(t){return new et(this.h,this.c,this.l+Dt*(t??1),this.opacity)},darker(t){return new et(this.h,this.c,this.l-Dt*(t??1),this.opacity)},rgb(){return $e(this).rgb()}}));function xn(t){return function(n,r){var i=t((n=Ot(n)).h,(r=Ot(r)).h),a=Mt(n.c,r.c),c=Mt(n.l,r.l),h=Mt(n.opacity,r.opacity);return function(w){return n.h=i(w),n.c=a(w),n.l=c(w),n.opacity=h(w),n+""}}}const vn=xn(sn);var Wt={exports:{}},Tn=Wt.exports,ue;function wn(){return ue||(ue=1,function(t,n){(function(r,i){t.exports=i()})(Tn,function(){var r="day";return function(i,a,c){var h=function(S){return S.add(4-S.isoWeekday(),r)},w=a.prototype;w.isoWeekYear=function(){return h(this).year()},w.isoWeek=function(S){if(!this.$utils().u(S))return this.add(7*(S-this.isoWeek()),r);var T,L,D,_,G=h(this),A=(T=this.isoWeekYear(),L=this.$u,D=(L?c.utc:c)().year(T).startOf("year"),_=4-D.isoWeekday(),D.isoWeekday()>4&&(_+=7),D.add(_,r));return G.diff(A,"week")+1},w.isoWeekday=function(S){return this.$utils().u(S)?this.day()||7:this.day(this.day()%7?S:S-7)};var C=w.startOf;w.startOf=function(S,T){var L=this.$utils(),D=!!L.u(T)||T;return L.p(S)==="isoweek"?D?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):C.bind(this)(S,T)}}})}(Wt)),Wt.exports}var _n=wn();const Dn=qt(_n);var Pt={exports:{}},Sn=Pt.exports,de;function $n(){return de||(de=1,function(t,n){(function(r,i){t.exports=i()})(Sn,function(){var r={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"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,c=/\d\d/,h=/\d\d?/,w=/\d*[^-_:/,()\s\d]+/,C={},S=function(b){return(b=+b)+(b>68?1900:2e3)},T=function(b){return function(E){this[b]=+E}},L=[/[+-]\d\d:?(\d\d)?|Z/,function(b){(this.zone||(this.zone={})).offset=function(E){if(!E||E==="Z")return 0;var Y=E.match(/([+-]|\d\d)/g),I=60*Y[1]+(+Y[2]||0);return I===0?0:Y[0]==="+"?-I:I}(b)}],D=function(b){var E=C[b];return E&&(E.indexOf?E:E.s.concat(E.f))},_=function(b,E){var Y,I=C.meridiem;if(I){for(var N=1;N<=24;N+=1)if(b.indexOf(I(N,0,E))>-1){Y=N>12;break}}else Y=b===(E?"pm":"PM");return Y},G={A:[w,function(b){this.afternoon=_(b,!1)}],a:[w,function(b){this.afternoon=_(b,!0)}],Q:[a,function(b){this.month=3*(b-1)+1}],S:[a,function(b){this.milliseconds=100*+b}],SS:[c,function(b){this.milliseconds=10*+b}],SSS:[/\d{3}/,function(b){this.milliseconds=+b}],s:[h,T("seconds")],ss:[h,T("seconds")],m:[h,T("minutes")],mm:[h,T("minutes")],H:[h,T("hours")],h:[h,T("hours")],HH:[h,T("hours")],hh:[h,T("hours")],D:[h,T("day")],DD:[c,T("day")],Do:[w,function(b){var E=C.ordinal,Y=b.match(/\d+/);if(this.day=Y[0],E)for(var I=1;I<=31;I+=1)E(I).replace(/\[|\]/g,"")===b&&(this.day=I)}],w:[h,T("week")],ww:[c,T("week")],M:[h,T("month")],MM:[c,T("month")],MMM:[w,function(b){var E=D("months"),Y=(D("monthsShort")||E.map(function(I){return I.slice(0,3)})).indexOf(b)+1;if(Y<1)throw new Error;this.month=Y%12||Y}],MMMM:[w,function(b){var E=D("months").indexOf(b)+1;if(E<1)throw new Error;this.month=E%12||E}],Y:[/[+-]?\d+/,T("year")],YY:[c,function(b){this.year=S(b)}],YYYY:[/\d{4}/,T("year")],Z:L,ZZ:L};function A(b){var E,Y;E=b,Y=C&&C.formats;for(var I=(b=E.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,f){var g=f&&f.toUpperCase();return p||Y[f]||r[f]||Y[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(o,d,l){return d||l.slice(1)})})).match(i),N=I.length,z=0;z<N;z+=1){var V=I[z],W=G[V],m=W&&W[0],v=W&&W[1];I[z]=v?{regex:m,parser:v}:V.replace(/^\[|\]$/g,"")}return function(x){for(var p={},f=0,g=0;f<N;f+=1){var o=I[f];if(typeof o=="string")g+=o.length;else{var d=o.regex,l=o.parser,k=x.slice(g),e=d.exec(k)[0];l.call(p,e),x=x.replace(e,"")}}return function(y){var s=y.afternoon;if(s!==void 0){var M=y.hours;s?M<12&&(y.hours+=12):M===12&&(y.hours=0),delete y.afternoon}}(p),p}}return function(b,E,Y){Y.p.customParseFormat=!0,b&&b.parseTwoDigitYear&&(S=b.parseTwoDigitYear);var I=E.prototype,N=I.parse;I.parse=function(z){var V=z.date,W=z.utc,m=z.args;this.$u=W;var v=m[1];if(typeof v=="string"){var x=m[2]===!0,p=m[3]===!0,f=x||p,g=m[2];p&&(g=m[2]),C=this.$locale(),!x&&g&&(C=Y.Ls[g]),this.$d=function(k,e,y,s){try{if(["x","X"].indexOf(e)>-1)return new Date((e==="X"?1e3:1)*k);var M=A(e)(k),$=M.year,O=M.month,F=M.day,dt=M.hours,P=M.minutes,J=M.seconds,ht=M.milliseconds,at=M.zone,pt=M.week,ft=new Date,st=F||($||O?1:ft.getDate()),q=$||ft.getFullYear(),U=0;$&&!O||(U=O>0?O-1:ft.getMonth());var B,rt=dt||0,Q=P||0,nt=J||0,j=ht||0;return at?new Date(Date.UTC(q,U,st,rt,Q,nt,j+60*at.offset*1e3)):y?new Date(Date.UTC(q,U,st,rt,Q,nt,j)):(B=new Date(q,U,st,rt,Q,nt,j),pt&&(B=s(B).week(pt).toDate()),B)}catch{return new Date("")}}(V,v,W,Y),this.init(),g&&g!==!0&&(this.$L=this.locale(g).$L),f&&V!=this.format(v)&&(this.$d=new Date("")),C={}}else if(v instanceof Array)for(var o=v.length,d=1;d<=o;d+=1){m[1]=v[d-1];var l=Y.apply(this,m);if(l.isValid()){this.$d=l.$d,this.$L=l.$L,this.init();break}d===o&&(this.$d=new Date(""))}else N.call(this,z)}}})}(Pt)),Pt.exports}var Cn=$n();const Mn=qt(Cn);var zt={exports:{}},En=zt.exports,he;function An(){return he||(he=1,function(t,n){(function(r,i){t.exports=i()})(En,function(){return function(r,i){var a=i.prototype,c=a.format;a.format=function(h){var w=this,C=this.$locale();if(!this.isValid())return c.bind(this)(h);var S=this.$utils(),T=(h||"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(L){switch(L){case"Q":return Math.ceil((w.$M+1)/3);case"Do":return C.ordinal(w.$D);case"gggg":return w.weekYear();case"GGGG":return w.isoWeekYear();case"wo":return C.ordinal(w.week(),"W");case"w":case"ww":return S.s(w.week(),L==="w"?1:2,"0");case"W":case"WW":return S.s(w.isoWeek(),L==="W"?1:2,"0");case"k":case"kk":return S.s(String(w.$H===0?24:w.$H),L==="k"?1:2,"0");case"X":return Math.floor(w.$d.getTime()/1e3);case"x":return w.$d.getTime();case"z":return"["+w.offsetName()+"]";case"zzz":return"["+w.offsetName("long")+"]";default:return L}});return c.bind(this)(T)}}})}(zt)),zt.exports}var Ln=An();const Yn=qt(Ln);var Nt=function(){var t=u(function(g,o,d,l){for(d=d||{},l=g.length;l--;d[g[l]]=o);return d},"o"),n=[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],r=[1,26],i=[1,27],a=[1,28],c=[1,29],h=[1,30],w=[1,31],C=[1,32],S=[1,33],T=[1,34],L=[1,9],D=[1,10],_=[1,11],G=[1,12],A=[1,13],b=[1,14],E=[1,15],Y=[1,16],I=[1,19],N=[1,20],z=[1,21],V=[1,22],W=[1,23],m=[1,25],v=[1,35],x={trace:u(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:u(function(g,o,d,l,k,e,y){var s=e.length-1;switch(k){case 1:return e[s-1];case 2:this.$=[];break;case 3:e[s-1].push(e[s]),this.$=e[s-1];break;case 4:case 5:this.$=e[s];break;case 6:case 7:this.$=[];break;case 8:l.setWeekday("monday");break;case 9:l.setWeekday("tuesday");break;case 10:l.setWeekday("wednesday");break;case 11:l.setWeekday("thursday");break;case 12:l.setWeekday("friday");break;case 13:l.setWeekday("saturday");break;case 14:l.setWeekday("sunday");break;case 15:l.setWeekend("friday");break;case 16:l.setWeekend("saturday");break;case 17:l.setDateFormat(e[s].substr(11)),this.$=e[s].substr(11);break;case 18:l.enableInclusiveEndDates(),this.$=e[s].substr(18);break;case 19:l.TopAxis(),this.$=e[s].substr(8);break;case 20:l.setAxisFormat(e[s].substr(11)),this.$=e[s].substr(11);break;case 21:l.setTickInterval(e[s].substr(13)),this.$=e[s].substr(13);break;case 22:l.setExcludes(e[s].substr(9)),this.$=e[s].substr(9);break;case 23:l.setIncludes(e[s].substr(9)),this.$=e[s].substr(9);break;case 24:l.setTodayMarker(e[s].substr(12)),this.$=e[s].substr(12);break;case 27:l.setDiagramTitle(e[s].substr(6)),this.$=e[s].substr(6);break;case 28:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 29:case 30:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 31:l.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 33:l.addTask(e[s-1],e[s]),this.$="task";break;case 34:this.$=e[s-1],l.setClickEvent(e[s-1],e[s],null);break;case 35:this.$=e[s-2],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 36:this.$=e[s-2],l.setClickEvent(e[s-2],e[s-1],null),l.setLink(e[s-2],e[s]);break;case 37:this.$=e[s-3],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setLink(e[s-3],e[s]);break;case 38:this.$=e[s-2],l.setClickEvent(e[s-2],e[s],null),l.setLink(e[s-2],e[s-1]);break;case 39:this.$=e[s-3],l.setClickEvent(e[s-3],e[s-1],e[s]),l.setLink(e[s-3],e[s-2]);break;case 40:this.$=e[s-1],l.setLink(e[s-1],e[s]);break;case 41:case 47:this.$=e[s-1]+" "+e[s];break;case 42:case 43:case 45:this.$=e[s-2]+" "+e[s-1]+" "+e[s];break;case 44:case 46:this.$=e[s-3]+" "+e[s-2]+" "+e[s-1]+" "+e[s];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:i,14:a,15:c,16:h,17:w,18:C,19:18,20:S,21:T,22:L,23:D,24:_,25:G,26:A,27:b,28:E,29:Y,30:I,31:N,33:z,35:V,36:W,37:24,38:m,40:v},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:36,11:17,12:r,13:i,14:a,15:c,16:h,17:w,18:C,19:18,20:S,21:T,22:L,23:D,24:_,25:G,26:A,27:b,28:E,29:Y,30:I,31:N,33:z,35:V,36:W,37:24,38:m,40:v},t(n,[2,5]),t(n,[2,6]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,20]),t(n,[2,21]),t(n,[2,22]),t(n,[2,23]),t(n,[2,24]),t(n,[2,25]),t(n,[2,26]),t(n,[2,27]),{32:[1,37]},{34:[1,38]},t(n,[2,30]),t(n,[2,31]),t(n,[2,32]),{39:[1,39]},t(n,[2,8]),t(n,[2,9]),t(n,[2,10]),t(n,[2,11]),t(n,[2,12]),t(n,[2,13]),t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),{41:[1,40],43:[1,41]},t(n,[2,4]),t(n,[2,28]),t(n,[2,29]),t(n,[2,33]),t(n,[2,34],{42:[1,42],43:[1,43]}),t(n,[2,40],{41:[1,44]}),t(n,[2,35],{43:[1,45]}),t(n,[2,36]),t(n,[2,38],{42:[1,46]}),t(n,[2,37]),t(n,[2,39])],defaultActions:{},parseError:u(function(g,o){if(o.recoverable)this.trace(g);else{var d=new Error(g);throw d.hash=o,d}},"parseError"),parse:u(function(g){var o=this,d=[0],l=[],k=[null],e=[],y=this.table,s="",M=0,$=0,O=2,F=1,dt=e.slice.call(arguments,1),P=Object.create(this.lexer),J={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&(J.yy[ht]=this.yy[ht]);P.setInput(g,J.yy),J.yy.lexer=P,J.yy.parser=this,typeof P.yylloc>"u"&&(P.yylloc={});var at=P.yylloc;e.push(at);var pt=P.options&&P.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(X){d.length=d.length-2*X,k.length=k.length-X,e.length=e.length-X}u(ft,"popStack");function st(){var X;return X=l.pop()||P.lex()||F,typeof X!="number"&&(X instanceof Array&&(l=X,X=l.pop()),X=o.symbols_[X]||X),X}u(st,"lex");for(var q,U,B,rt,Q={},nt,j,ee,gt;;){if(U=d[d.length-1],this.defaultActions[U]?B=this.defaultActions[U]:((q===null||typeof q>"u")&&(q=st()),B=y[U]&&y[U][q]),typeof B>"u"||!B.length||!B[0]){var Ct="";gt=[];for(nt in y[U])this.terminals_[nt]&&nt>O&>.push("'"+this.terminals_[nt]+"'");P.showPosition?Ct="Parse error on line "+(M+1)+`:
|
|
2
|
-
`+P.showPosition()+`
|
|
3
|
-
Expecting `+gt.join(", ")+", got '"+(this.terminals_[q]||q)+"'":Ct="Parse error on line "+(M+1)+": Unexpected "+(q==F?"end of input":"'"+(this.terminals_[q]||q)+"'"),this.parseError(Ct,{text:P.match,token:this.terminals_[q]||q,line:P.yylineno,loc:at,expected:gt})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+q);switch(B[0]){case 1:d.push(q),k.push(P.yytext),e.push(P.yylloc),d.push(B[1]),q=null,$=P.yyleng,s=P.yytext,M=P.yylineno,at=P.yylloc;break;case 2:if(j=this.productions_[B[1]][1],Q.$=k[k.length-j],Q._$={first_line:e[e.length-(j||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(j||1)].first_column,last_column:e[e.length-1].last_column},pt&&(Q._$.range=[e[e.length-(j||1)].range[0],e[e.length-1].range[1]]),rt=this.performAction.apply(Q,[s,$,M,J.yy,B[1],k,e].concat(dt)),typeof rt<"u")return rt;j&&(d=d.slice(0,-1*j*2),k=k.slice(0,-1*j),e=e.slice(0,-1*j)),d.push(this.productions_[B[1]][0]),k.push(Q.$),e.push(Q._$),ee=y[d[d.length-2]][d[d.length-1]],d.push(ee);break;case 3:return!0}}return!0},"parse")},p=function(){var g={EOF:1,parseError:u(function(o,d){if(this.yy.parser)this.yy.parser.parseError(o,d);else throw new Error(o)},"parseError"),setInput:u(function(o,d){return this.yy=d||this.yy||{},this._input=o,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:u(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var d=o.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:u(function(o){var d=o.length,l=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var k=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),l.length-1&&(this.yylineno-=l.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===k.length?this.yylloc.first_column:0)+k[k.length-l.length].length-l[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(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:u(function(o){this.unput(this.match.slice(o))},"less"),pastInput:u(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var o=this.pastInput(),d=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
-
`+d+"^"},"showPosition"),test_match:u(function(o,d){var l,k,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),k=o[0].match(/(?:\r\n?|\n).*/g),k&&(this.yylineno+=k.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],l=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var y in e)this[y]=e[y];return!1}return!1},"test_match"),next:u(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,d,l,k;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),y=0;y<e.length;y++)if(l=this._input.match(this.rules[e[y]]),l&&(!d||l[0].length>d[0].length)){if(d=l,k=y,this.options.backtrack_lexer){if(o=this.test_match(l,e[y]),o!==!1)return o;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(o=this.test_match(d,e[k]),o!==!1?o:!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:u(function(){var o=this.next();return o||this.lex()},"lex"),begin:u(function(o){this.conditionStack.push(o)},"begin"),popState:u(function(){var o=this.conditionStack.length-1;return o>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:u(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:u(function(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},"topState"),pushState:u(function(o){this.begin(o)},"pushState"),stateStackSize:u(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:u(function(o,d,l,k){switch(l){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 g}();x.lexer=p;function f(){this.yy={}}return u(f,"Parser"),f.prototype=x,x.Parser=f,new f}();Nt.parser=Nt;var In=Nt;R.extend(Dn);R.extend(Mn);R.extend(Yn);var fe={friday:5,saturday:6},Z="",Bt="",Rt=void 0,jt="",yt=[],kt=[],Xt=new Map,Ut=[],St=[],ut="",Qt="",Ce=["active","done","crit","milestone","vert"],Zt=[],mt=!1,Kt=!1,Jt="sunday",$t="saturday",Ht=0,Fn=u(function(){Ut=[],St=[],ut="",Zt=[],Tt=0,Vt=void 0,wt=void 0,H=[],Z="",Bt="",Qt="",Rt=void 0,jt="",yt=[],kt=[],mt=!1,Kt=!1,Ht=0,Xt=new Map,nn(),Jt="sunday",$t="saturday"},"clear"),On=u(function(t){Bt=t},"setAxisFormat"),Wn=u(function(){return Bt},"getAxisFormat"),Pn=u(function(t){Rt=t},"setTickInterval"),zn=u(function(){return Rt},"getTickInterval"),Nn=u(function(t){jt=t},"setTodayMarker"),Hn=u(function(){return jt},"getTodayMarker"),Gn=u(function(t){Z=t},"setDateFormat"),Vn=u(function(){mt=!0},"enableInclusiveEndDates"),qn=u(function(){return mt},"endDatesAreInclusive"),Bn=u(function(){Kt=!0},"enableTopAxis"),Rn=u(function(){return Kt},"topAxisEnabled"),jn=u(function(t){Qt=t},"setDisplayMode"),Xn=u(function(){return Qt},"getDisplayMode"),Un=u(function(){return Z},"getDateFormat"),Qn=u(function(t){yt=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),Zn=u(function(){return yt},"getIncludes"),Kn=u(function(t){kt=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),Jn=u(function(){return kt},"getExcludes"),tr=u(function(){return Xt},"getLinks"),er=u(function(t){ut=t,Ut.push(t)},"addSection"),nr=u(function(){return Ut},"getSections"),rr=u(function(){let t=ye();const n=10;let r=0;for(;!t&&r<n;)t=ye(),r++;return St=H,St},"getTasks"),Me=u(function(t,n,r,i){const a=t.format(n.trim()),c=t.format("YYYY-MM-DD");return i.includes(a)||i.includes(c)?!1:r.includes("weekends")&&(t.isoWeekday()===fe[$t]||t.isoWeekday()===fe[$t]+1)||r.includes(t.format("dddd").toLowerCase())?!0:r.includes(a)||r.includes(c)},"isInvalidDate"),ir=u(function(t){Jt=t},"setWeekday"),ar=u(function(){return Jt},"getWeekday"),sr=u(function(t){$t=t},"setWeekend"),Ee=u(function(t,n,r,i){if(!r.length||t.manualEndTime)return;let a;t.startTime instanceof Date?a=R(t.startTime):a=R(t.startTime,n,!0),a=a.add(1,"d");let c;t.endTime instanceof Date?c=R(t.endTime):c=R(t.endTime,n,!0);const[h,w]=or(a,c,n,r,i);t.endTime=h.toDate(),t.renderEndTime=w},"checkTaskDates"),or=u(function(t,n,r,i,a){let c=!1,h=null;for(;t<=n;)c||(h=n.toDate()),c=Me(t,r,i,a),c&&(n=n.add(1,"d")),t=t.add(1,"d");return[n,h]},"fixTaskDates"),Gt=u(function(t,n,r){if(r=r.trim(),(n.trim()==="x"||n.trim()==="X")&&/^\d+$/.test(r))return new Date(Number(r));const i=/^after\s+(?<ids>[\d\w- ]+)/.exec(r);if(i!==null){let c=null;for(const w of i.groups.ids.split(" ")){let C=it(w);C!==void 0&&(!c||C.endTime>c.endTime)&&(c=C)}if(c)return c.endTime;const h=new Date;return h.setHours(0,0,0,0),h}let a=R(r,n.trim(),!0);if(a.isValid())return a.toDate();{_t.debug("Invalid date:"+r),_t.debug("With date format:"+n.trim());const c=new Date(r);if(c===void 0||isNaN(c.getTime())||c.getFullYear()<-1e4||c.getFullYear()>1e4)throw new Error("Invalid date:"+r);return c}},"getStartDate"),Ae=u(function(t){const n=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return n!==null?[Number.parseFloat(n[1]),n[2]]:[NaN,"ms"]},"parseDuration"),Le=u(function(t,n,r,i=!1){r=r.trim();const a=/^until\s+(?<ids>[\d\w- ]+)/.exec(r);if(a!==null){let S=null;for(const L of a.groups.ids.split(" ")){let D=it(L);D!==void 0&&(!S||D.startTime<S.startTime)&&(S=D)}if(S)return S.startTime;const T=new Date;return T.setHours(0,0,0,0),T}let c=R(r,n.trim(),!0);if(c.isValid())return i&&(c=c.add(1,"d")),c.toDate();let h=R(t);const[w,C]=Ae(r);if(!Number.isNaN(w)){const S=h.add(w,C);S.isValid()&&(h=S)}return h.toDate()},"getEndDate"),Tt=0,lt=u(function(t){return t===void 0?(Tt=Tt+1,"task"+Tt):t},"parseId"),cr=u(function(t,n){let r;n.substr(0,1)===":"?r=n.substr(1,n.length):r=n;const i=r.split(","),a={};te(i,a,Ce);for(let h=0;h<i.length;h++)i[h]=i[h].trim();let c="";switch(i.length){case 1:a.id=lt(),a.startTime=t.endTime,c=i[0];break;case 2:a.id=lt(),a.startTime=Gt(void 0,Z,i[0]),c=i[1];break;case 3:a.id=lt(i[0]),a.startTime=Gt(void 0,Z,i[1]),c=i[2];break}return c&&(a.endTime=Le(a.startTime,Z,c,mt),a.manualEndTime=R(c,"YYYY-MM-DD",!0).isValid(),Ee(a,Z,kt,yt)),a},"compileData"),lr=u(function(t,n){let r;n.substr(0,1)===":"?r=n.substr(1,n.length):r=n;const i=r.split(","),a={};te(i,a,Ce);for(let c=0;c<i.length;c++)i[c]=i[c].trim();switch(i.length){case 1:a.id=lt(),a.startTime={type:"prevTaskEnd",id:t},a.endTime={data:i[0]};break;case 2:a.id=lt(),a.startTime={type:"getStartDate",startData:i[0]},a.endTime={data:i[1]};break;case 3:a.id=lt(i[0]),a.startTime={type:"getStartDate",startData:i[1]},a.endTime={data:i[2]};break}return a},"parseData"),Vt,wt,H=[],Ye={},ur=u(function(t,n){const r={section:ut,type:ut,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:n},task:t,classes:[]},i=lr(wt,n);r.raw.startTime=i.startTime,r.raw.endTime=i.endTime,r.id=i.id,r.prevTaskId=wt,r.active=i.active,r.done=i.done,r.crit=i.crit,r.milestone=i.milestone,r.vert=i.vert,r.order=Ht,Ht++;const a=H.push(r);wt=r.id,Ye[r.id]=a-1},"addTask"),it=u(function(t){const n=Ye[t];return H[n]},"findTaskById"),dr=u(function(t,n){const r={section:ut,type:ut,description:t,task:t,classes:[]},i=cr(Vt,n);r.startTime=i.startTime,r.endTime=i.endTime,r.id=i.id,r.active=i.active,r.done=i.done,r.crit=i.crit,r.milestone=i.milestone,r.vert=i.vert,Vt=r,St.push(r)},"addTaskOrg"),ye=u(function(){const t=u(function(r){const i=H[r];let a="";switch(H[r].raw.startTime.type){case"prevTaskEnd":{const c=it(i.prevTaskId);i.startTime=c.endTime;break}case"getStartDate":a=Gt(void 0,Z,H[r].raw.startTime.startData),a&&(H[r].startTime=a);break}return H[r].startTime&&(H[r].endTime=Le(H[r].startTime,Z,H[r].raw.endTime.data,mt),H[r].endTime&&(H[r].processed=!0,H[r].manualEndTime=R(H[r].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Ee(H[r],Z,kt,yt))),H[r].processed},"compileTask");let n=!0;for(const[r,i]of H.entries())t(r),n=n&&i.processed;return n},"compileTasks"),hr=u(function(t,n){let r=n;ot().securityLevel!=="loose"&&(r=en.sanitizeUrl(n)),t.split(",").forEach(function(i){it(i)!==void 0&&(Fe(i,()=>{window.open(r,"_self")}),Xt.set(i,r))}),Ie(t,"clickable")},"setLink"),Ie=u(function(t,n){t.split(",").forEach(function(r){let i=it(r);i!==void 0&&i.classes.push(n)})},"setClass"),fr=u(function(t,n,r){if(ot().securityLevel!=="loose"||n===void 0)return;let i=[];if(typeof r=="string"){i=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let a=0;a<i.length;a++){let c=i[a].trim();c.startsWith('"')&&c.endsWith('"')&&(c=c.substr(1,c.length-2)),i[a]=c}}i.length===0&&i.push(t),it(t)!==void 0&&Fe(t,()=>{rn.runFunc(n,...i)})},"setClickFun"),Fe=u(function(t,n){Zt.push(function(){const r=document.querySelector(`[id="${t}"]`);r!==null&&r.addEventListener("click",function(){n()})},function(){const r=document.querySelector(`[id="${t}-text"]`);r!==null&&r.addEventListener("click",function(){n()})})},"pushFun"),yr=u(function(t,n,r){t.split(",").forEach(function(i){fr(i,n,r)}),Ie(t,"clickable")},"setClickEvent"),kr=u(function(t){Zt.forEach(function(n){n(t)})},"bindFunctions"),mr={getConfig:u(()=>ot().gantt,"getConfig"),clear:Fn,setDateFormat:Gn,getDateFormat:Un,enableInclusiveEndDates:Vn,endDatesAreInclusive:qn,enableTopAxis:Bn,topAxisEnabled:Rn,setAxisFormat:On,getAxisFormat:Wn,setTickInterval:Pn,getTickInterval:zn,setTodayMarker:Nn,getTodayMarker:Hn,setAccTitle:He,getAccTitle:Ne,setDiagramTitle:ze,getDiagramTitle:Pe,setDisplayMode:jn,getDisplayMode:Xn,setAccDescription:We,getAccDescription:Oe,addSection:er,getSections:nr,getTasks:rr,addTask:ur,findTaskById:it,addTaskOrg:dr,setIncludes:Qn,getIncludes:Zn,setExcludes:Kn,getExcludes:Jn,setClickEvent:yr,setLink:hr,getLinks:tr,bindFunctions:kr,parseDuration:Ae,isInvalidDate:Me,setWeekday:ir,getWeekday:ar,setWeekend:sr};function te(t,n,r){let i=!0;for(;i;)i=!1,r.forEach(function(a){const c="^\\s*"+a+"\\s*$",h=new RegExp(c);t[0].match(h)&&(n[a]=!0,t.shift(1),i=!0)})}u(te,"getTaskTags");var pr=u(function(){_t.debug("Something is calling, setConf, remove the call")},"setConf"),ke={monday:Je,tuesday:Ke,wednesday:Ze,thursday:Qe,friday:Ue,saturday:Xe,sunday:je},gr=u((t,n)=>{let r=[...t].map(()=>-1/0),i=[...t].sort((c,h)=>c.startTime-h.startTime||c.order-h.order),a=0;for(const c of i)for(let h=0;h<r.length;h++)if(c.startTime>=r[h]){r[h]=c.endTime,c.order=h+n,h>a&&(a=h);break}return a},"getMaxIntersections"),tt,br=u(function(t,n,r,i){const a=ot().gantt,c=ot().securityLevel;let h;c==="sandbox"&&(h=bt("#i"+n));const w=c==="sandbox"?bt(h.nodes()[0].contentDocument.body):bt("body"),C=c==="sandbox"?h.nodes()[0].contentDocument:document,S=C.getElementById(n);tt=S.parentElement.offsetWidth,tt===void 0&&(tt=1200),a.useWidth!==void 0&&(tt=a.useWidth);const T=i.db.getTasks();let L=[];for(const m of T)L.push(m.type);L=W(L);const D={};let _=2*a.topPadding;if(i.db.getDisplayMode()==="compact"||a.displayMode==="compact"){const m={};for(const x of T)m[x.section]===void 0?m[x.section]=[x]:m[x.section].push(x);let v=0;for(const x of Object.keys(m)){const p=gr(m[x],v)+1;v+=p,_+=p*(a.barHeight+a.barGap),D[x]=p}}else{_+=T.length*(a.barHeight+a.barGap);for(const m of L)D[m]=T.filter(v=>v.type===m).length}S.setAttribute("viewBox","0 0 "+tt+" "+_);const G=w.select(`[id="${n}"]`),A=Ge().domain([Ve(T,function(m){return m.startTime}),qe(T,function(m){return m.endTime})]).rangeRound([0,tt-a.leftPadding-a.rightPadding]);function b(m,v){const x=m.startTime,p=v.startTime;let f=0;return x>p?f=1:x<p&&(f=-1),f}u(b,"taskCompare"),T.sort(b),E(T,tt,_),Be(G,_,tt,a.useMaxWidth),G.append("text").text(i.db.getDiagramTitle()).attr("x",tt/2).attr("y",a.titleTopMargin).attr("class","titleText");function E(m,v,x){const p=a.barHeight,f=p+a.barGap,g=a.topPadding,o=a.leftPadding,d=Re().domain([0,L.length]).range(["#00B9FA","#F95002"]).interpolate(vn);I(f,g,o,v,x,m,i.db.getExcludes(),i.db.getIncludes()),N(o,g,v,x),Y(m,f,g,o,p,d,v),z(f,g),V(o,g,v,x)}u(E,"makeGantt");function Y(m,v,x,p,f,g,o){m.sort((e,y)=>e.vert===y.vert?0:e.vert?1:-1);const d=[...new Set(m.map(e=>e.order))].map(e=>m.find(y=>y.order===e));G.append("g").selectAll("rect").data(d).enter().append("rect").attr("x",0).attr("y",function(e,y){return y=e.order,y*v+x-2}).attr("width",function(){return o-a.rightPadding/2}).attr("height",v).attr("class",function(e){for(const[y,s]of L.entries())if(e.type===s)return"section section"+y%a.numberSectionStyles;return"section section0"}).enter();const l=G.append("g").selectAll("rect").data(m).enter(),k=i.db.getLinks();if(l.append("rect").attr("id",function(e){return e.id}).attr("rx",3).attr("ry",3).attr("x",function(e){return e.milestone?A(e.startTime)+p+.5*(A(e.endTime)-A(e.startTime))-.5*f:A(e.startTime)+p}).attr("y",function(e,y){return y=e.order,e.vert?a.gridLineStartPadding:y*v+x}).attr("width",function(e){return e.milestone?f:e.vert?.08*f:A(e.renderEndTime||e.endTime)-A(e.startTime)}).attr("height",function(e){return e.vert?T.length*(a.barHeight+a.barGap)+a.barHeight*2:f}).attr("transform-origin",function(e,y){return y=e.order,(A(e.startTime)+p+.5*(A(e.endTime)-A(e.startTime))).toString()+"px "+(y*v+x+.5*f).toString()+"px"}).attr("class",function(e){const y="task";let s="";e.classes.length>0&&(s=e.classes.join(" "));let M=0;for(const[O,F]of L.entries())e.type===F&&(M=O%a.numberSectionStyles);let $="";return e.active?e.crit?$+=" activeCrit":$=" active":e.done?e.crit?$=" doneCrit":$=" done":e.crit&&($+=" crit"),$.length===0&&($=" task"),e.milestone&&($=" milestone "+$),e.vert&&($=" vert "+$),$+=M,$+=" "+s,y+$}),l.append("text").attr("id",function(e){return e.id+"-text"}).text(function(e){return e.task}).attr("font-size",a.fontSize).attr("x",function(e){let y=A(e.startTime),s=A(e.renderEndTime||e.endTime);if(e.milestone&&(y+=.5*(A(e.endTime)-A(e.startTime))-.5*f,s=y+f),e.vert)return A(e.startTime)+p;const M=this.getBBox().width;return M>s-y?s+M+1.5*a.leftPadding>o?y+p-5:s+p+5:(s-y)/2+y+p}).attr("y",function(e,y){return e.vert?a.gridLineStartPadding+T.length*(a.barHeight+a.barGap)+60:(y=e.order,y*v+a.barHeight/2+(a.fontSize/2-2)+x)}).attr("text-height",f).attr("class",function(e){const y=A(e.startTime);let s=A(e.endTime);e.milestone&&(s=y+f);const M=this.getBBox().width;let $="";e.classes.length>0&&($=e.classes.join(" "));let O=0;for(const[dt,P]of L.entries())e.type===P&&(O=dt%a.numberSectionStyles);let F="";return e.active&&(e.crit?F="activeCritText"+O:F="activeText"+O),e.done?e.crit?F=F+" doneCritText"+O:F=F+" doneText"+O:e.crit&&(F=F+" critText"+O),e.milestone&&(F+=" milestoneText"),e.vert&&(F+=" vertText"),M>s-y?s+M+1.5*a.leftPadding>o?$+" taskTextOutsideLeft taskTextOutside"+O+" "+F:$+" taskTextOutsideRight taskTextOutside"+O+" "+F+" width-"+M:$+" taskText taskText"+O+" "+F+" width-"+M}),ot().securityLevel==="sandbox"){let e;e=bt("#i"+n);const y=e.nodes()[0].contentDocument;l.filter(function(s){return k.has(s.id)}).each(function(s){var M=y.querySelector("#"+s.id),$=y.querySelector("#"+s.id+"-text");const O=M.parentNode;var F=y.createElement("a");F.setAttribute("xlink:href",k.get(s.id)),F.setAttribute("target","_top"),O.appendChild(F),F.appendChild(M),F.appendChild($)})}}u(Y,"drawRects");function I(m,v,x,p,f,g,o,d){if(o.length===0&&d.length===0)return;let l,k;for(const{startTime:$,endTime:O}of g)(l===void 0||$<l)&&(l=$),(k===void 0||O>k)&&(k=O);if(!l||!k)return;if(R(k).diff(R(l),"year")>5){_t.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const e=i.db.getDateFormat(),y=[];let s=null,M=R(l);for(;M.valueOf()<=k;)i.db.isInvalidDate(M,e,o,d)?s?s.end=M:s={start:M,end:M}:s&&(y.push(s),s=null),M=M.add(1,"d");G.append("g").selectAll("rect").data(y).enter().append("rect").attr("id",$=>"exclude-"+$.start.format("YYYY-MM-DD")).attr("x",$=>A($.start.startOf("day"))+x).attr("y",a.gridLineStartPadding).attr("width",$=>A($.end.endOf("day"))-A($.start.startOf("day"))).attr("height",f-v-a.gridLineStartPadding).attr("transform-origin",function($,O){return(A($.start)+x+.5*(A($.end)-A($.start))).toString()+"px "+(O*m+.5*f).toString()+"px"}).attr("class","exclude-range")}u(I,"drawExcludeDays");function N(m,v,x,p){const f=i.db.getDateFormat(),g=i.db.getAxisFormat();let o;g?o=g:f==="D"?o="%d":o=a.axisFormat??"%Y-%m-%d";let d=yn(A).tickSize(-p+v+a.gridLineStartPadding).tickFormat(ne(o));const l=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||a.tickInterval);if(l!==null){const k=l[1],e=l[2],y=i.db.getWeekday()||a.weekday;switch(e){case"millisecond":d.ticks(ce.every(k));break;case"second":d.ticks(oe.every(k));break;case"minute":d.ticks(se.every(k));break;case"hour":d.ticks(ae.every(k));break;case"day":d.ticks(ie.every(k));break;case"week":d.ticks(ke[y].every(k));break;case"month":d.ticks(re.every(k));break}}if(G.append("g").attr("class","grid").attr("transform","translate("+m+", "+(p-50)+")").call(d).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||a.topAxis){let k=fn(A).tickSize(-p+v+a.gridLineStartPadding).tickFormat(ne(o));if(l!==null){const e=l[1],y=l[2],s=i.db.getWeekday()||a.weekday;switch(y){case"millisecond":k.ticks(ce.every(e));break;case"second":k.ticks(oe.every(e));break;case"minute":k.ticks(se.every(e));break;case"hour":k.ticks(ae.every(e));break;case"day":k.ticks(ie.every(e));break;case"week":k.ticks(ke[s].every(e));break;case"month":k.ticks(re.every(e));break}}G.append("g").attr("class","grid").attr("transform","translate("+m+", "+v+")").call(k).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}u(N,"makeGrid");function z(m,v){let x=0;const p=Object.keys(D).map(f=>[f,D[f]]);G.append("g").selectAll("text").data(p).enter().append(function(f){const g=f[0].split(tn.lineBreakRegex),o=-(g.length-1)/2,d=C.createElementNS("http://www.w3.org/2000/svg","text");d.setAttribute("dy",o+"em");for(const[l,k]of g.entries()){const e=C.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),l>0&&e.setAttribute("dy","1em"),e.textContent=k,d.appendChild(e)}return d}).attr("x",10).attr("y",function(f,g){if(g>0)for(let o=0;o<g;o++)return x+=p[g-1][1],f[1]*m/2+x*m+v;else return f[1]*m/2+v}).attr("font-size",a.sectionFontSize).attr("class",function(f){for(const[g,o]of L.entries())if(f[0]===o)return"sectionTitle sectionTitle"+g%a.numberSectionStyles;return"sectionTitle"})}u(z,"vertLabels");function V(m,v,x,p){const f=i.db.getTodayMarker();if(f==="off")return;const g=G.append("g").attr("class","today"),o=new Date,d=g.append("line");d.attr("x1",A(o)+m).attr("x2",A(o)+m).attr("y1",a.titleTopMargin).attr("y2",p-a.titleTopMargin).attr("class","today"),f!==""&&d.attr("style",f.replace(/,/g,";"))}u(V,"drawToday");function W(m){const v={},x=[];for(let p=0,f=m.length;p<f;++p)Object.prototype.hasOwnProperty.call(v,m[p])||(v[m[p]]=!0,x.push(m[p]));return x}u(W,"checkUnique")},"draw"),xr={setConf:pr,draw:br},vr=u(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"),Tr=vr,_r={parser:In,db:mr,renderer:xr,styles:Tr};export{_r as diagram};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import{m as Q}from"./chunk-4BX2VUAB-BeuiUsbc-CyOuPrI8.js";import{e as X}from"./chunk-QZHKN3VN-C6_I39By-Cz33_PSG.js";import{R as m,r as Z,o as rr,f as tr,u as er,l as or,s as nr,O as w,g as cr,e as ar,n as sr,E as ir,w as dr,x as k,H as hr,J as $r,L as mr,M as lr}from"./index-CFYhtZ1e.js";import{N as yr}from"./treemap-KMMF4GRG-C4GHjB3F-B6RJ9b4F.js";import"./_baseUniq-Cd4llU-Q-CsIxZURF.js";import"./_basePickBy-1MakYQmz-BAhRsHXC.js";import"./clone-DH1Kq5Y6-Ba-lUtme.js";var f={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},gr=mr.gitGraph,O=m(()=>hr({...gr,...$r().gitGraph}),"getConfig"),i=new X(()=>{const t=O(),r=t.mainBranchName,e=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:e}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function N(){return lr({length:7})}m(N,"getID");function _(t,r){const e=Object.create(null);return t.reduce((c,a)=>{const s=r(a);return e[s]||(e[s]=!0,c.push(a)),c},[])}m(_,"uniqBy");var pr=m(function(t){i.records.direction=t},"setDirection"),ur=m(function(t){w.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),xr=m(function(){return i.records.options},"getOptions"),fr=m(function(t){let r=t.msg,e=t.id;const c=t.type;let a=t.tags;w.info("commit",r,e,c,a),w.debug("Entering commit:",r,e,c,a);const s=O();e=k.sanitizeText(e,s),r=k.sanitizeText(r,s),a=a==null?void 0:a.map(h=>k.sanitizeText(h,s));const d={id:e||i.records.seq+"-"+N(),message:r,seq:i.records.seq++,type:c??f.NORMAL,tags:a??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=d,w.info("main branch",s.mainBranchName),i.records.commits.has(d.id)&&w.warn(`Commit ID ${d.id} already exists`),i.records.commits.set(d.id,d),i.records.branches.set(i.records.currBranch,d.id),w.debug("in pushCommit "+d.id)},"commit"),br=m(function(t){let r=t.name;const e=t.order;if(r=k.sanitizeText(r,O()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:e}),F(r),w.debug("in createBranch")},"branch"),wr=m(t=>{let r=t.branch,e=t.id;const c=t.type,a=t.tags,s=O();r=k.sanitizeText(r,s),e&&(e=k.sanitizeText(e,s));const d=i.records.branches.get(i.records.currBranch),h=i.records.branches.get(r),l=d?i.records.commits.get(d):void 0,o=h?i.records.commits.get(h):void 0;if(l&&o&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const $=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw $.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},$}if(l===void 0||!l){const $=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw $.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},$}if(!i.records.branches.has(r)){const $=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw $.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},$}if(o===void 0||!o){const $=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw $.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},$}if(l===o){const $=new Error('Incorrect usage of "merge". Both branches have same head');throw $.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},$}if(e&&i.records.commits.has(e)){const $=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom id");throw $.hash={text:`merge ${r} ${e} ${c} ${a==null?void 0:a.join(" ")}`,token:`merge ${r} ${e} ${c} ${a==null?void 0:a.join(" ")}`,expected:[`merge ${r} ${e}_UNIQUE ${c} ${a==null?void 0:a.join(" ")}`]},$}const n=h||"",x={id:e||`${i.records.seq}-${N()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,n],branch:i.records.currBranch,type:f.MERGE,customType:c,customId:!!e,tags:a??[]};i.records.head=x,i.records.commits.set(x.id,x),i.records.branches.set(i.records.currBranch,x.id),w.debug(i.records.branches),w.debug("in mergeBranch")},"merge"),Br=m(function(t){let r=t.id,e=t.targetId,c=t.tags,a=t.parent;w.debug("Entering cherryPick:",r,e,c);const s=O();if(r=k.sanitizeText(r,s),e=k.sanitizeText(e,s),c=c==null?void 0:c.map(l=>k.sanitizeText(l,s)),a=k.sanitizeText(a,s),!r||!i.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},l}const d=i.records.commits.get(r);if(d===void 0||!d)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(a&&!(Array.isArray(d.parents)&&d.parents.includes(a)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const h=d.branch;if(d.type===f.MERGE&&!a)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!e||!i.records.commits.has(e)){if(h===i.records.currBranch){const x=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw x.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},x}const l=i.records.branches.get(i.records.currBranch);if(l===void 0||!l){const x=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw x.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},x}const o=i.records.commits.get(l);if(o===void 0||!o){const x=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw x.hash={text:`cherryPick ${r} ${e}`,token:`cherryPick ${r} ${e}`,expected:["cherry-pick abc"]},x}const n={id:i.records.seq+"-"+N(),message:`cherry-picked ${d==null?void 0:d.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,d.id],branch:i.records.currBranch,type:f.CHERRY_PICK,tags:c?c.filter(Boolean):[`cherry-pick:${d.id}${d.type===f.MERGE?`|parent:${a}`:""}`]};i.records.head=n,i.records.commits.set(n.id,n),i.records.branches.set(i.records.currBranch,n.id),w.debug(i.records.branches),w.debug("in cherryPick")}},"cherryPick"),F=m(function(t){if(t=k.sanitizeText(t,O()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function D(t,r,e){const c=t.indexOf(r);c===-1?t.push(e):t.splice(c,1,e)}m(D,"upsert");function W(t){const r=t.reduce((a,s)=>a.seq>s.seq?a:s,t[0]);let e="";t.forEach(function(a){a===r?e+=" *":e+=" |"});const c=[e,r.id,r.seq];for(const a in i.records.branches)i.records.branches.get(a)===r.id&&c.push(a);if(w.debug(c.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const a=i.records.commits.get(r.parents[0]);D(t,r,a),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const a=i.records.commits.get(r.parents[0]);D(t,r,a)}}t=_(t,a=>a.id),W(t)}m(W,"prettyPrintCommitHistory");var Er=m(function(){w.debug(i.records.commits);const t=Y()[0];W([t])},"prettyPrint"),vr=m(function(){i.reset(),dr()},"clear"),Cr=m(function(){return[...i.records.branchConfig.values()].map((t,r)=>t.order!==null&&t.order!==void 0?t:{...t,order:parseFloat(`0.${r}`)}).sort((t,r)=>(t.order??0)-(r.order??0)).map(({name:t})=>({name:t}))},"getBranchesAsObjArray"),kr=m(function(){return i.records.branches},"getBranches"),Lr=m(function(){return i.records.commits},"getCommits"),Y=m(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){w.debug(r.id)}),t.sort((r,e)=>r.seq-e.seq),t},"getCommitsArray"),Tr=m(function(){return i.records.currBranch},"getCurrentBranch"),Mr=m(function(){return i.records.direction},"getDirection"),Rr=m(function(){return i.records.head},"getHead"),V={commitType:f,getConfig:O,setDirection:pr,setOptions:ur,getOptions:xr,commit:fr,branch:br,merge:wr,cherryPick:Br,checkout:F,prettyPrint:Er,clear:vr,getBranchesAsObjArray:Cr,getBranches:kr,getCommits:Lr,getCommitsArray:Y,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:or,getAccDescription:er,setAccDescription:tr,setDiagramTitle:rr,getDiagramTitle:Z},Pr=m((t,r)=>{Q(t,r),t.dir&&r.setDirection(t.dir);for(const e of t.statements)Ir(e,r)},"populate"),Ir=m((t,r)=>{const e={Commit:m(c=>r.commit(Ar(c)),"Commit"),Branch:m(c=>r.branch(Gr(c)),"Branch"),Merge:m(c=>r.merge(Or(c)),"Merge"),Checkout:m(c=>r.checkout(qr(c)),"Checkout"),CherryPicking:m(c=>r.cherryPick(Hr(c)),"CherryPicking")}[t.$type];e?e(t):w.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Ar=m(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?f[t.type]:f.NORMAL,tags:t.tags??void 0}),"parseCommit"),Gr=m(t=>({name:t.name,order:t.order??0}),"parseBranch"),Or=m(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?f[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),qr=m(t=>t.branch,"parseCheckout"),Hr=m(t=>{var r;return{id:t.id,targetId:"",tags:((r=t.tags)==null?void 0:r.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),zr={parse:m(async t=>{const r=await yr("gitGraph",t);w.debug(r),Pr(r,V)},"parse")},j=cr(),E=j==null?void 0:j.gitGraph,I=10,A=40,L=4,M=2,G=8,v=new Map,C=new Map,z=30,q=new Map,S=[],P=0,u="LR",Sr=m(()=>{v.clear(),C.clear(),q.clear(),P=0,S=[],u="LR"},"clear"),J=m(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(e=>{const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class","row"),c.textContent=e.trim(),r.appendChild(c)}),r},"drawText"),U=m(t=>{let r,e,c;return u==="BT"?(e=m((a,s)=>a<=s,"comparisonFunc"),c=1/0):(e=m((a,s)=>a>=s,"comparisonFunc"),c=0),t.forEach(a=>{var s,d;const h=u==="TB"||u=="BT"?(s=C.get(a))==null?void 0:s.y:(d=C.get(a))==null?void 0:d.x;h!==void 0&&e(h,c)&&(r=a,c=h)}),r},"findClosestParent"),Nr=m(t=>{let r="",e=1/0;return t.forEach(c=>{const a=C.get(c).y;a<=e&&(r=c,e=a)}),r||void 0},"findClosestParentBT"),Dr=m((t,r,e)=>{let c=e,a=e;const s=[];t.forEach(d=>{const h=r.get(d);if(!h)throw new Error(`Commit not found for key ${d}`);h.parents.length?(c=jr(h),a=Math.max(c,a)):s.push(h),Kr(h,c)}),c=a,s.forEach(d=>{_r(d,c,e)}),t.forEach(d=>{const h=r.get(d);if(h!=null&&h.parents.length){const l=Nr(h.parents);c=C.get(l).y-A,c<=a&&(a=c);const o=v.get(h.branch).pos,n=c-I;C.set(h.id,{x:o,y:n})}})},"setParallelBTPos"),Wr=m(t=>{var r;const e=U(t.parents.filter(a=>a!==null));if(!e)throw new Error(`Closest parent not found for commit ${t.id}`);const c=(r=C.get(e))==null?void 0:r.y;if(c===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return c},"findClosestParentPos"),jr=m(t=>Wr(t)+A,"calculateCommitPosition"),Kr=m((t,r)=>{const e=v.get(t.branch);if(!e)throw new Error(`Branch not found for commit ${t.id}`);const c=e.pos,a=r+I;return C.set(t.id,{x:c,y:a}),{x:c,y:a}},"setCommitPosition"),_r=m((t,r,e)=>{const c=v.get(t.branch);if(!c)throw new Error(`Branch not found for commit ${t.id}`);const a=r+e,s=c.pos;C.set(t.id,{x:s,y:a})},"setRootPosition"),Fr=m((t,r,e,c,a,s)=>{if(s===f.HIGHLIGHT)t.append("rect").attr("x",e.x-10).attr("y",e.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${a%G} ${c}-outer`),t.append("rect").attr("x",e.x-6).attr("y",e.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${a%G} ${c}-inner`);else if(s===f.CHERRY_PICK)t.append("circle").attr("cx",e.x).attr("cy",e.y).attr("r",10).attr("class",`commit ${r.id} ${c}`),t.append("circle").attr("cx",e.x-3).attr("cy",e.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${c}`),t.append("circle").attr("cx",e.x+3).attr("cy",e.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${c}`),t.append("line").attr("x1",e.x+3).attr("y1",e.y+1).attr("x2",e.x).attr("y2",e.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${c}`),t.append("line").attr("x1",e.x-3).attr("y1",e.y+1).attr("x2",e.x).attr("y2",e.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${c}`);else{const d=t.append("circle");if(d.attr("cx",e.x),d.attr("cy",e.y),d.attr("r",r.type===f.MERGE?9:10),d.attr("class",`commit ${r.id} commit${a%G}`),s===f.MERGE){const h=t.append("circle");h.attr("cx",e.x),h.attr("cy",e.y),h.attr("r",6),h.attr("class",`commit ${c} ${r.id} commit${a%G}`)}s===f.REVERSE&&t.append("path").attr("d",`M ${e.x-5},${e.y-5}L${e.x+5},${e.y+5}M${e.x-5},${e.y+5}L${e.x+5},${e.y-5}`).attr("class",`commit ${c} ${r.id} commit${a%G}`)}},"drawCommitBullet"),Yr=m((t,r,e,c)=>{var a;if(r.type!==f.CHERRY_PICK&&(r.customId&&r.type===f.MERGE||r.type!==f.MERGE)&&E!=null&&E.showCommitLabel){const s=t.append("g"),d=s.insert("rect").attr("class","commit-label-bkg"),h=s.append("text").attr("x",c).attr("y",e.y+25).attr("class","commit-label").text(r.id),l=(a=h.node())==null?void 0:a.getBBox();if(l&&(d.attr("x",e.posWithOffset-l.width/2-M).attr("y",e.y+13.5).attr("width",l.width+2*M).attr("height",l.height+2*M),u==="TB"||u==="BT"?(d.attr("x",e.x-(l.width+4*L+5)).attr("y",e.y-12),h.attr("x",e.x-(l.width+4*L)).attr("y",e.y+l.height-12)):h.attr("x",e.posWithOffset-l.width/2),E.rotateCommitLabel))if(u==="TB"||u==="BT")h.attr("transform","rotate(-45, "+e.x+", "+e.y+")"),d.attr("transform","rotate(-45, "+e.x+", "+e.y+")");else{const o=-7.5-(l.width+10)/25*9.5,n=10+l.width/25*8.5;s.attr("transform","translate("+o+", "+n+") rotate(-45, "+c+", "+e.y+")")}}},"drawCommitLabel"),Vr=m((t,r,e,c)=>{var a;if(r.tags.length>0){let s=0,d=0,h=0;const l=[];for(const o of r.tags.reverse()){const n=t.insert("polygon"),x=t.append("circle"),$=t.append("text").attr("y",e.y-16-s).attr("class","tag-label").text(o),y=(a=$.node())==null?void 0:a.getBBox();if(!y)throw new Error("Tag bbox not found");d=Math.max(d,y.width),h=Math.max(h,y.height),$.attr("x",e.posWithOffset-y.width/2),l.push({tag:$,hole:x,rect:n,yOffset:s}),s+=20}for(const{tag:o,hole:n,rect:x,yOffset:$}of l){const y=h/2,p=e.y-19.2-$;if(x.attr("class","tag-label-bkg").attr("points",`
|
|
2
|
-
${c-d/2-L/2},${p+M}
|
|
3
|
-
${c-d/2-L/2},${p-M}
|
|
4
|
-
${e.posWithOffset-d/2-L},${p-y-M}
|
|
5
|
-
${e.posWithOffset+d/2+L},${p-y-M}
|
|
6
|
-
${e.posWithOffset+d/2+L},${p+y+M}
|
|
7
|
-
${e.posWithOffset-d/2-L},${p+y+M}`),n.attr("cy",p).attr("cx",c-d/2+L/2).attr("r",1.5).attr("class","tag-hole"),u==="TB"||u==="BT"){const g=c+$;x.attr("class","tag-label-bkg").attr("points",`
|
|
8
|
-
${e.x},${g+2}
|
|
9
|
-
${e.x},${g-2}
|
|
10
|
-
${e.x+I},${g-y-2}
|
|
11
|
-
${e.x+I+d+4},${g-y-2}
|
|
12
|
-
${e.x+I+d+4},${g+y+2}
|
|
13
|
-
${e.x+I},${g+y+2}`).attr("transform","translate(12,12) rotate(45, "+e.x+","+c+")"),n.attr("cx",e.x+L/2).attr("cy",g).attr("transform","translate(12,12) rotate(45, "+e.x+","+c+")"),o.attr("x",e.x+5).attr("y",g+3).attr("transform","translate(14,14) rotate(45, "+e.x+","+c+")")}}}},"drawCommitTags"),Jr=m(t=>{switch(t.customType??t.type){case f.NORMAL:return"commit-normal";case f.REVERSE:return"commit-reverse";case f.HIGHLIGHT:return"commit-highlight";case f.MERGE:return"commit-merge";case f.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),Ur=m((t,r,e,c)=>{const a={x:0,y:0};if(t.parents.length>0){const s=U(t.parents);if(s){const d=c.get(s)??a;return r==="TB"?d.y+A:r==="BT"?(c.get(t.id)??a).y-A:d.x+A}}else return r==="TB"?z:r==="BT"?(c.get(t.id)??a).y-A:0;return 0},"calculatePosition"),Qr=m((t,r,e)=>{var c,a;const s=u==="BT"&&e?r:r+I,d=u==="TB"||u==="BT"?s:(c=v.get(t.branch))==null?void 0:c.pos,h=u==="TB"||u==="BT"?(a=v.get(t.branch))==null?void 0:a.pos:s;if(h===void 0||d===void 0)throw new Error(`Position were undefined for commit ${t.id}`);return{x:h,y:d,posWithOffset:s}},"getCommitPosition"),K=m((t,r,e)=>{if(!E)throw new Error("GitGraph config not found");const c=t.append("g").attr("class","commit-bullets"),a=t.append("g").attr("class","commit-labels");let s=u==="TB"||u==="BT"?z:0;const d=[...r.keys()],h=(E==null?void 0:E.parallelCommits)??!1,l=m((n,x)=>{var $,y;const p=($=r.get(n))==null?void 0:$.seq,g=(y=r.get(x))==null?void 0:y.seq;return p!==void 0&&g!==void 0?p-g:0},"sortKeys");let o=d.sort(l);u==="BT"&&(h&&Dr(o,r,s),o=o.reverse()),o.forEach(n=>{var x;const $=r.get(n);if(!$)throw new Error(`Commit not found for key ${n}`);h&&(s=Ur($,u,s,C));const y=Qr($,s,h);if(e){const p=Jr($),g=$.customType??$.type,T=((x=v.get($.branch))==null?void 0:x.index)??0;Fr(c,$,y,p,T,g),Yr(a,$,y,s),Vr(a,$,y,s)}u==="TB"||u==="BT"?C.set($.id,{x:y.x,y:y.posWithOffset}):C.set($.id,{x:y.posWithOffset,y:y.y}),s=u==="BT"&&h?s+A:s+A+I,s>P&&(P=s)})},"drawCommits"),Xr=m((t,r,e,c,a)=>{const s=(u==="TB"||u==="BT"?e.x<c.x:e.y<c.y)?r.branch:t.branch,d=m(l=>l.branch===s,"isOnBranchToGetCurve"),h=m(l=>l.seq>t.seq&&l.seq<r.seq,"isBetweenCommits");return[...a.values()].some(l=>h(l)&&d(l))},"shouldRerouteArrow"),H=m((t,r,e=0)=>{const c=t+Math.abs(t-r)/2;if(e>5)return c;if(S.every(s=>Math.abs(s-c)>=10))return S.push(c),c;const a=Math.abs(t-r);return H(t,r-a/5,e+1)},"findLane"),Zr=m((t,r,e,c)=>{var a,s,d,h,l;const o=C.get(r.id),n=C.get(e.id);if(o===void 0||n===void 0)throw new Error(`Commit positions not found for commits ${r.id} and ${e.id}`);const x=Xr(r,e,o,n,c);let $="",y="",p=0,g=0,T=(a=v.get(e.branch))==null?void 0:a.index;e.type===f.MERGE&&r.id!==e.parents[0]&&(T=(s=v.get(r.branch))==null?void 0:s.index);let b;if(x){$="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",p=10,g=10;const R=o.y<n.y?H(o.y,n.y):H(n.y,o.y),B=o.x<n.x?H(o.x,n.x):H(n.x,o.x);u==="TB"?o.x<n.x?b=`M ${o.x} ${o.y} L ${B-p} ${o.y} ${y} ${B} ${o.y+g} L ${B} ${n.y-p} ${$} ${B+g} ${n.y} L ${n.x} ${n.y}`:(T=(d=v.get(r.branch))==null?void 0:d.index,b=`M ${o.x} ${o.y} L ${B+p} ${o.y} ${$} ${B} ${o.y+g} L ${B} ${n.y-p} ${y} ${B-g} ${n.y} L ${n.x} ${n.y}`):u==="BT"?o.x<n.x?b=`M ${o.x} ${o.y} L ${B-p} ${o.y} ${$} ${B} ${o.y-g} L ${B} ${n.y+p} ${y} ${B+g} ${n.y} L ${n.x} ${n.y}`:(T=(h=v.get(r.branch))==null?void 0:h.index,b=`M ${o.x} ${o.y} L ${B+p} ${o.y} ${y} ${B} ${o.y-g} L ${B} ${n.y+p} ${$} ${B-g} ${n.y} L ${n.x} ${n.y}`):o.y<n.y?b=`M ${o.x} ${o.y} L ${o.x} ${R-p} ${$} ${o.x+g} ${R} L ${n.x-p} ${R} ${y} ${n.x} ${R+g} L ${n.x} ${n.y}`:(T=(l=v.get(r.branch))==null?void 0:l.index,b=`M ${o.x} ${o.y} L ${o.x} ${R+p} ${y} ${o.x+g} ${R} L ${n.x-p} ${R} ${$} ${n.x} ${R-g} L ${n.x} ${n.y}`)}else $="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",p=20,g=20,u==="TB"?(o.x<n.x&&(e.type===f.MERGE&&r.id!==e.parents[0]?b=`M ${o.x} ${o.y} L ${o.x} ${n.y-p} ${$} ${o.x+g} ${n.y} L ${n.x} ${n.y}`:b=`M ${o.x} ${o.y} L ${n.x-p} ${o.y} ${y} ${n.x} ${o.y+g} L ${n.x} ${n.y}`),o.x>n.x&&($="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",p=20,g=20,e.type===f.MERGE&&r.id!==e.parents[0]?b=`M ${o.x} ${o.y} L ${o.x} ${n.y-p} ${y} ${o.x-g} ${n.y} L ${n.x} ${n.y}`:b=`M ${o.x} ${o.y} L ${n.x+p} ${o.y} ${$} ${n.x} ${o.y+g} L ${n.x} ${n.y}`),o.x===n.x&&(b=`M ${o.x} ${o.y} L ${n.x} ${n.y}`)):u==="BT"?(o.x<n.x&&(e.type===f.MERGE&&r.id!==e.parents[0]?b=`M ${o.x} ${o.y} L ${o.x} ${n.y+p} ${y} ${o.x+g} ${n.y} L ${n.x} ${n.y}`:b=`M ${o.x} ${o.y} L ${n.x-p} ${o.y} ${$} ${n.x} ${o.y-g} L ${n.x} ${n.y}`),o.x>n.x&&($="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",p=20,g=20,e.type===f.MERGE&&r.id!==e.parents[0]?b=`M ${o.x} ${o.y} L ${o.x} ${n.y+p} ${$} ${o.x-g} ${n.y} L ${n.x} ${n.y}`:b=`M ${o.x} ${o.y} L ${n.x-p} ${o.y} ${$} ${n.x} ${o.y-g} L ${n.x} ${n.y}`),o.x===n.x&&(b=`M ${o.x} ${o.y} L ${n.x} ${n.y}`)):(o.y<n.y&&(e.type===f.MERGE&&r.id!==e.parents[0]?b=`M ${o.x} ${o.y} L ${n.x-p} ${o.y} ${y} ${n.x} ${o.y+g} L ${n.x} ${n.y}`:b=`M ${o.x} ${o.y} L ${o.x} ${n.y-p} ${$} ${o.x+g} ${n.y} L ${n.x} ${n.y}`),o.y>n.y&&(e.type===f.MERGE&&r.id!==e.parents[0]?b=`M ${o.x} ${o.y} L ${n.x-p} ${o.y} ${$} ${n.x} ${o.y-g} L ${n.x} ${n.y}`:b=`M ${o.x} ${o.y} L ${o.x} ${n.y+p} ${y} ${o.x+g} ${n.y} L ${n.x} ${n.y}`),o.y===n.y&&(b=`M ${o.x} ${o.y} L ${n.x} ${n.y}`));if(b===void 0)throw new Error("Line definition not found");t.append("path").attr("d",b).attr("class","arrow arrow"+T%G)},"drawArrow"),rt=m((t,r)=>{const e=t.append("g").attr("class","commit-arrows");[...r.keys()].forEach(c=>{const a=r.get(c);a.parents&&a.parents.length>0&&a.parents.forEach(s=>{Zr(e,r.get(s),a,r)})})},"drawArrows"),tt=m((t,r)=>{const e=t.append("g");r.forEach((c,a)=>{var s;const d=a%G,h=(s=v.get(c.name))==null?void 0:s.pos;if(h===void 0)throw new Error(`Position not found for branch ${c.name}`);const l=e.append("line");l.attr("x1",0),l.attr("y1",h),l.attr("x2",P),l.attr("y2",h),l.attr("class","branch branch"+d),u==="TB"?(l.attr("y1",z),l.attr("x1",h),l.attr("y2",P),l.attr("x2",h)):u==="BT"&&(l.attr("y1",P),l.attr("x1",h),l.attr("y2",z),l.attr("x2",h)),S.push(h);const o=c.name,n=J(o),x=e.insert("rect"),$=e.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+d);$.node().appendChild(n);const y=n.getBBox();x.attr("class","branchLabelBkg label"+d).attr("rx",4).attr("ry",4).attr("x",-y.width-4-((E==null?void 0:E.rotateCommitLabel)===!0?30:0)).attr("y",-y.height/2+8).attr("width",y.width+18).attr("height",y.height+4),$.attr("transform","translate("+(-y.width-14-((E==null?void 0:E.rotateCommitLabel)===!0?30:0))+", "+(h-y.height/2-1)+")"),u==="TB"?(x.attr("x",h-y.width/2-10).attr("y",0),$.attr("transform","translate("+(h-y.width/2-5)+", 0)")):u==="BT"?(x.attr("x",h-y.width/2-10).attr("y",P),$.attr("transform","translate("+(h-y.width/2-5)+", "+P+")")):x.attr("transform","translate(-19, "+(h-y.height/2)+")")})},"drawBranches"),et=m(function(t,r,e,c,a){return v.set(t,{pos:r,index:e}),r+=50+(a?40:0)+(u==="TB"||u==="BT"?c.width/2:0),r},"setBranchPosition"),ot=m(function(t,r,e,c){if(Sr(),w.debug("in gitgraph renderer",t+`
|
|
14
|
-
`,"id:",r,e),!E)throw new Error("GitGraph config not found");const a=E.rotateCommitLabel??!1,s=c.db;q=s.getCommits();const d=s.getBranchesAsObjArray();u=s.getDirection();const h=ar(`[id="${r}"]`);let l=0;d.forEach((o,n)=>{var x;const $=J(o.name),y=h.append("g"),p=y.insert("g").attr("class","branchLabel"),g=p.insert("g").attr("class","label branch-label");(x=g.node())==null||x.appendChild($);const T=$.getBBox();l=et(o.name,l,n,T,a),g.remove(),p.remove(),y.remove()}),K(h,q,!1),E.showBranches&&tt(h,d),rt(h,q),K(h,q,!0),sr.insertTitle(h,"gitTitleText",E.titleTopMargin??0,s.getDiagramTitle()),ir(void 0,h,E.diagramPadding,E.useMaxWidth)},"draw"),nt={draw:ot},ct=m(t=>`
|
|
15
|
-
.commit-id,
|
|
16
|
-
.commit-msg,
|
|
17
|
-
.branch-label {
|
|
18
|
-
fill: lightgrey;
|
|
19
|
-
color: lightgrey;
|
|
20
|
-
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
21
|
-
font-family: var(--mermaid-font-family);
|
|
22
|
-
}
|
|
23
|
-
${[0,1,2,3,4,5,6,7].map(r=>`
|
|
24
|
-
.branch-label${r} { fill: ${t["gitBranchLabel"+r]}; }
|
|
25
|
-
.commit${r} { stroke: ${t["git"+r]}; fill: ${t["git"+r]}; }
|
|
26
|
-
.commit-highlight${r} { stroke: ${t["gitInv"+r]}; fill: ${t["gitInv"+r]}; }
|
|
27
|
-
.label${r} { fill: ${t["git"+r]}; }
|
|
28
|
-
.arrow${r} { stroke: ${t["git"+r]}; }
|
|
29
|
-
`).join(`
|
|
30
|
-
`)}
|
|
31
|
-
|
|
32
|
-
.branch {
|
|
33
|
-
stroke-width: 1;
|
|
34
|
-
stroke: ${t.lineColor};
|
|
35
|
-
stroke-dasharray: 2;
|
|
36
|
-
}
|
|
37
|
-
.commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}
|
|
38
|
-
.commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }
|
|
39
|
-
.tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
|
|
40
|
-
.tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }
|
|
41
|
-
.tag-hole { fill: ${t.textColor}; }
|
|
42
|
-
|
|
43
|
-
.commit-merge {
|
|
44
|
-
stroke: ${t.primaryColor};
|
|
45
|
-
fill: ${t.primaryColor};
|
|
46
|
-
}
|
|
47
|
-
.commit-reverse {
|
|
48
|
-
stroke: ${t.primaryColor};
|
|
49
|
-
fill: ${t.primaryColor};
|
|
50
|
-
stroke-width: 3;
|
|
51
|
-
}
|
|
52
|
-
.commit-highlight-outer {
|
|
53
|
-
}
|
|
54
|
-
.commit-highlight-inner {
|
|
55
|
-
stroke: ${t.primaryColor};
|
|
56
|
-
fill: ${t.primaryColor};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
|
|
60
|
-
.gitTitleText {
|
|
61
|
-
text-anchor: middle;
|
|
62
|
-
font-size: 18px;
|
|
63
|
-
fill: ${t.textColor};
|
|
64
|
-
}
|
|
65
|
-
`,"getStyles"),at=ct,yt={parser:zr,db:V,renderer:nt,styles:at};export{yt as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.orbit-gradient-logo{filter:brightness(0) saturate(100%);filter:drop-shadow(0 0 8px rgba(59,130,246,.5));background:linear-gradient(135deg,#3b82f6,#8b5cf6);-webkit-background-clip:text;background-clip:text;mix-blend-mode:screen}.message-list{--thread-panel-bg: #f6f7fb;--thread-panel-border: rgba(15, 23, 42, .08);--thread-panel-shadow: 0 30px 60px -38px rgba(15, 23, 42, .45);--thread-panel-heading: #1f2937;--thread-panel-button-border: rgba(15, 23, 42, .18);--thread-panel-button-text: #1f2937;--thread-panel-button-hover: rgba(15, 23, 42, .08);--thread-avatar-assistant-bg: #e7e9fb;--thread-avatar-assistant-text: #252c53;--thread-avatar-user-bg: #e6f4ef;--thread-avatar-user-text: #0f5f47}.dark .message-list{--thread-panel-bg: #1a1c24;--thread-panel-border: rgba(255, 255, 255, .12);--thread-panel-shadow: 0 35px 60px -40px rgba(0, 0, 0, .9);--thread-panel-heading: #eef1ff;--thread-panel-button-border: rgba(255, 255, 255, .2);--thread-panel-button-text: #eef1ff;--thread-panel-button-hover: rgba(255, 255, 255, .08);--thread-avatar-assistant-bg: rgba(83, 99, 164, .45);--thread-avatar-assistant-text: #e5e8ff;--thread-avatar-user-bg: rgba(16, 163, 127, .35);--thread-avatar-user-text: #d7fff3}.message-list :where(.ml-12.mt-4.rounded-xl.border){background-color:var(--thread-panel-bg)!important;border-color:var(--thread-panel-border)!important;box-shadow:var(--thread-panel-shadow)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.message-list :where(.ml-12.mt-4.rounded-xl.border) .text-blue-900,.message-list :where(.ml-12.mt-4.rounded-xl.border) .dark\:text-\[\#c5d7ff\]{color:var(--thread-panel-heading)!important}.message-list :where(.ml-12.mt-4.rounded-xl.border) .border-blue-200\/80,.message-list :where(.ml-12.mt-4.rounded-xl.border) .dark\:border-\[\#233449\]{border-color:var(--thread-panel-button-border)!important}.message-list :where(.ml-12.mt-4.rounded-xl.border) button.inline-flex.items-center.gap-2.rounded-full.border{color:var(--thread-panel-button-text)!important;background-color:transparent;transition:background-color .2s ease,border-color .2s ease}.message-list :where(.ml-12.mt-4.rounded-xl.border) button.inline-flex.items-center.gap-2.rounded-full.border:hover{background-color:var(--thread-panel-button-hover)!important}.message-list :where(.flex.h-7.w-7.flex-shrink-0.items-center.justify-center.rounded-full.bg-blue-100){background-color:var(--thread-avatar-assistant-bg)!important;color:var(--thread-avatar-assistant-text)!important}.message-list :where(.flex.h-7.w-7.flex-shrink-0.items-center.justify-center.rounded-full.bg-emerald-100){background-color:var(--thread-avatar-user-bg)!important;color:var(--thread-avatar-user-text)!important}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}html{font-size:1rem;line-height:1.5rem}body{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}body:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}body{line-height:1.75}textarea{border:none!important;outline:none!important;box-shadow:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}textarea:focus{border:none!important;outline:none!important;box-shadow:none!important;ring:none!important}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.prose:is(.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.prose p{font-weight:400;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose p:is(.dark *){--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose p{font-size:15px;margin-top:.75rem;margin-bottom:.75rem}.prose p:first-child{margin-top:0}.prose p:last-child{margin-bottom:0}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{font-weight:600;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose h1:is(.dark *),.prose h2:is(.dark *),.prose h3:is(.dark *),.prose h4:is(.dark *),.prose h5:is(.dark *),.prose h6:is(.dark *){--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{margin-top:1.5rem;margin-bottom:.75rem}.prose h1{font-size:1.5rem;line-height:2rem}.prose h2{font-size:1.25rem;line-height:1.75rem}.prose h3{font-size:1.125rem;line-height:1.75rem}.prose ul,.prose ol{margin-top:1rem;margin-bottom:1rem;margin-left:1.5rem}.prose li{margin-top:.5rem;margin-bottom:.5rem;line-height:1.75rem;font-size:15px}.prose strong{font-weight:600}.prose em{font-style:italic}.prose a{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1));text-decoration-line:underline}.prose a:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.prose pre{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose pre:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose code{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));padding:.125rem .375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose code:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose blockquote{margin-top:1rem;margin-bottom:1rem;border-top-right-radius:.5rem;border-bottom-right-radius:.5rem;border-left-width:4px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1));padding-top:1rem;padding-bottom:1rem;padding-left:1.5rem;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose blockquote:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.-right-3{right:-.75rem}.left-3{left:.75rem}.right-2{right:.5rem}.top-1\/2{top:50%}.top-3{top:.75rem}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.-mt-2{margin-top:-.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-12{margin-left:3rem}.ml-4{margin-left:1rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-\[90vh\]{max-height:90vh}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[min\(18rem\,85vw\)\]{width:min(18rem,85vw)}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[150px\]{min-width:150px}.min-w-\[72px\]{min-width:72px}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-\[150px\]{max-width:150px}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-6{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[\#343541\]{--tw-border-opacity: 1;border-color:rgb(52 53 65 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity, 1))}.border-blue-100\/80{border-color:#dbeafecc}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-200\/80{border-color:#bfdbfecc}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-emerald-100{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity, 1))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.border-slate-200\/70{border-color:#e2e8f0b3}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.border-white\/70{border-color:#ffffffb3}.border-white\/80{border-color:#fffc}.border-t-transparent{border-top-color:transparent}.bg-\[\#10a37f\]{--tw-bg-opacity: 1;background-color:rgb(16 163 127 / var(--tw-bg-opacity, 1))}.bg-\[\#343541\]{--tw-bg-opacity: 1;background-color:rgb(52 53 65 / var(--tw-bg-opacity, 1))}.bg-\[\#eceefc\]{--tw-bg-opacity: 1;background-color:rgb(236 238 252 / var(--tw-bg-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/50{background-color:#00000080}.bg-black\/60{background-color:#0009}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\/70{background-color:#eff6ffb3}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-100\/70{background-color:#f3f4f6b3}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/60{background-color:#fff9}.bg-white\/80{background-color:#fffc}.bg-white\/90{background-color:#ffffffe6}.bg-white\/95{background-color:#fffffff2}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-blue-100{--tw-gradient-from: #dbeafe var(--tw-gradient-from-position);--tw-gradient-to: rgb(219 234 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-emerald-100{--tw-gradient-from: #d1fae5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(209 250 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-blue-200{--tw-gradient-to: #bfdbfe var(--tw-gradient-to-position)}.to-emerald-200{--tw-gradient-to: #a7f3d0 var(--tw-gradient-to-position)}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-9{padding-left:2.25rem}.pr-1{padding-right:.25rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}.text-\[\#0f172a\]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-\[\#1c3226\]{--tw-text-opacity: 1;color:rgb(28 50 38 / var(--tw-text-opacity, 1))}.text-\[\#1d2559\]{--tw-text-opacity: 1;color:rgb(29 37 89 / var(--tw-text-opacity, 1))}.text-\[\#1f2937\]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-\[\#353740\]{--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity, 1))}.text-blue-900\/70{color:#1e3a8ab3}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-900{--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-600::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(75 85 99 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-600::placeholder{--tw-placeholder-opacity: 1;color:rgb(75 85 99 / var(--tw-placeholder-opacity, 1))}.accent-gray-600{accent-color:#4b5563}.opacity-0{opacity:0}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_12px_30px_-18px_rgba\(15\,52\,33\,0\.25\)\]{--tw-shadow: 0 12px 30px -18px rgba(15,52,33,.25);--tw-shadow-colored: 0 12px 30px -18px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_15px_35px_-20px_rgba\(15\,23\,42\,0\.25\)\]{--tw-shadow: 0 15px 35px -20px rgba(15,23,42,.25);--tw-shadow-colored: 0 15px 35px -20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black\/5{--tw-ring-color: rgb(0 0 0 / .05)}.ring-blue-100\/60{--tw-ring-color: rgb(219 234 254 / .6)}.ring-white\/50{--tw-ring-color: rgb(255 255 255 / .5)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.katex{font-size:1em!important}.katex-display{margin:1em 0!important;text-align:center}.markdown-content .katex{overflow-x:auto;overflow-y:hidden}.markdown-content .katex-display{overflow-x:auto;overflow-y:hidden;padding:.5em 0}@media (prefers-color-scheme: dark){.katex{color:inherit!important}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity, 1))}.high-contrast{--tw-text-opacity: 1;--tw-bg-opacity: 1}.high-contrast .text-slate-500{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.high-contrast .text-slate-500:is(.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.high-contrast .text-slate-400{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.high-contrast .text-slate-400:is(.dark *){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.high-contrast .bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.high-contrast .bg-slate-50:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}.animate-fadeIn{animation:fadeIn .3s ease-out}.animate-slideIn{animation:slideIn .3s ease-out}.animate-shimmer{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);background-size:200px 100%}.message-input-container:focus-within{outline:2px solid transparent;outline-offset:2px}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(156 163 175 / .7);--tw-ring-offset-width: 0px}button:focus-visible:is(.dark *),input:focus-visible:is(.dark *),textarea:focus-visible:is(.dark *){--tw-ring-color: rgb(107 114 128 / .7)}@media (max-width: 768px){.prose,body{font-size:.875rem;line-height:1.25rem}}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-emerald-400:hover{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity, 1))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.hover\:border-red-400:hover{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.hover\:bg-\[\#0f8f6f\]:hover{--tw-bg-opacity: 1;background-color:rgb(15 143 111 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#282b32\]:hover{--tw-bg-opacity: 1;background-color:rgb(40 43 50 / var(--tw-bg-opacity, 1))}.hover\:bg-\[\#2c2f36\]:hover{--tw-bg-opacity: 1;background-color:rgb(44 47 54 / var(--tw-bg-opacity, 1))}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:bg-emerald-50\/30:hover{background-color:#ecfdf54d}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/70:hover{background-color:#ffffffb3}.hover\:bg-white\/80:hover{background-color:#fffc}.hover\:text-\[\#353740\]:hover{--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-gray-400:focus{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-amber-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-white:focus{--tw-ring-offset-color: #fff}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\:transform-none:disabled{transform:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:hover\:border-gray-300:hover:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.disabled\:hover\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\:opacity-100{opacity:1}.dark\:border-\[\#1a2b21\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(26 43 33 / var(--tw-border-opacity, 1))}.dark\:border-\[\#1f2a36\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 42 54 / var(--tw-border-opacity, 1))}.dark\:border-\[\#233449\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(35 52 73 / var(--tw-border-opacity, 1))}.dark\:border-\[\#40414f\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(64 65 79 / var(--tw-border-opacity, 1))}.dark\:border-\[\#444654\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(68 70 84 / var(--tw-border-opacity, 1))}.dark\:border-\[\#4a4b54\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(74 75 84 / var(--tw-border-opacity, 1))}.dark\:border-\[\#565869\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(86 88 105 / var(--tw-border-opacity, 1))}.dark\:border-\[\#6b6f7a\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 111 122 / var(--tw-border-opacity, 1))}.dark\:border-amber-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.dark\:border-blue-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity, 1))}.dark\:border-emerald-400:is(.dark *){--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity, 1))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\:border-green-600\/40:is(.dark *){border-color:#16a34a66}.dark\:border-red-600\/40:is(.dark *){border-color:#dc262666}.dark\:border-red-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity, 1))}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.dark\:border-slate-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity, 1))}.dark\:border-slate-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.dark\:border-slate-700\/60:is(.dark *){border-color:#33415599}.dark\:border-white\/10:is(.dark *){border-color:#ffffff1a}.dark\:border-white\/5:is(.dark *){border-color:#ffffff0d}.dark\:bg-\[\#0f1821\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(15 24 33 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#1f1f24\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 31 36 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#1f2027\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 32 39 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#1f2a36\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 42 54 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#202123\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#212121\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#252830\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(37 40 48 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2c2f36\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(44 47 54 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2d2f39\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(45 47 57 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2f313a\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(47 49 58 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#343541\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(52 53 65 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#3a3d46\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(58 61 70 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#3b4055\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(59 64 85 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#3c3f4a\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 63 74 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#4a4b54\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(74 75 84 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#565869\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(86 88 105 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#bfc2cd\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(191 194 205 / var(--tw-bg-opacity, 1))}.dark\:bg-amber-900\/20:is(.dark *){background-color:#78350f33}.dark\:bg-amber-900\/30:is(.dark *){background-color:#78350f4d}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1e3a8a33}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1e3a8a4d}.dark\:bg-blue-900\/40:is(.dark *){background-color:#1e3a8a66}.dark\:bg-emerald-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.dark\:bg-emerald-900\/20:is(.dark *){background-color:#064e3b33}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1f293780}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}.dark\:bg-red-900\/30:is(.dark *){background-color:#7f1d1d4d}.dark\:bg-red-900\/40:is(.dark *){background-color:#7f1d1d66}.dark\:bg-slate-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.dark\:bg-slate-800\/50:is(.dark *){background-color:#1e293b80}.dark\:bg-slate-900\/40:is(.dark *){background-color:#0f172a66}.dark\:bg-slate-900\/50:is(.dark *){background-color:#0f172a80}.dark\:bg-transparent:is(.dark *){background-color:transparent}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.dark\:bg-white\/10:is(.dark *){background-color:#ffffff1a}.dark\:bg-white\/5:is(.dark *){background-color:#ffffff0d}.dark\:from-\[\#0f1f17\]:is(.dark *){--tw-gradient-from: #0f1f17 var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 31 23 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-\[\#1f2a36\]:is(.dark *){--tw-gradient-from: #1f2a36 var(--tw-gradient-from-position);--tw-gradient-to: rgb(31 42 54 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:to-\[\#0b1712\]:is(.dark *){--tw-gradient-to: #0b1712 var(--tw-gradient-to-position)}.dark\:to-\[\#1a2230\]:is(.dark *){--tw-gradient-to: #1a2230 var(--tw-gradient-to-position)}.dark\:text-\[\#4a4b54\]:is(.dark *){--tw-text-opacity: 1;color:rgb(74 75 84 / var(--tw-text-opacity, 1))}.dark\:text-\[\#6b6f7a\]:is(.dark *){--tw-text-opacity: 1;color:rgb(107 111 122 / var(--tw-text-opacity, 1))}.dark\:text-\[\#9ef0d5\]:is(.dark *){--tw-text-opacity: 1;color:rgb(158 240 213 / var(--tw-text-opacity, 1))}.dark\:text-\[\#a6acc5\]:is(.dark *){--tw-text-opacity: 1;color:rgb(166 172 197 / var(--tw-text-opacity, 1))}.dark\:text-\[\#bfc2cd\]:is(.dark *){--tw-text-opacity: 1;color:rgb(191 194 205 / var(--tw-text-opacity, 1))}.dark\:text-\[\#c5d7ff\]:is(.dark *){--tw-text-opacity: 1;color:rgb(197 215 255 / var(--tw-text-opacity, 1))}.dark\:text-\[\#c7f5df\]:is(.dark *){--tw-text-opacity: 1;color:rgb(199 245 223 / var(--tw-text-opacity, 1))}.dark\:text-\[\#d1d5db\]:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-\[\#d4d7e2\]:is(.dark *){--tw-text-opacity: 1;color:rgb(212 215 226 / var(--tw-text-opacity, 1))}.dark\:text-\[\#dffbea\]:is(.dark *){--tw-text-opacity: 1;color:rgb(223 251 234 / var(--tw-text-opacity, 1))}.dark\:text-\[\#e5e7f4\]:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 244 / var(--tw-text-opacity, 1))}.dark\:text-\[\#e5edff\]:is(.dark *){--tw-text-opacity: 1;color:rgb(229 237 255 / var(--tw-text-opacity, 1))}.dark\:text-\[\#ececf1\]:is(.dark *){--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.dark\:text-amber-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\:text-blue-200:is(.dark *){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:text-emerald-400:is(.dark *){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:text-slate-100:is(.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.dark\:text-slate-500:is(.dark *){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.dark\:text-slate-600:is(.dark *){--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:placeholder-\[\#bfc2cd\]:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(191 194 205 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-\[\#bfc2cd\]:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(191 194 205 / var(--tw-placeholder-opacity, 1))}.dark\:accent-\[\#bfc2cd\]:is(.dark *){accent-color:#bfc2cd}.dark\:shadow-lg:is(.dark *){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:ring-\[\#1f2a36\]:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 42 54 / var(--tw-ring-opacity, 1))}.dark\:ring-white\/10:is(.dark *){--tw-ring-color: rgb(255 255 255 / .1)}.dark\:hover\:border-\[\#4a4b54\]:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(74 75 84 / var(--tw-border-opacity, 1))}.dark\:hover\:border-\[\#6b6f7a\]:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 111 122 / var(--tw-border-opacity, 1))}.dark\:hover\:border-gray-500:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\:hover\:border-red-500\/60:hover:is(.dark *){border-color:#ef444499}.dark\:hover\:bg-\[\#2a2d35\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(42 45 53 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#2f323c\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(47 50 60 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#343541\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(52 53 65 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#3c3f4a\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 63 74 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#4a4b54\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(74 75 84 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#565869\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(86 88 105 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#6b6f7a\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 111 122 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-emerald-900\/10:hover:is(.dark *){background-color:#064e3b1a}.dark\:hover\:bg-gray-200:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-800\/40:hover:is(.dark *){background-color:#991b1b66}.dark\:hover\:bg-red-900\/20:hover:is(.dark *){background-color:#7f1d1d33}.dark\:hover\:bg-red-900\/30:hover:is(.dark *){background-color:#7f1d1d4d}.dark\:hover\:bg-slate-800\/60:hover:is(.dark *){background-color:#1e293b99}.dark\:hover\:bg-white\/10:hover:is(.dark *){background-color:#ffffff1a}.dark\:hover\:text-blue-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:focus\:border-\[\#6b6f7a\]:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 111 122 / var(--tw-border-opacity, 1))}.dark\:focus\:border-\[\#8e8ea0\]:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(142 142 160 / var(--tw-border-opacity, 1))}.dark\:focus\:ring-\[\#8e8ea0\]:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(142 142 160 / var(--tw-ring-opacity, 1))}.dark\:focus\:ring-offset-gray-800:focus:is(.dark *){--tw-ring-offset-color: #1f2937}.dark\:disabled\:hover\:border-\[\#4a4b54\]:hover:disabled:is(.dark *){--tw-border-opacity: 1;border-color:rgb(74 75 84 / var(--tw-border-opacity, 1))}.dark\:disabled\:hover\:bg-transparent:hover:disabled:is(.dark *){background-color:transparent}@media (min-width: 640px){.sm\:-mt-3{margin-top:-.75rem}.sm\:ml-2{margin-left:.5rem}.sm\:w-\[220px\]{width:220px}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:flex-nowrap{flex-wrap:nowrap}.sm\:items-start{align-items:flex-start}.sm\:justify-end{justify-content:flex-end}.sm\:justify-between{justify-content:space-between}.sm\:p-4{padding:1rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-right{text-align:right}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:text-xs{font-size:.75rem;line-height:1rem}.sm\:opacity-0{opacity:0}.group:hover .sm\:group-hover\:opacity-100{opacity:1}}@media (min-width: 768px){.md\:flex{display:flex}.md\:inline-flex{display:inline-flex}.md\:hidden{display:none}.md\:min-h-screen{min-height:100vh}.md\:w-72{width:18rem}.md\:flex-row{flex-direction:row}}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{R as e,O as s,am as i,B as n,an as d}from"./index-CFYhtZ1e.js";import{N as p}from"./treemap-KMMF4GRG-C4GHjB3F-B6RJ9b4F.js";import"./_baseUniq-Cd4llU-Q-CsIxZURF.js";import"./_basePickBy-1MakYQmz-BAhRsHXC.js";import"./clone-DH1Kq5Y6-Ba-lUtme.js";var m={parse:e(async r=>{const a=await p("info",r);s.debug(a)},"parse")},g={version:d.version+""},v=e(()=>g.version,"getVersion"),c={getVersion:v},f=e((r,a,o)=>{s.debug(`rendering info diagram
|
|
2
|
-
`+r);const t=i(a);n(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),x={draw:f},N={parser:m,db:c,renderer:x};export{N as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as t,V as e,B as a,M as s}from"./chunk-DI55MBZ5-CSd59tsh-QcxSJz1R.js";import{R as o}from"./index-CFYhtZ1e.js";import"./chunk-55IACEB6-C4OH5_NF-HSErBipB.js";import"./chunk-QN33PNHL-DrWWTLTH-UzcLWgZY.js";var M={parser:a,get db(){return new s(2)},renderer:e,styles:t,init:o(r=>{r.state||(r.state={}),r.state.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{M as diagram};
|