package.dist.chunks.mermaid.esm.min.chunk-DMXVZUOD.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
import{a as i,b as ul,c as Nu,e as fl}from"./chunk-GTKDMUJJ.mjs";var ml=ul((Jo,tn)=>{"use strict";(function(t,e){typeof Jo=="object"&&typeof tn<"u"?tn.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(Jo,function(){"use strict";var t=1e3,e=6e4,r=36e5,o="millisecond",n="second",s="minute",a="hour",l="day",c="week",h="month",u="quarter",d="year",f="date",g="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,W={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:i(function(v){var x=["th","st","nd","rd"],y=v%100;return"["+v+(x[(y-20)%10]||x[y]||x[0])+"]"},"ordinal")},$=i(function(v,x,y){var M=String(v);return!M||M.length>=x?v:""+Array(x+1-M.length).join(y)+v},"m"),V={s:$,z:i(function(v){var x=-v.utcOffset(),y=Math.abs(x),M=Math.floor(y/60),k=y%60;return(x<=0?"+":"-")+$(M,2,"0")+":"+$(k,2,"0")},"z"),m:i(function v(x,y){if(x.date()1)return v(I[0])}else{var G=x.name;F[G]=x,k=G}return!M&&k&&(L=k),k||!M&&L},"t"),w=i(function(v,x){if(T(v))return v.clone();var y=typeof x=="object"?x:{};return y.date=v,y.args=arguments,new K(y)},"O"),U=V;U.l=j,U.i=T,U.w=function(v,x){return w(v,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var K=function(){function v(y){this.$L=j(y.locale,null,!0),this.parse(y),this.$x=this.$x||y.x||{},this[H]=!0}i(v,"M");var x=v.prototype;return x.parse=function(y){this.$d=function(M){var k=M.date,N=M.utc;if(k===null)return new Date(NaN);if(U.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var I=k.match(S);if(I){var G=I[2]-1||0,tt=(I[7]||"0").substring(0,3);return N?new Date(Date.UTC(I[1],G,I[3]||1,I[4]||0,I[5]||0,I[6]||0,tt)):new Date(I[1],G,I[3]||1,I[4]||0,I[5]||0,I[6]||0,tt)}}return new Date(k)}(y),this.init()},x.init=function(){var y=this.$d;this.$y=y.getFullYear(),this.$M=y.getMonth(),this.$D=y.getDate(),this.$W=y.getDay(),this.$H=y.getHours(),this.$m=y.getMinutes(),this.$s=y.getSeconds(),this.$ms=y.getMilliseconds()},x.$utils=function(){return U},x.isValid=function(){return this.$d.toString()!==g},x.isSame=function(y,M){var k=w(y);return this.startOf(M)<=k&&k<=this.endOf(M)},x.isAfter=function(y,M){return w(y){"use strict";(function(t,e){typeof fn=="object"&&typeof mn<"u"?mn.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.DOMPurify=e())})(fn,function(){"use strict";let{entries:t,setPrototypeOf:e,isFrozen:r,getPrototypeOf:o,getOwnPropertyDescriptor:n}=Object,{freeze:s,seal:a,create:l}=Object,{apply:c,construct:h}=typeof Reflect<"u"&&Reflect;s||(s=i(function(z){return z},"freeze")),a||(a=i(function(z){return z},"seal")),c||(c=i(function(z,rt,Z){return z.apply(rt,Z)},"apply")),h||(h=i(function(z,rt){return new z(...rt)},"construct"));let u=T(Array.prototype.forEach),d=T(Array.prototype.pop),f=T(Array.prototype.push),g=T(String.prototype.toLowerCase),S=T(String.prototype.toString),A=T(String.prototype.match),W=T(String.prototype.replace),$=T(String.prototype.indexOf),V=T(String.prototype.trim),L=T(Object.prototype.hasOwnProperty),F=T(RegExp.prototype.test),H=j(TypeError);function T(Q){return function(z){for(var rt=arguments.length,Z=new Array(rt>1?rt-1:0),Mt=1;Mt