mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-06 04:54:29 +08:00
Update assets
This commit is contained in:
parent
f3da231ac5
commit
cc7bce5445
175 changed files with 10650 additions and 0 deletions
BIN
static/assets/KaTeX_AMS-Regular-CYEKBG2K.woff
Normal file
BIN
static/assets/KaTeX_AMS-Regular-CYEKBG2K.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_AMS-Regular-JKX5W2C4.ttf
Normal file
BIN
static/assets/KaTeX_AMS-Regular-JKX5W2C4.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_AMS-Regular-U6PRYMIZ.woff2
Normal file
BIN
static/assets/KaTeX_AMS-Regular-U6PRYMIZ.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2
Normal file
BIN
static/assets/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff
Normal file
BIN
static/assets/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf
Normal file
BIN
static/assets/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Caligraphic-Regular-3LKEU76G.woff
Normal file
BIN
static/assets/KaTeX_Caligraphic-Regular-3LKEU76G.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf
Normal file
BIN
static/assets/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2
Normal file
BIN
static/assets/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2
Normal file
BIN
static/assets/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Fraktur-Bold-T4SWXBMT.woff
Normal file
BIN
static/assets/KaTeX_Fraktur-Bold-T4SWXBMT.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Fraktur-Bold-WGHVTYOR.ttf
Normal file
BIN
static/assets/KaTeX_Fraktur-Bold-WGHVTYOR.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2
Normal file
BIN
static/assets/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Fraktur-Regular-5U4OPH2X.ttf
Normal file
BIN
static/assets/KaTeX_Fraktur-Regular-5U4OPH2X.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Fraktur-Regular-PQMHCIK6.woff
Normal file
BIN
static/assets/KaTeX_Fraktur-Regular-PQMHCIK6.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Bold-2GA4IZIN.woff
Normal file
BIN
static/assets/KaTeX_Main-Bold-2GA4IZIN.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Bold-W5FBVCZM.ttf
Normal file
BIN
static/assets/KaTeX_Main-Bold-W5FBVCZM.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Bold-YP5VVQRP.woff2
Normal file
BIN
static/assets/KaTeX_Main-Bold-YP5VVQRP.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-BoldItalic-4P4C7HJH.woff
Normal file
BIN
static/assets/KaTeX_Main-BoldItalic-4P4C7HJH.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-BoldItalic-N4V3DX7S.woff2
Normal file
BIN
static/assets/KaTeX_Main-BoldItalic-N4V3DX7S.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf
Normal file
BIN
static/assets/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Italic-I43T2HSR.ttf
Normal file
BIN
static/assets/KaTeX_Main-Italic-I43T2HSR.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Italic-RELBIK7M.woff2
Normal file
BIN
static/assets/KaTeX_Main-Italic-RELBIK7M.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Italic-SASNQFN2.woff
Normal file
BIN
static/assets/KaTeX_Main-Italic-SASNQFN2.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Regular-ARRPAO67.woff2
Normal file
BIN
static/assets/KaTeX_Main-Regular-ARRPAO67.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Regular-P5I74A2A.woff
Normal file
BIN
static/assets/KaTeX_Main-Regular-P5I74A2A.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Main-Regular-W74P5G27.ttf
Normal file
BIN
static/assets/KaTeX_Main-Regular-W74P5G27.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Math-BoldItalic-6EBV3DK5.woff
Normal file
BIN
static/assets/KaTeX_Math-BoldItalic-6EBV3DK5.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Math-BoldItalic-K4WTGH3J.woff2
Normal file
BIN
static/assets/KaTeX_Math-BoldItalic-K4WTGH3J.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Math-BoldItalic-VB447A4D.ttf
Normal file
BIN
static/assets/KaTeX_Math-BoldItalic-VB447A4D.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Math-Italic-6KGCHLFN.woff2
Normal file
BIN
static/assets/KaTeX_Math-Italic-6KGCHLFN.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Math-Italic-KKK3USB2.woff
Normal file
BIN
static/assets/KaTeX_Math-Italic-KKK3USB2.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Math-Italic-SON4MRCA.ttf
Normal file
BIN
static/assets/KaTeX_Math-Italic-SON4MRCA.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Bold-RRNVJFFW.woff2
Normal file
BIN
static/assets/KaTeX_SansSerif-Bold-RRNVJFFW.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Bold-STQ6RXC7.ttf
Normal file
BIN
static/assets/KaTeX_SansSerif-Bold-STQ6RXC7.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Bold-X5M5EMOD.woff
Normal file
BIN
static/assets/KaTeX_SansSerif-Bold-X5M5EMOD.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Italic-HMPFTM52.woff2
Normal file
BIN
static/assets/KaTeX_SansSerif-Italic-HMPFTM52.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Italic-PSN4QKYX.woff
Normal file
BIN
static/assets/KaTeX_SansSerif-Italic-PSN4QKYX.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Italic-WTBAZBGY.ttf
Normal file
BIN
static/assets/KaTeX_SansSerif-Italic-WTBAZBGY.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Regular-2TL3USAE.ttf
Normal file
BIN
static/assets/KaTeX_SansSerif-Regular-2TL3USAE.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Regular-OQCII6EP.woff
Normal file
BIN
static/assets/KaTeX_SansSerif-Regular-OQCII6EP.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_SansSerif-Regular-XIQ62X4E.woff2
Normal file
BIN
static/assets/KaTeX_SansSerif-Regular-XIQ62X4E.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Script-Regular-72OLXYNA.ttf
Normal file
BIN
static/assets/KaTeX_Script-Regular-72OLXYNA.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Script-Regular-A5IFOEBS.woff
Normal file
BIN
static/assets/KaTeX_Script-Regular-A5IFOEBS.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Script-Regular-APUWIHLP.woff2
Normal file
BIN
static/assets/KaTeX_Script-Regular-APUWIHLP.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size1-Regular-4HRHTS65.woff
Normal file
BIN
static/assets/KaTeX_Size1-Regular-4HRHTS65.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size1-Regular-5LRUTBFT.woff2
Normal file
BIN
static/assets/KaTeX_Size1-Regular-5LRUTBFT.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size1-Regular-7K6AASVL.ttf
Normal file
BIN
static/assets/KaTeX_Size1-Regular-7K6AASVL.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size2-Regular-222HN3GT.ttf
Normal file
BIN
static/assets/KaTeX_Size2-Regular-222HN3GT.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size2-Regular-K5ZHAIS6.woff
Normal file
BIN
static/assets/KaTeX_Size2-Regular-K5ZHAIS6.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size2-Regular-LELKET5D.woff2
Normal file
BIN
static/assets/KaTeX_Size2-Regular-LELKET5D.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size3-Regular-TLFPAHDE.woff
Normal file
BIN
static/assets/KaTeX_Size3-Regular-TLFPAHDE.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size3-Regular-UFCO6WCA.ttf
Normal file
BIN
static/assets/KaTeX_Size3-Regular-UFCO6WCA.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size3-Regular-WQRQ47UD.woff2
Normal file
BIN
static/assets/KaTeX_Size3-Regular-WQRQ47UD.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size4-Regular-7PGNVPQK.ttf
Normal file
BIN
static/assets/KaTeX_Size4-Regular-7PGNVPQK.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size4-Regular-CDMV7U5C.woff2
Normal file
BIN
static/assets/KaTeX_Size4-Regular-CDMV7U5C.woff2
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Size4-Regular-PKMWZHNC.woff
Normal file
BIN
static/assets/KaTeX_Size4-Regular-PKMWZHNC.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf
Normal file
BIN
static/assets/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Typewriter-Regular-MJMFSK64.woff
Normal file
BIN
static/assets/KaTeX_Typewriter-Regular-MJMFSK64.woff
Normal file
Binary file not shown.
BIN
static/assets/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2
Normal file
BIN
static/assets/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2
Normal file
Binary file not shown.
1
static/assets/app.css
Normal file
1
static/assets/app.css
Normal file
File diff suppressed because one or more lines are too long
678
static/assets/app.js
Normal file
678
static/assets/app.js
Normal file
File diff suppressed because one or more lines are too long
10
static/assets/c4Diagram-4a1de0c4-QAVAVRDA.js
Normal file
10
static/assets/c4Diagram-4a1de0c4-QAVAVRDA.js
Normal file
File diff suppressed because one or more lines are too long
4
static/assets/chunk-2VAHKEM3.js
Normal file
4
static/assets/chunk-2VAHKEM3.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
import{Pa as x,a as y,ha as m}from"./chunk-CRHZHETQ.js";import{s as d}from"./chunk-HA3AQNT4.js";function w(a){let e=a.replace(/\n{2,}/g,`
|
||||
`);return y(e)}function T(a){let e=w(a),{children:n}=d(e),r=[[]],c=0;function s(t,o="normal"){t.type==="text"?t.value.split(`
|
||||
`).forEach((l,i)=>{i!==0&&(c++,r.push([])),l.split(" ").forEach(h=>{h&&r[c].push({content:h,type:o})})}):(t.type==="strong"||t.type==="emphasis")&&t.children.forEach(p=>{s(p,t.type)})}return n.forEach(t=>{t.type==="paragraph"&&t.children.forEach(o=>{s(o)})}),r}function E(a){let{children:e}=d(a);function n(r){return r.type==="text"?r.value.replace(/\n/g,"<br/>"):r.type==="strong"?`<strong>${r.children.map(n).join("")}</strong>`:r.type==="emphasis"?`<em>${r.children.map(n).join("")}</em>`:r.type==="paragraph"?`<p>${r.children.map(n).join("")}</p>`:`Unsupported markdown: ${r.type}`}return e.map(n).join("")}function L(a,e){e&&a.attr("style",e)}function k(a,e,n,r,c=!1){let s=a.append("foreignObject"),t=s.append("xhtml:div"),o=e.label,p=e.isNode?"nodeLabel":"edgeLabel";t.html(`
|
||||
<span class="${p} ${r}" `+(e.labelStyle?'style="'+e.labelStyle+'"':"")+">"+o+"</span>"),L(t,e.labelStyle),t.style("display","table-cell"),t.style("white-space","nowrap"),t.style("max-width",n+"px"),t.attr("xmlns","http://www.w3.org/1999/xhtml"),c&&t.attr("class","labelBkg");let l=t.node().getBoundingClientRect();return l.width===n&&(t.style("display","table"),t.style("white-space","break-spaces"),t.style("width",n+"px"),l=t.node().getBoundingClientRect()),s.style("width",l.width),s.style("height",l.height),s.node()}function g(a,e,n){return a.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*n-.1+"em").attr("dy",n+"em")}function v(a,e,n,r=!1){let s=e.append("g"),t=s.insert("rect").attr("class","background"),o=s.append("text").attr("y","-10.1"),p=-1;if(n.forEach(l=>{p++;let i=g(o,p,1.1),h=[...l].reverse(),f,u=[];for(;h.length;)f=h.pop(),u.push(f),b(i,u),i.node().getComputedTextLength()>a&&(u.pop(),h.push(f),b(i,u),u=[],p++,i=g(o,p,1.1))}),r){let l=o.node().getBBox(),i=2;return t.attr("x",-i).attr("y",-i).attr("width",l.width+2*i).attr("height",l.height+2*i),s.node()}else return o.node()}function b(a,e){a.text(""),e.forEach((n,r)=>{let c=a.append("tspan").attr("font-style",n.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",n.type==="strong"?"bold":"normal");r===0?c.text(n.content):c.text(" "+n.content)})}var C=(a,e="",{style:n="",isTitle:r=!1,classes:c="",useHtmlLabels:s=!0,isNode:t=!0,width:o,addSvgBackground:p=!1}={})=>{if(m.info("createText",e,n,r,c,s,t,p),s){let l=E(e),i={isNode:t,label:x(l).replace(/fa[blrs]?:fa-[\w-]+/g,f=>`<i class='${f.replace(":"," ")}'></i>`),labelStyle:n.replace("fill:","color:")};return k(a,i,o,c,p)}else{let l=T(e);return v(o,a,l,p)}};export{C as a};
|
1
static/assets/chunk-2YVZDWG7.js
Normal file
1
static/assets/chunk-2YVZDWG7.js
Normal file
|
@ -0,0 +1 @@
|
|||
var k=Object.create;var g=Object.defineProperty,l=Object.defineProperties,m=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var h=(a,b,c)=>b in a?g(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,r=(a,b)=>{for(var c in b||(b={}))i.call(b,c)&&h(a,c,b[c]);if(f)for(var c of f(b))j.call(b,c)&&h(a,c,b[c]);return a},s=(a,b)=>l(a,n(b));var t=(a=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(a,{get:(b,c)=>(typeof require!="undefined"?require:b)[c]}):a)(function(a){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+a+'" is not supported')});var u=(a,b)=>{var c={};for(var d in a)i.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&f)for(var d of f(a))b.indexOf(d)<0&&j.call(a,d)&&(c[d]=a[d]);return c};var v=(a,b)=>()=>(a&&(b=a(a=0)),b);var w=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),x=(a,b)=>{for(var c in b)g(a,c,{get:b[c],enumerable:!0})},q=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of o(b))!i.call(a,e)&&e!==c&&g(a,e,{get:()=>b[e],enumerable:!(d=m(b,e))||d.enumerable});return a};var y=(a,b,c)=>(c=a!=null?k(p(a)):{},q(b||!a||!a.__esModule?g(c,"default",{value:a,enumerable:!0}):c,a));var z=(a,b,c)=>(h(a,typeof b!="symbol"?b+"":b,c),c);export{r as a,s as b,t as c,u as d,v as e,w as f,x as g,y as h,z as i};
|
160
static/assets/chunk-3MCPFTEY.js
Normal file
160
static/assets/chunk-3MCPFTEY.js
Normal file
File diff suppressed because one or more lines are too long
6
static/assets/chunk-4RJ53EDP.js
Normal file
6
static/assets/chunk-4RJ53EDP.js
Normal file
File diff suppressed because one or more lines are too long
651
static/assets/chunk-6SKM76U7.js
Normal file
651
static/assets/chunk-6SKM76U7.js
Normal file
File diff suppressed because one or more lines are too long
97
static/assets/chunk-CRHZHETQ.js
Normal file
97
static/assets/chunk-CRHZHETQ.js
Normal file
File diff suppressed because one or more lines are too long
4
static/assets/chunk-DJBS3ZP5.js
Normal file
4
static/assets/chunk-DJBS3ZP5.js
Normal file
File diff suppressed because one or more lines are too long
1
static/assets/chunk-DV6EV644.js
Normal file
1
static/assets/chunk-DV6EV644.js
Normal file
File diff suppressed because one or more lines are too long
2
static/assets/chunk-GT6PWSKZ.js
Normal file
2
static/assets/chunk-GT6PWSKZ.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
import{A as S,C as _,Na as N,ha as T,ka as v}from"./chunk-CRHZHETQ.js";var C=0,O=function(i,e,t,a,r){let o=function(d){switch(d){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(d=>!Number.isNaN(d.y));let l=e.points,g=S().x(function(d){return d.x}).y(function(d){return d.y}).curve(_),s=i.append("path").attr("d",g(l)).attr("id","edge"+C).attr("class","relation"),p="";a.arrowMarkerAbsolute&&(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,p=p.replace(/\(/g,"\\("),p=p.replace(/\)/g,"\\)")),t.relation.lineType==1&&s.attr("class","relation dashed-line"),t.relation.lineType==10&&s.attr("class","relation dotted-line"),t.relation.type1!=="none"&&s.attr("marker-start","url("+p+"#"+o(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&s.attr("marker-end","url("+p+"#"+o(t.relation.type2)+"End)");let h,n,c=e.points.length,b=N.calcLabelPosition(e.points);h=b.x,n=b.y;let x,m,f,B;if(c%2!==0&&c>1){let d=N.calcCardinalityPosition(t.relation.type1!=="none",e.points,e.points[0]),w=N.calcCardinalityPosition(t.relation.type2!=="none",e.points,e.points[c-1]);T.debug("cardinality_1_point "+JSON.stringify(d)),T.debug("cardinality_2_point "+JSON.stringify(w)),x=d.x,m=d.y,f=w.x,B=w.y}if(t.title!==void 0){let d=i.append("g").attr("class","classLabel"),w=d.append("text").attr("class","label").attr("x",h).attr("y",n).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=w;let y=w.node().getBBox();d.insert("rect",":first-child").attr("class","box").attr("x",y.x-a.padding/2).attr("y",y.y-a.padding/2).attr("width",y.width+a.padding).attr("height",y.height+a.padding)}T.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",x).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",f).attr("y",B).attr("fill","black").attr("font-size","6").text(t.relationTitle2),C++},P=function(i,e,t,a){T.debug("Rendering class ",e,t);let r=e.id,o={id:r,label:e.id,width:0,height:0},l=i.append("g").attr("id",a.db.lookUpDomId(r)).attr("class","classGroup"),g;e.link?g=l.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):g=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let s=!0;e.annotations.forEach(function(u){let I=g.append("tspan").text("\xAB"+u+"\xBB");s||I.attr("dy",t.textHeight),s=!1});let p=H(e),h=g.append("tspan").text(p).attr("class","title");s||h.attr("dy",t.textHeight);let n=g.node().getBBox().height,c=l.append("line").attr("x1",0).attr("y1",t.padding+n+t.dividerMargin/2).attr("y2",t.padding+n+t.dividerMargin/2),b=l.append("text").attr("x",t.padding).attr("y",n+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.members.forEach(function(u){E(b,u,s,t),s=!1});let x=b.node().getBBox(),m=l.append("line").attr("x1",0).attr("y1",t.padding+n+t.dividerMargin+x.height).attr("y2",t.padding+n+t.dividerMargin+x.height),f=l.append("text").attr("x",t.padding).attr("y",n+2*t.dividerMargin+x.height+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.methods.forEach(function(u){E(f,u,s,t),s=!1});let B=l.node().getBBox();var d=" ";e.cssClasses.length>0&&(d=d+e.cssClasses.join(" "));let y=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",B.width+2*t.padding).attr("height",B.height+t.padding+.5*t.dividerMargin).attr("class",d).node().getBBox().width;return g.node().childNodes.forEach(function(u){u.setAttribute("x",(y-u.getBBox().width)/2)}),e.tooltip&&g.insert("title").text(e.tooltip),c.attr("x2",y),m.attr("x2",y),o.width=y,o.height=B.height+t.padding+.5*t.dividerMargin,o},H=function(i){let e=i.id;return i.type&&(e+="<"+i.type+">"),e},A=function(i,e,t,a){T.debug("Rendering note ",e,t);let r=e.id,o={id:r,text:e.text,width:0,height:0},l=i.append("g").attr("id",r).attr("class","classGroup"),g=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0),s=JSON.parse(`"${e.text}"`).split(`
|
||||
`);s.forEach(function(c){T.debug(`Adding line: ${c}`),g.append("tspan").text(c).attr("class","title").attr("dy",t.textHeight)});let p=l.node().getBBox(),n=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*t.padding).attr("height",p.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return g.node().childNodes.forEach(function(c){c.setAttribute("x",(n-c.getBBox().width)/2)}),o.width=n,o.height=p.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin,o},k=function(i){let e="",t="",a="",r="",o=i.substring(0,1),l=i.substring(i.length-1,i.length);o.match(/[#+~-]/)&&(r=o);let g=/[\s\w)~]/;l.match(g)||(t=M(l));let s=r===""?0:1,p=t===""?i.length:i.length-1;i=i.substring(s,p);let h=i.indexOf("("),n=i.indexOf(")");if(h>1&&n>h&&n<=i.length){let b=i.substring(0,h).trim(),x=i.substring(h+1,n);if(e=r+b+"("+v(x.trim())+")",n<i.length){let m=i.substring(n+1,n+2);t===""&&!m.match(g)?(t=M(m),a=i.substring(n+2).trim()):a=i.substring(n+1).trim(),a!==""&&(a.charAt(0)===":"&&(a=a.substring(1).trim()),a=" : "+v(a),e+=a)}}else e=r+v(i);return{displayText:e,cssStyle:t}},E=function(i,e,t,a){let r=k(e),o=i.append("tspan").attr("x",a.padding).text(r.displayText);r.cssStyle!==""&&o.attr("style",r.cssStyle),t||o.attr("dy",a.textHeight)},M=function(i){switch(i){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},R={getClassTitleString:H,drawClass:P,drawEdge:O,drawNote:A,parseMember:k};export{k as a,R as b};
|
3
static/assets/chunk-HA3AQNT4.js
Normal file
3
static/assets/chunk-HA3AQNT4.js
Normal file
File diff suppressed because one or more lines are too long
14
static/assets/chunk-I4NDSNS6.js
Normal file
14
static/assets/chunk-I4NDSNS6.js
Normal file
File diff suppressed because one or more lines are too long
207
static/assets/chunk-I5V7KK6N.js
Normal file
207
static/assets/chunk-I5V7KK6N.js
Normal file
File diff suppressed because one or more lines are too long
1
static/assets/chunk-N4T7OBQH.js
Normal file
1
static/assets/chunk-N4T7OBQH.js
Normal file
File diff suppressed because one or more lines are too long
1
static/assets/chunk-QFY7JLBI.js
Normal file
1
static/assets/chunk-QFY7JLBI.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{g as o}from"./chunk-CRHZHETQ.js";import{h as l}from"./chunk-2YVZDWG7.js";var a=l(o(),1),c=function(e,t){let r=e.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),r.attr("rx",t.rx),r.attr("ry",t.ry),t.attrs!=="undefined"&&t.attrs!==null)for(let n in t.attrs)r.attr(n,t.attrs[n]);return t.class!=="undefined"&&r.attr("class",t.class),r},x=function(e,t){c(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"}).lower()},d=function(e,t){let r=t.text.replace(/<br\s*\/?>/gi," "),n=e.append("text");n.attr("x",t.x),n.attr("y",t.y),n.attr("class","legend"),n.style("text-anchor",t.anchor),t.class!==void 0&&n.attr("class",t.class);let s=n.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(r),n},f=function(e,t,r,n){let s=e.append("image");s.attr("x",t),s.attr("y",r);var i=(0,a.sanitizeUrl)(n);s.attr("xlink:href",i)},h=function(e,t,r,n){let s=e.append("use");s.attr("x",t),s.attr("y",r);let i=(0,a.sanitizeUrl)(n);s.attr("xlink:href","#"+i)},g=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},y=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}};export{c as a,x as b,d as c,f as d,h as e,g as f,y as g};
|
110
static/assets/chunk-ZXE6G655.js
Normal file
110
static/assets/chunk-ZXE6G655.js
Normal file
|
@ -0,0 +1,110 @@
|
|||
import{b as V,i as P}from"./chunk-4RJ53EDP.js";import{a as q}from"./chunk-DV6EV644.js";import{a as F}from"./chunk-N4T7OBQH.js";import{E as G,F as z,Fa as E,Ga as L,Na as U,ha as p,ja as M,l as T,la as N,m as I,ra as _,ta as R,z as $}from"./chunk-CRHZHETQ.js";var H={},J=function(t){let s=Object.keys(t);for(let y of s)H[y]=t[y]},W=function(t,s,y,n,i,b){let w=n.select(`[id="${y}"]`);Object.keys(t).forEach(function(c){let l=t[c],k="default";l.classes.length>0&&(k=l.classes.join(" ")),k=k+" flowchart-label";let u=L(l.styles),e=l.text!==void 0?l.text:l.id,o;if(p.info("vertex",l,l.labelType),l.labelType==="markdown")p.info("vertex",l,l.labelType);else if(M(_().flowchart.htmlLabels)){let m={label:e.replace(/fa[blrs]?:fa-[\w-]+/g,g=>`<i class='${g.replace(":"," ")}'></i>`)};o=P(w,m).node(),o.parentNode.removeChild(o)}else{let m=i.createElementNS("http://www.w3.org/2000/svg","text");m.setAttribute("style",u.labelStyle.replace("color:","fill:"));let g=e.split(N.lineBreakRegex);for(let C of g){let v=i.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=C,m.appendChild(v)}o=m}let d=0,r="";switch(l.type){case"round":d=5,r="rect";break;case"square":r="rect";break;case"diamond":r="question";break;case"hexagon":r="hexagon";break;case"odd":r="rect_left_inv_arrow";break;case"lean_right":r="lean_right";break;case"lean_left":r="lean_left";break;case"trapezoid":r="trapezoid";break;case"inv_trapezoid":r="inv_trapezoid";break;case"odd_right":r="rect_left_inv_arrow";break;case"circle":r="circle";break;case"ellipse":r="ellipse";break;case"stadium":r="stadium";break;case"subroutine":r="subroutine";break;case"cylinder":r="cylinder";break;case"group":r="rect";break;case"doublecircle":r="doublecircle";break;default:r="rect"}s.setNode(l.id,{labelStyle:u.labelStyle,shape:r,labelText:e,labelType:l.labelType,rx:d,ry:d,class:k,style:u.style,id:l.id,link:l.link,linkTarget:l.linkTarget,tooltip:b.db.getTooltip(l.id)||"",domId:b.db.lookUpDomId(l.id),haveCallback:l.haveCallback,width:l.type==="group"?500:void 0,dir:l.dir,type:l.type,props:l.props,padding:_().flowchart.padding}),p.info("setNode",{labelStyle:u.labelStyle,labelType:l.labelType,shape:r,labelText:e,rx:d,ry:d,class:k,style:u.style,id:l.id,domId:b.db.lookUpDomId(l.id),width:l.type==="group"?500:void 0,type:l.type,dir:l.dir,props:l.props,padding:_().flowchart.padding})})},X=function(t,s,y){p.info("abc78 edges = ",t);let n=0,i={},b,w;if(t.defaultStyle!==void 0){let a=L(t.defaultStyle);b=a.style,w=a.labelStyle}t.forEach(function(a){n++;let c="L-"+a.start+"-"+a.end;i[c]===void 0?(i[c]=0,p.info("abc78 new entry",c,i[c])):(i[c]++,p.info("abc78 new entry",c,i[c]));let l=c+"-"+i[c];p.info("abc78 new link id to be used is",c,l,i[c]);let k="LS-"+a.start,u="LE-"+a.end,e={style:"",labelStyle:""};switch(e.minlen=a.length||1,a.type==="arrow_open"?e.arrowhead="none":e.arrowhead="normal",e.arrowTypeStart="arrow_open",e.arrowTypeEnd="arrow_open",a.type){case"double_arrow_cross":e.arrowTypeStart="arrow_cross";case"arrow_cross":e.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":e.arrowTypeStart="arrow_point";case"arrow_point":e.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":e.arrowTypeStart="arrow_circle";case"arrow_circle":e.arrowTypeEnd="arrow_circle";break}let o="",d="";switch(a.stroke){case"normal":o="fill:none;",b!==void 0&&(o=b),w!==void 0&&(d=w),e.thickness="normal",e.pattern="solid";break;case"dotted":e.thickness="normal",e.pattern="dotted",e.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":e.thickness="thick",e.pattern="solid",e.style="stroke-width: 3.5px;fill:none;";break;case"invisible":e.thickness="invisible",e.pattern="solid",e.style="stroke-width: 0;fill:none;";break}if(a.style!==void 0){let r=L(a.style);o=r.style,d=r.labelStyle}e.style=e.style+=o,e.labelStyle=e.labelStyle+=d,a.interpolate!==void 0?e.curve=E(a.interpolate,$):t.defaultInterpolate!==void 0?e.curve=E(t.defaultInterpolate,$):e.curve=E(H.curve,$),a.text===void 0?a.style!==void 0&&(e.arrowheadStyle="fill: #333"):(e.arrowheadStyle="fill: #333",e.labelpos="c"),e.labelType=a.labelType,e.label=a.text.replace(N.lineBreakRegex,`
|
||||
`),a.style===void 0&&(e.style=e.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),e.labelStyle=e.labelStyle.replace("color:","fill:"),e.id=l,e.classes="flowchart-link "+k+" "+u,s.setEdge(a.start,a.end,e,n)})},K=function(t,s){p.info("Extracting classes"),s.db.clear();try{return s.parse(t),s.db.getClasses()}catch(y){return}},Q=async function(t,s,y,n){p.info("Drawing flowchart"),n.db.clear(),V.setGen("gen-2"),n.parser.parse(t);let i=n.db.getDirection();i===void 0&&(i="TD");let{securityLevel:b,flowchart:w}=_(),a=w.nodeSpacing||50,c=w.rankSpacing||50,l;b==="sandbox"&&(l=T("#i"+s));let k=b==="sandbox"?T(l.nodes()[0].contentDocument.body):T("body"),u=b==="sandbox"?l.nodes()[0].contentDocument:document,e=new F({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:a,ranksep:c,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}}),o,d=n.db.getSubGraphs();p.info("Subgraphs - ",d);for(let f=d.length-1;f>=0;f--)o=d[f],p.info("Subgraph - ",o),n.db.addVertex(o.id,{text:o.title,type:o.labelType},"group",void 0,o.classes,o.dir);let r=n.db.getVertices(),m=n.db.getEdges();p.info("Edges",m);let g=0;for(g=d.length-1;g>=0;g--){o=d[g],I("cluster").append("text");for(let f=0;f<o.nodes.length;f++)p.info("Setting up subgraphs",o.nodes[f],o.id),e.setParent(o.nodes[f],o.id)}W(r,e,s,k,u,n),X(m,e);let C=k.select(`[id="${s}"]`),v=k.select("#"+s+" g");if(await q(v,e,["point","circle","cross"],"flowchart",s),U.insertTitle(C,"flowchartTitleText",w.titleTopMargin,n.db.getDiagramTitle()),R(e,C,w.diagramPadding,w.useMaxWidth),n.db.indexNodes("subGraph"+g),!w.htmlLabels){let f=u.querySelectorAll('[id="'+s+'"] .edgeLabel .label');for(let x of f){let S=x.getBBox(),h=u.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",S.width),h.setAttribute("height",S.height),x.insertBefore(h,x.firstChild)}}Object.keys(r).forEach(function(f){let x=r[f];if(x.link){let S=T("#"+s+' [id="'+f+'"]');if(S){let h=u.createElementNS("http://www.w3.org/2000/svg","a");h.setAttributeNS("http://www.w3.org/2000/svg","class",x.classes.join(" ")),h.setAttributeNS("http://www.w3.org/2000/svg","href",x.link),h.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),b==="sandbox"?h.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):x.linkTarget&&h.setAttributeNS("http://www.w3.org/2000/svg","target",x.linkTarget);let A=S.insert(function(){return h},":first-child"),B=S.select(".label-container");B&&A.append(function(){return B.node()});let D=S.select(".label");D&&A.append(function(){return D.node()})}}})},se={setConf:J,addVertices:W,addEdges:X,getClasses:K,draw:Q},Y=(t,s)=>{let y=z,n=y(t,"r"),i=y(t,"g"),b=y(t,"b");return G(n,i,b,s)},Z=t=>`.label {
|
||||
font-family: ${t.fontFamily};
|
||||
color: ${t.nodeTextColor||t.textColor};
|
||||
}
|
||||
.cluster-label text {
|
||||
fill: ${t.titleColor};
|
||||
}
|
||||
.cluster-label span,p {
|
||||
color: ${t.titleColor};
|
||||
}
|
||||
|
||||
.label text,span,p {
|
||||
fill: ${t.nodeTextColor||t.textColor};
|
||||
color: ${t.nodeTextColor||t.textColor};
|
||||
}
|
||||
|
||||
.node rect,
|
||||
.node circle,
|
||||
.node ellipse,
|
||||
.node polygon,
|
||||
.node path {
|
||||
fill: ${t.mainBkg};
|
||||
stroke: ${t.nodeBorder};
|
||||
stroke-width: 1px;
|
||||
}
|
||||
.flowchart-label text {
|
||||
text-anchor: middle;
|
||||
}
|
||||
// .flowchart-label .text-outer-tspan {
|
||||
// text-anchor: middle;
|
||||
// }
|
||||
// .flowchart-label .text-inner-tspan {
|
||||
// text-anchor: start;
|
||||
// }
|
||||
|
||||
.node .label {
|
||||
text-align: center;
|
||||
}
|
||||
.node.clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.arrowheadPath {
|
||||
fill: ${t.arrowheadColor};
|
||||
}
|
||||
|
||||
.edgePath .path {
|
||||
stroke: ${t.lineColor};
|
||||
stroke-width: 2.0px;
|
||||
}
|
||||
|
||||
.flowchart-link {
|
||||
stroke: ${t.lineColor};
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.edgeLabel {
|
||||
background-color: ${t.edgeLabelBackground};
|
||||
rect {
|
||||
opacity: 0.5;
|
||||
background-color: ${t.edgeLabelBackground};
|
||||
fill: ${t.edgeLabelBackground};
|
||||
}
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* For html labels only */
|
||||
.labelBkg {
|
||||
background-color: ${Y(t.edgeLabelBackground,.5)};
|
||||
// background-color:
|
||||
}
|
||||
|
||||
.cluster rect {
|
||||
fill: ${t.clusterBkg};
|
||||
stroke: ${t.clusterBorder};
|
||||
stroke-width: 1px;
|
||||
}
|
||||
|
||||
.cluster text {
|
||||
fill: ${t.titleColor};
|
||||
}
|
||||
|
||||
.cluster span,p {
|
||||
color: ${t.titleColor};
|
||||
}
|
||||
/* .cluster div {
|
||||
color: ${t.titleColor};
|
||||
} */
|
||||
|
||||
div.mermaidTooltip {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
max-width: 200px;
|
||||
padding: 2px;
|
||||
font-family: ${t.fontFamily};
|
||||
font-size: 12px;
|
||||
background: ${t.tertiaryColor};
|
||||
border: 1px solid ${t.border2};
|
||||
border-radius: 2px;
|
||||
pointer-events: none;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.flowchartTitleText {
|
||||
text-anchor: middle;
|
||||
font-size: 18px;
|
||||
fill: ${t.textColor};
|
||||
}
|
||||
`,ne=Z;export{se as a,ne as b};
|
1
static/assets/classDiagram-62cfb02d-IMYFNWI4.js
Normal file
1
static/assets/classDiagram-62cfb02d-IMYFNWI4.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{a as X,b as k,c as Y}from"./chunk-3MCPFTEY.js";import{b as h}from"./chunk-GT6PWSKZ.js";import{a as W,b as H}from"./chunk-N4T7OBQH.js";import"./chunk-I4NDSNS6.js";import{D as B,g as $,ha as a,l as g,ra as L,sa as Z}from"./chunk-CRHZHETQ.js";import{h as N}from"./chunk-2YVZDWG7.js";var _=N($(),1),q=N(B(),1);var u={},m=20,p=function(e){let i=Object.entries(u).find(y=>y[1].label===e);if(i)return i[0]},v=function(e){e.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},A=function(e,i,y,n){let c=L().class;u={},a.info("Rendering diagram "+e);let x=L().securityLevel,E;x==="sandbox"&&(E=g("#i"+i));let b=x==="sandbox"?g(E.nodes()[0].contentDocument.body):g("body"),o=b.select(`[id='${i}']`);v(o);let r=new W({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});let l=n.db.getClasses(),D=Object.keys(l);for(let t of D){let d=l[t],s=h.drawClass(o,d,c,n);u[s.id]=s,r.setNode(s.id,s),a.info("Org height: "+s.height)}n.db.getRelations().forEach(function(t){a.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),n.db.getNotes().forEach(function(t){a.debug(`Adding note: ${JSON.stringify(t)}`);let d=h.drawNote(o,t,c,n);u[d.id]=d,r.setNode(d.id,d),t.class&&t.class in l&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),H(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(a.debug("Node "+t+": "+JSON.stringify(r.node(t))),b.select("#"+(n.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(a.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),h.drawEdge(o,r.edge(t),r.edge(t).relation,c,n))});let f=o.node().getBBox(),w=f.width+m*2,M=f.height+m*2;Z(o,M,w,c.useMaxWidth);let S=`${f.x-m} ${f.y-m} ${w} ${M}`;a.debug(`viewBox ${S}`),o.attr("viewBox",S)},C={draw:A},K={parser:X,db:k,renderer:C,styles:Y,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,k.clear()}};export{K as diagram};
|
2
static/assets/classDiagram-v2-c1dfb0e0-RTHQXVLO.js
Normal file
2
static/assets/classDiagram-v2-c1dfb0e0-RTHQXVLO.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
import{a as P,b as L,c as $}from"./chunk-3MCPFTEY.js";import{a as z}from"./chunk-DV6EV644.js";import"./chunk-DJBS3ZP5.js";import"./chunk-2VAHKEM3.js";import"./chunk-GT6PWSKZ.js";import{a as G}from"./chunk-N4T7OBQH.js";import"./chunk-I4NDSNS6.js";import{D as Q,Fa as C,Ga as F,Na as H,g as K,ha as d,l as w,la as N,ra as i,ta as q,z as T}from"./chunk-CRHZHETQ.js";import"./chunk-HA3AQNT4.js";import{a as S,h as B}from"./chunk-2YVZDWG7.js";var ie=B(K(),1),re=B(Q(),1);var E=s=>N.sanitizeText(s,i()),D={dividerMargin:10,padding:5,textHeight:10,curve:void 0},U=function(s,o,f,a){let e=Object.keys(s);d.info("keys:",e),d.info(s),e.forEach(function(r){var y;var l,c;let t=s[r],p={shape:"rect",id:t.id,domId:t.domId,labelText:E(t.id),labelStyle:"",style:"fill: none; stroke: black",padding:(y=(l=i().flowchart)==null?void 0:l.padding)!=null?y:(c=i().class)==null?void 0:c.padding};o.setNode(t.id,p),W(t.classes,o,f,a,t.id),d.info("setNode",p)})},W=function(s,o,f,a,e){let r=Object.keys(s);d.info("keys:",r),d.info(s),r.forEach(function(l){var g,m;var c,t;let n=s[l],p="";n.cssClasses.length>0&&(p=p+" "+n.cssClasses.join(" "));let y={labelStyle:"",style:""},v=(g=n.label)!=null?g:n.id,b=0,h="class_box",u={labelStyle:y.labelStyle,shape:h,labelText:E(v),classData:n,rx:b,ry:b,class:p,style:y.style,id:n.id,domId:n.domId,tooltip:a.db.getTooltip(n.id,e)||"",haveCallback:n.haveCallback,link:n.link,width:n.type==="group"?500:void 0,type:n.type,padding:(m=(c=i().flowchart)==null?void 0:c.padding)!=null?m:(t=i().class)==null?void 0:t.padding};o.setNode(n.id,u),e&&o.setParent(n.id,e),d.info("setNode",u)})},X=function(s,o,f,a){d.info(s),s.forEach(function(e,r){var m;var l,c;let t=e,n="",p={labelStyle:"",style:""},y=t.text,v=0,b="note",h={labelStyle:p.labelStyle,shape:b,labelText:E(y),noteData:t,rx:v,ry:v,class:n,style:p.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:(m=(l=i().flowchart)==null?void 0:l.padding)!=null?m:(c=i().class)==null?void 0:c.padding};if(o.setNode(t.id,h),d.info("setNode",h),!t.class||!(t.class in a))return;let u=f+r,g={id:`edgeNote${u}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(D.curve,T)};o.setEdge(t.id,t.class,g,u)})},Y=function(s,o){let f=i().flowchart,a=0;s.forEach(function(e){var c;var r;a++;let l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+a,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:V(e.relation.type1),arrowTypeEnd:V(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f==null?void 0:f.curve,T)};if(d.info(l,e),e.style!==void 0){let t=F(e.style);l.style=t.style,l.labelStyle=t.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((c=(r=i().flowchart)==null?void 0:r.htmlLabels)!=null?c:i().htmlLabels)?(l.labelType="html",l.label='<span class="edgeLabel">'+e.text+"</span>"):(l.labelType="text",l.label=e.text.replace(N.lineBreakRegex,`
|
||||
`),e.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),o.setEdge(e.id1,e.id2,l,a)})},Z=function(s){D=S(S({},D),s)},j=async function(s,o,f,a){var m,_,A,I;d.info("Drawing class - ",o);let e=(m=i().flowchart)!=null?m:i().class,r=i().securityLevel;d.info("config:",e);let l=(_=e==null?void 0:e.nodeSpacing)!=null?_:50,c=(A=e==null?void 0:e.rankSpacing)!=null?A:50,t=new G({multigraph:!0,compound:!0}).setGraph({rankdir:a.db.getDirection(),nodesep:l,ranksep:c,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),n=a.db.getNamespaces(),p=a.db.getClasses(),y=a.db.getRelations(),v=a.db.getNotes();d.info(y),U(n,t,o,a),W(p,t,o,a),Y(y,t),X(v,t,y.length+1,p);let b;r==="sandbox"&&(b=w("#i"+o));let h=r==="sandbox"?w(b.nodes()[0].contentDocument.body):w("body"),u=h.select(`[id="${o}"]`),g=h.select("#"+o+" g");if(await z(g,t,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),H.insertTitle(u,"classTitleText",(I=e==null?void 0:e.titleTopMargin)!=null?I:5,a.db.getDiagramTitle()),q(t,u,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){let M=r==="sandbox"?b.nodes()[0].contentDocument:document,J=M.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(let k of J){let R=k.getBBox(),x=M.createElementNS("http://www.w3.org/2000/svg","rect");x.setAttribute("rx",0),x.setAttribute("ry",0),x.setAttribute("width",R.width),x.setAttribute("height",R.height),k.insertBefore(x,k.firstChild)}}};function V(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}var O={setConf:Z,draw:j},pe={parser:P,db:L,renderer:O,styles:$,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,L.clear()}};export{pe as diagram};
|
BIN
static/assets/codicon-VX3OQCMA.ttf
Normal file
BIN
static/assets/codicon-VX3OQCMA.ttf
Normal file
Binary file not shown.
13
static/assets/css-KJBTNL37.js
Normal file
13
static/assets/css-KJBTNL37.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
import"./chunk-2YVZDWG7.js";var e={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t={defaultToken:"",tokenPostfix:".css",ws:`[
|
||||
\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r
|
||||
]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}};export{e as conf,t as language};
|
||||
/*! Bundled license information:
|
||||
|
||||
monaco-editor/esm/vs/basic-languages/css/css.js:
|
||||
(*!-----------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------------------------*)
|
||||
*/
|
9
static/assets/editor/editor.worker.js
Normal file
9
static/assets/editor/editor.worker.js
Normal file
File diff suppressed because one or more lines are too long
11
static/assets/elixir-JHERZXQH.js
Normal file
11
static/assets/elixir-JHERZXQH.js
Normal file
File diff suppressed because one or more lines are too long
51
static/assets/erDiagram-5e907343-RHSEGWJS.js
Normal file
51
static/assets/erDiagram-5e907343-RHSEGWJS.js
Normal file
File diff suppressed because one or more lines are too long
4
static/assets/flowDiagram-702318ad-D3DYEJJT.js
Normal file
4
static/assets/flowDiagram-702318ad-D3DYEJJT.js
Normal file
File diff suppressed because one or more lines are too long
1
static/assets/flowDiagram-v2-8716a26e-IMUMDGM2.js
Normal file
1
static/assets/flowDiagram-v2-8716a26e-IMUMDGM2.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{a as t,b as e}from"./chunk-ZXE6G655.js";import{a as m,b as o}from"./chunk-4RJ53EDP.js";import"./chunk-DV6EV644.js";import"./chunk-DJBS3ZP5.js";import"./chunk-2VAHKEM3.js";import"./chunk-GT6PWSKZ.js";import"./chunk-N4T7OBQH.js";import"./chunk-I4NDSNS6.js";import{D as s,g as a,qa as p}from"./chunk-CRHZHETQ.js";import"./chunk-HA3AQNT4.js";import{h as i}from"./chunk-2YVZDWG7.js";var g=i(a(),1),n=i(s(),1);var c={parser:m,db:o,renderer:t,styles:e,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,p({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{c as diagram};
|
139
static/assets/flowchart-elk-definition-206a7d68-YP2UND35.js
Normal file
139
static/assets/flowchart-elk-definition-206a7d68-YP2UND35.js
Normal file
File diff suppressed because one or more lines are too long
266
static/assets/ganttDiagram-3bc7fa50-Y254BGBM.js
Normal file
266
static/assets/ganttDiagram-3bc7fa50-Y254BGBM.js
Normal file
File diff suppressed because one or more lines are too long
64
static/assets/gitGraphDiagram-127727f3-ULZS75IL.js
Normal file
64
static/assets/gitGraphDiagram-127727f3-ULZS75IL.js
Normal file
File diff suppressed because one or more lines are too long
1
static/assets/html-BC3I3ZSA.css
Normal file
1
static/assets/html-BC3I3ZSA.css
Normal file
File diff suppressed because one or more lines are too long
11
static/assets/html-T5WGVQOS.js
Normal file
11
static/assets/html-T5WGVQOS.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import{tj as a}from"./chunk-6SKM76U7.js";import"./chunk-2YVZDWG7.js";var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,s=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!c.call(t,r)&&r!==n&&p(t,r,{get:()=>e[r],enumerable:!(o=m(e,r))||o.enumerable});return t},u=(t,e,n)=>(s(t,e,"default"),n&&s(n,e,"default")),i={};u(i,a);var d=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${d.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${d.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},x={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{b as conf,x as language};
|
||||
/*! Bundled license information:
|
||||
|
||||
monaco-editor/esm/vs/basic-languages/html/html.js:
|
||||
(*!-----------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0)
|
||||
* Released under the MIT license
|
||||
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
||||
*-----------------------------------------------------------------------------*)
|
||||
*/
|
7
static/assets/infoDiagram-4374b389-FBR7JDHV.js
Normal file
7
static/assets/infoDiagram-4374b389-FBR7JDHV.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import{D as q,g as X,ha as b,l as w,ra as N,ua as z}from"./chunk-CRHZHETQ.js";import{h as F}from"./chunk-2YVZDWG7.js";var ot=F(X(),1),lt=F(q(),1);var L=function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],k=this.table,$="",v=0,T=0,U=2,R=1,C=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var I in this.yy)Object.prototype.hasOwnProperty.call(this.yy,I)&&(p.yy[I]=this.yy[I]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc=="undefined"&&(o.yylloc={});var A=o.yylloc;i.push(A);var D=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function V(){var u;return u=s.pop()||o.lex()||R,typeof u!="number"&&(u instanceof Array&&(s=u,u=s.pop()),u=e.symbols_[u]||u),u}for(var l,g,a,O,d={},S,y,j,E;;){if(g=n[n.length-1],this.defaultActions[g]?a=this.defaultActions[g]:((l===null||typeof l=="undefined")&&(l=V()),a=k[g]&&k[g][l]),typeof a=="undefined"||!a.length||!a[0]){var P="";E=[];for(S in k[g])this.terminals_[S]&&S>U&&E.push("'"+this.terminals_[S]+"'");o.showPosition?P="Parse error on line "+(v+1)+`:
|
||||
`+o.showPosition()+`
|
||||
Expecting `+E.join(", ")+", got '"+(this.terminals_[l]||l)+"'":P="Parse error on line "+(v+1)+": Unexpected "+(l==R?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(P,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:A,expected:E})}if(a[0]instanceof Array&&a.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+l);switch(a[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(a[1]),l=null,T=o.yyleng,$=o.yytext,v=o.yylineno,A=o.yylloc;break;case 2:if(y=this.productions_[a[1]][1],d.$=r[r.length-y],d._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},D&&(d._$.range=[i[i.length-(y||1)].range[0],i[i.length-1].range[1]]),O=this.performAction.apply(d,[$,T,v,p.yy,a[1],r,i].concat(C)),typeof O!="undefined")return O;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[a[1]][0]),r.push(d.$),i.push(d._$),j=k[n[n.length-2]][n[n.length-1]],n.push(j);break;case 3:return!0}}return!0}},m=function(){var c={EOF:1,parseError:function(e,n){if(this.yy.parser)this.yy.parser.parseError(e,n);else throw new Error(e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||||
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
||||
`+e+"^"},test_match:function(t,e){var n,s,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),s=t[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in r)this[i]=r[i];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,e,n,s;this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),i=0;i<r.length;i++)if(n=this._input.match(this.rules[r[i]]),n&&(!e||n[0].length>e[0].length)){if(e=n,s=i,this.options.backtrack_lexer){if(t=this.test_match(n,r[i]),t!==!1)return t;if(this._backtrack){e=!1;continue}else return!1}else if(!this.options.flex)break}return e?(t=this.test_match(e,r[s]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
||||
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){var e=this.conditionStack.length-1;return e>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,n,s,r){switch(s){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};return c}();x.lexer=m;function _(){this.yy={}}return _.prototype=x,x.Parser=_,new _}();L.parser=L;var B=L,M="",Y=!1,G=h=>{b.debug("Setting message to: "+h),M=h},H=()=>M,J=h=>{Y=h},K=()=>Y,Q={setMessage:G,getMessage:H,setInfo:J,getInfo:K,clear:z},W=()=>"",Z=W,tt=(h,f,x)=>{try{b.debug(`Rendering info diagram
|
||||
`+h);let m=N().securityLevel,_;m==="sandbox"&&(_=w("#i"+f));let t=(m==="sandbox"?w(_.nodes()[0].contentDocument.body):w("body")).select("#"+f);t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+x),t.attr("height",100),t.attr("width",400)}catch(m){b.error("Error while rendering info diagram"),b.error(m.message)}},et={draw:tt},ht={parser:B,db:Q,renderer:et,styles:Z};export{ht as diagram};
|
BIN
static/assets/inter-cyrillic-400-normal-KERN74A3.woff2
Normal file
BIN
static/assets/inter-cyrillic-400-normal-KERN74A3.woff2
Normal file
Binary file not shown.
BIN
static/assets/inter-cyrillic-400-normal-RS7XBEVO.woff
Normal file
BIN
static/assets/inter-cyrillic-400-normal-RS7XBEVO.woff
Normal file
Binary file not shown.
BIN
static/assets/inter-cyrillic-500-normal-2IBCLFCN.woff
Normal file
BIN
static/assets/inter-cyrillic-500-normal-2IBCLFCN.woff
Normal file
Binary file not shown.
BIN
static/assets/inter-cyrillic-500-normal-AF6FCL2K.woff2
Normal file
BIN
static/assets/inter-cyrillic-500-normal-AF6FCL2K.woff2
Normal file
Binary file not shown.
BIN
static/assets/inter-cyrillic-600-normal-EDH57UT2.woff
Normal file
BIN
static/assets/inter-cyrillic-600-normal-EDH57UT2.woff
Normal file
Binary file not shown.
BIN
static/assets/inter-cyrillic-600-normal-T4QIFVLQ.woff2
Normal file
BIN
static/assets/inter-cyrillic-600-normal-T4QIFVLQ.woff2
Normal file
Binary file not shown.
BIN
static/assets/inter-cyrillic-ext-400-normal-A23PVI34.woff2
Normal file
BIN
static/assets/inter-cyrillic-ext-400-normal-A23PVI34.woff2
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue