md-editor-v3 5.8.3 → 5.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/MdEditor.cjs +1 -0
- package/lib/es/MdEditor.mjs +1 -0
- package/lib/preview.css +1 -1
- package/lib/style.css +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +2 -2
package/lib/cjs/MdEditor.cjs
CHANGED
package/lib/es/MdEditor.mjs
CHANGED
package/lib/preview.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor .md-editor-admonition-note{--md-admonition-color: #212121;--md-admonition-bg-color: #FFFFFF;--md-admonition-border-color: rgb(166.2, 166.2, 166.2)}.md-editor .md-editor-admonition-tip{--md-admonition-color: #616161;--md-admonition-bg-color: #F5F5F5;--md-admonition-border-color: rgb(185.8, 185.8, 185.8)}.md-editor .md-editor-admonition-info{--md-admonition-color: #424242;--md-admonition-bg-color: #F0F0F0;--md-admonition-border-color: rgb(170.4, 170.4, 170.4)}.md-editor .md-editor-admonition-quote{--md-admonition-color: #455a64;--md-admonition-bg-color: #eceff1;--md-admonition-border-color: rgb(169.2, 179.4, 184.6)}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #0288d1;--md-admonition-bg-color: #e1f5fe;--md-admonition-border-color: rgb(135.8, 201.4, 236)}.md-editor .md-editor-admonition-attention{--md-admonition-color: #1e88e5;--md-admonition-bg-color: #e3f2fd;--md-admonition-border-color: rgb(148.2, 199.6, 243.4)}.md-editor .md-editor-admonition-example{--md-admonition-color: #5e35b1;--md-admonition-bg-color: #ede7f6;--md-admonition-border-color: rgb(179.8, 159.8, 218.4)}.md-editor .md-editor-admonition-hint{--md-admonition-color: #00897B;--md-admonition-bg-color: #E0F2F1;--md-admonition-border-color: rgb(134.4, 200, 193.8)}.md-editor .md-editor-admonition-success{--md-admonition-color: #388e3c;--md-admonition-bg-color: #e8f5e9;--md-admonition-border-color: rgb(161.6, 203.8, 163.8)}.md-editor .md-editor-admonition-question{--md-admonition-color: #f9a825;--md-admonition-bg-color: #fffde7;--md-admonition-border-color: rgb(252.6, 219, 153.4)}.md-editor .md-editor-admonition-caution{--md-admonition-color: #fb8c00;--md-admonition-bg-color: #fff8e1;--md-admonition-border-color: rgb(253.4, 204.8, 135)}.md-editor .md-editor-admonition-warning{--md-admonition-color: #f57c00;--md-admonition-bg-color: #fff3e0;--md-admonition-border-color: rgb(251, 195.4, 134.4)}.md-editor .md-editor-admonition-danger{--md-admonition-color: #d84315;--md-admonition-bg-color: #ffebee;--md-admonition-border-color: rgb(239.4, 167.8, 151.2)}.md-editor .md-editor-admonition-failure{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #fee2e6;--md-admonition-border-color: rgb(236.8, 154.4, 156.8)}.md-editor .md-editor-admonition-bug{--md-admonition-color: #c31a1a;--md-admonition-bg-color: #fddadd;--md-admonition-border-color: rgb(229.8, 141.2, 143)}.md-editor .md-editor-admonition-error{--md-admonition-color: #b71c1c;--md-admonition-bg-color: #fdd2d6;--md-admonition-border-color: rgb(225, 137.2, 139.6)}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #E0E0E0;--md-admonition-bg-color: #1E1E1E;--md-admonition-border-color: rgb(107.6, 107.6, 107.6)}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #B0B0B0;--md-admonition-bg-color: #262626;--md-admonition-border-color: rgb(93.2, 93.2, 93.2)}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #B3B3B3;--md-admonition-bg-color: #2B2B2B;--md-admonition-border-color: rgb(97.4, 97.4, 97.4)}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #b0bec5;--md-admonition-bg-color: #263238;--md-admonition-border-color: rgb(93.2, 106, 112.4)}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #81d4fa;--md-admonition-bg-color: #012f45;--md-admonition-border-color: rgb(52.2, 113, 141.4)}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #64b5f6;--md-admonition-bg-color: #102a4c;--md-admonition-border-color: rgb(49.6, 97.6, 144)}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #9575cd;--md-admonition-bg-color: #271b52;--md-admonition-border-color: rgb(83, 63, 131.2)}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #4DB6AC;--md-admonition-bg-color: #003D3A;--md-admonition-border-color: rgb(30.8, 109.4, 103.6)}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #81c784;--md-admonition-bg-color: #1b5e20;--md-admonition-border-color: rgb(67.8, 136, 72)}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #ffd54f;--md-admonition-bg-color: #3e2f00;--md-admonition-border-color: rgb(139.2, 113.4, 31.6)}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #ffcc80;--md-admonition-bg-color: #3e2600;--md-admonition-border-color: rgb(139.2, 104.4, 51.2)}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ffb74d;--md-admonition-bg-color: #3d2600;--md-admonition-border-color: rgb(138.6, 96, 30.8)}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0000;--md-admonition-border-color: rgb(131.6, 61.6, 61.6)}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0900;--md-admonition-border-color: rgb(131.6, 67, 61.6)}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #e68381;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(120.8, 52.4, 51.6)}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #ef5350;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(124.4, 33.2, 32)}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-border-color);border-radius:var(--md-theme-radius-m);color:var(--md-admonition-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-admonition-title{margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-top:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow:hidden;line-height:normal}.md-editor-preview .md-editor-mermaid:not([data-processed]){white-space:pre}.md-editor-preview [class=md-editor-mermaid][data-grab]{cursor:grab}.md-editor-preview [class=md-editor-mermaid][data-grab]:active{cursor:grabbing}.md-editor-preview [class=md-editor-mermaid][data-processed]{position:relative;display:flex;justify-content:center;align-items:center}.md-editor-preview [class=md-editor-mermaid][data-processed] svg{transform-origin:top left}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action{position:absolute;top:10px;right:10px;z-index:1;opacity:0;transition:opacity .3s;cursor:pointer}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg{width:20px;height:20px}.md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action{opacity:1}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-katex-inline,.md-editor-katex-block{display:none}.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-preview code{color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:2px 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:block}.md-editor-preview .md-editor-code input:checked+label{border-bottom:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1rf 1rf";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-bottom:0;border-top-left-radius:var(--md-theme-code-block-radius);border-top-right-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none;position:sticky;top:0;z-index:10000}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-top:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-left:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-top:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action{display:flex;align-items:center}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-right:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:var(--md-theme-radius-s);box-shadow:0 0 2px rgba(0,0,0,.2);left:-10px;top:50%;transform:translate(-100%, -50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-10px;top:50%;transform:translate(0, -50%);filter:drop-shadow(4px 0 2px rgba(0, 0, 0, 0.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-right:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{width:16px;height:16px;font-size:16px;display:inline-block;vertical-align:sub;transform:rotate(0);transition:transform .1s}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;position:relative;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-bottom-left-radius:0;border-bottom-right-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(-90deg)}.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-preview figure{margin:0 0 1em 0;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.md-editor .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em 0;font-weight:bold}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a{color:inherit}.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-bottom:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-bottom:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-bottom:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-bottom:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-bottom:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-bottom:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .1s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty::before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-left:2em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-left:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track,.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px}.md-editor .md-editor-preview ::-webkit-scrollbar-corner,.md-editor .md-editor-preview ::-webkit-scrollbar-track{background-color:#e2e2e2}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3019607843)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.3490196078)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.3803921569)}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner,.md-editor-dark .md-editor-preview ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme img{margin:0 auto;box-sizing:border-box}div.default-theme a{display:inline-flex;line-height:1;border-bottom:none}div.default-theme a:hover{border-bottom:1px solid}div.default-theme a[target=_blank]{align-items:center}div.default-theme a[target=_blank]::after{content:"";display:inline-block;width:16px;height:16px;margin-left:2px;background-color:currentColor;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-size:contain;mask-repeat:no-repeat}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:flow-root}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em;margin-top:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-top:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}div.vuepress-theme ul,div.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}div.vuepress-theme ul li,div.vuepress-theme ol li{margin:1.2em 0}div.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-left:20px}div.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor div.vuepress-theme{--md-theme-color: #304455}.md-editor-dark div.vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-bottom:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-bottom:.3em;font-size:2em}div.github-theme h2{padding-bottom:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}div.github-theme ol li+li,div.github-theme ul li+li{margin-top:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: 0.25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: 0.25em solid #444c56}div.github-theme blockquote{margin:0;padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-top:0;margin-bottom:16px}.md-editor div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;transition:color .35s}div.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;border-bottom:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2::before{content:"「";position:absolute;top:-6px;left:-14px}div.cyanosis-theme h2::after{content:"」";position:relative;top:6px;right:auto}div.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h3::before{content:"»";padding-right:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media(max-width: 720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-bottom:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a::after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translate3d(0, 0, 0)}div.cyanosis-theme a:hover::after{top:0;opacity:1;border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme ol,div.cyanosis-theme ul{margin:0}div.cyanosis-theme ol li,div.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}div.cyanosis-theme ol li .task-list-item,div.cyanosis-theme ul li .task-list-item{list-style:none}div.cyanosis-theme ol li .task-list-item ul,div.cyanosis-theme ol li .task-list-item ol,div.cyanosis-theme ul li .task-list-item ul,div.cyanosis-theme ul li .task-list-item ol{margin-top:0}div.cyanosis-theme ol ul,div.cyanosis-theme ol ol,div.cyanosis-theme ul ul,div.cyanosis-theme ul ol{margin-top:4px}div.cyanosis-theme ol li{padding-left:6px}div.cyanosis-theme ol li::selection,div.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}div.cyanosis-theme .task-list-item-checkbox{position:relative}div.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:var(--md-theme-radius-s);box-sizing:border-box;z-index:1}div.cyanosis-theme .contains-task-list input[type=checkbox][checked]::after{content:"✓";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}div.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}div.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote::after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}div.cyanosis-theme table{display:inline-block !important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}div.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}div.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}div.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}div.cyanosis-theme table th,div.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}div.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}div.cyanosis-theme table td{min-width:120px}div.cyanosis-theme table thead th::selection{background-color:rgba(0,0,0,0)}div.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg, var(--md-theme-link-color), rgba(255, 0, 0, 0.3), rgba(37, 163, 65, 0.3), rgba(255, 0, 0, 0.3), var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: #36ace1}div.mk-cute-theme h1::before,div.mk-cute-theme h2::before,div.mk-cute-theme h3::before,div.mk-cute-theme h4::before,div.mk-cute-theme h5::before,div.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+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1::before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2::before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3::before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4::before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5::before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6::before{width:16px;height:16px;background-size:16px 16px}@media(max-width: 720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: #409eff;--md-theme-link-hover-color: #007bff}div.mk-cute-theme a{display:inline-block;border-bottom:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-bottom:1px solid #007bff}div.mk-cute-theme ol li,div.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}div.mk-cute-theme ol li .task-list-item,div.mk-cute-theme ul li .task-list-item{list-style:none}div.mk-cute-theme ol li .task-list-item ul,div.mk-cute-theme ol li .task-list-item ol,div.mk-cute-theme ul li .task-list-item ul,div.mk-cute-theme ul li .task-list-item ol{margin-top:0}div.mk-cute-theme ol ul,div.mk-cute-theme ol ol,div.mk-cute-theme ul ul,div.mk-cute-theme ul ol{margin-top:3px}div.mk-cute-theme ol li{padding-left:6px}div.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, 0.75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, 0.75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:var(--md-theme-radius-m)}div.mk-cute-theme blockquote::before{content:"❝";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote::after{content:"❞";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, 0.631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, 0.631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.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}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}div.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}div.smart-blue-theme ul,div.smart-blue-theme ol{margin-top:1em}div.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}div.smart-blue-theme p{line-height:2;font-weight:400}div.smart-blue-theme *+p{margin-top:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-left:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor div.smart-blue-theme{--md-theme-color: #595959}.md-editor div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.smart-blue-theme{--md-theme-color: #999}.md-editor-dark div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%),linear-gradient(360deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%)}div.smart-blue-theme{color:var(--md-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}div.smart-blue-theme strong{color:#036aca}div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-top:1px solid #135ce0}.md-editor-catalog-editor {
|
|
1
|
+
.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor .md-editor-admonition-note{--md-admonition-color: #212121;--md-admonition-bg-color: #FFFFFF;--md-admonition-border-color: rgb(166.2, 166.2, 166.2)}.md-editor .md-editor-admonition-tip{--md-admonition-color: #616161;--md-admonition-bg-color: #F5F5F5;--md-admonition-border-color: rgb(185.8, 185.8, 185.8)}.md-editor .md-editor-admonition-info{--md-admonition-color: #424242;--md-admonition-bg-color: #F0F0F0;--md-admonition-border-color: rgb(170.4, 170.4, 170.4)}.md-editor .md-editor-admonition-quote{--md-admonition-color: #455a64;--md-admonition-bg-color: #eceff1;--md-admonition-border-color: rgb(169.2, 179.4, 184.6)}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #0288d1;--md-admonition-bg-color: #e1f5fe;--md-admonition-border-color: rgb(135.8, 201.4, 236)}.md-editor .md-editor-admonition-attention{--md-admonition-color: #1e88e5;--md-admonition-bg-color: #e3f2fd;--md-admonition-border-color: rgb(148.2, 199.6, 243.4)}.md-editor .md-editor-admonition-example{--md-admonition-color: #5e35b1;--md-admonition-bg-color: #ede7f6;--md-admonition-border-color: rgb(179.8, 159.8, 218.4)}.md-editor .md-editor-admonition-hint{--md-admonition-color: #00897B;--md-admonition-bg-color: #E0F2F1;--md-admonition-border-color: rgb(134.4, 200, 193.8)}.md-editor .md-editor-admonition-success{--md-admonition-color: #388e3c;--md-admonition-bg-color: #e8f5e9;--md-admonition-border-color: rgb(161.6, 203.8, 163.8)}.md-editor .md-editor-admonition-question{--md-admonition-color: #f9a825;--md-admonition-bg-color: #fffde7;--md-admonition-border-color: rgb(252.6, 219, 153.4)}.md-editor .md-editor-admonition-caution{--md-admonition-color: #fb8c00;--md-admonition-bg-color: #fff8e1;--md-admonition-border-color: rgb(253.4, 204.8, 135)}.md-editor .md-editor-admonition-warning{--md-admonition-color: #f57c00;--md-admonition-bg-color: #fff3e0;--md-admonition-border-color: rgb(251, 195.4, 134.4)}.md-editor .md-editor-admonition-danger{--md-admonition-color: #d84315;--md-admonition-bg-color: #ffebee;--md-admonition-border-color: rgb(239.4, 167.8, 151.2)}.md-editor .md-editor-admonition-failure{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #fee2e6;--md-admonition-border-color: rgb(236.8, 154.4, 156.8)}.md-editor .md-editor-admonition-bug{--md-admonition-color: #c31a1a;--md-admonition-bg-color: #fddadd;--md-admonition-border-color: rgb(229.8, 141.2, 143)}.md-editor .md-editor-admonition-error{--md-admonition-color: #b71c1c;--md-admonition-bg-color: #fdd2d6;--md-admonition-border-color: rgb(225, 137.2, 139.6)}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #E0E0E0;--md-admonition-bg-color: #1E1E1E;--md-admonition-border-color: rgb(107.6, 107.6, 107.6)}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #B0B0B0;--md-admonition-bg-color: #262626;--md-admonition-border-color: rgb(93.2, 93.2, 93.2)}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #B3B3B3;--md-admonition-bg-color: #2B2B2B;--md-admonition-border-color: rgb(97.4, 97.4, 97.4)}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #b0bec5;--md-admonition-bg-color: #263238;--md-admonition-border-color: rgb(93.2, 106, 112.4)}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #81d4fa;--md-admonition-bg-color: #012f45;--md-admonition-border-color: rgb(52.2, 113, 141.4)}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #64b5f6;--md-admonition-bg-color: #102a4c;--md-admonition-border-color: rgb(49.6, 97.6, 144)}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #9575cd;--md-admonition-bg-color: #271b52;--md-admonition-border-color: rgb(83, 63, 131.2)}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #4DB6AC;--md-admonition-bg-color: #003D3A;--md-admonition-border-color: rgb(30.8, 109.4, 103.6)}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #81c784;--md-admonition-bg-color: #1b5e20;--md-admonition-border-color: rgb(67.8, 136, 72)}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #ffd54f;--md-admonition-bg-color: #3e2f00;--md-admonition-border-color: rgb(139.2, 113.4, 31.6)}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #ffcc80;--md-admonition-bg-color: #3e2600;--md-admonition-border-color: rgb(139.2, 104.4, 51.2)}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ffb74d;--md-admonition-bg-color: #3d2600;--md-admonition-border-color: rgb(138.6, 96, 30.8)}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0000;--md-admonition-border-color: rgb(131.6, 61.6, 61.6)}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0900;--md-admonition-border-color: rgb(131.6, 67, 61.6)}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #e68381;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(120.8, 52.4, 51.6)}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #ef5350;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(124.4, 33.2, 32)}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-border-color);border-radius:var(--md-theme-radius-m);color:var(--md-admonition-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-admonition-title{margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-top:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow:hidden;line-height:normal}.md-editor-preview .md-editor-mermaid:not([data-processed]){white-space:pre}.md-editor-preview [class=md-editor-mermaid][data-grab]{cursor:grab}.md-editor-preview [class=md-editor-mermaid][data-grab]:active{cursor:grabbing}.md-editor-preview [class=md-editor-mermaid][data-processed]{position:relative;display:flex;justify-content:center;align-items:center}.md-editor-preview [class=md-editor-mermaid][data-processed] svg{transform-origin:top left}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action{position:absolute;top:10px;right:10px;z-index:1;opacity:0;transition:opacity .3s;cursor:pointer}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg{width:20px;height:20px}.md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action{opacity:1}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-katex-inline,.md-editor-katex-block{display:none}.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-preview code{color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:2px 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:block}.md-editor-preview .md-editor-code input:checked+label{border-bottom:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1fr 1fr";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-bottom:0;border-top-left-radius:var(--md-theme-code-block-radius);border-top-right-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none;position:sticky;top:0;z-index:10000}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-top:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-left:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-top:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action{display:flex;align-items:center}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-right:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:var(--md-theme-radius-s);box-shadow:0 0 2px rgba(0,0,0,.2);left:-10px;top:50%;transform:translate(-100%, -50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-10px;top:50%;transform:translate(0, -50%);filter:drop-shadow(4px 0 2px rgba(0, 0, 0, 0.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-right:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{width:16px;height:16px;font-size:16px;display:inline-block;vertical-align:sub;transform:rotate(0);transition:transform .1s}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;position:relative;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-bottom-left-radius:0;border-bottom-right-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(-90deg)}.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-preview figure{margin:0 0 1em 0;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.md-editor .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em 0;font-weight:bold}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a{color:inherit}.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-bottom:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-bottom:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-bottom:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-bottom:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-bottom:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-bottom:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .1s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty::before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-left:2em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-left:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track,.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px}.md-editor .md-editor-preview ::-webkit-scrollbar-corner,.md-editor .md-editor-preview ::-webkit-scrollbar-track{background-color:#e2e2e2}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3019607843)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.3490196078)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.3803921569)}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner,.md-editor-dark .md-editor-preview ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme img{margin:0 auto;box-sizing:border-box}div.default-theme a{display:inline-flex;line-height:1;border-bottom:none}div.default-theme a:hover{border-bottom:1px solid}div.default-theme a[target=_blank]{align-items:center}div.default-theme a[target=_blank]::after{content:"";display:inline-block;width:16px;height:16px;margin-left:2px;background-color:currentColor;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-size:contain;mask-repeat:no-repeat}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:flow-root}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em;margin-top:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-top:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}div.vuepress-theme ul,div.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}div.vuepress-theme ul li,div.vuepress-theme ol li{margin:1.2em 0}div.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-left:20px}div.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor div.vuepress-theme{--md-theme-color: #304455}.md-editor-dark div.vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-bottom:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-bottom:.3em;font-size:2em}div.github-theme h2{padding-bottom:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}div.github-theme ol li+li,div.github-theme ul li+li{margin-top:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: 0.25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: 0.25em solid #444c56}div.github-theme blockquote{margin:0;padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-top:0;margin-bottom:16px}.md-editor div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;transition:color .35s}div.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;border-bottom:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2::before{content:"「";position:absolute;top:-6px;left:-14px}div.cyanosis-theme h2::after{content:"」";position:relative;top:6px;right:auto}div.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h3::before{content:"»";padding-right:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media(max-width: 720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-bottom:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a::after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translate3d(0, 0, 0)}div.cyanosis-theme a:hover::after{top:0;opacity:1;border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme ol,div.cyanosis-theme ul{margin:0}div.cyanosis-theme ol li,div.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}div.cyanosis-theme ol li .task-list-item,div.cyanosis-theme ul li .task-list-item{list-style:none}div.cyanosis-theme ol li .task-list-item ul,div.cyanosis-theme ol li .task-list-item ol,div.cyanosis-theme ul li .task-list-item ul,div.cyanosis-theme ul li .task-list-item ol{margin-top:0}div.cyanosis-theme ol ul,div.cyanosis-theme ol ol,div.cyanosis-theme ul ul,div.cyanosis-theme ul ol{margin-top:4px}div.cyanosis-theme ol li{padding-left:6px}div.cyanosis-theme ol li::selection,div.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}div.cyanosis-theme .task-list-item-checkbox{position:relative}div.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:var(--md-theme-radius-s);box-sizing:border-box;z-index:1}div.cyanosis-theme .contains-task-list input[type=checkbox][checked]::after{content:"✓";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}div.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}div.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote::after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}div.cyanosis-theme table{display:inline-block !important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}div.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}div.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}div.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}div.cyanosis-theme table th,div.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}div.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}div.cyanosis-theme table td{min-width:120px}div.cyanosis-theme table thead th::selection{background-color:rgba(0,0,0,0)}div.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg, var(--md-theme-link-color), rgba(255, 0, 0, 0.3), rgba(37, 163, 65, 0.3), rgba(255, 0, 0, 0.3), var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: #36ace1}div.mk-cute-theme h1::before,div.mk-cute-theme h2::before,div.mk-cute-theme h3::before,div.mk-cute-theme h4::before,div.mk-cute-theme h5::before,div.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+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1::before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2::before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3::before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4::before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5::before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6::before{width:16px;height:16px;background-size:16px 16px}@media(max-width: 720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: #409eff;--md-theme-link-hover-color: #007bff}div.mk-cute-theme a{display:inline-block;border-bottom:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-bottom:1px solid #007bff}div.mk-cute-theme ol li,div.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}div.mk-cute-theme ol li .task-list-item,div.mk-cute-theme ul li .task-list-item{list-style:none}div.mk-cute-theme ol li .task-list-item ul,div.mk-cute-theme ol li .task-list-item ol,div.mk-cute-theme ul li .task-list-item ul,div.mk-cute-theme ul li .task-list-item ol{margin-top:0}div.mk-cute-theme ol ul,div.mk-cute-theme ol ol,div.mk-cute-theme ul ul,div.mk-cute-theme ul ol{margin-top:3px}div.mk-cute-theme ol li{padding-left:6px}div.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, 0.75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, 0.75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:var(--md-theme-radius-m)}div.mk-cute-theme blockquote::before{content:"❝";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote::after{content:"❞";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, 0.631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, 0.631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.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}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}div.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}div.smart-blue-theme ul,div.smart-blue-theme ol{margin-top:1em}div.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}div.smart-blue-theme p{line-height:2;font-weight:400}div.smart-blue-theme *+p{margin-top:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-left:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor div.smart-blue-theme{--md-theme-color: #595959}.md-editor div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.smart-blue-theme{--md-theme-color: #999}.md-editor-dark div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%),linear-gradient(360deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%)}div.smart-blue-theme{color:var(--md-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}div.smart-blue-theme strong{color:#036aca}div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-top:1px solid #135ce0}.md-editor-catalog-editor {
|
|
2
2
|
--md-color: #3f4a54;
|
|
3
3
|
--md-hover-color: #000;
|
|
4
4
|
--md-bk-color: #fff;
|
package/lib/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor .md-editor-admonition-note{--md-admonition-color: #212121;--md-admonition-bg-color: #FFFFFF;--md-admonition-border-color: rgb(166.2, 166.2, 166.2)}.md-editor .md-editor-admonition-tip{--md-admonition-color: #616161;--md-admonition-bg-color: #F5F5F5;--md-admonition-border-color: rgb(185.8, 185.8, 185.8)}.md-editor .md-editor-admonition-info{--md-admonition-color: #424242;--md-admonition-bg-color: #F0F0F0;--md-admonition-border-color: rgb(170.4, 170.4, 170.4)}.md-editor .md-editor-admonition-quote{--md-admonition-color: #455a64;--md-admonition-bg-color: #eceff1;--md-admonition-border-color: rgb(169.2, 179.4, 184.6)}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #0288d1;--md-admonition-bg-color: #e1f5fe;--md-admonition-border-color: rgb(135.8, 201.4, 236)}.md-editor .md-editor-admonition-attention{--md-admonition-color: #1e88e5;--md-admonition-bg-color: #e3f2fd;--md-admonition-border-color: rgb(148.2, 199.6, 243.4)}.md-editor .md-editor-admonition-example{--md-admonition-color: #5e35b1;--md-admonition-bg-color: #ede7f6;--md-admonition-border-color: rgb(179.8, 159.8, 218.4)}.md-editor .md-editor-admonition-hint{--md-admonition-color: #00897B;--md-admonition-bg-color: #E0F2F1;--md-admonition-border-color: rgb(134.4, 200, 193.8)}.md-editor .md-editor-admonition-success{--md-admonition-color: #388e3c;--md-admonition-bg-color: #e8f5e9;--md-admonition-border-color: rgb(161.6, 203.8, 163.8)}.md-editor .md-editor-admonition-question{--md-admonition-color: #f9a825;--md-admonition-bg-color: #fffde7;--md-admonition-border-color: rgb(252.6, 219, 153.4)}.md-editor .md-editor-admonition-caution{--md-admonition-color: #fb8c00;--md-admonition-bg-color: #fff8e1;--md-admonition-border-color: rgb(253.4, 204.8, 135)}.md-editor .md-editor-admonition-warning{--md-admonition-color: #f57c00;--md-admonition-bg-color: #fff3e0;--md-admonition-border-color: rgb(251, 195.4, 134.4)}.md-editor .md-editor-admonition-danger{--md-admonition-color: #d84315;--md-admonition-bg-color: #ffebee;--md-admonition-border-color: rgb(239.4, 167.8, 151.2)}.md-editor .md-editor-admonition-failure{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #fee2e6;--md-admonition-border-color: rgb(236.8, 154.4, 156.8)}.md-editor .md-editor-admonition-bug{--md-admonition-color: #c31a1a;--md-admonition-bg-color: #fddadd;--md-admonition-border-color: rgb(229.8, 141.2, 143)}.md-editor .md-editor-admonition-error{--md-admonition-color: #b71c1c;--md-admonition-bg-color: #fdd2d6;--md-admonition-border-color: rgb(225, 137.2, 139.6)}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #E0E0E0;--md-admonition-bg-color: #1E1E1E;--md-admonition-border-color: rgb(107.6, 107.6, 107.6)}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #B0B0B0;--md-admonition-bg-color: #262626;--md-admonition-border-color: rgb(93.2, 93.2, 93.2)}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #B3B3B3;--md-admonition-bg-color: #2B2B2B;--md-admonition-border-color: rgb(97.4, 97.4, 97.4)}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #b0bec5;--md-admonition-bg-color: #263238;--md-admonition-border-color: rgb(93.2, 106, 112.4)}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #81d4fa;--md-admonition-bg-color: #012f45;--md-admonition-border-color: rgb(52.2, 113, 141.4)}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #64b5f6;--md-admonition-bg-color: #102a4c;--md-admonition-border-color: rgb(49.6, 97.6, 144)}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #9575cd;--md-admonition-bg-color: #271b52;--md-admonition-border-color: rgb(83, 63, 131.2)}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #4DB6AC;--md-admonition-bg-color: #003D3A;--md-admonition-border-color: rgb(30.8, 109.4, 103.6)}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #81c784;--md-admonition-bg-color: #1b5e20;--md-admonition-border-color: rgb(67.8, 136, 72)}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #ffd54f;--md-admonition-bg-color: #3e2f00;--md-admonition-border-color: rgb(139.2, 113.4, 31.6)}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #ffcc80;--md-admonition-bg-color: #3e2600;--md-admonition-border-color: rgb(139.2, 104.4, 51.2)}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ffb74d;--md-admonition-bg-color: #3d2600;--md-admonition-border-color: rgb(138.6, 96, 30.8)}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0000;--md-admonition-border-color: rgb(131.6, 61.6, 61.6)}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0900;--md-admonition-border-color: rgb(131.6, 67, 61.6)}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #e68381;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(120.8, 52.4, 51.6)}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #ef5350;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(124.4, 33.2, 32)}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-border-color);border-radius:var(--md-theme-radius-m);color:var(--md-admonition-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-admonition-title{margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-top:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow:hidden;line-height:normal}.md-editor-preview .md-editor-mermaid:not([data-processed]){white-space:pre}.md-editor-preview [class=md-editor-mermaid][data-grab]{cursor:grab}.md-editor-preview [class=md-editor-mermaid][data-grab]:active{cursor:grabbing}.md-editor-preview [class=md-editor-mermaid][data-processed]{position:relative;display:flex;justify-content:center;align-items:center}.md-editor-preview [class=md-editor-mermaid][data-processed] svg{transform-origin:top left}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action{position:absolute;top:10px;right:10px;z-index:1;opacity:0;transition:opacity .3s;cursor:pointer}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg{width:20px;height:20px}.md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action{opacity:1}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-katex-inline,.md-editor-katex-block{display:none}.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-preview code{color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:2px 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:block}.md-editor-preview .md-editor-code input:checked+label{border-bottom:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1rf 1rf";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-bottom:0;border-top-left-radius:var(--md-theme-code-block-radius);border-top-right-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none;position:sticky;top:0;z-index:10000}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-top:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-left:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-top:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action{display:flex;align-items:center}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-right:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:var(--md-theme-radius-s);box-shadow:0 0 2px rgba(0,0,0,.2);left:-10px;top:50%;transform:translate(-100%, -50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-10px;top:50%;transform:translate(0, -50%);filter:drop-shadow(4px 0 2px rgba(0, 0, 0, 0.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-right:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{width:16px;height:16px;font-size:16px;display:inline-block;vertical-align:sub;transform:rotate(0);transition:transform .1s}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;position:relative;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-bottom-left-radius:0;border-bottom-right-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(-90deg)}.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-preview figure{margin:0 0 1em 0;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.md-editor .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em 0;font-weight:bold}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a{color:inherit}.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-bottom:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-bottom:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-bottom:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-bottom:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-bottom:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-bottom:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .1s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty::before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-left:2em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-left:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track,.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px}.md-editor .md-editor-preview ::-webkit-scrollbar-corner,.md-editor .md-editor-preview ::-webkit-scrollbar-track{background-color:#e2e2e2}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3019607843)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.3490196078)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.3803921569)}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner,.md-editor-dark .md-editor-preview ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme img{margin:0 auto;box-sizing:border-box}div.default-theme a{display:inline-flex;line-height:1;border-bottom:none}div.default-theme a:hover{border-bottom:1px solid}div.default-theme a[target=_blank]{align-items:center}div.default-theme a[target=_blank]::after{content:"";display:inline-block;width:16px;height:16px;margin-left:2px;background-color:currentColor;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-size:contain;mask-repeat:no-repeat}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:flow-root}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em;margin-top:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-top:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}div.vuepress-theme ul,div.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}div.vuepress-theme ul li,div.vuepress-theme ol li{margin:1.2em 0}div.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-left:20px}div.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor div.vuepress-theme{--md-theme-color: #304455}.md-editor-dark div.vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-bottom:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-bottom:.3em;font-size:2em}div.github-theme h2{padding-bottom:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}div.github-theme ol li+li,div.github-theme ul li+li{margin-top:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: 0.25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: 0.25em solid #444c56}div.github-theme blockquote{margin:0;padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-top:0;margin-bottom:16px}.md-editor div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;transition:color .35s}div.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;border-bottom:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2::before{content:"「";position:absolute;top:-6px;left:-14px}div.cyanosis-theme h2::after{content:"」";position:relative;top:6px;right:auto}div.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h3::before{content:"»";padding-right:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media(max-width: 720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-bottom:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a::after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translate3d(0, 0, 0)}div.cyanosis-theme a:hover::after{top:0;opacity:1;border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme ol,div.cyanosis-theme ul{margin:0}div.cyanosis-theme ol li,div.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}div.cyanosis-theme ol li .task-list-item,div.cyanosis-theme ul li .task-list-item{list-style:none}div.cyanosis-theme ol li .task-list-item ul,div.cyanosis-theme ol li .task-list-item ol,div.cyanosis-theme ul li .task-list-item ul,div.cyanosis-theme ul li .task-list-item ol{margin-top:0}div.cyanosis-theme ol ul,div.cyanosis-theme ol ol,div.cyanosis-theme ul ul,div.cyanosis-theme ul ol{margin-top:4px}div.cyanosis-theme ol li{padding-left:6px}div.cyanosis-theme ol li::selection,div.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}div.cyanosis-theme .task-list-item-checkbox{position:relative}div.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:var(--md-theme-radius-s);box-sizing:border-box;z-index:1}div.cyanosis-theme .contains-task-list input[type=checkbox][checked]::after{content:"✓";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}div.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}div.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote::after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}div.cyanosis-theme table{display:inline-block !important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}div.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}div.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}div.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}div.cyanosis-theme table th,div.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}div.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}div.cyanosis-theme table td{min-width:120px}div.cyanosis-theme table thead th::selection{background-color:rgba(0,0,0,0)}div.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg, var(--md-theme-link-color), rgba(255, 0, 0, 0.3), rgba(37, 163, 65, 0.3), rgba(255, 0, 0, 0.3), var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: #36ace1}div.mk-cute-theme h1::before,div.mk-cute-theme h2::before,div.mk-cute-theme h3::before,div.mk-cute-theme h4::before,div.mk-cute-theme h5::before,div.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+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1::before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2::before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3::before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4::before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5::before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6::before{width:16px;height:16px;background-size:16px 16px}@media(max-width: 720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: #409eff;--md-theme-link-hover-color: #007bff}div.mk-cute-theme a{display:inline-block;border-bottom:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-bottom:1px solid #007bff}div.mk-cute-theme ol li,div.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}div.mk-cute-theme ol li .task-list-item,div.mk-cute-theme ul li .task-list-item{list-style:none}div.mk-cute-theme ol li .task-list-item ul,div.mk-cute-theme ol li .task-list-item ol,div.mk-cute-theme ul li .task-list-item ul,div.mk-cute-theme ul li .task-list-item ol{margin-top:0}div.mk-cute-theme ol ul,div.mk-cute-theme ol ol,div.mk-cute-theme ul ul,div.mk-cute-theme ul ol{margin-top:3px}div.mk-cute-theme ol li{padding-left:6px}div.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, 0.75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, 0.75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:var(--md-theme-radius-m)}div.mk-cute-theme blockquote::before{content:"❝";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote::after{content:"❞";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, 0.631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, 0.631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.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}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}div.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}div.smart-blue-theme ul,div.smart-blue-theme ol{margin-top:1em}div.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}div.smart-blue-theme p{line-height:2;font-weight:400}div.smart-blue-theme *+p{margin-top:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-left:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor div.smart-blue-theme{--md-theme-color: #595959}.md-editor div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.smart-blue-theme{--md-theme-color: #999}.md-editor-dark div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%),linear-gradient(360deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%)}div.smart-blue-theme{color:var(--md-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}div.smart-blue-theme strong{color:#036aca}div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-top:1px solid #135ce0}.md-editor-checkbox {
|
|
1
|
+
.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--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-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor .md-editor-admonition-note{--md-admonition-color: #212121;--md-admonition-bg-color: #FFFFFF;--md-admonition-border-color: rgb(166.2, 166.2, 166.2)}.md-editor .md-editor-admonition-tip{--md-admonition-color: #616161;--md-admonition-bg-color: #F5F5F5;--md-admonition-border-color: rgb(185.8, 185.8, 185.8)}.md-editor .md-editor-admonition-info{--md-admonition-color: #424242;--md-admonition-bg-color: #F0F0F0;--md-admonition-border-color: rgb(170.4, 170.4, 170.4)}.md-editor .md-editor-admonition-quote{--md-admonition-color: #455a64;--md-admonition-bg-color: #eceff1;--md-admonition-border-color: rgb(169.2, 179.4, 184.6)}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #0288d1;--md-admonition-bg-color: #e1f5fe;--md-admonition-border-color: rgb(135.8, 201.4, 236)}.md-editor .md-editor-admonition-attention{--md-admonition-color: #1e88e5;--md-admonition-bg-color: #e3f2fd;--md-admonition-border-color: rgb(148.2, 199.6, 243.4)}.md-editor .md-editor-admonition-example{--md-admonition-color: #5e35b1;--md-admonition-bg-color: #ede7f6;--md-admonition-border-color: rgb(179.8, 159.8, 218.4)}.md-editor .md-editor-admonition-hint{--md-admonition-color: #00897B;--md-admonition-bg-color: #E0F2F1;--md-admonition-border-color: rgb(134.4, 200, 193.8)}.md-editor .md-editor-admonition-success{--md-admonition-color: #388e3c;--md-admonition-bg-color: #e8f5e9;--md-admonition-border-color: rgb(161.6, 203.8, 163.8)}.md-editor .md-editor-admonition-question{--md-admonition-color: #f9a825;--md-admonition-bg-color: #fffde7;--md-admonition-border-color: rgb(252.6, 219, 153.4)}.md-editor .md-editor-admonition-caution{--md-admonition-color: #fb8c00;--md-admonition-bg-color: #fff8e1;--md-admonition-border-color: rgb(253.4, 204.8, 135)}.md-editor .md-editor-admonition-warning{--md-admonition-color: #f57c00;--md-admonition-bg-color: #fff3e0;--md-admonition-border-color: rgb(251, 195.4, 134.4)}.md-editor .md-editor-admonition-danger{--md-admonition-color: #d84315;--md-admonition-bg-color: #ffebee;--md-admonition-border-color: rgb(239.4, 167.8, 151.2)}.md-editor .md-editor-admonition-failure{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #fee2e6;--md-admonition-border-color: rgb(236.8, 154.4, 156.8)}.md-editor .md-editor-admonition-bug{--md-admonition-color: #c31a1a;--md-admonition-bg-color: #fddadd;--md-admonition-border-color: rgb(229.8, 141.2, 143)}.md-editor .md-editor-admonition-error{--md-admonition-color: #b71c1c;--md-admonition-bg-color: #fdd2d6;--md-admonition-border-color: rgb(225, 137.2, 139.6)}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #E0E0E0;--md-admonition-bg-color: #1E1E1E;--md-admonition-border-color: rgb(107.6, 107.6, 107.6)}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #B0B0B0;--md-admonition-bg-color: #262626;--md-admonition-border-color: rgb(93.2, 93.2, 93.2)}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #B3B3B3;--md-admonition-bg-color: #2B2B2B;--md-admonition-border-color: rgb(97.4, 97.4, 97.4)}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #b0bec5;--md-admonition-bg-color: #263238;--md-admonition-border-color: rgb(93.2, 106, 112.4)}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #81d4fa;--md-admonition-bg-color: #012f45;--md-admonition-border-color: rgb(52.2, 113, 141.4)}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #64b5f6;--md-admonition-bg-color: #102a4c;--md-admonition-border-color: rgb(49.6, 97.6, 144)}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #9575cd;--md-admonition-bg-color: #271b52;--md-admonition-border-color: rgb(83, 63, 131.2)}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #4DB6AC;--md-admonition-bg-color: #003D3A;--md-admonition-border-color: rgb(30.8, 109.4, 103.6)}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #81c784;--md-admonition-bg-color: #1b5e20;--md-admonition-border-color: rgb(67.8, 136, 72)}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #ffd54f;--md-admonition-bg-color: #3e2f00;--md-admonition-border-color: rgb(139.2, 113.4, 31.6)}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #ffcc80;--md-admonition-bg-color: #3e2600;--md-admonition-border-color: rgb(139.2, 104.4, 51.2)}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ffb74d;--md-admonition-bg-color: #3d2600;--md-admonition-border-color: rgb(138.6, 96, 30.8)}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0000;--md-admonition-border-color: rgb(131.6, 61.6, 61.6)}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0900;--md-admonition-border-color: rgb(131.6, 67, 61.6)}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #e68381;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(120.8, 52.4, 51.6)}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #ef5350;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(124.4, 33.2, 32)}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-border-color);border-radius:var(--md-theme-radius-m);color:var(--md-admonition-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-admonition-title{margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-top:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow:hidden;line-height:normal}.md-editor-preview .md-editor-mermaid:not([data-processed]){white-space:pre}.md-editor-preview [class=md-editor-mermaid][data-grab]{cursor:grab}.md-editor-preview [class=md-editor-mermaid][data-grab]:active{cursor:grabbing}.md-editor-preview [class=md-editor-mermaid][data-processed]{position:relative;display:flex;justify-content:center;align-items:center}.md-editor-preview [class=md-editor-mermaid][data-processed] svg{transform-origin:top left}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action{position:absolute;top:10px;right:10px;z-index:1;opacity:0;transition:opacity .3s;cursor:pointer}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg{width:20px;height:20px}.md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action{opacity:1}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-katex-inline,.md-editor-katex-block{display:none}.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, 0.1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-preview code{color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:2px 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:block}.md-editor-preview .md-editor-code input:checked+label{border-bottom:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1fr 1fr";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-bottom:0;border-top-left-radius:var(--md-theme-code-block-radius);border-top-right-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none;position:sticky;top:0;z-index:10000}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-top:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-left:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-top:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action{display:flex;align-items:center}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-right:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:var(--md-theme-radius-s);box-shadow:0 0 2px rgba(0,0,0,.2);left:-10px;top:50%;transform:translate(-100%, -50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-10px;top:50%;transform:translate(0, -50%);filter:drop-shadow(4px 0 2px rgba(0, 0, 0, 0.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]::after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover::after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-right:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{width:16px;height:16px;font-size:16px;display:inline-block;vertical-align:sub;transform:rotate(0);transition:transform .1s}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;position:relative;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-bottom-left-radius:0;border-bottom-right-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(-90deg)}.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-preview figure{margin:0 0 1em 0;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.md-editor .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em 0;font-weight:bold}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a{color:inherit}.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-bottom:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-bottom:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-bottom:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-bottom:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-bottom:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-bottom:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .1s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty::before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-left:2em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-left:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track,.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px}.md-editor .md-editor-preview ::-webkit-scrollbar-corner,.md-editor .md-editor-preview ::-webkit-scrollbar-track{background-color:#e2e2e2}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3019607843)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.3490196078)}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.3803921569)}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner,.md-editor-dark .md-editor-preview ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme img{margin:0 auto;box-sizing:border-box}div.default-theme a{display:inline-flex;line-height:1;border-bottom:none}div.default-theme a:hover{border-bottom:1px solid}div.default-theme a[target=_blank]{align-items:center}div.default-theme a[target=_blank]::after{content:"";display:inline-block;width:16px;height:16px;margin-left:2px;background-color:currentColor;mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-size:contain;mask-repeat:no-repeat}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:flow-root}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em;margin-top:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-top:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}div.vuepress-theme ul,div.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}div.vuepress-theme ul li,div.vuepress-theme ol li{margin:1.2em 0}div.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-left:20px}div.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor div.vuepress-theme{--md-theme-color: #304455}.md-editor-dark div.vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-bottom:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-bottom:.3em;font-size:2em}div.github-theme h2{padding-bottom:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}div.github-theme ol li+li,div.github-theme ul li+li{margin-top:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: 0.25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: 0.25em solid #444c56}div.github-theme blockquote{margin:0;padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-top:0;margin-bottom:16px}.md-editor div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;transition:color .35s}div.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;border-bottom:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2::before{content:"「";position:absolute;top:-6px;left:-14px}div.cyanosis-theme h2::after{content:"」";position:relative;top:6px;right:auto}div.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h3::before{content:"»";padding-right:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media(max-width: 720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-bottom:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a::after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translate3d(0, 0, 0)}div.cyanosis-theme a:hover::after{top:0;opacity:1;border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme ol,div.cyanosis-theme ul{margin:0}div.cyanosis-theme ol li,div.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}div.cyanosis-theme ol li .task-list-item,div.cyanosis-theme ul li .task-list-item{list-style:none}div.cyanosis-theme ol li .task-list-item ul,div.cyanosis-theme ol li .task-list-item ol,div.cyanosis-theme ul li .task-list-item ul,div.cyanosis-theme ul li .task-list-item ol{margin-top:0}div.cyanosis-theme ol ul,div.cyanosis-theme ol ol,div.cyanosis-theme ul ul,div.cyanosis-theme ul ol{margin-top:4px}div.cyanosis-theme ol li{padding-left:6px}div.cyanosis-theme ol li::selection,div.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}div.cyanosis-theme .task-list-item-checkbox{position:relative}div.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:var(--md-theme-radius-s);box-sizing:border-box;z-index:1}div.cyanosis-theme .contains-task-list input[type=checkbox][checked]::after{content:"✓";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}div.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}div.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote::after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}div.cyanosis-theme table{display:inline-block !important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}div.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}div.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}div.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}div.cyanosis-theme table th,div.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}div.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}div.cyanosis-theme table td{min-width:120px}div.cyanosis-theme table thead th::selection{background-color:rgba(0,0,0,0)}div.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg, var(--md-theme-link-color), rgba(255, 0, 0, 0.3), rgba(37, 163, 65, 0.3), rgba(255, 0, 0, 0.3), var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: #36ace1}div.mk-cute-theme h1::before,div.mk-cute-theme h2::before,div.mk-cute-theme h3::before,div.mk-cute-theme h4::before,div.mk-cute-theme h5::before,div.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+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1::before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2::before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3::before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4::before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5::before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6::before{width:16px;height:16px;background-size:16px 16px}@media(max-width: 720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: #409eff;--md-theme-link-hover-color: #007bff}div.mk-cute-theme a{display:inline-block;border-bottom:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-bottom:1px solid #007bff}div.mk-cute-theme ol li,div.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}div.mk-cute-theme ol li .task-list-item,div.mk-cute-theme ul li .task-list-item{list-style:none}div.mk-cute-theme ol li .task-list-item ul,div.mk-cute-theme ol li .task-list-item ol,div.mk-cute-theme ul li .task-list-item ul,div.mk-cute-theme ul li .task-list-item ol{margin-top:0}div.mk-cute-theme ol ul,div.mk-cute-theme ol ol,div.mk-cute-theme ul ul,div.mk-cute-theme ul ol{margin-top:3px}div.mk-cute-theme ol li{padding-left:6px}div.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, 0.75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, 0.75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:var(--md-theme-radius-m)}div.mk-cute-theme blockquote::before{content:"❝";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote::after{content:"❞";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, 0.631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, 0.631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(50, 58, 66, 0.25) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(217, 234, 251, 0.25) 3%, rgba(0, 0, 0, 0) 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.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}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}div.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}div.smart-blue-theme ul,div.smart-blue-theme ol{margin-top:1em}div.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}div.smart-blue-theme p{line-height:2;font-weight:400}div.smart-blue-theme *+p{margin-top:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-left:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor div.smart-blue-theme{--md-theme-color: #595959}.md-editor div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%),linear-gradient(360deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%)}.md-editor-dark div.smart-blue-theme{--md-theme-color: #999}.md-editor-dark div.smart-blue-theme{background-image:linear-gradient(90deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%),linear-gradient(360deg, rgba(207, 207, 207, 0.04) 3%, rgba(255, 255, 255, 0) 3%)}div.smart-blue-theme{color:var(--md-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}div.smart-blue-theme strong{color:#036aca}div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-top:1px solid #135ce0}.md-editor-checkbox {
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
width: 12px;
|
|
4
4
|
height: 12px;
|
package/lib/umd/index.js
CHANGED
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
* This source code is licensed under the ISC license.
|
|
180
180
|
* See the LICENSE file in the root directory of this source tree.
|
|
181
181
|
*/const Oq=Ye("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),lq={bold:R5,underline:rq,italic:C5,"strike-through":J5,title:V5,sub:eq,sup:tq,quote:M5,"unordered-list":D5,"ordered-list":A5,task:G5,"code-row":W5,code:Y0,link:j5,image:Z5,table:nq,revoke:F5,next:E5,save:B5,prettier:Y0,minimize:N5,maximize:L5,"fullscreen-exit":H5,fullscreen:Y5,"preview-only":aq,preview:U5,"preview-html":q5,catalog:I5,github:()=>m.createVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-github-icon"},[m.createVNode("path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"},null),m.createVNode("path",{d:"M9 18c-4.51 2-5-2-7-2"},null)]),mermaid:z5,formula:K5,close:Oq,delete:iq,upload:oq},sq=m.defineComponent({name:`${X}-icon-set`,props:{name:{type:String,default:""}},setup(e){return()=>m.h(lq[e.name],{class:`${X}-icon`})}}),we=m.defineComponent({name:`${X}-icon`,props:{name:{type:String,default:""}},setup(e){const t=m.inject("customIcon");return()=>{const n=t.value[e.name];return typeof n=="object"?typeof n.component=="object"?m.h(n.component,n.props):m.createVNode("span",{innerHTML:n.component},null):m.createVNode(sq,{name:e.name},null)}}}),uq=(e,t="image.png")=>{const n=e.split(","),i=n[0].match(/:(.*?);/);if(i){const r=i[1],o=atob(n[1]);let a=o.length;const O=new Uint8Array(a);for(;a--;)O[a]=o.charCodeAt(a);return new File([O],t,{type:r})}return null},cq=(e,t)=>{if(!e)return e;const n=t.split(`
|
|
182
|
-
`),i=['<span rn-wrapper aria-hidden="true">'];return n.forEach(()=>{i.push("<span></span>")}),i.push("</span>"),`<span class="${X}-code-block">${e}</span>${i.join("")}`},fq=(e,t)=>{if(!e||!t)return 0;const n=e==null?void 0:e.getBoundingClientRect();if(t===document.documentElement)return n.top-t.clientTop;const i=t==null?void 0:t.getBoundingClientRect();return n.top-i.top},U0=(()=>{let e=0;return()=>++e})(),dq={title:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String,default:void 0},style:{type:[Object,String],default:()=>({})},showMask:{type:Boolean,default:!0}},Xo=m.defineComponent({name:"MdModal",props:dq,emits:["onClose"],setup(e,t){const n=m.inject("theme"),i=m.inject("rootRef"),r=m.ref(e.visible),o=m.ref([`${X}-modal`]),a=m.ref(),O=m.ref(),l=m.ref(),s=m.shallowRef();let u=()=>{};const c=m.reactive({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),f=m.computed(()=>e.isFullscreen?{width:"100%",height:"100%"}:{width:e.width,height:e.height});m.watch(()=>e.isFullscreen,$=>{$?u():m.nextTick(()=>{u=q0(O.value,(b,g)=>{c.initPos.left=b+"px",c.initPos.top=g+"px"})})}),m.watch(()=>e.visible,$=>{$?(c.maskStyle.zIndex=dt.editorConfig.zIndex+U0(),c.modalStyle.zIndex=dt.editorConfig.zIndex+U0(),o.value.push("zoom-in"),r.value=$,m.nextTick(()=>{const b=a.value.offsetWidth/2,g=a.value.offsetHeight/2,Q=document.documentElement.clientWidth/2,S=document.documentElement.clientHeight/2;c.initPos.left=Q-b+"px",c.initPos.top=S-g+"px",e.isFullscreen||(u=q0(O.value,(k,y)=>{c.initPos.left=k+"px",c.initPos.top=y+"px"}))}),setTimeout(()=>{o.value=o.value.filter(b=>b!=="zoom-in")},140)):(o.value.push("zoom-out"),u(),setTimeout(()=>{o.value=o.value.filter(b=>b!=="zoom-out"),r.value=$},130))});const d=m.computed(()=>({display:r.value?"block":"none"})),p=m.computed(()=>typeof e.style=="string"?[e.style,d.value].join("; "):e.style instanceof Object?{...d.value,...e.style}:d.value);return m.onMounted(()=>{var b;const $=(b=i.value)==null?void 0:b.getRootNode();l.value=$ instanceof Document?document.body:$}),()=>{const $=tn({ctx:t}),b=tn({props:e,ctx:t},"title");return l.value?m.createVNode(m.Teleport,{to:l.value},{default:()=>[m.createVNode("div",{ref:s,class:`${X}-modal-container`,"data-theme":n.value},[m.createVNode("div",{class:e.class,style:p.value},[e.showMask&&m.createVNode("div",{class:`${X}-modal-mask`,style:c.maskStyle,onClick:()=>{var g;(g=e.onClose)==null||g.call(e),t.emit("onClose")}},null),m.createVNode("div",{class:o.value,style:{...c.modalStyle,...c.initPos,...f.value},ref:a},[m.createVNode("div",{class:`${X}-modal-header`,ref:O},[b||""]),m.createVNode("div",{class:`${X}-modal-body`},[$]),m.createVNode("div",{class:`${X}-modal-func`},[e.showAdjust&&m.createVNode("div",{class:`${X}-modal-adjust`,onClick:g=>{g.stopPropagation(),e.isFullscreen?c.initPos=c.historyPos:(c.historyPos=c.initPos,c.initPos={left:"0",top:"0"}),e.onAdjust(!e.isFullscreen)}},[m.createVNode(we,{name:e.isFullscreen?"minimize":"maximize"},null)]),m.createVNode("div",{class:`${X}-modal-close`,onClick:g=>{var Q;g.stopPropagation(),(Q=e.onClose)==null||Q.call(e),t.emit("onClose")}},[m.createVNode(we,{name:"close"},null)])])])])])]}):""}}});Xo.install=e=>(e.component(Xo.name,Xo),e);const hq={type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},pq=m.defineComponent({name:`${X}-modal-link`,props:hq,setup(e){const t=m.inject("usedLanguageText"),n=m.inject("editorId"),i=m.computed(()=>{var o,a;switch(e.type){case"link":return(o=t.value.linkModalTips)==null?void 0:o.linkTitle;case"image":return(a=t.value.linkModalTips)==null?void 0:a.imageTitle;default:return""}}),r=m.reactive({desc:"",url:""});return m.watch(()=>e.visible,o=>{o||setTimeout(()=>{r.desc="",r.url=""},200)}),()=>m.createVNode(Xo,{title:i.value,visible:e.visible,onClose:e.onCancel},{default:()=>{var o,a,O,l,s;return[m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("label",{class:`${X}-label`,for:`link-desc-${n}`},[(o=t.value.linkModalTips)==null?void 0:o.descLabel]),m.createVNode("input",{placeholder:(a=t.value.linkModalTips)==null?void 0:a.descLabelPlaceHolder,class:`${X}-input`,id:`link-desc-${n}`,type:"text",value:r.desc,onChange:u=>{r.desc=u.target.value},autocomplete:"off"},null)]),m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("label",{class:`${X}-label`,for:`link-url-${n}`},[(O=t.value.linkModalTips)==null?void 0:O.urlLabel]),m.createVNode("input",{placeholder:(l=t.value.linkModalTips)==null?void 0:l.urlLabelPlaceHolder,class:`${X}-input`,id:`link-url-${n}`,type:"text",value:r.url,onChange:u=>{r.url=u.target.value},autocomplete:"off"},null)]),m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("button",{class:[`${X}-btn`,`${X}-btn-row`],type:"button",onClick:()=>{e.onOk(r),r.desc="",r.url=""}},[(s=t.value.linkModalTips)==null?void 0:s.buttonOK])])]}})}}),mq={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},gq=m.defineComponent({name:`${X}-modal-clip`,props:mq,setup(e){const t=m.inject("usedLanguageText"),n=m.inject("editorId"),i=m.inject("rootRef");let r=dt.editorExtensions.cropper.instance;const o=m.ref(),a=m.ref(),O=m.ref(),l=m.reactive({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let s=null;m.watch(()=>e.visible,()=>{e.visible&&!l.cropperInited&&(r=r||window.Cropper,o.value.onchange=()=>{if(!r){F.emit(n,Ar,{name:"Cropper",message:"Cropper is undefined"});return}const c=o.value.files||[];if(l.imgSelected=!0,(c==null?void 0:c.length)>0){const f=new FileReader;f.onload=d=>{l.imgSrc=d.target.result},f.readAsDataURL(c[0])}})}),m.watch(()=>[l.imgSelected],()=>{O.value.style=""}),m.watch([m.toRef(()=>l.isFullscreen),m.toRef(()=>l.imgSrc)],()=>{l.imgSrc&&m.nextTick(()=>{s==null||s.destroy(),O.value.style="",a.value&&(s=new r(a.value,{viewMode:2,preview:i.value.getRootNode().querySelector(`.${X}-clip-preview-target`)}))})});const u=()=>{s.clear(),s.destroy(),s=null,o.value.value="",l.imgSelected=!1};return()=>{var c;return m.createVNode(Xo,{class:`${X}-modal-clip`,title:(c=t.value.clipModalTips)==null?void 0:c.title,visible:e.visible,onClose:e.onCancel,showAdjust:!0,isFullscreen:l.isFullscreen,onAdjust:f=>{l.isFullscreen=f},width:"668px",height:"421px"},{default:()=>{var f,d,p;return[m.createVNode("div",{class:`${X}-form-item ${X}-clip`},[m.createVNode("div",{class:`${X}-clip-main`},[l.imgSelected?m.createVNode("div",{class:`${X}-clip-cropper`},[m.createVNode("img",{src:l.imgSrc,ref:a,style:{display:"none"},alt:""},null),m.createVNode("div",{class:`${X}-clip-delete`,onClick:u},[m.createVNode(we,{name:"delete"},null)])]):m.createVNode("div",{class:`${X}-clip-upload`,onClick:()=>{o.value.click()},role:"button",tabindex:"0","aria-label":(f=t.value.imgTitleItem)==null?void 0:f.upload},[m.createVNode(we,{name:"upload"},null)])]),m.createVNode("div",{class:`${X}-clip-preview`},[m.createVNode("div",{class:`${X}-clip-preview-target`,ref:O},null)])]),m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("button",{class:`${X}-btn`,type:"button",onClick:()=>{if(s){const $=s.getCroppedCanvas();F.emit(n,pu,[uq($.toDataURL("image/png"))],e.onOk),u()}}},[((d=t.value.clipModalTips)==null?void 0:d.buttonUpload)||((p=t.value.linkModalTips)==null?void 0:p.buttonOK)])]),m.createVNode("input",{ref:o,accept:"image/*",type:"file",multiple:!1,style:{display:"none"},"aria-hidden":"true"},null)]}})}}}),Qq={type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},$q=m.defineComponent({name:`${X}-modals`,props:Qq,setup(e){return()=>m.createVNode(m.Fragment,null,[m.createVNode(pq,{type:e.type,visible:e.linkVisible,onOk:e.onOk,onCancel:e.onCancel},null),m.createVNode(gq,{visible:e.clipVisible,onOk:e.onOk,onCancel:e.onCancel},null)])}}),bq=m.defineComponent({name:"MDEditorToolbar",props:S5,setup(e){const t=m.inject("editorId"),n=m.inject("usedLanguageText"),i=m.inject("theme"),r=m.inject("previewTheme"),o=m.inject("language"),a=m.inject("disabled"),{fullscreenHandler:O}=v5(e),l=`${t}-toolbar-wrapper`,s=m.ref(),u=m.reactive({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),c=(Q,S)=>{if(a!=null&&a.value)return!1;F.emit(t,je,Q,S)},f=m.reactive({type:"link",linkVisible:!1,clipVisible:!1}),d=m.ref();m.onMounted(()=>{F.on(t,{name:gh,callback(Q){f.type=Q,f.linkVisible=!0}})});const p=m.computed(()=>{const Q=e.toolbars.filter(T=>!e.toolbarsExclude.includes(T)),S=Q.indexOf("="),k=S===-1?Q:Q.slice(0,S+1),y=S===-1?[]:Q.slice(S,Number.MAX_SAFE_INTEGER);return[k,y]}),$=m.ref(),b=()=>{F.emit(t,pu,Array.from($.value.files||[])),$.value.value=""};m.onMounted(()=>{$.value.addEventListener("change",b)});const g=Q=>{var S,k,y,T,x,w,v,E,V,q,Y,_,W,U,Z,G,D,I,N,ee,Oe,ze,M,ue,xe,De,kt,fi,An,Ci,IO,ba,Vr,DO,LO,ya,Ld,Nd,Sa,Md,fr,xt,ko,Pa,Zr,Fd,tu,Bd,Ze,Hd,NO,xo,MO,Kd,FO,di,Jd,ka,eh,BO,yn,nu,th,ji,nh,iu,ru,ih,Cr,Ai,jr,ou,dr,rh,au,xa,hi,va,oh,Ou,ah;if(hh.includes(Q))switch(Q){case"-":return m.createVNode($5,null,null);case"bold":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(S=n.value.toolbarTips)==null?void 0:S.bold,onClick:()=>{c("bold")}},[m.createVNode(we,{name:"bold"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(k=n.value.toolbarTips)==null?void 0:k.bold])]);case"underline":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(y=n.value.toolbarTips)==null?void 0:y.underline,onClick:()=>{c("underline")}},[m.createVNode(we,{name:"underline"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(T=n.value.toolbarTips)==null?void 0:T.underline])]);case"italic":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(x=n.value.toolbarTips)==null?void 0:x.italic,onClick:()=>{c("italic")}},[m.createVNode(we,{name:"italic"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(w=n.value.toolbarTips)==null?void 0:w.italic])]);case"strikeThrough":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(v=n.value.toolbarTips)==null?void 0:v.strikeThrough,onClick:()=>{c("strikeThrough")}},[m.createVNode(we,{name:"strike-through"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(E=n.value.toolbarTips)==null?void 0:E.strikeThrough])]);case"title":return m.createVNode(Ta,{relative:`#${l}`,visible:u.title,onChange:ge=>{u.title=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.title=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h1")},role:"menuitem",tabindex:"0"},[(V=n.value.titleItem)==null?void 0:V.h1]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h2")},role:"menuitem",tabindex:"0"},[(q=n.value.titleItem)==null?void 0:q.h2]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h3")},role:"menuitem",tabindex:"0"},[(Y=n.value.titleItem)==null?void 0:Y.h3]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h4")},role:"menuitem",tabindex:"0"},[(_=n.value.titleItem)==null?void 0:_.h4]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h5")},role:"menuitem",tabindex:"0"},[(W=n.value.titleItem)==null?void 0:W.h5]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h6")},role:"menuitem",tabindex:"0"},[(U=n.value.titleItem)==null?void 0:U.h6])])},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.title},[m.createVNode(we,{name:"title"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.title])])]}});case"sub":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Z=n.value.toolbarTips)==null?void 0:Z.sub,onClick:()=>{c("sub")}},[m.createVNode(we,{name:"sub"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(G=n.value.toolbarTips)==null?void 0:G.sub])]);case"sup":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(D=n.value.toolbarTips)==null?void 0:D.sup,onClick:()=>{c("sup")}},[m.createVNode(we,{name:"sup"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(I=n.value.toolbarTips)==null?void 0:I.sup])]);case"quote":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(N=n.value.toolbarTips)==null?void 0:N.quote,onClick:()=>{c("quote")}},[m.createVNode(we,{name:"quote"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ee=n.value.toolbarTips)==null?void 0:ee.quote])]);case"unorderedList":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Oe=n.value.toolbarTips)==null?void 0:Oe.unorderedList,onClick:()=>{c("unorderedList")}},[m.createVNode(we,{name:"unordered-list"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ze=n.value.toolbarTips)==null?void 0:ze.unorderedList])]);case"orderedList":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(M=n.value.toolbarTips)==null?void 0:M.orderedList,onClick:()=>{c("orderedList")}},[m.createVNode(we,{name:"ordered-list"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ue=n.value.toolbarTips)==null?void 0:ue.orderedList])]);case"task":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(xe=n.value.toolbarTips)==null?void 0:xe.task,onClick:()=>{c("task")}},[m.createVNode(we,{name:"task"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(De=n.value.toolbarTips)==null?void 0:De.task])]);case"codeRow":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(kt=n.value.toolbarTips)==null?void 0:kt.codeRow,onClick:()=>{c("codeRow")}},[m.createVNode(we,{name:"code-row"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(fi=n.value.toolbarTips)==null?void 0:fi.codeRow])]);case"code":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(An=n.value.toolbarTips)==null?void 0:An.code,onClick:()=>{c("code")}},[m.createVNode(we,{name:"code"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Ci=n.value.toolbarTips)==null?void 0:Ci.code])]);case"link":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(IO=n.value.toolbarTips)==null?void 0:IO.link,onClick:()=>{if(a!=null&&a.value)return!1;e.insertLinkDirect?c("link"):(f.type="link",f.linkVisible=!0)}},[m.createVNode(we,{name:"link"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ba=n.value.toolbarTips)==null?void 0:ba.link])]);case"image":return e.noUploadImg?m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Vr=n.value.toolbarTips)==null?void 0:Vr.image,onClick:()=>{if(a!=null&&a.value)return!1;e.insertLinkDirect?c("image"):(f.type="image",f.linkVisible=!0)}},[m.createVNode(we,{name:"image"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(DO=n.value.toolbarTips)==null?void 0:DO.image])]):m.createVNode(Ta,{relative:`#${l}`,visible:u.image,onChange:ge=>{u.image=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.image=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-image`,onClick:()=>{e.insertLinkDirect?c("image"):(f.type="image",f.linkVisible=!0)},role:"menuitem",tabindex:"0"},[(LO=n.value.imgTitleItem)==null?void 0:LO.link]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-image`,onClick:()=>{$.value.click()},role:"menuitem",tabindex:"0"},[(ya=n.value.imgTitleItem)==null?void 0:ya.upload]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-image`,onClick:()=>{f.clipVisible=!0},role:"menuitem",tabindex:"0"},[(Ld=n.value.imgTitleItem)==null?void 0:Ld.clip2upload])])},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.image},[m.createVNode(we,{name:"image"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.image])])]}});case"table":return m.createVNode(Ta,{relative:`#${l}`,visible:u.table,onChange:ge=>{u.table=ge},disabled:a==null?void 0:a.value,key:"bar-table",overlay:m.createVNode(T5,{tableShape:e.tableShape,onSelected:ge=>{c("table",{selectedShape:ge})}},null)},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.table},[m.createVNode(we,{name:"table"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.table])])]}});case"revoke":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Nd=n.value.toolbarTips)==null?void 0:Nd.revoke,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,w0)}},[m.createVNode(we,{name:"revoke"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Sa=n.value.toolbarTips)==null?void 0:Sa.revoke])]);case"next":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Md=n.value.toolbarTips)==null?void 0:Md.next,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,T0)}},[m.createVNode(we,{name:"next"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(fr=n.value.toolbarTips)==null?void 0:fr.next])]);case"save":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(xt=n.value.toolbarTips)==null?void 0:xt.save,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,du)}},[m.createVNode(we,{name:"save"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ko=n.value.toolbarTips)==null?void 0:ko.save])]);case"prettier":return e.noPrettier?"":m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Pa=n.value.toolbarTips)==null?void 0:Pa.prettier,onClick:()=>{c("prettier")}},[m.createVNode(we,{name:"prettier"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Zr=n.value.toolbarTips)==null?void 0:Zr.prettier])]);case"pageFullscreen":return!e.setting.fullscreen&&m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.pageFullscreen&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Fd=n.value.toolbarTips)==null?void 0:Fd.pageFullscreen,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("pageFullscreen")}},[m.createVNode(we,{name:e.setting.pageFullscreen?"minimize":"maximize"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(tu=n.value.toolbarTips)==null?void 0:tu.pageFullscreen])]);case"fullscreen":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.fullscreen&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Bd=n.value.toolbarTips)==null?void 0:Bd.fullscreen,onClick:()=>{if(a!=null&&a.value)return!1;O()}},[m.createVNode(we,{name:e.setting.fullscreen?"fullscreen-exit":"fullscreen"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Ze=n.value.toolbarTips)==null?void 0:Ze.fullscreen])]);case"preview":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.preview&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Hd=n.value.toolbarTips)==null?void 0:Hd.preview,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("preview")}},[m.createVNode(we,{name:"preview"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(NO=n.value.toolbarTips)==null?void 0:NO.preview])]);case"previewOnly":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.previewOnly&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(xo=n.value.toolbarTips)==null?void 0:xo.previewOnly,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("previewOnly")}},[m.createVNode(we,{name:"preview-only"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(MO=n.value.toolbarTips)==null?void 0:MO.previewOnly])]);case"htmlPreview":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.htmlPreview&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Kd=n.value.toolbarTips)==null?void 0:Kd.htmlPreview,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("htmlPreview")}},[m.createVNode(we,{name:"preview-html"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(FO=n.value.toolbarTips)==null?void 0:FO.htmlPreview])]);case"catalog":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.catalogVisible&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(di=n.value.toolbarTips)==null?void 0:di.catalog,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,mh)},key:"bar-catalog"},[m.createVNode(we,{name:"catalog"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Jd=n.value.toolbarTips)==null?void 0:Jd.catalog])]);case"github":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ka=n.value.toolbarTips)==null?void 0:ka.github,onClick:()=>{if(a!=null&&a.value)return!1;s5("https://github.com/imzbf/md-editor-v3")}},[m.createVNode(we,{name:"github"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(eh=n.value.toolbarTips)==null?void 0:eh.github])]);case"mermaid":return m.createVNode(Ta,{relative:`#${l}`,visible:u.mermaid,onChange:ge=>{u.mermaid=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.mermaid=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("flow")},role:"menuitem",tabindex:"0"},[(BO=n.value.mermaid)==null?void 0:BO.flow]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("sequence")},role:"menuitem",tabindex:"0"},[(yn=n.value.mermaid)==null?void 0:yn.sequence]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("gantt")},role:"menuitem",tabindex:"0"},[(nu=n.value.mermaid)==null?void 0:nu.gantt]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("class")},role:"menuitem",tabindex:"0"},[(th=n.value.mermaid)==null?void 0:th.class]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("state")},role:"menuitem",tabindex:"0"},[(ji=n.value.mermaid)==null?void 0:ji.state]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("pie")},role:"menuitem",tabindex:"0"},[(nh=n.value.mermaid)==null?void 0:nh.pie]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("relationship")},role:"menuitem",tabindex:"0"},[(iu=n.value.mermaid)==null?void 0:iu.relationship]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("journey")},role:"menuitem",tabindex:"0"},[(ru=n.value.mermaid)==null?void 0:ru.journey])]),key:"bar-mermaid"},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.mermaid},[m.createVNode(we,{name:"mermaid"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.mermaid])])]}});case"katex":return m.createVNode(Ta,{relative:`#${l}`,visible:u.katex,onChange:ge=>{u.katex=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.katex=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-katex`,onClick:()=>{c("katexInline")},role:"menuitem",tabindex:"0"},[(ih=n.value.katex)==null?void 0:ih.inline]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-katex`,onClick:()=>{c("katexBlock")},role:"menuitem",tabindex:"0"},[(Cr=n.value.katex)==null?void 0:Cr.block])]),key:"bar-katex"},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.katex},[m.createVNode(we,{name:"formula"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.katex])])]}})}else if(e.defToolbars instanceof Array){const ge=e.defToolbars[Q];return ge?m.cloneVNode(ge,{theme:((Ai=ge.props)==null?void 0:Ai.theme)||i.value,previewTheme:((jr=ge.props)==null?void 0:jr.theme)||r.value,language:((ou=ge.props)==null?void 0:ou.theme)||o.value,codeTheme:((dr=ge.props)==null?void 0:dr.codeTheme)||e.codeTheme,disabled:((rh=ge.props)==null?void 0:rh.disabled)||(a==null?void 0:a.value),showToolbarName:((au=ge.props)==null?void 0:au.showToolbarName)||e.showToolbarName,insert(lu){F.emit(t,je,"universal",{generate:lu})}}):""}else if(e.defToolbars&&e.defToolbars.children instanceof Array){const ge=e.defToolbars.children[Q];return ge?m.cloneVNode(ge,{theme:((xa=ge.props)==null?void 0:xa.theme)||i.value,previewTheme:((hi=ge.props)==null?void 0:hi.theme)||r.value,language:((va=ge.props)==null?void 0:va.theme)||o.value,codeTheme:((oh=ge.props)==null?void 0:oh.codeTheme)||e.codeTheme,disabled:((Ou=ge.props)==null?void 0:Ou.disabled)||(a==null?void 0:a.value),showToolbarName:((ah=ge.props)==null?void 0:ah.showToolbarName)||e.showToolbarName,insert(lu){F.emit(t,je,"universal",{generate:lu})}}):""}else return""};return m.watch(()=>e.toolbars,()=>{m.nextTick(()=>{s.value&&c5(s.value)})},{immediate:!0}),()=>{var k;const Q=p.value[0].map(y=>g(y)),S=p.value[1].map(y=>g(y));return m.createVNode(m.Fragment,null,[e.toolbars.length>0&&m.createVNode("div",{class:`${X}-toolbar-wrapper`,ref:s,id:l},[m.createVNode("div",{class:[`${X}-toolbar`,e.showToolbarName&&`${X}-stn`]},[m.createVNode("div",{class:`${X}-toolbar-left`,ref:d},[Q]),m.createVNode("div",{class:`${X}-toolbar-right`},[S])])]),m.createVNode("label",{for:`${l}_label`,style:{display:"none"},"aria-label":(k=n.value.imgTitleItem)==null?void 0:k.upload},null),m.createVNode("input",{id:`${l}_label`,ref:$,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),m.createVNode($q,{linkVisible:f.linkVisible,clipVisible:f.clipVisible,type:f.type,onCancel:()=>{f.linkVisible=!1,f.clipVisible=!1},onOk:y=>{y&&c(f.type,{desc:y.desc,url:y.url,transform:f.type==="image"}),f.linkVisible=!1,f.clipVisible=!1}},null)])}}}),yq=`.${X}-preview > [data-line]`,Xa=(e,t)=>+getComputedStyle(e).getPropertyValue(t).replace("px",""),Sq=(e,t)=>{const n=m0(()=>{e.removeEventListener("scroll",i),e.addEventListener("scroll",i),t.removeEventListener("scroll",i),t.addEventListener("scroll",i)},50),i=r=>{const o=e.clientHeight,a=t.clientHeight,O=e.scrollHeight,l=t.scrollHeight,s=(O-o)/(l-a);r.target===e?(t.removeEventListener("scroll",i),t.scrollTo({top:e.scrollTop/s}),n()):(e.removeEventListener("scroll",i),e.scrollTo({top:t.scrollTop*s}),n())};return[()=>{n().finally(()=>{e.dispatchEvent(new Event("scroll"))})},()=>{e.removeEventListener("scroll",i),t.removeEventListener("scroll",i)}]},Pq=(e,t,n)=>{const{view:i}=n,r=g0(),o=g=>i.lineBlockAt(i.state.doc.line(g+1).from).top,a=g=>i.lineBlockAt(i.state.doc.line(g+1).from).bottom;let O=[],l=[],s=[];const u=()=>{O=[],l=Array.from(t.querySelectorAll(yq)),s=l.map(y=>Number(y.dataset.line));const g=[...s],{lines:Q}=i.state.doc;let S=g.shift()||0,k=g.shift()||Q;for(let y=0;y<Q;y++)y===k&&(S=y,k=g.shift()||Q),O.push({start:S,end:k-1})},c=(g,Q)=>{let S=1;for(let k=l.length-1;k-1>=0;k--){const y=l[k],T=l[k-1];if(y.offsetTop+y.offsetHeight>Q&&T.offsetTop<Q){S=Number(T.dataset.line);break}}for(let k=O.length-1;k>=0;k--){const y=a(O[k].end),T=o(O[k].start);if(y>g&&T<=g){S=S<O[k].start?S:O[k].start;break}}return S};let f=0,d=0;const p=()=>{var G,D,I;if(d!==0)return!1;f++;const{scrollDOM:g,contentHeight:Q}=i;let S=Xa(t,"padding-top");const k=i.lineBlockAtHeight(g.scrollTop),{number:y}=i.state.doc.lineAt(k.from),T=O[y-1];if(!T)return!1;let x=1;const w=t.querySelector(`[data-line="${T.start}"]`)||((G=t.firstElementChild)==null?void 0:G.firstElementChild),v=t.querySelector(`[data-line="${T.end+1}"]`)||((D=t.lastElementChild)==null?void 0:D.lastElementChild),E=g.scrollHeight-g.clientHeight,V=t.scrollHeight-t.clientHeight;let q=o(T.start),Y=a(T.end),_=w.offsetTop,W=v.offsetTop-_;q===0&&(_=0,w===v?(S=0,Y=Q-g.offsetHeight,W=V):W=v.offsetTop),x=(g.scrollTop-q)/(Y-q);const U=v==((I=t.lastElementChild)==null?void 0:I.lastElementChild)?v.offsetTop+v.clientHeight:v.offsetTop;if(Y>=E||U>V){const N=c(E,V);q=o(N),x=(g.scrollTop-q)/(E-q);const ee=t.querySelector(`[data-line="${N}"]`);q>0&&ee&&(_=ee.offsetTop),W=V-_+Xa(t,"padding-top")}const Z=_-S+W*x;r(t,Z,()=>{f--})},$=()=>{var U,Z,G,D,I,N;if(f!==0)return;d++;const{scrollDOM:g}=i,Q=t.scrollTop,S=t.scrollHeight,k=g.scrollHeight-g.clientHeight,y=t.scrollHeight-t.clientHeight;let T=(U=t.firstElementChild)==null?void 0:U.firstElementChild,x=(Z=t.firstElementChild)==null?void 0:Z.lastElementChild;if(s.length>0){let ee=Math.ceil(s[s.length-1]*(Q/S)),Oe=s.findLastIndex(ze=>ze<=ee);Oe=Oe===-1?0:Oe,ee=s[Oe];for(let ze=Oe;ze>=0&&ze<s.length;)if(l[ze].offsetTop>Q){if(ze-1>=0){ze--;continue}ee=-1,Oe=ze;break}else{if(ze+1<s.length&&l[ze+1].offsetTop<Q){ze++;continue}ee=s[ze],Oe=ze;break}switch(Oe){case-1:{T=(G=t.firstElementChild)==null?void 0:G.firstElementChild,x=l[Oe];break}case s.length-1:{T=l[Oe],x=(D=t.firstElementChild)==null?void 0:D.lastElementChild;break}default:T=l[Oe],x=l[Oe+1===l.length?Oe:Oe+1]}}let w=T===((I=t.firstElementChild)==null?void 0:I.firstElementChild)?0:T.offsetTop-Xa(T,"margin-top"),v=x.offsetTop,E=0;const{start:V,end:q}=O[Number(T.dataset.line||0)];let Y=o(V);const _=o(q+1===i.state.doc.lines?q:q+1);let W=0;if(_>k||x.offsetTop+x.offsetHeight>y){const ee=c(k,y),Oe=t.querySelector(`[data-line="${ee}"]`);w=Oe?Oe.offsetTop-Xa(Oe,"margin-top"):w,Y=o(ee),E=(Q-w)/(y-w),W=k-Y}else T===((N=t.firstElementChild)==null?void 0:N.firstElementChild)?(T===x&&(v=x.offsetTop+x.offsetHeight+ +getComputedStyle(x).marginBottom.replace("px","")),W=_,E=Math.max(Q/v,0)):(E=Math.max((Q-w)/(v-w),0),W=_-Y);r(e,Y+W*E,()=>{d--})},b=g=>{var y;const{scrollDOM:Q,contentHeight:S}=i,k=Q.clientHeight;if(S<=k||t.firstElementChild.clientHeight<=t.clientHeight||i.state.doc.lines<=((y=O[O.length-1])==null?void 0:y.end))return!1;g.target===e?p():$()};return[()=>{u(),e.addEventListener("scroll",b),t.addEventListener("scroll",b),e.dispatchEvent(new Event("scroll"))},()=>{e.removeEventListener("scroll",b),t.removeEventListener("scroll",b)}]},kq={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},onActive:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},E0=m.defineComponent({props:kq,setup(e){const t=m.inject("scrollElementRef"),n=m.inject("roorNodeRef"),i=m.ref();return m.watch(()=>e.tocItem.active,r=>{r&&e.onActive(e.tocItem,i.value)}),m.onMounted(()=>{e.tocItem.active&&e.onActive(e.tocItem,i.value)}),()=>{const{tocItem:r,mdHeadingId:o,onClick:a,scrollElementOffsetTop:O}=e;return m.createVNode("div",{ref:i,class:[`${X}-catalog-link`,r.active&&`${X}-catalog-active`],onClick:l=>{if(l.stopPropagation(),a(l,r),l.defaultPrevented)return;const s=o(r.text,r.level,r.index),u=n.value.getElementById(s),c=t.value;if(u&&c){let f=u.offsetParent,d=u.offsetTop;if(c.contains(f))for(;f&&c!=f;)d+=f==null?void 0:f.offsetTop,f=f==null?void 0:f.offsetParent;const p=u.previousElementSibling;let $=0;p||($=Xa(u,"margin-top")),c==null||c.scrollTo({top:d-O-$,behavior:"smooth"})}}},[m.createVNode("span",{title:r.text},[r.text]),r.children&&r.children.length>0&&m.createVNode("div",{class:`${X}-catalog-wrapper`},[r.children.map(l=>m.createVNode(E0,{mdHeadingId:o,key:`${r.text}-link-${l.level}-${l.text}`,tocItem:l,onActive:e.onActive,onClick:a,scrollElementOffsetTop:O},null))])])}}}),xq={editorId:{type:String,default:void 0},class:{type:String,default:""},mdHeadingId:{type:Function,default:e=>e},scrollElement:{type:[String,Object],default:void 0},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function,default:void 0},onActive:{type:Function,default:void 0},isScrollElementInShadow:{type:Boolean,default:!1},syncWith:{type:String,default:"preview"},catalogMaxDepth:{type:Number,default:void 0}},_a=m.defineComponent({name:"MdCatalog",props:xq,emits:["onClick","onActive"],setup(e,t){const n=e.editorId,i=`#${n}-preview-wrapper`,r=m.reactive({list:[],show:!1,scrollElement:e.scrollElement||i}),o=m.shallowRef(),a=m.ref(),O=m.ref(),l=m.ref(),s=m.ref(),u=m.shallowRef(),c=m.ref({});m.provide("scrollElementRef",O),m.provide("roorNodeRef",s);const f=m.computed(()=>{const S=[];return r.list.forEach((k,y)=>{if(e.catalogMaxDepth&&k.level>e.catalogMaxDepth)return;const{text:T,level:x,line:w}=k,v={level:x,text:T,line:w,index:y+1,active:o.value===k};if(S.length===0)S.push(v);else{let E=S[S.length-1];if(v.level>E.level)for(let V=E.level+1;V<=6;V++){const{children:q}=E;if(!q){E.children=[v];break}if(E=q[q.length-1],v.level<=E.level){q.push(v);break}}else S.push(v)}}),S}),d=()=>{var k;if(r.scrollElement instanceof HTMLElement)return r.scrollElement;let S=document;return(r.scrollElement===i||e.isScrollElementInShadow)&&(S=(k=a.value)==null?void 0:k.getRootNode()),S.querySelector(r.scrollElement)},p=S=>{if(S.length===0)return o.value=void 0,r.list=[],!1;const{activeHead:k}=S.reduce((y,T,x)=>{var v;let w=0;if(e.syncWith==="preview"){const E=(v=s.value)==null?void 0:v.getElementById(e.mdHeadingId(T.text,T.level,x+1));E instanceof HTMLElement&&(w=fq(E,O.value))}else{const E=u.value;if(E){const V=E.lineBlockAt(E.state.doc.line(T.line+1).from).top,q=E.scrollDOM.scrollTop;w=V-q}}return w<e.offsetTop&&w>y.minTop?{activeHead:T,minTop:w}:y},{activeHead:S[0],minTop:Number.MIN_SAFE_INTEGER});o.value=k,r.list=S},$=(S,k)=>{var y;c.value.top=k.offsetTop+Xa(k,"padding-top")+"px",(y=e.onActive)==null||y.call(e,S,k),t.emit("onActive",S,k)},b=()=>{p(r.list)},g=S=>{var k,y,T;if((k=l.value)==null||k.removeEventListener("scroll",b),e.syncWith==="editor")l.value=(y=u.value)==null?void 0:y.scrollDOM;else{const x=d();O.value=x,l.value=x===document.documentElement?document:x}p(S),(T=l.value)==null||T.addEventListener("scroll",b)},Q=S=>{u.value=S};return m.watch([()=>e.syncWith,u,()=>e.catalogMaxDepth],()=>{g(r.list)}),m.onMounted(()=>{s.value=a.value.getRootNode(),F.on(n,{name:KO,callback:g}),F.on(n,{name:mu,callback:Q}),F.emit(n,X0),F.emit(n,z0)}),m.onBeforeUnmount(()=>{var S;F.remove(n,KO,g),F.remove(n,mu,Q),(S=l.value)==null||S.removeEventListener("scroll",b)}),()=>m.createVNode("div",{class:[`${X}-catalog`,e.theme==="dark"&&`${X}-catalog-dark`,e.class||""],ref:a},[f.value.length>0&&m.createVNode(m.Fragment,null,[m.createVNode("div",{class:`${X}-catalog-indicator`,style:c.value},null),m.createVNode("div",{class:`${X}-catalog-container`},[f.value.map(S=>m.createVNode(E0,{mdHeadingId:e.mdHeadingId,tocItem:S,key:`link-${S.level}-${S.text}`,onActive:$,onClick:(k,y)=>{var T;(T=e.onClick)==null||T.call(e,k,y),t.emit("onClick",k,y)},scrollElementOffsetTop:e.scrollElementOffsetTop},null))])])])}});_a.install=e=>(e.component(_a.name,_a),e);const vq=(e,t,n)=>{const i=m.inject("editorId");let r=()=>{},o=()=>{};const a=()=>{var c;r();const O=(c=n.value)==null?void 0:c.view.contentDOM.getRootNode(),l=O.querySelector(`#${i} .cm-scroller`),s=O.querySelector(`[id="${i}-preview-wrapper"]`),u=O.querySelector(`[id="${i}-html-wrapper"]`);(s||u)&&([o,r]=(s?Pq:Sq)(l,s||u,n.value),e.scrollAuto&&o())};m.watch([t,m.toRef(e.setting,"preview"),m.toRef(e.setting,"htmlPreview"),m.toRef(e.setting,"fullscreen"),m.toRef(e.setting,"pageFullscreen")],()=>{m.nextTick(a)}),m.watch(()=>e.scrollAuto,O=>{O?o():r()}),m.watch(()=>e.setting.previewOnly,O=>{O?r():o()}),m.onMounted(a)};let $h=[],V0=[];(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?V0:$h).push(n=n+e[t])})();function wq(e){if(e<768)return!1;for(let t=0,n=$h.length;;){let i=t+n>>1;if(e<$h[i])n=i;else if(e>=V0[i])t=i+1;else return!0;if(t==n)return!1}}function Z0(e){return e>=127462&&e<=127487}const C0=8205;function Tq(e,t,n=!0,i=!0){return(n?j0:Xq)(e,t,i)}function j0(e,t,n){if(t==e.length)return t;t&&A0(e.charCodeAt(t))&&G0(e.charCodeAt(t-1))&&t--;let i=bh(e,t);for(t+=I0(i);t<e.length;){let r=bh(e,t);if(i==C0||r==C0||n&&wq(r))t+=I0(r),i=r;else if(Z0(r)){let o=0,a=t-2;for(;a>=0&&Z0(bh(e,a));)o++,a-=2;if(o%2==0)break;t+=2}else break}return t}function Xq(e,t,n){for(;t>0;){let i=j0(e,t-2,n);if(i<t)return i;t--}return 0}function bh(e,t){let n=e.charCodeAt(t);if(!G0(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return A0(i)?(n-55296<<10)+(i-56320)+65536:n}function A0(e){return e>=56320&&e<57344}function G0(e){return e>=55296&&e<56320}function I0(e){return e<65536?1:2}let Ue=class o5{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,n,i){[t,n]=Ra(this,t,n);let r=[];return this.decompose(0,t,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(n,this.length,r,1),Gi.from(r,this.length-(n-t)+i.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,n=this.length){[t,n]=Ra(this,t,n);let i=[];return this.decompose(t,n,i,0),Gi.from(i,n-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let n=this.scanIdentical(t,1),i=this.length-this.scanIdentical(t,-1),r=new el(this),o=new el(t);for(let a=n,O=n;;){if(r.next(a),o.next(a),a=0,r.lineBreak!=o.lineBreak||r.done!=o.done||r.value!=o.value)return!1;if(O+=r.value.length,r.done||O>=i)return!0}}iter(t=1){return new el(this,t)}iterRange(t,n=this.length){return new L0(this,t,n)}iterLines(t,n){let i;if(t==null)i=this.iter();else{n==null&&(n=this.lines+1);let r=this.line(t).from;i=this.iterRange(r,Math.max(r,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new N0(i)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?o5.empty:t.length<=32?new ht(t):Gi.from(ht.split(t,[]))}};class ht extends Ue{constructor(t,n=_q(t)){super(),this.text=t,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(t,n,i,r){for(let o=0;;o++){let a=this.text[o],O=r+a.length;if((n?i:O)>=t)return new Rq(r,O,i,a);r=O+1,i++}}decompose(t,n,i,r){let o=t<=0&&n>=this.length?this:new ht(D0(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(r&1){let a=i.pop(),O=Qu(o.text,a.text.slice(),0,o.length);if(O.length<=32)i.push(new ht(O,a.length+o.length));else{let l=O.length>>1;i.push(new ht(O.slice(0,l)),new ht(O.slice(l)))}}else i.push(o)}replace(t,n,i){if(!(i instanceof ht))return super.replace(t,n,i);[t,n]=Ra(this,t,n);let r=Qu(this.text,Qu(i.text,D0(this.text,0,t)),n),o=this.length+i.length-(n-t);return r.length<=32?new ht(r,o):Gi.from(ht.split(r,[]),o)}sliceString(t,n=this.length,i=`
|
|
182
|
+
`),i=['<span rn-wrapper aria-hidden="true">'];return n.forEach(()=>{i.push("<span></span>")}),i.push("</span>"),`<span class="${X}-code-block">${e}</span>${i.join("")}`},fq=(e,t)=>{if(!e||!t)return 0;const n=e==null?void 0:e.getBoundingClientRect();if(t===document.documentElement)return n.top-t.clientTop;const i=t==null?void 0:t.getBoundingClientRect();return n.top-i.top},U0=(()=>{let e=0;return()=>++e})(),dq={title:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String,default:void 0},style:{type:[Object,String],default:()=>({})},showMask:{type:Boolean,default:!0}},Xo=m.defineComponent({name:"MdModal",props:dq,emits:["onClose"],setup(e,t){const n=m.inject("theme"),i=m.inject("rootRef"),r=m.ref(e.visible),o=m.ref([`${X}-modal`]),a=m.ref(),O=m.ref(),l=m.ref(),s=m.shallowRef();let u=()=>{};const c=m.reactive({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),f=m.computed(()=>e.isFullscreen?{width:"100%",height:"100%"}:{width:e.width,height:e.height});m.watch(()=>e.isFullscreen,$=>{$?u():m.nextTick(()=>{u=q0(O.value,(b,g)=>{c.initPos.left=b+"px",c.initPos.top=g+"px"})})}),m.watch(()=>e.visible,$=>{$?(c.maskStyle.zIndex=dt.editorConfig.zIndex+U0(),c.modalStyle.zIndex=dt.editorConfig.zIndex+U0(),o.value.push("zoom-in"),r.value=$,m.nextTick(()=>{const b=a.value.offsetWidth/2,g=a.value.offsetHeight/2,Q=document.documentElement.clientWidth/2,S=document.documentElement.clientHeight/2;c.initPos.left=Q-b+"px",c.initPos.top=S-g+"px",e.isFullscreen||(u=q0(O.value,(k,y)=>{c.initPos.left=k+"px",c.initPos.top=y+"px"}))}),setTimeout(()=>{o.value=o.value.filter(b=>b!=="zoom-in")},140)):(o.value.push("zoom-out"),u(),setTimeout(()=>{o.value=o.value.filter(b=>b!=="zoom-out"),r.value=$},130))});const d=m.computed(()=>({display:r.value?"block":"none"})),p=m.computed(()=>typeof e.style=="string"?[e.style,d.value].join("; "):e.style instanceof Object?{...d.value,...e.style}:d.value);return m.onMounted(()=>{var b;const $=(b=i.value)==null?void 0:b.getRootNode();l.value=$ instanceof Document?document.body:$}),()=>{const $=tn({ctx:t}),b=tn({props:e,ctx:t},"title");return l.value?m.createVNode(m.Teleport,{to:l.value},{default:()=>[m.createVNode("div",{ref:s,class:`${X}-modal-container`,"data-theme":n.value},[m.createVNode("div",{class:e.class,style:p.value},[e.showMask&&m.createVNode("div",{class:`${X}-modal-mask`,style:c.maskStyle,onClick:()=>{var g;(g=e.onClose)==null||g.call(e),t.emit("onClose")}},null),m.createVNode("div",{class:o.value,style:{...c.modalStyle,...c.initPos,...f.value},ref:a},[m.createVNode("div",{class:`${X}-modal-header`,ref:O},[b||""]),m.createVNode("div",{class:`${X}-modal-body`},[$]),m.createVNode("div",{class:`${X}-modal-func`},[e.showAdjust&&m.createVNode("div",{class:`${X}-modal-adjust`,onClick:g=>{g.stopPropagation(),e.isFullscreen?c.initPos=c.historyPos:(c.historyPos=c.initPos,c.initPos={left:"0",top:"0"}),e.onAdjust(!e.isFullscreen)}},[m.createVNode(we,{name:e.isFullscreen?"minimize":"maximize"},null)]),m.createVNode("div",{class:`${X}-modal-close`,onClick:g=>{var Q;g.stopPropagation(),(Q=e.onClose)==null||Q.call(e),t.emit("onClose")}},[m.createVNode(we,{name:"close"},null)])])])])])]}):""}}});Xo.install=e=>(e.component(Xo.name,Xo),e);const hq={type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},pq=m.defineComponent({name:`${X}-modal-link`,props:hq,setup(e){const t=m.inject("usedLanguageText"),n=m.inject("editorId"),i=m.computed(()=>{var o,a;switch(e.type){case"link":return(o=t.value.linkModalTips)==null?void 0:o.linkTitle;case"image":return(a=t.value.linkModalTips)==null?void 0:a.imageTitle;default:return""}}),r=m.reactive({desc:"",url:""});return m.watch(()=>e.visible,o=>{o||setTimeout(()=>{r.desc="",r.url=""},200)}),()=>m.createVNode(Xo,{title:i.value,visible:e.visible,onClose:e.onCancel},{default:()=>{var o,a,O,l,s;return[m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("label",{class:`${X}-label`,for:`link-desc-${n}`},[(o=t.value.linkModalTips)==null?void 0:o.descLabel]),m.createVNode("input",{placeholder:(a=t.value.linkModalTips)==null?void 0:a.descLabelPlaceHolder,class:`${X}-input`,id:`link-desc-${n}`,type:"text",value:r.desc,onChange:u=>{r.desc=u.target.value},autocomplete:"off"},null)]),m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("label",{class:`${X}-label`,for:`link-url-${n}`},[(O=t.value.linkModalTips)==null?void 0:O.urlLabel]),m.createVNode("input",{placeholder:(l=t.value.linkModalTips)==null?void 0:l.urlLabelPlaceHolder,class:`${X}-input`,id:`link-url-${n}`,type:"text",value:r.url,onChange:u=>{r.url=u.target.value},autocomplete:"off"},null)]),m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("button",{class:[`${X}-btn`,`${X}-btn-row`],type:"button",onClick:()=>{e.onOk(r),r.desc="",r.url=""}},[(s=t.value.linkModalTips)==null?void 0:s.buttonOK])])]}})}}),mq={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},gq=m.defineComponent({name:`${X}-modal-clip`,props:mq,setup(e){const t=m.inject("usedLanguageText"),n=m.inject("editorId"),i=m.inject("rootRef");let r=dt.editorExtensions.cropper.instance;const o=m.ref(),a=m.ref(),O=m.ref(),l=m.reactive({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let s=null;m.watch(()=>e.visible,()=>{e.visible&&!l.cropperInited&&(r=r||window.Cropper,o.value.onchange=()=>{if(!r){F.emit(n,Ar,{name:"Cropper",message:"Cropper is undefined"});return}const c=o.value.files||[];if(l.imgSelected=!0,(c==null?void 0:c.length)>0){const f=new FileReader;f.onload=d=>{l.imgSrc=d.target.result},f.readAsDataURL(c[0])}})}),m.watch(()=>[l.imgSelected],()=>{O.value.style=""}),m.watch([m.toRef(()=>l.isFullscreen),m.toRef(()=>l.imgSrc)],()=>{l.imgSrc&&m.nextTick(()=>{s==null||s.destroy(),O.value.style="",a.value&&(s=new r(a.value,{viewMode:2,preview:i.value.getRootNode().querySelector(`.${X}-clip-preview-target`)}))})});const u=()=>{s.clear(),s.destroy(),s=null,o.value.value="",l.imgSelected=!1,l.imgSrc=""};return()=>{var c;return m.createVNode(Xo,{class:`${X}-modal-clip`,title:(c=t.value.clipModalTips)==null?void 0:c.title,visible:e.visible,onClose:e.onCancel,showAdjust:!0,isFullscreen:l.isFullscreen,onAdjust:f=>{l.isFullscreen=f},width:"668px",height:"421px"},{default:()=>{var f,d,p;return[m.createVNode("div",{class:`${X}-form-item ${X}-clip`},[m.createVNode("div",{class:`${X}-clip-main`},[l.imgSelected?m.createVNode("div",{class:`${X}-clip-cropper`},[m.createVNode("img",{src:l.imgSrc,ref:a,style:{display:"none"},alt:""},null),m.createVNode("div",{class:`${X}-clip-delete`,onClick:u},[m.createVNode(we,{name:"delete"},null)])]):m.createVNode("div",{class:`${X}-clip-upload`,onClick:()=>{o.value.click()},role:"button",tabindex:"0","aria-label":(f=t.value.imgTitleItem)==null?void 0:f.upload},[m.createVNode(we,{name:"upload"},null)])]),m.createVNode("div",{class:`${X}-clip-preview`},[m.createVNode("div",{class:`${X}-clip-preview-target`,ref:O},null)])]),m.createVNode("div",{class:`${X}-form-item`},[m.createVNode("button",{class:`${X}-btn`,type:"button",onClick:()=>{if(s){const $=s.getCroppedCanvas();F.emit(n,pu,[uq($.toDataURL("image/png"))],e.onOk),u()}}},[((d=t.value.clipModalTips)==null?void 0:d.buttonUpload)||((p=t.value.linkModalTips)==null?void 0:p.buttonOK)])]),m.createVNode("input",{ref:o,accept:"image/*",type:"file",multiple:!1,style:{display:"none"},"aria-hidden":"true"},null)]}})}}}),Qq={type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},$q=m.defineComponent({name:`${X}-modals`,props:Qq,setup(e){return()=>m.createVNode(m.Fragment,null,[m.createVNode(pq,{type:e.type,visible:e.linkVisible,onOk:e.onOk,onCancel:e.onCancel},null),m.createVNode(gq,{visible:e.clipVisible,onOk:e.onOk,onCancel:e.onCancel},null)])}}),bq=m.defineComponent({name:"MDEditorToolbar",props:S5,setup(e){const t=m.inject("editorId"),n=m.inject("usedLanguageText"),i=m.inject("theme"),r=m.inject("previewTheme"),o=m.inject("language"),a=m.inject("disabled"),{fullscreenHandler:O}=v5(e),l=`${t}-toolbar-wrapper`,s=m.ref(),u=m.reactive({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),c=(Q,S)=>{if(a!=null&&a.value)return!1;F.emit(t,je,Q,S)},f=m.reactive({type:"link",linkVisible:!1,clipVisible:!1}),d=m.ref();m.onMounted(()=>{F.on(t,{name:gh,callback(Q){f.type=Q,f.linkVisible=!0}})});const p=m.computed(()=>{const Q=e.toolbars.filter(T=>!e.toolbarsExclude.includes(T)),S=Q.indexOf("="),k=S===-1?Q:Q.slice(0,S+1),y=S===-1?[]:Q.slice(S,Number.MAX_SAFE_INTEGER);return[k,y]}),$=m.ref(),b=()=>{F.emit(t,pu,Array.from($.value.files||[])),$.value.value=""};m.onMounted(()=>{$.value.addEventListener("change",b)});const g=Q=>{var S,k,y,T,x,w,v,E,V,q,Y,_,W,U,Z,G,D,I,N,ee,Oe,ze,M,ue,xe,De,kt,fi,An,Ci,IO,ba,Vr,DO,LO,ya,Ld,Nd,Sa,Md,fr,xt,ko,Pa,Zr,Fd,tu,Bd,Ze,Hd,NO,xo,MO,Kd,FO,di,Jd,ka,eh,BO,yn,nu,th,ji,nh,iu,ru,ih,Cr,Ai,jr,ou,dr,rh,au,xa,hi,va,oh,Ou,ah;if(hh.includes(Q))switch(Q){case"-":return m.createVNode($5,null,null);case"bold":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(S=n.value.toolbarTips)==null?void 0:S.bold,onClick:()=>{c("bold")}},[m.createVNode(we,{name:"bold"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(k=n.value.toolbarTips)==null?void 0:k.bold])]);case"underline":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(y=n.value.toolbarTips)==null?void 0:y.underline,onClick:()=>{c("underline")}},[m.createVNode(we,{name:"underline"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(T=n.value.toolbarTips)==null?void 0:T.underline])]);case"italic":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(x=n.value.toolbarTips)==null?void 0:x.italic,onClick:()=>{c("italic")}},[m.createVNode(we,{name:"italic"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(w=n.value.toolbarTips)==null?void 0:w.italic])]);case"strikeThrough":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(v=n.value.toolbarTips)==null?void 0:v.strikeThrough,onClick:()=>{c("strikeThrough")}},[m.createVNode(we,{name:"strike-through"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(E=n.value.toolbarTips)==null?void 0:E.strikeThrough])]);case"title":return m.createVNode(Ta,{relative:`#${l}`,visible:u.title,onChange:ge=>{u.title=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.title=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h1")},role:"menuitem",tabindex:"0"},[(V=n.value.titleItem)==null?void 0:V.h1]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h2")},role:"menuitem",tabindex:"0"},[(q=n.value.titleItem)==null?void 0:q.h2]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h3")},role:"menuitem",tabindex:"0"},[(Y=n.value.titleItem)==null?void 0:Y.h3]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h4")},role:"menuitem",tabindex:"0"},[(_=n.value.titleItem)==null?void 0:_.h4]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h5")},role:"menuitem",tabindex:"0"},[(W=n.value.titleItem)==null?void 0:W.h5]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-title`,onClick:()=>{c("h6")},role:"menuitem",tabindex:"0"},[(U=n.value.titleItem)==null?void 0:U.h6])])},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.title},[m.createVNode(we,{name:"title"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.title])])]}});case"sub":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Z=n.value.toolbarTips)==null?void 0:Z.sub,onClick:()=>{c("sub")}},[m.createVNode(we,{name:"sub"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(G=n.value.toolbarTips)==null?void 0:G.sub])]);case"sup":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(D=n.value.toolbarTips)==null?void 0:D.sup,onClick:()=>{c("sup")}},[m.createVNode(we,{name:"sup"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(I=n.value.toolbarTips)==null?void 0:I.sup])]);case"quote":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(N=n.value.toolbarTips)==null?void 0:N.quote,onClick:()=>{c("quote")}},[m.createVNode(we,{name:"quote"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ee=n.value.toolbarTips)==null?void 0:ee.quote])]);case"unorderedList":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Oe=n.value.toolbarTips)==null?void 0:Oe.unorderedList,onClick:()=>{c("unorderedList")}},[m.createVNode(we,{name:"unordered-list"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ze=n.value.toolbarTips)==null?void 0:ze.unorderedList])]);case"orderedList":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(M=n.value.toolbarTips)==null?void 0:M.orderedList,onClick:()=>{c("orderedList")}},[m.createVNode(we,{name:"ordered-list"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ue=n.value.toolbarTips)==null?void 0:ue.orderedList])]);case"task":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(xe=n.value.toolbarTips)==null?void 0:xe.task,onClick:()=>{c("task")}},[m.createVNode(we,{name:"task"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(De=n.value.toolbarTips)==null?void 0:De.task])]);case"codeRow":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(kt=n.value.toolbarTips)==null?void 0:kt.codeRow,onClick:()=>{c("codeRow")}},[m.createVNode(we,{name:"code-row"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(fi=n.value.toolbarTips)==null?void 0:fi.codeRow])]);case"code":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(An=n.value.toolbarTips)==null?void 0:An.code,onClick:()=>{c("code")}},[m.createVNode(we,{name:"code"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Ci=n.value.toolbarTips)==null?void 0:Ci.code])]);case"link":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(IO=n.value.toolbarTips)==null?void 0:IO.link,onClick:()=>{if(a!=null&&a.value)return!1;e.insertLinkDirect?c("link"):(f.type="link",f.linkVisible=!0)}},[m.createVNode(we,{name:"link"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ba=n.value.toolbarTips)==null?void 0:ba.link])]);case"image":return e.noUploadImg?m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Vr=n.value.toolbarTips)==null?void 0:Vr.image,onClick:()=>{if(a!=null&&a.value)return!1;e.insertLinkDirect?c("image"):(f.type="image",f.linkVisible=!0)}},[m.createVNode(we,{name:"image"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(DO=n.value.toolbarTips)==null?void 0:DO.image])]):m.createVNode(Ta,{relative:`#${l}`,visible:u.image,onChange:ge=>{u.image=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.image=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-image`,onClick:()=>{e.insertLinkDirect?c("image"):(f.type="image",f.linkVisible=!0)},role:"menuitem",tabindex:"0"},[(LO=n.value.imgTitleItem)==null?void 0:LO.link]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-image`,onClick:()=>{$.value.click()},role:"menuitem",tabindex:"0"},[(ya=n.value.imgTitleItem)==null?void 0:ya.upload]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-image`,onClick:()=>{f.clipVisible=!0},role:"menuitem",tabindex:"0"},[(Ld=n.value.imgTitleItem)==null?void 0:Ld.clip2upload])])},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.image},[m.createVNode(we,{name:"image"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.image])])]}});case"table":return m.createVNode(Ta,{relative:`#${l}`,visible:u.table,onChange:ge=>{u.table=ge},disabled:a==null?void 0:a.value,key:"bar-table",overlay:m.createVNode(T5,{tableShape:e.tableShape,onSelected:ge=>{c("table",{selectedShape:ge})}},null)},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.table},[m.createVNode(we,{name:"table"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.table])])]}});case"revoke":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Nd=n.value.toolbarTips)==null?void 0:Nd.revoke,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,w0)}},[m.createVNode(we,{name:"revoke"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Sa=n.value.toolbarTips)==null?void 0:Sa.revoke])]);case"next":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Md=n.value.toolbarTips)==null?void 0:Md.next,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,T0)}},[m.createVNode(we,{name:"next"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(fr=n.value.toolbarTips)==null?void 0:fr.next])]);case"save":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(xt=n.value.toolbarTips)==null?void 0:xt.save,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,du)}},[m.createVNode(we,{name:"save"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(ko=n.value.toolbarTips)==null?void 0:ko.save])]);case"prettier":return e.noPrettier?"":m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Pa=n.value.toolbarTips)==null?void 0:Pa.prettier,onClick:()=>{c("prettier")}},[m.createVNode(we,{name:"prettier"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Zr=n.value.toolbarTips)==null?void 0:Zr.prettier])]);case"pageFullscreen":return!e.setting.fullscreen&&m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.pageFullscreen&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Fd=n.value.toolbarTips)==null?void 0:Fd.pageFullscreen,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("pageFullscreen")}},[m.createVNode(we,{name:e.setting.pageFullscreen?"minimize":"maximize"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(tu=n.value.toolbarTips)==null?void 0:tu.pageFullscreen])]);case"fullscreen":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.fullscreen&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Bd=n.value.toolbarTips)==null?void 0:Bd.fullscreen,onClick:()=>{if(a!=null&&a.value)return!1;O()}},[m.createVNode(we,{name:e.setting.fullscreen?"fullscreen-exit":"fullscreen"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Ze=n.value.toolbarTips)==null?void 0:Ze.fullscreen])]);case"preview":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.preview&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Hd=n.value.toolbarTips)==null?void 0:Hd.preview,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("preview")}},[m.createVNode(we,{name:"preview"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(NO=n.value.toolbarTips)==null?void 0:NO.preview])]);case"previewOnly":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.previewOnly&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(xo=n.value.toolbarTips)==null?void 0:xo.previewOnly,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("previewOnly")}},[m.createVNode(we,{name:"preview-only"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(MO=n.value.toolbarTips)==null?void 0:MO.previewOnly])]);case"htmlPreview":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.setting.htmlPreview&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(Kd=n.value.toolbarTips)==null?void 0:Kd.htmlPreview,onClick:()=>{if(a!=null&&a.value)return!1;e.updateSetting("htmlPreview")}},[m.createVNode(we,{name:"preview-html"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(FO=n.value.toolbarTips)==null?void 0:FO.htmlPreview])]);case"catalog":return m.createVNode("div",{class:[`${X}-toolbar-item`,e.catalogVisible&&`${X}-toolbar-active`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(di=n.value.toolbarTips)==null?void 0:di.catalog,onClick:()=>{if(a!=null&&a.value)return!1;F.emit(t,mh)},key:"bar-catalog"},[m.createVNode(we,{name:"catalog"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Jd=n.value.toolbarTips)==null?void 0:Jd.catalog])]);case"github":return m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ka=n.value.toolbarTips)==null?void 0:ka.github,onClick:()=>{if(a!=null&&a.value)return!1;s5("https://github.com/imzbf/md-editor-v3")}},[m.createVNode(we,{name:"github"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(eh=n.value.toolbarTips)==null?void 0:eh.github])]);case"mermaid":return m.createVNode(Ta,{relative:`#${l}`,visible:u.mermaid,onChange:ge=>{u.mermaid=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.mermaid=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("flow")},role:"menuitem",tabindex:"0"},[(BO=n.value.mermaid)==null?void 0:BO.flow]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("sequence")},role:"menuitem",tabindex:"0"},[(yn=n.value.mermaid)==null?void 0:yn.sequence]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("gantt")},role:"menuitem",tabindex:"0"},[(nu=n.value.mermaid)==null?void 0:nu.gantt]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("class")},role:"menuitem",tabindex:"0"},[(th=n.value.mermaid)==null?void 0:th.class]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("state")},role:"menuitem",tabindex:"0"},[(ji=n.value.mermaid)==null?void 0:ji.state]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("pie")},role:"menuitem",tabindex:"0"},[(nh=n.value.mermaid)==null?void 0:nh.pie]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("relationship")},role:"menuitem",tabindex:"0"},[(iu=n.value.mermaid)==null?void 0:iu.relationship]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-mermaid`,onClick:()=>{c("journey")},role:"menuitem",tabindex:"0"},[(ru=n.value.mermaid)==null?void 0:ru.journey])]),key:"bar-mermaid"},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.mermaid},[m.createVNode(we,{name:"mermaid"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.mermaid])])]}});case"katex":return m.createVNode(Ta,{relative:`#${l}`,visible:u.katex,onChange:ge=>{u.katex=ge},disabled:a==null?void 0:a.value,overlay:m.createVNode("ul",{class:`${X}-menu`,onClick:()=>{u.katex=!1},role:"menu"},[m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-katex`,onClick:()=>{c("katexInline")},role:"menuitem",tabindex:"0"},[(ih=n.value.katex)==null?void 0:ih.inline]),m.createVNode("li",{class:`${X}-menu-item ${X}-menu-item-katex`,onClick:()=>{c("katexBlock")},role:"menuitem",tabindex:"0"},[(Cr=n.value.katex)==null?void 0:Cr.block])]),key:"bar-katex"},{default:()=>{var ge,Rt;return[m.createVNode("div",{class:[`${X}-toolbar-item`,(a==null?void 0:a.value)&&`${X}-disabled`],title:(ge=n.value.toolbarTips)==null?void 0:ge.katex},[m.createVNode(we,{name:"formula"},null),e.showToolbarName&&m.createVNode("div",{class:`${X}-toolbar-item-name`},[(Rt=n.value.toolbarTips)==null?void 0:Rt.katex])])]}})}else if(e.defToolbars instanceof Array){const ge=e.defToolbars[Q];return ge?m.cloneVNode(ge,{theme:((Ai=ge.props)==null?void 0:Ai.theme)||i.value,previewTheme:((jr=ge.props)==null?void 0:jr.theme)||r.value,language:((ou=ge.props)==null?void 0:ou.theme)||o.value,codeTheme:((dr=ge.props)==null?void 0:dr.codeTheme)||e.codeTheme,disabled:((rh=ge.props)==null?void 0:rh.disabled)||(a==null?void 0:a.value),showToolbarName:((au=ge.props)==null?void 0:au.showToolbarName)||e.showToolbarName,insert(lu){F.emit(t,je,"universal",{generate:lu})}}):""}else if(e.defToolbars&&e.defToolbars.children instanceof Array){const ge=e.defToolbars.children[Q];return ge?m.cloneVNode(ge,{theme:((xa=ge.props)==null?void 0:xa.theme)||i.value,previewTheme:((hi=ge.props)==null?void 0:hi.theme)||r.value,language:((va=ge.props)==null?void 0:va.theme)||o.value,codeTheme:((oh=ge.props)==null?void 0:oh.codeTheme)||e.codeTheme,disabled:((Ou=ge.props)==null?void 0:Ou.disabled)||(a==null?void 0:a.value),showToolbarName:((ah=ge.props)==null?void 0:ah.showToolbarName)||e.showToolbarName,insert(lu){F.emit(t,je,"universal",{generate:lu})}}):""}else return""};return m.watch(()=>e.toolbars,()=>{m.nextTick(()=>{s.value&&c5(s.value)})},{immediate:!0}),()=>{var k;const Q=p.value[0].map(y=>g(y)),S=p.value[1].map(y=>g(y));return m.createVNode(m.Fragment,null,[e.toolbars.length>0&&m.createVNode("div",{class:`${X}-toolbar-wrapper`,ref:s,id:l},[m.createVNode("div",{class:[`${X}-toolbar`,e.showToolbarName&&`${X}-stn`]},[m.createVNode("div",{class:`${X}-toolbar-left`,ref:d},[Q]),m.createVNode("div",{class:`${X}-toolbar-right`},[S])])]),m.createVNode("label",{for:`${l}_label`,style:{display:"none"},"aria-label":(k=n.value.imgTitleItem)==null?void 0:k.upload},null),m.createVNode("input",{id:`${l}_label`,ref:$,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),m.createVNode($q,{linkVisible:f.linkVisible,clipVisible:f.clipVisible,type:f.type,onCancel:()=>{f.linkVisible=!1,f.clipVisible=!1},onOk:y=>{y&&c(f.type,{desc:y.desc,url:y.url,transform:f.type==="image"}),f.linkVisible=!1,f.clipVisible=!1}},null)])}}}),yq=`.${X}-preview > [data-line]`,Xa=(e,t)=>+getComputedStyle(e).getPropertyValue(t).replace("px",""),Sq=(e,t)=>{const n=m0(()=>{e.removeEventListener("scroll",i),e.addEventListener("scroll",i),t.removeEventListener("scroll",i),t.addEventListener("scroll",i)},50),i=r=>{const o=e.clientHeight,a=t.clientHeight,O=e.scrollHeight,l=t.scrollHeight,s=(O-o)/(l-a);r.target===e?(t.removeEventListener("scroll",i),t.scrollTo({top:e.scrollTop/s}),n()):(e.removeEventListener("scroll",i),e.scrollTo({top:t.scrollTop*s}),n())};return[()=>{n().finally(()=>{e.dispatchEvent(new Event("scroll"))})},()=>{e.removeEventListener("scroll",i),t.removeEventListener("scroll",i)}]},Pq=(e,t,n)=>{const{view:i}=n,r=g0(),o=g=>i.lineBlockAt(i.state.doc.line(g+1).from).top,a=g=>i.lineBlockAt(i.state.doc.line(g+1).from).bottom;let O=[],l=[],s=[];const u=()=>{O=[],l=Array.from(t.querySelectorAll(yq)),s=l.map(y=>Number(y.dataset.line));const g=[...s],{lines:Q}=i.state.doc;let S=g.shift()||0,k=g.shift()||Q;for(let y=0;y<Q;y++)y===k&&(S=y,k=g.shift()||Q),O.push({start:S,end:k-1})},c=(g,Q)=>{let S=1;for(let k=l.length-1;k-1>=0;k--){const y=l[k],T=l[k-1];if(y.offsetTop+y.offsetHeight>Q&&T.offsetTop<Q){S=Number(T.dataset.line);break}}for(let k=O.length-1;k>=0;k--){const y=a(O[k].end),T=o(O[k].start);if(y>g&&T<=g){S=S<O[k].start?S:O[k].start;break}}return S};let f=0,d=0;const p=()=>{var G,D,I;if(d!==0)return!1;f++;const{scrollDOM:g,contentHeight:Q}=i;let S=Xa(t,"padding-top");const k=i.lineBlockAtHeight(g.scrollTop),{number:y}=i.state.doc.lineAt(k.from),T=O[y-1];if(!T)return!1;let x=1;const w=t.querySelector(`[data-line="${T.start}"]`)||((G=t.firstElementChild)==null?void 0:G.firstElementChild),v=t.querySelector(`[data-line="${T.end+1}"]`)||((D=t.lastElementChild)==null?void 0:D.lastElementChild),E=g.scrollHeight-g.clientHeight,V=t.scrollHeight-t.clientHeight;let q=o(T.start),Y=a(T.end),_=w.offsetTop,W=v.offsetTop-_;q===0&&(_=0,w===v?(S=0,Y=Q-g.offsetHeight,W=V):W=v.offsetTop),x=(g.scrollTop-q)/(Y-q);const U=v==((I=t.lastElementChild)==null?void 0:I.lastElementChild)?v.offsetTop+v.clientHeight:v.offsetTop;if(Y>=E||U>V){const N=c(E,V);q=o(N),x=(g.scrollTop-q)/(E-q);const ee=t.querySelector(`[data-line="${N}"]`);q>0&&ee&&(_=ee.offsetTop),W=V-_+Xa(t,"padding-top")}const Z=_-S+W*x;r(t,Z,()=>{f--})},$=()=>{var U,Z,G,D,I,N;if(f!==0)return;d++;const{scrollDOM:g}=i,Q=t.scrollTop,S=t.scrollHeight,k=g.scrollHeight-g.clientHeight,y=t.scrollHeight-t.clientHeight;let T=(U=t.firstElementChild)==null?void 0:U.firstElementChild,x=(Z=t.firstElementChild)==null?void 0:Z.lastElementChild;if(s.length>0){let ee=Math.ceil(s[s.length-1]*(Q/S)),Oe=s.findLastIndex(ze=>ze<=ee);Oe=Oe===-1?0:Oe,ee=s[Oe];for(let ze=Oe;ze>=0&&ze<s.length;)if(l[ze].offsetTop>Q){if(ze-1>=0){ze--;continue}ee=-1,Oe=ze;break}else{if(ze+1<s.length&&l[ze+1].offsetTop<Q){ze++;continue}ee=s[ze],Oe=ze;break}switch(Oe){case-1:{T=(G=t.firstElementChild)==null?void 0:G.firstElementChild,x=l[Oe];break}case s.length-1:{T=l[Oe],x=(D=t.firstElementChild)==null?void 0:D.lastElementChild;break}default:T=l[Oe],x=l[Oe+1===l.length?Oe:Oe+1]}}let w=T===((I=t.firstElementChild)==null?void 0:I.firstElementChild)?0:T.offsetTop-Xa(T,"margin-top"),v=x.offsetTop,E=0;const{start:V,end:q}=O[Number(T.dataset.line||0)];let Y=o(V);const _=o(q+1===i.state.doc.lines?q:q+1);let W=0;if(_>k||x.offsetTop+x.offsetHeight>y){const ee=c(k,y),Oe=t.querySelector(`[data-line="${ee}"]`);w=Oe?Oe.offsetTop-Xa(Oe,"margin-top"):w,Y=o(ee),E=(Q-w)/(y-w),W=k-Y}else T===((N=t.firstElementChild)==null?void 0:N.firstElementChild)?(T===x&&(v=x.offsetTop+x.offsetHeight+ +getComputedStyle(x).marginBottom.replace("px","")),W=_,E=Math.max(Q/v,0)):(E=Math.max((Q-w)/(v-w),0),W=_-Y);r(e,Y+W*E,()=>{d--})},b=g=>{var y;const{scrollDOM:Q,contentHeight:S}=i,k=Q.clientHeight;if(S<=k||t.firstElementChild.clientHeight<=t.clientHeight||i.state.doc.lines<=((y=O[O.length-1])==null?void 0:y.end))return!1;g.target===e?p():$()};return[()=>{u(),e.addEventListener("scroll",b),t.addEventListener("scroll",b),e.dispatchEvent(new Event("scroll"))},()=>{e.removeEventListener("scroll",b),t.removeEventListener("scroll",b)}]},kq={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},onActive:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},E0=m.defineComponent({props:kq,setup(e){const t=m.inject("scrollElementRef"),n=m.inject("roorNodeRef"),i=m.ref();return m.watch(()=>e.tocItem.active,r=>{r&&e.onActive(e.tocItem,i.value)}),m.onMounted(()=>{e.tocItem.active&&e.onActive(e.tocItem,i.value)}),()=>{const{tocItem:r,mdHeadingId:o,onClick:a,scrollElementOffsetTop:O}=e;return m.createVNode("div",{ref:i,class:[`${X}-catalog-link`,r.active&&`${X}-catalog-active`],onClick:l=>{if(l.stopPropagation(),a(l,r),l.defaultPrevented)return;const s=o(r.text,r.level,r.index),u=n.value.getElementById(s),c=t.value;if(u&&c){let f=u.offsetParent,d=u.offsetTop;if(c.contains(f))for(;f&&c!=f;)d+=f==null?void 0:f.offsetTop,f=f==null?void 0:f.offsetParent;const p=u.previousElementSibling;let $=0;p||($=Xa(u,"margin-top")),c==null||c.scrollTo({top:d-O-$,behavior:"smooth"})}}},[m.createVNode("span",{title:r.text},[r.text]),r.children&&r.children.length>0&&m.createVNode("div",{class:`${X}-catalog-wrapper`},[r.children.map(l=>m.createVNode(E0,{mdHeadingId:o,key:`${r.text}-link-${l.level}-${l.text}`,tocItem:l,onActive:e.onActive,onClick:a,scrollElementOffsetTop:O},null))])])}}}),xq={editorId:{type:String,default:void 0},class:{type:String,default:""},mdHeadingId:{type:Function,default:e=>e},scrollElement:{type:[String,Object],default:void 0},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function,default:void 0},onActive:{type:Function,default:void 0},isScrollElementInShadow:{type:Boolean,default:!1},syncWith:{type:String,default:"preview"},catalogMaxDepth:{type:Number,default:void 0}},_a=m.defineComponent({name:"MdCatalog",props:xq,emits:["onClick","onActive"],setup(e,t){const n=e.editorId,i=`#${n}-preview-wrapper`,r=m.reactive({list:[],show:!1,scrollElement:e.scrollElement||i}),o=m.shallowRef(),a=m.ref(),O=m.ref(),l=m.ref(),s=m.ref(),u=m.shallowRef(),c=m.ref({});m.provide("scrollElementRef",O),m.provide("roorNodeRef",s);const f=m.computed(()=>{const S=[];return r.list.forEach((k,y)=>{if(e.catalogMaxDepth&&k.level>e.catalogMaxDepth)return;const{text:T,level:x,line:w}=k,v={level:x,text:T,line:w,index:y+1,active:o.value===k};if(S.length===0)S.push(v);else{let E=S[S.length-1];if(v.level>E.level)for(let V=E.level+1;V<=6;V++){const{children:q}=E;if(!q){E.children=[v];break}if(E=q[q.length-1],v.level<=E.level){q.push(v);break}}else S.push(v)}}),S}),d=()=>{var k;if(r.scrollElement instanceof HTMLElement)return r.scrollElement;let S=document;return(r.scrollElement===i||e.isScrollElementInShadow)&&(S=(k=a.value)==null?void 0:k.getRootNode()),S.querySelector(r.scrollElement)},p=S=>{if(S.length===0)return o.value=void 0,r.list=[],!1;const{activeHead:k}=S.reduce((y,T,x)=>{var v;let w=0;if(e.syncWith==="preview"){const E=(v=s.value)==null?void 0:v.getElementById(e.mdHeadingId(T.text,T.level,x+1));E instanceof HTMLElement&&(w=fq(E,O.value))}else{const E=u.value;if(E){const V=E.lineBlockAt(E.state.doc.line(T.line+1).from).top,q=E.scrollDOM.scrollTop;w=V-q}}return w<e.offsetTop&&w>y.minTop?{activeHead:T,minTop:w}:y},{activeHead:S[0],minTop:Number.MIN_SAFE_INTEGER});o.value=k,r.list=S},$=(S,k)=>{var y;c.value.top=k.offsetTop+Xa(k,"padding-top")+"px",(y=e.onActive)==null||y.call(e,S,k),t.emit("onActive",S,k)},b=()=>{p(r.list)},g=S=>{var k,y,T;if((k=l.value)==null||k.removeEventListener("scroll",b),e.syncWith==="editor")l.value=(y=u.value)==null?void 0:y.scrollDOM;else{const x=d();O.value=x,l.value=x===document.documentElement?document:x}p(S),(T=l.value)==null||T.addEventListener("scroll",b)},Q=S=>{u.value=S};return m.watch([()=>e.syncWith,u,()=>e.catalogMaxDepth],()=>{g(r.list)}),m.onMounted(()=>{s.value=a.value.getRootNode(),F.on(n,{name:KO,callback:g}),F.on(n,{name:mu,callback:Q}),F.emit(n,X0),F.emit(n,z0)}),m.onBeforeUnmount(()=>{var S;F.remove(n,KO,g),F.remove(n,mu,Q),(S=l.value)==null||S.removeEventListener("scroll",b)}),()=>m.createVNode("div",{class:[`${X}-catalog`,e.theme==="dark"&&`${X}-catalog-dark`,e.class||""],ref:a},[f.value.length>0&&m.createVNode(m.Fragment,null,[m.createVNode("div",{class:`${X}-catalog-indicator`,style:c.value},null),m.createVNode("div",{class:`${X}-catalog-container`},[f.value.map(S=>m.createVNode(E0,{mdHeadingId:e.mdHeadingId,tocItem:S,key:`link-${S.level}-${S.text}`,onActive:$,onClick:(k,y)=>{var T;(T=e.onClick)==null||T.call(e,k,y),t.emit("onClick",k,y)},scrollElementOffsetTop:e.scrollElementOffsetTop},null))])])])}});_a.install=e=>(e.component(_a.name,_a),e);const vq=(e,t,n)=>{const i=m.inject("editorId");let r=()=>{},o=()=>{};const a=()=>{var c;r();const O=(c=n.value)==null?void 0:c.view.contentDOM.getRootNode(),l=O.querySelector(`#${i} .cm-scroller`),s=O.querySelector(`[id="${i}-preview-wrapper"]`),u=O.querySelector(`[id="${i}-html-wrapper"]`);(s||u)&&([o,r]=(s?Pq:Sq)(l,s||u,n.value),e.scrollAuto&&o())};m.watch([t,m.toRef(e.setting,"preview"),m.toRef(e.setting,"htmlPreview"),m.toRef(e.setting,"fullscreen"),m.toRef(e.setting,"pageFullscreen")],()=>{m.nextTick(a)}),m.watch(()=>e.scrollAuto,O=>{O?o():r()}),m.watch(()=>e.setting.previewOnly,O=>{O?r():o()}),m.onMounted(a)};let $h=[],V0=[];(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?V0:$h).push(n=n+e[t])})();function wq(e){if(e<768)return!1;for(let t=0,n=$h.length;;){let i=t+n>>1;if(e<$h[i])n=i;else if(e>=V0[i])t=i+1;else return!0;if(t==n)return!1}}function Z0(e){return e>=127462&&e<=127487}const C0=8205;function Tq(e,t,n=!0,i=!0){return(n?j0:Xq)(e,t,i)}function j0(e,t,n){if(t==e.length)return t;t&&A0(e.charCodeAt(t))&&G0(e.charCodeAt(t-1))&&t--;let i=bh(e,t);for(t+=I0(i);t<e.length;){let r=bh(e,t);if(i==C0||r==C0||n&&wq(r))t+=I0(r),i=r;else if(Z0(r)){let o=0,a=t-2;for(;a>=0&&Z0(bh(e,a));)o++,a-=2;if(o%2==0)break;t+=2}else break}return t}function Xq(e,t,n){for(;t>0;){let i=j0(e,t-2,n);if(i<t)return i;t--}return 0}function bh(e,t){let n=e.charCodeAt(t);if(!G0(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return A0(i)?(n-55296<<10)+(i-56320)+65536:n}function A0(e){return e>=56320&&e<57344}function G0(e){return e>=55296&&e<56320}function I0(e){return e<65536?1:2}let Ue=class o5{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,n,i){[t,n]=Ra(this,t,n);let r=[];return this.decompose(0,t,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(n,this.length,r,1),Gi.from(r,this.length-(n-t)+i.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,n=this.length){[t,n]=Ra(this,t,n);let i=[];return this.decompose(t,n,i,0),Gi.from(i,n-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let n=this.scanIdentical(t,1),i=this.length-this.scanIdentical(t,-1),r=new el(this),o=new el(t);for(let a=n,O=n;;){if(r.next(a),o.next(a),a=0,r.lineBreak!=o.lineBreak||r.done!=o.done||r.value!=o.value)return!1;if(O+=r.value.length,r.done||O>=i)return!0}}iter(t=1){return new el(this,t)}iterRange(t,n=this.length){return new L0(this,t,n)}iterLines(t,n){let i;if(t==null)i=this.iter();else{n==null&&(n=this.lines+1);let r=this.line(t).from;i=this.iterRange(r,Math.max(r,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new N0(i)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?o5.empty:t.length<=32?new ht(t):Gi.from(ht.split(t,[]))}};class ht extends Ue{constructor(t,n=_q(t)){super(),this.text=t,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(t,n,i,r){for(let o=0;;o++){let a=this.text[o],O=r+a.length;if((n?i:O)>=t)return new Rq(r,O,i,a);r=O+1,i++}}decompose(t,n,i,r){let o=t<=0&&n>=this.length?this:new ht(D0(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(r&1){let a=i.pop(),O=Qu(o.text,a.text.slice(),0,o.length);if(O.length<=32)i.push(new ht(O,a.length+o.length));else{let l=O.length>>1;i.push(new ht(O.slice(0,l)),new ht(O.slice(l)))}}else i.push(o)}replace(t,n,i){if(!(i instanceof ht))return super.replace(t,n,i);[t,n]=Ra(this,t,n);let r=Qu(this.text,Qu(i.text,D0(this.text,0,t)),n),o=this.length+i.length-(n-t);return r.length<=32?new ht(r,o):Gi.from(ht.split(r,[]),o)}sliceString(t,n=this.length,i=`
|
|
183
183
|
`){[t,n]=Ra(this,t,n);let r="";for(let o=0,a=0;o<=n&&a<this.text.length;a++){let O=this.text[a],l=o+O.length;o>t&&a&&(r+=i),t<l&&n>o&&(r+=O.slice(Math.max(0,t-o),n-o)),o=l+1}return r}flatten(t){for(let n of this.text)t.push(n)}scanIdentical(){return 0}static split(t,n){let i=[],r=-1;for(let o of t)i.push(o),r+=o.length+1,i.length==32&&(n.push(new ht(i,r)),i=[],r=-1);return r>-1&&n.push(new ht(i,r)),n}}class Gi extends Ue{constructor(t,n){super(),this.children=t,this.length=n,this.lines=0;for(let i of t)this.lines+=i.lines}lineInner(t,n,i,r){for(let o=0;;o++){let a=this.children[o],O=r+a.length,l=i+a.lines-1;if((n?l:O)>=t)return a.lineInner(t,n,i,r);r=O+1,i=l+1}}decompose(t,n,i,r){for(let o=0,a=0;a<=n&&o<this.children.length;o++){let O=this.children[o],l=a+O.length;if(t<=l&&n>=a){let s=r&((a<=t?1:0)|(l>=n?2:0));a>=t&&l<=n&&!s?i.push(O):O.decompose(t-a,n-a,i,s)}a=l+1}}replace(t,n,i){if([t,n]=Ra(this,t,n),i.lines<this.lines)for(let r=0,o=0;r<this.children.length;r++){let a=this.children[r],O=o+a.length;if(t>=o&&n<=O){let l=a.replace(t-o,n-o,i),s=this.lines-a.lines+l.lines;if(l.lines<s>>4&&l.lines>s>>6){let u=this.children.slice();return u[r]=l,new Gi(u,this.length-(n-t)+i.length)}return super.replace(o,O,l)}o=O+1}return super.replace(t,n,i)}sliceString(t,n=this.length,i=`
|
|
184
184
|
`){[t,n]=Ra(this,t,n);let r="";for(let o=0,a=0;o<this.children.length&&a<=n;o++){let O=this.children[o],l=a+O.length;a>t&&o&&(r+=i),t<l&&n>a&&(r+=O.sliceString(t-a,n-a,i)),a=l+1}return r}flatten(t){for(let n of this.children)n.flatten(t)}scanIdentical(t,n){if(!(t instanceof Gi))return 0;let i=0,[r,o,a,O]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;r+=n,o+=n){if(r==a||o==O)return i;let l=this.children[r],s=t.children[o];if(l!=s)return i+l.scanIdentical(s,n);i+=l.length+1}}static from(t,n=t.reduce((i,r)=>i+r.length+1,-1)){let i=0;for(let d of t)i+=d.lines;if(i<32){let d=[];for(let p of t)p.flatten(d);return new ht(d,n)}let r=Math.max(32,i>>5),o=r<<1,a=r>>1,O=[],l=0,s=-1,u=[];function c(d){let p;if(d.lines>o&&d instanceof Gi)for(let $ of d.children)c($);else d.lines>a&&(l>a||!l)?(f(),O.push(d)):d instanceof ht&&l&&(p=u[u.length-1])instanceof ht&&d.lines+p.lines<=32?(l+=d.lines,s+=d.length+1,u[u.length-1]=new ht(p.text.concat(d.text),p.length+1+d.length)):(l+d.lines>r&&f(),l+=d.lines,s+=d.length+1,u.push(d))}function f(){l!=0&&(O.push(u.length==1?u[0]:Gi.from(u,s)),s=-1,l=u.length=0)}for(let d of t)c(d);return f(),O.length==1?O[0]:new Gi(O,n)}}Ue.empty=new ht([""],0);function _q(e){let t=-1;for(let n of e)t+=n.length+1;return t}function Qu(e,t,n=0,i=1e9){for(let r=0,o=0,a=!0;o<e.length&&r<=i;o++){let O=e[o],l=r+O.length;l>=n&&(l>i&&(O=O.slice(0,i-r)),r<n&&(O=O.slice(n-r)),a?(t[t.length-1]+=O,a=!1):t.push(O)),r=l+1}return t}function D0(e,t,n){return Qu(e,[""],t,n)}class el{constructor(t,n=1){this.dir=n,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[n>0?1:(t instanceof ht?t.text.length:t.children.length)<<1]}nextInner(t,n){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,r=this.nodes[i],o=this.offsets[i],a=o>>1,O=r instanceof ht?r.text.length:r.children.length;if(a==(n>0?O:0)){if(i==0)return this.done=!0,this.value="",this;n>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(n>0?0:1)){if(this.offsets[i]+=n,t==0)return this.lineBreak=!0,this.value=`
|
|
185
185
|
`,this;t--}else if(r instanceof ht){let l=r.text[a+(n<0?-1:0)];if(this.offsets[i]+=n,l.length>Math.max(0,t))return this.value=t==0?l:n>0?l.slice(t):l.slice(0,l.length-t),this;t-=l.length}else{let l=r.children[a+(n<0?-1:0)];t>l.length?(t-=l.length,this.offsets[i]+=n):(n<0&&this.offsets[i]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof ht?l.text.length:l.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class L0{constructor(t,n,i){this.value="",this.done=!1,this.cursor=new el(t,n>i?-1:1),this.pos=n>i?t.length:0,this.from=Math.min(n,i),this.to=Math.max(n,i)}nextInner(t,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let i=n<0?this.pos-this.from:this.to-this.pos;t>i&&(t=i),i-=t;let{value:r}=this.cursor.next(t);return this.pos+=(r.length+t)*n,this.value=r.length<=i?r:n<0?r.slice(r.length-i):r.slice(0,i),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class N0{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:n,lineBreak:i,value:r}=this.inner.next(t);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ue.prototype[Symbol.iterator]=function(){return this.iter()},el.prototype[Symbol.iterator]=L0.prototype[Symbol.iterator]=N0.prototype[Symbol.iterator]=function(){return this});let Rq=class{constructor(t,n,i,r){this.from=t,this.to=n,this.number=i,this.text=r}get length(){return this.to-this.from}};function Ra(e,t,n){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,n))]}function Ct(e,t,n=!0,i=!0){return Tq(e,t,n,i)}function zq(e){return e>=56320&&e<57344}function qq(e){return e>=55296&&e<56320}function Gr(e,t){let n=e.charCodeAt(t);if(!qq(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return zq(i)?(n-55296<<10)+(i-56320)+65536:n}function M0(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function _o(e){return e<65536?1:2}const yh=/\r\n?|\n/;var nn=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(nn||(nn={}));class Ii{constructor(t){this.sections=t}get length(){let t=0;for(let n=0;n<this.sections.length;n+=2)t+=this.sections[n];return t}get newLength(){let t=0;for(let n=0;n<this.sections.length;n+=2){let i=this.sections[n+1];t+=i<0?this.sections[n]:i}return t}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(t){for(let n=0,i=0,r=0;n<this.sections.length;){let o=this.sections[n++],a=this.sections[n++];a<0?(t(i,r,o),r+=o):r+=a,i+=o}}iterChangedRanges(t,n=!1){Sh(this,t,n)}get invertedDesc(){let t=[];for(let n=0;n<this.sections.length;){let i=this.sections[n++],r=this.sections[n++];r<0?t.push(i,r):t.push(r,i)}return new Ii(t)}composeDesc(t){return this.empty?t:t.empty?this:F0(this,t)}mapDesc(t,n=!1){return t.empty?this:Ph(this,t,n)}mapPos(t,n=-1,i=nn.Simple){let r=0,o=0;for(let a=0;a<this.sections.length;){let O=this.sections[a++],l=this.sections[a++],s=r+O;if(l<0){if(s>t)return o+(t-r);o+=O}else{if(i!=nn.Simple&&s>=t&&(i==nn.TrackDel&&r<t&&s>t||i==nn.TrackBefore&&r<t||i==nn.TrackAfter&&s>t))return null;if(s>t||s==t&&n<0&&!O)return t==r||n<0?o:o+l;o+=l}r=s}if(t>r)throw new RangeError(`Position ${t} is out of range for changeset of length ${r}`);return o}touchesRange(t,n=t){for(let i=0,r=0;i<this.sections.length&&r<=n;){let o=this.sections[i++],a=this.sections[i++],O=r+o;if(a>=0&&r<=n&&O>=t)return r<t&&O>n?"cover":!0;r=O}return!1}toString(){let t="";for(let n=0;n<this.sections.length;){let i=this.sections[n++],r=this.sections[n++];t+=(t?" ":"")+i+(r>=0?":"+r:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Ii(t)}static create(t){return new Ii(t)}}class vt extends Ii{constructor(t,n){super(t),this.inserted=n}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return Sh(this,(n,i,r,o,a)=>t=t.replace(r,r+(i-n),a),!1),t}mapDesc(t,n=!1){return Ph(this,t,n,!0)}invert(t){let n=this.sections.slice(),i=[];for(let r=0,o=0;r<n.length;r+=2){let a=n[r],O=n[r+1];if(O>=0){n[r]=O,n[r+1]=a;let l=r>>1;for(;i.length<l;)i.push(Ue.empty);i.push(a?t.slice(o,o+a):Ue.empty)}o+=a}return new vt(n,i)}compose(t){return this.empty?t:t.empty?this:F0(this,t,!0)}map(t,n=!1){return t.empty?this:Ph(this,t,n,!0)}iterChanges(t,n=!1){Sh(this,t,n)}get desc(){return Ii.create(this.sections)}filter(t){let n=[],i=[],r=[],o=new tl(this);e:for(let a=0,O=0;;){let l=a==t.length?1e9:t[a++];for(;O<l||O==l&&o.len==0;){if(o.done)break e;let u=Math.min(o.len,l-O);Dt(r,u,-1);let c=o.ins==-1?-1:o.off==0?o.ins:0;Dt(n,u,c),c>0&&Ir(i,n,o.text),o.forward(u),O+=u}let s=t[a++];for(;O<s;){if(o.done)break e;let u=Math.min(o.len,s-O);Dt(n,u,-1),Dt(r,u,o.ins==-1?-1:o.off==0?o.ins:0),o.forward(u),O+=u}}return{changes:new vt(n,i),filtered:Ii.create(r)}}toJSON(){let t=[];for(let n=0;n<this.sections.length;n+=2){let i=this.sections[n],r=this.sections[n+1];r<0?t.push(i):r==0?t.push([i]):t.push([i].concat(this.inserted[n>>1].toJSON()))}return t}static of(t,n,i){let r=[],o=[],a=0,O=null;function l(u=!1){if(!u&&!r.length)return;a<n&&Dt(r,n-a,-1);let c=new vt(r,o);O=O?O.compose(c.map(O)):c,r=[],o=[],a=0}function s(u){if(Array.isArray(u))for(let c of u)s(c);else if(u instanceof vt){if(u.length!=n)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${n})`);l(),O=O?O.compose(u.map(O)):u}else{let{from:c,to:f=c,insert:d}=u;if(c>f||c<0||f>n)throw new RangeError(`Invalid change range ${c} to ${f} (in doc of length ${n})`);let p=d?typeof d=="string"?Ue.of(d.split(i||yh)):d:Ue.empty,$=p.length;if(c==f&&$==0)return;c<a&&l(),c>a&&Dt(r,c-a,-1),Dt(r,f-c,$),Ir(o,r,p),a=f}}return s(t),l(!O),O}static empty(t){return new vt(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],i=[];for(let r=0;r<t.length;r++){let o=t[r];if(typeof o=="number")n.push(o,-1);else{if(!Array.isArray(o)||typeof o[0]!="number"||o.some((a,O)=>O&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)n.push(o[0],0);else{for(;i.length<r;)i.push(Ue.empty);i[r]=Ue.of(o.slice(1)),n.push(o[0],i[r].length)}}}return new vt(n,i)}static createSet(t,n){return new vt(t,n)}}function Dt(e,t,n,i=!1){if(t==0&&n<=0)return;let r=e.length-2;r>=0&&n<=0&&n==e[r+1]?e[r]+=t:r>=0&&t==0&&e[r]==0?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function Ir(e,t,n){if(n.length==0)return;let i=t.length-2>>1;if(i<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<i;)e.push(Ue.empty);e.push(n)}}function Sh(e,t,n){let i=e.inserted;for(let r=0,o=0,a=0;a<e.sections.length;){let O=e.sections[a++],l=e.sections[a++];if(l<0)r+=O,o+=O;else{let s=r,u=o,c=Ue.empty;for(;s+=O,u+=l,l&&i&&(c=c.append(i[a-2>>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)O=e.sections[a++],l=e.sections[a++];t(r,s,o,u,c),r=s,o=u}}}function Ph(e,t,n,i=!1){let r=[],o=i?[]:null,a=new tl(e),O=new tl(t);for(let l=-1;;){if(a.done&&O.len||O.done&&a.len)throw new Error("Mismatched change set lengths");if(a.ins==-1&&O.ins==-1){let s=Math.min(a.len,O.len);Dt(r,s,-1),a.forward(s),O.forward(s)}else if(O.ins>=0&&(a.ins<0||l==a.i||a.off==0&&(O.len<a.len||O.len==a.len&&!n))){let s=O.len;for(Dt(r,O.ins,-1);s;){let u=Math.min(a.len,s);a.ins>=0&&l<a.i&&a.len<=u&&(Dt(r,0,a.ins),o&&Ir(o,r,a.text),l=a.i),a.forward(u),s-=u}O.next()}else if(a.ins>=0){let s=0,u=a.len;for(;u;)if(O.ins==-1){let c=Math.min(u,O.len);s+=c,u-=c,O.forward(c)}else if(O.ins==0&&O.len<u)u-=O.len,O.next();else break;Dt(r,s,l<a.i?a.ins:0),o&&l<a.i&&Ir(o,r,a.text),l=a.i,a.forward(a.len-u)}else{if(a.done&&O.done)return o?vt.createSet(r,o):Ii.create(r);throw new Error("Mismatched change set lengths")}}}function F0(e,t,n=!1){let i=[],r=n?[]:null,o=new tl(e),a=new tl(t);for(let O=!1;;){if(o.done&&a.done)return r?vt.createSet(i,r):Ii.create(i);if(o.ins==0)Dt(i,o.len,0,O),o.next();else if(a.len==0&&!a.done)Dt(i,0,a.ins,O),r&&Ir(r,i,a.text),a.next();else{if(o.done||a.done)throw new Error("Mismatched change set lengths");{let l=Math.min(o.len2,a.len),s=i.length;if(o.ins==-1){let u=a.ins==-1?-1:a.off?0:a.ins;Dt(i,l,u,O),r&&u&&Ir(r,i,a.text)}else a.ins==-1?(Dt(i,o.off?0:o.len,l,O),r&&Ir(r,i,o.textBit(l))):(Dt(i,o.off?0:o.len,a.off?0:a.ins,O),r&&!a.off&&Ir(r,i,a.text));O=(o.ins>l||a.ins>=0&&a.len>l)&&(O||i.length>s),o.forward2(l),a.forward(l)}}}}class tl{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i<t.length?(this.len=t[this.i++],this.ins=t[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length?Ue.empty:t[n]}textBit(t){let{inserted:n}=this.set,i=this.i-2>>1;return i>=n.length&&!t?Ue.empty:n[i].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class Ro{constructor(t,n,i){this.from=t,this.to=n,this.flags=i}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?void 0:t}map(t,n=-1){let i,r;return this.empty?i=r=t.mapPos(this.from,n):(i=t.mapPos(this.from,1),r=t.mapPos(this.to,-1)),i==this.from&&r==this.to?this:new Ro(i,r,this.flags)}extend(t,n=t){if(t<=this.anchor&&n>=this.anchor)return A.range(t,n);let i=Math.abs(t-this.anchor)>Math.abs(n-this.anchor)?t:n;return A.range(this.anchor,i)}eq(t,n=!1){return this.anchor==t.anchor&&this.head==t.head&&(!n||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return A.range(t.anchor,t.head)}static create(t,n,i){return new Ro(t,n,i)}}class A{constructor(t,n){this.ranges=t,this.mainIndex=n}map(t,n=-1){return t.empty?this:A.create(this.ranges.map(i=>i.map(t,n)),this.mainIndex)}eq(t,n=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let i=0;i<this.ranges.length;i++)if(!this.ranges[i].eq(t.ranges[i],n))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new A([this.main],0)}addRange(t,n=!0){return A.create([t].concat(this.ranges),n?0:this.mainIndex+1)}replaceRange(t,n=this.mainIndex){let i=this.ranges.slice();return i[n]=t,A.create(i,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(t=>t.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new A(t.ranges.map(n=>Ro.fromJSON(n)),t.main)}static single(t,n=t){return new A([A.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,r=0;r<t.length;r++){let o=t[r];if(o.empty?o.from<=i:o.from<i)return A.normalized(t.slice(),n);i=o.to}return new A(t,n)}static cursor(t,n=0,i,r){return Ro.create(t,t,(n==0?0:n<0?8:16)|(i==null?7:Math.min(6,i))|(r??16777215)<<6)}static range(t,n,i,r){let o=(i??16777215)<<6|(r==null?7:Math.min(6,r));return n<t?Ro.create(n,t,48|o):Ro.create(t,n,(n>t?8:0)|o)}static normalized(t,n=0){let i=t[n];t.sort((r,o)=>r.from-o.from),n=t.indexOf(i);for(let r=1;r<t.length;r++){let o=t[r],a=t[r-1];if(o.empty?o.from<=a.to:o.from<a.to){let O=a.from,l=Math.max(o.to,a.to);r<=n&&n--,t.splice(--r,2,o.anchor>o.head?A.range(l,O):A.range(O,l))}}return new A(t,n)}}function B0(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let kh=0;class ce{constructor(t,n,i,r,o){this.combine=t,this.compareInput=n,this.compare=i,this.isStatic=r,this.id=kh++,this.default=t([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(t={}){return new ce(t.combine||(n=>n),t.compareInput||((n,i)=>n===i),t.compare||(t.combine?(n,i)=>n===i:xh),!!t.static,t.enables)}of(t){return new $u([],this,0,t)}compute(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new $u(t,this,1,n)}computeN(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new $u(t,this,2,n)}from(t,n){return n||(n=i=>i),this.compute([t],i=>n(i.field(t)))}}function xh(e,t){return e==t||e.length==t.length&&e.every((n,i)=>n===t[i])}class $u{constructor(t,n,i,r){this.dependencies=t,this.facet=n,this.type=i,this.value=r,this.id=kh++}dynamicSlot(t){var n;let i=this.value,r=this.facet.compareInput,o=this.id,a=t[o]>>1,O=this.type==2,l=!1,s=!1,u=[];for(let c of this.dependencies)c=="doc"?l=!0:c=="selection"?s=!0:((n=t[c.id])!==null&&n!==void 0?n:1)&1||u.push(t[c.id]);return{create(c){return c.values[a]=i(c),1},update(c,f){if(l&&f.docChanged||s&&(f.docChanged||f.selection)||vh(c,u)){let d=i(c);if(O?!H0(d,c.values[a],r):!r(d,c.values[a]))return c.values[a]=d,1}return 0},reconfigure:(c,f)=>{let d,p=f.config.address[o];if(p!=null){let $=Su(f,p);if(this.dependencies.every(b=>b instanceof ce?f.facet(b)===c.facet(b):b instanceof Dn?f.field(b,!1)==c.field(b,!1):!0)||(O?H0(d=i(c),$,r):r(d=i(c),$)))return c.values[a]=$,0}else d=i(c);return c.values[a]=d,1}}}}function H0(e,t,n){if(e.length!=t.length)return!1;for(let i=0;i<e.length;i++)if(!n(e[i],t[i]))return!1;return!0}function vh(e,t){let n=!1;for(let i of t)il(e,i)&1&&(n=!0);return n}function Wq(e,t,n){let i=n.map(l=>e[l.id]),r=n.map(l=>l.type),o=i.filter(l=>!(l&1)),a=e[t.id]>>1;function O(l){let s=[];for(let u=0;u<i.length;u++){let c=Su(l,i[u]);if(r[u]==2)for(let f of c)s.push(f);else s.push(c)}return t.combine(s)}return{create(l){for(let s of i)il(l,s);return l.values[a]=O(l),1},update(l,s){if(!vh(l,o))return 0;let u=O(l);return t.compare(u,l.values[a])?0:(l.values[a]=u,1)},reconfigure(l,s){let u=vh(l,i),c=s.config.facets[t.id],f=s.facet(t);if(c&&!u&&xh(n,c))return l.values[a]=f,0;let d=O(l);return t.compare(d,f)?(l.values[a]=f,0):(l.values[a]=d,1)}}}const bu=ce.define({static:!0});class Dn{constructor(t,n,i,r,o){this.id=t,this.createF=n,this.updateF=i,this.compareF=r,this.spec=o,this.provides=void 0}static define(t){let n=new Dn(kh++,t.create,t.update,t.compare||((i,r)=>i===r),t);return t.provide&&(n.provides=t.provide(n)),n}create(t){let n=t.facet(bu).find(i=>i.field==this);return((n==null?void 0:n.create)||this.createF)(t)}slot(t){let n=t[this.id]>>1;return{create:i=>(i.values[n]=this.create(i),1),update:(i,r)=>{let o=i.values[n],a=this.updateF(o,r);return this.compareF(o,a)?0:(i.values[n]=a,1)},reconfigure:(i,r)=>{let o=i.facet(bu),a=r.facet(bu),O;return(O=o.find(l=>l.field==this))&&O!=a.find(l=>l.field==this)?(i.values[n]=O.create(i),1):r.config.address[this.id]!=null?(i.values[n]=r.field(this),0):(i.values[n]=this.create(i),1)}}}init(t){return[this,bu.of({field:this,create:t})]}get extension(){return this}}const zo={lowest:4,low:3,default:2,high:1,highest:0};function nl(e){return t=>new K0(t,e)}const hr={highest:nl(zo.highest),high:nl(zo.high),default:nl(zo.default),low:nl(zo.low),lowest:nl(zo.lowest)};class K0{constructor(t,n){this.inner=t,this.prec=n}}class Di{of(t){return new wh(this,t)}reconfigure(t){return Di.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class wh{constructor(t,n){this.compartment=t,this.inner=n}}class yu{constructor(t,n,i,r,o,a){for(this.base=t,this.compartments=n,this.dynamicSlots=i,this.address=r,this.staticValues=o,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<i.length;)this.statusTemplate.push(0)}staticFacet(t){let n=this.address[t.id];return n==null?t.default:this.staticValues[n>>1]}static resolve(t,n,i){let r=[],o=Object.create(null),a=new Map;for(let f of Yq(t,n,a))f instanceof Dn?r.push(f):(o[f.facet.id]||(o[f.facet.id]=[])).push(f);let O=Object.create(null),l=[],s=[];for(let f of r)O[f.id]=s.length<<1,s.push(d=>f.slot(d));let u=i==null?void 0:i.config.facets;for(let f in o){let d=o[f],p=d[0].facet,$=u&&u[f]||[];if(d.every(b=>b.type==0))if(O[p.id]=l.length<<1|1,xh($,d))l.push(i.facet(p));else{let b=p.combine(d.map(g=>g.value));l.push(i&&p.compare(b,i.facet(p))?i.facet(p):b)}else{for(let b of d)b.type==0?(O[b.id]=l.length<<1|1,l.push(b.value)):(O[b.id]=s.length<<1,s.push(g=>b.dynamicSlot(g)));O[p.id]=s.length<<1,s.push(b=>Wq(b,p,d))}}let c=s.map(f=>f(O));return new yu(t,a,c,O,l,o)}}function Yq(e,t,n){let i=[[],[],[],[],[]],r=new Map;function o(a,O){let l=r.get(a);if(l!=null){if(l<=O)return;let s=i[l].indexOf(a);s>-1&&i[l].splice(s,1),a instanceof wh&&n.delete(a.compartment)}if(r.set(a,O),Array.isArray(a))for(let s of a)o(s,O);else if(a instanceof wh){if(n.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let s=t.get(a.compartment)||a.inner;n.set(a.compartment,s),o(s,O)}else if(a instanceof K0)o(a.inner,a.prec);else if(a instanceof Dn)i[O].push(a),a.provides&&o(a.provides,O);else if(a instanceof $u)i[O].push(a),a.facet.extensions&&o(a.facet.extensions,zo.default);else{let s=a.extension;if(!s)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(s,O)}}return o(e,zo.default),i.reduce((a,O)=>a.concat(O))}function il(e,t){if(t&1)return 2;let n=t>>1,i=e.status[n];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function Su(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}const J0=ce.define(),Th=ce.define({combine:e=>e.some(t=>t),static:!0}),eb=ce.define({combine:e=>e.length?e[0]:void 0,static:!0}),tb=ce.define(),nb=ce.define(),ib=ce.define(),rb=ce.define({combine:e=>e.length?e[0]:!1});class pr{constructor(t,n){this.type=t,this.value=n}static define(){return new Uq}}class Uq{of(t){return new pr(this,t)}}class Eq{constructor(t){this.map=t}of(t){return new Te(this,t)}}class Te{constructor(t,n){this.type=t,this.value=n}map(t){let n=this.type.map(this.value,t);return n===void 0?void 0:n==this.value?this:new Te(this.type,n)}is(t){return this.type==t}static define(t={}){return new Eq(t.map||(n=>n))}static mapEffects(t,n){if(!t.length)return t;let i=[];for(let r of t){let o=r.map(n);o&&i.push(o)}return i}}Te.reconfigure=Te.define(),Te.appendConfig=Te.define();class gt{constructor(t,n,i,r,o,a){this.startState=t,this.changes=n,this.selection=i,this.effects=r,this.annotations=o,this.scrollIntoView=a,this._doc=null,this._state=null,i&&B0(i,n.newLength),o.some(O=>O.type==gt.time)||(this.annotations=o.concat(gt.time.of(Date.now())))}static create(t,n,i,r,o,a){return new gt(t,n,i,r,o,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let n of this.annotations)if(n.type==t)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let n=this.annotation(gt.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]=="."))}}gt.time=pr.define(),gt.userEvent=pr.define(),gt.addToHistory=pr.define(),gt.remote=pr.define();function Vq(e,t){let n=[];for(let i=0,r=0;;){let o,a;if(i<e.length&&(r==t.length||t[r]>=e[i]))o=e[i++],a=e[i++];else if(r<t.length)o=t[r++],a=t[r++];else return n;!n.length||n[n.length-1]<o?n.push(o,a):n[n.length-1]<a&&(n[n.length-1]=a)}}function ob(e,t,n){var i;let r,o,a;return n?(r=t.changes,o=vt.empty(t.changes.length),a=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(r)),{changes:a,selection:t.selection?t.selection.map(o):(i=e.selection)===null||i===void 0?void 0:i.map(r),effects:Te.mapEffects(e.effects,r).concat(Te.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function Xh(e,t,n){let i=t.selection,r=za(t.annotations);return t.userEvent&&(r=r.concat(gt.userEvent.of(t.userEvent))),{changes:t.changes instanceof vt?t.changes:vt.of(t.changes||[],n,e.facet(eb)),selection:i&&(i instanceof A?i:A.single(i.anchor,i.head)),effects:za(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}function ab(e,t,n){let i=Xh(e,t.length?t[0]:{},e.doc.length);t.length&&t[0].filter===!1&&(n=!1);for(let o=1;o<t.length;o++){t[o].filter===!1&&(n=!1);let a=!!t[o].sequential;i=ob(i,Xh(e,t[o],a?i.changes.newLength:e.doc.length),a)}let r=gt.create(e,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return Cq(n?Zq(r):r)}function Zq(e){let t=e.startState,n=!0;for(let r of t.facet(tb)){let o=r(e);if(o===!1){n=!1;break}Array.isArray(o)&&(n=n===!0?o:Vq(n,o))}if(n!==!0){let r,o;if(n===!1)o=e.changes.invertedDesc,r=vt.empty(t.doc.length);else{let a=e.changes.filter(n);r=a.changes,o=a.filtered.mapDesc(a.changes).invertedDesc}e=gt.create(t,r,e.selection&&e.selection.map(o),Te.mapEffects(e.effects,o),e.annotations,e.scrollIntoView)}let i=t.facet(nb);for(let r=i.length-1;r>=0;r--){let o=i[r](e);o instanceof gt?e=o:Array.isArray(o)&&o.length==1&&o[0]instanceof gt?e=o[0]:e=ab(t,za(o),!1)}return e}function Cq(e){let t=e.startState,n=t.facet(ib),i=e;for(let r=n.length-1;r>=0;r--){let o=n[r](e);o&&Object.keys(o).length&&(i=ob(i,Xh(t,o,e.changes.newLength),!0))}return i==e?e:gt.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}const jq=[];function za(e){return e==null?jq:Array.isArray(e)?e:[e]}var jt=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(jt||(jt={}));const Aq=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _h;try{_h=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Gq(e){if(_h)return _h.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>""&&(n.toUpperCase()!=n.toLowerCase()||Aq.test(n)))return!0}return!1}function Iq(e){return t=>{if(!/\S/.test(t))return jt.Space;if(Gq(t))return jt.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return jt.Word;return jt.Other}}class Xe{constructor(t,n,i,r,o,a){this.config=t,this.doc=n,this.selection=i,this.values=r,this.status=t.statusTemplate.slice(),this.computeSlot=o,a&&(a._state=this);for(let O=0;O<this.config.dynamicSlots.length;O++)il(this,O<<1);this.computeSlot=null}field(t,n=!0){let i=this.config.address[t.id];if(i==null){if(n)throw new RangeError("Field is not present in this state");return}return il(this,i),Su(this,i)}update(...t){return ab(this,t,!0)}applyTransaction(t){let n=this.config,{base:i,compartments:r}=n;for(let O of t.effects)O.is(Di.reconfigure)?(n&&(r=new Map,n.compartments.forEach((l,s)=>r.set(s,l)),n=null),r.set(O.value.compartment,O.value.extension)):O.is(Te.reconfigure)?(n=null,i=O.value):O.is(Te.appendConfig)&&(n=null,i=za(i).concat(O.value));let o;n?o=t.startState.values.slice():(n=yu.resolve(i,r,this),o=new Xe(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,s)=>s.reconfigure(l,this),null).values);let a=t.startState.facet(Th)?t.newSelection:t.newSelection.asSingle();new Xe(n,t.newDoc,a,o,(O,l)=>l.update(O,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:t},range:A.cursor(n.from+t.length)}))}changeByRange(t){let n=this.selection,i=t(n.ranges[0]),r=this.changes(i.changes),o=[i.range],a=za(i.effects);for(let O=1;O<n.ranges.length;O++){let l=t(n.ranges[O]),s=this.changes(l.changes),u=s.map(r);for(let f=0;f<O;f++)o[f]=o[f].map(u);let c=r.mapDesc(s,!0);o.push(l.range.map(c)),r=r.compose(u),a=Te.mapEffects(a,u).concat(Te.mapEffects(za(l.effects),c))}return{changes:r,selection:A.create(o,n.mainIndex),effects:a}}changes(t=[]){return t instanceof vt?t:vt.of(t,this.doc.length,this.facet(Xe.lineSeparator))}toText(t){return Ue.of(t.split(this.facet(Xe.lineSeparator)||yh))}sliceDoc(t=0,n=this.doc.length){return this.doc.sliceString(t,n,this.lineBreak)}facet(t){let n=this.config.address[t.id];return n==null?t.default:(il(this,n),Su(this,n))}toJSON(t){let n={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let i in t){let r=t[i];r instanceof Dn&&this.config.address[r.id]!=null&&(n[i]=r.spec.toJSON(this.field(t[i]),this))}return n}static fromJSON(t,n={},i){if(!t||typeof t.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let r=[];if(i){for(let o in i)if(Object.prototype.hasOwnProperty.call(t,o)){let a=i[o],O=t[o];r.push(a.init(l=>a.spec.fromJSON(O,l)))}}return Xe.create({doc:t.doc,selection:A.fromJSON(t.selection),extensions:n.extensions?r.concat([n.extensions]):r})}static create(t={}){let n=yu.resolve(t.extensions||[],new Map),i=t.doc instanceof Ue?t.doc:Ue.of((t.doc||"").split(n.staticFacet(Xe.lineSeparator)||yh)),r=t.selection?t.selection instanceof A?t.selection:A.single(t.selection.anchor,t.selection.head):A.single(0);return B0(r,i.length),n.staticFacet(Th)||(r=r.asSingle()),new Xe(n,i,r,n.dynamicSlots.map(()=>null),(o,a)=>a.create(o),null)}get tabSize(){return this.facet(Xe.tabSize)}get lineBreak(){return this.facet(Xe.lineSeparator)||`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "md-editor-v3",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@types/node": "^22.7.7",
|
|
73
73
|
"@typescript-eslint/eslint-plugin": "^8.10.0",
|
|
74
74
|
"@typescript-eslint/parser": "^8.10.0",
|
|
75
|
-
"@vavt/markdown-theme": "^4.5.
|
|
75
|
+
"@vavt/markdown-theme": "^4.5.2",
|
|
76
76
|
"@vavt/vite-plugin-import-markdown": "^1.0.0",
|
|
77
77
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
78
78
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|