const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/c4Diagram-3d4e48cf-CbPIbUxN.js","assets/svgDrawCommon-08f97a94-CZTC_feh.js","assets/index-JdFVv4bu.js","assets/index-6t1uyGd7.css","assets/flowDiagram-66a62f08-D6Hq0DSy.js","assets/flowDb-956e92f1-Bh1z-Uwx.js","assets/graph-CcWCiGSa.js","assets/layout-Cv0Rt5ZO.js","assets/styles-c10674c1-7_qa_oMu.js","assets/index-3862675e-CAM5T23M.js","assets/clone-C1-9rR43.js","assets/edges-e0da2a9e-DLq9nOCw.js","assets/createText-2e5e7dd3-A0NSvi-m.js","assets/line-CP2xccgM.js","assets/array-BKyUJesY.js","assets/path-CbwjOpE9.js","assets/channel-C8CTloMv.js","assets/flowDiagram-v2-96b9c2cf-aYwqfSER.js","assets/erDiagram-9861fffd-DRpNgz61.js","assets/gitGraphDiagram-72cf32ee-ZAzcraOF.js","assets/ganttDiagram-c361ad54-D6XeuQ4L.js","assets/linear-BvcnBNe8.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-f8f76790-D1ZY5kp4.js","assets/pieDiagram-8a3498a8-CGqV_td7.js","assets/arc-CXI0aK6l.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-120e2f19-CVYp8byM.js","assets/xychartDiagram-e933f94c-DtoNl3bR.js","assets/requirementDiagram-deff3bca-DMPP-byA.js","assets/sequenceDiagram-704730f1-WCpNfRDZ.js","assets/classDiagram-70f12bd4-BrJ2B1e3.js","assets/styles-9a916d00-FgNoHDDS.js","assets/classDiagram-v2-f2320105-DD9tn6iK.js","assets/stateDiagram-587899a1-D0-oa9kW.js","assets/styles-6aaf32cf-Ha-Jqrc9.js","assets/stateDiagram-v2-d93cdb3a-CjNgjnK0.js","assets/journeyDiagram-49397b02-Di3aXMOJ.js","assets/flowchart-elk-definition-4a651766-CkU43Lb7.js","assets/timeline-definition-85554ec2-B2Ep2xq2.js","assets/mindmap-definition-fc14e90a-CD6Qt1iB.js","assets/sankeyDiagram-04a897e0-CXq2H1dv.js","assets/Tableau10-B-NsZVaP.js","assets/blockDiagram-38ab4fdb-041cKp8J.js"])))=>i.map(i=>d[i]); import{c as Rl,g as Pl,i as ge,b as $e,r as jt,a as ci,f as ql,s as zl,d as Wl,e as Hl,_ as Y}from"./index-JdFVv4bu.js";var ms={exports:{}};(function(t,e){(function(i,r){t.exports=r()})(Rl,function(){var i=1e3,r=6e4,n=36e5,o="millisecond",s="second",a="minute",l="hour",h="day",u="week",d="month",c="quarter",p="year",C="date",B="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,W=/\[([^\]]+)]|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,M={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:function(O){var b=["th","st","nd","rd"],_=O%100;return"["+O+(b[(_-20)%10]||b[_]||b[0])+"]"}},J=function(O,b,_){var v=String(O);return!v||v.length>=b?O:""+Array(b+1-v.length).join(_)+O},z={s:J,z:function(O){var b=-O.utcOffset(),_=Math.abs(b),v=Math.floor(_/60),x=_%60;return(b<=0?"+":"-")+J(v,2,"0")+":"+J(x,2,"0")},m:function O(b,_){if(b.date()<_.date())return-O(_,b);var v=12*(_.year()-b.year())+(_.month()-b.month()),x=b.clone().add(v,d),F=_-x<0,D=b.clone().add(v+(F?-1:1),d);return+(-(v+(_-x)/(F?x-D:D-x))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:d,y:p,w:u,d:h,D:C,h:l,m:a,s,ms:o,Q:c}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},K="en",pt={};pt[K]=M;var ne="$isDayjsObject",Vt=function(O){return O instanceof Tt||!(!O||!O[ne])},Gt=function O(b,_,v){var x;if(!b)return K;if(typeof b=="string"){var F=b.toLowerCase();pt[F]&&(x=F),_&&(pt[F]=_,x=F);var D=b.split("-");if(!x&&D.length>1)return O(D[0])}else{var $=b.name;pt[$]=b,x=$}return!v&&x&&(K=x),x||!v&&K},V=function(O,b){if(Vt(O))return O.clone();var _=typeof b=="object"?b:{};return _.date=O,_.args=arguments,new Tt(_)},N=z;N.l=Gt,N.i=Vt,N.w=function(O,b){return V(O,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var Tt=function(){function O(_){this.$L=Gt(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[ne]=!0}var b=O.prototype;return b.parse=function(_){this.$d=function(v){var x=v.date,F=v.utc;if(x===null)return new Date(NaN);if(N.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var D=x.match(A);if(D){var $=D[2]-1||0,j=(D[7]||"0").substring(0,3);return F?new Date(Date.UTC(D[1],$,D[3]||1,D[4]||0,D[5]||0,D[6]||0,j)):new Date(D[1],$,D[3]||1,D[4]||0,D[5]||0,D[6]||0,j)}}return new Date(x)}(_),this.init()},b.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},b.$utils=function(){return N},b.isValid=function(){return this.$d.toString()!==B},b.isSame=function(_,v){var x=V(_);return this.startOf(v)<=x&&x<=this.endOf(v)},b.isAfter=function(_,v){return V(_)0){if(++e>=uh)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function gh(t){return function(){return t}}var Ii=function(){try{var t=_e(Object,"defineProperty");return t({},"",{}),t}catch{}}(),mh=Ii?function(t,e){return Ii(t,"toString",{configurable:!0,enumerable:!1,value:gh(e),writable:!0})}:_s,_h=ph(mh),yh=9007199254740991,Ch=/^(?:0|[1-9]\d*)$/;function ys(t,e){var i=typeof t;return e=e??yh,!!e&&(i=="number"||i!="symbol"&&Ch.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=wh}function er(t){return t!=null&&Cs(t.length)&&!nn(t)}function Bh(t,e,i){if(!ge(i))return!1;var r=typeof e;return(r=="number"?er(i)&&ys(e,i.length):r=="string"&&e in i)?tr(i[e],t):!1}function Ah(t){return Sh(function(e,i){var r=-1,n=i.length,o=n>1?i[n-1]:void 0,s=n>2?i[2]:void 0;for(o=t.length>3&&typeof o=="function"?(n--,o):void 0,s&&Bh(i[0],i[1],s)&&(o=n<3?void 0:o,n=1),e=Object(e);++r-1}function Rc(t,e){var i=this.__data__,r=rr(i,t);return r<0?(++this.size,i.push([t,e])):i[r][1]=e,this}function Yt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e-1}function l(u){var d=u.replace(n,"");return d.replace(i,function(c,p){return String.fromCharCode(p)})}function h(u){if(!u)return t.BLANK_URL;var d=l(u).replace(r,"").replace(n,"").trim();if(!d)return t.BLANK_URL;if(a(d))return d;var c=d.match(o);if(!c)return d;var p=c[0];return e.test(p)?t.BLANK_URL:d}t.sanitizeUrl=h})(Fs);var wu={value:()=>{}};function Ls(){for(var t=0,e=arguments.length,i={},r;t=0&&(r=i.slice(n+1),i=i.slice(0,n)),i&&!e.hasOwnProperty(i))throw new Error("unknown type: "+i);return{type:i,name:r}})}Bi.prototype=Ls.prototype={constructor:Bi,on:function(t,e){var i=this._,r=Bu(t+"",i),n,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var i=new Array(n),r=0,n,o;r=0&&(e=t.slice(0,i))!=="xmlns"&&(t=t.slice(i+1)),To.hasOwnProperty(e)?{space:To[e],local:t}:t}function Fu(t){return function(){var e=this.ownerDocument,i=this.namespaceURI;return i===Ur&&e.documentElement.namespaceURI===Ur?e.createElement(t):e.createElementNS(i,t)}}function Lu(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Es(t){var e=or(t);return(e.local?Lu:Fu)(e)}function Eu(){}function ln(t){return t==null?Eu:function(){return this.querySelector(t)}}function Ou(t){typeof t!="function"&&(t=ln(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n=J&&(J=M+1);!(K=A[J])&&++J=0;)(s=r[n])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function nf(t){t||(t=of);function e(d,c){return d&&c?t(d.__data__,c.__data__):!d-!c}for(var i=this._groups,r=i.length,n=new Array(r),o=0;oe?1:t>=e?0:NaN}function sf(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function af(){return Array.from(this)}function lf(){for(var t=this._groups,e=0,i=t.length;e1?this.each((e==null?Cf:typeof e=="function"?bf:xf)(t,e,i??"")):Ae(this.node(),t)}function Ae(t,e){return t.style.getPropertyValue(e)||Ds(t).getComputedStyle(t,null).getPropertyValue(e)}function vf(t){return function(){delete this[t]}}function kf(t,e){return function(){this[t]=e}}function Sf(t,e){return function(){var i=e.apply(this,arguments);i==null?delete this[t]:this[t]=i}}function wf(t,e){return arguments.length>1?this.each((e==null?vf:typeof e=="function"?Sf:kf)(t,e)):this.node()[t]}function Ns(t){return t.trim().split(/^|\s+/)}function hn(t){return t.classList||new Rs(t)}function Rs(t){this._node=t,this._names=Ns(t.getAttribute("class")||"")}Rs.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Ps(t,e){for(var i=hn(t),r=-1,n=e.length;++r=0&&(i=e.slice(r+1),e=e.slice(0,r)),{type:e,name:i}})}function td(t){return function(){var e=this.__on;if(e){for(var i=0,r=-1,n=e.length,o;i>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):i===8?bi(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):i===4?bi(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=hd.exec(t))?new ft(e[1],e[2],e[3],1):(e=cd.exec(t))?new ft(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=ud.exec(t))?bi(e[1],e[2],e[3],e[4]):(e=fd.exec(t))?bi(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=dd.exec(t))?Fo(e[1],e[2]/100,e[3]/100,1):(e=pd.exec(t))?Fo(e[1],e[2]/100,e[3]/100,e[4]):vo.hasOwnProperty(t)?wo(vo[t]):t==="transparent"?new ft(NaN,NaN,NaN,0):null}function wo(t){return new ft(t>>16&255,t>>8&255,t&255,1)}function bi(t,e,i,r){return r<=0&&(t=e=i=NaN),new ft(t,e,i,r)}function _d(t){return t instanceof di||(t=si(t)),t?(t=t.rgb(),new ft(t.r,t.g,t.b,t.opacity)):new ft}function jr(t,e,i,r){return arguments.length===1?_d(t):new ft(t,e,i,r??1)}function ft(t,e,i,r){this.r=+t,this.g=+e,this.b=+i,this.opacity=+r}cn(ft,jr,Hs(di,{brighter(t){return t=t==null?Ni:Math.pow(Ni,t),new ft(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?ni:Math.pow(ni,t),new ft(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ft(ce(this.r),ce(this.g),ce(this.b),Ri(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Bo,formatHex:Bo,formatHex8:yd,formatRgb:Ao,toString:Ao}));function Bo(){return`#${le(this.r)}${le(this.g)}${le(this.b)}`}function yd(){return`#${le(this.r)}${le(this.g)}${le(this.b)}${le((isNaN(this.opacity)?1:this.opacity)*255)}`}function Ao(){const t=Ri(this.opacity);return`${t===1?"rgb(":"rgba("}${ce(this.r)}, ${ce(this.g)}, ${ce(this.b)}${t===1?")":`, ${t})`}`}function Ri(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ce(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function le(t){return t=ce(t),(t<16?"0":"")+t.toString(16)}function Fo(t,e,i,r){return r<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Bt(t,e,i,r)}function Us(t){if(t instanceof Bt)return new Bt(t.h,t.s,t.l,t.opacity);if(t instanceof di||(t=si(t)),!t)return new Bt;if(t instanceof Bt)return t;t=t.rgb();var e=t.r/255,i=t.g/255,r=t.b/255,n=Math.min(e,i,r),o=Math.max(e,i,r),s=NaN,a=o-n,l=(o+n)/2;return a?(e===o?s=(i-r)/a+(i0&&l<1?0:s,new Bt(s,a,l,t.opacity)}function Cd(t,e,i,r){return arguments.length===1?Us(t):new Bt(t,e,i,r??1)}function Bt(t,e,i,r){this.h=+t,this.s=+e,this.l=+i,this.opacity=+r}cn(Bt,Cd,Hs(di,{brighter(t){return t=t==null?Ni:Math.pow(Ni,t),new Bt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?ni:Math.pow(ni,t),new Bt(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,r=i+(i<.5?i:1-i)*e,n=2*i-r;return new ft(wr(t>=240?t-240:t+120,n,r),wr(t,n,r),wr(t<120?t+240:t-120,n,r),this.opacity)},clamp(){return new Bt(Lo(this.h),Ti(this.s),Ti(this.l),Ri(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ri(this.opacity);return`${t===1?"hsl(":"hsla("}${Lo(this.h)}, ${Ti(this.s)*100}%, ${Ti(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Lo(t){return t=(t||0)%360,t<0?t+360:t}function Ti(t){return Math.max(0,Math.min(1,t||0))}function wr(t,e,i){return(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)*255}const un=t=>()=>t;function js(t,e){return function(i){return t+i*e}}function xd(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(r){return Math.pow(t+r*e,i)}}function xx(t,e){var i=e-t;return i?js(t,i>180||i<-180?i-360*Math.round(i/360):i):un(isNaN(t)?e:t)}function bd(t){return(t=+t)==1?Ys:function(e,i){return i-e?xd(e,i,t):un(isNaN(e)?i:e)}}function Ys(t,e){var i=e-t;return i?js(t,i):un(isNaN(t)?e:t)}const Eo=function t(e){var i=bd(e);function r(n,o){var s=i((n=jr(n)).r,(o=jr(o)).r),a=i(n.g,o.g),l=i(n.b,o.b),h=Ys(n.opacity,o.opacity);return function(u){return n.r=s(u),n.g=a(u),n.b=l(u),n.opacity=h(u),n+""}}return r.gamma=t,r}(1);function Qt(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var Yr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Br=new RegExp(Yr.source,"g");function Td(t){return function(){return t}}function vd(t){return function(e){return t(e)+""}}function kd(t,e){var i=Yr.lastIndex=Br.lastIndex=0,r,n,o,s=-1,a=[],l=[];for(t=t+"",e=e+"";(r=Yr.exec(t))&&(n=Br.exec(e));)(o=n.index)>i&&(o=e.slice(i,o),a[s]?a[s]+=o:a[++s]=o),(r=r[0])===(n=n[0])?a[s]?a[s]+=n:a[++s]=n:(a[++s]=null,l.push({i:s,x:Qt(r,n)})),i=Br.lastIndex;return i180?u+=360:u-h>180&&(h+=360),c.push({i:d.push(n(d)+"rotate(",null,r)-2,x:Qt(h,u)})):u&&d.push(n(d)+"rotate("+u+r)}function a(h,u,d,c){h!==u?c.push({i:d.push(n(d)+"skewX(",null,r)-2,x:Qt(h,u)}):u&&d.push(n(d)+"skewX("+u+r)}function l(h,u,d,c,p,C){if(h!==d||u!==c){var B=p.push(n(p)+"scale(",null,",",null,")");C.push({i:B-4,x:Qt(h,d)},{i:B-2,x:Qt(u,c)})}else(d!==1||c!==1)&&p.push(n(p)+"scale("+d+","+c+")")}return function(h,u){var d=[],c=[];return h=t(h),u=t(u),o(h.translateX,h.translateY,u.translateX,u.translateY,d,c),s(h.rotate,u.rotate,d,c),a(h.skewX,u.skewX,d,c),l(h.scaleX,h.scaleY,u.scaleX,u.scaleY,d,c),h=u=null,function(p){for(var C=-1,B=c.length,A;++C=0&&t._call.call(void 0,e),t=t._next;--Fe}function Mo(){de=(qi=ai.now())+sr,Fe=Ye=0;try{Ld()}finally{Fe=0,Od(),de=0}}function Ed(){var t=ai.now(),e=t-qi;e>Xs&&(sr-=e,qi=t)}function Od(){for(var t,e=Pi,i,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(i=e._next,e._next=null,e=t?t._next=i:Pi=i);Ve=t,Gr(r)}function Gr(t){if(!Fe){Ye&&(Ye=clearTimeout(Ye));var e=t-de;e>24?(t<1/0&&(Ye=setTimeout(Mo,t-ai.now()-sr)),qe&&(qe=clearInterval(qe))):(qe||(qi=ai.now(),qe=setInterval(Ed,Xs)),Fe=1,Ks(Mo))}}function Io(t,e,i){var r=new zi;return e=e==null?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,i),r}var Md=Ls("start","end","cancel","interrupt"),Id=[],Js=0,$o=1,Xr=2,Ai=3,Do=4,Kr=5,Fi=6;function ar(t,e,i,r,n,o){var s=t.__transition;if(!s)t.__transition={};else if(i in s)return;$d(t,i,{name:e,index:r,group:n,on:Md,tween:Id,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Js})}function dn(t,e){var i=Ft(t,e);if(i.state>Js)throw new Error("too late; already scheduled");return i}function Dt(t,e){var i=Ft(t,e);if(i.state>Ai)throw new Error("too late; already running");return i}function Ft(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function $d(t,e,i){var r=t.__transition,n;r[e]=i,i.timer=Zs(o,0,i.time);function o(h){i.state=$o,i.timer.restart(s,i.delay,i.time),i.delay<=h&&s(h-i.delay)}function s(h){var u,d,c,p;if(i.state!==$o)return l();for(u in r)if(p=r[u],p.name===i.name){if(p.state===Ai)return Io(s);p.state===Do?(p.state=Fi,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete r[u]):+uXr&&r.state=0&&(e=e.slice(0,i)),!e||e==="start"})}function fp(t,e,i){var r,n,o=up(e)?dn:Dt;return function(){var s=o(this,t),a=s.on;a!==r&&(n=(r=a).copy()).on(e,i),s.on=n}}function dp(t,e){var i=this._id;return arguments.length<2?Ft(this.node(),i).on.on(t):this.each(fp(i,t,e))}function pp(t){return function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}}function gp(){return this.on("end.remove",pp(this._id))}function mp(t){var e=this._name,i=this._id;typeof t!="function"&&(t=ln(t));for(var r=this._groups,n=r.length,o=new Array(n),s=0;s1?0:t<-1?gn:Math.acos(t)}function Lx(t){return t>=1?Ro:t<=-1?-Ro:Math.asin(t)}function ia(t){this._context=t}ia.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function zp(t){return new ia(t)}class ra{constructor(e,i){this._context=e,this._x=i}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,i){switch(e=+e,i=+i,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,i,e,i):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+i)/2,e,this._y0,e,i);break}}this._x0=e,this._y0=i}}function Wp(t){return new ra(t,!0)}function Hp(t){return new ra(t,!1)}function ee(){}function Wi(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function lr(t){this._context=t}lr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Wi(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Wi(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Up(t){return new lr(t)}function na(t){this._context=t}na.prototype={areaStart:ee,areaEnd:ee,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Wi(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function jp(t){return new na(t)}function oa(t){this._context=t}oa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,r):this._context.moveTo(i,r);break;case 3:this._point=4;default:Wi(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Yp(t){return new oa(t)}function sa(t,e){this._basis=new lr(t),this._beta=e}sa.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var r=t[0],n=e[0],o=t[i]-r,s=e[i]-n,a=-1,l;++a<=i;)l=a/i,this._basis.point(this._beta*t[a]+(1-this._beta)*(r+l*o),this._beta*e[a]+(1-this._beta)*(n+l*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Vp=function t(e){function i(r){return e===1?new lr(r):new sa(r,e)}return i.beta=function(r){return t(+r)},i}(.85);function Hi(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function mn(t,e){this._context=t,this._k=(1-e)/6}mn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Hi(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Hi(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Gp=function t(e){function i(r){return new mn(r,e)}return i.tension=function(r){return t(+r)},i}(0);function _n(t,e){this._context=t,this._k=(1-e)/6}_n.prototype={areaStart:ee,areaEnd:ee,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Hi(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Xp=function t(e){function i(r){return new _n(r,e)}return i.tension=function(r){return t(+r)},i}(0);function yn(t,e){this._context=t,this._k=(1-e)/6}yn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Hi(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Kp=function t(e){function i(r){return new yn(r,e)}return i.tension=function(r){return t(+r)},i}(0);function Cn(t,e,i){var r=t._x1,n=t._y1,o=t._x2,s=t._y2;if(t._l01_a>No){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>No){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/u,s=(s*h+t._y1*t._l23_2a-i*t._l12_2a)/u}t._context.bezierCurveTo(r,n,o,s,t._x2,t._y2)}function aa(t,e){this._context=t,this._alpha=e}aa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Cn(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Zp=function t(e){function i(r){return e?new aa(r,e):new mn(r,0)}return i.alpha=function(r){return t(+r)},i}(.5);function la(t,e){this._context=t,this._alpha=e}la.prototype={areaStart:ee,areaEnd:ee,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Cn(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Jp=function t(e){function i(r){return e?new la(r,e):new _n(r,0)}return i.alpha=function(r){return t(+r)},i}(.5);function ha(t,e){this._context=t,this._alpha=e}ha.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Cn(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Qp=function t(e){function i(r){return e?new ha(r,e):new yn(r,0)}return i.alpha=function(r){return t(+r)},i}(.5);function ca(t){this._context=t}ca.prototype={areaStart:ee,areaEnd:ee,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function tg(t){return new ca(t)}function Po(t){return t<0?-1:1}function qo(t,e,i){var r=t._x1-t._x0,n=e-t._x1,o=(t._y1-t._y0)/(r||n<0&&-0),s=(i-t._y1)/(n||r<0&&-0),a=(o*n+s*r)/(r+n);return(Po(o)+Po(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function zo(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Ar(t,e,i){var r=t._x0,n=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,n+a*e,o-a,s-a*i,o,s)}function Ui(t){this._context=t}Ui.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ar(this,this._t0,zo(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Ar(this,zo(this,i=qo(this,t,e)),i);break;default:Ar(this,this._t0,i=qo(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}};function ua(t){this._context=new fa(t)}(ua.prototype=Object.create(Ui.prototype)).point=function(t,e){Ui.prototype.point.call(this,e,t)};function fa(t){this._context=t}fa.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,r,n,o){this._context.bezierCurveTo(e,t,r,i,o,n)}};function eg(t){return new Ui(t)}function ig(t){return new ua(t)}function da(t){this._context=t}da.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,i=t.length;if(i)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),i===2)this._context.lineTo(t[1],e[1]);else for(var r=Wo(t),n=Wo(e),o=0,s=1;s=0;--e)n[e]=(s[e]-n[e+1])/o[e];for(o[i-1]=(t[i]+n[i-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}break}}this._x=t,this._y=e}};function ng(t){return new hr(t,.5)}function og(t){return new hr(t,0)}function sg(t){return new hr(t,1)}function Ge(t,e,i){this.k=t,this.x=e,this.y=i}Ge.prototype={constructor:Ge,scale:function(t){return t===1?this:new Ge(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new Ge(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};Ge.prototype;/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:pa,setPrototypeOf:Ho,isFrozen:ag,getPrototypeOf:lg,getOwnPropertyDescriptor:hg}=Object;let{freeze:ht,seal:bt,create:ga}=Object,{apply:Zr,construct:Jr}=typeof Reflect<"u"&&Reflect;ht||(ht=function(e){return e});bt||(bt=function(e){return e});Zr||(Zr=function(e,i,r){return e.apply(i,r)});Jr||(Jr=function(e,i){return new e(...i)});const ki=mt(Array.prototype.forEach),Uo=mt(Array.prototype.pop),ze=mt(Array.prototype.push),Li=mt(String.prototype.toLowerCase),Fr=mt(String.prototype.toString),jo=mt(String.prototype.match),We=mt(String.prototype.replace),cg=mt(String.prototype.indexOf),ug=mt(String.prototype.trim),wt=mt(Object.prototype.hasOwnProperty),st=mt(RegExp.prototype.test),He=fg(TypeError);function mt(t){return function(e){for(var i=arguments.length,r=new Array(i>1?i-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:Li;Ho&&Ho(t,null);let r=e.length;for(;r--;){let n=e[r];if(typeof n=="string"){const o=i(n);o!==n&&(ag(e)||(e[r]=o),n=o)}t[n]=!0}return t}function dg(t){for(let e=0;e/gm),yg=bt(/\${[\w\W]*}/gm),Cg=bt(/^data-[\-\w.\u00B7-\uFFFF]/),xg=bt(/^aria-[\-\w]+$/),ma=bt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bg=bt(/^(?:\w+script|data):/i),Tg=bt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),_a=bt(/^html$/i),vg=bt(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ko=Object.freeze({__proto__:null,MUSTACHE_EXPR:mg,ERB_EXPR:_g,TMPLIT_EXPR:yg,DATA_ATTR:Cg,ARIA_ATTR:xg,IS_ALLOWED_URI:ma,IS_SCRIPT_OR_DATA:bg,ATTR_WHITESPACE:Tg,DOCTYPE_NAME:_a,CUSTOM_ELEMENT:vg});const je={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},kg=function(){return typeof window>"u"?null:window},Sg=function(e,i){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";i&&i.hasAttribute(n)&&(r=i.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function ya(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kg();const e=k=>ya(k);if(e.version="3.1.6",e.removed=[],!t||!t.document||t.document.nodeType!==je.document)return e.isSupported=!1,e;let{document:i}=t;const r=i,n=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:h,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:c,trustedTypes:p}=t,C=l.prototype,B=Ue(C,"cloneNode"),A=Ue(C,"remove"),W=Ue(C,"nextSibling"),M=Ue(C,"childNodes"),J=Ue(C,"parentNode");if(typeof s=="function"){const k=i.createElement("template");k.content&&k.content.ownerDocument&&(i=k.content.ownerDocument)}let z,K="";const{implementation:pt,createNodeIterator:ne,createDocumentFragment:Vt,getElementsByTagName:Gt}=i,{importNode:V}=r;let N={};e.isSupported=typeof pa=="function"&&typeof J=="function"&&pt&&pt.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Tt,ERB_EXPR:Xt,TMPLIT_EXPR:O,DATA_ATTR:b,ARIA_ATTR:_,IS_SCRIPT_OR_DATA:v,ATTR_WHITESPACE:x,CUSTOM_ELEMENT:F}=Ko;let{IS_ALLOWED_URI:D}=Ko,$=null;const j=P({},[...Yo,...Lr,...Er,...Or,...Vo]);let R=null;const X=P({},[...Go,...Mr,...Xo,...Si]);let q=Object.seal(ga(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_t=null,vt=null,Kt=!0,kt=!0,Q=!1,St=!0,yt=!1,Zt=!0,oe=!1,mr=!1,_r=!1,ye=!1,mi=!1,_i=!1,Dn=!0,Nn=!1;const Ll="user-content-";let yr=!0,Ne=!1,Ce={},xe=null;const Rn=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Pn=null;const qn=P({},["audio","video","img","source","image","track"]);let Cr=null;const zn=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),yi="http://www.w3.org/1998/Math/MathML",Ci="http://www.w3.org/2000/svg",Nt="http://www.w3.org/1999/xhtml";let be=Nt,xr=!1,br=null;const El=P({},[yi,Ci,Nt],Fr);let Re=null;const Ol=["application/xhtml+xml","text/html"],Ml="text/html";let Z=null,Te=null;const Il=i.createElement("form"),Wn=function(f){return f instanceof RegExp||f instanceof Function},Tr=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Te&&Te===f)){if((!f||typeof f!="object")&&(f={}),f=ae(f),Re=Ol.indexOf(f.PARSER_MEDIA_TYPE)===-1?Ml:f.PARSER_MEDIA_TYPE,Z=Re==="application/xhtml+xml"?Fr:Li,$=wt(f,"ALLOWED_TAGS")?P({},f.ALLOWED_TAGS,Z):j,R=wt(f,"ALLOWED_ATTR")?P({},f.ALLOWED_ATTR,Z):X,br=wt(f,"ALLOWED_NAMESPACES")?P({},f.ALLOWED_NAMESPACES,Fr):El,Cr=wt(f,"ADD_URI_SAFE_ATTR")?P(ae(zn),f.ADD_URI_SAFE_ATTR,Z):zn,Pn=wt(f,"ADD_DATA_URI_TAGS")?P(ae(qn),f.ADD_DATA_URI_TAGS,Z):qn,xe=wt(f,"FORBID_CONTENTS")?P({},f.FORBID_CONTENTS,Z):Rn,_t=wt(f,"FORBID_TAGS")?P({},f.FORBID_TAGS,Z):{},vt=wt(f,"FORBID_ATTR")?P({},f.FORBID_ATTR,Z):{},Ce=wt(f,"USE_PROFILES")?f.USE_PROFILES:!1,Kt=f.ALLOW_ARIA_ATTR!==!1,kt=f.ALLOW_DATA_ATTR!==!1,Q=f.ALLOW_UNKNOWN_PROTOCOLS||!1,St=f.ALLOW_SELF_CLOSE_IN_ATTR!==!1,yt=f.SAFE_FOR_TEMPLATES||!1,Zt=f.SAFE_FOR_XML!==!1,oe=f.WHOLE_DOCUMENT||!1,ye=f.RETURN_DOM||!1,mi=f.RETURN_DOM_FRAGMENT||!1,_i=f.RETURN_TRUSTED_TYPE||!1,_r=f.FORCE_BODY||!1,Dn=f.SANITIZE_DOM!==!1,Nn=f.SANITIZE_NAMED_PROPS||!1,yr=f.KEEP_CONTENT!==!1,Ne=f.IN_PLACE||!1,D=f.ALLOWED_URI_REGEXP||ma,be=f.NAMESPACE||Nt,q=f.CUSTOM_ELEMENT_HANDLING||{},f.CUSTOM_ELEMENT_HANDLING&&Wn(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=f.CUSTOM_ELEMENT_HANDLING.tagNameCheck),f.CUSTOM_ELEMENT_HANDLING&&Wn(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),f.CUSTOM_ELEMENT_HANDLING&&typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(q.allowCustomizedBuiltInElements=f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),yt&&(kt=!1),mi&&(ye=!0),Ce&&($=P({},Vo),R=[],Ce.html===!0&&(P($,Yo),P(R,Go)),Ce.svg===!0&&(P($,Lr),P(R,Mr),P(R,Si)),Ce.svgFilters===!0&&(P($,Er),P(R,Mr),P(R,Si)),Ce.mathMl===!0&&(P($,Or),P(R,Xo),P(R,Si))),f.ADD_TAGS&&($===j&&($=ae($)),P($,f.ADD_TAGS,Z)),f.ADD_ATTR&&(R===X&&(R=ae(R)),P(R,f.ADD_ATTR,Z)),f.ADD_URI_SAFE_ATTR&&P(Cr,f.ADD_URI_SAFE_ATTR,Z),f.FORBID_CONTENTS&&(xe===Rn&&(xe=ae(xe)),P(xe,f.FORBID_CONTENTS,Z)),yr&&($["#text"]=!0),oe&&P($,["html","head","body"]),$.table&&(P($,["tbody"]),delete _t.tbody),f.TRUSTED_TYPES_POLICY){if(typeof f.TRUSTED_TYPES_POLICY.createHTML!="function")throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof f.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');z=f.TRUSTED_TYPES_POLICY,K=z.createHTML("")}else z===void 0&&(z=Sg(p,n)),z!==null&&typeof K=="string"&&(K=z.createHTML(""));ht&&ht(f),Te=f}},Hn=P({},["mi","mo","mn","ms","mtext"]),Un=P({},["foreignobject","annotation-xml"]),$l=P({},["title","style","font","a","script"]),jn=P({},[...Lr,...Er,...pg]),Yn=P({},[...Or,...gg]),Dl=function(f){let m=J(f);(!m||!m.tagName)&&(m={namespaceURI:be,tagName:"template"});const T=Li(f.tagName),H=Li(m.tagName);return br[f.namespaceURI]?f.namespaceURI===Ci?m.namespaceURI===Nt?T==="svg":m.namespaceURI===yi?T==="svg"&&(H==="annotation-xml"||Hn[H]):!!jn[T]:f.namespaceURI===yi?m.namespaceURI===Nt?T==="math":m.namespaceURI===Ci?T==="math"&&Un[H]:!!Yn[T]:f.namespaceURI===Nt?m.namespaceURI===Ci&&!Un[H]||m.namespaceURI===yi&&!Hn[H]?!1:!Yn[T]&&($l[T]||!jn[T]):!!(Re==="application/xhtml+xml"&&br[f.namespaceURI]):!1},Lt=function(f){ze(e.removed,{element:f});try{J(f).removeChild(f)}catch{A(f)}},xi=function(f,m){try{ze(e.removed,{attribute:m.getAttributeNode(f),from:m})}catch{ze(e.removed,{attribute:null,from:m})}if(m.removeAttribute(f),f==="is"&&!R[f])if(ye||mi)try{Lt(m)}catch{}else try{m.setAttribute(f,"")}catch{}},Vn=function(f){let m=null,T=null;if(_r)f=""+f;else{const tt=jo(f,/^[\r\n\t ]+/);T=tt&&tt[0]}Re==="application/xhtml+xml"&&be===Nt&&(f=''+f+"");const H=z?z.createHTML(f):f;if(be===Nt)try{m=new c().parseFromString(H,Re)}catch{}if(!m||!m.documentElement){m=pt.createDocument(be,"template",null);try{m.documentElement.innerHTML=xr?K:H}catch{}}const et=m.body||m.documentElement;return f&&T&&et.insertBefore(i.createTextNode(T),et.childNodes[0]||null),be===Nt?Gt.call(m,oe?"html":"body")[0]:oe?m.documentElement:et},Gn=function(f){return ne.call(f.ownerDocument||f,f,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Xn=function(f){return f instanceof d&&(typeof f.nodeName!="string"||typeof f.textContent!="string"||typeof f.removeChild!="function"||!(f.attributes instanceof u)||typeof f.removeAttribute!="function"||typeof f.setAttribute!="function"||typeof f.namespaceURI!="string"||typeof f.insertBefore!="function"||typeof f.hasChildNodes!="function")},Kn=function(f){return typeof a=="function"&&f instanceof a},Rt=function(f,m,T){N[f]&&ki(N[f],H=>{H.call(e,m,T,Te)})},Zn=function(f){let m=null;if(Rt("beforeSanitizeElements",f,null),Xn(f))return Lt(f),!0;const T=Z(f.nodeName);if(Rt("uponSanitizeElement",f,{tagName:T,allowedTags:$}),f.hasChildNodes()&&!Kn(f.firstElementChild)&&st(/<[/\w]/g,f.innerHTML)&&st(/<[/\w]/g,f.textContent)||f.nodeType===je.progressingInstruction||Zt&&f.nodeType===je.comment&&st(/<[/\w]/g,f.data))return Lt(f),!0;if(!$[T]||_t[T]){if(!_t[T]&&Qn(T)&&(q.tagNameCheck instanceof RegExp&&st(q.tagNameCheck,T)||q.tagNameCheck instanceof Function&&q.tagNameCheck(T)))return!1;if(yr&&!xe[T]){const H=J(f)||f.parentNode,et=M(f)||f.childNodes;if(et&&H){const tt=et.length;for(let ct=tt-1;ct>=0;--ct){const Et=B(et[ct],!0);Et.__removalCount=(f.__removalCount||0)+1,H.insertBefore(Et,W(f))}}}return Lt(f),!0}return f instanceof l&&!Dl(f)||(T==="noscript"||T==="noembed"||T==="noframes")&&st(/<\/no(script|embed|frames)/i,f.innerHTML)?(Lt(f),!0):(yt&&f.nodeType===je.text&&(m=f.textContent,ki([Tt,Xt,O],H=>{m=We(m,H," ")}),f.textContent!==m&&(ze(e.removed,{element:f.cloneNode()}),f.textContent=m)),Rt("afterSanitizeElements",f,null),!1)},Jn=function(f,m,T){if(Dn&&(m==="id"||m==="name")&&(T in i||T in Il))return!1;if(!(kt&&!vt[m]&&st(b,m))){if(!(Kt&&st(_,m))){if(!R[m]||vt[m]){if(!(Qn(f)&&(q.tagNameCheck instanceof RegExp&&st(q.tagNameCheck,f)||q.tagNameCheck instanceof Function&&q.tagNameCheck(f))&&(q.attributeNameCheck instanceof RegExp&&st(q.attributeNameCheck,m)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(m))||m==="is"&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&st(q.tagNameCheck,T)||q.tagNameCheck instanceof Function&&q.tagNameCheck(T))))return!1}else if(!Cr[m]){if(!st(D,We(T,x,""))){if(!((m==="src"||m==="xlink:href"||m==="href")&&f!=="script"&&cg(T,"data:")===0&&Pn[f])){if(!(Q&&!st(v,We(T,x,"")))){if(T)return!1}}}}}}return!0},Qn=function(f){return f!=="annotation-xml"&&jo(f,F)},to=function(f){Rt("beforeSanitizeAttributes",f,null);const{attributes:m}=f;if(!m)return;const T={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:R};let H=m.length;for(;H--;){const et=m[H],{name:tt,namespaceURI:ct,value:Et}=et,Pe=Z(tt);let ot=tt==="value"?Et:ug(Et);if(T.attrName=Pe,T.attrValue=ot,T.keepAttr=!0,T.forceKeepAttr=void 0,Rt("uponSanitizeAttribute",f,T),ot=T.attrValue,Zt&&st(/((--!?|])>)|<\/(style|title)/i,ot)){xi(tt,f);continue}if(T.forceKeepAttr||(xi(tt,f),!T.keepAttr))continue;if(!St&&st(/\/>/i,ot)){xi(tt,f);continue}yt&&ki([Tt,Xt,O],io=>{ot=We(ot,io," ")});const eo=Z(f.nodeName);if(Jn(eo,Pe,ot)){if(Nn&&(Pe==="id"||Pe==="name")&&(xi(tt,f),ot=Ll+ot),z&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!ct)switch(p.getAttributeType(eo,Pe)){case"TrustedHTML":{ot=z.createHTML(ot);break}case"TrustedScriptURL":{ot=z.createScriptURL(ot);break}}try{ct?f.setAttributeNS(ct,tt,ot):f.setAttribute(tt,ot),Xn(f)?Lt(f):Uo(e.removed)}catch{}}}Rt("afterSanitizeAttributes",f,null)},Nl=function k(f){let m=null;const T=Gn(f);for(Rt("beforeSanitizeShadowDOM",f,null);m=T.nextNode();)Rt("uponSanitizeShadowNode",m,null),!Zn(m)&&(m.content instanceof o&&k(m.content),to(m));Rt("afterSanitizeShadowDOM",f,null)};return e.sanitize=function(k){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=null,T=null,H=null,et=null;if(xr=!k,xr&&(k=""),typeof k!="string"&&!Kn(k))if(typeof k.toString=="function"){if(k=k.toString(),typeof k!="string")throw He("dirty is not a string, aborting")}else throw He("toString is not a function");if(!e.isSupported)return k;if(mr||Tr(f),e.removed=[],typeof k=="string"&&(Ne=!1),Ne){if(k.nodeName){const Et=Z(k.nodeName);if(!$[Et]||_t[Et])throw He("root node is forbidden and cannot be sanitized in-place")}}else if(k instanceof a)m=Vn(""),T=m.ownerDocument.importNode(k,!0),T.nodeType===je.element&&T.nodeName==="BODY"||T.nodeName==="HTML"?m=T:m.appendChild(T);else{if(!ye&&!yt&&!oe&&k.indexOf("<")===-1)return z&&_i?z.createHTML(k):k;if(m=Vn(k),!m)return ye?null:_i?K:""}m&&_r&&Lt(m.firstChild);const tt=Gn(Ne?k:m);for(;H=tt.nextNode();)Zn(H)||(H.content instanceof o&&Nl(H.content),to(H));if(Ne)return k;if(ye){if(mi)for(et=Vt.call(m.ownerDocument);m.firstChild;)et.appendChild(m.firstChild);else et=m;return(R.shadowroot||R.shadowrootmode)&&(et=V.call(r,et,!0)),et}let ct=oe?m.outerHTML:m.innerHTML;return oe&&$["!doctype"]&&m.ownerDocument&&m.ownerDocument.doctype&&m.ownerDocument.doctype.name&&st(_a,m.ownerDocument.doctype.name)&&(ct=" `+ct),yt&&ki([Tt,Xt,O],Et=>{ct=We(ct,Et," ")}),z&&_i?z.createHTML(ct):ct},e.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Tr(k),mr=!0},e.clearConfig=function(){Te=null,mr=!1},e.isValidAttribute=function(k,f,m){Te||Tr({});const T=Z(k),H=Z(f);return Jn(T,H,m)},e.addHook=function(k,f){typeof f=="function"&&(N[k]=N[k]||[],ze(N[k],f))},e.removeHook=function(k){if(N[k])return Uo(N[k])},e.removeHooks=function(k){N[k]&&(N[k]=[])},e.removeAllHooks=function(){N={}},e}var Le=ya();const Ei={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t),hsl2rgb:({h:t,s:e,l:i},r)=>{if(!e)return i*2.55;t/=360,e/=100,i/=100;const n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;switch(r){case"r":return Ei.hue2rgb(o,n,t+1/3)*255;case"g":return Ei.hue2rgb(o,n,t)*255;case"b":return Ei.hue2rgb(o,n,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:i},r)=>{t/=255,e/=255,i/=255;const n=Math.max(t,e,i),o=Math.min(t,e,i),s=(n+o)/2;if(r==="l")return s*100;if(n===o)return 0;const a=n-o,l=s>.5?a/(2-n-o):a/(n+o);if(r==="s")return l*100;switch(n){case t:return((e-i)/a+(ee>i?Math.min(e,Math.max(i,t)):Math.min(i,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},Bg={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}},I={channel:Ei,lang:wg,unit:Bg},Jt={};for(let t=0;t<=255;t++)Jt[t]=I.unit.dec2hex(t);const it={ALL:0,RGB:1,HSL:2};class Ag{constructor(){this.type=it.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=it.ALL}is(e){return this.type===e}}class Fg{constructor(e,i){this.color=i,this.changed=!1,this.data=e,this.type=new Ag}set(e,i){return this.color=i,this.changed=!1,this.data=e,this.type.type=it.ALL,this}_ensureHSL(){const e=this.data,{h:i,s:r,l:n}=e;i===void 0&&(e.h=I.channel.rgb2hsl(e,"h")),r===void 0&&(e.s=I.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=I.channel.rgb2hsl(e,"l"))}_ensureRGB(){const e=this.data,{r:i,g:r,b:n}=e;i===void 0&&(e.r=I.channel.hsl2rgb(e,"r")),r===void 0&&(e.g=I.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=I.channel.hsl2rgb(e,"b"))}get r(){const e=this.data,i=e.r;return!this.type.is(it.HSL)&&i!==void 0?i:(this._ensureHSL(),I.channel.hsl2rgb(e,"r"))}get g(){const e=this.data,i=e.g;return!this.type.is(it.HSL)&&i!==void 0?i:(this._ensureHSL(),I.channel.hsl2rgb(e,"g"))}get b(){const e=this.data,i=e.b;return!this.type.is(it.HSL)&&i!==void 0?i:(this._ensureHSL(),I.channel.hsl2rgb(e,"b"))}get h(){const e=this.data,i=e.h;return!this.type.is(it.RGB)&&i!==void 0?i:(this._ensureRGB(),I.channel.rgb2hsl(e,"h"))}get s(){const e=this.data,i=e.s;return!this.type.is(it.RGB)&&i!==void 0?i:(this._ensureRGB(),I.channel.rgb2hsl(e,"s"))}get l(){const e=this.data,i=e.l;return!this.type.is(it.RGB)&&i!==void 0?i:(this._ensureRGB(),I.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(it.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(it.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(it.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(it.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(it.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(it.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}const cr=new Fg({r:0,g:0,b:0,a:0},"transparent"),Be={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(Be.re);if(!e)return;const i=e[1],r=parseInt(i,16),n=i.length,o=n%4===0,s=n>4,a=s?1:17,l=s?8:4,h=o?0:-1,u=s?255:15;return cr.set({r:(r>>l*(h+3)&u)*a,g:(r>>l*(h+2)&u)*a,b:(r>>l*(h+1)&u)*a,a:o?(r&u)*a/255:1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`#${Jt[Math.round(e)]}${Jt[Math.round(i)]}${Jt[Math.round(r)]}${Jt[Math.round(n*255)]}`:`#${Jt[Math.round(e)]}${Jt[Math.round(i)]}${Jt[Math.round(r)]}`}},he={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(he.hueRe);if(e){const[,i,r]=e;switch(r){case"grad":return I.channel.clamp.h(parseFloat(i)*.9);case"rad":return I.channel.clamp.h(parseFloat(i)*180/Math.PI);case"turn":return I.channel.clamp.h(parseFloat(i)*360)}}return I.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const i=t.match(he.re);if(!i)return;const[,r,n,o,s,a]=i;return cr.set({h:he._hue2deg(r),s:I.channel.clamp.s(parseFloat(n)),l:I.channel.clamp.l(parseFloat(o)),a:s?I.channel.clamp.a(a?parseFloat(s)/100:parseFloat(s)):1},t)},stringify:t=>{const{h:e,s:i,l:r,a:n}=t;return n<1?`hsla(${I.lang.round(e)}, ${I.lang.round(i)}%, ${I.lang.round(r)}%, ${n})`:`hsl(${I.lang.round(e)}, ${I.lang.round(i)}%, ${I.lang.round(r)}%)`}},Ze={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=Ze.colors[t];if(e)return Be.parse(e)},stringify:t=>{const e=Be.stringify(t);for(const i in Ze.colors)if(Ze.colors[i]===e)return i}},Xe={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(e!==114&&e!==82)return;const i=t.match(Xe.re);if(!i)return;const[,r,n,o,s,a,l,h,u]=i;return cr.set({r:I.channel.clamp.r(n?parseFloat(r)*2.55:parseFloat(r)),g:I.channel.clamp.g(s?parseFloat(o)*2.55:parseFloat(o)),b:I.channel.clamp.b(l?parseFloat(a)*2.55:parseFloat(a)),a:h?I.channel.clamp.a(u?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`rgba(${I.lang.round(e)}, ${I.lang.round(i)}, ${I.lang.round(r)}, ${I.lang.round(n)})`:`rgb(${I.lang.round(e)}, ${I.lang.round(i)}, ${I.lang.round(r)})`}},It={format:{keyword:Ze,hex:Be,rgb:Xe,rgba:Xe,hsl:he,hsla:he},parse:t=>{if(typeof t!="string")return t;const e=Be.parse(t)||Xe.parse(t)||he.parse(t)||Ze.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(it.HSL)||t.data.r===void 0?he.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?Xe.stringify(t):Be.stringify(t)},Ca=(t,e)=>{const i=It.parse(t);for(const r in e)i[r]=I.channel.clamp[r](e[r]);return It.stringify(i)},Je=(t,e,i=0,r=1)=>{if(typeof t!="number")return Ca(t,{a:e});const n=cr.set({r:I.channel.clamp.r(t),g:I.channel.clamp.g(e),b:I.channel.clamp.b(i),a:I.channel.clamp.a(r)});return It.stringify(n)},Lg=t=>{const{r:e,g:i,b:r}=It.parse(t),n=.2126*I.channel.toLinear(e)+.7152*I.channel.toLinear(i)+.0722*I.channel.toLinear(r);return I.lang.round(n)},Eg=t=>Lg(t)>=.5,pi=t=>!Eg(t),xa=(t,e,i)=>{const r=It.parse(t),n=r[e],o=I.channel.clamp[e](n+i);return n!==o&&(r[e]=o),It.stringify(r)},S=(t,e)=>xa(t,"l",e),E=(t,e)=>xa(t,"l",-e),g=(t,e)=>{const i=It.parse(t),r={};for(const n in e)e[n]&&(r[n]=i[n]+e[n]);return Ca(t,r)},Og=(t,e,i=50)=>{const{r,g:n,b:o,a:s}=It.parse(t),{r:a,g:l,b:h,a:u}=It.parse(e),d=i/100,c=d*2-1,p=s-u,B=((c*p===-1?c:(c+p)/(1+c*p))+1)/2,A=1-B,W=r*B+a*A,M=n*B+l*A,J=o*B+h*A,z=s*d+u*(1-d);return Je(W,M,J,z)},y=(t,e=100)=>{const i=It.parse(t);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,Og(i,t,e)},qt={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},L={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},xn=function(t="fatal"){let e=qt.fatal;typeof t=="string"?(t=t.toLowerCase(),t in qt&&(e=qt[t])):typeof t=="number"&&(e=t),L.trace=()=>{},L.debug=()=>{},L.info=()=>{},L.warn=()=>{},L.error=()=>{},L.fatal=()=>{},e<=qt.fatal&&(L.fatal=console.error?console.error.bind(console,Ct("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Ct("FATAL"))),e<=qt.error&&(L.error=console.error?console.error.bind(console,Ct("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Ct("ERROR"))),e<=qt.warn&&(L.warn=console.warn?console.warn.bind(console,Ct("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Ct("WARN"))),e<=qt.info&&(L.info=console.info?console.info.bind(console,Ct("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Ct("INFO"))),e<=qt.debug&&(L.debug=console.debug?console.debug.bind(console,Ct("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Ct("DEBUG"))),e<=qt.trace&&(L.trace=console.debug?console.debug.bind(console,Ct("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Ct("TRACE")))},Ct=t=>`%c${jl().format("ss.SSS")} : ${t} : `,gi=//gi,Mg=t=>t?Ta(t).replace(/\\n/g,"#br#").split("#br#"):[""],Ig=(()=>{let t=!1;return()=>{t||($g(),t=!0)}})();function $g(){const t="data-temp-href-target";Le.addHook("beforeSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")||"")}),Le.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)||""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}const ba=t=>(Ig(),Le.sanitize(t)),Zo=(t,e)=>{var i;if(((i=e.flowchart)==null?void 0:i.htmlLabels)!==!1){const r=e.securityLevel;r==="antiscript"||r==="strict"?t=ba(t):r!=="loose"&&(t=Ta(t),t=t.replace(//g,">"),t=t.replace(/=/g,"="),t=Pg(t))}return t},li=(t,e)=>t&&(e.dompurifyConfig?t=Le.sanitize(Zo(t,e),e.dompurifyConfig).toString():t=Le.sanitize(Zo(t,e),{FORBID_TAGS:["style"]}).toString(),t),Dg=(t,e)=>typeof t=="string"?li(t,e):t.flat().map(i=>li(i,e)),Ng=t=>gi.test(t),Rg=t=>t.split(gi),Pg=t=>t.replace(/#br#/g,"
"),Ta=t=>t.replace(gi,"#br#"),qg=t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},va=t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),zg=function(...t){const e=t.filter(i=>!isNaN(i));return Math.max(...e)},Wg=function(...t){const e=t.filter(i=>!isNaN(i));return Math.min(...e)},Ex=function(t){const e=t.split(/(,)/),i=[];for(let r=0;r0&&r+1Math.max(0,t.split(e).length-1),Hg=(t,e)=>{const i=Qr(t,"~"),r=Qr(e,"~");return i===1&&r===1},Ug=t=>{const e=Qr(t,"~");let i=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),i=!0);const r=[...t];let n=r.indexOf("~"),o=r.lastIndexOf("~");for(;n!==-1&&o!==-1&&n!==o;)r[n]="<",r[o]=">",n=r.indexOf("~"),o=r.lastIndexOf("~");return i&&r.unshift("~"),r.join("")},Jo=()=>window.MathMLElement!==void 0,tn=/\$\$(.*)\$\$/g,Qo=t=>{var e;return(((e=t.match(tn))==null?void 0:e.length)??0)>0},Ox=async(t,e)=>{t=await jg(t,e);const i=document.createElement("div");i.innerHTML=t,i.id="katex-temp",i.style.visibility="hidden",i.style.position="absolute",i.style.top="0";const r=document.querySelector("body");r==null||r.insertAdjacentElement("beforeend",i);const n={width:i.clientWidth,height:i.clientHeight};return i.remove(),n},jg=async(t,e)=>{if(!Qo(t))return t;if(!Jo()&&!e.legacyMathML)return t.replace(tn,"MathML is unsupported in this environment.");const{default:i}=await Y(async()=>{const{default:r}=await import("./katex-CvgdMzdh.js");return{default:r}},[]);return t.split(gi).map(r=>Qo(r)?`
${r}
`:`
${r}
`).join("").replace(tn,(r,n)=>i.renderToString(n,{throwOnError:!0,displayMode:!0,output:Jo()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(//g,""))},bn={getRows:Mg,sanitizeText:li,sanitizeTextOrArray:Dg,hasBreaks:Ng,splitBreaks:Rg,lineBreakRegex:gi,removeScript:ba,getUrl:qg,evaluate:va,getMax:zg,getMin:Wg},lt=(t,e)=>e?g(t,{s:-40,l:10}):g(t,{s:-40,l:-10}),ur="#ffffff",fr="#f2f2f2";let Yg=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var e,i,r,n,o,s,a,l,h,u,d;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||g(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||g(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||lt(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||lt(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||y(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||y(this.tertiaryColor),this.lineColor=this.lineColor||y(this.background),this.arrowheadColor=this.arrowheadColor||y(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?E(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||E(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||y(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||S(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330}),this.darkMode)for(let p=0;p{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Vg=t=>{const e=new Yg;return e.calculate(t),e};let Gg=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=S(this.primaryColor,16),this.tertiaryColor=g(this.primaryColor,{h:-160}),this.primaryBorderColor=y(this.background),this.secondaryBorderColor=lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=y(this.primaryColor),this.secondaryTextColor=y(this.secondaryColor),this.tertiaryTextColor=y(this.tertiaryColor),this.lineColor=y(this.background),this.textColor=y(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=S(y("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=Je(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=E("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=E(this.sectionBkgColor,10),this.taskBorderColor=Je(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Je(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var e,i,r,n,o,s,a,l,h,u,d;this.secondBkg=S(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=S(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=S(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=g(this.primaryColor,{h:64}),this.fillType3=g(this.secondaryColor,{h:64}),this.fillType4=g(this.primaryColor,{h:-64}),this.fillType5=g(this.secondaryColor,{h:-64}),this.fillType6=g(this.primaryColor,{h:128}),this.fillType7=g(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330});for(let c=0;c{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Xg=t=>{const e=new Gg;return e.calculate(t),e};let Kg=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=g(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=g(this.primaryColor,{h:-160}),this.primaryBorderColor=lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=y(this.primaryColor),this.secondaryTextColor=y(this.secondaryColor),this.tertiaryTextColor=y(this.tertiaryColor),this.lineColor=y(this.background),this.textColor=y(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=Je(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var e,i,r,n,o,s,a,l,h,u,d;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||E(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||E(this.tertiaryColor,40);for(let c=0;c{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Zg=t=>{const e=new Kg;return e.calculate(t),e};let Jg=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=S("#cde498",10),this.primaryBorderColor=lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=y(this.primaryColor),this.secondaryTextColor=y(this.secondaryColor),this.tertiaryTextColor=y(this.primaryColor),this.lineColor=y(this.background),this.textColor=y(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,i,r,n,o,s,a,l,h,u,d;this.actorBorder=E(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||g(this.primaryColor,{h:30}),this.cScale4=this.cScale4||g(this.primaryColor,{h:60}),this.cScale5=this.cScale5||g(this.primaryColor,{h:90}),this.cScale6=this.cScale6||g(this.primaryColor,{h:120}),this.cScale7=this.cScale7||g(this.primaryColor,{h:150}),this.cScale8=this.cScale8||g(this.primaryColor,{h:210}),this.cScale9=this.cScale9||g(this.primaryColor,{h:270}),this.cScale10=this.cScale10||g(this.primaryColor,{h:300}),this.cScale11=this.cScale11||g(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||E(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||E(this.tertiaryColor,40);for(let c=0;c{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Qg=t=>{const e=new Jg;return e.calculate(t),e};class tm{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=S(this.contrast,55),this.background="#ffffff",this.tertiaryColor=g(this.primaryColor,{h:-160}),this.primaryBorderColor=lt(this.primaryColor,this.darkMode),this.secondaryBorderColor=lt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=lt(this.tertiaryColor,this.darkMode),this.primaryTextColor=y(this.primaryColor),this.secondaryTextColor=y(this.secondaryColor),this.tertiaryTextColor=y(this.tertiaryColor),this.lineColor=y(this.background),this.textColor=y(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,i,r,n,o,s,a,l,h,u,d;this.secondBkg=S(this.contrast,55),this.border2=this.contrast,this.actorBorder=S(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let c=0;c{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}}const em=t=>{const e=new tm;return e.calculate(t),e},Ht={base:{getThemeVariables:Vg},dark:{getThemeVariables:Xg},default:{getThemeVariables:Zg},forest:{getThemeVariables:Qg},neutral:{getThemeVariables:em}},zt={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},ka={...zt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:Ht.default.getThemeVariables(),sequence:{...zt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...zt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...zt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...zt.pie,useWidth:984},xyChart:{...zt.xyChart,useWidth:void 0},requirement:{...zt.requirement,useWidth:void 0},gitGraph:{...zt.gitGraph,useMaxWidth:!1},sankey:{...zt.sankey,useMaxWidth:!1}},Sa=(t,e="")=>Object.keys(t).reduce((i,r)=>Array.isArray(t[r])?i:typeof t[r]=="object"&&t[r]!==null?[...i,e+r,...Sa(t[r],"")]:[...i,e+r],[]),im=new Set(Sa(ka,"")),rm=ka,ji=t=>{if(L.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>ji(e));return}for(const e of Object.keys(t)){if(L.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!im.has(e)||t[e]==null){L.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){L.debug("sanitizing object",e),ji(t[e]);continue}const i=["themeCSS","fontFamily","altFontFamily"];for(const r of i)e.includes(r)&&(L.debug("sanitizing css option",e),t[e]=nm(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const i=t.themeVariables[e];i!=null&&i.match&&!i.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}L.debug("After sanitization",t)}},nm=t=>{let e=0,i=0;for(const r of t){if(e{for(const{id:e,detector:i,loader:r}of t)Fa(e,i,r)},Fa=(t,e,i)=>{Ee[t]?L.error(`Detector with key ${t} already exists`):Ee[t]={detector:e,loader:i},L.debug(`Detector with key ${t} added${i?" with loader":""}`)},sm=t=>Ee[t].loader,en=(t,e,{depth:i=2,clobber:r=!1}={})=>{const n={depth:i,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(o=>en(t,o,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(o=>{t.includes(o)||t.push(o)}),t):t===void 0||i<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(o=>{typeof e[o]=="object"&&(t[o]===void 0||typeof t[o]=="object")?(t[o]===void 0&&(t[o]=Array.isArray(e[o])?[]:{}),t[o]=en(t[o],e[o],{depth:i-1,clobber:r})):(r||typeof t[o]!="object"&&typeof e[o]!="object")&&(t[o]=e[o])}),t)},rt=en,am="​",lm={curveBasis:Up,curveBasisClosed:jp,curveBasisOpen:Yp,curveBumpX:Wp,curveBumpY:Hp,curveBundle:Vp,curveCardinalClosed:Xp,curveCardinalOpen:Kp,curveCardinal:Gp,curveCatmullRomClosed:Jp,curveCatmullRomOpen:Qp,curveCatmullRom:Zp,curveLinear:zp,curveLinearClosed:tg,curveMonotoneX:eg,curveMonotoneY:ig,curveNatural:rg,curveStep:ng,curveStepAfter:sg,curveStepBefore:og},hm=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,cm=function(t,e){const i=La(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const s=i.map(a=>a.args);ji(s),r=rt(r,[...s])}else r=i.args;if(!r)return;let n=dr(t,e);const o="config";return r[o]!==void 0&&(n==="flowchart-v2"&&(n="flowchart"),r[n]=r[o],delete r[o]),r},La=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${hm.source})(?=[}][%]{2}).* `,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),L.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let r;const n=[];for(;(r=Qe.exec(t))!==null;)if(r.index===Qe.lastIndex&&Qe.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const o=r[1]?r[1]:r[2],s=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:o,args:s})}return n.length===0?{type:t,args:null}:n.length===1?n[0]:n}catch(i){return L.error(`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},um=function(t){return t.replace(Qe,"")},fm=function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1};function dm(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return lm[i]??e}function pm(t,e){const i=t.trim();if(i)return e.securityLevel!=="loose"?Fs.sanitizeUrl(i):i}const gm=(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let s=0;s{i+=Ea(n,e),e=n});const r=i/2;return Tn(t,r)}function _m(t){return t.length===1?t[0]:mm(t)}const ts=(t,e=2)=>{const i=Math.pow(10,e);return Math.round(t*i)/i},Tn=(t,e)=>{let i,r=e;for(const n of t){if(i){const o=Ea(n,i);if(o=1)return{x:n.x,y:n.y};if(s>0&&s<1)return{x:ts((1-s)*i.x+s*n.x,5),y:ts((1-s)*i.y+s*n.y,5)}}}i=n}throw new Error("Could not find a suitable point for the given distance")},ym=(t,e,i)=>{L.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());const n=Tn(e,25),o=t?10:5,s=Math.atan2(e[0].y-n.y,e[0].x-n.x),a={x:0,y:0};return a.x=Math.sin(s)*o+(e[0].x+n.x)/2,a.y=-Math.cos(s)*o+(e[0].y+n.y)/2,a};function Cm(t,e,i){const r=structuredClone(i);L.info("our points",r),e!=="start_left"&&e!=="start_right"&&r.reverse();const n=25+t,o=Tn(r,n),s=10+t*.5,a=Math.atan2(r[0].y-o.y,r[0].x-o.x),l={x:0,y:0};return e==="start_left"?(l.x=Math.sin(a+Math.PI)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a+Math.PI)*s+(r[0].y+o.y)/2):e==="end_right"?(l.x=Math.sin(a-Math.PI)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a-Math.PI)*s+(r[0].y+o.y)/2-5):e==="end_left"?(l.x=Math.sin(a)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2-5):(l.x=Math.sin(a)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2),l}function xm(t){let e="",i="";for(const r of t)r!==void 0&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let es=0;const bm=()=>(es++,"id-"+Math.random().toString(36).substr(2,12)+"-"+es);function Tm(t){let e="";const i="0123456789abcdef",r=i.length;for(let n=0;nTm(t.length),km=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},Sm=function(t,e){const i=e.text.replace(bn.lineBreakRegex," "),[,r]=kn(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",r),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),e.class!==void 0&&n.attr("class",e.class);const o=n.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(i),n},wm=ui((t,e,i)=>{if(!t||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),bn.lineBreakRegex.test(t)))return t;const r=t.split(" "),n=[];let o="";return r.forEach((s,a)=>{const l=Yi(`${s} `,i),h=Yi(o,i);if(l>e){const{hyphenatedStrings:c,remainingWord:p}=Bm(s,e,"-",i);n.push(o,...c),o=p}else h+l>=e?(n.push(o),o=s):o=[o,s].filter(Boolean).join(" ");a+1===r.length&&n.push(o)}),n.filter(s=>s!=="").join(i.joinWith)},(t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),Bm=ui((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let s="";return n.forEach((a,l)=>{const h=`${s}${a}`;if(Yi(h,r)>=e){const d=l+1,c=n.length===d,p=`${h}${i}`;o.push(c?h:p),s=""}else s=h}),{hyphenatedStrings:o,remainingWord:s}},(t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function Am(t,e){return vn(t,e).height}function Yi(t,e){return vn(t,e).width}const vn=ui((t,e)=>{const{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};const[,o]=kn(i),s=["sans-serif",r],a=t.split(bn.lineBreakRegex),l=[],h=xt("body");if(!h.remove)return{width:0,height:0,lineHeight:0};const u=h.append("svg");for(const c of s){let p=0;const C={width:0,height:0,lineHeight:0};for(const B of a){const A=km();A.text=B||am;const W=Sm(u,A).style("font-size",o).style("font-weight",n).style("font-family",c),M=(W._groups||W)[0][0].getBBox();if(M.width===0&&M.height===0)throw new Error("svg element not in render tree");C.width=Math.round(Math.max(C.width,M.width)),p=Math.round(M.height),C.height+=p,C.lineHeight=Math.round(Math.max(C.lineHeight,p))}l.push(C)}u.remove();const d=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[d]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`);class Fm{constructor(e=!1,i){this.count=0,this.count=i?i.length:0,this.next=e?()=>this.count++:()=>Date.now()}}let wi;const Lm=function(t){return wi=wi||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),wi.innerHTML=t,unescape(wi.textContent)};function Oa(t){return"str"in t}const Em=(t,e,i,r)=>{var n;if(!r)return;const o=(n=t.node())==null?void 0:n.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-i).attr("class",e)},kn=t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function Ma(t,e){return ku({},t,e)}const ti={assignWithDepth:rt,wrapLabel:wm,calculateTextHeight:Am,calculateTextWidth:Yi,calculateTextDimensions:vn,cleanAndMerge:Ma,detectInit:cm,detectDirective:La,isSubstringInArray:fm,interpolateToCurve:dm,calcLabelPosition:_m,calcCardinalityPosition:ym,calcTerminalLabelPosition:Cm,formatUrl:pm,getStylesFromArray:xm,generateId:bm,random:vm,runFunc:gm,entityDecode:Lm,insertTitle:Em,parseFontSize:kn,InitIDGenerator:Fm},Om=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/#\w+;/g,function(i){const r=i.substring(1,i.length-1);return/^\+?\d+$/.test(r)?"fl°°"+r+"¶ß":"fl°"+r+"¶ß"}),e},Mm=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},is="10.9.3",Oe=Object.freeze(rm);let ut=rt({},Oe),Ia,Me=[],ei=rt({},Oe);const pr=(t,e)=>{let i=rt({},t),r={};for(const n of e)Na(n),r=rt(r,n);if(i=rt(i,r),r.theme&&r.theme in Ht){const n=rt({},Ia),o=rt(n.themeVariables||{},r.themeVariables);i.theme&&i.theme in Ht&&(i.themeVariables=Ht[i.theme].getThemeVariables(o))}return ei=i,Ra(ei),ei},Im=t=>(ut=rt({},Oe),ut=rt(ut,t),t.theme&&Ht[t.theme]&&(ut.themeVariables=Ht[t.theme].getThemeVariables(t.themeVariables)),pr(ut,Me),ut),$m=t=>{Ia=rt({},t)},Dm=t=>(ut=rt(ut,t),pr(ut,Me),ut),$a=()=>rt({},ut),Da=t=>(Ra(t),rt(ei,t),$t()),$t=()=>rt({},ei),Na=t=>{t&&(["secure",...ut.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(L.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&Na(t[e])}))},Nm=t=>{ji(t),t.fontFamily&&(!t.themeVariables||!t.themeVariables.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),Me.push(t),pr(ut,Me)},Vi=(t=ut)=>{Me=[],pr(t,Me)},Rm={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},rs={},Pm=t=>{rs[t]||(L.warn(Rm[t]),rs[t]=!0)},Ra=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Pm("LAZY_LOAD_DEPRECATED")},Pa="c4",qm=t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),zm=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./c4Diagram-3d4e48cf-CbPIbUxN.js");return{diagram:e}},__vite__mapDeps([0,1,2,3]));return{id:Pa,diagram:t}},Wm={id:Pa,detector:qm,loader:zm},Hm=Wm,qa="flowchart",Um=(t,e)=>{var i,r;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},jm=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./flowDiagram-66a62f08-D6Hq0DSy.js");return{diagram:e}},__vite__mapDeps([4,5,6,2,3,7,8,9,10,11,12,13,14,15,16]));return{id:qa,diagram:t}},Ym={id:qa,detector:Um,loader:jm},Vm=Ym,za="flowchart-v2",Gm=(t,e)=>{var i,r,n;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-d3"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)},Xm=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./flowDiagram-v2-96b9c2cf-aYwqfSER.js");return{diagram:e}},__vite__mapDeps([17,5,8,6,2,3,9,7,10,11,12,13,14,15,16]));return{id:za,diagram:t}},Km={id:za,detector:Gm,loader:Xm},Zm=Km,Wa="er",Jm=t=>/^\s*erDiagram/.test(t),Qm=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./erDiagram-9861fffd-DRpNgz61.js");return{diagram:e}},__vite__mapDeps([18,6,2,3,7,13,14,15]));return{id:Wa,diagram:t}},t0={id:Wa,detector:Jm,loader:Qm},e0=t0,Ha="gitGraph",i0=t=>/^\s*gitGraph/.test(t),r0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./gitGraphDiagram-72cf32ee-ZAzcraOF.js");return{diagram:e}},__vite__mapDeps([19,2,3]));return{id:Ha,diagram:t}},n0={id:Ha,detector:i0,loader:r0},o0=n0,Ua="gantt",s0=t=>/^\s*gantt/.test(t),a0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./ganttDiagram-c361ad54-D6XeuQ4L.js");return{diagram:e}},__vite__mapDeps([20,2,3,21,22]));return{id:Ua,diagram:t}},l0={id:Ua,detector:s0,loader:a0},h0=l0,ja="info",c0=t=>/^\s*info/.test(t),u0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./infoDiagram-f8f76790-D1ZY5kp4.js");return{diagram:e}},__vite__mapDeps([23,2,3]));return{id:ja,diagram:t}},f0={id:ja,detector:c0,loader:u0},Ya="pie",d0=t=>/^\s*pie/.test(t),p0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./pieDiagram-8a3498a8-CGqV_td7.js");return{diagram:e}},__vite__mapDeps([24,25,15,26,22,14,2,3]));return{id:Ya,diagram:t}},g0={id:Ya,detector:d0,loader:p0},Va="quadrantChart",m0=t=>/^\s*quadrantChart/.test(t),_0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./quadrantDiagram-120e2f19-CVYp8byM.js");return{diagram:e}},__vite__mapDeps([27,21,22,2,3]));return{id:Va,diagram:t}},y0={id:Va,detector:m0,loader:_0},C0=y0,Ga="xychart",x0=t=>/^\s*xychart-beta/.test(t),b0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./xychartDiagram-e933f94c-DtoNl3bR.js");return{diagram:e}},__vite__mapDeps([28,12,2,3,22,26,21,13,14,15]));return{id:Ga,diagram:t}},T0={id:Ga,detector:x0,loader:b0},v0=T0,Xa="requirement",k0=t=>/^\s*requirement(Diagram)?/.test(t),S0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./requirementDiagram-deff3bca-DMPP-byA.js");return{diagram:e}},__vite__mapDeps([29,6,2,3,7,13,14,15]));return{id:Xa,diagram:t}},w0={id:Xa,detector:k0,loader:S0},B0=w0,Ka="sequence",A0=t=>/^\s*sequenceDiagram/.test(t),F0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./sequenceDiagram-704730f1-WCpNfRDZ.js");return{diagram:e}},__vite__mapDeps([30,1,2,3]));return{id:Ka,diagram:t}},L0={id:Ka,detector:A0,loader:F0},E0=L0,Za="class",O0=(t,e)=>{var i;return((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},M0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./classDiagram-70f12bd4-BrJ2B1e3.js");return{diagram:e}},__vite__mapDeps([31,32,6,2,3,7,13,14,15]));return{id:Za,diagram:t}},I0={id:Za,detector:O0,loader:M0},$0=I0,Ja="classDiagram",D0=(t,e)=>{var i;return/^\s*classDiagram/.test(t)&&((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},N0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./classDiagram-v2-f2320105-DD9tn6iK.js");return{diagram:e}},__vite__mapDeps([33,32,6,2,3,9,7,10,11,12,13,14,15]));return{id:Ja,diagram:t}},R0={id:Ja,detector:D0,loader:N0},P0=R0,Qa="state",q0=(t,e)=>{var i;return((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},z0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./stateDiagram-587899a1-D0-oa9kW.js");return{diagram:e}},__vite__mapDeps([34,35,6,2,3,7,13,14,15]));return{id:Qa,diagram:t}},W0={id:Qa,detector:q0,loader:z0},H0=W0,tl="stateDiagram",U0=(t,e)=>{var i;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper")},j0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./stateDiagram-v2-d93cdb3a-CjNgjnK0.js");return{diagram:e}},__vite__mapDeps([36,35,6,2,3,9,7,10,11,12,13,14,15]));return{id:tl,diagram:t}},Y0={id:tl,detector:U0,loader:j0},V0=Y0,el="journey",G0=t=>/^\s*journey/.test(t),X0=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./journeyDiagram-49397b02-Di3aXMOJ.js");return{diagram:e}},__vite__mapDeps([37,1,25,15,2,3]));return{id:el,diagram:t}},K0={id:el,detector:G0,loader:X0},Z0=K0,J0=function(t,e){for(let i of e)t.attr(i[0],i[1])},Q0=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r},il=function(t,e,i,r){const n=Q0(e,i,r);J0(t,n)},t_=function(t,e,i,r){const n=e.node().getBBox(),o=n.width,s=n.height;L.info(`SVG bounds: ${o}x${s}`,n);let a=0,l=0;L.info(`Graph bounds: ${a}x${l}`,t),a=o+i*2,l=s+i*2,L.info(`Calculated bounds: ${a}x${l}`),il(e,l,a,r);const h=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",h)},Oi={},e_=(t,e,i)=>{let r="";return t in Oi&&Oi[t]?r=Oi[t](i):L.warn(`No theme found for ${t}`),` & { font-family: ${i.fontFamily}; font-size: ${i.fontSize}; fill: ${i.textColor} } /* Classes common for multiple diagrams */ & .error-icon { fill: ${i.errorBkgColor}; } & .error-text { fill: ${i.errorTextColor}; stroke: ${i.errorTextColor}; } & .edge-thickness-normal { stroke-width: 2px; } & .edge-thickness-thick { stroke-width: 3.5px } & .edge-pattern-solid { stroke-dasharray: 0; } & .edge-pattern-dashed{ stroke-dasharray: 3; } .edge-pattern-dotted { stroke-dasharray: 2; } & .marker { fill: ${i.lineColor}; stroke: ${i.lineColor}; } & .marker.cross { stroke: ${i.lineColor}; } & svg { font-family: ${i.fontFamily}; font-size: ${i.fontSize}; } ${r} ${e} `},i_=(t,e)=>{e!==void 0&&(Oi[t]=e)},r_=e_;let Sn="",wn="",Bn="";const An=t=>li(t,$t()),n_=()=>{Sn="",Bn="",wn=""},o_=t=>{Sn=An(t).replace(/^\s+/g,"")},s_=()=>Sn,a_=t=>{Bn=An(t).replace(/\n\s+/g,` `)},l_=()=>Bn,h_=t=>{wn=An(t)},c_=()=>wn,u_=Object.freeze(Object.defineProperty({__proto__:null,clear:n_,getAccDescription:l_,getAccTitle:s_,getDiagramTitle:c_,setAccDescription:a_,setAccTitle:o_,setDiagramTitle:h_},Symbol.toStringTag,{value:"Module"})),f_=L,d_=xn,Fn=$t,Nx=Da,Rx=Oe,p_=t=>li(t,Fn()),g_=t_,m_=()=>u_,Gi={},Xi=(t,e,i)=>{var r;if(Gi[t])throw new Error(`Diagram ${t} already registered.`);Gi[t]=e,i&&Fa(t,i),i_(t,e.styles),(r=e.injectUtils)==null||r.call(e,f_,d_,Fn,p_,g_,m_(),()=>{})},Ln=t=>{if(t in Gi)return Gi[t];throw new __(t)};class __ extends Error{constructor(e){super(`Diagram ${e} not found.`)}}const y_=t=>{var e;const{securityLevel:i}=Fn();let r=xt("body");if(i==="sandbox"){const s=((e=xt(`#i${t}`).node())==null?void 0:e.contentDocument)??document;r=xt(s.body)}return r.select(`#${t}`)},C_=(t,e,i)=>{L.debug(`rendering svg for syntax error `);const r=y_(e),n=r.append("g");r.attr("viewBox","0 0 2412 512"),il(r,100,512,!0),n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${i}`)},rl={draw:C_},x_=rl,b_={db:{},renderer:rl,parser:{parser:{yy:{}},parse:()=>{}}},T_=b_,nl="flowchart-elk",v_=(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk")},k_=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./flowchart-elk-definition-4a651766-CkU43Lb7.js");return{diagram:e}},__vite__mapDeps([38,5,11,12,2,3,13,14,15]));return{id:nl,diagram:t}},S_={id:nl,detector:v_,loader:k_},w_=S_,ol="timeline",B_=t=>/^\s*timeline/.test(t),A_=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./timeline-definition-85554ec2-B2Ep2xq2.js");return{diagram:e}},__vite__mapDeps([39,25,15,2,3]));return{id:ol,diagram:t}},F_={id:ol,detector:B_,loader:A_},L_=F_,sl="mindmap",E_=t=>/^\s*mindmap/.test(t),O_=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./mindmap-definition-fc14e90a-CD6Qt1iB.js");return{diagram:e}},__vite__mapDeps([40,2,3,12]));return{id:sl,diagram:t}},M_={id:sl,detector:E_,loader:O_},I_=M_,al="sankey",$_=t=>/^\s*sankey-beta/.test(t),D_=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./sankeyDiagram-04a897e0-CXq2H1dv.js");return{diagram:e}},__vite__mapDeps([41,26,22,42,2,3]));return{id:al,diagram:t}},N_={id:al,detector:$_,loader:D_},R_=N_,ll="block",P_=t=>/^\s*block-beta/.test(t),q_=async()=>{const{diagram:t}=await Y(async()=>{const{diagram:e}=await import("./blockDiagram-38ab4fdb-041cKp8J.js");return{diagram:e}},__vite__mapDeps([43,10,6,2,3,11,12,13,14,15,26,22,16,42]));return{id:ll,diagram:t}},z_={id:ll,detector:P_,loader:q_},W_=z_;let ns=!1;const En=()=>{ns||(ns=!0,Xi("error",T_,t=>t.toLowerCase().trim()==="error"),Xi("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),Aa(Hm,P0,$0,e0,h0,f0,g0,B0,E0,w_,Zm,Vm,I_,L_,o0,V0,H0,Z0,C0,R_,v0,W_))};class hl{constructor(e,i={}){this.text=e,this.metadata=i,this.type="graph",this.text=Om(e),this.text+=` `;const r=$t();try{this.type=dr(e,r)}catch(o){this.type="error",this.detectError=o}const n=Ln(this.type);L.debug("Type "+this.type),this.db=n.db,this.renderer=n.renderer,this.parser=n.parser,this.parser.parser.yy=this.db,this.init=n.init,this.parse()}parse(){var e,i,r,n,o;if(this.detectError)throw this.detectError;(i=(e=this.db).clear)==null||i.call(e);const s=$t();(r=this.init)==null||r.call(this,s),this.metadata.title&&((o=(n=this.db).setDiagramTitle)==null||o.call(n,this.metadata.title)),this.parser.parse(this.text)}async render(e,i){await this.renderer.draw(this.text,e,i,this)}getParser(){return this.parser}getType(){return this.type}}const H_=async(t,e={})=>{const i=dr(t,$t());try{Ln(i)}catch{const n=sm(i);if(!n)throw new Ba(`Diagram ${i} not found.`);const{id:o,diagram:s}=await n();Xi(o,s)}return new hl(t,e)};let os=[];const U_=()=>{os.forEach(t=>{t()}),os=[]},j_="graphics-document document";function Y_(t,e){t.attr("role",j_),e!==""&&t.attr("aria-roledescription",e)}function V_(t,e,i,r){if(t.insert!==void 0){if(i){const n=`chart-desc-${r}`;t.attr("aria-describedby",n),t.insert("desc",":first-child").attr("id",n).text(i)}if(e){const n=`chart-title-${r}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}const G_=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function cl(t){return typeof t>"u"||t===null}function X_(t){return typeof t=="object"&&t!==null}function K_(t){return Array.isArray(t)?t:cl(t)?[]:[t]}function Z_(t,e){var i,r,n,o;if(e)for(o=Object.keys(e),i=0,r=o.length;ia&&(o=" ... ",e=r-a+o.length),i-r>a&&(s=" ...",i=r+a-s.length),{str:o+t.slice(e,i).replace(/\t/g,"→")+s,pos:r-e+o.length}}function $r(t,e){return at.repeat(" ",e-t.length)+t}function sy(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var i=/\r?\n|\r|\0/g,r=[0],n=[],o,s=-1;o=i.exec(t.buffer);)n.push(o.index),r.push(o.index+o[0].length),t.position<=o.index&&s<0&&(s=r.length-2);s<0&&(s=r.length-1);var a="",l,h,u=Math.min(t.line+e.linesAfter,n.length).toString().length,d=e.maxLength-(e.indent+u+3);for(l=1;l<=e.linesBefore&&!(s-l<0);l++)h=Ir(t.buffer,r[s-l],n[s-l],t.position-(r[s]-r[s-l]),d),a=at.repeat(" ",e.indent)+$r((t.line-l+1).toString(),u)+" | "+h.str+` `+a;for(h=Ir(t.buffer,r[s],n[s],t.position,d),a+=at.repeat(" ",e.indent)+$r((t.line+1).toString(),u)+" | "+h.str+` `,a+=at.repeat("-",e.indent+u+3+h.pos)+`^ `,l=1;l<=e.linesAfter&&!(s+l>=n.length);l++)h=Ir(t.buffer,r[s+l],n[s+l],t.position-(r[s]-r[s+l]),d),a+=at.repeat(" ",e.indent)+$r((t.line+l+1).toString(),u)+" | "+h.str+` `;return a.replace(/\n$/,"")}var ay=sy,ly=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],hy=["scalar","sequence","mapping"];function cy(t){var e={};return t!==null&&Object.keys(t).forEach(function(i){t[i].forEach(function(r){e[String(r)]=i})}),e}function uy(t,e){if(e=e||{},Object.keys(e).forEach(function(i){if(ly.indexOf(i)===-1)throw new Wt('Unknown option "'+i+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(i){return i},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=cy(e.styleAliases||null),hy.indexOf(this.kind)===-1)throw new Wt('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var nt=uy;function ss(t,e){var i=[];return t[e].forEach(function(r){var n=i.length;i.forEach(function(o,s){o.tag===r.tag&&o.kind===r.kind&&o.multi===r.multi&&(n=s)}),i[n]=r}),i}function fy(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,i;function r(n){n.multi?(t.multi[n.kind].push(n),t.multi.fallback.push(n)):t[n.kind][n.tag]=t.fallback[n.tag]=n}for(e=0,i=arguments.length;e=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),My=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Iy(t){return!(t===null||!My.test(t)||t[t.length-1]==="_")}function $y(t){var e,i;return e=t.replace(/_/g,"").toLowerCase(),i=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:i*parseFloat(e,10)}var Dy=/^[-+]?[0-9]+e/;function Ny(t,e){var i;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(at.isNegativeZero(t))return"-0.0";return i=t.toString(10),Dy.test(i)?i.replace("e",".e"):i}function Ry(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||at.isNegativeZero(t))}var Py=new nt("tag:yaml.org,2002:float",{kind:"scalar",resolve:Iy,construct:$y,predicate:Ry,represent:Ny,defaultStyle:"lowercase"}),fl=_y.extend({implicit:[by,Sy,Oy,Py]}),qy=fl,dl=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),pl=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function zy(t){return t===null?!1:dl.exec(t)!==null||pl.exec(t)!==null}function Wy(t){var e,i,r,n,o,s,a,l=0,h=null,u,d,c;if(e=dl.exec(t),e===null&&(e=pl.exec(t)),e===null)throw new Error("Date resolve error");if(i=+e[1],r=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(i,r,n));if(o=+e[4],s=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],d=+(e[11]||0),h=(u*60+d)*6e4,e[9]==="-"&&(h=-h)),c=new Date(Date.UTC(i,r,n,o,s,a,l)),h&&c.setTime(c.getTime()-h),c}function Hy(t){return t.toISOString()}var Uy=new nt("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:zy,construct:Wy,instanceOf:Date,represent:Hy});function jy(t){return t==="<<"||t===null}var Yy=new nt("tag:yaml.org,2002:merge",{kind:"scalar",resolve:jy}),On=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= \r`;function Vy(t){if(t===null)return!1;var e,i,r=0,n=t.length,o=On;for(i=0;i64)){if(e<0)return!1;r+=6}return r%8===0}function Gy(t){var e,i,r=t.replace(/[\r\n=]/g,""),n=r.length,o=On,s=0,a=[];for(e=0;e>16&255),a.push(s>>8&255),a.push(s&255)),s=s<<6|o.indexOf(r.charAt(e));return i=n%4*6,i===0?(a.push(s>>16&255),a.push(s>>8&255),a.push(s&255)):i===18?(a.push(s>>10&255),a.push(s>>2&255)):i===12&&a.push(s>>4&255),new Uint8Array(a)}function Xy(t){var e="",i=0,r,n,o=t.length,s=On;for(r=0;r>18&63],e+=s[i>>12&63],e+=s[i>>6&63],e+=s[i&63]),i=(i<<8)+t[r];return n=o%3,n===0?(e+=s[i>>18&63],e+=s[i>>12&63],e+=s[i>>6&63],e+=s[i&63]):n===2?(e+=s[i>>10&63],e+=s[i>>4&63],e+=s[i<<2&63],e+=s[64]):n===1&&(e+=s[i>>2&63],e+=s[i<<4&63],e+=s[64],e+=s[64]),e}function Ky(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var Zy=new nt("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Vy,construct:Gy,predicate:Ky,represent:Xy}),Jy=Object.prototype.hasOwnProperty,Qy=Object.prototype.toString;function tC(t){if(t===null)return!0;var e=[],i,r,n,o,s,a=t;for(i=0,r=a.length;i>10)+55296,(t-65536&1023)+56320)}var Cl=new Array(256),xl=new Array(256);for(var ve=0;ve<256;ve++)Cl[ve]=hs(ve)?1:0,xl[ve]=hs(ve);function xC(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||uC,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function bl(t,e){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return i.snippet=ay(i),new Wt(e,i)}function w(t,e){throw bl(t,e)}function Ji(t,e){t.onWarning&&t.onWarning.call(null,bl(t,e))}var cs={YAML:function(e,i,r){var n,o,s;e.version!==null&&w(e,"duplication of %YAML directive"),r.length!==1&&w(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),n===null&&w(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),s=parseInt(n[2],10),o!==1&&w(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&Ji(e,"unsupported YAML version of the document")},TAG:function(e,i,r){var n,o;r.length!==2&&w(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],_l.test(n)||w(e,"ill-formed tag handle (first argument) of the TAG directive"),ie.call(e.tagMap,n)&&w(e,'there is a previously declared suffix for "'+n+'" tag handle'),yl.test(o)||w(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{w(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function te(t,e,i,r){var n,o,s,a;if(e1&&(t.result+=at.repeat(` `,e-1))}function bC(t,e,i){var r,n,o,s,a,l,h,u,d=t.kind,c=t.result,p;if(p=t.input.charCodeAt(t.position),dt(p)||ke(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(n=t.input.charCodeAt(t.position+1),dt(n)||i&&ke(n)))return!1;for(t.kind="scalar",t.result="",o=s=t.position,a=!1;p!==0;){if(p===58){if(n=t.input.charCodeAt(t.position+1),dt(n)||i&&ke(n))break}else if(p===35){if(r=t.input.charCodeAt(t.position-1),dt(r))break}else{if(t.position===t.lineStart&&gr(t)||i&&ke(p))break;if(Mt(p))if(l=t.line,h=t.lineStart,u=t.lineIndent,G(t,!1,-1),t.lineIndent>=e){a=!0,p=t.input.charCodeAt(t.position);continue}else{t.position=s,t.line=l,t.lineStart=h,t.lineIndent=u;break}}a&&(te(t,o,s,!1),In(t,t.line-l),o=s=t.position,a=!1),ue(p)||(s=t.position+1),p=t.input.charCodeAt(++t.position)}return te(t,o,s,!1),t.result?!0:(t.kind=d,t.result=c,!1)}function TC(t,e){var i,r,n;if(i=t.input.charCodeAt(t.position),i!==39)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;(i=t.input.charCodeAt(t.position))!==0;)if(i===39)if(te(t,r,t.position,!0),i=t.input.charCodeAt(++t.position),i===39)r=t.position,t.position++,n=t.position;else return!0;else Mt(i)?(te(t,r,n,!0),In(t,G(t,!1,e)),r=n=t.position):t.position===t.lineStart&&gr(t)?w(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);w(t,"unexpected end of the stream within a single quoted scalar")}function vC(t,e){var i,r,n,o,s,a;if(a=t.input.charCodeAt(t.position),a!==34)return!1;for(t.kind="scalar",t.result="",t.position++,i=r=t.position;(a=t.input.charCodeAt(t.position))!==0;){if(a===34)return te(t,i,t.position,!0),t.position++,!0;if(a===92){if(te(t,i,t.position,!0),a=t.input.charCodeAt(++t.position),Mt(a))G(t,!1,e);else if(a<256&&Cl[a])t.result+=xl[a],t.position++;else if((s=_C(a))>0){for(n=s,o=0;n>0;n--)a=t.input.charCodeAt(++t.position),(s=mC(a))>=0?o=(o<<4)+s:w(t,"expected hexadecimal character");t.result+=CC(o),t.position++}else w(t,"unknown escape sequence");i=r=t.position}else Mt(a)?(te(t,i,r,!0),In(t,G(t,!1,e)),i=r=t.position):t.position===t.lineStart&&gr(t)?w(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}w(t,"unexpected end of the stream within a double quoted scalar")}function kC(t,e){var i=!0,r,n,o,s=t.tag,a,l=t.anchor,h,u,d,c,p,C=Object.create(null),B,A,W,M;if(M=t.input.charCodeAt(t.position),M===91)u=93,p=!1,a=[];else if(M===123)u=125,p=!0,a={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=a),M=t.input.charCodeAt(++t.position);M!==0;){if(G(t,!0,e),M=t.input.charCodeAt(t.position),M===u)return t.position++,t.tag=s,t.anchor=l,t.kind=p?"mapping":"sequence",t.result=a,!0;i?M===44&&w(t,"expected the node content, but found ','"):w(t,"missed comma between flow collection entries"),A=B=W=null,d=c=!1,M===63&&(h=t.input.charCodeAt(t.position+1),dt(h)&&(d=c=!0,t.position++,G(t,!0,e))),r=t.line,n=t.lineStart,o=t.position,Ie(t,e,Ki,!1,!0),A=t.tag,B=t.result,G(t,!0,e),M=t.input.charCodeAt(t.position),(c||t.line===r)&&M===58&&(d=!0,M=t.input.charCodeAt(++t.position),G(t,!0,e),Ie(t,e,Ki,!1,!0),W=t.result),p?Se(t,a,C,A,B,W,r,n,o):d?a.push(Se(t,null,C,A,B,W,r,n,o)):a.push(B),G(t,!0,e),M=t.input.charCodeAt(t.position),M===44?(i=!0,M=t.input.charCodeAt(++t.position)):i=!1}w(t,"unexpected end of the stream within a flow collection")}function SC(t,e){var i,r,n=Dr,o=!1,s=!1,a=e,l=0,h=!1,u,d;if(d=t.input.charCodeAt(t.position),d===124)r=!1;else if(d===62)r=!0;else return!1;for(t.kind="scalar",t.result="";d!==0;)if(d=t.input.charCodeAt(++t.position),d===43||d===45)Dr===n?n=d===43?as:fC:w(t,"repeat of a chomping mode identifier");else if((u=yC(d))>=0)u===0?w(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?w(t,"repeat of an indentation width identifier"):(a=e+u-1,s=!0);else break;if(ue(d)){do d=t.input.charCodeAt(++t.position);while(ue(d));if(d===35)do d=t.input.charCodeAt(++t.position);while(!Mt(d)&&d!==0)}for(;d!==0;){for(Mn(t),t.lineIndent=0,d=t.input.charCodeAt(t.position);(!s||t.lineIndenta&&(a=t.lineIndent),Mt(d)){l++;continue}if(t.lineIndente)&&l!==0)w(t,"bad indentation of a sequence entry");else if(t.lineIndente)&&(A&&(s=t.line,a=t.lineStart,l=t.position),Ie(t,e,Zi,!0,n)&&(A?C=t.result:B=t.result),A||(Se(t,d,c,p,C,B,s,a,l),p=C=B=null),G(t,!0,-1),M=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&M!==0)w(t,"bad indentation of a mapping entry");else if(t.lineIndente?l=1:t.lineIndent===e?l=0:t.lineIndente?l=1:t.lineIndent===e?l=0:t.lineIndent tag; it should be "scalar", not "'+t.kind+'"'),d=0,c=t.implicitTypes.length;d"),t.result!==null&&C.kind!==t.kind&&w(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+C.kind+'", not "'+t.kind+'"'),C.resolve(t.result,t.tag)?(t.result=C.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):w(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||u}function LC(t){var e=t.position,i,r,n,o=!1,s;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(s=t.input.charCodeAt(t.position))!==0&&(G(t,!0,-1),s=t.input.charCodeAt(t.position),!(t.lineIndent>0||s!==37));){for(o=!0,s=t.input.charCodeAt(++t.position),i=t.position;s!==0&&!dt(s);)s=t.input.charCodeAt(++t.position);for(r=t.input.slice(i,t.position),n=[],r.length<1&&w(t,"directive name must not be less than one character in length");s!==0;){for(;ue(s);)s=t.input.charCodeAt(++t.position);if(s===35){do s=t.input.charCodeAt(++t.position);while(s!==0&&!Mt(s));break}if(Mt(s))break;for(i=t.position;s!==0&&!dt(s);)s=t.input.charCodeAt(++t.position);n.push(t.input.slice(i,t.position))}s!==0&&Mn(t),ie.call(cs,r)?cs[r](t,r,n):Ji(t,'unknown document directive "'+r+'"')}if(G(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,G(t,!0,-1)):o&&w(t,"directives end mark is expected"),Ie(t,t.lineIndent-1,Zi,!1,!0),G(t,!0,-1),t.checkLineBreaks&&pC.test(t.input.slice(e,t.position))&&Ji(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&gr(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,G(t,!0,-1));return}if(t.position"u"&&(i=e,e=null);var r=Tl(t,i);if(typeof e!="function")return r;for(var n=0,o=r.length;nt.replace(/\r\n?/g,` `).replace(/<(\w+)([^>]*)>/g,(e,i,r)=>"<"+i+r.replace(/="([^"]*)"/g,"='$1'")+">"),qC=t=>{const{text:e,metadata:i}=RC(t),{displayMode:r,title:n,config:o={}}=i;return r&&(o.gantt||(o.gantt={}),o.gantt.displayMode=r),{title:n,config:o,text:e}},zC=t=>{const e=ti.detectInit(t)??{},i=ti.detectDirective(t,"wrap");return Array.isArray(i)?e.wrap=i.some(({type:r})=>{}):(i==null?void 0:i.type)==="wrap"&&(e.wrap=!0),{text:um(t),directive:e}};function vl(t){const e=PC(t),i=qC(e),r=zC(i.text),n=Ma(i.config,r.directive);return t=G_(r.text),{code:t,title:i.title,config:n}}const WC=5e4,HC="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",UC="sandbox",jC="loose",YC="http://www.w3.org/2000/svg",VC="http://www.w3.org/1999/xlink",GC="http://www.w3.org/1999/xhtml",XC="100%",KC="100%",ZC="border:0;margin:0;",JC="margin:0",QC="allow-top-navigation-by-user-activation allow-popups",tx='The "iframe" tag is not supported by your browser.',ex=["foreignobject"],ix=["dominant-baseline"];function kl(t){const e=vl(t);return Vi(),Nm(e.config??{}),e}async function rx(t,e){En(),t=kl(t).code;try{await $n(t)}catch(i){if(e!=null&&e.suppressErrors)return!1;throw i}return!0}const ds=(t,e,i=[])=>` .${t} ${e} { ${i.join(" !important; ")} !important; }`,nx=(t,e={})=>{var i;let r="";if(t.themeCSS!==void 0&&(r+=` ${t.themeCSS}`),t.fontFamily!==void 0&&(r+=` :root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(r+=` :root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!Sr(e)){const a=t.htmlLabels||((i=t.flowchart)==null?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const l in e){const h=e[l];Sr(h.styles)||a.forEach(u=>{r+=ds(h.id,u,h.styles)}),Sr(h.textStyles)||(r+=ds(h.id,"tspan",h.textStyles))}}return r},ox=(t,e,i,r)=>{const n=nx(t,i),o=r_(e,n,t.themeVariables);return zl(Wl(`${r}{${o}}`),Hl)},sx=(t="",e,i)=>{let r=t;return!i&&!e&&(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=Mm(r),r=r.replace(/
/g,"
"),r},ax=(t="",e)=>{var i,r;const n=(r=(i=e==null?void 0:e.viewBox)==null?void 0:i.baseVal)!=null&&r.height?e.viewBox.baseVal.height+"px":KC,o=btoa(''+t+"");return``},ps=(t,e,i,r,n)=>{const o=t.append("div");o.attr("id",i),r&&o.attr("style",r);const s=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns",YC);return n&&s.attr("xmlns:xlink",n),s.append("g"),t};function gs(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const lx=(t,e,i,r)=>{var n,o,s;(n=t.getElementById(e))==null||n.remove(),(o=t.getElementById(i))==null||o.remove(),(s=t.getElementById(r))==null||s.remove()},hx=async function(t,e,i){var r,n,o,s,a,l;En();const h=kl(e);e=h.code;const u=$t();L.debug(u),e.length>((u==null?void 0:u.maxTextSize)??WC)&&(e=HC);const d="#"+t,c="i"+t,p="#"+c,C="d"+t,B="#"+C;let A=xt("body");const W=u.securityLevel===UC,M=u.securityLevel===jC,J=u.fontFamily;if(i!==void 0){if(i&&(i.innerHTML=""),W){const F=gs(xt(i),c);A=xt(F.nodes()[0].contentDocument.body),A.node().style.margin=0}else A=xt(i);ps(A,t,C,`font-family: ${J}`,VC)}else{if(lx(document,t,C,c),W){const F=gs(xt("body"),c);A=xt(F.nodes()[0].contentDocument.body),A.node().style.margin=0}else A=xt("body");ps(A,t,C)}let z,K;try{z=await $n(e,{title:h.title})}catch(F){z=new hl("error"),K=F}const pt=A.select(B).node(),ne=z.type,Vt=pt.firstChild,Gt=Vt.firstChild,V=(n=(r=z.renderer).getClasses)==null?void 0:n.call(r,e,z),N=ox(u,ne,V,d),Tt=document.createElement("style");Tt.innerHTML=N,Vt.insertBefore(Tt,Gt);try{await z.renderer.draw(e,t,is,z)}catch(F){throw x_.draw(e,t,is),F}const Xt=A.select(`${B} svg`),O=(s=(o=z.db).getAccTitle)==null?void 0:s.call(o),b=(l=(a=z.db).getAccDescription)==null?void 0:l.call(a);ux(ne,Xt,O,b),A.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",GC);let _=A.select(B).node().innerHTML;if(L.debug("config.arrowMarkerAbsolute",u.arrowMarkerAbsolute),_=sx(_,W,va(u.arrowMarkerAbsolute)),W){const F=A.select(B+" svg").node();_=ax(_,F)}else M||(_=Le.sanitize(_,{ADD_TAGS:ex,ADD_ATTR:ix}));if(U_(),K)throw K;const x=xt(W?p:B).node();return x&&"remove"in x&&x.remove(),{svg:_,bindFunctions:z.db.bindFunctions}};function cx(t={}){var e;t!=null&&t.fontFamily&&!((e=t.themeVariables)!=null&&e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),$m(t),t!=null&&t.theme&&t.theme in Ht?t.themeVariables=Ht[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Ht.default.getThemeVariables(t.themeVariables));const i=typeof t=="object"?Im(t):$a();xn(i.logLevel),En()}const $n=(t,e={})=>{const{code:i}=vl(t);return H_(i,e)};function ux(t,e,i,r){Y_(e,t),V_(e,i,r,e.attr("id"))}const pe=Object.freeze({render:hx,parse:rx,getDiagramFromText:$n,initialize:cx,getConfig:$t,setConfig:Da,getSiteConfig:$a,updateSiteConfig:Dm,reset:()=>{Vi()},globalReset:()=>{Vi(Oe)},defaultConfig:Oe});xn($t().logLevel);Vi($t());const fx=async()=>{L.debug("Loading registered diagrams");const e=(await Promise.allSettled(Object.entries(Ee).map(async([i,{detector:r,loader:n}])=>{if(n)try{Ln(i)}catch{try{const{diagram:s,id:a}=await n();Xi(a,s,r)}catch(s){throw L.error(`Failed to load external diagram with key ${i}. Removing from detectors.`),delete Ee[i],s}}}))).filter(i=>i.status==="rejected");if(e.length>0){L.error(`Failed to load ${e.length} external diagrams`);for(const i of e)L.error(i);throw new Error(`Failed to load ${e.length} external diagrams`)}},dx=(t,e,i)=>{L.warn(t),Oa(t)?(i&&i(t.str,t.hash),e.push({...t,message:t.str,error:t})):(i&&i(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},Sl=async function(t={querySelector:".mermaid"}){try{await px(t)}catch(e){if(Oa(e)&&L.error(e.str),At.parseError&&At.parseError(e),!t.suppressErrors)throw L.error("Use the suppressErrors option to suppress these errors"),e}},px=async function({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const r=pe.getConfig();L.debug(`${t?"":"No "}Callback function found`);let n;if(i)n=i;else if(e)n=document.querySelectorAll(e);else throw new Error("Nodes and querySelector are both undefined");L.debug(`Found ${n.length} diagrams`),(r==null?void 0:r.startOnLoad)!==void 0&&(L.debug("Start On Load: "+(r==null?void 0:r.startOnLoad)),pe.updateSiteConfig({startOnLoad:r==null?void 0:r.startOnLoad}));const o=new ti.InitIDGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const a=[];for(const l of Array.from(n)){L.info("Rendering diagram: "+l.id);/*! Check if previously processed */if(l.getAttribute("data-processed"))continue;l.setAttribute("data-processed","true");const h=`mermaid-${o.next()}`;s=l.innerHTML,s=Su(ti.entityDecode(s)).trim().replace(//gi,"
");const u=ti.detectInit(s);u&&L.debug("Detected early reinit: ",u);try{const{svg:d,bindFunctions:c}=await Fl(h,s,l);l.innerHTML=d,t&&await t(h),c&&c(l)}catch(d){dx(d,a,At.parseError)}}if(a.length>0)throw a[0]},wl=function(t){pe.initialize(t)},gx=async function(t,e,i){L.warn("mermaid.init is deprecated. Please use run instead."),t&&wl(t);const r={postRenderCallback:i,querySelector:".mermaid"};typeof e=="string"?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await Sl(r)},mx=async(t,{lazyLoad:e=!0}={})=>{Aa(...t),e===!1&&await fx()},Bl=function(){if(At.startOnLoad){const{startOnLoad:t}=pe.getConfig();t&&At.run().catch(e=>L.error("Mermaid failed to initialize",e))}};if(typeof document<"u"){/*! * Wait for document loaded before starting the execution */window.addEventListener("load",Bl,!1)}const _x=function(t){At.parseError=t},Qi=[];let Nr=!1;const Al=async()=>{if(!Nr){for(Nr=!0;Qi.length>0;){const t=Qi.shift();if(t)try{await t()}catch(e){L.error("Error executing queue",e)}}Nr=!1}},yx=async(t,e)=>new Promise((i,r)=>{const n=()=>new Promise((o,s)=>{pe.parse(t,e).then(a=>{o(a),i(a)},a=>{var l;L.error("Error parsing",a),(l=At.parseError)==null||l.call(At,a),s(a),r(a)})});Qi.push(n),Al().catch(r)}),Fl=(t,e,i)=>new Promise((r,n)=>{const o=()=>new Promise((s,a)=>{pe.render(t,e,i).then(l=>{s(l),r(l)},l=>{var h;L.error("Error parsing",l),(h=At.parseError)==null||h.call(At,l),a(l),n(l)})});Qi.push(o),Al().catch(n)}),At={startOnLoad:!0,mermaidAPI:pe,parse:yx,render:Fl,init:gx,run:Sl,registerExternalDiagrams:mx,initialize:wl,parseError:void 0,contentLoaded:Bl,setParseErrorHandler:_x,detectType:dr},Px=Object.freeze(Object.defineProperty({__proto__:null,default:At},Symbol.toStringTag,{value:"Module"}));export{si as $,ti as A,Je as B,h_ as C,c_ as D,n_ as E,Up as F,Ex as G,g_ as H,vm as I,cn as J,Hs as K,di as L,_d as M,Ys as N,xx as O,jl as P,y_ as Q,ft as R,gt as S,Ax as T,rm as U,Ma as V,kn as W,Zg as X,$t as Y,un as Z,Qt as _,l_ as a,Sr as a$,Eo as a0,kd as a1,Qo as a2,Ox as a3,am as a4,bm as a5,_h as a6,kh as a7,Sh as a8,Bh as a9,Tx as aA,Lx as aB,Fx as aC,kx as aD,I as aE,It as aF,fc as aG,mc as aH,ui as aI,$i as aJ,vh as aK,Ss as aL,fu as aM,du as aN,se as aO,ho as aP,ch as aQ,sn as aR,ou as aS,pu as aT,De as aU,re as aV,xo as aW,an as aX,Cs as aY,zr as aZ,_u as a_,ks as aa,tr as ab,er as ac,Mi as ad,mu as ae,on as af,_s as ag,ys as ah,Th as ai,lc as aj,gh as ak,ku as al,gi as am,Rx as an,u_ as ao,pi as ap,S as aq,E as ar,gn as as,vx as at,wx as au,Ro as av,No as aw,Bx as ax,Sx as ay,bx as az,a_ as b,Mm as b0,Su as b1,Px as b2,Fn as c,li as d,rt as e,Yi as f,s_ as g,xt as h,il as i,bn as j,Am as k,L as l,Fs as m,zp as n,xm as o,va as p,dm as q,jg as r,o_ as s,t_ as t,Nx as u,Ws as v,wm as w,Mu as x,Zc as y,nn as z};