// ==UserScript==
// @name v2ex评论markdown支持
// @namespace https://github.com/lisonge
// @version 1.0.3
// @author lisonge
// @description v2ex评论markdown支持,代码语法高亮
// @license MIT
// @icon https://vitejs.dev/logo.svg
// @homepage https://github.com/lisonge/v2ex-comment-markdown#readme
// @homepageURL https://github.com/lisonge/v2ex-comment-markdown#readme
// @supportURL https://github.com/lisonge/v2ex-comment-markdown/issues
// @match https://v2ex.com/t/*
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/markdown-it.min.js
// @require https://unpkg.com/@highlightjs/[email protected]/highlight.min.js
// ==/UserScript==
// use [email protected] at 2022-08-19T02:24:40.832Z
;(({ css = "" }) => {
const style = document.createElement("style");
style.innerText = css;
style.dataset.source = "vite-plugin-monkey";
document.head.appendChild(style);
})({
"css": "@media (prefers-color-scheme: dark) {\n .markdown-body {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110,118,129,0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187,128,9,0.15);\n --color-danger-fg: #f85149;\n }\n}\n\n@media (prefers-color-scheme: light) {\n .markdown-body {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #FFEBE9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsla(210,18%,87%,1);\n --color-neutral-muted: rgba(175,184,193,0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n }\n}\n\n.markdown-body {\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n margin: 0;\n color: var(--color-fg-default);\n background-color: var(--color-canvas-default);\n font-family: -apple-system,BlinkMacSystemFont,\"Segoe UI\",Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\";\n font-size: 16px;\n line-height: 1.5;\n word-wrap: break-word;\n}\n\n.markdown-body .octicon {\n display: inline-block;\n fill: currentColor;\n vertical-align: text-bottom;\n}\n\n.markdown-body h1:hover .anchor .octicon-link:before,\n.markdown-body h2:hover .anchor .octicon-link:before,\n.markdown-body h3:hover .anchor .octicon-link:before,\n.markdown-body h4:hover .anchor .octicon-link:before,\n.markdown-body h5:hover .anchor .octicon-link:before,\n.markdown-body h6:hover .anchor .octicon-link:before {\n width: 16px;\n height: 16px;\n content: ' ';\n display: inline-block;\n background-color: currentColor;\n -webkit-mask-image: url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>\");\n mask-image: url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>\");\n}\n\n.markdown-body details,\n.markdown-body figcaption,\n.markdown-body figure {\n display: block;\n}\n\n.markdown-body summary {\n display: list-item;\n}\n\n.markdown-body [hidden] {\n display: none !important;\n}\n\n.markdown-body a {\n background-color: transparent;\n color: var(--color-accent-fg);\n text-decoration: none;\n}\n\n.markdown-body a:active,\n.markdown-body a:hover {\n outline-width: 0;\n}\n\n.markdown-body abbr[title] {\n border-bottom: none;\n text-decoration: underline dotted;\n}\n\n.markdown-body b,\n.markdown-body strong {\n font-weight: 600;\n}\n\n.markdown-body dfn {\n font-style: italic;\n}\n\n.markdown-body h1 {\n margin: .67em 0;\n font-weight: 600;\n padding-bottom: .3em;\n font-size: 2em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n\n.markdown-body mark {\n background-color: var(--color-attention-subtle);\n color: var(--color-text-primary);\n}\n\n.markdown-body small {\n font-size: 90%;\n}\n\n.markdown-body sub,\n.markdown-body sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\n.markdown-body sub {\n bottom: -0.25em;\n}\n\n.markdown-body sup {\n top: -0.5em;\n}\n\n.markdown-body img {\n border-style: none;\n max-width: 100%;\n box-sizing: content-box;\n background-color: var(--color-canvas-default);\n}\n\n.markdown-body code,\n.markdown-body kbd,\n.markdown-body pre,\n.markdown-body samp {\n font-family: monospace,monospace;\n font-size: 1em;\n}\n\n.markdown-body figure {\n margin: 1em 40px;\n}\n\n.markdown-body hr {\n box-sizing: content-box;\n overflow: hidden;\n background: transparent;\n border-bottom: 1px solid var(--color-border-muted);\n height: .25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n border: 0;\n}\n\n.markdown-body input {\n font: inherit;\n margin: 0;\n overflow: visible;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.markdown-body [type=button],\n.markdown-body [type=reset],\n.markdown-body [type=submit] {\n -webkit-appearance: button;\n}\n\n.markdown-body [type=button]::-moz-focus-inner,\n.markdown-body [type=reset]::-moz-focus-inner,\n.markdown-body [type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n.markdown-body [type=button]:-moz-focusring,\n.markdown-body [type=reset]:-moz-focusring,\n.markdown-body [type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n.markdown-body [type=checkbox],\n.markdown-body [type=radio] {\n box-sizing: border-box;\n padding: 0;\n}\n\n.markdown-body [type=number]::-webkit-inner-spin-button,\n.markdown-body [type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n\n.markdown-body [type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n\n.markdown-body [type=search]::-webkit-search-cancel-button,\n.markdown-body [type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n.markdown-body ::-webkit-input-placeholder {\n color: inherit;\n opacity: .54;\n}\n\n.markdown-body ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n\n.markdown-body a:hover {\n text-decoration: underline;\n}\n\n.markdown-body hr::before {\n display: table;\n content: \"\";\n}\n\n.markdown-body hr::after {\n display: table;\n clear: both;\n content: \"\";\n}\n\n.markdown-body table {\n border-spacing: 0;\n border-collapse: collapse;\n display: block;\n width: max-content;\n max-width: 100%;\n overflow: auto;\n}\n\n.markdown-body td,\n.markdown-body th {\n padding: 0;\n}\n\n.markdown-body details summary {\n cursor: pointer;\n}\n\n.markdown-body details:not([open])>*:not(summary) {\n display: none !important;\n}\n\n.markdown-body kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n\n.markdown-body h1,\n.markdown-body h2,\n.markdown-body h3,\n.markdown-body h4,\n.markdown-body h5,\n.markdown-body h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n\n.markdown-body h2 {\n font-weight: 600;\n padding-bottom: .3em;\n font-size: 1.5em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n\n.markdown-body h3 {\n font-weight: 600;\n font-size: 1.25em;\n}\n\n.markdown-body h4 {\n font-weight: 600;\n font-size: 1em;\n}\n\n.markdown-body h5 {\n font-weight: 600;\n font-size: .875em;\n}\n\n.markdown-body h6 {\n font-weight: 600;\n font-size: .85em;\n color: var(--color-fg-muted);\n}\n\n.markdown-body p {\n margin-top: 0;\n margin-bottom: 10px;\n}\n\n.markdown-body blockquote {\n margin: 0;\n padding: 0 1em;\n color: var(--color-fg-muted);\n border-left: .25em solid var(--color-border-default);\n}\n\n.markdown-body ul,\n.markdown-body ol {\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 2em;\n}\n\n.markdown-body ol ol,\n.markdown-body ul ol {\n list-style-type: lower-roman;\n}\n\n.markdown-body ul ul ol,\n.markdown-body ul ol ol,\n.markdown-body ol ul ol,\n.markdown-body ol ol ol {\n list-style-type: lower-alpha;\n}\n\n.markdown-body dd {\n margin-left: 0;\n}\n\n.markdown-body tt,\n.markdown-body code {\n font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;\n font-size: 12px;\n}\n\n.markdown-body pre {\n margin-top: 0;\n margin-bottom: 0;\n font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;\n font-size: 12px;\n word-wrap: normal;\n}\n\n.markdown-body .octicon {\n display: inline-block;\n overflow: visible !important;\n vertical-align: text-bottom;\n fill: currentColor;\n}\n\n.markdown-body ::placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n\n.markdown-body input::-webkit-outer-spin-button,\n.markdown-body input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n appearance: none;\n}\n\n.markdown-body .pl-c {\n color: var(--color-prettylights-syntax-comment);\n}\n\n.markdown-body .pl-c1,\n.markdown-body .pl-s .pl-v {\n color: var(--color-prettylights-syntax-constant);\n}\n\n.markdown-body .pl-e,\n.markdown-body .pl-en {\n color: var(--color-prettylights-syntax-entity);\n}\n\n.markdown-body .pl-smi,\n.markdown-body .pl-s .pl-s1 {\n color: var(--color-prettylights-syntax-storage-modifier-import);\n}\n\n.markdown-body .pl-ent {\n color: var(--color-prettylights-syntax-entity-tag);\n}\n\n.markdown-body .pl-k {\n color: var(--color-prettylights-syntax-keyword);\n}\n\n.markdown-body .pl-s,\n.markdown-body .pl-pds,\n.markdown-body .pl-s .pl-pse .pl-s1,\n.markdown-body .pl-sr,\n.markdown-body .pl-sr .pl-cce,\n.markdown-body .pl-sr .pl-sre,\n.markdown-body .pl-sr .pl-sra {\n color: var(--color-prettylights-syntax-string);\n}\n\n.markdown-body .pl-v,\n.markdown-body .pl-smw {\n color: var(--color-prettylights-syntax-variable);\n}\n\n.markdown-body .pl-bu {\n color: var(--color-prettylights-syntax-brackethighlighter-unmatched);\n}\n\n.markdown-body .pl-ii {\n color: var(--color-prettylights-syntax-invalid-illegal-text);\n background-color: var(--color-prettylights-syntax-invalid-illegal-bg);\n}\n\n.markdown-body .pl-c2 {\n color: var(--color-prettylights-syntax-carriage-return-text);\n background-color: var(--color-prettylights-syntax-carriage-return-bg);\n}\n\n.markdown-body .pl-sr .pl-cce {\n font-weight: bold;\n color: var(--color-prettylights-syntax-string-regexp);\n}\n\n.markdown-body .pl-ml {\n color: var(--color-prettylights-syntax-markup-list);\n}\n\n.markdown-body .pl-mh,\n.markdown-body .pl-mh .pl-en,\n.markdown-body .pl-ms {\n font-weight: bold;\n color: var(--color-prettylights-syntax-markup-heading);\n}\n\n.markdown-body .pl-mi {\n font-style: italic;\n color: var(--color-prettylights-syntax-markup-italic);\n}\n\n.markdown-body .pl-mb {\n font-weight: bold;\n color: var(--color-prettylights-syntax-markup-bold);\n}\n\n.markdown-body .pl-md {\n color: var(--color-prettylights-syntax-markup-deleted-text);\n background-color: var(--color-prettylights-syntax-markup-deleted-bg);\n}\n\n.markdown-body .pl-mi1 {\n color: var(--color-prettylights-syntax-markup-inserted-text);\n background-color: var(--color-prettylights-syntax-markup-inserted-bg);\n}\n\n.markdown-body .pl-mc {\n color: var(--color-prettylights-syntax-markup-changed-text);\n background-color: var(--color-prettylights-syntax-markup-changed-bg);\n}\n\n.markdown-body .pl-mi2 {\n color: var(--color-prettylights-syntax-markup-ignored-text);\n background-color: var(--color-prettylights-syntax-markup-ignored-bg);\n}\n\n.markdown-body .pl-mdr {\n font-weight: bold;\n color: var(--color-prettylights-syntax-meta-diff-range);\n}\n\n.markdown-body .pl-ba {\n color: var(--color-prettylights-syntax-brackethighlighter-angle);\n}\n\n.markdown-body .pl-sg {\n color: var(--color-prettylights-syntax-sublimelinter-gutter-mark);\n}\n\n.markdown-body .pl-corl {\n text-decoration: underline;\n color: var(--color-prettylights-syntax-constant-other-reference-link);\n}\n\n.markdown-body [data-catalyst] {\n display: block;\n}\n\n.markdown-body g-emoji {\n font-family: \"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\";\n font-size: 1em;\n font-style: normal !important;\n font-weight: 400;\n line-height: 1;\n vertical-align: -0.075em;\n}\n\n.markdown-body g-emoji img {\n width: 1em;\n height: 1em;\n}\n\n.markdown-body::before {\n display: table;\n content: \"\";\n}\n\n.markdown-body::after {\n display: table;\n clear: both;\n content: \"\";\n}\n\n.markdown-body>*:first-child {\n margin-top: 0 !important;\n}\n\n.markdown-body>*:last-child {\n margin-bottom: 0 !important;\n}\n\n.markdown-body a:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n\n.markdown-body .absent {\n color: var(--color-danger-fg);\n}\n\n.markdown-body .anchor {\n float: left;\n padding-right: 4px;\n margin-left: -20px;\n line-height: 1;\n}\n\n.markdown-body .anchor:focus {\n outline: none;\n}\n\n.markdown-body p,\n.markdown-body blockquote,\n.markdown-body ul,\n.markdown-body ol,\n.markdown-body dl,\n.markdown-body table,\n.markdown-body pre,\n.markdown-body details {\n margin-top: 0;\n margin-bottom: 16px;\n}\n\n.markdown-body blockquote>:first-child {\n margin-top: 0;\n}\n\n.markdown-body blockquote>:last-child {\n margin-bottom: 0;\n}\n\n.markdown-body sup>a::before {\n content: \"[\";\n}\n\n.markdown-body sup>a::after {\n content: \"]\";\n}\n\n.markdown-body h1 .octicon-link,\n.markdown-body h2 .octicon-link,\n.markdown-body h3 .octicon-link,\n.markdown-body h4 .octicon-link,\n.markdown-body h5 .octicon-link,\n.markdown-body h6 .octicon-link {\n color: var(--color-fg-default);\n vertical-align: middle;\n visibility: hidden;\n}\n\n.markdown-body h1:hover .anchor,\n.markdown-body h2:hover .anchor,\n.markdown-body h3:hover .anchor,\n.markdown-body h4:hover .anchor,\n.markdown-body h5:hover .anchor,\n.markdown-body h6:hover .anchor {\n text-decoration: none;\n}\n\n.markdown-body h1:hover .anchor .octicon-link,\n.markdown-body h2:hover .anchor .octicon-link,\n.markdown-body h3:hover .anchor .octicon-link,\n.markdown-body h4:hover .anchor .octicon-link,\n.markdown-body h5:hover .anchor .octicon-link,\n.markdown-body h6:hover .anchor .octicon-link {\n visibility: visible;\n}\n\n.markdown-body h1 tt,\n.markdown-body h1 code,\n.markdown-body h2 tt,\n.markdown-body h2 code,\n.markdown-body h3 tt,\n.markdown-body h3 code,\n.markdown-body h4 tt,\n.markdown-body h4 code,\n.markdown-body h5 tt,\n.markdown-body h5 code,\n.markdown-body h6 tt,\n.markdown-body h6 code {\n padding: 0 .2em;\n font-size: inherit;\n}\n\n.markdown-body ul.no-list,\n.markdown-body ol.no-list {\n padding: 0;\n list-style-type: none;\n}\n\n.markdown-body ol[type=\"1\"] {\n list-style-type: decimal;\n}\n\n.markdown-body ol[type=a] {\n list-style-type: lower-alpha;\n}\n\n.markdown-body ol[type=i] {\n list-style-type: lower-roman;\n}\n\n.markdown-body div>ol:not([type]) {\n list-style-type: decimal;\n}\n\n.markdown-body ul ul,\n.markdown-body ul ol,\n.markdown-body ol ol,\n.markdown-body ol ul {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.markdown-body li>p {\n margin-top: 16px;\n}\n\n.markdown-body li+li {\n margin-top: .25em;\n}\n\n.markdown-body dl {\n padding: 0;\n}\n\n.markdown-body dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: 600;\n}\n\n.markdown-body dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n\n.markdown-body table th {\n font-weight: 600;\n}\n\n.markdown-body table th,\n.markdown-body table td {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default);\n}\n\n.markdown-body table tr {\n background-color: var(--color-canvas-default);\n border-top: 1px solid var(--color-border-muted);\n}\n\n.markdown-body table tr:nth-child(2n) {\n background-color: var(--color-canvas-subtle);\n}\n\n.markdown-body table img {\n background-color: transparent;\n}\n\n.markdown-body img[align=right] {\n padding-left: 20px;\n}\n\n.markdown-body img[align=left] {\n padding-right: 20px;\n}\n\n.markdown-body .emoji {\n max-width: none;\n vertical-align: text-top;\n background-color: transparent;\n}\n\n.markdown-body span.frame {\n display: block;\n overflow: hidden;\n}\n\n.markdown-body span.frame>span {\n display: block;\n float: left;\n width: auto;\n padding: 7px;\n margin: 13px 0 0;\n overflow: hidden;\n border: 1px solid var(--color-border-default);\n}\n\n.markdown-body span.frame span img {\n display: block;\n float: left;\n}\n\n.markdown-body span.frame span span {\n display: block;\n padding: 5px 0 0;\n clear: both;\n color: var(--color-fg-default);\n}\n\n.markdown-body span.align-center {\n display: block;\n overflow: hidden;\n clear: both;\n}\n\n.markdown-body span.align-center>span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: center;\n}\n\n.markdown-body span.align-center span img {\n margin: 0 auto;\n text-align: center;\n}\n\n.markdown-body span.align-right {\n display: block;\n overflow: hidden;\n clear: both;\n}\n\n.markdown-body span.align-right>span {\n display: block;\n margin: 13px 0 0;\n overflow: hidden;\n text-align: right;\n}\n\n.markdown-body span.align-right span img {\n margin: 0;\n text-align: right;\n}\n\n.markdown-body span.float-left {\n display: block;\n float: left;\n margin-right: 13px;\n overflow: hidden;\n}\n\n.markdown-body span.float-left span {\n margin: 13px 0 0;\n}\n\n.markdown-body span.float-right {\n display: block;\n float: right;\n margin-left: 13px;\n overflow: hidden;\n}\n\n.markdown-body span.float-right>span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: right;\n}\n\n.markdown-body code,\n.markdown-body tt {\n padding: .2em .4em;\n margin: 0;\n font-size: 85%;\n background-color: var(--color-neutral-muted);\n border-radius: 6px;\n}\n\n.markdown-body code br,\n.markdown-body tt br {\n display: none;\n}\n\n.markdown-body del code {\n text-decoration: inherit;\n}\n\n.markdown-body pre code {\n font-size: 100%;\n}\n\n.markdown-body pre>code {\n padding: 0;\n margin: 0;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n}\n\n.markdown-body .highlight {\n margin-bottom: 16px;\n}\n\n.markdown-body .highlight pre {\n margin-bottom: 0;\n word-break: normal;\n}\n\n.markdown-body .highlight pre,\n.markdown-body pre {\n padding: 16px;\n overflow: auto;\n font-size: 85%;\n line-height: 1.45;\n background-color: var(--color-canvas-subtle);\n border-radius: 6px;\n}\n\n.markdown-body pre code,\n.markdown-body pre tt {\n display: inline;\n max-width: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n}\n\n.markdown-body .csv-data td,\n.markdown-body .csv-data th {\n padding: 5px;\n overflow: hidden;\n font-size: 12px;\n line-height: 1;\n text-align: left;\n white-space: nowrap;\n}\n\n.markdown-body .csv-data .blob-num {\n padding: 10px 8px 9px;\n text-align: right;\n background: var(--color-canvas-default);\n border: 0;\n}\n\n.markdown-body .csv-data tr {\n border-top: 0;\n}\n\n.markdown-body .csv-data th {\n font-weight: 600;\n background: var(--color-canvas-subtle);\n border-top: 0;\n}\n\n.markdown-body .footnotes {\n font-size: 12px;\n color: var(--color-fg-muted);\n border-top: 1px solid var(--color-border-default);\n}\n\n.markdown-body .footnotes ol {\n padding-left: 16px;\n}\n\n.markdown-body .footnotes li {\n position: relative;\n}\n\n.markdown-body .footnotes li:target::before {\n position: absolute;\n top: -8px;\n right: -8px;\n bottom: -8px;\n left: -24px;\n pointer-events: none;\n content: \"\";\n border: 2px solid var(--color-accent-emphasis);\n border-radius: 6px;\n}\n\n.markdown-body .footnotes li:target {\n color: var(--color-fg-default);\n}\n\n.markdown-body .footnotes .data-footnote-backref g-emoji {\n font-family: monospace;\n}\n\n.markdown-body .task-list-item {\n list-style-type: none;\n}\n\n.markdown-body .task-list-item label {\n font-weight: 400;\n}\n\n.markdown-body .task-list-item.enabled label {\n cursor: pointer;\n}\n\n.markdown-body .task-list-item+.task-list-item {\n margin-top: 3px;\n}\n\n.markdown-body .task-list-item .handle {\n display: none;\n}\n\n.markdown-body .task-list-item-checkbox {\n margin: 0 .2em .25em -1.6em;\n vertical-align: middle;\n}\n\n.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {\n margin: 0 -1.6em .25em .2em;\n}\n\n.markdown-body ::-webkit-calendar-picker-indicator {\n filter: invert(50%);\n}\n.v2ex-comment-markdown {\n /*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n */\n}\n.v2ex-comment-markdown pre code.hljs {\n display: block;\n overflow-x: auto;\n padding: 1em;\n}\n.v2ex-comment-markdown code.hljs {\n padding: 3px 5px;\n}\n.v2ex-comment-markdown .hljs {\n color: #24292e;\n background: #fff;\n}\n.v2ex-comment-markdown .hljs-doctag, .v2ex-comment-markdown .hljs-keyword, .v2ex-comment-markdown .hljs-meta .hljs-keyword, .v2ex-comment-markdown .hljs-template-tag, .v2ex-comment-markdown .hljs-template-variable, .v2ex-comment-markdown .hljs-type, .v2ex-comment-markdown .hljs-variable.language_ {\n color: #d73a49;\n}\n.v2ex-comment-markdown .hljs-title, .v2ex-comment-markdown .hljs-title.class_, .v2ex-comment-markdown .hljs-title.class_.inherited__, .v2ex-comment-markdown .hljs-title.function_ {\n color: #6f42c1;\n}\n.v2ex-comment-markdown .hljs-attr, .v2ex-comment-markdown .hljs-attribute, .v2ex-comment-markdown .hljs-literal, .v2ex-comment-markdown .hljs-meta, .v2ex-comment-markdown .hljs-number, .v2ex-comment-markdown .hljs-operator, .v2ex-comment-markdown .hljs-selector-attr, .v2ex-comment-markdown .hljs-selector-class, .v2ex-comment-markdown .hljs-selector-id, .v2ex-comment-markdown .hljs-variable {\n color: #005cc5;\n}\n.v2ex-comment-markdown .hljs-meta .hljs-string, .v2ex-comment-markdown .hljs-regexp, .v2ex-comment-markdown .hljs-string {\n color: #032f62;\n}\n.v2ex-comment-markdown .hljs-built_in, .v2ex-comment-markdown .hljs-symbol {\n color: #e36209;\n}\n.v2ex-comment-markdown .hljs-code, .v2ex-comment-markdown .hljs-comment, .v2ex-comment-markdown .hljs-formula {\n color: #6a737d;\n}\n.v2ex-comment-markdown .hljs-name, .v2ex-comment-markdown .hljs-quote, .v2ex-comment-markdown .hljs-selector-pseudo, .v2ex-comment-markdown .hljs-selector-tag {\n color: #22863a;\n}\n.v2ex-comment-markdown .hljs-subst {\n color: #24292e;\n}\n.v2ex-comment-markdown .hljs-section {\n color: #005cc5;\n font-weight: 700;\n}\n.v2ex-comment-markdown .hljs-bullet {\n color: #735c0f;\n}\n.v2ex-comment-markdown .hljs-emphasis {\n color: #24292e;\n font-style: italic;\n}\n.v2ex-comment-markdown .hljs-strong {\n color: #24292e;\n font-weight: 700;\n}\n.v2ex-comment-markdown .hljs-addition {\n color: #22863a;\n background-color: #f0fff4;\n}\n.v2ex-comment-markdown .hljs-deletion {\n color: #b31d28;\n background-color: #ffeef0;\n}\n@media (prefers-color-scheme: dark) {\n .v2ex-comment-markdown .markdown-body {\n color-scheme: dark;\n --color-prettylights-syntax-comment: #8b949e;\n --color-prettylights-syntax-constant: #79c0ff;\n --color-prettylights-syntax-entity: #d2a8ff;\n --color-prettylights-syntax-storage-modifier-import: #c9d1d9;\n --color-prettylights-syntax-entity-tag: #7ee787;\n --color-prettylights-syntax-keyword: #ff7b72;\n --color-prettylights-syntax-string: #a5d6ff;\n --color-prettylights-syntax-variable: #ffa657;\n --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;\n --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;\n --color-prettylights-syntax-invalid-illegal-bg: #8e1519;\n --color-prettylights-syntax-carriage-return-text: #f0f6fc;\n --color-prettylights-syntax-carriage-return-bg: #b62324;\n --color-prettylights-syntax-string-regexp: #7ee787;\n --color-prettylights-syntax-markup-list: #f2cc60;\n --color-prettylights-syntax-markup-heading: #1f6feb;\n --color-prettylights-syntax-markup-italic: #c9d1d9;\n --color-prettylights-syntax-markup-bold: #c9d1d9;\n --color-prettylights-syntax-markup-deleted-text: #ffdcd7;\n --color-prettylights-syntax-markup-deleted-bg: #67060c;\n --color-prettylights-syntax-markup-inserted-text: #aff5b4;\n --color-prettylights-syntax-markup-inserted-bg: #033a16;\n --color-prettylights-syntax-markup-changed-text: #ffdfb6;\n --color-prettylights-syntax-markup-changed-bg: #5a1e02;\n --color-prettylights-syntax-markup-ignored-text: #c9d1d9;\n --color-prettylights-syntax-markup-ignored-bg: #1158c7;\n --color-prettylights-syntax-meta-diff-range: #d2a8ff;\n --color-prettylights-syntax-brackethighlighter-angle: #8b949e;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;\n --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110,118,129,0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187,128,9,0.15);\n --color-danger-fg: #f85149;\n }\n}\n@media (prefers-color-scheme: light) {\n .v2ex-comment-markdown .markdown-body {\n color-scheme: light;\n --color-prettylights-syntax-comment: #6e7781;\n --color-prettylights-syntax-constant: #0550ae;\n --color-prettylights-syntax-entity: #8250df;\n --color-prettylights-syntax-storage-modifier-import: #24292f;\n --color-prettylights-syntax-entity-tag: #116329;\n --color-prettylights-syntax-keyword: #cf222e;\n --color-prettylights-syntax-string: #0a3069;\n --color-prettylights-syntax-variable: #953800;\n --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;\n --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;\n --color-prettylights-syntax-invalid-illegal-bg: #82071e;\n --color-prettylights-syntax-carriage-return-text: #f6f8fa;\n --color-prettylights-syntax-carriage-return-bg: #cf222e;\n --color-prettylights-syntax-string-regexp: #116329;\n --color-prettylights-syntax-markup-list: #3b2300;\n --color-prettylights-syntax-markup-heading: #0550ae;\n --color-prettylights-syntax-markup-italic: #24292f;\n --color-prettylights-syntax-markup-bold: #24292f;\n --color-prettylights-syntax-markup-deleted-text: #82071e;\n --color-prettylights-syntax-markup-deleted-bg: #FFEBE9;\n --color-prettylights-syntax-markup-inserted-text: #116329;\n --color-prettylights-syntax-markup-inserted-bg: #dafbe1;\n --color-prettylights-syntax-markup-changed-text: #953800;\n --color-prettylights-syntax-markup-changed-bg: #ffd8b5;\n --color-prettylights-syntax-markup-ignored-text: #eaeef2;\n --color-prettylights-syntax-markup-ignored-bg: #0550ae;\n --color-prettylights-syntax-meta-diff-range: #8250df;\n --color-prettylights-syntax-brackethighlighter-angle: #57606a;\n --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;\n --color-prettylights-syntax-constant-other-reference-link: #0a3069;\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsla(210,18%,87%,1);\n --color-neutral-muted: rgba(175,184,193,0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n }\n}\n.v2ex-comment-markdown .markdown-body {\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n margin: 0;\n color: var(--color-fg-default);\n background-color: var(--color-canvas-default);\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\";\n font-size: 16px;\n line-height: 1.5;\n word-wrap: break-word;\n}\n.v2ex-comment-markdown .markdown-body .octicon {\n display: inline-block;\n fill: currentColor;\n vertical-align: text-bottom;\n}\n.v2ex-comment-markdown .markdown-body h1:hover .anchor .octicon-link:before,\n.v2ex-comment-markdown .markdown-body h2:hover .anchor .octicon-link:before,\n.v2ex-comment-markdown .markdown-body h3:hover .anchor .octicon-link:before,\n.v2ex-comment-markdown .markdown-body h4:hover .anchor .octicon-link:before,\n.v2ex-comment-markdown .markdown-body h5:hover .anchor .octicon-link:before,\n.v2ex-comment-markdown .markdown-body h6:hover .anchor .octicon-link:before {\n width: 16px;\n height: 16px;\n content: \" \";\n display: inline-block;\n background-color: currentColor;\n -webkit-mask-image: url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>\");\n mask-image: url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>\");\n}\n.v2ex-comment-markdown .markdown-body details,\n.v2ex-comment-markdown .markdown-body figcaption,\n.v2ex-comment-markdown .markdown-body figure {\n display: block;\n}\n.v2ex-comment-markdown .markdown-body summary {\n display: list-item;\n}\n.v2ex-comment-markdown .markdown-body [hidden] {\n display: none !important;\n}\n.v2ex-comment-markdown .markdown-body a {\n background-color: transparent;\n color: var(--color-accent-fg);\n text-decoration: none;\n}\n.v2ex-comment-markdown .markdown-body a:active,\n.v2ex-comment-markdown .markdown-body a:hover {\n outline-width: 0;\n}\n.v2ex-comment-markdown .markdown-body abbr[title] {\n border-bottom: none;\n text-decoration: underline dotted;\n}\n.v2ex-comment-markdown .markdown-body b,\n.v2ex-comment-markdown .markdown-body strong {\n font-weight: 600;\n}\n.v2ex-comment-markdown .markdown-body dfn {\n font-style: italic;\n}\n.v2ex-comment-markdown .markdown-body h1 {\n margin: 0.67em 0;\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 2em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.v2ex-comment-markdown .markdown-body mark {\n background-color: var(--color-attention-subtle);\n color: var(--color-text-primary);\n}\n.v2ex-comment-markdown .markdown-body small {\n font-size: 90%;\n}\n.v2ex-comment-markdown .markdown-body sub,\n.v2ex-comment-markdown .markdown-body sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n.v2ex-comment-markdown .markdown-body sub {\n bottom: -0.25em;\n}\n.v2ex-comment-markdown .markdown-body sup {\n top: -0.5em;\n}\n.v2ex-comment-markdown .markdown-body img {\n border-style: none;\n max-width: 100%;\n box-sizing: content-box;\n background-color: var(--color-canvas-default);\n}\n.v2ex-comment-markdown .markdown-body code,\n.v2ex-comment-markdown .markdown-body kbd,\n.v2ex-comment-markdown .markdown-body pre,\n.v2ex-comment-markdown .markdown-body samp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n.v2ex-comment-markdown .markdown-body figure {\n margin: 1em 40px;\n}\n.v2ex-comment-markdown .markdown-body hr {\n box-sizing: content-box;\n overflow: hidden;\n background: transparent;\n border-bottom: 1px solid var(--color-border-muted);\n height: 0.25em;\n padding: 0;\n margin: 24px 0;\n background-color: var(--color-border-default);\n border: 0;\n}\n.v2ex-comment-markdown .markdown-body input {\n font: inherit;\n margin: 0;\n overflow: visible;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n.v2ex-comment-markdown .markdown-body [type=button],\n.v2ex-comment-markdown .markdown-body [type=reset],\n.v2ex-comment-markdown .markdown-body [type=submit] {\n -webkit-appearance: button;\n}\n.v2ex-comment-markdown .markdown-body [type=button]::-moz-focus-inner,\n.v2ex-comment-markdown .markdown-body [type=reset]::-moz-focus-inner,\n.v2ex-comment-markdown .markdown-body [type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n.v2ex-comment-markdown .markdown-body [type=button]:-moz-focusring,\n.v2ex-comment-markdown .markdown-body [type=reset]:-moz-focusring,\n.v2ex-comment-markdown .markdown-body [type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n.v2ex-comment-markdown .markdown-body [type=checkbox],\n.v2ex-comment-markdown .markdown-body [type=radio] {\n box-sizing: border-box;\n padding: 0;\n}\n.v2ex-comment-markdown .markdown-body [type=number]::-webkit-inner-spin-button,\n.v2ex-comment-markdown .markdown-body [type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n.v2ex-comment-markdown .markdown-body [type=search] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n}\n.v2ex-comment-markdown .markdown-body [type=search]::-webkit-search-cancel-button,\n.v2ex-comment-markdown .markdown-body [type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n.v2ex-comment-markdown .markdown-body ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n}\n.v2ex-comment-markdown .markdown-body ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n}\n.v2ex-comment-markdown .markdown-body a:hover {\n text-decoration: underline;\n}\n.v2ex-comment-markdown .markdown-body hr::before {\n display: table;\n content: \"\";\n}\n.v2ex-comment-markdown .markdown-body hr::after {\n display: table;\n clear: both;\n content: \"\";\n}\n.v2ex-comment-markdown .markdown-body table {\n border-spacing: 0;\n border-collapse: collapse;\n display: block;\n width: max-content;\n max-width: 100%;\n overflow: auto;\n}\n.v2ex-comment-markdown .markdown-body td,\n.v2ex-comment-markdown .markdown-body th {\n padding: 0;\n}\n.v2ex-comment-markdown .markdown-body details summary {\n cursor: pointer;\n}\n.v2ex-comment-markdown .markdown-body details:not([open]) > *:not(summary) {\n display: none !important;\n}\n.v2ex-comment-markdown .markdown-body kbd {\n display: inline-block;\n padding: 3px 5px;\n font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n line-height: 10px;\n color: var(--color-fg-default);\n vertical-align: middle;\n background-color: var(--color-canvas-subtle);\n border: solid 1px var(--color-neutral-muted);\n border-bottom-color: var(--color-neutral-muted);\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 var(--color-neutral-muted);\n}\n.v2ex-comment-markdown .markdown-body h1,\n.v2ex-comment-markdown .markdown-body h2,\n.v2ex-comment-markdown .markdown-body h3,\n.v2ex-comment-markdown .markdown-body h4,\n.v2ex-comment-markdown .markdown-body h5,\n.v2ex-comment-markdown .markdown-body h6 {\n margin-top: 24px;\n margin-bottom: 16px;\n font-weight: 600;\n line-height: 1.25;\n}\n.v2ex-comment-markdown .markdown-body h2 {\n font-weight: 600;\n padding-bottom: 0.3em;\n font-size: 1.5em;\n border-bottom: 1px solid var(--color-border-muted);\n}\n.v2ex-comment-markdown .markdown-body h3 {\n font-weight: 600;\n font-size: 1.25em;\n}\n.v2ex-comment-markdown .markdown-body h4 {\n font-weight: 600;\n font-size: 1em;\n}\n.v2ex-comment-markdown .markdown-body h5 {\n font-weight: 600;\n font-size: 0.875em;\n}\n.v2ex-comment-markdown .markdown-body h6 {\n font-weight: 600;\n font-size: 0.85em;\n color: var(--color-fg-muted);\n}\n.v2ex-comment-markdown .markdown-body p {\n margin-top: 0;\n margin-bottom: 10px;\n}\n.v2ex-comment-markdown .markdown-body blockquote {\n margin: 0;\n padding: 0 1em;\n color: var(--color-fg-muted);\n border-left: 0.25em solid var(--color-border-default);\n}\n.v2ex-comment-markdown .markdown-body ul,\n.v2ex-comment-markdown .markdown-body ol {\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 2em;\n}\n.v2ex-comment-markdown .markdown-body ol ol,\n.v2ex-comment-markdown .markdown-body ul ol {\n list-style-type: lower-roman;\n}\n.v2ex-comment-markdown .markdown-body ul ul ol,\n.v2ex-comment-markdown .markdown-body ul ol ol,\n.v2ex-comment-markdown .markdown-body ol ul ol,\n.v2ex-comment-markdown .markdown-body ol ol ol {\n list-style-type: lower-alpha;\n}\n.v2ex-comment-markdown .markdown-body dd {\n margin-left: 0;\n}\n.v2ex-comment-markdown .markdown-body tt,\n.v2ex-comment-markdown .markdown-body code {\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n}\n.v2ex-comment-markdown .markdown-body pre {\n margin-top: 0;\n margin-bottom: 0;\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n font-size: 12px;\n word-wrap: normal;\n}\n.v2ex-comment-markdown .markdown-body .octicon {\n display: inline-block;\n overflow: visible !important;\n vertical-align: text-bottom;\n fill: currentColor;\n}\n.v2ex-comment-markdown .markdown-body ::placeholder {\n color: var(--color-fg-subtle);\n opacity: 1;\n}\n.v2ex-comment-markdown .markdown-body input::-webkit-outer-spin-button,\n.v2ex-comment-markdown .markdown-body input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n appearance: none;\n}\n.v2ex-comment-markdown .markdown-body .pl-c {\n color: var(--color-prettylights-syntax-comment);\n}\n.v2ex-comment-markdown .markdown-body .pl-c1,\n.v2ex-comment-markdown .markdown-body .pl-s .pl-v {\n color: var(--color-prettylights-syntax-constant);\n}\n.v2ex-comment-markdown .markdown-body .pl-e,\n.v2ex-comment-markdown .markdown-body .pl-en {\n color: var(--color-prettylights-syntax-entity);\n}\n.v2ex-comment-markdown .markdown-body .pl-smi,\n.v2ex-comment-markdown .markdown-body .pl-s .pl-s1 {\n color: var(--color-prettylights-syntax-storage-modifier-import);\n}\n.v2ex-comment-markdown .markdown-body .pl-ent {\n color: var(--color-prettylights-syntax-entity-tag);\n}\n.v2ex-comment-markdown .markdown-body .pl-k {\n color: var(--color-prettylights-syntax-keyword);\n}\n.v2ex-comment-markdown .markdown-body .pl-s,\n.v2ex-comment-markdown .markdown-body .pl-pds,\n.v2ex-comment-markdown .markdown-body .pl-s .pl-pse .pl-s1,\n.v2ex-comment-markdown .markdown-body .pl-sr,\n.v2ex-comment-markdown .markdown-body .pl-sr .pl-cce,\n.v2ex-comment-markdown .markdown-body .pl-sr .pl-sre,\n.v2ex-comment-markdown .markdown-body .pl-sr .pl-sra {\n color: var(--color-prettylights-syntax-string);\n}\n.v2ex-comment-markdown .markdown-body .pl-v,\n.v2ex-comment-markdown .markdown-body .pl-smw {\n color: var(--color-prettylights-syntax-variable);\n}\n.v2ex-comment-markdown .markdown-body .pl-bu {\n color: var(--color-prettylights-syntax-brackethighlighter-unmatched);\n}\n.v2ex-comment-markdown .markdown-body .pl-ii {\n color: var(--color-prettylights-syntax-invalid-illegal-text);\n background-color: var(--color-prettylights-syntax-invalid-illegal-bg);\n}\n.v2ex-comment-markdown .markdown-body .pl-c2 {\n color: var(--color-prettylights-syntax-carriage-return-text);\n background-color: var(--color-prettylights-syntax-carriage-return-bg);\n}\n.v2ex-comment-markdown .markdown-body .pl-sr .pl-cce {\n font-weight: bold;\n color: var(--color-prettylights-syntax-string-regexp);\n}\n.v2ex-comment-markdown .markdown-body .pl-ml {\n color: var(--color-prettylights-syntax-markup-list);\n}\n.v2ex-comment-markdown .markdown-body .pl-mh,\n.v2ex-comment-markdown .markdown-body .pl-mh .pl-en,\n.v2ex-comment-markdown .markdown-body .pl-ms {\n font-weight: bold;\n color: var(--color-prettylights-syntax-markup-heading);\n}\n.v2ex-comment-markdown .markdown-body .pl-mi {\n font-style: italic;\n color: var(--color-prettylights-syntax-markup-italic);\n}\n.v2ex-comment-markdown .markdown-body .pl-mb {\n font-weight: bold;\n color: var(--color-prettylights-syntax-markup-bold);\n}\n.v2ex-comment-markdown .markdown-body .pl-md {\n color: var(--color-prettylights-syntax-markup-deleted-text);\n background-color: var(--color-prettylights-syntax-markup-deleted-bg);\n}\n.v2ex-comment-markdown .markdown-body .pl-mi1 {\n color: var(--color-prettylights-syntax-markup-inserted-text);\n background-color: var(--color-prettylights-syntax-markup-inserted-bg);\n}\n.v2ex-comment-markdown .markdown-body .pl-mc {\n color: var(--color-prettylights-syntax-markup-changed-text);\n background-color: var(--color-prettylights-syntax-markup-changed-bg);\n}\n.v2ex-comment-markdown .markdown-body .pl-mi2 {\n color: var(--color-prettylights-syntax-markup-ignored-text);\n background-color: var(--color-prettylights-syntax-markup-ignored-bg);\n}\n.v2ex-comment-markdown .markdown-body .pl-mdr {\n font-weight: bold;\n color: var(--color-prettylights-syntax-meta-diff-range);\n}\n.v2ex-comment-markdown .markdown-body .pl-ba {\n color: var(--color-prettylights-syntax-brackethighlighter-angle);\n}\n.v2ex-comment-markdown .markdown-body .pl-sg {\n color: var(--color-prettylights-syntax-sublimelinter-gutter-mark);\n}\n.v2ex-comment-markdown .markdown-body .pl-corl {\n text-decoration: underline;\n color: var(--color-prettylights-syntax-constant-other-reference-link);\n}\n.v2ex-comment-markdown .markdown-body [data-catalyst] {\n display: block;\n}\n.v2ex-comment-markdown .markdown-body g-emoji {\n font-family: \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-size: 1em;\n font-style: normal !important;\n font-weight: 400;\n line-height: 1;\n vertical-align: -0.075em;\n}\n.v2ex-comment-markdown .markdown-body g-emoji img {\n width: 1em;\n height: 1em;\n}\n.v2ex-comment-markdown .markdown-body::before {\n display: table;\n content: \"\";\n}\n.v2ex-comment-markdown .markdown-body::after {\n display: table;\n clear: both;\n content: \"\";\n}\n.v2ex-comment-markdown .markdown-body > *:first-child {\n margin-top: 0 !important;\n}\n.v2ex-comment-markdown .markdown-body > *:last-child {\n margin-bottom: 0 !important;\n}\n.v2ex-comment-markdown .markdown-body a:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n.v2ex-comment-markdown .markdown-body .absent {\n color: var(--color-danger-fg);\n}\n.v2ex-comment-markdown .markdown-body .anchor {\n float: left;\n padding-right: 4px;\n margin-left: -20px;\n line-height: 1;\n}\n.v2ex-comment-markdown .markdown-body .anchor:focus {\n outline: none;\n}\n.v2ex-comment-markdown .markdown-body p,\n.v2ex-comment-markdown .markdown-body blockquote,\n.v2ex-comment-markdown .markdown-body ul,\n.v2ex-comment-markdown .markdown-body ol,\n.v2ex-comment-markdown .markdown-body dl,\n.v2ex-comment-markdown .markdown-body table,\n.v2ex-comment-markdown .markdown-body pre,\n.v2ex-comment-markdown .markdown-body details {\n margin-top: 0;\n margin-bottom: 16px;\n}\n.v2ex-comment-markdown .markdown-body blockquote > :first-child {\n margin-top: 0;\n}\n.v2ex-comment-markdown .markdown-body blockquote > :last-child {\n margin-bottom: 0;\n}\n.v2ex-comment-markdown .markdown-body sup > a::before {\n content: \"[\";\n}\n.v2ex-comment-markdown .markdown-body sup > a::after {\n content: \"]\";\n}\n.v2ex-comment-markdown .markdown-body h1 .octicon-link,\n.v2ex-comment-markdown .markdown-body h2 .octicon-link,\n.v2ex-comment-markdown .markdown-body h3 .octicon-link,\n.v2ex-comment-markdown .markdown-body h4 .octicon-link,\n.v2ex-comment-markdown .markdown-body h5 .octicon-link,\n.v2ex-comment-markdown .markdown-body h6 .octicon-link {\n color: var(--color-fg-default);\n vertical-align: middle;\n visibility: hidden;\n}\n.v2ex-comment-markdown .markdown-body h1:hover .anchor,\n.v2ex-comment-markdown .markdown-body h2:hover .anchor,\n.v2ex-comment-markdown .markdown-body h3:hover .anchor,\n.v2ex-comment-markdown .markdown-body h4:hover .anchor,\n.v2ex-comment-markdown .markdown-body h5:hover .anchor,\n.v2ex-comment-markdown .markdown-body h6:hover .anchor {\n text-decoration: none;\n}\n.v2ex-comment-markdown .markdown-body h1:hover .anchor .octicon-link,\n.v2ex-comment-markdown .markdown-body h2:hover .anchor .octicon-link,\n.v2ex-comment-markdown .markdown-body h3:hover .anchor .octicon-link,\n.v2ex-comment-markdown .markdown-body h4:hover .anchor .octicon-link,\n.v2ex-comment-markdown .markdown-body h5:hover .anchor .octicon-link,\n.v2ex-comment-markdown .markdown-body h6:hover .anchor .octicon-link {\n visibility: visible;\n}\n.v2ex-comment-markdown .markdown-body h1 tt,\n.v2ex-comment-markdown .markdown-body h1 code,\n.v2ex-comment-markdown .markdown-body h2 tt,\n.v2ex-comment-markdown .markdown-body h2 code,\n.v2ex-comment-markdown .markdown-body h3 tt,\n.v2ex-comment-markdown .markdown-body h3 code,\n.v2ex-comment-markdown .markdown-body h4 tt,\n.v2ex-comment-markdown .markdown-body h4 code,\n.v2ex-comment-markdown .markdown-body h5 tt,\n.v2ex-comment-markdown .markdown-body h5 code,\n.v2ex-comment-markdown .markdown-body h6 tt,\n.v2ex-comment-markdown .markdown-body h6 code {\n padding: 0 0.2em;\n font-size: inherit;\n}\n.v2ex-comment-markdown .markdown-body ul.no-list,\n.v2ex-comment-markdown .markdown-body ol.no-list {\n padding: 0;\n list-style-type: none;\n}\n.v2ex-comment-markdown .markdown-body ol[type=\"1\"] {\n list-style-type: decimal;\n}\n.v2ex-comment-markdown .markdown-body ol[type=a] {\n list-style-type: lower-alpha;\n}\n.v2ex-comment-markdown .markdown-body ol[type=i] {\n list-style-type: lower-roman;\n}\n.v2ex-comment-markdown .markdown-body div > ol:not([type]) {\n list-style-type: decimal;\n}\n.v2ex-comment-markdown .markdown-body ul ul,\n.v2ex-comment-markdown .markdown-body ul ol,\n.v2ex-comment-markdown .markdown-body ol ol,\n.v2ex-comment-markdown .markdown-body ol ul {\n margin-top: 0;\n margin-bottom: 0;\n}\n.v2ex-comment-markdown .markdown-body li > p {\n margin-top: 16px;\n}\n.v2ex-comment-markdown .markdown-body li + li {\n margin-top: 0.25em;\n}\n.v2ex-comment-markdown .markdown-body dl {\n padding: 0;\n}\n.v2ex-comment-markdown .markdown-body dl dt {\n padding: 0;\n margin-top: 16px;\n font-size: 1em;\n font-style: italic;\n font-weight: 600;\n}\n.v2ex-comment-markdown .markdown-body dl dd {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n.v2ex-comment-markdown .markdown-body table th {\n font-weight: 600;\n}\n.v2ex-comment-markdown .markdown-body table th,\n.v2ex-comment-markdown .markdown-body table td {\n padding: 6px 13px;\n border: 1px solid var(--color-border-default);\n}\n.v2ex-comment-markdown .markdown-body table tr {\n background-color: var(--color-canvas-default);\n border-top: 1px solid var(--color-border-muted);\n}\n.v2ex-comment-markdown .markdown-body table tr:nth-child(2n) {\n background-color: var(--color-canvas-subtle);\n}\n.v2ex-comment-markdown .markdown-body table img {\n background-color: transparent;\n}\n.v2ex-comment-markdown .markdown-body img[align=right] {\n padding-left: 20px;\n}\n.v2ex-comment-markdown .markdown-body img[align=left] {\n padding-right: 20px;\n}\n.v2ex-comment-markdown .markdown-body .emoji {\n max-width: none;\n vertical-align: text-top;\n background-color: transparent;\n}\n.v2ex-comment-markdown .markdown-body span.frame {\n display: block;\n overflow: hidden;\n}\n.v2ex-comment-markdown .markdown-body span.frame > span {\n display: block;\n float: left;\n width: auto;\n padding: 7px;\n margin: 13px 0 0;\n overflow: hidden;\n border: 1px solid var(--color-border-default);\n}\n.v2ex-comment-markdown .markdown-body span.frame span img {\n display: block;\n float: left;\n}\n.v2ex-comment-markdown .markdown-body span.frame span span {\n display: block;\n padding: 5px 0 0;\n clear: both;\n color: var(--color-fg-default);\n}\n.v2ex-comment-markdown .markdown-body span.align-center {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.v2ex-comment-markdown .markdown-body span.align-center > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: center;\n}\n.v2ex-comment-markdown .markdown-body span.align-center span img {\n margin: 0 auto;\n text-align: center;\n}\n.v2ex-comment-markdown .markdown-body span.align-right {\n display: block;\n overflow: hidden;\n clear: both;\n}\n.v2ex-comment-markdown .markdown-body span.align-right > span {\n display: block;\n margin: 13px 0 0;\n overflow: hidden;\n text-align: right;\n}\n.v2ex-comment-markdown .markdown-body span.align-right span img {\n margin: 0;\n text-align: right;\n}\n.v2ex-comment-markdown .markdown-body span.float-left {\n display: block;\n float: left;\n margin-right: 13px;\n overflow: hidden;\n}\n.v2ex-comment-markdown .markdown-body span.float-left span {\n margin: 13px 0 0;\n}\n.v2ex-comment-markdown .markdown-body span.float-right {\n display: block;\n float: right;\n margin-left: 13px;\n overflow: hidden;\n}\n.v2ex-comment-markdown .markdown-body span.float-right > span {\n display: block;\n margin: 13px auto 0;\n overflow: hidden;\n text-align: right;\n}\n.v2ex-comment-markdown .markdown-body code,\n.v2ex-comment-markdown .markdown-body tt {\n padding: 0.2em 0.4em;\n margin: 0;\n font-size: 85%;\n background-color: var(--color-neutral-muted);\n border-radius: 6px;\n}\n.v2ex-comment-markdown .markdown-body code br,\n.v2ex-comment-markdown .markdown-body tt br {\n display: none;\n}\n.v2ex-comment-markdown .markdown-body del code {\n text-decoration: inherit;\n}\n.v2ex-comment-markdown .markdown-body pre code {\n font-size: 100%;\n}\n.v2ex-comment-markdown .markdown-body pre > code {\n padding: 0;\n margin: 0;\n word-break: normal;\n white-space: pre;\n background: transparent;\n border: 0;\n}\n.v2ex-comment-markdown .markdown-body .highlight {\n margin-bottom: 16px;\n}\n.v2ex-comment-markdown .markdown-body .highlight pre {\n margin-bottom: 0;\n word-break: normal;\n}\n.v2ex-comment-markdown .markdown-body .highlight pre,\n.v2ex-comment-markdown .markdown-body pre {\n padding: 16px;\n overflow: auto;\n font-size: 85%;\n line-height: 1.45;\n background-color: var(--color-canvas-subtle);\n border-radius: 6px;\n}\n.v2ex-comment-markdown .markdown-body pre code,\n.v2ex-comment-markdown .markdown-body pre tt {\n display: inline;\n max-width: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n line-height: inherit;\n word-wrap: normal;\n background-color: transparent;\n border: 0;\n}\n.v2ex-comment-markdown .markdown-body .csv-data td,\n.v2ex-comment-markdown .markdown-body .csv-data th {\n padding: 5px;\n overflow: hidden;\n font-size: 12px;\n line-height: 1;\n text-align: left;\n white-space: nowrap;\n}\n.v2ex-comment-markdown .markdown-body .csv-data .blob-num {\n padding: 10px 8px 9px;\n text-align: right;\n background: var(--color-canvas-default);\n border: 0;\n}\n.v2ex-comment-markdown .markdown-body .csv-data tr {\n border-top: 0;\n}\n.v2ex-comment-markdown .markdown-body .csv-data th {\n font-weight: 600;\n background: var(--color-canvas-subtle);\n border-top: 0;\n}\n.v2ex-comment-markdown .markdown-body .footnotes {\n font-size: 12px;\n color: var(--color-fg-muted);\n border-top: 1px solid var(--color-border-default);\n}\n.v2ex-comment-markdown .markdown-body .footnotes ol {\n padding-left: 16px;\n}\n.v2ex-comment-markdown .markdown-body .footnotes li {\n position: relative;\n}\n.v2ex-comment-markdown .markdown-body .footnotes li:target::before {\n position: absolute;\n top: -8px;\n right: -8px;\n bottom: -8px;\n left: -24px;\n pointer-events: none;\n content: \"\";\n border: 2px solid var(--color-accent-emphasis);\n border-radius: 6px;\n}\n.v2ex-comment-markdown .markdown-body .footnotes li:target {\n color: var(--color-fg-default);\n}\n.v2ex-comment-markdown .markdown-body .footnotes .data-footnote-backref g-emoji {\n font-family: monospace;\n}\n.v2ex-comment-markdown .markdown-body .task-list-item {\n list-style-type: none;\n}\n.v2ex-comment-markdown .markdown-body .task-list-item label {\n font-weight: 400;\n}\n.v2ex-comment-markdown .markdown-body .task-list-item.enabled label {\n cursor: pointer;\n}\n.v2ex-comment-markdown .markdown-body .task-list-item + .task-list-item {\n margin-top: 3px;\n}\n.v2ex-comment-markdown .markdown-body .task-list-item .handle {\n display: none;\n}\n.v2ex-comment-markdown .markdown-body .task-list-item-checkbox {\n margin: 0 0.2em 0.25em -1.6em;\n vertical-align: middle;\n}\n.v2ex-comment-markdown .markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {\n margin: 0 -1.6em 0.25em 0.2em;\n}\n.v2ex-comment-markdown .markdown-body ::-webkit-calendar-picker-indicator {\n filter: invert(50%);\n}\n.v2ex-comment-markdown p {\n font-size: 14px !important;\n}"
});
(function(markdownit2, hljs2) {
"use strict";
const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
const markdownit__default = /* @__PURE__ */ _interopDefaultLegacy(markdownit2);
const hljs__default = /* @__PURE__ */ _interopDefaultLegacy(hljs2);
const githubMarkdown = "";
const style = "";
const markdownItInstance = markdownit__default.default({
highlight(str, lang) {
if (lang && hljs__default.default.getLanguage(lang)) {
try {
return hljs__default.default.highlight(str, { language: lang }).value;
} catch (__) {
}
}
return "";
}
}).use((md) => {
});
(() => {
Array.from(
document.querySelectorAll("div.reply_content")
).forEach((div) => {
var _a, _b;
const mdText = div.innerText;
const article = document.createElement("article");
article.classList.add("markdown-body");
article.innerHTML = markdownItInstance.render(mdText);
if (((_a = article.textContent) == null ? void 0 : _a.trim()) == ((_b = div.textContent) == null ? void 0 : _b.trim()))
return;
article.style.width = "100%";
div.innerHTML = "";
div.classList.add("v2ex-comment-markdown");
div.appendChild(article);
});
})();
})(markdownit, hljs);