@ucap-llm/ai-ui 1.2.6 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_basePickBy-DFZvgpUj.mjs → _basePickBy-BR860be7.mjs} +2 -2
- package/ai-ui.es.js +1 -1
- package/ai-ui.umd.js +4 -4
- package/{arc-B1hbehSG.mjs → arc-BpShNwHf.mjs} +1 -1
- package/{architecture-4AB2E3PP-B5DR3n4S.mjs → architecture-4AB2E3PP-BdgUjkKI.mjs} +1 -1
- package/{architectureDiagram-IEHRJDOE-iPbGyNGV.mjs → architectureDiagram-IEHRJDOE-CMK8TAcV.mjs} +4 -4
- package/{blockDiagram-JOT3LUYC-B-Pya1Zn.mjs → blockDiagram-JOT3LUYC-CJu3Xv6r.mjs} +4 -4
- package/{c4Diagram-VJAJSXHY-S8cD7CNF.mjs → c4Diagram-VJAJSXHY-BUZin1BW.mjs} +2 -2
- package/{channel-DK3nWCnf.mjs → channel-CpL9seFP.mjs} +1 -1
- package/{chunk-4BMEZGHF-BEmG049J.mjs → chunk-4BMEZGHF-Bd_StXL-.mjs} +1 -1
- package/{chunk-A2AXSNBT-CsXgqPKx.mjs → chunk-A2AXSNBT-BS72H_EQ.mjs} +2 -2
- package/{chunk-AEK57VVT-C2ae2xYR.mjs → chunk-AEK57VVT--Aefuknu.mjs} +2 -2
- package/{chunk-D6G4REZN-CpxhtUpL.mjs → chunk-D6G4REZN-CED0o9vk.mjs} +1 -1
- package/{chunk-RZ5BOZE2-qRG8ZhHH.mjs → chunk-RZ5BOZE2-Bk1Fdoi1.mjs} +1 -1
- package/{chunk-XZIHB7SX-ajV0D-qB.mjs → chunk-XZIHB7SX-DMbx2vRz.mjs} +1 -1
- package/{classDiagram-GIVACNV2-CsG_Bz6Q.mjs → classDiagram-GIVACNV2-CNXn-RAv.mjs} +2 -2
- package/{classDiagram-v2-COTLJTTW-CsG_Bz6Q.mjs → classDiagram-v2-COTLJTTW-CNXn-RAv.mjs} +2 -2
- package/{clone-DJ3yBnPZ.mjs → clone-CcxPvJ0u.mjs} +1 -1
- package/{dagre-OKDRZEBW-DSi3ZICw.mjs → dagre-OKDRZEBW-LEhEkf4r.mjs} +6 -6
- package/{diagram-SSKATNLV-P15Qi3Hu.mjs → diagram-SSKATNLV-C3_C4g67.mjs} +3 -3
- package/{diagram-VNBRO52H-YFxpncCL.mjs → diagram-VNBRO52H-BM9g6nPs.mjs} +3 -3
- package/{erDiagram-Q7BY3M3F-sJ7As3BB.mjs → erDiagram-Q7BY3M3F-4v2R5YvF.mjs} +3 -3
- package/{flowDiagram-4HSFHLVR-BxPjymGp.mjs → flowDiagram-4HSFHLVR-Br2QuSDh.mjs} +3 -3
- package/{ganttDiagram-APWFNJXF-C_tndeIZ.mjs → ganttDiagram-APWFNJXF-pIMiG8pe.mjs} +2 -2
- package/{gitGraph-O2Q2CXLX-DG2rFUYd.mjs → gitGraph-O2Q2CXLX-DhI45WJb.mjs} +1 -1
- package/{gitGraphDiagram-7IBYFJ6S-CzTL9SFO.mjs → gitGraphDiagram-7IBYFJ6S-D_GSlqCW.mjs} +4 -4
- package/{graph-Br45le2O.mjs → graph-CkxR5tWp.mjs} +2 -2
- package/{index-DeVe2fYT.mjs → index-Bbp_B8UC.mjs} +52 -43
- package/info-4N47QTOZ-D2bjKviW.mjs +5 -0
- package/{infoDiagram-PH2N3AL5-BtWwFUrw.mjs → infoDiagram-PH2N3AL5-v1MGNMUZ.mjs} +2 -2
- package/{journeyDiagram-U35MCT3I-BD4v7Tho.mjs → journeyDiagram-U35MCT3I-CEXqCTpw.mjs} +3 -3
- package/{kanban-definition-NDS4AKOZ-BvFTKFs6.mjs → kanban-definition-NDS4AKOZ-Bv6Zl2ZU.mjs} +1 -1
- package/{layout-BI2vRxTF.mjs → layout-DZNUYSmf.mjs} +4 -4
- package/{linear-CDnJTCgr.mjs → linear-B3hVeAcb.mjs} +1 -1
- package/{mermaid-parser.core-Dkxc4pcM.mjs → mermaid-parser.core-DKxcHFXc.mjs} +10 -10
- package/{mindmap-definition-ALO5MXBD-D0uu8Wao.mjs → mindmap-definition-ALO5MXBD-CLj7_wHa.mjs} +1 -1
- package/package.json +2 -2
- package/{packet-KVYON367-JA5Pjhjl.mjs → packet-KVYON367-D7gpDaTL.mjs} +1 -1
- package/pie-R6RNRRYF-Dh4QZEuQ.mjs +5 -0
- package/{pieDiagram-IB7DONF6-BiRx87PK.mjs → pieDiagram-IB7DONF6-BuKDV1Tk.mjs} +4 -4
- package/{quadrantDiagram-7GDLP6J5-oSk8eMIb.mjs → quadrantDiagram-7GDLP6J5-BLUJ80bI.mjs} +2 -2
- package/{radar-MK3ICKWK-Nv1bjQpk.mjs → radar-MK3ICKWK-IYrcjqsQ.mjs} +1 -1
- package/{reduce-rKNe6dOq.mjs → reduce-7dHT7JFf.mjs} +1 -1
- package/{requirementDiagram-KVF5MWMF-BMw-tAyf.mjs → requirementDiagram-KVF5MWMF-BQdhN2Ua.mjs} +2 -2
- package/{sankeyDiagram-QLVOVGJD-Di2hd5LJ.mjs → sankeyDiagram-QLVOVGJD-9lvGMIDw.mjs} +1 -1
- package/{sequenceDiagram-X6HHIX6F-B5rJIkEi.mjs → sequenceDiagram-X6HHIX6F-DR6jq_cZ.mjs} +3 -3
- package/{stateDiagram-DGXRK772-C7VfR82U.mjs → stateDiagram-DGXRK772-DPqlJPZK.mjs} +4 -4
- package/{stateDiagram-v2-YXO3MK2T-CAtvNl2z.mjs → stateDiagram-v2-YXO3MK2T-Cg2lz86f.mjs} +2 -2
- package/{timeline-definition-BDJGKUSR-BP150YKh.mjs → timeline-definition-BDJGKUSR-BjlwYSyp.mjs} +2 -2
- package/{xychartDiagram-VJFVF3MP-Cy0s41Rz.mjs → xychartDiagram-VJFVF3MP-CutvmU0b.mjs} +2 -2
- package/info-4N47QTOZ-YO0y_SXD.mjs +0 -5
- package/pie-R6RNRRYF-CECBNssi.mjs +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as x, a as b, e as v, g as P, h as p, j as w, k as I, t as N, l as A } from "./reduce-
|
|
2
|
-
import { aM as g, az as E, aN as M, aO as c, aP as F, aQ as l, aE as T, aR as _, aS as $, aT as B, aU as S, aV as y } from "./index-
|
|
1
|
+
import { d as x, a as b, e as v, g as P, h as p, j as w, k as I, t as N, l as A } from "./reduce-7dHT7JFf.mjs";
|
|
2
|
+
import { aM as g, az as E, aN as M, aO as c, aP as F, aQ as l, aE as T, aR as _, aS as $, aT as B, aU as S, aV as y } from "./index-Bbp_B8UC.mjs";
|
|
3
3
|
var R = /\s/;
|
|
4
4
|
function z(n) {
|
|
5
5
|
for (var r = n.length; r-- && R.test(n.charAt(r)); )
|
package/ai-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN as i, bM as r, bQ as b, bP as t, bO as e, bR as A, bV as o, bS as d, bU as h, bW as n, bT as C, bK as c, bX as u, bL as l } from "./index-
|
|
1
|
+
import { bN as i, bM as r, bQ as b, bP as t, bO as e, bR as A, bV as o, bS as d, bU as h, bW as n, bT as C, bK as c, bX as u, bL as l } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
export {
|
|
3
3
|
i as AiChat,
|
|
4
4
|
r as AiChatList,
|
package/ai-ui.umd.js
CHANGED
|
@@ -780,11 +780,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
780
780
|
<div class="fail-title">Mermaid \u8BED\u6CD5\u89E3\u6790\u5931\u8D25!</div>
|
|
781
781
|
<div>${n}</div>
|
|
782
782
|
\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u524D\u5F80 Mermaid \u5B98\u7F51\u6765\u6821\u9A8C\u4F60\u7684\u5185\u5BB9, \u6216\u8005\u67E5\u770B<a href='https://mermaid.live/edit' target='_blank'>\u76F8\u5173\u6587\u6863</a>
|
|
783
|
-
</div>`}).finally(()=>{ZJ.set(t,{eleid:r,element:document.getElementById(r)})}),`<div class="mermaid-wrap" id="${r}">${r}</div>`}}else{const r=hx.getLanguage(e)?e:"plaintext";return`<pre><code class="hljs language-${r}">${hx.highlight(t,{language:r}).value}</code></pre>`}}},extensions:[{name:"no-single-tilde",level:"inline",start(t){var e;return(e=t.match(/~[^~]/))==null?void 0:e.index},tokenizer(t){const e=t.match(/^~([^~]+)~/);if(e)return{type:"text",raw:e[0],text:e[0]}}}]});function wUt(t){const e=[];let r=0;return t=t.replace(/\$\$([\s\S]*?)\$\$/g,n=>{const i=`__PROTECTED_MATH_BLOCK_${r}__`;return e[r]=n,r++,i}),t=t.replace(/\$([^\$\n]+?)\$/g,n=>{const
|
|
784
|
-
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/ {2,}/g," ").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\v/g,"\v")}function MUt(t){const{markdown:e,protectedRegions:r}=wUt(t),n=OUt(e);return AUt(n,r)}const RUt=/(
|
|
783
|
+
</div>`}).finally(()=>{ZJ.set(t,{eleid:r,element:document.getElementById(r)})}),`<div class="mermaid-wrap" id="${r}">${r}</div>`}}else{const r=hx.getLanguage(e)?e:"plaintext";return`<pre><code class="hljs language-${r}">${hx.highlight(t,{language:r}).value}</code></pre>`}}},extensions:[{name:"no-single-tilde",level:"inline",start(t){var e;return(e=t.match(/~[^~]/))==null?void 0:e.index},tokenizer(t){const e=t.match(/^~([^~]+)~/);if(e)return{type:"text",raw:e[0],text:e[0]}}}]});function wUt(t){const e=[];let r=0;return t=t.replace(/\$\$([\s\S]*?)\$\$/g,n=>{const i=`__PROTECTED_MATH_BLOCK_${r}__`;return e[r]=n,r++,i}),t=t.replace(/\$([^\$\n]+?)\$/g,(n,i)=>{if(/[\u4e00-\u9fa5。,、“”‘’;:?!【】()《》]/.test(i))return n;const a=`__PROTECTED_INLINE_MATH_${r}__`;return e[r]=n,r++,a}),t=t.replace(/```[\s\S]*?```/g,n=>{const i=`__PROTECTED_CODE_BLOCK_${r}__`;return e[r]=n,r++,i}),t=t.replace(/`([^`]+)`/g,n=>{const i=`__PROTECTED_INLINE_CODE_${r}__`;return e[r]=n,r++,i}),{markdown:t,protectedRegions:e}}function AUt(t,e){let r=t;return e.forEach((n,i)=>{let a="INLINE_CODE";n.startsWith("```")?a="CODE_BLOCK":n.startsWith("$$")?a="MATH_BLOCK":n.startsWith("$")&&(a="INLINE_MATH");const o=`__PROTECTED_${a}_${i}__`;r=r.split(o).join(n)}),r}function OUt(t){return t.replace(/\\n/g,`
|
|
784
|
+
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/ {2,}/g," ").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\v/g,"\v")}function MUt(t){const{markdown:e,protectedRegions:r}=wUt(t),n=OUt(e);return AUt(n,r)}const RUt=/(\n*)(\$\$)([\s\S]*?)(\$\$)/g;function DUt(t){return t.replace(RUt,(e,r,n,i)=>i.startsWith(`
|
|
785
785
|
`)&&i.endsWith(`
|
|
786
786
|
`)&&r.length<2?`
|
|
787
|
-
`.repeat(2-r.length)+e:e)}const kUt=t=>LUt.flow([MUt,DUt,IUt])(t),PUt=cI.parse;cI.parse=function(t,e){const r=kUt(t);return PUt.call(this,r,e)},cI.use(jAt({throwOnError:!1,nonStandard:!0}));function BUt(){return"xxxxx-xxxxx-4xxxx-yxxxx-xxxxx".replace(/[xy]/g,e=>{const r=Math.random()*16|0;return(e==="x"?r:r&3|8).toString()})}function HLe(t,e){if(t){const r=new Date(t),n={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),S:r.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(r.getFullYear()+"").substr(4-RegExp.$1.length)));for(const i in n)new RegExp("("+i+")").test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length===1?n[i]:("00"+n[i]).substr((""+n[i]).length)));return e}else return""}function HUt(t){const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)}function FUt(t){return new Promise((e,r)=>{try{const n=document.createElement("script");n.src=t,document.getElementsByTagName("head")[0].appendChild(n),n.onload=()=>{e()}}catch(n){r(n)}})}function VUt(t){t<.1*1024?t=t.toFixed(2)+"B":t<.1*1024*1024?t=(t/1024).toFixed(2)+"KB":t<.1*1024*1024*1024?t=(t/(1024*1024)).toFixed(2)+"MB":t=(t/(1024*1024*1024)).toFixed(2)+"GB";let e=t+"",r=e.indexOf(".");return e.substr(r+1,2)==="00"?e.substring(0,r)+e.substr(r+3,2):t}function $Ut(t){return/<\/?[\w\s="/.':;#-\/\[\]@]+>/.test(t)}function FLe(t){return new Promise((e,r)=>{try{const n=t.innerHTML,i=t.innerText;if(navigator.clipboard){const a=new DataTransfer;a.setData("text/plain",i),a.setData("text/html",n),navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([i],{type:"text/plain"}),"text/html":new Blob([n],{type:"text/html"})})]).then(()=>{e()}).catch(o=>{r()})}else{let a=document.createElement("textarea");a.readOnly=!0,a.style.position="absolute",a.style.left="-9999px",a.value=i,document.body.appendChild(a),a.select(),document.execCommand("Copy"),document.body.removeChild(a),e()}}catch{r()}})}function dI(t){return new Promise((e,r)=>{try{if(navigator.clipboard&&window.isSecureContext)navigator.clipboard.writeText(t).then(()=>{e()}).catch(()=>{r()});else{let n=document.createElement("textarea");n.readOnly=!0,n.style.position="absolute",n.style.left="-9999px",n.value=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),document.body.removeChild(n),e()}}catch{r()}})}const VLe=cI,UUt=Object.freeze(Object.defineProperty({__proto__:null,bytesToSize:VUt,copy:FLe,copyText:dI,dateFmt:HLe,guid:BUt,isHtmlString:$Ut,loadScript:FUt,loadStyle:HUt,marked:VLe},Symbol.toStringTag,{value:"Module"})),zUt={key:0,class:"ai-loading-message"},GUt=oa({__name:"Loading",props:{theme:{type:String,default:"dark"},message:{type:String,default:""}},setup(t){return(e,r)=>(I.openBlock(),I.createElementBlock("div",{class:I.normalizeClass(["ai-loading",{"ai-loading--theme-light":t.theme==="light"}])},[r[0]||(r[0]=I.createElementVNode("div",{class:"ai-loading-icon"},[I.createElementVNode("div",{class:"bounce1"}),I.createElementVNode("div",{class:"bounce2"}),I.createElementVNode("div",{class:"bounce3"})],-1)),t.message?(I.openBlock(),I.createElementBlock("div",zUt,I.toDisplayString(t.message),1)):I.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-59568942"]]);function $Le(t,e){const r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(e);for(;i!==-1;)n++,i=r.indexOf(e,i+e.length);return n}function Cnn(){}const wu=n5(/[A-Za-z]/),ql=n5(/[\dA-Za-z]/),qUt=n5(/[#-'*+\--9=?A-Z^-~]/);function hI(t){return t!==null&&(t<32||t===127)}const JJ=n5(/\d/),WUt=n5(/[\dA-Fa-f]/),YUt=n5(/[!-/:-@[-`{-~]/);function Gr(t){return t!==null&&t<-2}function la(t){return t!==null&&(t<0||t===32)}function si(t){return t===-2||t===-1||t===32}const fI=n5(new RegExp("\\p{P}|\\p{S}","u")),r7=n5(/\s/);function n5(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function jUt(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const xE=function(t){if(t==null)return JUt;if(typeof t=="function")return pI(t);if(typeof t=="object")return Array.isArray(t)?XUt(t):KUt(t);if(typeof t=="string")return ZUt(t);throw new Error("Expected function, string, or object as test")};function XUt(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=xE(t[r]);return pI(n);function n(...i){let a=-1;for(;++a<e.length;)if(e[a].apply(this,i))return!0;return!1}}function KUt(t){const e=t;return pI(r);function r(n){const i=n;let a;for(a in t)if(i[a]!==e[a])return!1;return!0}}function ZUt(t){return pI(e);function e(r){return r&&r.type===t}}function pI(t){return e;function e(r,n,i){return!!(ezt(r)&&t.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function JUt(){return!0}function ezt(t){return t!==null&&typeof t=="object"&&"type"in t}function Lnn(t){return t}const ULe=[],tzt=!0,eee=!1,tee="skip";function gI(t,e,r,n){let i;typeof e=="function"&&typeof r!="function"?(n=r,r=e):i=e;const a=xE(i),o=n?-1:1;s(t,void 0,[])();function s(l,u,d){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=ULe,g,m,T;if((!e||a(l,u,d[d.length-1]||void 0))&&(p=rzt(r(l,d)),p[0]===eee))return p;if("children"in l&&l.children){const v=l;if(v.children&&p[0]!==tee)for(m=(n?v.children.length:-1)+o,T=d.concat(v);m>-1&&m<v.children.length;){const y=v.children[m];if(g=s(y,m,T)(),g[0]===eee)return g;m=typeof g[1]=="number"?g[1]:m+o}}return p}}}function rzt(t){return Array.isArray(t)?t:typeof t=="number"?[tzt,t]:t==null?ULe:[t]}function ree(t,e,r){const i=xE((r||{}).ignore||[]),a=nzt(e);let o=-1;for(;++o<a.length;)gI(t,"text",s);function s(u,d){let h=-1,f;for(;++h<d.length;){const p=d[h],g=f?f.children:void 0;if(i(p,g?g.indexOf(p):void 0,f))return;f=p}if(f)return l(u,d)}function l(u,d){const h=d[d.length-1],f=a[o][0],p=a[o][1];let g=0;const T=h.children.indexOf(u);let v=!1,y=[];f.lastIndex=0;let _=f.exec(u.value);for(;_;){const Q=_.index,b={index:_.index,input:_.input,stack:[...d,u]};let x=p(..._,b);if(typeof x=="string"&&(x=x.length>0?{type:"text",value:x}:void 0),x===!1?f.lastIndex=Q+1:(g!==Q&&y.push({type:"text",value:u.value.slice(g,Q)}),Array.isArray(x)?y.push(...x):x&&y.push(x),g=Q+_[0].length,v=!0),!f.global)break;_=f.exec(u.value)}return v?(g<u.value.length&&y.push({type:"text",value:u.value.slice(g)}),h.children.splice(T,1,...y)):y=[u],T+y.length}}function nzt(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!t[0]||Array.isArray(t[0])?t:[t];let n=-1;for(;++n<r.length;){const i=r[n];e.push([izt(i[0]),azt(i[1])])}return e}function izt(t){return typeof t=="string"?new RegExp(jUt(t),"g"):t}function azt(t){return typeof t=="function"?t:function(){return t}}const nee="phrasing",iee=["autolink","link","image","label"];function ozt(){return{transforms:[fzt],enter:{literalAutolink:lzt,literalAutolinkEmail:aee,literalAutolinkHttp:aee,literalAutolinkWww:aee},exit:{literalAutolink:hzt,literalAutolinkEmail:dzt,literalAutolinkHttp:uzt,literalAutolinkWww:czt}}}function szt(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:nee,notInConstruct:iee},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:nee,notInConstruct:iee},{character:":",before:"[ps]",after:"\\/",inConstruct:nee,notInConstruct:iee}]}}function lzt(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function aee(t){this.config.enter.autolinkProtocol.call(this,t)}function uzt(t){this.config.exit.autolinkProtocol.call(this,t)}function czt(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function dzt(t){this.config.exit.autolinkEmail.call(this,t)}function hzt(t){this.exit(t)}function fzt(t){ree(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pzt],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),gzt]],{ignore:["link","linkReference"]})}function pzt(t,e,r,n,i){let a="";if(!zLe(i)||(/^w/i.test(e)&&(r=e+r,e="",a="http://"),!mzt(r)))return!1;const o=Tzt(r+n);if(!o[0])return!1;const s={type:"link",title:null,url:a+e+o[0],children:[{type:"text",value:e+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function gzt(t,e,r,n){return!zLe(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+r,children:[{type:"text",value:e+"@"+r}]}}function mzt(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function Tzt(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],n=r.indexOf(")");const i=$Le(t,"(");let a=$Le(t,")");for(;n!==-1&&i>a;)t+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[t,r]}function zLe(t,e){const r=t.input.charCodeAt(t.index-1);return(t.index===0||r7(r)||fI(r))&&(!e||r!==47)}function I0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}GLe.peek=Czt;function vzt(){this.buffer()}function yzt(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function _zt(){this.buffer()}function bzt(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function Qzt(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=I0(this.sliceSerialize(t)).toLowerCase(),r.label=e}function xzt(t){this.exit(t)}function Ezt(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=I0(this.sliceSerialize(t)).toLowerCase(),r.label=e}function Szt(t){this.exit(t)}function Czt(){return"["}function GLe(t,e,r,n){const i=r.createTracker(n);let a=i.move("[^");const o=r.enter("footnoteReference"),s=r.enter("reference");return a+=i.move(r.safe(r.associationId(t),{after:"]",before:a})),s(),o(),a+=i.move("]"),a}function Lzt(){return{enter:{gfmFootnoteCallString:vzt,gfmFootnoteCall:yzt,gfmFootnoteDefinitionLabelString:_zt,gfmFootnoteDefinition:bzt},exit:{gfmFootnoteCallString:Qzt,gfmFootnoteCall:xzt,gfmFootnoteDefinitionLabelString:Ezt,gfmFootnoteDefinition:Szt}}}function wzt(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:r,footnoteReference:GLe},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,o){const s=a.createTracker(o);let l=s.move("[^");const u=a.enter("footnoteDefinition"),d=a.enter("label");return l+=s.move(a.safe(a.associationId(n),{before:l,after:"]"})),d(),l+=s.move("]:"),n.children&&n.children.length>0&&(s.shift(4),l+=s.move((e?`
|
|
787
|
+
`.repeat(2-r.length)+e:e)}const NUt=/(?:https?:\/\/|www\.)?[a-zA-Z0-9][-a-zA-Z0-9.]+(?:\.[a-zA-Z]{2,})(?:\/[^\s\)\[\]\}\u4e00-\u9fa5。()"'“”‘’}]*)?(?:\?[^\s\)\[\]\}\u4e00-\u9fa5。()"'“”‘’}]*)?(?:#[^\s\)\[\]\}\u4e00-\u9fa5。()"'“”‘’}]*)?/g;function IUt(t){return t.replace(NUt,e=>` ${e} `)}const kUt=t=>LUt.flow([MUt,IUt,DUt])(t),PUt=cI.parse;cI.parse=function(t,e){const r=kUt(t);return console.log("Processed Markdown:",r),PUt.call(this,r,e)},cI.use(jAt({throwOnError:!1,nonStandard:!1}));function BUt(){return"xxxxx-xxxxx-4xxxx-yxxxx-xxxxx".replace(/[xy]/g,e=>{const r=Math.random()*16|0;return(e==="x"?r:r&3|8).toString()})}function HLe(t,e){if(t){const r=new Date(t),n={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),S:r.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(r.getFullYear()+"").substr(4-RegExp.$1.length)));for(const i in n)new RegExp("("+i+")").test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length===1?n[i]:("00"+n[i]).substr((""+n[i]).length)));return e}else return""}function HUt(t){const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)}function FUt(t){return new Promise((e,r)=>{try{const n=document.createElement("script");n.src=t,document.getElementsByTagName("head")[0].appendChild(n),n.onload=()=>{e()}}catch(n){r(n)}})}function VUt(t){t<.1*1024?t=t.toFixed(2)+"B":t<.1*1024*1024?t=(t/1024).toFixed(2)+"KB":t<.1*1024*1024*1024?t=(t/(1024*1024)).toFixed(2)+"MB":t=(t/(1024*1024*1024)).toFixed(2)+"GB";let e=t+"",r=e.indexOf(".");return e.substr(r+1,2)==="00"?e.substring(0,r)+e.substr(r+3,2):t}function $Ut(t){return/<\/?[\w\s="/.':;#-\/\[\]@]+>/.test(t)}function FLe(t){return new Promise((e,r)=>{try{const n=t.innerHTML,i=t.innerText;if(navigator.clipboard){const a=new DataTransfer;a.setData("text/plain",i),a.setData("text/html",n),navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([i],{type:"text/plain"}),"text/html":new Blob([n],{type:"text/html"})})]).then(()=>{e()}).catch(o=>{r()})}else{let a=document.createElement("textarea");a.readOnly=!0,a.style.position="absolute",a.style.left="-9999px",a.value=i,document.body.appendChild(a),a.select(),document.execCommand("Copy"),document.body.removeChild(a),e()}}catch{r()}})}function dI(t){return new Promise((e,r)=>{try{if(navigator.clipboard&&window.isSecureContext)navigator.clipboard.writeText(t).then(()=>{e()}).catch(()=>{r()});else{let n=document.createElement("textarea");n.readOnly=!0,n.style.position="absolute",n.style.left="-9999px",n.value=t,document.body.appendChild(n),n.select(),document.execCommand("Copy"),document.body.removeChild(n),e()}}catch{r()}})}const VLe=cI,UUt=Object.freeze(Object.defineProperty({__proto__:null,bytesToSize:VUt,copy:FLe,copyText:dI,dateFmt:HLe,guid:BUt,isHtmlString:$Ut,loadScript:FUt,loadStyle:HUt,marked:VLe},Symbol.toStringTag,{value:"Module"})),zUt={key:0,class:"ai-loading-message"},GUt=oa({__name:"Loading",props:{theme:{type:String,default:"dark"},message:{type:String,default:""}},setup(t){return(e,r)=>(I.openBlock(),I.createElementBlock("div",{class:I.normalizeClass(["ai-loading",{"ai-loading--theme-light":t.theme==="light"}])},[r[0]||(r[0]=I.createElementVNode("div",{class:"ai-loading-icon"},[I.createElementVNode("div",{class:"bounce1"}),I.createElementVNode("div",{class:"bounce2"}),I.createElementVNode("div",{class:"bounce3"})],-1)),t.message?(I.openBlock(),I.createElementBlock("div",zUt,I.toDisplayString(t.message),1)):I.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-59568942"]]);function $Le(t,e){const r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(e);for(;i!==-1;)n++,i=r.indexOf(e,i+e.length);return n}function Cnn(){}const wu=n5(/[A-Za-z]/),ql=n5(/[\dA-Za-z]/),qUt=n5(/[#-'*+\--9=?A-Z^-~]/);function hI(t){return t!==null&&(t<32||t===127)}const JJ=n5(/\d/),WUt=n5(/[\dA-Fa-f]/),YUt=n5(/[!-/:-@[-`{-~]/);function Gr(t){return t!==null&&t<-2}function la(t){return t!==null&&(t<0||t===32)}function si(t){return t===-2||t===-1||t===32}const fI=n5(new RegExp("\\p{P}|\\p{S}","u")),r7=n5(/\s/);function n5(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function jUt(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const xE=function(t){if(t==null)return JUt;if(typeof t=="function")return pI(t);if(typeof t=="object")return Array.isArray(t)?XUt(t):KUt(t);if(typeof t=="string")return ZUt(t);throw new Error("Expected function, string, or object as test")};function XUt(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=xE(t[r]);return pI(n);function n(...i){let a=-1;for(;++a<e.length;)if(e[a].apply(this,i))return!0;return!1}}function KUt(t){const e=t;return pI(r);function r(n){const i=n;let a;for(a in t)if(i[a]!==e[a])return!1;return!0}}function ZUt(t){return pI(e);function e(r){return r&&r.type===t}}function pI(t){return e;function e(r,n,i){return!!(ezt(r)&&t.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function JUt(){return!0}function ezt(t){return t!==null&&typeof t=="object"&&"type"in t}function Lnn(t){return t}const ULe=[],tzt=!0,eee=!1,tee="skip";function gI(t,e,r,n){let i;typeof e=="function"&&typeof r!="function"?(n=r,r=e):i=e;const a=xE(i),o=n?-1:1;s(t,void 0,[])();function s(l,u,d){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=ULe,g,m,T;if((!e||a(l,u,d[d.length-1]||void 0))&&(p=rzt(r(l,d)),p[0]===eee))return p;if("children"in l&&l.children){const v=l;if(v.children&&p[0]!==tee)for(m=(n?v.children.length:-1)+o,T=d.concat(v);m>-1&&m<v.children.length;){const y=v.children[m];if(g=s(y,m,T)(),g[0]===eee)return g;m=typeof g[1]=="number"?g[1]:m+o}}return p}}}function rzt(t){return Array.isArray(t)?t:typeof t=="number"?[tzt,t]:t==null?ULe:[t]}function ree(t,e,r){const i=xE((r||{}).ignore||[]),a=nzt(e);let o=-1;for(;++o<a.length;)gI(t,"text",s);function s(u,d){let h=-1,f;for(;++h<d.length;){const p=d[h],g=f?f.children:void 0;if(i(p,g?g.indexOf(p):void 0,f))return;f=p}if(f)return l(u,d)}function l(u,d){const h=d[d.length-1],f=a[o][0],p=a[o][1];let g=0;const T=h.children.indexOf(u);let v=!1,y=[];f.lastIndex=0;let _=f.exec(u.value);for(;_;){const Q=_.index,b={index:_.index,input:_.input,stack:[...d,u]};let x=p(..._,b);if(typeof x=="string"&&(x=x.length>0?{type:"text",value:x}:void 0),x===!1?f.lastIndex=Q+1:(g!==Q&&y.push({type:"text",value:u.value.slice(g,Q)}),Array.isArray(x)?y.push(...x):x&&y.push(x),g=Q+_[0].length,v=!0),!f.global)break;_=f.exec(u.value)}return v?(g<u.value.length&&y.push({type:"text",value:u.value.slice(g)}),h.children.splice(T,1,...y)):y=[u],T+y.length}}function nzt(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!t[0]||Array.isArray(t[0])?t:[t];let n=-1;for(;++n<r.length;){const i=r[n];e.push([izt(i[0]),azt(i[1])])}return e}function izt(t){return typeof t=="string"?new RegExp(jUt(t),"g"):t}function azt(t){return typeof t=="function"?t:function(){return t}}const nee="phrasing",iee=["autolink","link","image","label"];function ozt(){return{transforms:[fzt],enter:{literalAutolink:lzt,literalAutolinkEmail:aee,literalAutolinkHttp:aee,literalAutolinkWww:aee},exit:{literalAutolink:hzt,literalAutolinkEmail:dzt,literalAutolinkHttp:uzt,literalAutolinkWww:czt}}}function szt(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:nee,notInConstruct:iee},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:nee,notInConstruct:iee},{character:":",before:"[ps]",after:"\\/",inConstruct:nee,notInConstruct:iee}]}}function lzt(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function aee(t){this.config.enter.autolinkProtocol.call(this,t)}function uzt(t){this.config.exit.autolinkProtocol.call(this,t)}function czt(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function dzt(t){this.config.exit.autolinkEmail.call(this,t)}function hzt(t){this.exit(t)}function fzt(t){ree(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pzt],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),gzt]],{ignore:["link","linkReference"]})}function pzt(t,e,r,n,i){let a="";if(!zLe(i)||(/^w/i.test(e)&&(r=e+r,e="",a="http://"),!mzt(r)))return!1;const o=Tzt(r+n);if(!o[0])return!1;const s={type:"link",title:null,url:a+e+o[0],children:[{type:"text",value:e+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function gzt(t,e,r,n){return!zLe(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+r,children:[{type:"text",value:e+"@"+r}]}}function mzt(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function Tzt(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],n=r.indexOf(")");const i=$Le(t,"(");let a=$Le(t,")");for(;n!==-1&&i>a;)t+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[t,r]}function zLe(t,e){const r=t.input.charCodeAt(t.index-1);return(t.index===0||r7(r)||fI(r))&&(!e||r!==47)}function I0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}GLe.peek=Czt;function vzt(){this.buffer()}function yzt(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function _zt(){this.buffer()}function bzt(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function Qzt(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=I0(this.sliceSerialize(t)).toLowerCase(),r.label=e}function xzt(t){this.exit(t)}function Ezt(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=I0(this.sliceSerialize(t)).toLowerCase(),r.label=e}function Szt(t){this.exit(t)}function Czt(){return"["}function GLe(t,e,r,n){const i=r.createTracker(n);let a=i.move("[^");const o=r.enter("footnoteReference"),s=r.enter("reference");return a+=i.move(r.safe(r.associationId(t),{after:"]",before:a})),s(),o(),a+=i.move("]"),a}function Lzt(){return{enter:{gfmFootnoteCallString:vzt,gfmFootnoteCall:yzt,gfmFootnoteDefinitionLabelString:_zt,gfmFootnoteDefinition:bzt},exit:{gfmFootnoteCallString:Qzt,gfmFootnoteCall:xzt,gfmFootnoteDefinitionLabelString:Ezt,gfmFootnoteDefinition:Szt}}}function wzt(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:r,footnoteReference:GLe},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,o){const s=a.createTracker(o);let l=s.move("[^");const u=a.enter("footnoteDefinition"),d=a.enter("label");return l+=s.move(a.safe(a.associationId(n),{before:l,after:"]"})),d(),l+=s.move("]:"),n.children&&n.children.length>0&&(s.shift(4),l+=s.move((e?`
|
|
788
788
|
`:" ")+a.indentLines(a.containerFlow(n,s.current()),e?qLe:Azt))),u(),l}}function Azt(t,e,r){return e===0?t:qLe(t,e,r)}function qLe(t,e,r){return(r?"":" ")+t}const Ozt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];WLe.peek=Izt;function Mzt(){return{canContainEols:["delete"],enter:{strikethrough:Dzt},exit:{strikethrough:Nzt}}}function Rzt(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ozt}],handlers:{delete:WLe}}}function Dzt(t){this.enter({type:"delete",children:[]},t)}function Nzt(t){this.exit(t)}function WLe(t,e,r,n){const i=r.createTracker(n),a=r.enter("strikethrough");let o=i.move("~~");return o+=r.containerPhrasing(t,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function Izt(){return"~"}function kzt(t){return t.length}function Pzt(t,e){const r=e||{},n=(r.align||[]).concat(),i=r.stringLength||kzt,a=[],o=[],s=[],l=[];let u=0,d=-1;for(;++d<t.length;){const m=[],T=[];let v=-1;for(t[d].length>u&&(u=t[d].length);++v<t[d].length;){const y=Bzt(t[d][v]);if(r.alignDelimiters!==!1){const _=i(y);T[v]=_,(l[v]===void 0||_>l[v])&&(l[v]=_)}m.push(y)}o[d]=m,s[d]=T}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<u;)a[h]=YLe(n[h]);else{const m=YLe(n);for(;++h<u;)a[h]=m}h=-1;const f=[],p=[];for(;++h<u;){const m=a[h];let T="",v="";m===99?(T=":",v=":"):m===108?T=":":m===114&&(v=":");let y=r.alignDelimiters===!1?1:Math.max(1,l[h]-T.length-v.length);const _=T+"-".repeat(y)+v;r.alignDelimiters!==!1&&(y=T.length+y+v.length,y>l[h]&&(l[h]=y),p[h]=y),f[h]=_}o.splice(1,0,f),s.splice(1,0,p),d=-1;const g=[];for(;++d<o.length;){const m=o[d],T=s[d];h=-1;const v=[];for(;++h<u;){const y=m[h]||"";let _="",Q="";if(r.alignDelimiters!==!1){const b=l[h]-(T[h]||0),x=a[h];x===114?_=" ".repeat(b):x===99?b%2?(_=" ".repeat(b/2+.5),Q=" ".repeat(b/2-.5)):(_=" ".repeat(b/2),Q=_):Q=" ".repeat(b)}r.delimiterStart!==!1&&!h&&v.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&y==="")&&(r.delimiterStart!==!1||h)&&v.push(" "),r.alignDelimiters!==!1&&v.push(_),v.push(y),r.alignDelimiters!==!1&&v.push(Q),r.padding!==!1&&v.push(" "),(r.delimiterEnd!==!1||h!==u-1)&&v.push("|")}g.push(r.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return g.join(`
|
|
789
789
|
`)}function Bzt(t){return t==null?"":String(t)}function YLe(t){const e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}const jLe={}.hasOwnProperty;function XLe(t,e){const r=e||{};function n(i,...a){let o=n.invalid;const s=n.handlers;if(i&&jLe.call(i,t)){const l=String(i[t]);o=jLe.call(s,l)?s[l]:n.unknown}if(o)return o.call(this,i,...a)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function Hzt(t,e,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const o=r.indentLines(r.containerFlow(t,a.current()),Fzt);return i(),o}function Fzt(t,e,r){return">"+(r?"":" ")+t}function Vzt(t,e){return KLe(t,e.inConstruct,!0)&&!KLe(t,e.notInConstruct,!1)}function KLe(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let n=-1;for(;++n<e.length;)if(t.includes(e[n]))return!0;return!1}function ZLe(t,e,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
|
|
790
790
|
`&&Vzt(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
@@ -867,7 +867,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
867
867
|
`});++n<t.length;)n&&r.push({type:"text",value:`
|
|
868
868
|
`}),r.push(t[n]);return e&&t.length>0&&r.push({type:"text",value:`
|
|
869
869
|
`}),r}function rPe(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function nPe(t,e){const r=Drr(t,e),n=r.one(t,void 0),i=Mrr(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
|
|
870
|
-
`},i),a}function Brr(t,e){return t&&"run"in t?async function(r,n){const i=nPe(r,{file:n,...e});await t.run(i,n)}:function(r,n){return nPe(r,{file:n,...t||e})}}function iPe(t){if(t)throw t}var bte,aPe;function Hrr(){if(aPe)return bte;aPe=1;var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=function(u){return typeof Array.isArray=="function"?Array.isArray(u):e.call(u)==="[object Array]"},a=function(u){if(!u||e.call(u)!=="[object Object]")return!1;var d=t.call(u,"constructor"),h=u.constructor&&u.constructor.prototype&&t.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!h)return!1;var f;for(f in u);return typeof f>"u"||t.call(u,f)},o=function(u,d){r&&d.name==="__proto__"?r(u,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):u[d.name]=d.newValue},s=function(u,d){if(d==="__proto__")if(t.call(u,d)){if(n)return n(u,d).value}else return;return u[d]};return bte=function l(){var u,d,h,f,p,g,m=arguments[0],T=1,v=arguments.length,y=!1;for(typeof m=="boolean"&&(y=m,m=arguments[1]||{},T=2),(m==null||typeof m!="object"&&typeof m!="function")&&(m={});T<v;++T)if(u=arguments[T],u!=null)for(d in u)h=s(m,d),f=s(u,d),m!==f&&(y&&f&&(a(f)||(p=i(f)))?(p?(p=!1,g=h&&i(h)?h:[]):g=h&&a(h)?h:{},o(m,{name:d,newValue:l(y,g,f)})):typeof f<"u"&&o(m,{name:d,newValue:f}));return m},bte}var Frr=Hrr();const Qte=$h(Frr);function xte(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vrr(){const t=[],e={run:r,use:n};return e;function r(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(l,...u){const d=t[++a];let h=-1;if(l){o(l);return}for(;++h<i.length;)(u[h]===null||u[h]===void 0)&&(u[h]=i[h]);i=u,d?$rr(d,s)(...u):o(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function $rr(t,e){let r;return n;function n(...o){const s=t.length>o.length;let l;s&&o.push(i);try{l=t.apply(this,o)}catch(u){const d=u;if(s&&r)throw d;return i(d)}s||(l&&l.then&&typeof l.then=="function"?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){r||(r=!0,e(o,...s))}function a(o){i(null,o)}}class _c extends Error{constructor(e,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},o=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof e=="string"?i=e:!a.cause&&e&&(o=!0,i=e.message,a.cause=e),!a.ruleId&&!a.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?a.ruleId=n:(a.source=n.slice(0,l),a.ruleId=n.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=MC(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}_c.prototype.file="",_c.prototype.name="",_c.prototype.reason="",_c.prototype.message="",_c.prototype.stack="",_c.prototype.column=void 0,_c.prototype.line=void 0,_c.prototype.ancestors=void 0,_c.prototype.cause=void 0,_c.prototype.fatal=void 0,_c.prototype.place=void 0,_c.prototype.ruleId=void 0,_c.prototype.source=void 0;const C3={basename:Urr,dirname:zrr,extname:Grr,join:qrr,sep:"/"};function Urr(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');RC(t);let r=0,n=-1,i=t.length,a;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":t.slice(r,n)}if(e===t)return"";let o=-1,s=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(t.codePointAt(i)===e.codePointAt(s--)?s<0&&(n=i):(s=-1,n=o));return r===n?n=o:n<0&&(n=t.length),t.slice(r,n)}function zrr(t){if(RC(t),t.length===0)return".";let e=-1,r=t.length,n;for(;--r;)if(t.codePointAt(r)===47){if(n){e=r;break}}else n||(n=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function Grr(t){RC(t);let e=t.length,r=-1,n=0,i=-1,a=0,o;for(;e--;){const s=t.codePointAt(e);if(s===47){if(o){n=e+1;break}continue}r<0&&(o=!0,r=e+1),s===46?i<0?i=e:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":t.slice(i,r)}function qrr(...t){let e=-1,r;for(;++e<t.length;)RC(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":Wrr(r)}function Wrr(t){RC(t);const e=t.codePointAt(0)===47;let r=Yrr(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function Yrr(t,e){let r="",n=0,i=-1,a=0,o=-1,s,l;for(;++o<=t.length;){if(o<t.length)s=t.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}e&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+t.slice(i+1,o):r=t.slice(i+1,o),n=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return r}function RC(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const jrr={cwd:Xrr};function Xrr(){return"/"}function Ete(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function Krr(t){if(typeof t=="string")t=new URL(t);else if(!Ete(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Zrr(t)}function Zrr(t){if(t.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const e=t.pathname;let r=-1;for(;++r<e.length;)if(e.codePointAt(r)===37&&e.codePointAt(r+1)===50){const n=e.codePointAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const Ste=["history","path","basename","stem","extname","dirname"];class oPe{constructor(e){let r;e?Ete(e)?r={path:e}:typeof e=="string"||Jrr(e)?r={value:e}:r=e:r={},this.cwd="cwd"in r?"":jrr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Ste.length;){const a=Ste[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Ste.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?C3.basename(this.path):void 0}set basename(e){Lte(e,"basename"),Cte(e,"basename"),this.path=C3.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?C3.dirname(this.path):void 0}set dirname(e){sPe(this.basename,"dirname"),this.path=C3.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?C3.extname(this.path):void 0}set extname(e){if(Cte(e,"extname"),sPe(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=C3.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Ete(e)&&(e=Krr(e)),Lte(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?C3.basename(this.path,this.extname):void 0}set stem(e){Lte(e,"stem"),Cte(e,"stem"),this.path=C3.join(this.dirname||"",e+(this.extname||""))}fail(e,r,n){const i=this.message(e,r,n);throw i.fatal=!0,i}info(e,r,n){const i=this.message(e,r,n);return i.fatal=void 0,i}message(e,r,n){const i=new _c(e,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Cte(t,e){if(t&&t.includes(C3.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+C3.sep+"`")}function Lte(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function sPe(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function Jrr(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const enr=function(t){const n=this.constructor.prototype,i=n[t],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a},tnr={}.hasOwnProperty;class wte extends enr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Vrr()}copy(){const e=new wte;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];e.use(...n)}return e.data(Qte(!0,{},this.namespace)),e}data(e,r){return typeof e=="string"?arguments.length===2?(Mte("data",this.frozen),this.namespace[e]=r,this):tnr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Mte("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const i=r.call(e,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const r=VI(e),n=this.parser||this.Parser;return Ate("parse",n),n(String(r),r)}process(e,r){const n=this;return this.freeze(),Ate("process",this.parser||this.Parser),Ote("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){const s=VI(e),l=n.parse(s);n.run(l,s,function(d,h,f){if(d||!h||!f)return u(d);const p=h,g=n.stringify(p,f);inr(g)?f.value=g:f.result=g,u(d,f)});function u(d,h){d||!h?o(d):a?a(h):r(void 0,h)}}}processSync(e){let r=!1,n;return this.freeze(),Ate("processSync",this.parser||this.Parser),Ote("processSync",this.compiler||this.Compiler),this.process(e,i),uPe("processSync","process",r),n;function i(a,o){r=!0,iPe(a),n=o}}run(e,r,n){lPe(e),this.freeze();const i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,s){const l=VI(r);i.run(e,l,u);function u(d,h,f){const p=h||e;d?s(d):o?o(p):n(void 0,p,f)}}}runSync(e,r){let n=!1,i;return this.run(e,r,a),uPe("runSync","run",n),i;function a(o,s){iPe(o),i=s,n=!0}}stringify(e,r){this.freeze();const n=VI(r),i=this.compiler||this.Compiler;return Ote("stringify",i),lPe(e),i(e,n)}use(e,...r){const n=this.attachers,i=this.namespace;if(Mte("use",this.frozen),e!=null)if(typeof e=="function")l(e,r);else if(typeof e=="object")Array.isArray(e)?s(e):o(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function a(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[d,...h]=u;l(d,h)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(u.plugins),u.settings&&(i.settings=Qte(!0,i.settings,u.settings))}function s(u){let d=-1;if(u!=null)if(Array.isArray(u))for(;++d<u.length;){const h=u[d];a(h)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,d){let h=-1,f=-1;for(;++h<n.length;)if(n[h][0]===u){f=h;break}if(f===-1)n.push([u,...d]);else if(d.length>0){let[p,...g]=d;const m=n[f][1];xte(m)&&xte(p)&&(p=Qte(!0,m,p)),n[f]=[u,p,...g]}}}}const rnr=new wte().freeze();function Ate(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Ote(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Mte(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function lPe(t){if(!xte(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function uPe(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function VI(t){return nnr(t)?t:new oPe(t)}function nnr(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function inr(t){return typeof t=="string"||anr(t)}function anr(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const onr=({remarkPlugins:t=[],rehypePlugins:e=[],remarkRehypeOptions:r={allowDangerousHtml:!0},skipHtml:n=!1,disallowedElements:i=[],async:a=!1})=>{const o=I.ref(""),s=I.shallowRef(null),l=I.useSlots(),d=rnr().use(rrr).use(t).use(Brr,r).use(e),h=()=>{const g=new oPe;return g.value=o.value,g};function f(g,m,T){if(g.type==="raw"&&T&&typeof m=="number")return n?T.children.splice(m,1):T.children[m]={type:"text",value:g.value},m;i.includes(g.tagName)&&T.children.splice(m,1)}const p=g=>{if(!g)return null;if(g.type==="root")return I.h("div",g.children.map(m=>p(m)));if(g.type==="text")return l&&l[g.type]?l[g.type]({node:g}):g.value;if(g.type==="raw")return g.value;if(g.type==="element"){const m=g.tagName;if(l&&l[m])return l[m]({node:g});const T=(g.children||[]).map(y=>p(y)),v={...g.properties};return v.className&&(v.class=v.className,delete v.className),I.h(g.tagName,v,T)}return null};return I.watch(o,async(g,m)=>{if(g!==m)try{const T=h(),v=a?await d.run(d.parse(T),T):d.runSync(d.parse(T),T);SE(v,f),s.value=p(v)}catch(T){console.error(T)}}),{content:o,vNodes:s}},Rte=Object.assign({name:"AiMarkdown"},{__name:"Markdown",props:I.mergeDefaults({markdown:{type:String,required:!0},remarkPlugins:Array,rehypePlugins:Array,remarkRehypeOptions:Object,skipHtml:Boolean,disallowedElements:Array,async:Boolean},{remarkPlugins:()=>[],rehypePlugins:()=>[],remarkRehypeOptions:()=>({allowDangerousHtml:!0}),skipHtml:!1,disallowedElements:()=>[],async:!1}),setup(t){const{content:e,vNodes:r}=onr({remarkPlugins:t.remarkPlugins,rehypePlugins:t.rehypePlugins,remarkRehypeOptions:t.remarkRehypeOptions,skipHtml:t.skipHtml,disallowedElements:t.disallowedElements,async:t.async});return I.watchEffect(()=>{e.value=t.markdown}),(n,i)=>(I.openBlock(),I.createBlock(I.resolveDynamicComponent(I.unref(r))))}}),snr={},lnr={class:"code-header"},unr={class:"code-title"},cnr={class:"code-actions"};function dnr(t,e){return I.openBlock(),I.createElementBlock("div",lnr,[I.createElementVNode("div",unr,[I.renderSlot(t.$slots,"title",{},void 0,!0)]),I.createElementVNode("div",cnr,[I.renderSlot(t.$slots,"actions",{},void 0,!0)])])}const Dte=oa(snr,[["render",dnr],["__scopeId","data-v-5fb63e49"]]),hnr={class:"code-num"},fnr=["innerHTML"],pnr=oa({__name:"CodeParser",props:{code:{type:String,required:!0},lang:{type:String,default:"js"}},setup(t){hx.registerLanguage("vue",()=>({subLanguage:"xml"}));const e=I.ref(""),r=I.ref([]);I.watchEffect(()=>{var a;t.code&&(e.value=((a=hx.getLanguage(t.lang))==null?void 0:a.name)??"plaintext",r.value=hx.highlightAuto(t.code).value.split(/\n(?!$)/g))});const n=async()=>{try{await dI(t.code),ma.success("\u590D\u5236\u6210\u529F!")}catch(a){ma.error(a)}},i=()=>{try{const a=new Blob([t.code],{type:"text/plain;charset=utf-8"}),o=URL.createObjectURL(a),s=document.createElement("a");s.href=o;const l=new Date,u=h=>h.toString().padStart(2,"0"),d=`${l.getFullYear()}${u(l.getMonth()+1)}${u(l.getDate())}`;s.download=`${e.value}-${d}.${t.lang||"txt"}`,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(o),ma.success("\u4E0B\u8F7D\u6210\u529F!")}catch(a){ma.error(a)}};return(a,o)=>{const s=Jc,l=k6;return I.openBlock(),I.createElementBlock("pre",null,[o[21]||(o[21]=I.createTextVNode(" ")),I.createVNode(Dte,null,{title:I.withCtx(()=>[o[0]||(o[0]=I.createTextVNode(`
|
|
870
|
+
`},i),a}function Brr(t,e){return t&&"run"in t?async function(r,n){const i=nPe(r,{file:n,...e});await t.run(i,n)}:function(r,n){return nPe(r,{file:n,...t||e})}}function iPe(t){if(t)throw t}var bte,aPe;function Hrr(){if(aPe)return bte;aPe=1;var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=function(u){return typeof Array.isArray=="function"?Array.isArray(u):e.call(u)==="[object Array]"},a=function(u){if(!u||e.call(u)!=="[object Object]")return!1;var d=t.call(u,"constructor"),h=u.constructor&&u.constructor.prototype&&t.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!h)return!1;var f;for(f in u);return typeof f>"u"||t.call(u,f)},o=function(u,d){r&&d.name==="__proto__"?r(u,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):u[d.name]=d.newValue},s=function(u,d){if(d==="__proto__")if(t.call(u,d)){if(n)return n(u,d).value}else return;return u[d]};return bte=function l(){var u,d,h,f,p,g,m=arguments[0],T=1,v=arguments.length,y=!1;for(typeof m=="boolean"&&(y=m,m=arguments[1]||{},T=2),(m==null||typeof m!="object"&&typeof m!="function")&&(m={});T<v;++T)if(u=arguments[T],u!=null)for(d in u)h=s(m,d),f=s(u,d),m!==f&&(y&&f&&(a(f)||(p=i(f)))?(p?(p=!1,g=h&&i(h)?h:[]):g=h&&a(h)?h:{},o(m,{name:d,newValue:l(y,g,f)})):typeof f<"u"&&o(m,{name:d,newValue:f}));return m},bte}var Frr=Hrr();const Qte=$h(Frr);function xte(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Vrr(){const t=[],e={run:r,use:n};return e;function r(...i){let a=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(l,...u){const d=t[++a];let h=-1;if(l){o(l);return}for(;++h<i.length;)(u[h]===null||u[h]===void 0)&&(u[h]=i[h]);i=u,d?$rr(d,s)(...u):o(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function $rr(t,e){let r;return n;function n(...o){const s=t.length>o.length;let l;s&&o.push(i);try{l=t.apply(this,o)}catch(u){const d=u;if(s&&r)throw d;return i(d)}s||(l&&l.then&&typeof l.then=="function"?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){r||(r=!0,e(o,...s))}function a(o){i(null,o)}}class _c extends Error{constructor(e,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},o=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof e=="string"?i=e:!a.cause&&e&&(o=!0,i=e.message,a.cause=e),!a.ruleId&&!a.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?a.ruleId=n:(a.source=n.slice(0,l),a.ruleId=n.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=MC(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}_c.prototype.file="",_c.prototype.name="",_c.prototype.reason="",_c.prototype.message="",_c.prototype.stack="",_c.prototype.column=void 0,_c.prototype.line=void 0,_c.prototype.ancestors=void 0,_c.prototype.cause=void 0,_c.prototype.fatal=void 0,_c.prototype.place=void 0,_c.prototype.ruleId=void 0,_c.prototype.source=void 0;const C3={basename:Urr,dirname:zrr,extname:Grr,join:qrr,sep:"/"};function Urr(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');RC(t);let r=0,n=-1,i=t.length,a;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":t.slice(r,n)}if(e===t)return"";let o=-1,s=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(t.codePointAt(i)===e.codePointAt(s--)?s<0&&(n=i):(s=-1,n=o));return r===n?n=o:n<0&&(n=t.length),t.slice(r,n)}function zrr(t){if(RC(t),t.length===0)return".";let e=-1,r=t.length,n;for(;--r;)if(t.codePointAt(r)===47){if(n){e=r;break}}else n||(n=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function Grr(t){RC(t);let e=t.length,r=-1,n=0,i=-1,a=0,o;for(;e--;){const s=t.codePointAt(e);if(s===47){if(o){n=e+1;break}continue}r<0&&(o=!0,r=e+1),s===46?i<0?i=e:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":t.slice(i,r)}function qrr(...t){let e=-1,r;for(;++e<t.length;)RC(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":Wrr(r)}function Wrr(t){RC(t);const e=t.codePointAt(0)===47;let r=Yrr(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function Yrr(t,e){let r="",n=0,i=-1,a=0,o=-1,s,l;for(;++o<=t.length;){if(o<t.length)s=t.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}e&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+t.slice(i+1,o):r=t.slice(i+1,o),n=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return r}function RC(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const jrr={cwd:Xrr};function Xrr(){return"/"}function Ete(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function Krr(t){if(typeof t=="string")t=new URL(t);else if(!Ete(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Zrr(t)}function Zrr(t){if(t.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const e=t.pathname;let r=-1;for(;++r<e.length;)if(e.codePointAt(r)===37&&e.codePointAt(r+1)===50){const n=e.codePointAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const Ste=["history","path","basename","stem","extname","dirname"];class oPe{constructor(e){let r;e?Ete(e)?r={path:e}:typeof e=="string"||Jrr(e)?r={value:e}:r=e:r={},this.cwd="cwd"in r?"":jrr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Ste.length;){const a=Ste[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Ste.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?C3.basename(this.path):void 0}set basename(e){Lte(e,"basename"),Cte(e,"basename"),this.path=C3.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?C3.dirname(this.path):void 0}set dirname(e){sPe(this.basename,"dirname"),this.path=C3.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?C3.extname(this.path):void 0}set extname(e){if(Cte(e,"extname"),sPe(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=C3.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Ete(e)&&(e=Krr(e)),Lte(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?C3.basename(this.path,this.extname):void 0}set stem(e){Lte(e,"stem"),Cte(e,"stem"),this.path=C3.join(this.dirname||"",e+(this.extname||""))}fail(e,r,n){const i=this.message(e,r,n);throw i.fatal=!0,i}info(e,r,n){const i=this.message(e,r,n);return i.fatal=void 0,i}message(e,r,n){const i=new _c(e,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Cte(t,e){if(t&&t.includes(C3.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+C3.sep+"`")}function Lte(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function sPe(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function Jrr(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const enr=function(t){const n=this.constructor.prototype,i=n[t],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a},tnr={}.hasOwnProperty;class wte extends enr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Vrr()}copy(){const e=new wte;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];e.use(...n)}return e.data(Qte(!0,{},this.namespace)),e}data(e,r){return typeof e=="string"?arguments.length===2?(Mte("data",this.frozen),this.namespace[e]=r,this):tnr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Mte("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const i=r.call(e,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const r=VI(e),n=this.parser||this.Parser;return Ate("parse",n),n(String(r),r)}process(e,r){const n=this;return this.freeze(),Ate("process",this.parser||this.Parser),Ote("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){const s=VI(e),l=n.parse(s);n.run(l,s,function(d,h,f){if(d||!h||!f)return u(d);const p=h,g=n.stringify(p,f);inr(g)?f.value=g:f.result=g,u(d,f)});function u(d,h){d||!h?o(d):a?a(h):r(void 0,h)}}}processSync(e){let r=!1,n;return this.freeze(),Ate("processSync",this.parser||this.Parser),Ote("processSync",this.compiler||this.Compiler),this.process(e,i),uPe("processSync","process",r),n;function i(a,o){r=!0,iPe(a),n=o}}run(e,r,n){lPe(e),this.freeze();const i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,s){const l=VI(r);i.run(e,l,u);function u(d,h,f){const p=h||e;d?s(d):o?o(p):n(void 0,p,f)}}}runSync(e,r){let n=!1,i;return this.run(e,r,a),uPe("runSync","run",n),i;function a(o,s){iPe(o),i=s,n=!0}}stringify(e,r){this.freeze();const n=VI(r),i=this.compiler||this.Compiler;return Ote("stringify",i),lPe(e),i(e,n)}use(e,...r){const n=this.attachers,i=this.namespace;if(Mte("use",this.frozen),e!=null)if(typeof e=="function")l(e,r);else if(typeof e=="object")Array.isArray(e)?s(e):o(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function a(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[d,...h]=u;l(d,h)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(u.plugins),u.settings&&(i.settings=Qte(!0,i.settings,u.settings))}function s(u){let d=-1;if(u!=null)if(Array.isArray(u))for(;++d<u.length;){const h=u[d];a(h)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,d){let h=-1,f=-1;for(;++h<n.length;)if(n[h][0]===u){f=h;break}if(f===-1)n.push([u,...d]);else if(d.length>0){let[p,...g]=d;const m=n[f][1];xte(m)&&xte(p)&&(p=Qte(!0,m,p)),n[f]=[u,p,...g]}}}}const rnr=new wte().freeze();function Ate(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Ote(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Mte(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function lPe(t){if(!xte(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function uPe(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function VI(t){return nnr(t)?t:new oPe(t)}function nnr(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function inr(t){return typeof t=="string"||anr(t)}function anr(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const onr=({remarkPlugins:t=[],rehypePlugins:e=[],remarkRehypeOptions:r={allowDangerousHtml:!0},skipHtml:n=!1,disallowedElements:i=[],async:a=!1})=>{const o=I.ref(""),s=I.shallowRef(null),l=I.useSlots(),d=rnr().use(rrr).use(t).use(Brr,r).use(e),h=()=>{const g=new oPe;return g.value=o.value,g};function f(g,m,T){if(g.type==="raw"&&T&&typeof m=="number")return n?T.children.splice(m,1):T.children[m]={type:"text",value:g.value},m;i.includes(g.tagName)&&T.children.splice(m,1)}const p=g=>{if(!g)return null;if(g.type==="root")return I.h("div",g.children.map(m=>p(m)));if(g.type==="text")return l&&l[g.type]?l[g.type]({node:g}):g.value;if(g.type==="raw")return g.value;if(g.type==="element"){const m=g.tagName;if(l&&l[m])return l[m]({node:g});const T=(g.children||[]).map(_=>p(_)),v={};for(const[_,Q]of Object.entries(g.properties))if(/^(data|aria)[A-Z]/.test(_)){const b=_.replace(/[A-Z]/g,x=>"-"+x.toLowerCase());v[b]=Q}else v[_]=Q;const y={...v};return y.className&&(y.class=y.className,delete y.className),I.h(g.tagName,y,T)}return null};return I.watch(o,async(g,m)=>{if(g!==m)try{const T=h(),v=a?await d.run(d.parse(T),T):d.runSync(d.parse(T),T);SE(v,f),console.log("hast",v),s.value=p(v)}catch(T){console.error(T)}}),{content:o,vNodes:s}},Rte=Object.assign({name:"AiMarkdown"},{__name:"Markdown",props:I.mergeDefaults({markdown:{type:String,required:!0},remarkPlugins:Array,rehypePlugins:Array,remarkRehypeOptions:Object,skipHtml:Boolean,disallowedElements:Array,async:Boolean},{remarkPlugins:()=>[],rehypePlugins:()=>[],remarkRehypeOptions:()=>({allowDangerousHtml:!0}),skipHtml:!1,disallowedElements:()=>[],async:!1}),setup(t){const{content:e,vNodes:r}=onr({remarkPlugins:t.remarkPlugins,rehypePlugins:t.rehypePlugins,remarkRehypeOptions:t.remarkRehypeOptions,skipHtml:t.skipHtml,disallowedElements:t.disallowedElements,async:t.async});return I.watchEffect(()=>{e.value=t.markdown}),(n,i)=>(I.openBlock(),I.createBlock(I.resolveDynamicComponent(I.unref(r))))}}),snr={},lnr={class:"code-header"},unr={class:"code-title"},cnr={class:"code-actions"};function dnr(t,e){return I.openBlock(),I.createElementBlock("div",lnr,[I.createElementVNode("div",unr,[I.renderSlot(t.$slots,"title",{},void 0,!0)]),I.createElementVNode("div",cnr,[I.renderSlot(t.$slots,"actions",{},void 0,!0)])])}const Dte=oa(snr,[["render",dnr],["__scopeId","data-v-5fb63e49"]]),hnr={class:"code-num"},fnr=["innerHTML"],pnr=oa({__name:"CodeParser",props:{code:{type:String,required:!0},lang:{type:String,default:"js"}},setup(t){hx.registerLanguage("vue",()=>({subLanguage:"xml"}));const e=I.ref(""),r=I.ref([]);I.watchEffect(()=>{var a;t.code&&(e.value=((a=hx.getLanguage(t.lang))==null?void 0:a.name)??"plaintext",r.value=hx.highlightAuto(t.code).value.split(/\n(?!$)/g))});const n=async()=>{try{await dI(t.code),ma.success("\u590D\u5236\u6210\u529F!")}catch(a){ma.error(a)}},i=()=>{try{const a=new Blob([t.code],{type:"text/plain;charset=utf-8"}),o=URL.createObjectURL(a),s=document.createElement("a");s.href=o;const l=new Date,u=h=>h.toString().padStart(2,"0"),d=`${l.getFullYear()}${u(l.getMonth()+1)}${u(l.getDate())}`;s.download=`${e.value}-${d}.${t.lang||"txt"}`,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(o),ma.success("\u4E0B\u8F7D\u6210\u529F!")}catch(a){ma.error(a)}};return(a,o)=>{const s=Jc,l=k6;return I.openBlock(),I.createElementBlock("pre",null,[o[21]||(o[21]=I.createTextVNode(" ")),I.createVNode(Dte,null,{title:I.withCtx(()=>[o[0]||(o[0]=I.createTextVNode(`
|
|
871
871
|
`)),I.createElementVNode("span",null,I.toDisplayString(t.lang||"plaintext"),1),o[1]||(o[1]=I.createTextVNode(`
|
|
872
872
|
`))]),actions:I.withCtx(()=>[o[10]||(o[10]=I.createTextVNode(`
|
|
873
873
|
`)),I.createVNode(l,null,{title:I.withCtx(()=>o[2]||(o[2]=[I.createTextVNode("\u590D\u5236")])),default:I.withCtx(()=>[o[3]||(o[3]=I.createTextVNode(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ln, a0 as an, a1 as y, a2 as tn, a3 as G, a4 as q, a5 as _, a6 as un, a7 as z, a8 as rn, a9 as K, aa as o, ab as sn, ac as on, ad as fn } from "./index-
|
|
1
|
+
import { $ as ln, a0 as an, a1 as y, a2 as tn, a3 as G, a4 as q, a5 as _, a6 as un, a7 as z, a8 as rn, a9 as K, aa as o, ab as sn, ac as on, ad as fn } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|
package/{architectureDiagram-IEHRJDOE-iPbGyNGV.mjs → architectureDiagram-IEHRJDOE-CMK8TAcV.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aI as qe, _ as nt, g as Je, s as Qe, a as Ke, b as je, q as _e, p as tr, H as er, U as rr, y as ir, l as Pe, aj as Le, c as ge, aJ as me, d as ar, F as nr, aK as or, aL as sr } from "./index-
|
|
2
|
-
import { p as hr } from "./chunk-4BMEZGHF-
|
|
3
|
-
import { I as lr } from "./chunk-XZIHB7SX-
|
|
4
|
-
import { p as fr } from "./mermaid-parser.core-
|
|
1
|
+
import { aI as qe, _ as nt, g as Je, s as Qe, a as Ke, b as je, q as _e, p as tr, H as er, U as rr, y as ir, l as Pe, aj as Le, c as ge, aJ as me, d as ar, F as nr, aK as or, aL as sr } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { p as hr } from "./chunk-4BMEZGHF-Bd_StXL-.mjs";
|
|
3
|
+
import { I as lr } from "./chunk-XZIHB7SX-DMbx2vRz.mjs";
|
|
4
|
+
import { p as fr } from "./mermaid-parser.core-DKxcHFXc.mjs";
|
|
5
5
|
import { c as Ge } from "./cytoscape.esm-D1A2YP3J.mjs";
|
|
6
6
|
var le = { exports: {} }, fe = { exports: {} }, ce = { exports: {} }, cr = ce.exports, xe;
|
|
7
7
|
function ur() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as d, E as at, d as R, e as de, l as L, y as ge, A as ue, c as z, ah as pe, Q as fe, R as xe, ai as Z, aj as Yt, ak as ye, u as tt, k as be, al as we, am as xt, an as me, i as Tt } from "./index-
|
|
2
|
-
import { c as Le } from "./clone-
|
|
3
|
-
import { G as Se } from "./graph-
|
|
4
|
-
import { c as ve } from "./channel-
|
|
1
|
+
import { _ as d, E as at, d as R, e as de, l as L, y as ge, A as ue, c as z, ah as pe, Q as fe, R as xe, ai as Z, aj as Yt, ak as ye, u as tt, k as be, al as we, am as xt, an as me, i as Tt } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { c as Le } from "./clone-CcxPvJ0u.mjs";
|
|
3
|
+
import { G as Se } from "./graph-CkxR5tWp.mjs";
|
|
4
|
+
import { c as ve } from "./channel-CpL9seFP.mjs";
|
|
5
5
|
var yt = function() {
|
|
6
6
|
var e = /* @__PURE__ */ d(function(N, x, g, u) {
|
|
7
7
|
for (g = g || {}, u = N.length; u--; g[N[u]] = x) ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Se, d as De } from "./chunk-D6G4REZN-
|
|
2
|
-
import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./index-
|
|
1
|
+
import { g as Se, d as De } from "./chunk-D6G4REZN-CED0o9vk.mjs";
|
|
2
|
+
import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./index-Bbp_B8UC.mjs";
|
|
3
3
|
var Ft = function() {
|
|
4
4
|
var e = /* @__PURE__ */ g(function(_t, x, m, v) {
|
|
5
5
|
for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as l } from "./index-
|
|
1
|
+
import { _ as l } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
function m(e, c) {
|
|
3
3
|
var i, t, o;
|
|
4
4
|
e.accDescr && ((i = c.setAccDescription) == null || i.call(c, e.accDescr)), e.accTitle && ((t = c.setAccTitle) == null || t.call(c, e.accTitle)), e.title && ((o = c.setDiagramTitle) == null || o.call(c, e.title));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as et, s as tt } from "./chunk-RZ5BOZE2-
|
|
2
|
-
import { _ as f, l as Oe, c as F, o as st, r as it, u as we, d as $, b as at, a as nt, s as rt, g as ut, p as lt, q as ct, k as v, y as ot, x as ht, i as dt, P as R } from "./index-
|
|
1
|
+
import { g as et, s as tt } from "./chunk-RZ5BOZE2-Bk1Fdoi1.mjs";
|
|
2
|
+
import { _ as f, l as Oe, c as F, o as st, r as it, u as we, d as $, b as at, a as nt, s as rt, g as ut, p as lt, q as ct, k as v, y as ot, x as ht, i as dt, P as R } from "./index-Bbp_B8UC.mjs";
|
|
3
3
|
var Ve = function() {
|
|
4
4
|
var s = /* @__PURE__ */ f(function(I, c, h, p) {
|
|
5
5
|
for (h = h || {}, p = I.length; p--; h[I[p]] = c) ;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var re = Object.defineProperty;
|
|
2
2
|
var ae = (e, t, s) => t in e ? re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
3
|
var b = (e, t, s) => ae(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
-
import { g as ne, s as le } from "./chunk-RZ5BOZE2-
|
|
5
|
-
import { _ as p, l as v, c as A, r as oe, u as ce, S as he, k as j, y as ue, a as de, b as fe, g as pe, s as Se, p as ye, q as ge } from "./index-
|
|
4
|
+
import { g as ne, s as le } from "./chunk-RZ5BOZE2-Bk1Fdoi1.mjs";
|
|
5
|
+
import { _ as p, l as v, c as A, r as oe, u as ce, S as he, k as j, y as ue, a as de, b as fe, g as pe, s as Se, p as ye, q as ge } from "./index-Bbp_B8UC.mjs";
|
|
6
6
|
var bt = function() {
|
|
7
7
|
var e = /* @__PURE__ */ p(function(P, l, h, a) {
|
|
8
8
|
for (h = h || {}, a = P.length; a--; h[P[a]] = l) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as n, T as o, j as l } from "./index-
|
|
1
|
+
import { _ as n, T as o, j as l } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
var x = /* @__PURE__ */ n((s, t) => {
|
|
3
3
|
const e = s.append("rect");
|
|
4
4
|
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as n, d as r, e as d, l as g } from "./index-
|
|
1
|
+
import { _ as n, d as r, e as d, l as g } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
var u = /* @__PURE__ */ n((e, t) => {
|
|
3
3
|
let o;
|
|
4
4
|
return t === "sandbox" && (o = r("#i" + e)), (t === "sandbox" ? r(o.nodes()[0].contentDocument.body) : r("body")).select(`[id="${e}"]`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-
|
|
2
|
-
import { _ as l } from "./index-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-BS72H_EQ.mjs";
|
|
2
|
+
import { _ as l } from "./index-Bbp_B8UC.mjs";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-
|
|
2
|
-
import { _ as l } from "./index-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-BS72H_EQ.mjs";
|
|
2
|
+
import { _ as l } from "./index-Bbp_B8UC.mjs";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as X, aq as F, ar as Y, as as _, at as H, l as i, c as V, au as q, av as U, af as $, ak as z, ag as P, ae as K, aw as Q, ax as W, ay as Z } from "./index-
|
|
2
|
-
import { G as B } from "./graph-
|
|
3
|
-
import { l as I } from "./layout-
|
|
4
|
-
import { i as x } from "./reduce-
|
|
5
|
-
import { c as L } from "./clone-
|
|
6
|
-
import { m as A } from "./_basePickBy-
|
|
1
|
+
import { _ as X, aq as F, ar as Y, as as _, at as H, l as i, c as V, au as q, av as U, af as $, ak as z, ag as P, ae as K, aw as Q, ax as W, ay as Z } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { G as B } from "./graph-CkxR5tWp.mjs";
|
|
3
|
+
import { l as I } from "./layout-DZNUYSmf.mjs";
|
|
4
|
+
import { i as x } from "./reduce-7dHT7JFf.mjs";
|
|
5
|
+
import { c as L } from "./clone-CcxPvJ0u.mjs";
|
|
6
|
+
import { m as A } from "./_basePickBy-BR860be7.mjs";
|
|
7
7
|
function p(e) {
|
|
8
8
|
var t = {
|
|
9
9
|
options: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as k } from "./chunk-4BMEZGHF-
|
|
2
|
-
import { _ as l, s as R, g as E, q as F, p as I, a as _, b as D, H as G, y as P, D as f, E as C, F as z, l as H, K as V } from "./index-
|
|
3
|
-
import { p as W } from "./mermaid-parser.core-
|
|
1
|
+
import { p as k } from "./chunk-4BMEZGHF-Bd_StXL-.mjs";
|
|
2
|
+
import { _ as l, s as R, g as E, q as F, p as I, a as _, b as D, H as G, y as P, D as f, E as C, F as z, l as H, K as V } from "./index-Bbp_B8UC.mjs";
|
|
3
|
+
import { p as W } from "./mermaid-parser.core-DKxcHFXc.mjs";
|
|
4
4
|
var x = {
|
|
5
5
|
showLegend: !0,
|
|
6
6
|
ticks: 5,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as w } from "./chunk-4BMEZGHF-
|
|
2
|
-
import { _ as n, s as B, g as S, q as F, p as z, a as P, b as W, D as x, H as D, e as T, y as E, E as _, F as A, l as m } from "./index-
|
|
3
|
-
import { p as N } from "./mermaid-parser.core-
|
|
1
|
+
import { p as w } from "./chunk-4BMEZGHF-Bd_StXL-.mjs";
|
|
2
|
+
import { _ as n, s as B, g as S, q as F, p as z, a as P, b as W, D as x, H as D, e as T, y as E, E as _, F as A, l as m } from "./index-Bbp_B8UC.mjs";
|
|
3
|
+
import { p as N } from "./mermaid-parser.core-DKxcHFXc.mjs";
|
|
4
4
|
var C = {
|
|
5
5
|
packet: []
|
|
6
6
|
}, v = structuredClone(C), L = A.packet, Y = /* @__PURE__ */ n(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as Dt, s as wt } from "./chunk-RZ5BOZE2-
|
|
2
|
-
import { _ as u, b as Vt, a as Lt, s as Mt, g as Bt, p as Ft, q as Yt, c as tt, l as D, y as Pt, x as zt, A as Gt, B as Kt, o as Zt, r as Ut, d as jt, u as Wt } from "./index-
|
|
3
|
-
import { c as Qt } from "./channel-
|
|
1
|
+
import { g as Dt, s as wt } from "./chunk-RZ5BOZE2-Bk1Fdoi1.mjs";
|
|
2
|
+
import { _ as u, b as Vt, a as Lt, s as Mt, g as Bt, p as Ft, q as Yt, c as tt, l as D, y as Pt, x as zt, A as Gt, B as Kt, o as Zt, r as Ut, d as jt, u as Wt } from "./index-Bbp_B8UC.mjs";
|
|
3
|
+
import { c as Qt } from "./channel-CpL9seFP.mjs";
|
|
4
4
|
var dt = function() {
|
|
5
5
|
var s = /* @__PURE__ */ u(function(R, n, a, c) {
|
|
6
6
|
for (a = a || {}, c = R.length; c--; a[R[c]] = n) ;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as m, n as Ot, l as Z, c as G1, d as C1, o as Ht, r as qt, u as it, b as Xt, s as Qt, p as Jt, a as Zt, g as $t, q as te, k as ee, t as se, J as ie, v as re, x as st, y as ae, z as ne, A as ue } from "./index-
|
|
2
|
-
import { g as le, s as oe } from "./chunk-RZ5BOZE2-
|
|
3
|
-
import { c as ce } from "./channel-
|
|
1
|
+
import { _ as m, n as Ot, l as Z, c as G1, d as C1, o as Ht, r as qt, u as it, b as Xt, s as Qt, p as Jt, a as Zt, g as $t, q as te, k as ee, t as se, J as ie, v as re, x as st, y as ae, z as ne, A as ue } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { g as le, s as oe } from "./chunk-RZ5BOZE2-Bk1Fdoi1.mjs";
|
|
3
|
+
import { c as ce } from "./channel-CpL9seFP.mjs";
|
|
4
4
|
var he = "flowchart-", P1, de = (P1 = class {
|
|
5
5
|
// cspell:ignore funs
|
|
6
6
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aI as we, aW as nn, aX as An, aY as rn, aZ as an, a_ as sn, a$ as se, b0 as In, _ as h, g as Ln, s as Wn, q as On, p as Hn, a as Nn, b as Vn, c as _t, d as Bt, e as Pn, b1 as at, l as Kt, k as zn, j as Rn, y as qn, u as Bn } from "./index-
|
|
2
|
-
import { b as Zn, t as Oe, c as Xn, a as Gn, l as Qn } from "./linear-
|
|
1
|
+
import { aI as we, aW as nn, aX as An, aY as rn, aZ as an, a_ as sn, a$ as se, b0 as In, _ as h, g as Ln, s as Wn, q as On, p as Hn, a as Nn, b as Vn, c as _t, d as Bt, e as Pn, b1 as at, l as Kt, k as zn, j as Rn, y as qn, u as Bn } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { b as Zn, t as Oe, c as Xn, a as Gn, l as Qn } from "./linear-B3hVeAcb.mjs";
|
|
3
3
|
import { i as jn } from "./init-DjUOC4st.mjs";
|
|
4
4
|
var Xt = { exports: {} }, $n = Xt.exports, He;
|
|
5
5
|
function Jn() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as Z } from "./chunk-4BMEZGHF-
|
|
2
|
-
import { I as F } from "./chunk-XZIHB7SX-
|
|
3
|
-
import { _ as h, q as U, p as rr, s as er, g as tr, a as ar, b as nr, l as w, c as sr, d as or, u as cr, C as ir, y as dr, k as B, D as hr, E as lr, F as $r, G as fr } from "./index-
|
|
4
|
-
import { p as gr } from "./mermaid-parser.core-
|
|
1
|
+
import { p as Z } from "./chunk-4BMEZGHF-Bd_StXL-.mjs";
|
|
2
|
+
import { I as F } from "./chunk-XZIHB7SX-DMbx2vRz.mjs";
|
|
3
|
+
import { _ as h, q as U, p as rr, s as er, g as tr, a as ar, b as nr, l as w, c as sr, d as or, u as cr, C as ir, y as dr, k as B, D as hr, E as lr, F as $r, G as fr } from "./index-Bbp_B8UC.mjs";
|
|
4
|
+
import { p as gr } from "./mermaid-parser.core-DKxcHFXc.mjs";
|
|
5
5
|
var x = {
|
|
6
6
|
NORMAL: 0,
|
|
7
7
|
REVERSE: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { az as N, aA as j, aB as v, aC as f, aD as b, aE as _, aF as E } from "./index-
|
|
2
|
-
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./reduce-
|
|
1
|
+
import { az as N, aA as j, aB as v, aC as f, aD as b, aE as _, aF as E } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./reduce-7dHT7JFf.mjs";
|
|
3
3
|
var w = N(function(o) {
|
|
4
4
|
return j(P(o, 1, v, !0));
|
|
5
5
|
}), F = "\0", a = "\0", O = "";
|
|
@@ -96646,7 +96646,7 @@ var bse = /* @__PURE__ */ G(function(t, e, r) {
|
|
|
96646
96646
|
fSe([
|
|
96647
96647
|
{
|
|
96648
96648
|
name: "dagre",
|
|
96649
|
-
loader: /* @__PURE__ */ G(async () => await import("./dagre-OKDRZEBW-
|
|
96649
|
+
loader: /* @__PURE__ */ G(async () => await import("./dagre-OKDRZEBW-LEhEkf4r.mjs"), "loader")
|
|
96650
96650
|
}
|
|
96651
96651
|
]);
|
|
96652
96652
|
}, "registerDefaultLayoutLoaders");
|
|
@@ -96813,7 +96813,7 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96813
96813
|
}
|
|
96814
96814
|
return r.select(`#${t}`);
|
|
96815
96815
|
}, "selectSvgElement"), hSe = "c4", Sft = /* @__PURE__ */ G((t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), "detector"), Eft = /* @__PURE__ */ G(async () => {
|
|
96816
|
-
const { diagram: t } = await import("./c4Diagram-VJAJSXHY-
|
|
96816
|
+
const { diagram: t } = await import("./c4Diagram-VJAJSXHY-BUZin1BW.mjs");
|
|
96817
96817
|
return { id: hSe, diagram: t };
|
|
96818
96818
|
}, "loader"), xft = {
|
|
96819
96819
|
id: hSe,
|
|
@@ -96823,7 +96823,7 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96823
96823
|
var r, n;
|
|
96824
96824
|
return ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" || ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t);
|
|
96825
96825
|
}, "detector"), Aft = /* @__PURE__ */ G(async () => {
|
|
96826
|
-
const { diagram: t } = await import("./flowDiagram-4HSFHLVR-
|
|
96826
|
+
const { diagram: t } = await import("./flowDiagram-4HSFHLVR-Br2QuSDh.mjs");
|
|
96827
96827
|
return { id: pSe, diagram: t };
|
|
96828
96828
|
}, "loader"), wft = {
|
|
96829
96829
|
id: pSe,
|
|
@@ -96833,70 +96833,70 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96833
96833
|
var r, n, i;
|
|
96834
96834
|
return ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-d3" ? !1 : (((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "elk" && (e.layout = "elk"), /^\s*graph/.test(t) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t));
|
|
96835
96835
|
}, "detector"), Dft = /* @__PURE__ */ G(async () => {
|
|
96836
|
-
const { diagram: t } = await import("./flowDiagram-4HSFHLVR-
|
|
96836
|
+
const { diagram: t } = await import("./flowDiagram-4HSFHLVR-Br2QuSDh.mjs");
|
|
96837
96837
|
return { id: TSe, diagram: t };
|
|
96838
96838
|
}, "loader"), Rft = {
|
|
96839
96839
|
id: TSe,
|
|
96840
96840
|
detector: Mft,
|
|
96841
96841
|
loader: Dft
|
|
96842
96842
|
}, Ift = Rft, mSe = "er", Nft = /* @__PURE__ */ G((t) => /^\s*erDiagram/.test(t), "detector"), kft = /* @__PURE__ */ G(async () => {
|
|
96843
|
-
const { diagram: t } = await import("./erDiagram-Q7BY3M3F-
|
|
96843
|
+
const { diagram: t } = await import("./erDiagram-Q7BY3M3F-4v2R5YvF.mjs");
|
|
96844
96844
|
return { id: mSe, diagram: t };
|
|
96845
96845
|
}, "loader"), Pft = {
|
|
96846
96846
|
id: mSe,
|
|
96847
96847
|
detector: Nft,
|
|
96848
96848
|
loader: kft
|
|
96849
96849
|
}, Hft = Pft, gSe = "gitGraph", Bft = /* @__PURE__ */ G((t) => /^\s*gitGraph/.test(t), "detector"), Vft = /* @__PURE__ */ G(async () => {
|
|
96850
|
-
const { diagram: t } = await import("./gitGraphDiagram-7IBYFJ6S-
|
|
96850
|
+
const { diagram: t } = await import("./gitGraphDiagram-7IBYFJ6S-D_GSlqCW.mjs");
|
|
96851
96851
|
return { id: gSe, diagram: t };
|
|
96852
96852
|
}, "loader"), Fft = {
|
|
96853
96853
|
id: gSe,
|
|
96854
96854
|
detector: Bft,
|
|
96855
96855
|
loader: Vft
|
|
96856
96856
|
}, $ft = Fft, vSe = "gantt", Uft = /* @__PURE__ */ G((t) => /^\s*gantt/.test(t), "detector"), zft = /* @__PURE__ */ G(async () => {
|
|
96857
|
-
const { diagram: t } = await import("./ganttDiagram-APWFNJXF-
|
|
96857
|
+
const { diagram: t } = await import("./ganttDiagram-APWFNJXF-pIMiG8pe.mjs");
|
|
96858
96858
|
return { id: vSe, diagram: t };
|
|
96859
96859
|
}, "loader"), Gft = {
|
|
96860
96860
|
id: vSe,
|
|
96861
96861
|
detector: Uft,
|
|
96862
96862
|
loader: zft
|
|
96863
96863
|
}, qft = Gft, _Se = "info", Wft = /* @__PURE__ */ G((t) => /^\s*info/.test(t), "detector"), Yft = /* @__PURE__ */ G(async () => {
|
|
96864
|
-
const { diagram: t } = await import("./infoDiagram-PH2N3AL5-
|
|
96864
|
+
const { diagram: t } = await import("./infoDiagram-PH2N3AL5-v1MGNMUZ.mjs");
|
|
96865
96865
|
return { id: _Se, diagram: t };
|
|
96866
96866
|
}, "loader"), jft = {
|
|
96867
96867
|
id: _Se,
|
|
96868
96868
|
detector: Wft,
|
|
96869
96869
|
loader: Yft
|
|
96870
96870
|
}, QSe = "pie", Zft = /* @__PURE__ */ G((t) => /^\s*pie/.test(t), "detector"), Kft = /* @__PURE__ */ G(async () => {
|
|
96871
|
-
const { diagram: t } = await import("./pieDiagram-IB7DONF6-
|
|
96871
|
+
const { diagram: t } = await import("./pieDiagram-IB7DONF6-BuKDV1Tk.mjs");
|
|
96872
96872
|
return { id: QSe, diagram: t };
|
|
96873
96873
|
}, "loader"), Xft = {
|
|
96874
96874
|
id: QSe,
|
|
96875
96875
|
detector: Zft,
|
|
96876
96876
|
loader: Kft
|
|
96877
96877
|
}, ySe = "quadrantChart", Jft = /* @__PURE__ */ G((t) => /^\s*quadrantChart/.test(t), "detector"), eht = /* @__PURE__ */ G(async () => {
|
|
96878
|
-
const { diagram: t } = await import("./quadrantDiagram-7GDLP6J5-
|
|
96878
|
+
const { diagram: t } = await import("./quadrantDiagram-7GDLP6J5-BLUJ80bI.mjs");
|
|
96879
96879
|
return { id: ySe, diagram: t };
|
|
96880
96880
|
}, "loader"), tht = {
|
|
96881
96881
|
id: ySe,
|
|
96882
96882
|
detector: Jft,
|
|
96883
96883
|
loader: eht
|
|
96884
96884
|
}, rht = tht, bSe = "xychart", nht = /* @__PURE__ */ G((t) => /^\s*xychart-beta/.test(t), "detector"), iht = /* @__PURE__ */ G(async () => {
|
|
96885
|
-
const { diagram: t } = await import("./xychartDiagram-VJFVF3MP-
|
|
96885
|
+
const { diagram: t } = await import("./xychartDiagram-VJFVF3MP-CutvmU0b.mjs");
|
|
96886
96886
|
return { id: bSe, diagram: t };
|
|
96887
96887
|
}, "loader"), aht = {
|
|
96888
96888
|
id: bSe,
|
|
96889
96889
|
detector: nht,
|
|
96890
96890
|
loader: iht
|
|
96891
96891
|
}, oht = aht, SSe = "requirement", sht = /* @__PURE__ */ G((t) => /^\s*requirement(Diagram)?/.test(t), "detector"), lht = /* @__PURE__ */ G(async () => {
|
|
96892
|
-
const { diagram: t } = await import("./requirementDiagram-KVF5MWMF-
|
|
96892
|
+
const { diagram: t } = await import("./requirementDiagram-KVF5MWMF-BQdhN2Ua.mjs");
|
|
96893
96893
|
return { id: SSe, diagram: t };
|
|
96894
96894
|
}, "loader"), uht = {
|
|
96895
96895
|
id: SSe,
|
|
96896
96896
|
detector: sht,
|
|
96897
96897
|
loader: lht
|
|
96898
96898
|
}, cht = uht, ESe = "sequence", dht = /* @__PURE__ */ G((t) => /^\s*sequenceDiagram/.test(t), "detector"), fht = /* @__PURE__ */ G(async () => {
|
|
96899
|
-
const { diagram: t } = await import("./sequenceDiagram-X6HHIX6F-
|
|
96899
|
+
const { diagram: t } = await import("./sequenceDiagram-X6HHIX6F-DR6jq_cZ.mjs");
|
|
96900
96900
|
return { id: ESe, diagram: t };
|
|
96901
96901
|
}, "loader"), hht = {
|
|
96902
96902
|
id: ESe,
|
|
@@ -96906,7 +96906,7 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96906
96906
|
var r;
|
|
96907
96907
|
return ((r = e == null ? void 0 : e.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
|
|
96908
96908
|
}, "detector"), mht = /* @__PURE__ */ G(async () => {
|
|
96909
|
-
const { diagram: t } = await import("./classDiagram-GIVACNV2-
|
|
96909
|
+
const { diagram: t } = await import("./classDiagram-GIVACNV2-CNXn-RAv.mjs");
|
|
96910
96910
|
return { id: xSe, diagram: t };
|
|
96911
96911
|
}, "loader"), ght = {
|
|
96912
96912
|
id: xSe,
|
|
@@ -96916,7 +96916,7 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96916
96916
|
var r;
|
|
96917
96917
|
return /^\s*classDiagram/.test(t) && ((r = e == null ? void 0 : e.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t);
|
|
96918
96918
|
}, "detector"), Qht = /* @__PURE__ */ G(async () => {
|
|
96919
|
-
const { diagram: t } = await import("./classDiagram-v2-COTLJTTW-
|
|
96919
|
+
const { diagram: t } = await import("./classDiagram-v2-COTLJTTW-CNXn-RAv.mjs");
|
|
96920
96920
|
return { id: CSe, diagram: t };
|
|
96921
96921
|
}, "loader"), yht = {
|
|
96922
96922
|
id: CSe,
|
|
@@ -96926,7 +96926,7 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96926
96926
|
var r;
|
|
96927
96927
|
return ((r = e == null ? void 0 : e.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
|
|
96928
96928
|
}, "detector"), Eht = /* @__PURE__ */ G(async () => {
|
|
96929
|
-
const { diagram: t } = await import("./stateDiagram-DGXRK772-
|
|
96929
|
+
const { diagram: t } = await import("./stateDiagram-DGXRK772-DPqlJPZK.mjs");
|
|
96930
96930
|
return { id: LSe, diagram: t };
|
|
96931
96931
|
}, "loader"), xht = {
|
|
96932
96932
|
id: LSe,
|
|
@@ -96936,14 +96936,14 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96936
96936
|
var r;
|
|
96937
96937
|
return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((r = e == null ? void 0 : e.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper");
|
|
96938
96938
|
}, "detector"), Aht = /* @__PURE__ */ G(async () => {
|
|
96939
|
-
const { diagram: t } = await import("./stateDiagram-v2-YXO3MK2T-
|
|
96939
|
+
const { diagram: t } = await import("./stateDiagram-v2-YXO3MK2T-Cg2lz86f.mjs");
|
|
96940
96940
|
return { id: ASe, diagram: t };
|
|
96941
96941
|
}, "loader"), wht = {
|
|
96942
96942
|
id: ASe,
|
|
96943
96943
|
detector: Lht,
|
|
96944
96944
|
loader: Aht
|
|
96945
96945
|
}, Oht = wht, wSe = "journey", Mht = /* @__PURE__ */ G((t) => /^\s*journey/.test(t), "detector"), Dht = /* @__PURE__ */ G(async () => {
|
|
96946
|
-
const { diagram: t } = await import("./journeyDiagram-U35MCT3I-
|
|
96946
|
+
const { diagram: t } = await import("./journeyDiagram-U35MCT3I-CEXqCTpw.mjs");
|
|
96947
96947
|
return { id: wSe, diagram: t };
|
|
96948
96948
|
}, "loader"), Rht = {
|
|
96949
96949
|
id: wSe,
|
|
@@ -96987,63 +96987,63 @@ var Bnr = /* @__PURE__ */ G(async (t, e) => {
|
|
|
96987
96987
|
/^\s*flowchart|graph/.test(t) && ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? (e.layout = "elk", !0) : !1
|
|
96988
96988
|
);
|
|
96989
96989
|
}, "detector"), Vht = /* @__PURE__ */ G(async () => {
|
|
96990
|
-
const { diagram: t } = await import("./flowDiagram-4HSFHLVR-
|
|
96990
|
+
const { diagram: t } = await import("./flowDiagram-4HSFHLVR-Br2QuSDh.mjs");
|
|
96991
96991
|
return { id: MSe, diagram: t };
|
|
96992
96992
|
}, "loader"), Fht = {
|
|
96993
96993
|
id: MSe,
|
|
96994
96994
|
detector: Bht,
|
|
96995
96995
|
loader: Vht
|
|
96996
96996
|
}, $ht = Fht, DSe = "timeline", Uht = /* @__PURE__ */ G((t) => /^\s*timeline/.test(t), "detector"), zht = /* @__PURE__ */ G(async () => {
|
|
96997
|
-
const { diagram: t } = await import("./timeline-definition-BDJGKUSR-
|
|
96997
|
+
const { diagram: t } = await import("./timeline-definition-BDJGKUSR-BjlwYSyp.mjs");
|
|
96998
96998
|
return { id: DSe, diagram: t };
|
|
96999
96999
|
}, "loader"), Ght = {
|
|
97000
97000
|
id: DSe,
|
|
97001
97001
|
detector: Uht,
|
|
97002
97002
|
loader: zht
|
|
97003
97003
|
}, qht = Ght, RSe = "mindmap", Wht = /* @__PURE__ */ G((t) => /^\s*mindmap/.test(t), "detector"), Yht = /* @__PURE__ */ G(async () => {
|
|
97004
|
-
const { diagram: t } = await import("./mindmap-definition-ALO5MXBD-
|
|
97004
|
+
const { diagram: t } = await import("./mindmap-definition-ALO5MXBD-CLj7_wHa.mjs");
|
|
97005
97005
|
return { id: RSe, diagram: t };
|
|
97006
97006
|
}, "loader"), jht = {
|
|
97007
97007
|
id: RSe,
|
|
97008
97008
|
detector: Wht,
|
|
97009
97009
|
loader: Yht
|
|
97010
97010
|
}, Zht = jht, ISe = "kanban", Kht = /* @__PURE__ */ G((t) => /^\s*kanban/.test(t), "detector"), Xht = /* @__PURE__ */ G(async () => {
|
|
97011
|
-
const { diagram: t } = await import("./kanban-definition-NDS4AKOZ-
|
|
97011
|
+
const { diagram: t } = await import("./kanban-definition-NDS4AKOZ-Bv6Zl2ZU.mjs");
|
|
97012
97012
|
return { id: ISe, diagram: t };
|
|
97013
97013
|
}, "loader"), Jht = {
|
|
97014
97014
|
id: ISe,
|
|
97015
97015
|
detector: Kht,
|
|
97016
97016
|
loader: Xht
|
|
97017
97017
|
}, e7t = Jht, NSe = "sankey", t7t = /* @__PURE__ */ G((t) => /^\s*sankey-beta/.test(t), "detector"), r7t = /* @__PURE__ */ G(async () => {
|
|
97018
|
-
const { diagram: t } = await import("./sankeyDiagram-QLVOVGJD-
|
|
97018
|
+
const { diagram: t } = await import("./sankeyDiagram-QLVOVGJD-9lvGMIDw.mjs");
|
|
97019
97019
|
return { id: NSe, diagram: t };
|
|
97020
97020
|
}, "loader"), n7t = {
|
|
97021
97021
|
id: NSe,
|
|
97022
97022
|
detector: t7t,
|
|
97023
97023
|
loader: r7t
|
|
97024
97024
|
}, i7t = n7t, kSe = "packet", a7t = /* @__PURE__ */ G((t) => /^\s*packet-beta/.test(t), "detector"), o7t = /* @__PURE__ */ G(async () => {
|
|
97025
|
-
const { diagram: t } = await import("./diagram-VNBRO52H-
|
|
97025
|
+
const { diagram: t } = await import("./diagram-VNBRO52H-BM9g6nPs.mjs");
|
|
97026
97026
|
return { id: kSe, diagram: t };
|
|
97027
97027
|
}, "loader"), s7t = {
|
|
97028
97028
|
id: kSe,
|
|
97029
97029
|
detector: a7t,
|
|
97030
97030
|
loader: o7t
|
|
97031
97031
|
}, PSe = "radar", l7t = /* @__PURE__ */ G((t) => /^\s*radar-beta/.test(t), "detector"), u7t = /* @__PURE__ */ G(async () => {
|
|
97032
|
-
const { diagram: t } = await import("./diagram-SSKATNLV-
|
|
97032
|
+
const { diagram: t } = await import("./diagram-SSKATNLV-C3_C4g67.mjs");
|
|
97033
97033
|
return { id: PSe, diagram: t };
|
|
97034
97034
|
}, "loader"), c7t = {
|
|
97035
97035
|
id: PSe,
|
|
97036
97036
|
detector: l7t,
|
|
97037
97037
|
loader: u7t
|
|
97038
97038
|
}, HSe = "block", d7t = /* @__PURE__ */ G((t) => /^\s*block-beta/.test(t), "detector"), f7t = /* @__PURE__ */ G(async () => {
|
|
97039
|
-
const { diagram: t } = await import("./blockDiagram-JOT3LUYC-
|
|
97039
|
+
const { diagram: t } = await import("./blockDiagram-JOT3LUYC-CJu3Xv6r.mjs");
|
|
97040
97040
|
return { id: HSe, diagram: t };
|
|
97041
97041
|
}, "loader"), h7t = {
|
|
97042
97042
|
id: HSe,
|
|
97043
97043
|
detector: d7t,
|
|
97044
97044
|
loader: f7t
|
|
97045
97045
|
}, p7t = h7t, BSe = "architecture", T7t = /* @__PURE__ */ G((t) => /^\s*architecture/.test(t), "detector"), m7t = /* @__PURE__ */ G(async () => {
|
|
97046
|
-
const { diagram: t } = await import("./architectureDiagram-IEHRJDOE-
|
|
97046
|
+
const { diagram: t } = await import("./architectureDiagram-IEHRJDOE-CMK8TAcV.mjs");
|
|
97047
97047
|
return { id: BSe, diagram: t };
|
|
97048
97048
|
}, "loader"), g7t = {
|
|
97049
97049
|
id: BSe,
|
|
@@ -101263,9 +101263,11 @@ function ipt(t) {
|
|
|
101263
101263
|
return t = t.replace(/\$\$([\s\S]*?)\$\$/g, (n) => {
|
|
101264
101264
|
const i = `__PROTECTED_MATH_BLOCK_${r}__`;
|
|
101265
101265
|
return e[r] = n, r++, i;
|
|
101266
|
-
}), t = t.replace(/\$([^\$\n]+?)\$/g, (n) => {
|
|
101267
|
-
|
|
101268
|
-
|
|
101266
|
+
}), t = t.replace(/\$([^\$\n]+?)\$/g, (n, i) => {
|
|
101267
|
+
if (/[\u4e00-\u9fa5。,、“”‘’;:?!【】()《》]/.test(i))
|
|
101268
|
+
return n;
|
|
101269
|
+
const a = `__PROTECTED_INLINE_MATH_${r}__`;
|
|
101270
|
+
return e[r] = n, r++, a;
|
|
101269
101271
|
}), t = t.replace(/```[\s\S]*?```/g, (n) => {
|
|
101270
101272
|
const i = `__PROTECTED_CODE_BLOCK_${r}__`;
|
|
101271
101273
|
return e[r] = n, r++, i;
|
|
@@ -101278,7 +101280,7 @@ function apt(t, e) {
|
|
|
101278
101280
|
let r = t;
|
|
101279
101281
|
return e.forEach((n, i) => {
|
|
101280
101282
|
let a = "INLINE_CODE";
|
|
101281
|
-
n.
|
|
101283
|
+
n.startsWith("```") ? a = "CODE_BLOCK" : n.startsWith("$$") ? a = "MATH_BLOCK" : n.startsWith("$") && (a = "INLINE_MATH");
|
|
101282
101284
|
const o = `__PROTECTED_${a}_${i}__`;
|
|
101283
101285
|
r = r.split(o).join(n);
|
|
101284
101286
|
}), r;
|
|
@@ -101291,26 +101293,26 @@ function spt(t) {
|
|
|
101291
101293
|
const { markdown: e, protectedRegions: r } = ipt(t), n = opt(e);
|
|
101292
101294
|
return apt(n, r);
|
|
101293
101295
|
}
|
|
101294
|
-
const lpt = /(
|
|
101296
|
+
const lpt = /(\n*)(\$\$)([\s\S]*?)(\$\$)/g;
|
|
101295
101297
|
function upt(t) {
|
|
101296
|
-
return t.replace(lpt, (e) => `
|
|
101297
|
-
}
|
|
101298
|
-
const cpt = /(\n*)(\$\$)([\s\S]*?)(\$\$)/g;
|
|
101299
|
-
function dpt(t) {
|
|
101300
|
-
return t.replace(cpt, (e, r, n, i) => i.startsWith(`
|
|
101298
|
+
return t.replace(lpt, (e, r, n, i) => i.startsWith(`
|
|
101301
101299
|
`) && i.endsWith(`
|
|
101302
101300
|
`) && r.length < 2 ? `
|
|
101303
101301
|
`.repeat(2 - r.length) + e : e);
|
|
101304
101302
|
}
|
|
101305
|
-
const
|
|
101303
|
+
const cpt = /(?:https?:\/\/|www\.)?[a-zA-Z0-9][-a-zA-Z0-9.]+(?:\.[a-zA-Z]{2,})(?:\/[^\s\)\[\]\}\u4e00-\u9fa5。()"'“”‘’}]*)?(?:\?[^\s\)\[\]\}\u4e00-\u9fa5。()"'“”‘’}]*)?(?:#[^\s\)\[\]\}\u4e00-\u9fa5。()"'“”‘’}]*)?/g;
|
|
101304
|
+
function dpt(t) {
|
|
101305
|
+
return t.replace(cpt, (e) => ` ${e} `);
|
|
101306
|
+
}
|
|
101307
|
+
const fpt = (t) => npt.flow([spt, dpt, upt])(t), hpt = Cw.parse;
|
|
101306
101308
|
Cw.parse = function(t, e) {
|
|
101307
101309
|
const r = fpt(t);
|
|
101308
|
-
return hpt.call(this, r, e);
|
|
101310
|
+
return console.log("Processed Markdown:", r), hpt.call(this, r, e);
|
|
101309
101311
|
};
|
|
101310
101312
|
Cw.use(
|
|
101311
101313
|
_2t({
|
|
101312
101314
|
throwOnError: !1,
|
|
101313
|
-
nonStandard: !
|
|
101315
|
+
nonStandard: !1
|
|
101314
101316
|
// 允许非标准数学公式
|
|
101315
101317
|
})
|
|
101316
101318
|
);
|
|
@@ -152763,8 +152765,15 @@ const Gxt = ({
|
|
|
152763
152765
|
const T = p.tagName;
|
|
152764
152766
|
if (l && l[T])
|
|
152765
152767
|
return l[T]({ node: p });
|
|
152766
|
-
const g = (p.children || []).map((
|
|
152767
|
-
|
|
152768
|
+
const g = (p.children || []).map((_) => h(_)), m = {};
|
|
152769
|
+
for (const [_, b] of Object.entries(p.properties))
|
|
152770
|
+
if (/^(data|aria)[A-Z]/.test(_)) {
|
|
152771
|
+
const y = _.replace(/[A-Z]/g, (Q) => "-" + Q.toLowerCase());
|
|
152772
|
+
m[y] = b;
|
|
152773
|
+
} else
|
|
152774
|
+
m[_] = b;
|
|
152775
|
+
const v = { ...m };
|
|
152776
|
+
return v.className && (v.class = v.className, delete v.className), E1(p.tagName, v, g);
|
|
152768
152777
|
}
|
|
152769
152778
|
return null;
|
|
152770
152779
|
};
|
|
@@ -152772,7 +152781,7 @@ const Gxt = ({
|
|
|
152772
152781
|
if (p !== T)
|
|
152773
152782
|
try {
|
|
152774
152783
|
const g = d(), m = a ? await c.run(c.parse(g), g) : c.runSync(c.parse(g), g);
|
|
152775
|
-
ny(m, f), s.value = h(m);
|
|
152784
|
+
ny(m, f), console.log("hast", m), s.value = h(m);
|
|
152776
152785
|
} catch (g) {
|
|
152777
152786
|
console.error(g);
|
|
152778
152787
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, l as s, H as o, e as i, I as g } from "./index-
|
|
2
|
-
import { p } from "./mermaid-parser.core-
|
|
1
|
+
import { _ as e, l as s, H as o, e as i, I as g } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { p } from "./mermaid-parser.core-DKxcHFXc.mjs";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-
|
|
2
|
-
import { _ as i, g as xt, s as kt, a as _t, b as vt, q as bt, p as wt, c as A, d as W, e as Tt, y as St } from "./index-
|
|
3
|
-
import { d as tt } from "./arc-
|
|
1
|
+
import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-CED0o9vk.mjs";
|
|
2
|
+
import { _ as i, g as xt, s as kt, a as _t, b as vt, q as bt, p as wt, c as A, d as W, e as Tt, y as St } from "./index-Bbp_B8UC.mjs";
|
|
3
|
+
import { d as tt } from "./arc-BpShNwHf.mjs";
|
|
4
4
|
var H = function() {
|
|
5
5
|
var t = /* @__PURE__ */ i(function(g, r, a, l) {
|
|
6
6
|
for (a = a || {}, l = g.length; l--; a[g[l]] = r) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as c, l as te, c as W, H as fe, ae as ye, af as be, ag as me, U as _e, F as Y, i as G, t as Ee, J as ke, V as Se, W as le, X as ce } from "./index-
|
|
1
|
+
import { _ as c, l as te, c as W, H as fe, ae as ye, af as be, ag as me, U as _e, F as Y, i as G, t as Ee, J as ke, V as Se, W as le, X as ce } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
var $ = function() {
|
|
3
3
|
var t = /* @__PURE__ */ c(function(_, s, n, a) {
|
|
4
4
|
for (n = n || {}, a = _.length; a--; n[_[a]] = s) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as g } from "./graph-
|
|
2
|
-
import { b as Te, m as ce, n as le, e as z, d as ee, h as j, l as Ie, o as Me, a as Se, p as Fe, c as f, i as m, f as _, v as x, r as M } from "./reduce-
|
|
3
|
-
import { f as O, b as he, a as je, c as Ve, d as Ae, t as V, m as w, e as P, h as ve, g as X, l as T, i as Be } from "./_basePickBy-
|
|
4
|
-
import { b7 as Ge, b8 as Ye, b9 as De, aO as $e, ba as qe, aT as pe, aS as we, bb as We, aN as $, az as ze, aV as Xe, aC as Ue, bc as q } from "./index-
|
|
1
|
+
import { G as g } from "./graph-CkxR5tWp.mjs";
|
|
2
|
+
import { b as Te, m as ce, n as le, e as z, d as ee, h as j, l as Ie, o as Me, a as Se, p as Fe, c as f, i as m, f as _, v as x, r as M } from "./reduce-7dHT7JFf.mjs";
|
|
3
|
+
import { f as O, b as he, a as je, c as Ve, d as Ae, t as V, m as w, e as P, h as ve, g as X, l as T, i as Be } from "./_basePickBy-BR860be7.mjs";
|
|
4
|
+
import { b7 as Ge, b8 as Ye, b9 as De, aO as $e, ba as qe, aT as pe, aS as we, bb as We, aN as $, az as ze, aV as Xe, aC as Ue, bc as q } from "./index-Bbp_B8UC.mjs";
|
|
5
5
|
function He(e) {
|
|
6
6
|
return Ge(Ye(e, void 0, O), e + "");
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b2 as un, b3 as I, b4 as U, b5 as fn, b6 as Y } from "./index-
|
|
1
|
+
import { b2 as un, b3 as I, b4 as U, b5 as fn, b6 as Y } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
import { i as cn } from "./init-DjUOC4st.mjs";
|
|
3
3
|
function F(n, t) {
|
|
4
4
|
return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var su = Object.defineProperty;
|
|
2
2
|
var au = (n, e, t) => e in n ? su(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var Qe = (n, e, t) => au(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { bB as ou, bC as lu, aQ as gl, bj as cu, aE as Ht, aV as uu, aS as te, bD as du, bE as fu, bF as hu, az as pu, aB as la, ba as mu, bd as yl, be as Tl, bG as Rl, bb as gu, br as ca, bA as yu, bH as Tu, aA as Ru, bI as _s, aD as Tt, aF as D, aT as ua, bJ as Y, aM as vu } from "./index-
|
|
5
|
-
import { g as Ls, e as Qt, a as vl, v as z, h as Au, q as Eu, s as ku, c as $, i as qe, r as oe, f as xe } from "./reduce-
|
|
6
|
-
import { j as bs, m as S, d as xu, f as Ne, g as jt, h as N, i as Os, l as zt, e as Su } from "./_basePickBy-
|
|
7
|
-
import { c as re } from "./clone-
|
|
4
|
+
import { bB as ou, bC as lu, aQ as gl, bj as cu, aE as Ht, aV as uu, aS as te, bD as du, bE as fu, bF as hu, az as pu, aB as la, ba as mu, bd as yl, be as Tl, bG as Rl, bb as gu, br as ca, bA as yu, bH as Tu, aA as Ru, bI as _s, aD as Tt, aF as D, aT as ua, bJ as Y, aM as vu } from "./index-Bbp_B8UC.mjs";
|
|
5
|
+
import { g as Ls, e as Qt, a as vl, v as z, h as Au, q as Eu, s as ku, c as $, i as qe, r as oe, f as xe } from "./reduce-7dHT7JFf.mjs";
|
|
6
|
+
import { j as bs, m as S, d as xu, f as Ne, g as jt, h as N, i as Os, l as zt, e as Su } from "./_basePickBy-BR860be7.mjs";
|
|
7
|
+
import { c as re } from "./clone-CcxPvJ0u.mjs";
|
|
8
8
|
var Iu = Object.prototype, Cu = Iu.hasOwnProperty, ke = ou(function(n, e) {
|
|
9
9
|
if (lu(e) || gl(e)) {
|
|
10
10
|
cu(e, Ht(e), n);
|
|
@@ -12772,27 +12772,27 @@ function ly(n = kt) {
|
|
|
12772
12772
|
k(ly, "createRadarServices");
|
|
12773
12773
|
var Ze = {}, cy = {
|
|
12774
12774
|
info: /* @__PURE__ */ k(async () => {
|
|
12775
|
-
const { createInfoServices: n } = await import("./info-4N47QTOZ-
|
|
12775
|
+
const { createInfoServices: n } = await import("./info-4N47QTOZ-D2bjKviW.mjs"), e = n().Info.parser.LangiumParser;
|
|
12776
12776
|
Ze.info = e;
|
|
12777
12777
|
}, "info"),
|
|
12778
12778
|
packet: /* @__PURE__ */ k(async () => {
|
|
12779
|
-
const { createPacketServices: n } = await import("./packet-KVYON367-
|
|
12779
|
+
const { createPacketServices: n } = await import("./packet-KVYON367-D7gpDaTL.mjs"), e = n().Packet.parser.LangiumParser;
|
|
12780
12780
|
Ze.packet = e;
|
|
12781
12781
|
}, "packet"),
|
|
12782
12782
|
pie: /* @__PURE__ */ k(async () => {
|
|
12783
|
-
const { createPieServices: n } = await import("./pie-R6RNRRYF-
|
|
12783
|
+
const { createPieServices: n } = await import("./pie-R6RNRRYF-Dh4QZEuQ.mjs"), e = n().Pie.parser.LangiumParser;
|
|
12784
12784
|
Ze.pie = e;
|
|
12785
12785
|
}, "pie"),
|
|
12786
12786
|
architecture: /* @__PURE__ */ k(async () => {
|
|
12787
|
-
const { createArchitectureServices: n } = await import("./architecture-4AB2E3PP-
|
|
12787
|
+
const { createArchitectureServices: n } = await import("./architecture-4AB2E3PP-BdgUjkKI.mjs"), e = n().Architecture.parser.LangiumParser;
|
|
12788
12788
|
Ze.architecture = e;
|
|
12789
12789
|
}, "architecture"),
|
|
12790
12790
|
gitGraph: /* @__PURE__ */ k(async () => {
|
|
12791
|
-
const { createGitGraphServices: n } = await import("./gitGraph-O2Q2CXLX-
|
|
12791
|
+
const { createGitGraphServices: n } = await import("./gitGraph-O2Q2CXLX-DhI45WJb.mjs"), e = n().GitGraph.parser.LangiumParser;
|
|
12792
12792
|
Ze.gitGraph = e;
|
|
12793
12793
|
}, "gitGraph"),
|
|
12794
12794
|
radar: /* @__PURE__ */ k(async () => {
|
|
12795
|
-
const { createRadarServices: n } = await import("./radar-MK3ICKWK-
|
|
12795
|
+
const { createRadarServices: n } = await import("./radar-MK3ICKWK-IYrcjqsQ.mjs"), e = n().Radar.parser.LangiumParser;
|
|
12796
12796
|
Ze.radar = e;
|
|
12797
12797
|
}, "radar")
|
|
12798
12798
|
};
|
package/{mindmap-definition-ALO5MXBD-D0uu8Wao.mjs → mindmap-definition-ALO5MXBD-CLj7_wHa.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as Nt, _ as S, l as z, c as ot, H as Dt, U as mt, F as it, i as nt, V as Ot, W as At, X as It, d as Ct, aj as Rt, N as xt } from "./index-
|
|
1
|
+
import { aI as Nt, _ as S, l as z, c as ot, H as Dt, U as mt, F as it, i as nt, V as Ot, W as At, X as It, d as Ct, aj as Rt, N as xt } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
import { c as dt } from "./cytoscape.esm-D1A2YP3J.mjs";
|
|
3
3
|
var tt = { exports: {} }, et = { exports: {} }, rt = { exports: {} }, Mt = rt.exports, ut;
|
|
4
4
|
function wt() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as V } from "./chunk-4BMEZGHF-
|
|
2
|
-
import { a7 as S, a2 as z, aH as H, _ as u, g as U, s as j, a as q, b as Z, q as J, p as K, l as F, c as Q, D as X, H as Y, N as tt, e as et, y as at, F as rt } from "./index-
|
|
3
|
-
import { p as nt } from "./mermaid-parser.core-
|
|
4
|
-
import { d as P } from "./arc-
|
|
1
|
+
import { p as V } from "./chunk-4BMEZGHF-Bd_StXL-.mjs";
|
|
2
|
+
import { a7 as S, a2 as z, aH as H, _ as u, g as U, s as j, a as q, b as Z, q as J, p as K, l as F, c as Q, D as X, H as Y, N as tt, e as et, y as at, F as rt } from "./index-Bbp_B8UC.mjs";
|
|
3
|
+
import { p as nt } from "./mermaid-parser.core-DKxcHFXc.mjs";
|
|
4
|
+
import { d as P } from "./arc-BpShNwHf.mjs";
|
|
5
5
|
import { o as it } from "./ordinal-C0oynhte.mjs";
|
|
6
6
|
function st(t, a) {
|
|
7
7
|
return a < t ? -1 : a > t ? 1 : a >= t ? 0 : NaN;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as wt, l as At, d as zt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./index-
|
|
2
|
-
import { l as ee } from "./linear-
|
|
1
|
+
import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as wt, l as At, d as zt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { l as ee } from "./linear-B3hVeAcb.mjs";
|
|
3
3
|
var Vt = function() {
|
|
4
4
|
var t = /* @__PURE__ */ o(function(j, r, l, g) {
|
|
5
5
|
for (l = l || {}, g = j.length; g--; l[j[g]] = r) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bd as O, be as fn, aS as u, bf as y, bg as on, bh as D, bi as G, bj as h, aE as d, aO as I, bk as N, bl as un, bm as cn, bn, bo as K, bp as gn, bq as w, bb as q, br as T, aM as v, bs as ln, bt as yn, bu as dn, bv as pn, bw as z, bx as Tn, aV as hn, by as Z, bz as An, aU as mn, aT as H, b9 as Sn, aQ as On, bA as In } from "./index-
|
|
1
|
+
import { bd as O, be as fn, aS as u, bf as y, bg as on, bh as D, bi as G, bj as h, aE as d, aO as I, bk as N, bl as un, bm as cn, bn, bo as K, bp as gn, bq as w, bb as q, br as T, aM as v, bs as ln, bt as yn, bu as dn, bv as pn, bw as z, bx as Tn, aV as hn, by as Z, bz as An, aU as mn, aT as H, b9 as Sn, aQ as On, bA as In } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
var wn = "[object Symbol]";
|
|
3
3
|
function $(n) {
|
|
4
4
|
return typeof n == "symbol" || O(n) && fn(n) == wn;
|
package/{requirementDiagram-KVF5MWMF-BMw-tAyf.mjs → requirementDiagram-KVF5MWMF-BQdhN2Ua.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Ge, s as ze } from "./chunk-RZ5BOZE2-
|
|
2
|
-
import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./index-
|
|
1
|
+
import { g as Ge, s as ze } from "./chunk-RZ5BOZE2-Bk1Fdoi1.mjs";
|
|
2
|
+
import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./index-Bbp_B8UC.mjs";
|
|
3
3
|
var Ae = function() {
|
|
4
4
|
var e = /* @__PURE__ */ f(function(P, i, r, l) {
|
|
5
5
|
for (r = r || {}, l = P.length; l--; r[P[l]] = i) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as p, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, U as Et, y as At, k as Tt } from "./index-
|
|
1
|
+
import { _ as p, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, U as Et, y as At, k as Tt } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
import { o as Mt } from "./ordinal-C0oynhte.mjs";
|
|
3
3
|
function Nt(t) {
|
|
4
4
|
for (var e = t.length / 6 | 0, i = new Array(e), a = 0; a < e; ) i[a] = "#" + t.slice(a * 6, ++a * 6);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as xe, b as Yt, g as At, d as Te, c as ye, e as Ee } from "./chunk-D6G4REZN-
|
|
2
|
-
import { I as be } from "./chunk-XZIHB7SX-
|
|
3
|
-
import { _ as u, n as me, c as $, d as Lt, l as G, j as Zt, e as we, f as ve, k as I, b as Gt, s as Ie, p as Le, a as _e, g as Pe, q as Ae, y as ke, i as _t, u as Y, L as ot, M as bt, N as Qt, Z as Ne, O as jt, E as Ct } from "./index-
|
|
1
|
+
import { a as xe, b as Yt, g as At, d as Te, c as ye, e as Ee } from "./chunk-D6G4REZN-CED0o9vk.mjs";
|
|
2
|
+
import { I as be } from "./chunk-XZIHB7SX-DMbx2vRz.mjs";
|
|
3
|
+
import { _ as u, n as me, c as $, d as Lt, l as G, j as Zt, e as we, f as ve, k as I, b as Gt, s as Ie, p as Le, a as _e, g as Pe, q as Ae, y as ke, i as _t, u as Y, L as ot, M as bt, N as Qt, Z as Ne, O as jt, E as Ct } from "./index-Bbp_B8UC.mjs";
|
|
4
4
|
var Ot = function() {
|
|
5
5
|
var e = /* @__PURE__ */ u(function(ht, v, L, P) {
|
|
6
6
|
for (L = L || {}, P = ht.length; P--; L[ht[P]] = v) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as W, a as P, S as N } from "./chunk-AEK57VVT
|
|
2
|
-
import { _ as u, c as t, d as H, l as S, e as C, k as z, Q as U, R as F, u as O } from "./index-
|
|
3
|
-
import { G as J } from "./graph-
|
|
4
|
-
import { l as X } from "./layout-
|
|
1
|
+
import { s as W, a as P, S as N } from "./chunk-AEK57VVT--Aefuknu.mjs";
|
|
2
|
+
import { _ as u, c as t, d as H, l as S, e as C, k as z, Q as U, R as F, u as O } from "./index-Bbp_B8UC.mjs";
|
|
3
|
+
import { G as J } from "./graph-CkxR5tWp.mjs";
|
|
4
|
+
import { l as X } from "./layout-DZNUYSmf.mjs";
|
|
5
5
|
var L = {}, D = /* @__PURE__ */ u((e, i) => {
|
|
6
6
|
L[e] = i;
|
|
7
7
|
}, "set"), Y = /* @__PURE__ */ u((e) => L[e], "get"), A = /* @__PURE__ */ u(() => Object.keys(L), "keys"), I = /* @__PURE__ */ u(() => A().length, "size"), $ = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, b as t, a as r, S as s } from "./chunk-AEK57VVT
|
|
2
|
-
import { _ as i } from "./index-
|
|
1
|
+
import { s as a, b as t, a as r, S as s } from "./chunk-AEK57VVT--Aefuknu.mjs";
|
|
2
|
+
import { _ as i } from "./index-Bbp_B8UC.mjs";
|
|
3
3
|
var _ = {
|
|
4
4
|
parser: r,
|
|
5
5
|
get db() {
|
package/{timeline-definition-BDJGKUSR-BP150YKh.mjs → timeline-definition-BDJGKUSR-BjlwYSyp.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as s, c as xt, l as T, d as U, U as kt, V as vt, W as _t, X as bt, B as wt, Y as St, y as Et } from "./index-
|
|
2
|
-
import { d as nt } from "./arc-
|
|
1
|
+
import { _ as s, c as xt, l as T, d as U, U as kt, V as vt, W as _t, X as bt, B as wt, Y as St, y as Et } from "./index-Bbp_B8UC.mjs";
|
|
2
|
+
import { d as nt } from "./arc-BpShNwHf.mjs";
|
|
3
3
|
var X = function() {
|
|
4
4
|
var n = /* @__PURE__ */ s(function(f, i, a, d) {
|
|
5
5
|
for (a = a || {}, d = f.length; d--; a[f[d]] = i) ;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as a, s as ui, g as gi, q as Ft, p as xi, a as di, b as pi, l as Xt, H as fi, e as mi, y as yi, E as At, D as Nt, F as bi, K as Ai, i as wi, aG as Ci, Q as Bt } from "./index-
|
|
1
|
+
import { _ as a, s as ui, g as gi, q as Ft, p as xi, a as di, b as pi, l as Xt, H as fi, e as mi, y as yi, E as At, D as Nt, F as bi, K as Ai, i as wi, aG as Ci, Q as Bt } from "./index-Bbp_B8UC.mjs";
|
|
2
2
|
import { i as Si } from "./init-DjUOC4st.mjs";
|
|
3
3
|
import { o as _i } from "./ordinal-C0oynhte.mjs";
|
|
4
|
-
import { l as Wt } from "./linear-
|
|
4
|
+
import { l as Wt } from "./linear-B3hVeAcb.mjs";
|
|
5
5
|
function ki(e, t, i) {
|
|
6
6
|
e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
|
|
7
7
|
for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
|