md-editor-v3 2.7.3-beta.0 → 2.8.0-beta.0

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.
@@ -9,7 +9,7 @@ declare const catalogLinkProps: () => {
9
9
  };
10
10
  markedHeadingId: {
11
11
  type: PropType<MarkedHeadingId>;
12
- default: () => () => void;
12
+ default: () => void;
13
13
  };
14
14
  scrollElement: {
15
15
  type: PropType<string | Element>;
@@ -17,7 +17,7 @@ declare const catalogLinkProps: () => {
17
17
  };
18
18
  onClick: {
19
19
  type: PropType<(e: MouseEvent, t: TocItem) => void>;
20
- default: () => () => void;
20
+ default: () => void;
21
21
  };
22
22
  scrollElementOffsetTop: {
23
23
  type: PropType<number>;
@@ -32,7 +32,7 @@ declare const CatalogLink: import("vue").DefineComponent<{
32
32
  };
33
33
  markedHeadingId: {
34
34
  type: PropType<MarkedHeadingId>;
35
- default: () => () => void;
35
+ default: () => void;
36
36
  };
37
37
  scrollElement: {
38
38
  type: PropType<string | Element>;
@@ -40,7 +40,7 @@ declare const CatalogLink: import("vue").DefineComponent<{
40
40
  };
41
41
  onClick: {
42
42
  type: PropType<(e: MouseEvent, t: TocItem) => void>;
43
- default: () => () => void;
43
+ default: () => void;
44
44
  };
45
45
  scrollElementOffsetTop: {
46
46
  type: PropType<number>;
@@ -53,7 +53,7 @@ declare const CatalogLink: import("vue").DefineComponent<{
53
53
  };
54
54
  markedHeadingId: {
55
55
  type: PropType<MarkedHeadingId>;
56
- default: () => () => void;
56
+ default: () => void;
57
57
  };
58
58
  scrollElement: {
59
59
  type: PropType<string | Element>;
@@ -61,7 +61,7 @@ declare const CatalogLink: import("vue").DefineComponent<{
61
61
  };
62
62
  onClick: {
63
63
  type: PropType<(e: MouseEvent, t: TocItem) => void>;
64
- default: () => () => void;
64
+ default: () => void;
65
65
  };
66
66
  scrollElementOffsetTop: {
67
67
  type: PropType<number>;
@@ -53,6 +53,10 @@ declare const MdCatalog: import("vue").DefineComponent<{
53
53
  type: PropType<number>;
54
54
  default: number;
55
55
  };
56
+ onClick: {
57
+ type: PropType<(e: MouseEvent, t: TocItem) => void>;
58
+ default: () => void;
59
+ };
56
60
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
57
61
  /**
58
62
  * 编辑器的Id,务必与需要绑定的编辑器Id相同
@@ -99,12 +103,17 @@ declare const MdCatalog: import("vue").DefineComponent<{
99
103
  type: PropType<number>;
100
104
  default: number;
101
105
  };
106
+ onClick: {
107
+ type: PropType<(e: MouseEvent, t: TocItem) => void>;
108
+ default: () => void;
109
+ };
102
110
  }>> & {
103
111
  onOnClick?: ((...args: any[]) => any) | undefined;
104
112
  }, {
105
113
  theme: Themes;
106
114
  class: string;
107
115
  markedHeadingId: MarkedHeadingId;
116
+ onClick: (e: MouseEvent, t: TocItem) => void;
108
117
  offsetTop: number;
109
118
  scrollElementOffsetTop: number;
110
119
  }>;
@@ -1083,7 +1083,7 @@ const dropdownToolbarProps$1 = () => ({
1083
1083
  },
1084
1084
  onChange: {
1085
1085
  type: Function,
1086
- default: () => () => {
1086
+ default: () => {
1087
1087
  }
1088
1088
  },
1089
1089
  relative: {
@@ -1217,7 +1217,7 @@ const modalProps = () => ({
1217
1217
  },
1218
1218
  onClose: {
1219
1219
  type: Function,
1220
- default: () => () => {
1220
+ default: () => {
1221
1221
  }
1222
1222
  },
1223
1223
  showAdjust: {
@@ -1230,7 +1230,7 @@ const modalProps = () => ({
1230
1230
  },
1231
1231
  onAdjust: {
1232
1232
  type: Function,
1233
- default: () => () => {
1233
+ default: () => {
1234
1234
  }
1235
1235
  },
1236
1236
  class: {
@@ -1384,12 +1384,12 @@ const linkProps = () => ({
1384
1384
  },
1385
1385
  onCancel: {
1386
1386
  type: Function,
1387
- default: () => () => {
1387
+ default: () => {
1388
1388
  }
1389
1389
  },
1390
1390
  onOk: {
1391
1391
  type: Function,
1392
- default: () => () => {
1392
+ default: () => {
1393
1393
  }
1394
1394
  }
1395
1395
  });
@@ -1484,12 +1484,12 @@ const clipProps = () => ({
1484
1484
  },
1485
1485
  onCancel: {
1486
1486
  type: Function,
1487
- default: () => () => {
1487
+ default: () => {
1488
1488
  }
1489
1489
  },
1490
1490
  onOk: {
1491
1491
  type: Function,
1492
- default: () => () => {
1492
+ default: () => {
1493
1493
  }
1494
1494
  }
1495
1495
  });
@@ -1655,12 +1655,12 @@ const modalsProps = () => ({
1655
1655
  },
1656
1656
  onCancel: {
1657
1657
  type: Function,
1658
- default: () => () => {
1658
+ default: () => {
1659
1659
  }
1660
1660
  },
1661
1661
  onOk: {
1662
1662
  type: Function,
1663
- default: () => () => {
1663
+ default: () => {
1664
1664
  }
1665
1665
  }
1666
1666
  });
@@ -1806,7 +1806,7 @@ const toolbarProps = () => ({
1806
1806
  },
1807
1807
  updateSetting: {
1808
1808
  type: Function,
1809
- default: () => () => {
1809
+ default: () => {
1810
1810
  }
1811
1811
  },
1812
1812
  tableShape: {
@@ -5537,14 +5537,14 @@ const alertTypes = [
5537
5537
  "tip",
5538
5538
  "warning"
5539
5539
  ];
5540
- const startReg = new RegExp(`^!!!\\s+(${alertTypes.join("|")})\\s+(.*)$`);
5540
+ const startReg = new RegExp(`^!!!\\s*(${alertTypes.join("|")})\\s*(.*)$`);
5541
5541
  const endReg = /^!!!\s*$/;
5542
5542
  const Alert = {
5543
5543
  name: "alert",
5544
5544
  level: "block",
5545
5545
  start(src) {
5546
5546
  var _a;
5547
- const index2 = (_a = src.match(new RegExp(`(^|[\\r\\n])!!!\\s+(${alertTypes.join("|")})\\s+(.*)`))) == null ? void 0 : _a.index;
5547
+ const index2 = (_a = src.match(new RegExp(`(^|[\\r\\n])!!!\\s*(${alertTypes.join("|")})\\s*(.*)`))) == null ? void 0 : _a.index;
5548
5548
  return index2;
5549
5549
  },
5550
5550
  tokenizer(src) {
@@ -6119,7 +6119,7 @@ const contentProps = () => ({
6119
6119
  },
6120
6120
  onChange: {
6121
6121
  type: Function,
6122
- default: () => () => {
6122
+ default: () => {
6123
6123
  }
6124
6124
  },
6125
6125
  setting: {
@@ -6128,12 +6128,12 @@ const contentProps = () => ({
6128
6128
  },
6129
6129
  onHtmlChanged: {
6130
6130
  type: Function,
6131
- default: () => () => {
6131
+ default: () => {
6132
6132
  }
6133
6133
  },
6134
6134
  onGetCatalog: {
6135
6135
  type: Function,
6136
- default: () => () => {
6136
+ default: () => {
6137
6137
  }
6138
6138
  },
6139
6139
  markedHeadingId: {
@@ -6272,7 +6272,7 @@ const checkboxProps = () => ({
6272
6272
  },
6273
6273
  onChange: {
6274
6274
  type: Function,
6275
- default: () => () => {
6275
+ default: () => {
6276
6276
  }
6277
6277
  }
6278
6278
  });
@@ -6295,7 +6295,7 @@ const scrollAutoProps = () => ({
6295
6295
  },
6296
6296
  onScrollAutoChange: {
6297
6297
  type: Function,
6298
- default: () => () => {
6298
+ default: () => {
6299
6299
  }
6300
6300
  }
6301
6301
  });
@@ -6333,7 +6333,7 @@ const footerProps = () => ({
6333
6333
  },
6334
6334
  onScrollAutoChange: {
6335
6335
  type: Function,
6336
- default: () => () => {
6336
+ default: () => {
6337
6337
  }
6338
6338
  },
6339
6339
  defFooters: {
@@ -6393,7 +6393,7 @@ const catalogLinkProps = () => ({
6393
6393
  },
6394
6394
  markedHeadingId: {
6395
6395
  type: Function,
6396
- default: () => () => {
6396
+ default: () => {
6397
6397
  }
6398
6398
  },
6399
6399
  scrollElement: {
@@ -6402,7 +6402,7 @@ const catalogLinkProps = () => ({
6402
6402
  },
6403
6403
  onClick: {
6404
6404
  type: Function,
6405
- default: () => () => {
6405
+ default: () => {
6406
6406
  }
6407
6407
  },
6408
6408
  scrollElementOffsetTop: {
@@ -6486,6 +6486,11 @@ const mdCatalogProps = () => ({
6486
6486
  scrollElementOffsetTop: {
6487
6487
  type: Number,
6488
6488
  default: 0
6489
+ },
6490
+ onClick: {
6491
+ type: Function,
6492
+ default: () => {
6493
+ }
6489
6494
  }
6490
6495
  });
6491
6496
  const MdCatalog = defineComponent({
@@ -6600,7 +6605,11 @@ const MdCatalog = defineComponent({
6600
6605
  "key": `link-${item.level}-${item.text}`,
6601
6606
  "scrollElement": state.scrollElement,
6602
6607
  "onClick": (e, t) => {
6603
- ctx.emit("onClick", e, t);
6608
+ if (props.onClick) {
6609
+ props.onClick(e, t);
6610
+ } else {
6611
+ ctx.emit("onClick", e, t);
6612
+ }
6604
6613
  },
6605
6614
  "scrollElementOffsetTop": props.scrollElementOffsetTop
6606
6615
  }, null);
@@ -6772,7 +6781,6 @@ const editorProps = () => ({
6772
6781
  });
6773
6782
  const markedHeadingId = (text) => text;
6774
6783
  var index = "";
6775
- var alert = "";
6776
6784
  var all = "";
6777
6785
  const Editor = defineComponent({
6778
6786
  name: "MdEditorV3",
@@ -1,5 +1,5 @@
1
- (function(o,c){typeof exports=="object"&&typeof module!="undefined"?module.exports=c(require("vue")):typeof define=="function"&&define.amd?define(["vue"],c):(o=typeof globalThis!="undefined"?globalThis:o||self,o.MdEditorV3=c(o.Vue))})(this,function(o){"use strict";var fi=Object.defineProperty,mi=Object.defineProperties;var gi=Object.getOwnPropertyDescriptors;var zt=Object.getOwnPropertySymbols;var pi=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable;var It=(o,c,Z)=>c in o?fi(o,c,{enumerable:!0,configurable:!0,writable:!0,value:Z}):o[c]=Z,q=(o,c)=>{for(var Z in c||(c={}))pi.call(c,Z)&&It(o,Z,c[Z]);if(zt)for(var Z of zt(c))ki.call(c,Z)&&It(o,Z,c[Z]);return o},fe=(o,c)=>mi(o,gi(c));const c="md-editor",Z="md-editor-v3",At="https://at.alicdn.com/t/c/font_2605852_gymddm8qwtd.js",O="https://cdnjs.cloudflare.com/ajax/libs",Ft=`${O}/highlight.js/11.7.0/highlight.min.js`,qe={main:`${O}/prettier/2.8.0/standalone.js`,markdown:`${O}/prettier/2.8.0/parser-markdown.js`},Ke={css:`${O}/cropperjs/1.5.13/cropper.min.css`,js:`${O}/cropperjs/1.5.13/cropper.min.js`},Lt=`${O}/screenfull.js/5.2.0/screenfull.min.js`,Ze=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],Ge=["markdownTotal","=","scrollSwitch"],We={"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",task:"\u4EFB\u52A1\u5217\u8868",codeRow:"\u884C\u5185\u4EE3\u7801",code:"\u5757\u7EA7\u4EE3\u7801",link:"\u94FE\u63A5",image:"\u56FE\u7247",table:"\u8868\u683C",mermaid:"mermaid\u56FE",katex:"katex\u516C\u5F0F",revoke:"\u540E\u9000",next:"\u524D\u8FDB",save:"\u4FDD\u5B58",prettier:"\u7F8E\u5316",pageFullscreen:"\u6D4F\u89C8\u5668\u5168\u5C4F",fullscreen:"\u5C4F\u5E55\u5168\u5C4F",preview:"\u9884\u89C8",htmlPreview:"html\u4EE3\u7801\u9884\u89C8",catalog:"\u76EE\u5F55",github:"\u6E90\u7801\u5730\u5740"},titleItem:{h1:"\u4E00\u7EA7\u6807\u9898",h2:"\u4E8C\u7EA7\u6807\u9898",h3:"\u4E09\u7EA7\u6807\u9898",h4:"\u56DB\u7EA7\u6807\u9898",h5:"\u4E94\u7EA7\u6807\u9898",h6:"\u516D\u7EA7\u6807\u9898"},imgTitleItem:{link:"\u6DFB\u52A0\u94FE\u63A5",upload:"\u4E0A\u4F20\u56FE\u7247",clip2upload:"\u88C1\u526A\u4E0A\u4F20"},linkModalTips:{linkTitle:"\u6DFB\u52A0\u94FE\u63A5",imageTitle:"\u6DFB\u52A0\u56FE\u7247",descLabel:"\u94FE\u63A5\u63CF\u8FF0\uFF1A",descLabelPlaceHolder:"\u8BF7\u8F93\u5165\u63CF\u8FF0...",urlLabel:"\u94FE\u63A5\u5730\u5740\uFF1A",urlLabelPlaceHolder:"\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",successTips:"\u5DF2\u590D\u5236\uFF01",failTips:"\u590D\u5236\u5931\u8D25\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"},footer:{markdownTotal:"\u5B57\u6570",scrollAuto:"\u540C\u6B65\u6EDA\u52A8"}},"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",task:"task 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:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Word Count",scrollAuto:"Scroll Auto"}}},_t=`${O}/mermaid/9.3.0/mermaid.min.js`,Xe={js:`${O}/KaTeX/0.16.3/katex.min.js`,css:`${O}/KaTeX/0.16.3/katex.min.css`},Qe={a11y:{light:`${O}/highlight.js/11.7.0/styles/a11y-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/a11y-dark.min.css`},atom:{light:`${O}/highlight.js/11.7.0/styles/atom-one-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/atom-one-dark.min.css`},github:{light:`${O}/highlight.js/11.7.0/styles/github.min.css`,dark:`${O}/highlight.js/11.7.0/styles/github-dark.min.css`},gradient:{light:`${O}/highlight.js/11.7.0/styles/gradient-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/gradient-dark.min.css`},kimbie:{light:`${O}/highlight.js/11.7.0/styles/kimbie-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/kimbie-dark.min.css`},paraiso:{light:`${O}/highlight.js/11.7.0/styles/paraiso-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${O}/highlight.js/11.7.0/styles/qtcreator-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${O}/highlight.js/11.7.0/styles/stackoverflow-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/stackoverflow-dark.min.css`}},B={markedRenderer:i=>i,markedExtensions:[],markedOptions:{},editorExtensions:{},editorConfig:{}},Rt=i=>{if(i)for(const t in i){const e=i[t];e&&(B[t]=e)}};class Dt{constructor(){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(a){console.error(`${e} monitor event exception\uFF01`,a)}})}}var b=new Dt;const J=(i,t=0,e=t)=>new Promise((n,l)=>{i.setSelectionRange?setTimeout(()=>{i.setSelectionRange(t,e),i.focus(),n(!0)},0):(console.error("Can not reset position!"),l())}),Re=(i,t,e)=>{const{deviationStart:n=0,deviationEnd:l=0,direct:r=!1,select:s=!1}=e;let a="";if(i.selectionStart||i.selectionStart===0){const u=i.selectionStart,h=i.selectionEnd||0,{prefixVal:d=i.value.substring(0,u),subfixVal:g=i.value.substring(h,i.value.length)}=e;a=d+t+g,J(i,s?u+n:u+t.length+l,u+t.length+l)}else a+=t;return r&&(i.value=a),a},jt=(i,t={newWindow:!0,nofollow:!0})=>{i||console.error("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)},Ye=(i,t)=>{const e=ke(()=>{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,a=i.scrollHeight,u=t.scrollHeight,h=(a-r)/(u-s);l.target===i?(t.removeEventListener("scroll",n),t.scrollTo({top:i.scrollTop/h}),e()):(i.removeEventListener("scroll",n),i.scrollTo({top:t.scrollTop*h}),e())};return[e,()=>{i.removeEventListener("scroll",n),t.removeEventListener("scroll",n)}]},Ht=(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 a=new Uint8Array(s);for(;s--;)a[s]=r.charCodeAt(s);return new File([a],t,{type:l})}return null},Je=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("")}`},ke=(i,t=200)=>{let e=0;return(...n)=>{e&&clearTimeout(e),e=window.setTimeout(()=>{i.apply(globalThis,n),e=0},t)}},Pt=(i,t=200)=>{let e=0,n=null;return(...l)=>{const r=s=>{e===0&&(e=s),s-e>=t?(i.apply(globalThis,n),n=null,e=0):window.requestAnimationFrame(r)};n===null&&window.requestAnimationFrame(r),n=l}},et=(i,t="$")=>{const e=i.split(t);let n=t,l="";for(let r=1;r<e.length;r++)if(/\\$/.test(e[r]))n+=e[r]+"$",l+=e[r]+"$";else{n+=e[r]+t,l+=e[r];break}return[n,l]},Ot=i=>{var e;return navigator.userAgent.indexOf("Firefox")>-1?i.value.substring(i.selectionStart,i.selectionEnd):((e=window.getSelection())==null?void 0:e.toString())||""},Mt=(i,t)=>{const e=i==null?void 0:i.getBoundingClientRect();if(t===document.documentElement)return e.top-t.clientTop;const n=t==null?void 0:t.getBoundingClientRect();return e.top-n.top},Bt=(i,t)=>{const e=q({},i);return t.forEach(n=>{Reflect.deleteProperty(e,n)}),e},tt=(i,t)=>{const e=n=>{const l=i.parentElement||document.body,r=l.offsetWidth,s=l.offsetHeight,{clientWidth:a}=document.documentElement,{clientHeight:u}=document.documentElement,h=n.offsetX,d=n.offsetY,g=f=>{let v=f.x+document.body.scrollLeft-document.body.clientLeft-h,x=f.y+document.body.scrollTop-document.body.clientTop-d;v=v<1?1:v<a-r-1?v:a-r-1,x=x<1?1:x<u-s-1?x:u-s-1,t?t(v,x):(l.style.left=`${v}px`,l.style.top=`${x}px`)};document.addEventListener("mousemove",g);const m=()=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m)};document.addEventListener("mouseup",m)};return i.addEventListener("mousedown",e),()=>{i.removeEventListener("mousedown",e)}},G=(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)},Ut=ke((i,t,e)=>{const n=document.getElementById(i);n&&n.setAttribute(t,e)},10),be="onSave",De="changeCatalogVisible",nt="changeFullscreen",it="pageFullscreenChanged",lt="fullscreenChanged",ot="previewChanged",rt="htmlPreviewChanged",at="catalogVisibleChanged",st="textarea_focus",qt=(i,t)=>{const{editorId:e,noPrettier:n,previewOnly:l}=i,r=o.reactive({buildFinished:!1,html:""}),s=a=>{if(a.target===document.querySelector(`#${i.editorId}-textarea`))if(b.emit(e,"selectTextChange"),a.ctrlKey||a.metaKey)switch(a.code){case"KeyS":{a.shiftKey?b.emit(e,"replace","strikeThrough"):(b.emit(e,be,i.modelValue),a.preventDefault());break}case"KeyB":{b.emit(e,"replace","bold"),a.preventDefault();break}case"KeyU":{a.shiftKey?(b.emit(e,"replace","unorderedList"),a.preventDefault()):(b.emit(e,"replace","underline"),a.preventDefault());break}case"KeyI":{a.shiftKey?(b.emit(e,"openModals","image"),a.preventDefault()):(b.emit(e,"replace","italic"),a.preventDefault());break}case"Digit1":{b.emit(e,"replace","h1"),a.preventDefault();break}case"Digit2":{b.emit(e,"replace","h2"),a.preventDefault();break}case"Digit3":{b.emit(e,"replace","h3"),a.preventDefault();break}case"Digit4":{b.emit(e,"replace","h4"),a.preventDefault();break}case"Digit5":{b.emit(e,"replace","h5"),a.preventDefault();break}case"Digit6":{b.emit(e,"replace","h6"),a.preventDefault();break}case"ArrowUp":{b.emit(e,"replace","sup"),a.preventDefault();break}case"ArrowDown":{b.emit(e,"replace","sub"),a.preventDefault();break}case"KeyQ":{if(a.key==="a"){a.target.select();return}b.emit(e,"replace","quote"),a.preventDefault();break}case"KeyA":if(a.key==="q"){b.emit(e,"replace","quote"),a.preventDefault();break}else return;case"KeyO":{b.emit(e,"replace","orderedList"),a.preventDefault();break}case"KeyC":{if(a.shiftKey)b.emit(e,"replace","code"),a.preventDefault();else if(a.altKey)b.emit(e,"replace","codeRow"),a.preventDefault();else{a.preventDefault(),b.emit(e,"replace","ctrlC");break}break}case"KeyL":{b.emit(e,"openModals","link"),a.preventDefault();break}case"KeyZ":{if(a.key==="w")return;a.shiftKey?(b.emit(e,"ctrlShiftZ"),a.preventDefault()):(b.emit(e,"ctrlZ"),a.preventDefault());break}case"KeyW":if(a.key==="z"){a.shiftKey?(b.emit(e,"ctrlShiftZ"),a.preventDefault()):(b.emit(e,"ctrlZ"),a.preventDefault());break}else return;case"KeyF":{a.shiftKey&&(n||(b.emit(e,"replace","prettier"),a.preventDefault()));break}case"KeyT":{a.altKey&&a.shiftKey&&(b.emit(e,"replace","table"),a.preventDefault());break}case"KeyX":{b.emit(e,"replace","ctrlX"),a.preventDefault();break}case"KeyD":{a.preventDefault(),b.emit(e,"replace","ctrlD");break}}else a.code==="Tab"&&(a.preventDefault(),a.shiftKey?b.emit(e,"replace","shiftTab"):b.emit(e,"replace","tab"))};o.watch(()=>i.modelValue,()=>{r.buildFinished=!1}),o.onMounted(()=>{l||(window.addEventListener("keydown",s),b.on(e,{name:"buildFinished",callback(a){r.buildFinished=!0,r.html=a}}),b.on(e,{name:be,callback(){const a=new Promise(u=>{if(r.buildFinished)u(r.html);else{const h=d=>{u(d),b.remove(e,"buildFinished",h)};b.on(e,{name:"buildFinished",callback:h})}});i.onSave?i.onSave(i.modelValue,a):t.emit("onSave",i.modelValue,a)}}))}),o.onBeforeUnmount(()=>{l||window.removeEventListener("keydown",s)})},Kt=i=>{var r;const{editorId:t,previewOnly:e}=i,n=(r=B==null?void 0:B.editorExtensions)==null?void 0:r.highlight;o.provide("editorId",t),o.provide("tabWidth",i.tabWidth),o.provide("theme",o.computed(()=>i.theme)),o.provide("highlight",o.computed(()=>{const s=q(q({},Qe),n==null?void 0:n.css),a=i.codeStyleReverse&&i.codeStyleReverseList.includes(i.previewTheme)?"dark":i.theme;return{js:(n==null?void 0:n.js)||Ft,css:s[i.codeTheme]?s[i.codeTheme][a]:Qe.atom[a]}})),o.provide("historyLength",i.historyLength),o.provide("previewOnly",e),o.provide("showCodeRowNumber",i.showCodeRowNumber);const l=o.computed(()=>{var a;const s=q(q({},We),(a=B==null?void 0:B.editorConfig)==null?void 0:a.languageUserDefined);return s[i.language]?s[i.language]:We["zh-CN"]});o.provide("usedLanguageText",l),o.provide("previewTheme",o.computed(()=>i.previewTheme))},Zt=i=>{var h,d,g,m,f,v;const{noPrettier:t,previewOnly:e,noIconfont:n,noUploadImg:l}=i,{editorExtensions:r}=B,s=t||!!((d=(h=B.editorExtensions)==null?void 0:h.prettier)!=null&&d.prettierInstance),a=t||!!((m=(g=B.editorExtensions)==null?void 0:g.prettier)!=null&&m.parserMarkdownInstance),u=l||!!((v=(f=B.editorExtensions)==null?void 0:f.cropper)!=null&&v.instance);o.onMounted(()=>{var z,L,_,I;const x=document.createElement("script");x.src=(r==null?void 0:r.iconfont)||At,x.id=`${c}-icon`;const S=document.createElement("script"),k=document.createElement("script");S.src=((z=r==null?void 0:r.prettier)==null?void 0:z.standaloneJs)||qe.main,S.id=`${c}-prettier`,k.src=((L=r==null?void 0:r.prettier)==null?void 0:L.parserMarkdownJs)||qe.markdown,k.id=`${c}-prettierMD`;const y=document.createElement("link");y.rel="stylesheet",y.href=((_=r==null?void 0:r.cropper)==null?void 0:_.css)||Ke.css,y.id=`${c}-cropperCss`;const E=document.createElement("script");E.src=((I=r==null?void 0:r.cropper)==null?void 0:I.js)||Ke.js,E.id=`${c}-cropper`,e||(n||G(x),u||(G(y),G(E)),s||G(S),a||G(k))})},Gt=(i,t)=>{const{editorId:e,previewOnly:n}=i,l=o.reactive({pageFullscreen:i.pageFullscreen,fullscreen:!1,preview:i.preview,htmlPreview:i.preview?!1:i.htmlPreview}),r=(u,h)=>{l[u]=h===void 0?!l[u]:h,u==="preview"&&l.preview?l.htmlPreview=!1:u==="htmlPreview"&&l.htmlPreview&&(l.preview=!1)};let s="";const a=()=>{l.pageFullscreen||l.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};return o.watch(()=>[l.pageFullscreen,l.fullscreen],a),o.onMounted(()=>{n||b.on(e,{name:"uploadImage",callback(u,h){const d=g=>{b.emit(e,"replace","image",{desc:"",urls:g}),h&&h()};i.onUploadImg?i.onUploadImg(u,d):t.emit("onUploadImg",u,d)}}),s=document.body.style.overflow,a()}),[l,r]},Wt=i=>{const{editorId:t}=i,e=o.ref(!1);o.onMounted(()=>{b.on(t,{name:De,callback:l=>{l===void 0?e.value=!e.value:e.value=l}})});const n=o.computed(()=>!i.toolbarsExclude.includes("catalog")&&i.toolbars.includes("catalog"));return[e,n]},Xt=(i,t,e,n,l)=>{const{editorId:r}=i;o.watch(()=>n.pageFullscreen,a=>{b.emit(r,it,a)}),o.watch(()=>n.fullscreen,a=>{b.emit(r,lt,a)}),o.watch(()=>n.preview,a=>{b.emit(r,ot,a)}),o.watch(()=>n.htmlPreview,a=>{b.emit(r,rt,a)}),o.watch(e,a=>{b.emit(r,at,a)});const s={on(a,u){switch(a){case"pageFullscreen":{b.on(r,{name:it,callback(h){u(h)}});break}case"fullscreen":{b.on(r,{name:lt,callback(h){u(h)}});break}case"preview":{b.on(r,{name:ot,callback(h){u(h)}});break}case"htmlPreview":{b.on(r,{name:rt,callback(h){u(h)}});break}case"catalog":{b.on(r,{name:at,callback(h){u(h)}});break}}},togglePageFullscreen(a){l("pageFullscreen",a)},toggleFullscreen(a){b.emit(r,nt,a)},togglePreview(a){l("preview",a)},toggleHtmlPreview(a){l("htmlPreview",a)},toggleCatalog(a){b.emit(r,De,a)},triggerSave(){b.emit(r,be)},insert(a){b.emit(r,"replace","universal",{generate:a})},focus(){b.emit(r,st)}};t.expose(s)};var bi="",Qt=o.defineComponent({setup(){return()=>o.createVNode("div",{class:`${c}-divider`},null)}});const W=({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 yi="";const Yt=()=>({trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}},relative:{type:String,default:"html"}});var re=o.defineComponent({props:Yt(),setup(i,t){const e=`${c}-dropdown-hidden`,n=o.reactive({overlayClass:[e],overlayStyle:{},triggerHover:!1,overlayHover:!1}),l=o.ref(),r=o.ref(),s=()=>{var E;i.trigger==="hover"&&(n.triggerHover=!0);const g=l.value,m=r.value,f=g.getBoundingClientRect(),v=g.offsetTop,x=g.offsetLeft,S=f.height,k=f.width,y=((E=document.querySelector(i.relative))==null?void 0:E.scrollLeft)||0;n.overlayStyle=fe(q({},n.overlayStyle),{top:v+S+"px",left:x-m.offsetWidth/2+k/2-y+"px"}),i.onChange(!0)},a=()=>{n.overlayHover=!0};o.watch(()=>i.visible,g=>{g?n.overlayClass=n.overlayClass.filter(m=>m!==e):n.overlayClass.push(e)});const u=g=>{const m=l.value,f=r.value;!m.contains(g.target)&&!f.contains(g.target)&&i.onChange(!1)};let h=-1;const d=g=>{l.value===g.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(h),h=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&i.onChange(!1)},10)};return o.onMounted(()=>{i.trigger==="click"?(l.value.addEventListener("click",s),document.addEventListener("click",u)):(l.value.addEventListener("mouseenter",s),l.value.addEventListener("mouseleave",d),r.value.addEventListener("mouseenter",a),r.value.addEventListener("mouseleave",d))}),o.onBeforeUnmount(()=>{i.trigger==="click"?(l.value.removeEventListener("click",s),document.removeEventListener("click",u)):(l.value.removeEventListener("mouseenter",s),l.value.removeEventListener("mouseleave",d),r.value.removeEventListener("mouseenter",a),r.value.removeEventListener("mouseleave",d))}),()=>{const g=W({ctx:t}),m=W({props:i,ctx:t},"overlay"),f=o.cloneVNode(g instanceof Array?g[0]:g,{ref:l}),v=o.createVNode("div",{class:[`${c}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[o.createVNode("div",{class:`${c}-dropdown-overlay`},[m instanceof Array?m[0]:m])]);return[f,v]}}}),wi="";const Jt=()=>({title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function,default:()=>()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>()=>{}},class:{type:String}});var je=o.defineComponent({props:Jt(),setup(i,t){const e=o.ref(i.visible),n=o.ref([`${c}-modal`]),l=o.ref(),r=o.ref();let s=()=>{};const a=o.reactive({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),u=o.computed(()=>i.isFullscreen?{width:"100%",height:"100%"}:{width:i.width,height:i.height});return o.onMounted(()=>{s=tt(r.value,(h,d)=>{a.initPos.left=h+"px",a.initPos.top=d+"px"})}),o.onBeforeUnmount(()=>{s()}),o.watch(()=>i.isFullscreen,h=>{h?s():s=tt(r.value,(d,g)=>{a.initPos.left=d+"px",a.initPos.top=g+"px"})}),o.watch(()=>i.visible,h=>{h?(n.value.push("zoom-in"),e.value=h,o.nextTick(()=>{const d=l.value.offsetWidth/2,g=l.value.offsetHeight/2,m=document.documentElement.clientWidth/2,f=document.documentElement.clientHeight/2;a.initPos.left=m-d+"px",a.initPos.top=f-g+"px"}),setTimeout(()=>{n.value=n.value.filter(d=>d!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(d=>d!=="zoom-out"),e.value=h},130))}),()=>{const h=W({ctx:t}),d=W({props:i,ctx:t},"title");return o.createVNode("div",{class:[i.class],style:{display:e.value?"block":"none"}},[o.createVNode("div",{class:`${c}-modal-mask`,onClick:i.onClose},null),o.createVNode("div",{class:n.value,style:q(q({},a.initPos),u.value),ref:l},[o.createVNode("div",{class:`${c}-modal-header`,ref:r},[d||""]),o.createVNode("div",{class:`${c}-modal-body`},[h]),o.createVNode("div",{class:`${c}-modal-func`},[i.showAdjust&&o.createVNode("div",{class:`${c}-modal-adjust`,onClick:g=>{g.stopPropagation(),i.isFullscreen?a.initPos=a.historyPos:(a.historyPos=a.initPos,a.initPos={left:"0",top:"0"}),i.onAdjust(!i.isFullscreen)}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":`#md-editor-icon-${i.isFullscreen?"suoxiao":"fangda"}`},null)])]),o.createVNode("div",{class:`${c}-modal-close`,onClick:g=>{g.stopPropagation(),i.onClose&&i.onClose()}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-close"},null)])])])])])}}});const en=()=>({type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}});var tn=o.defineComponent({props:en(),setup(i){const t=o.inject("usedLanguageText"),e=o.inject("editorId"),n=o.computed(()=>{var r,s;switch(i.type){case"link":return(r=t.value.linkModalTips)==null?void 0:r.linkTitle;case"image":return(s=t.value.linkModalTips)==null?void 0:s.imageTitle;default:return""}}),l=o.reactive({desc:"",url:""});return o.watch(()=>i.visible,r=>{r||setTimeout(()=>{l.desc="",l.url=""},200)}),()=>o.createVNode(je,{title:n.value,visible:i.visible,onClose:i.onCancel},{default:()=>{var r,s,a,u,h;return[o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("label",{class:`${c}-label`,for:`link-desc-${e}`},[(r=t.value.linkModalTips)==null?void 0:r.descLabel]),o.createVNode("input",{placeholder:(s=t.value.linkModalTips)==null?void 0:s.descLabelPlaceHolder,class:`${c}-input`,id:`link-desc-${e}`,type:"text",value:l.desc,onChange:d=>{l.desc=d.target.value},autocomplete:"off"},null)]),o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("label",{class:`${c}-label`,for:`link-url-${e}`},[(a=t.value.linkModalTips)==null?void 0:a.urlLabel]),o.createVNode("input",{placeholder:(u=t.value.linkModalTips)==null?void 0:u.urlLabelPlaceHolder,class:`${c}-input`,id:`link-url-${e}`,type:"text",value:l.url,onChange:d=>{l.url=d.target.value},autocomplete:"off"},null)]),o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("button",{class:[`${c}-btn`,`${c}-btn-row`],type:"button",onClick:()=>{i.onOk(l),l.desc="",l.url=""}},[(h=t.value.linkModalTips)==null?void 0:h.buttonOK])])]}})}}),xi="";const nn=()=>({visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}});var ln=o.defineComponent({props:nn(),setup(i){var d,g;const t=o.inject("usedLanguageText"),e=o.inject("editorId");let n=(g=(d=B==null?void 0:B.editorExtensions)==null?void 0:d.cropper)==null?void 0:g.instance;const l=o.ref(),r=o.ref(),s=o.ref(),a=o.reactive({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let u=null;o.watch(()=>i.visible,()=>{i.visible&&!a.cropperInited&&(n=n||window.Cropper,l.value.onchange=()=>{if(!n){b.emit(e,"errorCatcher",{name:"Cropper",message:"Cropper is undefined"});return}const m=l.value.files||[];if(a.imgSelected=!0,(m==null?void 0:m.length)>0){const f=new FileReader;f.onload=v=>{a.imgSrc=v.target.result,o.nextTick(()=>{u=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`})})},f.readAsDataURL(m[0])}})}),o.watch(()=>[a.imgSelected],()=>{s.value.style=""}),o.watch(()=>a.isFullscreen,()=>{o.nextTick(()=>{u==null||u.destroy(),s.value.style="",r.value&&(u=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`}))})});const h=()=>{u.clear(),u.destroy(),u=null,l.value.value="",a.imgSelected=!1};return()=>{var m;return o.createVNode(je,{class:`${c}-modal-clip`,title:(m=t.value.clipModalTips)==null?void 0:m.title,visible:i.visible,onClose:i.onCancel,showAdjust:!0,isFullscreen:a.isFullscreen,onAdjust:f=>{a.isFullscreen=f},width:"668px",height:"421px"},{default:()=>{var f,v;return[o.createVNode("div",{class:`${c}-form-item ${c}-clip`},[o.createVNode("div",{class:`${c}-clip-main`},[a.imgSelected?o.createVNode("div",{class:`${c}-clip-cropper`},[o.createVNode("img",{src:a.imgSrc,ref:r,style:{display:"none"},alt:""},null),o.createVNode("div",{class:`${c}-clip-delete`,onClick:h},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-delete"},null)])])]):o.createVNode("div",{class:`${c}-clip-upload`,onClick:()=>{l.value.click()}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-upload"},null)])])]),o.createVNode("div",{class:`${c}-clip-preview`},[o.createVNode("div",{class:`${c}-clip-preview-target`,ref:s},null)])]),o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("button",{class:`${c}-btn`,type:"button",onClick:()=>{if(u){const x=u.getCroppedCanvas();b.emit(e,"uploadImage",[Ht(x.toDataURL("image/png"))],i.onOk),h()}}},[((f=t.value.clipModalTips)==null?void 0:f.buttonUpload)||((v=t.value.linkModalTips)==null?void 0:v.buttonOK)])]),o.createVNode("input",{ref:l,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}});const on=()=>({type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>()=>{}},onOk:{type:Function,default:()=>()=>{}}});var rn=o.defineComponent({props:on(),setup(i){return()=>o.createVNode(o.Fragment,null,[o.createVNode(tn,{type:i.type,visible:i.linkVisible,onOk:i.onOk,onCancel:i.onCancel},null),o.createVNode(ln,{visible:i.clipVisible,onOk:i.onOk,onCancel:i.onCancel},null)])}});const an=i=>{var u,h,d,g;const t=o.inject("editorId");let e=(h=(u=B.editorExtensions)==null?void 0:u.screenfull)==null?void 0:h.instance;const n=(g=(d=B.editorExtensions)==null?void 0:d.screenfull)==null?void 0:g.js,l=o.ref(!1),r=m=>{if(!e){b.emit(t,"errorCatcher",{name:"fullscreen",message:"fullscreen is undefined"});return}e.isEnabled?(l.value=!0,(m===void 0?!e.isFullscreen:m)?e.request():e.exit()):console.error("browser does not support screenfull!")},s=()=>{e&&e.isEnabled&&e.on("change",()=>{(l.value||i.setting.fullscreen)&&(l.value=!1,i.updateSetting("fullscreen"))})},a=()=>{e=window.screenfull,s()};return o.onMounted(()=>{if(s(),!e){const m=document.createElement("script");m.src=n||Lt,m.onload=a,m.id=`${c}-screenfull`,G(m,"screenfull")}}),o.onMounted(()=>{b.on(t,{name:nt,callback:r})}),{fullscreenHandler:r}},sn=()=>({tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}}),cn=o.defineComponent({name:"TableShape",props:sn(),setup(i){const t=o.reactive({x:-1,y:-1});return()=>o.createVNode("div",{class:`${c}-table-shape`,onMouseleave:()=>{t.x=-1,t.y=-1}},[new Array(i.tableShape[1]).fill("").map((e,n)=>o.createVNode("div",{class:`${c}-table-shape-row`,key:`table-shape-row-${n}`},[new Array(i.tableShape[0]).fill("").map((l,r)=>o.createVNode("div",{class:`${c}-table-shape-col`,key:`table-shape-col-${r}`,onMouseenter:()=>{t.x=n,t.y=r},onClick:()=>{i.onSelected(t)}},[o.createVNode("div",{class:[`${c}-table-shape-col-default`,n<=t.x&&r<=t.y&&`${c}-table-shape-col-include`]},null)]))]))])}}),dn=()=>({noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean}});var un=o.defineComponent({name:"MDEditorToolbar",props:dn(),setup(i){const t=o.inject("editorId"),e=o.inject("usedLanguageText"),{fullscreenHandler:n}=an(i),l=`${t}-toolbar-wrapper`,r=o.reactive({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),s=(f,v)=>{b.emit(t,"replace",f,v)},a=o.reactive({type:"link",linkVisible:!1,clipVisible:!1}),u=o.ref();o.onMounted(()=>{b.on(t,{name:"openModals",callback(f){a.type=f,a.linkVisible=!0}})});const h=o.computed(()=>{const f=i.toolbars.filter(k=>!i.toolbarsExclude.includes(k)),v=f.indexOf("="),x=v===-1?f:f.slice(0,v+1),S=v===-1?[]:f.slice(v,Number.MAX_SAFE_INTEGER);return[x,S]}),d=o.ref(),g=()=>{b.emit(t,"uploadImage",Array.from(d.value.files||[])),d.value.value=""};o.onMounted(()=>{d.value.addEventListener("change",g)});const m=f=>{var v,x,S,k,y,E,z,L,_,I,p,M,j,D,N,w,$,F,A,R,K,ne,Q,ce,Ee,Se,Ne,ie,Te,Ve,oe,ze,Ie,de,ue,Ae,Fe,he,Le,_e,pe,Tt,Vt;if(Ze.includes(f))switch(f){case"-":return o.createVNode(Qt,null,null);case"bold":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(v=e.value.toolbarTips)==null?void 0:v.bold,onClick:()=>{s("bold")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-bold"},null)])]);case"underline":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(x=e.value.toolbarTips)==null?void 0:x.underline,onClick:()=>{s("underline")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-underline"},null)])]);case"italic":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.italic,onClick:()=>{s("italic")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-italic"},null)])]);case"strikeThrough":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(k=e.value.toolbarTips)==null?void 0:k.strikeThrough,onClick:()=>{s("strikeThrough")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-strike-through"},null)])]);case"title":return o.createVNode(re,{relative:`#${l}`,visible:r.title,onChange:H=>{r.title=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h1")}},[(y=e.value.titleItem)==null?void 0:y.h1]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h2")}},[(E=e.value.titleItem)==null?void 0:E.h2]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h3")}},[(z=e.value.titleItem)==null?void 0:z.h3]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h4")}},[(L=e.value.titleItem)==null?void 0:L.h4]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h5")}},[(_=e.value.titleItem)==null?void 0:_.h5]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h6")}},[(I=e.value.titleItem)==null?void 0:I.h6])])},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.title},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-title"},null)])])]}});case"sub":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(p=e.value.toolbarTips)==null?void 0:p.sub,onClick:()=>{s("sub")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-sub"},null)])]);case"sup":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(M=e.value.toolbarTips)==null?void 0:M.sup,onClick:()=>{s("sup")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-sup"},null)])]);case"quote":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(j=e.value.toolbarTips)==null?void 0:j.quote,onClick:()=>{s("quote")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-quote"},null)])]);case"unorderedList":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(D=e.value.toolbarTips)==null?void 0:D.unorderedList,onClick:()=>{s("unorderedList")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-unordered-list"},null)])]);case"orderedList":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(N=e.value.toolbarTips)==null?void 0:N.orderedList,onClick:()=>{s("orderedList")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-ordered-list"},null)])]);case"task":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(w=e.value.toolbarTips)==null?void 0:w.task,onClick:()=>{s("task")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-task"},null)])]);case"codeRow":return o.createVNode("div",{class:`${c}-toolbar-item`,title:($=e.value.toolbarTips)==null?void 0:$.codeRow,onClick:()=>{s("codeRow")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-code-row"},null)])]);case"code":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(F=e.value.toolbarTips)==null?void 0:F.code,onClick:()=>{s("code")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-code"},null)])]);case"link":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(A=e.value.toolbarTips)==null?void 0:A.link,onClick:()=>{a.type="link",a.linkVisible=!0}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-link"},null)])]);case"image":return i.noUploadImg?o.createVNode("div",{class:`${c}-toolbar-item`,title:(R=e.value.toolbarTips)==null?void 0:R.image,onClick:()=>{a.type="image",a.linkVisible=!0}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-image"},null)])]):o.createVNode(re,{relative:`#${l}`,visible:r.image,onChange:H=>{r.image=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{a.type="image",a.linkVisible=!0}},[(K=e.value.imgTitleItem)==null?void 0:K.link]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{d.value.click()}},[(ne=e.value.imgTitleItem)==null?void 0:ne.upload]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{a.clipVisible=!0}},[(Q=e.value.imgTitleItem)==null?void 0:Q.clip2upload])])},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.image},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-image"},null)])])]}});case"table":return o.createVNode(re,{relative:`#${l}`,visible:r.table,onChange:H=>{r.table=H},key:"bar-table",overlay:o.createVNode(cn,{tableShape:i.tableShape,onSelected:H=>{s("table",{selectedShape:H})}},null)},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.table},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-table"},null)])])]}});case"revoke":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(ce=e.value.toolbarTips)==null?void 0:ce.revoke,onClick:()=>{b.emit(t,"ctrlZ")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-revoke"},null)])]);case"next":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ee=e.value.toolbarTips)==null?void 0:Ee.next,onClick:()=>{b.emit(t,"ctrlShiftZ")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-next"},null)])]);case"save":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Se=e.value.toolbarTips)==null?void 0:Se.save,onClick:()=>{b.emit(t,be)}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-baocun"},null)])]);case"prettier":return i.noPrettier?"":o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ne=e.value.toolbarTips)==null?void 0:Ne.prettier,onClick:()=>{s("prettier")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-prettier"},null)])]);case"pageFullscreen":return!i.setting.fullscreen&&o.createVNode("div",{class:`${c}-toolbar-item`,title:(ie=e.value.toolbarTips)==null?void 0:ie.pageFullscreen,onClick:()=>{i.updateSetting("pageFullscreen")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":`#md-editor-icon-${i.setting.pageFullscreen?"suoxiao":"fangda"}`},null)])]);case"fullscreen":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Te=e.value.toolbarTips)==null?void 0:Te.fullscreen,onClick:()=>{n()}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":`#md-editor-icon-${i.setting.fullscreen?"fullscreen-exit":"fullscreen"}`},null)])]);case"preview":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ve=e.value.toolbarTips)==null?void 0:Ve.preview,onClick:()=>{i.updateSetting("preview")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-preview"},null)])]);case"htmlPreview":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(oe=e.value.toolbarTips)==null?void 0:oe.htmlPreview,onClick:()=>{i.updateSetting("htmlPreview")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-coding"},null)])]);case"catalog":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(ze=e.value.toolbarTips)==null?void 0:ze.catalog,onClick:()=>{b.emit(t,De)},key:"bar-catalog"},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-catalog"},null)])]);case"github":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ie=e.value.toolbarTips)==null?void 0:Ie.github,onClick:()=>jt("https://github.com/imzbf/md-editor-v3")},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-github"},null)])]);case"mermaid":return o.createVNode(re,{relative:`#${l}`,visible:r.mermaid,onChange:H=>{r.mermaid=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.mermaid=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("flow")}},[(de=e.value.mermaid)==null?void 0:de.flow]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("sequence")}},[(ue=e.value.mermaid)==null?void 0:ue.sequence]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("gantt")}},[(Ae=e.value.mermaid)==null?void 0:Ae.gantt]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("class")}},[(Fe=e.value.mermaid)==null?void 0:Fe.class]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("state")}},[(he=e.value.mermaid)==null?void 0:he.state]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("pie")}},[(Le=e.value.mermaid)==null?void 0:Le.pie]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("relationship")}},[(_e=e.value.mermaid)==null?void 0:_e.relationship]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("journey")}},[(pe=e.value.mermaid)==null?void 0:pe.journey])]),key:"bar-mermaid"},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.mermaid},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-mermaid"},null)])])]}});case"katex":return o.createVNode(re,{relative:`#${l}`,visible:r.katex,onChange:H=>{r.katex=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.katex=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("katexInline")}},[(Tt=e.value.katex)==null?void 0:Tt.inline]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("katexBlock")}},[(Vt=e.value.katex)==null?void 0:Vt.block])]),key:"bar-katex"},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.katex},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-formula"},null)])])]}})}else return i.defToolbars instanceof Array?i.defToolbars[f]||"":i.defToolbars&&i.defToolbars.children instanceof Array&&i.defToolbars.children[f]||""};return()=>{const f=h.value[0].map(x=>m(x)),v=h.value[1].map(x=>m(x));return o.createVNode(o.Fragment,null,[i.toolbars.length>0&&o.createVNode("div",{class:`${c}-toolbar-wrapper`,id:l},[o.createVNode("div",{class:`${c}-toolbar`},[o.createVNode("div",{class:`${c}-toolbar-left`,ref:u},[f]),o.createVNode("div",{class:`${c}-toolbar-right`},[v])])]),o.createVNode("input",{ref:d,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),o.createVNode(rn,{linkVisible:a.linkVisible,clipVisible:a.clipVisible,type:a.type,onCancel:()=>{a.linkVisible=!1,a.clipVisible=!1},onOk:x=>{x&&s(a.type,{desc:x.desc,url:x.url}),a.linkVisible=!1,a.clipVisible=!1}},null)])}}});function ct(){return{async:!1,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,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ae=ct();function hn(i){ae=i}const dt=/[&<>"']/,fn=new RegExp(dt.source,"g"),ut=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,mn=new RegExp(ut.source,"g"),gn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ht=i=>gn[i];function U(i,t){if(t){if(dt.test(i))return i.replace(fn,ht)}else if(ut.test(i))return i.replace(mn,ht);return i}const pn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ft(i){return i.replace(pn,(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 kn=/(^|[^\[])\^/g;function P(i,t){i=typeof i=="string"?i:i.source,t=t||"";const e={replace:(n,l)=>(l=l.source||l,l=l.replace(kn,"$1"),i=i.replace(n,l),e),getRegex:()=>new RegExp(i,t)};return e}const bn=/[^\w:]/g,yn=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function mt(i,t,e){if(i){let n;try{n=decodeURIComponent(ft(e)).replace(bn,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!yn.test(e)&&(e=$n(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const ye={},wn=/^[^:]+:\/*[^/]*$/,xn=/^([^:]+:)[\s\S]*$/,vn=/^([^:]+:\/*[^/]*)[\s\S]*$/;function $n(i,t){ye[" "+i]||(wn.test(i)?ye[" "+i]=i+"/":ye[" "+i]=xe(i,"/",!0)),i=ye[" "+i];const e=i.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:i.replace(xn,"$1")+t:t.charAt(0)==="/"?e?t:i.replace(vn,"$1")+t:i+t}const we={exec:function(){}};function X(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 gt(i,t){const e=i.replace(/\|/g,(r,s,a)=>{let u=!1,h=s;for(;--h>=0&&a[h]==="\\";)u=!u;return u?"|":" |"}),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 xe(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.slice(0,n-l)}function Cn(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 pt(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 kt(i,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=i),t>>=1,i+=i;return e+i}function bt(i,t,e,n){const l=t.href,r=t.title?U(t.title):null,s=i[1].replace(/\\([\[\]])/g,"$1");if(i[0].charAt(0)!=="!"){n.state.inLink=!0;const a={type:"link",raw:e,href:l,title:r,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,a}return{type:"image",raw:e,href:l,title:r,text:U(s)}}function En(i,t){const e=i.match(/^(\s+)(?:```)/);if(e===null)return t;const n=e[1];return t.split(`
1
+ (function(o,c){typeof exports=="object"&&typeof module!="undefined"?module.exports=c(require("vue")):typeof define=="function"&&define.amd?define(["vue"],c):(o=typeof globalThis!="undefined"?globalThis:o||self,o.MdEditorV3=c(o.Vue))})(this,function(o){"use strict";var fi=Object.defineProperty,mi=Object.defineProperties;var gi=Object.getOwnPropertyDescriptors;var zt=Object.getOwnPropertySymbols;var pi=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable;var It=(o,c,Z)=>c in o?fi(o,c,{enumerable:!0,configurable:!0,writable:!0,value:Z}):o[c]=Z,q=(o,c)=>{for(var Z in c||(c={}))pi.call(c,Z)&&It(o,Z,c[Z]);if(zt)for(var Z of zt(c))ki.call(c,Z)&&It(o,Z,c[Z]);return o},fe=(o,c)=>mi(o,gi(c));const c="md-editor",Z="md-editor-v3",Ft="https://at.alicdn.com/t/c/font_2605852_gymddm8qwtd.js",O="https://cdnjs.cloudflare.com/ajax/libs",At=`${O}/highlight.js/11.7.0/highlight.min.js`,qe={main:`${O}/prettier/2.8.0/standalone.js`,markdown:`${O}/prettier/2.8.0/parser-markdown.js`},Ke={css:`${O}/cropperjs/1.5.13/cropper.min.css`,js:`${O}/cropperjs/1.5.13/cropper.min.js`},Lt=`${O}/screenfull.js/5.2.0/screenfull.min.js`,Ze=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],Ge=["markdownTotal","=","scrollSwitch"],We={"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",task:"\u4EFB\u52A1\u5217\u8868",codeRow:"\u884C\u5185\u4EE3\u7801",code:"\u5757\u7EA7\u4EE3\u7801",link:"\u94FE\u63A5",image:"\u56FE\u7247",table:"\u8868\u683C",mermaid:"mermaid\u56FE",katex:"katex\u516C\u5F0F",revoke:"\u540E\u9000",next:"\u524D\u8FDB",save:"\u4FDD\u5B58",prettier:"\u7F8E\u5316",pageFullscreen:"\u6D4F\u89C8\u5668\u5168\u5C4F",fullscreen:"\u5C4F\u5E55\u5168\u5C4F",preview:"\u9884\u89C8",htmlPreview:"html\u4EE3\u7801\u9884\u89C8",catalog:"\u76EE\u5F55",github:"\u6E90\u7801\u5730\u5740"},titleItem:{h1:"\u4E00\u7EA7\u6807\u9898",h2:"\u4E8C\u7EA7\u6807\u9898",h3:"\u4E09\u7EA7\u6807\u9898",h4:"\u56DB\u7EA7\u6807\u9898",h5:"\u4E94\u7EA7\u6807\u9898",h6:"\u516D\u7EA7\u6807\u9898"},imgTitleItem:{link:"\u6DFB\u52A0\u94FE\u63A5",upload:"\u4E0A\u4F20\u56FE\u7247",clip2upload:"\u88C1\u526A\u4E0A\u4F20"},linkModalTips:{linkTitle:"\u6DFB\u52A0\u94FE\u63A5",imageTitle:"\u6DFB\u52A0\u56FE\u7247",descLabel:"\u94FE\u63A5\u63CF\u8FF0\uFF1A",descLabelPlaceHolder:"\u8BF7\u8F93\u5165\u63CF\u8FF0...",urlLabel:"\u94FE\u63A5\u5730\u5740\uFF1A",urlLabelPlaceHolder:"\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",successTips:"\u5DF2\u590D\u5236\uFF01",failTips:"\u590D\u5236\u5931\u8D25\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"},footer:{markdownTotal:"\u5B57\u6570",scrollAuto:"\u540C\u6B65\u6EDA\u52A8"}},"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",task:"task 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:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Word Count",scrollAuto:"Scroll Auto"}}},_t=`${O}/mermaid/9.3.0/mermaid.min.js`,Xe={js:`${O}/KaTeX/0.16.3/katex.min.js`,css:`${O}/KaTeX/0.16.3/katex.min.css`},Qe={a11y:{light:`${O}/highlight.js/11.7.0/styles/a11y-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/a11y-dark.min.css`},atom:{light:`${O}/highlight.js/11.7.0/styles/atom-one-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/atom-one-dark.min.css`},github:{light:`${O}/highlight.js/11.7.0/styles/github.min.css`,dark:`${O}/highlight.js/11.7.0/styles/github-dark.min.css`},gradient:{light:`${O}/highlight.js/11.7.0/styles/gradient-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/gradient-dark.min.css`},kimbie:{light:`${O}/highlight.js/11.7.0/styles/kimbie-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/kimbie-dark.min.css`},paraiso:{light:`${O}/highlight.js/11.7.0/styles/paraiso-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${O}/highlight.js/11.7.0/styles/qtcreator-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${O}/highlight.js/11.7.0/styles/stackoverflow-light.min.css`,dark:`${O}/highlight.js/11.7.0/styles/stackoverflow-dark.min.css`}},B={markedRenderer:i=>i,markedExtensions:[],markedOptions:{},editorExtensions:{},editorConfig:{}},Rt=i=>{if(i)for(const t in i){const e=i[t];e&&(B[t]=e)}};class Dt{constructor(){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(a){console.error(`${e} monitor event exception\uFF01`,a)}})}}var b=new Dt;const J=(i,t=0,e=t)=>new Promise((n,l)=>{i.setSelectionRange?setTimeout(()=>{i.setSelectionRange(t,e),i.focus(),n(!0)},0):(console.error("Can not reset position!"),l())}),Re=(i,t,e)=>{const{deviationStart:n=0,deviationEnd:l=0,direct:r=!1,select:s=!1}=e;let a="";if(i.selectionStart||i.selectionStart===0){const u=i.selectionStart,h=i.selectionEnd||0,{prefixVal:d=i.value.substring(0,u),subfixVal:g=i.value.substring(h,i.value.length)}=e;a=d+t+g,J(i,s?u+n:u+t.length+l,u+t.length+l)}else a+=t;return r&&(i.value=a),a},jt=(i,t={newWindow:!0,nofollow:!0})=>{i||console.error("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)},Ye=(i,t)=>{const e=ke(()=>{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,a=i.scrollHeight,u=t.scrollHeight,h=(a-r)/(u-s);l.target===i?(t.removeEventListener("scroll",n),t.scrollTo({top:i.scrollTop/h}),e()):(i.removeEventListener("scroll",n),i.scrollTo({top:t.scrollTop*h}),e())};return[e,()=>{i.removeEventListener("scroll",n),t.removeEventListener("scroll",n)}]},Ht=(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 a=new Uint8Array(s);for(;s--;)a[s]=r.charCodeAt(s);return new File([a],t,{type:l})}return null},Je=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("")}`},ke=(i,t=200)=>{let e=0;return(...n)=>{e&&clearTimeout(e),e=window.setTimeout(()=>{i.apply(globalThis,n),e=0},t)}},Pt=(i,t=200)=>{let e=0,n=null;return(...l)=>{const r=s=>{e===0&&(e=s),s-e>=t?(i.apply(globalThis,n),n=null,e=0):window.requestAnimationFrame(r)};n===null&&window.requestAnimationFrame(r),n=l}},et=(i,t="$")=>{const e=i.split(t);let n=t,l="";for(let r=1;r<e.length;r++)if(/\\$/.test(e[r]))n+=e[r]+"$",l+=e[r]+"$";else{n+=e[r]+t,l+=e[r];break}return[n,l]},Ot=i=>{var e;return navigator.userAgent.indexOf("Firefox")>-1?i.value.substring(i.selectionStart,i.selectionEnd):((e=window.getSelection())==null?void 0:e.toString())||""},Mt=(i,t)=>{const e=i==null?void 0:i.getBoundingClientRect();if(t===document.documentElement)return e.top-t.clientTop;const n=t==null?void 0:t.getBoundingClientRect();return e.top-n.top},Bt=(i,t)=>{const e=q({},i);return t.forEach(n=>{Reflect.deleteProperty(e,n)}),e},tt=(i,t)=>{const e=n=>{const l=i.parentElement||document.body,r=l.offsetWidth,s=l.offsetHeight,{clientWidth:a}=document.documentElement,{clientHeight:u}=document.documentElement,h=n.offsetX,d=n.offsetY,g=f=>{let v=f.x+document.body.scrollLeft-document.body.clientLeft-h,x=f.y+document.body.scrollTop-document.body.clientTop-d;v=v<1?1:v<a-r-1?v:a-r-1,x=x<1?1:x<u-s-1?x:u-s-1,t?t(v,x):(l.style.left=`${v}px`,l.style.top=`${x}px`)};document.addEventListener("mousemove",g);const m=()=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m)};document.addEventListener("mouseup",m)};return i.addEventListener("mousedown",e),()=>{i.removeEventListener("mousedown",e)}},G=(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)},Ut=ke((i,t,e)=>{const n=document.getElementById(i);n&&n.setAttribute(t,e)},10),be="onSave",De="changeCatalogVisible",nt="changeFullscreen",it="pageFullscreenChanged",lt="fullscreenChanged",ot="previewChanged",rt="htmlPreviewChanged",at="catalogVisibleChanged",st="textarea_focus",qt=(i,t)=>{const{editorId:e,noPrettier:n,previewOnly:l}=i,r=o.reactive({buildFinished:!1,html:""}),s=a=>{if(a.target===document.querySelector(`#${i.editorId}-textarea`))if(b.emit(e,"selectTextChange"),a.ctrlKey||a.metaKey)switch(a.code){case"KeyS":{a.shiftKey?b.emit(e,"replace","strikeThrough"):(b.emit(e,be,i.modelValue),a.preventDefault());break}case"KeyB":{b.emit(e,"replace","bold"),a.preventDefault();break}case"KeyU":{a.shiftKey?(b.emit(e,"replace","unorderedList"),a.preventDefault()):(b.emit(e,"replace","underline"),a.preventDefault());break}case"KeyI":{a.shiftKey?(b.emit(e,"openModals","image"),a.preventDefault()):(b.emit(e,"replace","italic"),a.preventDefault());break}case"Digit1":{b.emit(e,"replace","h1"),a.preventDefault();break}case"Digit2":{b.emit(e,"replace","h2"),a.preventDefault();break}case"Digit3":{b.emit(e,"replace","h3"),a.preventDefault();break}case"Digit4":{b.emit(e,"replace","h4"),a.preventDefault();break}case"Digit5":{b.emit(e,"replace","h5"),a.preventDefault();break}case"Digit6":{b.emit(e,"replace","h6"),a.preventDefault();break}case"ArrowUp":{b.emit(e,"replace","sup"),a.preventDefault();break}case"ArrowDown":{b.emit(e,"replace","sub"),a.preventDefault();break}case"KeyQ":{if(a.key==="a"){a.target.select();return}b.emit(e,"replace","quote"),a.preventDefault();break}case"KeyA":if(a.key==="q"){b.emit(e,"replace","quote"),a.preventDefault();break}else return;case"KeyO":{b.emit(e,"replace","orderedList"),a.preventDefault();break}case"KeyC":{if(a.shiftKey)b.emit(e,"replace","code"),a.preventDefault();else if(a.altKey)b.emit(e,"replace","codeRow"),a.preventDefault();else{a.preventDefault(),b.emit(e,"replace","ctrlC");break}break}case"KeyL":{b.emit(e,"openModals","link"),a.preventDefault();break}case"KeyZ":{if(a.key==="w")return;a.shiftKey?(b.emit(e,"ctrlShiftZ"),a.preventDefault()):(b.emit(e,"ctrlZ"),a.preventDefault());break}case"KeyW":if(a.key==="z"){a.shiftKey?(b.emit(e,"ctrlShiftZ"),a.preventDefault()):(b.emit(e,"ctrlZ"),a.preventDefault());break}else return;case"KeyF":{a.shiftKey&&(n||(b.emit(e,"replace","prettier"),a.preventDefault()));break}case"KeyT":{a.altKey&&a.shiftKey&&(b.emit(e,"replace","table"),a.preventDefault());break}case"KeyX":{b.emit(e,"replace","ctrlX"),a.preventDefault();break}case"KeyD":{a.preventDefault(),b.emit(e,"replace","ctrlD");break}}else a.code==="Tab"&&(a.preventDefault(),a.shiftKey?b.emit(e,"replace","shiftTab"):b.emit(e,"replace","tab"))};o.watch(()=>i.modelValue,()=>{r.buildFinished=!1}),o.onMounted(()=>{l||(window.addEventListener("keydown",s),b.on(e,{name:"buildFinished",callback(a){r.buildFinished=!0,r.html=a}}),b.on(e,{name:be,callback(){const a=new Promise(u=>{if(r.buildFinished)u(r.html);else{const h=d=>{u(d),b.remove(e,"buildFinished",h)};b.on(e,{name:"buildFinished",callback:h})}});i.onSave?i.onSave(i.modelValue,a):t.emit("onSave",i.modelValue,a)}}))}),o.onBeforeUnmount(()=>{l||window.removeEventListener("keydown",s)})},Kt=i=>{var r;const{editorId:t,previewOnly:e}=i,n=(r=B==null?void 0:B.editorExtensions)==null?void 0:r.highlight;o.provide("editorId",t),o.provide("tabWidth",i.tabWidth),o.provide("theme",o.computed(()=>i.theme)),o.provide("highlight",o.computed(()=>{const s=q(q({},Qe),n==null?void 0:n.css),a=i.codeStyleReverse&&i.codeStyleReverseList.includes(i.previewTheme)?"dark":i.theme;return{js:(n==null?void 0:n.js)||At,css:s[i.codeTheme]?s[i.codeTheme][a]:Qe.atom[a]}})),o.provide("historyLength",i.historyLength),o.provide("previewOnly",e),o.provide("showCodeRowNumber",i.showCodeRowNumber);const l=o.computed(()=>{var a;const s=q(q({},We),(a=B==null?void 0:B.editorConfig)==null?void 0:a.languageUserDefined);return s[i.language]?s[i.language]:We["zh-CN"]});o.provide("usedLanguageText",l),o.provide("previewTheme",o.computed(()=>i.previewTheme))},Zt=i=>{var h,d,g,m,f,v;const{noPrettier:t,previewOnly:e,noIconfont:n,noUploadImg:l}=i,{editorExtensions:r}=B,s=t||!!((d=(h=B.editorExtensions)==null?void 0:h.prettier)!=null&&d.prettierInstance),a=t||!!((m=(g=B.editorExtensions)==null?void 0:g.prettier)!=null&&m.parserMarkdownInstance),u=l||!!((v=(f=B.editorExtensions)==null?void 0:f.cropper)!=null&&v.instance);o.onMounted(()=>{var z,L,_,I;const x=document.createElement("script");x.src=(r==null?void 0:r.iconfont)||Ft,x.id=`${c}-icon`;const S=document.createElement("script"),k=document.createElement("script");S.src=((z=r==null?void 0:r.prettier)==null?void 0:z.standaloneJs)||qe.main,S.id=`${c}-prettier`,k.src=((L=r==null?void 0:r.prettier)==null?void 0:L.parserMarkdownJs)||qe.markdown,k.id=`${c}-prettierMD`;const y=document.createElement("link");y.rel="stylesheet",y.href=((_=r==null?void 0:r.cropper)==null?void 0:_.css)||Ke.css,y.id=`${c}-cropperCss`;const E=document.createElement("script");E.src=((I=r==null?void 0:r.cropper)==null?void 0:I.js)||Ke.js,E.id=`${c}-cropper`,e||(n||G(x),u||(G(y),G(E)),s||G(S),a||G(k))})},Gt=(i,t)=>{const{editorId:e,previewOnly:n}=i,l=o.reactive({pageFullscreen:i.pageFullscreen,fullscreen:!1,preview:i.preview,htmlPreview:i.preview?!1:i.htmlPreview}),r=(u,h)=>{l[u]=h===void 0?!l[u]:h,u==="preview"&&l.preview?l.htmlPreview=!1:u==="htmlPreview"&&l.htmlPreview&&(l.preview=!1)};let s="";const a=()=>{l.pageFullscreen||l.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};return o.watch(()=>[l.pageFullscreen,l.fullscreen],a),o.onMounted(()=>{n||b.on(e,{name:"uploadImage",callback(u,h){const d=g=>{b.emit(e,"replace","image",{desc:"",urls:g}),h&&h()};i.onUploadImg?i.onUploadImg(u,d):t.emit("onUploadImg",u,d)}}),s=document.body.style.overflow,a()}),[l,r]},Wt=i=>{const{editorId:t}=i,e=o.ref(!1);o.onMounted(()=>{b.on(t,{name:De,callback:l=>{l===void 0?e.value=!e.value:e.value=l}})});const n=o.computed(()=>!i.toolbarsExclude.includes("catalog")&&i.toolbars.includes("catalog"));return[e,n]},Xt=(i,t,e,n,l)=>{const{editorId:r}=i;o.watch(()=>n.pageFullscreen,a=>{b.emit(r,it,a)}),o.watch(()=>n.fullscreen,a=>{b.emit(r,lt,a)}),o.watch(()=>n.preview,a=>{b.emit(r,ot,a)}),o.watch(()=>n.htmlPreview,a=>{b.emit(r,rt,a)}),o.watch(e,a=>{b.emit(r,at,a)});const s={on(a,u){switch(a){case"pageFullscreen":{b.on(r,{name:it,callback(h){u(h)}});break}case"fullscreen":{b.on(r,{name:lt,callback(h){u(h)}});break}case"preview":{b.on(r,{name:ot,callback(h){u(h)}});break}case"htmlPreview":{b.on(r,{name:rt,callback(h){u(h)}});break}case"catalog":{b.on(r,{name:at,callback(h){u(h)}});break}}},togglePageFullscreen(a){l("pageFullscreen",a)},toggleFullscreen(a){b.emit(r,nt,a)},togglePreview(a){l("preview",a)},toggleHtmlPreview(a){l("htmlPreview",a)},toggleCatalog(a){b.emit(r,De,a)},triggerSave(){b.emit(r,be)},insert(a){b.emit(r,"replace","universal",{generate:a})},focus(){b.emit(r,st)}};t.expose(s)};var bi="",Qt=o.defineComponent({setup(){return()=>o.createVNode("div",{class:`${c}-divider`},null)}});const W=({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 yi="";const Yt=()=>({trigger:{type:String,default:"hover"},overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"}});var re=o.defineComponent({props:Yt(),setup(i,t){const e=`${c}-dropdown-hidden`,n=o.reactive({overlayClass:[e],overlayStyle:{},triggerHover:!1,overlayHover:!1}),l=o.ref(),r=o.ref(),s=()=>{var E;i.trigger==="hover"&&(n.triggerHover=!0);const g=l.value,m=r.value,f=g.getBoundingClientRect(),v=g.offsetTop,x=g.offsetLeft,S=f.height,k=f.width,y=((E=document.querySelector(i.relative))==null?void 0:E.scrollLeft)||0;n.overlayStyle=fe(q({},n.overlayStyle),{top:v+S+"px",left:x-m.offsetWidth/2+k/2-y+"px"}),i.onChange(!0)},a=()=>{n.overlayHover=!0};o.watch(()=>i.visible,g=>{g?n.overlayClass=n.overlayClass.filter(m=>m!==e):n.overlayClass.push(e)});const u=g=>{const m=l.value,f=r.value;!m.contains(g.target)&&!f.contains(g.target)&&i.onChange(!1)};let h=-1;const d=g=>{l.value===g.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(h),h=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&i.onChange(!1)},10)};return o.onMounted(()=>{i.trigger==="click"?(l.value.addEventListener("click",s),document.addEventListener("click",u)):(l.value.addEventListener("mouseenter",s),l.value.addEventListener("mouseleave",d),r.value.addEventListener("mouseenter",a),r.value.addEventListener("mouseleave",d))}),o.onBeforeUnmount(()=>{i.trigger==="click"?(l.value.removeEventListener("click",s),document.removeEventListener("click",u)):(l.value.removeEventListener("mouseenter",s),l.value.removeEventListener("mouseleave",d),r.value.removeEventListener("mouseenter",a),r.value.removeEventListener("mouseleave",d))}),()=>{const g=W({ctx:t}),m=W({props:i,ctx:t},"overlay"),f=o.cloneVNode(g instanceof Array?g[0]:g,{ref:l}),v=o.createVNode("div",{class:[`${c}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:r},[o.createVNode("div",{class:`${c}-dropdown-overlay`},[m instanceof Array?m[0]:m])]);return[f,v]}}}),wi="";const Jt=()=>({title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function,default:()=>{}},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String}});var je=o.defineComponent({props:Jt(),setup(i,t){const e=o.ref(i.visible),n=o.ref([`${c}-modal`]),l=o.ref(),r=o.ref();let s=()=>{};const a=o.reactive({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),u=o.computed(()=>i.isFullscreen?{width:"100%",height:"100%"}:{width:i.width,height:i.height});return o.onMounted(()=>{s=tt(r.value,(h,d)=>{a.initPos.left=h+"px",a.initPos.top=d+"px"})}),o.onBeforeUnmount(()=>{s()}),o.watch(()=>i.isFullscreen,h=>{h?s():s=tt(r.value,(d,g)=>{a.initPos.left=d+"px",a.initPos.top=g+"px"})}),o.watch(()=>i.visible,h=>{h?(n.value.push("zoom-in"),e.value=h,o.nextTick(()=>{const d=l.value.offsetWidth/2,g=l.value.offsetHeight/2,m=document.documentElement.clientWidth/2,f=document.documentElement.clientHeight/2;a.initPos.left=m-d+"px",a.initPos.top=f-g+"px"}),setTimeout(()=>{n.value=n.value.filter(d=>d!=="zoom-in")},140)):(n.value.push("zoom-out"),setTimeout(()=>{n.value=n.value.filter(d=>d!=="zoom-out"),e.value=h},130))}),()=>{const h=W({ctx:t}),d=W({props:i,ctx:t},"title");return o.createVNode("div",{class:[i.class],style:{display:e.value?"block":"none"}},[o.createVNode("div",{class:`${c}-modal-mask`,onClick:i.onClose},null),o.createVNode("div",{class:n.value,style:q(q({},a.initPos),u.value),ref:l},[o.createVNode("div",{class:`${c}-modal-header`,ref:r},[d||""]),o.createVNode("div",{class:`${c}-modal-body`},[h]),o.createVNode("div",{class:`${c}-modal-func`},[i.showAdjust&&o.createVNode("div",{class:`${c}-modal-adjust`,onClick:g=>{g.stopPropagation(),i.isFullscreen?a.initPos=a.historyPos:(a.historyPos=a.initPos,a.initPos={left:"0",top:"0"}),i.onAdjust(!i.isFullscreen)}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":`#md-editor-icon-${i.isFullscreen?"suoxiao":"fangda"}`},null)])]),o.createVNode("div",{class:`${c}-modal-close`,onClick:g=>{g.stopPropagation(),i.onClose&&i.onClose()}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-close"},null)])])])])])}}});const en=()=>({type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}});var tn=o.defineComponent({props:en(),setup(i){const t=o.inject("usedLanguageText"),e=o.inject("editorId"),n=o.computed(()=>{var r,s;switch(i.type){case"link":return(r=t.value.linkModalTips)==null?void 0:r.linkTitle;case"image":return(s=t.value.linkModalTips)==null?void 0:s.imageTitle;default:return""}}),l=o.reactive({desc:"",url:""});return o.watch(()=>i.visible,r=>{r||setTimeout(()=>{l.desc="",l.url=""},200)}),()=>o.createVNode(je,{title:n.value,visible:i.visible,onClose:i.onCancel},{default:()=>{var r,s,a,u,h;return[o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("label",{class:`${c}-label`,for:`link-desc-${e}`},[(r=t.value.linkModalTips)==null?void 0:r.descLabel]),o.createVNode("input",{placeholder:(s=t.value.linkModalTips)==null?void 0:s.descLabelPlaceHolder,class:`${c}-input`,id:`link-desc-${e}`,type:"text",value:l.desc,onChange:d=>{l.desc=d.target.value},autocomplete:"off"},null)]),o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("label",{class:`${c}-label`,for:`link-url-${e}`},[(a=t.value.linkModalTips)==null?void 0:a.urlLabel]),o.createVNode("input",{placeholder:(u=t.value.linkModalTips)==null?void 0:u.urlLabelPlaceHolder,class:`${c}-input`,id:`link-url-${e}`,type:"text",value:l.url,onChange:d=>{l.url=d.target.value},autocomplete:"off"},null)]),o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("button",{class:[`${c}-btn`,`${c}-btn-row`],type:"button",onClick:()=>{i.onOk(l),l.desc="",l.url=""}},[(h=t.value.linkModalTips)==null?void 0:h.buttonOK])])]}})}}),xi="";const nn=()=>({visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}});var ln=o.defineComponent({props:nn(),setup(i){var d,g;const t=o.inject("usedLanguageText"),e=o.inject("editorId");let n=(g=(d=B==null?void 0:B.editorExtensions)==null?void 0:d.cropper)==null?void 0:g.instance;const l=o.ref(),r=o.ref(),s=o.ref(),a=o.reactive({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let u=null;o.watch(()=>i.visible,()=>{i.visible&&!a.cropperInited&&(n=n||window.Cropper,l.value.onchange=()=>{if(!n){b.emit(e,"errorCatcher",{name:"Cropper",message:"Cropper is undefined"});return}const m=l.value.files||[];if(a.imgSelected=!0,(m==null?void 0:m.length)>0){const f=new FileReader;f.onload=v=>{a.imgSrc=v.target.result,o.nextTick(()=>{u=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`})})},f.readAsDataURL(m[0])}})}),o.watch(()=>[a.imgSelected],()=>{s.value.style=""}),o.watch(()=>a.isFullscreen,()=>{o.nextTick(()=>{u==null||u.destroy(),s.value.style="",r.value&&(u=new n(r.value,{viewMode:2,preview:`.${c}-clip-preview-target`}))})});const h=()=>{u.clear(),u.destroy(),u=null,l.value.value="",a.imgSelected=!1};return()=>{var m;return o.createVNode(je,{class:`${c}-modal-clip`,title:(m=t.value.clipModalTips)==null?void 0:m.title,visible:i.visible,onClose:i.onCancel,showAdjust:!0,isFullscreen:a.isFullscreen,onAdjust:f=>{a.isFullscreen=f},width:"668px",height:"421px"},{default:()=>{var f,v;return[o.createVNode("div",{class:`${c}-form-item ${c}-clip`},[o.createVNode("div",{class:`${c}-clip-main`},[a.imgSelected?o.createVNode("div",{class:`${c}-clip-cropper`},[o.createVNode("img",{src:a.imgSrc,ref:r,style:{display:"none"},alt:""},null),o.createVNode("div",{class:`${c}-clip-delete`,onClick:h},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-delete"},null)])])]):o.createVNode("div",{class:`${c}-clip-upload`,onClick:()=>{l.value.click()}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-upload"},null)])])]),o.createVNode("div",{class:`${c}-clip-preview`},[o.createVNode("div",{class:`${c}-clip-preview-target`,ref:s},null)])]),o.createVNode("div",{class:`${c}-form-item`},[o.createVNode("button",{class:`${c}-btn`,type:"button",onClick:()=>{if(u){const x=u.getCroppedCanvas();b.emit(e,"uploadImage",[Ht(x.toDataURL("image/png"))],i.onOk),h()}}},[((f=t.value.clipModalTips)==null?void 0:f.buttonUpload)||((v=t.value.linkModalTips)==null?void 0:v.buttonOK)])]),o.createVNode("input",{ref:l,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}});const on=()=>({type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}});var rn=o.defineComponent({props:on(),setup(i){return()=>o.createVNode(o.Fragment,null,[o.createVNode(tn,{type:i.type,visible:i.linkVisible,onOk:i.onOk,onCancel:i.onCancel},null),o.createVNode(ln,{visible:i.clipVisible,onOk:i.onOk,onCancel:i.onCancel},null)])}});const an=i=>{var u,h,d,g;const t=o.inject("editorId");let e=(h=(u=B.editorExtensions)==null?void 0:u.screenfull)==null?void 0:h.instance;const n=(g=(d=B.editorExtensions)==null?void 0:d.screenfull)==null?void 0:g.js,l=o.ref(!1),r=m=>{if(!e){b.emit(t,"errorCatcher",{name:"fullscreen",message:"fullscreen is undefined"});return}e.isEnabled?(l.value=!0,(m===void 0?!e.isFullscreen:m)?e.request():e.exit()):console.error("browser does not support screenfull!")},s=()=>{e&&e.isEnabled&&e.on("change",()=>{(l.value||i.setting.fullscreen)&&(l.value=!1,i.updateSetting("fullscreen"))})},a=()=>{e=window.screenfull,s()};return o.onMounted(()=>{if(s(),!e){const m=document.createElement("script");m.src=n||Lt,m.onload=a,m.id=`${c}-screenfull`,G(m,"screenfull")}}),o.onMounted(()=>{b.on(t,{name:nt,callback:r})}),{fullscreenHandler:r}},sn=()=>({tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}}),cn=o.defineComponent({name:"TableShape",props:sn(),setup(i){const t=o.reactive({x:-1,y:-1});return()=>o.createVNode("div",{class:`${c}-table-shape`,onMouseleave:()=>{t.x=-1,t.y=-1}},[new Array(i.tableShape[1]).fill("").map((e,n)=>o.createVNode("div",{class:`${c}-table-shape-row`,key:`table-shape-row-${n}`},[new Array(i.tableShape[0]).fill("").map((l,r)=>o.createVNode("div",{class:`${c}-table-shape-col`,key:`table-shape-col-${r}`,onMouseenter:()=>{t.x=n,t.y=r},onClick:()=>{i.onSelected(t)}},[o.createVNode("div",{class:[`${c}-table-shape-col-default`,n<=t.x&&r<=t.y&&`${c}-table-shape-col-include`]},null)]))]))])}}),dn=()=>({noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean}});var un=o.defineComponent({name:"MDEditorToolbar",props:dn(),setup(i){const t=o.inject("editorId"),e=o.inject("usedLanguageText"),{fullscreenHandler:n}=an(i),l=`${t}-toolbar-wrapper`,r=o.reactive({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),s=(f,v)=>{b.emit(t,"replace",f,v)},a=o.reactive({type:"link",linkVisible:!1,clipVisible:!1}),u=o.ref();o.onMounted(()=>{b.on(t,{name:"openModals",callback(f){a.type=f,a.linkVisible=!0}})});const h=o.computed(()=>{const f=i.toolbars.filter(k=>!i.toolbarsExclude.includes(k)),v=f.indexOf("="),x=v===-1?f:f.slice(0,v+1),S=v===-1?[]:f.slice(v,Number.MAX_SAFE_INTEGER);return[x,S]}),d=o.ref(),g=()=>{b.emit(t,"uploadImage",Array.from(d.value.files||[])),d.value.value=""};o.onMounted(()=>{d.value.addEventListener("change",g)});const m=f=>{var v,x,S,k,y,E,z,L,_,I,p,M,j,D,N,w,$,A,F,R,K,ne,Q,ce,Ee,Se,Ne,ie,Te,Ve,oe,ze,Ie,de,ue,Fe,Ae,he,Le,_e,pe,Tt,Vt;if(Ze.includes(f))switch(f){case"-":return o.createVNode(Qt,null,null);case"bold":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(v=e.value.toolbarTips)==null?void 0:v.bold,onClick:()=>{s("bold")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-bold"},null)])]);case"underline":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(x=e.value.toolbarTips)==null?void 0:x.underline,onClick:()=>{s("underline")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-underline"},null)])]);case"italic":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(S=e.value.toolbarTips)==null?void 0:S.italic,onClick:()=>{s("italic")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-italic"},null)])]);case"strikeThrough":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(k=e.value.toolbarTips)==null?void 0:k.strikeThrough,onClick:()=>{s("strikeThrough")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-strike-through"},null)])]);case"title":return o.createVNode(re,{relative:`#${l}`,visible:r.title,onChange:H=>{r.title=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h1")}},[(y=e.value.titleItem)==null?void 0:y.h1]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h2")}},[(E=e.value.titleItem)==null?void 0:E.h2]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h3")}},[(z=e.value.titleItem)==null?void 0:z.h3]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h4")}},[(L=e.value.titleItem)==null?void 0:L.h4]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h5")}},[(_=e.value.titleItem)==null?void 0:_.h5]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("h6")}},[(I=e.value.titleItem)==null?void 0:I.h6])])},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.title},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-title"},null)])])]}});case"sub":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(p=e.value.toolbarTips)==null?void 0:p.sub,onClick:()=>{s("sub")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-sub"},null)])]);case"sup":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(M=e.value.toolbarTips)==null?void 0:M.sup,onClick:()=>{s("sup")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-sup"},null)])]);case"quote":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(j=e.value.toolbarTips)==null?void 0:j.quote,onClick:()=>{s("quote")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-quote"},null)])]);case"unorderedList":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(D=e.value.toolbarTips)==null?void 0:D.unorderedList,onClick:()=>{s("unorderedList")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-unordered-list"},null)])]);case"orderedList":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(N=e.value.toolbarTips)==null?void 0:N.orderedList,onClick:()=>{s("orderedList")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-ordered-list"},null)])]);case"task":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(w=e.value.toolbarTips)==null?void 0:w.task,onClick:()=>{s("task")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-task"},null)])]);case"codeRow":return o.createVNode("div",{class:`${c}-toolbar-item`,title:($=e.value.toolbarTips)==null?void 0:$.codeRow,onClick:()=>{s("codeRow")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-code-row"},null)])]);case"code":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(A=e.value.toolbarTips)==null?void 0:A.code,onClick:()=>{s("code")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-code"},null)])]);case"link":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(F=e.value.toolbarTips)==null?void 0:F.link,onClick:()=>{a.type="link",a.linkVisible=!0}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-link"},null)])]);case"image":return i.noUploadImg?o.createVNode("div",{class:`${c}-toolbar-item`,title:(R=e.value.toolbarTips)==null?void 0:R.image,onClick:()=>{a.type="image",a.linkVisible=!0}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-image"},null)])]):o.createVNode(re,{relative:`#${l}`,visible:r.image,onChange:H=>{r.image=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.title=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{a.type="image",a.linkVisible=!0}},[(K=e.value.imgTitleItem)==null?void 0:K.link]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{d.value.click()}},[(ne=e.value.imgTitleItem)==null?void 0:ne.upload]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{a.clipVisible=!0}},[(Q=e.value.imgTitleItem)==null?void 0:Q.clip2upload])])},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.image},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-image"},null)])])]}});case"table":return o.createVNode(re,{relative:`#${l}`,visible:r.table,onChange:H=>{r.table=H},key:"bar-table",overlay:o.createVNode(cn,{tableShape:i.tableShape,onSelected:H=>{s("table",{selectedShape:H})}},null)},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.table},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-table"},null)])])]}});case"revoke":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(ce=e.value.toolbarTips)==null?void 0:ce.revoke,onClick:()=>{b.emit(t,"ctrlZ")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-revoke"},null)])]);case"next":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ee=e.value.toolbarTips)==null?void 0:Ee.next,onClick:()=>{b.emit(t,"ctrlShiftZ")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-next"},null)])]);case"save":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Se=e.value.toolbarTips)==null?void 0:Se.save,onClick:()=>{b.emit(t,be)}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-baocun"},null)])]);case"prettier":return i.noPrettier?"":o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ne=e.value.toolbarTips)==null?void 0:Ne.prettier,onClick:()=>{s("prettier")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-prettier"},null)])]);case"pageFullscreen":return!i.setting.fullscreen&&o.createVNode("div",{class:`${c}-toolbar-item`,title:(ie=e.value.toolbarTips)==null?void 0:ie.pageFullscreen,onClick:()=>{i.updateSetting("pageFullscreen")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":`#md-editor-icon-${i.setting.pageFullscreen?"suoxiao":"fangda"}`},null)])]);case"fullscreen":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Te=e.value.toolbarTips)==null?void 0:Te.fullscreen,onClick:()=>{n()}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":`#md-editor-icon-${i.setting.fullscreen?"fullscreen-exit":"fullscreen"}`},null)])]);case"preview":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ve=e.value.toolbarTips)==null?void 0:Ve.preview,onClick:()=>{i.updateSetting("preview")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-preview"},null)])]);case"htmlPreview":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(oe=e.value.toolbarTips)==null?void 0:oe.htmlPreview,onClick:()=>{i.updateSetting("htmlPreview")}},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-coding"},null)])]);case"catalog":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(ze=e.value.toolbarTips)==null?void 0:ze.catalog,onClick:()=>{b.emit(t,De)},key:"bar-catalog"},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-catalog"},null)])]);case"github":return o.createVNode("div",{class:`${c}-toolbar-item`,title:(Ie=e.value.toolbarTips)==null?void 0:Ie.github,onClick:()=>jt("https://github.com/imzbf/md-editor-v3")},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-github"},null)])]);case"mermaid":return o.createVNode(re,{relative:`#${l}`,visible:r.mermaid,onChange:H=>{r.mermaid=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.mermaid=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("flow")}},[(de=e.value.mermaid)==null?void 0:de.flow]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("sequence")}},[(ue=e.value.mermaid)==null?void 0:ue.sequence]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("gantt")}},[(Fe=e.value.mermaid)==null?void 0:Fe.gantt]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("class")}},[(Ae=e.value.mermaid)==null?void 0:Ae.class]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("state")}},[(he=e.value.mermaid)==null?void 0:he.state]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("pie")}},[(Le=e.value.mermaid)==null?void 0:Le.pie]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("relationship")}},[(_e=e.value.mermaid)==null?void 0:_e.relationship]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("journey")}},[(pe=e.value.mermaid)==null?void 0:pe.journey])]),key:"bar-mermaid"},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.mermaid},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-mermaid"},null)])])]}});case"katex":return o.createVNode(re,{relative:`#${l}`,visible:r.katex,onChange:H=>{r.katex=H},overlay:o.createVNode("ul",{class:`${c}-menu`,onClick:()=>{r.katex=!1}},[o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("katexInline")}},[(Tt=e.value.katex)==null?void 0:Tt.inline]),o.createVNode("li",{class:`${c}-menu-item`,onClick:()=>{s("katexBlock")}},[(Vt=e.value.katex)==null?void 0:Vt.block])]),key:"bar-katex"},{default:()=>{var H;return[o.createVNode("div",{class:`${c}-toolbar-item`,title:(H=e.value.toolbarTips)==null?void 0:H.katex},[o.createVNode("svg",{class:`${c}-icon`,"aria-hidden":"true"},[o.createVNode("use",{"xlink:href":"#md-editor-icon-formula"},null)])])]}})}else return i.defToolbars instanceof Array?i.defToolbars[f]||"":i.defToolbars&&i.defToolbars.children instanceof Array&&i.defToolbars.children[f]||""};return()=>{const f=h.value[0].map(x=>m(x)),v=h.value[1].map(x=>m(x));return o.createVNode(o.Fragment,null,[i.toolbars.length>0&&o.createVNode("div",{class:`${c}-toolbar-wrapper`,id:l},[o.createVNode("div",{class:`${c}-toolbar`},[o.createVNode("div",{class:`${c}-toolbar-left`,ref:u},[f]),o.createVNode("div",{class:`${c}-toolbar-right`},[v])])]),o.createVNode("input",{ref:d,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),o.createVNode(rn,{linkVisible:a.linkVisible,clipVisible:a.clipVisible,type:a.type,onCancel:()=>{a.linkVisible=!1,a.clipVisible=!1},onOk:x=>{x&&s(a.type,{desc:x.desc,url:x.url}),a.linkVisible=!1,a.clipVisible=!1}},null)])}}});function ct(){return{async:!1,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,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ae=ct();function hn(i){ae=i}const dt=/[&<>"']/,fn=new RegExp(dt.source,"g"),ut=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,mn=new RegExp(ut.source,"g"),gn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ht=i=>gn[i];function U(i,t){if(t){if(dt.test(i))return i.replace(fn,ht)}else if(ut.test(i))return i.replace(mn,ht);return i}const pn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ft(i){return i.replace(pn,(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 kn=/(^|[^\[])\^/g;function P(i,t){i=typeof i=="string"?i:i.source,t=t||"";const e={replace:(n,l)=>(l=l.source||l,l=l.replace(kn,"$1"),i=i.replace(n,l),e),getRegex:()=>new RegExp(i,t)};return e}const bn=/[^\w:]/g,yn=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function mt(i,t,e){if(i){let n;try{n=decodeURIComponent(ft(e)).replace(bn,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}t&&!yn.test(e)&&(e=$n(t,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const ye={},wn=/^[^:]+:\/*[^/]*$/,xn=/^([^:]+:)[\s\S]*$/,vn=/^([^:]+:\/*[^/]*)[\s\S]*$/;function $n(i,t){ye[" "+i]||(wn.test(i)?ye[" "+i]=i+"/":ye[" "+i]=xe(i,"/",!0)),i=ye[" "+i];const e=i.indexOf(":")===-1;return t.substring(0,2)==="//"?e?t:i.replace(xn,"$1")+t:t.charAt(0)==="/"?e?t:i.replace(vn,"$1")+t:i+t}const we={exec:function(){}};function X(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 gt(i,t){const e=i.replace(/\|/g,(r,s,a)=>{let u=!1,h=s;for(;--h>=0&&a[h]==="\\";)u=!u;return u?"|":" |"}),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 xe(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.slice(0,n-l)}function Cn(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 pt(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 kt(i,t){if(t<1)return"";let e="";for(;t>1;)t&1&&(e+=i),t>>=1,i+=i;return e+i}function bt(i,t,e,n){const l=t.href,r=t.title?U(t.title):null,s=i[1].replace(/\\([\[\]])/g,"$1");if(i[0].charAt(0)!=="!"){n.state.inLink=!0;const a={type:"link",raw:e,href:l,title:r,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,a}return{type:"image",raw:e,href:l,title:r,text:U(s)}}function En(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 He{constructor(t){this.options=t||ae}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:xe(n,`
5
5
  `)}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const n=e[0],l=En(n,e[3]||"");return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline._escapes,"$1"):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 l=xe(n,"#");(this.options.pedantic||!l||/ $/.test(l))&&(n=l.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}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(/^ *>[ \t]?/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,a,u,h,d,g,m,f,v,x=e[1].trim();const S=x.length>1,k={type:"list",raw:"",ordered:S,start:S?+x.slice(0,-1):"",loose:!1,items:[]};x=S?`\\d{1,9}\\${x.slice(-1)}`:`\\${x}`,this.options.pedantic&&(x=S?x:"[*+-]");const y=new RegExp(`^( {0,3}${x})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(v=!1,!(!(e=y.exec(t))||this.rules.block.hr.test(t)));){if(n=e[0],t=t.substring(n.length),d=e[2].split(`
@@ -46,9 +46,9 @@ ${t}</tr>
46
46
  `}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return`<del>${t}</del>`}link(t,e,n){if(t=mt(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let l='<a href="'+t+'"';return e&&(l+=' title="'+e+'"'),l+=">"+n+"</a>",l}image(t,e,n){if(t=mt(this.options.sanitize,this.options.baseUrl,t),t===null)return n;let l=`<img src="${t}" alt="${n}"`;return e&&(l+=` title="${e}"`),l+=this.options.xhtml?"/>":">",l}text(t){return t}}class wt{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,e,n){return""+n}image(t,e,n){return""+n}br(){return""}}class xt{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,e){let n=t,l=0;if(this.seen.hasOwnProperty(n)){l=this.seen[t];do l++,n=t+"-"+l;while(this.seen.hasOwnProperty(n))}return e||(this.seen[t]=l,this.seen[n]=0),n}slug(t,e={}){const n=this.serialize(t);return this.getNextSafeSlug(n,e.dryrun)}}class Y{constructor(t){this.options=t||ae,this.options.renderer=this.options.renderer||new Pe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new wt,this.slugger=new xt}static parse(t,e){return new Y(e).parse(t)}static parseInline(t,e){return new Y(e).parseInline(t)}parse(t,e=!0){let n="",l,r,s,a,u,h,d,g,m,f,v,x,S,k,y,E,z,L,_;const I=t.length;for(l=0;l<I;l++){if(f=t[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[f.type]&&(_=this.options.extensions.renderers[f.type].call({parser:this},f),_!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type))){n+=_||"";continue}switch(f.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(f.tokens),f.depth,ft(this.parseInline(f.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(f.text,f.lang,f.escaped);continue}case"table":{for(g="",d="",a=f.header.length,r=0;r<a;r++)d+=this.renderer.tablecell(this.parseInline(f.header[r].tokens),{header:!0,align:f.align[r]});for(g+=this.renderer.tablerow(d),m="",a=f.rows.length,r=0;r<a;r++){for(h=f.rows[r],d="",u=h.length,s=0;s<u;s++)d+=this.renderer.tablecell(this.parseInline(h[s].tokens),{header:!1,align:f.align[s]});m+=this.renderer.tablerow(d)}n+=this.renderer.table(g,m);continue}case"blockquote":{m=this.parse(f.tokens),n+=this.renderer.blockquote(m);continue}case"list":{for(v=f.ordered,x=f.start,S=f.loose,a=f.items.length,m="",r=0;r<a;r++)y=f.items[r],E=y.checked,z=y.task,k="",y.task&&(L=this.renderer.checkbox(E),S?y.tokens.length>0&&y.tokens[0].type==="paragraph"?(y.tokens[0].text=L+" "+y.tokens[0].text,y.tokens[0].tokens&&y.tokens[0].tokens.length>0&&y.tokens[0].tokens[0].type==="text"&&(y.tokens[0].tokens[0].text=L+" "+y.tokens[0].tokens[0].text)):y.tokens.unshift({type:"text",text:L}):k+=L),k+=this.parse(y.tokens,S),m+=this.renderer.listitem(k,z,E);n+=this.renderer.list(m,v,x);continue}case"html":{n+=this.renderer.html(f.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(f.tokens));continue}case"text":{for(m=f.tokens?this.parseInline(f.tokens):f.text;l+1<I&&t[l+1].type==="text";)f=t[++l],m+=`
47
47
  `+(f.tokens?this.parseInline(f.tokens):f.text);n+=e?this.renderer.paragraph(m):m;continue}default:{const p='Token with "'+f.type+'" type was not found.';if(this.options.silent){console.error(p);return}else throw new Error(p)}}}return n}parseInline(t,e){e=e||this.renderer;let n="",l,r,s;const a=t.length;for(l=0;l<a;l++){if(r=t[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(s=this.options.extensions.renderers[r.type].call({parser:this},r),s!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))){n+=s||"";continue}switch(r.type){case"escape":{n+=e.text(r.text);break}case"html":{n+=e.html(r.text);break}case"link":{n+=e.link(r.href,r.title,this.parseInline(r.tokens,e));break}case"image":{n+=e.image(r.href,r.title,r.text);break}case"strong":{n+=e.strong(this.parseInline(r.tokens,e));break}case"em":{n+=e.em(this.parseInline(r.tokens,e));break}case"codespan":{n+=e.codespan(r.text);break}case"br":{n+=e.br();break}case"del":{n+=e.del(this.parseInline(r.tokens,e));break}case"text":{n+=e.text(r.text);break}default:{const u='Token with "'+r.type+'" type was not found.';if(this.options.silent){console.error(u);return}else throw new Error(u)}}}return n}}function V(i,t,e){if(typeof i=="undefined"||i===null)throw new Error("marked(): input parameter is undefined or null");if(typeof i!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected");if(typeof t=="function"&&(e=t,t=null),t=X({},V.defaults,t||{}),pt(t),e){const l=t.highlight;let r;try{r=ee.lex(i,t)}catch(u){return e(u)}const s=function(u){let h;if(!u)try{t.walkTokens&&V.walkTokens(r,t.walkTokens),h=Y.parse(r,t)}catch(d){u=d}return t.highlight=l,u?e(u):e(null,h)};if(!l||l.length<3||(delete t.highlight,!r.length))return s();let a=0;V.walkTokens(r,function(u){u.type==="code"&&(a++,setTimeout(()=>{l(u.text,u.lang,function(h,d){if(h)return s(h);d!=null&&d!==u.text&&(u.text=d,u.escaped=!0),a--,a===0&&s()})},0))}),a===0&&s();return}function n(l){if(l.message+=`
48
48
  Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+U(l.message+"",!0)+"</pre>";throw l}try{const l=ee.lex(i,t);if(t.walkTokens){if(t.async)return Promise.all(V.walkTokens(l,t.walkTokens)).then(()=>Y.parse(l,t)).catch(n);V.walkTokens(l,t.walkTokens)}return Y.parse(l,t)}catch(l){n(l)}}V.options=V.setOptions=function(i){return X(V.defaults,i),hn(V.defaults),V},V.getDefaults=ct,V.defaults=ae,V.use=function(...i){const t=V.defaults.extensions||{renderers:{},childTokens:{}};i.forEach(e=>{const n=X({},e);if(n.async=V.defaults.async||n.async,e.extensions&&(e.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if(l.renderer){const r=t.renderers[l.name];r?t.renderers[l.name]=function(...s){let a=l.renderer.apply(this,s);return a===!1&&(a=r.apply(this,s)),a}:t.renderers[l.name]=l.renderer}if(l.tokenizer){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[l.level]?t[l.level].unshift(l.tokenizer):t[l.level]=[l.tokenizer],l.start&&(l.level==="block"?t.startBlock?t.startBlock.push(l.start):t.startBlock=[l.start]:l.level==="inline"&&(t.startInline?t.startInline.push(l.start):t.startInline=[l.start]))}l.childTokens&&(t.childTokens[l.name]=l.childTokens)}),n.extensions=t),e.renderer){const l=V.defaults.renderer||new Pe;for(const r in e.renderer){const s=l[r];l[r]=(...a)=>{let u=e.renderer[r].apply(l,a);return u===!1&&(u=s.apply(l,a)),u}}n.renderer=l}if(e.tokenizer){const l=V.defaults.tokenizer||new He;for(const r in e.tokenizer){const s=l[r];l[r]=(...a)=>{let u=e.tokenizer[r].apply(l,a);return u===!1&&(u=s.apply(l,a)),u}}n.tokenizer=l}if(e.walkTokens){const l=V.defaults.walkTokens;n.walkTokens=function(r){let s=[];return s.push(e.walkTokens.call(this,r)),l&&(s=s.concat(l.call(this,r))),s}}V.setOptions(n)})},V.walkTokens=function(i,t){let e=[];for(const n of i)switch(e=e.concat(t.call(V,n)),n.type){case"table":{for(const l of n.header)e=e.concat(V.walkTokens(l.tokens,t));for(const l of n.rows)for(const r of l)e=e.concat(V.walkTokens(r.tokens,t));break}case"list":{e=e.concat(V.walkTokens(n.items,t));break}default:V.defaults.extensions&&V.defaults.extensions.childTokens&&V.defaults.extensions.childTokens[n.type]?V.defaults.extensions.childTokens[n.type].forEach(function(l){e=e.concat(V.walkTokens(n[l],t))}):n.tokens&&(e=e.concat(V.walkTokens(n.tokens,t)))}return e},V.parseInline=function(i,t){if(typeof i=="undefined"||i===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof i!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected");t=X({},V.defaults,t||{}),pt(t);try{const e=ee.lexInline(i,t);return t.walkTokens&&V.walkTokens(e,t.walkTokens),Y.parseInline(e,t)}catch(e){if(e.message+=`
49
- Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+U(e.message+"",!0)+"</pre>";throw e}},V.Parser=Y,V.parser=Y.parse,V.Renderer=Pe,V.TextRenderer=wt,V.Lexer=ee,V.lexer=ee.lex,V.Tokenizer=He,V.Slugger=xt,V.parse=V,Y.parse,ee.lex;var Nn=function(){var i=document.getSelection();if(!i.rangeCount)return function(){};for(var t=document.activeElement,e=[],n=0;n<i.rangeCount;n++)e.push(i.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return i.removeAllRanges(),function(){i.type==="Caret"&&i.removeAllRanges(),i.rangeCount||e.forEach(function(l){i.addRange(l)}),t&&t.focus()}},Tn=Nn,vt={"text/plain":"Text","text/html":"Url",default:"Text"},Vn="Copy to clipboard: #{key}, Enter";function zn(i){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,t)}function In(i,t){var e,n,l,r,s,a,u=!1;t||(t={}),e=t.debug||!1;try{l=Tn(),r=document.createRange(),s=document.getSelection(),a=document.createElement("span"),a.textContent=i,a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(d){if(d.stopPropagation(),t.format)if(d.preventDefault(),typeof d.clipboardData=="undefined"){e&&console.warn("unable to use e.clipboardData"),e&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var g=vt[t.format]||vt.default;window.clipboardData.setData(g,i)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,i);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(a),r.selectNodeContents(a),s.addRange(r);var h=document.execCommand("copy");if(!h)throw new Error("copy command was unsuccessful");u=!0}catch(d){e&&console.error("unable to copy using execCommand: ",d),e&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",i),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(g){e&&console.error("unable to copy using clipboardData: ",g),e&&console.error("falling back to prompt"),n=zn("message"in t?t.message:Vn),window.prompt(n,i)}}finally{s&&(typeof s.removeRange=="function"?s.removeRange(r):s.removeAllRanges()),a&&document.body.removeChild(a),l()}return u}var me=In;/*! medium-zoom 1.0.8 | MIT License | https://github.com/francoischalifour/medium-zoom */var le=Object.assign||function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},ve=function(t){return t.tagName==="IMG"},An=function(t){return NodeList.prototype.isPrototypeOf(t)},$e=function(t){return t&&t.nodeType===1},$t=function(t){var e=t.currentSrc||t.src;return e.substr(-4).toLowerCase()===".svg"},Ct=function(t){try{return Array.isArray(t)?t.filter(ve):An(t)?[].slice.call(t).filter(ve):$e(t)?[t].filter(ve):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(ve):[]}catch{throw new TypeError(`The provided selector is invalid.
49
+ Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+U(e.message+"",!0)+"</pre>";throw e}},V.Parser=Y,V.parser=Y.parse,V.Renderer=Pe,V.TextRenderer=wt,V.Lexer=ee,V.lexer=ee.lex,V.Tokenizer=He,V.Slugger=xt,V.parse=V,Y.parse,ee.lex;var Nn=function(){var i=document.getSelection();if(!i.rangeCount)return function(){};for(var t=document.activeElement,e=[],n=0;n<i.rangeCount;n++)e.push(i.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return i.removeAllRanges(),function(){i.type==="Caret"&&i.removeAllRanges(),i.rangeCount||e.forEach(function(l){i.addRange(l)}),t&&t.focus()}},Tn=Nn,vt={"text/plain":"Text","text/html":"Url",default:"Text"},Vn="Copy to clipboard: #{key}, Enter";function zn(i){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,t)}function In(i,t){var e,n,l,r,s,a,u=!1;t||(t={}),e=t.debug||!1;try{l=Tn(),r=document.createRange(),s=document.getSelection(),a=document.createElement("span"),a.textContent=i,a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(d){if(d.stopPropagation(),t.format)if(d.preventDefault(),typeof d.clipboardData=="undefined"){e&&console.warn("unable to use e.clipboardData"),e&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var g=vt[t.format]||vt.default;window.clipboardData.setData(g,i)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,i);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(a),r.selectNodeContents(a),s.addRange(r);var h=document.execCommand("copy");if(!h)throw new Error("copy command was unsuccessful");u=!0}catch(d){e&&console.error("unable to copy using execCommand: ",d),e&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",i),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(g){e&&console.error("unable to copy using clipboardData: ",g),e&&console.error("falling back to prompt"),n=zn("message"in t?t.message:Vn),window.prompt(n,i)}}finally{s&&(typeof s.removeRange=="function"?s.removeRange(r):s.removeAllRanges()),a&&document.body.removeChild(a),l()}return u}var me=In;/*! medium-zoom 1.0.8 | MIT License | https://github.com/francoischalifour/medium-zoom */var le=Object.assign||function(i){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},ve=function(t){return t.tagName==="IMG"},Fn=function(t){return NodeList.prototype.isPrototypeOf(t)},$e=function(t){return t&&t.nodeType===1},$t=function(t){var e=t.currentSrc||t.src;return e.substr(-4).toLowerCase()===".svg"},Ct=function(t){try{return Array.isArray(t)?t.filter(ve):Fn(t)?[].slice.call(t).filter(ve):$e(t)?[t].filter(ve):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(ve):[]}catch{throw new TypeError(`The provided selector is invalid.
50
50
  Expects a CSS selector, a Node element, a NodeList or an array.
51
- See: https://github.com/francoischalifour/medium-zoom`)}},Fn=function(t){var e=document.createElement("div");return e.classList.add("medium-zoom-overlay"),e.style.background=t,e},Ln=function(t){var e=t.getBoundingClientRect(),n=e.top,l=e.left,r=e.width,s=e.height,a=t.cloneNode(),u=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,h=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=n+u+"px",a.style.left=l+h+"px",a.style.width=r+"px",a.style.height=s+"px",a.style.transform="",a},se=function(t,e){var n=le({bubbles:!1,cancelable:!1,detail:void 0},e);if(typeof window.CustomEvent=="function")return new CustomEvent(t,n);var l=document.createEvent("CustomEvent");return l.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),l},_n=function i(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(N){function w(){}N(w,w)},l=function(N){var w=N.target;if(w===M){v();return}E.indexOf(w)!==-1&&x({target:w})},r=function(){if(!(L||!p.original)){var N=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(_-N)>I.scrollOffset&&setTimeout(v,150)}},s=function(N){var w=N.key||N.keyCode;(w==="Escape"||w==="Esc"||w===27)&&v()},a=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=N;if(N.background&&(M.style.background=N.background),N.container&&N.container instanceof Object&&(w.container=le({},I.container,N.container)),N.template){var $=$e(N.template)?N.template:document.querySelector(N.template);w.template=$}return I=le({},I,w),E.forEach(function(F){F.dispatchEvent(se("medium-zoom:update",{detail:{zoom:j}}))}),j},u=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return i(le({},I,N))},h=function(){for(var N=arguments.length,w=Array(N),$=0;$<N;$++)w[$]=arguments[$];var F=w.reduce(function(A,R){return[].concat(A,Ct(R))},[]);return F.filter(function(A){return E.indexOf(A)===-1}).forEach(function(A){E.push(A),A.classList.add("medium-zoom-image")}),z.forEach(function(A){var R=A.type,K=A.listener,ne=A.options;F.forEach(function(Q){Q.addEventListener(R,K,ne)})}),j},d=function(){for(var N=arguments.length,w=Array(N),$=0;$<N;$++)w[$]=arguments[$];p.zoomed&&v();var F=w.length>0?w.reduce(function(A,R){return[].concat(A,Ct(R))},[]):E;return F.forEach(function(A){A.classList.remove("medium-zoom-image"),A.dispatchEvent(se("medium-zoom:detach",{detail:{zoom:j}}))}),E=E.filter(function(A){return F.indexOf(A)===-1}),j},g=function(N,w){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(F){F.addEventListener("medium-zoom:"+N,w,$)}),z.push({type:"medium-zoom:"+N,listener:w,options:$}),j},m=function(N,w){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(F){F.removeEventListener("medium-zoom:"+N,w,$)}),z=z.filter(function(F){return!(F.type==="medium-zoom:"+N&&F.listener.toString()===w.toString())}),j},f=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=N.target,$=function(){var A={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},R=void 0,K=void 0;if(I.container)if(I.container instanceof Object)A=le({},A,I.container),R=A.width-A.left-A.right-I.margin*2,K=A.height-A.top-A.bottom-I.margin*2;else{var ne=$e(I.container)?I.container:document.querySelector(I.container),Q=ne.getBoundingClientRect(),ce=Q.width,Ee=Q.height,Se=Q.left,Ne=Q.top;A=le({},A,{width:ce,height:Ee,left:Se,top:Ne})}R=R||A.width-I.margin*2,K=K||A.height-I.margin*2;var ie=p.zoomedHd||p.original,Te=$t(ie)?R:ie.naturalWidth||R,Ve=$t(ie)?K:ie.naturalHeight||K,oe=ie.getBoundingClientRect(),ze=oe.top,Ie=oe.left,de=oe.width,ue=oe.height,Ae=Math.min(Math.max(de,Te),R)/de,Fe=Math.min(Math.max(ue,Ve),K)/ue,he=Math.min(Ae,Fe),Le=(-Ie+(R-de)/2+I.margin+A.left)/he,_e=(-ze+(K-ue)/2+I.margin+A.top)/he,pe="scale("+he+") translate3d("+Le+"px, "+_e+"px, 0)";p.zoomed.style.transform=pe,p.zoomedHd&&(p.zoomedHd.style.transform=pe)};return new n(function(F){if(w&&E.indexOf(w)===-1){F(j);return}var A=function ce(){L=!1,p.zoomed.removeEventListener("transitionend",ce),p.original.dispatchEvent(se("medium-zoom:opened",{detail:{zoom:j}})),F(j)};if(p.zoomed){F(j);return}if(w)p.original=w;else if(E.length>0){var R=E;p.original=R[0]}else{F(j);return}if(p.original.dispatchEvent(se("medium-zoom:open",{detail:{zoom:j}})),_=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,L=!0,p.zoomed=Ln(p.original),document.body.appendChild(M),I.template){var K=$e(I.template)?I.template:document.querySelector(I.template);p.template=document.createElement("div"),p.template.appendChild(K.content.cloneNode(!0)),document.body.appendChild(p.template)}if(p.original.parentElement&&p.original.parentElement.tagName==="PICTURE"&&p.original.currentSrc&&(p.zoomed.src=p.original.currentSrc),document.body.appendChild(p.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),p.original.classList.add("medium-zoom-image--hidden"),p.zoomed.classList.add("medium-zoom-image--opened"),p.zoomed.addEventListener("click",v),p.zoomed.addEventListener("transitionend",A),p.original.getAttribute("data-zoom-src")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("srcset"),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading"),p.zoomedHd.src=p.zoomed.getAttribute("data-zoom-src"),p.zoomedHd.onerror=function(){clearInterval(ne),console.warn("Unable to reach the zoom image target "+p.zoomedHd.src),p.zoomedHd=null,$()};var ne=setInterval(function(){p.zoomedHd.complete&&(clearInterval(ne),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",v),document.body.appendChild(p.zoomedHd),$())},10)}else if(p.original.hasAttribute("srcset")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading");var Q=p.zoomedHd.addEventListener("load",function(){p.zoomedHd.removeEventListener("load",Q),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",v),document.body.appendChild(p.zoomedHd),$()})}else $()})},v=function(){return new n(function(N){if(L||!p.original){N(j);return}var w=function $(){p.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(p.zoomed),p.zoomedHd&&document.body.removeChild(p.zoomedHd),document.body.removeChild(M),p.zoomed.classList.remove("medium-zoom-image--opened"),p.template&&document.body.removeChild(p.template),L=!1,p.zoomed.removeEventListener("transitionend",$),p.original.dispatchEvent(se("medium-zoom:closed",{detail:{zoom:j}})),p.original=null,p.zoomed=null,p.zoomedHd=null,p.template=null,N(j)};L=!0,document.body.classList.remove("medium-zoom--opened"),p.zoomed.style.transform="",p.zoomedHd&&(p.zoomedHd.style.transform=""),p.template&&(p.template.style.transition="opacity 150ms",p.template.style.opacity=0),p.original.dispatchEvent(se("medium-zoom:close",{detail:{zoom:j}})),p.zoomed.addEventListener("transitionend",w)})},x=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=N.target;return p.original?v():f({target:w})},S=function(){return I},k=function(){return E},y=function(){return p.original},E=[],z=[],L=!1,_=0,I=e,p={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?I=t:(t||typeof t=="string")&&h(t),I=le({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},I);var M=Fn(I.background);document.addEventListener("click",l),document.addEventListener("keyup",s),document.addEventListener("scroll",r),window.addEventListener("resize",v);var j={open:f,close:v,toggle:x,update:a,clone:u,attach:h,detach:d,on:g,off:m,getOptions:S,getImages:k,getZoomedImage:y};return j};function Rn(i,t){t===void 0&&(t={});var e=t.insertAt;if(!(!i||typeof document=="undefined")){var n=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",e==="top"&&n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),l.styleSheet?l.styleSheet.cssText=i:l.appendChild(document.createTextNode(i))}}var Dn=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Rn(Dn);var jn=_n;const ge=i=>{const t=i.value,e=t.substring(0,i.selectionStart),n=t.substring(i.selectionEnd,t.length),l=e.lastIndexOf(`
51
+ See: https://github.com/francoischalifour/medium-zoom`)}},An=function(t){var e=document.createElement("div");return e.classList.add("medium-zoom-overlay"),e.style.background=t,e},Ln=function(t){var e=t.getBoundingClientRect(),n=e.top,l=e.left,r=e.width,s=e.height,a=t.cloneNode(),u=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,h=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=n+u+"px",a.style.left=l+h+"px",a.style.width=r+"px",a.style.height=s+"px",a.style.transform="",a},se=function(t,e){var n=le({bubbles:!1,cancelable:!1,detail:void 0},e);if(typeof window.CustomEvent=="function")return new CustomEvent(t,n);var l=document.createEvent("CustomEvent");return l.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),l},_n=function i(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(N){function w(){}N(w,w)},l=function(N){var w=N.target;if(w===M){v();return}E.indexOf(w)!==-1&&x({target:w})},r=function(){if(!(L||!p.original)){var N=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(_-N)>I.scrollOffset&&setTimeout(v,150)}},s=function(N){var w=N.key||N.keyCode;(w==="Escape"||w==="Esc"||w===27)&&v()},a=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=N;if(N.background&&(M.style.background=N.background),N.container&&N.container instanceof Object&&(w.container=le({},I.container,N.container)),N.template){var $=$e(N.template)?N.template:document.querySelector(N.template);w.template=$}return I=le({},I,w),E.forEach(function(A){A.dispatchEvent(se("medium-zoom:update",{detail:{zoom:j}}))}),j},u=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return i(le({},I,N))},h=function(){for(var N=arguments.length,w=Array(N),$=0;$<N;$++)w[$]=arguments[$];var A=w.reduce(function(F,R){return[].concat(F,Ct(R))},[]);return A.filter(function(F){return E.indexOf(F)===-1}).forEach(function(F){E.push(F),F.classList.add("medium-zoom-image")}),z.forEach(function(F){var R=F.type,K=F.listener,ne=F.options;A.forEach(function(Q){Q.addEventListener(R,K,ne)})}),j},d=function(){for(var N=arguments.length,w=Array(N),$=0;$<N;$++)w[$]=arguments[$];p.zoomed&&v();var A=w.length>0?w.reduce(function(F,R){return[].concat(F,Ct(R))},[]):E;return A.forEach(function(F){F.classList.remove("medium-zoom-image"),F.dispatchEvent(se("medium-zoom:detach",{detail:{zoom:j}}))}),E=E.filter(function(F){return A.indexOf(F)===-1}),j},g=function(N,w){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(A){A.addEventListener("medium-zoom:"+N,w,$)}),z.push({type:"medium-zoom:"+N,listener:w,options:$}),j},m=function(N,w){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(A){A.removeEventListener("medium-zoom:"+N,w,$)}),z=z.filter(function(A){return!(A.type==="medium-zoom:"+N&&A.listener.toString()===w.toString())}),j},f=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=N.target,$=function(){var F={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},R=void 0,K=void 0;if(I.container)if(I.container instanceof Object)F=le({},F,I.container),R=F.width-F.left-F.right-I.margin*2,K=F.height-F.top-F.bottom-I.margin*2;else{var ne=$e(I.container)?I.container:document.querySelector(I.container),Q=ne.getBoundingClientRect(),ce=Q.width,Ee=Q.height,Se=Q.left,Ne=Q.top;F=le({},F,{width:ce,height:Ee,left:Se,top:Ne})}R=R||F.width-I.margin*2,K=K||F.height-I.margin*2;var ie=p.zoomedHd||p.original,Te=$t(ie)?R:ie.naturalWidth||R,Ve=$t(ie)?K:ie.naturalHeight||K,oe=ie.getBoundingClientRect(),ze=oe.top,Ie=oe.left,de=oe.width,ue=oe.height,Fe=Math.min(Math.max(de,Te),R)/de,Ae=Math.min(Math.max(ue,Ve),K)/ue,he=Math.min(Fe,Ae),Le=(-Ie+(R-de)/2+I.margin+F.left)/he,_e=(-ze+(K-ue)/2+I.margin+F.top)/he,pe="scale("+he+") translate3d("+Le+"px, "+_e+"px, 0)";p.zoomed.style.transform=pe,p.zoomedHd&&(p.zoomedHd.style.transform=pe)};return new n(function(A){if(w&&E.indexOf(w)===-1){A(j);return}var F=function ce(){L=!1,p.zoomed.removeEventListener("transitionend",ce),p.original.dispatchEvent(se("medium-zoom:opened",{detail:{zoom:j}})),A(j)};if(p.zoomed){A(j);return}if(w)p.original=w;else if(E.length>0){var R=E;p.original=R[0]}else{A(j);return}if(p.original.dispatchEvent(se("medium-zoom:open",{detail:{zoom:j}})),_=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,L=!0,p.zoomed=Ln(p.original),document.body.appendChild(M),I.template){var K=$e(I.template)?I.template:document.querySelector(I.template);p.template=document.createElement("div"),p.template.appendChild(K.content.cloneNode(!0)),document.body.appendChild(p.template)}if(p.original.parentElement&&p.original.parentElement.tagName==="PICTURE"&&p.original.currentSrc&&(p.zoomed.src=p.original.currentSrc),document.body.appendChild(p.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),p.original.classList.add("medium-zoom-image--hidden"),p.zoomed.classList.add("medium-zoom-image--opened"),p.zoomed.addEventListener("click",v),p.zoomed.addEventListener("transitionend",F),p.original.getAttribute("data-zoom-src")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("srcset"),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading"),p.zoomedHd.src=p.zoomed.getAttribute("data-zoom-src"),p.zoomedHd.onerror=function(){clearInterval(ne),console.warn("Unable to reach the zoom image target "+p.zoomedHd.src),p.zoomedHd=null,$()};var ne=setInterval(function(){p.zoomedHd.complete&&(clearInterval(ne),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",v),document.body.appendChild(p.zoomedHd),$())},10)}else if(p.original.hasAttribute("srcset")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading");var Q=p.zoomedHd.addEventListener("load",function(){p.zoomedHd.removeEventListener("load",Q),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",v),document.body.appendChild(p.zoomedHd),$()})}else $()})},v=function(){return new n(function(N){if(L||!p.original){N(j);return}var w=function $(){p.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(p.zoomed),p.zoomedHd&&document.body.removeChild(p.zoomedHd),document.body.removeChild(M),p.zoomed.classList.remove("medium-zoom-image--opened"),p.template&&document.body.removeChild(p.template),L=!1,p.zoomed.removeEventListener("transitionend",$),p.original.dispatchEvent(se("medium-zoom:closed",{detail:{zoom:j}})),p.original=null,p.zoomed=null,p.zoomedHd=null,p.template=null,N(j)};L=!0,document.body.classList.remove("medium-zoom--opened"),p.zoomed.style.transform="",p.zoomedHd&&(p.zoomedHd.style.transform=""),p.template&&(p.template.style.transition="opacity 150ms",p.template.style.opacity=0),p.original.dispatchEvent(se("medium-zoom:close",{detail:{zoom:j}})),p.zoomed.addEventListener("transitionend",w)})},x=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=N.target;return p.original?v():f({target:w})},S=function(){return I},k=function(){return E},y=function(){return p.original},E=[],z=[],L=!1,_=0,I=e,p={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?I=t:(t||typeof t=="string")&&h(t),I=le({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},I);var M=An(I.background);document.addEventListener("click",l),document.addEventListener("keyup",s),document.addEventListener("scroll",r),window.addEventListener("resize",v);var j={open:f,close:v,toggle:x,update:a,clone:u,attach:h,detach:d,on:g,off:m,getOptions:S,getImages:k,getZoomedImage:y};return j};function Rn(i,t){t===void 0&&(t={});var e=t.insertAt;if(!(!i||typeof document=="undefined")){var n=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",e==="top"&&n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),l.styleSheet?l.styleSheet.cssText=i:l.appendChild(document.createTextNode(i))}}var Dn=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Rn(Dn);var jn=_n;const ge=i=>{const t=i.value,e=t.substring(0,i.selectionStart),n=t.substring(i.selectionEnd,t.length),l=e.lastIndexOf(`
52
52
  `),r=e.substring(0,l+1),s=n.indexOf(`
53
53
  `),a=n.substring(s===-1?n.length:s,n.length),u=e.substring(l+1,e.length),h=n.substring(0,s);return{prefixStr:e,subfixStr:n,prefixStrEndRow:r,subfixStrEndRow:a,prefixSupply:u,subfixSupply:h}},Hn=(i,t="",e,n)=>{var g,m,f,v,x,S;let l="",r=0,s=0,a=!1,u,h;const d=(g=B.editorConfig)==null?void 0:g.mermaidTemplate;if(/^h[1-6]{1}$/.test(i)){const k=i.replace(/^h(\d)/,(y,E)=>new Array(Number(E)).fill("#",0,E).join(""));l=`${k} ${t}`,r=k.length+1}else if(i==="prettier"){const k=window.prettier||((f=(m=B.editorExtensions)==null?void 0:m.prettier)==null?void 0:f.prettierInstance),y=[((v=window.prettierPlugins)==null?void 0:v.markdown)||((S=(x=B.editorExtensions)==null?void 0:x.prettier)==null?void 0:S.parserMarkdownInstance)];return!k||y[0]===void 0?(b.emit(n.editorId,"errorCatcher",{name:"prettier",message:"prettier is undefined"}),e.value):k.format(e.value,{parser:"markdown",plugins:y})}else switch(i){case"bold":{l=`**${t}**`,r=2,s=-2;break}case"underline":{l=`<u>${t}</u>`,r=3,s=-4;break}case"italic":{l=`*${t}*`,r=1,s=-1;break}case"strikeThrough":{l=`~${t}~`,r=1,s=-1;break}case"sub":{l=`<sub>${t}</sub>`,r=5,s=-6;break}case"sup":{l=`<sup>${t}</sup>`,r=5,s=-6;break}case"codeRow":{l="`"+t+"`",r=1,s=-1;break}case"quote":{l=`> ${t}`,r=2;break}case"orderedList":{l=`1. ${t}`,r=3;break}case"unorderedList":{l=`- ${t}`,r=2;break}case"task":{l=`- [ ] ${t}`,r=6,a=!0;break}case"code":{const k=n.text||t||"",y=n.mode||"language";l=`\`\`\`${y}
54
54
  ${k}
@@ -59,8 +59,8 @@ ${k}
59
59
  `,""):l=`![${k}](${y})
60
60
  `;break}case"tab":{const{tabWidth:k=2}=n,y=new Array(k).fill(" ").join("");if(t==="")l=y;else if(/\n/.test(t)){const{prefixStr:E,subfixStr:z,prefixSupply:L,subfixSupply:_}=ge(e);l=`${L}${t}${_}`.split(`
61
61
  `).map(M=>`${y}${M}`).join(`
62
- `),u=E.substring(0,E.length-L.length),h=z.substring(_.length,z.length),a=!0,r=k,s=-L.length-_.length}else{const z=e.value.substring(0,e.selectionStart);/\n$/.test(z)||z===""?(l=`${y}${t}`,a=!0):l=y}break}case"shiftTab":{const{tabWidth:k=2}=n,{prefixStr:y,prefixStrEndRow:E,subfixStrEndRow:z,prefixSupply:L,subfixSupply:_}=ge(e),I=new RegExp(`^\\s{${k}}`),p=(M=!1,j=!1)=>{const D=`${L}${t}${_}`;if(I.test(D)){const N=y.length-(j?0:k),w=M?N+t.length-k:N;return J(e,N,w),`${E}${D.replace(I,"")}${z}`}else if(/^\s/.test(D)){const N=D.replace(/^\s/,""),w=D.length-N.length,$=e.selectionStart-(j?0:w),F=M?$+t.length-w:$;return J(e,$,F),`${E}${N}${z}`}else l=t};if(t===""){const M=p();if(M)return M}else if(/\n/.test(t)){const j=`${L}${t}${_}`.split(`
63
- `);let[D,N]=[0,0];const w=j.map(($,F)=>{if(I.test($))return F===0&&(D=k),N+=k,$.replace(I,"");if(/^\s/.test($)){const A=$.replace(/^\s/,"");return N+=$.length-A.length,A}return $}).join(`
62
+ `),u=E.substring(0,E.length-L.length),h=z.substring(_.length,z.length),a=!0,r=k,s=-L.length-_.length}else{const z=e.value.substring(0,e.selectionStart);/\n$/.test(z)||z===""?(l=`${y}${t}`,a=!0):l=y}break}case"shiftTab":{const{tabWidth:k=2}=n,{prefixStr:y,prefixStrEndRow:E,subfixStrEndRow:z,prefixSupply:L,subfixSupply:_}=ge(e),I=new RegExp(`^\\s{${k}}`),p=(M=!1,j=!1)=>{const D=`${L}${t}${_}`;if(I.test(D)){const N=y.length-(j?0:k),w=M?N+t.length-k:N;return J(e,N,w),`${E}${D.replace(I,"")}${z}`}else if(/^\s/.test(D)){const N=D.replace(/^\s/,""),w=D.length-N.length,$=e.selectionStart-(j?0:w),A=M?$+t.length-w:$;return J(e,$,A),`${E}${N}${z}`}else l=t};if(t===""){const M=p();if(M)return M}else if(/\n/.test(t)){const j=`${L}${t}${_}`.split(`
63
+ `);let[D,N]=[0,0];const w=j.map(($,A)=>{if(I.test($))return A===0&&(D=k),N+=k,$.replace(I,"");if(/^\s/.test($)){const F=$.replace(/^\s/,"");return N+=$.length-F.length,F}return $}).join(`
64
64
  `);return J(e,e.selectionStart-D,e.selectionEnd-N),`${E}${w}${z}`}else{const M=p(!0,!0);if(M)return M}break}case"ctrlC":{const{prefixSupply:k,subfixSupply:y}=ge(e);return me(t===""?`${k}${y}`:t),e.value}case"ctrlX":{const{prefixStrEndRow:k,subfixStrEndRow:y,prefixStr:E,subfixStr:z,prefixSupply:L,subfixSupply:_}=ge(e);return t===""?(me(`${L}${_}`),J(e,k.length),`${k}${y.replace(/^\n/,"")}`):(me(t),J(e,E.length),`${E}${z}`)}case"ctrlD":{const{prefixStrEndRow:k,subfixStrEndRow:y}=ge(e);return J(e,k.length),`${k}${y.replace(/^\n/,"")}`}case"flow":{l=`\`\`\`mermaid
65
65
  ${(d==null?void 0:d.flow)||`flowchart TD
66
66
  Start --> Stop`}
@@ -113,14 +113,14 @@ ${(d==null?void 0:d.journey)||`journey
113
113
  `,r=2;break}case"katexInline":{l="$$",r=1,s=-1;break}case"katexBlock":{l=`$$
114
114
 
115
115
  $$
116
- `,r=1,s=-4;break}case"universal":{const{generate:k}=n,y=k(t);l=y.targetValue,a=y.select,r=y.deviationStart,s=y.deviationEnd}}return Re(e,l,{deviationStart:r,deviationEnd:s,select:a,prefixVal:u,subfixVal:h})};var Et={block(i,t){return{name:"KaTexBlockExtension",level:"block",start:e=>{var n;return(n=e.match(/\n\$\$\n/))==null?void 0:n.index},tokenizer(e){if(/^\$\$\n/.test(e)&&e.split("$$").length>2){const n=et(e,"$$");return{type:"KaTexBlockExtension",raw:n[0],text:n[1].trim(),tokens:[]}}},renderer(e){const n=t||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(e.text,{throwOnError:!1,displayMode:!0});return`<p class="${i}-katex-block" data-processed>${l}</p>`}else return`<p class="${i}-katex-block">${e.text}</p>`}}},inline(i,t){return{name:"KaTexInlineExtension",level:"inline",start:e=>{var n;return(n=e.match(/\$[^\n]*/))==null?void 0:n.index},tokenizer(e){if(/^\$[^\n]*\$/.test(e)){const n=et(e);return{type:"KaTexInlineExtension",raw:n[0],text:n[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 St=["abstract","attention","bug","caution","danger","error","example","failure","hint","info","note","question","quote","success","tip","warning"],Oe=new RegExp(`^!!!\\s+(${St.join("|")})\\s+(.*)$`),Pn=/^!!!\s*$/,On={name:"alert",level:"block",start(i){var e;return(e=i.match(new RegExp(`(^|[\\r\\n])!!!\\s+(${St.join("|")})\\s+(.*)`)))==null?void 0:e.index},tokenizer(i){const t=i.split(/\n/);if(Oe.test(t[0])){const e={x:-1,y:-1},n=[];for(let l=0,r=t.length;l<r;l++)Oe.test(t[l])?e.x=l:Pn.test(t[l])&&(e.y=l,e.x>=0&&(n.push(q({},e)),e.x=-1,e.y=-1));if(n.length){const l=n[0],[r,s,a]=Oe.exec(t[l.x])||[],u=t.slice(l.x+1,l.y).join(`
116
+ `,r=1,s=-4;break}case"universal":{const{generate:k}=n,y=k(t);l=y.targetValue,a=y.select,r=y.deviationStart,s=y.deviationEnd}}return Re(e,l,{deviationStart:r,deviationEnd:s,select:a,prefixVal:u,subfixVal:h})};var Et={block(i,t){return{name:"KaTexBlockExtension",level:"block",start:e=>{var n;return(n=e.match(/\n\$\$\n/))==null?void 0:n.index},tokenizer(e){if(/^\$\$\n/.test(e)&&e.split("$$").length>2){const n=et(e,"$$");return{type:"KaTexBlockExtension",raw:n[0],text:n[1].trim(),tokens:[]}}},renderer(e){const n=t||typeof window!="undefined"&&window.katex;if(n){const l=n.renderToString(e.text,{throwOnError:!1,displayMode:!0});return`<p class="${i}-katex-block" data-processed>${l}</p>`}else return`<p class="${i}-katex-block">${e.text}</p>`}}},inline(i,t){return{name:"KaTexInlineExtension",level:"inline",start:e=>{var n;return(n=e.match(/\$[^\n]*/))==null?void 0:n.index},tokenizer(e){if(/^\$[^\n]*\$/.test(e)){const n=et(e);return{type:"KaTexInlineExtension",raw:n[0],text:n[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 St=["abstract","attention","bug","caution","danger","error","example","failure","hint","info","note","question","quote","success","tip","warning"],Oe=new RegExp(`^!!!\\s*(${St.join("|")})\\s*(.*)$`),Pn=/^!!!\s*$/,On={name:"alert",level:"block",start(i){var e;return(e=i.match(new RegExp(`(^|[\\r\\n])!!!\\s*(${St.join("|")})\\s*(.*)`)))==null?void 0:e.index},tokenizer(i){const t=i.split(/\n/);if(Oe.test(t[0])){const e={x:-1,y:-1},n=[];for(let l=0,r=t.length;l<r;l++)Oe.test(t[l])?e.x=l:Pn.test(t[l])&&(e.y=l,e.x>=0&&(n.push(q({},e)),e.x=-1,e.y=-1));if(n.length){const l=n[0],[r,s,a]=Oe.exec(t[l.x])||[],u=t.slice(l.x+1,l.y).join(`
117
117
  `),h=t.slice(l.x,l.y+1).join(`
118
118
  `),d={type:"alert",raw:h,icon:s,title:a,text:u,titleTokens:[],tokens:[],childTokens:["title","text"]};return this.lexer.inlineTokens(d.title,d.titleTokens),this.lexer.blockTokens(d.text,d.tokens),d}}},renderer(i){return`<div class="md-editor-alert md-editor-alert-${i.icon}">
119
119
  <p class="md-editor-alert-title">${this.parser.parseInline(i.titleTokens,null)}</p>
120
120
  ${this.parser.parse(i.tokens)}
121
- </div>`}},Mn=(i,t,e)=>{var f,v;const n=o.inject("previewOnly"),l=o.inject("historyLength"),r=o.inject("editorId");if(n)return;let s=-1;const a={list:[{content:i.value,startPos:((f=t.value)==null?void 0:f.selectionStart)||0,endPos:((v=t.value)==null?void 0:v.selectionEnd)||0}],userUpdated:!0,curr:0},u=[0,0];let h=u;const d=x=>{var E,z;const S=((E=t.value)==null?void 0:E.selectionStart)||0,k=((z=t.value)==null?void 0:z.selectionEnd)||0;a.list[a.curr].startPos=S,a.list[a.curr].endPos=k,a.userUpdated=!1,a.curr=x;const y=a.list[a.curr];h=[y.startPos,y.endPos],i.onChange(y.content),J(t.value,y.startPos,y.endPos).then(()=>{b.emit(r,"selectTextChange")})},g=x=>{var y,E;clearTimeout(s);const S=((y=t.value)==null?void 0:y.selectionStart)||0,k=((E=t.value)==null?void 0:E.selectionEnd)||0;s=setTimeout(()=>{if(a.userUpdated){a.curr<a.list.length-1&&(a.list=a.list.slice(0,a.curr+1)),a.list.length>l&&a.list.shift();const z=a.list.pop()||{startPos:0,endPos:0,content:x};z.startPos=h[0],z.endPos=h[1],h=u,Array.prototype.push.call(a.list,z,{content:x,startPos:S,endPos:k}),a.curr=a.list.length-1}else a.userUpdated=!0},150)},m=x=>{var S,k;(h===u||x)&&(h=[(S=t.value)==null?void 0:S.selectionStart,(k=t.value)==null?void 0:k.selectionEnd])};o.watch([o.toRef(i,"value"),e],()=>{e.value&&g(i.value)}),o.watch(()=>i.value,()=>{b.emit(r,"selectTextChange")},{flush:"post"}),o.onMounted(()=>{b.on(r,{name:"ctrlZ",callback(){d(a.curr-1<0?0:a.curr-1)}}),b.on(r,{name:"ctrlShiftZ",callback(){d(a.curr+1===a.list.length?a.curr:a.curr+1)}}),b.on(r,{name:"saveHistoryPos",callback:m})})},Bn=(i,t)=>{var j,D,N;const{markedRenderer:e,markedExtensions:n,markedOptions:l,editorExtensions:r,editorConfig:s}=B,a=o.inject("showCodeRowNumber"),u=o.inject("editorId"),h=o.inject("highlight"),d=o.inject("previewOnly"),g=(j=r==null?void 0:r.highlight)==null?void 0:j.instance,m=(D=r==null?void 0:r.mermaid)==null?void 0:D.instance,f=(N=r==null?void 0:r.katex)==null?void 0:N.instance,v=r==null?void 0:r.katex,x=o.ref(!1),S=o.ref(!1),k=o.ref([]);let y=new V.Renderer;V.use({extensions:[On]});const E=y.code;y.code=(w,$,F)=>{if(!i.noMermaid&&$==="mermaid"){const A=`${c}-mermaid-${Date.now().toString(36)}`;try{let R;return m?R=m.render(A,w):typeof window!="undefined"&&window.mermaid?R=window.mermaid.render(A,w):R=`<p class="${c}-mermaid-loading">${w}</p>`,`<p class="${c}-mermaid">${R}</p>`}catch(R){return`<p class="${c}-mermaid-error">Error: ${(R==null?void 0:R.message)||""}</p>`}}return E.call(y,w,$,F)},y.image=(w,$,F)=>`<span class="figure"><img src="${w}" title="${$||""}" alt="${F||""}" zoom><span class="figcaption">${F||""}</span></span>`,y.listitem=(w,$)=>$?`<li class="li-task">${w}</li>`:`<li>${w}</li>`;const z=y.heading;e instanceof Function&&(y=e(y));const L=y.heading,_=z!==L;y.heading=(w,$,F,A)=>{if(k.value.push({text:F,level:$}),_)return L.call(y,w,$,F,A,k.value.length);const R=i.markedHeadingId(F,$,k.value.length);return w!==F?`<h${$} id="${R}">${w}</h${$}>`:`<h${$} id="${R}"><a href="#${R}">${F}</a></h${$}>`},V.setOptions(q({breaks:!0},l)),i.noKatex||V.use({extensions:[Et.inline(c,f),Et.block(c,f)]}),g&&V.setOptions({highlight:(w,$)=>{let F;const A=g.getLanguage($);return $&&A?F=g.highlight(w,{language:$,ignoreIllegals:!0}).value:F=g.highlightAuto(w).value,a?Je(F):`<span class="code-block">${F}</span>`}}),n instanceof Array&&n.length>0&&V.use({extensions:n});const I=o.ref(i.sanitize(V(i.value||"",{renderer:y}))),p=ke(()=>{k.value=[];const w=i.sanitize(V(i.value||"",{renderer:y}));I.value=w,b.emit(u,"buildFinished",w),i.onHtmlChanged(w)},(s==null?void 0:s.renderDelay)!==void 0?s==null?void 0:s.renderDelay:d?0:500);o.watch([x,o.toRef(t,"reRender"),o.toRef(t,"mermaidInited"),S,o.toRef(i,"value")],p);const M=()=>{V.setOptions({highlight:(w,$)=>{let F;const A=window.hljs.getLanguage($);return $&&A?F=window.hljs.highlight(w,{language:$,ignoreIllegals:!0}).value:F=window.hljs.highlightAuto(w).value,a?Je(F):`<span class="code-block">${F}</span>`}}),x.value=!0};return o.watch(()=>k.value,w=>{i.onGetCatalog(w),b.emit(u,"catalogChanged",w)}),o.onMounted(()=>{if(!i.noKatex&&!f){const w=document.createElement("script");w.src=(v==null?void 0:v.js)||Xe.js,w.onload=()=>{S.value=!0},w.id=`${c}-katex`;const $=document.createElement("link");$.rel="stylesheet",$.href=(v==null?void 0:v.css)||Xe.css,$.id=`${c}-katexCss`,G(w,"katex"),G($)}if(!g){const w=document.createElement("link");w.rel="stylesheet",w.href=h.value.css,w.id=`${c}-hlCss`;const $=document.createElement("script");$.src=h.value.js,$.onload=M,$.id=`${c}-hljs`,G(w),G($,"hljs")}}),o.watch(()=>h.value.css,w=>{Ut(`${c}-hlCss`,"href",w)}),o.onMounted(()=>{b.on(u,{name:"pushCatalog",callback(){b.emit(u,"catalogChanged",k.value)}})}),{html:I}},Un=(i,t,e,n,l)=>{const r=o.inject("previewOnly"),s=o.inject("usedLanguageText"),a=o.inject("editorId");let u=()=>{},h=()=>{};const d=()=>{document.querySelectorAll(`#${a}-preview pre`).forEach(f=>{var S,k;(S=f.querySelector(".copy-button"))==null||S.remove();const v=((k=s.value.copyCode)==null?void 0:k.text)||"\u590D\u5236\u4EE3\u7801",x=document.createElement("span");x.setAttribute("class","copy-button"),x.innerText=v,x.addEventListener("click",()=>{var _,I;const y=f.querySelector("code").innerText,E=me(i.formatCopiedText(y)),z=((_=s.value.copyCode)==null?void 0:_.successTips)||"\u5DF2\u590D\u5236\uFF01",L=((I=s.value.copyCode)==null?void 0:I.failTips)||"\u5DF2\u590D\u5236\uFF01";x.innerText=E?z:L,setTimeout(()=>{x.innerText=v},1500)}),f.appendChild(x)})},g=()=>{o.nextTick(()=>{i.setting.preview&&!r&&i.scrollAuto&&(u(),h()),d()})},m=f=>{f&&!r&&o.nextTick(()=>{u(),[h,u]=Ye(e.value,n.value||l.value),h()})};o.watch(()=>t.value,g),o.watch(()=>s.value,d),o.watch(()=>i.setting.preview,m),o.watch(()=>i.setting.htmlPreview,m),o.watch(()=>i.scrollAuto,f=>{f?h():u()}),o.onMounted(()=>{d(),!r&&(n.value||l.value)&&([h,u]=Ye(e.value,n.value||l.value)),i.scrollAuto&&h()})},qn=(i,t)=>{const e=o.inject("previewOnly"),n=o.inject("tabWidth"),l=o.inject("editorId"),r=o.ref("");o.onMounted(()=>{var s;e||((s=t.value)==null||s.addEventListener("keypress",a=>{var u,h,d;if(a.key==="Enter"){const g=(u=t.value)==null?void 0:u.selectionStart,m=(h=t.value)==null?void 0:h.value.substring(0,g),f=(d=t.value)==null?void 0:d.value.substring(g),v=m==null?void 0:m.lastIndexOf(`
121
+ </div>`}},Mn=(i,t,e)=>{var f,v;const n=o.inject("previewOnly"),l=o.inject("historyLength"),r=o.inject("editorId");if(n)return;let s=-1;const a={list:[{content:i.value,startPos:((f=t.value)==null?void 0:f.selectionStart)||0,endPos:((v=t.value)==null?void 0:v.selectionEnd)||0}],userUpdated:!0,curr:0},u=[0,0];let h=u;const d=x=>{var E,z;const S=((E=t.value)==null?void 0:E.selectionStart)||0,k=((z=t.value)==null?void 0:z.selectionEnd)||0;a.list[a.curr].startPos=S,a.list[a.curr].endPos=k,a.userUpdated=!1,a.curr=x;const y=a.list[a.curr];h=[y.startPos,y.endPos],i.onChange(y.content),J(t.value,y.startPos,y.endPos).then(()=>{b.emit(r,"selectTextChange")})},g=x=>{var y,E;clearTimeout(s);const S=((y=t.value)==null?void 0:y.selectionStart)||0,k=((E=t.value)==null?void 0:E.selectionEnd)||0;s=setTimeout(()=>{if(a.userUpdated){a.curr<a.list.length-1&&(a.list=a.list.slice(0,a.curr+1)),a.list.length>l&&a.list.shift();const z=a.list.pop()||{startPos:0,endPos:0,content:x};z.startPos=h[0],z.endPos=h[1],h=u,Array.prototype.push.call(a.list,z,{content:x,startPos:S,endPos:k}),a.curr=a.list.length-1}else a.userUpdated=!0},150)},m=x=>{var S,k;(h===u||x)&&(h=[(S=t.value)==null?void 0:S.selectionStart,(k=t.value)==null?void 0:k.selectionEnd])};o.watch([o.toRef(i,"value"),e],()=>{e.value&&g(i.value)}),o.watch(()=>i.value,()=>{b.emit(r,"selectTextChange")},{flush:"post"}),o.onMounted(()=>{b.on(r,{name:"ctrlZ",callback(){d(a.curr-1<0?0:a.curr-1)}}),b.on(r,{name:"ctrlShiftZ",callback(){d(a.curr+1===a.list.length?a.curr:a.curr+1)}}),b.on(r,{name:"saveHistoryPos",callback:m})})},Bn=(i,t)=>{var j,D,N;const{markedRenderer:e,markedExtensions:n,markedOptions:l,editorExtensions:r,editorConfig:s}=B,a=o.inject("showCodeRowNumber"),u=o.inject("editorId"),h=o.inject("highlight"),d=o.inject("previewOnly"),g=(j=r==null?void 0:r.highlight)==null?void 0:j.instance,m=(D=r==null?void 0:r.mermaid)==null?void 0:D.instance,f=(N=r==null?void 0:r.katex)==null?void 0:N.instance,v=r==null?void 0:r.katex,x=o.ref(!1),S=o.ref(!1),k=o.ref([]);let y=new V.Renderer;V.use({extensions:[On]});const E=y.code;y.code=(w,$,A)=>{if(!i.noMermaid&&$==="mermaid"){const F=`${c}-mermaid-${Date.now().toString(36)}`;try{let R;return m?R=m.render(F,w):typeof window!="undefined"&&window.mermaid?R=window.mermaid.render(F,w):R=`<p class="${c}-mermaid-loading">${w}</p>`,`<p class="${c}-mermaid">${R}</p>`}catch(R){return`<p class="${c}-mermaid-error">Error: ${(R==null?void 0:R.message)||""}</p>`}}return E.call(y,w,$,A)},y.image=(w,$,A)=>`<span class="figure"><img src="${w}" title="${$||""}" alt="${A||""}" zoom><span class="figcaption">${A||""}</span></span>`,y.listitem=(w,$)=>$?`<li class="li-task">${w}</li>`:`<li>${w}</li>`;const z=y.heading;e instanceof Function&&(y=e(y));const L=y.heading,_=z!==L;y.heading=(w,$,A,F)=>{if(k.value.push({text:A,level:$}),_)return L.call(y,w,$,A,F,k.value.length);const R=i.markedHeadingId(A,$,k.value.length);return w!==A?`<h${$} id="${R}">${w}</h${$}>`:`<h${$} id="${R}"><a href="#${R}">${A}</a></h${$}>`},V.setOptions(q({breaks:!0},l)),i.noKatex||V.use({extensions:[Et.inline(c,f),Et.block(c,f)]}),g&&V.setOptions({highlight:(w,$)=>{let A;const F=g.getLanguage($);return $&&F?A=g.highlight(w,{language:$,ignoreIllegals:!0}).value:A=g.highlightAuto(w).value,a?Je(A):`<span class="code-block">${A}</span>`}}),n instanceof Array&&n.length>0&&V.use({extensions:n});const I=o.ref(i.sanitize(V(i.value||"",{renderer:y}))),p=ke(()=>{k.value=[];const w=i.sanitize(V(i.value||"",{renderer:y}));I.value=w,b.emit(u,"buildFinished",w),i.onHtmlChanged(w)},(s==null?void 0:s.renderDelay)!==void 0?s==null?void 0:s.renderDelay:d?0:500);o.watch([x,o.toRef(t,"reRender"),o.toRef(t,"mermaidInited"),S,o.toRef(i,"value")],p);const M=()=>{V.setOptions({highlight:(w,$)=>{let A;const F=window.hljs.getLanguage($);return $&&F?A=window.hljs.highlight(w,{language:$,ignoreIllegals:!0}).value:A=window.hljs.highlightAuto(w).value,a?Je(A):`<span class="code-block">${A}</span>`}}),x.value=!0};return o.watch(()=>k.value,w=>{i.onGetCatalog(w),b.emit(u,"catalogChanged",w)}),o.onMounted(()=>{if(!i.noKatex&&!f){const w=document.createElement("script");w.src=(v==null?void 0:v.js)||Xe.js,w.onload=()=>{S.value=!0},w.id=`${c}-katex`;const $=document.createElement("link");$.rel="stylesheet",$.href=(v==null?void 0:v.css)||Xe.css,$.id=`${c}-katexCss`,G(w,"katex"),G($)}if(!g){const w=document.createElement("link");w.rel="stylesheet",w.href=h.value.css,w.id=`${c}-hlCss`;const $=document.createElement("script");$.src=h.value.js,$.onload=M,$.id=`${c}-hljs`,G(w),G($,"hljs")}}),o.watch(()=>h.value.css,w=>{Ut(`${c}-hlCss`,"href",w)}),o.onMounted(()=>{b.on(u,{name:"pushCatalog",callback(){b.emit(u,"catalogChanged",k.value)}})}),{html:I}},Un=(i,t,e,n,l)=>{const r=o.inject("previewOnly"),s=o.inject("usedLanguageText"),a=o.inject("editorId");let u=()=>{},h=()=>{};const d=()=>{document.querySelectorAll(`#${a}-preview pre`).forEach(f=>{var S,k;(S=f.querySelector(".copy-button"))==null||S.remove();const v=((k=s.value.copyCode)==null?void 0:k.text)||"\u590D\u5236\u4EE3\u7801",x=document.createElement("span");x.setAttribute("class","copy-button"),x.innerText=v,x.addEventListener("click",()=>{var _,I;const y=f.querySelector("code").innerText,E=me(i.formatCopiedText(y)),z=((_=s.value.copyCode)==null?void 0:_.successTips)||"\u5DF2\u590D\u5236\uFF01",L=((I=s.value.copyCode)==null?void 0:I.failTips)||"\u5DF2\u590D\u5236\uFF01";x.innerText=E?z:L,setTimeout(()=>{x.innerText=v},1500)}),f.appendChild(x)})},g=()=>{o.nextTick(()=>{i.setting.preview&&!r&&i.scrollAuto&&(u(),h()),d()})},m=f=>{f&&!r&&o.nextTick(()=>{u(),[h,u]=Ye(e.value,n.value||l.value),h()})};o.watch(()=>t.value,g),o.watch(()=>s.value,d),o.watch(()=>i.setting.preview,m),o.watch(()=>i.setting.htmlPreview,m),o.watch(()=>i.scrollAuto,f=>{f?h():u()}),o.onMounted(()=>{d(),!r&&(n.value||l.value)&&([h,u]=Ye(e.value,n.value||l.value)),i.scrollAuto&&h()})},qn=(i,t)=>{const e=o.inject("previewOnly"),n=o.inject("tabWidth"),l=o.inject("editorId"),r=o.ref("");o.onMounted(()=>{var s;e||((s=t.value)==null||s.addEventListener("keypress",a=>{var u,h,d;if(a.key==="Enter"){const g=(u=t.value)==null?void 0:u.selectionStart,m=(h=t.value)==null?void 0:h.value.substring(0,g),f=(d=t.value)==null?void 0:d.value.substring(g),v=m==null?void 0:m.lastIndexOf(`
122
122
  `),x=m==null?void 0:m.substring(v+1,g);if(/^\d+\.\s|^-\s/.test(x))if(a.cancelBubble=!0,a.preventDefault(),a.stopPropagation(),/^(\d+\.|-)\s+(\[[x\s]\]\s+)?$/.test(x)){const S=m==null?void 0:m.replace(/(\d+\.|-)\s+(\[[x\s]\]\s+)?$/,"");i.onChange(S+f),J(t.value,S==null?void 0:S.length)}else if(/^-\s+.+/.test(x)){const S=/^-\s+\[[x\s]\]/.test(x)?`
123
123
  - [ ] `:`
124
124
  - `;i.onChange(Re(t.value,S,{}))}else{const S=x==null?void 0:x.match(/\d+(?=\.)/),k=S&&Number(S[0])+1||1,y=/^\d\.\s+\[[x\s]\]/.test(x)?`
125
125
  ${k}. [ ] `:`
126
- ${k}. `;i.onChange(Re(t.value,y,{}))}}}),b.on(l,{name:"replace",callback(a,u={}){i.onChange(Hn(a,r.value,t.value,fe(q({},u),{tabWidth:n,editorId:l})))}}),b.on(l,{name:"selectTextChange",callback(){r.value=Ot(t.value)}}))}),o.watch(()=>i.value,()=>{r.value=""})},Kn=i=>{const t=o.inject("theme"),{editorExtensions:e}=B,n=e==null?void 0:e.mermaid,l=o.reactive({reRender:!1,mermaidInited:!!(n!=null&&n.instance)}),r=()=>{i.noMermaid||(n!=null&&n.instance?n.instance.initialize({theme:t.value==="dark"?"dark":"default"}):window.mermaid&&window.mermaid.initialize({theme:t.value==="dark"?"dark":"default"}),l.reRender=!l.reRender)};o.watch(()=>t.value,r);let s;return o.onMounted(()=>{!i.noMermaid&&!(n!=null&&n.instance)?(s=document.createElement("script"),s.src=(n==null?void 0:n.js)||_t,s.onload=()=>{window.mermaid.initialize({theme:t.value==="dark"?"dark":"default",logLevel:"Fatal"}),l.mermaidInited=!0},s.id=`${c}-mermaid`,G(s,"mermaid")):i.noMermaid||r()}),l},Zn=(i,t)=>{const e=o.inject("editorId"),n=o.inject("previewOnly"),l=r=>{if(!!r.clipboardData){if(r.clipboardData.files.length>0){const{files:s}=r.clipboardData;b.emit(e,"uploadImage",Array.from(s).filter(a=>/image\/.*/.test(a.type))),r.preventDefault()}if(i.autoDetectCode&&r.clipboardData.types.includes("vscode-editor-data")){const s=JSON.parse(r.clipboardData.getData("vscode-editor-data"));b.emit(e,"replace","code",{mode:s.mode,text:r.clipboardData.getData("text/plain")}),r.preventDefault()}}};o.onMounted(()=>{n||t.value.addEventListener("paste",l)}),o.onBeforeUnmount(()=>{n||t.value.removeEventListener("paste",l)})},Gn=(i,t)=>{const e=o.inject("editorId"),n=ke(()=>{const l=document.querySelectorAll(`#${e}-preview img[zoom]`);l.length!==0&&jn(l,{background:"#00000073"})});o.onMounted(n),o.watch([t,o.toRef(i.setting,"preview")],n)},Wn=i=>{const t=o.inject("editorId");o.onMounted(()=>{b.on(t,{name:st,callback(){var e;(e=i.value)==null||e.focus()}})})},Xn=()=>({value:{type:String,default:""},onChange:{type:Function,default:()=>()=>{}},setting:{type:Object,default:()=>({})},onHtmlChanged:{type:Function,default:()=>()=>{}},onGetCatalog:{type:Function,default:()=>()=>{}},markedHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},scrollAuto:{type:Boolean},formatCopiedText:{type:Function,default:i=>i},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean}});var Qn=o.defineComponent({name:"MDEditorContent",props:Xn(),setup(i){const t=o.ref(!0),e=o.inject("previewOnly"),n=o.inject("showCodeRowNumber"),l=o.inject("previewTheme"),r=o.inject("editorId"),s=o.ref(),a=o.ref(),u=o.ref(),h=Kn(i),{html:d}=Bn(i,h);return Un(i,d,s,a,u),qn(i,s),Mn(i,s,t),Zn(i,s),Gn(i,d),Wn(s),()=>{const g=Bt(i,["formatCopiedText","markedHeadingId","noKatex","noMermaid","onChange","onGetCatalog","onHtmlChanged","sanitize","scrollAuto","setting","autoDetectCode"]);return o.createVNode(o.Fragment,null,[o.createVNode("div",{class:`${c}-content`},[!e&&o.createVNode("div",{class:`${c}-input-wrapper`},[o.createVNode("textarea",o.mergeProps(g,{id:`${r}-textarea`,ref:s,onBlur:()=>{b.emit(r,"selectTextChange")},onKeydown:()=>{b.emit(r,"saveHistoryPos",!0)},onCompositionstart:()=>{t.value=!1},onInput:m=>{i.onChange(m.target.value)},onCompositionend:()=>{t.value=!0},class:[i.setting.preview||i.setting.htmlPreview?"":"textarea-only"]}),null)]),i.setting.preview&&o.createVNode("div",{id:`${r}-preview-wrapper`,class:`${c}-preview-wrapper`,ref:a,key:"content-preview-wrapper"},[o.createVNode("article",{id:`${r}-preview`,class:[`${c}-preview`,`${l==null?void 0:l.value}-theme`,n&&`${c}-scrn`],innerHTML:d.value},null)]),i.setting.htmlPreview&&o.createVNode("div",{class:`${c}-preview-wrapper`,ref:u,key:"html-preview-wrapper"},[o.createVNode("div",{class:`${c}-html`},[d.value])])])])}}}),Yn=o.defineComponent({props:{modelValue:{type:String,default:""}},setup(i){const t=o.inject("usedLanguageText");return()=>{var e,n;return o.createVNode("div",{class:`${c}-footer-item`},[o.createVNode("label",{class:`${c}-footer-label`},[`${(e=t.value.footer)==null?void 0:e.markdownTotal}:`]),o.createVNode("span",null,[((n=i.modelValue)==null?void 0:n.length)||0])])}}}),vi="";const Jn=()=>({checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>()=>{}}});var ei=o.defineComponent({props:Jn(),setup(i){return()=>o.createVNode("div",{class:[`${c}-checkbox`,i.checked&&`${c}-checkbox-checked`],onClick:()=>{i.onChange(!i.checked)}},null)}});const ti=()=>({scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>()=>{}}});var ni=o.defineComponent({props:ti(),setup(i){const t=o.inject("usedLanguageText");return()=>{var e;return o.createVNode("div",{class:`${c}-footer-item`},[o.createVNode("label",{class:`${c}-footer-label`,onClick:()=>{i.onScrollAutoChange(!i.scrollAuto)}},[(e=t.value.footer)==null?void 0:e.scrollAuto]),o.createVNode(ei,{checked:i.scrollAuto,onChange:i.onScrollAutoChange},null)])}}});const ii=()=>({modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>()=>{}},defFooters:{type:Object}});var li=o.defineComponent({name:"MDEditorFooter",props:ii(),setup(i){const t=o.computed(()=>{const n=i.footers.indexOf("="),l=n===-1?i.footers:i.footers.slice(0,n),r=n===-1?[]:i.footers.slice(n,Number.MAX_SAFE_INTEGER);return[l,r]}),e=n=>{if(Ge.includes(n))switch(n){case"markdownTotal":return o.createVNode(Yn,{modelValue:i.modelValue},null);case"scrollSwitch":return o.createVNode(ni,{scrollAuto:i.scrollAuto,onScrollAutoChange:i.onScrollAutoChange},null)}else return i.defFooters instanceof Array?i.defFooters[n]||"":i.defFooters&&i.defFooters.children instanceof Array&&i.defFooters.children[n]||""};return()=>{const n=t.value[0].map(r=>e(r)),l=t.value[1].map(r=>e(r));return o.createVNode("div",{class:`${c}-footer`},[o.createVNode("div",{class:`${c}-footer-left`},[n]),o.createVNode("div",{class:`${c}-footer-right`},[l])])}}});const oi=()=>({tocItem:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:()=>()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>()=>{}},scrollElementOffsetTop:{type:Number,default:0}}),Nt=o.defineComponent({props:oi(),setup(i){return()=>{const{tocItem:t,markedHeadingId:e,scrollElement:n,onClick:l,scrollElementOffsetTop:r}=i;return o.createVNode("div",{class:[`${c}-catalog-link`,t.active&&`${c}-catalog-active`],onClick:s=>{l(s,t),s.stopPropagation();const a=e(t.text,t.level,t.index),u=document.getElementById(a),h=n instanceof Element?n:document.querySelector(n);if(u&&h){let d=u.offsetParent,g=u.offsetTop;if(h.contains(d))for(;d&&h!=d;)g+=d==null?void 0:d.offsetTop,d=d==null?void 0:d.offsetParent;h==null||h.scrollTo({top:g-r,behavior:"smooth"})}}},[o.createVNode("span",{title:t.text},[t.text]),o.createVNode("div",{class:`${c}-catalog-wrapper`},[t.children&&t.children.map(s=>o.createVNode(Nt,{markedHeadingId:e,key:`${t.text}-link-${s.level}-${s.text}`,tocItem:s,scrollElement:n,onClick:l,scrollElementOffsetTop:r},null))])])}}});var $i="";const ri=()=>({editorId:{type:String},class:{type:String,default:""},markedHeadingId:{type:Function,default:i=>i},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0}}),Ce=o.defineComponent({name:"MdCatalog",props:ri(),emits:["onClick"],setup(i,t){const e=i.editorId,n=o.reactive({list:[],show:!1,scrollElement:i.scrollElement||`#${e}-preview-wrapper`}),l=o.computed(()=>{const r=[];return n.list.forEach(({text:s,level:a,active:u},h)=>{const d={level:a,text:s,index:h+1,active:!!u};if(r.length===0)r.push(d);else{let g=r[r.length-1];if(d.level>g.level)for(let m=g.level+1;m<=6;m++){const{children:f}=g;if(!f){g.children=[d];break}if(g=f[f.length-1],d.level<=g.level){f.push(d);break}}else r.push(d)}}),r});return o.onMounted(()=>{b.on(e,{name:"catalogChanged",callback:r=>{n.list=r.map((s,a)=>a===0?fe(q({},s),{active:!0}):q({},s))}}),b.emit(e,"pushCatalog")}),o.onMounted(()=>{var s;const r=n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement);(s=r===document.documentElement?window:r)==null||s.addEventListener("scroll",Pt(()=>{if(n.list.length===0)return!1;const{activeHead:a}=n.list.reduce((u,h,d)=>{const g=document.getElementById(i.markedHeadingId(h.text,h.level,d+1));if(g instanceof HTMLElement){const m=Mt(g,r);if(m<i.offsetTop&&m>u.minTop)return{activeHead:h,minTop:m}}return u},{activeHead:n.list[0],minTop:Number.MIN_SAFE_INTEGER});n.list=n.list.map(u=>u===a?fe(q({},u),{active:!0}):fe(q({},u),{active:!1}))}))}),()=>o.createVNode("div",{class:`${c}-catalog${i.theme==="dark"?"-dark":""} ${i.class}`},[l.value.map(r=>o.createVNode(Nt,{markedHeadingId:i.markedHeadingId,tocItem:r,key:`link-${r.level}-${r.text}`,scrollElement:n.scrollElement,onClick:(s,a)=>{t.emit("onClick",s,a)},scrollElementOffsetTop:i.scrollElementOffsetTop},null))])}}),ai=()=>({modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},historyLength:{type:Number,default:10},onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},language:{type:String,default:"zh-CN"},toolbars:{type:Array,default:Ze},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:Z},tabWidth:{type:Number,default:2},showCodeRowNumber:{type:Boolean,default:!1},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:si},tableShape:{type:Array,default:()=>[6,4]},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},defToolbars:{type:[String,Object]},onError:{type:Function},codeTheme:{type:String,default:"atom"},footers:{type:Array,default:Ge},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:i=>i},noUploadImg:{type:Boolean},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean}}),si=i=>i;var Ci="",Ei="",Si="";const te=o.defineComponent({name:"MdEditorV3",props:ai(),emits:["onChange","onSave","onUploadImg","onHtmlChanged","onGetCatalog","onError","update:modelValue"],setup(i,t){const{editorId:e,previewOnly:n,noKatex:l,noMermaid:r,noPrettier:s,noUploadImg:a}=i,u=o.reactive({scrollAuto:i.scrollAuto});qt(i,t),Kt(i),Zt(i);const[h,d]=Gt(i,t),[g,m]=Wt(i);return o.onBeforeUnmount(()=>{b.clear(e)}),Xt(i,t,g,h,d),()=>{var x;const f=W({props:i,ctx:t},"defToolbars"),v=W({props:i,ctx:t},"defFooters");return o.createVNode("div",{id:e,class:[c,i.class,i.theme==="dark"&&`${c}-dark`,h.fullscreen||h.pageFullscreen?`${c}-fullscreen`:"",n&&`${c}-previewOnly`],style:i.style},[!n&&o.createVNode(un,{noPrettier:s,toolbars:i.toolbars,toolbarsExclude:i.toolbarsExclude,setting:h,updateSetting:d,tableShape:i.tableShape,defToolbars:f,noUploadImg:a},null),o.createVNode(Qn,{value:i.modelValue,onChange:S=>{b.emit(e,"saveHistoryPos"),i.onChange?i.onChange(S):(t.emit("update:modelValue",S),t.emit("onChange",S))},setting:h,onHtmlChanged:S=>{i.onHtmlChanged?i.onHtmlChanged(S):t.emit("onHtmlChanged",S)},onGetCatalog:S=>{i.onGetCatalog?i.onGetCatalog(S):t.emit("onGetCatalog",S)},markedHeadingId:i.markedHeadingId,noMermaid:r,sanitize:i.sanitize,placeholder:i.placeholder,noKatex:l,scrollAuto:u.scrollAuto,formatCopiedText:i.formatCopiedText,autofocus:i.autoFocus,disabled:i.disabled,readonly:i.readOnly,maxlength:i.maxLength,autoDetectCode:i.autoDetectCode},null),!n&&((x=i.footers)==null?void 0:x.length)>0&&o.createVNode(li,{modelValue:i.modelValue,footers:i.footers,defFooters:v,scrollAuto:u.scrollAuto,onScrollAutoChange:S=>u.scrollAuto=S},null),m.value&&!n&&o.createVNode(Ce,{theme:i.theme,style:{display:g.value?"block":"none"},class:`${c}-catalog-editor`,editorId:e,markedHeadingId:i.markedHeadingId},null)])}}}),ci=()=>({title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function}});var Me=o.defineComponent({name:"NormalToolbar",props:ci(),emits:["onClick"],setup(i,t){return()=>{const e=W({props:i,ctx:t},"trigger");return o.createVNode("div",{class:`${c}-toolbar-item`,title:i.title,onClick:n=>{i.onClick instanceof Function?i.onClick(n):t.emit("onClick",n)}},[e])}}});const di=()=>({title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]}});var Be=o.defineComponent({name:"DropdownToolbar",props:di(),emits:["onChange"],setup(i,t){const e=o.inject("editorId");return()=>{const n=W({props:i,ctx:t},"trigger"),l=W({props:i,ctx:t},"overlay");return o.createVNode(re,{relative:`#${e}-toolbar-wrapper`,visible:i.visible,onChange:r=>{i.onChange instanceof Function?i.onChange(r):t.emit("onChange",r)},overlay:l},{default:()=>[o.createVNode("div",{class:`${c}-toolbar-item`,title:i.title||""},[n])]})}}});function ui(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!o.isVNode(i)}const hi=()=>({title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function}});var Ue=o.defineComponent({name:"ModalToolbar",props:hi(),emits:["onClick","onClose","onAdjust"],setup(i,t){return()=>{const e=W({props:i,ctx:t},"trigger"),n=W({props:i,ctx:t},"default");return o.createVNode(o.Fragment,null,[o.createVNode("div",{class:`${c}-toolbar-item`,title:i.title,onClick:()=>{i.onClick instanceof Function?i.onClick():t.emit("onClick")}},[e]),o.createVNode(je,{width:i.width,height:i.height,title:i.modalTitle,visible:i.visible,onClose:()=>{i.onClose instanceof Function?i.onClose():t.emit("onClose")},showAdjust:i.showAdjust,isFullscreen:i.isFullscreen,onAdjust:l=>{i.onAdjust instanceof Function?i.onAdjust(l):t.emit("onAdjust",l)}},ui(n)?n:{default:()=>[n]})])}}});return te.install=i=>(i.component(te.name,te),i.component(Me.name,Me),i.component(Be.name,Be),i.component(Ce.name,Ce),i.component(Ue.name,Ue),i),te.NormalToolbar=Me,te.DropdownToolbar=Be,te.MdCatalog=Ce,te.ModalToolbar=Ue,te.config=Rt,te});
126
+ ${k}. `;i.onChange(Re(t.value,y,{}))}}}),b.on(l,{name:"replace",callback(a,u={}){i.onChange(Hn(a,r.value,t.value,fe(q({},u),{tabWidth:n,editorId:l})))}}),b.on(l,{name:"selectTextChange",callback(){r.value=Ot(t.value)}}))}),o.watch(()=>i.value,()=>{r.value=""})},Kn=i=>{const t=o.inject("theme"),{editorExtensions:e}=B,n=e==null?void 0:e.mermaid,l=o.reactive({reRender:!1,mermaidInited:!!(n!=null&&n.instance)}),r=()=>{i.noMermaid||(n!=null&&n.instance?n.instance.initialize({theme:t.value==="dark"?"dark":"default"}):window.mermaid&&window.mermaid.initialize({theme:t.value==="dark"?"dark":"default"}),l.reRender=!l.reRender)};o.watch(()=>t.value,r);let s;return o.onMounted(()=>{!i.noMermaid&&!(n!=null&&n.instance)?(s=document.createElement("script"),s.src=(n==null?void 0:n.js)||_t,s.onload=()=>{window.mermaid.initialize({theme:t.value==="dark"?"dark":"default",logLevel:"Fatal"}),l.mermaidInited=!0},s.id=`${c}-mermaid`,G(s,"mermaid")):i.noMermaid||r()}),l},Zn=(i,t)=>{const e=o.inject("editorId"),n=o.inject("previewOnly"),l=r=>{if(!!r.clipboardData){if(r.clipboardData.files.length>0){const{files:s}=r.clipboardData;b.emit(e,"uploadImage",Array.from(s).filter(a=>/image\/.*/.test(a.type))),r.preventDefault()}if(i.autoDetectCode&&r.clipboardData.types.includes("vscode-editor-data")){const s=JSON.parse(r.clipboardData.getData("vscode-editor-data"));b.emit(e,"replace","code",{mode:s.mode,text:r.clipboardData.getData("text/plain")}),r.preventDefault()}}};o.onMounted(()=>{n||t.value.addEventListener("paste",l)}),o.onBeforeUnmount(()=>{n||t.value.removeEventListener("paste",l)})},Gn=(i,t)=>{const e=o.inject("editorId"),n=ke(()=>{const l=document.querySelectorAll(`#${e}-preview img[zoom]`);l.length!==0&&jn(l,{background:"#00000073"})});o.onMounted(n),o.watch([t,o.toRef(i.setting,"preview")],n)},Wn=i=>{const t=o.inject("editorId");o.onMounted(()=>{b.on(t,{name:st,callback(){var e;(e=i.value)==null||e.focus()}})})},Xn=()=>({value:{type:String,default:""},onChange:{type:Function,default:()=>{}},setting:{type:Object,default:()=>({})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},markedHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},scrollAuto:{type:Boolean},formatCopiedText:{type:Function,default:i=>i},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean}});var Qn=o.defineComponent({name:"MDEditorContent",props:Xn(),setup(i){const t=o.ref(!0),e=o.inject("previewOnly"),n=o.inject("showCodeRowNumber"),l=o.inject("previewTheme"),r=o.inject("editorId"),s=o.ref(),a=o.ref(),u=o.ref(),h=Kn(i),{html:d}=Bn(i,h);return Un(i,d,s,a,u),qn(i,s),Mn(i,s,t),Zn(i,s),Gn(i,d),Wn(s),()=>{const g=Bt(i,["formatCopiedText","markedHeadingId","noKatex","noMermaid","onChange","onGetCatalog","onHtmlChanged","sanitize","scrollAuto","setting","autoDetectCode"]);return o.createVNode(o.Fragment,null,[o.createVNode("div",{class:`${c}-content`},[!e&&o.createVNode("div",{class:`${c}-input-wrapper`},[o.createVNode("textarea",o.mergeProps(g,{id:`${r}-textarea`,ref:s,onBlur:()=>{b.emit(r,"selectTextChange")},onKeydown:()=>{b.emit(r,"saveHistoryPos",!0)},onCompositionstart:()=>{t.value=!1},onInput:m=>{i.onChange(m.target.value)},onCompositionend:()=>{t.value=!0},class:[i.setting.preview||i.setting.htmlPreview?"":"textarea-only"]}),null)]),i.setting.preview&&o.createVNode("div",{id:`${r}-preview-wrapper`,class:`${c}-preview-wrapper`,ref:a,key:"content-preview-wrapper"},[o.createVNode("article",{id:`${r}-preview`,class:[`${c}-preview`,`${l==null?void 0:l.value}-theme`,n&&`${c}-scrn`],innerHTML:d.value},null)]),i.setting.htmlPreview&&o.createVNode("div",{class:`${c}-preview-wrapper`,ref:u,key:"html-preview-wrapper"},[o.createVNode("div",{class:`${c}-html`},[d.value])])])])}}}),Yn=o.defineComponent({props:{modelValue:{type:String,default:""}},setup(i){const t=o.inject("usedLanguageText");return()=>{var e,n;return o.createVNode("div",{class:`${c}-footer-item`},[o.createVNode("label",{class:`${c}-footer-label`},[`${(e=t.value.footer)==null?void 0:e.markdownTotal}:`]),o.createVNode("span",null,[((n=i.modelValue)==null?void 0:n.length)||0])])}}}),vi="";const Jn=()=>({checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}}});var ei=o.defineComponent({props:Jn(),setup(i){return()=>o.createVNode("div",{class:[`${c}-checkbox`,i.checked&&`${c}-checkbox-checked`],onClick:()=>{i.onChange(!i.checked)}},null)}});const ti=()=>({scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}}});var ni=o.defineComponent({props:ti(),setup(i){const t=o.inject("usedLanguageText");return()=>{var e;return o.createVNode("div",{class:`${c}-footer-item`},[o.createVNode("label",{class:`${c}-footer-label`,onClick:()=>{i.onScrollAutoChange(!i.scrollAuto)}},[(e=t.value.footer)==null?void 0:e.scrollAuto]),o.createVNode(ei,{checked:i.scrollAuto,onChange:i.onScrollAutoChange},null)])}}});const ii=()=>({modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}},defFooters:{type:Object}});var li=o.defineComponent({name:"MDEditorFooter",props:ii(),setup(i){const t=o.computed(()=>{const n=i.footers.indexOf("="),l=n===-1?i.footers:i.footers.slice(0,n),r=n===-1?[]:i.footers.slice(n,Number.MAX_SAFE_INTEGER);return[l,r]}),e=n=>{if(Ge.includes(n))switch(n){case"markdownTotal":return o.createVNode(Yn,{modelValue:i.modelValue},null);case"scrollSwitch":return o.createVNode(ni,{scrollAuto:i.scrollAuto,onScrollAutoChange:i.onScrollAutoChange},null)}else return i.defFooters instanceof Array?i.defFooters[n]||"":i.defFooters&&i.defFooters.children instanceof Array&&i.defFooters.children[n]||""};return()=>{const n=t.value[0].map(r=>e(r)),l=t.value[1].map(r=>e(r));return o.createVNode("div",{class:`${c}-footer`},[o.createVNode("div",{class:`${c}-footer-left`},[n]),o.createVNode("div",{class:`${c}-footer-right`},[l])])}}});const oi=()=>({tocItem:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}}),Nt=o.defineComponent({props:oi(),setup(i){return()=>{const{tocItem:t,markedHeadingId:e,scrollElement:n,onClick:l,scrollElementOffsetTop:r}=i;return o.createVNode("div",{class:[`${c}-catalog-link`,t.active&&`${c}-catalog-active`],onClick:s=>{l(s,t),s.stopPropagation();const a=e(t.text,t.level,t.index),u=document.getElementById(a),h=n instanceof Element?n:document.querySelector(n);if(u&&h){let d=u.offsetParent,g=u.offsetTop;if(h.contains(d))for(;d&&h!=d;)g+=d==null?void 0:d.offsetTop,d=d==null?void 0:d.offsetParent;h==null||h.scrollTo({top:g-r,behavior:"smooth"})}}},[o.createVNode("span",{title:t.text},[t.text]),o.createVNode("div",{class:`${c}-catalog-wrapper`},[t.children&&t.children.map(s=>o.createVNode(Nt,{markedHeadingId:e,key:`${t.text}-link-${s.level}-${s.text}`,tocItem:s,scrollElement:n,onClick:l,scrollElementOffsetTop:r},null))])])}}});var $i="";const ri=()=>({editorId:{type:String},class:{type:String,default:""},markedHeadingId:{type:Function,default:i=>i},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function,default:()=>{}}}),Ce=o.defineComponent({name:"MdCatalog",props:ri(),emits:["onClick"],setup(i,t){const e=i.editorId,n=o.reactive({list:[],show:!1,scrollElement:i.scrollElement||`#${e}-preview-wrapper`}),l=o.computed(()=>{const r=[];return n.list.forEach(({text:s,level:a,active:u},h)=>{const d={level:a,text:s,index:h+1,active:!!u};if(r.length===0)r.push(d);else{let g=r[r.length-1];if(d.level>g.level)for(let m=g.level+1;m<=6;m++){const{children:f}=g;if(!f){g.children=[d];break}if(g=f[f.length-1],d.level<=g.level){f.push(d);break}}else r.push(d)}}),r});return o.onMounted(()=>{b.on(e,{name:"catalogChanged",callback:r=>{n.list=r.map((s,a)=>a===0?fe(q({},s),{active:!0}):q({},s))}}),b.emit(e,"pushCatalog")}),o.onMounted(()=>{var s;const r=n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement);(s=r===document.documentElement?window:r)==null||s.addEventListener("scroll",Pt(()=>{if(n.list.length===0)return!1;const{activeHead:a}=n.list.reduce((u,h,d)=>{const g=document.getElementById(i.markedHeadingId(h.text,h.level,d+1));if(g instanceof HTMLElement){const m=Mt(g,r);if(m<i.offsetTop&&m>u.minTop)return{activeHead:h,minTop:m}}return u},{activeHead:n.list[0],minTop:Number.MIN_SAFE_INTEGER});n.list=n.list.map(u=>u===a?fe(q({},u),{active:!0}):fe(q({},u),{active:!1}))}))}),()=>o.createVNode("div",{class:`${c}-catalog${i.theme==="dark"?"-dark":""} ${i.class}`},[l.value.map(r=>o.createVNode(Nt,{markedHeadingId:i.markedHeadingId,tocItem:r,key:`link-${r.level}-${r.text}`,scrollElement:n.scrollElement,onClick:(s,a)=>{i.onClick?i.onClick(s,a):t.emit("onClick",s,a)},scrollElementOffsetTop:i.scrollElementOffsetTop},null))])}}),ai=()=>({modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},historyLength:{type:Number,default:10},onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},language:{type:String,default:"zh-CN"},toolbars:{type:Array,default:Ze},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:Z},tabWidth:{type:Number,default:2},showCodeRowNumber:{type:Boolean,default:!1},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},markedHeadingId:{type:Function,default:si},tableShape:{type:Array,default:()=>[6,4]},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:i=>i},placeholder:{type:String,default:""},noKatex:{type:Boolean,default:!1},defToolbars:{type:[String,Object]},onError:{type:Function},codeTheme:{type:String,default:"atom"},footers:{type:Array,default:Ge},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:i=>i},noUploadImg:{type:Boolean},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean}}),si=i=>i;var Ci="",Ei="";const te=o.defineComponent({name:"MdEditorV3",props:ai(),emits:["onChange","onSave","onUploadImg","onHtmlChanged","onGetCatalog","onError","update:modelValue"],setup(i,t){const{editorId:e,previewOnly:n,noKatex:l,noMermaid:r,noPrettier:s,noUploadImg:a}=i,u=o.reactive({scrollAuto:i.scrollAuto});qt(i,t),Kt(i),Zt(i);const[h,d]=Gt(i,t),[g,m]=Wt(i);return o.onBeforeUnmount(()=>{b.clear(e)}),Xt(i,t,g,h,d),()=>{var x;const f=W({props:i,ctx:t},"defToolbars"),v=W({props:i,ctx:t},"defFooters");return o.createVNode("div",{id:e,class:[c,i.class,i.theme==="dark"&&`${c}-dark`,h.fullscreen||h.pageFullscreen?`${c}-fullscreen`:"",n&&`${c}-previewOnly`],style:i.style},[!n&&o.createVNode(un,{noPrettier:s,toolbars:i.toolbars,toolbarsExclude:i.toolbarsExclude,setting:h,updateSetting:d,tableShape:i.tableShape,defToolbars:f,noUploadImg:a},null),o.createVNode(Qn,{value:i.modelValue,onChange:S=>{b.emit(e,"saveHistoryPos"),i.onChange?i.onChange(S):(t.emit("update:modelValue",S),t.emit("onChange",S))},setting:h,onHtmlChanged:S=>{i.onHtmlChanged?i.onHtmlChanged(S):t.emit("onHtmlChanged",S)},onGetCatalog:S=>{i.onGetCatalog?i.onGetCatalog(S):t.emit("onGetCatalog",S)},markedHeadingId:i.markedHeadingId,noMermaid:r,sanitize:i.sanitize,placeholder:i.placeholder,noKatex:l,scrollAuto:u.scrollAuto,formatCopiedText:i.formatCopiedText,autofocus:i.autoFocus,disabled:i.disabled,readonly:i.readOnly,maxlength:i.maxLength,autoDetectCode:i.autoDetectCode},null),!n&&((x=i.footers)==null?void 0:x.length)>0&&o.createVNode(li,{modelValue:i.modelValue,footers:i.footers,defFooters:v,scrollAuto:u.scrollAuto,onScrollAutoChange:S=>u.scrollAuto=S},null),m.value&&!n&&o.createVNode(Ce,{theme:i.theme,style:{display:g.value?"block":"none"},class:`${c}-catalog-editor`,editorId:e,markedHeadingId:i.markedHeadingId},null)])}}}),ci=()=>({title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function}});var Me=o.defineComponent({name:"NormalToolbar",props:ci(),emits:["onClick"],setup(i,t){return()=>{const e=W({props:i,ctx:t},"trigger");return o.createVNode("div",{class:`${c}-toolbar-item`,title:i.title,onClick:n=>{i.onClick instanceof Function?i.onClick(n):t.emit("onClick",n)}},[e])}}});const di=()=>({title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]}});var Be=o.defineComponent({name:"DropdownToolbar",props:di(),emits:["onChange"],setup(i,t){const e=o.inject("editorId");return()=>{const n=W({props:i,ctx:t},"trigger"),l=W({props:i,ctx:t},"overlay");return o.createVNode(re,{relative:`#${e}-toolbar-wrapper`,visible:i.visible,onChange:r=>{i.onChange instanceof Function?i.onChange(r):t.emit("onChange",r)},overlay:l},{default:()=>[o.createVNode("div",{class:`${c}-toolbar-item`,title:i.title||""},[n])]})}}});function ui(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!o.isVNode(i)}const hi=()=>({title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function}});var Ue=o.defineComponent({name:"ModalToolbar",props:hi(),emits:["onClick","onClose","onAdjust"],setup(i,t){return()=>{const e=W({props:i,ctx:t},"trigger"),n=W({props:i,ctx:t},"default");return o.createVNode(o.Fragment,null,[o.createVNode("div",{class:`${c}-toolbar-item`,title:i.title,onClick:()=>{i.onClick instanceof Function?i.onClick():t.emit("onClick")}},[e]),o.createVNode(je,{width:i.width,height:i.height,title:i.modalTitle,visible:i.visible,onClose:()=>{i.onClose instanceof Function?i.onClose():t.emit("onClose")},showAdjust:i.showAdjust,isFullscreen:i.isFullscreen,onAdjust:l=>{i.onAdjust instanceof Function?i.onAdjust(l):t.emit("onAdjust",l)}},ui(n)?n:{default:()=>[n]})])}}});return te.install=i=>(i.component(te.name,te),i.component(Me.name,Me),i.component(Be.name,Be),i.component(Ce.name,Ce),i.component(Ue.name,Ue),i),te.NormalToolbar=Me,te.DropdownToolbar=Be,te.MdCatalog=Ce,te.ModalToolbar=Ue,te.config=Rt,te});
package/lib/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.md-editor-divider{position:relative;display:inline-block;width:1px;top:.1em;height:.9em;margin:0 8px;background-color:var(--md-border-color)}.md-editor-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:10000;background-color:var(--md-bk-color)}.md-editor-dropdown-hidden{opacity:0;z-index:-10000}.md-editor-dropdown-overlay{margin-top:6px}.md-editor-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;height:100%;background-color:var(--md-modal-mask)}.md-editor-modal{display:block;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-radius:3px;border:1px solid var(--md-border-color);position:fixed;z-index:20001;flex-direction:column}.md-editor-modal-header{cursor:grab;display:flex;justify-content:space-between;padding:10px 24px;color:var(--md-color);font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;user-select:none;border-bottom:1px solid var(--md-border-color);position:relative}.md-editor-modal-body{padding:24px;font-size:14px;word-wrap:break-word;height:calc(100% - 61px);box-sizing:border-box}.md-editor-modal .md-editor-modal-func{position:absolute;top:10px;right:10px}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust,.md-editor-modal .md-editor-modal-func .md-editor-modal-close{cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;display:inline-block}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust{padding-right:10px}.animation{animation-duration:.15s;animation-fill-mode:forwards}@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;animation-fill-mode:forwards}@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;animation-fill-mode:forwards}.md-editor-clip{position:relative;display:flex;height:calc(100% - 32px)}.md-editor-clip-main,.md-editor-clip-preview{width:50%;height:100%;border:1px solid var(--md-border-color)}.md-editor-clip-main{margin-right:1em}.md-editor-clip-main .md-editor-clip-cropper{position:relative;width:100%;height:100%}.md-editor-clip-main .md-editor-clip-cropper .md-editor-clip-delete{position:absolute;top:0;right:0;font-size:0;background-color:var(--md-bk-color-outstand);border-bottom-left-radius:4px;color:var(--md-color);cursor:pointer}.md-editor-clip-main .md-editor-clip-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer}.md-editor-clip-main .md-editor-clip-upload .md-editor-icon{width:auto;height:40px}.md-editor-clip-preview-target{width:100%;height:100%;overflow:hidden}@media (max-width: 688px){.md-editor-modal-clip .md-editor-modal{max-width:calc(100% - 20px);max-height:calc(100% - 20px);margin:10px;left:0!important}.md-editor-modal-clip .md-editor-clip{flex-direction:column}.md-editor-modal-clip .md-editor-clip-main,.md-editor-modal-clip .md-editor-clip-preview{width:100%;height:0;flex:1}.md-editor-modal-clip .md-editor-clip-main{margin-bottom:1em}}.md-editor-checkbox{cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor-checkbox:after{content:"";font-weight:700}.md-editor-checkbox-checked:after{content:"\2713"}.md-editor-catalog-editor{--md-color: #222;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-avtive-color: #00000061;position:absolute;overflow:auto;top:44px;right:0;height:calc(100% - 44px);background-color:var(--md-bk-color-outstand);border-left:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin:0;padding:5px 10px;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";z-index:2}.md-editor-catalog>.md-editor-catalog-link{padding:5px 8px}.md-editor-catalog-link{padding:5px 0 5px 1em;line-height:1.2}.md-editor-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer}.md-editor-catalog-link span:hover{color:#73d13d}.md-editor-catalog-wrapper>.md-editor-catalog-link{padding-top:5px;padding-bottom:5px}.md-editor-catalog-wrapper>.md-editor-catalog-link:first-of-type{padding-top:10px}.md-editor-catalog-wrapper>.md-editor-catalog-link:last-of-type{padding-bottom:0}.md-editor-catalog-active>span{color:#73d13d}.md-editor-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-avtive-color: #3a3a3a}.md-editor{--md-color: #222;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-avtive-color: #00000061;width:100%;height:425px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;color:var(--md-color);background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md-editor ::-webkit-scrollbar{width:6px;height:6px}.md-editor ::-webkit-scrollbar-corner,.md-editor ::-webkit-scrollbar-track{background-color:var(--md-scrollbar-bg-color)}.md-editor ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-scrollbar-thumb-color)}.md-editor ::-webkit-scrollbar-button:vertical{display:none}.md-editor ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-scrollbar-thumb-hover-color)}.md-editor ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-scrollbar-thumb-avtive-color)}.md-editor-icon{width:24px;height:24px;fill:currentColor;overflow:hidden}.md-editor-menu{margin:0;padding:0;border-radius:3px;border:1px solid var(--md-border-color);background-color:inherit}.md-editor-menu-item{list-style:none;font-size:12px;color:var(--md-color);padding:4px 10px;cursor:pointer;line-height:16px}.md-editor-menu-item:first-of-type{padding-top:8px}.md-editor-menu-item:last-of-type{padding-bottom:8px}.md-editor-menu-item:hover{background-color:var(--md-bk-hover-color)}.md-editor-table-shape{padding:4px;border-radius:3px;border:1px solid var(--md-border-color);display:flex;flex-direction:column}.md-editor-table-shape-row{display:flex}.md-editor-table-shape-col{padding:2px;cursor:pointer}.md-editor-table-shape-col-default{width:16px;height:16px;background-color:#e0e0e0;border-radius:3px;transition:all .2s}.md-editor-table-shape-col-include{background-color:#aaa}.md-editor-toolbar-wrapper{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;height:35px;flex-shrink:0;padding:4px;border-bottom:1px solid var(--md-border-color)}.md-editor-toolbar-wrapper::-webkit-scrollbar{height:0!important}.md-editor-toolbar-wrapper .md-editor-toolbar{min-width:850px;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:content-box}.md-editor-toolbar-wrapper .md-editor-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-editor-toolbar-wrapper .md-editor-toolbar-item:hover{border-radius:3px;background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-wrapper .md-editor-toolbar-left,.md-editor-toolbar-wrapper .md-editor-toolbar-right{padding:1px 0;display:flex;align-items:center}.md-editor-content{display:flex;flex:1;height:0;flex-shrink:0}.md-editor-content .md-editor-input-wrapper{flex:1;box-sizing:border-box}.md-editor-content .md-editor-input-wrapper textarea{width:100%;height:100%;padding:10px 20px;box-sizing:border-box;font-size:1em;font-family:-apple-system,Consolas,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;resize:none;border:none;outline:none;overflow-y:scroll;color:inherit;background-color:inherit;line-height:1.4}.md-editor-content .md-editor-input-wrapper textarea:disabled{cursor:not-allowed}.md-editor-content .md-editor-input-wrapper textarea.textarea-only{overflow-y:auto}.md-editor-content .md-editor-preview-wrapper{position:relative;flex:1;box-sizing:border-box;overflow:auto}.md-editor-content .md-editor-preview,.md-editor-content .md-editor-html{padding:10px 20px;font-size:16px;position:relative;word-break:break-all}.md-editor-footer{height:24px;flex-shrink:0;font-size:12px;color:var(--md-color);border-top:1px solid var(--md-border-color);display:flex;justify-content:space-between}.md-editor-footer-item{display:inline-flex;align-items:center;height:100%;padding:0 10px}.md-editor-footer-label{padding-right:5px;line-height:1}.md-editor-form-item{margin-bottom:14px;text-align:center}.md-editor-form-item:last-of-type{margin-bottom:0}.md-editor-label{font-size:14px;color:var(--md-color);width:80px;text-align:center;display:inline-block}.md-editor-input{border-radius:4px;padding:4px 11px;color:var(--md-color);font-size:14px;line-height:1.5715;background-color:var(--md-bk-color);background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor-input:focus,.md-editor-input:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor-input:focus{border-color:var(--md-border-active-color)}.md-editor-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;user-select:none;height:32px;padding:0 15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:var(--md-bk-color);border-color:var(--md-border-color);margin-left:10px}.md-editor-btn:first-of-type{margin-left:0}.md-editor-btn:hover{color:var(--md-hover-color);background-color:var(--md-bk-color);border-color:var(--md-border-hover-color)}.md-editor-btn-row{width:100%}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-mermaid{overflow-x:auto}.md-editor-mermaid-loading{display:none}.md-editor-mermaid-error{color:#dc2626;text-align:center;padding:20px}.md-editor-previewOnly{border:none;height:auto}.md-editor-previewOnly .md-editor-content{height:100%}.md-editor-previewOnly .md-editor-preview{padding:0}.md-editor-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-avtive-color: #3a3a3a}.md-editor-dark .md-editor-table-shape-col-default{background-color:#222}.md-editor-dark .md-editor-table-shape-col-include{background-color:#555}.md-editor-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;width:auto!important;height:auto!important;z-index:10000}.mermaid,.md-editor-katex-inline,.md-editor-katex-block{display:none}.mermaid[data-processed],.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.md-editor-alert-note{--marked-alert-color: #448aff;--marked-alert-bg-color: #d5e2f9}.md-editor-alert-abstract{--marked-alert-color: #02b1ff;--marked-alert-bg-color: #d1eefb}.md-editor-alert-info{--marked-alert-color: #333;--marked-alert-bg-color: #e3e3e3}.md-editor-alert-tip{--marked-alert-color: #666;--marked-alert-bg-color: #e6e6e6}.md-editor-alert-success{--marked-alert-color: #00c852;--marked-alert-bg-color: #c1f1d5}.md-editor-alert-question{--marked-alert-color: #f0b400;--marked-alert-bg-color: #fff1dd}.md-editor-alert-warning{--marked-alert-color: #ff9104;--marked-alert-bg-color: #ffe9cc}.md-editor-alert-failure{--marked-alert-color: #c2185b;--marked-alert-bg-color: #ffd9d9}.md-editor-alert-danger{--marked-alert-color: #ff5252;--marked-alert-bg-color: #ffe4e4}.md-editor-alert-bug{--marked-alert-color: #f60357;--marked-alert-bg-color: #ffd3e2}.md-editor-alert-example{--marked-alert-color: #7c4dff;--marked-alert-bg-color: #e3d8ff}.md-editor-alert-quote{--marked-alert-color: #9e9e9e;--marked-alert-bg-color: #f0f0f0}.md-editor-alert-hint{--marked-alert-color: #009688;--marked-alert-bg-color: #cdf4f0}.md-editor-alert-caution{--marked-alert-color: #ffa726;--marked-alert-bg-color: #ffe7c4}.md-editor-alert-error{--marked-alert-color: #d32f2f;--marked-alert-bg-color: #ffd8d8}.md-editor-alert-attention{--marked-alert-color: #455a64;--marked-alert-bg-color: #cbefff}.md-editor-alert{background-color:var(--marked-alert-bg-color);border:1px solid var(--marked-alert-color);border-radius:.5rem;color:var(--marked-alert-color);display:flow-root;font-size:14px;font-weight:400;margin:1rem 0;padding:1em 1em .5em;page-break-inside:avoid}.md-editor-alert>.md-editor-alert-title{border-top-left-radius:.5rem;border-top-right-radius:.5rem;margin:0;padding:0;position:relative;font-weight:700}.md-editor-alert>p{margin:.5em 0;padding:0}.md-editor-alert+p:empty,.md-editor-alert+p:empty+p:empty{display:none}.md-editor-dark .md-editor-alert-note{--marked-alert-color: #1262e7;--marked-alert-bg-color: #021d4c}.md-editor-dark .md-editor-alert-abstract{--marked-alert-color: #058dc9;--marked-alert-bg-color: #002433}.md-editor-dark .md-editor-alert-info{--marked-alert-color: #999;--marked-alert-bg-color: #212121}.md-editor-dark .md-editor-alert-tip{--marked-alert-color: #888;--marked-alert-bg-color: #191818}.md-editor-dark .md-editor-alert-success{--marked-alert-color: #00c551;--marked-alert-bg-color: #003014}.md-editor-dark .md-editor-alert-question{--marked-alert-color: #cd9a00;--marked-alert-bg-color: #311d00}.md-editor-dark .md-editor-alert-warning{--marked-alert-color: #ed8500;--marked-alert-bg-color: #3c2200}.md-editor-dark .md-editor-alert-failure{--marked-alert-color: #d5125f;--marked-alert-bg-color: #3f0000}.md-editor-dark .md-editor-alert-danger{--marked-alert-color: #d80505;--marked-alert-bg-color: #390000}.md-editor-dark .md-editor-alert-bug{--marked-alert-color: #da0d54;--marked-alert-bg-color: #390013}.md-editor-dark .md-editor-alert-example{--marked-alert-color: #7443ff;--marked-alert-bg-color: #140045}.md-editor-dark .md-editor-alert-quote{--marked-alert-color: #9e9e9e;--marked-alert-bg-color: #2b2b2b}.md-editor-dark .md-editor-alert-hint{--marked-alert-color: #00ae9e;--marked-alert-bg-color: #00423b}.md-editor-dark .md-editor-alert-caution{--marked-alert-color: #db8609;--marked-alert-bg-color: #573300}.md-editor-dark .md-editor-alert-error{--marked-alert-color: #df1a1a;--marked-alert-bg-color: #440000}.md-editor-dark .md-editor-alert-attention{--marked-alert-color: #0f8bc7;--marked-alert-bg-color: #00354d}.md-editor-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-editor-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-editor-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-right:.5em;text-align:right;content:counter(linenumber)}.md-editor-scrn pre code{padding-left:3.5em!important}.default-theme ::-webkit-scrollbar{width:6px;height:6px}.default-theme ::-webkit-scrollbar-corner,.default-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.default-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.default-theme ::-webkit-scrollbar-button:vertical{display:none}.default-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.default-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.default-theme h1,.default-theme h2,.default-theme h3,.default-theme h4,.default-theme h5,.default-theme h6{position:relative;word-break:break-all}.default-theme h1 a,.default-theme h2 a,.default-theme h3 a,.default-theme h4 a,.default-theme h5 a,.default-theme h6 a,.default-theme h1 a:hover,.default-theme h2 a:hover,.default-theme h3 a:hover,.default-theme h4 a:hover,.default-theme h5 a:hover,.default-theme h6 a:hover{color:inherit}.default-theme ol>li{list-style:decimal}.default-theme ul>li{list-style:disc}.default-theme ol .li-task,.default-theme ul .li-task{list-style-type:none}.default-theme ol .li-task input,.default-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.default-theme a{text-decoration:none}.default-theme pre,.default-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.default-theme pre{margin:20px 0}.default-theme pre code{display:block;line-height:1;overflow:auto}.default-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.default-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.default-theme div[inline]>.figure{padding-right:.5em}.default-theme div[inline]>.figure img{padding:0;border:none}.default-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.default-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.default-theme h1,.default-theme h2,.default-theme h3,.default-theme h4,.default-theme h5,.default-theme h6{margin:1.4em 0 .8em;font-weight:700}.default-theme a{color:#2d8cf0;transition:color .3s}.default-theme a:hover{color:#73d13d}.default-theme img{margin:0 auto;max-width:100%;box-sizing:border-box;padding:5px;border:1px solid #e6e6e6;border-radius:3px}.default-theme p{line-height:1.6;margin:0;padding:.5rem 0}.default-theme p:empty{display:none}.default-theme code{color:#3594f7;background-color:#3baafa1a;display:inline-block;padding:0 4px;border-radius:2px;line-height:22px}.default-theme blockquote{margin:20px 0;padding:.5em 1.2em;line-height:2em;background-color:#ececec;border-left:5px solid #35b378;display:block}.default-theme blockquote p{padding:0}.default-theme pre{position:relative;border-radius:5px;box-shadow:#0005 0 2px 2px}.default-theme pre code{position:relative;padding:1em;background-color:#282c34;color:#a9b7c6;border-radius:0 0 5px 5px}.default-theme pre code>*{line-height:1.6}.default-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer}.default-theme pre:before{content:"";display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAACCCAYAAADVN8idAAAgAElEQVR4nO2de5QU5Zn/v1VdVX2/zQwMzDCDgCBKOIx4myXLRlnYGDlhzWWDSTxkhXBQo2iS34kmavb3C5qo5+yqqBs5xNG4ZpVskjXk6BrhqAkbdoyXgSUoiqgMzDjAzPS1+lLX3x/TYNU7F6C7untm+vn8Ne/bVdVvP+8777fe2/MABEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQExKu2BtN03SyHGVhxdS61jk+77xWr3dWk9c7Y4okTakThbqAIIa8POcTeF4EAM0w1KxhZtKamhxUtcETinKiN5s92p3Nfngok31vx/HB7mr/FmLisaItMGv2NPfclqnCrKYGoXVqWJxWF+TrAj4u5JE4n+jiRZMzoWmmmlPMTDpjJgdTxuDxhNrX2691HzmuffhBX/7gjj3pD6v9W4iJx9TFwXqxWWrlG6UmforYiIhQb4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vT4UWdHQsPKK+rrlc/z++aicKHYekuUDrwwM7txxov958gpTm1w2zxdZsdi/6vI235XnNknzUTlR7Hq/Vznw6p7MizvekreTV5japGG+3+25NLiUXxxYghnSzEJ2uYVxaL/DUeWw+WZ6d/b15K5qOMlmqWkhtLIg5Ofbo5GlF4fD7W3h4IUF121A6eLYCQzFCNyTSHW9kUh0dsbiu+gIBGFlQYuHv2y+9/KL53mWLJrjvajgug0oXRy7gKEYgXsPZd98473c7tcOZF/df4SOQBB2pl9V/ylxvncR5novKLhuA0oXxg5gKEag+X72bfVAdm85d38WCwnhGKyYWtc6x+ed1+r1zmryemdMkaQpdaJQFxDEkJfnfALPiwCgGYaaNYxMWtOSg6o2eCKvnOjNZY92Z7MfHspk3yNn2EQxrGgLzJo9zT23Zaowq6lebJ0a4adFg0Jd0MeFPBLnEwRuqP1ppppTzEwqYyZjKW3weNzo6x1Qu7uPax9+2Jc/uGNP+sNq/xZi4jF1cbBebJZa+UapiZ8iNiIi1JshV8Tw8wFOcrl511D0IUOHweWNPDJ6mkvqccS1AeOEesw4pvSqPUp3tSJCnA2VOjFAEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEAQxzvj/snGtbrdYI/0AAAAASUVORK5CYII=);height:32px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:#282c34;margin-bottom:0;border-top-left-radius:5px;border-top-right-radius:5px;background-position:10px 10px}.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em}.default-theme table tr th,.default-theme table tr td{word-wrap:break-word;padding:8px 14px;border:1px solid #e6e6e6}.default-theme table tr:nth-child(2n){background-color:#fafafa}.default-theme table tr:hover{background-color:#eee}.default-theme ol,.default-theme ul{margin:.6em 0;padding-left:1.6em}.default-theme ol li,.default-theme ul li{line-height:1.6;margin:.5em 0}.md-editor-dark .default-theme{color:#999}.md-editor-dark .default-theme ::-webkit-scrollbar-corner,.md-editor-dark .default-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .default-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .default-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .default-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor-dark .default-theme hr{border-color:#2d2d2d}.md-editor-dark .default-theme h1,.md-editor-dark .default-theme h2,.md-editor-dark .default-theme h3,.md-editor-dark .default-theme h4,.md-editor-dark .default-theme h5,.md-editor-dark .default-theme h6,.md-editor-dark .default-theme strong{color:#999}.md-editor-dark .default-theme img{border-color:#2d2d2d}.md-editor-dark .default-theme blockquote{background-color:#111}.md-editor-dark .default-theme pre code{background-color:#1a1a1a;color:#a9b7c6}.md-editor-dark .default-theme pre .copy-button{color:#999}.md-editor-dark .default-theme pre:before{background-color:#1a1a1a}.md-editor-dark .default-theme table tr th,.md-editor-dark .default-theme table tr td{border-color:#2d2d2d}.md-editor-dark .default-theme table tr:nth-child(2n){background-color:#0c0c0c}.md-editor-dark .default-theme table tr:hover{background-color:#191919}.github-theme{line-height:1.5}.github-theme ::-webkit-scrollbar{width:6px;height:6px}.github-theme ::-webkit-scrollbar-corner,.github-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.github-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.github-theme ::-webkit-scrollbar-button:vertical{display:none}.github-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.github-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.github-theme h1,.github-theme h2,.github-theme h3,.github-theme h4,.github-theme h5,.github-theme h6{position:relative;word-break:break-all}.github-theme h1 a,.github-theme h2 a,.github-theme h3 a,.github-theme h4 a,.github-theme h5 a,.github-theme h6 a,.github-theme h1 a:hover,.github-theme h2 a:hover,.github-theme h3 a:hover,.github-theme h4 a:hover,.github-theme h5 a:hover,.github-theme h6 a:hover{color:inherit}.github-theme ol>li{list-style:decimal}.github-theme ul>li{list-style:disc}.github-theme ol .li-task,.github-theme ul .li-task{list-style-type:none}.github-theme ol .li-task input,.github-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.github-theme a{text-decoration:none}.github-theme pre,.github-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.github-theme pre{margin:20px 0}.github-theme pre code{display:block;line-height:1;overflow:auto}.github-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.github-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.github-theme div[inline]>.figure{padding-right:.5em}.github-theme div[inline]>.figure img{padding:0;border:none}.github-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.github-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.github-theme h1,.github-theme h2,.github-theme h3,.github-theme h4,.github-theme h5,.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.github-theme h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid #d9dee4}.github-theme h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #d9dee4}.github-theme h3{font-size:1.25em}.github-theme h4{font-size:1em}.github-theme h5{font-size:.875em}.github-theme h6{font-size:.85em;color:#2d3339}.github-theme a{color:#539bf5}.github-theme a:hover{text-decoration:underline}.github-theme img{max-width:100%;box-sizing:content-box;background-color:#fff}.github-theme p,.github-theme blockquote,.github-theme ul,.github-theme ol,.github-theme dl,.github-theme table,.github-theme pre,.github-theme details{margin-top:0;margin-bottom:16px}.github-theme p:empty{display:none}.github-theme code{padding:.2em .4em;margin:0;background-color:#eff1f2;border-radius:6px}.github-theme blockquote{padding:0 1em;color:#57606a;border-left:.25em solid #d0d7de}.github-theme pre{background-color:#f6f8fa;border-radius:6px;position:relative}.github-theme pre code{position:relative;padding:1em;margin-bottom:0;word-break:normal;letter-spacing:1px}.github-theme pre code>*{line-height:1.45}.github-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.github-theme pre:hover .copy-button{display:initial}.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}.github-theme table tr{background-color:#fff;border-top:1px solid #d8dee4}.github-theme table tr th,.github-theme table tr td{padding:6px 13px;border:1px solid #d0d7de}.github-theme table tr:nth-child(2n){background-color:#f7f8fa}.github-theme ol,.github-theme ul{padding-left:2em}.github-theme ol li+li,.github-theme ul li+li{margin-top:.25em}.md-editor-dark .github-theme{color:#c9d1d9}.md-editor-dark .github-theme ::-webkit-scrollbar-corner,.md-editor-dark .github-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .github-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .github-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .github-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor-dark .github-theme hr{border-color:#2d2d2d}.md-editor-dark .github-theme h1,.md-editor-dark .github-theme h2,.md-editor-dark .github-theme h3,.md-editor-dark .github-theme h4,.md-editor-dark .github-theme h5,.md-editor-dark .github-theme h6,.md-editor-dark .github-theme strong{color:#c9d1d9}.md-editor-dark .github-theme h1,.md-editor-dark .github-theme h2{border-bottom:1px solid #373e47}.md-editor-dark .github-theme img{border-color:#2d2d2d}.md-editor-dark .github-theme blockquote{border-color:#444c56;color:#8b949e;background-color:initial}.md-editor-dark .github-theme code{background-color:#2d3339;color:#c9d1d9}.md-editor-dark .github-theme pre{background-color:#2d333b}.md-editor-dark .github-theme pre code{color:#a9b7c6;background-color:#161b22}.md-editor-dark .github-theme pre .copy-button{color:#999}.md-editor-dark .github-theme pre:before{background-color:#1a1a1a}.md-editor-dark .github-theme table tr{background-color:transparent;border-color:gray}.md-editor-dark .github-theme table tr th,.md-editor-dark .github-theme table tr td{border-color:#30363d}.md-editor-dark .github-theme table tr:nth-child(2n){background-color:#161b22}.vuepress-theme{font-size:16px;color:#304455}.vuepress-theme ::-webkit-scrollbar{width:6px;height:6px}.vuepress-theme ::-webkit-scrollbar-corner,.vuepress-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.vuepress-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.vuepress-theme ::-webkit-scrollbar-button:vertical{display:none}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{position:relative;word-break:break-all}.vuepress-theme h1 a,.vuepress-theme h2 a,.vuepress-theme h3 a,.vuepress-theme h4 a,.vuepress-theme h5 a,.vuepress-theme h6 a,.vuepress-theme h1 a:hover,.vuepress-theme h2 a:hover,.vuepress-theme h3 a:hover,.vuepress-theme h4 a:hover,.vuepress-theme h5 a:hover,.vuepress-theme h6 a:hover{color:inherit}.vuepress-theme ol>li{list-style:decimal}.vuepress-theme ul>li{list-style:disc}.vuepress-theme ol .li-task,.vuepress-theme ul .li-task{list-style-type:none}.vuepress-theme ol .li-task input,.vuepress-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.vuepress-theme a{text-decoration:none}.vuepress-theme pre,.vuepress-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.vuepress-theme pre{margin:20px 0}.vuepress-theme pre code{display:block;line-height:1;overflow:auto}.vuepress-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.vuepress-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.vuepress-theme div[inline]>.figure{padding-right:.5em}.vuepress-theme div[inline]>.figure img{padding:0;border:none}.vuepress-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.vuepress-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{font-weight:600;color:#273849;line-height:1.45;position:relative;margin-top:1em}.vuepress-theme h1{font-size:2.2em;margin:1em 0}.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em;border-bottom:1px solid #eaecef}.vuepress-theme h3{line-height:1.35em}.vuepress-theme a{color:#42b983;font-weight:600}.vuepress-theme img{max-width:100%}.vuepress-theme div[inline]>.figure{padding-right:.5em}.vuepress-theme div[inline]>.figure img{padding:0;border:none}.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.vuepress-theme code{color:#d63200;padding:3px 5px;margin:0 2px;border-radius:2px}.vuepress-theme p{word-spacing:.05em}.vuepress-theme p:empty{display:none}.vuepress-theme blockquote{margin:2em 0;padding-left:20px;border-left:4px solid #42b983}.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.vuepress-theme pre,.vuepress-theme code{background-color:#f8f8f8}.vuepress-theme pre{border-radius:2px;position:relative;font-size:.875em;margin:1em 0}.vuepress-theme pre code{overflow-x:auto;color:#747384;white-space:pre;padding:1em}.vuepress-theme pre code>*{line-height:1.6}.vuepress-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.vuepress-theme pre:hover .copy-button{display:initial}.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}.vuepress-theme table tr{border-top:1px solid #dfe2e5}.vuepress-theme table tr th,.vuepress-theme table tr td{border:1px solid #dfe2e5;padding:.6em 1em}.vuepress-theme table tr:nth-child(2n){background-color:#f6f8fa}.vuepress-theme p,.vuepress-theme ol,.vuepress-theme ul{line-height:1.6em;margin:1.2em 0;position:relative;z-index:1}.vuepress-theme ul,.vuepress-theme ol{padding-left:1.25em;line-height:1.4em}.vuepress-theme ul li,.vuepress-theme ol li{margin:1.2em 0}.md-editor-dark .vuepress-theme{color:#999}.md-editor-dark .vuepress-theme ::-webkit-scrollbar-corner,.md-editor-dark .vuepress-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .vuepress-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .vuepress-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .vuepress-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor-dark .vuepress-theme hr{border-color:#2d2d2d}.md-editor-dark .vuepress-theme h1,.md-editor-dark .vuepress-theme h2,.md-editor-dark .vuepress-theme h3,.md-editor-dark .vuepress-theme h4,.md-editor-dark .vuepress-theme h5,.md-editor-dark .vuepress-theme h6,.md-editor-dark .vuepress-theme strong{color:#999}.md-editor-dark .vuepress-theme h2{border-color:#2d2d2d}.md-editor-dark .vuepress-theme code{color:#e06c75;background-color:#1a1a1a}.md-editor-dark .vuepress-theme pre{background-color:#1a1a1a}.md-editor-dark .vuepress-theme pre code{background-color:#1a1a1a;color:#999}.md-editor-dark .vuepress-theme pre:before{background-color:#1a1a1a}.md-editor-dark .vuepress-theme table tr th,.md-editor-dark .vuepress-theme table tr td{border-color:#2d2d2d}.md-editor-dark .vuepress-theme table tr:nth-child(2n){background-color:#0c0c0c}.smart-blue-theme{padding:16px;color:#595959;font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-image:linear-gradient(90deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%);background-size:20px 20px;background-position:center center}.smart-blue-theme ::-webkit-scrollbar{width:6px;height:6px}.smart-blue-theme ::-webkit-scrollbar-corner,.smart-blue-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.smart-blue-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.smart-blue-theme ::-webkit-scrollbar-button:vertical{display:none}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{position:relative;word-break:break-all}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a,.smart-blue-theme h1 a:hover,.smart-blue-theme h2 a:hover,.smart-blue-theme h3 a:hover,.smart-blue-theme h4 a:hover,.smart-blue-theme h5 a:hover,.smart-blue-theme h6 a:hover{color:inherit}.smart-blue-theme ol>li{list-style:decimal}.smart-blue-theme ul>li{list-style:disc}.smart-blue-theme ol .li-task,.smart-blue-theme ul .li-task{list-style-type:none}.smart-blue-theme ol .li-task input,.smart-blue-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.smart-blue-theme a{text-decoration:none}.smart-blue-theme pre,.smart-blue-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.smart-blue-theme pre{margin:20px 0}.smart-blue-theme pre code{display:block;line-height:1;overflow:auto}.smart-blue-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.smart-blue-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.smart-blue-theme div[inline]>.figure{padding-right:.5em}.smart-blue-theme div[inline]>.figure img{padding:0;border:none}.smart-blue-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.smart-blue-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.smart-blue-theme p{line-height:2;font-weight:400}.smart-blue-theme p+p{margin-top:16px}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{padding:30px 0;margin:0;color:#135ce0}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a{border:none}.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}.smart-blue-theme h3{font-size:16px}.smart-blue-theme ul{list-style:disc outside;margin-top:1em;padding-left:1.6em}.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}.smart-blue-theme img{max-width:100%}.smart-blue-theme img.loaded{margin:0 auto;display:block}.smart-blue-theme blockquote{background:#fff9f9;margin:2em 0;padding:2px 20px;border-left:4px solid #b2aec5}.smart-blue-theme blockquote p{color:#666;line-height:2}.smart-blue-theme a{color:#036aca;font-weight:400;text-decoration:none}.smart-blue-theme strong,.smart-blue-theme em strong{color:#036aca}.smart-blue-theme hr{border-top:1px solid #135ce0}.smart-blue-theme pre code{padding:22px 12px;margin:0;word-break:normal;display:block;overflow-x:auto;color:#333;background:#f8f8f8}.smart-blue-theme pre code>*{line-height:1.6}.smart-blue-theme pre code span[rn-wrapper]{top:22px}.smart-blue-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.smart-blue-theme pre:hover .copy-button{display:initial}.smart-blue-theme code{border-radius:2px;overflow-x:auto;background-color:#fff5f5;color:#ff502c;padding:.065em .4em}.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}.smart-blue-theme table tr{border-top:1px solid #dfe2e5}.smart-blue-theme table tr:nth-child(2n){background-color:#f6f8fa}.smart-blue-theme pre,.smart-blue-theme code{overflow:auto;position:relative;line-height:1.75;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.smart-blue-theme table th,.smart-blue-theme table td{border:1px solid #dfe2e5;padding:.6em 1em}.smart-blue-theme .md-scrn span[rn-wrapper]{top:22px}.md-editor-dark .smart-blue-theme{color:#999;background-image:linear-gradient(90deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%),linear-gradient(360deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%)}.md-editor-dark .smart-blue-theme ::-webkit-scrollbar-corner,.md-editor-dark .smart-blue-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .smart-blue-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .smart-blue-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .smart-blue-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor-dark .smart-blue-theme hr{border-color:#2d2d2d}.md-editor-dark .smart-blue-theme h1,.md-editor-dark .smart-blue-theme h2,.md-editor-dark .smart-blue-theme h3,.md-editor-dark .smart-blue-theme h4,.md-editor-dark .smart-blue-theme h5,.md-editor-dark .smart-blue-theme h6{color:#3a73dd}.md-editor-dark .smart-blue-theme a{color:#2d7dc7}.md-editor-dark .smart-blue-theme blockquote{background-color:#2a2a2a;border-color:#0063bb}.md-editor-dark .smart-blue-theme blockquote p{color:#999}.md-editor-dark .smart-blue-theme pre code{color:#999;background-color:#1a1a1a}.md-editor-dark .smart-blue-theme code{background-color:#1a1a1a}.md-editor-dark .smart-blue-theme table tr th,.md-editor-dark .smart-blue-theme table tr td{border-color:#2d2d2d}.md-editor-dark .smart-blue-theme table tr:nth-child(2n){background-color:#0c0c0c}.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--cyanosis-base-color);transition:color .35s;--cyanosis-base-color: #353535;--cyanosis-title-color: #005bb7;--cyanosis-strong-color: #2196f3;--cyanosis-em-color: #4fc3f7;--cyanosis-del-color: #ccc;--cyanosis-link-color: #3da8f5;--cyanosis-linkh-color: #007fff;--cyanosis-border-color: #bedcff;--cyanosis-border-color-2: #ececec;--cyanosis-bg-color: #fff;--cyanosis-blockquote-color: #8c8c8c;--cyanosis-blockquote-bg-color: #f0fdff;--cyanosis-code-color: #c2185b;--cyanosis-code-bg-color: #fff4f4;--cyanosis-code-pre-color: #f8f8f8;--cyanosis-table-border-color: #c3e0fd;--cyanosis-table-th-color: #dff0ff;--cyanosis-table-tht-color: #005bb7;--cyanosis-table-tr-nc-color: #f7fbff;--cyanosis-table-trh-color: #e0edf7;--cyanosis-slct-title-color: #005bb7;--cyanosis-slct-titlebg-color: rgba(175, 207, 247, .25);--cyanosis-slct-text-color: #c80000;--cyanosis-slct-bg-color: rgba(175, 207, 247, .25);--cyanosis-slct-del-color: #999;--cyanosis-slct-elbg-color: #e8ebec;--cyanosis-slct-codebg-color: #ffeaeb;--cyanosis-slct-prebg-color: rgba(160, 200, 255, .25)}.cyanosis-theme ::-webkit-scrollbar{width:6px;height:6px}.cyanosis-theme ::-webkit-scrollbar-corner,.cyanosis-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.cyanosis-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.cyanosis-theme ::-webkit-scrollbar-button:vertical{display:none}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.cyanosis-theme h1,.cyanosis-theme h2,.cyanosis-theme h3,.cyanosis-theme h4,.cyanosis-theme h5,.cyanosis-theme h6{position:relative;word-break:break-all}.cyanosis-theme h1 a,.cyanosis-theme h2 a,.cyanosis-theme h3 a,.cyanosis-theme h4 a,.cyanosis-theme h5 a,.cyanosis-theme h6 a,.cyanosis-theme h1 a:hover,.cyanosis-theme h2 a:hover,.cyanosis-theme h3 a:hover,.cyanosis-theme h4 a:hover,.cyanosis-theme h5 a:hover,.cyanosis-theme h6 a:hover{color:inherit}.cyanosis-theme ol>li{list-style:decimal}.cyanosis-theme ul>li{list-style:disc}.cyanosis-theme ol .li-task,.cyanosis-theme ul .li-task{list-style-type:none}.cyanosis-theme ol .li-task input,.cyanosis-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.cyanosis-theme a{text-decoration:none}.cyanosis-theme pre,.cyanosis-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.cyanosis-theme pre{margin:20px 0}.cyanosis-theme pre code{display:block;line-height:1;overflow:auto}.cyanosis-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.cyanosis-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.cyanosis-theme div[inline]>.figure{padding-right:.5em}.cyanosis-theme div[inline]>.figure img{padding:0;border:none}.cyanosis-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.cyanosis-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;color:var(--cyanosis-title-color);transition:color .35s}.cyanosis-theme h2{position:relative;padding-left:10px;padding-right:10px;padding-bottom:10px;margin-top:36px;margin-bottom:10px;font-size:24px;line-height:1.5;color:var(--cyanosis-title-color);border-bottom:1px solid var(--cyanosis-border-color-2);transition:color .35s}.cyanosis-theme h2:before{content:"\300c";position:absolute;top:-6px;left:-14px}.cyanosis-theme h2:after{content:"\300d";position:relative;top:6px;right:auto}.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h3:before{content:"\bb";padding-right:6px;color:var(--cyanosis-strong-color)}.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;color:var(--cyanosis-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}.cyanosis-theme img{max-width:100%}.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg,var(--cyanosis-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--cyanosis-link-color));border-width:0;overflow:visible}.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:var(--cyanosis-code-color);overflow-x:auto;background-color:var(--cyanosis-code-bg-color);border-radius:2px}.cyanosis-theme pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace;position:relative}.cyanosis-theme pre code{padding:16px 12px;margin:0;color:var(--cyanosis-base-color);word-break:normal;overflow-x:auto;background:var(--cyanosis-code-pre-color)}.cyanosis-theme pre code>*{line-height:1.75}.cyanosis-theme pre code::-webkit-scrollbar{width:4px;height:4px}.cyanosis-theme pre code::-webkit-scrollbar-track{background-color:var(--cyanosis-border-color)}.cyanosis-theme pre code::-webkit-scrollbar-thumb{background-color:var(--cyanosis-strong-color);border-radius:10px}.cyanosis-theme pre code span[rn-wrapper]{top:16px}.cyanosis-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.cyanosis-theme pre:hover .copy-button{display:initial}.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;color:var(--cyanosis-link-color);border-bottom:1px solid var(--cyanosis-border-color)}.cyanosis-theme a:hover{color:var(--cyanosis-linkh-color);border-bottom-color:var(--cyanosis-linkh-color)}.cyanosis-theme a:active{color:var(--cyanosis-linkh-color)}.cyanosis-theme a:after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--cyanosis-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}.cyanosis-theme a:hover:after{top:0;opacity:1;border-bottom-color:var(--cyanosis-linkh-color)}.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--cyanosis-table-border-color);border-spacing:0;border-collapse:collapse}.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}.cyanosis-theme table tr:nth-child(2n){background-color:var(--cyanosis-table-tr-nc-color)}.cyanosis-theme table tr:hover{background-color:var(--cyanosis-table-trh-color)}.cyanosis-theme table th,.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--cyanosis-table-border-color)}.cyanosis-theme table th{color:var(--cyanosis-table-tht-color);background-color:var(--cyanosis-table-th-color)}.cyanosis-theme table td{min-width:120px}.cyanosis-theme blockquote{color:var(--cyanosis-blockquote-color);border-left:4px solid var(--cyanosis-strong-color);background-color:var(--cyanosis-blockquote-bg-color);padding:1px 20px;margin:22px 0;transition:color .35s}.cyanosis-theme blockquote:after{display:block;content:""}.cyanosis-theme blockquote>p{margin:10px 0}.cyanosis-theme blockquote>b,.cyanosis-theme blockquote>strong{color:var(--cyanosis-strong-color)}.cyanosis-theme b,.cyanosis-theme strong{color:var(--cyanosis-strong-color)}.cyanosis-theme i,.cyanosis-theme em{color:var(--cyanosis-em-color)}.cyanosis-theme del{color:var(--cyanosis-del-color)}.cyanosis-theme ol,.cyanosis-theme ul{padding-left:28px}.cyanosis-theme ol li,.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}.cyanosis-theme ol li .task-list-item,.cyanosis-theme ul li .task-list-item{list-style:none}.cyanosis-theme ol li .task-list-item ul,.cyanosis-theme ol li .task-list-item ol,.cyanosis-theme ul li .task-list-item ul,.cyanosis-theme ul li .task-list-item ol{margin-top:0}.cyanosis-theme ol ul,.cyanosis-theme ol ol,.cyanosis-theme ul ul,.cyanosis-theme ul ol{margin-top:4px}.cyanosis-theme ol li{padding-left:6px}.cyanosis-theme details>summary{outline:none;color:var(--cyanosis-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--cyanosis-border-color);cursor:pointer}.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--cyanosis-blockquote-bg-color);border:2px dashed var(--cyanosis-strong-color)}.cyanosis-theme h1::selection,.cyanosis-theme h2::selection,.cyanosis-theme h3::selection,.cyanosis-theme h4::selection,.cyanosis-theme h5::selection,.cyanosis-theme h6::selection{color:var(--cyanosis-slct-title-color);background-color:var(--cyanosis-slct-titlebg-color)}.cyanosis-theme p::selection,.cyanosis-theme ol li::selection,.cyanosis-theme ul li::selection{color:var(--cyanosis-slct-text-color);background-color:var(--cyanosis-slct-bg-color)}.cyanosis-theme a::selection,.cyanosis-theme b::selection,.cyanosis-theme strong::selection,.cyanosis-theme i::selection,.cyanosis-theme em::selection{background-color:var(--cyanosis-slct-elbg-color)}.cyanosis-theme del::selection{color:var(--cyanosis-slct-del-color);background-color:var(--cyanosis-slct-elbg-color)}.cyanosis-theme table thead th::selection{background-color:transparent}.cyanosis-theme table tbody td::selection{background-color:var(--cyanosis-slct-bg-color)}.cyanosis-theme code::selection{background-color:var(--cyanosis-slct-codebg-color)}.cyanosis-theme pre>code::selection{background-color:var(--cyanosis-slct-prebg-color)}.cyanosis-theme .contains-task-list{padding-left:14px;list-style:none}.cyanosis-theme .contains-task-list input[type=checkbox]{position:relative}.cyanosis-theme .contains-task-list input[type=checkbox]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;width:inherit;height:inherit;background:#f0f8ff;border:1px solid #add6ff;border-radius:2px;box-sizing:border-box;z-index:1}.cyanosis-theme .contains-task-list input[type=checkbox]:checked:after{content:"\2713";position:absolute;top:-12px;left:0;right:0;bottom:0;width:0;height:0;color:#f55;font-size:20px;font-weight:700;z-index:2}@media (max-width: 720px){.cyanosis-theme h1{font-size:24px}.cyanosis-theme h2{font-size:20px}.cyanosis-theme h3{font-size:18px}}.md-editor-dark .cyanosis-theme{--cyanosis-base-color: #cacaca;--cyanosis-title-color: #ddd;--cyanosis-strong-color: #fe9900;--cyanosis-em-color: #ffd28e;--cyanosis-del-color: #ccc;--cyanosis-link-color: #ffb648;--cyanosis-linkh-color: #fe9900;--cyanosis-border-color: #ffe3ba;--cyanosis-border-color-2: #ffcb7b;--cyanosis-bg-color: #2f2f2f;--cyanosis-blockquote-color: #c7c7c7;--cyanosis-blockquote-bg-color: rgba(255, 199, 116, .1);--cyanosis-code-color: #000;--cyanosis-code-bg-color: #ffcb7b;--cyanosis-code-pre-color: rgba(30, 25, 18, .5);--cyanosis-table-border-color: #fe9900;--cyanosis-table-th-color: #ffb648;--cyanosis-table-tht-color: #000;--cyanosis-table-tr-nc-color: #6d5736;--cyanosis-table-trh-color: #947443;--cyanosis-slct-title-color: #000;--cyanosis-slct-titlebg-color: #fe9900;--cyanosis-slct-text-color: #00c888;--cyanosis-slct-bg-color: rgba(175, 207, 247, .25);--cyanosis-slct-del-color: #999;--cyanosis-slct-elbg-color: #000;--cyanosis-slct-codebg-color: #ffcb7b;--cyanosis-slct-prebg-color: rgba(160, 200, 255, .25)}.md-editor-dark .cyanosis-theme ::-webkit-scrollbar-corner,.md-editor-dark .cyanosis-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .cyanosis-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .cyanosis-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .cyanosis-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor-dark .cyanosis-theme hr{border-color:#2d2d2d}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:#36ace1;background-image:linear-gradient(90deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%);background-size:20px 20px;background-position:center center}.mk-cute-theme ::-webkit-scrollbar{width:6px;height:6px}.mk-cute-theme ::-webkit-scrollbar-corner,.mk-cute-theme ::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}.mk-cute-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.mk-cute-theme ::-webkit-scrollbar-button:vertical{display:none}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{position:relative;word-break:break-all}.mk-cute-theme h1 a,.mk-cute-theme h2 a,.mk-cute-theme h3 a,.mk-cute-theme h4 a,.mk-cute-theme h5 a,.mk-cute-theme h6 a,.mk-cute-theme h1 a:hover,.mk-cute-theme h2 a:hover,.mk-cute-theme h3 a:hover,.mk-cute-theme h4 a:hover,.mk-cute-theme h5 a:hover,.mk-cute-theme h6 a:hover{color:inherit}.mk-cute-theme ol>li{list-style:decimal}.mk-cute-theme ul>li{list-style:disc}.mk-cute-theme ol .li-task,.mk-cute-theme ul .li-task{list-style-type:none}.mk-cute-theme ol .li-task input,.mk-cute-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.mk-cute-theme a{text-decoration:none}.mk-cute-theme pre,.mk-cute-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:#24292f}.mk-cute-theme pre{margin:20px 0}.mk-cute-theme pre code{display:block;line-height:1;overflow:auto}.mk-cute-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.mk-cute-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid #eaecef}.mk-cute-theme div[inline]>.figure{padding-right:.5em}.mk-cute-theme div[inline]>.figure img{padding:0;border:none}.mk-cute-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.mk-cute-theme .figure .figcaption{color:#888;font-size:.875em;margin-top:5px}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{color:#36ace1}.mk-cute-theme h1:before,.mk-cute-theme h2:before,.mk-cute-theme h3:before,.mk-cute-theme h4:before,.mk-cute-theme h5:before,.mk-cute-theme h6:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ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z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 1s infinite}.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.mk-cute-theme img{max-width:100%}.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}.mk-cute-theme del{color:#36ace1}.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;border-radius:2px;overflow-x:auto;background-color:#282c34;color:#4ec9b0;padding:.14em .46em;margin:0 4px}.mk-cute-theme pre{position:relative}.mk-cute-theme pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;border-radius:10px;padding:15px;margin:0;word-break:normal;display:block;overflow-x:auto;color:#4ec9b0;background:#282c34}.mk-cute-theme pre code>*{line-height:1.75}.mk-cute-theme pre code span[rn-wrapper]{top:15px}.mk-cute-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:9px;right:10px;cursor:pointer;display:none}.mk-cute-theme pre:hover .copy-button{display:initial}.mk-cute-theme a{display:inline-block;text-decoration:none;color:#409eff;border-bottom:1px solid #409eff}.mk-cute-theme a:hover,.mk-cute-theme a:active{color:#007bff;border-bottom:1px solid #007bff}.mk-cute-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:solid 1px #f6f6f6}.mk-cute-theme thead{background:#f6f6f6;color:#000;text-align:left}.mk-cute-theme tr:nth-child(2n){background-color:#fcfcfc}.mk-cute-theme th,.mk-cute-theme td{padding:12px 7px;line-height:24px}.mk-cute-theme td{min-width:120px}.mk-cute-theme blockquote{position:relative;padding:8px 26px;background-color:#36ace1bf;margin:16px 0;border-left:4px solid #409eff;border-radius:5px}.mk-cute-theme blockquote:before{content:"\275d";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}.mk-cute-theme blockquote:after{content:"\275e";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}.mk-cute-theme blockquote>p{color:#fff}.mk-cute-theme ol,.mk-cute-theme ul{padding-left:28px}.mk-cute-theme ol li,.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}.mk-cute-theme ol li .task-list-item,.mk-cute-theme ul li .task-list-item{list-style:none}.mk-cute-theme ol li .task-list-item ul,.mk-cute-theme ol li .task-list-item ol,.mk-cute-theme ul li .task-list-item ul,.mk-cute-theme ul li .task-list-item ol{margin-top:0}.mk-cute-theme ol ul,.mk-cute-theme ol ol,.mk-cute-theme ul ul,.mk-cute-theme ul ol{margin-top:3px}.mk-cute-theme ol li{padding-left:6px}@media (max-width: 720px){.mk-cute-theme h1{font-size:24px}.mk-cute-theme h2{font-size:20px}.mk-cute-theme h3{font-size:18px}}.md-editor-dark .mk-cute-theme{background-image:linear-gradient(90deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%)}.md-editor-dark .mk-cute-theme ::-webkit-scrollbar-corner,.md-editor-dark .mk-cute-theme ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .mk-cute-theme ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .mk-cute-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .mk-cute-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor-dark .mk-cute-theme hr{border-color:#2d2d2d}.md-editor-dark .mk-cute-theme table{border-color:#1c1c1c}.md-editor-dark .mk-cute-theme thead{background-color:#1c1c1ca1;color:inherit}.md-editor-dark .mk-cute-theme tr:nth-child(2n){background-color:#1c1c1ca1}.md-editor-dark .mk-cute-theme blockquote{background-color:#12506cbf;border-color:#265d97}.md-editor-dark .mk-cute-theme blockquote>p{color:inherit}
1
+ .md-editor-divider{position:relative;display:inline-block;width:1px;top:.1em;height:.9em;margin:0 8px;background-color:var(--md-border-color)}.md-editor-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:10000;background-color:var(--md-bk-color)}.md-editor-dropdown-hidden{opacity:0;z-index:-10000}.md-editor-dropdown-overlay{margin-top:6px}.md-editor-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;height:100%;background-color:var(--md-modal-mask)}.md-editor-modal{display:block;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-radius:3px;border:1px solid var(--md-border-color);position:fixed;z-index:20001;flex-direction:column}.md-editor-modal-header{cursor:grab;display:flex;justify-content:space-between;padding:10px 24px;color:var(--md-color);font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;user-select:none;border-bottom:1px solid var(--md-border-color);position:relative}.md-editor-modal-body{padding:24px;font-size:14px;word-wrap:break-word;height:calc(100% - 61px);box-sizing:border-box}.md-editor-modal .md-editor-modal-func{position:absolute;top:10px;right:10px}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust,.md-editor-modal .md-editor-modal-func .md-editor-modal-close{cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;display:inline-block}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust{padding-right:10px}.animation{animation-duration:.15s;animation-fill-mode:forwards}@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;animation-fill-mode:forwards}@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;animation-fill-mode:forwards}.md-editor-clip{position:relative;display:flex;height:calc(100% - 32px)}.md-editor-clip-main,.md-editor-clip-preview{width:50%;height:100%;border:1px solid var(--md-border-color)}.md-editor-clip-main{margin-right:1em}.md-editor-clip-main .md-editor-clip-cropper{position:relative;width:100%;height:100%}.md-editor-clip-main .md-editor-clip-cropper .md-editor-clip-delete{position:absolute;top:0;right:0;font-size:0;background-color:var(--md-bk-color-outstand);border-bottom-left-radius:4px;color:var(--md-color);cursor:pointer}.md-editor-clip-main .md-editor-clip-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer}.md-editor-clip-main .md-editor-clip-upload .md-editor-icon{width:auto;height:40px}.md-editor-clip-preview-target{width:100%;height:100%;overflow:hidden}@media (max-width: 688px){.md-editor-modal-clip .md-editor-modal{max-width:calc(100% - 20px);max-height:calc(100% - 20px);margin:10px;left:0!important}.md-editor-modal-clip .md-editor-clip{flex-direction:column}.md-editor-modal-clip .md-editor-clip-main,.md-editor-modal-clip .md-editor-clip-preview{width:100%;height:0;flex:1}.md-editor-modal-clip .md-editor-clip-main{margin-bottom:1em}}.md-editor-checkbox{cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor-checkbox:after{content:"";font-weight:700}.md-editor-checkbox-checked:after{content:"\2713"}.md-editor-catalog-editor{--md-color: #222;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-avtive-color: #00000061;position:absolute;overflow:auto;top:44px;right:0;height:calc(100% - 44px);background-color:var(--md-bk-color-outstand);border-left:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin:0;padding:5px 10px;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";z-index:2}.md-editor-catalog>.md-editor-catalog-link{padding:5px 8px}.md-editor-catalog-link{padding:5px 0 5px 1em;line-height:1.2}.md-editor-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer}.md-editor-catalog-link span:hover{color:#73d13d}.md-editor-catalog-wrapper>.md-editor-catalog-link{padding-top:5px;padding-bottom:5px}.md-editor-catalog-wrapper>.md-editor-catalog-link:first-of-type{padding-top:10px}.md-editor-catalog-wrapper>.md-editor-catalog-link:last-of-type{padding-bottom:0}.md-editor-catalog-active>span{color:#73d13d}.md-editor-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-avtive-color: #3a3a3a}.md-editor{--md-color: #222;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-avtive-color: #00000061;width:100%;height:425px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;color:var(--md-color);background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md-editor ::-webkit-scrollbar{width:6px;height:6px}.md-editor ::-webkit-scrollbar-corner,.md-editor ::-webkit-scrollbar-track{background-color:var(--md-scrollbar-bg-color)}.md-editor ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-scrollbar-thumb-color)}.md-editor ::-webkit-scrollbar-button:vertical{display:none}.md-editor ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-scrollbar-thumb-hover-color)}.md-editor ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-scrollbar-thumb-avtive-color)}.md-editor-icon{width:24px;height:24px;fill:currentColor;overflow:hidden}.md-editor-menu{margin:0;padding:0;border-radius:3px;border:1px solid var(--md-border-color);background-color:inherit}.md-editor-menu-item{list-style:none;font-size:12px;color:var(--md-color);padding:4px 10px;cursor:pointer;line-height:16px}.md-editor-menu-item:first-of-type{padding-top:8px}.md-editor-menu-item:last-of-type{padding-bottom:8px}.md-editor-menu-item:hover{background-color:var(--md-bk-hover-color)}.md-editor-table-shape{padding:4px;border-radius:3px;border:1px solid var(--md-border-color);display:flex;flex-direction:column}.md-editor-table-shape-row{display:flex}.md-editor-table-shape-col{padding:2px;cursor:pointer}.md-editor-table-shape-col-default{width:16px;height:16px;background-color:#e0e0e0;border-radius:3px;transition:all .2s}.md-editor-table-shape-col-include{background-color:#aaa}.md-editor-toolbar-wrapper{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;height:35px;flex-shrink:0;padding:4px;border-bottom:1px solid var(--md-border-color)}.md-editor-toolbar-wrapper::-webkit-scrollbar{height:0!important}.md-editor-toolbar-wrapper .md-editor-toolbar{min-width:850px;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:content-box}.md-editor-toolbar-wrapper .md-editor-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-editor-toolbar-wrapper .md-editor-toolbar-item:hover{border-radius:3px;background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-wrapper .md-editor-toolbar-left,.md-editor-toolbar-wrapper .md-editor-toolbar-right{padding:1px 0;display:flex;align-items:center}.md-editor-content{display:flex;flex:1;height:0;flex-shrink:0}.md-editor-content .md-editor-input-wrapper{flex:1;box-sizing:border-box}.md-editor-content .md-editor-input-wrapper textarea{width:100%;height:100%;padding:10px 20px;box-sizing:border-box;font-size:1em;font-family:-apple-system,Consolas,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;resize:none;border:none;outline:none;overflow-y:scroll;color:inherit;background-color:inherit;line-height:1.4}.md-editor-content .md-editor-input-wrapper textarea:disabled{cursor:not-allowed}.md-editor-content .md-editor-input-wrapper textarea.textarea-only{overflow-y:auto}.md-editor-content .md-editor-preview-wrapper{position:relative;flex:1;box-sizing:border-box;overflow:auto}.md-editor-content .md-editor-preview,.md-editor-content .md-editor-html{padding:10px 20px;font-size:16px;position:relative;word-break:break-all}.md-editor-footer{height:24px;flex-shrink:0;font-size:12px;color:var(--md-color);border-top:1px solid var(--md-border-color);display:flex;justify-content:space-between}.md-editor-footer-item{display:inline-flex;align-items:center;height:100%;padding:0 10px}.md-editor-footer-label{padding-right:5px;line-height:1}.md-editor-form-item{margin-bottom:14px;text-align:center}.md-editor-form-item:last-of-type{margin-bottom:0}.md-editor-label{font-size:14px;color:var(--md-color);width:80px;text-align:center;display:inline-block}.md-editor-input{border-radius:4px;padding:4px 11px;color:var(--md-color);font-size:14px;line-height:1.5715;background-color:var(--md-bk-color);background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor-input:focus,.md-editor-input:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor-input:focus{border-color:var(--md-border-active-color)}.md-editor-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;user-select:none;height:32px;padding:0 15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:var(--md-bk-color);border-color:var(--md-border-color);margin-left:10px}.md-editor-btn:first-of-type{margin-left:0}.md-editor-btn:hover{color:var(--md-hover-color);background-color:var(--md-bk-color);border-color:var(--md-border-hover-color)}.md-editor-btn-row{width:100%}.md-editor-previewOnly{border:none;height:auto}.md-editor-previewOnly .md-editor-content{height:100%}.md-editor-previewOnly .md-editor-preview{padding:0}.md-editor-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-avtive-color: #3a3a3a}.md-editor-dark .md-editor-table-shape-col-default{background-color:#222}.md-editor-dark .md-editor-table-shape-col-include{background-color:#555}.md-editor-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;width:auto!important;height:auto!important;z-index:10000}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.md-editor .md-editor-preview{--md-theme-color: #222;--md-theme-color-reverse: #eee;--md-theme-color-hover: #eee;--md-theme-color-hover-inset: #ddd;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #e6e6e6;--md-theme-border-color-reverse: #bebebe;--md-theme-border-color-inset: #d6d6d6;--md-theme-bg-color: #fff;--md-theme-bg-color-inset: #ececec;--md-theme-bg-color-scrollbar-track: #e2e2e2;--md-theme-bg-color-scrollbar-thumb: rgba(0, 0, 0, .3019607843);--md-theme-bg-color-scrollbar-thumb-hover: rgba(0, 0, 0, .3490196078);--md-theme-bg-color-scrollbar-thumb-active: rgba(0, 0, 0, .3803921569)}.md-editor-dark .md-editor-preview{--md-theme-color: #999;--md-theme-color-reverse: #222;--md-theme-color-hover: #191919;--md-theme-color-hover-inset: #444;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #2d2d2d;--md-theme-border-color-reverse: #e6e6e6;--md-theme-border-color-inset: #5a5a5a;--md-theme-bg-color: #000;--md-theme-bg-color-inset: #111;--md-theme-bg-color-scrollbar-track: #0f0f0f;--md-theme-bg-color-scrollbar-thumb: #2d2d2d;--md-theme-bg-color-scrollbar-thumb-hover: #3a3a3a;--md-theme-bg-color-scrollbar-thumb-active: #3a3a3a}.md-editor-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-editor-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-editor-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-right:.5em;text-align:right;content:counter(linenumber)}.md-editor-scrn pre code{padding-left:3.5em!important}.md-editor .md-editor-alert-note{--marked-alert-color: #448aff;--marked-alert-bg-color: #d5e2f9}.md-editor .md-editor-alert-abstract{--marked-alert-color: #02b1ff;--marked-alert-bg-color: #d1eefb}.md-editor .md-editor-alert-info{--marked-alert-color: #333;--marked-alert-bg-color: #e3e3e3}.md-editor .md-editor-alert-tip{--marked-alert-color: #666;--marked-alert-bg-color: #e6e6e6}.md-editor .md-editor-alert-success{--marked-alert-color: #00c852;--marked-alert-bg-color: #c1f1d5}.md-editor .md-editor-alert-question{--marked-alert-color: #f0b400;--marked-alert-bg-color: #fff1dd}.md-editor .md-editor-alert-warning{--marked-alert-color: #ff9104;--marked-alert-bg-color: #ffe9cc}.md-editor .md-editor-alert-failure{--marked-alert-color: #c2185b;--marked-alert-bg-color: #ffd9d9}.md-editor .md-editor-alert-danger{--marked-alert-color: #ff5252;--marked-alert-bg-color: #ffe4e4}.md-editor .md-editor-alert-bug{--marked-alert-color: #f60357;--marked-alert-bg-color: #ffd3e2}.md-editor .md-editor-alert-example{--marked-alert-color: #7c4dff;--marked-alert-bg-color: #e3d8ff}.md-editor .md-editor-alert-quote{--marked-alert-color: #9e9e9e;--marked-alert-bg-color: #f0f0f0}.md-editor .md-editor-alert-hint{--marked-alert-color: #009688;--marked-alert-bg-color: #cdf4f0}.md-editor .md-editor-alert-caution{--marked-alert-color: #ffa726;--marked-alert-bg-color: #ffe7c4}.md-editor .md-editor-alert-error{--marked-alert-color: #d32f2f;--marked-alert-bg-color: #ffd8d8}.md-editor .md-editor-alert-attention{--marked-alert-color: #455a64;--marked-alert-bg-color: #cbefff}.md-editor-dark .md-editor-alert-note{--marked-alert-color: #1262e7;--marked-alert-bg-color: #021d4c}.md-editor-dark .md-editor-alert-abstract{--marked-alert-color: #058dc9;--marked-alert-bg-color: #002433}.md-editor-dark .md-editor-alert-info{--marked-alert-color: #999;--marked-alert-bg-color: #212121}.md-editor-dark .md-editor-alert-tip{--marked-alert-color: #888;--marked-alert-bg-color: #191818}.md-editor-dark .md-editor-alert-success{--marked-alert-color: #00c551;--marked-alert-bg-color: #003014}.md-editor-dark .md-editor-alert-question{--marked-alert-color: #cd9a00;--marked-alert-bg-color: #311d00}.md-editor-dark .md-editor-alert-warning{--marked-alert-color: #ed8500;--marked-alert-bg-color: #3c2200}.md-editor-dark .md-editor-alert-failure{--marked-alert-color: #d5125f;--marked-alert-bg-color: #3f0000}.md-editor-dark .md-editor-alert-danger{--marked-alert-color: #d80505;--marked-alert-bg-color: #390000}.md-editor-dark .md-editor-alert-bug{--marked-alert-color: #da0d54;--marked-alert-bg-color: #390013}.md-editor-dark .md-editor-alert-example{--marked-alert-color: #7443ff;--marked-alert-bg-color: #140045}.md-editor-dark .md-editor-alert-quote{--marked-alert-color: #9e9e9e;--marked-alert-bg-color: #2b2b2b}.md-editor-dark .md-editor-alert-hint{--marked-alert-color: #00ae9e;--marked-alert-bg-color: #00423b}.md-editor-dark .md-editor-alert-caution{--marked-alert-color: #db8609;--marked-alert-bg-color: #573300}.md-editor-dark .md-editor-alert-error{--marked-alert-color: #df1a1a;--marked-alert-bg-color: #440000}.md-editor-dark .md-editor-alert-attention{--marked-alert-color: #0f8bc7;--marked-alert-bg-color: #00354d}.md-editor-preview .md-editor-alert{background-color:var(--marked-alert-bg-color);border:1px solid var(--marked-alert-color);border-radius:.5rem;color:var(--marked-alert-color);display:flow-root;font-size:14px;font-weight:400;margin:1rem 0;padding:1em 1em .5em;page-break-inside:avoid}.md-editor-preview .md-editor-alert-title{border-top-left-radius:.5rem;border-top-right-radius:.5rem;margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-alert p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-alert p:first-of-type{margin-top:0}.md-editor-preview .md-editor-alert+p:empty,.md-editor-preview .md-editor-alert+p:empty+p:empty{display:none}.md-editor-mermaid{overflow-x:auto}.md-editor-mermaid-loading{display:none}.md-editor-mermaid-error{color:#dc2626;text-align:center;padding:20px}.mermaid{display:none}.mermaid[data-processed]{display:initial}.prefix-katex-block{text-align:center;margin:20px}.prefix-katex-inline,.prefix-katex-block{display:none}.prefix-katex-inline[data-processed]{display:initial}.prefix-katex-block[data-processed]{display:block}.md-editor .default-theme{--default-theme-code-block-color: #a9b7c6;--default-theme-code-bg-color: #282c34;--default-theme-code-before-bg-color: var(--default-theme-code-bg-color)}.md-editor-dark .default-theme{--default-theme-code-block-color: #a9b7c6;--default-theme-code-bg-color: #1a1a1a;--default-theme-code-before-bg-color: var(--default-theme-code-bg-color)}.default-theme code{color:#3594f7;background-color:#3baafa1a;display:inline-block;padding:0 4px;border-radius:2px;line-height:22px}.default-theme pre{position:relative;border-radius:5px;box-shadow:#0005 0 2px 2px}.default-theme pre code{position:relative;padding:1em;background-color:var(--default-theme-code-bg-color);color:var(--default-theme-code-block-color);border-radius:0 0 5px 5px}.default-theme pre code>*{line-height:1.6}.default-theme pre .copy-button{color:var(--default-theme-code-block-color);position:absolute;font-size:12px;top:8px;right:12px;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/vvfyieZ4lbX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IUF121A6eLYCQzFCNyTSHW9kUh0dsbiu+gIBGFlQYuHv2y+9/KL53mWLJrjvajgug0oXRy7gKEYgXsPZd98473c7tcOZF/df4SOQBB2pl9V/ylxvncR5novKLhuA0oXxg5gKEag+X72bfVAdm85d38WCwnhGKyYWtc6x+ed1+r1zmryemdMkaQpdaJQFxDEkJfnfALPiwCgGYaaNYxMWtOSg6o2eCKvnOjNZY92Z7MfHspk3yNn2EQxrGgLzJo9zT23Zaowq6lebJ0a4adFg0Jd0MeFPBLnEwRuqP1ppppTzEwqYyZjKW3weNzo6x1Qu7uPax9+2Jc/uGNP+sNq/xZi4jF1cbBebJZa+UapiZ8iNiIi1JshV8Tw8wFOcrl511D0IUOHweWNPDJ6mkvqccS1AeOEesw4pvSqPUp3tSJCnA2VOjFAEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEAQxzvj/snGtbrdYI/0AAAAASUVORK5CYII=);height:32px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:var(--default-theme-code-before-bg-color);margin-bottom:0;border-top-left-radius:5px;border-top-right-radius:5px;background-position:10px 10px}.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;color:var(--md-theme-color)}.default-theme img{margin:0 auto;max-width:100%;box-sizing:border-box;padding:5px;border:1px solid var(--md-theme-border-color);border-radius:3px}.default-theme blockquote img{border-color:var(--md-theme-border-color-inset)}.default-theme a{color:var(--md-theme-link-color);transition:color .3s}.default-theme a:hover{color:var(--md-theme-link-hover-color)}.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}.default-theme ol li p,.default-theme ul li p{padding:0}.default-theme p{line-height:1.6;margin:0;padding:.5rem 0}.default-theme p:empty{display:none}.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;background-color:var(--md-theme-bg-color-inset);border-left:5px solid #35b378;display:block}.md-editor .default-theme{--default-theme-table-stripe-color: #fafafa}.md-editor-dark .default-theme{--default-theme-table-stripe-color: #0c0c0c}.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em;margin-top:1em}.default-theme table tr th,.default-theme table tr td{word-wrap:break-word;padding:8px 14px;border:1px solid var(--md-theme-border-color)}.default-theme table tbody tr:nth-child(2n){background-color:var(--default-theme-table-stripe-color)}.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}.default-theme blockquote table{line-height:initial}.default-theme blockquote table tr th,.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.default-theme{color:var(--md-theme-color)}.default-theme ::-webkit-scrollbar{width:6px;height:6px}.default-theme ::-webkit-scrollbar-corner,.default-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.default-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.default-theme ::-webkit-scrollbar-button:vertical{display:none}.default-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.default-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.default-theme h1,.default-theme h2,.default-theme h3,.default-theme h4,.default-theme h5,.default-theme h6{position:relative;word-break:break-all}.default-theme h1 a,.default-theme h2 a,.default-theme h3 a,.default-theme h4 a,.default-theme h5 a,.default-theme h6 a,.default-theme h1 a:hover,.default-theme h2 a:hover,.default-theme h3 a:hover,.default-theme h4 a:hover,.default-theme h5 a:hover,.default-theme h6 a:hover{color:inherit}.default-theme ol>li{list-style:decimal}.default-theme ul>li{list-style:disc}.default-theme ol .li-task,.default-theme ul .li-task{list-style-type:none}.default-theme ol .li-task input,.default-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.default-theme a{text-decoration:none}.default-theme pre,.default-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.default-theme pre{margin:20px 0}.default-theme pre code{display:block;line-height:1;overflow:auto}.default-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.default-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.default-theme div[inline]>.figure{padding-right:.5em}.default-theme div[inline]>.figure img{padding:0;border:none}.default-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.default-theme .figure .figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.default-theme .md-editor-mermaid{line-height:1}.md-editor .vuepress-theme{--vuepress-theme-code-inline-color: #d63200;--vuepress-theme-code-inline-bg-color: #f8f8f8;--vuepress-theme-code-block-color: #747384;--vuepress-theme-code-block-bg-color: #f8f8f8}.md-editor-dark .vuepress-theme{--vuepress-theme-code-inline-color: #e06c75;--vuepress-theme-code-inline-bg-color: #1a1a1a;--vuepress-theme-code-block-color: #999;--vuepress-theme-code-block-bg-color: #1a1a1a}.vuepress-theme code{color:var(--vuepress-theme-code-inline-color);padding:3px 5px;margin:0 2px;border-radius:2px;background-color:var(--vuepress-theme-code-inline-bg-color)}.vuepress-theme pre{border-radius:2px;position:relative;font-size:.875em;margin:1em 0;background-color:var(--vuepress-theme-code-block-bg-color)}.vuepress-theme pre code{overflow-x:auto;color:var(--vuepress-theme-code-block-color);white-space:pre;padding:22px 1em;background-color:var(--vuepress-theme-code-block-bg-color)}.vuepress-theme pre code>*{line-height:1.6}.vuepress-theme pre code span[rn-wrapper]{top:22px}.vuepress-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:8px;right:12px;cursor:pointer}.md-editor .vuepress-theme{--vuepress-theme-heading-color: #273849}.md-editor-dark .vuepress-theme{--vuepress-theme-heading-color: #999}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{font-weight:600;color:var(--heading-color);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 var(--vuepress-theme-border-color)}.vuepress-theme h3{line-height:1.35em}.vuepress-theme img{max-width:100%}.vuepress-theme a{color:#42b983;font-weight:600}.vuepress-theme ul,.vuepress-theme ol{position:relative;padding-left:1.25em;line-height:1.4em;margin:1.2em 0;z-index:1}.vuepress-theme ul li,.vuepress-theme ol li{margin:1.2em 0}.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.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}.md-editor .vuepress-theme{--vuepress-theme-table-border-color: #dfe2e5;--vuepress-theme-table-bg-color: #f6f8fa}.md-editor-dark .vuepress-theme{--vuepress-theme-table-border-color: #2d2d2d;--vuepress-theme-table-bg-color: #0c0c0c}.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}.vuepress-theme table tr{border-top:1px solid var(--vuepress-theme-table-border-color)}.vuepress-theme table tr th,.vuepress-theme table tr td{border:1px solid var(--vuepress-theme-table-border-color);padding:.6em 1em}.vuepress-theme table tr:nth-child(2n){background-color:var(--vuepress-theme-table-bg-color)}.md-editor .vuepress-theme{--vuepress-theme-color: #304455}.md-editor-dark .vuepress-theme{--vuepress-theme-color: #999}.vuepress-theme{color:var(--md-theme-color);font-size:16px;color:var(--vuepress-theme-color)}.vuepress-theme ::-webkit-scrollbar{width:6px;height:6px}.vuepress-theme ::-webkit-scrollbar-corner,.vuepress-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.vuepress-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.vuepress-theme ::-webkit-scrollbar-button:vertical{display:none}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{position:relative;word-break:break-all}.vuepress-theme h1 a,.vuepress-theme h2 a,.vuepress-theme h3 a,.vuepress-theme h4 a,.vuepress-theme h5 a,.vuepress-theme h6 a,.vuepress-theme h1 a:hover,.vuepress-theme h2 a:hover,.vuepress-theme h3 a:hover,.vuepress-theme h4 a:hover,.vuepress-theme h5 a:hover,.vuepress-theme h6 a:hover{color:inherit}.vuepress-theme ol>li{list-style:decimal}.vuepress-theme ul>li{list-style:disc}.vuepress-theme ol .li-task,.vuepress-theme ul .li-task{list-style-type:none}.vuepress-theme ol .li-task input,.vuepress-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.vuepress-theme a{text-decoration:none}.vuepress-theme pre,.vuepress-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.vuepress-theme pre{margin:20px 0}.vuepress-theme pre code{display:block;line-height:1;overflow:auto}.vuepress-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.vuepress-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.vuepress-theme div[inline]>.figure{padding-right:.5em}.vuepress-theme div[inline]>.figure img{padding:0;border:none}.vuepress-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.vuepress-theme .figure .figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.vuepress-theme .md-editor-mermaid{line-height:1}.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor .github-theme{--github-theme-code-inline-color: inherit;--github-theme-code-inline-bg-color: #eff1f2;--github-theme-code-block-color: inherit;--github-theme-code-block-bg-color: #f6f8fa}.md-editor-dark .github-theme{--github-theme-code-inline-color: #c9d1d9;--github-theme-code-inline-bg-color: #2d3339;--github-theme-code-block-color: #a9b7c6;--github-theme-code-block-bg-color: #161b22}.github-theme code{padding:.2em .4em;margin:0;color:var(--github-theme-code-inline-color);background-color:var(--github-theme-code-inline-bg-color);border-radius:6px}.github-theme pre{border-radius:6px;position:relative}.github-theme pre code{position:relative;padding:22px 1em;margin-bottom:0;word-break:normal;letter-spacing:1px;color:var(--github-theme-code-block-color);background-color:var(--github-theme-code-block-bg-color)}.github-theme pre code>*{line-height:1.6}.github-theme pre code span[rn-wrapper]{top:22px}.github-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:8px;right:12px;cursor:pointer}.md-editor .github-theme{--github-theme-heading-color: inherit;--github-theme-heading-6-color: #2d3339;--github-theme-heading-border-color: #d9dee4}.md-editor-dark .github-theme{--github-theme-heading-color: #c9d1d9;--github-theme-heading-6-color: #768390;--github-theme-heading-border-color: #373e47}.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;color:var(--github-theme-heading-color)}.github-theme h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--github-theme-heading-border-color)}.github-theme h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--github-theme-heading-border-color)}.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:var(--github-theme-heading-6-color)}.md-editor .github-theme{--github-theme-heading-bg-color: #fff}.md-editor-dark .github-theme{--github-theme-heading-bg-color: #22272e}.github-theme img{max-width:100%;box-sizing:content-box;background-color:var(--github-theme-heading-bg-color)}.github-theme a{color:#539bf5}.github-theme a:hover{text-decoration:underline}.github-theme ol,.github-theme ul{padding-left:2em}.github-theme ol li+li,.github-theme ul li+li{margin-top:.25em}.github-theme p:empty{display:none}.md-editor .github-theme{--github-theme-quote-color: #57606a;--github-theme-quote-border-color: #d0d7de}.md-editor-dark .github-theme{--github-theme-quote-color: #8b949e;--github-theme-quote-border-color: #444c56}.github-theme blockquote{padding:0 1em;color:var(--github-theme-quote-color);border-left:.25em solid var(--github-theme-quote-border-color)}.md-editor .github-theme{--github-theme-table-stripe-color: #f7f8fa;--github-theme-table-tr-bg-color: #fff;--github-theme-table-tr-border-color: #d8dee4;--github-theme-table-td-border-color: #d0d7de}.md-editor-dark .github-theme{--github-theme-table-stripe-color: #161b22;--github-theme-table-tr-bg-color: transparent;--github-theme-table-tr-border-color: #808080;--github-theme-table-td-border-color: #30363d}.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}.github-theme table tr{background-color:var(--github-theme-table-tr-bg-color);border-top:1px solid var(--github-theme-table-tr-border-color)}.github-theme table tr th,.github-theme table tr td{padding:6px 13px;border:1px solid var(--github-theme-table-td-border-color)}.github-theme table tr:nth-child(2n){background-color:var(--github-theme-table-stripe-color)}.md-editor .github-theme{--github-theme-color: #222}.md-editor-dark .github-theme{--github-theme-color: #c9d1d9}.github-theme{color:var(--md-theme-color);line-height:1.5;color:var(--github-theme-color)}.github-theme ::-webkit-scrollbar{width:6px;height:6px}.github-theme ::-webkit-scrollbar-corner,.github-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.github-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.github-theme ::-webkit-scrollbar-button:vertical{display:none}.github-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.github-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.github-theme h1,.github-theme h2,.github-theme h3,.github-theme h4,.github-theme h5,.github-theme h6{position:relative;word-break:break-all}.github-theme h1 a,.github-theme h2 a,.github-theme h3 a,.github-theme h4 a,.github-theme h5 a,.github-theme h6 a,.github-theme h1 a:hover,.github-theme h2 a:hover,.github-theme h3 a:hover,.github-theme h4 a:hover,.github-theme h5 a:hover,.github-theme h6 a:hover{color:inherit}.github-theme ol>li{list-style:decimal}.github-theme ul>li{list-style:disc}.github-theme ol .li-task,.github-theme ul .li-task{list-style-type:none}.github-theme ol .li-task input,.github-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.github-theme a{text-decoration:none}.github-theme pre,.github-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.github-theme pre{margin:20px 0}.github-theme pre code{display:block;line-height:1;overflow:auto}.github-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.github-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.github-theme div[inline]>.figure{padding-right:.5em}.github-theme div[inline]>.figure img{padding:0;border:none}.github-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.github-theme .figure .figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.github-theme .md-editor-mermaid{line-height:1}.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}.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:var(--cyanosis-theme-code-color);overflow-x:auto;background-color:var(--cyanosis-theme-code-bg-color);border-radius:2px}.cyanosis-theme code::selection{background-color:var(--cyanosis-theme-slct-codebg-color)}.cyanosis-theme pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace;position:relative}.cyanosis-theme pre code{padding:22px 12px;margin:0;color:var(--cyanosis-theme-base-color);word-break:normal;overflow-x:auto;background:var(--cyanosis-theme-code-pre-color)}.cyanosis-theme pre code::selection{background-color:var(--cyanosis-theme-slct-prebg-color)}.cyanosis-theme pre code>*{line-height:1.75}.cyanosis-theme pre code::-webkit-scrollbar{width:4px;height:4px}.cyanosis-theme pre code::-webkit-scrollbar-track{background-color:var(--cyanosis-theme-border-color)}.cyanosis-theme pre code::-webkit-scrollbar-thumb{background-color:var(--cyanosis-theme-strong-color);border-radius:10px}.cyanosis-theme pre code span[rn-wrapper]{top:22px}.cyanosis-theme pre .copy-button{color:var(--cyanosis-theme-base-color);position:absolute;font-size:12px;top:8px;right:12px;cursor:pointer}.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;color:var(--cyanosis-theme-title-color);transition:color .35s}.cyanosis-theme h2{position:relative;padding-left:10px;padding-right:10px;padding-bottom:10px;margin-top:36px;margin-bottom:10px;font-size:24px;line-height:1.5;color:var(--cyanosis-theme-title-color);border-bottom:1px solid var(--cyanosis-theme-border-color-2);transition:color .35s}.cyanosis-theme h2:before{content:"\300c";position:absolute;top:-6px;left:-14px}.cyanosis-theme h2:after{content:"\300d";position:relative;top:6px;right:auto}.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h3:before{content:"\bb";padding-right:6px;color:var(--cyanosis-theme-strong-color)}.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h1::selection,.cyanosis-theme h2::selection,.cyanosis-theme h3::selection,.cyanosis-theme h4::selection,.cyanosis-theme h5::selection,.cyanosis-theme h6::selection{color:var(--cyanosis-theme-slct-title-color);background-color:var(--cyanosis-theme-slct-titlebg-color)}@media (max-width: 720px){.cyanosis-theme h1{font-size:24px}.cyanosis-theme h2{font-size:20px}.cyanosis-theme h3{font-size:18px}}.cyanosis-theme img{max-width:100%}.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;color:var(--cyanosis-theme-link-color);border-bottom:1px solid var(--cyanosis-theme-border-color)}.cyanosis-theme a:hover{color:var(--cyanosis-theme-linkh-color);border-bottom-color:var(--cyanosis-theme-linkh-color)}.cyanosis-theme a:active{color:var(--cyanosis-theme-linkh-color)}.cyanosis-theme a:after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--cyanosis-theme-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}.cyanosis-theme a:hover:after{top:0;opacity:1;border-bottom-color:var(--cyanosis-theme-linkh-color)}.cyanosis-theme ol,.cyanosis-theme ul{padding-left:28px}.cyanosis-theme ol li,.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}.cyanosis-theme ol li .task-list-item,.cyanosis-theme ul li .task-list-item{list-style:none}.cyanosis-theme ol li .task-list-item ul,.cyanosis-theme ol li .task-list-item ol,.cyanosis-theme ul li .task-list-item ul,.cyanosis-theme ul li .task-list-item ol{margin-top:0}.cyanosis-theme ol ul,.cyanosis-theme ol ol,.cyanosis-theme ul ul,.cyanosis-theme ul ol{margin-top:4px}.cyanosis-theme ol li{padding-left:6px}.cyanosis-theme ol li::selection,.cyanosis-theme ul li::selection{color:var(--cyanosis-theme-slct-text-color);background-color:var(--cyanosis-theme-slct-bg-color)}.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}.cyanosis-theme p::selection{color:var(--cyanosis-theme-slct-text-color);background-color:var(--cyanosis-theme-slct-bg-color)}.cyanosis-theme blockquote{color:var(--cyanosis-theme-blockquote-color);border-left:4px solid var(--cyanosis-theme-strong-color);background-color:var(--cyanosis-theme-blockquote-bg-color);padding:1px 20px;margin:22px 0;transition:color .35s}.cyanosis-theme blockquote:after{display:block;content:""}.cyanosis-theme blockquote>p{margin:10px 0}.cyanosis-theme blockquote>b,.cyanosis-theme blockquote>strong{color:var(--cyanosis-theme-strong-color)}.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--cyanosis-theme-table-border-color);border-spacing:0;border-collapse:collapse}.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}.cyanosis-theme table tr:nth-child(2n){background-color:var(--cyanosis-theme-table-tr-nc-color)}.cyanosis-theme table tr:hover{background-color:var(--cyanosis-theme-table-trh-color)}.cyanosis-theme table th,.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--cyanosis-theme-table-border-color)}.cyanosis-theme table th{color:var(--cyanosis-theme-table-tht-color);background-color:var(--cyanosis-theme-table-th-color)}.cyanosis-theme table td{min-width:120px}.cyanosis-theme table thead th::selection{background-color:#0000}.cyanosis-theme table tbody td::selection{background-color:var(--cyanosis-theme-slct-bg-color)}.md-editor .cyanosis-theme{--cyanosis-theme-base-color:#353535;--cyanosis-theme-title-color:#005bb7;--cyanosis-theme-strong-color:#2196f3;--cyanosis-theme-em-color:#4fc3f7;--cyanosis-theme-del-color:#ccc;--cyanosis-theme-link-color:#3da8f5;--cyanosis-theme-linkh-color:#007fff;--cyanosis-theme-border-color:#bedcff;--cyanosis-theme-border-color-2:#ececec;--cyanosis-theme-bg-color:#fff;--cyanosis-theme-blockquote-color:#8c8c8c;--cyanosis-theme-blockquote-bg-color:#f0fdff;--cyanosis-theme-code-color:#c2185b;--cyanosis-theme-code-bg-color:#fff4f4;--cyanosis-theme-code-pre-color:#f8f8f8;--cyanosis-theme-table-border-color:#c3e0fd;--cyanosis-theme-table-th-color:#dff0ff;--cyanosis-theme-table-tht-color:#005bb7;--cyanosis-theme-table-tr-nc-color:#f7fbff;--cyanosis-theme-table-trh-color:#e0edf7;--cyanosis-theme-slct-title-color:#005bb7;--cyanosis-theme-slct-titlebg-color:rgba(175,207,247,.25);--cyanosis-theme-slct-text-color:#c80000;--cyanosis-theme-slct-bg-color:rgba(175,207,247,.25);--cyanosis-theme-slct-del-color:#999;--cyanosis-theme-slct-elbg-color:#e8ebec;--cyanosis-theme-slct-codebg-color:#ffeaeb;--cyanosis-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark .cyanosis-theme{--cyanosis-theme-base-color:#cacaca;--cyanosis-theme-title-color:#ddd;--cyanosis-theme-strong-color:#fe9900;--cyanosis-theme-em-color:#ffd28e;--cyanosis-theme-del-color:#ccc;--cyanosis-theme-link-color:#ffb648;--cyanosis-theme-linkh-color:#fe9900;--cyanosis-theme-border-color:#ffe3ba;--cyanosis-theme-border-color-2:#ffcb7b;--cyanosis-theme-bg-color:#2f2f2f;--cyanosis-theme-blockquote-color:#c7c7c7;--cyanosis-theme-blockquote-bg-color:rgba(255,199,116,.1);--cyanosis-theme-code-color:#000;--cyanosis-theme-code-bg-color:#ffcb7b;--cyanosis-theme-code-pre-color:rgba(30,25,18,.5);--cyanosis-theme-table-border-color:#fe9900;--cyanosis-theme-table-th-color:#ffb648;--cyanosis-theme-table-tht-color:#000;--cyanosis-theme-table-tr-nc-color:#6d5736;--cyanosis-theme-table-trh-color:#947443;--cyanosis-theme-slct-title-color:#000;--cyanosis-theme-slct-titlebg-color:#fe9900;--cyanosis-theme-slct-text-color:#00c888;--cyanosis-theme-slct-bg-color:rgba(175,207,247,.25);--cyanosis-theme-slct-del-color:#999;--cyanosis-theme-slct-elbg-color:#000;--cyanosis-theme-slct-codebg-color:#ffcb7b;--cyanosis-theme-slct-prebg-color:rgba(160,200,255,.25)}.cyanosis-theme{color:var(--md-theme-color);word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--cyanosis-theme-base-color);transition:color .35s}.cyanosis-theme ::-webkit-scrollbar{width:6px;height:6px}.cyanosis-theme ::-webkit-scrollbar-corner,.cyanosis-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.cyanosis-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.cyanosis-theme ::-webkit-scrollbar-button:vertical{display:none}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.cyanosis-theme h1,.cyanosis-theme h2,.cyanosis-theme h3,.cyanosis-theme h4,.cyanosis-theme h5,.cyanosis-theme h6{position:relative;word-break:break-all}.cyanosis-theme h1 a,.cyanosis-theme h2 a,.cyanosis-theme h3 a,.cyanosis-theme h4 a,.cyanosis-theme h5 a,.cyanosis-theme h6 a,.cyanosis-theme h1 a:hover,.cyanosis-theme h2 a:hover,.cyanosis-theme h3 a:hover,.cyanosis-theme h4 a:hover,.cyanosis-theme h5 a:hover,.cyanosis-theme h6 a:hover{color:inherit}.cyanosis-theme ol>li{list-style:decimal}.cyanosis-theme ul>li{list-style:disc}.cyanosis-theme ol .li-task,.cyanosis-theme ul .li-task{list-style-type:none}.cyanosis-theme ol .li-task input,.cyanosis-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.cyanosis-theme a{text-decoration:none}.cyanosis-theme pre,.cyanosis-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.cyanosis-theme pre{margin:20px 0}.cyanosis-theme pre code{display:block;line-height:1;overflow:auto}.cyanosis-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.cyanosis-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.cyanosis-theme div[inline]>.figure{padding-right:.5em}.cyanosis-theme div[inline]>.figure img{padding:0;border:none}.cyanosis-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.cyanosis-theme .figure .figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.cyanosis-theme .md-editor-mermaid{line-height:1}.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg,var(--cyanosis-theme-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--cyanosis-theme-link-color));border-width:0;overflow:visible}.cyanosis-theme b,.cyanosis-theme strong{color:var(--cyanosis-theme-strong-color)}.cyanosis-theme i,.cyanosis-theme em{color:var(--cyanosis-theme-em-color)}.cyanosis-theme del{color:var(--cyanosis-theme-del-color)}.cyanosis-theme details>summary{outline:none;color:var(--cyanosis-theme-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--cyanosis-theme-border-color);cursor:pointer}.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--cyanosis-theme-blockquote-bg-color);border:2px dashed var(--cyanosis-theme-strong-color)}.cyanosis-theme a::selection,.cyanosis-theme b::selection,.cyanosis-theme strong::selection,.cyanosis-theme i::selection,.cyanosis-theme em::selection{background-color:var(--cyanosis-theme-slct-elbg-color)}.cyanosis-theme del::selection{color:var(--cyanosis-theme-slct-del-color);background-color:var(--cyanosis-theme-slct-elbg-color)}.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;border-radius:2px;overflow-x:auto;background-color:#282c34;color:#4ec9b0;padding:.14em .46em;margin:0 4px}.mk-cute-theme pre{position:relative}.mk-cute-theme pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;border-radius:10px;padding:22px;margin:0;word-break:normal;display:block;overflow-x:auto;color:#4ec9b0;background:#282c34}.mk-cute-theme pre code>*{line-height:1.75}.mk-cute-theme pre code span[rn-wrapper]{top:22px}.mk-cute-theme pre .copy-button{color:#999;position:absolute;font-size:12px;top:8px;right:12px;cursor:pointer}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{color:#36ace1}.mk-cute-theme h1:before,.mk-cute-theme h2:before,.mk-cute-theme h3:before,.mk-cute-theme h4:before,.mk-cute-theme h5:before,.mk-cute-theme h6:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT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3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 1s infinite}.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}@media (max-width: 720px){.mk-cute-theme h1{font-size:24px}.mk-cute-theme h2{font-size:20px}.mk-cute-theme h3{font-size:18px}}.mk-cute-theme img{max-width:100%}.mk-cute-theme a{display:inline-block;text-decoration:none;color:#409eff;border-bottom:1px solid #409eff}.mk-cute-theme a:hover,.mk-cute-theme a:active{color:#007bff;border-bottom:1px solid #007bff}.mk-cute-theme ol,.mk-cute-theme ul{padding-left:28px}.mk-cute-theme ol li,.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}.mk-cute-theme ol li .task-list-item,.mk-cute-theme ul li .task-list-item{list-style:none}.mk-cute-theme ol li .task-list-item ul,.mk-cute-theme ol li .task-list-item ol,.mk-cute-theme ul li .task-list-item ul,.mk-cute-theme ul li .task-list-item ol{margin-top:0}.mk-cute-theme ol ul,.mk-cute-theme ol ol,.mk-cute-theme ul ul,.mk-cute-theme ul ol{margin-top:3px}.mk-cute-theme ol li{padding-left:6px}.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.mk-cute-theme p:empty{display:none}.md-editor .mk-cute-theme{--mk-cute-theme-quote-color: #fff;--mk-cute-theme-quote-border-color: #409eff;--mk-cute-theme-quote-bg-color: rgba(54, 172, 225, .75)}.md-editor-dark .mk-cute-theme{--mk-cute-theme-quote-color: inherit;--mk-cute-theme-quote-border-color: #265d97;--mk-cute-theme-quote-bg-color: rgba(18, 80, 108, .75)}.mk-cute-theme blockquote{position:relative;padding:8px 26px;background-color:var(--mk-cute-theme-quote-bg-color);margin:16px 0;border-left:4px solid var(--mk-cute-theme-quote-border-color);border-radius:5px}.mk-cute-theme blockquote:before{content:"\275d";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}.mk-cute-theme blockquote:after{content:"\275e";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}.mk-cute-theme blockquote>p,.mk-cute-theme blockquote ul li,.mk-cute-theme blockquote ol li{color:var(--mk-cute-theme-quote-color)}.md-editor .mk-cute-theme{--mk-cute-theme-table-color: #000;--mk-cute-theme-table-border-color: #f6f6f6;--mk-cute-theme-table-thead-bg-color: #f6f6f6;--mk-cute-theme-table-stripe-color: #fcfcfc}.md-editor-dark .mk-cute-theme{--mk-cute-theme-table-color: inherit;--mk-cute-theme-table-border-color: #1c1c1c;--mk-cute-theme-table-thead-bg-color: rgba(28, 28, 28, .631372549);--mk-cute-theme-table-stripe-color: rgba(28, 28, 28, .631372549)}.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--mk-cute-theme-table-border-color)}.mk-cute-theme thead{background-color:var(--mk-cute-theme-table-thead-bg-color);color:var(--mk-cute-theme-table-color);text-align:left}.mk-cute-theme tr:nth-child(2n){background-color:var(--mk-cute-theme-table-stripe-color)}.mk-cute-theme th,.mk-cute-theme td{padding:12px 7px;line-height:24px}.mk-cute-theme td{min-width:120px}.mk-cute-theme blockquote table tr{background-color:var(--mk-cute-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.md-editor .mk-cute-theme{background-image:linear-gradient(90deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%)}.md-editor-dark .mk-cute-theme{background-image:linear-gradient(90deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}.mk-cute-theme{color:var(--md-theme-color);word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:#36ace1;background-size:20px 20px;background-position:center center}.mk-cute-theme ::-webkit-scrollbar{width:6px;height:6px}.mk-cute-theme ::-webkit-scrollbar-corner,.mk-cute-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.mk-cute-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.mk-cute-theme ::-webkit-scrollbar-button:vertical{display:none}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{position:relative;word-break:break-all}.mk-cute-theme h1 a,.mk-cute-theme h2 a,.mk-cute-theme h3 a,.mk-cute-theme h4 a,.mk-cute-theme h5 a,.mk-cute-theme h6 a,.mk-cute-theme h1 a:hover,.mk-cute-theme h2 a:hover,.mk-cute-theme h3 a:hover,.mk-cute-theme h4 a:hover,.mk-cute-theme h5 a:hover,.mk-cute-theme h6 a:hover{color:inherit}.mk-cute-theme ol>li{list-style:decimal}.mk-cute-theme ul>li{list-style:disc}.mk-cute-theme ol .li-task,.mk-cute-theme ul .li-task{list-style-type:none}.mk-cute-theme ol .li-task input,.mk-cute-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.mk-cute-theme a{text-decoration:none}.mk-cute-theme pre,.mk-cute-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.mk-cute-theme pre{margin:20px 0}.mk-cute-theme pre code{display:block;line-height:1;overflow:auto}.mk-cute-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.mk-cute-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.mk-cute-theme div[inline]>.figure{padding-right:.5em}.mk-cute-theme div[inline]>.figure img{padding:0;border:none}.mk-cute-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.mk-cute-theme .figure .figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.mk-cute-theme .md-editor-mermaid{line-height:1}.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}.mk-cute-theme del{color:#36ace1}.md-editor .smart-blue-theme{--smart-blue-theme-code-inline-color: #d63200;--smart-blue-theme-code-inline-bg-color: #fff5f5;--smart-blue-theme-code-block-color: #333;--smart-blue-theme-code-block-bg-color: #f8f8f8}.md-editor-dark .smart-blue-theme{--smart-blue-theme-code-inline-color: #e06c75;--smart-blue-theme-code-inline-bg-color: #1a1a1a;--smart-blue-theme-code-block-color: #999;--smart-blue-theme-code-block-bg-color: #1a1a1a}.smart-blue-theme pre code{padding:22px 12px;margin:0;word-break:normal;display:block;overflow-x:auto;color:var(--smart-blue-theme-code-block-color);background-color:var(--smart-blue-theme-code-block-bg-color)}.smart-blue-theme pre code>*{line-height:1.6}.smart-blue-theme pre code span[rn-wrapper]{top:22px}.smart-blue-theme pre .copy-button{color:var(--md-theme-color);position:absolute;font-size:12px;top:8px;right:12px;cursor:pointer}.smart-blue-theme code{border-radius:2px;overflow-x:auto;background-color:var(--smart-blue-theme-code-inline-bg-color);color:#ff502c;padding:.065em .4em}.smart-blue-theme pre,.smart-blue-theme code{overflow:auto;position:relative;line-height:1.75;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.md-editor .smart-blue-theme{--smart-blue-theme-heading-color: #135ce0}.md-editor-dark .smart-blue-theme{--smart-blue-theme-heading-color: #3a73dd}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{padding:30px 0;margin:0;color:var(--smart-blue-theme-heading-color)}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a{border:none}.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}.smart-blue-theme h3{font-size:16px}.smart-blue-theme img{max-width:100%;margin:0 auto;display:block}.md-editor .smart-blue-theme{--smart-blue-theme-link-color: #036aca}.md-editor-dark .smart-blue-theme{--smart-blue-theme-link-color: #2d7dc7}.smart-blue-theme a{color:var(--smart-blue-theme-link-color);font-weight:400;text-decoration:none}.smart-blue-theme ul,.smart-blue-theme ol{margin-top:1em;padding-left:1.6em}.smart-blue-theme ul{list-style:disc outside}.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}.smart-blue-theme p{line-height:2;font-weight:400}.smart-blue-theme *+p{margin-top:16px}.md-editor .smart-blue-theme{--smart-blue-theme-quote-color: #666;--smart-blue-theme-quote-bg-color: #fff9f9;--smart-blue-theme-quote-border-color: #b2aec5}.md-editor-dark .smart-blue-theme{--smart-blue-theme-quote-color: #999;--smart-blue-theme-quote-bg-color: #2a2a2a;--smart-blue-theme-quote-border-color: #0063bb}.smart-blue-theme blockquote{background-color:var(--smart-blue-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-left:4px solid var(--smart-blue-theme-quote-border-color)}.smart-blue-theme blockquote p{color:var(--smart-blue-theme-quote-color);line-height:2}.md-editor .smart-blue-theme{--smart-blue-theme-table-border-color: #dfe2e5;--smart-blue-theme-table-bg-color: #f6f8fa}.md-editor-dark .smart-blue-theme{--smart-blue-theme-table-border-color: #2d2d2d;--smart-blue-theme-table-bg-color: #0c0c0c}.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}.smart-blue-theme table tr{border-top:1px solid var(--smart-blue-theme-table-border-color)}.smart-blue-theme table tr:nth-child(2n){background-color:var(--smart-blue-theme-table-bg-color)}.smart-blue-theme table tr th,.smart-blue-theme table tr td{border:1px solid var(--smart-blue-theme-table-border-color);padding:.6em 1em}.smart-blue-theme blockquote table{line-height:initial}.smart-blue-theme blockquote table tr th,.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor .smart-blue-theme{--smart-blue-theme-color: #595959}.md-editor .smart-blue-theme{background-image:linear-gradient(90deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%)}.md-editor-dark .smart-blue-theme{--smart-blue-theme-color: #999}.md-editor-dark .smart-blue-theme{background-image:linear-gradient(90deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%),linear-gradient(360deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%)}.smart-blue-theme{color:var(--md-theme-color);color:var(--smart-blue-theme-color);font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-size:20px 20px;background-position:center center}.smart-blue-theme ::-webkit-scrollbar{width:6px;height:6px}.smart-blue-theme ::-webkit-scrollbar-corner,.smart-blue-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.smart-blue-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.smart-blue-theme ::-webkit-scrollbar-button:vertical{display:none}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{position:relative;word-break:break-all}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a,.smart-blue-theme h1 a:hover,.smart-blue-theme h2 a:hover,.smart-blue-theme h3 a:hover,.smart-blue-theme h4 a:hover,.smart-blue-theme h5 a:hover,.smart-blue-theme h6 a:hover{color:inherit}.smart-blue-theme ol>li{list-style:decimal}.smart-blue-theme ul>li{list-style:disc}.smart-blue-theme ol .li-task,.smart-blue-theme ul .li-task{list-style-type:none}.smart-blue-theme ol .li-task input,.smart-blue-theme ul .li-task input{margin-left:-1.5em;margin-right:.1em}.smart-blue-theme a{text-decoration:none}.smart-blue-theme pre,.smart-blue-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.smart-blue-theme pre{margin:20px 0}.smart-blue-theme pre code{display:block;line-height:1;overflow:auto}.smart-blue-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.smart-blue-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.smart-blue-theme div[inline]>.figure{padding-right:.5em}.smart-blue-theme div[inline]>.figure img{padding:0;border:none}.smart-blue-theme .figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.smart-blue-theme .figure .figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.smart-blue-theme .md-editor-mermaid{line-height:1}.smart-blue-theme strong,.smart-blue-theme em strong{color:#036aca}.smart-blue-theme hr{border-top:1px solid #135ce0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "md-editor-v3",
3
- "version": "2.7.3-beta.0",
3
+ "version": "2.8.0-beta.0",
4
4
  "keywords": [
5
5
  "vue",
6
6
  "vue3",
@@ -54,7 +54,7 @@
54
54
  "@types/prettier": "^2.7.1",
55
55
  "@typescript-eslint/eslint-plugin": "^5.23.0",
56
56
  "@typescript-eslint/parser": "^5.23.0",
57
- "@vavt/markdown-theme": "^1.1.0",
57
+ "@vavt/markdown-theme": "^2.0.0",
58
58
  "@vitejs/plugin-vue": "^2.3.2",
59
59
  "@vitejs/plugin-vue-jsx": "^1.3.10",
60
60
  "@vue/compiler-sfc": "^3.2.33",