md-editor-v3 2.0.0-beta.0 → 2.0.0-beta.1
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/lib/MdEditor/Editor.d.ts +269 -0
- package/lib/MdEditor/extensions/Catalog/CatalogLink.d.ts +39 -0
- package/lib/MdEditor/extensions/Catalog/index.d.ts +51 -0
- package/lib/MdEditor/extensions/DropdownToolbar.d.ts +42 -0
- package/lib/MdEditor/extensions/ModalToolbar.d.ts +105 -0
- package/lib/MdEditor/extensions/NormalToolbar.d.ts +30 -0
- package/lib/MdEditor/index.d.ts +610 -0
- package/lib/MdEditor/type.d.ts +221 -0
- package/lib/MdEditor/utils/config.d.ts +3 -0
- package/lib/md-editor-v3.es.js +6369 -0
- package/lib/md-editor-v3.umd.js +116 -0
- package/lib/style.css +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
(function(a,c){typeof exports=="object"&&typeof module!="undefined"?module.exports=c(require("vue")):typeof define=="function"&&define.amd?define(["vue"],c):(a=typeof globalThis!="undefined"?globalThis:a||self,a.MdEditorV3=c(a.Vue))})(this,function(a){"use strict";var wn=Object.defineProperty,vn=Object.defineProperties;var xn=Object.getOwnPropertyDescriptors;var ht=Object.getOwnPropertySymbols;var $n=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable;var ft=(a,c,U)=>c in a?wn(a,c,{enumerable:!0,configurable:!0,writable:!0,value:U}):a[c]=U,X=(a,c)=>{for(var U in c||(c={}))$n.call(c,U)&&ft(a,U,c[U]);if(ht)for(var U of ht(c))Cn.call(c,U)&&ft(a,U,c[U]);return a},He=(a,c)=>vn(a,xn(c));const c="md",U="https://at.alicdn.com/t/font_2605852_pqekijay2ij.js",mt="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.2.0/build/highlight.min.js",Oe={main:"https://cdn.jsdelivr.net/npm/prettier@2.4.0/standalone.js",markdown:"https://cdn.jsdelivr.net/npm/prettier@2.4.0/parser-markdown.js"},Me={css:"https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.css",js:"https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.js"},pt="https://cdn.jsdelivr.net/npm/screenfull@5.1.0/dist/screenfull.js",Pe=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],Be={"zh-CN":{toolbarTips:{bold:"\u52A0\u7C97",underline:"\u4E0B\u5212\u7EBF",italic:"\u659C\u4F53",strikeThrough:"\u5220\u9664\u7EBF",title:"\u6807\u9898",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",quote:"\u5F15\u7528",unorderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868",codeRow:"\u884C\u5185\u4EE3\u7801",code:"\u5757\u7EA7\u4EE3\u7801",link:"\u94FE\u63A5",image:"\u56FE\u7247",table:"\u8868\u683C",mermaid:"mermaid\u56FE",katex:"katex\u516C\u5F0F",revoke:"\u540E\u9000",next:"\u524D\u8FDB",save:"\u4FDD\u5B58",prettier:"\u7F8E\u5316",pageFullscreen:"\u6D4F\u89C8\u5668\u5168\u5C4F",fullscreen:"\u5C4F\u5E55\u5168\u5C4F",preview:"\u9884\u89C8",htmlPreview:"html\u4EE3\u7801\u9884\u89C8",catalog:"\u76EE\u5F55",github:"\u6E90\u7801\u5730\u5740"},titleItem:{h1:"\u4E00\u7EA7\u6807\u9898",h2:"\u4E8C\u7EA7\u6807\u9898",h3:"\u4E09\u7EA7\u6807\u9898",h4:"\u56DB\u7EA7\u6807\u9898",h5:"\u4E94\u7EA7\u6807\u9898",h6:"\u516D\u7EA7\u6807\u9898"},imgTitleItem:{link:"\u6DFB\u52A0\u94FE\u63A5",upload:"\u4E0A\u4F20\u56FE\u7247",clip2upload:"\u88C1\u526A\u4E0A\u4F20"},linkModalTips:{title:"\u6DFB\u52A0",descLable:"\u94FE\u63A5\u63CF\u8FF0\uFF1A",descLablePlaceHolder:"\u8BF7\u8F93\u5165\u63CF\u8FF0...",urlLable:"\u94FE\u63A5\u5730\u5740\uFF1A",UrlLablePlaceHolder:"\u8BF7\u8F93\u5165\u94FE\u63A5...",buttonOK:"\u786E\u5B9A"},clipModalTips:{title:"\u88C1\u526A\u56FE\u7247\u4E0A\u4F20",buttonUpload:"\u4E0A\u4F20"},copyCode:{text:"\u590D\u5236\u4EE3\u7801",tips:"\u5DF2\u590D\u5236\uFF01"},mermaid:{flow:"\u6D41\u7A0B\u56FE",sequence:"\u65F6\u5E8F\u56FE",gantt:"\u7518\u7279\u56FE",class:"\u7C7B\u56FE",state:"\u72B6\u6001\u56FE",pie:"\u997C\u56FE",relationship:"\u5173\u7CFB\u56FE",journey:"\u65C5\u7A0B\u56FE"},katex:{inline:"\u884C\u5185\u516C\u5F0F",block:"\u5757\u7EA7\u516C\u5F0F"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{title:"Add ",descLable:"Desc:",descLablePlaceHolder:"Enter a description...",urlLable:"Link:",UrlLablePlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",tips:"Copied!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"}}},gt="https://cdn.jsdelivr.net/npm/mermaid@8.13.5/dist/mermaid.min.js",Ue={js:"https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js",css:"https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css"},qe={a11y:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/a11y-light.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/a11y-dark.css"},atom:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/atom-one-light.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/atom-one-dark.css"},github:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github-dark.css"},gradient:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/gradient-light.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/gradient-dark.css"},kimbie:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/kimbie-light.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/kimbie-dark.css"},paraiso:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/paraiso-light.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/paraiso-dark.css"},qtcreator:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/qtcreator-light.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/qtcreator-dark.css"},stackoverflow:{light:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/stackoverflow-light.css",dark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/stackoverflow-dark.css"}};class kt{constructor(){this.pools={}}remove(e,t,n){const r=this.pools[e]&&this.pools[e][t];r&&(this.pools[e][t]=r.filter(o=>o===n))}clear(e){this.pools[e]={}}on(e,t){return this.pools[e]||(this.pools[e]={}),this.pools[e][t.name]||(this.pools[e][t.name]=[]),this.pools[e][t.name].push(t.callback),this.pools[e][t.name].includes(t.callback)}emit(e,t,...n){this.pools[e]||(this.pools[e]={});const r=this.pools[e][t];r&&r.forEach(o=>{try{o(...n)}catch(s){console.error(`${t} monitor event exception\uFF01`,s)}})}}var v=new kt;const W=(i,e=0,t=e)=>{i.setSelectionRange?setTimeout(()=>{i.setSelectionRange(e,t),i.focus()},0):console.error("can not reset position!")},je=(i,e,t)=>{const{deviationStart:n=0,deviationEnd:l=0,direct:r=!1,select:o=!1}=t;let s="";if(i.selectionStart||i.selectionStart===0){const u=i.selectionStart,f=i.selectionEnd||0,{prefixVal:d=i.value.substring(0,u),subfixVal:p=i.value.substring(f,i.value.length)}=t;s=d+e+p,W(i,o?u+n:u+e.length+l,u+e.length+l)}else s+=e;return r&&(i.value=s),s},bt=(i,e={newWindow:!0,nofollow:!0})=>{i||console.error("error link!");const t=document.createElement("a");t.href=i,t.style.display="none",e.newWindow&&(t.target="_blank"),e.nofollow&&(t.rel="noopener noreferrer"),document.body.appendChild(t),t.click(),document.body.removeChild(t)},Ke=(i,e)=>{const t=me(()=>{i.removeEventListener("scroll",n),i.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=l=>{const r=i.clientHeight,o=e.clientHeight,s=i.scrollHeight,u=e.scrollHeight,f=(s-r)/(u-o);l.target===i?(e.removeEventListener("scroll",n),e.scrollTo({top:i.scrollTop/f}),t()):(i.removeEventListener("scroll",n),i.scrollTo({top:e.scrollTop*f}),t())};return[t,()=>{i.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},yt=(i,e="image.png")=>{const t=i.split(","),n=t[0].match(/:(.*?);/);if(n){const l=n[1],r=atob(t[1]);let o=r.length;const s=new Uint8Array(o);for(;o--;)s[o]=r.charCodeAt(o);return new File([s],e,{type:l})}return null},Ze=i=>{if(!i.trim())return i;const e=i.split(`
|
|
2
|
+
`),t=['<span rn-wrapper aria-hidden="true">'];return e.forEach(()=>{t.push("<span></span>")}),t.push("</span>"),`<span class="code-block">${i}</span>${t.join("")}`},me=(i,e=200)=>{let t=0;return(...n)=>{t&&clearTimeout(t),t=window.setTimeout(()=>{i.apply(globalThis,n),t=0},e)}},We=(i,e="$")=>{const t=i.split(e);let n=e,l="";for(let r=1;r<t.length;r++)if(/\\$/.test(t[r]))n+=t[r]+"$",l+=t[r]+"$";else{n+=t[r]+e,l+=t[r];break}return[n,l]},wt=i=>{var t;return navigator.userAgent.indexOf("Firefox")>-1?i.value.substring(i.selectionStart,i.selectionEnd):((t=window.getSelection())==null?void 0:t.toString())||""},Ge=(i,e)=>{const t=n=>{const l=i.parentElement||document.body,r=l.offsetWidth,o=l.offsetHeight,{clientWidth:s}=document.documentElement,{clientHeight:u}=document.documentElement,f=n.offsetX,d=n.offsetY,p=h=>{let g=h.x+document.body.scrollLeft-document.body.clientLeft-f,y=h.y+document.body.scrollTop-document.body.clientTop-d;g=g<1?1:g<s-r-1?g:s-r-1,y=y<1?1:y<u-o-1?y:u-o-1,e?e(g,y):(l.style.left=`${g}px`,l.style.top=`${y}px`)};document.addEventListener("mousemove",p);const m=()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",m)};document.addEventListener("mouseup",m)};return i.addEventListener("mousedown",t),()=>{i.removeEventListener("mousedown",t)}},q=(i,e="")=>{const t=document.getElementById(i.id);t?e!==""&&i.onload instanceof Function&&(Reflect.get(window,e)?i.onload(new Event("load")):t.addEventListener("load",i.onload)):document.head.appendChild(i)},vt=me((i,e,t)=>{const n=document.getElementById(i);n&&n.setAttribute(e,t)},10),xt=(i,e)=>{const{editorId:t}=i,n=r=>{var o,s;return((o=i.toolbars)==null?void 0:o.includes(r))&&!((s=i.toolbarsExclude)!=null&&s.includes(r))},l=r=>{if(r.target===document.querySelector(`#${i.editorId}-textarea`))if(v.emit(t,"selectTextChange"),r.ctrlKey||r.metaKey)switch(r.code){case"KeyS":{r.shiftKey?n("strikeThrough")&&v.emit(t,"replace","strikeThrough"):n("save")&&(v.emit(t,"onSave",i.modelValue),r.preventDefault());break}case"KeyB":{n("bold")&&(v.emit(t,"replace","bold"),r.preventDefault());break}case"KeyU":{r.shiftKey?n("unorderedList")&&(v.emit(t,"replace","unorderedList"),r.preventDefault()):n("underline")&&(v.emit(t,"replace","underline"),r.preventDefault());break}case"KeyI":{r.shiftKey?n("image")&&(v.emit(t,"openModals","image"),r.preventDefault()):n("italic")&&(v.emit(t,"replace","italic"),r.preventDefault());break}case"Digit1":{n("title")&&(v.emit(t,"replace","h1"),r.preventDefault());break}case"Digit2":{n("title")&&(v.emit(t,"replace","h2"),r.preventDefault());break}case"Digit3":{n("title")&&(v.emit(t,"replace","h3"),r.preventDefault());break}case"Digit4":{n("title")&&(v.emit(t,"replace","h4"),r.preventDefault());break}case"Digit5":{n("title")&&(v.emit(t,"replace","h5"),r.preventDefault());break}case"Digit6":{n("title")&&(v.emit(t,"replace","h6"),r.preventDefault());break}case"ArrowUp":{n("sup")&&(v.emit(t,"replace","sup"),r.preventDefault());break}case"ArrowDown":{n("sub")&&(v.emit(t,"replace","sub"),r.preventDefault());break}case"KeyQ":{if(r.key==="a"){r.target.select();return}v.emit(t,"replace","quote"),r.preventDefault();break}case"KeyA":if(r.key==="q"){v.emit(t,"replace","quote"),r.preventDefault();break}else return;case"KeyO":{n("orderedList")&&(v.emit(t,"replace","orderedList"),r.preventDefault());break}case"KeyC":{if(r.shiftKey)n("code")&&(v.emit(t,"replace","code"),r.preventDefault());else if(r.altKey)n("codeRow")&&(v.emit(t,"replace","codeRow"),r.preventDefault());else{r.preventDefault(),v.emit(t,"replace","ctrlC");break}break}case"KeyL":{n("link")&&(v.emit(t,"openModals","link"),r.preventDefault());break}case"KeyZ":{if(r.key==="w")return;r.shiftKey?n("next")&&(v.emit(t,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(v.emit(t,"ctrlZ"),r.preventDefault());break}case"KeyW":if(r.key==="z"){r.shiftKey?n("next")&&(v.emit(t,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(v.emit(t,"ctrlZ"),r.preventDefault());break}else return;case"KeyF":{r.shiftKey&&n("prettier")&&(v.emit(t,"replace","prettier"),r.preventDefault());break}case"KeyT":{r.altKey&&r.shiftKey&&n("table")&&(v.emit(t,"replace","table"),r.preventDefault());break}case"KeyX":{v.emit(t,"replace","ctrlX"),r.preventDefault();break}case"KeyD":{r.preventDefault(),v.emit(t,"replace","ctrlD");break}}else r.code==="Tab"&&(r.preventDefault(),r.shiftKey?v.emit(t,"replace","shiftTab"):v.emit(t,"replace","tab"))};a.onMounted(()=>{i.previewOnly||(window.addEventListener("keydown",l),v.on(t,{name:"onSave",callback(){i.onSave?i.onSave(i.modelValue):e.emit("onSave",i.modelValue)}}))}),a.onBeforeUnmount(()=>{i.previewOnly||window.removeEventListener("keydown",l)})},$t=(i,e)=>{var r;const{editorId:t}=i,n=(r=e==null?void 0:e.editorExtensions)==null?void 0:r.highlight;a.provide("editorId",t),a.provide("tabWidth",i.tabWidth),a.provide("theme",a.computed(()=>i.theme)),a.provide("highlight",a.computed(()=>{const o=X(X({},qe),n==null?void 0:n.css);return{js:(n==null?void 0:n.js)||mt,css:o[i.codeCssName]?o[i.codeCssName][i.theme]:qe.atom[i.theme]}})),a.provide("historyLength",i.historyLength),a.provide("previewOnly",i.previewOnly),a.provide("showCodeRowNumber",i.showCodeRowNumber);const l=a.computed(()=>{var s;const o=X(X({},Be),(s=e==null?void 0:e.editorConfig)==null?void 0:s.languageUserDefined);return o[i.language]?o[i.language]:Be["zh-CN"]});a.provide("usedLanguageText",l),a.provide("previewTheme",a.computed(()=>i.previewTheme)),a.provide("extension",e)},Ct=(i,e)=>{const{noPrettier:t,previewOnly:n}=i;a.onMounted(()=>{var f,d,p,m,h,g,y,x,N,I,V;const l=document.createElement("script");l.src=((f=e.editorExtensions)==null?void 0:f.iconfont)||U,l.id=`${c}-icon`;const r=document.createElement("script"),o=document.createElement("script");r.src=((p=(d=e.editorExtensions)==null?void 0:d.prettier)==null?void 0:p.parserMarkdownJs)||Oe.main,r.id=`${c}-prettier`,o.src=((h=(m=e.editorExtensions)==null?void 0:m.prettier)==null?void 0:h.parserMarkdownJs)||Oe.markdown,o.id=`${c}-prettierMD`;const s=document.createElement("link");s.rel="stylesheet",s.href=((y=(g=e.editorExtensions)==null?void 0:g.cropper)==null?void 0:y.css)||Me.css,s.id=`${c}-cropperCss`;const u=document.createElement("script");u.src=((N=(x=e.editorExtensions)==null?void 0:x.cropper)==null?void 0:N.js)||Me.js,u.id=`${c}-cropper`,n||(q(l),(V=(I=e.editorExtensions)==null?void 0:I.cropper)!=null&&V.instance||(q(s),q(u)),t||(q(r),q(o)))})};var Sn="",St=a.defineComponent({setup(){return()=>a.createVNode("div",{class:`${c}-divider`},null)}});const G=({instance:i,ctx:e,props:t={}},n="default")=>{const l=(i==null?void 0:i.$slots[n])||(e==null?void 0:e.slots[n]);return(l?l(i):"")||t[n]};var En="",le=a.defineComponent({props:{trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}},relative:{type:String,default:"html"}},setup(i,e){const t=`${c}-dropdown-hidden`,n=a.reactive({overlayClass:[t],overlayStyle:{},triggerHover:!1,overlayHover:!1}),l=a.ref(),r=a.ref(),o=()=>{var V;i.trigger==="hover"&&(n.triggerHover=!0);const p=l.value,m=r.value,h=p.getBoundingClientRect(),g=p.offsetTop,y=p.offsetLeft,x=h.height,N=h.width,I=((V=document.querySelector(i.relative))==null?void 0:V.scrollLeft)||0;n.overlayStyle=He(X({},n.overlayStyle),{top:g+x+"px",left:y-m.offsetWidth/2+N/2-I+"px"}),i.onChange(!0)},s=()=>{n.overlayHover=!0};a.watch(()=>i.visible,p=>{p?n.overlayClass=n.overlayClass.filter(m=>m!==t):n.overlayClass.push(t)});const u=p=>{const m=l.value,h=r.value;!m.contains(p.target)&&!h.contains(p.target)&&i.onChange(!1)};let f=-1;const d=p=>{l.value===p.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(f),f=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&i.onChange(!1)},10)};return a.onMounted(()=>{i.trigger==="click"?(l.value.addEventListener("click",o),document.addEventListener("click",u)):(l.value.addEventListener("mouseenter",o),l.value.addEventListener("mouseleave",d),r.value.addEventListener("mouseenter",s),r.value.addEventListener("mouseleave",d))}),a.onBeforeUnmount(()=>{i.trigger==="click"?(l.value.removeEventListener("click",o),document.removeEventListener("click",u)):(l.value.removeEventListener("mouseenter",o),l.value.removeEventListener("mouseleave",d),r.value.removeEventListener("mouseenter",s),r.value.removeEventListener("mouseleave",d))}),()=>{const p=G({ctx:e}),m=G({props:i,ctx:e},"overlay"),h=a.cloneVNode(p instanceof Array?p[0]:p,{ref:l}),g=a.createVNode("div",{class:[`${c}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[a.createVNode("div",{class:`${c}-dropdown-overlay`},[m instanceof Array?m[0]:m])]);return[h,g]}}}),Nn="",Le=a.defineComponent({props:{title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function,default:()=>()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>()=>{}}},setup(i,e){const t=a.ref(i.visible),n=a.ref([`${c}-modal`]),l=a.ref(),r=a.ref();let o=()=>{};const s=a.reactive({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),u=a.computed(()=>i.isFullscreen?{width:"100%",height:"100%"}:{width:i.width,height:i.height});return a.onMounted(()=>{o=Ge(r.value,(f,d)=>{s.initPos.left=f+"px",s.initPos.top=d+"px"})}),a.onBeforeUnmount(()=>{o()}),a.watch(()=>i.isFullscreen,f=>{f?o():o=Ge(r.value,(d,p)=>{s.initPos.left=d+"px",s.initPos.top=p+"px"})}),a.watch(()=>i.visible,f=>{f?(n.value.push("zoom-in"),t.value=f,a.nextTick(()=>{const d=l.value.offsetWidth/2,p=l.value.offsetHeight/2,m=document.documentElement.clientWidth/2,h=document.documentElement.clientHeight/2;s.initPos.left=m-d+"px",s.initPos.top=h-p+"px"}),setTimeout(()=>{n.value=n.value.filter(d=>d!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(d=>d!=="zoom-out"),t.value=f},130))}),()=>{const f=G({ctx:e}),d=G({props:i,ctx:e},"title");return a.createVNode("div",{style:{display:t.value?"block":"none"}},[a.createVNode("div",{class:`${c}-modal-mask`,onClick:i.onClose},null),a.createVNode("div",{class:n.value,style:X(X({},s.initPos),u.value),ref:l},[a.createVNode("div",{class:`${c}-modal-header`,ref:r},[d||""]),a.createVNode("div",{class:`${c}-modal-body`},[f]),a.createVNode("div",{class:`${c}-modal-func`},[i.showAdjust&&a.createVNode("div",{class:`${c}-modal-adjust`,onClick:p=>{p.stopPropagation(),i.isFullscreen?s.initPos=s.historyPos:(s.historyPos=s.initPos,s.initPos={left:"0",top:"0"}),i.onAdjust(!i.isFullscreen)}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":`#icon-${i.isFullscreen?"suoxiao":"fangda"}`},null)])]),a.createVNode("div",{class:`${c}-modal-close`,onClick:p=>{p.stopPropagation(),i.onClose&&i.onClose()}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-close"},null)])])])])])}}}),Et=a.defineComponent({props:{type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(i){const e=a.inject("usedLanguageText"),t=a.inject("editorId"),n=a.computed(()=>{var r,o,s,u;switch(i.type){case"link":return`${(r=e.value.linkModalTips)==null?void 0:r.title}${(o=e.value.toolbarTips)==null?void 0:o.link}`;case"image":return`${(s=e.value.linkModalTips)==null?void 0:s.title}${(u=e.value.toolbarTips)==null?void 0:u.image}`;default:return""}}),l=a.reactive({desc:"",url:""});return a.watch(()=>i.visible,r=>{r||setTimeout(()=>{l.desc="",l.url=""},200)}),()=>a.createVNode(Le,{title:n.value,visible:i.visible,onClose:i.onCancel},{default:()=>{var r,o,s,u,f;return[a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("label",{class:`${c}-lable`,for:`link-desc-${t}`},[(r=e.value.linkModalTips)==null?void 0:r.descLable]),a.createVNode("input",{placeholder:(o=e.value.linkModalTips)==null?void 0:o.descLablePlaceHolder,class:`${c}-input`,id:`link-desc-${t}`,type:"text",value:l.desc,onChange:d=>{l.desc=d.target.value},autocomplete:"off"},null)]),a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("label",{class:`${c}-lable`,for:`link-url-${t}`},[(s=e.value.linkModalTips)==null?void 0:s.urlLable]),a.createVNode("input",{placeholder:(u=e.value.linkModalTips)==null?void 0:u.UrlLablePlaceHolder,class:`${c}-input`,id:`link-url-${t}`,type:"text",value:l.url,onChange:d=>{l.url=d.target.value},autocomplete:"off"},null)]),a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("button",{class:[`${c}-btn`,`${c}-btn-row`],type:"button",onClick:()=>{i.onOk(l),l.desc="",l.url=""}},[(f=e.value.linkModalTips)==null?void 0:f.buttonOK])])]}})}}),Vn="",Nt=a.defineComponent({props:{visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(i){var p,m;const e=a.inject("usedLanguageText"),t=a.inject("editorId"),n=a.inject("extension");let l=(m=(p=n==null?void 0:n.editorExtensions)==null?void 0:p.cropper)==null?void 0:m.instance;const r=a.ref(),o=a.ref(),s=a.ref(),u=a.reactive({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let f=null;a.watch(()=>i.visible,()=>{i.visible&&!u.cropperInited&&(l=l||window.Cropper,r.value.onchange=()=>{if(!l){v.emit(t,"errorCatcher",{name:"Cropper",message:"Cropper is undefined"});return}const h=r.value.files||[];if(u.imgSelected=!0,(h==null?void 0:h.length)>0){const g=new FileReader;g.onload=y=>{u.imgSrc=y.target.result,a.nextTick(()=>{f=new l(o.value,{viewMode:2,preview:`.${c}-clip-preview-target`})})},g.readAsDataURL(h[0])}})}),a.watch(()=>[u.imgSelected],()=>{s.value.style=""}),a.watch(()=>u.isFullscreen,()=>{a.nextTick(()=>{f==null||f.destroy(),s.value.style="",o.value&&(f=new l(o.value,{viewMode:2,preview:`.${c}-clip-preview-target`}))})});const d=()=>{f.destroy(),r.value.value="",u.imgSelected=!1};return()=>{var h;return a.createVNode(Le,{title:(h=e.value.clipModalTips)==null?void 0:h.title,visible:i.visible,onClose:i.onCancel,showAdjust:!0,isFullscreen:u.isFullscreen,onAdjust:g=>{u.isFullscreen=g},width:"668px",height:"421px"},{default:()=>{var g;return[a.createVNode("div",{class:`${c}-form-item ${c}-clip`},[a.createVNode("div",{class:`${c}-clip-main`},[u.imgSelected?a.createVNode("div",{class:`${c}-clip-cropper`},[a.createVNode("img",{src:u.imgSrc,ref:o,style:{display:"none"}},null),a.createVNode("div",{class:`${c}-clip-delete`,onClick:d},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-delete"},null)])])]):a.createVNode("div",{class:`${c}-clip-upload`,onClick:()=>{r.value.click()}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-upload"},null)])])]),a.createVNode("div",{class:`${c}-clip-preview`},[a.createVNode("div",{class:`${c}-clip-preview-target`,ref:s},null)])]),a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("button",{class:`${c}-btn`,type:"button",onClick:()=>{const y=f.getCroppedCanvas();v.emit(t,"uploadImage",[yt(y.toDataURL("image/png"))],i.onOk),d()}},[(g=e.value.linkModalTips)==null?void 0:g.buttonOK])]),a.createVNode("input",{ref:r,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),Vt=a.defineComponent({props:{type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(i){return()=>a.createVNode(a.Fragment,null,[a.createVNode(Et,{type:i.type,visible:i.linkVisible,onOk:i.onOk,onCancel:i.onCancel},null),a.createVNode(Nt,{visible:i.clipVisible,onOk:i.onOk,onCancel:i.onCancel},null)])}});const Tt=i=>{var d,p,m,h;const e=a.inject("editorId"),t=a.inject("previewOnly"),n=a.inject("extension");let l=(p=(d=n.editorExtensions)==null?void 0:d.screenfull)==null?void 0:p.instance;const r=(h=(m=n.editorExtensions)==null?void 0:m.screenfull)==null?void 0:h.js,o=a.ref(!1),s=()=>{if(!l){v.emit(e,"errorCatcher",{name:"fullScreen",message:"fullScreen is undefined"});return}l.isEnabled?(o.value=!0,l.isFullscreen?l.exit():l.request()):console.error("browser does not support screenfull!")},u=()=>{l&&l.isEnabled&&l.on("change",()=>{o.value&&(o.value=!1,i.updateSetting(!i.setting.fullscreen,"fullscreen"))})},f=()=>{l=window.screenfull,u()};return a.onMounted(()=>{if(u(),!t&&!l){const g=document.createElement("script");g.src=r||pt,g.onload=f,g.id=`${c}-screenfull`,q(g,"screenfull")}}),{fullScreenHandler:s}},zt=a.defineComponent({name:"TableShape",props:{tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},setup(i){const e=a.reactive({x:-1,y:-1});return()=>a.createVNode("div",{class:`${c}-table-shape`,onMouseleave:()=>{e.x=-1,e.y=-1}},[new Array(i.tableShape[1]).fill("").map((t,n)=>a.createVNode("div",{class:`${c}-table-shape-row`,key:`table-shape-row-${n}`},[new Array(i.tableShape[0]).fill("").map((l,r)=>a.createVNode("div",{class:`${c}-table-shape-col`,key:`table-shape-col-${r}`,onMouseenter:()=>{e.x=n,e.y=r},onClick:()=>{i.onSelected(e)}},[a.createVNode("div",{class:[`${c}-table-shape-col-default`,n<=e.x&&r<=e.y&&`${c}-table-shape-col-include`]},null)]))]))])}});var It=a.defineComponent({name:"MDEditorToolbar",props:{noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object}},setup(i){const e=a.inject("editorId"),t=a.inject("usedLanguageText"),{fullScreenHandler:n}=Tt(i),l=`${e}-toolbar-wrapper`,r=a.reactive({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),o=(h,g)=>{v.emit(e,"replace",h,g)},s=a.reactive({type:"link",linkVisible:!1,clipVisible:!1}),u=a.ref();a.onMounted(()=>{v.on(e,{name:"openModals",callback(h){s.type=h,s.linkVisible=!0}})});const f=a.computed(()=>{const h=i.toolbars.filter(N=>!i.toolbarsExclude.includes(N)),g=h.indexOf("="),y=g===-1?h:h.slice(0,g+1),x=g===-1?[]:h.slice(g,Number.MAX_SAFE_INTEGER);return[y,x]}),d=a.ref(),p=()=>{v.emit(e,"uploadImage",Array.from(d.value.files||[])),d.value.value=""};a.onMounted(()=>{d.value.addEventListener("change",p)});const m=h=>{var g,y,x,N,I,V,H,j,R,T,k,P,_,$,b,S,L,F,z,O,B,ee,Z,oe,ve,xe,$e,te,Ce,Se,ie,Ee,Ne,ue,he,Ve,Te,se,ze,Ie,fe;if(Pe.includes(h))switch(h){case"-":return a.createVNode(St,null,null);case"bold":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(g=t.value.toolbarTips)==null?void 0:g.bold,onClick:()=>{o("bold")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-bold"},null)])]);case"underline":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(y=t.value.toolbarTips)==null?void 0:y.underline,onClick:()=>{o("underline")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-underline"},null)])]);case"italic":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(x=t.value.toolbarTips)==null?void 0:x.italic,onClick:()=>{o("italic")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-italic"},null)])]);case"strikeThrough":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(N=t.value.toolbarTips)==null?void 0:N.strikeThrough,onClick:()=>{o("strikeThrough")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-strike-through"},null)])]);case"title":return a.createVNode(le,{relative:`#${l}`,visible:r.title,onChange:A=>{r.title=A},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("h1")}},[(I=t.value.titleItem)==null?void 0:I.h1]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("h2")}},[(V=t.value.titleItem)==null?void 0:V.h2]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("h3")}},[(H=t.value.titleItem)==null?void 0:H.h3]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("h4")}},[(j=t.value.titleItem)==null?void 0:j.h4]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("h5")}},[(R=t.value.titleItem)==null?void 0:R.h5]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("h6")}},[(T=t.value.titleItem)==null?void 0:T.h6])])},{default:()=>{var A;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(A=t.value.toolbarTips)==null?void 0:A.title},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-title"},null)])])]}});case"sub":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(k=t.value.toolbarTips)==null?void 0:k.sub,onClick:()=>{o("sub")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-sub"},null)])]);case"sup":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(P=t.value.toolbarTips)==null?void 0:P.sup,onClick:()=>{o("sup")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-sup"},null)])]);case"quote":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(_=t.value.toolbarTips)==null?void 0:_.quote,onClick:()=>{o("quote")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-quote"},null)])]);case"unorderedList":return a.createVNode("div",{class:`${c}-toolbar-item`,title:($=t.value.toolbarTips)==null?void 0:$.unorderedList,onClick:()=>{o("unorderedList")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-unordered-list"},null)])]);case"orderedList":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(b=t.value.toolbarTips)==null?void 0:b.orderedList,onClick:()=>{o("orderedList")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-ordered-list"},null)])]);case"codeRow":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=t.value.toolbarTips)==null?void 0:S.codeRow,onClick:()=>{o("codeRow")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-code-row"},null)])]);case"code":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(L=t.value.toolbarTips)==null?void 0:L.code,onClick:()=>{o("code")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-code"},null)])]);case"link":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(F=t.value.toolbarTips)==null?void 0:F.link,onClick:()=>{s.type="link",s.linkVisible=!0}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-link"},null)])]);case"image":return a.createVNode(le,{relative:`#${l}`,visible:r.image,onChange:A=>{r.image=A},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s.type="image",s.linkVisible=!0}},[(z=t.value.imgTitleItem)==null?void 0:z.link]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{d.value.click()}},[(O=t.value.imgTitleItem)==null?void 0:O.upload]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s.clipVisible=!0}},[(B=t.value.imgTitleItem)==null?void 0:B.clip2upload])])},{default:()=>{var A;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(A=t.value.toolbarTips)==null?void 0:A.image},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-image"},null)])])]}});case"table":return a.createVNode(le,{relative:`#${l}`,visible:r.table,onChange:A=>{r.table=A},key:"bar-table",overlay:a.createVNode(zt,{tableShape:i.tableShape,onSelected:A=>{o("table",{selectedShape:A})}},null)},{default:()=>{var A;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(A=t.value.toolbarTips)==null?void 0:A.table},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-table"},null)])])]}});case"revoke":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(ee=t.value.toolbarTips)==null?void 0:ee.revoke,onClick:()=>{v.emit(e,"ctrlZ")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-revoke"},null)])]);case"next":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(Z=t.value.toolbarTips)==null?void 0:Z.next,onClick:()=>{v.emit(e,"ctrlShiftZ")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-next"},null)])]);case"save":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(oe=t.value.toolbarTips)==null?void 0:oe.save,onClick:()=>{v.emit(e,"onSave")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-baocun"},null)])]);case"prettier":return i.noPrettier?"":a.createVNode("div",{class:`${c}-toolbar-item`,title:(ve=t.value.toolbarTips)==null?void 0:ve.prettier,onClick:()=>{o("prettier")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-prettier"},null)])]);case"pageFullscreen":return!i.setting.fullscreen&&a.createVNode("div",{class:`${c}-toolbar-item`,title:(xe=t.value.toolbarTips)==null?void 0:xe.pageFullscreen,onClick:()=>{i.updateSetting(!i.setting.pageFullScreen,"pageFullScreen")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":`#icon-${i.setting.pageFullScreen?"suoxiao":"fangda"}`},null)])]);case"fullscreen":return a.createVNode("div",{class:`${c}-toolbar-item`,title:($e=t.value.toolbarTips)==null?void 0:$e.fullscreen,onClick:n},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":`#icon-${i.setting.fullscreen?"fullScreen-exit":"fullScreen"}`},null)])]);case"preview":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(te=t.value.toolbarTips)==null?void 0:te.preview,onClick:()=>{i.updateSetting(!i.setting.preview,"preview")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-preview"},null)])]);case"htmlPreview":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(Ce=t.value.toolbarTips)==null?void 0:Ce.htmlPreview,onClick:()=>{i.updateSetting(!i.setting.htmlPreview,"htmlPreview")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-coding"},null)])]);case"catalog":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(Se=t.value.toolbarTips)==null?void 0:Se.catalog,onClick:()=>{v.emit(e,"catalogShow")},key:"bar-catalog"},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-catalog"},null)])]);case"github":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(ie=t.value.toolbarTips)==null?void 0:ie.github,onClick:()=>bt("https://github.com/imzbf/md-editor-v3")},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-github"},null)])]);case"mermaid":return a.createVNode(le,{relative:`#${l}`,visible:r.mermaid,onChange:A=>{r.mermaid=A},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.mermaid=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("flow")}},[(Ee=t.value.mermaid)==null?void 0:Ee.flow]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("sequence")}},[(Ne=t.value.mermaid)==null?void 0:Ne.sequence]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("gantt")}},[(ue=t.value.mermaid)==null?void 0:ue.gantt]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("class")}},[(he=t.value.mermaid)==null?void 0:he.class]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("state")}},[(Ve=t.value.mermaid)==null?void 0:Ve.state]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("pie")}},[(Te=t.value.mermaid)==null?void 0:Te.pie]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("relationship")}},[(se=t.value.mermaid)==null?void 0:se.relationship]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("journey")}},[(ze=t.value.mermaid)==null?void 0:ze.journey])]),key:"bar-mermaid"},{default:()=>{var A;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(A=t.value.toolbarTips)==null?void 0:A.mermaid},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-mermaid"},null)])])]}});case"katex":return a.createVNode(le,{relative:`#${l}`,visible:r.katex,onChange:A=>{r.katex=A},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.katex=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("katexInline")}},[(Ie=t.value.katex)==null?void 0:Ie.inline]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{o("katexBlock")}},[(fe=t.value.katex)==null?void 0:fe.block])]),key:"bar-katex"},{default:()=>{var A;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(A=t.value.toolbarTips)==null?void 0:A.katex},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-formula"},null)])])]}})}else return i.defToolbars instanceof Array?i.defToolbars[h]||"":i.defToolbars&&i.defToolbars.children instanceof Array&&i.defToolbars.children[h]||""};return()=>{const h=f.value[0].map(y=>m(y)),g=f.value[1].map(y=>m(y));return a.createVNode("div",{class:`${c}-toolbar-wrapper`,id:l},[a.createVNode("div",{class:`${c}-toolbar`,onMouseenter:()=>{v.emit(e,"selectTextChange")}},[a.createVNode("div",{class:`${c}-toolbar-left`,ref:u},[h]),a.createVNode("div",{class:`${c}-toolbar-right`},[g])]),a.createVNode("input",{ref:d,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),a.createVNode(Vt,{linkVisible:s.linkVisible,clipVisible:s.clipVisible,type:s.type,onCancel:()=>{s.linkVisible=!1,s.clipVisible=!1},onOk:y=>{y&&o(s.type,{desc:y.desc,url:y.url}),s.linkVisible=!1,s.clipVisible=!1}},null)])}}});function Qe(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let re=Qe();function jt(i){re=i}const Lt=/[&<>"']/,Ft=/[&<>"']/g,At=/[<>"']|&(?!#?\w+;)/,Dt=/[<>"']|&(?!#?\w+;)/g,_t={"&":"&","<":"<",">":">",'"':""","'":"'"},Xe=i=>_t[i];function M(i,e){if(e){if(Lt.test(i))return i.replace(Ft,Xe)}else if(At.test(i))return i.replace(Dt,Xe);return i}const Rt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Ye(i){return i.replace(Rt,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Ht=/(^|[^\[])\^/g;function D(i,e){i=typeof i=="string"?i:i.source,e=e||"";const t={replace:(n,l)=>(l=l.source||l,l=l.replace(Ht,"$1"),i=i.replace(n,l),t),getRegex:()=>new RegExp(i,e)};return t}const Ot=/[^\w:]/g,Mt=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Je(i,e,t){if(i){let n;try{n=decodeURIComponent(Ye(t)).replace(Ot,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!Mt.test(t)&&(t=qt(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const pe={},Pt=/^[^:]+:\/*[^/]*$/,Bt=/^([^:]+:)[\s\S]*$/,Ut=/^([^:]+:\/*[^/]*)[\s\S]*$/;function qt(i,e){pe[" "+i]||(Pt.test(i)?pe[" "+i]=i+"/":pe[" "+i]=ke(i,"/",!0)),i=pe[" "+i];const t=i.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:i.replace(Bt,"$1")+e:e.charAt(0)==="/"?t?e:i.replace(Ut,"$1")+e:i+e}const ge={exec:function(){}};function K(i){let e=1,t,n;for(;e<arguments.length;e++){t=arguments[e];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}return i}function et(i,e){const t=i.replace(/\|/g,(r,o,s)=>{let u=!1,f=o;for(;--f>=0&&s[f]==="\\";)u=!u;return u?"|":" |"}),n=t.split(/ \|/);let l=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;l<n.length;l++)n[l]=n[l].trim().replace(/\\\|/g,"|");return n}function ke(i,e,t){const n=i.length;if(n===0)return"";let l=0;for(;l<n;){const r=i.charAt(n-l-1);if(r===e&&!t)l++;else if(r!==e&&t)l++;else break}return i.slice(0,n-l)}function Kt(i,e){if(i.indexOf(e[1])===-1)return-1;const t=i.length;let n=0,l=0;for(;l<t;l++)if(i[l]==="\\")l++;else if(i[l]===e[0])n++;else if(i[l]===e[1]&&(n--,n<0))return l;return-1}function tt(i){i&&i.sanitize&&!i.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function nt(i,e){if(e<1)return"";let t="";for(;e>1;)e&1&&(t+=i),e>>=1,i+=i;return t+i}function it(i,e,t,n){const l=e.href,r=e.title?M(e.title):null,o=i[1].replace(/\\([\[\]])/g,"$1");if(i[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:t,href:l,title:r,text:o,tokens:n.inlineTokens(o,[])};return n.state.inLink=!1,s}return{type:"image",raw:t,href:l,title:r,text:M(o)}}function Zt(i,e){const t=i.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
|
|
3
|
+
`).map(l=>{const r=l.match(/^\s+/);if(r===null)return l;const[o]=r;return o.length>=n.length?l.slice(n.length):l}).join(`
|
|
4
|
+
`)}class Fe{constructor(e){this.options=e||re}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:ke(n,`
|
|
5
|
+
`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],l=Zt(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:l}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const r=ke(n,"#");(this.options.pedantic||!r||/ $/.test(r))&&(n=r.trim())}const l={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,l,r,o,s,u,f,d,p,m,h,g,y=t[1].trim();const x=y.length>1,N={type:"list",raw:"",ordered:x,start:x?+y.slice(0,-1):"",loose:!1,items:[]};y=x?`\\d{1,9}\\${y.slice(-1)}`:`\\${y}`,this.options.pedantic&&(y=x?y:"[*+-]");const I=new RegExp(`^( {0,3}${y})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(g=!1,!(!(t=I.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),d=t[2].split(`
|
|
6
|
+
`,1)[0],p=e.split(`
|
|
7
|
+
`,1)[0],this.options.pedantic?(o=2,h=d.trimLeft()):(o=t[2].search(/[^ ]/),o=o>4?1:o,h=d.slice(o),o+=t[1].length),u=!1,!d&&/^ *$/.test(p)&&(n+=p+`
|
|
8
|
+
`,e=e.substring(p.length+1),g=!0),!g){const H=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`),j=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`);for(;e&&(m=e.split(`
|
|
9
|
+
`,1)[0],d=m,this.options.pedantic&&(d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(H.test(d)||j.test(e)));){if(d.search(/[^ ]/)>=o||!d.trim())h+=`
|
|
10
|
+
`+d.slice(o);else if(!u)h+=`
|
|
11
|
+
`+d;else break;!u&&!d.trim()&&(u=!0),n+=m+`
|
|
12
|
+
`,e=e.substring(m.length+1)}}N.loose||(f?N.loose=!0:/\n *\n *$/.test(n)&&(f=!0)),this.options.gfm&&(l=/^\[[ xX]\] /.exec(h),l&&(r=l[0]!=="[ ] ",h=h.replace(/^\[[ xX]\] +/,""))),N.items.push({type:"list_item",raw:n,task:!!l,checked:r,loose:!1,text:h}),N.raw+=n}N.items[N.items.length-1].raw=n.trimRight(),N.items[N.items.length-1].text=h.trimRight(),N.raw=N.raw.trimRight();const V=N.items.length;for(s=0;s<V;s++){this.lexer.state.top=!1,N.items[s].tokens=this.lexer.blockTokens(N.items[s].text,[]);const H=N.items[s].tokens.filter(R=>R.type==="space"),j=H.every(R=>{const T=R.raw.split("");let k=0;for(const P of T)if(P===`
|
|
13
|
+
`&&(k+=1),k>1)return!0;return!1});!N.loose&&H.length&&j&&(N.loose=!0,N.items[s].loose=!0)}return N}}html(e){const t=this.rules.block.html.exec(e);if(t){const n={type:"html",raw:t[0],pre:!this.options.sanitizer&&(t[1]==="pre"||t[1]==="script"||t[1]==="style"),text:t[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(t[0]):M(t[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}}def(e){const t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));const n=t[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:n,raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const n={type:"table",header:et(t[1]).map(l=>({text:l})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
|
|
14
|
+
`):[]};if(n.header.length===n.align.length){n.raw=t[0];let l=n.align.length,r,o,s,u;for(r=0;r<l;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(l=n.rows.length,r=0;r<l;r++)n.rows[r]=et(n.rows[r],n.header.length).map(f=>({text:f}));for(l=n.header.length,o=0;o<l;o++)n.header[o].tokens=[],this.lexer.inlineTokens(n.header[o].text,n.header[o].tokens);for(l=n.rows.length,o=0;o<l;o++)for(u=n.rows[o],s=0;s<u.length;s++)u[s].tokens=[],this.lexer.inlineTokens(u[s].text,u[s].tokens);return n}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t){const n={type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const n={type:"paragraph",raw:t[0],text:t[1].charAt(t[1].length-1)===`
|
|
15
|
+
`?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}text(e){const t=this.rules.block.text.exec(e);if(t){const n={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:M(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):M(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const o=ke(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=Kt(t[2],"()");if(o>-1){const u=(t[0].indexOf("!")===0?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,u).trim(),t[3]=""}}let l=t[2],r="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);o&&(l=o[1],r=o[3])}else r=t[3]?t[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(n)?l=l.slice(1):l=l.slice(1,-1)),it(t,{href:l&&l.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let l=(n[2]||n[1]).replace(/\s+/g," ");if(l=t[l.toLowerCase()],!l||!l.href){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return it(n,l,n[0],this.lexer)}}emStrong(e,t,n=""){let l=this.rules.inline.emStrong.lDelim.exec(e);if(!l||l[3]&&n.match(/[\p{L}\p{N}]/u))return;const r=l[1]||l[2]||"";if(!r||r&&(n===""||this.rules.inline.punctuation.exec(n))){const o=l[0].length-1;let s,u,f=o,d=0;const p=l[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(p.lastIndex=0,t=t.slice(-1*e.length+o);(l=p.exec(t))!=null;){if(s=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!s)continue;if(u=s.length,l[3]||l[4]){f+=u;continue}else if((l[5]||l[6])&&o%3&&!((o+u)%3)){d+=u;continue}if(f-=u,f>0)continue;if(u=Math.min(u,u+f+d),Math.min(o,u)%2){const h=e.slice(1,o+l.index+u);return{type:"em",raw:e.slice(0,o+l.index+u+1),text:h,tokens:this.lexer.inlineTokens(h,[])}}const m=e.slice(2,o+l.index+u-1);return{type:"strong",raw:e.slice(0,o+l.index+u+1),text:m,tokens:this.lexer.inlineTokens(m,[])}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const l=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return l&&r&&(n=n.substring(1,n.length-1)),n=M(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let l,r;return n[2]==="@"?(l=M(this.options.mangle?t(n[1]):n[1]),r="mailto:"+l):(l=M(n[1]),r=l),{type:"link",raw:n[0],text:l,href:r,tokens:[{type:"text",raw:l,text:l}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let l,r;if(n[2]==="@")l=M(this.options.mangle?t(n[0]):n[0]),r="mailto:"+l;else{let o;do o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(o!==n[0]);l=M(n[0]),n[1]==="www."?r="http://"+l:r=l}return{type:"link",raw:n[0],text:l,href:r,tokens:[{type:"text",raw:l,text:l}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let l;return this.lexer.state.inRawBlock?l=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):M(n[0]):n[0]:l=M(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:l}}}}const C={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ge,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};C._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,C._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,C.def=D(C.def).replace("label",C._label).replace("title",C._title).getRegex(),C.bullet=/(?:[*+-]|\d{1,9}[.)])/,C.listItemStart=D(/^( *)(bull) */).replace("bull",C.bullet).getRegex(),C.list=D(C.list).replace(/bull/g,C.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+C.def.source+")").getRegex(),C._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,C.html=D(C.html,"i").replace("comment",C._comment).replace("tag",C._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C.paragraph=D(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.blockquote=D(C.blockquote).replace("paragraph",C.paragraph).getRegex(),C.normal=K({},C),C.gfm=K({},C.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),C.gfm.table=D(C.gfm.table).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.gfm.paragraph=D(C._paragraph).replace("hr",C.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",C.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",C._tag).getRegex(),C.pedantic=K({},C.normal,{html:D(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",C._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ge,paragraph:D(C.normal._paragraph).replace("hr",C.hr).replace("heading",` *#{1,6} *[^
|
|
16
|
+
]`).replace("lheading",C.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const w={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ge,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ge,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};w._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",w.punctuation=D(w.punctuation).replace(/punctuation/g,w._punctuation).getRegex(),w.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,w.escapedEmSt=/\\\*|\\_/g,w._comment=D(C._comment).replace("(?:-->|$)","-->").getRegex(),w.emStrong.lDelim=D(w.emStrong.lDelim).replace(/punct/g,w._punctuation).getRegex(),w.emStrong.rDelimAst=D(w.emStrong.rDelimAst,"g").replace(/punct/g,w._punctuation).getRegex(),w.emStrong.rDelimUnd=D(w.emStrong.rDelimUnd,"g").replace(/punct/g,w._punctuation).getRegex(),w._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,w._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,w._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,w.autolink=D(w.autolink).replace("scheme",w._scheme).replace("email",w._email).getRegex(),w._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,w.tag=D(w.tag).replace("comment",w._comment).replace("attribute",w._attribute).getRegex(),w._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,w._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,w._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,w.link=D(w.link).replace("label",w._label).replace("href",w._href).replace("title",w._title).getRegex(),w.reflink=D(w.reflink).replace("label",w._label).replace("ref",C._label).getRegex(),w.nolink=D(w.nolink).replace("ref",C._label).getRegex(),w.reflinkSearch=D(w.reflinkSearch,"g").replace("reflink",w.reflink).replace("nolink",w.nolink).getRegex(),w.normal=K({},w),w.pedantic=K({},w.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:D(/^!?\[(label)\]\((.*?)\)/).replace("label",w._label).getRegex(),reflink:D(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",w._label).getRegex()}),w.gfm=K({},w.normal,{escape:D(w.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),w.gfm.url=D(w.gfm.url,"i").replace("email",w.gfm._extended_email).getRegex(),w.breaks=K({},w.gfm,{br:D(w.br).replace("{2,}","*").getRegex(),text:D(w.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function Wt(i){return i.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function lt(i){let e="",t,n;const l=i.length;for(t=0;t<l;t++)n=i.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class Y{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||re,this.options.tokenizer=this.options.tokenizer||new Fe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:C.normal,inline:w.normal};this.options.pedantic?(t.block=C.pedantic,t.inline=w.pedantic):this.options.gfm&&(t.block=C.gfm,this.options.breaks?t.inline=w.breaks:t.inline=w.gfm),this.tokenizer.rules=t}static get rules(){return{block:C,inline:w}}static lex(e,t){return new Y(t).lex(e)}static lexInline(e,t){return new Y(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
|
|
17
|
+
`),this.blockTokens(e,this.tokens);let t;for(;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(s,u,f)=>u+" ".repeat(f.length));let n,l,r,o;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>(n=s.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&t.length>0?t[t.length-1].raw+=`
|
|
18
|
+
`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
|
|
19
|
+
`+n.raw,l.text+=`
|
|
20
|
+
`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
|
|
21
|
+
`+n.raw,l.text+=`
|
|
22
|
+
`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=l.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startBlock){let s=1/0;const u=e.slice(1);let f;this.options.extensions.startBlock.forEach(function(d){f=d.call({lexer:this},u),typeof f=="number"&&f>=0&&(s=Math.min(s,f))}),s<1/0&&s>=0&&(r=e.substring(0,s+1))}if(this.state.top&&(n=this.tokenizer.paragraph(r))){l=t[t.length-1],o&&l.type==="paragraph"?(l.raw+=`
|
|
23
|
+
`+n.raw,l.text+=`
|
|
24
|
+
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n),o=r.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&l.type==="text"?(l.raw+=`
|
|
25
|
+
`+n.raw,l.text+=`
|
|
26
|
+
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n);continue}if(e){const s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,t}inline(e,t){this.inlineQueue.push({src:e,tokens:t})}inlineTokens(e,t=[]){let n,l,r,o=e,s,u,f;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)d.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,s.index)+"["+nt("a",s[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,s.index)+"["+nt("a",s[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.escapedEmSt.exec(o))!=null;)o=o.slice(0,s.index)+"++"+o.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(u||(f=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(d=>(n=d.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&n.type==="text"&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),l=t[t.length-1],l&&n.type==="text"&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,o,f)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e,lt)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,lt))){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline){let d=1/0;const p=e.slice(1);let m;this.options.extensions.startInline.forEach(function(h){m=h.call({lexer:this},p),typeof m=="number"&&m>=0&&(d=Math.min(d,m))}),d<1/0&&d>=0&&(r=e.substring(0,d+1))}if(n=this.tokenizer.inlineText(r,Wt)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(f=n.raw.slice(-1)),u=!0,l=t[t.length-1],l&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(e){const d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return t}}class Ae{constructor(e){this.options=e||re}code(e,t,n){const l=(t||"").match(/\S*/)[0];if(this.options.highlight){const r=this.options.highlight(e,l);r!=null&&r!==e&&(n=!0,e=r)}return e=e.replace(/\n$/,"")+`
|
|
27
|
+
`,l?'<pre><code class="'+this.options.langPrefix+M(l,!0)+'">'+(n?e:M(e,!0))+`</code></pre>
|
|
28
|
+
`:"<pre><code>"+(n?e:M(e,!0))+`</code></pre>
|
|
29
|
+
`}blockquote(e){return`<blockquote>
|
|
30
|
+
${e}</blockquote>
|
|
31
|
+
`}html(e){return e}heading(e,t,n,l){if(this.options.headerIds){const r=this.options.headerPrefix+l.slug(n);return`<h${t} id="${r}">${e}</h${t}>
|
|
32
|
+
`}return`<h${t}>${e}</h${t}>
|
|
33
|
+
`}hr(){return this.options.xhtml?`<hr/>
|
|
34
|
+
`:`<hr>
|
|
35
|
+
`}list(e,t,n){const l=t?"ol":"ul",r=t&&n!==1?' start="'+n+'"':"";return"<"+l+r+`>
|
|
36
|
+
`+e+"</"+l+`>
|
|
37
|
+
`}listitem(e){return`<li>${e}</li>
|
|
38
|
+
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>
|
|
39
|
+
`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),`<table>
|
|
40
|
+
<thead>
|
|
41
|
+
`+e+`</thead>
|
|
42
|
+
`+t+`</table>
|
|
43
|
+
`}tablerow(e){return`<tr>
|
|
44
|
+
${e}</tr>
|
|
45
|
+
`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>
|
|
46
|
+
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){if(e=Je(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let l='<a href="'+M(e)+'"';return t&&(l+=' title="'+t+'"'),l+=">"+n+"</a>",l}image(e,t,n){if(e=Je(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let l=`<img src="${e}" alt="${n}"`;return t&&(l+=` title="${t}"`),l+=this.options.xhtml?"/>":">",l}text(e){return e}}class rt{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class at{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,l=0;if(this.seen.hasOwnProperty(n)){l=this.seen[e];do l++,n=e+"-"+l;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=l,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class J{constructor(e){this.options=e||re,this.options.renderer=this.options.renderer||new Ae,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new rt,this.slugger=new at}static parse(e,t){return new J(t).parse(e)}static parseInline(e,t){return new J(t).parseInline(e)}parse(e,t=!0){let n="",l,r,o,s,u,f,d,p,m,h,g,y,x,N,I,V,H,j,R;const T=e.length;for(l=0;l<T;l++){if(h=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[h.type]&&(R=this.options.extensions.renderers[h.type].call({parser:this},h),R!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(h.type))){n+=R||"";continue}switch(h.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(h.tokens),h.depth,Ye(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(h.text,h.lang,h.escaped);continue}case"table":{for(p="",d="",s=h.header.length,r=0;r<s;r++)d+=this.renderer.tablecell(this.parseInline(h.header[r].tokens),{header:!0,align:h.align[r]});for(p+=this.renderer.tablerow(d),m="",s=h.rows.length,r=0;r<s;r++){for(f=h.rows[r],d="",u=f.length,o=0;o<u;o++)d+=this.renderer.tablecell(this.parseInline(f[o].tokens),{header:!1,align:h.align[o]});m+=this.renderer.tablerow(d)}n+=this.renderer.table(p,m);continue}case"blockquote":{m=this.parse(h.tokens),n+=this.renderer.blockquote(m);continue}case"list":{for(g=h.ordered,y=h.start,x=h.loose,s=h.items.length,m="",r=0;r<s;r++)I=h.items[r],V=I.checked,H=I.task,N="",I.task&&(j=this.renderer.checkbox(V),x?I.tokens.length>0&&I.tokens[0].type==="paragraph"?(I.tokens[0].text=j+" "+I.tokens[0].text,I.tokens[0].tokens&&I.tokens[0].tokens.length>0&&I.tokens[0].tokens[0].type==="text"&&(I.tokens[0].tokens[0].text=j+" "+I.tokens[0].tokens[0].text)):I.tokens.unshift({type:"text",text:j}):N+=j),N+=this.parse(I.tokens,x),m+=this.renderer.listitem(N,H,V);n+=this.renderer.list(m,g,y);continue}case"html":{n+=this.renderer.html(h.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(h.tokens));continue}case"text":{for(m=h.tokens?this.parseInline(h.tokens):h.text;l+1<T&&e[l+1].type==="text";)h=e[++l],m+=`
|
|
47
|
+
`+(h.tokens?this.parseInline(h.tokens):h.text);n+=t?this.renderer.paragraph(m):m;continue}default:{const k='Token with "'+h.type+'" type was not found.';if(this.options.silent){console.error(k);return}else throw new Error(k)}}}return n}parseInline(e,t){t=t||this.renderer;let n="",l,r,o;const s=e.length;for(l=0;l<s;l++){if(r=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(o=this.options.extensions.renderers[r.type].call({parser:this},r),o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))){n+=o||"";continue}switch(r.type){case"escape":{n+=t.text(r.text);break}case"html":{n+=t.html(r.text);break}case"link":{n+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break}case"image":{n+=t.image(r.href,r.title,r.text);break}case"strong":{n+=t.strong(this.parseInline(r.tokens,t));break}case"em":{n+=t.em(this.parseInline(r.tokens,t));break}case"codespan":{n+=t.codespan(r.text);break}case"br":{n+=t.br();break}case"del":{n+=t.del(this.parseInline(r.tokens,t));break}case"text":{n+=t.text(r.text);break}default:{const u='Token with "'+r.type+'" type was not found.';if(this.options.silent){console.error(u);return}else throw new Error(u)}}}return n}}function E(i,e,t){if(typeof i=="undefined"||i===null)throw new Error("marked(): input parameter is undefined or null");if(typeof i!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected");if(typeof e=="function"&&(t=e,e=null),e=K({},E.defaults,e||{}),tt(e),t){const n=e.highlight;let l;try{l=Y.lex(i,e)}catch(s){return t(s)}const r=function(s){let u;if(!s)try{e.walkTokens&&E.walkTokens(l,e.walkTokens),u=J.parse(l,e)}catch(f){s=f}return e.highlight=n,s?t(s):t(null,u)};if(!n||n.length<3||(delete e.highlight,!l.length))return r();let o=0;E.walkTokens(l,function(s){s.type==="code"&&(o++,setTimeout(()=>{n(s.text,s.lang,function(u,f){if(u)return r(u);f!=null&&f!==s.text&&(s.text=f,s.escaped=!0),o--,o===0&&r()})},0))}),o===0&&r();return}try{const n=Y.lex(i,e);return e.walkTokens&&E.walkTokens(n,e.walkTokens),J.parse(n,e)}catch(n){if(n.message+=`
|
|
48
|
+
Please report this to https://github.com/markedjs/marked.`,e.silent)return"<p>An error occurred:</p><pre>"+M(n.message+"",!0)+"</pre>";throw n}}E.options=E.setOptions=function(i){return K(E.defaults,i),jt(E.defaults),E},E.getDefaults=Qe,E.defaults=re,E.use=function(...i){const e=K({},...i),t=E.defaults.extensions||{renderers:{},childTokens:{}};let n;i.forEach(l=>{if(l.extensions&&(n=!0,l.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if(r.renderer){const o=t.renderers?t.renderers[r.name]:null;o?t.renderers[r.name]=function(...s){let u=r.renderer.apply(this,s);return u===!1&&(u=o.apply(this,s)),u}:t.renderers[r.name]=r.renderer}if(r.tokenizer){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[r.level]?t[r.level].unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}r.childTokens&&(t.childTokens[r.name]=r.childTokens)})),l.renderer){const r=E.defaults.renderer||new Ae;for(const o in l.renderer){const s=r[o];r[o]=(...u)=>{let f=l.renderer[o].apply(r,u);return f===!1&&(f=s.apply(r,u)),f}}e.renderer=r}if(l.tokenizer){const r=E.defaults.tokenizer||new Fe;for(const o in l.tokenizer){const s=r[o];r[o]=(...u)=>{let f=l.tokenizer[o].apply(r,u);return f===!1&&(f=s.apply(r,u)),f}}e.tokenizer=r}if(l.walkTokens){const r=E.defaults.walkTokens;e.walkTokens=function(o){l.walkTokens.call(this,o),r&&r.call(this,o)}}n&&(e.extensions=t),E.setOptions(e)})},E.walkTokens=function(i,e){for(const t of i)switch(e.call(E,t),t.type){case"table":{for(const n of t.header)E.walkTokens(n.tokens,e);for(const n of t.rows)for(const l of n)E.walkTokens(l.tokens,e);break}case"list":{E.walkTokens(t.items,e);break}default:E.defaults.extensions&&E.defaults.extensions.childTokens&&E.defaults.extensions.childTokens[t.type]?E.defaults.extensions.childTokens[t.type].forEach(function(n){E.walkTokens(t[n],e)}):t.tokens&&E.walkTokens(t.tokens,e)}},E.parseInline=function(i,e){if(typeof i=="undefined"||i===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof i!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected");e=K({},E.defaults,e||{}),tt(e);try{const t=Y.lexInline(i,e);return e.walkTokens&&E.walkTokens(t,e.walkTokens),J.parseInline(t,e)}catch(t){if(t.message+=`
|
|
49
|
+
Please report this to https://github.com/markedjs/marked.`,e.silent)return"<p>An error occurred:</p><pre>"+M(t.message+"",!0)+"</pre>";throw t}},E.Parser=J,E.parser=J.parse,E.Renderer=Ae,E.TextRenderer=rt,E.Lexer=Y,E.lexer=Y.lex,E.Tokenizer=Fe,E.Slugger=at,E.parse=E,J.parse,Y.lex;var Gt=function(){var i=document.getSelection();if(!i.rangeCount)return function(){};for(var e=document.activeElement,t=[],n=0;n<i.rangeCount;n++)t.push(i.getRangeAt(n));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return i.removeAllRanges(),function(){i.type==="Caret"&&i.removeAllRanges(),i.rangeCount||t.forEach(function(l){i.addRange(l)}),e&&e.focus()}},Qt=Gt,ot={"text/plain":"Text","text/html":"Url",default:"Text"},Xt="Copy to clipboard: #{key}, Enter";function Yt(i){var e=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,e)}function Jt(i,e){var t,n,l,r,o,s,u=!1;e||(e={}),t=e.debug||!1;try{l=Qt(),r=document.createRange(),o=document.getSelection(),s=document.createElement("span"),s.textContent=i,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(d){if(d.stopPropagation(),e.format)if(d.preventDefault(),typeof d.clipboardData=="undefined"){t&&console.warn("unable to use e.clipboardData"),t&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var p=ot[e.format]||ot.default;window.clipboardData.setData(p,i)}else d.clipboardData.clearData(),d.clipboardData.setData(e.format,i);e.onCopy&&(d.preventDefault(),e.onCopy(d.clipboardData))}),document.body.appendChild(s),r.selectNodeContents(s),o.addRange(r);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");u=!0}catch(d){t&&console.error("unable to copy using execCommand: ",d),t&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",i),e.onCopy&&e.onCopy(window.clipboardData),u=!0}catch(p){t&&console.error("unable to copy using clipboardData: ",p),t&&console.error("falling back to prompt"),n=Yt("message"in e?e.message:Xt),window.prompt(n,i)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(r):o.removeAllRanges()),s&&document.body.removeChild(s),l()}return u}var ce=Jt;/*! medium-zoom 1.0.6 | MIT License | https://github.com/francoischalifour/medium-zoom */var ne=Object.assign||function(i){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n])}return i},be=function(e){return e.tagName==="IMG"},en=function(e){return NodeList.prototype.isPrototypeOf(e)},ye=function(e){return e&&e.nodeType===1},st=function(e){var t=e.currentSrc||e.src;return t.substr(-4).toLowerCase()===".svg"},ct=function(e){try{return Array.isArray(e)?e.filter(be):en(e)?[].slice.call(e).filter(be):ye(e)?[e].filter(be):typeof e=="string"?[].slice.call(document.querySelectorAll(e)).filter(be):[]}catch{throw new TypeError(`The provided selector is invalid.
|
|
50
|
+
Expects a CSS selector, a Node element, a NodeList or an array.
|
|
51
|
+
See: https://github.com/francoischalifour/medium-zoom`)}},tn=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t},nn=function(e){var t=e.getBoundingClientRect(),n=t.top,l=t.left,r=t.width,o=t.height,s=e.cloneNode(),u=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,f=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return s.removeAttribute("id"),s.style.position="absolute",s.style.top=n+u+"px",s.style.left=l+f+"px",s.style.width=r+"px",s.style.height=o+"px",s.style.transform="",s},ae=function(e,t){var n=ne({bubbles:!1,cancelable:!1,detail:void 0},t);if(typeof window.CustomEvent=="function")return new CustomEvent(e,n);var l=document.createEvent("CustomEvent");return l.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),l},ln=function i(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(b){function S(){}b(S,S)},l=function(b){var S=b.target;if(S===P){g();return}V.indexOf(S)!==-1&&y({target:S})},r=function(){if(!(j||!k.original)){var b=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(R-b)>T.scrollOffset&&setTimeout(g,150)}},o=function(b){var S=b.key||b.keyCode;(S==="Escape"||S==="Esc"||S===27)&&g()},s=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=b;if(b.background&&(P.style.background=b.background),b.container&&b.container instanceof Object&&(S.container=ne({},T.container,b.container)),b.template){var L=ye(b.template)?b.template:document.querySelector(b.template);S.template=L}return T=ne({},T,S),V.forEach(function(F){F.dispatchEvent(ae("medium-zoom:update",{detail:{zoom:_}}))}),_},u=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return i(ne({},T,b))},f=function(){for(var b=arguments.length,S=Array(b),L=0;L<b;L++)S[L]=arguments[L];var F=S.reduce(function(z,O){return[].concat(z,ct(O))},[]);return F.filter(function(z){return V.indexOf(z)===-1}).forEach(function(z){V.push(z),z.classList.add("medium-zoom-image")}),H.forEach(function(z){var O=z.type,B=z.listener,ee=z.options;F.forEach(function(Z){Z.addEventListener(O,B,ee)})}),_},d=function(){for(var b=arguments.length,S=Array(b),L=0;L<b;L++)S[L]=arguments[L];k.zoomed&&g();var F=S.length>0?S.reduce(function(z,O){return[].concat(z,ct(O))},[]):V;return F.forEach(function(z){z.classList.remove("medium-zoom-image"),z.dispatchEvent(ae("medium-zoom:detach",{detail:{zoom:_}}))}),V=V.filter(function(z){return F.indexOf(z)===-1}),_},p=function(b,S){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return V.forEach(function(F){F.addEventListener("medium-zoom:"+b,S,L)}),H.push({type:"medium-zoom:"+b,listener:S,options:L}),_},m=function(b,S){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return V.forEach(function(F){F.removeEventListener("medium-zoom:"+b,S,L)}),H=H.filter(function(F){return!(F.type==="medium-zoom:"+b&&F.listener.toString()===S.toString())}),_},h=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=b.target,L=function(){var z={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},O=void 0,B=void 0;if(T.container)if(T.container instanceof Object)z=ne({},z,T.container),O=z.width-z.left-z.right-T.margin*2,B=z.height-z.top-z.bottom-T.margin*2;else{var ee=ye(T.container)?T.container:document.querySelector(T.container),Z=ee.getBoundingClientRect(),oe=Z.width,ve=Z.height,xe=Z.left,$e=Z.top;z=ne({},z,{width:oe,height:ve,left:xe,top:$e})}O=O||z.width-T.margin*2,B=B||z.height-T.margin*2;var te=k.zoomedHd||k.original,Ce=st(te)?O:te.naturalWidth||O,Se=st(te)?B:te.naturalHeight||B,ie=te.getBoundingClientRect(),Ee=ie.top,Ne=ie.left,ue=ie.width,he=ie.height,Ve=Math.min(Ce,O)/ue,Te=Math.min(Se,B)/he,se=Math.min(Ve,Te),ze=(-Ne+(O-ue)/2+T.margin+z.left)/se,Ie=(-Ee+(B-he)/2+T.margin+z.top)/se,fe="scale("+se+") translate3d("+ze+"px, "+Ie+"px, 0)";k.zoomed.style.transform=fe,k.zoomedHd&&(k.zoomedHd.style.transform=fe)};return new n(function(F){if(S&&V.indexOf(S)===-1){F(_);return}var z=function oe(){j=!1,k.zoomed.removeEventListener("transitionend",oe),k.original.dispatchEvent(ae("medium-zoom:opened",{detail:{zoom:_}})),F(_)};if(k.zoomed){F(_);return}if(S)k.original=S;else if(V.length>0){var O=V;k.original=O[0]}else{F(_);return}if(k.original.dispatchEvent(ae("medium-zoom:open",{detail:{zoom:_}})),R=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,j=!0,k.zoomed=nn(k.original),document.body.appendChild(P),T.template){var B=ye(T.template)?T.template:document.querySelector(T.template);k.template=document.createElement("div"),k.template.appendChild(B.content.cloneNode(!0)),document.body.appendChild(k.template)}if(document.body.appendChild(k.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),k.original.classList.add("medium-zoom-image--hidden"),k.zoomed.classList.add("medium-zoom-image--opened"),k.zoomed.addEventListener("click",g),k.zoomed.addEventListener("transitionend",z),k.original.getAttribute("data-zoom-src")){k.zoomedHd=k.zoomed.cloneNode(),k.zoomedHd.removeAttribute("srcset"),k.zoomedHd.removeAttribute("sizes"),k.zoomedHd.src=k.zoomed.getAttribute("data-zoom-src"),k.zoomedHd.onerror=function(){clearInterval(ee),console.warn("Unable to reach the zoom image target "+k.zoomedHd.src),k.zoomedHd=null,L()};var ee=setInterval(function(){k.zoomedHd.complete&&(clearInterval(ee),k.zoomedHd.classList.add("medium-zoom-image--opened"),k.zoomedHd.addEventListener("click",g),document.body.appendChild(k.zoomedHd),L())},10)}else if(k.original.hasAttribute("srcset")){k.zoomedHd=k.zoomed.cloneNode(),k.zoomedHd.removeAttribute("sizes"),k.zoomedHd.removeAttribute("loading");var Z=k.zoomedHd.addEventListener("load",function(){k.zoomedHd.removeEventListener("load",Z),k.zoomedHd.classList.add("medium-zoom-image--opened"),k.zoomedHd.addEventListener("click",g),document.body.appendChild(k.zoomedHd),L()})}else L()})},g=function(){return new n(function(b){if(j||!k.original){b(_);return}var S=function L(){k.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(k.zoomed),k.zoomedHd&&document.body.removeChild(k.zoomedHd),document.body.removeChild(P),k.zoomed.classList.remove("medium-zoom-image--opened"),k.template&&document.body.removeChild(k.template),j=!1,k.zoomed.removeEventListener("transitionend",L),k.original.dispatchEvent(ae("medium-zoom:closed",{detail:{zoom:_}})),k.original=null,k.zoomed=null,k.zoomedHd=null,k.template=null,b(_)};j=!0,document.body.classList.remove("medium-zoom--opened"),k.zoomed.style.transform="",k.zoomedHd&&(k.zoomedHd.style.transform=""),k.template&&(k.template.style.transition="opacity 150ms",k.template.style.opacity=0),k.original.dispatchEvent(ae("medium-zoom:close",{detail:{zoom:_}})),k.zoomed.addEventListener("transitionend",S)})},y=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=b.target;return k.original?g():h({target:S})},x=function(){return T},N=function(){return V},I=function(){return k.original},V=[],H=[],j=!1,R=0,T=t,k={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?T=e:(e||typeof e=="string")&&f(e),T=ne({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},T);var P=tn(T.background);document.addEventListener("click",l),document.addEventListener("keyup",o),document.addEventListener("scroll",r),window.addEventListener("resize",g);var _={open:h,close:g,toggle:y,update:s,clone:u,attach:f,detach:d,on:p,off:m,getOptions:x,getImages:N,getZoomedImage:I};return _};function rn(i,e){e===void 0&&(e={});var t=e.insertAt;if(!(!i||typeof document=="undefined")){var n=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",t==="top"&&n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),l.styleSheet?l.styleSheet.cssText=i:l.appendChild(document.createTextNode(i))}}var an=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";rn(an);var on=ln;const de=i=>{const e=i.value,t=e.substring(0,i.selectionStart),n=e.substring(i.selectionEnd,e.length),l=t.lastIndexOf(`
|
|
52
|
+
`),r=t.substring(0,l+1),o=n.indexOf(`
|
|
53
|
+
`),s=n.substring(o===-1?n.length:o,n.length),u=t.substring(l+1,t.length),f=n.substring(0,o);return{prefixStr:t,subfixStr:n,prefixStrEndRow:r,subfixStrEndRow:s,prefixSupply:u,subfixSupply:f}},sn=(i,e="",t,n)=>{let l="",r=0,o=0,s=!1,u,f;const d=n==null?void 0:n.mermaidTemplate;if(/^h[1-6]{1}$/.test(i)){const p=i.replace(/^h(\d)/,(m,h)=>new Array(Number(h)).fill("#",0,h).join(""));l=`${p} ${e}`,r=p.length+1}else{if(i==="prettier")return window.prettier?window.prettier.format(t.value,{parser:"markdown",plugins:window.prettierPlugins}):(v.emit(n.editorId,"errorCatcher",{name:"prettier",message:"prettier is undefined"}),t.value);switch(i){case"bold":{l=`**${e}**`,r=2,o=-2;break}case"underline":{l=`<u>${e}</u>`,r=3,o=-4;break}case"italic":{l=`*${e}*`,r=1,o=-1;break}case"strikeThrough":{l=`~${e}~`,r=1,o=-1;break}case"sub":{l=`<sub>${e}</sub>`,r=5,o=-6;break}case"sup":{l=`<sup>${e}</sup>`,r=5,o=-6;break}case"codeRow":{l="`"+e+"`",r=1,o=-1;break}case"quote":{l=`> ${e}`,r=2;break}case"orderedList":{l=`1. ${e}`,r=3;break}case"unorderedList":{l=`- ${e}`,r=2;break}case"code":{l="```language\n"+e+"\n```\n",r=3,o=11-l.length,s=!0;break}case"table":{l="|";const{selectedShape:p={x:1,y:1}}=n,{x:m,y:h}=p;for(let g=0;g<=h;g++)l+=" col |";l+=`
|
|
54
|
+
|`;for(let g=0;g<=h;g++)l+=" - |";for(let g=0;g<=m;g++){l+=`
|
|
55
|
+
|`;for(let y=0;y<=h;y++)l+=" content |"}r=2,o=5-l.length,s=!0;break}case"link":{const{desc:p,url:m}=n;l=`[${p}](${m})`;break}case"image":{const{desc:p,url:m,urls:h}=n;h instanceof Array?l=h.reduce((g,y)=>g+`
|
|
56
|
+
`,""):l=`
|
|
57
|
+
`;break}case"tab":{const{tabWidth:p=2}=n,m=new Array(p).fill(" ").join("");if(e==="")l=m;else if(/\n/.test(e)){const{prefixStr:h,subfixStr:g,prefixSupply:y,subfixSupply:x}=de(t);l=`${y}${e}${x}`.split(`
|
|
58
|
+
`).map(V=>`${m}${V}`).join(`
|
|
59
|
+
`),u=h.substring(0,h.length-y.length),f=g.substring(x.length,g.length),s=!0,r=p,o=-y.length-x.length}else{const g=t.value.substring(0,t.selectionStart);/\n$/.test(g)||g===""?(l=`${m}${e}`,s=!0):l=m}break}case"shiftTab":{const{tabWidth:p=2}=n,{prefixStr:m,prefixStrEndRow:h,subfixStrEndRow:g,prefixSupply:y,subfixSupply:x}=de(t),N=new RegExp(`^\\s{${p}}`),I=(V=!1,H=!1)=>{const j=`${y}${e}${x}`;if(N.test(j)){const R=m.length-(H?0:p),T=V?R+e.length-p:R;return W(t,R,T),`${h}${j.replace(N,"")}${g}`}else if(/^\s/.test(j)){const R=j.replace(/^\s/,""),T=j.length-R.length,k=t.selectionStart-(H?0:T),P=V?k+e.length-T:k;return W(t,k,P),`${h}${R}${g}`}else l=e};if(e===""){const V=I();if(V)return V}else if(/\n/.test(e)){const H=`${y}${e}${x}`.split(`
|
|
60
|
+
`);let[j,R]=[0,0];const T=H.map((k,P)=>{if(N.test(k))return P===0&&(j=p),R+=p,k.replace(N,"");if(/^\s/.test(k)){const _=k.replace(/^\s/,"");return R+=k.length-_.length,_}return k}).join(`
|
|
61
|
+
`);return W(t,t.selectionStart-j,t.selectionEnd-R),`${h}${T}${g}`}else{const V=I(!0,!0);if(V)return V}break}case"ctrlC":{const{prefixSupply:p,subfixSupply:m}=de(t);return ce(e===""?`${p}${m}`:e),t.value}case"ctrlX":{const{prefixStrEndRow:p,subfixStrEndRow:m,prefixStr:h,subfixStr:g,prefixSupply:y,subfixSupply:x}=de(t);return e===""?(ce(`${y}${x}`),W(t,p.length),`${p}${m.replace(/^\n/,"")}`):(ce(e),W(t,h.length),`${h}${g}`)}case"ctrlD":{const{prefixStrEndRow:p,subfixStrEndRow:m}=de(t);return W(t,p.length),`${p}${m.replace(/^\n/,"")}`}case"flow":{l=`\`\`\`mermaid
|
|
62
|
+
${(d==null?void 0:d.flow)||`flowchart TD
|
|
63
|
+
Start --> Stop`}
|
|
64
|
+
\`\`\`
|
|
65
|
+
`,r=2;break}case"sequence":{l=`\`\`\`mermaid
|
|
66
|
+
${(d==null?void 0:d.sequence)||`sequenceDiagram
|
|
67
|
+
A->>B: hello!
|
|
68
|
+
B-->>A: hi!
|
|
69
|
+
A-)B: bye!`}
|
|
70
|
+
\`\`\`
|
|
71
|
+
`,r=2;break}case"gantt":{l=`\`\`\`mermaid
|
|
72
|
+
${(d==null?void 0:d.gantt)||`gantt
|
|
73
|
+
title A Gantt Diagram
|
|
74
|
+
dateFormat YYYY-MM-DD
|
|
75
|
+
section Section
|
|
76
|
+
A task :a1, 2014-01-01, 30d
|
|
77
|
+
Another task :after a1, 20d`}
|
|
78
|
+
\`\`\`
|
|
79
|
+
`,r=2;break}case"class":{l=`\`\`\`mermaid
|
|
80
|
+
${(d==null?void 0:d.class)||`classDiagram
|
|
81
|
+
class Animal
|
|
82
|
+
Vehicle <|-- Car`}
|
|
83
|
+
\`\`\`
|
|
84
|
+
`,r=2;break}case"state":{l=`\`\`\`mermaid
|
|
85
|
+
${(d==null?void 0:d.state)||`stateDiagram-v2
|
|
86
|
+
s1 --> s2`}
|
|
87
|
+
\`\`\`
|
|
88
|
+
`,r=2;break}case"pie":{l=`\`\`\`mermaid
|
|
89
|
+
${(d==null?void 0:d.pie)||`pie title Pets adopted by volunteers
|
|
90
|
+
"Dogs" : 386
|
|
91
|
+
"Cats" : 85
|
|
92
|
+
"Rats" : 15`}
|
|
93
|
+
\`\`\`
|
|
94
|
+
`,r=2;break}case"relationship":{l=`\`\`\`mermaid
|
|
95
|
+
${(d==null?void 0:d.relationship)||`erDiagram
|
|
96
|
+
CAR ||--o{ NAMED-DRIVER : allows
|
|
97
|
+
PERSON ||--o{ NAMED-DRIVER : is`}
|
|
98
|
+
\`\`\`
|
|
99
|
+
`,r=2;break}case"journey":{l=`\`\`\`mermaid
|
|
100
|
+
${(d==null?void 0:d.journey)||`journey
|
|
101
|
+
title My working day
|
|
102
|
+
section Go to work
|
|
103
|
+
Make tea: 5: Me
|
|
104
|
+
Go upstairs: 3: Me
|
|
105
|
+
Do work: 1: Me, Cat
|
|
106
|
+
section Go home
|
|
107
|
+
Go downstairs: 5: Me
|
|
108
|
+
Sit down: 5: Me`}
|
|
109
|
+
\`\`\`
|
|
110
|
+
`,r=2;break}case"katexInline":{l="$$",r=1,o=-1;break}case"katexBlock":{l=`$$
|
|
111
|
+
|
|
112
|
+
$$
|
|
113
|
+
`,r=1,o=-4;break}}}return je(t,l,{deviationStart:r,deviationEnd:o,select:s,prefixVal:u,subfixVal:f})};var dt={block(i,e){return{name:"KaTexBlockExtension",level:"block",start:t=>{var n;return(n=t.match(/\n\$\$\n/))==null?void 0:n.index},tokenizer(t){if(/^\$\$\n/.test(t)){const n=We(t,"$$");return{type:"KaTexBlockExtension",raw:n[0],text:n[1].trim(),tokens:[]}}},renderer(t){const n=e||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(t.text,{throwOnError:!1,displayMode:!0});return`<span class="${i}-katex-block" data-processed>${l}</span>`}else return`<span class="${i}-katex-block">${t.text}</span>`}}},inline(i,e){return{name:"KaTexInlineExtension",level:"inline",start:t=>{var n;return(n=t.match(/\$[^\n]*/))==null?void 0:n.index},tokenizer(t){if(/^\$[^\n]*/.test(t)){const n=We(t);return{type:"KaTexInlineExtension",raw:n[0],text:n[1].trim(),tokens:[]}}},renderer(t){const n=e||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(t.text,{throwOnError:!1});return`<span class="${i}-katex-inline" data-processed>${l}</span>`}else return`<span class="${i}-katex-inline">${t.text}</span>`}}}};const cn=(i,e)=>{var s,u;const t=a.inject("previewOnly"),n=a.inject("historyLength"),l=a.inject("editorId");if(t)return;let r=-1;const o={list:[{content:i.value,startPos:((s=e.value)==null?void 0:s.selectionStart)||0,endPos:((u=e.value)==null?void 0:u.selectionEnd)||0}],userUpdated:!0,curr:0};a.onMounted(()=>{v.on(l,{name:"saveHistory",callback(f){var m,h;clearTimeout(r);const d=((m=e.value)==null?void 0:m.selectionStart)||0,p=((h=e.value)==null?void 0:h.selectionEnd)||0;r=setTimeout(()=>{if(o.userUpdated){o.curr<o.list.length-1&&(o.list=o.list.slice(0,o.curr+1)),o.list.length>n&&o.list.shift();const g=o.list.pop()||{startPos:0,endPos:0,content:f};g.startPos=d,g.endPos=p,Array.prototype.push.call(o.list,g,{content:f,startPos:d,endPos:p}),o.curr=o.list.length-1}else o.userUpdated=!0},150)}})}),a.onMounted(()=>{v.on(l,{name:"ctrlZ",callback(){o.userUpdated=!1,o.curr=o.curr-1<0?0:o.curr-1;const f=o.list[o.curr];i.onChange(f.content),W(e.value,f.startPos,f.endPos)}}),v.on(l,{name:"ctrlShiftZ",callback(){o.userUpdated=!1,o.curr=o.curr+1===o.list.length?o.curr:o.curr+1;const f=o.list[o.curr];i.onChange(f.content),W(e.value,f.startPos,f.endPos)}})})},dn=(i,e)=>{var k,P,_;const{markedRenderer:t,markedExtensions:n,markedOptions:l,editorExtensions:r}=a.inject("extension"),o=a.inject("showCodeRowNumber"),s=a.inject("editorId"),u=a.inject("highlight"),f=(k=r==null?void 0:r.highlight)==null?void 0:k.instance,d=(P=r==null?void 0:r.mermaid)==null?void 0:P.instance,p=(_=r==null?void 0:r.katex)==null?void 0:_.instance,m=r==null?void 0:r.katex,h=a.ref(!1),g=a.ref(!1),y=a.ref([]);let x=new E.Renderer;const N=x.code;x.code=($,b,S)=>{var L;if(!i.noMermaid&&b==="mermaid"){const F=`${c}-mermaid-${Date.now().toString(36)}`;try{let z="";return d?z=d.mermaidAPI.render(F,$):typeof window!="undefined"&&window.mermaid?z=window.mermaid.mermaidAPI.render(F,$):z=`<div class="mermaid">${$}</div>`,`<div class="${c}-mermaid">${z}</div>`}catch{if(typeof document!="undefined"){const O=document.querySelector(`#${F}`);if(O){const B=O.outerHTML;return(L=O.parentElement)==null||L.remove(),B}}return""}}return N.call(x,$,b,S)},x.image=($,b,S)=>`<span class="figure"><img src="${$}" title="${b}" alt="${S}"><span class="figcaption">${S}</span></span>`,x.listitem=($,b)=>b?`<li class="li-task">${$}</li>`:`<li>${$}</li>`;const I=x.heading;t instanceof Function&&(x=t(x));const V=x.heading,H=I!==V;x.heading=($,b,S,L)=>{if(y.value.push({text:S,level:b}),H)return V.call(x,$,b,S,L);const F=i.markedHeadingId(S,b);return $!==S?`<h${b} id="${F}">${$}</h${b}>`:`<h${b} id="${F}"><a href="#${F}">${S}</a></h${b}>`},E.setOptions(X({breaks:!0},l)),i.noKatex||E.use({extensions:[dt.inline(c,p),dt.block(c,p)]}),f&&E.setOptions({highlight:$=>{const b=f.highlightAuto($).value;return o?Ze(b):`<span class="code-block">${b}</span>`}}),n instanceof Array&&n.length>0&&E.use({extensions:n});const j=a.ref(i.sanitize(E(i.value||"",{renderer:x}))),R=me(()=>{y.value=[];const $=i.sanitize(E(i.value||"",{renderer:x}));j.value=$,i.onHtmlChanged($)},500);a.watch([h,a.toRef(e,"reRender"),a.toRef(e,"mermaidInited"),g,a.toRef(i,"value")],R);const T=()=>{E.setOptions({highlight:$=>{const b=window.hljs.highlightAuto($).value;return o?Ze(b):`<span class="code-block">${b}</span>`}}),h.value=!0};return a.watch(()=>y.value,$=>{i.onGetCatalog($),v.emit(s,"catalogChanged",$)}),a.onMounted(()=>{if(!i.noKatex&&!p){const $=document.createElement("script");$.src=(m==null?void 0:m.js)||Ue.js,$.onload=()=>{g.value=!0},$.id=`${c}-katex`;const b=document.createElement("link");b.rel="stylesheet",b.href=(m==null?void 0:m.css)||Ue.css,b.id=`${c}-katexCss`,q($,"katex"),q(b)}if(!f){const $=document.createElement("link");$.rel="stylesheet",$.href=u.value.css,$.id=`${c}-hlCss`;const b=document.createElement("script");b.src=u.value.js,b.onload=T,b.id=`${c}-hljs`,q($),q(b,"hljs")}}),a.watch(()=>u.value.css,$=>{vt(`${c}-hlCss`,"href",$)}),a.onMounted(()=>{v.on(s,{name:"pushCatalog",callback(){v.emit(s,"catalogChanged",y.value)}})}),{html:j}},un=(i,e,t,n,l)=>{const r=a.inject("previewOnly"),o=a.inject("usedLanguageText"),s=a.inject("editorId");let u=()=>{},f=()=>{};const d=()=>{document.querySelectorAll(`#${s} .${c}-preview pre`).forEach(h=>{var y;const g=document.createElement("span");g.setAttribute("class","copy-button"),g.innerText=((y=o.value.copyCode)==null?void 0:y.text)||"\u590D\u5236\u4EE3\u7801",g.addEventListener("click",()=>{var x;ce(h.querySelector("code").innerText),g.innerText=((x=o.value.copyCode)==null?void 0:x.tips)||"\u5DF2\u590D\u5236\uFF01",setTimeout(()=>{var N;g.innerText=((N=o.value.copyCode)==null?void 0:N.text)||"\u590D\u5236\u4EE3\u7801"},1500)}),h.appendChild(g)})};a.onMounted(()=>{(n.value||l.value)&&([f,u]=Ke(t.value,n.value||l.value))});const p=()=>{a.nextTick(()=>{i.setting.preview&&!r&&(u(),f()),d()})},m=h=>{h&&!r&&a.nextTick(()=>{u(),[f,u]=Ke(t.value,n.value||l.value),f()})};a.watch(()=>e.value,p),a.watch(()=>i.setting.preview,m),a.watch(()=>i.setting.htmlPreview,m),a.onMounted(p)},hn=(i,e)=>{const t=a.inject("previewOnly"),n=a.inject("tabWidth"),l=a.inject("editorId"),r=a.ref("");return a.onMounted(()=>{var o;t||((o=e.value)==null||o.addEventListener("keypress",s=>{var u,f,d;if(s.key==="Enter"){const p=(u=e.value)==null?void 0:u.selectionStart,m=(f=e.value)==null?void 0:f.value.substring(0,p),h=(d=e.value)==null?void 0:d.value.substring(p),g=m==null?void 0:m.lastIndexOf(`
|
|
114
|
+
`),y=m==null?void 0:m.substring(g+1,p);if(/^\d+\.\s|^-\s/.test(y))if(s.cancelBubble=!0,s.preventDefault(),s.stopPropagation(),/^\d+\.\s+$|^-\s+$/.test(y)){const x=m==null?void 0:m.replace(new RegExp(y+"$"),"");i.onChange(x+h),W(e.value,x==null?void 0:x.length)}else if(/^-\s+.+/.test(y))i.onChange(je(e.value,`
|
|
115
|
+
- `,{}));else{const x=y==null?void 0:y.match(/\d+(?=\.)/),N=x&&Number(x[0])+1||1;i.onChange(je(e.value,`
|
|
116
|
+
${N}. `,{}))}}}),v.on(l,{name:"replace",callback(s,u={}){i.onChange(sn(s,r.value,e.value,He(X({},u),{tabWidth:n,mermaidTemplate:i.mermaidTemplate,editorId:l})))}}))}),v.on(l,{name:"selectTextChange",callback(){r.value=wt(e.value)}}),{selectedText:r}},fn=i=>{const e=a.inject("theme"),{editorExtensions:t}=a.inject("extension"),n=t==null?void 0:t.mermaid,l=a.reactive({reRender:!1,mermaidInited:!!(n!=null&&n.instance)}),r=()=>{i.noMermaid||(n!=null&&n.instance?n.instance.initialize({theme:e.value==="dark"?"dark":"default"}):window.mermaid&&window.mermaid.initialize({theme:e.value==="dark"?"dark":"default"}),l.reRender=!l.reRender)};a.watch(()=>e.value,r);let o;return a.onMounted(()=>{!i.noMermaid&&!(n!=null&&n.instance)?(o=document.createElement("script"),o.src=(n==null?void 0:n.js)||gt,o.onload=()=>{window.mermaid.initialize({theme:e.value==="dark"?"dark":"default",logLevel:"Fatal"}),l.mermaidInited=!0},o.id=`${c}-mermaid`,q(o,"mermaid")):i.noMermaid||r()}),l},mn=i=>{const e=a.inject("editorId"),t=a.inject("previewOnly"),n=l=>{if(l.clipboardData&&l.clipboardData.files.length>0){const{files:r}=l.clipboardData;v.emit(e,"uploadImage",Array.from(r).filter(o=>/image\/.*/.test(o.type))),l.preventDefault()}};a.onMounted(()=>{t||i.value.addEventListener("paste",n)}),a.onBeforeUnmount(()=>{t||i.value.removeEventListener("paste",n)})},pn=i=>{const e=a.inject("editorId"),t=me(()=>{const n=document.querySelectorAll(`#${e}-preview img`);n.length!==0&&on(n,{background:"#00000073"})});a.onMounted(t),a.watch([i],t)};var gn=a.defineComponent({name:"MDEditorContent",props:{value:{type:String,default:""},onChange:{type:Function,default:()=>()=>{}},setting:{type:Object,default:()=>({})},onHtmlChanged:{type:Function,default:()=>()=>{}},onGetCatalog:{type:Function,default:()=>()=>{}},markedHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},mermaidTemplate:{type:Object,default:()=>({})}},setup(i){const e=a.ref(!0),t=a.inject("previewOnly"),n=a.inject("showCodeRowNumber"),l=a.inject("previewTheme"),r=a.inject("editorId"),o=a.ref(),s=a.ref(),u=a.ref(),f=fn(i),{html:d}=dn(i,f);un(i,d,o,s,u);const{selectedText:p}=hn(i,o);return cn(i,o),mn(o),pn(d),()=>a.createVNode(a.Fragment,null,[a.createVNode("div",{class:[`${c}-content`]},[!t&&a.createVNode("div",{class:`${c}-input-wrapper`},[a.createVNode("textarea",{id:`${r}-textarea`,ref:o,value:i.value,onCompositionstart:()=>{e.value=!1},onInput:m=>{p.value="",i.onChange(m.target.value,e.value)},onCompositionend:m=>{v.emit(r,"saveHistory",m.target.value),e.value=!0},class:[i.setting.preview||i.setting.htmlPreview?"":"textarea-only"],placeholder:i.placeholder},null)]),i.setting.preview&&a.createVNode("div",{id:`${r}-preview-wrapper`,class:`${c}-preview-wrapper`,ref:s,key:"content-preview-wrapper"},[a.createVNode("div",{id:`${r}-preview`,class:[`${c}-preview`,`${l==null?void 0:l.value}-theme`,n&&`${c}-scrn`],innerHTML:d.value},null)]),i.setting.htmlPreview&&a.createVNode("div",{class:`${c}-preview-wrapper`,ref:u,key:"html-preview-wrapper"},[a.createVNode("div",{class:`${c}-html`},[d.value])])])])}});const ut=a.defineComponent({props:{tocItem:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:()=>{}},scrollElement:{type:[String,Object],default:""}},setup(i){return()=>a.createVNode("div",{class:`${c}-catalog-link`,onClick:e=>{e.stopPropagation();const t=i.markedHeadingId(i.tocItem.text,i.tocItem.level),n=document.getElementById(t),l=i.scrollElement instanceof Element?i.scrollElement:document.querySelector(i.scrollElement);if(n&&l){let r=n.offsetParent,o=n.offsetTop;if(l.contains(r))for(;r&&l!=r;)o+=r==null?void 0:r.offsetTop,r=r==null?void 0:r.offsetParent;l==null||l.scrollTo({top:o,behavior:"smooth"})}}},[a.createVNode("span",{title:i.tocItem.text},[i.tocItem.text]),a.createVNode("div",{class:`${c}-catalog-wrapper`},[i.tocItem.children&&i.tocItem.children.map(e=>a.createVNode(ut,{markedHeadingId:i.markedHeadingId,key:e.text,tocItem:e,scrollElement:i.scrollElement},null))])])}});var Tn="";const we=a.defineComponent({name:"Catalog",props:{editorId:{type:String},class:{type:String,default:""},markedHeadingId:{type:Function,default:i=>i},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"}},setup(i){const e=i.editorId,t=a.reactive({list:[],show:!1,scrollElement:i.scrollElement||`#${e}-preview-wrapper`}),n=a.computed(()=>{const l=[];return t.list.forEach(({text:r,level:o})=>{const s={level:o,text:r};if(l.length===0)l.push(s);else{let u=l[l.length-1];if(s.level>u.level)for(let f=u.level+1;f<=6;f++){const{children:d}=u;if(!d){u.children=[s];break}if(u=d[d.length-1],s.level<=u.level){d.push(s);break}}else l.push(s)}}),l});return a.onMounted(()=>{v.on(e,{name:"catalogChanged",callback:l=>{t.list=l}}),v.emit(e,"pushCatalog")}),()=>a.createVNode("div",{class:`${c}-catalog${i.theme==="dark"?"-dark":""} ${i.class}`},[n.value.map(l=>a.createVNode(ut,{markedHeadingId:i.markedHeadingId,tocItem:l,key:l.text,scrollElement:t.scrollElement},null))])}});var zn="",In="";const kn={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},historyLength:{type:Number,default:10},onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullScreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},language:{type:String,default:"zh-CN"},toolbars:{type:Array,default:Pe},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:"md-editor-v3"},tabWidth:{type:Number,default:2},showCodeRowNumber:{type:Boolean,default:!1},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:i=>i},tableShape:{type:Array,default:()=>[6,4]},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},defToolbars:{type:[String,Object]},onError:{type:Function,default:()=>()=>{}},codeCssName:{type:String,default:"atom"}},Q=a.defineComponent({name:"MdEditorV3",props:kn,setup(i,e){const{editorId:t}=i,n=Q.extension||{};xt(i,e),$t(i,n),Ct(i,n);const l=a.reactive({catalogVisible:!1}),r=a.reactive({pageFullScreen:i.pageFullScreen,fullscreen:!1,preview:i.preview,htmlPreview:i.preview?!1:i.htmlPreview}),o=(d,p)=>{r[p]=d,p==="preview"&&r.preview?r.htmlPreview=!1:p==="htmlPreview"&&r.htmlPreview&&(r.preview=!1)};let s="";const u=()=>{r.pageFullScreen||r.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};a.watch(()=>[r.pageFullScreen,r.fullscreen],u),a.onMounted(()=>{i.previewOnly||v.on(t,{name:"uploadImage",callback(d,p){const m=h=>{v.emit(t,"replace","image",{desc:"",urls:h}),p&&p()};i.onUploadImg?i.onUploadImg(d,m):e.emit("onUploadImg",d,m)}}),s=document.body.style.overflow,u(),v.on(t,{name:"catalogShow",callback:()=>{l.catalogVisible=!l.catalogVisible}})}),a.onBeforeUnmount(()=>{v.clear(t)});const f=a.computed(()=>!i.toolbarsExclude.includes("catalog")&&i.toolbars.includes("catalog"));return a.onMounted(()=>{v.on(t,{name:"errorCatcher",callback:d=>{i.onError(d)}})}),()=>{var p;const d=G({props:i,ctx:e},"defToolbars");return a.createVNode("div",{id:t,class:[c,i.class,i.theme==="dark"&&`${c}-dark`,r.fullscreen||r.pageFullScreen?`${c}-fullscreen`:"",i.previewOnly&&`${c}-previewOnly`],style:i.style},[!i.previewOnly&&a.createVNode(It,{noPrettier:i.noPrettier,toolbars:i.toolbars,toolbarsExclude:i.toolbarsExclude,setting:r,updateSetting:o,tableShape:i.tableShape,defToolbars:d},null),a.createVNode(gn,{value:i.modelValue,onChange:(m,h=!0)=>{h&&v.emit(t,"saveHistory",m),i.onChange?i.onChange(m):(e.emit("update:modelValue",m),e.emit("onChange",m))},setting:r,onHtmlChanged:m=>{i.onHtmlChanged?i.onHtmlChanged(m):e.emit("onHtmlChanged",m)},onGetCatalog:m=>{i.onGetCatalog?i.onGetCatalog(m):e.emit("onGetCatalog",m)},markedHeadingId:i.markedHeadingId,noMermaid:i.noMermaid,sanitize:i.sanitize,placeholder:i.placeholder,noKatex:i.noKatex,mermaidTemplate:(p=n==null?void 0:n.editorConfig)==null?void 0:p.mermaidTemplate},null),f.value&&a.createVNode(we,{theme:i.theme,style:{display:l.catalogVisible?"block":"none"},class:`${c}-catalog-editor`,editorId:t,markedHeadingId:i.markedHeadingId},null)])}}});var De=a.defineComponent({name:"NormalToolbar",props:{title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function,default:()=>()=>{}}},setup(i,e){return()=>{const t=G({props:i,ctx:e},"trigger");return a.createVNode("div",{class:`${c}-toolbar-item`,title:i.title,onClick:n=>{i.onClick instanceof Function?i.onClick(n):e.emit("onClick",n)}},[t])}}}),_e=a.defineComponent({name:"DropdownToolbar",props:{title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function,default:()=>()=>{}},overlay:{type:[String,Object]}},setup(i,e){const t=a.inject("editorId");return()=>{const n=G({props:i,ctx:e},"trigger"),l=G({props:i,ctx:e},"overlay");return a.createVNode(le,{relative:`#${t}-toolbar-wrapper`,visible:i.visible,onChange:r=>{i.onChange instanceof Function?i.onChange(r):e.emit("onChange",r)},overlay:l},{default:()=>[a.createVNode("div",{class:`${c}-toolbar-item`,title:i.title||""},[n])]})}}});function bn(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!a.isVNode(i)}var Re=a.defineComponent({name:"ModalToolbar",props:{title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function,default:()=>()=>{}},onClose:{type:Function,default:()=>()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>()=>{}}},setup(i,e){return()=>{const t=G({props:i,ctx:e},"trigger"),n=G({props:i,ctx:e},"default");return a.createVNode(a.Fragment,null,[a.createVNode("div",{class:`${c}-toolbar-item`,title:i.title,onClick:()=>{i.onClick instanceof Function?i.onClick():e.emit("onClick")}},[t]),a.createVNode(Le,{width:i.width,height:i.height,title:i.modalTitle,visible:i.visible,onClose:()=>{i.onClose instanceof Function?i.onClose():e.emit("onClose")},showAdjust:i.showAdjust,isFullscreen:i.isFullscreen,onAdjust:l=>{i.onAdjust instanceof Function?i.onAdjust(l):e.emit("onAdjust",l)}},bn(n)?n:{default:()=>[n]})])}}});const yn=function(i={markedRenderer:e=>e,markedExtensions:[],markedOptions:{},editorExtensions:{}}){Reflect.defineProperty(this,"extension",{value:i,enumerable:!0})};return Q.install=i=>(i.component(Q.name,Q),i.component(De.name,De),i.component(_e.name,_e),i.component(we.name,we),i.component(Re.name,Re),i),Q.NormalToolbar=De,Q.DropdownToolbar=_e,Q.Catalog=we,Q.ModalToolbar=Re,Q.config=yn,Q});
|
package/lib/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.md-divider{position:relative;display:inline-block;width:1px;top:.1em;height:.9em;margin:0 8px;background-color:var(--md-border-color)}.md-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:10000;background-color:var(--md-bk-color)}.md-dropdown-hidden{opacity:0;z-index:-10000}.md-dropdown-overlay{margin-top:6px}.md-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;height:100%;background-color:var(--md-modal-mask)}.md-modal{display:block;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-radius:3px;border:1px solid var(--md-border-color);position:fixed;z-index:20001;flex-direction:column}.md-modal-header{cursor:grab;display:flex;justify-content:space-between;padding:10px 24px;color:var(--md-color);font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;user-select:none;border-bottom:1px solid var(--md-border-color);position:relative}.md-modal-body{padding:24px;font-size:14px;word-wrap:break-word;height:calc(100% - 61px);box-sizing:border-box}.md-modal .md-modal-func{position:absolute;top:10px;right:10px}.md-modal .md-modal-func .md-modal-adjust,.md-modal .md-modal-func .md-modal-close{cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;display:inline-block}.md-modal .md-modal-func .md-modal-adjust{padding-right:10px}.animation{animation-duration:.15s}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoom-in{animation-name:zoomIn;animation-duration:.15s}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoom-out{animation-name:zoomOut;animation-duration:.15s}.md-clip{position:relative;display:flex;height:calc(100% - 32px)}.md-clip-main,.md-clip-preview{width:50%;height:100%;border:1px solid var(--md-border-color)}.md-clip-main{margin-right:1em}.md-clip-main .md-clip-cropper{position:relative;width:100%;height:100%}.md-clip-main .md-clip-cropper .md-clip-delete{position:absolute;top:0;right:0;font-size:0;background-color:var(--md-bk-color-outstand);border-bottom-left-radius:4px;color:var(--md-color);cursor:pointer}.md-clip-main .md-clip-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer}.md-clip-main .md-clip-upload .md-icon{width:auto;height:40px}.md-clip-preview-target{width:100%;height:100%;overflow:hidden}.md-catalog-editor{--md-color: #222;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-avtive-color: #00000061;position:absolute;overflow:auto;top:44px;right:0;height:calc(100% - 44px);background-color:var(--md-bk-color-outstand);border-left:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin:0;padding:5px 10px;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";z-index:2}.md-catalog>.md-catalog-link{padding:5px 8px}.md-catalog-link{padding:5px 0 5px 8px;line-height:1.2}.md-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer}.md-catalog-link span:hover{color:#73d13d}.md-catalog-wrapper>.md-catalog-link{padding-top:5px;padding-bottom:5px}.md-catalog-wrapper>.md-catalog-link:first-of-type{padding-top:10px}.md-catalog-wrapper>.md-catalog-link:last-of-type{padding-bottom:0}.md-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-avtive-color: #3a3a3a}.md{--md-color: #222;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-avtive-color: #00000061;width:100%;height:400px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md ::-webkit-scrollbar{width:6px;height:6px}.md ::-webkit-scrollbar-corner,.md ::-webkit-scrollbar-track{background-color:var(--md-scrollbar-bg-color)}.md ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-scrollbar-thumb-color)}.md ::-webkit-scrollbar-button:vertical{display:none}.md ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-scrollbar-thumb-hover-color)}.md ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-scrollbar-thumb-avtive-color)}.md-icon{width:24px;height:24px;fill:currentColor;overflow:hidden}.md-menu{margin:0;padding:0;border-radius:3px;border:1px solid var(--md-border-color);background-color:inherit}.md-menu-item{list-style:none;font-size:12px;color:var(--md-color);padding:4px 10px;cursor:pointer;line-height:16px}.md-menu-item:first-of-type{padding-top:8px}.md-menu-item:last-of-type{padding-bottom:8px}.md-menu-item:hover{background-color:var(--md-bk-hover-color)}.md-table-shape{padding:4px;border-radius:3px;border:1px solid var(--md-border-color);display:flex;flex-direction:column}.md-table-shape-row{display:flex}.md-table-shape-col{padding:2px;cursor:pointer}.md-table-shape-col-default{width:16px;height:16px;background-color:#e0e0e0;border-radius:3px;transition:all .2s}.md-table-shape-col-include{background-color:#aaa}.md-toolbar-wrapper{overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.md-toolbar-wrapper::-webkit-scrollbar{height:0!important}.md-toolbar-wrapper .md-toolbar{min-width:850px;padding:4px;height:35px;border-bottom:1px solid var(--md-border-color);display:flex;justify-content:space-between;align-items:center;box-sizing:content-box}.md-toolbar-wrapper .md-toolbar-item{height:24px;display:inline-block;padding:0 4px;transition:all .3s;border-radius:0;cursor:pointer;list-style:none;user-select:none}.md-toolbar-wrapper .md-toolbar-item:hover{border-radius:3px;background-color:var(--md-bk-color-outstand)}.md-toolbar-wrapper .md-toolbar-left,.md-toolbar-wrapper .md-toolbar-right{padding:1px 0;display:flex;align-items:center}.md-content{display:flex;height:calc(100% - 44px)}.md-content .md-input-wrapper{flex:1;box-sizing:border-box}.md-content .md-input-wrapper textarea{width:100%;height:100%;padding:10px 20px;box-sizing:border-box;font-size:1em;font-family:-apple-system,Consolas,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;resize:none;border:none;outline:none;overflow-y:scroll;color:inherit;background-color:inherit;line-height:1.4}.md-content .md-input-wrapper textarea.textarea-only{overflow-y:auto}.md-content .md-preview-wrapper{position:relative;flex:1;box-sizing:border-box;overflow:auto}.md-content .md-preview,.md-content .md-html{padding:10px 20px;font-size:16px;position:relative;word-break:break-all}.md-form-item{margin-bottom:14px;text-align:center}.md-form-item:last-of-type{margin-bottom:0}.md-lable{font-size:14px;color:var(--md-color);width:80px;text-align:center;display:inline-block}.md-input{border-radius:4px;padding:4px 11px;color:var(--md-color);font-size:14px;line-height:1.5715;background-color:var(--md-bk-color);background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-input:focus,.md-input:hover{border-color:var(--md-border-hover-color);outline:0}.md-input:focus{border-color:var(--md-border-active-color)}.md-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;user-select:none;height:32px;padding:0 15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:var(--md-bk-color);border-color:var(--md-border-color);margin-left:10px}.md-btn:first-of-type{margin-left:0}.md-btn:hover{color:var(--md-hover-color);background-color:var(--md-bk-color);border-color:var(--md-border-hover-color)}.md-btn-row{width:100%}.md-katex-block{text-align:center;margin:20px}.md-previewOnly{border:none;height:auto}.md-previewOnly .md-content{height:100%}.md-previewOnly .md-preview{padding:0}.md-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-avtive-color: #3a3a3a}.md-dark .md-table-shape-col-default{background-color:#222}.md-dark .md-table-shape-col-include{background-color:#555}.md-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;width:auto!important;height:auto!important;z-index:10000}.mermaid,.md-katex-inline,.md-katex-block{display:none}.mermaid[data-processed],.md-katex-inline[data-processed]{display:initial}.md-katex-block[data-processed]{display:block}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.md-scrn span[rn-wrapper]{position:absolute;pointer-events:none;top:1em;font-size:100%;left:0;width:3em;letter-spacing:-1px;user-select:none;counter-reset:linenumber}.md-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-right:.5em;text-align:right;content:counter(linenumber)}.md-scrn pre code{padding-left:3.5em!important}.default-theme ::-webkit-scrollbar{width:6px;height:6px}.default-theme ::-webkit-scrollbar-corner,.default-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.default-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.default-theme ::-webkit-scrollbar-button:vertical{display:none}.default-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.default-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.default-theme h1,.default-theme h2,.default-theme h3,.default-theme h4,.default-theme h5,.default-theme h6{position:relative;word-break:break-all}.default-theme h1 a,.default-theme h2 a,.default-theme h3 a,.default-theme h4 a,.default-theme h5 a,.default-theme h6 a,.default-theme h1 a:hover,.default-theme h2 a:hover,.default-theme h3 a:hover,.default-theme h4 a:hover,.default-theme h5 a:hover,.default-theme h6 a:hover{color:inherit}.default-theme ol li{list-style:decimal}.default-theme ul li{list-style:disc}.default-theme ol .li-task,.default-theme ul .li-task{list-style-type:none}.default-theme ol .li-task input,.default-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.default-theme a{text-decoration:none}.default-theme pre,.default-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.default-theme pre{margin:20px 0}.default-theme pre code{display:block;line-height:1;overflow:auto}.default-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.default-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.default-theme div[inline]>.figure{padding-right:.5em}.default-theme div[inline]>.figure img{padding:0;border:none}.default-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.default-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.default-theme h1,.default-theme h2,.default-theme h3,.default-theme h4,.default-theme h5,.default-theme h6{margin:1.4em 0 .8em;font-weight:700}.default-theme a{color:#2d8cf0;transition:color .3s}.default-theme a:hover{color:#73d13d}.default-theme img{margin:0 auto;max-width:100%;box-sizing:border-box;padding:5px;border:1px solid #e6e6e6;border-radius:3px}.default-theme p{line-height:1.6;margin:0;padding:.5rem 0}.default-theme p:empty{display:none}.default-theme code{color:#3594f7;background-color:#3baafa1a;display:inline-block;padding:0 4px;border-radius:2px;line-height:22px}.default-theme blockquote{margin:20px 0;padding:.5em 1.2em;line-height:2em;background-color:#ececec;border-left:5px solid #35b378;display:block}.default-theme blockquote p{padding:0}.default-theme pre{position:relative;border-radius:5px;box-shadow:#0005 0 2px 2px}.default-theme pre code{position:relative;padding:1em;background-color:#282c34;color:#a9b7c6;border-radius:0 0 5px 5px}.default-theme pre code>*{line-height:1.6}.default-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer}.default-theme pre:before{content:"";display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAACCCAYAAADVN8idAAAgAElEQVR4nO2de5QU5Zn/v1VdVX2/zQwMzDCDgCBKOIx4myXLRlnYGDlhzWWDSTxkhXBQo2iS34kmavb3C5qo5+yqqBs5xNG4ZpVskjXk6BrhqAkbdoyXgSUoiqgMzDjAzPS1+lLX3x/TYNU7F6C7untm+vn8Ne/bVdVvP+8777fe2/MABEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQExKu2BtN03SyHGVhxdS61jk+77xWr3dWk9c7Y4okTakThbqAIIa8POcTeF4EAM0w1KxhZtKamhxUtcETinKiN5s92p3Nfngok31vx/HB7mr/FmLisaItMGv2NPfclqnCrKYGoXVqWJxWF+TrAj4u5JE4n+jiRZMzoWmmmlPMTDpjJgdTxuDxhNrX2691HzmuffhBX/7gjj3pD6v9W4iJx9TFwXqxWWrlG6UmforYiIhQb4ZcEcPPBzjJ5eZd4AHA0GGYip7nZSPNJfU44tqAcUI9ZhxTetUepfv4W6mBav+W08FxRUvZ0P3F3jjehHBByM+3RyNLLw6H29vCwQubPJ6ZhY/aS3x0JwD05nKH9yRSXW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Z6d/b15K5qOMlmqWkhtLIg5Ofbo5GlF4fD7W3h4IUF121A6eLYCQzFCNyTSHW9kUh0dsbiu+gIBGFlQYuHv2y+9/KL53mWLJrjvajgug0oXRy7gKEYgXsPZd98473c7tcOZF/df4SOQBB2pl9V/ylxvncR5novKLhuA0oXxg5gKEag+X72bfVAdm85d38WCwnhGKyYWtc6x+ed1+r1zmryemdMkaQpdaJQFxDEkJfnfALPiwCgGYaaNYxMWtOSg6o2eCKvnOjNZY92Z7MfHspk3yNn2EQxrGgLzJo9zT23Zaowq6lebJ0a4adFg0Jd0MeFPBLnEwRuqP1ppppTzEwqYyZjKW3weNzo6x1Qu7uPax9+2Jc/uGNP+sNq/xZi4jF1cbBebJZa+UapiZ8iNiIi1JshV8Tw8wFOcrl511D0IUOHweWNPDJ6mkvqccS1AeOEesw4pvSqPUp3tSJCnA2VOjFAEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEAQxzvj/snGtbrdYI/0AAAAASUVORK5CYII=);height:32px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:0;border-top-left-radius:5px;border-top-right-radius:5px;background-position:10px 10px}.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em}.default-theme table tr th,.default-theme table tr td{word-wrap:break-word;padding:8px 14px;border:1px solid #e6e6e6}.default-theme table tr:nth-child(2n){background-color:#fafafa}.default-theme table tr:hover{background-color:#eee}.default-theme ol,.default-theme ul{margin:.6em 0;padding-left:1.6em}.default-theme ol li,.default-theme ul li{line-height:1.6;margin:.5em 0}.md-dark .default-theme{color:#999}.md-dark .default-theme ::-webkit-scrollbar-corner,.md-dark .default-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark .default-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark .default-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark .default-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-dark .default-theme hr{border-color:#2d2d2d}.md-dark .default-theme h1,.md-dark .default-theme h2,.md-dark .default-theme h3,.md-dark .default-theme h4,.md-dark .default-theme h5,.md-dark .default-theme h6,.md-dark .default-theme strong{color:#999}.md-dark .default-theme img{border-color:#2d2d2d}.md-dark .default-theme blockquote{background-color:#111}.md-dark .default-theme pre code{background-color:#1a1a1a;color:#a9b7c6}.md-dark .default-theme pre .copy-button{color:#999}.md-dark .default-theme pre:before{background-color:#1a1a1a}.md-dark .default-theme table tr th,.md-dark .default-theme table tr td{border-color:#2d2d2d}.md-dark .default-theme table tr:nth-child(2n){background-color:#0c0c0c}.md-dark .default-theme table tr:hover{background-color:#191919}.github-theme{line-height:1.5}.github-theme ::-webkit-scrollbar{width:6px;height:6px}.github-theme ::-webkit-scrollbar-corner,.github-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.github-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.github-theme ::-webkit-scrollbar-button:vertical{display:none}.github-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.github-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.github-theme h1,.github-theme h2,.github-theme h3,.github-theme h4,.github-theme h5,.github-theme h6{position:relative;word-break:break-all}.github-theme h1 a,.github-theme h2 a,.github-theme h3 a,.github-theme h4 a,.github-theme h5 a,.github-theme h6 a,.github-theme h1 a:hover,.github-theme h2 a:hover,.github-theme h3 a:hover,.github-theme h4 a:hover,.github-theme h5 a:hover,.github-theme h6 a:hover{color:inherit}.github-theme ol li{list-style:decimal}.github-theme ul li{list-style:disc}.github-theme ol .li-task,.github-theme ul .li-task{list-style-type:none}.github-theme ol .li-task input,.github-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.github-theme a{text-decoration:none}.github-theme pre,.github-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.github-theme pre{margin:20px 0}.github-theme pre code{display:block;line-height:1;overflow:auto}.github-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.github-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.github-theme div[inline]>.figure{padding-right:.5em}.github-theme div[inline]>.figure img{padding:0;border:none}.github-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.github-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.github-theme h1,.github-theme h2,.github-theme h3,.github-theme h4,.github-theme h5,.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.github-theme h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid #d9dee4}.github-theme h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #d9dee4}.github-theme h3{font-size:1.25em}.github-theme h4{font-size:1em}.github-theme h5{font-size:.875em}.github-theme h6{font-size:.85em;color:#2d3339}.github-theme a{color:#539bf5}.github-theme a:hover{text-decoration:underline}.github-theme img{max-width:100%;box-sizing:content-box;background-color:#fff}.github-theme p,.github-theme blockquote,.github-theme ul,.github-theme ol,.github-theme dl,.github-theme table,.github-theme pre,.github-theme details{margin-top:0;margin-bottom:16px}.github-theme p:empty{display:none}.github-theme code{padding:.2em .4em;margin:0;background-color:#eff1f2;border-radius:6px}.github-theme blockquote{padding:0 1em;color:#57606a;border-left:.25em solid #d0d7de}.github-theme pre{background-color:#f6f8fa;border-radius:6px;position:relative}.github-theme pre code{position:relative;padding:1em;margin-bottom:0;word-break:normal;letter-spacing:1px}.github-theme pre code>*{line-height:1.45}.github-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.github-theme pre:hover .copy-button{display:initial}.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}.github-theme table tr{background-color:#fff;border-top:1px solid #d8dee4}.github-theme table tr th,.github-theme table tr td{padding:6px 13px;border:1px solid #d0d7de}.github-theme table tr:nth-child(2n){background-color:#f7f8fa}.github-theme ol,.github-theme ul{padding-left:2em}.github-theme ol li+li,.github-theme ul li+li{margin-top:.25em}.md-dark .github-theme{color:#c9d1d9}.md-dark .github-theme ::-webkit-scrollbar-corner,.md-dark .github-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark .github-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark .github-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark .github-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-dark .github-theme hr{border-color:#2d2d2d}.md-dark .github-theme h1,.md-dark .github-theme h2,.md-dark .github-theme h3,.md-dark .github-theme h4,.md-dark .github-theme h5,.md-dark .github-theme h6,.md-dark .github-theme strong{color:#c9d1d9}.md-dark .github-theme h1,.md-dark .github-theme h2{border-bottom:1px solid #373e47}.md-dark .github-theme img{border-color:#2d2d2d}.md-dark .github-theme blockquote{border-color:#444c56;color:#8b949e;background-color:initial}.md-dark .github-theme code{background-color:#2d3339;color:#c9d1d9}.md-dark .github-theme pre{background-color:#2d333b}.md-dark .github-theme pre code{color:#a9b7c6;background-color:#161b22}.md-dark .github-theme pre .copy-button{color:#999}.md-dark .github-theme pre:before{background-color:#1a1a1a}.md-dark .github-theme table tr{background-color:transparent;border-color:gray}.md-dark .github-theme table tr th,.md-dark .github-theme table tr td{border-color:#30363d}.md-dark .github-theme table tr:nth-child(2n){background-color:#161b22}.vuepress-theme{font-size:16px;color:#304455}.vuepress-theme ::-webkit-scrollbar{width:6px;height:6px}.vuepress-theme ::-webkit-scrollbar-corner,.vuepress-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.vuepress-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.vuepress-theme ::-webkit-scrollbar-button:vertical{display:none}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{position:relative;word-break:break-all}.vuepress-theme h1 a,.vuepress-theme h2 a,.vuepress-theme h3 a,.vuepress-theme h4 a,.vuepress-theme h5 a,.vuepress-theme h6 a,.vuepress-theme h1 a:hover,.vuepress-theme h2 a:hover,.vuepress-theme h3 a:hover,.vuepress-theme h4 a:hover,.vuepress-theme h5 a:hover,.vuepress-theme h6 a:hover{color:inherit}.vuepress-theme ol li{list-style:decimal}.vuepress-theme ul li{list-style:disc}.vuepress-theme ol .li-task,.vuepress-theme ul .li-task{list-style-type:none}.vuepress-theme ol .li-task input,.vuepress-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.vuepress-theme a{text-decoration:none}.vuepress-theme pre,.vuepress-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.vuepress-theme pre{margin:20px 0}.vuepress-theme pre code{display:block;line-height:1;overflow:auto}.vuepress-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.vuepress-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.vuepress-theme div[inline]>.figure{padding-right:.5em}.vuepress-theme div[inline]>.figure img{padding:0;border:none}.vuepress-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.vuepress-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{font-weight:600;color:#273849;line-height:1.45;position:relative;margin-top:1em}.vuepress-theme h1{font-size:2.2em;margin:1em 0}.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em;border-bottom:1px solid #eaecef}.vuepress-theme h3{line-height:1.35em}.vuepress-theme a{color:#42b983;font-weight:600}.vuepress-theme img{max-width:100%}.vuepress-theme div[inline]>.figure{padding-right:.5em}.vuepress-theme div[inline]>.figure img{padding:0;border:none}.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.vuepress-theme code{color:#d63200;padding:3px 5px;margin:0 2px;border-radius:2px;white-space:nowrap}.vuepress-theme p{word-spacing:.05em}.vuepress-theme p:empty{display:none}.vuepress-theme blockquote{margin:2em 0;padding-left:20px;border-left:4px solid #42b983}.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.vuepress-theme pre,.vuepress-theme code{background-color:#f8f8f8}.vuepress-theme pre{border-radius:2px;position:relative;font-size:.875em;margin:1em 0}.vuepress-theme pre code{overflow-x:auto;color:#747384;white-space:pre;padding:1em}.vuepress-theme pre code>*{line-height:1.6}.vuepress-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.vuepress-theme pre:hover .copy-button{display:initial}.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}.vuepress-theme table tr{border-top:1px solid #dfe2e5}.vuepress-theme table tr th,.vuepress-theme table tr td{border:1px solid #dfe2e5;padding:.6em 1em}.vuepress-theme table tr:nth-child(2n){background-color:#f6f8fa}.vuepress-theme p,.vuepress-theme ol,.vuepress-theme ul{line-height:1.6em;margin:1.2em 0;position:relative;z-index:1}.vuepress-theme ul,.vuepress-theme ol{padding-left:1.25em;line-height:1.4em}.vuepress-theme ul li,.vuepress-theme ol li{margin:1.2em 0}.md-dark .vuepress-theme{color:#999}.md-dark .vuepress-theme ::-webkit-scrollbar-corner,.md-dark .vuepress-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark .vuepress-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark .vuepress-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark .vuepress-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-dark .vuepress-theme hr{border-color:#2d2d2d}.md-dark .vuepress-theme h1,.md-dark .vuepress-theme h2,.md-dark .vuepress-theme h3,.md-dark .vuepress-theme h4,.md-dark .vuepress-theme h5,.md-dark .vuepress-theme h6,.md-dark .vuepress-theme strong{color:#999}.md-dark .vuepress-theme h2{border-color:#2d2d2d}.md-dark .vuepress-theme code{color:#e06c75;background-color:#1a1a1a}.md-dark .vuepress-theme pre{background-color:#1a1a1a}.md-dark .vuepress-theme pre code{background-color:#1a1a1a;color:#999}.md-dark .vuepress-theme pre:before{background-color:#1a1a1a}.md-dark .vuepress-theme table tr th,.md-dark .vuepress-theme table tr td{border-color:#2d2d2d}.md-dark .vuepress-theme table tr:nth-child(2n){background-color:#0c0c0c}.smart-blue-theme{padding:16px;color:#595959;font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-image:linear-gradient(90deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%);background-size:20px 20px;background-position:center center}.smart-blue-theme ::-webkit-scrollbar{width:6px;height:6px}.smart-blue-theme ::-webkit-scrollbar-corner,.smart-blue-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.smart-blue-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.smart-blue-theme ::-webkit-scrollbar-button:vertical{display:none}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{position:relative;word-break:break-all}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a,.smart-blue-theme h1 a:hover,.smart-blue-theme h2 a:hover,.smart-blue-theme h3 a:hover,.smart-blue-theme h4 a:hover,.smart-blue-theme h5 a:hover,.smart-blue-theme h6 a:hover{color:inherit}.smart-blue-theme ol li{list-style:decimal}.smart-blue-theme ul li{list-style:disc}.smart-blue-theme ol .li-task,.smart-blue-theme ul .li-task{list-style-type:none}.smart-blue-theme ol .li-task input,.smart-blue-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.smart-blue-theme a{text-decoration:none}.smart-blue-theme pre,.smart-blue-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.smart-blue-theme pre{margin:20px 0}.smart-blue-theme pre code{display:block;line-height:1;overflow:auto}.smart-blue-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.smart-blue-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.smart-blue-theme div[inline]>.figure{padding-right:.5em}.smart-blue-theme div[inline]>.figure img{padding:0;border:none}.smart-blue-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.smart-blue-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.smart-blue-theme p{line-height:2;font-weight:400}.smart-blue-theme p+p{margin-top:16px}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{padding:30px 0;margin:0;color:#135ce0}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a{border:none}.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}.smart-blue-theme h3{font-size:16px}.smart-blue-theme ul{list-style:disc outside;margin-top:1em;padding-left:1.6em}.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}.smart-blue-theme img{max-width:100%}.smart-blue-theme img.loaded{margin:0 auto;display:block}.smart-blue-theme blockquote{background:#fff9f9;margin:2em 0;padding:2px 20px;border-left:4px solid #b2aec5}.smart-blue-theme blockquote p{color:#666;line-height:2}.smart-blue-theme a{color:#036aca;font-weight:400;text-decoration:none}.smart-blue-theme strong,.smart-blue-theme em strong{color:#036aca}.smart-blue-theme hr{border-top:1px solid #135ce0}.smart-blue-theme pre code{padding:22px 12px;margin:0;word-break:normal;display:block;overflow-x:auto;color:#333;background:#f8f8f8}.smart-blue-theme pre code>*{line-height:1.6}.smart-blue-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.smart-blue-theme pre:hover .copy-button{display:initial}.smart-blue-theme code{word-break:break-word;border-radius:2px;overflow-x:auto;background-color:#fff5f5;color:#ff502c;padding:.065em .4em}.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}.smart-blue-theme table tr{border-top:1px solid #dfe2e5}.smart-blue-theme table tr:nth-child(2n){background-color:#f6f8fa}.smart-blue-theme pre,.smart-blue-theme code{overflow:auto;position:relative;line-height:1.75;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.smart-blue-theme table th,.smart-blue-theme table td{border:1px solid #dfe2e5;padding:.6em 1em}.smart-blue-theme .md-scrn span[rn-wrapper]{top:22px}.md-dark .smart-blue-theme{color:#999;background-image:linear-gradient(90deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%),linear-gradient(360deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%)}.md-dark .smart-blue-theme ::-webkit-scrollbar-corner,.md-dark .smart-blue-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark .smart-blue-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark .smart-blue-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark .smart-blue-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-dark .smart-blue-theme hr{border-color:#2d2d2d}.md-dark .smart-blue-theme h1,.md-dark .smart-blue-theme h2,.md-dark .smart-blue-theme h3,.md-dark .smart-blue-theme h4,.md-dark .smart-blue-theme h5,.md-dark .smart-blue-theme h6{color:#3a73dd}.md-dark .smart-blue-theme a{color:#2d7dc7}.md-dark .smart-blue-theme blockquote{background-color:#2a2a2a;border-color:#0063bb}.md-dark .smart-blue-theme blockquote p{color:#999}.md-dark .smart-blue-theme pre code{color:#999;background-color:#1a1a1a}.md-dark .smart-blue-theme code{background-color:#1a1a1a}.md-dark .smart-blue-theme table tr th,.md-dark .smart-blue-theme table tr td{border-color:#2d2d2d}.md-dark .smart-blue-theme table tr:nth-child(2n){background-color:#0c0c0c}.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--cyanosis-base-color);transition:color .35s;--cyanosis-base-color: #353535;--cyanosis-title-color: #005bb7;--cyanosis-strong-color: #2196f3;--cyanosis-em-color: #4fc3f7;--cyanosis-del-color: #ccc;--cyanosis-link-color: #3da8f5;--cyanosis-linkh-color: #007fff;--cyanosis-border-color: #bedcff;--cyanosis-border-color-2: #ececec;--cyanosis-bg-color: #fff;--cyanosis-blockquote-color: #8c8c8c;--cyanosis-blockquote-bg-color: #f0fdff;--cyanosis-code-color: #c2185b;--cyanosis-code-bg-color: #fff4f4;--cyanosis-code-pre-color: #f8f8f8;--cyanosis-table-border-color: #c3e0fd;--cyanosis-table-th-color: #dff0ff;--cyanosis-table-tht-color: #005bb7;--cyanosis-table-tr-nc-color: #f7fbff;--cyanosis-table-trh-color: #e0edf7;--cyanosis-slct-title-color: #005bb7;--cyanosis-slct-titlebg-color: rgba(175, 207, 247, .25);--cyanosis-slct-text-color: #c80000;--cyanosis-slct-bg-color: rgba(175, 207, 247, .25);--cyanosis-slct-del-color: #999;--cyanosis-slct-elbg-color: #e8ebec;--cyanosis-slct-codebg-color: #ffeaeb;--cyanosis-slct-prebg-color: rgba(160, 200, 255, .25)}.cyanosis-theme ::-webkit-scrollbar{width:6px;height:6px}.cyanosis-theme ::-webkit-scrollbar-corner,.cyanosis-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.cyanosis-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.cyanosis-theme ::-webkit-scrollbar-button:vertical{display:none}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.cyanosis-theme h1,.cyanosis-theme h2,.cyanosis-theme h3,.cyanosis-theme h4,.cyanosis-theme h5,.cyanosis-theme h6{position:relative;word-break:break-all}.cyanosis-theme h1 a,.cyanosis-theme h2 a,.cyanosis-theme h3 a,.cyanosis-theme h4 a,.cyanosis-theme h5 a,.cyanosis-theme h6 a,.cyanosis-theme h1 a:hover,.cyanosis-theme h2 a:hover,.cyanosis-theme h3 a:hover,.cyanosis-theme h4 a:hover,.cyanosis-theme h5 a:hover,.cyanosis-theme h6 a:hover{color:inherit}.cyanosis-theme ol li{list-style:decimal}.cyanosis-theme ul li{list-style:disc}.cyanosis-theme ol .li-task,.cyanosis-theme ul .li-task{list-style-type:none}.cyanosis-theme ol .li-task input,.cyanosis-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.cyanosis-theme a{text-decoration:none}.cyanosis-theme pre,.cyanosis-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.cyanosis-theme pre{margin:20px 0}.cyanosis-theme pre code{display:block;line-height:1;overflow:auto}.cyanosis-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.cyanosis-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.cyanosis-theme div[inline]>.figure{padding-right:.5em}.cyanosis-theme div[inline]>.figure img{padding:0;border:none}.cyanosis-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.cyanosis-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;color:var(--cyanosis-title-color);transition:color .35s}.cyanosis-theme h2{position:relative;padding-left:10px;padding-right:10px;padding-bottom:10px;margin-top:36px;margin-bottom:10px;font-size:24px;line-height:1.5;color:var(--cyanosis-title-color);border-bottom:1px solid var(--cyanosis-border-color-2);transition:color .35s}.cyanosis-theme h2:before{content:"\300c";position:absolute;top:-6px;left:-14px}.cyanosis-theme h2:after{content:"\300d";position:relative;top:6px;right:auto}.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h3:before{content:"\bb";padding-right:6px;color:var(--cyanosis-strong-color)}.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}.cyanosis-theme img{max-width:100%}.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg,var(--cyanosis-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--cyanosis-link-color));border-width:0;overflow:visible}.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:var(--cyanosis-code-color);word-break:break-word;overflow-x:auto;background-color:var(--cyanosis-code-bg-color);border-radius:2px}.cyanosis-theme pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace;position:relative}.cyanosis-theme pre code{padding:16px 12px;margin:0;color:var(--cyanosis-base-color);word-break:normal;overflow-x:auto;background:var(--cyanosis-code-pre-color)}.cyanosis-theme pre code>*{line-height:1.75}.cyanosis-theme pre code::-webkit-scrollbar{width:4px;height:4px}.cyanosis-theme pre code::-webkit-scrollbar-track{background-color:var(--cyanosis-border-color)}.cyanosis-theme pre code::-webkit-scrollbar-thumb{background-color:var(--cyanosis-strong-color);border-radius:10px}.cyanosis-theme pre code span[rn-wrapper]{top:16px}.cyanosis-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.cyanosis-theme pre:hover .copy-button{display:initial}.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;color:var(--cyanosis-link-color);border-bottom:1px solid var(--cyanosis-border-color)}.cyanosis-theme a:hover{color:var(--cyanosis-linkh-color);border-bottom-color:var(--cyanosis-linkh-color)}.cyanosis-theme a:active{color:var(--cyanosis-linkh-color)}.cyanosis-theme a:after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--cyanosis-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}.cyanosis-theme a:hover:after{top:0;opacity:1;border-bottom-color:var(--cyanosis-linkh-color)}.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--cyanosis-table-border-color);border-spacing:0;border-collapse:collapse}.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}.cyanosis-theme table tr:nth-child(2n){background-color:var(--cyanosis-table-tr-nc-color)}.cyanosis-theme table tr:hover{background-color:var(--cyanosis-table-trh-color)}.cyanosis-theme table th,.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--cyanosis-table-border-color)}.cyanosis-theme table th{color:var(--cyanosis-table-tht-color);background-color:var(--cyanosis-table-th-color)}.cyanosis-theme table td{min-width:120px}.cyanosis-theme blockquote{color:var(--cyanosis-blockquote-color);border-left:4px solid var(--cyanosis-strong-color);background-color:var(--cyanosis-blockquote-bg-color);padding:1px 20px;margin:22px 0;transition:color .35s}.cyanosis-theme blockquote:after{display:block;content:""}.cyanosis-theme blockquote>p{margin:10px 0}.cyanosis-theme blockquote>b,.cyanosis-theme blockquote>strong{color:var(--cyanosis-strong-color)}.cyanosis-theme b,.cyanosis-theme strong{color:var(--cyanosis-strong-color)}.cyanosis-theme i,.cyanosis-theme em{color:var(--cyanosis-em-color)}.cyanosis-theme del{color:var(--cyanosis-del-color)}.cyanosis-theme ol,.cyanosis-theme ul{padding-left:28px}.cyanosis-theme ol li,.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}.cyanosis-theme ol li .task-list-item,.cyanosis-theme ul li .task-list-item{list-style:none}.cyanosis-theme ol li .task-list-item ul,.cyanosis-theme ol li .task-list-item ol,.cyanosis-theme ul li .task-list-item ul,.cyanosis-theme ul li .task-list-item ol{margin-top:0}.cyanosis-theme ol ul,.cyanosis-theme ol ol,.cyanosis-theme ul ul,.cyanosis-theme ul ol{margin-top:4px}.cyanosis-theme ol li{padding-left:6px}.cyanosis-theme details>summary{outline:none;color:var(--cyanosis-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--cyanosis-border-color);cursor:pointer}.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--cyanosis-blockquote-bg-color);border:2px dashed var(--cyanosis-strong-color)}.cyanosis-theme h1::selection,.cyanosis-theme h2::selection,.cyanosis-theme h3::selection,.cyanosis-theme h4::selection,.cyanosis-theme h5::selection,.cyanosis-theme h6::selection{color:var(--cyanosis-slct-title-color);background-color:var(--cyanosis-slct-titlebg-color)}.cyanosis-theme p::selection,.cyanosis-theme ol li::selection,.cyanosis-theme ul li::selection{color:var(--cyanosis-slct-text-color);background-color:var(--cyanosis-slct-bg-color)}.cyanosis-theme a::selection,.cyanosis-theme b::selection,.cyanosis-theme strong::selection,.cyanosis-theme i::selection,.cyanosis-theme em::selection{background-color:var(--cyanosis-slct-elbg-color)}.cyanosis-theme del::selection{color:var(--cyanosis-slct-del-color);background-color:var(--cyanosis-slct-elbg-color)}.cyanosis-theme table thead th::selection{background-color:transparent}.cyanosis-theme table tbody td::selection{background-color:var(--cyanosis-slct-bg-color)}.cyanosis-theme code::selection{background-color:var(--cyanosis-slct-codebg-color)}.cyanosis-theme pre>code::selection{background-color:var(--cyanosis-slct-prebg-color)}.cyanosis-theme .contains-task-list{padding-left:14px;list-style:none}.cyanosis-theme .contains-task-list input[type=checkbox]{position:relative}.cyanosis-theme .contains-task-list input[type=checkbox]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;width:inherit;height:inherit;background:#f0f8ff;border:1px solid #add6ff;border-radius:2px;box-sizing:border-box;z-index:1}.cyanosis-theme .contains-task-list input[type=checkbox]:checked:after{content:"\2713";position:absolute;top:-12px;left:0;right:0;bottom:0;width:0;height:0;color:#f55;font-size:20px;font-weight:700;z-index:2}@media (max-width: 720px){.cyanosis-theme h1{font-size:24px}.cyanosis-theme h2{font-size:20px}.cyanosis-theme h3{font-size:18px}}.md-dark .cyanosis-theme{--cyanosis-base-color: #cacaca;--cyanosis-title-color: #ddd;--cyanosis-strong-color: #fe9900;--cyanosis-em-color: #ffd28e;--cyanosis-del-color: #ccc;--cyanosis-link-color: #ffb648;--cyanosis-linkh-color: #fe9900;--cyanosis-border-color: #ffe3ba;--cyanosis-border-color-2: #ffcb7b;--cyanosis-bg-color: #2f2f2f;--cyanosis-blockquote-color: #c7c7c7;--cyanosis-blockquote-bg-color: rgba(255, 199, 116, .1);--cyanosis-code-color: #000;--cyanosis-code-bg-color: #ffcb7b;--cyanosis-code-pre-color: rgba(30, 25, 18, .5);--cyanosis-table-border-color: #fe9900;--cyanosis-table-th-color: #ffb648;--cyanosis-table-tht-color: #000;--cyanosis-table-tr-nc-color: #6d5736;--cyanosis-table-trh-color: #947443;--cyanosis-slct-title-color: #000;--cyanosis-slct-titlebg-color: #fe9900;--cyanosis-slct-text-color: #00c888;--cyanosis-slct-bg-color: rgba(175, 207, 247, .25);--cyanosis-slct-del-color: #999;--cyanosis-slct-elbg-color: #000;--cyanosis-slct-codebg-color: #ffcb7b;--cyanosis-slct-prebg-color: rgba(160, 200, 255, .25)}.md-dark .cyanosis-theme ::-webkit-scrollbar-corner,.md-dark .cyanosis-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark .cyanosis-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark .cyanosis-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark .cyanosis-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-dark .cyanosis-theme hr{border-color:#2d2d2d}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:#36ace1;background-image:linear-gradient(90deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%);background-size:20px 20px;background-position:center center}.mk-cute-theme ::-webkit-scrollbar{width:6px;height:6px}.mk-cute-theme ::-webkit-scrollbar-corner,.mk-cute-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.mk-cute-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.mk-cute-theme ::-webkit-scrollbar-button:vertical{display:none}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{position:relative;word-break:break-all}.mk-cute-theme h1 a,.mk-cute-theme h2 a,.mk-cute-theme h3 a,.mk-cute-theme h4 a,.mk-cute-theme h5 a,.mk-cute-theme h6 a,.mk-cute-theme h1 a:hover,.mk-cute-theme h2 a:hover,.mk-cute-theme h3 a:hover,.mk-cute-theme h4 a:hover,.mk-cute-theme h5 a:hover,.mk-cute-theme h6 a:hover{color:inherit}.mk-cute-theme ol li{list-style:decimal}.mk-cute-theme ul li{list-style:disc}.mk-cute-theme ol .li-task,.mk-cute-theme ul .li-task{list-style-type:none}.mk-cute-theme ol .li-task input,.mk-cute-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.mk-cute-theme a{text-decoration:none}.mk-cute-theme pre,.mk-cute-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.mk-cute-theme pre{margin:20px 0}.mk-cute-theme pre code{display:block;line-height:1;overflow:auto}.mk-cute-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.mk-cute-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.mk-cute-theme div[inline]>.figure{padding-right:.5em}.mk-cute-theme div[inline]>.figure img{padding:0;border:none}.mk-cute-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.mk-cute-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{color:#36ace1}.mk-cute-theme h1:before,.mk-cute-theme h2:before,.mk-cute-theme h3:before,.mk-cute-theme h4:before,.mk-cute-theme h5:before,.mk-cute-theme h6:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7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egJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 1s infinite}.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.mk-cute-theme img{max-width:100%}.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}.mk-cute-theme del{color:#36ace1}.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;word-break:break-word;border-radius:2px;overflow-x:auto;background-color:#282c34;color:#4ec9b0;padding:.14em .46em;margin:0 4px}.mk-cute-theme pre{position:relative}.mk-cute-theme pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;border-radius:10px;padding:15px;margin:0;word-break:normal;display:block;overflow-x:auto;color:#4ec9b0;background:#282c34}.mk-cute-theme pre code>*{line-height:1.75}.mk-cute-theme pre code span[rn-wrapper]{top:15px}.mk-cute-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.mk-cute-theme pre:hover .copy-button{display:initial}.mk-cute-theme a{display:inline-block;text-decoration:none;color:#409eff;border-bottom:1px solid #409eff}.mk-cute-theme a:hover,.mk-cute-theme a:active{color:#007bff;border-bottom:1px solid #007bff}.mk-cute-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:solid 1px #f6f6f6}.mk-cute-theme thead{background:#f6f6f6;color:#000;text-align:left}.mk-cute-theme tr:nth-child(2n){background-color:#fcfcfc}.mk-cute-theme th,.mk-cute-theme td{padding:12px 7px;line-height:24px}.mk-cute-theme td{min-width:120px}.mk-cute-theme blockquote{position:relative;padding:8px 26px;background-color:#36ace1bf;margin:16px 0;border-left:4px solid #409eff;border-radius:5px}.mk-cute-theme blockquote:before{content:"\275d";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}.mk-cute-theme blockquote:after{content:"\275e";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}.mk-cute-theme blockquote>p{color:#fff}.mk-cute-theme ol,.mk-cute-theme ul{padding-left:28px}.mk-cute-theme ol li,.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}.mk-cute-theme ol li .task-list-item,.mk-cute-theme ul li .task-list-item{list-style:none}.mk-cute-theme ol li .task-list-item ul,.mk-cute-theme ol li .task-list-item ol,.mk-cute-theme ul li .task-list-item ul,.mk-cute-theme ul li .task-list-item ol{margin-top:0}.mk-cute-theme ol ul,.mk-cute-theme ol ol,.mk-cute-theme ul ul,.mk-cute-theme ul ol{margin-top:3px}.mk-cute-theme ol li{padding-left:6px}@media (max-width: 720px){.mk-cute-theme h1{font-size:24px}.mk-cute-theme h2{font-size:20px}.mk-cute-theme h3{font-size:18px}}.md-dark .mk-cute-theme{background-image:linear-gradient(90deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%)}.md-dark .mk-cute-theme ::-webkit-scrollbar-corner,.md-dark .mk-cute-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark .mk-cute-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark .mk-cute-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark .mk-cute-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-dark .mk-cute-theme hr{border-color:#2d2d2d}.md-dark .mk-cute-theme table{border-color:#1c1c1c}.md-dark .mk-cute-theme thead{background-color:#1c1c1ca1;color:inherit}.md-dark .mk-cute-theme tr:nth-child(2n){background-color:#1c1c1ca1}.md-dark .mk-cute-theme blockquote{background-color:#12506cbf;border-color:#265d97}.md-dark .mk-cute-theme blockquote>p{color:inherit}
|