md-editor-v3 1.11.0 → 1.11.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/README.md +3 -1
- package/lib/MdEditor/Editor.d.ts +4 -4
- package/lib/MdEditor/index.d.ts +7 -7
- package/lib/MdEditor/layouts/Catalog/index.d.ts +10 -1
- package/lib/MdEditor/type.d.ts +1 -0
- package/lib/md-editor-v3.es.js +15 -1
- package/lib/md-editor-v3.umd.js +6 -6
- package/lib/style.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -228,7 +228,8 @@ export interface StaticTextDefaultValue {
|
|
|
228
228
|
| onGetCatalog | list: HeadList[] | @onGetCatalog="xxx" | Get catalogue of article |
|
|
229
229
|
| markedHeading | text: string,level: 1-6,raw: string, slugger: Slugger | :marked-heading="xxx" | `marked` head renderer methods |
|
|
230
230
|
| markedHeadingId | (text: string, level: number) => string | :marked-heading-id="xxx" | title `ID` generator |
|
|
231
|
-
| sanitize | (html: string) => string | :sanitize="xxx" | Sanitize the html, prevent XSS
|
|
231
|
+
| sanitize | (html: string) => string | :sanitize="xxx" | Sanitize the html, prevent XSS |
|
|
232
|
+
| markedImage | (href: string, title: string, desc: string) => string | :marked-image="xxx" | Overrides the html element structure of the default generated picture |
|
|
232
233
|
|
|
233
234
|
> If `markedHeading` is overridden, be sure to tell the editor the algorithm for generating the title ID by `marketheadingid`.
|
|
234
235
|
|
|
@@ -291,6 +292,7 @@ Before 1.x, they are used as attributes of the editor component, eg: `Editor.Dro
|
|
|
291
292
|
- `class`: `string`, not necessary;
|
|
292
293
|
- `markedHeadingId`: `MarkedHeadingId`, not necessary, same as editor;
|
|
293
294
|
- `scrollElement`: `string | HTMLElement`, not necessary, it is an element selector when its type is string. When `previewOnly` eq `true`, it is usually set to `document.documentElement`.
|
|
295
|
+
- `theme`: 'light' | 'dark', not necessary, provide it when you want to change theme online, it is the same as Editor `theme`.
|
|
294
296
|
|
|
295
297
|
## Some examples
|
|
296
298
|
|
package/lib/MdEditor/Editor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, CSSProperties } from 'vue';
|
|
2
|
-
import { StaticTextDefaultValue, ToolbarNames, HeadList, PreviewThemes, MarkedHeading, MarkedHeadingId, MarkedImage } from './type';
|
|
2
|
+
import { StaticTextDefaultValue, ToolbarNames, HeadList, PreviewThemes, MarkedHeading, MarkedHeadingId, MarkedImage, Themes } from './type';
|
|
3
3
|
export declare const markedHeadingId: MarkedHeadingId;
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
modelValue: {
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
theme: {
|
|
10
|
-
type: PropType<
|
|
10
|
+
type: PropType<Themes>;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
editorClass: {
|
|
@@ -197,7 +197,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
197
197
|
default: string;
|
|
198
198
|
};
|
|
199
199
|
theme: {
|
|
200
|
-
type: PropType<
|
|
200
|
+
type: PropType<Themes>;
|
|
201
201
|
default: string;
|
|
202
202
|
};
|
|
203
203
|
editorClass: {
|
|
@@ -387,7 +387,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
387
387
|
preview: boolean;
|
|
388
388
|
htmlPreview: boolean;
|
|
389
389
|
tabWidth: number;
|
|
390
|
-
theme:
|
|
390
|
+
theme: Themes;
|
|
391
391
|
historyLength: number;
|
|
392
392
|
previewOnly: boolean;
|
|
393
393
|
showCodeRowNumber: boolean;
|
package/lib/MdEditor/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const _default: {
|
|
|
11
11
|
preview: boolean;
|
|
12
12
|
htmlPreview: boolean;
|
|
13
13
|
tabWidth: number;
|
|
14
|
-
theme: "
|
|
14
|
+
theme: import("./type").Themes;
|
|
15
15
|
historyLength: number;
|
|
16
16
|
previewOnly: boolean;
|
|
17
17
|
showCodeRowNumber: boolean;
|
|
@@ -54,7 +54,7 @@ declare const _default: {
|
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
theme: {
|
|
57
|
-
type: import("vue").PropType<"
|
|
57
|
+
type: import("vue").PropType<import("./type").Themes>;
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
editorClass: {
|
|
@@ -258,7 +258,7 @@ declare const _default: {
|
|
|
258
258
|
default: string;
|
|
259
259
|
};
|
|
260
260
|
theme: {
|
|
261
|
-
type: import("vue").PropType<"
|
|
261
|
+
type: import("vue").PropType<import("./type").Themes>;
|
|
262
262
|
default: string;
|
|
263
263
|
};
|
|
264
264
|
editorClass: {
|
|
@@ -448,7 +448,7 @@ declare const _default: {
|
|
|
448
448
|
preview: boolean;
|
|
449
449
|
htmlPreview: boolean;
|
|
450
450
|
tabWidth: number;
|
|
451
|
-
theme: "
|
|
451
|
+
theme: import("./type").Themes;
|
|
452
452
|
historyLength: number;
|
|
453
453
|
previewOnly: boolean;
|
|
454
454
|
showCodeRowNumber: boolean;
|
|
@@ -511,7 +511,7 @@ declare const _default: {
|
|
|
511
511
|
default: string;
|
|
512
512
|
};
|
|
513
513
|
theme: {
|
|
514
|
-
type: import("vue").PropType<"
|
|
514
|
+
type: import("vue").PropType<import("./type").Themes>;
|
|
515
515
|
default: string;
|
|
516
516
|
};
|
|
517
517
|
editorClass: {
|
|
@@ -705,7 +705,7 @@ declare const _default: {
|
|
|
705
705
|
default: string;
|
|
706
706
|
};
|
|
707
707
|
theme: {
|
|
708
|
-
type: import("vue").PropType<"
|
|
708
|
+
type: import("vue").PropType<import("./type").Themes>;
|
|
709
709
|
default: string;
|
|
710
710
|
};
|
|
711
711
|
editorClass: {
|
|
@@ -895,7 +895,7 @@ declare const _default: {
|
|
|
895
895
|
preview: boolean;
|
|
896
896
|
htmlPreview: boolean;
|
|
897
897
|
tabWidth: number;
|
|
898
|
-
theme: "
|
|
898
|
+
theme: import("./type").Themes;
|
|
899
899
|
historyLength: number;
|
|
900
900
|
previewOnly: boolean;
|
|
901
901
|
showCodeRowNumber: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { MarkedHeadingId } from '../../type';
|
|
2
|
+
import { MarkedHeadingId, Themes } from '../../type';
|
|
3
3
|
export interface TocItem {
|
|
4
4
|
text: string;
|
|
5
5
|
level: number;
|
|
@@ -20,6 +20,10 @@ declare const Catalog: import("vue").DefineComponent<{
|
|
|
20
20
|
scrollElement: {
|
|
21
21
|
type: PropType<string | HTMLElement>;
|
|
22
22
|
};
|
|
23
|
+
theme: {
|
|
24
|
+
type: PropType<Themes>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
23
27
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
28
|
editorId: {
|
|
25
29
|
type: PropType<string>;
|
|
@@ -35,7 +39,12 @@ declare const Catalog: import("vue").DefineComponent<{
|
|
|
35
39
|
scrollElement: {
|
|
36
40
|
type: PropType<string | HTMLElement>;
|
|
37
41
|
};
|
|
42
|
+
theme: {
|
|
43
|
+
type: PropType<Themes>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
38
46
|
}>>, {
|
|
47
|
+
theme: Themes;
|
|
39
48
|
class: string;
|
|
40
49
|
markedHeadingId: MarkedHeadingId;
|
|
41
50
|
}>;
|
package/lib/MdEditor/type.d.ts
CHANGED
package/lib/md-editor-v3.es.js
CHANGED
|
@@ -4859,6 +4859,14 @@ const useMarked = (props2, mermaidData) => {
|
|
|
4859
4859
|
needRemoveEleList.push(highlightScript);
|
|
4860
4860
|
}
|
|
4861
4861
|
});
|
|
4862
|
+
onMounted(() => {
|
|
4863
|
+
bus.on(editorId, {
|
|
4864
|
+
name: "pushCatalog",
|
|
4865
|
+
callback() {
|
|
4866
|
+
bus.emit(editorId, "catalogChanged", heads.value);
|
|
4867
|
+
}
|
|
4868
|
+
});
|
|
4869
|
+
});
|
|
4862
4870
|
onBeforeUnmount(() => {
|
|
4863
4871
|
needRemoveEleList.forEach((item) => item.remove());
|
|
4864
4872
|
});
|
|
@@ -5238,6 +5246,10 @@ const Catalog = defineComponent({
|
|
|
5238
5246
|
},
|
|
5239
5247
|
scrollElement: {
|
|
5240
5248
|
type: [String, HTMLElement]
|
|
5249
|
+
},
|
|
5250
|
+
theme: {
|
|
5251
|
+
type: String,
|
|
5252
|
+
default: "light"
|
|
5241
5253
|
}
|
|
5242
5254
|
},
|
|
5243
5255
|
setup(props2) {
|
|
@@ -5290,9 +5302,10 @@ const Catalog = defineComponent({
|
|
|
5290
5302
|
state.list = _list;
|
|
5291
5303
|
}
|
|
5292
5304
|
});
|
|
5305
|
+
bus.emit(editorId, "pushCatalog");
|
|
5293
5306
|
});
|
|
5294
5307
|
return () => createVNode("div", {
|
|
5295
|
-
"class": `${prefix}-catalog ${props2.class}`
|
|
5308
|
+
"class": `${prefix}-catalog${props2.theme === "dark" ? "-dark" : ""} ${props2.class}`
|
|
5296
5309
|
}, [catalogs.value.map((item) => {
|
|
5297
5310
|
return createVNode(CatalogLink, {
|
|
5298
5311
|
"markedHeadingId": props2.markedHeadingId,
|
|
@@ -5632,6 +5645,7 @@ var Editor = defineComponent({
|
|
|
5632
5645
|
"extensions": props2.extensions,
|
|
5633
5646
|
"markedImage": props2.markedImage
|
|
5634
5647
|
}, null), catalogShow.value && createVNode(Catalog, {
|
|
5648
|
+
"theme": props2.theme,
|
|
5635
5649
|
"style": {
|
|
5636
5650
|
display: state.catalogVisible ? "block" : "none"
|
|
5637
5651
|
},
|
package/lib/md-editor-v3.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var en=Object.defineProperty,tn=Object.defineProperties;var nn=Object.getOwnPropertyDescriptors;var it=Object.getOwnPropertySymbols;var ln=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable;var se=(a,c,D)=>c in a?en(a,c,{enumerable:!0,configurable:!0,writable:!0,value:D}):a[c]=D,K=(a,c)=>{for(var D in c||(c={}))ln.call(c,D)&&se(a,D,c[D]);if(it)for(var D of it(c))rn.call(c,D)&&se(a,D,c[D]);return a},te=(a,c)=>tn(a,nn(c));var lt=(a,c,D)=>(se(a,typeof c!="symbol"?c+"":c,D),D);(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";const c="md",D="//at.alicdn.com/t/font_2605852_pqekijay2ij.js",G={atom:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/atom-one-dark.css",github:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github.css",githubDark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github-dark.css",js:"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"},ce={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"},rt="https://cdn.jsdelivr.net/npm/screenfull@5.1.0/dist/screenfull.js",de=["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"],ue={"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:"\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"}}},at="https://cdn.jsdelivr.net/npm/mermaid@8.13.5/dist/mermaid.min.js",st="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js",ot="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css";class ct{constructor(){lt(this,"pools",{})}remove(t,e,n){const r=this.pools[t]&&this.pools[t][e];r&&(this.pools[t][e]=r.filter(s=>s===n))}clear(t){this.pools[t]={}}on(t,e){return this.pools[t]||(this.pools[t]={}),this.pools[t][e.name]||(this.pools[t][e.name]=[]),this.pools[t][e.name].push(e.callback),this.pools[t][e.name].includes(e.callback)}emit(t,e,...n){this.pools[t]||(this.pools[t]={});const r=this.pools[t][e];r&&r.forEach(s=>{try{s(...n)}catch(o){console.error(`${e} monitor event exception\uFF01`,o)}})}}var x=new ct;const he=(i,t)=>{const e=n=>{const l=i.parentElement||document.body,r=l.offsetWidth,s=l.offsetHeight,{clientWidth:o}=document.documentElement,{clientHeight:d}=document.documentElement,f=n.offsetX,p=n.offsetY,g=u=>{let m=u.x+document.body.scrollLeft-document.body.clientLeft-f,b=u.y+document.body.scrollTop-document.body.clientTop-p;m=m<1?1:m<o-r-1?m:o-r-1,b=b<1?1:b<d-s-1?b:d-s-1,t?t(m,b):(l.style.left=`${m}px`,l.style.top=`${b}px`)};document.addEventListener("mousemove",g);const h=()=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",h)};document.addEventListener("mouseup",h)};return i.addEventListener("mousedown",e),()=>{i.removeEventListener("mousedown",e)}},R=(i,t="")=>{const e=document.getElementById(i.id);e?t!==""&&i.onload instanceof Function&&(Reflect.get(window,t)?i.onload(new Event("load")):e.addEventListener("load",i.onload)):document.head.appendChild(i)},dt=(i,t)=>{const{editorId:e}=i,n=r=>{var s,o;return((s=i.toolbars)==null?void 0:s.includes(r))&&!((o=i.toolbarsExclude)!=null&&o.includes(r))},l=r=>{if(r.target===document.querySelector(`#${i.editorId}-textarea`))if(r.ctrlKey||r.metaKey)switch(r.code){case"KeyS":{r.shiftKey?n("strikeThrough")&&x.emit(e,"replace","strikeThrough"):n("save")&&(x.emit(e,"onSave",i.modelValue),r.preventDefault());break}case"KeyB":{n("bold")&&(x.emit(e,"replace","bold"),r.preventDefault());break}case"KeyU":{r.shiftKey?n("unorderedList")&&(x.emit(e,"replace","unorderedList"),r.preventDefault()):n("underline")&&(x.emit(e,"replace","underline"),r.preventDefault());break}case"KeyI":{r.shiftKey?n("image")&&(x.emit(e,"openModals","image"),r.preventDefault()):n("italic")&&(x.emit(e,"replace","italic"),r.preventDefault());break}case"Digit1":{n("title")&&(x.emit(e,"replace","h1"),r.preventDefault());break}case"Digit2":{n("title")&&(x.emit(e,"replace","h2"),r.preventDefault());break}case"Digit3":{n("title")&&(x.emit(e,"replace","h3"),r.preventDefault());break}case"Digit4":{n("title")&&(x.emit(e,"replace","h4"),r.preventDefault());break}case"Digit5":{n("title")&&(x.emit(e,"replace","h5"),r.preventDefault());break}case"Digit6":{n("title")&&(x.emit(e,"replace","h6"),r.preventDefault());break}case"ArrowUp":{n("sup")&&(x.emit(e,"replace","sup"),r.preventDefault());break}case"ArrowDown":{n("sub")&&(x.emit(e,"replace","sub"),r.preventDefault());break}case"KeyQ":{x.emit(e,"replace","quote"),r.preventDefault();break}case"KeyO":{n("orderedList")&&(x.emit(e,"replace","orderedList"),r.preventDefault());break}case"KeyC":{if(r.shiftKey)n("code")&&(x.emit(e,"replace","code"),r.preventDefault());else if(r.altKey)n("codeRow")&&(x.emit(e,"replace","codeRow"),r.preventDefault());else{r.preventDefault(),x.emit(e,"replace","ctrlC");break}break}case"KeyL":{n("link")&&(x.emit(e,"openModals","link"),r.preventDefault());break}case"KeyZ":{r.shiftKey?n("next")&&(x.emit(e,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(x.emit(e,"ctrlZ"),r.preventDefault());break}case"KeyF":{r.shiftKey&&n("prettier")&&(x.emit(e,"replace","prettier"),r.preventDefault());break}case"KeyT":{r.altKey&&r.shiftKey&&n("table")&&(x.emit(e,"replace","table"),r.preventDefault());break}case"KeyX":{x.emit(e,"replace","ctrlX"),r.preventDefault();break}case"KeyD":{r.preventDefault(),x.emit(e,"replace","ctrlD");break}}else r.code==="Tab"&&(r.preventDefault(),r.shiftKey?x.emit(e,"replace","shiftTab"):x.emit(e,"replace","tab"))};a.onMounted(()=>{i.previewOnly||(window.addEventListener("keydown",l),x.on(e,{name:"onSave",callback(){i.onSave?i.onSave(i.modelValue):t.emit("onSave",i.modelValue)}}))}),a.onBeforeUnmount(()=>{i.previewOnly||window.removeEventListener("keydown",l)})},ut=i=>{const{editorId:t}=i;a.provide("editorId",t),a.provide("tabWidth",i.tabWidth),a.provide("theme",a.computed(()=>i.theme));const e=a.computed(()=>{let l=G.atom;if(i.highlightCss)l=i.highlightCss;else switch(i.previewTheme){case"github":{i.theme==="dark"?l=G.githubDark:l=G.github;break}}return{js:i.highlightJs,css:l}});a.provide("highlight",e),a.provide("historyLength",i.historyLength),a.provide("previewOnly",i.previewOnly),a.provide("showCodeRowNumber",i.showCodeRowNumber);const n=a.computed(()=>{const l=K(K({},ue),i.languageUserDefined);return l[i.language]?l[i.language]:ue["zh-CN"]});a.provide("usedLanguageText",n),a.provide("Cropper",i.Cropper),a.provide("previewTheme",a.computed(()=>i.previewTheme))},ht=i=>{const{iconfontJs:t,prettier:e,prettierCDN:n,prettierMDCDN:l,previewOnly:r,cropperCss:s,cropperJs:o}=i;let d=()=>{};a.onMounted(()=>{const f=document.createElement("script");f.src=t,f.id=`${c}-icon`;const p=document.createElement("script"),g=document.createElement("script");p.src=n,p.id=`${c}-prettier`,g.src=l,g.id=`${c}-prettierMD`;const h=document.createElement("link");h.rel="stylesheet",h.href=s,h.id=`${c}-cropperCss`;const u=document.createElement("script");u.src=o,u.id=`${c}-cropper`,r||(R(f),i.Cropper||(R(h),R(u)),e&&(R(p),R(g))),d=()=>{r||(f.remove(),h.remove(),u.remove(),e&&(p.remove(),g.remove()))}}),a.onBeforeUnmount(d)};var an="",ft=a.defineComponent({setup(){return()=>a.createVNode("div",{class:`${c}-divider`},null)}});const B=({instance:i,ctx:t,props:e={}},n="default")=>{const l=(i==null?void 0:i.$slots[n])||(t==null?void 0:t.slots[n]);return(l?l(i):"")||e[n]};var sn="",P=a.defineComponent({props:{trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}}},setup(i,t){const e=`${c}-dropdown-hidden`,n=a.reactive({overlayClass:[e],overlayStyle:{},triggerHover:!1,overlayHover:!1}),l=a.ref(),r=a.ref(),s=()=>{i.trigger==="hover"&&(n.triggerHover=!0);const g=l.value,h=r.value,u=g.getBoundingClientRect(),m=g.offsetTop,b=g.offsetLeft,v=u.height,y=u.width;n.overlayStyle=te(K({},n.overlayStyle),{top:m+v+"px",left:b-h.offsetWidth/2+y/2+"px"}),i.onChange(!0)},o=()=>{n.overlayHover=!0};a.watch(()=>i.visible,g=>{g?n.overlayClass=n.overlayClass.filter(h=>h!==e):n.overlayClass.push(e)});const d=g=>{const h=l.value,u=r.value;!h.contains(g.target)&&!u.contains(g.target)&&i.onChange(!1)};let f=-1;const p=g=>{l.value===g.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",s),document.addEventListener("click",d)):(l.value.addEventListener("mouseenter",s),l.value.addEventListener("mouseleave",p),r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",p))}),a.onBeforeUnmount(()=>{i.trigger==="click"?(l.value.removeEventListener("click",s),document.removeEventListener("click",d)):(l.value.removeEventListener("mouseenter",s),l.value.removeEventListener("mouseleave",p),r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",p))}),()=>{const g=B({ctx:t}),h=B({props:i,ctx:t},"overlay"),u=a.cloneVNode(g instanceof Array?g[0]:g,{ref:l}),m=a.createVNode("div",{class:[`${c}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[a.createVNode("div",{class:`${c}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[u,m]}}});const A=(i,t=0,e=t)=>{i.setSelectionRange?setTimeout(()=>{i.setSelectionRange(t,e),i.focus()},0):console.log("can not reset position!")},ne=(i,t,e)=>{const{deviationStart:n=0,deviationEnd:l=0,direct:r=!1,select:s=!1}=e;let o="";if(i.selectionStart||i.selectionStart===0){const d=i.selectionStart,f=i.selectionEnd||0,{prefixVal:p=i.value.substring(0,d),subfixVal:g=i.value.substring(f,i.value.length)}=e;o=p+t+g,A(i,s?d+n:d+t.length+l,d+t.length+l)}else o+=t;return r&&(i.value=o),o},pt=(i,t={newWindow:!0,nofollow:!0})=>{i||console.warn("error link!");const e=document.createElement("a");e.href=i,e.style.display="none",t.newWindow&&(e.target="_blank"),t.nofollow&&(e.rel="noopener noreferrer"),document.body.appendChild(e),e.click(),document.body.removeChild(e)},fe=(i,t)=>{const e=mt(()=>{i.removeEventListener("scroll",n),i.addEventListener("scroll",n),t.removeEventListener("scroll",n),t.addEventListener("scroll",n)},50),n=l=>{const r=i.clientHeight,s=t.clientHeight,o=i.scrollHeight,d=t.scrollHeight,f=(o-r)/(d-s);l.target===i?(t.removeEventListener("scroll",n),t.scrollTo({top:i.scrollTop/f}),e()):(i.removeEventListener("scroll",n),i.scrollTo({top:t.scrollTop*f}),e())};return[e,()=>{i.removeEventListener("scroll",n),t.removeEventListener("scroll",n)}]},gt=(i,t="image.png")=>{const e=i.split(","),n=e[0].match(/:(.*?);/);if(n){const l=n[1],r=atob(e[1]);let s=r.length;const o=new Uint8Array(s);for(;s--;)o[s]=r.charCodeAt(s);return new File([o],t,{type:l})}return null},pe=i=>{if(!i.trim())return i;const t=i.split(`
|
|
2
|
-
`),e=['<span rn-wrapper aria-hidden="true">'];return t.forEach(()=>{e.push("<span></span>")}),e.push("</span>"),`<span class="code-block">${i}</span>${e.join("")}`},mt=(i,t=200)=>{let e=0;return(...n)=>{e&&clearTimeout(e),e=window.setTimeout(()=>{i.apply(globalThis,n),e=0},t)}};var on="",ge=a.defineComponent({props:{title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClosed:{type:Function,default:()=>()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>()=>{}}},setup(i,t){const e=a.ref(i.visible),n=a.ref([`${c}-modal`]),l=a.ref(),r=a.ref();let s=()=>{};const o=a.reactive({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}});return a.onMounted(()=>{s=he(r.value,(d,f)=>{o.initPos.left=d+"px",o.initPos.top=f+"px"})}),a.onBeforeUnmount(()=>{s()}),a.watch(()=>i.isFullscreen,d=>{d?s():s=he(r.value,(f,p)=>{o.initPos.left=f+"px",o.initPos.top=p+"px"})}),a.watch(()=>i.visible,d=>{d?(n.value.push("zoom-in"),e.value=d,a.nextTick(()=>{const f=l.value.offsetWidth/2,p=l.value.offsetHeight/2,g=document.documentElement.clientWidth/2,h=document.documentElement.clientHeight/2;o.initPos.left=g-f+"px",o.initPos.top=h-p+"px"}),setTimeout(()=>{n.value=n.value.filter(f=>f!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(f=>f!=="zoom-out"),e.value=d},130))}),()=>{const d=B({ctx:t}),f=B({props:i,ctx:t},"title");return a.createVNode("div",{style:{display:e.value?"block":"none"}},[a.createVNode("div",{class:`${c}-modal-mask`,onClick:i.onClosed},null),a.createVNode("div",{class:n.value,style:te(K({},o.initPos),{width:i.width,height:i.height}),ref:l},[a.createVNode("div",{class:`${c}-modal-header`,ref:r},[f||""]),a.createVNode("div",{class:`${c}-modal-body`},[d]),a.createVNode("div",{class:`${c}-modal-func`},[i.showAdjust&&a.createVNode("div",{class:`${c}-modal-adjust`,onClick:p=>{p.stopPropagation(),i.isFullscreen?o.initPos=o.historyPos:(o.historyPos=o.initPos,o.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.onClosed&&i.onClosed()}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-close"},null)])])])])])}}}),kt=a.defineComponent({props:{type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(i){const t=a.inject("usedLanguageText"),e=a.inject("editorId"),n=a.computed(()=>{var r,s,o,d;switch(i.type){case"link":return`${(r=t.value.linkModalTips)==null?void 0:r.title}${(s=t.value.toolbarTips)==null?void 0:s.link}`;case"image":return`${(o=t.value.linkModalTips)==null?void 0:o.title}${(d=t.value.toolbarTips)==null?void 0:d.image}`;default:return""}}),l=a.reactive({desc:"",url:""});return a.watch(()=>i.visible,r=>{r||setTimeout(()=>{l.desc="",l.url=""},200)}),()=>a.createVNode(ge,{title:n.value,visible:i.visible,onClosed:i.onCancel},{default:()=>{var r,s,o,d,f;return[a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("label",{class:`${c}-lable`,for:`link-desc-${e}`},[(r=t.value.linkModalTips)==null?void 0:r.descLable]),a.createVNode("input",{placeholder:(s=t.value.linkModalTips)==null?void 0:s.descLablePlaceHolder,class:`${c}-input`,id:`link-desc-${e}`,type:"text",value:l.desc,onChange:p=>{l.desc=p.target.value},autocomplete:"off"},null)]),a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("label",{class:`${c}-lable`,for:`link-url-${e}`},[(o=t.value.linkModalTips)==null?void 0:o.urlLable]),a.createVNode("input",{placeholder:(d=t.value.linkModalTips)==null?void 0:d.UrlLablePlaceHolder,class:`${c}-input`,id:`link-url-${e}`,type:"text",value:l.url,onChange:p=>{l.url=p.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=t.value.linkModalTips)==null?void 0:f.buttonOK])])]}})}}),cn="",bt=a.defineComponent({props:{visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(i){const t=a.inject("usedLanguageText"),e=a.inject("editorId");let n=a.inject("Cropper");const l=a.ref(),r=a.ref(),s=a.ref(),o=a.reactive({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let d=null;a.watch(()=>i.visible,()=>{i.visible&&!o.cropperInited&&(n=n||window.Cropper,l.value.onchange=()=>{const g=l.value.files||[];if(o.imgSelected=!0,(g==null?void 0:g.length)>0){const h=new FileReader;h.onload=u=>{o.imgSrc=u.target.result,a.nextTick(()=>{d=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`})})},h.readAsDataURL(g[0])}})}),a.watch(()=>[o.imgSelected],()=>{s.value.style=""}),a.watch(()=>o.isFullscreen,()=>{a.nextTick(()=>{d==null||d.destroy(),s.value.style="",r.value&&(d=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`}))})});const f=a.computed(()=>o.isFullscreen?{width:"100%",height:"100%"}:{width:"668px",height:"421px"}),p=()=>{d.destroy(),l.value.value="",o.imgSelected=!1};return()=>{var g;return a.createVNode(ge,a.mergeProps({title:(g=t.value.clipModalTips)==null?void 0:g.title,visible:i.visible,onClosed:i.onCancel,showAdjust:!0,isFullscreen:o.isFullscreen,onAdjust:h=>{o.isFullscreen=h}},f.value),{default:()=>{var h;return[a.createVNode("div",{class:`${c}-form-item ${c}-clip`},[a.createVNode("div",{class:`${c}-clip-main`},[o.imgSelected?a.createVNode("div",{class:`${c}-clip-cropper`},[a.createVNode("img",{src:o.imgSrc,ref:r,style:{display:"none"}},null),a.createVNode("div",{class:`${c}-clip-delete`,onClick:p},[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:()=>{l.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 u=d.getCroppedCanvas();x.emit(e,"uploadImage",[gt(u.toDataURL("image/png"))],i.onOk),p()}},[(h=t.value.linkModalTips)==null?void 0:h.buttonOK])]),a.createVNode("input",{ref:l,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),yt=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(kt,{type:i.type,visible:i.linkVisible,onOk:i.onOk,onCancel:i.onCancel},null),a.createVNode(bt,{visible:i.clipVisible,onOk:i.onOk,onCancel:i.onCancel},null)])}});const wt=i=>{const t=a.inject("previewOnly");let{screenfull:e}=i;const n=()=>{e.isEnabled?e.isFullscreen?e.exit():e.request():console.error("browser does not support screenfull!")},l=()=>{e=window.screenfull,e&&e.isEnabled&&e.on("change",()=>{i.updateSetting(!i.setting.fullscreen,"fullscreen")})};let r=()=>{};return a.onMounted(()=>{if(e&&e.isEnabled&&e.on("change",()=>{i.updateSetting(!i.setting.fullscreen,"fullscreen")}),!t&&i.screenfull===null){const s=document.createElement("script");s.src=i.screenfullJs,s.addEventListener("load",l),s.id=`${c}-screenfull`,R(s),r=()=>{s.remove()}}}),a.onBeforeMount(r),{fullScreenHandler:n}},xt=a.defineComponent({name:"TableShape",props:{tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},setup(i){const t=a.reactive({x:-1,y:-1});return()=>a.createVNode("div",{class:`${c}-table-shape`,onMouseleave:()=>{t.x=-1,t.y=-1}},[new Array(i.tableShape[1]).fill("").map((e,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:()=>{t.x=n,t.y=r},onClick:()=>{i.onSelected(t)}},[a.createVNode("div",{class:[`${c}-table-shape-col-default`,n<=t.x&&r<=t.y&&`${c}-table-shape-col-include`]},null)]))]))])}});var $t=a.defineComponent({name:"MDEditorToolbar",props:{prettier:{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 t=a.inject("editorId"),e=a.inject("usedLanguageText"),{fullScreenHandler:n}=wt(i),l=a.reactive({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),r=(h,u)=>{x.emit(t,"replace",h,u)},s=a.reactive({type:"link",linkVisible:!1,clipVisible:!1}),o=a.ref();a.onMounted(()=>{var h;x.on(t,{name:"openModals",callback(u){s.type=u,s.linkVisible=!0}}),(h=o.value)==null||h.addEventListener("mouseover",()=>{var u;(u=window.getSelection())!=null&&u.toString()||x.emit(t,"selectTextChange","")})});const d=a.computed(()=>{const h=i.toolbars.filter(v=>!i.toolbarsExclude.includes(v)),u=h.indexOf("="),m=u===-1?h:h.slice(0,u+1),b=u===-1?[]:h.slice(u,Number.MAX_SAFE_INTEGER);return[m,b]}),f=a.ref(),p=()=>{x.emit(t,"uploadImage",f.value.files),f.value.value=""};a.onMounted(()=>{f.value.addEventListener("change",p)});const g=h=>{var u,m,b,v,y,C,j,N,L,V,I,F,_,q,W,De,Le,Fe,_e,je,Re,ze,Ae,Me,Oe,Be,He,Pe,Ue,qe,Ke,Ze,Je,We,Ge,Qe,Xe,Ye,et,tt,nt;if(de.includes(h))switch(h){case"-":return a.createVNode(ft,null,null);case"bold":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(u=e.value.toolbarTips)==null?void 0:u.bold,onClick:()=>{r("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:(m=e.value.toolbarTips)==null?void 0:m.underline,onClick:()=>{r("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:(b=e.value.toolbarTips)==null?void 0:b.italic,onClick:()=>{r("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:(v=e.value.toolbarTips)==null?void 0:v.strikeThrough,onClick:()=>{r("strikeThrough")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-strike-through"},null)])]);case"title":return a.createVNode(P,{visible:l.title,onChange:S=>{l.title=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.title=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h1")}},[(y=e.value.titleItem)==null?void 0:y.h1]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h2")}},[(C=e.value.titleItem)==null?void 0:C.h2]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h3")}},[(j=e.value.titleItem)==null?void 0:j.h3]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h4")}},[(N=e.value.titleItem)==null?void 0:N.h4]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h5")}},[(L=e.value.titleItem)==null?void 0:L.h5]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h6")}},[(V=e.value.titleItem)==null?void 0:V.h6])])},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.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:(I=e.value.toolbarTips)==null?void 0:I.sub,onClick:()=>{r("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:(F=e.value.toolbarTips)==null?void 0:F.sup,onClick:()=>{r("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:(_=e.value.toolbarTips)==null?void 0:_.quote,onClick:()=>{r("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:(q=e.value.toolbarTips)==null?void 0:q.unorderedList,onClick:()=>{r("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:(W=e.value.toolbarTips)==null?void 0:W.orderedList,onClick:()=>{r("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:(De=e.value.toolbarTips)==null?void 0:De.codeRow,onClick:()=>{r("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:(Le=e.value.toolbarTips)==null?void 0:Le.code,onClick:()=>{r("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:(Fe=e.value.toolbarTips)==null?void 0:Fe.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(P,{visible:l.image,onChange:S=>{l.image=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.title=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s.type="image",s.linkVisible=!0}},[(_e=e.value.imgTitleItem)==null?void 0:_e.link]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{f.value.click()}},[(je=e.value.imgTitleItem)==null?void 0:je.upload]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s.clipVisible=!0}},[(Re=e.value.imgTitleItem)==null?void 0:Re.clip2upload])])},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.image},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-image"},null)])])]}});case"table":return a.createVNode(P,{visible:l.table,onChange:S=>{l.table=S},key:"bar-table",overlay:a.createVNode(xt,{tableShape:i.tableShape,onSelected:S=>{r("table",{selectedShape:S})}},null)},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.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:(ze=e.value.toolbarTips)==null?void 0:ze.revoke,onClick:()=>{x.emit(t,"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:(Ae=e.value.toolbarTips)==null?void 0:Ae.next,onClick:()=>{x.emit(t,"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:(Me=e.value.toolbarTips)==null?void 0:Me.save,onClick:()=>{x.emit(t,"onSave")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-baocun"},null)])]);case"prettier":return i.prettier?a.createVNode("div",{class:`${c}-toolbar-item`,title:(Oe=e.value.toolbarTips)==null?void 0:Oe.prettier,onClick:()=>{r("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:(Be=e.value.toolbarTips)==null?void 0:Be.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:(He=e.value.toolbarTips)==null?void 0:He.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:(Pe=e.value.toolbarTips)==null?void 0:Pe.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:(Ue=e.value.toolbarTips)==null?void 0:Ue.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:(qe=e.value.toolbarTips)==null?void 0:qe.catalog,onClick:()=>{x.emit(t,"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:(Ke=e.value.toolbarTips)==null?void 0:Ke.github,onClick:()=>pt("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(P,{visible:l.mermaid,onChange:S=>{l.mermaid=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.mermaid=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("flow")}},[(Ze=e.value.mermaid)==null?void 0:Ze.flow]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("sequence")}},[(Je=e.value.mermaid)==null?void 0:Je.sequence]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("gantt")}},[(We=e.value.mermaid)==null?void 0:We.gantt]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("class")}},[(Ge=e.value.mermaid)==null?void 0:Ge.class]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("state")}},[(Qe=e.value.mermaid)==null?void 0:Qe.state]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("pie")}},[(Xe=e.value.mermaid)==null?void 0:Xe.pie]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("relationship")}},[(Ye=e.value.mermaid)==null?void 0:Ye.relationship]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("journey")}},[(et=e.value.mermaid)==null?void 0:et.journey])]),key:"bar-mermaid"},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.mermaid},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-mermaid"},null)])])]}});case"katex":return a.createVNode(P,{visible:l.katex,onChange:S=>{l.katex=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.katex=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("katexInline")}},[(tt=e.value.katex)==null?void 0:tt.inline]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("katexBlock")}},[(nt=e.value.katex)==null?void 0:nt.block])]),key:"bar-katex"},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.mermaid},[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=d.value[0].map(m=>g(m)),u=d.value[1].map(m=>g(m));return a.createVNode("div",{class:`${c}-toolbar-wrapper`},[a.createVNode("div",{class:`${c}-toolbar`},[a.createVNode("div",{class:`${c}-toolbar-left`,ref:o},[h]),a.createVNode("div",{class:`${c}-toolbar-right`},[u])]),a.createVNode("input",{ref:f,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),a.createVNode(yt,{linkVisible:s.linkVisible,clipVisible:s.clipVisible,type:s.type,onCancel:()=>{s.linkVisible=!1,s.clipVisible=!1},onOk:m=>{m&&r(s.type,{desc:m.desc,url:m.url}),s.linkVisible=!1,s.clipVisible=!1}},null)])}}});function me(){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 U=me();function vt(i){U=i}const Ct=/[&<>"']/,St=/[&<>"']/g,Et=/[<>"']|&(?!#?\w+;)/,Nt=/[<>"']|&(?!#?\w+;)/g,Vt={"&":"&","<":"<",">":">",'"':""","'":"'"},ke=i=>Vt[i];function T(i,t){if(t){if(Ct.test(i))return i.replace(St,ke)}else if(Et.test(i))return i.replace(Nt,ke);return i}const Tt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function be(i){return i.replace(Tt,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const It=/(^|[^\[])\^/g;function E(i,t){i=i.source||i,t=t||"";const e={replace:(n,l)=>(l=l.source||l,l=l.replace(It,"$1"),i=i.replace(n,l),e),getRegex:()=>new RegExp(i,t)};return e}const Dt=/[^\w:]/g,Lt=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ye(i,t,e){if(i){let n;try{n=decodeURIComponent(be(e)).replace(Dt,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!Lt.test(e)&&(e=Rt(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Q={},Ft=/^[^:]+:\/*[^/]*$/,_t=/^([^:]+:)[\s\S]*$/,jt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Rt(i,t){Q[" "+i]||(Ft.test(i)?Q[" "+i]=i+"/":Q[" "+i]=Y(i,"/",!0)),i=Q[" "+i];const e=i.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:i.replace(_t,"$1")+t:t.charAt(0)==="/"?e?t:i.replace(jt,"$1")+t:i+t}const X={exec:function(){}};function z(i){let t=1,e,n;for(;t<arguments.length;t++){e=arguments[t];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i}function we(i,t){const e=i.replace(/\|/g,(r,s,o)=>{let d=!1,f=s;for(;--f>=0&&o[f]==="\\";)d=!d;return d?"|":" |"}),n=e.split(/ \|/);let l=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;l<n.length;l++)n[l]=n[l].trim().replace(/\\\|/g,"|");return n}function Y(i,t,e){const n=i.length;if(n===0)return"";let l=0;for(;l<n;){const r=i.charAt(n-l-1);if(r===t&&!e)l++;else if(r!==t&&e)l++;else break}return i.substr(0,n-l)}function zt(i,t){if(i.indexOf(t[1])===-1)return-1;const e=i.length;let n=0,l=0;for(;l<e;l++)if(i[l]==="\\")l++;else if(i[l]===t[0])n++;else if(i[l]===t[1]&&(n--,n<0))return l;return-1}function xe(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 $e(i,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=i),t>>=1,i+=i;return e+i}function ve(i,t,e,n){const l=t.href,r=t.title?T(t.title):null,s=i[1].replace(/\\([\[\]])/g,"$1");if(i[0].charAt(0)!=="!"){n.state.inLink=!0;const o={type:"link",raw:e,href:l,title:r,text:s,tokens:n.inlineTokens(s,[])};return n.state.inLink=!1,o}else return{type:"image",raw:e,href:l,title:r,text:T(s)}}function At(i,t){const e=i.match(/^(\s+)(?:```)/);if(e===null)return t;const n=e[1];return t.split(`
|
|
1
|
+
var en=Object.defineProperty,tn=Object.defineProperties;var nn=Object.getOwnPropertyDescriptors;var it=Object.getOwnPropertySymbols;var ln=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable;var se=(a,c,D)=>c in a?en(a,c,{enumerable:!0,configurable:!0,writable:!0,value:D}):a[c]=D,K=(a,c)=>{for(var D in c||(c={}))ln.call(c,D)&&se(a,D,c[D]);if(it)for(var D of it(c))rn.call(c,D)&&se(a,D,c[D]);return a},te=(a,c)=>tn(a,nn(c));var lt=(a,c,D)=>(se(a,typeof c!="symbol"?c+"":c,D),D);(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";const c="md",D="//at.alicdn.com/t/font_2605852_pqekijay2ij.js",G={atom:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/atom-one-dark.css",github:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github.css",githubDark:"https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github-dark.css",js:"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"},ce={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"},rt="https://cdn.jsdelivr.net/npm/screenfull@5.1.0/dist/screenfull.js",de=["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"],ue={"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:"\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"}}},at="https://cdn.jsdelivr.net/npm/mermaid@8.13.5/dist/mermaid.min.js",st="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js",ot="https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css";class ct{constructor(){lt(this,"pools",{})}remove(t,e,n){const r=this.pools[t]&&this.pools[t][e];r&&(this.pools[t][e]=r.filter(s=>s===n))}clear(t){this.pools[t]={}}on(t,e){return this.pools[t]||(this.pools[t]={}),this.pools[t][e.name]||(this.pools[t][e.name]=[]),this.pools[t][e.name].push(e.callback),this.pools[t][e.name].includes(e.callback)}emit(t,e,...n){this.pools[t]||(this.pools[t]={});const r=this.pools[t][e];r&&r.forEach(s=>{try{s(...n)}catch(o){console.error(`${e} monitor event exception\uFF01`,o)}})}}var w=new ct;const he=(i,t)=>{const e=n=>{const l=i.parentElement||document.body,r=l.offsetWidth,s=l.offsetHeight,{clientWidth:o}=document.documentElement,{clientHeight:d}=document.documentElement,f=n.offsetX,p=n.offsetY,g=u=>{let m=u.x+document.body.scrollLeft-document.body.clientLeft-f,b=u.y+document.body.scrollTop-document.body.clientTop-p;m=m<1?1:m<o-r-1?m:o-r-1,b=b<1?1:b<d-s-1?b:d-s-1,t?t(m,b):(l.style.left=`${m}px`,l.style.top=`${b}px`)};document.addEventListener("mousemove",g);const h=()=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",h)};document.addEventListener("mouseup",h)};return i.addEventListener("mousedown",e),()=>{i.removeEventListener("mousedown",e)}},R=(i,t="")=>{const e=document.getElementById(i.id);e?t!==""&&i.onload instanceof Function&&(Reflect.get(window,t)?i.onload(new Event("load")):e.addEventListener("load",i.onload)):document.head.appendChild(i)},dt=(i,t)=>{const{editorId:e}=i,n=r=>{var s,o;return((s=i.toolbars)==null?void 0:s.includes(r))&&!((o=i.toolbarsExclude)!=null&&o.includes(r))},l=r=>{if(r.target===document.querySelector(`#${i.editorId}-textarea`))if(r.ctrlKey||r.metaKey)switch(r.code){case"KeyS":{r.shiftKey?n("strikeThrough")&&w.emit(e,"replace","strikeThrough"):n("save")&&(w.emit(e,"onSave",i.modelValue),r.preventDefault());break}case"KeyB":{n("bold")&&(w.emit(e,"replace","bold"),r.preventDefault());break}case"KeyU":{r.shiftKey?n("unorderedList")&&(w.emit(e,"replace","unorderedList"),r.preventDefault()):n("underline")&&(w.emit(e,"replace","underline"),r.preventDefault());break}case"KeyI":{r.shiftKey?n("image")&&(w.emit(e,"openModals","image"),r.preventDefault()):n("italic")&&(w.emit(e,"replace","italic"),r.preventDefault());break}case"Digit1":{n("title")&&(w.emit(e,"replace","h1"),r.preventDefault());break}case"Digit2":{n("title")&&(w.emit(e,"replace","h2"),r.preventDefault());break}case"Digit3":{n("title")&&(w.emit(e,"replace","h3"),r.preventDefault());break}case"Digit4":{n("title")&&(w.emit(e,"replace","h4"),r.preventDefault());break}case"Digit5":{n("title")&&(w.emit(e,"replace","h5"),r.preventDefault());break}case"Digit6":{n("title")&&(w.emit(e,"replace","h6"),r.preventDefault());break}case"ArrowUp":{n("sup")&&(w.emit(e,"replace","sup"),r.preventDefault());break}case"ArrowDown":{n("sub")&&(w.emit(e,"replace","sub"),r.preventDefault());break}case"KeyQ":{w.emit(e,"replace","quote"),r.preventDefault();break}case"KeyO":{n("orderedList")&&(w.emit(e,"replace","orderedList"),r.preventDefault());break}case"KeyC":{if(r.shiftKey)n("code")&&(w.emit(e,"replace","code"),r.preventDefault());else if(r.altKey)n("codeRow")&&(w.emit(e,"replace","codeRow"),r.preventDefault());else{r.preventDefault(),w.emit(e,"replace","ctrlC");break}break}case"KeyL":{n("link")&&(w.emit(e,"openModals","link"),r.preventDefault());break}case"KeyZ":{r.shiftKey?n("next")&&(w.emit(e,"ctrlShiftZ"),r.preventDefault()):n("revoke")&&(w.emit(e,"ctrlZ"),r.preventDefault());break}case"KeyF":{r.shiftKey&&n("prettier")&&(w.emit(e,"replace","prettier"),r.preventDefault());break}case"KeyT":{r.altKey&&r.shiftKey&&n("table")&&(w.emit(e,"replace","table"),r.preventDefault());break}case"KeyX":{w.emit(e,"replace","ctrlX"),r.preventDefault();break}case"KeyD":{r.preventDefault(),w.emit(e,"replace","ctrlD");break}}else r.code==="Tab"&&(r.preventDefault(),r.shiftKey?w.emit(e,"replace","shiftTab"):w.emit(e,"replace","tab"))};a.onMounted(()=>{i.previewOnly||(window.addEventListener("keydown",l),w.on(e,{name:"onSave",callback(){i.onSave?i.onSave(i.modelValue):t.emit("onSave",i.modelValue)}}))}),a.onBeforeUnmount(()=>{i.previewOnly||window.removeEventListener("keydown",l)})},ut=i=>{const{editorId:t}=i;a.provide("editorId",t),a.provide("tabWidth",i.tabWidth),a.provide("theme",a.computed(()=>i.theme));const e=a.computed(()=>{let l=G.atom;if(i.highlightCss)l=i.highlightCss;else switch(i.previewTheme){case"github":{i.theme==="dark"?l=G.githubDark:l=G.github;break}}return{js:i.highlightJs,css:l}});a.provide("highlight",e),a.provide("historyLength",i.historyLength),a.provide("previewOnly",i.previewOnly),a.provide("showCodeRowNumber",i.showCodeRowNumber);const n=a.computed(()=>{const l=K(K({},ue),i.languageUserDefined);return l[i.language]?l[i.language]:ue["zh-CN"]});a.provide("usedLanguageText",n),a.provide("Cropper",i.Cropper),a.provide("previewTheme",a.computed(()=>i.previewTheme))},ht=i=>{const{iconfontJs:t,prettier:e,prettierCDN:n,prettierMDCDN:l,previewOnly:r,cropperCss:s,cropperJs:o}=i;let d=()=>{};a.onMounted(()=>{const f=document.createElement("script");f.src=t,f.id=`${c}-icon`;const p=document.createElement("script"),g=document.createElement("script");p.src=n,p.id=`${c}-prettier`,g.src=l,g.id=`${c}-prettierMD`;const h=document.createElement("link");h.rel="stylesheet",h.href=s,h.id=`${c}-cropperCss`;const u=document.createElement("script");u.src=o,u.id=`${c}-cropper`,r||(R(f),i.Cropper||(R(h),R(u)),e&&(R(p),R(g))),d=()=>{r||(f.remove(),h.remove(),u.remove(),e&&(p.remove(),g.remove()))}}),a.onBeforeUnmount(d)};var an="",ft=a.defineComponent({setup(){return()=>a.createVNode("div",{class:`${c}-divider`},null)}});const B=({instance:i,ctx:t,props:e={}},n="default")=>{const l=(i==null?void 0:i.$slots[n])||(t==null?void 0:t.slots[n]);return(l?l(i):"")||e[n]};var sn="",P=a.defineComponent({props:{trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}}},setup(i,t){const e=`${c}-dropdown-hidden`,n=a.reactive({overlayClass:[e],overlayStyle:{},triggerHover:!1,overlayHover:!1}),l=a.ref(),r=a.ref(),s=()=>{i.trigger==="hover"&&(n.triggerHover=!0);const g=l.value,h=r.value,u=g.getBoundingClientRect(),m=g.offsetTop,b=g.offsetLeft,v=u.height,y=u.width;n.overlayStyle=te(K({},n.overlayStyle),{top:m+v+"px",left:b-h.offsetWidth/2+y/2+"px"}),i.onChange(!0)},o=()=>{n.overlayHover=!0};a.watch(()=>i.visible,g=>{g?n.overlayClass=n.overlayClass.filter(h=>h!==e):n.overlayClass.push(e)});const d=g=>{const h=l.value,u=r.value;!h.contains(g.target)&&!u.contains(g.target)&&i.onChange(!1)};let f=-1;const p=g=>{l.value===g.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",s),document.addEventListener("click",d)):(l.value.addEventListener("mouseenter",s),l.value.addEventListener("mouseleave",p),r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",p))}),a.onBeforeUnmount(()=>{i.trigger==="click"?(l.value.removeEventListener("click",s),document.removeEventListener("click",d)):(l.value.removeEventListener("mouseenter",s),l.value.removeEventListener("mouseleave",p),r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",p))}),()=>{const g=B({ctx:t}),h=B({props:i,ctx:t},"overlay"),u=a.cloneVNode(g instanceof Array?g[0]:g,{ref:l}),m=a.createVNode("div",{class:[`${c}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[a.createVNode("div",{class:`${c}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[u,m]}}});const A=(i,t=0,e=t)=>{i.setSelectionRange?setTimeout(()=>{i.setSelectionRange(t,e),i.focus()},0):console.log("can not reset position!")},ne=(i,t,e)=>{const{deviationStart:n=0,deviationEnd:l=0,direct:r=!1,select:s=!1}=e;let o="";if(i.selectionStart||i.selectionStart===0){const d=i.selectionStart,f=i.selectionEnd||0,{prefixVal:p=i.value.substring(0,d),subfixVal:g=i.value.substring(f,i.value.length)}=e;o=p+t+g,A(i,s?d+n:d+t.length+l,d+t.length+l)}else o+=t;return r&&(i.value=o),o},pt=(i,t={newWindow:!0,nofollow:!0})=>{i||console.warn("error link!");const e=document.createElement("a");e.href=i,e.style.display="none",t.newWindow&&(e.target="_blank"),t.nofollow&&(e.rel="noopener noreferrer"),document.body.appendChild(e),e.click(),document.body.removeChild(e)},fe=(i,t)=>{const e=mt(()=>{i.removeEventListener("scroll",n),i.addEventListener("scroll",n),t.removeEventListener("scroll",n),t.addEventListener("scroll",n)},50),n=l=>{const r=i.clientHeight,s=t.clientHeight,o=i.scrollHeight,d=t.scrollHeight,f=(o-r)/(d-s);l.target===i?(t.removeEventListener("scroll",n),t.scrollTo({top:i.scrollTop/f}),e()):(i.removeEventListener("scroll",n),i.scrollTo({top:t.scrollTop*f}),e())};return[e,()=>{i.removeEventListener("scroll",n),t.removeEventListener("scroll",n)}]},gt=(i,t="image.png")=>{const e=i.split(","),n=e[0].match(/:(.*?);/);if(n){const l=n[1],r=atob(e[1]);let s=r.length;const o=new Uint8Array(s);for(;s--;)o[s]=r.charCodeAt(s);return new File([o],t,{type:l})}return null},pe=i=>{if(!i.trim())return i;const t=i.split(`
|
|
2
|
+
`),e=['<span rn-wrapper aria-hidden="true">'];return t.forEach(()=>{e.push("<span></span>")}),e.push("</span>"),`<span class="code-block">${i}</span>${e.join("")}`},mt=(i,t=200)=>{let e=0;return(...n)=>{e&&clearTimeout(e),e=window.setTimeout(()=>{i.apply(globalThis,n),e=0},t)}};var on="",ge=a.defineComponent({props:{title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClosed:{type:Function,default:()=>()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>()=>{}}},setup(i,t){const e=a.ref(i.visible),n=a.ref([`${c}-modal`]),l=a.ref(),r=a.ref();let s=()=>{};const o=a.reactive({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}});return a.onMounted(()=>{s=he(r.value,(d,f)=>{o.initPos.left=d+"px",o.initPos.top=f+"px"})}),a.onBeforeUnmount(()=>{s()}),a.watch(()=>i.isFullscreen,d=>{d?s():s=he(r.value,(f,p)=>{o.initPos.left=f+"px",o.initPos.top=p+"px"})}),a.watch(()=>i.visible,d=>{d?(n.value.push("zoom-in"),e.value=d,a.nextTick(()=>{const f=l.value.offsetWidth/2,p=l.value.offsetHeight/2,g=document.documentElement.clientWidth/2,h=document.documentElement.clientHeight/2;o.initPos.left=g-f+"px",o.initPos.top=h-p+"px"}),setTimeout(()=>{n.value=n.value.filter(f=>f!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(f=>f!=="zoom-out"),e.value=d},130))}),()=>{const d=B({ctx:t}),f=B({props:i,ctx:t},"title");return a.createVNode("div",{style:{display:e.value?"block":"none"}},[a.createVNode("div",{class:`${c}-modal-mask`,onClick:i.onClosed},null),a.createVNode("div",{class:n.value,style:te(K({},o.initPos),{width:i.width,height:i.height}),ref:l},[a.createVNode("div",{class:`${c}-modal-header`,ref:r},[f||""]),a.createVNode("div",{class:`${c}-modal-body`},[d]),a.createVNode("div",{class:`${c}-modal-func`},[i.showAdjust&&a.createVNode("div",{class:`${c}-modal-adjust`,onClick:p=>{p.stopPropagation(),i.isFullscreen?o.initPos=o.historyPos:(o.historyPos=o.initPos,o.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.onClosed&&i.onClosed()}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-close"},null)])])])])])}}}),kt=a.defineComponent({props:{type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(i){const t=a.inject("usedLanguageText"),e=a.inject("editorId"),n=a.computed(()=>{var r,s,o,d;switch(i.type){case"link":return`${(r=t.value.linkModalTips)==null?void 0:r.title}${(s=t.value.toolbarTips)==null?void 0:s.link}`;case"image":return`${(o=t.value.linkModalTips)==null?void 0:o.title}${(d=t.value.toolbarTips)==null?void 0:d.image}`;default:return""}}),l=a.reactive({desc:"",url:""});return a.watch(()=>i.visible,r=>{r||setTimeout(()=>{l.desc="",l.url=""},200)}),()=>a.createVNode(ge,{title:n.value,visible:i.visible,onClosed:i.onCancel},{default:()=>{var r,s,o,d,f;return[a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("label",{class:`${c}-lable`,for:`link-desc-${e}`},[(r=t.value.linkModalTips)==null?void 0:r.descLable]),a.createVNode("input",{placeholder:(s=t.value.linkModalTips)==null?void 0:s.descLablePlaceHolder,class:`${c}-input`,id:`link-desc-${e}`,type:"text",value:l.desc,onChange:p=>{l.desc=p.target.value},autocomplete:"off"},null)]),a.createVNode("div",{class:`${c}-form-item`},[a.createVNode("label",{class:`${c}-lable`,for:`link-url-${e}`},[(o=t.value.linkModalTips)==null?void 0:o.urlLable]),a.createVNode("input",{placeholder:(d=t.value.linkModalTips)==null?void 0:d.UrlLablePlaceHolder,class:`${c}-input`,id:`link-url-${e}`,type:"text",value:l.url,onChange:p=>{l.url=p.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=t.value.linkModalTips)==null?void 0:f.buttonOK])])]}})}}),cn="",bt=a.defineComponent({props:{visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}},setup(i){const t=a.inject("usedLanguageText"),e=a.inject("editorId");let n=a.inject("Cropper");const l=a.ref(),r=a.ref(),s=a.ref(),o=a.reactive({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let d=null;a.watch(()=>i.visible,()=>{i.visible&&!o.cropperInited&&(n=n||window.Cropper,l.value.onchange=()=>{const g=l.value.files||[];if(o.imgSelected=!0,(g==null?void 0:g.length)>0){const h=new FileReader;h.onload=u=>{o.imgSrc=u.target.result,a.nextTick(()=>{d=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`})})},h.readAsDataURL(g[0])}})}),a.watch(()=>[o.imgSelected],()=>{s.value.style=""}),a.watch(()=>o.isFullscreen,()=>{a.nextTick(()=>{d==null||d.destroy(),s.value.style="",r.value&&(d=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`}))})});const f=a.computed(()=>o.isFullscreen?{width:"100%",height:"100%"}:{width:"668px",height:"421px"}),p=()=>{d.destroy(),l.value.value="",o.imgSelected=!1};return()=>{var g;return a.createVNode(ge,a.mergeProps({title:(g=t.value.clipModalTips)==null?void 0:g.title,visible:i.visible,onClosed:i.onCancel,showAdjust:!0,isFullscreen:o.isFullscreen,onAdjust:h=>{o.isFullscreen=h}},f.value),{default:()=>{var h;return[a.createVNode("div",{class:`${c}-form-item ${c}-clip`},[a.createVNode("div",{class:`${c}-clip-main`},[o.imgSelected?a.createVNode("div",{class:`${c}-clip-cropper`},[a.createVNode("img",{src:o.imgSrc,ref:r,style:{display:"none"}},null),a.createVNode("div",{class:`${c}-clip-delete`,onClick:p},[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:()=>{l.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 u=d.getCroppedCanvas();w.emit(e,"uploadImage",[gt(u.toDataURL("image/png"))],i.onOk),p()}},[(h=t.value.linkModalTips)==null?void 0:h.buttonOK])]),a.createVNode("input",{ref:l,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),yt=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(kt,{type:i.type,visible:i.linkVisible,onOk:i.onOk,onCancel:i.onCancel},null),a.createVNode(bt,{visible:i.clipVisible,onOk:i.onOk,onCancel:i.onCancel},null)])}});const wt=i=>{const t=a.inject("previewOnly");let{screenfull:e}=i;const n=()=>{e.isEnabled?e.isFullscreen?e.exit():e.request():console.error("browser does not support screenfull!")},l=()=>{e=window.screenfull,e&&e.isEnabled&&e.on("change",()=>{i.updateSetting(!i.setting.fullscreen,"fullscreen")})};let r=()=>{};return a.onMounted(()=>{if(e&&e.isEnabled&&e.on("change",()=>{i.updateSetting(!i.setting.fullscreen,"fullscreen")}),!t&&i.screenfull===null){const s=document.createElement("script");s.src=i.screenfullJs,s.addEventListener("load",l),s.id=`${c}-screenfull`,R(s),r=()=>{s.remove()}}}),a.onBeforeMount(r),{fullScreenHandler:n}},xt=a.defineComponent({name:"TableShape",props:{tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},setup(i){const t=a.reactive({x:-1,y:-1});return()=>a.createVNode("div",{class:`${c}-table-shape`,onMouseleave:()=>{t.x=-1,t.y=-1}},[new Array(i.tableShape[1]).fill("").map((e,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:()=>{t.x=n,t.y=r},onClick:()=>{i.onSelected(t)}},[a.createVNode("div",{class:[`${c}-table-shape-col-default`,n<=t.x&&r<=t.y&&`${c}-table-shape-col-include`]},null)]))]))])}});var $t=a.defineComponent({name:"MDEditorToolbar",props:{prettier:{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 t=a.inject("editorId"),e=a.inject("usedLanguageText"),{fullScreenHandler:n}=wt(i),l=a.reactive({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),r=(h,u)=>{w.emit(t,"replace",h,u)},s=a.reactive({type:"link",linkVisible:!1,clipVisible:!1}),o=a.ref();a.onMounted(()=>{var h;w.on(t,{name:"openModals",callback(u){s.type=u,s.linkVisible=!0}}),(h=o.value)==null||h.addEventListener("mouseover",()=>{var u;(u=window.getSelection())!=null&&u.toString()||w.emit(t,"selectTextChange","")})});const d=a.computed(()=>{const h=i.toolbars.filter(v=>!i.toolbarsExclude.includes(v)),u=h.indexOf("="),m=u===-1?h:h.slice(0,u+1),b=u===-1?[]:h.slice(u,Number.MAX_SAFE_INTEGER);return[m,b]}),f=a.ref(),p=()=>{w.emit(t,"uploadImage",f.value.files),f.value.value=""};a.onMounted(()=>{f.value.addEventListener("change",p)});const g=h=>{var u,m,b,v,y,C,j,N,L,V,I,F,_,q,W,De,Le,Fe,_e,je,Re,ze,Ae,Me,Oe,Be,He,Pe,Ue,qe,Ke,Ze,Je,We,Ge,Qe,Xe,Ye,et,tt,nt;if(de.includes(h))switch(h){case"-":return a.createVNode(ft,null,null);case"bold":return a.createVNode("div",{class:`${c}-toolbar-item`,title:(u=e.value.toolbarTips)==null?void 0:u.bold,onClick:()=>{r("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:(m=e.value.toolbarTips)==null?void 0:m.underline,onClick:()=>{r("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:(b=e.value.toolbarTips)==null?void 0:b.italic,onClick:()=>{r("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:(v=e.value.toolbarTips)==null?void 0:v.strikeThrough,onClick:()=>{r("strikeThrough")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-strike-through"},null)])]);case"title":return a.createVNode(P,{visible:l.title,onChange:S=>{l.title=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.title=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h1")}},[(y=e.value.titleItem)==null?void 0:y.h1]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h2")}},[(C=e.value.titleItem)==null?void 0:C.h2]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h3")}},[(j=e.value.titleItem)==null?void 0:j.h3]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h4")}},[(N=e.value.titleItem)==null?void 0:N.h4]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h5")}},[(L=e.value.titleItem)==null?void 0:L.h5]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("h6")}},[(V=e.value.titleItem)==null?void 0:V.h6])])},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.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:(I=e.value.toolbarTips)==null?void 0:I.sub,onClick:()=>{r("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:(F=e.value.toolbarTips)==null?void 0:F.sup,onClick:()=>{r("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:(_=e.value.toolbarTips)==null?void 0:_.quote,onClick:()=>{r("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:(q=e.value.toolbarTips)==null?void 0:q.unorderedList,onClick:()=>{r("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:(W=e.value.toolbarTips)==null?void 0:W.orderedList,onClick:()=>{r("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:(De=e.value.toolbarTips)==null?void 0:De.codeRow,onClick:()=>{r("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:(Le=e.value.toolbarTips)==null?void 0:Le.code,onClick:()=>{r("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:(Fe=e.value.toolbarTips)==null?void 0:Fe.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(P,{visible:l.image,onChange:S=>{l.image=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.title=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s.type="image",s.linkVisible=!0}},[(_e=e.value.imgTitleItem)==null?void 0:_e.link]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{f.value.click()}},[(je=e.value.imgTitleItem)==null?void 0:je.upload]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s.clipVisible=!0}},[(Re=e.value.imgTitleItem)==null?void 0:Re.clip2upload])])},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.image},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-image"},null)])])]}});case"table":return a.createVNode(P,{visible:l.table,onChange:S=>{l.table=S},key:"bar-table",overlay:a.createVNode(xt,{tableShape:i.tableShape,onSelected:S=>{r("table",{selectedShape:S})}},null)},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.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:(ze=e.value.toolbarTips)==null?void 0:ze.revoke,onClick:()=>{w.emit(t,"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:(Ae=e.value.toolbarTips)==null?void 0:Ae.next,onClick:()=>{w.emit(t,"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:(Me=e.value.toolbarTips)==null?void 0:Me.save,onClick:()=>{w.emit(t,"onSave")}},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-baocun"},null)])]);case"prettier":return i.prettier?a.createVNode("div",{class:`${c}-toolbar-item`,title:(Oe=e.value.toolbarTips)==null?void 0:Oe.prettier,onClick:()=>{r("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:(Be=e.value.toolbarTips)==null?void 0:Be.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:(He=e.value.toolbarTips)==null?void 0:He.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:(Pe=e.value.toolbarTips)==null?void 0:Pe.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:(Ue=e.value.toolbarTips)==null?void 0:Ue.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:(qe=e.value.toolbarTips)==null?void 0:qe.catalog,onClick:()=>{w.emit(t,"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:(Ke=e.value.toolbarTips)==null?void 0:Ke.github,onClick:()=>pt("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(P,{visible:l.mermaid,onChange:S=>{l.mermaid=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.mermaid=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("flow")}},[(Ze=e.value.mermaid)==null?void 0:Ze.flow]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("sequence")}},[(Je=e.value.mermaid)==null?void 0:Je.sequence]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("gantt")}},[(We=e.value.mermaid)==null?void 0:We.gantt]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("class")}},[(Ge=e.value.mermaid)==null?void 0:Ge.class]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("state")}},[(Qe=e.value.mermaid)==null?void 0:Qe.state]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("pie")}},[(Xe=e.value.mermaid)==null?void 0:Xe.pie]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("relationship")}},[(Ye=e.value.mermaid)==null?void 0:Ye.relationship]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("journey")}},[(et=e.value.mermaid)==null?void 0:et.journey])]),key:"bar-mermaid"},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.mermaid},[a.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[a.createVNode("use",{"xlink:href":"#icon-mermaid"},null)])])]}});case"katex":return a.createVNode(P,{visible:l.katex,onChange:S=>{l.katex=S},overlay:a.createVNode("ul",{class:`${c}-menu`,onClick:()=>{l.katex=!1}},[a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("katexInline")}},[(tt=e.value.katex)==null?void 0:tt.inline]),a.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{r("katexBlock")}},[(nt=e.value.katex)==null?void 0:nt.block])]),key:"bar-katex"},{default:()=>{var S;return[a.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.mermaid},[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=d.value[0].map(m=>g(m)),u=d.value[1].map(m=>g(m));return a.createVNode("div",{class:`${c}-toolbar-wrapper`},[a.createVNode("div",{class:`${c}-toolbar`},[a.createVNode("div",{class:`${c}-toolbar-left`,ref:o},[h]),a.createVNode("div",{class:`${c}-toolbar-right`},[u])]),a.createVNode("input",{ref:f,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),a.createVNode(yt,{linkVisible:s.linkVisible,clipVisible:s.clipVisible,type:s.type,onCancel:()=>{s.linkVisible=!1,s.clipVisible=!1},onOk:m=>{m&&r(s.type,{desc:m.desc,url:m.url}),s.linkVisible=!1,s.clipVisible=!1}},null)])}}});function me(){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 U=me();function vt(i){U=i}const Ct=/[&<>"']/,St=/[&<>"']/g,Et=/[<>"']|&(?!#?\w+;)/,Nt=/[<>"']|&(?!#?\w+;)/g,Vt={"&":"&","<":"<",">":">",'"':""","'":"'"},ke=i=>Vt[i];function T(i,t){if(t){if(Ct.test(i))return i.replace(St,ke)}else if(Et.test(i))return i.replace(Nt,ke);return i}const Tt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function be(i){return i.replace(Tt,(t,e)=>(e=e.toLowerCase(),e==="colon"?":":e.charAt(0)==="#"?e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}const It=/(^|[^\[])\^/g;function E(i,t){i=i.source||i,t=t||"";const e={replace:(n,l)=>(l=l.source||l,l=l.replace(It,"$1"),i=i.replace(n,l),e),getRegex:()=>new RegExp(i,t)};return e}const Dt=/[^\w:]/g,Lt=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ye(i,t,e){if(i){let n;try{n=decodeURIComponent(be(e)).replace(Dt,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!Lt.test(e)&&(e=Rt(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Q={},Ft=/^[^:]+:\/*[^/]*$/,_t=/^([^:]+:)[\s\S]*$/,jt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Rt(i,t){Q[" "+i]||(Ft.test(i)?Q[" "+i]=i+"/":Q[" "+i]=Y(i,"/",!0)),i=Q[" "+i];const e=i.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:i.replace(_t,"$1")+t:t.charAt(0)==="/"?e?t:i.replace(jt,"$1")+t:i+t}const X={exec:function(){}};function z(i){let t=1,e,n;for(;t<arguments.length;t++){e=arguments[t];for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i}function we(i,t){const e=i.replace(/\|/g,(r,s,o)=>{let d=!1,f=s;for(;--f>=0&&o[f]==="\\";)d=!d;return d?"|":" |"}),n=e.split(/ \|/);let l=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;l<n.length;l++)n[l]=n[l].trim().replace(/\\\|/g,"|");return n}function Y(i,t,e){const n=i.length;if(n===0)return"";let l=0;for(;l<n;){const r=i.charAt(n-l-1);if(r===t&&!e)l++;else if(r!==t&&e)l++;else break}return i.substr(0,n-l)}function zt(i,t){if(i.indexOf(t[1])===-1)return-1;const e=i.length;let n=0,l=0;for(;l<e;l++)if(i[l]==="\\")l++;else if(i[l]===t[0])n++;else if(i[l]===t[1]&&(n--,n<0))return l;return-1}function xe(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 $e(i,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=i),t>>=1,i+=i;return e+i}function ve(i,t,e,n){const l=t.href,r=t.title?T(t.title):null,s=i[1].replace(/\\([\[\]])/g,"$1");if(i[0].charAt(0)!=="!"){n.state.inLink=!0;const o={type:"link",raw:e,href:l,title:r,text:s,tokens:n.inlineTokens(s,[])};return n.state.inLink=!1,o}else return{type:"image",raw:e,href:l,title:r,text:T(s)}}function At(i,t){const e=i.match(/^(\s+)(?:```)/);if(e===null)return t;const n=e[1];return t.split(`
|
|
3
3
|
`).map(l=>{const r=l.match(/^\s+/);if(r===null)return l;const[s]=r;return s.length>=n.length?l.slice(n.length):l}).join(`
|
|
4
4
|
`)}class ie{constructor(t){this.options=t||U}space(t){const e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const n=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Y(n,`
|
|
5
5
|
`)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const n=e[0],l=At(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim():e[2],text:l}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let n=e[2].trim();if(/#$/.test(n)){const r=Y(n,"#");(this.options.pedantic||!r||/ $/.test(r))&&(n=r.trim())}const l={type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:e[0]}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){const n=e[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:e[0],tokens:this.lexer.blockTokens(n,[]),text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n,l,r,s,o,d,f,p,g,h,u,m,b=e[1].trim();const v=b.length>1,y={type:"list",raw:"",ordered:v,start:v?+b.slice(0,-1):"",loose:!1,items:[]};b=v?`\\d{1,9}\\${b.slice(-1)}`:`\\${b}`,this.options.pedantic&&(b=v?b:"[*+-]");const C=new RegExp(`^( {0,3}${b})((?: [^\\n]*)?(?:\\n|$))`);for(;t&&(m=!1,!(!(e=C.exec(t))||this.rules.block.hr.test(t)));){if(n=e[0],t=t.substring(n.length),p=e[2].split(`
|
|
@@ -12,8 +12,8 @@ var en=Object.defineProperty,tn=Object.defineProperties;var nn=Object.getOwnProp
|
|
|
12
12
|
`,t=t.substring(h.length+1)}}y.loose||(f?y.loose=!0:/\n *\n *$/.test(n)&&(f=!0)),this.options.gfm&&(l=/^\[[ xX]\] /.exec(u),l&&(r=l[0]!=="[ ] ",u=u.replace(/^\[[ xX]\] +/,""))),y.items.push({type:"list_item",raw:n,task:!!l,checked:r,loose:!1,text:u}),y.raw+=n}y.items[y.items.length-1].raw=n.trimRight(),y.items[y.items.length-1].text=u.trimRight(),y.raw=y.raw.trimRight();const j=y.items.length;for(o=0;o<j;o++){this.lexer.state.top=!1,y.items[o].tokens=this.lexer.blockTokens(y.items[o].text,[]);const N=y.items[o].tokens.filter(V=>V.type==="space"),L=N.every(V=>{const I=V.raw.split("");let F=0;for(const _ of I)if(_===`
|
|
13
13
|
`&&(F+=1),F>1)return!0;return!1});!y.loose&&N.length&&L&&(y.loose=!0,y.items[o].loose=!0)}return y}}html(t){const e=this.rules.block.html.exec(t);if(e){const n={type:"html",raw:e[0],pre:!this.options.sanitizer&&(e[1]==="pre"||e[1]==="script"||e[1]==="style"),text:e[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(e[0]):T(e[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}}def(t){const e=this.rules.block.def.exec(t);if(e){e[3]&&(e[3]=e[3].substring(1,e[3].length-1));const n=e[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:n,raw:e[0],href:e[2],title:e[3]}}}table(t){const e=this.rules.block.table.exec(t);if(e){const n={type:"table",header:we(e[1]).map(l=>({text:l})),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split(`
|
|
14
14
|
`):[]};if(n.header.length===n.align.length){n.raw=e[0];let l=n.align.length,r,s,o,d;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]=we(n.rows[r],n.header.length).map(f=>({text:f}));for(l=n.header.length,s=0;s<l;s++)n.header[s].tokens=[],this.lexer.inlineTokens(n.header[s].text,n.header[s].tokens);for(l=n.rows.length,s=0;s<l;s++)for(d=n.rows[s],o=0;o<d.length;o++)d[o].tokens=[],this.lexer.inlineTokens(d[o].text,d[o].tokens);return n}}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e){const n={type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const n={type:"paragraph",raw:e[0],text:e[1].charAt(e[1].length-1)===`
|
|
15
|
-
`?e[1].slice(0,-1):e[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}text(t){const e=this.rules.block.text.exec(t);if(e){const n={type:"text",raw:e[0],text:e[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:T(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):T(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const n=e[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const s=Y(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{const s=zt(e[2],"()");if(s>-1){const d=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,d).trim(),e[3]=""}}let l=e[2],r="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);s&&(l=s[1],r=s[3])}else r=e[3]?e[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(n)?l=l.slice(1):l=l.slice(1,-1)),ve(e,{href:l&&l.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let l=(n[2]||n[1]).replace(/\s+/g," ");if(l=e[l.toLowerCase()],!l||!l.href){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return ve(n,l,n[0],this.lexer)}}emStrong(t,e,n=""){let l=this.rules.inline.emStrong.lDelim.exec(t);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 s=l[0].length-1;let o,d,f=s,p=0;const g=l[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(g.lastIndex=0,e=e.slice(-1*t.length+s);(l=g.exec(e))!=null;){if(o=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!o)continue;if(d=o.length,l[3]||l[4]){f+=d;continue}else if((l[5]||l[6])&&s%3&&!((s+d)%3)){p+=d;continue}if(f-=d,f>0)continue;if(d=Math.min(d,d+f+p),Math.min(s,d)%2){const u=t.slice(1,s+l.index+d);return{type:"em",raw:t.slice(0,s+l.index+d+1),text:u,tokens:this.lexer.inlineTokens(u,[])}}const h=t.slice(2,s+l.index+d-1);return{type:"strong",raw:t.slice(0,s+l.index+d+1),text:h,tokens:this.lexer.inlineTokens(h,[])}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(/\n/g," ");const l=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return l&&r&&(n=n.substring(1,n.length-1)),n=T(n,!0),{type:"codespan",raw:e[0],text:n}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2],[])}}autolink(t,e){const n=this.rules.inline.autolink.exec(t);if(n){let l,r;return n[2]==="@"?(l=T(this.options.mangle?e(n[1]):n[1]),r="mailto:"+l):(l=T(n[1]),r=l),{type:"link",raw:n[0],text:l,href:r,tokens:[{type:"text",raw:l,text:l}]}}}url(t,e){let n;if(n=this.rules.inline.url.exec(t)){let l,r;if(n[2]==="@")l=T(this.options.mangle?e(n[0]):n[0]),r="mailto:"+l;else{let s;do s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(s!==n[0]);l=T(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(t,e){const n=this.rules.inline.text.exec(t);if(n){let l;return this.lexer.state.inRawBlock?l=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):T(n[0]):n[0]:l=T(this.options.smartypants?e(n[0]):n[0]),{type:"text",raw:n[0],text:l}}}}const
|
|
16
|
-
]`).replace("lheading",
|
|
15
|
+
`?e[1].slice(0,-1):e[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}text(t){const e=this.rules.block.text.exec(t);if(e){const n={type:"text",raw:e[0],text:e[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:T(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^<a /i.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):T(e[0]):e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const n=e[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const s=Y(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{const s=zt(e[2],"()");if(s>-1){const d=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,d).trim(),e[3]=""}}let l=e[2],r="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);s&&(l=s[1],r=s[3])}else r=e[3]?e[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(n)?l=l.slice(1):l=l.slice(1,-1)),ve(e,{href:l&&l.replace(this.rules.inline._escapes,"$1"),title:r&&r.replace(this.rules.inline._escapes,"$1")},e[0],this.lexer)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let l=(n[2]||n[1]).replace(/\s+/g," ");if(l=e[l.toLowerCase()],!l||!l.href){const r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return ve(n,l,n[0],this.lexer)}}emStrong(t,e,n=""){let l=this.rules.inline.emStrong.lDelim.exec(t);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 s=l[0].length-1;let o,d,f=s,p=0;const g=l[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(g.lastIndex=0,e=e.slice(-1*t.length+s);(l=g.exec(e))!=null;){if(o=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!o)continue;if(d=o.length,l[3]||l[4]){f+=d;continue}else if((l[5]||l[6])&&s%3&&!((s+d)%3)){p+=d;continue}if(f-=d,f>0)continue;if(d=Math.min(d,d+f+p),Math.min(s,d)%2){const u=t.slice(1,s+l.index+d);return{type:"em",raw:t.slice(0,s+l.index+d+1),text:u,tokens:this.lexer.inlineTokens(u,[])}}const h=t.slice(2,s+l.index+d-1);return{type:"strong",raw:t.slice(0,s+l.index+d+1),text:h,tokens:this.lexer.inlineTokens(h,[])}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let n=e[2].replace(/\n/g," ");const l=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return l&&r&&(n=n.substring(1,n.length-1)),n=T(n,!0),{type:"codespan",raw:e[0],text:n}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2],[])}}autolink(t,e){const n=this.rules.inline.autolink.exec(t);if(n){let l,r;return n[2]==="@"?(l=T(this.options.mangle?e(n[1]):n[1]),r="mailto:"+l):(l=T(n[1]),r=l),{type:"link",raw:n[0],text:l,href:r,tokens:[{type:"text",raw:l,text:l}]}}}url(t,e){let n;if(n=this.rules.inline.url.exec(t)){let l,r;if(n[2]==="@")l=T(this.options.mangle?e(n[0]):n[0]),r="mailto:"+l;else{let s;do s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(s!==n[0]);l=T(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(t,e){const n=this.rules.inline.text.exec(t);if(n){let l;return this.lexer.state.inRawBlock?l=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):T(n[0]):n[0]:l=T(this.options.smartypants?e(n[0]):n[0]),{type:"text",raw:n[0],text:l}}}}const x={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}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\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:X,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};x._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,x._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,x.def=E(x.def).replace("label",x._label).replace("title",x._title).getRegex(),x.bullet=/(?:[*+-]|\d{1,9}[.)])/,x.listItemStart=E(/^( *)(bull) */).replace("bull",x.bullet).getRegex(),x.list=E(x.list).replace(/bull/g,x.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+x.def.source+")").getRegex(),x._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",x._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,x.html=E(x.html,"i").replace("comment",x._comment).replace("tag",x._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),x.paragraph=E(x._paragraph).replace("hr",x.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",x._tag).getRegex(),x.blockquote=E(x.blockquote).replace("paragraph",x.paragraph).getRegex(),x.normal=z({},x),x.gfm=z({},x.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),x.gfm.table=E(x.gfm.table).replace("hr",x.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",x._tag).getRegex(),x.gfm.paragraph=E(x._paragraph).replace("hr",x.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",x.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",x._tag).getRegex(),x.pedantic=z({},x.normal,{html:E(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",x._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:X,paragraph:E(x.normal._paragraph).replace("hr",x.hr).replace("heading",` *#{1,6} *[^
|
|
16
|
+
]`).replace("lheading",x.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const k={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:X,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:X,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};k._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",k.punctuation=E(k.punctuation).replace(/punctuation/g,k._punctuation).getRegex(),k.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,k.escapedEmSt=/\\\*|\\_/g,k._comment=E(x._comment).replace("(?:-->|$)","-->").getRegex(),k.emStrong.lDelim=E(k.emStrong.lDelim).replace(/punct/g,k._punctuation).getRegex(),k.emStrong.rDelimAst=E(k.emStrong.rDelimAst,"g").replace(/punct/g,k._punctuation).getRegex(),k.emStrong.rDelimUnd=E(k.emStrong.rDelimUnd,"g").replace(/punct/g,k._punctuation).getRegex(),k._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,k._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,k._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])?)+(?![-_])/,k.autolink=E(k.autolink).replace("scheme",k._scheme).replace("email",k._email).getRegex(),k._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,k.tag=E(k.tag).replace("comment",k._comment).replace("attribute",k._attribute).getRegex(),k._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,k._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,k._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,k.link=E(k.link).replace("label",k._label).replace("href",k._href).replace("title",k._title).getRegex(),k.reflink=E(k.reflink).replace("label",k._label).replace("ref",x._label).getRegex(),k.nolink=E(k.nolink).replace("ref",x._label).getRegex(),k.reflinkSearch=E(k.reflinkSearch,"g").replace("reflink",k.reflink).replace("nolink",k.nolink).getRegex(),k.normal=z({},k),k.pedantic=z({},k.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:E(/^!?\[(label)\]\((.*?)\)/).replace("label",k._label).getRegex(),reflink:E(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",k._label).getRegex()}),k.gfm=z({},k.normal,{escape:E(k.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),k.gfm.url=E(k.gfm.url,"i").replace("email",k.gfm._extended_email).getRegex(),k.breaks=z({},k.gfm,{br:E(k.br).replace("{2,}","*").getRegex(),text:E(k.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function Mt(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 Ce(i){let t="",e,n;const l=i.length;for(e=0;e<l;e++)n=i.charCodeAt(e),Math.random()>.5&&(n="x"+n.toString(16)),t+="&#"+n+";";return t}class M{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||U,this.options.tokenizer=this.options.tokenizer||new ie,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 e={block:x.normal,inline:k.normal};this.options.pedantic?(e.block=x.pedantic,e.inline=k.pedantic):this.options.gfm&&(e.block=x.gfm,this.options.breaks?e.inline=k.breaks:e.inline=k.gfm),this.tokenizer.rules=e}static get rules(){return{block:x,inline:k}}static lex(t,e){return new M(e).lex(t)}static lexInline(t,e){return new M(e).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
|
|
17
17
|
`).replace(/\t/g," "),this.blockTokens(t,this.tokens);let e;for(;e=this.inlineQueue.shift();)this.inlineTokens(e.src,e.tokens);return this.tokens}blockTokens(t,e=[]){this.options.pedantic&&(t=t.replace(/^ +$/gm,""));let n,l,r,s;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(o=>(n=o.call({lexer:this},t,e))?(t=t.substring(n.raw.length),e.push(n),!0):!1))){if(n=this.tokenizer.space(t)){t=t.substring(n.raw.length),n.raw.length===1&&e.length>0?e[e.length-1].raw+=`
|
|
18
18
|
`:e.push(n);continue}if(n=this.tokenizer.code(t)){t=t.substring(n.raw.length),l=e[e.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
|
|
19
19
|
`+n.raw,l.text+=`
|
|
@@ -78,7 +78,7 @@ journey
|
|
|
78
78
|
`,r=2;break}case"katexInline":{l="$$",r=1,s=-1;break}case"katexBlock":{l=`$$
|
|
79
79
|
|
|
80
80
|
$$
|
|
81
|
-
`,r=1,s=-4;break}}}return ne(e,l,{deviationStart:r,deviationEnd:s,select:o,prefixVal:d,subfixVal:f})};var Ve={block(i,t){return{name:"KaTexBlockExtension",level:"block",start:e=>{var n;return(n=e.match(/\$\$\n/))==null?void 0:n.index},tokenizer(e){const l=/^\$\$\n([^$]*)\$\$\n?/.exec(e);if(l)return{type:"KaTexBlockExtension",raw:l[0],text:l[1].trim(),tokens:[]}},renderer(e){const n=t||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(e.text,{throwOnError:!1});return`<span class="${i}-katex-block" data-processed>${l}</span>`}else return`<span class="${i}-katex-block">${e.text}</span>`}}},inline(i,t){return{name:"KaTexInlineExtension",level:"inline",start:e=>{var n;return(n=e.match(/\$[^$]/))==null?void 0:n.index},tokenizer(e){const l=/^\$([^$]*)\$/.exec(e);if(l)return{type:"KaTexInlineExtension",raw:l[0],text:l[1].trim(),tokens:[]}},renderer(e){const n=t||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(e.text,{throwOnError:!1});return`<span class="${i}-katex-inline" data-processed>${l}</span>`}else return`<span class="${i}-katex-inline">${e.text}</span>`}}}};const Kt=(i,t)=>{var o,d;const e=a.inject("previewOnly"),n=a.inject("historyLength"),l=a.inject("editorId");if(e)return;let r=-1;const s={list:[{content:i.value,startPos:((o=t.value)==null?void 0:o.selectionStart)||0,endPos:((d=t.value)==null?void 0:d.selectionEnd)||0}],userUpdated:!0,curr:0};a.watch(()=>i.value,f=>{var h,u;clearTimeout(r);const p=((h=t.value)==null?void 0:h.selectionStart)||0,g=((u=t.value)==null?void 0:u.selectionEnd)||0;r=setTimeout(()=>{if(s.userUpdated){s.curr<s.list.length-1&&(s.list=s.list.slice(0,s.curr+1)),s.list.length>n&&s.list.shift();const m=s.list.pop();m.startPos=p,m.endPos=g,Array.prototype.push.call(s.list,m,{content:f,startPos:p,endPos:g}),s.curr=s.list.length-1}else s.userUpdated=!0},10)}),a.onMounted(()=>{
|
|
81
|
+
`,r=1,s=-4;break}}}return ne(e,l,{deviationStart:r,deviationEnd:s,select:o,prefixVal:d,subfixVal:f})};var Ve={block(i,t){return{name:"KaTexBlockExtension",level:"block",start:e=>{var n;return(n=e.match(/\$\$\n/))==null?void 0:n.index},tokenizer(e){const l=/^\$\$\n([^$]*)\$\$\n?/.exec(e);if(l)return{type:"KaTexBlockExtension",raw:l[0],text:l[1].trim(),tokens:[]}},renderer(e){const n=t||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(e.text,{throwOnError:!1});return`<span class="${i}-katex-block" data-processed>${l}</span>`}else return`<span class="${i}-katex-block">${e.text}</span>`}}},inline(i,t){return{name:"KaTexInlineExtension",level:"inline",start:e=>{var n;return(n=e.match(/\$[^$]/))==null?void 0:n.index},tokenizer(e){const l=/^\$([^$]*)\$/.exec(e);if(l)return{type:"KaTexInlineExtension",raw:l[0],text:l[1].trim(),tokens:[]}},renderer(e){const n=t||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(e.text,{throwOnError:!1});return`<span class="${i}-katex-inline" data-processed>${l}</span>`}else return`<span class="${i}-katex-inline">${e.text}</span>`}}}};const Kt=(i,t)=>{var o,d;const e=a.inject("previewOnly"),n=a.inject("historyLength"),l=a.inject("editorId");if(e)return;let r=-1;const s={list:[{content:i.value,startPos:((o=t.value)==null?void 0:o.selectionStart)||0,endPos:((d=t.value)==null?void 0:d.selectionEnd)||0}],userUpdated:!0,curr:0};a.watch(()=>i.value,f=>{var h,u;clearTimeout(r);const p=((h=t.value)==null?void 0:h.selectionStart)||0,g=((u=t.value)==null?void 0:u.selectionEnd)||0;r=setTimeout(()=>{if(s.userUpdated){s.curr<s.list.length-1&&(s.list=s.list.slice(0,s.curr+1)),s.list.length>n&&s.list.shift();const m=s.list.pop();m.startPos=p,m.endPos=g,Array.prototype.push.call(s.list,m,{content:f,startPos:p,endPos:g}),s.curr=s.list.length-1}else s.userUpdated=!0},10)}),a.onMounted(()=>{w.on(l,{name:"ctrlZ",callback(){s.userUpdated=!1,s.curr=s.curr-1<0?0:s.curr-1;const f=s.list[s.curr];i.onChange(f.content),A(t.value,f.startPos,f.endPos)}}),w.on(l,{name:"ctrlShiftZ",callback(){s.userUpdated=!1,s.curr=s.curr+1===s.list.length?s.curr:s.curr+1;const f=s.list[s.curr];i.onChange(f.content),A(t.value,f.startPos,f.endPos)}})})},Zt=(i,t)=>{const e=a.inject("showCodeRowNumber"),n=a.inject("editorId"),l=a.inject("highlight"),r=a.ref(!1),s=a.ref(!1),o=a.ref([]),d=new $.Renderer;d.heading=(...h)=>{const[,u,m]=h;return o.value.push({text:m,level:u}),i.markedHeading(...h)},d.defaultCode=d.code,d.code=(h,u,m)=>{var b;if(!i.noMermaid&&u==="mermaid"){const v=`${c}-mermaid-${Date.now().toString(36)}`;try{let y="";return i.mermaid?y=i.mermaid.mermaidAPI.render(v,h):typeof window!="undefined"&&window.mermaid?y=window.mermaid.mermaidAPI.render(v,h):y=`<div class="mermaid">${h}</div>`,`<div class="${c}-mermaid">${y}</div>`}catch{if(typeof document!="undefined"){const C=document.querySelector(`#${v}`);if(C){const j=C.outerHTML;return(b=C.parentElement)==null||b.remove(),j}}return""}}return d.defaultCode(h,u,m)},d.image=i.markedImage,d.listitem=(h,u)=>u?`<li class="li-task">${h}</li>`:`<li>${h}</li>`,$.setOptions({renderer:d,breaks:!0}),i.noKatex||$.use({extensions:[Ve.inline(c,i.katex),Ve.block(c,i.katex)]}),i.hljs&&$.setOptions({highlight:h=>{const u=i.hljs.highlightAuto(h).value;return e?pe(u):`<span class="code-block">${u}</span>`}}),i.extensions instanceof Array&&i.extensions.length>0&&$.use({extensions:i.extensions});const f=a.computed(()=>{o.value=[];const h=$(i.value||"");return r.value,t.reRender,t.mermaidInited,s.value,i.sanitize(h)});i.onHtmlChanged(f.value);const p=()=>{$.setOptions({highlight:h=>{const u=window.hljs.highlightAuto(h).value;return e?pe(u):`<span class="code-block">${u}</span>`}}),r.value=!0};a.watch(()=>f.value,i.onHtmlChanged),a.watch(()=>o.value,h=>{i.onGetCatalog(h),w.emit(n,"catalogChanged",h)});const g=[];return a.onMounted(()=>{if(!i.noKatex&&!i.katex){const h=document.createElement("script");h.src=i.katexJs,h.onload=()=>{s.value=!0},h.id=`${c}-katex`;const u=document.createElement("link");u.rel="stylesheet",u.href=i.katexCss,u.id=`${c}-katexCss`,R(h,"katex"),R(u),g.push(u),g.push(h)}if(i.hljs===null){const h=document.createElement("link");h.rel="stylesheet",h.href=l.value.css,h.id=`${c}-hlCss`;const u=document.createElement("script");u.src=l.value.js,u.onload=p,u.id=`${c}-hljs`,R(h),R(u,"hljs"),g.push(h),g.push(u)}}),a.onMounted(()=>{w.on(n,{name:"pushCatalog",callback(){w.emit(n,"catalogChanged",o.value)}})}),a.onBeforeUnmount(()=>{g.forEach(h=>h.remove())}),{html:f}},Jt=(i,t,e,n,l)=>{const r=a.inject("previewOnly"),s=a.inject("usedLanguageText"),o=a.inject("editorId");let d=()=>{},f=()=>{};const p=()=>{document.querySelectorAll(`#${o} .${c}-preview pre`).forEach(u=>{var b;const m=document.createElement("span");m.setAttribute("class","copy-button"),m.innerText=((b=s.value.copyCode)==null?void 0:b.text)||"\u590D\u5236\u4EE3\u7801",m.addEventListener("click",()=>{var v;Z(u.querySelector("code").innerText),m.innerText=((v=s.value.copyCode)==null?void 0:v.tips)||"\u5DF2\u590D\u5236\uFF01",setTimeout(()=>{var y;m.innerText=((y=s.value.copyCode)==null?void 0:y.text)||"\u590D\u5236\u4EE3\u7801"},1500)}),u.appendChild(m)})};a.onMounted(()=>{[f,d]=fe(e.value,n.value||l.value)});const g=()=>{a.nextTick(()=>{i.setting.preview&&!r&&(d(),f()),p()})},h=u=>{u&&!r&&a.nextTick(()=>{d(),[f,d]=fe(e.value,n.value||l.value),f()})};a.watch(()=>t.value,g),a.watch(()=>i.setting.preview,h),a.watch(()=>i.setting.htmlPreview,h),a.onMounted(g)},Wt=(i,t)=>{const e=a.inject("previewOnly"),n=a.inject("tabWidth"),l=a.inject("editorId"),r=a.ref("");return a.onMounted(()=>{var s,o;e||((s=t.value)==null||s.addEventListener("select",()=>{var d;r.value=((d=window.getSelection())==null?void 0:d.toString())||""}),(o=t.value)==null||o.addEventListener("keypress",d=>{var f,p,g;if(d.key==="Enter"){const h=(f=t.value)==null?void 0:f.selectionStart,u=(p=t.value)==null?void 0:p.value.substring(0,h),m=(g=t.value)==null?void 0:g.value.substring(h),b=u==null?void 0:u.lastIndexOf(`
|
|
82
82
|
`),v=u==null?void 0:u.substring(b+1,h);if(/^\d+\.\s|^-\s/.test(v))if(d.cancelBubble=!0,d.preventDefault(),d.stopPropagation(),/^\d+\.\s+$|^-\s+$/.test(v)){const y=u==null?void 0:u.replace(new RegExp(v+"$"),"");i.onChange(y+m),A(t.value,y==null?void 0:y.length)}else if(/^-\s+.+/.test(v))i.onChange(ne(t.value,`
|
|
83
83
|
- `,{}));else{const y=v==null?void 0:v.match(/\d+(?=\.)/),C=y&&Number(y[0])+1||1;i.onChange(ne(t.value,`
|
|
84
|
-
${C}. `,{}))}}}),
|
|
84
|
+
${C}. `,{}))}}}),w.on(l,{name:"replace",callback(d,f={}){i.onChange(qt(d,r.value,t.value,te(K({},f),{tabWidth:n})))}}))}),w.on(l,{name:"selectTextChange",callback(s){r.value=s}}),{selectedText:r}},Gt=i=>{const t=a.inject("theme"),e=a.reactive({reRender:!1,mermaidInited:!!i.mermaid}),n=()=>{i.noMermaid||(i.mermaid?i.mermaid.initialize({theme:t.value==="dark"?"dark":"default"}):window.mermaid&&window.mermaid.initialize({theme:t.value==="dark"?"dark":"default"}),e.reRender=!e.reRender)};a.watch(()=>t.value,n);let l;return a.onMounted(()=>{!i.noMermaid&&!i.mermaid?(l=document.createElement("script"),l.src=i.mermaidJs,l.onload=()=>{window.mermaid.initialize({theme:t.value==="dark"?"dark":"default",logLevel:"Fatal"}),e.mermaidInited=!0},l.id=`${c}-mermaid`,R(l,"mermaid")):i.noMermaid||n()}),a.onBeforeUnmount(()=>{!i.noMermaid&&!i.mermaid&&l&&l.remove()}),e},Qt=i=>{const t=a.inject("editorId"),e=a.inject("previewOnly"),n=l=>{if(l.clipboardData&&l.clipboardData.files.length>0){const{files:r}=l.clipboardData;w.emit(t,"uploadImage",Array.from(r).filter(s=>/image\/.*/.test(s.type))),l.preventDefault()}};a.onMounted(()=>{e||i.value.addEventListener("paste",n)}),a.onBeforeUnmount(()=>{e||i.value.removeEventListener("paste",n)})};var Xt=a.defineComponent({name:"MDEditorContent",props:{value:{type:String,default:""},hljs:{type:Object,default:null},onChange:{type:Function,default:()=>()=>{}},setting:{type:Object,default:()=>({})},onHtmlChanged:{type:Function,default:()=>()=>{}},onGetCatalog:{type:Function,default:()=>()=>{}},markedHeading:{type:Function,default:()=>""},mermaid:{type:Object},mermaidJs:{type:String,default:""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},katex:{type:Object},katexJs:{type:String,default:""},katexCss:{type:String,default:""},noKatex:{type:Boolean,default:!1},extensions:{type:Array},markedImage:{type:Function,default:()=>""}},setup(i){const t=a.inject("previewOnly"),e=a.inject("showCodeRowNumber"),n=a.inject("previewTheme"),l=a.inject("editorId"),r=a.ref(),s=a.ref(),o=a.ref(),d=Gt(i),{html:f}=Zt(i,d);Jt(i,f,r,s,o);const{selectedText:p}=Wt(i,r);return Kt(i,r),Qt(r),()=>a.createVNode(a.Fragment,null,[a.createVNode("div",{class:[`${c}-content`]},[!t&&a.createVNode("div",{class:`${c}-input-wrapper`},[a.createVNode("textarea",{id:`${l}-textarea`,ref:r,value:i.value,onInput:g=>{p.value="",i.onChange(g.target.value)},class:[i.setting.preview||i.setting.htmlPreview?"":"textarea-only"],placeholder:i.placeholder},null)]),i.setting.preview&&a.createVNode("div",{id:`${l}-preview-wrapper`,class:`${c}-preview-wrapper`,ref:s,key:"content-preview-wrapper"},[a.createVNode("div",{id:`${l}-preview`,class:[`${c}-preview`,`${n==null?void 0:n.value}-theme`,e&&`${c}-scrn`],innerHTML:f.value},null)]),i.setting.htmlPreview&&a.createVNode("div",{class:`${c}-preview-wrapper`,ref:o,key:"html-preview-wrapper"},[a.createVNode("div",{class:`${c}-html`},[f.value])])])])}});const Te=a.defineComponent({props:{tocItem:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:()=>{}},scrollElement:{type:[String,HTMLElement],default:""}},setup(i){return()=>a.createVNode("div",{class:`${c}-catalog-link`,onClick:t=>{t.stopPropagation();const e=i.markedHeadingId(i.tocItem.text,i.tocItem.level),n=document.getElementById(e),l=i.scrollElement instanceof HTMLElement?i.scrollElement:document.querySelector(i.scrollElement);if(n&&l){let r=n.offsetParent,s=n.offsetTop;if(l.contains(r))for(;r&&l!=r;)s+=r==null?void 0:r.offsetTop,r=r==null?void 0:r.offsetParent;l==null||l.scrollTo({top:s,behavior:"smooth"})}}},[a.createVNode("span",null,[i.tocItem.text]),i.tocItem.children&&i.tocItem.children.map(t=>a.createVNode(Te,{markedHeadingId:i.markedHeadingId,key:t.text,tocItem:t,scrollElement:i.scrollElement},null))])}});var dn="";const ee=a.defineComponent({name:"Catalog",props:{editorId:{type:String},class:{type:String,default:""},markedHeadingId:{type:Function,default:i=>i},scrollElement:{type:[String,HTMLElement]},theme:{type:String,default:"light"}},setup(i){const t=i.editorId,e=a.reactive({list:[],show:!1,scrollElement:i.scrollElement||`#${t}-preview-wrapper`}),n=a.computed(()=>{const l=[];return e.list.forEach(({text:r,level:s})=>{const o={level:s,text:r};if(l.length===0)l.push(o);else{let d=l[l.length-1];if(o.level>d.level)for(let f=d.level+1;f<=6;f++){const{children:p}=d;if(!p){d.children=[o];break}if(d=p[p.length-1],o.level<=d.level){p.push(o);break}}else l.push(o)}}),l});return a.onMounted(()=>{w.on(t,{name:"catalogChanged",callback:l=>{e.list=l}}),w.emit(t,"pushCatalog")}),()=>a.createVNode("div",{class:`${c}-catalog${i.theme==="dark"?"-dark":""} ${i.class}`},[n.value.map(l=>a.createVNode(Te,{markedHeadingId:i.markedHeadingId,tocItem:l,key:l.text,scrollElement:e.scrollElement},null))])}});var un="",hn="";const Ie=i=>i,Yt={modelValue:{type:String,default:""},theme:{type:String,default:"light"},editorClass:{type:String,default:""},hljs:{type:Object,default:null},highlightJs:{type:String,default:G.js},highlightCss:{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"},languageUserDefined:{type:Object,default:()=>({})},toolbars:{type:Array,default:de},toolbarsExclude:{type:Array,default:[]},prettier:{type:Boolean,default:!0},prettierCDN:{type:String,default:oe.main},prettierMDCDN:{type:String,default:oe.markdown},onHtmlChanged:{type:Function},Cropper:{type:Function,default:null},cropperCss:{type:String,default:ce.css},cropperJs:{type:String,default:ce.js},iconfontJs:{type:String,default:D},onGetCatalog:{type:Function},editorId:{type:String,default:"md-editor-v3"},tabWidth:{type:Number,default:2},showCodeRowNumber:{type:Boolean,default:!1},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:rt},previewTheme:{type:String,default:"default"},markedHeading:{type:Function,default:(i,t,e)=>{const n=Ie(e);return i!==e?`<h${t} id="${n}">${i}</h${t}>`:`<h${t} id="${n}"><a href="#${n}">${e}</a></h${t}>`}},style:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:Ie},tableShape:{type:Array,default:()=>[6,4]},mermaid:{type:Object},mermaidJs:{type:String,default:at},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},katex:{type:Object},katexJs:{type:String,default:st},katexCss:{type:String,default:ot},noKatex:{type:Boolean,default:!1},defToolbars:{type:[String,Object]},extensions:{type:Array},markedImage:{type:Function,default:(i,t,e)=>`<figure><img src="${i}" alt="${e}"><figcaption>${e}</figcaption></figure>`}};var H=a.defineComponent({name:"MdEditorV3",props:Yt,setup(i,t){const{editorId:e}=i;dt(i,t),ut(i),ht(i);const n=a.reactive({catalogVisible:!1}),l=a.reactive({pageFullScreen:i.pageFullScreen,fullscreen:!1,preview:i.preview,htmlPreview:i.preview?!1:i.htmlPreview}),r=(f,p)=>{l[p]=f,p==="preview"&&l.preview?l.htmlPreview=!1:p==="htmlPreview"&&l.htmlPreview&&(l.preview=!1)};let s="";const o=()=>{l.pageFullScreen||l.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};a.watch(()=>[l.pageFullScreen,l.fullscreen],o),a.onMounted(()=>{i.previewOnly||w.on(e,{name:"uploadImage",callback(f,p){const g=h=>{w.emit(e,"replace","image",{desc:"",urls:h}),p&&p()};i.onUploadImg?i.onUploadImg(f,g):t.emit("onUploadImg",f,g)}}),s=document.body.style.overflow,o(),w.on(e,{name:"catalogShow",callback:()=>{n.catalogVisible=!n.catalogVisible}})}),a.onBeforeUnmount(()=>{w.clear(e)});const d=a.computed(()=>!i.toolbarsExclude.includes("catalog")&&i.toolbars.includes("catalog"));return()=>{const f=B({props:i,ctx:t},"defToolbars");return a.createVNode("div",{id:e,class:[c,i.editorClass,i.theme==="dark"&&`${c}-dark`,l.fullscreen||l.pageFullScreen?`${c}-fullscreen`:"",i.previewOnly&&`${c}-previewOnly`],style:i.style},[!i.previewOnly&&a.createVNode($t,{prettier:i.prettier,screenfull:i.screenfull,screenfullJs:i.screenfullJs,toolbars:i.toolbars,toolbarsExclude:i.toolbarsExclude,setting:l,updateSetting:r,tableShape:i.tableShape,defToolbars:f},null),a.createVNode(Xt,{hljs:i.hljs,value:i.modelValue,onChange:p=>{i.onChange?i.onChange(p):t.emit("update:modelValue",p)},setting:l,onHtmlChanged:p=>{i.onHtmlChanged?i.onHtmlChanged(p):t.emit("onHtmlChanged",p)},onGetCatalog:p=>{i.onGetCatalog?i.onGetCatalog(p):t.emit("onGetCatalog",p)},markedHeading:i.markedHeading,mermaid:i.mermaid,mermaidJs:i.mermaidJs,noMermaid:i.noMermaid,sanitize:i.sanitize,placeholder:i.placeholder,katex:i.katex,katexJs:i.katexJs,katexCss:i.katexCss,noKatex:i.noKatex,extensions:i.extensions,markedImage:i.markedImage},null),d.value&&a.createVNode(ee,{theme:i.theme,style:{display:n.catalogVisible?"block":"none"},class:`${c}-catalog-editor`,editorId:e,markedHeadingId:i.markedHeadingId},null)])}}}),re=a.defineComponent({name:"NormalToolbar",props:{title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function,default:()=>()=>{}}},setup(i,t){return()=>{const e=B({props:i,ctx:t},"trigger");return a.createVNode("div",{class:`${c}-toolbar-item`,title:i.title,onClick:i.onClick},[e])}}}),ae=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,t){return()=>{const e=B({props:i,ctx:t},"trigger"),n=B({props:i,ctx:t},"overlay");return a.createVNode(P,{visible:i.visible,onChange:i.onChange,overlay:n},{default:()=>[a.createVNode("div",{class:`${c}-toolbar-item`,title:i.title||""},[e])]})}}});return H.install=i=>(i.component(H.name,H),i.component(re.name,re),i.component(ae.name,ae),i.component(ee.name,ee),i),H.NormalToolbar=re,H.DropdownToolbar=ae,H.Catalog=ee,H});
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.md-divider{position:relative;display:inline-block;width:1px;top:.1em;height:.9em;margin:0 8px;background-color:#e6e6e6}.md-dark .md-divider{background-color:#2d2d2d}.md-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:10000;background-color:#fff}.md-dropdown-hidden{opacity:0;z-index:-10000}.md-dropdown-overlay{margin-top:6px}.md-dark .md-dropdown{background-color:#000}.md-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;height:100%;background-color:#00000073}.md-modal{display:block;background-color:#fff;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 #e6e6e6;position:fixed;z-index:20001;flex-direction:column}.md-modal-header{cursor:grab;display:flex;justify-content:space-between;padding:10px 24px;color:#222;font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;user-select:none;border-bottom:1px solid #e6e6e6;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 #e6e6e6 solid}.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:#ececec;border-bottom-left-radius:4px;color:#222;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-dark .md-clip-main,.md-dark .md-clip-preview{border:1px #2d2d2d solid}.md-dark .md-clip-main{margin-right:1em}.md-dark .md-clip-main .md-clip-cropper .md-clip-delete{background-color:#111;color:#999}.md-catalog-editor{position:absolute;overflow:auto;top:44px;right:0;height:calc(100% - 44px);background-color:#f6f6f6;border-left:1px solid #e6e6e6;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-link{padding:5px 0 5px 8px;line-height:1.2}.md-catalog-link span{position:relative;overflow:hidden;color:#222;white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer}.md-catalog-link span:hover{color:#73d13d}.md-catalog-link>.md-catalog-link{padding-top:5px;padding-bottom:5px}.md-catalog-link>.md-catalog-link:first-of-type{padding-top:10px}.md-catalog-link>.md-catalog-link:last-of-type{padding-bottom:0}.md-dark .md-catalog{background-color:#000;border-left-color:#2d2d2d}.md-dark .md-catalog-link span{color:#999}.md-dark .md-catalog-link span:hover{color:#73d13d}.md{width:100%;height:400px;position:relative;box-sizing:border-box;border:1px solid #e6e6e6;display:flex;flex-direction:column;overflow:hidden;background-color:#fff;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:#e2e2e2}.md ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.md ::-webkit-scrollbar-button:vertical{display:none}.md ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.md ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.md-icon{width:24px;height:24px;fill:currentColor;overflow:hidden}.md-menu{margin:0;padding:0;border-radius:3px;border:1px solid #e6e6e6}.md-menu-item{list-style:none;font-size:12px;color:#222;padding:4px 10px;cursor:pointer}.md-menu-item:first-of-type{padding-top:8px}.md-menu-item:last-of-type{padding-bottom:8px}.md-menu-item:hover{background-color:#f5f7fa}.md-table-shape{padding:4px;border-radius:3px;border:1px solid #e6e6e6;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 #e6e6e6;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:#e6e6e6}.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}.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:#222;width:80px;text-align:center;display:inline-block}.md-input{border-radius:4px;padding:4px 11px;color:#222;font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #e6e6e6;transition:all .2s}.md-input:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px #2d8cf033}.md-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid transparent;white-space:nowrap;user-select:none;height:32px;padding:0 15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:#515a6e;background-color:#fff;border-color:#e6e6e6;margin-left:10px}.md-btn:first-of-type{margin-left:0}.md-btn:hover{color:#57a3f3;background-color:#fff;border-color:#57a3f3}.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{color:#999;background-color:#000;border-color:#2d2d2d}.md-dark .md-toolbar{border-color:#2d2d2d}.md-dark .md-toolbar-item:hover{background-color:#1b1a1a}.md-dark .md-table-shape{border-color:#2d2d2d}.md-dark .md-table-shape-col-default{background-color:#222}.md-dark .md-table-shape-col-include{background-color:#555}.md-dark .md-modal{background-color:#000;border-color:#2d2d2d}.md-dark .md-modal-header{border-color:#2d2d2d;color:#999}.md-dark .md-modal-header .md-modal-title{color:#999}.md-dark .md-dropdown-overlay{background-color:#000}.md-dark .md-menu{border-color:#2d2d2d}.md-dark .md-menu{background-color:inherit}.md-dark .md-menu-item{color:#999}.md-dark .md-menu-item:hover{background-color:#1b1a1a}.md-dark .md-lable{color:#999}.md-dark .md-input,.md-dark .md-btn{color:#999;background-color:#000;border-color:#2d2d2d}.md-dark ::-webkit-scrollbar-corner,.md-dark ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.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}.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{color:inherit}.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;text-decoration:none}.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 pre,.default-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.default-theme pre code{display:block}.default-theme pre code .code-block{display:inline-block;width:100%;overflow:auto}.default-theme figure{margin:0;display:inline-block}.default-theme figure figcaption{color:#888;text-align:center;font-size:.875em;margin-top:5px}.default-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.default-theme div[inline]>figure{display:inline-block;padding-right:.5em}.default-theme div[inline]>figure img{padding:0;border:none}.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{text-decoration:none;color:#2d8cf0;transition:color .3s}.default-theme a:hover{color:#73d13d}.default-theme img{display:block;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;margin:20px 0;border-radius:5px;box-shadow:#0005 0 2px 2px;line-height:1.6}.default-theme pre code{position:relative;padding:1em;background-color:#282c34;color:#a9b7c6;border-radius:0 0 5px 5px}.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/aS3x0JwD05nKH9yRSXW8kEp2dsfiu/UnZKPG5xCRiQYuHb5/vvfyieZ4lbXO8FzU1uE62vwtLfHQXAPT064f3Hsq++cZ7ud2vHci+uv9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2y+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{width:100%;table-layout:fixed;overflow:auto;border-spacing:0;border-collapse:collapse}.default-theme table tr th,.default-theme table tr td{word-wrap:break-word;padding:6px 13px;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{color:inherit}.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;text-decoration:none}.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 pre,.github-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.github-theme pre code{display:block}.github-theme pre code .code-block{display:inline-block;width:100%;overflow:auto}.github-theme figure{margin:0;display:inline-block}.github-theme figure figcaption{color:#888;text-align:center;font-size:.875em;margin-top:5px}.github-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.github-theme div[inline]>figure{display:inline-block;padding-right:.5em}.github-theme div[inline]>figure img{padding:0;border:none}.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{text-decoration:none;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;line-height:1.45;margin-bottom:0;word-break:normal;letter-spacing:1px}.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{color:inherit}.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;text-decoration:none}.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 pre,.vuepress-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.vuepress-theme pre code{display:block}.vuepress-theme pre code .code-block{display:inline-block;width:100%;overflow:auto}.vuepress-theme figure{margin:0;display:inline-block}.vuepress-theme figure figcaption{color:#888;text-align:center;font-size:.875em;margin-top:5px}.vuepress-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.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{text-decoration:none;color:#42b983;font-weight:600}.vuepress-theme img{max-width:100%}.vuepress-theme div[inline]>figure{display:inline-block;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;font-size:.85rem;line-height:1.6rem}.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}
|
|
1
|
+
.md-divider{position:relative;display:inline-block;width:1px;top:.1em;height:.9em;margin:0 8px;background-color:#e6e6e6}.md-dark .md-divider{background-color:#2d2d2d}.md-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:10000;background-color:#fff}.md-dropdown-hidden{opacity:0;z-index:-10000}.md-dropdown-overlay{margin-top:6px}.md-dark .md-dropdown{background-color:#000}.md-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;height:100%;background-color:#00000073}.md-modal{display:block;background-color:#fff;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 #e6e6e6;position:fixed;z-index:20001;flex-direction:column}.md-modal-header{cursor:grab;display:flex;justify-content:space-between;padding:10px 24px;color:#222;font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;user-select:none;border-bottom:1px solid #e6e6e6;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 #e6e6e6 solid}.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:#ececec;border-bottom-left-radius:4px;color:#222;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-dark .md-clip-main,.md-dark .md-clip-preview{border:1px #2d2d2d solid}.md-dark .md-clip-main{margin-right:1em}.md-dark .md-clip-main .md-clip-cropper .md-clip-delete{background-color:#111;color:#999}.md-catalog-editor{position:absolute;overflow:auto;top:44px;right:0;height:calc(100% - 44px);background-color:#f6f6f6;border-left:1px solid #e6e6e6;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-link{padding:5px 0 5px 8px;line-height:1.2}.md-catalog-link span{position:relative;overflow:hidden;color:#222;white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer}.md-catalog-link span:hover{color:#73d13d}.md-catalog-link>.md-catalog-link{padding-top:5px;padding-bottom:5px}.md-catalog-link>.md-catalog-link:first-of-type{padding-top:10px}.md-catalog-link>.md-catalog-link:last-of-type{padding-bottom:0}.md-catalog-dark{background-color:#000;border-left-color:#2d2d2d}.md-catalog-dark .md-catalog-link span{color:#999}.md-catalog-dark .md-catalog-link span:hover{color:#73d13d}.md{width:100%;height:400px;position:relative;box-sizing:border-box;border:1px solid #e6e6e6;display:flex;flex-direction:column;overflow:hidden;background-color:#fff;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:#e2e2e2}.md ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.md ::-webkit-scrollbar-button:vertical{display:none}.md ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.md ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.md-icon{width:24px;height:24px;fill:currentColor;overflow:hidden}.md-menu{margin:0;padding:0;border-radius:3px;border:1px solid #e6e6e6}.md-menu-item{list-style:none;font-size:12px;color:#222;padding:4px 10px;cursor:pointer}.md-menu-item:first-of-type{padding-top:8px}.md-menu-item:last-of-type{padding-bottom:8px}.md-menu-item:hover{background-color:#f5f7fa}.md-table-shape{padding:4px;border-radius:3px;border:1px solid #e6e6e6;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 #e6e6e6;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:#e6e6e6}.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}.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:#222;width:80px;text-align:center;display:inline-block}.md-input{border-radius:4px;padding:4px 11px;color:#222;font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #e6e6e6;transition:all .2s}.md-input:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px #2d8cf033}.md-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid transparent;white-space:nowrap;user-select:none;height:32px;padding:0 15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:#515a6e;background-color:#fff;border-color:#e6e6e6;margin-left:10px}.md-btn:first-of-type{margin-left:0}.md-btn:hover{color:#57a3f3;background-color:#fff;border-color:#57a3f3}.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{color:#999;background-color:#000;border-color:#2d2d2d}.md-dark .md-toolbar{border-color:#2d2d2d}.md-dark .md-toolbar-item:hover{background-color:#1b1a1a}.md-dark .md-table-shape{border-color:#2d2d2d}.md-dark .md-table-shape-col-default{background-color:#222}.md-dark .md-table-shape-col-include{background-color:#555}.md-dark .md-modal{background-color:#000;border-color:#2d2d2d}.md-dark .md-modal-header{border-color:#2d2d2d;color:#999}.md-dark .md-modal-header .md-modal-title{color:#999}.md-dark .md-dropdown-overlay{background-color:#000}.md-dark .md-menu{border-color:#2d2d2d}.md-dark .md-menu{background-color:inherit}.md-dark .md-menu-item{color:#999}.md-dark .md-menu-item:hover{background-color:#1b1a1a}.md-dark .md-lable{color:#999}.md-dark .md-input,.md-dark .md-btn{color:#999;background-color:#000;border-color:#2d2d2d}.md-dark ::-webkit-scrollbar-corner,.md-dark ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-dark ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-dark ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-dark ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.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}.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{color:inherit}.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;text-decoration:none}.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 pre,.default-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.default-theme pre code{display:block}.default-theme pre code .code-block{display:inline-block;width:100%;overflow:auto}.default-theme figure{margin:0;display:inline-block}.default-theme figure figcaption{color:#888;text-align:center;font-size:.875em;margin-top:5px}.default-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.default-theme div[inline]>figure{display:inline-block;padding-right:.5em}.default-theme div[inline]>figure img{padding:0;border:none}.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{text-decoration:none;color:#2d8cf0;transition:color .3s}.default-theme a:hover{color:#73d13d}.default-theme img{display:block;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;margin:20px 0;border-radius:5px;box-shadow:#0005 0 2px 2px;line-height:1.6}.default-theme pre code{position:relative;padding:1em;background-color:#282c34;color:#a9b7c6;border-radius:0 0 5px 5px}.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/zQwMzDCDgCBKOIx4my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BEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEAQxzvj/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{width:100%;table-layout:fixed;overflow:auto;border-spacing:0;border-collapse:collapse}.default-theme table tr th,.default-theme table tr td{word-wrap:break-word;padding:6px 13px;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{color:inherit}.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;text-decoration:none}.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 pre,.github-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.github-theme pre code{display:block}.github-theme pre code .code-block{display:inline-block;width:100%;overflow:auto}.github-theme figure{margin:0;display:inline-block}.github-theme figure figcaption{color:#888;text-align:center;font-size:.875em;margin-top:5px}.github-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.github-theme div[inline]>figure{display:inline-block;padding-right:.5em}.github-theme div[inline]>figure img{padding:0;border:none}.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{text-decoration:none;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;line-height:1.45;margin-bottom:0;word-break:normal;letter-spacing:1px}.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{color:inherit}.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;text-decoration:none}.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 pre,.vuepress-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.vuepress-theme pre code{display:block}.vuepress-theme pre code .code-block{display:inline-block;width:100%;overflow:auto}.vuepress-theme figure{margin:0;display:inline-block}.vuepress-theme figure figcaption{color:#888;text-align:center;font-size:.875em;margin-top:5px}.vuepress-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.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{text-decoration:none;color:#42b983;font-weight:600}.vuepress-theme img{max-width:100%}.vuepress-theme div[inline]>figure{display:inline-block;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;font-size:.85rem;line-height:1.6rem}.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}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "md-editor-v3",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"vue",
|
|
6
6
|
"vue3",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"highlight.js": "^11.0.1",
|
|
69
69
|
"katex": "^0.15.1",
|
|
70
70
|
"less": "^4.1.1",
|
|
71
|
-
"marked": "^4.0.
|
|
71
|
+
"marked": "^4.0.12",
|
|
72
72
|
"mermaid": "^8.13.6",
|
|
73
73
|
"multiparty": "^4.2.2",
|
|
74
74
|
"prettier": "^2.3.2",
|